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
606 CONSTRUCTOR_PRIORITY_FALSE
607 CONSTRUCTOR_PRIORITY_TRUE
608 TLS_DESCRIPTORS_FALSE
610 TLS_GNU2_DIALECT_FALSE
611 TLS_GNU2_DIALECT_TRUE
620 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
621 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
671 DEFAULT_TARGET_X86_64_FALSE
672 DEFAULT_TARGET_X86_64_TRUE
673 DEFAULT_TARGET_SPARC_FALSE
674 DEFAULT_TARGET_SPARC_TRUE
675 DEFAULT_TARGET_POWERPC_FALSE
676 DEFAULT_TARGET_POWERPC_TRUE
677 DEFAULT_TARGET_I386_FALSE
678 DEFAULT_TARGET_I386_TRUE
679 DEFAULT_TARGET_ARM_FALSE
680 DEFAULT_TARGET_ARM_TRUE
695 INSTALL_STRIP_PROGRAM
749 program_transform_name
762 enable_option_checking
768 enable_dependency_tracking
771 enable_build_warnings
772 enable_maintainer_mode
774 ac_precious_vars
='build_alias
791 # Initialize some variables set by options.
793 ac_init_version
=false
794 ac_unrecognized_opts
=
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name
=s
,x
,x
,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir
='${exec_prefix}/bin'
820 sbindir
='${exec_prefix}/sbin'
821 libexecdir
='${exec_prefix}/libexec'
822 datarootdir
='${prefix}/share'
823 datadir
='${datarootdir}'
824 sysconfdir
='${prefix}/etc'
825 sharedstatedir
='${prefix}/com'
826 localstatedir
='${prefix}/var'
827 includedir
='${prefix}/include'
828 oldincludedir
='/usr/include'
829 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir
='${datarootdir}/info'
835 libdir
='${exec_prefix}/lib'
836 localedir
='${datarootdir}/locale'
837 mandir
='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\
$ac_option
851 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
863 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
866 -build |
--build |
--buil |
--bui |
--bu)
867 ac_prev
=build_alias
;;
868 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
869 build_alias
=$ac_optarg ;;
871 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
872 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
873 ac_prev
=cache_file
;;
874 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
875 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
876 cache_file
=$ac_optarg ;;
879 cache_file
=config.cache
;;
881 -datadir |
--datadir |
--datadi |
--datad)
883 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
884 datadir
=$ac_optarg ;;
886 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
887 |
--dataroo |
--dataro |
--datar)
888 ac_prev
=datarootdir
;;
889 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
890 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
891 datarootdir
=$ac_optarg ;;
893 -disable-* |
--disable-*)
894 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
897 as_fn_error
"invalid feature name: $ac_useropt"
898 ac_useropt_orig
=$ac_useropt
899 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905 ac_unrecognized_sep
=', ';;
907 eval enable_
$ac_useropt=no
;;
909 -docdir |
--docdir |
--docdi |
--doc |
--do)
911 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
914 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
916 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
919 -enable-* |
--enable-*)
920 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
923 as_fn_error
"invalid feature name: $ac_useropt"
924 ac_useropt_orig
=$ac_useropt
925 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931 ac_unrecognized_sep
=', ';;
933 eval enable_
$ac_useropt=\
$ac_optarg ;;
935 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
936 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
937 |
--exec |
--exe |
--ex)
938 ac_prev
=exec_prefix
;;
939 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
940 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
941 |
--exec=* |
--exe=* |
--ex=*)
942 exec_prefix
=$ac_optarg ;;
944 -gas |
--gas |
--ga |
--g)
945 # Obsolete; use --with-gas.
948 -help |
--help |
--hel |
--he |
-h)
950 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
951 ac_init_help
=recursive
;;
952 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
953 ac_init_help
=short
;;
955 -host |
--host |
--hos |
--ho)
956 ac_prev
=host_alias
;;
957 -host=* |
--host=* |
--hos=* |
--ho=*)
958 host_alias
=$ac_optarg ;;
960 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
962 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
964 htmldir
=$ac_optarg ;;
966 -includedir |
--includedir |
--includedi |
--included |
--include \
967 |
--includ |
--inclu |
--incl |
--inc)
968 ac_prev
=includedir
;;
969 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
970 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
971 includedir
=$ac_optarg ;;
973 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
975 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
976 infodir
=$ac_optarg ;;
978 -libdir |
--libdir |
--libdi |
--libd)
980 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
983 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
984 |
--libexe |
--libex |
--libe)
985 ac_prev
=libexecdir
;;
986 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
987 |
--libexe=* |
--libex=* |
--libe=*)
988 libexecdir
=$ac_optarg ;;
990 -localedir |
--localedir |
--localedi |
--localed |
--locale)
992 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
993 localedir
=$ac_optarg ;;
995 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
996 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
997 ac_prev
=localstatedir
;;
998 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
999 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1000 localstatedir
=$ac_optarg ;;
1002 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1004 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1005 mandir
=$ac_optarg ;;
1007 -nfp |
--nfp |
--nf)
1008 # Obsolete; use --without-fp.
1011 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1012 |
--no-cr |
--no-c |
-n)
1015 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1016 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1019 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1020 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1021 |
--oldin |
--oldi |
--old |
--ol |
--o)
1022 ac_prev
=oldincludedir
;;
1023 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1024 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1025 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1026 oldincludedir
=$ac_optarg ;;
1028 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1030 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1031 prefix
=$ac_optarg ;;
1033 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1034 |
--program-pre |
--program-pr |
--program-p)
1035 ac_prev
=program_prefix
;;
1036 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1037 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1038 program_prefix
=$ac_optarg ;;
1040 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1041 |
--program-suf |
--program-su |
--program-s)
1042 ac_prev
=program_suffix
;;
1043 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1044 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1045 program_suffix
=$ac_optarg ;;
1047 -program-transform-name |
--program-transform-name \
1048 |
--program-transform-nam |
--program-transform-na \
1049 |
--program-transform-n |
--program-transform- \
1050 |
--program-transform |
--program-transfor \
1051 |
--program-transfo |
--program-transf \
1052 |
--program-trans |
--program-tran \
1053 |
--progr-tra |
--program-tr |
--program-t)
1054 ac_prev
=program_transform_name
;;
1055 -program-transform-name=* |
--program-transform-name=* \
1056 |
--program-transform-nam=* |
--program-transform-na=* \
1057 |
--program-transform-n=* |
--program-transform-=* \
1058 |
--program-transform=* |
--program-transfor=* \
1059 |
--program-transfo=* |
--program-transf=* \
1060 |
--program-trans=* |
--program-tran=* \
1061 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1062 program_transform_name
=$ac_optarg ;;
1064 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1066 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1067 pdfdir
=$ac_optarg ;;
1069 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1071 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1074 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1075 |
-silent |
--silent |
--silen |
--sile |
--sil)
1078 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1080 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1082 sbindir
=$ac_optarg ;;
1084 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1085 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1086 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1088 ac_prev
=sharedstatedir
;;
1089 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1090 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1091 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1093 sharedstatedir
=$ac_optarg ;;
1095 -site |
--site |
--sit)
1097 -site=* |
--site=* |
--sit=*)
1100 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1102 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1103 srcdir
=$ac_optarg ;;
1105 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1106 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1107 ac_prev
=sysconfdir
;;
1108 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1109 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1110 sysconfdir
=$ac_optarg ;;
1112 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1113 ac_prev
=target_alias
;;
1114 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1115 target_alias
=$ac_optarg ;;
1117 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1120 -version |
--version |
--versio |
--versi |
--vers |
-V)
1121 ac_init_version
=: ;;
1124 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1127 as_fn_error
"invalid package name: $ac_useropt"
1128 ac_useropt_orig
=$ac_useropt
1129 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1134 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135 ac_unrecognized_sep
=', ';;
1137 eval with_
$ac_useropt=\
$ac_optarg ;;
1139 -without-* |
--without-*)
1140 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1143 as_fn_error
"invalid package name: $ac_useropt"
1144 ac_useropt_orig
=$ac_useropt
1145 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151 ac_unrecognized_sep
=', ';;
1153 eval with_
$ac_useropt=no
;;
1156 # Obsolete; use --with-x.
1159 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1160 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1161 ac_prev
=x_includes
;;
1162 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1163 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1164 x_includes
=$ac_optarg ;;
1166 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1167 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1168 ac_prev
=x_libraries
;;
1169 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1170 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1171 x_libraries
=$ac_optarg ;;
1173 -*) as_fn_error
"unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information."
1178 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1179 # Reject names that are not valid shell variable names.
1180 case $ac_envvar in #(
1181 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1182 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1184 eval $ac_envvar=\
$ac_optarg
1185 export $ac_envvar ;;
1188 # FIXME: should be removed in autoconf 3.0.
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1198 if test -n "$ac_prev"; then
1199 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1200 as_fn_error
"missing argument to $ac_option"
1203 if test -n "$ac_unrecognized_opts"; then
1204 case $enable_option_checking in
1206 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1211 # Check all directory arguments for consistency.
1212 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215 libdir localedir mandir
1217 eval ac_val
=\$
$ac_var
1218 # Remove trailing slashes.
1221 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222 eval $ac_var=\
$ac_val;;
1224 # Be sure to have absolute directory names.
1226 [\\/$
]* | ?
:[\\/]* ) continue;;
1227 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1229 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1237 target
=$target_alias
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x
; then
1241 if test "x$build_alias" = x
; then
1242 cross_compiling
=maybe
1243 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1244 If a cross compiler is detected then cross compile mode will be used." >&2
1245 elif test "x$build_alias" != "x$host_alias"; then
1251 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1253 test "$silent" = yes && exec 6>/dev
/null
1256 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di
=`ls -di .` &&
1258 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error
"working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error
"pwd does not report name of working directory"
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted
=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir
=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted
=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1300 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1302 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1314 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316 for ac_var
in $ac_precious_vars; do
1317 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1319 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1324 # Report the --help message.
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1330 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1337 Defaults for the options are specified in brackets.
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1361 For better control, use the options below.
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1379 --htmldir=DIR html documentation [DOCDIR]
1380 --dvidir=DIR dvi documentation [DOCDIR]
1381 --pdfdir=DIR pdf documentation [DOCDIR]
1382 --psdir=DIR ps documentation [DOCDIR]
1388 --program-prefix=PREFIX prepend PREFIX to installed program names
1389 --program-suffix=SUFFIX append SUFFIX to installed program names
1390 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1393 --build=BUILD configure
for building on BUILD
[guessed
]
1394 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1395 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1399 if test -n "$ac_init_help"; then
1400 case $ac_init_help in
1401 short | recursive
) echo "Configuration of gold 0.1:";;
1406 --disable-option-checking ignore unrecognized
--enable/--with options
1407 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1408 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1409 --enable-gold[=ARG
] build gold
[ARG
={both
}[/{gold
,ld
}]]
1410 --enable-threads multi-threaded linking
1411 --enable-plugins linker plugins
1412 --enable-targets alternative target configurations
1413 --disable-dependency-tracking speeds up one-time build
1414 --enable-dependency-tracking do not reject slow dependency extractors
1415 --disable-nls do not use Native Language Support
1416 --enable-werror treat compile warnings as errors
1417 --enable-build-warnings enable build-time compiler warnings
1418 --enable-maintainer-mode enable make rules and dependencies not useful
1419 (and sometimes confusing
) to the casual installer
1422 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1423 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1424 --with-sysroot=DIR search
for usr
/lib et al within DIR
1426 Some influential environment variables
:
1427 CC C compiler
command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1430 nonstandard directory
<lib dir
>
1431 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1432 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1433 you have headers
in a nonstandard directory
<include dir
>
1434 CXX C
++ compiler
command
1435 CXXFLAGS C
++ compiler flags
1436 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1437 the first program found out of: `bison
-y', `byacc', `yacc'.
1438 YFLAGS The list of arguments that will be passed by default to $YACC.
1439 This script will default YFLAGS to the empty string to avoid a
1440 default value of `-d' given by some make applications.
1442 CXXCPP C++ preprocessor
1444 Use these variables to override the choices made by `configure' or to
help
1445 it to
find libraries and programs with nonstandard names
/locations.
1447 Report bugs to the package provider.
1452 if test "$ac_init_help" = "recursive"; then
1453 # If there are subdirs, report their specific --help.
1454 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1455 test -d "$ac_dir" ||
1456 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1461 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1463 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1464 # A ".." for each directory in $ac_dir_suffix.
1465 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1466 case $ac_top_builddir_sub in
1467 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1468 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1471 ac_abs_top_builddir
=$ac_pwd
1472 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1473 # for backward compatibility:
1474 ac_top_builddir
=$ac_top_build_prefix
1477 .
) # We are building in place.
1479 ac_top_srcdir
=$ac_top_builddir_sub
1480 ac_abs_top_srcdir
=$ac_pwd ;;
1481 [\\/]* | ?
:[\\/]* ) # Absolute name.
1482 ac_srcdir
=$srcdir$ac_dir_suffix;
1483 ac_top_srcdir
=$srcdir
1484 ac_abs_top_srcdir
=$srcdir ;;
1486 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1487 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1488 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1490 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1492 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1493 # Check for guested configure.
1494 if test -f "$ac_srcdir/configure.gnu"; then
1496 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1497 elif test -f "$ac_srcdir/configure"; then
1499 $SHELL "$ac_srcdir/configure" --help=recursive
1501 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1503 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1507 test -n "$ac_init_help" && exit $ac_status
1508 if $ac_init_version; then
1511 generated by GNU Autoconf
2.64
1513 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1514 This configure
script is free software
; the Free Software Foundation
1515 gives unlimited permission to copy
, distribute and modify it.
1520 ## ------------------------ ##
1521 ## Autoconf initialization. ##
1522 ## ------------------------ ##
1524 # ac_fn_c_try_compile LINENO
1525 # --------------------------
1526 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1527 ac_fn_c_try_compile
()
1529 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1530 rm -f conftest.
$ac_objext
1531 if { { ac_try
="$ac_compile"
1533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1534 *) ac_try_echo=$ac_try;;
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537 $as_echo "$ac_try_echo"; } >&5
1538 (eval "$ac_compile") 2>conftest.err
1540 if test -s conftest.err; then
1541 grep -v '^ *+' conftest.err >conftest.er1
1542 cat conftest.er1 >&5
1543 mv -f conftest.er1 conftest.err
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; } && {
1547 test -z "$ac_c_werror_flag" ||
1548 test ! -s conftest.err
1549 } && test -s conftest.$ac_objext; then :
1552 $as_echo "$as_me: failed program was:" >&5
1553 sed 's/^/| /' conftest.$ac_ext >&5
1557 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1560 } # ac_fn_c_try_compile
1562 # ac_fn_cxx_try_compile LINENO
1563 # ----------------------------
1564 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1565 ac_fn_cxx_try_compile ()
1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568 rm -f conftest.$ac_objext
1569 if { { ac_try="$ac_compile"
1571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1572 *) ac_try_echo
=$ac_try;;
1574 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_compile") 2>conftest.err
1578 if test -s conftest.err
; then
1579 grep -v '^ *+' conftest.err
>conftest.er1
1580 cat conftest.er1
>&5
1581 mv -f conftest.er1 conftest.err
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } && {
1585 test -z "$ac_cxx_werror_flag" ||
1586 test ! -s conftest.err
1587 } && test -s conftest.
$ac_objext; then :
1590 $as_echo "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.
$ac_ext >&5
1595 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1598 } # ac_fn_cxx_try_compile
1600 # ac_fn_c_try_cpp LINENO
1601 # ----------------------
1602 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1605 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1606 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1609 *) ac_try_echo=$ac_try;;
1611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1612 $as_echo "$ac_try_echo"; } >&5
1613 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1615 if test -s conftest.err; then
1616 grep -v '^ *+' conftest.err >conftest.er1
1617 cat conftest.er1 >&5
1618 mv -f conftest.er1 conftest.err
1620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1621 test $ac_status = 0; } >/dev/null && {
1622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1623 test ! -s conftest.err
1627 $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.$ac_ext >&5
1632 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1637 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1638 # -------------------------------------------------------
1639 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1640 # the include files in INCLUDES and setting the cache variable VAR
1642 ac_fn_c_check_header_mongrel ()
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1649 $as_echo_n "(cached) " >&6
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1653 $as_echo "$ac_res" >&6; }
1655 # Is the header compilable?
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1657 $as_echo_n "checking $2 usability... " >&6; }
1658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1659 /* end confdefs.h. */
1663 if ac_fn_c_try_compile "$LINENO"; then :
1664 ac_header_compiler=yes
1666 ac_header_compiler=no
1668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1670 $as_echo "$ac_header_compiler" >&6; }
1672 # Is the header present?
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1674 $as_echo_n "checking $2 presence... " >&6; }
1675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1676 /* end confdefs.h. */
1679 if ac_fn_c_try_cpp "$LINENO"; then :
1680 ac_header_preproc=yes
1682 ac_header_preproc=no
1684 rm -f conftest.err conftest.$ac_ext
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1686 $as_echo "$ac_header_preproc" >&6; }
1688 # So? What about this header?
1689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1692 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1694 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1698 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1700 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1702 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1704 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1706 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1712 $as_echo_n "(cached) " >&6
1714 eval "$3=\$ac_header_compiler"
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1718 $as_echo "$ac_res" >&6; }
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 } # ac_fn_c_check_header_mongrel
1724 # ac_fn_c_try_run LINENO
1725 # ----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1727 # that executables *can* be run.
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 if { { ac_try="$ac_link"
1733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1734 *) ac_try_echo
=$ac_try;;
1736 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>&5
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1742 { { case "(($ac_try" in
1743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_try") 2>&5
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; }; }; then :
1754 $as_echo "$as_me: program exited with status $ac_status" >&5
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.$ac_ext >&5
1758 ac_retval=$ac_status
1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1761 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1767 # -------------------------------------------------------
1768 # Tests whether HEADER exists and can be compiled using the include files in
1769 # INCLUDES, setting the cache variable VAR accordingly.
1770 ac_fn_c_check_header_compile ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1776 $as_echo_n "(cached) " >&6
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1783 if ac_fn_c_try_compile "$LINENO"; then :
1788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795 } # ac_fn_c_check_header_compile
1797 # ac_fn_c_try_link LINENO
1798 # -----------------------
1799 # Try to link conftest.$ac_ext, and return whether this succeeded.
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 rm -f conftest.$ac_objext conftest$ac_exeext
1804 if { { ac_try="$ac_link"
1806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1807 *) ac_try_echo
=$ac_try;;
1809 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_link") 2>conftest.err
1813 if test -s conftest.err
; then
1814 grep -v '^ *+' conftest.err
>conftest.er1
1815 cat conftest.er1
>&5
1816 mv -f conftest.er1 conftest.err
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_c_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest
$ac_exeext && {
1823 test "$cross_compiling" = yes ||
1824 $as_test_x conftest
$ac_exeext
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.
$ac_ext >&5
1833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1835 # interfere with the next link command; also delete a directory that is
1836 # left behind by Apple's compiler. We do this before executing the actions.
1837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1841 } # ac_fn_c_try_link
1843 # ac_fn_c_check_func LINENO FUNC VAR
1844 # ----------------------------------
1845 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1846 ac_fn_c_check_func
()
1848 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1850 $as_echo_n "checking for $2... " >&6; }
1851 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1852 $as_echo_n "(cached) " >&6
1854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1856 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1858 #define $2 innocuous_$2
1860 /* System header to define __stub macros and hopefully few prototypes,
1861 which can conflict with char $2 (); below.
1862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1863 <limits.h> exists even on freestanding compilers. */
1866 # include <limits.h>
1868 # include <assert.h>
1873 /* Override any GCC internal prototype to avoid an error.
1874 Use char because int might match the return type of a GCC
1875 builtin and then its argument prototype would still apply. */
1880 /* The GNU C library defines this for functions which it implements
1881 to always fail with ENOSYS. Some functions are actually named
1882 something starting with __ and the normal name is an alias. */
1883 #if defined __stub_$2 || defined __stub___$2
1895 if ac_fn_c_try_link
"$LINENO"; then :
1900 rm -f core conftest.err conftest.
$ac_objext \
1901 conftest
$ac_exeext conftest.
$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $as_echo "$ac_res" >&6; }
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1908 } # ac_fn_c_check_func
1910 # ac_fn_c_check_decl LINENO SYMBOL VAR
1911 # ------------------------------------
1912 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1913 ac_fn_c_check_decl
()
1915 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1917 $as_echo_n "checking whether $2 is declared... " >&6; }
1918 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1919 $as_echo_n "(cached) " >&6
1921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1935 if ac_fn_c_try_compile
"$LINENO"; then :
1940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1947 } # ac_fn_c_check_decl
1949 # ac_fn_cxx_try_cpp LINENO
1950 # ------------------------
1951 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952 ac_fn_cxx_try_cpp
()
1954 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1955 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1958 *) ac_try_echo=$ac_try;;
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1964 if test -s conftest.err; then
1965 grep -v '^ *+' conftest.err >conftest.er1
1966 cat conftest.er1 >&5
1967 mv -f conftest.er1 conftest.err
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } >/dev/null && {
1971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1972 test ! -s conftest.err
1976 $as_echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.$ac_ext >&5
1981 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984 } # ac_fn_cxx_try_cpp
1986 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1987 # ---------------------------------------------------------
1988 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1989 # the include files in INCLUDES and setting the cache variable VAR
1991 ac_fn_cxx_check_header_mongrel ()
1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996 $as_echo_n "checking for $2... " >&6; }
1997 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1998 $as_echo_n "(cached) " >&6
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2004 # Is the header compilable?
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2006 $as_echo_n "checking $2 usability... " >&6; }
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2012 if ac_fn_cxx_try_compile "$LINENO"; then :
2013 ac_header_compiler=yes
2015 ac_header_compiler=no
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2019 $as_echo "$ac_header_compiler" >&6; }
2021 # Is the header present?
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2023 $as_echo_n "checking $2 presence... " >&6; }
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2028 if ac_fn_cxx_try_cpp "$LINENO"; then :
2029 ac_header_preproc=yes
2031 ac_header_preproc=no
2033 rm -f conftest.err conftest.$ac_ext
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2035 $as_echo "$ac_header_preproc" >&6; }
2037 # So? What about this header?
2038 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2041 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2043 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2047 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2049 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2051 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2053 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2055 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2059 $as_echo_n "checking for $2... " >&6; }
2060 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2061 $as_echo_n "(cached) " >&6
2063 eval "$3=\$ac_header_compiler"
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2067 $as_echo "$ac_res" >&6; }
2069 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2071 } # ac_fn_cxx_check_header_mongrel
2073 # ac_fn_cxx_try_link LINENO
2074 # -------------------------
2075 # Try to link conftest.$ac_ext, and return whether this succeeded.
2076 ac_fn_cxx_try_link ()
2078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2079 rm -f conftest.$ac_objext conftest$ac_exeext
2080 if { { ac_try="$ac_link"
2082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2083 *) ac_try_echo
=$ac_try;;
2085 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2086 $as_echo "$ac_try_echo"; } >&5
2087 (eval "$ac_link") 2>conftest.err
2089 if test -s conftest.err
; then
2090 grep -v '^ *+' conftest.err
>conftest.er1
2091 cat conftest.er1
>&5
2092 mv -f conftest.er1 conftest.err
2094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2095 test $ac_status = 0; } && {
2096 test -z "$ac_cxx_werror_flag" ||
2097 test ! -s conftest.err
2098 } && test -s conftest
$ac_exeext && {
2099 test "$cross_compiling" = yes ||
2100 $as_test_x conftest
$ac_exeext
2104 $as_echo "$as_me: failed program was:" >&5
2105 sed 's/^/| /' conftest.
$ac_ext >&5
2109 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2110 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2111 # interfere with the next link command; also delete a directory that is
2112 # left behind by Apple's compiler. We do this before executing the actions.
2113 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2114 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2117 } # ac_fn_cxx_try_link
2119 # ac_fn_cxx_check_func LINENO FUNC VAR
2120 # ------------------------------------
2121 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2122 ac_fn_cxx_check_func
()
2124 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2126 $as_echo_n "checking for $2... " >&6; }
2127 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2128 $as_echo_n "(cached) " >&6
2130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2132 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2134 #define $2 innocuous_$2
2136 /* System header to define __stub macros and hopefully few prototypes,
2137 which can conflict with char $2 (); below.
2138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2139 <limits.h> exists even on freestanding compilers. */
2142 # include <limits.h>
2144 # include <assert.h>
2149 /* Override any GCC internal prototype to avoid an error.
2150 Use char because int might match the return type of a GCC
2151 builtin and then its argument prototype would still apply. */
2156 /* The GNU C library defines this for functions which it implements
2157 to always fail with ENOSYS. Some functions are actually named
2158 something starting with __ and the normal name is an alias. */
2159 #if defined __stub_$2 || defined __stub___$2
2171 if ac_fn_cxx_try_link
"$LINENO"; then :
2176 rm -f core conftest.err conftest.
$ac_objext \
2177 conftest
$ac_exeext conftest.
$ac_ext
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181 $as_echo "$ac_res" >&6; }
2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2184 } # ac_fn_cxx_check_func
2186 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2187 # --------------------------------------
2188 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2189 ac_fn_cxx_check_decl
()
2191 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2193 $as_echo_n "checking whether $2 is declared... " >&6; }
2194 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 $as_echo_n "(cached) " >&6
2197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h. */
2211 if ac_fn_cxx_try_compile
"$LINENO"; then :
2216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2221 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2223 } # ac_fn_cxx_check_decl
2224 cat >config.log
<<_ACEOF
2225 This file contains any messages produced by compilers while
2226 running configure, to aid debugging if configure makes a mistake.
2228 It was created by gold $as_me 0.1, which was
2229 generated by GNU Autoconf 2.64. Invocation command line was
2241 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2242 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2243 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2244 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2245 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2247 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2248 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2250 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2251 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2252 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2253 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2254 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2255 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2256 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir
=.
2265 $as_echo "PATH: $as_dir"
2281 # Keep a trace of the command line.
2282 # Strip out --no-create and --no-recursion so they do not pile up.
2283 # Strip out --silent because we don't want to record it for future runs.
2284 # Also quote any args containing shell meta-characters.
2285 # Make two passes to allow for proper duplicate-argument suppression.
2289 ac_must_keep_next
=false
2295 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2296 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2297 |
-silent |
--silent |
--silen |
--sile |
--sil)
2300 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2303 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2305 as_fn_append ac_configure_args1
" '$ac_arg'"
2306 if test $ac_must_keep_next = true
; then
2307 ac_must_keep_next
=false
# Got value, back to normal.
2310 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2311 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2312 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2313 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2314 case "$ac_configure_args0 " in
2315 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2318 -* ) ac_must_keep_next
=true
;;
2321 as_fn_append ac_configure_args
" '$ac_arg'"
2326 { ac_configure_args0
=; unset ac_configure_args0
;}
2327 { ac_configure_args1
=; unset ac_configure_args1
;}
2329 # When interrupted or exit'd, cleanup temporary files, and complete
2330 # config.log. We remove comments because anyway the quotes in there
2331 # would cause problems or look ugly.
2332 # WARNING: Use '\'' to represent an apostrophe within the trap.
2333 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2334 trap 'exit_status=$?
2335 # Save into config.log some information that might help in debugging.
2340 ## ---------------- ##
2341 ## Cache variables. ##
2342 ## ---------------- ##
2345 # The following way of writing the cache mishandles newlines in values,
2347 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2348 eval ac_val=\$$ac_var
2352 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2353 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2356 _ | IFS | as_nl) ;; #(
2357 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2358 *) { eval $ac_var=; unset $ac_var;} ;;
2363 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2364 *${as_nl}ac_space=\ *)
2366 "s/'\''/'\''\\\\'\'''\''/g;
2367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2378 ## ----------------- ##
2379 ## Output variables. ##
2380 ## ----------------- ##
2383 for ac_var in $ac_subst_vars
2385 eval ac_val=\$$ac_var
2387 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2389 $as_echo "$ac_var='\''$ac_val'\''"
2393 if test -n "$ac_subst_files"; then
2395 ## ------------------- ##
2396 ## File substitutions. ##
2397 ## ------------------- ##
2400 for ac_var
in $ac_subst_files
2402 eval ac_val
=\$
$ac_var
2404 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2406 $as_echo "$ac_var='\''$ac_val'\''"
2411 if test -s confdefs.h; then
2421 test "$ac_signal" != 0 &&
2422 $as_echo "$as_me: caught signal $ac_signal"
2423 $as_echo "$as_me: exit $exit_status"
2425 rm -f core *.core core.conftest.* &&
2426 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2429 for ac_signal
in 1 2 13 15; do
2430 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2434 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2435 rm -f -r conftest
* confdefs.h
2437 $as_echo "/* confdefs.h */" > confdefs.h
2439 # Predefined preprocessor variables.
2441 cat >>confdefs.h
<<_ACEOF
2442 #define PACKAGE_NAME "$PACKAGE_NAME"
2445 cat >>confdefs.h
<<_ACEOF
2446 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2449 cat >>confdefs.h
<<_ACEOF
2450 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2453 cat >>confdefs.h
<<_ACEOF
2454 #define PACKAGE_STRING "$PACKAGE_STRING"
2457 cat >>confdefs.h
<<_ACEOF
2458 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2461 cat >>confdefs.h
<<_ACEOF
2462 #define PACKAGE_URL "$PACKAGE_URL"
2466 # Let the site file select an alternate cache file if it wants to.
2467 # Prefer an explicitly selected file to automatically selected ones.
2470 if test -n "$CONFIG_SITE"; then
2471 ac_site_file1
=$CONFIG_SITE
2472 elif test "x$prefix" != xNONE
; then
2473 ac_site_file1
=$prefix/share
/config.site
2474 ac_site_file2
=$prefix/etc
/config.site
2476 ac_site_file1
=$ac_default_prefix/share
/config.site
2477 ac_site_file2
=$ac_default_prefix/etc
/config.site
2479 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2481 test "x$ac_site_file" = xNONE
&& continue
2482 if test -r "$ac_site_file"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2484 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2485 sed 's/^/| /' "$ac_site_file" >&5
2490 if test -r "$cache_file"; then
2491 # Some versions of bash will fail to source /dev/null (special
2492 # files actually), so we avoid doing that.
2493 if test -f "$cache_file"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2495 $as_echo "$as_me: loading cache $cache_file" >&6;}
2497 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2498 *) .
"./$cache_file";;
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2503 $as_echo "$as_me: creating cache $cache_file" >&6;}
2507 # Check that the precious variables saved in the cache have kept the same
2509 ac_cache_corrupted
=false
2510 for ac_var
in $ac_precious_vars; do
2511 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2512 eval ac_new_set
=\
$ac_env_${ac_var}_set
2513 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2514 eval ac_new_val
=\
$ac_env_${ac_var}_value
2515 case $ac_old_set,$ac_new_set in
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2518 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2519 ac_cache_corrupted
=: ;;
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2523 ac_cache_corrupted
=: ;;
2526 if test "x$ac_old_val" != "x$ac_new_val"; then
2527 # differences in whitespace do not lead to failure.
2528 ac_old_val_w
=`echo x $ac_old_val`
2529 ac_new_val_w
=`echo x $ac_new_val`
2530 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2532 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2533 ac_cache_corrupted
=:
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2536 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2537 eval $ac_var=\
$ac_old_val
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2540 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2542 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2545 # Pass precious variables to config.status.
2546 if test "$ac_new_set" = set; then
2548 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2549 *) ac_arg
=$ac_var=$ac_new_val ;;
2551 case " $ac_configure_args " in
2552 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2553 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2557 if $ac_cache_corrupted; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2561 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2562 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2564 ## -------------------- ##
2565 ## Main body of script. ##
2566 ## -------------------- ##
2569 ac_cpp
='$CPP $CPPFLAGS'
2570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2581 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2582 for ac_t
in install-sh
install.sh shtool
; do
2583 if test -f "$ac_dir/$ac_t"; then
2585 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2590 if test -z "$ac_aux_dir"; then
2591 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2594 # These three variables are undocumented and unsupported,
2595 # and are intended to be withdrawn in a future Autoconf release.
2596 # They can cause serious problems if a builder's source tree is in a directory
2597 # whose full name contains unusual characters.
2598 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2599 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2600 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2603 # Make sure we can run config.sub.
2604 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2605 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2608 $as_echo_n "checking build system type... " >&6; }
2609 if test "${ac_cv_build+set}" = set; then :
2610 $as_echo_n "(cached) " >&6
2612 ac_build_alias
=$build_alias
2613 test "x$ac_build_alias" = x
&&
2614 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2615 test "x$ac_build_alias" = x
&&
2616 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2617 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2618 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2622 $as_echo "$ac_cv_build" >&6; }
2623 case $ac_cv_build in
2625 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2628 ac_save_IFS
=$IFS; IFS
='-'
2634 # Remember, the first character of IFS is used to create $*,
2635 # except with old shells:
2638 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2642 $as_echo_n "checking host system type... " >&6; }
2643 if test "${ac_cv_host+set}" = set; then :
2644 $as_echo_n "(cached) " >&6
2646 if test "x$host_alias" = x
; then
2647 ac_cv_host
=$ac_cv_build
2649 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2650 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2655 $as_echo "$ac_cv_host" >&6; }
2658 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2661 ac_save_IFS
=$IFS; IFS
='-'
2667 # Remember, the first character of IFS is used to create $*,
2668 # except with old shells:
2671 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2675 $as_echo_n "checking target system type... " >&6; }
2676 if test "${ac_cv_target+set}" = set; then :
2677 $as_echo_n "(cached) " >&6
2679 if test "x$target_alias" = x
; then
2680 ac_cv_target
=$ac_cv_host
2682 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2683 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2688 $as_echo "$ac_cv_target" >&6; }
2689 case $ac_cv_target in
2691 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2693 target
=$ac_cv_target
2694 ac_save_IFS
=$IFS; IFS
='-'
2700 # Remember, the first character of IFS is used to create $*,
2701 # except with old shells:
2704 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2707 # The aliases save the names the user supplied, while $host etc.
2708 # will get canonicalized.
2709 test -n "$target_alias" &&
2710 test "$program_prefix$program_suffix$program_transform_name" = \
2712 program_prefix
=${target_alias}-
2714 am__api_version
='1.11'
2716 # Find a good install program. We prefer a C program (faster),
2717 # so one script is as good as another. But avoid the broken or
2718 # incompatible versions:
2719 # SysV /etc/install, /usr/sbin/install
2720 # SunOS /usr/etc/install
2721 # IRIX /sbin/install
2723 # AmigaOS /C/install, which installs bootblocks on floppy discs
2724 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2725 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2726 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2727 # OS/2's system install, which has a completely different semantic
2728 # ./install, which can be erroneously created by make from ./install.sh.
2729 # Reject install programs that cannot install multiple files.
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2731 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2732 if test -z "$INSTALL"; then
2733 if test "${ac_cv_path_install+set}" = set; then :
2734 $as_echo_n "(cached) " >&6
2736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir
=.
2741 # Account for people who put trailing slashes in PATH elements.
2742 case $as_dir/ in #((
2743 .
/ | .
// |
/[cC
]/* | \
2744 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2745 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2748 # OSF1 and SCO ODT 3.0 have their own names for install.
2749 # Don't use installbsd from OSF since it installs stuff as root
2751 for ac_prog
in ginstall scoinst
install; do
2752 for ac_exec_ext
in '' $ac_executable_extensions; do
2753 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2754 if test $ac_prog = install &&
2755 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2756 # AIX install. It has an incompatible calling convention.
2758 elif test $ac_prog = install &&
2759 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2760 # program-specific install script used by HP pwplus--don't use.
2763 rm -rf conftest.one conftest.two conftest.dir
2764 echo one
> conftest.one
2765 echo two
> conftest.two
2767 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2768 test -s conftest.one
&& test -s conftest.two
&&
2769 test -s conftest.dir
/conftest.one
&&
2770 test -s conftest.dir
/conftest.two
2772 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2785 rm -rf conftest.one conftest.two conftest.dir
2788 if test "${ac_cv_path_install+set}" = set; then
2789 INSTALL
=$ac_cv_path_install
2791 # As a last resort, use the slow shell script. Don't cache a
2792 # value for INSTALL within a source directory, because that will
2793 # break other packages using the cache if that directory is
2794 # removed, or if the value is a relative name.
2795 INSTALL
=$ac_install_sh
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2799 $as_echo "$INSTALL" >&6; }
2801 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2802 # It thinks the first close brace ends the variable substitution.
2803 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2805 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2807 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2810 $as_echo_n "checking whether build environment is sane... " >&6; }
2813 echo timestamp
> conftest.
file
2814 # Reject unsafe characters in $srcdir or the absolute working directory
2815 # name. Accept space and tab only in the latter.
2819 *[\\\"\
#\$\&\'\`$am_lf]*)
2820 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2823 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2824 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2827 # Do `set' in a subshell so we don't clobber the current shell's
2828 # arguments. Must try -L first in case configure is actually a
2829 # symlink; some systems play weird games with the mod time of symlinks
2830 # (eg FreeBSD returns the mod time of the symlink's containing
2833 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2834 if test "$*" = "X"; then
2836 set X
`ls -t "$srcdir/configure" conftest.file`
2839 if test "$*" != "X $srcdir/configure conftest.file" \
2840 && test "$*" != "X conftest.file $srcdir/configure"; then
2842 # If neither matched, then we have a broken ls. This can happen
2843 # if, for instance, CONFIG_SHELL is bash and it inherits a
2844 # broken ls alias from the environment. This has actually
2845 # happened. Such a system could not be considered "sane".
2846 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2847 alias in your environment" "$LINENO" 5
2850 test "$2" = conftest.
file
2856 as_fn_error
"newly created file is older than distributed files!
2857 Check your system clock" "$LINENO" 5
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2860 $as_echo "yes" >&6; }
2861 test "$program_prefix" != NONE
&&
2862 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2863 # Use a double $ so make ignores it.
2864 test "$program_suffix" != NONE
&&
2865 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2866 # Double any \ or $.
2867 # By default was `s,x,x', remove it if useless.
2868 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2869 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2871 # expand $ac_aux_dir to an absolute path
2872 am_aux_dir
=`cd $ac_aux_dir && pwd`
2874 if test x
"${MISSING+set}" != xset
; then
2877 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2879 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2882 # Use eval to expand $SHELL
2883 if eval "$MISSING --run true"; then
2884 am_missing_run
="$MISSING --run "
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2888 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2891 if test x
"${install_sh}" != xset
; then
2894 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2896 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2900 # Installed binaries are usually stripped using `strip' when the user
2901 # run `make install-strip'. However `strip' might not be the right
2902 # tool to use in cross-compilation environments, therefore Automake
2903 # will honor the `STRIP' environment variable to overrule this program.
2904 if test "$cross_compiling" != no
; then
2905 if test -n "$ac_tool_prefix"; then
2906 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2907 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if test "${ac_cv_prog_STRIP+set}" = set; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$STRIP"; then
2914 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir
=.
2921 for ac_exec_ext
in '' $ac_executable_extensions; do
2922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2923 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 STRIP
=$ac_cv_prog_STRIP
2934 if test -n "$STRIP"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2936 $as_echo "$STRIP" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2944 if test -z "$ac_cv_prog_STRIP"; then
2946 # Extract the first word of "strip", so it can be a program name with args.
2947 set dummy strip
; ac_word
=$2
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2949 $as_echo_n "checking for $ac_word... " >&6; }
2950 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2951 $as_echo_n "(cached) " >&6
2953 if test -n "$ac_ct_STRIP"; then
2954 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2960 test -z "$as_dir" && as_dir
=.
2961 for ac_exec_ext
in '' $ac_executable_extensions; do
2962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2963 ac_cv_prog_ac_ct_STRIP
="strip"
2964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2974 if test -n "$ac_ct_STRIP"; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2976 $as_echo "$ac_ct_STRIP" >&6; }
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2979 $as_echo "no" >&6; }
2982 if test "x$ac_ct_STRIP" = x
; then
2985 case $cross_compiling:$ac_tool_warned in
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2989 ac_tool_warned
=yes ;;
2994 STRIP
="$ac_cv_prog_STRIP"
2998 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3001 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3002 if test -z "$MKDIR_P"; then
3003 if test "${ac_cv_path_mkdir+set}" = set; then :
3004 $as_echo_n "(cached) " >&6
3006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3007 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3010 test -z "$as_dir" && as_dir
=.
3011 for ac_prog
in mkdir gmkdir
; do
3012 for ac_exec_ext
in '' $ac_executable_extensions; do
3013 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3014 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3015 'mkdir (GNU coreutils) '* | \
3016 'mkdir (coreutils) '* | \
3017 'mkdir (fileutils) '4.1*)
3018 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3028 if test "${ac_cv_path_mkdir+set}" = set; then
3029 MKDIR_P
="$ac_cv_path_mkdir -p"
3031 # As a last resort, use the slow shell script. Don't cache a
3032 # value for MKDIR_P within a source directory, because that will
3033 # break other packages using the cache if that directory is
3034 # removed, or if the value is a relative name.
3035 test -d .
/--version && rmdir .
/--version
3036 MKDIR_P
="$ac_install_sh -d"
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3040 $as_echo "$MKDIR_P" >&6; }
3044 [\\/$
]* | ?
:[\\/]*) ;;
3045 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3048 for ac_prog
in gawk mawk nawk
awk
3050 # Extract the first word of "$ac_prog", so it can be a program name with args.
3051 set dummy
$ac_prog; ac_word
=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if test "${ac_cv_prog_AWK+set}" = set; then :
3055 $as_echo_n "(cached) " >&6
3057 if test -n "$AWK"; then
3058 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir
=.
3065 for ac_exec_ext
in '' $ac_executable_extensions; do
3066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067 ac_cv_prog_AWK
="$ac_prog"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 if test -n "$AWK"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3080 $as_echo "$AWK" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3087 test -n "$AWK" && break
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3091 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3093 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3094 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3095 $as_echo_n "(cached) " >&6
3097 cat >conftest.
make <<\_ACEOF
3100 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3102 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3103 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3105 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3107 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3111 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3113 $as_echo "yes" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3118 SET_MAKE
="MAKE=${MAKE-make}"
3121 rm -rf .tst
2>/dev
/null
3122 mkdir .tst
2>/dev
/null
3123 if test -d .tst
; then
3128 rmdir .tst
2>/dev
/null
3130 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3131 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3132 # is not polluted with repeated "-I."
3133 am__isrc
=' -I$(srcdir)'
3134 # test to see if srcdir already configured
3135 if test -f $srcdir/config.status
; then
3136 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3140 # test whether we have cygpath
3141 if test -z "$CYGPATH_W"; then
3142 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3143 CYGPATH_W
='cygpath -w'
3150 # Define the identity of the package.
3155 cat >>confdefs.h
<<_ACEOF
3156 #define PACKAGE "$PACKAGE"
3160 cat >>confdefs.h
<<_ACEOF
3161 #define VERSION "$VERSION"
3164 # Some tools Automake needs.
3166 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3169 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3172 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3175 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3178 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3180 # We need awk for the "check" target. The system "awk" is bad on
3182 # Always define AMTAR for backward compatibility.
3184 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3186 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3193 ac_config_headers
="$ac_config_headers config.h:config.in"
3197 # Check whether --with-sysroot was given.
3198 if test "${with_sysroot+set}" = set; then :
3199 withval
=$with_sysroot; sysroot
=$withval
3205 if test "$sysroot" = "yes"; then
3206 sysroot
='${exec_prefix}/${target_alias}/sys-root'
3207 elif test "$sysroot" = "no"; then
3211 sysroot_relocatable
=0
3212 if test -n "$sysroot"; then
3214 "${prefix}" |
"${prefix}/"* | \
3215 "${exec_prefix}" |
"${exec_prefix}/"* | \
3216 '${prefix}' |
'${prefix}/'*| \
3217 '${exec_prefix}' |
'${exec_prefix}/'*)
3218 sysroot_relocatable
=1
3224 cat >>confdefs.h
<<_ACEOF
3225 #define TARGET_SYSTEM_ROOT "$sysroot"
3229 cat >>confdefs.h
<<_ACEOF
3230 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3234 # Check whether --enable-gold was given.
3235 if test "${enable_gold+set}" = set; then :
3236 enableval
=$enable_gold; case "${enableval}" in
3238 install_as_default
=gold
3242 install_as_default
=yes
3243 installed_linker
=ld.gold
3246 install_as_default
=no
3247 installed_linker
=ld.gold
3250 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
3254 install_as_default
=gold
3261 # Check whether --enable-threads was given.
3262 if test "${enable_threads+set}" = set; then :
3263 enableval
=$enable_threads; case "${enableval}" in
3264 yes |
"") threads
=yes ;;
3272 if test "$threads" = "yes"; then
3274 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3277 if test "$threads" = "yes"; then
3286 # Check whether --enable-plugins was given.
3287 if test "${enable_plugins+set}" = set; then :
3288 enableval
=$enable_plugins; case "${enableval}" in
3289 yes |
"") plugins
=yes ;;
3297 if test "$plugins" = "yes"; then
3299 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3302 if test "$plugins" = "yes"; then
3311 # Check whether --enable-targets was given.
3312 if test "${enable_targets+set}" = set; then :
3313 enableval
=$enable_targets; case "${enableval}" in
3315 as_fn_error
"--enable-targets option must specify target names or 'all'" "$LINENO" 5
3321 enable_targets
=$enableval
3325 # For now, enable all targets by default
3331 # Canonicalize the enabled targets.
3332 if test -n "$enable_targets"; then
3333 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
3334 result
=`$ac_config_sub $targ 2>/dev/null`
3335 if test -n "$result"; then
3336 canon_targets
="$canon_targets $result"
3338 # Permit unrecognized target names, like "all".
3339 canon_targets
="$canon_targets $targ"
3344 # See which specific instantiations we need.
3350 default_osabi
=ELFOSABI_NONE
3355 for targ
in $target $canon_targets; do
3356 if test "$targ" = "all"; then
3363 .
${srcdir}/configure.tgt
3365 if test "$targ_obj" = "UNKNOWN"; then
3366 as_fn_error
"\"unsupported target $targ\"" "$LINENO" 5
3368 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
3369 if test "$targ_extra_obj" != ""; then
3370 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3372 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3373 if test "$targ_big_endian" = "true" \
3374 -o "$targ_extra_big_endian" = "true"; then
3377 if test "$targ_big_endian" = "false" \
3378 -o "$targ_extra_big_endian" = "false"; then
3382 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3383 if test "$targ_big_endian" = "true" \
3384 -o "$targ_extra_big_endian" = "true"; then
3387 if test "$targ_big_endian" = "false" \
3388 -o "$targ_extra_big_endian" = "false"; then
3393 if test "$target" = "$targ"; then
3394 default_machine
=$targ_machine
3395 default_size
=$targ_size
3396 default_big_endian
=$targ_big_endian
3397 default_osabi
=$targ_osabi
3399 if test "$targ_obj" = "arm"; then
3400 DEFAULT_TARGET_ARM_TRUE
=
3401 DEFAULT_TARGET_ARM_FALSE
='#'
3403 DEFAULT_TARGET_ARM_TRUE
='#'
3404 DEFAULT_TARGET_ARM_FALSE
=
3407 if test "$targ_obj" = "i386"; then
3408 DEFAULT_TARGET_I386_TRUE
=
3409 DEFAULT_TARGET_I386_FALSE
='#'
3411 DEFAULT_TARGET_I386_TRUE
='#'
3412 DEFAULT_TARGET_I386_FALSE
=
3415 if test "$targ_obj" = "powerpc"; then
3416 DEFAULT_TARGET_POWERPC_TRUE
=
3417 DEFAULT_TARGET_POWERPC_FALSE
='#'
3419 DEFAULT_TARGET_POWERPC_TRUE
='#'
3420 DEFAULT_TARGET_POWERPC_FALSE
=
3423 if test "$targ_obj" = "sparc"; then
3424 DEFAULT_TARGET_SPARC_TRUE
=
3425 DEFAULT_TARGET_SPARC_FALSE
='#'
3427 DEFAULT_TARGET_SPARC_TRUE
='#'
3428 DEFAULT_TARGET_SPARC_FALSE
=
3431 if test "$targ_obj" = "x86_64"; then
3432 DEFAULT_TARGET_X86_64_TRUE
=
3433 DEFAULT_TARGET_X86_64_FALSE
='#'
3435 DEFAULT_TARGET_X86_64_TRUE
='#'
3436 DEFAULT_TARGET_X86_64_FALSE
=
3444 # Remove any duplicates.
3446 for t
in $targetobjs; do
3454 if test -n "$targ_32_little"; then
3456 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3459 if test -n "$targ_32_big"; then
3461 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3464 if test -n "$targ_64_little"; then
3466 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3469 if test -n "$targ_64_big"; then
3471 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3475 if test -n "$all_targets"; then
3476 TARGETOBJS
='$(ALL_TARGETOBJS)'
3478 TARGETOBJS
="$targetobjs"
3483 cat >>confdefs.h
<<_ACEOF
3484 #define GOLD_DEFAULT_MACHINE $default_machine
3488 cat >>confdefs.h
<<_ACEOF
3489 #define GOLD_DEFAULT_SIZE $default_size
3493 cat >>confdefs.h
<<_ACEOF
3494 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3498 cat >>confdefs.h
<<_ACEOF
3499 #define GOLD_DEFAULT_OSABI $default_osabi
3504 ac_cpp
='$CPP $CPPFLAGS'
3505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3508 if test -n "$ac_tool_prefix"; then
3509 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3510 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512 $as_echo_n "checking for $ac_word... " >&6; }
3513 if test "${ac_cv_prog_CC+set}" = set; then :
3514 $as_echo_n "(cached) " >&6
3516 if test -n "$CC"; then
3517 ac_cv_prog_CC
="$CC" # Let the user override the test.
3519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3523 test -z "$as_dir" && as_dir
=.
3524 for ac_exec_ext
in '' $ac_executable_extensions; do
3525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3526 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 if test -n "$CC"; then
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3539 $as_echo "$CC" >&6; }
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3542 $as_echo "no" >&6; }
3547 if test -z "$ac_cv_prog_CC"; then
3549 # Extract the first word of "gcc", so it can be a program name with args.
3550 set dummy gcc
; ac_word
=$2
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3552 $as_echo_n "checking for $ac_word... " >&6; }
3553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3554 $as_echo_n "(cached) " >&6
3556 if test -n "$ac_ct_CC"; then
3557 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3563 test -z "$as_dir" && as_dir
=.
3564 for ac_exec_ext
in '' $ac_executable_extensions; do
3565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3566 ac_cv_prog_ac_ct_CC
="gcc"
3567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3577 if test -n "$ac_ct_CC"; then
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3579 $as_echo "$ac_ct_CC" >&6; }
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3582 $as_echo "no" >&6; }
3585 if test "x$ac_ct_CC" = x
; then
3588 case $cross_compiling:$ac_tool_warned in
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3592 ac_tool_warned
=yes ;;
3600 if test -z "$CC"; then
3601 if test -n "$ac_tool_prefix"; then
3602 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3603 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if test "${ac_cv_prog_CC+set}" = set; then :
3607 $as_echo_n "(cached) " >&6
3609 if test -n "$CC"; then
3610 ac_cv_prog_CC
="$CC" # Let the user override the test.
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3619 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 if test -n "$CC"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3632 $as_echo "$CC" >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3641 if test -z "$CC"; then
3642 # Extract the first word of "cc", so it can be a program name with args.
3643 set dummy cc
; ac_word
=$2
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3645 $as_echo_n "checking for $ac_word... " >&6; }
3646 if test "${ac_cv_prog_CC+set}" = set; then :
3647 $as_echo_n "(cached) " >&6
3649 if test -n "$CC"; then
3650 ac_cv_prog_CC
="$CC" # Let the user override the test.
3653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir
=.
3658 for ac_exec_ext
in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3661 ac_prog_rejected
=yes
3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 if test $ac_prog_rejected = yes; then
3673 # We found a bogon in the path, so make sure we never use it.
3674 set dummy
$ac_cv_prog_CC
3676 if test $# != 0; then
3677 # We chose a different compiler from the bogus one.
3678 # However, it has the same basename, so the bogon will be chosen
3679 # first if we set CC to just the basename; use the full file name.
3681 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3687 if test -n "$CC"; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3689 $as_echo "$CC" >&6; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 $as_echo "no" >&6; }
3697 if test -z "$CC"; then
3698 if test -n "$ac_tool_prefix"; then
3699 for ac_prog
in cl.exe
3701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3702 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if test "${ac_cv_prog_CC+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 if test -n "$CC"; then
3709 ac_cv_prog_CC
="$CC" # Let the user override the test.
3711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir
=.
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 if test -n "$CC"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3731 $as_echo "$CC" >&6; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3738 test -n "$CC" && break
3741 if test -z "$CC"; then
3743 for ac_prog
in cl.exe
3745 # Extract the first word of "$ac_prog", so it can be a program name with args.
3746 set dummy
$ac_prog; ac_word
=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3750 $as_echo_n "(cached) " >&6
3752 if test -n "$ac_ct_CC"; then
3753 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3759 test -z "$as_dir" && as_dir
=.
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3762 ac_cv_prog_ac_ct_CC
="$ac_prog"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3773 if test -n "$ac_ct_CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3775 $as_echo "$ac_ct_CC" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3782 test -n "$ac_ct_CC" && break
3785 if test "x$ac_ct_CC" = x
; then
3788 case $cross_compiling:$ac_tool_warned in
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3792 ac_tool_warned
=yes ;;
3801 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3803 as_fn_error
"no acceptable C compiler found in \$PATH
3804 See \`config.log' for more details." "$LINENO" 5; }
3806 # Provide some information about the compiler.
3807 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3810 for ac_option
in --version -v -V -qversion; do
3811 { { ac_try
="$ac_compiler $ac_option >&5"
3813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3817 $as_echo "$ac_try_echo"; } >&5
3818 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3820 if test -s conftest.err; then
3822 ... rest of stderr output deleted ...
3823 10q' conftest.err >conftest.er1
3824 cat conftest.er1 >&5
3825 rm -f conftest.er1 conftest.err
3827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 test $ac_status = 0; }
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3842 ac_clean_files_save=$ac_clean_files
3843 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3844 # Try to create an executable without -o first, disregard a.out.
3845 # It will help us diagnose broken compilers, and finding out an intuition
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3848 $as_echo_n "checking for C compiler default output file name... " >&6; }
3849 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3851 # The possible output files:
3852 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3855 for ac_file in $ac_files
3858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3859 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3864 if { { ac_try="$ac_link_default"
3866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3867 *) ac_try_echo
=$ac_try;;
3869 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3870 $as_echo "$ac_try_echo"; } >&5
3871 (eval "$ac_link_default") 2>&5
3873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874 test $ac_status = 0; }; then :
3875 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3876 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3877 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3878 # so that the user can short-circuit this test for compilers unknown to
3880 for ac_file
in $ac_files ''
3882 test -f "$ac_file" ||
continue
3884 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3887 # We found the default executable, but exeext='' is most
3891 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3893 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3895 # We set ac_cv_exeext here because the later test for it is not
3896 # safe: cross compilers may not add the suffix if given an `-o'
3897 # argument, so we may need to know it at that point already.
3898 # Even if this section looks crufty: it has the advantage of
3905 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3911 $as_echo "$ac_file" >&6; }
3912 if test -z "$ac_file"; then :
3913 $as_echo "$as_me: failed program was:" >&5
3914 sed 's/^/| /' conftest.
$ac_ext >&5
3916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3918 { as_fn_set_status
77
3919 as_fn_error
"C compiler cannot create executables
3920 See \`config.log' for more details." "$LINENO" 5; }; }
3922 ac_exeext
=$ac_cv_exeext
3924 # Check that the compiler produces executables we can run. If not, either
3925 # the compiler is broken, or we cross compile.
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3927 $as_echo_n "checking whether the C compiler works... " >&6; }
3928 # If not cross compiling, check that we can run a simple program.
3929 if test "$cross_compiling" != yes; then
3930 if { ac_try
='./$ac_file'
3931 { { case "(($ac_try" in
3932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_try") 2>&5
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }; }; then
3943 if test "$cross_compiling" = maybe; then
3946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3948 as_fn_error "cannot run C compiled programs.
3949 If you meant to cross compile
, use \
`--host'.
3950 See \`config.log
' for more details." "$LINENO" 5; }
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3955 $as_echo "yes" >&6; }
3957 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3958 ac_clean_files=$ac_clean_files_save
3959 # Check that the compiler produces executables we can run. If not, either
3960 # the compiler is broken, or we cross compile.
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3962 $as_echo_n "checking whether we are cross compiling... " >&6; }
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3964 $as_echo "$cross_compiling" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3967 $as_echo_n "checking for suffix of executables... " >&6; }
3968 if { { ac_try="$ac_link"
3970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975 (eval "$ac_link") 2>&5
3977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978 test $ac_status = 0; }; then :
3979 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3980 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3981 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3983 for ac_file
in conftest.exe conftest conftest.
*; do
3984 test -f "$ac_file" ||
continue
3986 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3987 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3996 See \`config.log' for more details." "$LINENO" 5; }
3998 rm -f conftest
$ac_cv_exeext
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4000 $as_echo "$ac_cv_exeext" >&6; }
4002 rm -f conftest.
$ac_ext
4003 EXEEXT
=$ac_cv_exeext
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4006 $as_echo_n "checking for suffix of object files... " >&6; }
4007 if test "${ac_cv_objext+set}" = set; then :
4008 $as_echo_n "(cached) " >&6
4010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4021 rm -f conftest.o conftest.obj
4022 if { { ac_try
="$ac_compile"
4024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 $as_echo "$ac_try_echo"; } >&5
4029 (eval "$ac_compile") 2>&5
4031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032 test $ac_status = 0; }; then :
4033 for ac_file in conftest.o conftest.obj conftest.*; do
4034 test -f "$ac_file" || continue;
4036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4037 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4042 $as_echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.$ac_ext >&5
4045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4047 as_fn_error "cannot compute suffix of object files
: cannot compile
4048 See \
`config.log' for more details." "$LINENO" 5; }
4050 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4053 $as_echo "$ac_cv_objext" >&6; }
4054 OBJEXT=$ac_cv_objext
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4057 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4058 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4059 $as_echo_n "(cached) " >&6
4061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4075 if ac_fn_c_try_compile "$LINENO"; then :
4080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4085 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4086 if test $ac_compiler_gnu = yes; then
4091 ac_test_CFLAGS=${CFLAGS+set}
4092 ac_save_CFLAGS=$CFLAGS
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4094 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4095 if test "${ac_cv_prog_cc_g+set}" = set; then :
4096 $as_echo_n "(cached) " >&6
4098 ac_save_c_werror_flag=$ac_c_werror_flag
4099 ac_c_werror_flag=yes
4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4113 if ac_fn_c_try_compile "$LINENO"; then :
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4128 if ac_fn_c_try_compile "$LINENO"; then :
4131 ac_c_werror_flag=$ac_save_c_werror_flag
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4144 if ac_fn_c_try_compile "$LINENO"; then :
4147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4152 ac_c_werror_flag=$ac_save_c_werror_flag
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4155 $as_echo "$ac_cv_prog_cc_g" >&6; }
4156 if test "$ac_test_CFLAGS" = set; then
4157 CFLAGS=$ac_save_CFLAGS
4158 elif test $ac_cv_prog_cc_g = yes; then
4159 if test "$GCC" = yes; then
4165 if test "$GCC" = yes; then
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4172 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4173 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4176 ac_cv_prog_cc_c89=no
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4182 #include <sys/types.h>
4183 #include <sys/stat.h>
4184 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4185 struct buf { int x; };
4186 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4187 static char *e (p, i)
4193 static char *f (char * (*g) (char **, int), char **p, ...)
4198 s = g (p, va_arg (v,int));
4203 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4204 function prototypes and stuff, but not '\xHH' hex character constants.
4205 These don't provoke an error unfortunately, instead are silently treated
4206 as 'x'. The following induces an error, until -std is added to get
4207 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4208 array size at least. It's necessary to write '\x00'==0 to get something
4209 that's true only with -std. */
4210 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4212 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4213 inside strings and character constants. */
4215 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4217 int test (int i, double x);
4218 struct s1 {int (*f) (int a);};
4219 struct s2 {int (*f) (double a);};
4220 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4226 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4231 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4232 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4234 CC="$ac_save_CC $ac_arg"
4235 if ac_fn_c_try_compile "$LINENO"; then :
4236 ac_cv_prog_cc_c89=$ac_arg
4238 rm -f core conftest.err conftest.$ac_objext
4239 test "x$ac_cv_prog_cc_c89" != "xno" && break
4241 rm -f conftest.$ac_ext
4246 case "x$ac_cv_prog_cc_c89" in
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4249 $as_echo "none needed" >&6; } ;;
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4252 $as_echo "unsupported" >&6; } ;;
4254 CC="$CC $ac_cv_prog_cc_c89"
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4256 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4258 if test "x$ac_cv_prog_cc_c89" != xno; then :
4263 ac_cpp='$CPP $CPPFLAGS'
4264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4267 DEPDIR="${am__leading_dot}deps"
4269 ac_config_commands="$ac_config_commands depfiles"
4272 am_make=${MAKE-make}
4273 cat > confinc << 'END'
4275 @echo this is the am__doit target
4278 # If we don't find an include directive, just comment out the code.
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4280 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4284 # First try GNU make style include.
4285 echo "include confinc" > confmf
4286 # Ignore all kinds of additional output from `make'.
4287 case `$am_make -s -f confmf 2> /dev/null` in #(
4288 *the\ am__doit\ target*)
4294 # Now try BSD make style include.
4295 if test "$am__include" = "#"; then
4296 echo '.include
"confinc"' > confmf
4297 case `$am_make -s -f confmf 2> /dev/null` in #(
4298 *the\ am__doit\ target*)
4299 am__include=.include
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4308 $as_echo "$_am_result" >&6; }
4309 rm -f confinc confmf
4311 # Check whether --enable-dependency-tracking was given.
4312 if test "${enable_dependency_tracking+set}" = set; then :
4313 enableval=$enable_dependency_tracking;
4316 if test "x$enable_dependency_tracking" != xno; then
4317 am_depcomp="$ac_aux_dir/depcomp"
4320 if test "x$enable_dependency_tracking" != xno
; then
4330 depcc
="$CC" am_compiler_list
=
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4333 $as_echo_n "checking dependency style of $depcc... " >&6; }
4334 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4335 $as_echo_n "(cached) " >&6
4337 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4338 # We make a subdir and do the tests there. Otherwise we can end up
4339 # making bogus files that we don't know about and never remove. For
4340 # instance it was reported that on HP-UX the gcc test will end up
4341 # making a dummy file named `D' -- because `-MD' means `put the output
4344 # Copy depcomp to subdir because otherwise we won't find it if we're
4345 # using a relative directory.
4346 cp "$am_depcomp" conftest.dir
4348 # We will build objects and dependencies in a subdirectory because
4349 # it helps to detect inapplicable dependency modes. For instance
4350 # both Tru64's cc and ICC support -MD to output dependencies as a
4351 # side effect of compilation, but ICC will put the dependencies in
4352 # the current directory while Tru64 will put them in the object
4356 am_cv_CC_dependencies_compiler_type
=none
4357 if test "$am_compiler_list" = ""; then
4358 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4361 case " $depcc " in #(
4362 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4365 for depmode
in $am_compiler_list; do
4366 # Setup a source with many dependencies, because some compilers
4367 # like to wrap large dependency lists on column 80 (with \), and
4368 # we should not choose a depcomp mode which is confused by this.
4370 # We need to recreate these files for each test, as the compiler may
4371 # overwrite some of them when testing with obscure command lines.
4372 # This happens at least with the AIX C compiler.
4374 for i
in 1 2 3 4 5 6; do
4375 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4376 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4377 # Solaris 8's {/usr,}/bin/sh.
4378 touch sub
/conftst
$i.h
4380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4382 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4383 # mode. It turns out that the SunPro C++ compiler does not properly
4384 # handle `-M -o', and we need to detect this. Also, some Intel
4385 # versions had trouble with output in subdirs
4386 am__obj
=sub
/conftest.
${OBJEXT-o}
4387 am__minus_obj
="-o $am__obj"
4390 # This depmode causes a compiler race in universal mode.
4391 test "$am__universal" = false ||
continue
4394 # after this tag, mechanisms are not by side-effect, so they'll
4395 # only be used when explicitly requested
4396 if test "x$enable_dependency_tracking" = xyes
; then
4402 msvisualcpp | msvcmsys
)
4403 # This compiler won't grok `-c -o', but also, the minuso test has
4404 # not run yet. These depmodes are late enough in the game, and
4405 # so weak that their functioning should not be impacted.
4406 am__obj
=conftest.
${OBJEXT-o}
4411 if depmode
=$depmode \
4412 source=sub
/conftest.c object
=$am__obj \
4413 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4414 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4415 >/dev
/null
2>conftest.err
&&
4416 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4417 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4418 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4419 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4420 # icc doesn't choke on unknown options, it will just issue warnings
4421 # or remarks (even with -Werror). So we grep stderr for any message
4422 # that says an option was ignored or not supported.
4423 # When given -MP, icc 7.0 and 7.1 complain thusly:
4424 # icc: Command line warning: ignoring option '-M'; no argument required
4425 # The diagnosis changed in icc 8.0:
4426 # icc: Command line remark: option '-MP' not supported
4427 if (grep 'ignoring option' conftest.err ||
4428 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4429 am_cv_CC_dependencies_compiler_type
=$depmode
4438 am_cv_CC_dependencies_compiler_type
=none
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4443 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4444 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4447 test "x$enable_dependency_tracking" != xno \
4448 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4450 am__fastdepCC_FALSE
='#'
4452 am__fastdepCC_TRUE
='#'
4453 am__fastdepCC_FALSE
=
4458 ac_cpp
='$CXXCPP $CPPFLAGS'
4459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4462 if test -z "$CXX"; then
4463 if test -n "$CCC"; then
4466 if test -n "$ac_tool_prefix"; then
4467 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4469 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4470 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if test "${ac_cv_prog_CXX+set}" = set; then :
4474 $as_echo_n "(cached) " >&6
4476 if test -n "$CXX"; then
4477 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir
=.
4484 for ac_exec_ext
in '' $ac_executable_extensions; do
4485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4486 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 if test -n "$CXX"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4499 $as_echo "$CXX" >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4506 test -n "$CXX" && break
4509 if test -z "$CXX"; then
4511 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4513 # Extract the first word of "$ac_prog", so it can be a program name with args.
4514 set dummy
$ac_prog; ac_word
=$2
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4516 $as_echo_n "checking for $ac_word... " >&6; }
4517 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4518 $as_echo_n "(cached) " >&6
4520 if test -n "$ac_ct_CXX"; then
4521 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir
=.
4528 for ac_exec_ext
in '' $ac_executable_extensions; do
4529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4530 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4541 if test -n "$ac_ct_CXX"; then
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4543 $as_echo "$ac_ct_CXX" >&6; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 $as_echo "no" >&6; }
4550 test -n "$ac_ct_CXX" && break
4553 if test "x$ac_ct_CXX" = x
; then
4556 case $cross_compiling:$ac_tool_warned in
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4560 ac_tool_warned
=yes ;;
4568 # Provide some information about the compiler.
4569 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4572 for ac_option
in --version -v -V -qversion; do
4573 { { ac_try
="$ac_compiler $ac_option >&5"
4575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4579 $as_echo "$ac_try_echo"; } >&5
4580 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4582 if test -s conftest.err; then
4584 ... rest of stderr output deleted ...
4585 10q' conftest.err >conftest.er1
4586 cat conftest.er1 >&5
4587 rm -f conftest.er1 conftest.err
4589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4590 test $ac_status = 0; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4594 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4595 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4612 if ac_fn_cxx_try_compile "$LINENO"; then :
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4622 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4623 if test $ac_compiler_gnu = yes; then
4628 ac_test_CXXFLAGS=${CXXFLAGS+set}
4629 ac_save_CXXFLAGS=$CXXFLAGS
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4631 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4632 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4633 $as_echo_n "(cached) " >&6
4635 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4636 ac_cxx_werror_flag=yes
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4650 if ac_fn_cxx_try_compile "$LINENO"; then :
4651 ac_cv_prog_cxx_g=yes
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4665 if ac_fn_cxx_try_compile "$LINENO"; then :
4668 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4681 if ac_fn_cxx_try_compile "$LINENO"; then :
4682 ac_cv_prog_cxx_g=yes
4684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4692 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4693 if test "$ac_test_CXXFLAGS" = set; then
4694 CXXFLAGS=$ac_save_CXXFLAGS
4695 elif test $ac_cv_prog_cxx_g = yes; then
4696 if test "$GXX" = yes; then
4702 if test "$GXX" = yes; then
4709 ac_cpp='$CPP $CPPFLAGS'
4710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4714 depcc="$CXX" am_compiler_list=
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4717 $as_echo_n "checking dependency style of $depcc... " >&6; }
4718 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4719 $as_echo_n "(cached) " >&6
4721 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4722 # We make a subdir and do the tests there. Otherwise we can end up
4723 # making bogus files that we don't know about and never remove. For
4724 # instance it was reported that on HP-UX the gcc test will end up
4725 # making a dummy file named `D
' -- because `-MD' means
`put the output
4728 # Copy depcomp to subdir because otherwise we won't find it if we're
4729 # using a relative directory.
4730 cp "$am_depcomp" conftest.dir
4732 # We will build objects and dependencies in a subdirectory because
4733 # it helps to detect inapplicable dependency modes. For instance
4734 # both Tru64's cc and ICC support -MD to output dependencies as a
4735 # side effect of compilation, but ICC will put the dependencies in
4736 # the current directory while Tru64 will put them in the object
4740 am_cv_CXX_dependencies_compiler_type=none
4741 if test "$am_compiler_list" = ""; then
4742 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4745 case " $depcc " in #(
4746 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4749 for depmode in $am_compiler_list; do
4750 # Setup a source with many dependencies, because some compilers
4751 # like to wrap large dependency lists on column 80 (with \), and
4752 # we should not choose a depcomp mode which is confused by this.
4754 # We need to recreate these files for each test, as the compiler may
4755 # overwrite some of them when testing with obscure command lines.
4756 # This happens at least with the AIX C compiler.
4758 for i in 1 2 3 4 5 6; do
4759 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4760 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4761 # Solaris 8's
{/usr
,}/bin
/sh.
4762 touch sub
/conftst
$i.h
4764 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4766 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4767 # mode. It turns out that the SunPro C++ compiler does not properly
4768 # handle `-M -o', and we need to detect this. Also, some Intel
4769 # versions had trouble with output in subdirs
4770 am__obj
=sub
/conftest.
${OBJEXT-o}
4771 am__minus_obj
="-o $am__obj"
4774 # This depmode causes a compiler race in universal mode.
4775 test "$am__universal" = false ||
continue
4778 # after this tag, mechanisms are not by side-effect, so they'll
4779 # only be used when explicitly requested
4780 if test "x$enable_dependency_tracking" = xyes
; then
4786 msvisualcpp | msvcmsys
)
4787 # This compiler won't grok `-c -o', but also, the minuso test has
4788 # not run yet. These depmodes are late enough in the game, and
4789 # so weak that their functioning should not be impacted.
4790 am__obj
=conftest.
${OBJEXT-o}
4795 if depmode
=$depmode \
4796 source=sub
/conftest.c object
=$am__obj \
4797 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4798 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4799 >/dev
/null
2>conftest.err
&&
4800 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4801 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4802 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4803 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4804 # icc doesn't choke on unknown options, it will just issue warnings
4805 # or remarks (even with -Werror). So we grep stderr for any message
4806 # that says an option was ignored or not supported.
4807 # When given -MP, icc 7.0 and 7.1 complain thusly:
4808 # icc: Command line warning: ignoring option '-M'; no argument required
4809 # The diagnosis changed in icc 8.0:
4810 # icc: Command line remark: option '-MP' not supported
4811 if (grep 'ignoring option' conftest.err ||
4812 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4813 am_cv_CXX_dependencies_compiler_type
=$depmode
4822 am_cv_CXX_dependencies_compiler_type
=none
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4827 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4828 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4831 test "x$enable_dependency_tracking" != xno \
4832 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4833 am__fastdepCXX_TRUE
=
4834 am__fastdepCXX_FALSE
='#'
4836 am__fastdepCXX_TRUE
='#'
4837 am__fastdepCXX_FALSE
=
4841 for ac_prog
in 'bison -y' byacc
4843 # Extract the first word of "$ac_prog", so it can be a program name with args.
4844 set dummy
$ac_prog; ac_word
=$2
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4846 $as_echo_n "checking for $ac_word... " >&6; }
4847 if test "${ac_cv_prog_YACC+set}" = set; then :
4848 $as_echo_n "(cached) " >&6
4850 if test -n "$YACC"; then
4851 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4857 test -z "$as_dir" && as_dir
=.
4858 for ac_exec_ext
in '' $ac_executable_extensions; do
4859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4860 ac_cv_prog_YACC
="$ac_prog"
4861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870 YACC
=$ac_cv_prog_YACC
4871 if test -n "$YACC"; then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4873 $as_echo "$YACC" >&6; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 $as_echo "no" >&6; }
4880 test -n "$YACC" && break
4882 test -n "$YACC" || YACC
="yacc"
4884 if test -n "$ac_tool_prefix"; then
4885 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4886 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888 $as_echo_n "checking for $ac_word... " >&6; }
4889 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4890 $as_echo_n "(cached) " >&6
4892 if test -n "$RANLIB"; then
4893 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4899 test -z "$as_dir" && as_dir
=.
4900 for ac_exec_ext
in '' $ac_executable_extensions; do
4901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4902 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 RANLIB
=$ac_cv_prog_RANLIB
4913 if test -n "$RANLIB"; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4915 $as_echo "$RANLIB" >&6; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4923 if test -z "$ac_cv_prog_RANLIB"; then
4924 ac_ct_RANLIB
=$RANLIB
4925 # Extract the first word of "ranlib", so it can be a program name with args.
4926 set dummy ranlib
; ac_word
=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4930 $as_echo_n "(cached) " >&6
4932 if test -n "$ac_ct_RANLIB"; then
4933 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir
=.
4940 for ac_exec_ext
in '' $ac_executable_extensions; do
4941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4942 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4953 if test -n "$ac_ct_RANLIB"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4955 $as_echo "$ac_ct_RANLIB" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4961 if test "x$ac_ct_RANLIB" = x
; then
4964 case $cross_compiling:$ac_tool_warned in
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4968 ac_tool_warned
=yes ;;
4970 RANLIB
=$ac_ct_RANLIB
4973 RANLIB
="$ac_cv_prog_RANLIB"
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4978 $as_echo_n "checking whether ln -s works... " >&6; }
4980 if test "$LN_S" = "ln -s"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4982 $as_echo "yes" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4985 $as_echo "no, using $LN_S" >&6; }
4991 ac_cpp
='$CPP $CPPFLAGS'
4992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4996 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4997 # On Suns, sometimes $CPP names a directory.
4998 if test -n "$CPP" && test -d "$CPP"; then
5001 if test -z "$CPP"; then
5002 if test "${ac_cv_prog_CPP+set}" = set; then :
5003 $as_echo_n "(cached) " >&6
5005 # Double quotes because CPP needs to be expanded
5006 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5009 for ac_c_preproc_warn_flag
in '' yes
5011 # Use a header file that comes with gcc, so configuring glibc
5012 # with a fresh cross-compiler works.
5013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5014 # <limits.h> exists even on freestanding compilers.
5015 # On the NeXT, cc -E runs the code through the compiler's parser,
5016 # not just through cpp. "Syntax error" is here to catch this case.
5017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5020 # include <limits.h>
5022 # include <assert.h>
5026 if ac_fn_c_try_cpp
"$LINENO"; then :
5029 # Broken: fails on valid input.
5032 rm -f conftest.err conftest.
$ac_ext
5034 # OK, works on sane cases. Now check whether nonexistent headers
5035 # can be detected and how.
5036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5038 #include <ac_nonexistent.h>
5040 if ac_fn_c_try_cpp
"$LINENO"; then :
5041 # Broken: success on invalid input.
5044 # Passes both tests.
5048 rm -f conftest.err conftest.
$ac_ext
5051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5052 rm -f conftest.err conftest.
$ac_ext
5053 if $ac_preproc_ok; then :
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5066 $as_echo "$CPP" >&6; }
5068 for ac_c_preproc_warn_flag
in '' yes
5070 # Use a header file that comes with gcc, so configuring glibc
5071 # with a fresh cross-compiler works.
5072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5073 # <limits.h> exists even on freestanding compilers.
5074 # On the NeXT, cc -E runs the code through the compiler's parser,
5075 # not just through cpp. "Syntax error" is here to catch this case.
5076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5077 /* end confdefs.h. */
5079 # include <limits.h>
5081 # include <assert.h>
5085 if ac_fn_c_try_cpp
"$LINENO"; then :
5088 # Broken: fails on valid input.
5091 rm -f conftest.err conftest.
$ac_ext
5093 # OK, works on sane cases. Now check whether nonexistent headers
5094 # can be detected and how.
5095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5096 /* end confdefs.h. */
5097 #include <ac_nonexistent.h>
5099 if ac_fn_c_try_cpp
"$LINENO"; then :
5100 # Broken: success on invalid input.
5103 # Passes both tests.
5107 rm -f conftest.err conftest.
$ac_ext
5110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5111 rm -f conftest.err conftest.
$ac_ext
5112 if $ac_preproc_ok; then :
5115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5117 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5118 See \`config.log' for more details." "$LINENO" 5; }
5122 ac_cpp
='$CPP $CPPFLAGS'
5123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5129 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5130 if test "${ac_cv_path_GREP+set}" = set; then :
5131 $as_echo_n "(cached) " >&6
5133 if test -z "$GREP"; then
5134 ac_path_GREP_found
=false
5135 # Loop through the user's path and test for each of PROGNAME-LIST
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5137 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_prog
in grep ggrep
; do
5142 for ac_exec_ext
in '' $ac_executable_extensions; do
5143 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5144 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5145 # Check for GNU ac_path_GREP and select it if it is found.
5146 # Check for GNU $ac_path_GREP
5147 case `"$ac_path_GREP" --version 2>&1` in
5149 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5152 $as_echo_n 0123456789 >"conftest.in"
5155 cat "conftest.in" "conftest.in" >"conftest.tmp"
5156 mv "conftest.tmp" "conftest.in"
5157 cp "conftest.in" "conftest.nl"
5158 $as_echo 'GREP' >> "conftest.nl"
5159 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5160 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5161 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5162 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5163 # Best one so far, save it but keep looking for a better one
5164 ac_cv_path_GREP
="$ac_path_GREP"
5165 ac_path_GREP_max
=$ac_count
5167 # 10*(2^10) chars as input seems more than enough
5168 test $ac_count -gt 10 && break
5170 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5173 $ac_path_GREP_found && break 3
5178 if test -z "$ac_cv_path_GREP"; then
5179 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5182 ac_cv_path_GREP
=$GREP
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5187 $as_echo "$ac_cv_path_GREP" >&6; }
5188 GREP
="$ac_cv_path_GREP"
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5192 $as_echo_n "checking for egrep... " >&6; }
5193 if test "${ac_cv_path_EGREP+set}" = set; then :
5194 $as_echo_n "(cached) " >&6
5196 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5197 then ac_cv_path_EGREP
="$GREP -E"
5199 if test -z "$EGREP"; then
5200 ac_path_EGREP_found
=false
5201 # Loop through the user's path and test for each of PROGNAME-LIST
5202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5206 test -z "$as_dir" && as_dir
=.
5207 for ac_prog
in egrep; do
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5210 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5211 # Check for GNU ac_path_EGREP and select it if it is found.
5212 # Check for GNU $ac_path_EGREP
5213 case `"$ac_path_EGREP" --version 2>&1` in
5215 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5218 $as_echo_n 0123456789 >"conftest.in"
5221 cat "conftest.in" "conftest.in" >"conftest.tmp"
5222 mv "conftest.tmp" "conftest.in"
5223 cp "conftest.in" "conftest.nl"
5224 $as_echo 'EGREP' >> "conftest.nl"
5225 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5226 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5227 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5228 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5229 # Best one so far, save it but keep looking for a better one
5230 ac_cv_path_EGREP
="$ac_path_EGREP"
5231 ac_path_EGREP_max
=$ac_count
5233 # 10*(2^10) chars as input seems more than enough
5234 test $ac_count -gt 10 && break
5236 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5239 $ac_path_EGREP_found && break 3
5244 if test -z "$ac_cv_path_EGREP"; then
5245 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5248 ac_cv_path_EGREP
=$EGREP
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5254 $as_echo "$ac_cv_path_EGREP" >&6; }
5255 EGREP
="$ac_cv_path_EGREP"
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5259 $as_echo_n "checking for ANSI C header files... " >&6; }
5260 if test "${ac_cv_header_stdc+set}" = set; then :
5261 $as_echo_n "(cached) " >&6
5263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5278 if ac_fn_c_try_compile
"$LINENO"; then :
5279 ac_cv_header_stdc
=yes
5281 ac_cv_header_stdc
=no
5283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5285 if test $ac_cv_header_stdc = yes; then
5286 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5293 $EGREP "memchr" >/dev
/null
2>&1; then :
5296 ac_cv_header_stdc
=no
5302 if test $ac_cv_header_stdc = yes; then
5303 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5310 $EGREP "free" >/dev
/null
2>&1; then :
5313 ac_cv_header_stdc
=no
5319 if test $ac_cv_header_stdc = yes; then
5320 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5321 if test "$cross_compiling" = yes; then :
5324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5328 #if ((' ' & 0x0FF) == 0x020)
5329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5332 # define ISLOWER(c) \
5333 (('a' <= (c) && (c) <= 'i') \
5334 || ('j' <= (c) && (c) <= 'r') \
5335 || ('s' <= (c) && (c) <= 'z'))
5336 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5339 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5344 for (i = 0; i < 256; i++)
5345 if (XOR (islower (i), ISLOWER (i))
5346 || toupper (i) != TOUPPER (i))
5351 if ac_fn_c_try_run
"$LINENO"; then :
5354 ac_cv_header_stdc
=no
5356 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5357 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5363 $as_echo "$ac_cv_header_stdc" >&6; }
5364 if test $ac_cv_header_stdc = yes; then
5366 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5370 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5371 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5372 inttypes.h stdint.h unistd.h
5374 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5375 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5377 eval as_val
=\$
$as_ac_Header
5378 if test "x$as_val" = x
""yes; then :
5379 cat >>confdefs.h
<<_ACEOF
5380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5389 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5390 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5397 if test "$MINIX" = yes; then
5399 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5402 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5405 $as_echo "#define _MINIX 1" >>confdefs.h
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5411 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5412 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5413 $as_echo_n "(cached) " >&6
5415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5418 # define __EXTENSIONS__ 1
5419 $ac_includes_default
5428 if ac_fn_c_try_compile
"$LINENO"; then :
5429 ac_cv_safe_to_define___extensions__
=yes
5431 ac_cv_safe_to_define___extensions__
=no
5433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5436 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5437 test $ac_cv_safe_to_define___extensions__ = yes &&
5438 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5440 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5442 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5444 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5446 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5451 # If we haven't got the data from the intl directory,
5452 # assume NLS is disabled.
5461 if test -f ..
/intl
/config.intl
; then
5462 . ..
/intl
/config.intl
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5465 $as_echo_n "checking whether NLS is requested... " >&6; }
5466 if test x
"$USE_NLS" != xyes
; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5471 $as_echo "yes" >&6; }
5473 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5477 $as_echo_n "checking for catalogs to be installed... " >&6; }
5478 # Look for .po and .gmo files in the source directory.
5481 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5482 # If there aren't any .gmo files the shell will give us the
5483 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5485 case "$cat" in *\
**)
5488 # The quadruple backslash is collapsed to a double backslash
5489 # by the backticks, then collapsed again by the double quotes,
5490 # leaving us with one backslash in the sed expression (right
5491 # before the dot that mustn't act as a wildcard).
5492 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5493 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5494 # The user is allowed to set LINGUAS to a list of languages to
5495 # install catalogs for. If it's empty that means "all of them."
5496 if test "x$LINGUAS" = x
; then
5497 CATALOGS
="$CATALOGS $cat"
5498 XLINGUAS
="$XLINGUAS $lang"
5500 case "$LINGUAS" in *$lang*)
5501 CATALOGS
="$CATALOGS $cat"
5502 XLINGUAS
="$XLINGUAS $lang"
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5509 $as_echo "$LINGUAS" >&6; }
5523 if test -n "$ac_aux_dir"; then
5524 case "$ac_aux_dir" in
5525 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5526 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5529 if test -z "$MKINSTALLDIRS"; then
5530 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5536 $as_echo_n "checking whether NLS is requested... " >&6; }
5537 # Check whether --enable-nls was given.
5538 if test "${enable_nls+set}" = set; then :
5539 enableval
=$enable_nls; USE_NLS
=$enableval
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5545 $as_echo "$USE_NLS" >&6; }
5552 # Prepare PATH_SEPARATOR.
5553 # The user is always right.
5554 if test "${PATH_SEPARATOR+set}" != set; then
5555 echo "#! /bin/sh" >conf$$.sh
5556 echo "exit 0" >>conf$$.sh
5558 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5566 # Find out how to test for executable files. Don't use a zero-byte file,
5567 # as systems may use methods other than mode bits to determine executability.
5568 cat >conf$$.
file <<_ASEOF
5572 chmod +x conf$$.
file
5573 if test -x conf$$.
file >/dev
/null
2>&1; then
5574 ac_executable_p
="test -x"
5576 ac_executable_p
="test -f"
5580 # Extract the first word of "msgfmt", so it can be a program name with args.
5581 set dummy msgfmt
; ac_word
=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5585 $as_echo_n "(cached) " >&6
5589 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5592 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5593 for ac_dir
in $PATH; do
5595 test -z "$ac_dir" && ac_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5598 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5599 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5600 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5607 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5611 MSGFMT
="$ac_cv_path_MSGFMT"
5612 if test "$MSGFMT" != ":"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5614 $as_echo "$MSGFMT" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5620 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5621 set dummy gmsgfmt
; ac_word
=$2
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5623 $as_echo_n "checking for $ac_word... " >&6; }
5624 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5625 $as_echo_n "(cached) " >&6
5629 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5651 GMSGFMT
=$ac_cv_path_GMSGFMT
5652 if test -n "$GMSGFMT"; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5654 $as_echo "$GMSGFMT" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5657 $as_echo "no" >&6; }
5663 # Prepare PATH_SEPARATOR.
5664 # The user is always right.
5665 if test "${PATH_SEPARATOR+set}" != set; then
5666 echo "#! /bin/sh" >conf$$.sh
5667 echo "exit 0" >>conf$$.sh
5669 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5677 # Find out how to test for executable files. Don't use a zero-byte file,
5678 # as systems may use methods other than mode bits to determine executability.
5679 cat >conf$$.
file <<_ASEOF
5683 chmod +x conf$$.
file
5684 if test -x conf$$.
file >/dev
/null
2>&1; then
5685 ac_executable_p
="test -x"
5687 ac_executable_p
="test -f"
5691 # Extract the first word of "xgettext", so it can be a program name with args.
5692 set dummy xgettext
; ac_word
=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5696 $as_echo_n "(cached) " >&6
5700 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5703 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5704 for ac_dir
in $PATH; do
5706 test -z "$ac_dir" && ac_dir
=.
5707 for ac_exec_ext
in '' $ac_executable_extensions; do
5708 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5709 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5710 (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
5711 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5718 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5722 XGETTEXT
="$ac_cv_path_XGETTEXT"
5723 if test "$XGETTEXT" != ":"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5725 $as_echo "$XGETTEXT" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5734 # Prepare PATH_SEPARATOR.
5735 # The user is always right.
5736 if test "${PATH_SEPARATOR+set}" != set; then
5737 echo "#! /bin/sh" >conf$$.sh
5738 echo "exit 0" >>conf$$.sh
5740 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5748 # Find out how to test for executable files. Don't use a zero-byte file,
5749 # as systems may use methods other than mode bits to determine executability.
5750 cat >conf$$.
file <<_ASEOF
5754 chmod +x conf$$.
file
5755 if test -x conf$$.
file >/dev
/null
2>&1; then
5756 ac_executable_p
="test -x"
5758 ac_executable_p
="test -f"
5762 # Extract the first word of "msgmerge", so it can be a program name with args.
5763 set dummy msgmerge
; ac_word
=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5767 $as_echo_n "(cached) " >&6
5771 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5774 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5775 for ac_dir
in $PATH; do
5777 test -z "$ac_dir" && ac_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5780 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5781 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5788 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5792 MSGMERGE
="$ac_cv_path_MSGMERGE"
5793 if test "$MSGMERGE" != ":"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5795 $as_echo "$MSGMERGE" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5802 if test "$GMSGFMT" != ":"; then
5803 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5804 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5807 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5809 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5814 if test "$XGETTEXT" != ":"; then
5815 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5816 (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
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5820 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5826 ac_config_commands
="$ac_config_commands default-1"
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5831 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5832 if test "${ac_cv_c_bigendian+set}" = set; then :
5833 $as_echo_n "(cached) " >&6
5835 ac_cv_c_bigendian
=unknown
5836 # See if we're dealing with a universal compiler.
5837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5839 #ifndef __APPLE_CC__
5840 not a universal capable compiler
5845 if ac_fn_c_try_compile
"$LINENO"; then :
5847 # Check for potential -arch flags. It is not universal unless
5848 # there are at least two -arch flags with different values.
5851 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5852 if test -n "$ac_prev"; then
5854 i?
86 | x86_64 | ppc | ppc64
)
5855 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5858 ac_cv_c_bigendian
=universal
5864 elif test "x$ac_word" = "x-arch"; then
5869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5870 if test $ac_cv_c_bigendian = unknown
; then
5871 # See if sys/param.h defines the BYTE_ORDER macro.
5872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5874 #include <sys/types.h>
5875 #include <sys/param.h>
5880 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5881 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5890 if ac_fn_c_try_compile
"$LINENO"; then :
5891 # It does; now see whether it defined to BIG_ENDIAN or not.
5892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5893 /* end confdefs.h. */
5894 #include <sys/types.h>
5895 #include <sys/param.h>
5900 #if BYTE_ORDER != BIG_ENDIAN
5908 if ac_fn_c_try_compile
"$LINENO"; then :
5909 ac_cv_c_bigendian
=yes
5911 ac_cv_c_bigendian
=no
5913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5917 if test $ac_cv_c_bigendian = unknown
; then
5918 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5926 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5934 if ac_fn_c_try_compile
"$LINENO"; then :
5935 # It does; now see whether it defined to _BIG_ENDIAN or not.
5936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5937 /* end confdefs.h. */
5951 if ac_fn_c_try_compile
"$LINENO"; then :
5952 ac_cv_c_bigendian
=yes
5954 ac_cv_c_bigendian
=no
5956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5960 if test $ac_cv_c_bigendian = unknown
; then
5961 # Compile a test program.
5962 if test "$cross_compiling" = yes; then :
5963 # Try to guess by grepping values from an object file.
5964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5965 /* end confdefs.h. */
5966 short int ascii_mm[] =
5967 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5968 short int ascii_ii[] =
5969 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5970 int use_ascii (int i) {
5971 return ascii_mm[i] + ascii_ii[i];
5973 short int ebcdic_ii[] =
5974 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5975 short int ebcdic_mm[] =
5976 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5977 int use_ebcdic (int i) {
5978 return ebcdic_mm[i] + ebcdic_ii[i];
5985 return use_ascii (foo) == use_ebcdic (foo);
5990 if ac_fn_c_try_compile
"$LINENO"; then :
5991 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5992 ac_cv_c_bigendian
=yes
5994 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5995 if test "$ac_cv_c_bigendian" = unknown
; then
5996 ac_cv_c_bigendian
=no
5998 # finding both strings is unlikely to happen, but who knows?
5999 ac_cv_c_bigendian
=unknown
6003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6007 $ac_includes_default
6012 /* Are we little or big endian? From Harbison&Steele. */
6016 char c[sizeof (long int)];
6019 return u.c[sizeof (long int) - 1] == 1;
6025 if ac_fn_c_try_run
"$LINENO"; then :
6026 ac_cv_c_bigendian
=no
6028 ac_cv_c_bigendian
=yes
6030 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6031 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6037 $as_echo "$ac_cv_c_bigendian" >&6; }
6038 case $ac_cv_c_bigendian in #(
6040 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6046 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6050 as_fn_error
"unknown endianness
6051 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6057 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6059 NATIVE_LINKER_FALSE
='#'
6061 NATIVE_LINKER_TRUE
='#'
6062 NATIVE_LINKER_FALSE
=
6065 if test "$GCC" = yes; then
6081 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
6082 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
6084 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
6085 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6090 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6091 if test "${gold_cv_prog_gcc41+set}" = set; then :
6092 $as_echo_n "(cached) " >&6
6094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6095 /* end confdefs.h. */
6097 #if !defined __GNUC__
6099 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6104 if ac_fn_c_try_compile
"$LINENO"; then :
6105 gold_cv_prog_gcc41
=yes
6107 gold_cv_prog_gcc41
=no
6109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6112 $as_echo "$gold_cv_prog_gcc41" >&6; }
6114 if test "$target_cpu" = "x86_64" -a "$gold_cv_prog_gcc41" = "yes"; then
6115 MCMODEL_MEDIUM_TRUE
=
6116 MCMODEL_MEDIUM_FALSE
='#'
6118 MCMODEL_MEDIUM_TRUE
='#'
6119 MCMODEL_MEDIUM_FALSE
=
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6124 $as_echo_n "checking for thread support... " >&6; }
6125 if test "${gold_cv_c_thread+set}" = set; then :
6126 $as_echo_n "(cached) " >&6
6128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6132 if ac_fn_c_try_compile
"$LINENO"; then :
6133 gold_cv_c_thread
=yes
6137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6140 $as_echo "$gold_cv_c_thread" >&6; }
6142 if test "$gold_cv_c_thread" = "yes"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6152 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6153 if test "${gold_cv_lib_glibc24+set}" = set; then :
6154 $as_echo_n "(cached) " >&6
6156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6159 #include <features.h>
6160 #if !defined __GLIBC__
6162 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6167 if ac_fn_c_try_compile
"$LINENO"; then :
6168 gold_cv_lib_glibc24
=yes
6170 gold_cv_lib_glibc24
=no
6172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6175 $as_echo "$gold_cv_lib_glibc24" >&6; }
6177 if test "$gold_cv_lib_glibc24" = "yes"; then
6179 STATIC_TLS_FALSE
='#'
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6187 $as_echo_n "checking for omp support... " >&6; }
6188 if test "${gold_cv_c_threadprivate+set}" = set; then :
6189 $as_echo_n "(cached) " >&6
6191 save_CFLAGS
="$CFLAGS"
6192 CFLAGS
="$CFLAGS -fopenmp"
6193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6198 #pragma omp threadprivate (i)
6201 if ac_fn_c_try_compile
"$LINENO"; then :
6202 gold_cv_c_threadprivate
=yes
6204 gold_cv_c_threadprivate
=no
6206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6207 CFLAGS
="$save_CFLAGS"
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6210 $as_echo "$gold_cv_c_threadprivate" >&6; }
6211 if test "$gold_cv_c_threadprivate" = "yes"; then
6213 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6216 if test "$gold_cv_c_threadprivate" = "yes"; then
6218 OMP_SUPPORT_FALSE
='#'
6220 OMP_SUPPORT_TRUE
='#'
6225 save_CFLAGS
="$CFLAGS"
6226 CFLAGS
="$CFLAGS -mtls-dialect=gnu2"
6227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6231 if ac_fn_c_try_compile
"$LINENO"; then :
6236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6237 CFLAGS
="$save_CFLAGS"
6238 if test "$have_tls_gnu2" = "yes"; then
6239 TLS_GNU2_DIALECT_TRUE
=
6240 TLS_GNU2_DIALECT_FALSE
='#'
6242 TLS_GNU2_DIALECT_TRUE
='#'
6243 TLS_GNU2_DIALECT_FALSE
=
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6248 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6249 if test "${gold_cv_lib_glibc29+set}" = set; then :
6250 $as_echo_n "(cached) " >&6
6252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6255 #include <features.h>
6256 #if !defined __GLIBC__
6258 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6263 if ac_fn_c_try_compile
"$LINENO"; then :
6264 gold_cv_lib_glibc29
=yes
6266 gold_cv_lib_glibc29
=no
6268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6271 $as_echo "$gold_cv_lib_glibc29" >&6; }
6273 if test "$gold_cv_lib_glibc29" = "yes"; then
6274 TLS_DESCRIPTORS_TRUE
=
6275 TLS_DESCRIPTORS_FALSE
='#'
6277 TLS_DESCRIPTORS_TRUE
='#'
6278 TLS_DESCRIPTORS_FALSE
=
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for constructor priorities" >&5
6283 $as_echo_n "checking for constructor priorities... " >&6; }
6284 if test "${gold_cv_c_conprio+set}" = set; then :
6285 $as_echo_n "(cached) " >&6
6287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6289 void f() __attribute__ ((constructor (1)));
6291 if ac_fn_c_try_compile
"$LINENO"; then :
6292 gold_cv_c_conprio
=yes
6294 gold_cv_c_conprio
=no
6296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_conprio" >&5
6299 $as_echo "$gold_cv_c_conprio" >&6; }
6301 if test "$gold_cv_c_conprio" = "yes"; then
6302 CONSTRUCTOR_PRIORITY_TRUE
=
6303 CONSTRUCTOR_PRIORITY_FALSE
='#'
6305 CONSTRUCTOR_PRIORITY_TRUE
='#'
6306 CONSTRUCTOR_PRIORITY_FALSE
=
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6311 $as_echo_n "checking for -frandom-seed support... " >&6; }
6312 if test "${gold_cv_c_random_seed+set}" = set; then :
6313 $as_echo_n "(cached) " >&6
6315 save_CFLAGS
="$CFLAGS"
6316 CFLAGS
="$CFLAGS -frandom-seed=foo"
6317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6321 if ac_fn_c_try_compile
"$LINENO"; then :
6322 gold_cv_c_random_seed
=yes
6324 gold_cv_c_random_seed
=no
6326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6327 CFLAGS
="$save_CFLAGS"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6330 $as_echo "$gold_cv_c_random_seed" >&6; }
6331 if test "$gold_cv_c_random_seed" = "yes"; then
6332 # In Makefile, '$@' will be expanded to be the name of the file
6333 # being built, providing a unique seed for each file.
6334 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
6339 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6345 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6348 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
6353 # Check whether --enable-werror was given.
6354 if test "${enable_werror+set}" = set; then :
6355 enableval
=$enable_werror; case "${enableval}" in
6356 yes | y
) ERROR_ON_WARNING
="yes" ;;
6357 no | n
) ERROR_ON_WARNING
="no" ;;
6358 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6363 # Disable -Wformat by default when using gcc on mingw
6366 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6367 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
6373 # Enable -Werror by default when using gcc
6374 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6375 ERROR_ON_WARNING
=yes
6379 if test "${ERROR_ON_WARNING}" = yes ; then
6380 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
6381 NO_WERROR
="-Wno-error"
6384 if test "${GCC}" = yes ; then
6385 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6388 # Check whether --enable-build-warnings was given.
6389 if test "${enable_build_warnings+set}" = set; then :
6390 enableval
=$enable_build_warnings; case "${enableval}" in
6391 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
6392 no
) if test "${GCC}" = yes ; then
6395 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6396 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
6397 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6398 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
6399 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6404 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
6405 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6412 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6415 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6418 for ac_func
in chsize
6420 ac_fn_c_check_func
"$LINENO" "chsize" "ac_cv_func_chsize"
6421 if test "x$ac_cv_func_chsize" = x
""yes; then :
6422 cat >>confdefs.h
<<_ACEOF
6423 #define HAVE_CHSIZE 1
6429 for ac_func
in pread ftruncate mremap ffsll
6431 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6432 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6433 eval as_val
=\$
$as_ac_var
6434 if test "x$as_val" = x
""yes; then :
6435 cat >>confdefs.h
<<_ACEOF
6436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6440 case " $LIBOBJS " in
6441 *" $ac_func.$ac_objext "* ) ;;
6442 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6451 # Link in zlib if we can. This allows us to write compressed sections.
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6453 $as_echo_n "checking for library containing zlibVersion... " >&6; }
6454 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6455 $as_echo_n "(cached) " >&6
6457 ac_func_search_save_LIBS
=$LIBS
6458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6461 /* Override any GCC internal prototype to avoid an error.
6462 Use char because int might match the return type of a GCC
6463 builtin and then its argument prototype would still apply. */
6467 char zlibVersion ();
6471 return zlibVersion ();
6476 for ac_lib
in '' z
; do
6477 if test -z "$ac_lib"; then
6478 ac_res
="none required"
6481 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6483 if ac_fn_c_try_link
"$LINENO"; then :
6484 ac_cv_search_zlibVersion
=$ac_res
6486 rm -f core conftest.err conftest.
$ac_objext \
6488 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6492 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6495 ac_cv_search_zlibVersion
=no
6498 LIBS
=$ac_func_search_save_LIBS
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6501 $as_echo "$ac_cv_search_zlibVersion" >&6; }
6502 ac_res
=$ac_cv_search_zlibVersion
6503 if test "$ac_res" != no
; then :
6504 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6505 for ac_header
in zlib.h
6507 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6508 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
6509 cat >>confdefs.h
<<_ACEOF
6510 #define HAVE_ZLIB_H 1
6519 if test "$ac_cv_search_zlibVersion" != "no"; then
6528 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6529 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6535 cat >>confdefs.h
<<_ACEOF
6536 #define HAVE_DECL_BASENAME $ac_have_decl
6538 ac_fn_c_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6539 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6545 cat >>confdefs.h
<<_ACEOF
6546 #define HAVE_DECL_FFS $ac_have_decl
6548 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6549 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
6555 cat >>confdefs.h
<<_ACEOF
6556 #define HAVE_DECL_ASPRINTF $ac_have_decl
6558 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6559 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
6565 cat >>confdefs.h
<<_ACEOF
6566 #define HAVE_DECL_VASPRINTF $ac_have_decl
6568 ac_fn_c_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6569 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
6575 cat >>confdefs.h
<<_ACEOF
6576 #define HAVE_DECL_SNPRINTF $ac_have_decl
6578 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6579 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
6585 cat >>confdefs.h
<<_ACEOF
6586 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6588 ac_fn_c_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6589 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
6595 cat >>confdefs.h
<<_ACEOF
6596 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6601 ac_cpp
='$CXXCPP $CPPFLAGS'
6602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6609 ac_cpp
='$CXXCPP $CPPFLAGS'
6610 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6611 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6612 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6614 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6615 if test -z "$CXXCPP"; then
6616 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6619 # Double quotes because CXXCPP needs to be expanded
6620 for CXXCPP
in "$CXX -E" "/lib/cpp"
6623 for ac_cxx_preproc_warn_flag
in '' yes
6625 # Use a header file that comes with gcc, so configuring glibc
6626 # with a fresh cross-compiler works.
6627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6628 # <limits.h> exists even on freestanding compilers.
6629 # On the NeXT, cc -E runs the code through the compiler's parser,
6630 # not just through cpp. "Syntax error" is here to catch this case.
6631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6634 # include <limits.h>
6636 # include <assert.h>
6640 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6643 # Broken: fails on valid input.
6646 rm -f conftest.err conftest.
$ac_ext
6648 # OK, works on sane cases. Now check whether nonexistent headers
6649 # can be detected and how.
6650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6651 /* end confdefs.h. */
6652 #include <ac_nonexistent.h>
6654 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6655 # Broken: success on invalid input.
6658 # Passes both tests.
6662 rm -f conftest.err conftest.
$ac_ext
6665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6666 rm -f conftest.err conftest.
$ac_ext
6667 if $ac_preproc_ok; then :
6672 ac_cv_prog_CXXCPP
=$CXXCPP
6675 CXXCPP
=$ac_cv_prog_CXXCPP
6677 ac_cv_prog_CXXCPP
=$CXXCPP
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6680 $as_echo "$CXXCPP" >&6; }
6682 for ac_cxx_preproc_warn_flag
in '' yes
6684 # Use a header file that comes with gcc, so configuring glibc
6685 # with a fresh cross-compiler works.
6686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6687 # <limits.h> exists even on freestanding compilers.
6688 # On the NeXT, cc -E runs the code through the compiler's parser,
6689 # not just through cpp. "Syntax error" is here to catch this case.
6690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6693 # include <limits.h>
6695 # include <assert.h>
6699 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6702 # Broken: fails on valid input.
6705 rm -f conftest.err conftest.
$ac_ext
6707 # OK, works on sane cases. Now check whether nonexistent headers
6708 # can be detected and how.
6709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6711 #include <ac_nonexistent.h>
6713 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6714 # Broken: success on invalid input.
6717 # Passes both tests.
6721 rm -f conftest.err conftest.
$ac_ext
6724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6725 rm -f conftest.err conftest.
$ac_ext
6726 if $ac_preproc_ok; then :
6729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6731 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
6732 See \`config.log' for more details." "$LINENO" 5; }
6736 ac_cpp
='$CXXCPP $CPPFLAGS'
6737 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6738 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6739 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6742 for ac_header
in tr1/unordered_set
tr1/unordered_map
6744 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6745 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6746 eval as_val
=\$
$as_ac_Header
6747 if test "x$as_val" = x
""yes; then :
6748 cat >>confdefs.h
<<_ACEOF
6749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6756 for ac_header
in ext
/hash_map ext
/hash_set
6758 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6759 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6760 eval as_val
=\$
$as_ac_Header
6761 if test "x$as_val" = x
""yes; then :
6762 cat >>confdefs.h
<<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6770 for ac_header
in byteswap.h
6772 ac_fn_cxx_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
6773 if test "x$ac_cv_header_byteswap_h" = x
""yes; then :
6774 cat >>confdefs.h
<<_ACEOF
6775 #define HAVE_BYTESWAP_H 1
6782 for ac_func
in mallinfo posix_fallocate readv sysconf
times
6784 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6785 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6786 eval as_val
=\$
$as_ac_var
6787 if test "x$as_val" = x
""yes; then :
6788 cat >>confdefs.h
<<_ACEOF
6789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6795 ac_fn_cxx_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6796 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6802 cat >>confdefs.h
<<_ACEOF
6803 #define HAVE_DECL_BASENAME $ac_have_decl
6805 ac_fn_cxx_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6806 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6812 cat >>confdefs.h
<<_ACEOF
6813 #define HAVE_DECL_FFS $ac_have_decl
6815 ac_fn_cxx_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6816 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
6822 cat >>confdefs.h
<<_ACEOF
6823 #define HAVE_DECL_ASPRINTF $ac_have_decl
6825 ac_fn_cxx_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6826 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
6832 cat >>confdefs.h
<<_ACEOF
6833 #define HAVE_DECL_VASPRINTF $ac_have_decl
6835 ac_fn_cxx_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6836 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
6842 cat >>confdefs.h
<<_ACEOF
6843 #define HAVE_DECL_SNPRINTF $ac_have_decl
6845 ac_fn_cxx_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6846 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
6852 cat >>confdefs.h
<<_ACEOF
6853 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6855 ac_fn_cxx_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6856 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
6862 cat >>confdefs.h
<<_ACEOF
6863 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6865 ac_fn_cxx_check_decl
"$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
6866 if test "x$ac_cv_have_decl_strndup" = x
""yes; then :
6872 cat >>confdefs.h
<<_ACEOF
6873 #define HAVE_DECL_STRNDUP $ac_have_decl
6875 ac_fn_cxx_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
6876 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
6882 cat >>confdefs.h
<<_ACEOF
6883 #define HAVE_DECL_MEMMEM $ac_have_decl
6887 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
6888 # at link time with some versions of GCC.
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
6890 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
6891 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
6892 $as_echo_n "(cached) " >&6
6894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6897 #include <tr1/unordered_map>
6898 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
6908 if ac_fn_cxx_try_link
"$LINENO"; then :
6909 gold_cv_unordered_map_rehash
=yes
6911 gold_cv_unordered_map_rehash
=no
6913 rm -f core conftest.err conftest.
$ac_objext \
6914 conftest
$ac_exeext conftest.
$ac_ext
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
6917 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
6918 if test "$gold_cv_unordered_map_rehash" = "yes"; then
6920 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
6924 # gcc 4.3.0 doesn't recognize the printf attribute on a template
6925 # function. Check for that. This is gcc bug 35546. This test can
6926 # probably be removed after the bug has been fixed for a while.
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
6928 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
6929 if test "${gold_cv_template_attribute+set}" = set; then :
6930 $as_echo_n "(cached) " >&6
6932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6933 /* end confdefs.h. */
6935 template<typename T> extern void foo(const char*, ...)
6936 __attribute__ ((__format__ (__printf__, 1, 2)));
6937 template<typename T> void foo(const char* format, ...) {}
6938 void bar() { foo<int>("%s\n", "foo"); }
6941 if ac_fn_cxx_try_compile
"$LINENO"; then :
6942 gold_cv_template_attribute
=yes
6944 gold_cv_template_attribute
=no
6946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
6949 $as_echo "$gold_cv_template_attribute" >&6; }
6950 if test "$gold_cv_template_attribute" = "yes"; then
6952 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
6957 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
6958 if test "${gold_cv_stat_st_mtim+set}" = set; then :
6959 $as_echo_n "(cached) " >&6
6961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6964 #include <sys/stat.h>
6965 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
6975 if ac_fn_cxx_try_compile
"$LINENO"; then :
6976 gold_cv_stat_st_mtim
=yes
6978 gold_cv_stat_st_mtim
=no
6980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
6983 $as_echo "$gold_cv_stat_st_mtim" >&6; }
6984 if test "$gold_cv_stat_st_mtim" = "yes"; then
6986 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
6991 ac_cpp
='$CPP $CPPFLAGS'
6992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
6999 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7000 # Check whether --enable-maintainer-mode was given.
7001 if test "${enable_maintainer_mode+set}" = set; then :
7002 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
7004 USE_MAINTAINER_MODE
=no
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7008 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7009 if test $USE_MAINTAINER_MODE = yes; then
7010 MAINTAINER_MODE_TRUE
=
7011 MAINTAINER_MODE_FALSE
='#'
7013 MAINTAINER_MODE_TRUE
='#'
7014 MAINTAINER_MODE_FALSE
=
7017 MAINT
=$MAINTAINER_MODE_TRUE
7021 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7023 cat >confcache
<<\_ACEOF
7024 # This file is a shell script that caches the results of configure
7025 # tests run on this system so they can be shared between configure
7026 # scripts and configure runs, see configure's option --config-cache.
7027 # It is not useful on other systems. If it contains results you don't
7028 # want to keep, you may remove or edit it.
7030 # config.status only pays attention to the cache file if you give it
7031 # the --recheck option to rerun configure.
7033 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7034 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7039 # The following way of writing the cache mishandles newlines in values,
7040 # but we know of no workaround that is simple, portable, and efficient.
7041 # So, we kill variables containing newlines.
7042 # Ultrix sh set writes to stderr and can't be redirected directly,
7043 # and sets the high bit in the cache file unless we assign to the vars.
7045 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7046 eval ac_val
=\$
$ac_var
7050 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7051 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7054 _ | IFS | as_nl
) ;; #(
7055 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7056 *) { eval $ac_var=; unset $ac_var;} ;;
7062 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7063 *${as_nl}ac_space
=\
*)
7064 # `set' does not quote correctly, so add quotes: double-quote
7065 # substitution turns \\\\ into \\, and sed turns \\ into \.
7068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7071 # `set' quotes correctly as required by POSIX, so do not add quotes.
7072 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7081 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7083 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7085 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7086 if test -w "$cache_file"; then
7087 test "x$cache_file" != "x/dev/null" &&
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7089 $as_echo "$as_me: updating cache $cache_file" >&6;}
7090 cat confcache
>$cache_file
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7093 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7098 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7099 # Let make expand exec_prefix.
7100 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7102 DEFS
=-DHAVE_CONFIG_H
7106 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7107 # 1. Remove the extension, and $U if already installed.
7108 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7109 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7110 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7111 # will be set to the directory where LIBOBJS objects are built.
7112 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7113 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7117 LTLIBOBJS
=$ac_ltlibobjs
7120 if test -n "$EXEEXT"; then
7122 am__EXEEXT_FALSE
='#'
7128 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7129 as_fn_error
"conditional \"THREADS\" was never defined.
7130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7132 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7133 as_fn_error
"conditional \"PLUGINS\" was never defined.
7134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7136 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7137 as_fn_error
"conditional \"DEFAULT_TARGET_ARM\" was never defined.
7138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7140 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7141 as_fn_error
"conditional \"DEFAULT_TARGET_I386\" was never defined.
7142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7144 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7145 as_fn_error
"conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7148 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7149 as_fn_error
"conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7152 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7153 as_fn_error
"conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7156 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7157 as_fn_error
"conditional \"AMDEP\" was never defined.
7158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7160 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7161 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7164 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7165 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
7166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7169 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7170 as_fn_error
"conditional \"NATIVE_LINKER\" was never defined.
7171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7173 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7174 as_fn_error
"conditional \"GCC\" was never defined.
7175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7177 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7178 as_fn_error
"conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7181 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7182 as_fn_error
"conditional \"MCMODEL_MEDIUM\" was never defined.
7183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7185 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7186 as_fn_error
"conditional \"TLS\" was never defined.
7187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7189 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7190 as_fn_error
"conditional \"STATIC_TLS\" was never defined.
7191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7193 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7194 as_fn_error
"conditional \"OMP_SUPPORT\" was never defined.
7195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7197 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7198 as_fn_error
"conditional \"TLS_GNU2_DIALECT\" was never defined.
7199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7201 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7202 as_fn_error
"conditional \"TLS_DESCRIPTORS\" was never defined.
7203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7205 if test -z "${CONSTRUCTOR_PRIORITY_TRUE}" && test -z "${CONSTRUCTOR_PRIORITY_FALSE}"; then
7206 as_fn_error
"conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
7207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7209 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7210 as_fn_error
"conditional \"HAVE_ZLIB\" was never defined.
7211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7213 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7214 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7218 : ${CONFIG_STATUS=./config.status}
7220 ac_clean_files_save
=$ac_clean_files
7221 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7223 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7225 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7227 # Generated by $as_me.
7228 # Run this file to recreate the current configuration.
7229 # Compiler output produced by configure, useful for debugging
7230 # configure, is in config.log if it exists.
7236 SHELL=\${CONFIG_SHELL-$SHELL}
7239 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7240 ## -------------------- ##
7241 ## M4sh Initialization. ##
7242 ## -------------------- ##
7244 # Be more Bourne compatible
7245 DUALCASE
=1; export DUALCASE
# for MKS sh
7246 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7249 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7250 # is contrary to our usage. Disable this feature.
7251 alias -g '${1+"$@"}'='"$@"'
7252 setopt NO_GLOB_SUBST
7254 case `(set -o) 2>/dev/null` in #(
7266 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7267 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7268 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7269 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7270 # Prefer a ksh shell builtin over an external printf program on Solaris,
7271 # but without wasting forks for bash or zsh.
7272 if test -z "$BASH_VERSION$ZSH_VERSION" \
7273 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7274 as_echo='print
-r --'
7275 as_echo_n='print
-rn --'
7276 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7277 as_echo='printf %s
\n'
7278 as_echo_n='printf %s
'
7280 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7281 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7282 as_echo_n='/usr
/ucb
/echo -n'
7284 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7285 as_echo_n_body='eval
7289 expr "X$arg" : "X\\(.*\\)$as_nl";
7290 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7292 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7294 export as_echo_n_body
7295 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7298 as_echo='sh
-c $as_echo_body as_echo
'
7301 # The user is always right.
7302 if test "${PATH_SEPARATOR+set}" != set; then
7304 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7305 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7312 # We need space, tab and new line, in precisely that order. Quoting is
7313 # there to prevent editors from complaining about space-tab.
7314 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7315 # splitting by setting IFS to empty value.)
7318 # Find who we are. Look in the path if we contain no directory separator.
7320 *[\\/]* ) as_myself=$0 ;;
7321 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7325 test -z "$as_dir" && as_dir=.
7326 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7332 # We did not find ourselves, most probably we were run as `sh COMMAND'
7333 # in which case we are not to be found in the path.
7334 if test "x$as_myself" = x
; then
7337 if test ! -f "$as_myself"; then
7338 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7342 # Unset variables that we do not need and which cause bugs (e.g. in
7343 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7344 # suppresses any "Segmentation fault" message there. '((' could
7345 # trigger a bug in pdksh 5.2.14.
7346 for as_var
in BASH_ENV ENV MAIL MAILPATH
7347 do eval test x\
${$as_var+set} = xset \
7348 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7361 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7364 # as_fn_error ERROR [LINENO LOG_FD]
7365 # ---------------------------------
7366 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7367 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7368 # script with status $?, using 1 if that was 0.
7371 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7373 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7374 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7376 $as_echo "$as_me: error: $1" >&2
7377 as_fn_exit
$as_status
7381 # as_fn_set_status STATUS
7382 # -----------------------
7383 # Set $? to STATUS, without forking.
7387 } # as_fn_set_status
7391 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7401 # Portably unset VAR.
7404 { eval $1=; unset $1;}
7406 as_unset
=as_fn_unset
7407 # as_fn_append VAR VALUE
7408 # ----------------------
7409 # Append the text in VALUE to the end of the definition contained in VAR. Take
7410 # advantage of any shell optimizations that allow amortized linear growth over
7411 # repeated appends, instead of the typical quadratic growth present in naive
7413 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7414 eval 'as_fn_append ()
7425 # as_fn_arith ARG...
7426 # ------------------
7427 # Perform arithmetic evaluation on the ARGs, and store the result in the
7428 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7429 # must be portable across $(()) and expr.
7430 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7431 eval 'as_fn_arith ()
7438 as_val
=`expr "$@" || test $? -eq 1`
7443 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7444 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7450 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7451 as_basename
=basename
7456 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7462 as_me
=`$as_basename -- "$0" ||
7463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7464 X"$0" : 'X\(//\)$' \| \
7465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7467 sed '/^.*\/\([^/][^/]*\)\/*$/{
7481 # Avoid depending upon Character Ranges.
7482 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7483 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7484 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7485 as_cr_digits
='0123456789'
7486 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7488 ECHO_C
= ECHO_N
= ECHO_T
=
7489 case `echo -n x` in #(((((
7491 case `echo 'xy\c'` in
7492 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7494 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7501 rm -f conf$$ conf$$.exe conf$$.
file
7502 if test -d conf$$.dir
; then
7503 rm -f conf$$.dir
/conf$$.
file
7506 mkdir conf$$.dir
2>/dev
/null
7508 if (echo >conf$$.
file) 2>/dev
/null
; then
7509 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7511 # ... but there are two gotchas:
7512 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7513 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7514 # In both cases, we have to default to `cp -p'.
7515 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7517 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7525 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7526 rmdir conf$$.dir
2>/dev
/null
7531 # Create "$as_dir" as a directory, including parents if necessary.
7536 -*) as_dir
=.
/$as_dir;;
7538 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7542 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7543 *) as_qdir
=$as_dir;;
7545 as_dirs
="'$as_qdir' $as_dirs"
7546 as_dir
=`$as_dirname -- "$as_dir" ||
7547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7548 X"$as_dir" : 'X\(//\)[^/]' \| \
7549 X"$as_dir" : 'X\(//\)$' \| \
7550 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7551 $as_echo X"$as_dir" |
7552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7569 test -d "$as_dir" && break
7571 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7572 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7576 if mkdir
-p .
2>/dev
/null
; then
7577 as_mkdir_p
='mkdir -p "$as_dir"'
7579 test -d .
/-p && rmdir .
/-p
7583 if test -x / >/dev
/null
2>&1; then
7586 if ls -dL / >/dev
/null
2>&1; then
7593 if test -d "$1"; then
7599 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7600 ???[sx]*):;;*)false;;esac;fi
7604 as_executable_p
=$as_test_x
7606 # Sed expression to map a string onto a valid CPP name.
7607 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7609 # Sed expression to map a string onto a valid variable name.
7610 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7614 ## ----------------------------------- ##
7615 ## Main body of $CONFIG_STATUS script. ##
7616 ## ----------------------------------- ##
7618 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7621 # Save the log message, to keep $0 and so on meaningful, and to
7622 # report actual input values of CONFIG_FILES etc. instead of their
7623 # values after options handling.
7625 This file was extended by gold $as_me 0.1, which was
7626 generated by GNU Autoconf 2.64. Invocation command line was
7628 CONFIG_FILES = $CONFIG_FILES
7629 CONFIG_HEADERS = $CONFIG_HEADERS
7630 CONFIG_LINKS = $CONFIG_LINKS
7631 CONFIG_COMMANDS = $CONFIG_COMMANDS
7634 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7639 case $ac_config_files in *"
7640 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7643 case $ac_config_headers in *"
7644 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7649 # Files that config.status was made for.
7650 config_files="$ac_config_files"
7651 config_headers="$ac_config_headers"
7652 config_commands="$ac_config_commands"
7656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7658 \`$as_me' instantiates files and other configuration actions
7659 from templates according to the current configuration. Unless the files
7660 and actions are specified as TAGs, all are instantiated by default.
7662 Usage: $0 [OPTION]... [TAG]...
7664 -h, --help print this help, then exit
7665 -V, --version print version number and configuration settings, then exit
7666 -q, --quiet, --silent
7667 do not print progress messages
7668 -d, --debug don't remove temporary files
7669 --recheck update $as_me by reconfiguring in the same conditions
7670 --file=FILE[:TEMPLATE]
7671 instantiate the configuration file FILE
7672 --header=FILE[:TEMPLATE]
7673 instantiate the configuration header FILE
7675 Configuration files:
7678 Configuration headers:
7681 Configuration commands:
7684 Report bugs to the package provider."
7687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7689 gold config.status 0.1
7690 configured by $0, generated by GNU Autoconf 2.64,
7691 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7693 Copyright (C) 2009 Free Software Foundation, Inc.
7694 This config.status script is free software; the Free Software Foundation
7695 gives unlimited permission to copy, distribute and modify it."
7702 test -n "\$AWK" || AWK=awk
7705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7706 # The default lists apply if the user does not specify any file.
7712 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7713 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7724 # Handling of the options.
7725 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7727 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7728 $as_echo "$ac_cs_version"; exit ;;
7729 --debug |
--debu |
--deb |
--de |
--d |
-d )
7731 --file |
--fil |
--fi |
--f )
7734 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7736 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7737 ac_need_defaults
=false
;;
7738 --header |
--heade |
--head |
--hea )
7741 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7743 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7744 ac_need_defaults
=false
;;
7746 # Conflict between --help and --header
7747 as_fn_error
"ambiguous option: \`$1'
7748 Try \`$0 --help' for more information.";;
7749 --help |
--hel |
-h )
7750 $as_echo "$ac_cs_usage"; exit ;;
7751 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7752 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7756 -*) as_fn_error
"unrecognized option: \`$1'
7757 Try \`$0 --help' for more information." ;;
7759 *) as_fn_append ac_config_targets
" $1"
7760 ac_need_defaults
=false
;;
7766 ac_configure_extra_args
=
7768 if $ac_cs_silent; then
7770 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7775 if \$ac_cs_recheck; then
7776 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7778 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7779 CONFIG_SHELL='$SHELL'
7785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7789 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7790 ## Running $as_me. ##
7796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7800 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7801 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7802 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7804 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7805 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7806 LINGUAS="${LINGUAS-%UNSET%}"
7811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7813 # Handling of arguments.
7814 for ac_config_target
in $ac_config_targets
7816 case $ac_config_target in
7817 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7818 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7819 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7820 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7821 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7822 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
7824 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7829 # If the user did not use the arguments to specify the items to instantiate,
7830 # then the envvar interface is used. Set only those that are not.
7831 # We use the long form for the default assignment because of an extremely
7832 # bizarre bug on SunOS 4.1.3.
7833 if $ac_need_defaults; then
7834 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7835 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7836 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7839 # Have a temporary directory for convenience. Make it in the build tree
7840 # simply because there is no reason against having it here, and in addition,
7841 # creating and moving files from /tmp can sometimes cause problems.
7842 # Hook for its removal unless debugging.
7843 # Note that there is a small window in which the directory will not be cleaned:
7844 # after its creation but before its name has been assigned to `$tmp'.
7848 trap 'exit_status=$?
7849 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7851 trap 'as_fn_exit 1' 1 2 13 15
7853 # Create a (secure) tmp directory for tmp files.
7856 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7857 test -n "$tmp" && test -d "$tmp"
7860 tmp
=.
/conf$$
-$RANDOM
7861 (umask 077 && mkdir
"$tmp")
7862 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
7864 # Set up the scripts for CONFIG_FILES section.
7865 # No need to generate them if there are no CONFIG_FILES.
7866 # This happens for instance with `./config.status config.h'.
7867 if test -n "$CONFIG_FILES"; then
7870 ac_cr
=`echo X | tr X '\015'`
7871 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7872 # But we know of no other shell where ac_cr would be empty at this
7873 # point, so we can use a bashism as a fallback.
7874 if test "x$ac_cr" = x
; then
7875 eval ac_cr
=\$
\'\\r
\'
7877 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7878 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7884 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7889 echo "cat >conf$$subs.awk <<_ACEOF" &&
7890 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7893 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7894 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7896 for ac_last_try in false false false false false :; do
7897 . ./conf$$subs.sh ||
7898 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7900 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7901 if test $ac_delim_n = $ac_delim_num; then
7903 elif $ac_last_try; then
7904 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7906 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7912 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
7916 s/^/S["/; s
/!.
*/"]=/
7926 s/\(.\{148\}\).*/\1/
7928 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7933 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7940 s/\(.\{148\}\).*/\1/
7942 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7946 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7951 ' <conf$$subs.awk | sed '
7956 ' >>$CONFIG_STATUS || ac_write_fail=1
7957 rm -f conf$$subs.awk
7958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7960 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
7961 for (key in S) S_is_set[key] = 1
7967 nfields = split(line, field, "@
")
7969 len = length(field[1])
7970 for (i = 2; i < nfields; i++) {
7972 keylen = length(key)
7973 if (S_is_set[key]) {
7975 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7976 len += length(value) + length(field[++i])
7987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7988 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7989 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7992 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
7993 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
7996 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7997 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
7998 # trailing colons and then remove the whole line if VPATH becomes empty
7999 # (actually we leave an empty line to preserve line numbers).
8000 if test "x
$srcdir" = x.; then
8001 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8005 s/^\([^=]*=[ ]*\):*/\1/
8011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8012 fi # test -n "$CONFIG_FILES"
8014 # Set up the scripts for CONFIG_HEADERS section.
8015 # No need to generate them if there are no CONFIG_HEADERS.
8016 # This happens for instance with `./config.status Makefile'.
8017 if test -n "$CONFIG_HEADERS"; then
8018 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8022 # Transform confdefs.h into an awk script `defines.awk', embedded as
8023 # here-document in config.status, that substitutes the proper values into
8024 # config.h.in to produce config.h.
8026 # Create a delimiter string that does not exist in confdefs.h, to ease
8027 # handling of long lines.
8029 for ac_last_try in false false :; do
8030 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8031 if test -z "$ac_t"; then
8033 elif $ac_last_try; then
8034 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8036 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8040 # For the awk script, D is an array of macro values keyed by name,
8041 # likewise P contains macro parameters if any. Preserve backslash
8042 # newline sequences.
8044 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8046 s/.\{148\}/&'"$ac_delim"'/g
8049 s/^[ ]*#[ ]*define[ ][ ]*/ /
8056 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8058 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8062 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8063 D["\
1"]=" \
3\\\\\\n
"\\/p
8065 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8070 s/.\{148\}/&'"$ac_delim"'/g
8075 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8078 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8080 ' <confdefs.h | sed '
8081 s/'"$ac_delim"'/"\\\
8082 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8085 for (key in D) D_is_set[key] = 1
8088 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8090 split(line, arg, " ")
8091 if (arg[1] == "#") {
8095 defundef
= substr
(arg
[1], 2)
8098 split(mac1
, mac2
, "(") #)
8100 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8101 if (D_is_set
[macro
]) {
8102 # Preserve the white space surrounding the "#".
8103 print prefix
"define", macro P
[macro
] D
[macro
]
8106 # Replace #undef with comments. This is necessary, for example,
8107 # in the case of _POSIX_SOURCE, which is predefined and required
8108 # on some systems where configure will not decide to define it.
8109 if (defundef
== "undef") {
8110 print
"/*", prefix defundef
, macro
, "*/"
8118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8119 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8120 fi # test -n "$CONFIG_HEADERS"
8123 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8128 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8130 case $ac_mode$ac_tag in
8132 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8133 :[FH
]-) ac_tag
=-:-;;
8134 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8151 -) ac_f
="$tmp/stdin";;
8152 *) # Look for the file first in the build tree, then in the source tree
8153 # (if the path is not absolute). The absolute path cannot be DOS-style,
8154 # because $ac_f cannot contain `:'.
8158 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8160 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8162 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8163 as_fn_append ac_file_inputs
" '$ac_f'"
8166 # Let's still pretend it is `configure' which instantiates (i.e., don't
8167 # use $as_me), people would be surprised to read:
8168 # /* config.h. Generated by config.status. */
8169 configure_input
='Generated from '`
8170 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8172 if test x
"$ac_file" != x-
; then
8173 configure_input
="$ac_file. $configure_input"
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8175 $as_echo "$as_me: creating $ac_file" >&6;}
8177 # Neutralize special characters interpreted by sed in replacement strings.
8178 case $configure_input in #(
8179 *\
&* |
*\|
* |
*\\* )
8180 ac_sed_conf_input
=`$as_echo "$configure_input" |
8181 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8182 *) ac_sed_conf_input
=$configure_input;;
8186 *:-:* |
*:-) cat >"$tmp/stdin" \
8187 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8192 ac_dir
=`$as_dirname -- "$ac_file" ||
8193 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8194 X"$ac_file" : 'X\(//\)[^/]' \| \
8195 X"$ac_file" : 'X\(//\)$' \| \
8196 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8197 $as_echo X"$ac_file" |
8198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8215 as_dir
="$ac_dir"; as_fn_mkdir_p
8219 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8221 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8222 # A ".." for each directory in $ac_dir_suffix.
8223 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8224 case $ac_top_builddir_sub in
8225 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8226 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8229 ac_abs_top_builddir
=$ac_pwd
8230 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8231 # for backward compatibility:
8232 ac_top_builddir
=$ac_top_build_prefix
8235 .
) # We are building in place.
8237 ac_top_srcdir
=$ac_top_builddir_sub
8238 ac_abs_top_srcdir
=$ac_pwd ;;
8239 [\\/]* | ?
:[\\/]* ) # Absolute name.
8240 ac_srcdir
=$srcdir$ac_dir_suffix;
8241 ac_top_srcdir
=$srcdir
8242 ac_abs_top_srcdir
=$srcdir ;;
8244 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8245 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8246 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8248 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8258 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8259 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8263 [\\/$
]* | ?
:[\\/]* ) ;;
8264 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8269 # If the template does not know about datarootdir, expand it.
8270 # FIXME: This hack should be removed a few years after 2.60.
8271 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8282 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8283 *datarootdir
*) ac_datarootdir_seen
=yes;;
8284 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8286 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8289 ac_datarootdir_hack='
8290 s&@datadir@&$datadir&g
8291 s&@docdir@&$docdir&g
8292 s&@infodir@&$infodir&g
8293 s&@localedir@&$localedir&g
8294 s&@mandir@&$mandir&g
8295 s&\\\${datarootdir}&$datarootdir&g' ;;
8299 # Neutralize VPATH when `$srcdir' = `.'.
8300 # Shell code in configure.ac might set extrasub.
8301 # FIXME: do we really want to maintain this feature?
8302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8303 ac_sed_extra="$ac_vpsub
8306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8308 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8309 s|@configure_input@|
$ac_sed_conf_input|
;t t
8310 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8311 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8312 s
&@srcdir@
&$ac_srcdir&;t t
8313 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8314 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8315 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8316 s
&@builddir@
&$ac_builddir&;t t
8317 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8318 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8319 s
&@INSTALL@
&$ac_INSTALL&;t t
8320 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8321 $ac_datarootdir_hack
8323 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8324 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8326 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8327 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8328 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8330 which seems to be undefined. Please make sure it is defined." >&5
8331 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8332 which seems to be undefined. Please make sure it is defined." >&2;}
8336 -) cat "$tmp/out" && rm -f "$tmp/out";;
8337 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8339 || as_fn_error "could not create $ac_file" "$LINENO" 5
8345 if test x"$ac_file" != x-; then
8347 $as_echo "/* $configure_input */" \
8348 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8349 } >"$tmp/config.h" \
8350 || as_fn_error "could not create $ac_file" "$LINENO" 5
8351 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8353 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8356 mv "$tmp/config.h" "$ac_file" \
8357 || as_fn_error "could not create $ac_file" "$LINENO" 5
8360 $as_echo "/* $configure_input */" \
8361 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8362 || as_fn_error "could not create -" "$LINENO" 5
8364 # Compute "$ac_file"'s index
in $config_headers.
8367 for _am_header
in $config_headers :; do
8369 $_am_arg |
$_am_arg:* )
8372 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8375 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8376 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8377 X"$_am_arg" : 'X\(//\)[^/]' \| \
8378 X"$_am_arg" : 'X\(//\)$' \| \
8379 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8380 $as_echo X"$_am_arg" |
8381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8397 s/.*/./; q'`/stamp-h
$_am_stamp_count
8400 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8401 $as_echo "$as_me: executing $ac_file commands" >&6;}
8406 case $ac_file$ac_mode in
8407 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8408 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8409 # are listed without --file. Let's play safe and only enable the eval
8410 # if we detect the quoting.
8411 case $CONFIG_FILES in
8412 *\'*) eval set x
"$CONFIG_FILES" ;;
8413 *) set x
$CONFIG_FILES ;;
8418 # Strip MF so we end up with the name of the file.
8419 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8420 # Check whether this is an Automake generated Makefile or not.
8421 # We used to match only the files named `Makefile.in', but
8422 # some people rename them; so instead we look at the file content.
8423 # Grep'ing the first line is not enough: some people post-process
8424 # each Makefile.in and add a new line on top of each file to say so.
8425 # Grep'ing the whole file is not good either: AIX grep has a line
8426 # limit of 2048, but all sed's we know have understand at least 4000.
8427 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8428 dirpart
=`$as_dirname -- "$mf" ||
8429 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8430 X"$mf" : 'X\(//\)[^/]' \| \
8431 X"$mf" : 'X\(//\)$' \| \
8432 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8454 # Extract the definition of DEPDIR, am__include, and am__quote
8455 # from the Makefile without running `make'.
8456 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8457 test -z "$DEPDIR" && continue
8458 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8459 test -z "am__include" && continue
8460 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8461 # When using ansi2knr, U may be empty or an underscore; expand it
8462 U
=`sed -n 's/^U = //p' < "$mf"`
8463 # Find all dependency output files, they are included files with
8464 # $(DEPDIR) in their names. We invoke sed twice because it is the
8465 # simplest approach to changing $(DEPDIR) to its actual value in the
8467 for file in `sed -n "
8468 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8469 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8470 # Make sure the directory exists.
8471 test -f "$dirpart/$file" && continue
8472 fdir
=`$as_dirname -- "$file" ||
8473 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8474 X"$file" : 'X\(//\)[^/]' \| \
8475 X"$file" : 'X\(//\)$' \| \
8476 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8495 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8496 # echo "creating $dirpart/$file"
8497 echo '# dummy' > "$dirpart/$file"
8503 for ac_file
in $CONFIG_FILES; do
8504 # Support "outfile[:infile[:infile...]]"
8506 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8508 # PO directories have a Makefile.in generated from Makefile.in.in.
8509 case "$ac_file" in */Makefile.
in)
8510 # Adjust a relative srcdir.
8511 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8512 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
8513 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8514 # In autoconf-2.13 it is called $ac_given_srcdir.
8515 # In autoconf-2.50 it is called $srcdir.
8516 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
8517 case "$ac_given_srcdir" in
8518 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
8519 /*) top_srcdir
="$ac_given_srcdir" ;;
8520 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8522 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8523 rm -f "$ac_dir/POTFILES"
8524 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
8525 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8526 POMAKEFILEDEPS
="POTFILES.in"
8527 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8528 # on $ac_dir but don't depend on user-specified configuration
8530 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8531 # The LINGUAS file contains the set of available languages.
8532 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8533 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
8535 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8536 # Hide the ALL_LINGUAS assigment from automake.
8537 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8538 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8540 # The set of available languages was given in configure.in.
8541 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8543 case "$ac_given_srcdir" in
8545 *) srcdirpre
='$(srcdir)/' ;;
8551 for lang
in $ALL_LINGUAS; do
8552 POFILES
="$POFILES $srcdirpre$lang.po"
8553 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8554 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8555 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8557 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8558 # environment variable.
8560 if test -n "$ALL_LINGUAS"; then
8561 for presentlang
in $ALL_LINGUAS; do
8563 if test "%UNSET%" != "$LINGUAS"; then
8564 desiredlanguages
="$LINGUAS"
8566 desiredlanguages
="$ALL_LINGUAS"
8568 for desiredlang
in $desiredlanguages; do
8569 # Use the presentlang catalog if desiredlang is
8570 # a. equal to presentlang, or
8571 # b. a variant of presentlang (because in this case,
8572 # presentlang can be used as a fallback for messages
8573 # which are not translated in the desiredlang catalog).
8574 case "$desiredlang" in
8575 "$presentlang"*) useit
=yes;;
8578 if test $useit = yes; then
8579 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8584 if test -n "$INST_LINGUAS"; then
8585 for lang
in $INST_LINGUAS; do
8586 CATALOGS
="$CATALOGS $lang.gmo"
8589 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8590 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"
8591 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8592 if test -f "$f"; then
8594 *.orig |
*.bak |
*~
) ;;
8595 *) cat "$f" >> "$ac_dir/Makefile" ;;
8610 ac_clean_files
=$ac_clean_files_save
8612 test $ac_write_fail = 0 ||
8613 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8616 # configure is writing to config.log, and then calls config.status.
8617 # config.status does its own redirection, appending to config.log.
8618 # Unfortunately, on DOS this fails, as config.log is still kept open
8619 # by configure, so config.status won't be able to write to it; its
8620 # output is simply discarded. So we exec the FD to /dev/null,
8621 # effectively closing config.log, so it can be properly (re)opened and
8622 # appended to by config.status. When coming back to configure, we
8623 # need to make the FD available again.
8624 if test "$no_create" != yes; then
8626 ac_config_status_args
=
8627 test "$silent" = yes &&
8628 ac_config_status_args
="$ac_config_status_args --quiet"
8630 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8633 # would make configure fail if this is the last instruction.
8634 $ac_cs_success || as_fn_exit $?
8636 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8638 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}