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
608 CONSTRUCTOR_PRIORITY_FALSE
609 CONSTRUCTOR_PRIORITY_TRUE
610 TLS_DESCRIPTORS_FALSE
612 TLS_GNU2_DIALECT_FALSE
613 TLS_GNU2_DIALECT_TRUE
622 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
623 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
673 DEFAULT_TARGET_X86_64_FALSE
674 DEFAULT_TARGET_X86_64_TRUE
675 DEFAULT_TARGET_SPARC_FALSE
676 DEFAULT_TARGET_SPARC_TRUE
677 DEFAULT_TARGET_POWERPC_FALSE
678 DEFAULT_TARGET_POWERPC_TRUE
679 DEFAULT_TARGET_I386_FALSE
680 DEFAULT_TARGET_I386_TRUE
681 DEFAULT_TARGET_ARM_FALSE
682 DEFAULT_TARGET_ARM_TRUE
697 INSTALL_STRIP_PROGRAM
751 program_transform_name
764 enable_option_checking
770 enable_dependency_tracking
773 enable_build_warnings
774 enable_maintainer_mode
776 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 ac_unrecognized_opts
=
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
807 program_transform_name
=s
,x
,x
,
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir
='${exec_prefix}/bin'
822 sbindir
='${exec_prefix}/sbin'
823 libexecdir
='${exec_prefix}/libexec'
824 datarootdir
='${prefix}/share'
825 datadir
='${datarootdir}'
826 sysconfdir
='${prefix}/etc'
827 sharedstatedir
='${prefix}/com'
828 localstatedir
='${prefix}/var'
829 includedir
='${prefix}/include'
830 oldincludedir
='/usr/include'
831 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir
='${datarootdir}/info'
837 libdir
='${exec_prefix}/lib'
838 localedir
='${datarootdir}/locale'
839 mandir
='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\
$ac_option
853 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=no
;;
911 -docdir |
--docdir |
--docdi |
--doc |
--do)
913 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
916 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
918 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
921 -enable-* |
--enable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=\
$ac_optarg ;;
937 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
938 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
939 |
--exec |
--exe |
--ex)
940 ac_prev
=exec_prefix
;;
941 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
942 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
943 |
--exec=* |
--exe=* |
--ex=*)
944 exec_prefix
=$ac_optarg ;;
946 -gas |
--gas |
--ga |
--g)
947 # Obsolete; use --with-gas.
950 -help |
--help |
--hel |
--he |
-h)
952 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
953 ac_init_help
=recursive
;;
954 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
955 ac_init_help
=short
;;
957 -host |
--host |
--hos |
--ho)
958 ac_prev
=host_alias
;;
959 -host=* |
--host=* |
--hos=* |
--ho=*)
960 host_alias
=$ac_optarg ;;
962 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
964 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
966 htmldir
=$ac_optarg ;;
968 -includedir |
--includedir |
--includedi |
--included |
--include \
969 |
--includ |
--inclu |
--incl |
--inc)
970 ac_prev
=includedir
;;
971 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
972 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
973 includedir
=$ac_optarg ;;
975 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
977 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
978 infodir
=$ac_optarg ;;
980 -libdir |
--libdir |
--libdi |
--libd)
982 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
985 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
986 |
--libexe |
--libex |
--libe)
987 ac_prev
=libexecdir
;;
988 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
989 |
--libexe=* |
--libex=* |
--libe=*)
990 libexecdir
=$ac_optarg ;;
992 -localedir |
--localedir |
--localedi |
--localed |
--locale)
994 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
995 localedir
=$ac_optarg ;;
997 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
998 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
999 ac_prev
=localstatedir
;;
1000 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1001 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1002 localstatedir
=$ac_optarg ;;
1004 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1006 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1007 mandir
=$ac_optarg ;;
1009 -nfp |
--nfp |
--nf)
1010 # Obsolete; use --without-fp.
1013 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1014 |
--no-cr |
--no-c |
-n)
1017 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1018 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1021 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1022 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1023 |
--oldin |
--oldi |
--old |
--ol |
--o)
1024 ac_prev
=oldincludedir
;;
1025 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1026 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1027 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1028 oldincludedir
=$ac_optarg ;;
1030 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1032 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1033 prefix
=$ac_optarg ;;
1035 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1036 |
--program-pre |
--program-pr |
--program-p)
1037 ac_prev
=program_prefix
;;
1038 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1039 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1040 program_prefix
=$ac_optarg ;;
1042 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1043 |
--program-suf |
--program-su |
--program-s)
1044 ac_prev
=program_suffix
;;
1045 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1046 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1047 program_suffix
=$ac_optarg ;;
1049 -program-transform-name |
--program-transform-name \
1050 |
--program-transform-nam |
--program-transform-na \
1051 |
--program-transform-n |
--program-transform- \
1052 |
--program-transform |
--program-transfor \
1053 |
--program-transfo |
--program-transf \
1054 |
--program-trans |
--program-tran \
1055 |
--progr-tra |
--program-tr |
--program-t)
1056 ac_prev
=program_transform_name
;;
1057 -program-transform-name=* |
--program-transform-name=* \
1058 |
--program-transform-nam=* |
--program-transform-na=* \
1059 |
--program-transform-n=* |
--program-transform-=* \
1060 |
--program-transform=* |
--program-transfor=* \
1061 |
--program-transfo=* |
--program-transf=* \
1062 |
--program-trans=* |
--program-tran=* \
1063 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1064 program_transform_name
=$ac_optarg ;;
1066 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1068 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1069 pdfdir
=$ac_optarg ;;
1071 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1073 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1077 |
-silent |
--silent |
--silen |
--sile |
--sil)
1080 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1082 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1084 sbindir
=$ac_optarg ;;
1086 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1087 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1088 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1090 ac_prev
=sharedstatedir
;;
1091 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1092 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1093 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1095 sharedstatedir
=$ac_optarg ;;
1097 -site |
--site |
--sit)
1099 -site=* |
--site=* |
--sit=*)
1102 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1104 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1105 srcdir
=$ac_optarg ;;
1107 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1108 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1109 ac_prev
=sysconfdir
;;
1110 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1111 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1112 sysconfdir
=$ac_optarg ;;
1114 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1115 ac_prev
=target_alias
;;
1116 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1117 target_alias
=$ac_optarg ;;
1119 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1122 -version |
--version |
--versio |
--versi |
--vers |
-V)
1123 ac_init_version
=: ;;
1126 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 as_fn_error
"invalid package name: $ac_useropt"
1130 ac_useropt_orig
=$ac_useropt
1131 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep
=', ';;
1139 eval with_
$ac_useropt=\
$ac_optarg ;;
1141 -without-* |
--without-*)
1142 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1145 as_fn_error
"invalid package name: $ac_useropt"
1146 ac_useropt_orig
=$ac_useropt
1147 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1152 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep
=', ';;
1155 eval with_
$ac_useropt=no
;;
1158 # Obsolete; use --with-x.
1161 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1162 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1163 ac_prev
=x_includes
;;
1164 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1165 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1166 x_includes
=$ac_optarg ;;
1168 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1169 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1170 ac_prev
=x_libraries
;;
1171 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1172 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1173 x_libraries
=$ac_optarg ;;
1175 -*) as_fn_error
"unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information."
1180 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1184 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1186 eval $ac_envvar=\
$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1200 if test -n "$ac_prev"; then
1201 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error
"missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1208 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1213 # Check all directory arguments for consistency.
1214 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val
=\$
$ac_var
1220 # Remove trailing slashes.
1223 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\
$ac_val;;
1226 # Be sure to have absolute directory names.
1228 [\\/$
]* | ?
:[\\/]* ) continue;;
1229 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1231 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1239 target
=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x
; then
1243 if test "x$build_alias" = x
; then
1244 cross_compiling
=maybe
1245 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1246 If a cross compiler is detected then cross compile mode will be used." >&2
1247 elif test "x$build_alias" != "x$host_alias"; then
1253 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1255 test "$silent" = yes && exec 6>/dev
/null
1258 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di
=`ls -di .` &&
1260 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error
"working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error
"pwd does not report name of working directory"
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted
=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir
=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1298 ac_srcdir_defaulted
=no
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1302 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1304 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1390 --program-prefix=PREFIX prepend PREFIX to installed program names
1391 --program-suffix=SUFFIX append SUFFIX to installed program names
1392 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1395 --build=BUILD configure
for building on BUILD
[guessed
]
1396 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1397 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1401 if test -n "$ac_init_help"; then
1402 case $ac_init_help in
1403 short | recursive
) echo "Configuration of gold 0.1:";;
1408 --disable-option-checking ignore unrecognized
--enable/--with options
1409 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1410 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1411 --enable-gold[=ARG
] build gold
[ARG
={both
}[/{gold
,ld
}]]
1412 --enable-threads multi-threaded linking
1413 --enable-plugins linker plugins
1414 --enable-targets alternative target configurations
1415 --disable-dependency-tracking speeds up one-time build
1416 --enable-dependency-tracking do not reject slow dependency extractors
1417 --disable-nls do not use Native Language Support
1418 --enable-werror treat compile warnings as errors
1419 --enable-build-warnings enable build-time compiler warnings
1420 --enable-maintainer-mode enable make rules and dependencies not useful
1421 (and sometimes confusing
) to the casual installer
1424 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1425 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1426 --with-sysroot=DIR search
for usr
/lib et al within DIR
1428 Some influential environment variables
:
1429 CC C compiler
command
1430 CFLAGS C compiler flags
1431 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1432 nonstandard directory
<lib dir
>
1433 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1434 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1435 you have headers
in a nonstandard directory
<include dir
>
1436 CXX C
++ compiler
command
1437 CXXFLAGS C
++ compiler flags
1438 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1439 the first program found out of: `bison
-y', `byacc', `yacc'.
1440 YFLAGS The list of arguments that will be passed by default to $YACC.
1441 This script will default YFLAGS to the empty string to avoid a
1442 default value of `-d' given by some make applications.
1444 CXXCPP C++ preprocessor
1446 Use these variables to override the choices made by `configure' or to
help
1447 it to
find libraries and programs with nonstandard names
/locations.
1449 Report bugs to the package provider.
1454 if test "$ac_init_help" = "recursive"; then
1455 # If there are subdirs, report their specific --help.
1456 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1457 test -d "$ac_dir" ||
1458 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1463 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1465 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1466 # A ".." for each directory in $ac_dir_suffix.
1467 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1468 case $ac_top_builddir_sub in
1469 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1470 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1473 ac_abs_top_builddir
=$ac_pwd
1474 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1475 # for backward compatibility:
1476 ac_top_builddir
=$ac_top_build_prefix
1479 .
) # We are building in place.
1481 ac_top_srcdir
=$ac_top_builddir_sub
1482 ac_abs_top_srcdir
=$ac_pwd ;;
1483 [\\/]* | ?
:[\\/]* ) # Absolute name.
1484 ac_srcdir
=$srcdir$ac_dir_suffix;
1485 ac_top_srcdir
=$srcdir
1486 ac_abs_top_srcdir
=$srcdir ;;
1488 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1489 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1490 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1492 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1494 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1495 # Check for guested configure.
1496 if test -f "$ac_srcdir/configure.gnu"; then
1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499 elif test -f "$ac_srcdir/configure"; then
1501 $SHELL "$ac_srcdir/configure" --help=recursive
1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then
1513 generated by GNU Autoconf
2.64
1515 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1516 This configure
script is free software
; the Free Software Foundation
1517 gives unlimited permission to copy
, distribute and modify it.
1522 ## ------------------------ ##
1523 ## Autoconf initialization. ##
1524 ## ------------------------ ##
1526 # ac_fn_c_try_compile LINENO
1527 # --------------------------
1528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_compile
()
1531 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1532 rm -f conftest.
$ac_objext
1533 if { { ac_try
="$ac_compile"
1535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_compile") 2>conftest.err
1542 if test -s conftest.err; then
1543 grep -v '^ *+' conftest.err >conftest.er1
1544 cat conftest.er1 >&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest.$ac_objext; then :
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562 } # ac_fn_c_try_compile
1564 # ac_fn_cxx_try_compile LINENO
1565 # ----------------------------
1566 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1567 ac_fn_cxx_try_compile ()
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 rm -f conftest.$ac_objext
1571 if { { ac_try="$ac_compile"
1573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1574 *) ac_try_echo
=$ac_try;;
1576 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_compile") 2>conftest.err
1580 if test -s conftest.err
; then
1581 grep -v '^ *+' conftest.err
>conftest.er1
1582 cat conftest.er1
>&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_cxx_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest.
$ac_objext; then :
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.
$ac_ext >&5
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1600 } # ac_fn_cxx_try_compile
1602 # ac_fn_c_try_cpp LINENO
1603 # ----------------------
1604 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1607 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1608 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } >/dev/null && {
1624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1634 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1639 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1640 # -------------------------------------------------------
1641 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1642 # the include files in INCLUDES and setting the cache variable VAR
1644 ac_fn_c_check_header_mongrel ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1651 $as_echo_n "(cached) " >&6
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655 $as_echo "$ac_res" >&6; }
1657 # Is the header compilable?
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1659 $as_echo_n "checking $2 usability... " >&6; }
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1665 if ac_fn_c_try_compile "$LINENO"; then :
1666 ac_header_compiler=yes
1668 ac_header_compiler=no
1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1672 $as_echo "$ac_header_compiler" >&6; }
1674 # Is the header present?
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1676 $as_echo_n "checking $2 presence... " >&6; }
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1681 if ac_fn_c_try_cpp "$LINENO"; then :
1682 ac_header_preproc=yes
1684 ac_header_preproc=no
1686 rm -f conftest.err conftest.$ac_ext
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1688 $as_echo "$ac_header_preproc" >&6; }
1690 # So? What about this header?
1691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1694 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1696 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1700 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1702 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1704 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1706 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1708 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712 $as_echo_n "checking for $2... " >&6; }
1713 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1714 $as_echo_n "(cached) " >&6
1716 eval "$3=\$ac_header_compiler"
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1722 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 } # ac_fn_c_check_header_mongrel
1726 # ac_fn_c_try_run LINENO
1727 # ----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1729 # that executables *can* be run.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 if { { ac_try="$ac_link"
1735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1736 *) ac_try_echo
=$ac_try;;
1738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1744 { { case "(($ac_try" in
1745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_try") 2>&5
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; }; }; then :
1756 $as_echo "$as_me: program exited with status $ac_status" >&5
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 ac_retval=$ac_status
1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1769 # -------------------------------------------------------
1770 # Tests whether HEADER exists and can be compiled using the include files in
1771 # INCLUDES, setting the cache variable VAR accordingly.
1772 ac_fn_c_check_header_compile ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1778 $as_echo_n "(cached) " >&6
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1785 if ac_fn_c_try_compile "$LINENO"; then :
1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 } # ac_fn_c_check_header_compile
1799 # ac_fn_c_try_link LINENO
1800 # -----------------------
1801 # Try to link conftest.$ac_ext, and return whether this succeeded.
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 rm -f conftest.$ac_objext conftest$ac_exeext
1806 if { { ac_try="$ac_link"
1808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1809 *) ac_try_echo
=$ac_try;;
1811 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_link") 2>conftest.err
1815 if test -s conftest.err
; then
1816 grep -v '^ *+' conftest.err
>conftest.er1
1817 cat conftest.er1
>&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } && {
1822 test -z "$ac_c_werror_flag" ||
1823 test ! -s conftest.err
1824 } && test -s conftest
$ac_exeext && {
1825 test "$cross_compiling" = yes ||
1826 $as_test_x conftest
$ac_exeext
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.
$ac_ext >&5
1835 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1836 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1837 # interfere with the next link command; also delete a directory that is
1838 # left behind by Apple's compiler. We do this before executing the actions.
1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1843 } # ac_fn_c_try_link
1845 # ac_fn_c_check_func LINENO FUNC VAR
1846 # ----------------------------------
1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1848 ac_fn_c_check_func
()
1850 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1854 $as_echo_n "(cached) " >&6
1856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1860 #define $2 innocuous_$2
1862 /* System header to define __stub macros and hopefully few prototypes,
1863 which can conflict with char $2 (); below.
1864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1865 <limits.h> exists even on freestanding compilers. */
1868 # include <limits.h>
1870 # include <assert.h>
1875 /* Override any GCC internal prototype to avoid an error.
1876 Use char because int might match the return type of a GCC
1877 builtin and then its argument prototype would still apply. */
1882 /* The GNU C library defines this for functions which it implements
1883 to always fail with ENOSYS. Some functions are actually named
1884 something starting with __ and the normal name is an alias. */
1885 #if defined __stub_$2 || defined __stub___$2
1897 if ac_fn_c_try_link
"$LINENO"; then :
1902 rm -f core conftest.err conftest.
$ac_objext \
1903 conftest
$ac_exeext conftest.
$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1910 } # ac_fn_c_check_func
1912 # ac_fn_c_check_decl LINENO SYMBOL VAR
1913 # ------------------------------------
1914 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1915 ac_fn_c_check_decl
()
1917 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1918 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1919 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1921 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1922 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1923 $as_echo_n "(cached) " >&6
1925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1931 #ifndef $as_decl_name
1933 (void) $as_decl_use;
1935 (void) $as_decl_name;
1943 if ac_fn_c_try_compile
"$LINENO"; then :
1948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1953 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1955 } # ac_fn_c_check_decl
1957 # ac_fn_cxx_try_cpp LINENO
1958 # ------------------------
1959 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1960 ac_fn_cxx_try_cpp
()
1962 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1963 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1966 *) ac_try_echo=$ac_try;;
1968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1969 $as_echo "$ac_try_echo"; } >&5
1970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1972 if test -s conftest.err; then
1973 grep -v '^ *+' conftest.err >conftest.er1
1974 cat conftest.er1 >&5
1975 mv -f conftest.er1 conftest.err
1977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1978 test $ac_status = 0; } >/dev/null && {
1979 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1980 test ! -s conftest.err
1984 $as_echo "$as_me: failed program was:" >&5
1985 sed 's/^/| /' conftest.$ac_ext >&5
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1992 } # ac_fn_cxx_try_cpp
1994 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1995 # ---------------------------------------------------------
1996 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1997 # the include files in INCLUDES and setting the cache variable VAR
1999 ac_fn_cxx_check_header_mongrel ()
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2004 $as_echo_n "checking for $2... " >&6; }
2005 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2006 $as_echo_n "(cached) " >&6
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2012 # Is the header compilable?
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2014 $as_echo_n "checking $2 usability... " >&6; }
2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2020 if ac_fn_cxx_try_compile "$LINENO"; then :
2021 ac_header_compiler=yes
2023 ac_header_compiler=no
2025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2027 $as_echo "$ac_header_compiler" >&6; }
2029 # Is the header present?
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2031 $as_echo_n "checking $2 presence... " >&6; }
2032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2036 if ac_fn_cxx_try_cpp "$LINENO"; then :
2037 ac_header_preproc=yes
2039 ac_header_preproc=no
2041 rm -f conftest.err conftest.$ac_ext
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2043 $as_echo "$ac_header_preproc" >&6; }
2045 # So? What about this header?
2046 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2049 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2051 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2055 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2057 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2059 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2061 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2063 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2067 $as_echo_n "checking for $2... " >&6; }
2068 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 $as_echo_n "(cached) " >&6
2071 eval "$3=\$ac_header_compiler"
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2077 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079 } # ac_fn_cxx_check_header_mongrel
2081 # ac_fn_cxx_try_link LINENO
2082 # -------------------------
2083 # Try to link conftest.$ac_ext, and return whether this succeeded.
2084 ac_fn_cxx_try_link ()
2086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2087 rm -f conftest.$ac_objext conftest$ac_exeext
2088 if { { ac_try="$ac_link"
2090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2091 *) ac_try_echo
=$ac_try;;
2093 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2094 $as_echo "$ac_try_echo"; } >&5
2095 (eval "$ac_link") 2>conftest.err
2097 if test -s conftest.err
; then
2098 grep -v '^ *+' conftest.err
>conftest.er1
2099 cat conftest.er1
>&5
2100 mv -f conftest.er1 conftest.err
2102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2103 test $ac_status = 0; } && {
2104 test -z "$ac_cxx_werror_flag" ||
2105 test ! -s conftest.err
2106 } && test -s conftest
$ac_exeext && {
2107 test "$cross_compiling" = yes ||
2108 $as_test_x conftest
$ac_exeext
2112 $as_echo "$as_me: failed program was:" >&5
2113 sed 's/^/| /' conftest.
$ac_ext >&5
2117 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2118 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2119 # interfere with the next link command; also delete a directory that is
2120 # left behind by Apple's compiler. We do this before executing the actions.
2121 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2122 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2125 } # ac_fn_cxx_try_link
2127 # ac_fn_cxx_check_func LINENO FUNC VAR
2128 # ------------------------------------
2129 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2130 ac_fn_cxx_check_func
()
2132 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2134 $as_echo_n "checking for $2... " >&6; }
2135 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2136 $as_echo_n "(cached) " >&6
2138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2140 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2142 #define $2 innocuous_$2
2144 /* System header to define __stub macros and hopefully few prototypes,
2145 which can conflict with char $2 (); below.
2146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2147 <limits.h> exists even on freestanding compilers. */
2150 # include <limits.h>
2152 # include <assert.h>
2157 /* Override any GCC internal prototype to avoid an error.
2158 Use char because int might match the return type of a GCC
2159 builtin and then its argument prototype would still apply. */
2164 /* The GNU C library defines this for functions which it implements
2165 to always fail with ENOSYS. Some functions are actually named
2166 something starting with __ and the normal name is an alias. */
2167 #if defined __stub_$2 || defined __stub___$2
2179 if ac_fn_cxx_try_link
"$LINENO"; then :
2184 rm -f core conftest.err conftest.
$ac_objext \
2185 conftest
$ac_exeext conftest.
$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189 $as_echo "$ac_res" >&6; }
2190 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2192 } # ac_fn_cxx_check_func
2194 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2195 # --------------------------------------
2196 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2197 ac_fn_cxx_check_decl
()
2199 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2200 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2201 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2203 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2204 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2205 $as_echo_n "(cached) " >&6
2207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2213 #ifndef $as_decl_name
2215 (void) $as_decl_use;
2217 (void) $as_decl_name;
2225 if ac_fn_cxx_try_compile
"$LINENO"; then :
2230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2234 $as_echo "$ac_res" >&6; }
2235 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2237 } # ac_fn_cxx_check_decl
2238 cat >config.log
<<_ACEOF
2239 This file contains any messages produced by compilers while
2240 running configure, to aid debugging if configure makes a mistake.
2242 It was created by gold $as_me 0.1, which was
2243 generated by GNU Autoconf 2.64. Invocation command line was
2255 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2256 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2257 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2258 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2259 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2261 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2262 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2264 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2265 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2266 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2267 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2268 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2269 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2270 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir
=.
2279 $as_echo "PATH: $as_dir"
2295 # Keep a trace of the command line.
2296 # Strip out --no-create and --no-recursion so they do not pile up.
2297 # Strip out --silent because we don't want to record it for future runs.
2298 # Also quote any args containing shell meta-characters.
2299 # Make two passes to allow for proper duplicate-argument suppression.
2303 ac_must_keep_next
=false
2309 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2310 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2311 |
-silent |
--silent |
--silen |
--sile |
--sil)
2314 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2317 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2319 as_fn_append ac_configure_args1
" '$ac_arg'"
2320 if test $ac_must_keep_next = true
; then
2321 ac_must_keep_next
=false
# Got value, back to normal.
2324 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2325 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2326 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2327 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2328 case "$ac_configure_args0 " in
2329 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2332 -* ) ac_must_keep_next
=true
;;
2335 as_fn_append ac_configure_args
" '$ac_arg'"
2340 { ac_configure_args0
=; unset ac_configure_args0
;}
2341 { ac_configure_args1
=; unset ac_configure_args1
;}
2343 # When interrupted or exit'd, cleanup temporary files, and complete
2344 # config.log. We remove comments because anyway the quotes in there
2345 # would cause problems or look ugly.
2346 # WARNING: Use '\'' to represent an apostrophe within the trap.
2347 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2348 trap 'exit_status=$?
2349 # Save into config.log some information that might help in debugging.
2354 ## ---------------- ##
2355 ## Cache variables. ##
2356 ## ---------------- ##
2359 # The following way of writing the cache mishandles newlines in values,
2361 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2362 eval ac_val=\$$ac_var
2366 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2367 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2370 _ | IFS | as_nl) ;; #(
2371 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2372 *) { eval $ac_var=; unset $ac_var;} ;;
2377 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2378 *${as_nl}ac_space=\ *)
2380 "s/'\''/'\''\\\\'\'''\''/g;
2381 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2384 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2392 ## ----------------- ##
2393 ## Output variables. ##
2394 ## ----------------- ##
2397 for ac_var in $ac_subst_vars
2399 eval ac_val=\$$ac_var
2401 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2403 $as_echo "$ac_var='\''$ac_val'\''"
2407 if test -n "$ac_subst_files"; then
2409 ## ------------------- ##
2410 ## File substitutions. ##
2411 ## ------------------- ##
2414 for ac_var
in $ac_subst_files
2416 eval ac_val
=\$
$ac_var
2418 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420 $as_echo "$ac_var='\''$ac_val'\''"
2425 if test -s confdefs.h; then
2435 test "$ac_signal" != 0 &&
2436 $as_echo "$as_me: caught signal $ac_signal"
2437 $as_echo "$as_me: exit $exit_status"
2439 rm -f core *.core core.conftest.* &&
2440 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2443 for ac_signal
in 1 2 13 15; do
2444 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2448 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2449 rm -f -r conftest
* confdefs.h
2451 $as_echo "/* confdefs.h */" > confdefs.h
2453 # Predefined preprocessor variables.
2455 cat >>confdefs.h
<<_ACEOF
2456 #define PACKAGE_NAME "$PACKAGE_NAME"
2459 cat >>confdefs.h
<<_ACEOF
2460 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2463 cat >>confdefs.h
<<_ACEOF
2464 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2467 cat >>confdefs.h
<<_ACEOF
2468 #define PACKAGE_STRING "$PACKAGE_STRING"
2471 cat >>confdefs.h
<<_ACEOF
2472 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2475 cat >>confdefs.h
<<_ACEOF
2476 #define PACKAGE_URL "$PACKAGE_URL"
2480 # Let the site file select an alternate cache file if it wants to.
2481 # Prefer an explicitly selected file to automatically selected ones.
2484 if test -n "$CONFIG_SITE"; then
2485 ac_site_file1
=$CONFIG_SITE
2486 elif test "x$prefix" != xNONE
; then
2487 ac_site_file1
=$prefix/share
/config.site
2488 ac_site_file2
=$prefix/etc
/config.site
2490 ac_site_file1
=$ac_default_prefix/share
/config.site
2491 ac_site_file2
=$ac_default_prefix/etc
/config.site
2493 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2495 test "x$ac_site_file" = xNONE
&& continue
2496 if test -r "$ac_site_file"; then
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2498 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2499 sed 's/^/| /' "$ac_site_file" >&5
2504 if test -r "$cache_file"; then
2505 # Some versions of bash will fail to source /dev/null (special
2506 # files actually), so we avoid doing that.
2507 if test -f "$cache_file"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2509 $as_echo "$as_me: loading cache $cache_file" >&6;}
2511 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2512 *) .
"./$cache_file";;
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2517 $as_echo "$as_me: creating cache $cache_file" >&6;}
2521 # Check that the precious variables saved in the cache have kept the same
2523 ac_cache_corrupted
=false
2524 for ac_var
in $ac_precious_vars; do
2525 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2526 eval ac_new_set
=\
$ac_env_${ac_var}_set
2527 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2528 eval ac_new_val
=\
$ac_env_${ac_var}_value
2529 case $ac_old_set,$ac_new_set in
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2532 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2533 ac_cache_corrupted
=: ;;
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2536 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2537 ac_cache_corrupted
=: ;;
2540 if test "x$ac_old_val" != "x$ac_new_val"; then
2541 # differences in whitespace do not lead to failure.
2542 ac_old_val_w
=`echo x $ac_old_val`
2543 ac_new_val_w
=`echo x $ac_new_val`
2544 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2546 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2547 ac_cache_corrupted
=:
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2550 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2551 eval $ac_var=\
$ac_old_val
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2554 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2556 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2559 # Pass precious variables to config.status.
2560 if test "$ac_new_set" = set; then
2562 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2563 *) ac_arg
=$ac_var=$ac_new_val ;;
2565 case " $ac_configure_args " in
2566 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2567 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2571 if $ac_cache_corrupted; then
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2575 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2576 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2578 ## -------------------- ##
2579 ## Main body of script. ##
2580 ## -------------------- ##
2583 ac_cpp
='$CPP $CPPFLAGS'
2584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2595 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2596 for ac_t
in install-sh
install.sh shtool
; do
2597 if test -f "$ac_dir/$ac_t"; then
2599 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2604 if test -z "$ac_aux_dir"; then
2605 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2608 # These three variables are undocumented and unsupported,
2609 # and are intended to be withdrawn in a future Autoconf release.
2610 # They can cause serious problems if a builder's source tree is in a directory
2611 # whose full name contains unusual characters.
2612 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2613 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2614 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2617 # Make sure we can run config.sub.
2618 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2619 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2622 $as_echo_n "checking build system type... " >&6; }
2623 if test "${ac_cv_build+set}" = set; then :
2624 $as_echo_n "(cached) " >&6
2626 ac_build_alias
=$build_alias
2627 test "x$ac_build_alias" = x
&&
2628 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2629 test "x$ac_build_alias" = x
&&
2630 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2631 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2632 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2636 $as_echo "$ac_cv_build" >&6; }
2637 case $ac_cv_build in
2639 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2642 ac_save_IFS
=$IFS; IFS
='-'
2648 # Remember, the first character of IFS is used to create $*,
2649 # except with old shells:
2652 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2656 $as_echo_n "checking host system type... " >&6; }
2657 if test "${ac_cv_host+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2660 if test "x$host_alias" = x
; then
2661 ac_cv_host
=$ac_cv_build
2663 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2664 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2669 $as_echo "$ac_cv_host" >&6; }
2672 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2675 ac_save_IFS
=$IFS; IFS
='-'
2681 # Remember, the first character of IFS is used to create $*,
2682 # except with old shells:
2685 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2689 $as_echo_n "checking target system type... " >&6; }
2690 if test "${ac_cv_target+set}" = set; then :
2691 $as_echo_n "(cached) " >&6
2693 if test "x$target_alias" = x
; then
2694 ac_cv_target
=$ac_cv_host
2696 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2697 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2702 $as_echo "$ac_cv_target" >&6; }
2703 case $ac_cv_target in
2705 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2707 target
=$ac_cv_target
2708 ac_save_IFS
=$IFS; IFS
='-'
2714 # Remember, the first character of IFS is used to create $*,
2715 # except with old shells:
2718 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2721 # The aliases save the names the user supplied, while $host etc.
2722 # will get canonicalized.
2723 test -n "$target_alias" &&
2724 test "$program_prefix$program_suffix$program_transform_name" = \
2726 program_prefix
=${target_alias}-
2728 am__api_version
='1.11'
2730 # Find a good install program. We prefer a C program (faster),
2731 # so one script is as good as another. But avoid the broken or
2732 # incompatible versions:
2733 # SysV /etc/install, /usr/sbin/install
2734 # SunOS /usr/etc/install
2735 # IRIX /sbin/install
2737 # AmigaOS /C/install, which installs bootblocks on floppy discs
2738 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2739 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2740 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2741 # OS/2's system install, which has a completely different semantic
2742 # ./install, which can be erroneously created by make from ./install.sh.
2743 # Reject install programs that cannot install multiple files.
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2745 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2746 if test -z "$INSTALL"; then
2747 if test "${ac_cv_path_install+set}" = set; then :
2748 $as_echo_n "(cached) " >&6
2750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir
=.
2755 # Account for people who put trailing slashes in PATH elements.
2756 case $as_dir/ in #((
2757 .
/ | .
// |
/[cC
]/* | \
2758 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2759 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2762 # OSF1 and SCO ODT 3.0 have their own names for install.
2763 # Don't use installbsd from OSF since it installs stuff as root
2765 for ac_prog
in ginstall scoinst
install; do
2766 for ac_exec_ext
in '' $ac_executable_extensions; do
2767 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2768 if test $ac_prog = install &&
2769 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2770 # AIX install. It has an incompatible calling convention.
2772 elif test $ac_prog = install &&
2773 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2774 # program-specific install script used by HP pwplus--don't use.
2777 rm -rf conftest.one conftest.two conftest.dir
2778 echo one
> conftest.one
2779 echo two
> conftest.two
2781 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2782 test -s conftest.one
&& test -s conftest.two
&&
2783 test -s conftest.dir
/conftest.one
&&
2784 test -s conftest.dir
/conftest.two
2786 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2799 rm -rf conftest.one conftest.two conftest.dir
2802 if test "${ac_cv_path_install+set}" = set; then
2803 INSTALL
=$ac_cv_path_install
2805 # As a last resort, use the slow shell script. Don't cache a
2806 # value for INSTALL within a source directory, because that will
2807 # break other packages using the cache if that directory is
2808 # removed, or if the value is a relative name.
2809 INSTALL
=$ac_install_sh
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2813 $as_echo "$INSTALL" >&6; }
2815 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2816 # It thinks the first close brace ends the variable substitution.
2817 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2819 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2821 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2824 $as_echo_n "checking whether build environment is sane... " >&6; }
2827 echo timestamp
> conftest.
file
2828 # Reject unsafe characters in $srcdir or the absolute working directory
2829 # name. Accept space and tab only in the latter.
2833 *[\\\"\
#\$\&\'\`$am_lf]*)
2834 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2837 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2838 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2841 # Do `set' in a subshell so we don't clobber the current shell's
2842 # arguments. Must try -L first in case configure is actually a
2843 # symlink; some systems play weird games with the mod time of symlinks
2844 # (eg FreeBSD returns the mod time of the symlink's containing
2847 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2848 if test "$*" = "X"; then
2850 set X
`ls -t "$srcdir/configure" conftest.file`
2853 if test "$*" != "X $srcdir/configure conftest.file" \
2854 && test "$*" != "X conftest.file $srcdir/configure"; then
2856 # If neither matched, then we have a broken ls. This can happen
2857 # if, for instance, CONFIG_SHELL is bash and it inherits a
2858 # broken ls alias from the environment. This has actually
2859 # happened. Such a system could not be considered "sane".
2860 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2861 alias in your environment" "$LINENO" 5
2864 test "$2" = conftest.
file
2870 as_fn_error
"newly created file is older than distributed files!
2871 Check your system clock" "$LINENO" 5
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2874 $as_echo "yes" >&6; }
2875 test "$program_prefix" != NONE
&&
2876 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2877 # Use a double $ so make ignores it.
2878 test "$program_suffix" != NONE
&&
2879 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2880 # Double any \ or $.
2881 # By default was `s,x,x', remove it if useless.
2882 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2883 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2885 # expand $ac_aux_dir to an absolute path
2886 am_aux_dir
=`cd $ac_aux_dir && pwd`
2888 if test x
"${MISSING+set}" != xset
; then
2891 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2893 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2896 # Use eval to expand $SHELL
2897 if eval "$MISSING --run true"; then
2898 am_missing_run
="$MISSING --run "
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2902 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2905 if test x
"${install_sh}" != xset
; then
2908 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2910 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2914 # Installed binaries are usually stripped using `strip' when the user
2915 # run `make install-strip'. However `strip' might not be the right
2916 # tool to use in cross-compilation environments, therefore Automake
2917 # will honor the `STRIP' environment variable to overrule this program.
2918 if test "$cross_compiling" != no
; then
2919 if test -n "$ac_tool_prefix"; then
2920 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2921 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if test "${ac_cv_prog_STRIP+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$STRIP"; then
2928 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir
=.
2935 for ac_exec_ext
in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 STRIP
=$ac_cv_prog_STRIP
2948 if test -n "$STRIP"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2950 $as_echo "$STRIP" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2958 if test -z "$ac_cv_prog_STRIP"; then
2960 # Extract the first word of "strip", so it can be a program name with args.
2961 set dummy strip
; ac_word
=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$ac_ct_STRIP"; then
2968 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir
=.
2975 for ac_exec_ext
in '' $ac_executable_extensions; do
2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977 ac_cv_prog_ac_ct_STRIP
="strip"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2988 if test -n "$ac_ct_STRIP"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2990 $as_echo "$ac_ct_STRIP" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2996 if test "x$ac_ct_STRIP" = x
; then
2999 case $cross_compiling:$ac_tool_warned in
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3003 ac_tool_warned
=yes ;;
3008 STRIP
="$ac_cv_prog_STRIP"
3012 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3015 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3016 if test -z "$MKDIR_P"; then
3017 if test "${ac_cv_path_mkdir+set}" = set; then :
3018 $as_echo_n "(cached) " >&6
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3021 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3024 test -z "$as_dir" && as_dir
=.
3025 for ac_prog
in mkdir gmkdir
; do
3026 for ac_exec_ext
in '' $ac_executable_extensions; do
3027 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3028 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3029 'mkdir (GNU coreutils) '* | \
3030 'mkdir (coreutils) '* | \
3031 'mkdir (fileutils) '4.1*)
3032 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3042 if test "${ac_cv_path_mkdir+set}" = set; then
3043 MKDIR_P
="$ac_cv_path_mkdir -p"
3045 # As a last resort, use the slow shell script. Don't cache a
3046 # value for MKDIR_P within a source directory, because that will
3047 # break other packages using the cache if that directory is
3048 # removed, or if the value is a relative name.
3049 test -d .
/--version && rmdir .
/--version
3050 MKDIR_P
="$ac_install_sh -d"
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3054 $as_echo "$MKDIR_P" >&6; }
3058 [\\/$
]* | ?
:[\\/]*) ;;
3059 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3062 for ac_prog
in gawk mawk nawk
awk
3064 # Extract the first word of "$ac_prog", so it can be a program name with args.
3065 set dummy
$ac_prog; ac_word
=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if test "${ac_cv_prog_AWK+set}" = set; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$AWK"; then
3072 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir
=.
3079 for ac_exec_ext
in '' $ac_executable_extensions; do
3080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081 ac_cv_prog_AWK
="$ac_prog"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 if test -n "$AWK"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3094 $as_echo "$AWK" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3101 test -n "$AWK" && break
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3105 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3107 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3108 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3109 $as_echo_n "(cached) " >&6
3111 cat >conftest.
make <<\_ACEOF
3114 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3116 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3117 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3119 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3121 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3125 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3127 $as_echo "yes" >&6; }
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131 $as_echo "no" >&6; }
3132 SET_MAKE
="MAKE=${MAKE-make}"
3135 rm -rf .tst
2>/dev
/null
3136 mkdir .tst
2>/dev
/null
3137 if test -d .tst
; then
3142 rmdir .tst
2>/dev
/null
3144 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3145 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3146 # is not polluted with repeated "-I."
3147 am__isrc
=' -I$(srcdir)'
3148 # test to see if srcdir already configured
3149 if test -f $srcdir/config.status
; then
3150 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3154 # test whether we have cygpath
3155 if test -z "$CYGPATH_W"; then
3156 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3157 CYGPATH_W
='cygpath -w'
3164 # Define the identity of the package.
3169 cat >>confdefs.h
<<_ACEOF
3170 #define PACKAGE "$PACKAGE"
3174 cat >>confdefs.h
<<_ACEOF
3175 #define VERSION "$VERSION"
3178 # Some tools Automake needs.
3180 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3183 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3186 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3189 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3192 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3194 # We need awk for the "check" target. The system "awk" is bad on
3196 # Always define AMTAR for backward compatibility.
3198 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3200 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3207 ac_config_headers
="$ac_config_headers config.h:config.in"
3211 # Check whether --with-sysroot was given.
3212 if test "${with_sysroot+set}" = set; then :
3213 withval
=$with_sysroot; sysroot
=$withval
3219 if test "$sysroot" = "yes"; then
3220 sysroot
='${exec_prefix}/${target_alias}/sys-root'
3221 elif test "$sysroot" = "no"; then
3225 sysroot_relocatable
=0
3226 if test -n "$sysroot"; then
3228 "${prefix}" |
"${prefix}/"* | \
3229 "${exec_prefix}" |
"${exec_prefix}/"* | \
3230 '${prefix}' |
'${prefix}/'*| \
3231 '${exec_prefix}' |
'${exec_prefix}/'*)
3232 sysroot_relocatable
=1
3238 cat >>confdefs.h
<<_ACEOF
3239 #define TARGET_SYSTEM_ROOT "$sysroot"
3243 cat >>confdefs.h
<<_ACEOF
3244 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3248 # Check whether --enable-gold was given.
3249 if test "${enable_gold+set}" = set; then :
3250 enableval
=$enable_gold; case "${enableval}" in
3252 install_as_default
=gold
3256 install_as_default
=yes
3257 installed_linker
=ld.gold
3260 install_as_default
=no
3261 installed_linker
=ld.gold
3264 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
3268 install_as_default
=gold
3275 # Check whether --enable-threads was given.
3276 if test "${enable_threads+set}" = set; then :
3277 enableval
=$enable_threads; case "${enableval}" in
3278 yes |
"") threads
=yes ;;
3286 if test "$threads" = "yes"; then
3288 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3291 if test "$threads" = "yes"; then
3300 # Check whether --enable-plugins was given.
3301 if test "${enable_plugins+set}" = set; then :
3302 enableval
=$enable_plugins; case "${enableval}" in
3303 yes |
"") plugins
=yes ;;
3311 if test "$plugins" = "yes"; then
3313 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3316 if test "$plugins" = "yes"; then
3325 # Check whether --enable-targets was given.
3326 if test "${enable_targets+set}" = set; then :
3327 enableval
=$enable_targets; case "${enableval}" in
3329 as_fn_error
"--enable-targets option must specify target names or 'all'" "$LINENO" 5
3335 enable_targets
=$enableval
3339 # For now, enable all targets by default
3345 # Canonicalize the enabled targets.
3346 if test -n "$enable_targets"; then
3347 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
3348 result
=`$ac_config_sub $targ 2>/dev/null`
3349 if test -n "$result"; then
3350 canon_targets
="$canon_targets $result"
3352 # Permit unrecognized target names, like "all".
3353 canon_targets
="$canon_targets $targ"
3358 # See which specific instantiations we need.
3364 default_osabi
=ELFOSABI_NONE
3369 for targ
in $target $canon_targets; do
3370 if test "$targ" = "all"; then
3377 .
${srcdir}/configure.tgt
3379 if test "$targ_obj" = "UNKNOWN"; then
3380 as_fn_error
"\"unsupported target $targ\"" "$LINENO" 5
3382 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
3383 if test "$targ_extra_obj" != ""; then
3384 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3386 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3387 if test "$targ_big_endian" = "true" \
3388 -o "$targ_extra_big_endian" = "true"; then
3391 if test "$targ_big_endian" = "false" \
3392 -o "$targ_extra_big_endian" = "false"; then
3396 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3397 if test "$targ_big_endian" = "true" \
3398 -o "$targ_extra_big_endian" = "true"; then
3401 if test "$targ_big_endian" = "false" \
3402 -o "$targ_extra_big_endian" = "false"; then
3407 if test "$target" = "$targ"; then
3408 default_machine
=$targ_machine
3409 default_size
=$targ_size
3410 default_big_endian
=$targ_big_endian
3411 default_osabi
=$targ_osabi
3413 if test "$targ_obj" = "arm"; then
3414 DEFAULT_TARGET_ARM_TRUE
=
3415 DEFAULT_TARGET_ARM_FALSE
='#'
3417 DEFAULT_TARGET_ARM_TRUE
='#'
3418 DEFAULT_TARGET_ARM_FALSE
=
3421 if test "$targ_obj" = "i386"; then
3422 DEFAULT_TARGET_I386_TRUE
=
3423 DEFAULT_TARGET_I386_FALSE
='#'
3425 DEFAULT_TARGET_I386_TRUE
='#'
3426 DEFAULT_TARGET_I386_FALSE
=
3429 if test "$targ_obj" = "powerpc"; then
3430 DEFAULT_TARGET_POWERPC_TRUE
=
3431 DEFAULT_TARGET_POWERPC_FALSE
='#'
3433 DEFAULT_TARGET_POWERPC_TRUE
='#'
3434 DEFAULT_TARGET_POWERPC_FALSE
=
3437 if test "$targ_obj" = "sparc"; then
3438 DEFAULT_TARGET_SPARC_TRUE
=
3439 DEFAULT_TARGET_SPARC_FALSE
='#'
3441 DEFAULT_TARGET_SPARC_TRUE
='#'
3442 DEFAULT_TARGET_SPARC_FALSE
=
3445 if test "$targ_obj" = "x86_64"; then
3446 DEFAULT_TARGET_X86_64_TRUE
=
3447 DEFAULT_TARGET_X86_64_FALSE
='#'
3449 DEFAULT_TARGET_X86_64_TRUE
='#'
3450 DEFAULT_TARGET_X86_64_FALSE
=
3458 # Remove any duplicates.
3460 for t
in $targetobjs; do
3468 if test -n "$targ_32_little"; then
3470 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3473 if test -n "$targ_32_big"; then
3475 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3478 if test -n "$targ_64_little"; then
3480 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3483 if test -n "$targ_64_big"; then
3485 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3489 if test -n "$all_targets"; then
3490 TARGETOBJS
='$(ALL_TARGETOBJS)'
3492 TARGETOBJS
="$targetobjs"
3497 cat >>confdefs.h
<<_ACEOF
3498 #define GOLD_DEFAULT_MACHINE $default_machine
3502 cat >>confdefs.h
<<_ACEOF
3503 #define GOLD_DEFAULT_SIZE $default_size
3507 cat >>confdefs.h
<<_ACEOF
3508 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3512 cat >>confdefs.h
<<_ACEOF
3513 #define GOLD_DEFAULT_OSABI $default_osabi
3518 ac_cpp
='$CPP $CPPFLAGS'
3519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3522 if test -n "$ac_tool_prefix"; then
3523 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3524 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if test "${ac_cv_prog_CC+set}" = set; then :
3528 $as_echo_n "(cached) " >&6
3530 if test -n "$CC"; then
3531 ac_cv_prog_CC
="$CC" # Let the user override the test.
3533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir
=.
3538 for ac_exec_ext
in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 if test -n "$CC"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3553 $as_echo "$CC" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3561 if test -z "$ac_cv_prog_CC"; then
3563 # Extract the first word of "gcc", so it can be a program name with args.
3564 set dummy gcc
; ac_word
=$2
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 $as_echo_n "checking for $ac_word... " >&6; }
3567 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3568 $as_echo_n "(cached) " >&6
3570 if test -n "$ac_ct_CC"; then
3571 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir
=.
3578 for ac_exec_ext
in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_prog_ac_ct_CC
="gcc"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3591 if test -n "$ac_ct_CC"; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3593 $as_echo "$ac_ct_CC" >&6; }
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3599 if test "x$ac_ct_CC" = x
; then
3602 case $cross_compiling:$ac_tool_warned in
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3606 ac_tool_warned
=yes ;;
3614 if test -z "$CC"; then
3615 if test -n "$ac_tool_prefix"; then
3616 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3617 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if test "${ac_cv_prog_CC+set}" = set; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$CC"; then
3624 ac_cv_prog_CC
="$CC" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3633 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 if test -n "$CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646 $as_echo "$CC" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3655 if test -z "$CC"; then
3656 # Extract the first word of "cc", so it can be a program name with args.
3657 set dummy cc
; ac_word
=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if test "${ac_cv_prog_CC+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$CC"; then
3664 ac_cv_prog_CC
="$CC" # Let the user override the test.
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_exec_ext
in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3675 ac_prog_rejected
=yes
3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3686 if test $ac_prog_rejected = yes; then
3687 # We found a bogon in the path, so make sure we never use it.
3688 set dummy
$ac_cv_prog_CC
3690 if test $# != 0; then
3691 # We chose a different compiler from the bogus one.
3692 # However, it has the same basename, so the bogon will be chosen
3693 # first if we set CC to just the basename; use the full file name.
3695 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3701 if test -n "$CC"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3703 $as_echo "$CC" >&6; }
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706 $as_echo "no" >&6; }
3711 if test -z "$CC"; then
3712 if test -n "$ac_tool_prefix"; then
3713 for ac_prog
in cl.exe
3715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3716 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if test "${ac_cv_prog_CC+set}" = set; then :
3720 $as_echo_n "(cached) " >&6
3722 if test -n "$CC"; then
3723 ac_cv_prog_CC
="$CC" # Let the user override the test.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_exec_ext
in '' $ac_executable_extensions; do
3731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3732 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 if test -n "$CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3745 $as_echo "$CC" >&6; }
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3752 test -n "$CC" && break
3755 if test -z "$CC"; then
3757 for ac_prog
in cl.exe
3759 # Extract the first word of "$ac_prog", so it can be a program name with args.
3760 set dummy
$ac_prog; ac_word
=$2
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3762 $as_echo_n "checking for $ac_word... " >&6; }
3763 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3764 $as_echo_n "(cached) " >&6
3766 if test -n "$ac_ct_CC"; then
3767 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3773 test -z "$as_dir" && as_dir
=.
3774 for ac_exec_ext
in '' $ac_executable_extensions; do
3775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3776 ac_cv_prog_ac_ct_CC
="$ac_prog"
3777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3787 if test -n "$ac_ct_CC"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3789 $as_echo "$ac_ct_CC" >&6; }
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 $as_echo "no" >&6; }
3796 test -n "$ac_ct_CC" && break
3799 if test "x$ac_ct_CC" = x
; then
3802 case $cross_compiling:$ac_tool_warned in
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3806 ac_tool_warned
=yes ;;
3815 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3817 as_fn_error
"no acceptable C compiler found in \$PATH
3818 See \`config.log' for more details." "$LINENO" 5; }
3820 # Provide some information about the compiler.
3821 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3824 for ac_option
in --version -v -V -qversion; do
3825 { { ac_try
="$ac_compiler $ac_option >&5"
3827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3828 *) ac_try_echo=$ac_try;;
3830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3831 $as_echo "$ac_try_echo"; } >&5
3832 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3834 if test -s conftest.err; then
3836 ... rest of stderr output deleted ...
3837 10q' conftest.err >conftest.er1
3838 cat conftest.er1 >&5
3839 rm -f conftest.er1 conftest.err
3841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3842 test $ac_status = 0; }
3845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3856 ac_clean_files_save=$ac_clean_files
3857 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3858 # Try to create an executable without -o first, disregard a.out.
3859 # It will help us diagnose broken compilers, and finding out an intuition
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3862 $as_echo_n "checking for C compiler default output file name... " >&6; }
3863 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3865 # The possible output files:
3866 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3869 for ac_file in $ac_files
3872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3873 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3878 if { { ac_try="$ac_link_default"
3880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3881 *) ac_try_echo
=$ac_try;;
3883 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3884 $as_echo "$ac_try_echo"; } >&5
3885 (eval "$ac_link_default") 2>&5
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }; then :
3889 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3890 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3891 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3892 # so that the user can short-circuit this test for compilers unknown to
3894 for ac_file
in $ac_files ''
3896 test -f "$ac_file" ||
continue
3898 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3901 # We found the default executable, but exeext='' is most
3905 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3907 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3909 # We set ac_cv_exeext here because the later test for it is not
3910 # safe: cross compilers may not add the suffix if given an `-o'
3911 # argument, so we may need to know it at that point already.
3912 # Even if this section looks crufty: it has the advantage of
3919 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3925 $as_echo "$ac_file" >&6; }
3926 if test -z "$ac_file"; then :
3927 $as_echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.
$ac_ext >&5
3930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3932 { as_fn_set_status
77
3933 as_fn_error
"C compiler cannot create executables
3934 See \`config.log' for more details." "$LINENO" 5; }; }
3936 ac_exeext
=$ac_cv_exeext
3938 # Check that the compiler produces executables we can run. If not, either
3939 # the compiler is broken, or we cross compile.
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3941 $as_echo_n "checking whether the C compiler works... " >&6; }
3942 # If not cross compiling, check that we can run a simple program.
3943 if test "$cross_compiling" != yes; then
3944 if { ac_try
='./$ac_file'
3945 { { case "(($ac_try" in
3946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3947 *) ac_try_echo=$ac_try;;
3949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3950 $as_echo "$ac_try_echo"; } >&5
3951 (eval "$ac_try") 2>&5
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }; }; then
3957 if test "$cross_compiling" = maybe; then
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error "cannot run C compiled programs.
3963 If you meant to cross compile
, use \
`--host'.
3964 See \`config.log
' for more details." "$LINENO" 5; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3969 $as_echo "yes" >&6; }
3971 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3972 ac_clean_files=$ac_clean_files_save
3973 # Check that the compiler produces executables we can run. If not, either
3974 # the compiler is broken, or we cross compile.
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3976 $as_echo_n "checking whether we are cross compiling... " >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3978 $as_echo "$cross_compiling" >&6; }
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3981 $as_echo_n "checking for suffix of executables... " >&6; }
3982 if { { ac_try="$ac_link"
3984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3985 *) ac_try_echo=$ac_try;;
3987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3988 $as_echo "$ac_try_echo"; } >&5
3989 (eval "$ac_link") 2>&5
3991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3992 test $ac_status = 0; }; then :
3993 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3994 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3995 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3997 for ac_file
in conftest.exe conftest conftest.
*; do
3998 test -f "$ac_file" ||
continue
4000 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4001 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4010 See \`config.log' for more details." "$LINENO" 5; }
4012 rm -f conftest
$ac_cv_exeext
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4014 $as_echo "$ac_cv_exeext" >&6; }
4016 rm -f conftest.
$ac_ext
4017 EXEEXT
=$ac_cv_exeext
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4020 $as_echo_n "checking for suffix of object files... " >&6; }
4021 if test "${ac_cv_objext+set}" = set; then :
4022 $as_echo_n "(cached) " >&6
4024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4035 rm -f conftest.o conftest.obj
4036 if { { ac_try
="$ac_compile"
4038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_compile") 2>&5
4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; }; then :
4047 for ac_file in conftest.o conftest.obj conftest.*; do
4048 test -f "$ac_file" || continue;
4050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4051 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4056 $as_echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4061 as_fn_error "cannot compute suffix of object files
: cannot compile
4062 See \
`config.log' for more details." "$LINENO" 5; }
4064 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4067 $as_echo "$ac_cv_objext" >&6; }
4068 OBJEXT=$ac_cv_objext
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4071 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4072 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4089 if ac_fn_c_try_compile "$LINENO"; then :
4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4099 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4100 if test $ac_compiler_gnu = yes; then
4105 ac_test_CFLAGS=${CFLAGS+set}
4106 ac_save_CFLAGS=$CFLAGS
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4108 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4109 if test "${ac_cv_prog_cc_g+set}" = set; then :
4110 $as_echo_n "(cached) " >&6
4112 ac_save_c_werror_flag=$ac_c_werror_flag
4113 ac_c_werror_flag=yes
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4127 if ac_fn_c_try_compile "$LINENO"; then :
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4142 if ac_fn_c_try_compile "$LINENO"; then :
4145 ac_c_werror_flag=$ac_save_c_werror_flag
4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4158 if ac_fn_c_try_compile "$LINENO"; then :
4161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4166 ac_c_werror_flag=$ac_save_c_werror_flag
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4169 $as_echo "$ac_cv_prog_cc_g" >&6; }
4170 if test "$ac_test_CFLAGS" = set; then
4171 CFLAGS=$ac_save_CFLAGS
4172 elif test $ac_cv_prog_cc_g = yes; then
4173 if test "$GCC" = yes; then
4179 if test "$GCC" = yes; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4186 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4187 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4188 $as_echo_n "(cached) " >&6
4190 ac_cv_prog_cc_c89=no
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4196 #include <sys/types.h>
4197 #include <sys/stat.h>
4198 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4199 struct buf { int x; };
4200 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4201 static char *e (p, i)
4207 static char *f (char * (*g) (char **, int), char **p, ...)
4212 s = g (p, va_arg (v,int));
4217 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4218 function prototypes and stuff, but not '\xHH' hex character constants.
4219 These don't provoke an error unfortunately, instead are silently treated
4220 as 'x'. The following induces an error, until -std is added to get
4221 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4222 array size at least. It's necessary to write '\x00'==0 to get something
4223 that's true only with -std. */
4224 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4226 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4227 inside strings and character constants. */
4229 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4231 int test (int i, double x);
4232 struct s1 {int (*f) (int a);};
4233 struct s2 {int (*f) (double a);};
4234 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4240 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4245 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4246 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4248 CC="$ac_save_CC $ac_arg"
4249 if ac_fn_c_try_compile "$LINENO"; then :
4250 ac_cv_prog_cc_c89=$ac_arg
4252 rm -f core conftest.err conftest.$ac_objext
4253 test "x$ac_cv_prog_cc_c89" != "xno" && break
4255 rm -f conftest.$ac_ext
4260 case "x$ac_cv_prog_cc_c89" in
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4263 $as_echo "none needed" >&6; } ;;
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4266 $as_echo "unsupported" >&6; } ;;
4268 CC="$CC $ac_cv_prog_cc_c89"
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4270 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4272 if test "x$ac_cv_prog_cc_c89" != xno; then :
4277 ac_cpp='$CPP $CPPFLAGS'
4278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4281 DEPDIR="${am__leading_dot}deps"
4283 ac_config_commands="$ac_config_commands depfiles"
4286 am_make=${MAKE-make}
4287 cat > confinc << 'END'
4289 @echo this is the am__doit target
4292 # If we don't find an include directive, just comment out the code.
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4294 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4298 # First try GNU make style include.
4299 echo "include confinc" > confmf
4300 # Ignore all kinds of additional output from `make'.
4301 case `$am_make -s -f confmf 2> /dev/null` in #(
4302 *the\ am__doit\ target*)
4308 # Now try BSD make style include.
4309 if test "$am__include" = "#"; then
4310 echo '.include
"confinc"' > confmf
4311 case `$am_make -s -f confmf 2> /dev/null` in #(
4312 *the\ am__doit\ target*)
4313 am__include=.include
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4322 $as_echo "$_am_result" >&6; }
4323 rm -f confinc confmf
4325 # Check whether --enable-dependency-tracking was given.
4326 if test "${enable_dependency_tracking+set}" = set; then :
4327 enableval=$enable_dependency_tracking;
4330 if test "x$enable_dependency_tracking" != xno; then
4331 am_depcomp="$ac_aux_dir/depcomp"
4334 if test "x$enable_dependency_tracking" != xno
; then
4344 depcc
="$CC" am_compiler_list
=
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4347 $as_echo_n "checking dependency style of $depcc... " >&6; }
4348 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4349 $as_echo_n "(cached) " >&6
4351 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4352 # We make a subdir and do the tests there. Otherwise we can end up
4353 # making bogus files that we don't know about and never remove. For
4354 # instance it was reported that on HP-UX the gcc test will end up
4355 # making a dummy file named `D' -- because `-MD' means `put the output
4358 # Copy depcomp to subdir because otherwise we won't find it if we're
4359 # using a relative directory.
4360 cp "$am_depcomp" conftest.dir
4362 # We will build objects and dependencies in a subdirectory because
4363 # it helps to detect inapplicable dependency modes. For instance
4364 # both Tru64's cc and ICC support -MD to output dependencies as a
4365 # side effect of compilation, but ICC will put the dependencies in
4366 # the current directory while Tru64 will put them in the object
4370 am_cv_CC_dependencies_compiler_type
=none
4371 if test "$am_compiler_list" = ""; then
4372 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4375 case " $depcc " in #(
4376 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4379 for depmode
in $am_compiler_list; do
4380 # Setup a source with many dependencies, because some compilers
4381 # like to wrap large dependency lists on column 80 (with \), and
4382 # we should not choose a depcomp mode which is confused by this.
4384 # We need to recreate these files for each test, as the compiler may
4385 # overwrite some of them when testing with obscure command lines.
4386 # This happens at least with the AIX C compiler.
4388 for i
in 1 2 3 4 5 6; do
4389 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4390 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4391 # Solaris 8's {/usr,}/bin/sh.
4392 touch sub
/conftst
$i.h
4394 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4396 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4397 # mode. It turns out that the SunPro C++ compiler does not properly
4398 # handle `-M -o', and we need to detect this. Also, some Intel
4399 # versions had trouble with output in subdirs
4400 am__obj
=sub
/conftest.
${OBJEXT-o}
4401 am__minus_obj
="-o $am__obj"
4404 # This depmode causes a compiler race in universal mode.
4405 test "$am__universal" = false ||
continue
4408 # after this tag, mechanisms are not by side-effect, so they'll
4409 # only be used when explicitly requested
4410 if test "x$enable_dependency_tracking" = xyes
; then
4416 msvisualcpp | msvcmsys
)
4417 # This compiler won't grok `-c -o', but also, the minuso test has
4418 # not run yet. These depmodes are late enough in the game, and
4419 # so weak that their functioning should not be impacted.
4420 am__obj
=conftest.
${OBJEXT-o}
4425 if depmode
=$depmode \
4426 source=sub
/conftest.c object
=$am__obj \
4427 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4428 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4429 >/dev
/null
2>conftest.err
&&
4430 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4431 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4432 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4433 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4434 # icc doesn't choke on unknown options, it will just issue warnings
4435 # or remarks (even with -Werror). So we grep stderr for any message
4436 # that says an option was ignored or not supported.
4437 # When given -MP, icc 7.0 and 7.1 complain thusly:
4438 # icc: Command line warning: ignoring option '-M'; no argument required
4439 # The diagnosis changed in icc 8.0:
4440 # icc: Command line remark: option '-MP' not supported
4441 if (grep 'ignoring option' conftest.err ||
4442 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4443 am_cv_CC_dependencies_compiler_type
=$depmode
4452 am_cv_CC_dependencies_compiler_type
=none
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4457 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4458 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4461 test "x$enable_dependency_tracking" != xno \
4462 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4464 am__fastdepCC_FALSE
='#'
4466 am__fastdepCC_TRUE
='#'
4467 am__fastdepCC_FALSE
=
4472 ac_cpp
='$CXXCPP $CPPFLAGS'
4473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4476 if test -z "$CXX"; then
4477 if test -n "$CCC"; then
4480 if test -n "$ac_tool_prefix"; then
4481 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4484 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if test "${ac_cv_prog_CXX+set}" = set; then :
4488 $as_echo_n "(cached) " >&6
4490 if test -n "$CXX"; then
4491 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir
=.
4498 for ac_exec_ext
in '' $ac_executable_extensions; do
4499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4500 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 if test -n "$CXX"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4513 $as_echo "$CXX" >&6; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4520 test -n "$CXX" && break
4523 if test -z "$CXX"; then
4525 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4527 # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy
$ac_prog; ac_word
=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4532 $as_echo_n "(cached) " >&6
4534 if test -n "$ac_ct_CXX"; then
4535 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir
=.
4542 for ac_exec_ext
in '' $ac_executable_extensions; do
4543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4544 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4555 if test -n "$ac_ct_CXX"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4557 $as_echo "$ac_ct_CXX" >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560 $as_echo "no" >&6; }
4564 test -n "$ac_ct_CXX" && break
4567 if test "x$ac_ct_CXX" = x
; then
4570 case $cross_compiling:$ac_tool_warned in
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4574 ac_tool_warned
=yes ;;
4582 # Provide some information about the compiler.
4583 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4586 for ac_option
in --version -v -V -qversion; do
4587 { { ac_try
="$ac_compiler $ac_option >&5"
4589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4590 *) ac_try_echo=$ac_try;;
4592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4593 $as_echo "$ac_try_echo"; } >&5
4594 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4596 if test -s conftest.err; then
4598 ... rest of stderr output deleted ...
4599 10q' conftest.err >conftest.er1
4600 cat conftest.er1 >&5
4601 rm -f conftest.er1 conftest.err
4603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4604 test $ac_status = 0; }
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4608 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4609 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4626 if ac_fn_cxx_try_compile "$LINENO"; then :
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4636 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4637 if test $ac_compiler_gnu = yes; then
4642 ac_test_CXXFLAGS=${CXXFLAGS+set}
4643 ac_save_CXXFLAGS=$CXXFLAGS
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4645 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4646 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4647 $as_echo_n "(cached) " >&6
4649 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4650 ac_cxx_werror_flag=yes
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4664 if ac_fn_cxx_try_compile "$LINENO"; then :
4665 ac_cv_prog_cxx_g=yes
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4679 if ac_fn_cxx_try_compile "$LINENO"; then :
4682 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4695 if ac_fn_cxx_try_compile "$LINENO"; then :
4696 ac_cv_prog_cxx_g=yes
4698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4703 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4706 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4707 if test "$ac_test_CXXFLAGS" = set; then
4708 CXXFLAGS=$ac_save_CXXFLAGS
4709 elif test $ac_cv_prog_cxx_g = yes; then
4710 if test "$GXX" = yes; then
4716 if test "$GXX" = yes; then
4723 ac_cpp='$CPP $CPPFLAGS'
4724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4728 depcc="$CXX" am_compiler_list=
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4731 $as_echo_n "checking dependency style of $depcc... " >&6; }
4732 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4733 $as_echo_n "(cached) " >&6
4735 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4736 # We make a subdir and do the tests there. Otherwise we can end up
4737 # making bogus files that we don't know about and never remove. For
4738 # instance it was reported that on HP-UX the gcc test will end up
4739 # making a dummy file named `D
' -- because `-MD' means
`put the output
4742 # Copy depcomp to subdir because otherwise we won't find it if we're
4743 # using a relative directory.
4744 cp "$am_depcomp" conftest.dir
4746 # We will build objects and dependencies in a subdirectory because
4747 # it helps to detect inapplicable dependency modes. For instance
4748 # both Tru64's cc and ICC support -MD to output dependencies as a
4749 # side effect of compilation, but ICC will put the dependencies in
4750 # the current directory while Tru64 will put them in the object
4754 am_cv_CXX_dependencies_compiler_type=none
4755 if test "$am_compiler_list" = ""; then
4756 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4759 case " $depcc " in #(
4760 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4763 for depmode in $am_compiler_list; do
4764 # Setup a source with many dependencies, because some compilers
4765 # like to wrap large dependency lists on column 80 (with \), and
4766 # we should not choose a depcomp mode which is confused by this.
4768 # We need to recreate these files for each test, as the compiler may
4769 # overwrite some of them when testing with obscure command lines.
4770 # This happens at least with the AIX C compiler.
4772 for i in 1 2 3 4 5 6; do
4773 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4774 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4775 # Solaris 8's
{/usr
,}/bin
/sh.
4776 touch sub
/conftst
$i.h
4778 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4780 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4781 # mode. It turns out that the SunPro C++ compiler does not properly
4782 # handle `-M -o', and we need to detect this. Also, some Intel
4783 # versions had trouble with output in subdirs
4784 am__obj
=sub
/conftest.
${OBJEXT-o}
4785 am__minus_obj
="-o $am__obj"
4788 # This depmode causes a compiler race in universal mode.
4789 test "$am__universal" = false ||
continue
4792 # after this tag, mechanisms are not by side-effect, so they'll
4793 # only be used when explicitly requested
4794 if test "x$enable_dependency_tracking" = xyes
; then
4800 msvisualcpp | msvcmsys
)
4801 # This compiler won't grok `-c -o', but also, the minuso test has
4802 # not run yet. These depmodes are late enough in the game, and
4803 # so weak that their functioning should not be impacted.
4804 am__obj
=conftest.
${OBJEXT-o}
4809 if depmode
=$depmode \
4810 source=sub
/conftest.c object
=$am__obj \
4811 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4812 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4813 >/dev
/null
2>conftest.err
&&
4814 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4815 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4816 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4817 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4818 # icc doesn't choke on unknown options, it will just issue warnings
4819 # or remarks (even with -Werror). So we grep stderr for any message
4820 # that says an option was ignored or not supported.
4821 # When given -MP, icc 7.0 and 7.1 complain thusly:
4822 # icc: Command line warning: ignoring option '-M'; no argument required
4823 # The diagnosis changed in icc 8.0:
4824 # icc: Command line remark: option '-MP' not supported
4825 if (grep 'ignoring option' conftest.err ||
4826 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4827 am_cv_CXX_dependencies_compiler_type
=$depmode
4836 am_cv_CXX_dependencies_compiler_type
=none
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4841 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4842 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4845 test "x$enable_dependency_tracking" != xno \
4846 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4847 am__fastdepCXX_TRUE
=
4848 am__fastdepCXX_FALSE
='#'
4850 am__fastdepCXX_TRUE
='#'
4851 am__fastdepCXX_FALSE
=
4855 for ac_prog
in 'bison -y' byacc
4857 # Extract the first word of "$ac_prog", so it can be a program name with args.
4858 set dummy
$ac_prog; ac_word
=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if test "${ac_cv_prog_YACC+set}" = set; then :
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$YACC"; then
4865 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir
=.
4872 for ac_exec_ext
in '' $ac_executable_extensions; do
4873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4874 ac_cv_prog_YACC
="$ac_prog"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 YACC
=$ac_cv_prog_YACC
4885 if test -n "$YACC"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4887 $as_echo "$YACC" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4894 test -n "$YACC" && break
4896 test -n "$YACC" || YACC
="yacc"
4898 if test -n "$ac_tool_prefix"; then
4899 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4900 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4902 $as_echo_n "checking for $ac_word... " >&6; }
4903 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4904 $as_echo_n "(cached) " >&6
4906 if test -n "$RANLIB"; then
4907 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4913 test -z "$as_dir" && as_dir
=.
4914 for ac_exec_ext
in '' $ac_executable_extensions; do
4915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4916 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4926 RANLIB
=$ac_cv_prog_RANLIB
4927 if test -n "$RANLIB"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4929 $as_echo "$RANLIB" >&6; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4937 if test -z "$ac_cv_prog_RANLIB"; then
4938 ac_ct_RANLIB
=$RANLIB
4939 # Extract the first word of "ranlib", so it can be a program name with args.
4940 set dummy ranlib
; ac_word
=$2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 $as_echo_n "checking for $ac_word... " >&6; }
4943 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -n "$ac_ct_RANLIB"; then
4947 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4953 test -z "$as_dir" && as_dir
=.
4954 for ac_exec_ext
in '' $ac_executable_extensions; do
4955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4956 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4967 if test -n "$ac_ct_RANLIB"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4969 $as_echo "$ac_ct_RANLIB" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4975 if test "x$ac_ct_RANLIB" = x
; then
4978 case $cross_compiling:$ac_tool_warned in
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4982 ac_tool_warned
=yes ;;
4984 RANLIB
=$ac_ct_RANLIB
4987 RANLIB
="$ac_cv_prog_RANLIB"
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4992 $as_echo_n "checking whether ln -s works... " >&6; }
4994 if test "$LN_S" = "ln -s"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4996 $as_echo "yes" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4999 $as_echo "no, using $LN_S" >&6; }
5005 ac_cpp
='$CPP $CPPFLAGS'
5006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5010 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5011 # On Suns, sometimes $CPP names a directory.
5012 if test -n "$CPP" && test -d "$CPP"; then
5015 if test -z "$CPP"; then
5016 if test "${ac_cv_prog_CPP+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5019 # Double quotes because CPP needs to be expanded
5020 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5023 for ac_c_preproc_warn_flag
in '' yes
5025 # Use a header file that comes with gcc, so configuring glibc
5026 # with a fresh cross-compiler works.
5027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5028 # <limits.h> exists even on freestanding compilers.
5029 # On the NeXT, cc -E runs the code through the compiler's parser,
5030 # not just through cpp. "Syntax error" is here to catch this case.
5031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5034 # include <limits.h>
5036 # include <assert.h>
5040 if ac_fn_c_try_cpp
"$LINENO"; then :
5043 # Broken: fails on valid input.
5046 rm -f conftest.err conftest.
$ac_ext
5048 # OK, works on sane cases. Now check whether nonexistent headers
5049 # can be detected and how.
5050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5052 #include <ac_nonexistent.h>
5054 if ac_fn_c_try_cpp
"$LINENO"; then :
5055 # Broken: success on invalid input.
5058 # Passes both tests.
5062 rm -f conftest.err conftest.
$ac_ext
5065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5066 rm -f conftest.err conftest.
$ac_ext
5067 if $ac_preproc_ok; then :
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5080 $as_echo "$CPP" >&6; }
5082 for ac_c_preproc_warn_flag
in '' yes
5084 # Use a header file that comes with gcc, so configuring glibc
5085 # with a fresh cross-compiler works.
5086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5087 # <limits.h> exists even on freestanding compilers.
5088 # On the NeXT, cc -E runs the code through the compiler's parser,
5089 # not just through cpp. "Syntax error" is here to catch this case.
5090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5091 /* end confdefs.h. */
5093 # include <limits.h>
5095 # include <assert.h>
5099 if ac_fn_c_try_cpp
"$LINENO"; then :
5102 # Broken: fails on valid input.
5105 rm -f conftest.err conftest.
$ac_ext
5107 # OK, works on sane cases. Now check whether nonexistent headers
5108 # can be detected and how.
5109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5111 #include <ac_nonexistent.h>
5113 if ac_fn_c_try_cpp
"$LINENO"; then :
5114 # Broken: success on invalid input.
5117 # Passes both tests.
5121 rm -f conftest.err conftest.
$ac_ext
5124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5125 rm -f conftest.err conftest.
$ac_ext
5126 if $ac_preproc_ok; then :
5129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5131 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5132 See \`config.log' for more details." "$LINENO" 5; }
5136 ac_cpp
='$CPP $CPPFLAGS'
5137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5143 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5144 if test "${ac_cv_path_GREP+set}" = set; then :
5145 $as_echo_n "(cached) " >&6
5147 if test -z "$GREP"; then
5148 ac_path_GREP_found
=false
5149 # Loop through the user's path and test for each of PROGNAME-LIST
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5151 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_prog
in grep ggrep
; do
5156 for ac_exec_ext
in '' $ac_executable_extensions; do
5157 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5158 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5159 # Check for GNU ac_path_GREP and select it if it is found.
5160 # Check for GNU $ac_path_GREP
5161 case `"$ac_path_GREP" --version 2>&1` in
5163 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5166 $as_echo_n 0123456789 >"conftest.in"
5169 cat "conftest.in" "conftest.in" >"conftest.tmp"
5170 mv "conftest.tmp" "conftest.in"
5171 cp "conftest.in" "conftest.nl"
5172 $as_echo 'GREP' >> "conftest.nl"
5173 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5174 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5175 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5176 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5177 # Best one so far, save it but keep looking for a better one
5178 ac_cv_path_GREP
="$ac_path_GREP"
5179 ac_path_GREP_max
=$ac_count
5181 # 10*(2^10) chars as input seems more than enough
5182 test $ac_count -gt 10 && break
5184 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5187 $ac_path_GREP_found && break 3
5192 if test -z "$ac_cv_path_GREP"; then
5193 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5196 ac_cv_path_GREP
=$GREP
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5201 $as_echo "$ac_cv_path_GREP" >&6; }
5202 GREP
="$ac_cv_path_GREP"
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5206 $as_echo_n "checking for egrep... " >&6; }
5207 if test "${ac_cv_path_EGREP+set}" = set; then :
5208 $as_echo_n "(cached) " >&6
5210 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5211 then ac_cv_path_EGREP
="$GREP -E"
5213 if test -z "$EGREP"; then
5214 ac_path_EGREP_found
=false
5215 # Loop through the user's path and test for each of PROGNAME-LIST
5216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5217 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5220 test -z "$as_dir" && as_dir
=.
5221 for ac_prog
in egrep; do
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5225 # Check for GNU ac_path_EGREP and select it if it is found.
5226 # Check for GNU $ac_path_EGREP
5227 case `"$ac_path_EGREP" --version 2>&1` in
5229 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5232 $as_echo_n 0123456789 >"conftest.in"
5235 cat "conftest.in" "conftest.in" >"conftest.tmp"
5236 mv "conftest.tmp" "conftest.in"
5237 cp "conftest.in" "conftest.nl"
5238 $as_echo 'EGREP' >> "conftest.nl"
5239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5240 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5241 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5243 # Best one so far, save it but keep looking for a better one
5244 ac_cv_path_EGREP
="$ac_path_EGREP"
5245 ac_path_EGREP_max
=$ac_count
5247 # 10*(2^10) chars as input seems more than enough
5248 test $ac_count -gt 10 && break
5250 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5253 $ac_path_EGREP_found && break 3
5258 if test -z "$ac_cv_path_EGREP"; then
5259 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5262 ac_cv_path_EGREP
=$EGREP
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5268 $as_echo "$ac_cv_path_EGREP" >&6; }
5269 EGREP
="$ac_cv_path_EGREP"
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5273 $as_echo_n "checking for ANSI C header files... " >&6; }
5274 if test "${ac_cv_header_stdc+set}" = set; then :
5275 $as_echo_n "(cached) " >&6
5277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5292 if ac_fn_c_try_compile
"$LINENO"; then :
5293 ac_cv_header_stdc
=yes
5295 ac_cv_header_stdc
=no
5297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5299 if test $ac_cv_header_stdc = yes; then
5300 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5307 $EGREP "memchr" >/dev
/null
2>&1; then :
5310 ac_cv_header_stdc
=no
5316 if test $ac_cv_header_stdc = yes; then
5317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5324 $EGREP "free" >/dev
/null
2>&1; then :
5327 ac_cv_header_stdc
=no
5333 if test $ac_cv_header_stdc = yes; then
5334 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5335 if test "$cross_compiling" = yes; then :
5338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5342 #if ((' ' & 0x0FF) == 0x020)
5343 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5344 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5346 # define ISLOWER(c) \
5347 (('a' <= (c) && (c) <= 'i') \
5348 || ('j' <= (c) && (c) <= 'r') \
5349 || ('s' <= (c) && (c) <= 'z'))
5350 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5353 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5358 for (i = 0; i < 256; i++)
5359 if (XOR (islower (i), ISLOWER (i))
5360 || toupper (i) != TOUPPER (i))
5365 if ac_fn_c_try_run
"$LINENO"; then :
5368 ac_cv_header_stdc
=no
5370 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5371 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5377 $as_echo "$ac_cv_header_stdc" >&6; }
5378 if test $ac_cv_header_stdc = yes; then
5380 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5384 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5385 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5386 inttypes.h stdint.h unistd.h
5388 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5389 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5391 eval as_val
=\$
$as_ac_Header
5392 if test "x$as_val" = x
""yes; then :
5393 cat >>confdefs.h
<<_ACEOF
5394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5403 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5404 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5411 if test "$MINIX" = yes; then
5413 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5416 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5419 $as_echo "#define _MINIX 1" >>confdefs.h
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5425 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5426 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5427 $as_echo_n "(cached) " >&6
5429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5432 # define __EXTENSIONS__ 1
5433 $ac_includes_default
5442 if ac_fn_c_try_compile
"$LINENO"; then :
5443 ac_cv_safe_to_define___extensions__
=yes
5445 ac_cv_safe_to_define___extensions__
=no
5447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5450 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5451 test $ac_cv_safe_to_define___extensions__ = yes &&
5452 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5454 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5456 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5458 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5460 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5465 # If we haven't got the data from the intl directory,
5466 # assume NLS is disabled.
5475 if test -f ..
/intl
/config.intl
; then
5476 . ..
/intl
/config.intl
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5479 $as_echo_n "checking whether NLS is requested... " >&6; }
5480 if test x
"$USE_NLS" != xyes
; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5485 $as_echo "yes" >&6; }
5487 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5491 $as_echo_n "checking for catalogs to be installed... " >&6; }
5492 # Look for .po and .gmo files in the source directory.
5495 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5496 # If there aren't any .gmo files the shell will give us the
5497 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5499 case "$cat" in *\
**)
5502 # The quadruple backslash is collapsed to a double backslash
5503 # by the backticks, then collapsed again by the double quotes,
5504 # leaving us with one backslash in the sed expression (right
5505 # before the dot that mustn't act as a wildcard).
5506 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5507 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5508 # The user is allowed to set LINGUAS to a list of languages to
5509 # install catalogs for. If it's empty that means "all of them."
5510 if test "x$LINGUAS" = x
; then
5511 CATALOGS
="$CATALOGS $cat"
5512 XLINGUAS
="$XLINGUAS $lang"
5514 case "$LINGUAS" in *$lang*)
5515 CATALOGS
="$CATALOGS $cat"
5516 XLINGUAS
="$XLINGUAS $lang"
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5523 $as_echo "$LINGUAS" >&6; }
5537 if test -n "$ac_aux_dir"; then
5538 case "$ac_aux_dir" in
5539 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5540 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5543 if test -z "$MKINSTALLDIRS"; then
5544 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5550 $as_echo_n "checking whether NLS is requested... " >&6; }
5551 # Check whether --enable-nls was given.
5552 if test "${enable_nls+set}" = set; then :
5553 enableval
=$enable_nls; USE_NLS
=$enableval
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5559 $as_echo "$USE_NLS" >&6; }
5566 # Prepare PATH_SEPARATOR.
5567 # The user is always right.
5568 if test "${PATH_SEPARATOR+set}" != set; then
5569 echo "#! /bin/sh" >conf$$.sh
5570 echo "exit 0" >>conf$$.sh
5572 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5580 # Find out how to test for executable files. Don't use a zero-byte file,
5581 # as systems may use methods other than mode bits to determine executability.
5582 cat >conf$$.
file <<_ASEOF
5586 chmod +x conf$$.
file
5587 if test -x conf$$.
file >/dev
/null
2>&1; then
5588 ac_executable_p
="test -x"
5590 ac_executable_p
="test -f"
5594 # Extract the first word of "msgfmt", so it can be a program name with args.
5595 set dummy msgfmt
; ac_word
=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5599 $as_echo_n "(cached) " >&6
5603 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5606 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5607 for ac_dir
in $PATH; do
5609 test -z "$ac_dir" && ac_dir
=.
5610 for ac_exec_ext
in '' $ac_executable_extensions; do
5611 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5612 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5613 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5614 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5621 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5625 MSGFMT
="$ac_cv_path_MSGFMT"
5626 if test "$MSGFMT" != ":"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5628 $as_echo "$MSGFMT" >&6; }
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5634 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5635 set dummy gmsgfmt
; ac_word
=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5639 $as_echo_n "(cached) " >&6
5643 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir
=.
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5653 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5665 GMSGFMT
=$ac_cv_path_GMSGFMT
5666 if test -n "$GMSGFMT"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5668 $as_echo "$GMSGFMT" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5677 # Prepare PATH_SEPARATOR.
5678 # The user is always right.
5679 if test "${PATH_SEPARATOR+set}" != set; then
5680 echo "#! /bin/sh" >conf$$.sh
5681 echo "exit 0" >>conf$$.sh
5683 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5691 # Find out how to test for executable files. Don't use a zero-byte file,
5692 # as systems may use methods other than mode bits to determine executability.
5693 cat >conf$$.
file <<_ASEOF
5697 chmod +x conf$$.
file
5698 if test -x conf$$.
file >/dev
/null
2>&1; then
5699 ac_executable_p
="test -x"
5701 ac_executable_p
="test -f"
5705 # Extract the first word of "xgettext", so it can be a program name with args.
5706 set dummy xgettext
; ac_word
=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5710 $as_echo_n "(cached) " >&6
5714 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5717 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5718 for ac_dir
in $PATH; do
5720 test -z "$ac_dir" && ac_dir
=.
5721 for ac_exec_ext
in '' $ac_executable_extensions; do
5722 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5723 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5724 (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
5725 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5732 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5736 XGETTEXT
="$ac_cv_path_XGETTEXT"
5737 if test "$XGETTEXT" != ":"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5739 $as_echo "$XGETTEXT" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5748 # Prepare PATH_SEPARATOR.
5749 # The user is always right.
5750 if test "${PATH_SEPARATOR+set}" != set; then
5751 echo "#! /bin/sh" >conf$$.sh
5752 echo "exit 0" >>conf$$.sh
5754 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5762 # Find out how to test for executable files. Don't use a zero-byte file,
5763 # as systems may use methods other than mode bits to determine executability.
5764 cat >conf$$.
file <<_ASEOF
5768 chmod +x conf$$.
file
5769 if test -x conf$$.
file >/dev
/null
2>&1; then
5770 ac_executable_p
="test -x"
5772 ac_executable_p
="test -f"
5776 # Extract the first word of "msgmerge", so it can be a program name with args.
5777 set dummy msgmerge
; ac_word
=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5785 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5788 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5789 for ac_dir
in $PATH; do
5791 test -z "$ac_dir" && ac_dir
=.
5792 for ac_exec_ext
in '' $ac_executable_extensions; do
5793 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5794 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5795 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5802 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5806 MSGMERGE
="$ac_cv_path_MSGMERGE"
5807 if test "$MSGMERGE" != ":"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5809 $as_echo "$MSGMERGE" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5816 if test "$GMSGFMT" != ":"; then
5817 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5818 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5821 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5823 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5828 if test "$XGETTEXT" != ":"; then
5829 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5830 (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
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5834 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5840 ac_config_commands
="$ac_config_commands default-1"
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5845 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5846 if test "${ac_cv_c_bigendian+set}" = set; then :
5847 $as_echo_n "(cached) " >&6
5849 ac_cv_c_bigendian
=unknown
5850 # See if we're dealing with a universal compiler.
5851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5853 #ifndef __APPLE_CC__
5854 not a universal capable compiler
5859 if ac_fn_c_try_compile
"$LINENO"; then :
5861 # Check for potential -arch flags. It is not universal unless
5862 # there are at least two -arch flags with different values.
5865 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5866 if test -n "$ac_prev"; then
5868 i?
86 | x86_64 | ppc | ppc64
)
5869 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5872 ac_cv_c_bigendian
=universal
5878 elif test "x$ac_word" = "x-arch"; then
5883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5884 if test $ac_cv_c_bigendian = unknown
; then
5885 # See if sys/param.h defines the BYTE_ORDER macro.
5886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h. */
5888 #include <sys/types.h>
5889 #include <sys/param.h>
5894 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5895 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5904 if ac_fn_c_try_compile
"$LINENO"; then :
5905 # It does; now see whether it defined to BIG_ENDIAN or not.
5906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5907 /* end confdefs.h. */
5908 #include <sys/types.h>
5909 #include <sys/param.h>
5914 #if BYTE_ORDER != BIG_ENDIAN
5922 if ac_fn_c_try_compile
"$LINENO"; then :
5923 ac_cv_c_bigendian
=yes
5925 ac_cv_c_bigendian
=no
5927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5931 if test $ac_cv_c_bigendian = unknown
; then
5932 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5940 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5948 if ac_fn_c_try_compile
"$LINENO"; then :
5949 # It does; now see whether it defined to _BIG_ENDIAN or not.
5950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5965 if ac_fn_c_try_compile
"$LINENO"; then :
5966 ac_cv_c_bigendian
=yes
5968 ac_cv_c_bigendian
=no
5970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5974 if test $ac_cv_c_bigendian = unknown
; then
5975 # Compile a test program.
5976 if test "$cross_compiling" = yes; then :
5977 # Try to guess by grepping values from an object file.
5978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5979 /* end confdefs.h. */
5980 short int ascii_mm[] =
5981 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5982 short int ascii_ii[] =
5983 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5984 int use_ascii (int i) {
5985 return ascii_mm[i] + ascii_ii[i];
5987 short int ebcdic_ii[] =
5988 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5989 short int ebcdic_mm[] =
5990 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5991 int use_ebcdic (int i) {
5992 return ebcdic_mm[i] + ebcdic_ii[i];
5999 return use_ascii (foo) == use_ebcdic (foo);
6004 if ac_fn_c_try_compile
"$LINENO"; then :
6005 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6006 ac_cv_c_bigendian
=yes
6008 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6009 if test "$ac_cv_c_bigendian" = unknown
; then
6010 ac_cv_c_bigendian
=no
6012 # finding both strings is unlikely to happen, but who knows?
6013 ac_cv_c_bigendian
=unknown
6017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6020 /* end confdefs.h. */
6021 $ac_includes_default
6026 /* Are we little or big endian? From Harbison&Steele. */
6030 char c[sizeof (long int)];
6033 return u.c[sizeof (long int) - 1] == 1;
6039 if ac_fn_c_try_run
"$LINENO"; then :
6040 ac_cv_c_bigendian
=no
6042 ac_cv_c_bigendian
=yes
6044 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6045 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6051 $as_echo "$ac_cv_c_bigendian" >&6; }
6052 case $ac_cv_c_bigendian in #(
6054 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6060 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6064 as_fn_error
"unknown endianness
6065 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6071 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6073 NATIVE_LINKER_FALSE
='#'
6075 NATIVE_LINKER_TRUE
='#'
6076 NATIVE_LINKER_FALSE
=
6079 if test "$GCC" = yes; then
6095 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
6096 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
6098 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
6099 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6104 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6105 if test "${gold_cv_prog_gcc41+set}" = set; then :
6106 $as_echo_n "(cached) " >&6
6108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6109 /* end confdefs.h. */
6111 #if !defined __GNUC__
6113 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6118 if ac_fn_c_try_compile
"$LINENO"; then :
6119 gold_cv_prog_gcc41
=yes
6121 gold_cv_prog_gcc41
=no
6123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6126 $as_echo "$gold_cv_prog_gcc41" >&6; }
6128 if test "$target_cpu" = "x86_64" -a "$gold_cv_prog_gcc41" = "yes"; then
6129 MCMODEL_MEDIUM_TRUE
=
6130 MCMODEL_MEDIUM_FALSE
='#'
6132 MCMODEL_MEDIUM_TRUE
='#'
6133 MCMODEL_MEDIUM_FALSE
=
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6138 $as_echo_n "checking for thread support... " >&6; }
6139 if test "${gold_cv_c_thread+set}" = set; then :
6140 $as_echo_n "(cached) " >&6
6142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6143 /* end confdefs.h. */
6146 if ac_fn_c_try_compile
"$LINENO"; then :
6147 gold_cv_c_thread
=yes
6151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6154 $as_echo "$gold_cv_c_thread" >&6; }
6156 if test "$gold_cv_c_thread" = "yes"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6166 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6167 if test "${gold_cv_lib_glibc24+set}" = set; then :
6168 $as_echo_n "(cached) " >&6
6170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6173 #include <features.h>
6174 #if !defined __GLIBC__
6176 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6181 if ac_fn_c_try_compile
"$LINENO"; then :
6182 gold_cv_lib_glibc24
=yes
6184 gold_cv_lib_glibc24
=no
6186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6189 $as_echo "$gold_cv_lib_glibc24" >&6; }
6191 if test "$gold_cv_lib_glibc24" = "yes"; then
6193 STATIC_TLS_FALSE
='#'
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6201 $as_echo_n "checking for omp support... " >&6; }
6202 if test "${gold_cv_c_threadprivate+set}" = set; then :
6203 $as_echo_n "(cached) " >&6
6205 save_CFLAGS
="$CFLAGS"
6206 CFLAGS
="$CFLAGS -fopenmp"
6207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6212 #pragma omp threadprivate (i)
6215 if ac_fn_c_try_compile
"$LINENO"; then :
6216 gold_cv_c_threadprivate
=yes
6218 gold_cv_c_threadprivate
=no
6220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6221 CFLAGS
="$save_CFLAGS"
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6224 $as_echo "$gold_cv_c_threadprivate" >&6; }
6225 if test "$gold_cv_c_threadprivate" = "yes"; then
6227 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6230 if test "$gold_cv_c_threadprivate" = "yes"; then
6232 OMP_SUPPORT_FALSE
='#'
6234 OMP_SUPPORT_TRUE
='#'
6239 save_CFLAGS
="$CFLAGS"
6240 CFLAGS
="$CFLAGS -mtls-dialect=gnu2"
6241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6245 if ac_fn_c_try_compile
"$LINENO"; then :
6250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6251 CFLAGS
="$save_CFLAGS"
6252 if test "$have_tls_gnu2" = "yes"; then
6253 TLS_GNU2_DIALECT_TRUE
=
6254 TLS_GNU2_DIALECT_FALSE
='#'
6256 TLS_GNU2_DIALECT_TRUE
='#'
6257 TLS_GNU2_DIALECT_FALSE
=
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6262 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6263 if test "${gold_cv_lib_glibc29+set}" = set; then :
6264 $as_echo_n "(cached) " >&6
6266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6269 #include <features.h>
6270 #if !defined __GLIBC__
6272 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6277 if ac_fn_c_try_compile
"$LINENO"; then :
6278 gold_cv_lib_glibc29
=yes
6280 gold_cv_lib_glibc29
=no
6282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6285 $as_echo "$gold_cv_lib_glibc29" >&6; }
6287 if test "$gold_cv_lib_glibc29" = "yes"; then
6288 TLS_DESCRIPTORS_TRUE
=
6289 TLS_DESCRIPTORS_FALSE
='#'
6291 TLS_DESCRIPTORS_TRUE
='#'
6292 TLS_DESCRIPTORS_FALSE
=
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for constructor priorities" >&5
6297 $as_echo_n "checking for constructor priorities... " >&6; }
6298 if test "${gold_cv_c_conprio+set}" = set; then :
6299 $as_echo_n "(cached) " >&6
6301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6303 void f() __attribute__ ((constructor (1)));
6305 if ac_fn_c_try_compile
"$LINENO"; then :
6306 gold_cv_c_conprio
=yes
6308 gold_cv_c_conprio
=no
6310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_conprio" >&5
6313 $as_echo "$gold_cv_c_conprio" >&6; }
6315 if test "$gold_cv_c_conprio" = "yes"; then
6316 CONSTRUCTOR_PRIORITY_TRUE
=
6317 CONSTRUCTOR_PRIORITY_FALSE
='#'
6319 CONSTRUCTOR_PRIORITY_TRUE
='#'
6320 CONSTRUCTOR_PRIORITY_FALSE
=
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6325 $as_echo_n "checking for -frandom-seed support... " >&6; }
6326 if test "${gold_cv_c_random_seed+set}" = set; then :
6327 $as_echo_n "(cached) " >&6
6329 save_CFLAGS
="$CFLAGS"
6330 CFLAGS
="$CFLAGS -frandom-seed=foo"
6331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6335 if ac_fn_c_try_compile
"$LINENO"; then :
6336 gold_cv_c_random_seed
=yes
6338 gold_cv_c_random_seed
=no
6340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6341 CFLAGS
="$save_CFLAGS"
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6344 $as_echo "$gold_cv_c_random_seed" >&6; }
6345 if test "$gold_cv_c_random_seed" = "yes"; then
6346 # In Makefile, '$@' will be expanded to be the name of the file
6347 # being built, providing a unique seed for each file.
6348 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.11" >&5
6353 $as_echo_n "checking for glibc >= 2.11... " >&6; }
6354 if test "${gold_cv_lib_glibc2_11+set}" = set; then :
6355 $as_echo_n "(cached) " >&6
6357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6360 #include <features.h>
6361 #if !defined __GLIBC__
6363 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6368 if ac_fn_c_try_compile
"$LINENO"; then :
6369 gold_cv_lib_glibc2_11
=yes
6371 gold_cv_lib_glibc2_11
=no
6373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc2_11" >&5
6376 $as_echo "$gold_cv_lib_glibc2_11" >&6; }
6378 if test "$gold_cv_lib_glibc2_11" = "yes"; then
6388 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6390 /* end confdefs.h. */
6393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6394 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6397 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
6402 # Check whether --enable-werror was given.
6403 if test "${enable_werror+set}" = set; then :
6404 enableval
=$enable_werror; case "${enableval}" in
6405 yes | y
) ERROR_ON_WARNING
="yes" ;;
6406 no | n
) ERROR_ON_WARNING
="no" ;;
6407 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6412 # Disable -Wformat by default when using gcc on mingw
6415 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6416 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
6422 # Enable -Werror by default when using gcc
6423 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6424 ERROR_ON_WARNING
=yes
6428 if test "${ERROR_ON_WARNING}" = yes ; then
6429 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
6430 NO_WERROR
="-Wno-error"
6433 if test "${GCC}" = yes ; then
6434 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6437 # Check whether --enable-build-warnings was given.
6438 if test "${enable_build_warnings+set}" = set; then :
6439 enableval
=$enable_build_warnings; case "${enableval}" in
6440 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
6441 no
) if test "${GCC}" = yes ; then
6444 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6445 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
6446 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6447 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
6448 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6453 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
6454 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6461 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6464 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6467 for ac_func
in chsize
6469 ac_fn_c_check_func
"$LINENO" "chsize" "ac_cv_func_chsize"
6470 if test "x$ac_cv_func_chsize" = x
""yes; then :
6471 cat >>confdefs.h
<<_ACEOF
6472 #define HAVE_CHSIZE 1
6478 for ac_func
in pread ftruncate mremap ffsll
6480 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6481 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6482 eval as_val
=\$
$as_ac_var
6483 if test "x$as_val" = x
""yes; then :
6484 cat >>confdefs.h
<<_ACEOF
6485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6489 case " $LIBOBJS " in
6490 *" $ac_func.$ac_objext "* ) ;;
6491 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6500 # Link in zlib if we can. This allows us to write compressed sections.
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6502 $as_echo_n "checking for library containing zlibVersion... " >&6; }
6503 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6504 $as_echo_n "(cached) " >&6
6506 ac_func_search_save_LIBS
=$LIBS
6507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6510 /* Override any GCC internal prototype to avoid an error.
6511 Use char because int might match the return type of a GCC
6512 builtin and then its argument prototype would still apply. */
6516 char zlibVersion ();
6520 return zlibVersion ();
6525 for ac_lib
in '' z
; do
6526 if test -z "$ac_lib"; then
6527 ac_res
="none required"
6530 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6532 if ac_fn_c_try_link
"$LINENO"; then :
6533 ac_cv_search_zlibVersion
=$ac_res
6535 rm -f core conftest.err conftest.
$ac_objext \
6537 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6541 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6544 ac_cv_search_zlibVersion
=no
6547 LIBS
=$ac_func_search_save_LIBS
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6550 $as_echo "$ac_cv_search_zlibVersion" >&6; }
6551 ac_res
=$ac_cv_search_zlibVersion
6552 if test "$ac_res" != no
; then :
6553 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6554 for ac_header
in zlib.h
6556 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6557 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
6558 cat >>confdefs.h
<<_ACEOF
6559 #define HAVE_ZLIB_H 1
6568 if test "$ac_cv_search_zlibVersion" != "no"; then
6577 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6578 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6584 cat >>confdefs.h
<<_ACEOF
6585 #define HAVE_DECL_BASENAME $ac_have_decl
6587 ac_fn_c_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6588 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6594 cat >>confdefs.h
<<_ACEOF
6595 #define HAVE_DECL_FFS $ac_have_decl
6597 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6598 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
6604 cat >>confdefs.h
<<_ACEOF
6605 #define HAVE_DECL_ASPRINTF $ac_have_decl
6607 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6608 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
6614 cat >>confdefs.h
<<_ACEOF
6615 #define HAVE_DECL_VASPRINTF $ac_have_decl
6617 ac_fn_c_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6618 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
6624 cat >>confdefs.h
<<_ACEOF
6625 #define HAVE_DECL_SNPRINTF $ac_have_decl
6627 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6628 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
6634 cat >>confdefs.h
<<_ACEOF
6635 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6637 ac_fn_c_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6638 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
6644 cat >>confdefs.h
<<_ACEOF
6645 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6650 ac_cpp
='$CXXCPP $CPPFLAGS'
6651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6658 ac_cpp
='$CXXCPP $CPPFLAGS'
6659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6663 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6664 if test -z "$CXXCPP"; then
6665 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6666 $as_echo_n "(cached) " >&6
6668 # Double quotes because CXXCPP needs to be expanded
6669 for CXXCPP
in "$CXX -E" "/lib/cpp"
6672 for ac_cxx_preproc_warn_flag
in '' yes
6674 # Use a header file that comes with gcc, so configuring glibc
6675 # with a fresh cross-compiler works.
6676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6677 # <limits.h> exists even on freestanding compilers.
6678 # On the NeXT, cc -E runs the code through the compiler's parser,
6679 # not just through cpp. "Syntax error" is here to catch this case.
6680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6683 # include <limits.h>
6685 # include <assert.h>
6689 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6692 # Broken: fails on valid input.
6695 rm -f conftest.err conftest.
$ac_ext
6697 # OK, works on sane cases. Now check whether nonexistent headers
6698 # can be detected and how.
6699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6700 /* end confdefs.h. */
6701 #include <ac_nonexistent.h>
6703 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6704 # Broken: success on invalid input.
6707 # Passes both tests.
6711 rm -f conftest.err conftest.
$ac_ext
6714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6715 rm -f conftest.err conftest.
$ac_ext
6716 if $ac_preproc_ok; then :
6721 ac_cv_prog_CXXCPP
=$CXXCPP
6724 CXXCPP
=$ac_cv_prog_CXXCPP
6726 ac_cv_prog_CXXCPP
=$CXXCPP
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6729 $as_echo "$CXXCPP" >&6; }
6731 for ac_cxx_preproc_warn_flag
in '' yes
6733 # Use a header file that comes with gcc, so configuring glibc
6734 # with a fresh cross-compiler works.
6735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6736 # <limits.h> exists even on freestanding compilers.
6737 # On the NeXT, cc -E runs the code through the compiler's parser,
6738 # not just through cpp. "Syntax error" is here to catch this case.
6739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6742 # include <limits.h>
6744 # include <assert.h>
6748 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6751 # Broken: fails on valid input.
6754 rm -f conftest.err conftest.
$ac_ext
6756 # OK, works on sane cases. Now check whether nonexistent headers
6757 # can be detected and how.
6758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6760 #include <ac_nonexistent.h>
6762 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6763 # Broken: success on invalid input.
6766 # Passes both tests.
6770 rm -f conftest.err conftest.
$ac_ext
6773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6774 rm -f conftest.err conftest.
$ac_ext
6775 if $ac_preproc_ok; then :
6778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6780 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
6781 See \`config.log' for more details." "$LINENO" 5; }
6785 ac_cpp
='$CXXCPP $CPPFLAGS'
6786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6791 for ac_header
in tr1/unordered_set
tr1/unordered_map
6793 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6794 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6795 eval as_val
=\$
$as_ac_Header
6796 if test "x$as_val" = x
""yes; then :
6797 cat >>confdefs.h
<<_ACEOF
6798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6805 for ac_header
in ext
/hash_map ext
/hash_set
6807 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6808 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6809 eval as_val
=\$
$as_ac_Header
6810 if test "x$as_val" = x
""yes; then :
6811 cat >>confdefs.h
<<_ACEOF
6812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6819 for ac_header
in byteswap.h
6821 ac_fn_cxx_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
6822 if test "x$ac_cv_header_byteswap_h" = x
""yes; then :
6823 cat >>confdefs.h
<<_ACEOF
6824 #define HAVE_BYTESWAP_H 1
6831 for ac_func
in mallinfo posix_fallocate readv sysconf
times
6833 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6834 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6835 eval as_val
=\$
$as_ac_var
6836 if test "x$as_val" = x
""yes; then :
6837 cat >>confdefs.h
<<_ACEOF
6838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6844 ac_fn_cxx_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6845 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6851 cat >>confdefs.h
<<_ACEOF
6852 #define HAVE_DECL_BASENAME $ac_have_decl
6854 ac_fn_cxx_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6855 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6861 cat >>confdefs.h
<<_ACEOF
6862 #define HAVE_DECL_FFS $ac_have_decl
6864 ac_fn_cxx_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6865 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
6871 cat >>confdefs.h
<<_ACEOF
6872 #define HAVE_DECL_ASPRINTF $ac_have_decl
6874 ac_fn_cxx_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6875 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
6881 cat >>confdefs.h
<<_ACEOF
6882 #define HAVE_DECL_VASPRINTF $ac_have_decl
6884 ac_fn_cxx_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6885 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
6891 cat >>confdefs.h
<<_ACEOF
6892 #define HAVE_DECL_SNPRINTF $ac_have_decl
6894 ac_fn_cxx_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6895 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
6901 cat >>confdefs.h
<<_ACEOF
6902 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6904 ac_fn_cxx_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6905 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
6911 cat >>confdefs.h
<<_ACEOF
6912 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6914 ac_fn_cxx_check_decl
"$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
6915 if test "x$ac_cv_have_decl_strndup" = x
""yes; then :
6921 cat >>confdefs.h
<<_ACEOF
6922 #define HAVE_DECL_STRNDUP $ac_have_decl
6924 ac_fn_cxx_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
6925 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
6931 cat >>confdefs.h
<<_ACEOF
6932 #define HAVE_DECL_MEMMEM $ac_have_decl
6936 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
6937 # at link time with some versions of GCC.
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
6939 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
6940 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
6941 $as_echo_n "(cached) " >&6
6943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6944 /* end confdefs.h. */
6946 #include <tr1/unordered_map>
6947 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
6957 if ac_fn_cxx_try_link
"$LINENO"; then :
6958 gold_cv_unordered_map_rehash
=yes
6960 gold_cv_unordered_map_rehash
=no
6962 rm -f core conftest.err conftest.
$ac_objext \
6963 conftest
$ac_exeext conftest.
$ac_ext
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
6966 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
6967 if test "$gold_cv_unordered_map_rehash" = "yes"; then
6969 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
6973 # gcc 4.3.0 doesn't recognize the printf attribute on a template
6974 # function. Check for that. This is gcc bug 35546. This test can
6975 # probably be removed after the bug has been fixed for a while.
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
6977 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
6978 if test "${gold_cv_template_attribute+set}" = set; then :
6979 $as_echo_n "(cached) " >&6
6981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6984 template<typename T> extern void foo(const char*, ...)
6985 __attribute__ ((__format__ (__printf__, 1, 2)));
6986 template<typename T> void foo(const char* format, ...) {}
6987 void bar() { foo<int>("%s\n", "foo"); }
6990 if ac_fn_cxx_try_compile
"$LINENO"; then :
6991 gold_cv_template_attribute
=yes
6993 gold_cv_template_attribute
=no
6995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
6998 $as_echo "$gold_cv_template_attribute" >&6; }
6999 if test "$gold_cv_template_attribute" = "yes"; then
7001 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7006 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7007 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7008 $as_echo_n "(cached) " >&6
7010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7013 #include <sys/stat.h>
7014 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7024 if ac_fn_cxx_try_compile
"$LINENO"; then :
7025 gold_cv_stat_st_mtim
=yes
7027 gold_cv_stat_st_mtim
=no
7029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7032 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7033 if test "$gold_cv_stat_st_mtim" = "yes"; then
7035 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7040 ac_cpp
='$CPP $CPPFLAGS'
7041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7048 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7049 # Check whether --enable-maintainer-mode was given.
7050 if test "${enable_maintainer_mode+set}" = set; then :
7051 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
7053 USE_MAINTAINER_MODE
=no
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7057 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7058 if test $USE_MAINTAINER_MODE = yes; then
7059 MAINTAINER_MODE_TRUE
=
7060 MAINTAINER_MODE_FALSE
='#'
7062 MAINTAINER_MODE_TRUE
='#'
7063 MAINTAINER_MODE_FALSE
=
7066 MAINT
=$MAINTAINER_MODE_TRUE
7070 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7072 cat >confcache
<<\_ACEOF
7073 # This file is a shell script that caches the results of configure
7074 # tests run on this system so they can be shared between configure
7075 # scripts and configure runs, see configure's option --config-cache.
7076 # It is not useful on other systems. If it contains results you don't
7077 # want to keep, you may remove or edit it.
7079 # config.status only pays attention to the cache file if you give it
7080 # the --recheck option to rerun configure.
7082 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7083 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7088 # The following way of writing the cache mishandles newlines in values,
7089 # but we know of no workaround that is simple, portable, and efficient.
7090 # So, we kill variables containing newlines.
7091 # Ultrix sh set writes to stderr and can't be redirected directly,
7092 # and sets the high bit in the cache file unless we assign to the vars.
7094 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7095 eval ac_val
=\$
$ac_var
7099 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7100 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7103 _ | IFS | as_nl
) ;; #(
7104 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7105 *) { eval $ac_var=; unset $ac_var;} ;;
7111 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7112 *${as_nl}ac_space
=\
*)
7113 # `set' does not quote correctly, so add quotes: double-quote
7114 # substitution turns \\\\ into \\, and sed turns \\ into \.
7117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7120 # `set' quotes correctly as required by POSIX, so do not add quotes.
7121 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7130 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7132 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7134 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7135 if test -w "$cache_file"; then
7136 test "x$cache_file" != "x/dev/null" &&
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7138 $as_echo "$as_me: updating cache $cache_file" >&6;}
7139 cat confcache
>$cache_file
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7142 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7147 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7148 # Let make expand exec_prefix.
7149 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7151 DEFS
=-DHAVE_CONFIG_H
7155 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7156 # 1. Remove the extension, and $U if already installed.
7157 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7158 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7159 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7160 # will be set to the directory where LIBOBJS objects are built.
7161 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7162 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7166 LTLIBOBJS
=$ac_ltlibobjs
7169 if test -n "$EXEEXT"; then
7171 am__EXEEXT_FALSE
='#'
7177 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7178 as_fn_error
"conditional \"THREADS\" was never defined.
7179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7181 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7182 as_fn_error
"conditional \"PLUGINS\" was never defined.
7183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7185 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7186 as_fn_error
"conditional \"DEFAULT_TARGET_ARM\" was never defined.
7187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7189 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7190 as_fn_error
"conditional \"DEFAULT_TARGET_I386\" was never defined.
7191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7193 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7194 as_fn_error
"conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7197 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7198 as_fn_error
"conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7201 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7202 as_fn_error
"conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7205 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7206 as_fn_error
"conditional \"AMDEP\" was never defined.
7207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7209 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7210 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7213 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7214 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
7215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7218 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7219 as_fn_error
"conditional \"NATIVE_LINKER\" was never defined.
7220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7222 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7223 as_fn_error
"conditional \"GCC\" was never defined.
7224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7226 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7227 as_fn_error
"conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7230 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7231 as_fn_error
"conditional \"MCMODEL_MEDIUM\" was never defined.
7232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7234 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7235 as_fn_error
"conditional \"TLS\" was never defined.
7236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7238 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7239 as_fn_error
"conditional \"STATIC_TLS\" was never defined.
7240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7242 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7243 as_fn_error
"conditional \"OMP_SUPPORT\" was never defined.
7244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7246 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7247 as_fn_error
"conditional \"TLS_GNU2_DIALECT\" was never defined.
7248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7250 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7251 as_fn_error
"conditional \"TLS_DESCRIPTORS\" was never defined.
7252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7254 if test -z "${CONSTRUCTOR_PRIORITY_TRUE}" && test -z "${CONSTRUCTOR_PRIORITY_FALSE}"; then
7255 as_fn_error
"conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
7256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7258 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7259 as_fn_error
"conditional \"IFUNC\" was never defined.
7260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7262 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7263 as_fn_error
"conditional \"HAVE_ZLIB\" was never defined.
7264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7266 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7267 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7271 : ${CONFIG_STATUS=./config.status}
7273 ac_clean_files_save
=$ac_clean_files
7274 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7276 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7278 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7280 # Generated by $as_me.
7281 # Run this file to recreate the current configuration.
7282 # Compiler output produced by configure, useful for debugging
7283 # configure, is in config.log if it exists.
7289 SHELL=\${CONFIG_SHELL-$SHELL}
7292 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7293 ## -------------------- ##
7294 ## M4sh Initialization. ##
7295 ## -------------------- ##
7297 # Be more Bourne compatible
7298 DUALCASE
=1; export DUALCASE
# for MKS sh
7299 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7302 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7303 # is contrary to our usage. Disable this feature.
7304 alias -g '${1+"$@"}'='"$@"'
7305 setopt NO_GLOB_SUBST
7307 case `(set -o) 2>/dev/null` in #(
7319 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7320 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7321 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7322 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7323 # Prefer a ksh shell builtin over an external printf program on Solaris,
7324 # but without wasting forks for bash or zsh.
7325 if test -z "$BASH_VERSION$ZSH_VERSION" \
7326 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7327 as_echo='print
-r --'
7328 as_echo_n='print
-rn --'
7329 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7330 as_echo='printf %s
\n'
7331 as_echo_n='printf %s
'
7333 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7334 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7335 as_echo_n='/usr
/ucb
/echo -n'
7337 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7338 as_echo_n_body='eval
7342 expr "X$arg" : "X\\(.*\\)$as_nl";
7343 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7345 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7347 export as_echo_n_body
7348 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7351 as_echo='sh
-c $as_echo_body as_echo
'
7354 # The user is always right.
7355 if test "${PATH_SEPARATOR+set}" != set; then
7357 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7358 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7365 # We need space, tab and new line, in precisely that order. Quoting is
7366 # there to prevent editors from complaining about space-tab.
7367 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7368 # splitting by setting IFS to empty value.)
7371 # Find who we are. Look in the path if we contain no directory separator.
7373 *[\\/]* ) as_myself=$0 ;;
7374 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 test -z "$as_dir" && as_dir=.
7379 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7385 # We did not find ourselves, most probably we were run as `sh COMMAND'
7386 # in which case we are not to be found in the path.
7387 if test "x$as_myself" = x
; then
7390 if test ! -f "$as_myself"; then
7391 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7395 # Unset variables that we do not need and which cause bugs (e.g. in
7396 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7397 # suppresses any "Segmentation fault" message there. '((' could
7398 # trigger a bug in pdksh 5.2.14.
7399 for as_var
in BASH_ENV ENV MAIL MAILPATH
7400 do eval test x\
${$as_var+set} = xset \
7401 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7414 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7417 # as_fn_error ERROR [LINENO LOG_FD]
7418 # ---------------------------------
7419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7421 # script with status $?, using 1 if that was 0.
7424 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7426 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7427 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7429 $as_echo "$as_me: error: $1" >&2
7430 as_fn_exit
$as_status
7434 # as_fn_set_status STATUS
7435 # -----------------------
7436 # Set $? to STATUS, without forking.
7440 } # as_fn_set_status
7444 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7454 # Portably unset VAR.
7457 { eval $1=; unset $1;}
7459 as_unset
=as_fn_unset
7460 # as_fn_append VAR VALUE
7461 # ----------------------
7462 # Append the text in VALUE to the end of the definition contained in VAR. Take
7463 # advantage of any shell optimizations that allow amortized linear growth over
7464 # repeated appends, instead of the typical quadratic growth present in naive
7466 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7467 eval 'as_fn_append ()
7478 # as_fn_arith ARG...
7479 # ------------------
7480 # Perform arithmetic evaluation on the ARGs, and store the result in the
7481 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7482 # must be portable across $(()) and expr.
7483 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7484 eval 'as_fn_arith ()
7491 as_val
=`expr "$@" || test $? -eq 1`
7496 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7497 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7503 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7504 as_basename
=basename
7509 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7515 as_me
=`$as_basename -- "$0" ||
7516 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7517 X"$0" : 'X\(//\)$' \| \
7518 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7520 sed '/^.*\/\([^/][^/]*\)\/*$/{
7534 # Avoid depending upon Character Ranges.
7535 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7536 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7537 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7538 as_cr_digits
='0123456789'
7539 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7541 ECHO_C
= ECHO_N
= ECHO_T
=
7542 case `echo -n x` in #(((((
7544 case `echo 'xy\c'` in
7545 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7547 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7554 rm -f conf$$ conf$$.exe conf$$.
file
7555 if test -d conf$$.dir
; then
7556 rm -f conf$$.dir
/conf$$.
file
7559 mkdir conf$$.dir
2>/dev
/null
7561 if (echo >conf$$.
file) 2>/dev
/null
; then
7562 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7564 # ... but there are two gotchas:
7565 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7566 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7567 # In both cases, we have to default to `cp -p'.
7568 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7570 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7578 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7579 rmdir conf$$.dir
2>/dev
/null
7584 # Create "$as_dir" as a directory, including parents if necessary.
7589 -*) as_dir
=.
/$as_dir;;
7591 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7595 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7596 *) as_qdir
=$as_dir;;
7598 as_dirs
="'$as_qdir' $as_dirs"
7599 as_dir
=`$as_dirname -- "$as_dir" ||
7600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7601 X"$as_dir" : 'X\(//\)[^/]' \| \
7602 X"$as_dir" : 'X\(//\)$' \| \
7603 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7604 $as_echo X"$as_dir" |
7605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7622 test -d "$as_dir" && break
7624 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7625 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7629 if mkdir
-p .
2>/dev
/null
; then
7630 as_mkdir_p
='mkdir -p "$as_dir"'
7632 test -d .
/-p && rmdir .
/-p
7636 if test -x / >/dev
/null
2>&1; then
7639 if ls -dL / >/dev
/null
2>&1; then
7646 if test -d "$1"; then
7652 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7653 ???[sx]*):;;*)false;;esac;fi
7657 as_executable_p
=$as_test_x
7659 # Sed expression to map a string onto a valid CPP name.
7660 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7662 # Sed expression to map a string onto a valid variable name.
7663 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7667 ## ----------------------------------- ##
7668 ## Main body of $CONFIG_STATUS script. ##
7669 ## ----------------------------------- ##
7671 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7674 # Save the log message, to keep $0 and so on meaningful, and to
7675 # report actual input values of CONFIG_FILES etc. instead of their
7676 # values after options handling.
7678 This file was extended by gold $as_me 0.1, which was
7679 generated by GNU Autoconf 2.64. Invocation command line was
7681 CONFIG_FILES = $CONFIG_FILES
7682 CONFIG_HEADERS = $CONFIG_HEADERS
7683 CONFIG_LINKS = $CONFIG_LINKS
7684 CONFIG_COMMANDS = $CONFIG_COMMANDS
7687 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7692 case $ac_config_files in *"
7693 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7696 case $ac_config_headers in *"
7697 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7702 # Files that config.status was made for.
7703 config_files="$ac_config_files"
7704 config_headers="$ac_config_headers"
7705 config_commands="$ac_config_commands"
7709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7711 \`$as_me' instantiates files and other configuration actions
7712 from templates according to the current configuration. Unless the files
7713 and actions are specified as TAGs, all are instantiated by default.
7715 Usage: $0 [OPTION]... [TAG]...
7717 -h, --help print this help, then exit
7718 -V, --version print version number and configuration settings, then exit
7719 -q, --quiet, --silent
7720 do not print progress messages
7721 -d, --debug don't remove temporary files
7722 --recheck update $as_me by reconfiguring in the same conditions
7723 --file=FILE[:TEMPLATE]
7724 instantiate the configuration file FILE
7725 --header=FILE[:TEMPLATE]
7726 instantiate the configuration header FILE
7728 Configuration files:
7731 Configuration headers:
7734 Configuration commands:
7737 Report bugs to the package provider."
7740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7742 gold config.status 0.1
7743 configured by $0, generated by GNU Autoconf 2.64,
7744 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7746 Copyright (C) 2009 Free Software Foundation, Inc.
7747 This config.status script is free software; the Free Software Foundation
7748 gives unlimited permission to copy, distribute and modify it."
7755 test -n "\$AWK" || AWK=awk
7758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7759 # The default lists apply if the user does not specify any file.
7765 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7766 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7777 # Handling of the options.
7778 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7780 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7781 $as_echo "$ac_cs_version"; exit ;;
7782 --debug |
--debu |
--deb |
--de |
--d |
-d )
7784 --file |
--fil |
--fi |
--f )
7787 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7789 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7790 ac_need_defaults
=false
;;
7791 --header |
--heade |
--head |
--hea )
7794 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7796 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7797 ac_need_defaults
=false
;;
7799 # Conflict between --help and --header
7800 as_fn_error
"ambiguous option: \`$1'
7801 Try \`$0 --help' for more information.";;
7802 --help |
--hel |
-h )
7803 $as_echo "$ac_cs_usage"; exit ;;
7804 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7805 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7809 -*) as_fn_error
"unrecognized option: \`$1'
7810 Try \`$0 --help' for more information." ;;
7812 *) as_fn_append ac_config_targets
" $1"
7813 ac_need_defaults
=false
;;
7819 ac_configure_extra_args
=
7821 if $ac_cs_silent; then
7823 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7828 if \$ac_cs_recheck; then
7829 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7831 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7832 CONFIG_SHELL='$SHELL'
7838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7842 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7843 ## Running $as_me. ##
7849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7853 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7854 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7855 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7857 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7858 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7859 LINGUAS="${LINGUAS-%UNSET%}"
7864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7866 # Handling of arguments.
7867 for ac_config_target
in $ac_config_targets
7869 case $ac_config_target in
7870 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7871 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7872 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7873 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7874 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7875 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
7877 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7882 # If the user did not use the arguments to specify the items to instantiate,
7883 # then the envvar interface is used. Set only those that are not.
7884 # We use the long form for the default assignment because of an extremely
7885 # bizarre bug on SunOS 4.1.3.
7886 if $ac_need_defaults; then
7887 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7888 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7889 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7892 # Have a temporary directory for convenience. Make it in the build tree
7893 # simply because there is no reason against having it here, and in addition,
7894 # creating and moving files from /tmp can sometimes cause problems.
7895 # Hook for its removal unless debugging.
7896 # Note that there is a small window in which the directory will not be cleaned:
7897 # after its creation but before its name has been assigned to `$tmp'.
7901 trap 'exit_status=$?
7902 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7904 trap 'as_fn_exit 1' 1 2 13 15
7906 # Create a (secure) tmp directory for tmp files.
7909 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7910 test -n "$tmp" && test -d "$tmp"
7913 tmp
=.
/conf$$
-$RANDOM
7914 (umask 077 && mkdir
"$tmp")
7915 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
7917 # Set up the scripts for CONFIG_FILES section.
7918 # No need to generate them if there are no CONFIG_FILES.
7919 # This happens for instance with `./config.status config.h'.
7920 if test -n "$CONFIG_FILES"; then
7923 ac_cr
=`echo X | tr X '\015'`
7924 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7925 # But we know of no other shell where ac_cr would be empty at this
7926 # point, so we can use a bashism as a fallback.
7927 if test "x$ac_cr" = x
; then
7928 eval ac_cr
=\$
\'\\r
\'
7930 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7931 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7937 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7942 echo "cat >conf$$subs.awk <<_ACEOF" &&
7943 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7946 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7947 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7949 for ac_last_try in false false false false false :; do
7950 . ./conf$$subs.sh ||
7951 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7953 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7954 if test $ac_delim_n = $ac_delim_num; then
7956 elif $ac_last_try; then
7957 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7959 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7965 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
7969 s/^/S["/; s
/!.
*/"]=/
7979 s/\(.\{148\}\).*/\1/
7981 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7986 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7993 s/\(.\{148\}\).*/\1/
7995 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7999 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8004 ' <conf$$subs.awk | sed '
8009 ' >>$CONFIG_STATUS || ac_write_fail=1
8010 rm -f conf$$subs.awk
8011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8013 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8014 for (key in S) S_is_set[key] = 1
8020 nfields = split(line, field, "@
")
8022 len = length(field[1])
8023 for (i = 2; i < nfields; i++) {
8025 keylen = length(key)
8026 if (S_is_set[key]) {
8028 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8029 len += length(value) + length(field[++i])
8040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8041 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8042 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8045 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8046 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8049 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8050 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8051 # trailing colons and then remove the whole line if VPATH becomes empty
8052 # (actually we leave an empty line to preserve line numbers).
8053 if test "x
$srcdir" = x.; then
8054 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8058 s/^\([^=]*=[ ]*\):*/\1/
8064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8065 fi # test -n "$CONFIG_FILES"
8067 # Set up the scripts for CONFIG_HEADERS section.
8068 # No need to generate them if there are no CONFIG_HEADERS.
8069 # This happens for instance with `./config.status Makefile'.
8070 if test -n "$CONFIG_HEADERS"; then
8071 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8075 # Transform confdefs.h into an awk script `defines.awk', embedded as
8076 # here-document in config.status, that substitutes the proper values into
8077 # config.h.in to produce config.h.
8079 # Create a delimiter string that does not exist in confdefs.h, to ease
8080 # handling of long lines.
8082 for ac_last_try in false false :; do
8083 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8084 if test -z "$ac_t"; then
8086 elif $ac_last_try; then
8087 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8089 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8093 # For the awk script, D is an array of macro values keyed by name,
8094 # likewise P contains macro parameters if any. Preserve backslash
8095 # newline sequences.
8097 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8099 s/.\{148\}/&'"$ac_delim"'/g
8102 s/^[ ]*#[ ]*define[ ][ ]*/ /
8109 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8111 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8115 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8116 D["\
1"]=" \
3\\\\\\n
"\\/p
8118 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8123 s/.\{148\}/&'"$ac_delim"'/g
8128 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8131 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8133 ' <confdefs.h | sed '
8134 s/'"$ac_delim"'/"\\\
8135 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8138 for (key in D) D_is_set[key] = 1
8141 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8143 split(line, arg, " ")
8144 if (arg[1] == "#") {
8148 defundef
= substr
(arg
[1], 2)
8151 split(mac1
, mac2
, "(") #)
8153 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8154 if (D_is_set
[macro
]) {
8155 # Preserve the white space surrounding the "#".
8156 print prefix
"define", macro P
[macro
] D
[macro
]
8159 # Replace #undef with comments. This is necessary, for example,
8160 # in the case of _POSIX_SOURCE, which is predefined and required
8161 # on some systems where configure will not decide to define it.
8162 if (defundef
== "undef") {
8163 print
"/*", prefix defundef
, macro
, "*/"
8171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8172 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8173 fi # test -n "$CONFIG_HEADERS"
8176 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8181 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8183 case $ac_mode$ac_tag in
8185 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8186 :[FH
]-) ac_tag
=-:-;;
8187 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8204 -) ac_f
="$tmp/stdin";;
8205 *) # Look for the file first in the build tree, then in the source tree
8206 # (if the path is not absolute). The absolute path cannot be DOS-style,
8207 # because $ac_f cannot contain `:'.
8211 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8213 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8215 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8216 as_fn_append ac_file_inputs
" '$ac_f'"
8219 # Let's still pretend it is `configure' which instantiates (i.e., don't
8220 # use $as_me), people would be surprised to read:
8221 # /* config.h. Generated by config.status. */
8222 configure_input
='Generated from '`
8223 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8225 if test x
"$ac_file" != x-
; then
8226 configure_input
="$ac_file. $configure_input"
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8228 $as_echo "$as_me: creating $ac_file" >&6;}
8230 # Neutralize special characters interpreted by sed in replacement strings.
8231 case $configure_input in #(
8232 *\
&* |
*\|
* |
*\\* )
8233 ac_sed_conf_input
=`$as_echo "$configure_input" |
8234 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8235 *) ac_sed_conf_input
=$configure_input;;
8239 *:-:* |
*:-) cat >"$tmp/stdin" \
8240 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8245 ac_dir
=`$as_dirname -- "$ac_file" ||
8246 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8247 X"$ac_file" : 'X\(//\)[^/]' \| \
8248 X"$ac_file" : 'X\(//\)$' \| \
8249 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8250 $as_echo X"$ac_file" |
8251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8268 as_dir
="$ac_dir"; as_fn_mkdir_p
8272 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8274 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8275 # A ".." for each directory in $ac_dir_suffix.
8276 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8277 case $ac_top_builddir_sub in
8278 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8279 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8282 ac_abs_top_builddir
=$ac_pwd
8283 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8284 # for backward compatibility:
8285 ac_top_builddir
=$ac_top_build_prefix
8288 .
) # We are building in place.
8290 ac_top_srcdir
=$ac_top_builddir_sub
8291 ac_abs_top_srcdir
=$ac_pwd ;;
8292 [\\/]* | ?
:[\\/]* ) # Absolute name.
8293 ac_srcdir
=$srcdir$ac_dir_suffix;
8294 ac_top_srcdir
=$srcdir
8295 ac_abs_top_srcdir
=$srcdir ;;
8297 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8298 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8299 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8301 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8311 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8312 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8316 [\\/$
]* | ?
:[\\/]* ) ;;
8317 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8322 # If the template does not know about datarootdir, expand it.
8323 # FIXME: This hack should be removed a few years after 2.60.
8324 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8335 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8336 *datarootdir
*) ac_datarootdir_seen
=yes;;
8337 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8339 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8342 ac_datarootdir_hack='
8343 s&@datadir@&$datadir&g
8344 s&@docdir@&$docdir&g
8345 s&@infodir@&$infodir&g
8346 s&@localedir@&$localedir&g
8347 s&@mandir@&$mandir&g
8348 s&\\\${datarootdir}&$datarootdir&g' ;;
8352 # Neutralize VPATH when `$srcdir' = `.'.
8353 # Shell code in configure.ac might set extrasub.
8354 # FIXME: do we really want to maintain this feature?
8355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8356 ac_sed_extra="$ac_vpsub
8359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8361 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8362 s|@configure_input@|
$ac_sed_conf_input|
;t t
8363 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8364 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8365 s
&@srcdir@
&$ac_srcdir&;t t
8366 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8367 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8368 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8369 s
&@builddir@
&$ac_builddir&;t t
8370 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8371 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8372 s
&@INSTALL@
&$ac_INSTALL&;t t
8373 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8374 $ac_datarootdir_hack
8376 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8377 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8379 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8380 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8381 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8383 which seems to be undefined. Please make sure it is defined." >&5
8384 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8385 which seems to be undefined. Please make sure it is defined." >&2;}
8389 -) cat "$tmp/out" && rm -f "$tmp/out";;
8390 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8392 || as_fn_error "could not create $ac_file" "$LINENO" 5
8398 if test x"$ac_file" != x-; then
8400 $as_echo "/* $configure_input */" \
8401 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8402 } >"$tmp/config.h" \
8403 || as_fn_error "could not create $ac_file" "$LINENO" 5
8404 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8406 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8409 mv "$tmp/config.h" "$ac_file" \
8410 || as_fn_error "could not create $ac_file" "$LINENO" 5
8413 $as_echo "/* $configure_input */" \
8414 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8415 || as_fn_error "could not create -" "$LINENO" 5
8417 # Compute "$ac_file"'s index
in $config_headers.
8420 for _am_header
in $config_headers :; do
8422 $_am_arg |
$_am_arg:* )
8425 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8428 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8429 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8430 X"$_am_arg" : 'X\(//\)[^/]' \| \
8431 X"$_am_arg" : 'X\(//\)$' \| \
8432 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8433 $as_echo X"$_am_arg" |
8434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8450 s/.*/./; q'`/stamp-h
$_am_stamp_count
8453 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8454 $as_echo "$as_me: executing $ac_file commands" >&6;}
8459 case $ac_file$ac_mode in
8460 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8461 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8462 # are listed without --file. Let's play safe and only enable the eval
8463 # if we detect the quoting.
8464 case $CONFIG_FILES in
8465 *\'*) eval set x
"$CONFIG_FILES" ;;
8466 *) set x
$CONFIG_FILES ;;
8471 # Strip MF so we end up with the name of the file.
8472 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8473 # Check whether this is an Automake generated Makefile or not.
8474 # We used to match only the files named `Makefile.in', but
8475 # some people rename them; so instead we look at the file content.
8476 # Grep'ing the first line is not enough: some people post-process
8477 # each Makefile.in and add a new line on top of each file to say so.
8478 # Grep'ing the whole file is not good either: AIX grep has a line
8479 # limit of 2048, but all sed's we know have understand at least 4000.
8480 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8481 dirpart
=`$as_dirname -- "$mf" ||
8482 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8483 X"$mf" : 'X\(//\)[^/]' \| \
8484 X"$mf" : 'X\(//\)$' \| \
8485 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8507 # Extract the definition of DEPDIR, am__include, and am__quote
8508 # from the Makefile without running `make'.
8509 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8510 test -z "$DEPDIR" && continue
8511 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8512 test -z "am__include" && continue
8513 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8514 # When using ansi2knr, U may be empty or an underscore; expand it
8515 U
=`sed -n 's/^U = //p' < "$mf"`
8516 # Find all dependency output files, they are included files with
8517 # $(DEPDIR) in their names. We invoke sed twice because it is the
8518 # simplest approach to changing $(DEPDIR) to its actual value in the
8520 for file in `sed -n "
8521 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8522 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8523 # Make sure the directory exists.
8524 test -f "$dirpart/$file" && continue
8525 fdir
=`$as_dirname -- "$file" ||
8526 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8527 X"$file" : 'X\(//\)[^/]' \| \
8528 X"$file" : 'X\(//\)$' \| \
8529 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8548 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8549 # echo "creating $dirpart/$file"
8550 echo '# dummy' > "$dirpart/$file"
8556 for ac_file
in $CONFIG_FILES; do
8557 # Support "outfile[:infile[:infile...]]"
8559 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8561 # PO directories have a Makefile.in generated from Makefile.in.in.
8562 case "$ac_file" in */Makefile.
in)
8563 # Adjust a relative srcdir.
8564 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8565 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
8566 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8567 # In autoconf-2.13 it is called $ac_given_srcdir.
8568 # In autoconf-2.50 it is called $srcdir.
8569 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
8570 case "$ac_given_srcdir" in
8571 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
8572 /*) top_srcdir
="$ac_given_srcdir" ;;
8573 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8575 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8576 rm -f "$ac_dir/POTFILES"
8577 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
8578 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8579 POMAKEFILEDEPS
="POTFILES.in"
8580 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8581 # on $ac_dir but don't depend on user-specified configuration
8583 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8584 # The LINGUAS file contains the set of available languages.
8585 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8586 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
8588 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8589 # Hide the ALL_LINGUAS assigment from automake.
8590 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8591 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8593 # The set of available languages was given in configure.in.
8594 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8596 case "$ac_given_srcdir" in
8598 *) srcdirpre
='$(srcdir)/' ;;
8604 for lang
in $ALL_LINGUAS; do
8605 POFILES
="$POFILES $srcdirpre$lang.po"
8606 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8607 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8608 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8610 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8611 # environment variable.
8613 if test -n "$ALL_LINGUAS"; then
8614 for presentlang
in $ALL_LINGUAS; do
8616 if test "%UNSET%" != "$LINGUAS"; then
8617 desiredlanguages
="$LINGUAS"
8619 desiredlanguages
="$ALL_LINGUAS"
8621 for desiredlang
in $desiredlanguages; do
8622 # Use the presentlang catalog if desiredlang is
8623 # a. equal to presentlang, or
8624 # b. a variant of presentlang (because in this case,
8625 # presentlang can be used as a fallback for messages
8626 # which are not translated in the desiredlang catalog).
8627 case "$desiredlang" in
8628 "$presentlang"*) useit
=yes;;
8631 if test $useit = yes; then
8632 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8637 if test -n "$INST_LINGUAS"; then
8638 for lang
in $INST_LINGUAS; do
8639 CATALOGS
="$CATALOGS $lang.gmo"
8642 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8643 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"
8644 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8645 if test -f "$f"; then
8647 *.orig |
*.bak |
*~
) ;;
8648 *) cat "$f" >> "$ac_dir/Makefile" ;;
8663 ac_clean_files
=$ac_clean_files_save
8665 test $ac_write_fail = 0 ||
8666 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8669 # configure is writing to config.log, and then calls config.status.
8670 # config.status does its own redirection, appending to config.log.
8671 # Unfortunately, on DOS this fails, as config.log is still kept open
8672 # by configure, so config.status won't be able to write to it; its
8673 # output is simply discarded. So we exec the FD to /dev/null,
8674 # effectively closing config.log, so it can be properly (re)opened and
8675 # appended to by config.status. When coming back to configure, we
8676 # need to make the FD available again.
8677 if test "$no_create" != yes; then
8679 ac_config_status_args
=
8680 test "$silent" = yes &&
8681 ac_config_status_args
="$ac_config_status_args --quiet"
8683 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8685 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8686 # would make configure fail if this is the last instruction.
8687 $ac_cs_success || as_fn_exit $?
8689 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8691 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}