2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for gold 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev/null 6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix=/usr/local
539 ac_config_libobj_dir=.
546 # Identity of this package.
548 PACKAGE_TARNAME='gold'
549 PACKAGE_VERSION='0.1'
550 PACKAGE_STRING='gold 0.1'
554 ac_unique_file="gold.cc"
555 # Factoring default headers for most tests.
556 ac_includes_default="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars='am__EXEEXT_FALSE
595 MAINTAINER_MODE_FALSE
599 HAVE_NO_USE_LINKER_PLUGIN_FALSE
600 HAVE_NO_USE_LINKER_PLUGIN_TRUE
617 TLS_DESCRIPTORS_FALSE
619 TLS_GNU2_DIALECT_FALSE
620 TLS_GNU2_DIALECT_TRUE
630 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
631 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
634 NATIVE_OR_CROSS_LINKER_FALSE
635 NATIVE_OR_CROSS_LINKER_TRUE
687 DEFAULT_TARGET_MIPS_FALSE
688 DEFAULT_TARGET_MIPS_TRUE
689 DEFAULT_TARGET_TILEGX_FALSE
690 DEFAULT_TARGET_TILEGX_TRUE
691 DEFAULT_TARGET_X86_64_FALSE
692 DEFAULT_TARGET_X86_64_TRUE
693 DEFAULT_TARGET_SPARC_FALSE
694 DEFAULT_TARGET_SPARC_TRUE
695 DEFAULT_TARGET_POWERPC_FALSE
696 DEFAULT_TARGET_POWERPC_TRUE
697 DEFAULT_TARGET_I386_FALSE
698 DEFAULT_TARGET_I386_TRUE
699 DEFAULT_TARGET_ARM_FALSE
700 DEFAULT_TARGET_ARM_TRUE
701 DEFAULT_TARGET_AARCH64_FALSE
702 DEFAULT_TARGET_AARCH64_TRUE
717 INSTALL_STRIP_PROGRAM
771 program_transform_name
784 enable_option_checking
791 enable_dependency_tracking
794 enable_build_warnings
798 enable_maintainer_mode
800 ac_precious_vars='build_alias
817 # Initialize some variables set by options.
819 ac_init_version=false
820 ac_unrecognized_opts=
822 # The variables have the same names as the options, with
823 # dashes changed to underlines.
831 program_transform_name=s,x,x,
839 # Installation directory options.
840 # These are left unexpanded so users can "make install exec_prefix=/foo"
841 # and all the variables that are supposed to be based on exec_prefix
842 # by default will actually change.
843 # Use braces instead of parens because sh, perl, etc. also accept them.
844 # (The list follows the same order as the GNU Coding Standards.)
845 bindir='${exec_prefix}/bin'
846 sbindir='${exec_prefix}/sbin'
847 libexecdir='${exec_prefix}/libexec'
848 datarootdir='${prefix}/share'
849 datadir='${datarootdir}'
850 sysconfdir='${prefix}/etc'
851 sharedstatedir='${prefix}/com'
852 localstatedir='${prefix}/var'
853 includedir='${prefix}/include'
854 oldincludedir='/usr/include'
855 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
856 infodir='${datarootdir}/info'
861 libdir='${exec_prefix}/lib'
862 localedir='${datarootdir}/locale'
863 mandir='${datarootdir}/man'
869 # If the previous option needs an argument, assign it.
870 if test -n "$ac_prev"; then
871 eval $ac_prev=\$ac_option
877 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881 # Accept the important Cygnus configure options, so we can diagnose typos.
883 case $ac_dashdash$ac_option in
887 -bindir | --bindir | --bindi | --bind | --bin | --bi)
889 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
892 -build | --build | --buil | --bui | --bu)
893 ac_prev=build_alias ;;
894 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
895 build_alias=$ac_optarg ;;
897 -cache-file | --cache-file | --cache-fil | --cache-fi \
898 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
899 ac_prev=cache_file ;;
900 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
901 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
902 cache_file=$ac_optarg ;;
905 cache_file=config.cache ;;
907 -datadir | --datadir | --datadi | --datad)
909 -datadir=* | --datadir=* | --datadi=* | --datad=*)
910 datadir=$ac_optarg ;;
912 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
913 | --dataroo | --dataro | --datar)
914 ac_prev=datarootdir ;;
915 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
916 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
917 datarootdir=$ac_optarg ;;
919 -disable-* | --disable-*)
920 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923 as_fn_error "invalid feature name: $ac_useropt"
924 ac_useropt_orig=$ac_useropt
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931 ac_unrecognized_sep=', ';;
933 eval enable_$ac_useropt=no ;;
935 -docdir | --docdir | --docdi | --doc | --do)
937 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
940 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
942 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
945 -enable-* | --enable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
959 eval enable_$ac_useropt=\$ac_optarg ;;
961 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
962 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
963 | --exec | --exe | --ex)
964 ac_prev=exec_prefix ;;
965 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
966 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
967 | --exec=* | --exe=* | --ex=*)
968 exec_prefix=$ac_optarg ;;
970 -gas | --gas | --ga | --g)
971 # Obsolete; use --with-gas.
974 -help | --help | --hel | --he | -h)
976 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
977 ac_init_help=recursive ;;
978 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
979 ac_init_help=short ;;
981 -host | --host | --hos | --ho)
982 ac_prev=host_alias ;;
983 -host=* | --host=* | --hos=* | --ho=*)
984 host_alias=$ac_optarg ;;
986 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
988 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
990 htmldir=$ac_optarg ;;
992 -includedir | --includedir | --includedi | --included | --include \
993 | --includ | --inclu | --incl | --inc)
994 ac_prev=includedir ;;
995 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
996 | --includ=* | --inclu=* | --incl=* | --inc=*)
997 includedir=$ac_optarg ;;
999 -infodir | --infodir | --infodi | --infod | --info | --inf)
1001 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1002 infodir=$ac_optarg ;;
1004 -libdir | --libdir | --libdi | --libd)
1006 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1007 libdir=$ac_optarg ;;
1009 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1010 | --libexe | --libex | --libe)
1011 ac_prev=libexecdir ;;
1012 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1013 | --libexe=* | --libex=* | --libe=*)
1014 libexecdir=$ac_optarg ;;
1016 -localedir | --localedir | --localedi | --localed | --locale)
1017 ac_prev=localedir ;;
1018 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1019 localedir=$ac_optarg ;;
1021 -localstatedir | --localstatedir | --localstatedi | --localstated \
1022 | --localstate | --localstat | --localsta | --localst | --locals)
1023 ac_prev=localstatedir ;;
1024 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1025 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1026 localstatedir=$ac_optarg ;;
1028 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1030 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1031 mandir=$ac_optarg ;;
1033 -nfp | --nfp | --nf)
1034 # Obsolete; use --without-fp.
1037 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1038 | --no-cr | --no-c | -n)
1041 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1042 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1045 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1046 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1047 | --oldin | --oldi | --old | --ol | --o)
1048 ac_prev=oldincludedir ;;
1049 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1050 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1051 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1052 oldincludedir=$ac_optarg ;;
1054 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1056 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1057 prefix=$ac_optarg ;;
1059 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1060 | --program-pre | --program-pr | --program-p)
1061 ac_prev=program_prefix ;;
1062 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1063 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1064 program_prefix=$ac_optarg ;;
1066 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1067 | --program-suf | --program-su | --program-s)
1068 ac_prev=program_suffix ;;
1069 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1070 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1071 program_suffix=$ac_optarg ;;
1073 -program-transform-name | --program-transform-name \
1074 | --program-transform-nam | --program-transform-na \
1075 | --program-transform-n | --program-transform- \
1076 | --program-transform | --program-transfor \
1077 | --program-transfo | --program-transf \
1078 | --program-trans | --program-tran \
1079 | --progr-tra | --program-tr | --program-t)
1080 ac_prev=program_transform_name ;;
1081 -program-transform-name=* | --program-transform-name=* \
1082 | --program-transform-nam=* | --program-transform-na=* \
1083 | --program-transform-n=* | --program-transform-=* \
1084 | --program-transform=* | --program-transfor=* \
1085 | --program-transfo=* | --program-transf=* \
1086 | --program-trans=* | --program-tran=* \
1087 | --progr-tra=* | --program-tr=* | --program-t=*)
1088 program_transform_name=$ac_optarg ;;
1090 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1092 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1093 pdfdir=$ac_optarg ;;
1095 -psdir | --psdir | --psdi | --psd | --ps)
1097 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1101 | -silent | --silent | --silen | --sile | --sil)
1104 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1106 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1108 sbindir=$ac_optarg ;;
1110 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1111 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1112 | --sharedst | --shareds | --shared | --share | --shar \
1114 ac_prev=sharedstatedir ;;
1115 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1116 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1117 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1119 sharedstatedir=$ac_optarg ;;
1121 -site | --site | --sit)
1123 -site=* | --site=* | --sit=*)
1126 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1128 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1129 srcdir=$ac_optarg ;;
1131 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1132 | --syscon | --sysco | --sysc | --sys | --sy)
1133 ac_prev=sysconfdir ;;
1134 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1135 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1136 sysconfdir=$ac_optarg ;;
1138 -target | --target | --targe | --targ | --tar | --ta | --t)
1139 ac_prev=target_alias ;;
1140 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1141 target_alias=$ac_optarg ;;
1143 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1146 -version | --version | --versio | --versi | --vers | -V)
1147 ac_init_version=: ;;
1150 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153 as_fn_error "invalid package name: $ac_useropt"
1154 ac_useropt_orig=$ac_useropt
1155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1161 ac_unrecognized_sep=', ';;
1163 eval with_$ac_useropt=\$ac_optarg ;;
1165 -without-* | --without-*)
1166 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 as_fn_error "invalid package name: $ac_useropt"
1170 ac_useropt_orig=$ac_useropt
1171 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177 ac_unrecognized_sep=', ';;
1179 eval with_$ac_useropt=no ;;
1182 # Obsolete; use --with-x.
1185 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1186 | --x-incl | --x-inc | --x-in | --x-i)
1187 ac_prev=x_includes ;;
1188 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1189 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1190 x_includes=$ac_optarg ;;
1192 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1193 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1194 ac_prev=x_libraries ;;
1195 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1196 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1197 x_libraries=$ac_optarg ;;
1199 -*) as_fn_error "unrecognized option: \`$ac_option'
1200 Try \`$0 --help' for more information."
1204 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1205 # Reject names that are not valid shell variable names.
1206 case $ac_envvar in #(
1207 '' | [0-9]* | *[!_$as_cr_alnum]* )
1208 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1210 eval $ac_envvar=\$ac_optarg
1211 export $ac_envvar ;;
1214 # FIXME: should be removed in autoconf 3.0.
1215 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1217 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1224 if test -n "$ac_prev"; then
1225 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1226 as_fn_error "missing argument to $ac_option"
1229 if test -n "$ac_unrecognized_opts"; then
1230 case $enable_option_checking in
1232 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1233 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237 # Check all directory arguments for consistency.
1238 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1239 datadir sysconfdir sharedstatedir localstatedir includedir \
1240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1241 libdir localedir mandir
1243 eval ac_val=\$$ac_var
1244 # Remove trailing slashes.
1247 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1248 eval $ac_var=\$ac_val;;
1250 # Be sure to have absolute directory names.
1252 [\\/$]* | ?:[\\/]* ) continue;;
1253 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1255 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1258 # There might be people who depend on the old broken behavior: `$host'
1259 # used to hold the argument of --host etc.
1260 # FIXME: To remove some day.
1263 target=$target_alias
1265 # FIXME: To remove some day.
1266 if test "x$host_alias" != x; then
1267 if test "x$build_alias" = x; then
1268 cross_compiling=maybe
1269 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1270 If a cross compiler is detected then cross compile mode will be used." >&2
1271 elif test "x$build_alias" != "x$host_alias"; then
1277 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1279 test "$silent" = yes && exec 6>/dev/null
1282 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1283 ac_ls_di=`ls -di .` &&
1284 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1285 as_fn_error "working directory cannot be determined"
1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1287 as_fn_error "pwd does not report name of working directory"
1290 # Find the source files, if location was not specified.
1291 if test -z "$srcdir"; then
1292 ac_srcdir_defaulted=yes
1293 # Try the directory containing this script, then the parent directory.
1294 ac_confdir=`$as_dirname -- "$as_myself" ||
1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1296 X"$as_myself" : 'X\(//\)[^/]' \| \
1297 X"$as_myself" : 'X\(//\)$' \| \
1298 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1299 $as_echo X"$as_myself" |
1300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1318 if test ! -r "$srcdir/$ac_unique_file"; then
1322 ac_srcdir_defaulted=no
1324 if test ! -r "$srcdir/$ac_unique_file"; then
1325 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1326 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1328 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1330 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1332 # When building in place, set srcdir=.
1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
1336 # Remove unnecessary trailing slashes from srcdir.
1337 # Double slashes in file names in object file debugging info
1338 # mess up M-x gdb in Emacs.
1340 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1342 for ac_var in $ac_precious_vars; do
1343 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1344 eval ac_env_${ac_var}_value=\$${ac_var}
1345 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1346 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1350 # Report the --help message.
1352 if test "$ac_init_help" = "long"; then
1353 # Omit some internal or obsolete options to make the list less imposing.
1354 # This message is too long to be a string in the A/UX 3.1 sh.
1356 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1358 Usage: $0 [OPTION]... [VAR=VALUE]...
1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1361 VAR=VALUE. See below for descriptions of some of the useful variables.
1363 Defaults for the options are specified in brackets.
1366 -h, --help display this help and exit
1367 --help=short display options specific to this package
1368 --help=recursive display the short help of all the included packages
1369 -V, --version display version information and exit
1370 -q, --quiet, --silent do not print \`checking...' messages
1371 --cache-file=FILE cache test results in FILE [disabled]
1372 -C, --config-cache alias for \`--cache-file=config.cache'
1373 -n, --no-create do not create output files
1374 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1376 Installation directories:
1377 --prefix=PREFIX install architecture-independent files in PREFIX
1378 [$ac_default_prefix]
1379 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1382 By default, \`make install' will install all the files in
1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1385 for instance \`--prefix=\$HOME'.
1387 For better control, use the options below.
1389 Fine tuning of the installation directories:
1390 --bindir=DIR user executables [EPREFIX/bin]
1391 --sbindir=DIR system admin executables [EPREFIX/sbin]
1392 --libexecdir=DIR program executables [EPREFIX/libexec]
1393 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1394 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1395 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1396 --libdir=DIR object code libraries [EPREFIX/lib]
1397 --includedir=DIR C header files [PREFIX/include]
1398 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1399 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1400 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1401 --infodir=DIR info documentation [DATAROOTDIR/info]
1402 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1403 --mandir=DIR man documentation [DATAROOTDIR/man]
1404 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1405 --htmldir=DIR html documentation [DOCDIR]
1406 --dvidir=DIR dvi documentation [DOCDIR]
1407 --pdfdir=DIR pdf documentation [DOCDIR]
1408 --psdir=DIR ps documentation [DOCDIR]
1414 --program-prefix=PREFIX prepend PREFIX to installed program names
1415 --program-suffix=SUFFIX append SUFFIX to installed program names
1416 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1419 --build=BUILD configure for building on BUILD [guessed]
1420 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1421 --target=TARGET configure for building compilers for TARGET [HOST]
1425 if test -n "$ac_init_help"; then
1426 case $ac_init_help in
1427 short | recursive ) echo "Configuration of gold 0.1:";;
1432 --disable-option-checking ignore unrecognized --enable/--with options
1433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1435 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
1436 --enable-threads multi-threaded linking
1437 --enable-plugins linker plugins
1438 --enable-targets alternative target configurations
1439 --disable-dependency-tracking speeds up one-time build
1440 --enable-dependency-tracking do not reject slow dependency extractors
1441 --disable-nls do not use Native Language Support
1442 --enable-werror treat compile warnings as errors
1443 --enable-build-warnings enable build-time compiler warnings
1444 --enable-maintainer-mode enable make rules and dependencies not useful
1445 (and sometimes confusing) to the casual installer
1448 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1449 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1450 --with-sysroot=DIR search for usr/lib et al within DIR
1451 --with-lib-path=dir1:dir2... set default LIB_PATH
1452 --with-gold-ldflags=FLAGS additional link flags for gold
1453 --with-gold-ldadd=LIBS additional libraries for gold
1454 --with-zlib include zlib support (auto/yes/no) default=auto
1456 Some influential environment variables:
1457 CC C compiler command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1460 nonstandard directory <lib dir>
1461 LIBS libraries to pass to the linker, e.g. -l<library>
1462 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1463 you have headers in a nonstandard directory <include dir>
1464 CXX C++ compiler command
1465 CXXFLAGS C++ compiler flags
1466 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1467 the first program found out of: `bison -y', `byacc', `yacc'.
1468 YFLAGS The list of arguments that will be passed by default to $YACC.
1469 This script will default YFLAGS to the empty string to avoid a
1470 default value of `-d' given by some make applications.
1472 CXXCPP C++ preprocessor
1474 Use these variables to override the choices made by `configure' or to help
1475 it to find libraries and programs with nonstandard names/locations.
1477 Report bugs to the package provider.
1482 if test "$ac_init_help" = "recursive"; then
1483 # If there are subdirs, report their specific --help.
1484 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1485 test -d "$ac_dir" ||
1486 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1491 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1493 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1494 # A ".." for each directory in $ac_dir_suffix.
1495 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1496 case $ac_top_builddir_sub in
1497 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1501 ac_abs_top_builddir=$ac_pwd
1502 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1503 # for backward compatibility:
1504 ac_top_builddir=$ac_top_build_prefix
1507 .) # We are building in place.
1509 ac_top_srcdir=$ac_top_builddir_sub
1510 ac_abs_top_srcdir=$ac_pwd ;;
1511 [\\/]* | ?:[\\/]* ) # Absolute name.
1512 ac_srcdir=$srcdir$ac_dir_suffix;
1513 ac_top_srcdir=$srcdir
1514 ac_abs_top_srcdir=$srcdir ;;
1516 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1517 ac_top_srcdir=$ac_top_build_prefix$srcdir
1518 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1520 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1522 cd "$ac_dir" || { ac_status=$?; continue; }
1523 # Check for guested configure.
1524 if test -f "$ac_srcdir/configure.gnu"; then
1526 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1527 elif test -f "$ac_srcdir/configure"; then
1529 $SHELL "$ac_srcdir/configure" --help=recursive
1531 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1533 cd "$ac_pwd" || { ac_status=$?; break; }
1537 test -n "$ac_init_help" && exit $ac_status
1538 if $ac_init_version; then
1541 generated by GNU Autoconf 2.64
1543 Copyright (C) 2009 Free Software Foundation, Inc.
1544 This configure script is free software; the Free Software Foundation
1545 gives unlimited permission to copy, distribute and modify it.
1550 ## ------------------------ ##
1551 ## Autoconf initialization. ##
1552 ## ------------------------ ##
1554 # ac_fn_c_try_compile LINENO
1555 # --------------------------
1556 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1557 ac_fn_c_try_compile ()
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 rm -f conftest.$ac_objext
1561 if { { ac_try="$ac_compile"
1563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_compile") 2>conftest.err
1570 if test -s conftest.err; then
1571 grep -v '^ *+' conftest.err >conftest.er1
1572 cat conftest.er1 >&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } && {
1577 test -z "$ac_c_werror_flag" ||
1578 test ! -s conftest.err
1579 } && test -s conftest.$ac_objext; then :
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1587 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1590 } # ac_fn_c_try_compile
1592 # ac_fn_cxx_try_compile LINENO
1593 # ----------------------------
1594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1595 ac_fn_cxx_try_compile ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 rm -f conftest.$ac_objext
1599 if { { ac_try="$ac_compile"
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_compile") 2>conftest.err
1608 if test -s conftest.err; then
1609 grep -v '^ *+' conftest.err >conftest.er1
1610 cat conftest.er1 >&5
1611 mv -f conftest.er1 conftest.err
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && {
1615 test -z "$ac_cxx_werror_flag" ||
1616 test ! -s conftest.err
1617 } && test -s conftest.$ac_objext; then :
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1625 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1628 } # ac_fn_cxx_try_compile
1630 # ac_fn_c_try_cpp LINENO
1631 # ----------------------
1632 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 if { { ac_try="$ac_cpp conftest.$ac_ext"
1638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1645 if test -s conftest.err; then
1646 grep -v '^ *+' conftest.err >conftest.er1
1647 cat conftest.er1 >&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } >/dev/null && {
1652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1662 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1667 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1668 # -------------------------------------------------------
1669 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1670 # the include files in INCLUDES and setting the cache variable VAR
1672 ac_fn_c_check_header_mongrel ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1679 $as_echo_n "(cached) " >&6
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 # Is the header compilable?
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1687 $as_echo_n "checking $2 usability... " >&6; }
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1693 if ac_fn_c_try_compile "$LINENO"; then :
1694 ac_header_compiler=yes
1696 ac_header_compiler=no
1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1700 $as_echo "$ac_header_compiler" >&6; }
1702 # Is the header present?
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1704 $as_echo_n "checking $2 presence... " >&6; }
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1709 if ac_fn_c_try_cpp "$LINENO"; then :
1710 ac_header_preproc=yes
1712 ac_header_preproc=no
1714 rm -f conftest.err conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1716 $as_echo "$ac_header_preproc" >&6; }
1718 # So? What about this header?
1719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1722 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1724 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1728 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1730 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1732 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1734 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1736 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1742 $as_echo_n "(cached) " >&6
1744 eval "$3=\$ac_header_compiler"
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752 } # ac_fn_c_check_header_mongrel
1754 # ac_fn_c_try_run LINENO
1755 # ----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1757 # that executables *can* be run.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_link"
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>&5
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1772 { { case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_try") 2>&5
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; }; }; then :
1784 $as_echo "$as_me: program exited with status $ac_status" >&5
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1788 ac_retval=$ac_status
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1813 if ac_fn_c_try_compile "$LINENO"; then :
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825 } # ac_fn_c_check_header_compile
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest$ac_exeext
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_func LINENO FUNC VAR
1874 # ----------------------------------
1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1876 ac_fn_c_check_func ()
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1882 $as_echo_n "(cached) " >&6
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1886 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1888 #define $2 innocuous_$2
1890 /* System header to define __stub macros and hopefully few prototypes,
1891 which can conflict with char $2 (); below.
1892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1893 <limits.h> exists even on freestanding compilers. */
1896 # include <limits.h>
1898 # include <assert.h>
1903 /* Override any GCC internal prototype to avoid an error.
1904 Use char because int might match the return type of a GCC
1905 builtin and then its argument prototype would still apply. */
1910 /* The GNU C library defines this for functions which it implements
1911 to always fail with ENOSYS. Some functions are actually named
1912 something starting with __ and the normal name is an alias. */
1913 #if defined __stub_$2 || defined __stub___$2
1925 if ac_fn_c_try_link "$LINENO"; then :
1930 rm -f core conftest.err conftest.$ac_objext \
1931 conftest$ac_exeext conftest.$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938 } # ac_fn_c_check_func
1940 # ac_fn_c_check_decl LINENO SYMBOL VAR
1941 # ------------------------------------
1942 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1943 ac_fn_c_check_decl ()
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 as_decl_name=`echo $2|sed 's/ *(.*//'`
1947 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1949 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1950 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1951 $as_echo_n "(cached) " >&6
1953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1954 /* end confdefs.h. */
1959 #ifndef $as_decl_name
1961 (void) $as_decl_use;
1963 (void) $as_decl_name;
1971 if ac_fn_c_try_compile "$LINENO"; then :
1976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980 $as_echo "$ac_res" >&6; }
1981 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1983 } # ac_fn_c_check_decl
1985 # ac_fn_cxx_try_cpp LINENO
1986 # ------------------------
1987 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1988 ac_fn_cxx_try_cpp ()
1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991 if { { ac_try="$ac_cpp conftest.$ac_ext"
1993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1994 *) ac_try_echo=$ac_try;;
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000 if test -s conftest.err; then
2001 grep -v '^ *+' conftest.err >conftest.er1
2002 cat conftest.er1 >&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } >/dev/null && {
2007 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2008 test ! -s conftest.err
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2020 } # ac_fn_cxx_try_cpp
2022 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # ---------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2027 ac_fn_cxx_check_header_mongrel ()
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034 $as_echo_n "(cached) " >&6
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2040 # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2048 if ac_fn_cxx_try_compile "$LINENO"; then :
2049 ac_header_compiler=yes
2051 ac_header_compiler=no
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2064 if ac_fn_cxx_try_cpp "$LINENO"; then :
2065 ac_header_preproc=yes
2067 ac_header_preproc=no
2069 rm -f conftest.err conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2073 # So? What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097 $as_echo_n "(cached) " >&6
2099 eval "$3=\$ac_header_compiler"
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107 } # ac_fn_cxx_check_header_mongrel
2109 # ac_fn_cxx_try_link LINENO
2110 # -------------------------
2111 # Try to link conftest.$ac_ext, and return whether this succeeded.
2112 ac_fn_cxx_try_link ()
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 rm -f conftest.$ac_objext conftest$ac_exeext
2116 if { { ac_try="$ac_link"
2118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119 *) ac_try_echo=$ac_try;;
2121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122 $as_echo "$ac_try_echo"; } >&5
2123 (eval "$ac_link") 2>conftest.err
2125 if test -s conftest.err; then
2126 grep -v '^ *+' conftest.err >conftest.er1
2127 cat conftest.er1 >&5
2128 mv -f conftest.er1 conftest.err
2130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2131 test $ac_status = 0; } && {
2132 test -z "$ac_cxx_werror_flag" ||
2133 test ! -s conftest.err
2134 } && test -s conftest$ac_exeext && {
2135 test "$cross_compiling" = yes ||
2136 $as_test_x conftest$ac_exeext
2140 $as_echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2145 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2146 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2147 # interfere with the next link command; also delete a directory that is
2148 # left behind by Apple's compiler. We do this before executing the actions.
2149 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2150 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2153 } # ac_fn_cxx_try_link
2155 # ac_fn_cxx_check_func LINENO FUNC VAR
2156 # ------------------------------------
2157 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2158 ac_fn_cxx_check_func ()
2160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2162 $as_echo_n "checking for $2... " >&6; }
2163 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2164 $as_echo_n "(cached) " >&6
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2168 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2170 #define $2 innocuous_$2
2172 /* System header to define __stub macros and hopefully few prototypes,
2173 which can conflict with char $2 (); below.
2174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2175 <limits.h> exists even on freestanding compilers. */
2178 # include <limits.h>
2180 # include <assert.h>
2185 /* Override any GCC internal prototype to avoid an error.
2186 Use char because int might match the return type of a GCC
2187 builtin and then its argument prototype would still apply. */
2192 /* The GNU C library defines this for functions which it implements
2193 to always fail with ENOSYS. Some functions are actually named
2194 something starting with __ and the normal name is an alias. */
2195 #if defined __stub_$2 || defined __stub___$2
2207 if ac_fn_cxx_try_link "$LINENO"; then :
2212 rm -f core conftest.err conftest.$ac_objext \
2213 conftest$ac_exeext conftest.$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2217 $as_echo "$ac_res" >&6; }
2218 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2220 } # ac_fn_cxx_check_func
2222 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2223 # --------------------------------------
2224 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2225 ac_fn_cxx_check_decl ()
2227 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2228 as_decl_name=`echo $2|sed 's/ *(.*//'`
2229 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2231 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2232 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2233 $as_echo_n "(cached) " >&6
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2241 #ifndef $as_decl_name
2243 (void) $as_decl_use;
2245 (void) $as_decl_name;
2253 if ac_fn_cxx_try_compile "$LINENO"; then :
2258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2262 $as_echo "$ac_res" >&6; }
2263 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2265 } # ac_fn_cxx_check_decl
2266 cat >config.log <<_ACEOF
2267 This file contains any messages produced by compilers while
2268 running configure, to aid debugging if configure makes a mistake.
2270 It was created by gold $as_me 0.1, which was
2271 generated by GNU Autoconf 2.64. Invocation command line was
2283 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2284 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2285 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2286 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2287 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2289 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2290 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2292 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2293 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2294 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2295 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2296 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2297 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2298 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir=.
2307 $as_echo "PATH: $as_dir"
2323 # Keep a trace of the command line.
2324 # Strip out --no-create and --no-recursion so they do not pile up.
2325 # Strip out --silent because we don't want to record it for future runs.
2326 # Also quote any args containing shell meta-characters.
2327 # Make two passes to allow for proper duplicate-argument suppression.
2331 ac_must_keep_next=false
2337 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2339 | -silent | --silent | --silen | --sile | --sil)
2342 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2345 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2347 as_fn_append ac_configure_args1 " '$ac_arg'"
2348 if test $ac_must_keep_next = true; then
2349 ac_must_keep_next=false # Got value, back to normal.
2352 *=* | --config-cache | -C | -disable-* | --disable-* \
2353 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2354 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2355 | -with-* | --with-* | -without-* | --without-* | --x)
2356 case "$ac_configure_args0 " in
2357 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2360 -* ) ac_must_keep_next=true ;;
2363 as_fn_append ac_configure_args " '$ac_arg'"
2368 { ac_configure_args0=; unset ac_configure_args0;}
2369 { ac_configure_args1=; unset ac_configure_args1;}
2371 # When interrupted or exit'd, cleanup temporary files, and complete
2372 # config.log. We remove comments because anyway the quotes in there
2373 # would cause problems or look ugly.
2374 # WARNING: Use '\'' to represent an apostrophe within the trap.
2375 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2376 trap 'exit_status=$?
2377 # Save into config.log some information that might help in debugging.
2382 ## ---------------- ##
2383 ## Cache variables. ##
2384 ## ---------------- ##
2387 # The following way of writing the cache mishandles newlines in values,
2389 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2390 eval ac_val=\$$ac_var
2394 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2395 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2398 _ | IFS | as_nl) ;; #(
2399 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2400 *) { eval $ac_var=; unset $ac_var;} ;;
2405 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2406 *${as_nl}ac_space=\ *)
2408 "s/'\''/'\''\\\\'\'''\''/g;
2409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2420 ## ----------------- ##
2421 ## Output variables. ##
2422 ## ----------------- ##
2425 for ac_var in $ac_subst_vars
2427 eval ac_val=\$$ac_var
2429 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2431 $as_echo "$ac_var='\''$ac_val'\''"
2435 if test -n "$ac_subst_files"; then
2437 ## ------------------- ##
2438 ## File substitutions. ##
2439 ## ------------------- ##
2442 for ac_var in $ac_subst_files
2444 eval ac_val=\$$ac_var
2446 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2448 $as_echo "$ac_var='\''$ac_val'\''"
2453 if test -s confdefs.h; then
2463 test "$ac_signal" != 0 &&
2464 $as_echo "$as_me: caught signal $ac_signal"
2465 $as_echo "$as_me: exit $exit_status"
2467 rm -f core *.core core.conftest.* &&
2468 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2471 for ac_signal in 1 2 13 15; do
2472 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2476 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2477 rm -f -r conftest* confdefs.h
2479 $as_echo "/* confdefs.h */" > confdefs.h
2481 # Predefined preprocessor variables.
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_NAME "$PACKAGE_NAME"
2487 cat >>confdefs.h <<_ACEOF
2488 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2491 cat >>confdefs.h <<_ACEOF
2492 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2495 cat >>confdefs.h <<_ACEOF
2496 #define PACKAGE_STRING "$PACKAGE_STRING"
2499 cat >>confdefs.h <<_ACEOF
2500 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2503 cat >>confdefs.h <<_ACEOF
2504 #define PACKAGE_URL "$PACKAGE_URL"
2508 # Let the site file select an alternate cache file if it wants to.
2509 # Prefer an explicitly selected file to automatically selected ones.
2512 if test -n "$CONFIG_SITE"; then
2513 ac_site_file1=$CONFIG_SITE
2514 elif test "x$prefix" != xNONE; then
2515 ac_site_file1=$prefix/share/config.site
2516 ac_site_file2=$prefix/etc/config.site
2518 ac_site_file1=$ac_default_prefix/share/config.site
2519 ac_site_file2=$ac_default_prefix/etc/config.site
2521 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2523 test "x$ac_site_file" = xNONE && continue
2524 if test -r "$ac_site_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2526 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2527 sed 's/^/| /' "$ac_site_file" >&5
2532 if test -r "$cache_file"; then
2533 # Some versions of bash will fail to source /dev/null (special
2534 # files actually), so we avoid doing that.
2535 if test -f "$cache_file"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2537 $as_echo "$as_me: loading cache $cache_file" >&6;}
2539 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2540 *) . "./$cache_file";;
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2545 $as_echo "$as_me: creating cache $cache_file" >&6;}
2549 # Check that the precious variables saved in the cache have kept the same
2551 ac_cache_corrupted=false
2552 for ac_var in $ac_precious_vars; do
2553 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2554 eval ac_new_set=\$ac_env_${ac_var}_set
2555 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2556 eval ac_new_val=\$ac_env_${ac_var}_value
2557 case $ac_old_set,$ac_new_set in
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2560 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2561 ac_cache_corrupted=: ;;
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2564 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2565 ac_cache_corrupted=: ;;
2568 if test "x$ac_old_val" != "x$ac_new_val"; then
2569 # differences in whitespace do not lead to failure.
2570 ac_old_val_w=`echo x $ac_old_val`
2571 ac_new_val_w=`echo x $ac_new_val`
2572 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2574 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2575 ac_cache_corrupted=:
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2578 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2579 eval $ac_var=\$ac_old_val
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2582 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2584 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2587 # Pass precious variables to config.status.
2588 if test "$ac_new_set" = set; then
2590 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2591 *) ac_arg=$ac_var=$ac_new_val ;;
2593 case " $ac_configure_args " in
2594 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2595 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2599 if $ac_cache_corrupted; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2603 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2604 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2606 ## -------------------- ##
2607 ## Main body of script. ##
2608 ## -------------------- ##
2611 ac_cpp='$CPP $CPPFLAGS'
2612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2623 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2624 for ac_t in install-sh install.sh shtool; do
2625 if test -f "$ac_dir/$ac_t"; then
2627 ac_install_sh="$ac_aux_dir/$ac_t -c"
2632 if test -z "$ac_aux_dir"; then
2633 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2636 # These three variables are undocumented and unsupported,
2637 # and are intended to be withdrawn in a future Autoconf release.
2638 # They can cause serious problems if a builder's source tree is in a directory
2639 # whose full name contains unusual characters.
2640 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2641 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2642 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2645 # Make sure we can run config.sub.
2646 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2647 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2650 $as_echo_n "checking build system type... " >&6; }
2651 if test "${ac_cv_build+set}" = set; then :
2652 $as_echo_n "(cached) " >&6
2654 ac_build_alias=$build_alias
2655 test "x$ac_build_alias" = x &&
2656 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2657 test "x$ac_build_alias" = x &&
2658 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2659 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2660 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2664 $as_echo "$ac_cv_build" >&6; }
2665 case $ac_cv_build in
2667 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2670 ac_save_IFS=$IFS; IFS='-'
2676 # Remember, the first character of IFS is used to create $*,
2677 # except with old shells:
2680 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2684 $as_echo_n "checking host system type... " >&6; }
2685 if test "${ac_cv_host+set}" = set; then :
2686 $as_echo_n "(cached) " >&6
2688 if test "x$host_alias" = x; then
2689 ac_cv_host=$ac_cv_build
2691 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2692 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2697 $as_echo "$ac_cv_host" >&6; }
2700 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2703 ac_save_IFS=$IFS; IFS='-'
2709 # Remember, the first character of IFS is used to create $*,
2710 # except with old shells:
2713 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2717 $as_echo_n "checking target system type... " >&6; }
2718 if test "${ac_cv_target+set}" = set; then :
2719 $as_echo_n "(cached) " >&6
2721 if test "x$target_alias" = x; then
2722 ac_cv_target=$ac_cv_host
2724 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2725 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2730 $as_echo "$ac_cv_target" >&6; }
2731 case $ac_cv_target in
2733 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2735 target=$ac_cv_target
2736 ac_save_IFS=$IFS; IFS='-'
2742 # Remember, the first character of IFS is used to create $*,
2743 # except with old shells:
2746 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2749 # The aliases save the names the user supplied, while $host etc.
2750 # will get canonicalized.
2751 test -n "$target_alias" &&
2752 test "$program_prefix$program_suffix$program_transform_name" = \
2754 program_prefix=${target_alias}-
2756 am__api_version='1.11'
2758 # Find a good install program. We prefer a C program (faster),
2759 # so one script is as good as another. But avoid the broken or
2760 # incompatible versions:
2761 # SysV /etc/install, /usr/sbin/install
2762 # SunOS /usr/etc/install
2763 # IRIX /sbin/install
2765 # AmigaOS /C/install, which installs bootblocks on floppy discs
2766 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2767 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2768 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2769 # OS/2's system install, which has a completely different semantic
2770 # ./install, which can be erroneously created by make from ./install.sh.
2771 # Reject install programs that cannot install multiple files.
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2773 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2774 if test -z "$INSTALL"; then
2775 if test "${ac_cv_path_install+set}" = set; then :
2776 $as_echo_n "(cached) " >&6
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 # Account for people who put trailing slashes in PATH elements.
2784 case $as_dir/ in #((
2785 ./ | .// | /[cC]/* | \
2786 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2787 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2790 # OSF1 and SCO ODT 3.0 have their own names for install.
2791 # Don't use installbsd from OSF since it installs stuff as root
2793 for ac_prog in ginstall scoinst install; do
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2796 if test $ac_prog = install &&
2797 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2798 # AIX install. It has an incompatible calling convention.
2800 elif test $ac_prog = install &&
2801 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2802 # program-specific install script used by HP pwplus--don't use.
2805 rm -rf conftest.one conftest.two conftest.dir
2806 echo one > conftest.one
2807 echo two > conftest.two
2809 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2810 test -s conftest.one && test -s conftest.two &&
2811 test -s conftest.dir/conftest.one &&
2812 test -s conftest.dir/conftest.two
2814 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2827 rm -rf conftest.one conftest.two conftest.dir
2830 if test "${ac_cv_path_install+set}" = set; then
2831 INSTALL=$ac_cv_path_install
2833 # As a last resort, use the slow shell script. Don't cache a
2834 # value for INSTALL within a source directory, because that will
2835 # break other packages using the cache if that directory is
2836 # removed, or if the value is a relative name.
2837 INSTALL=$ac_install_sh
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2841 $as_echo "$INSTALL" >&6; }
2843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2844 # It thinks the first close brace ends the variable substitution.
2845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2849 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2852 $as_echo_n "checking whether build environment is sane... " >&6; }
2855 echo timestamp > conftest.file
2856 # Reject unsafe characters in $srcdir or the absolute working directory
2857 # name. Accept space and tab only in the latter.
2861 *[\\\"\#\$\&\'\`$am_lf]*)
2862 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2865 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2866 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2869 # Do `set' in a subshell so we don't clobber the current shell's
2870 # arguments. Must try -L first in case configure is actually a
2871 # symlink; some systems play weird games with the mod time of symlinks
2872 # (eg FreeBSD returns the mod time of the symlink's containing
2875 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2876 if test "$*" = "X"; then
2878 set X `ls -t "$srcdir/configure" conftest.file`
2881 if test "$*" != "X $srcdir/configure conftest.file" \
2882 && test "$*" != "X conftest.file $srcdir/configure"; then
2884 # If neither matched, then we have a broken ls. This can happen
2885 # if, for instance, CONFIG_SHELL is bash and it inherits a
2886 # broken ls alias from the environment. This has actually
2887 # happened. Such a system could not be considered "sane".
2888 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2889 alias in your environment" "$LINENO" 5
2892 test "$2" = conftest.file
2898 as_fn_error "newly created file is older than distributed files!
2899 Check your system clock" "$LINENO" 5
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2902 $as_echo "yes" >&6; }
2903 test "$program_prefix" != NONE &&
2904 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2905 # Use a double $ so make ignores it.
2906 test "$program_suffix" != NONE &&
2907 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2908 # Double any \ or $.
2909 # By default was `s,x,x', remove it if useless.
2910 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2911 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2913 # expand $ac_aux_dir to an absolute path
2914 am_aux_dir=`cd $ac_aux_dir && pwd`
2916 if test x"${MISSING+set}" != xset; then
2919 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2921 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2924 # Use eval to expand $SHELL
2925 if eval "$MISSING --run true"; then
2926 am_missing_run="$MISSING --run "
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2930 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2933 if test x"${install_sh}" != xset; then
2936 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2938 install_sh="\${SHELL} $am_aux_dir/install-sh"
2942 # Installed binaries are usually stripped using `strip' when the user
2943 # run `make install-strip'. However `strip' might not be the right
2944 # tool to use in cross-compilation environments, therefore Automake
2945 # will honor the `STRIP' environment variable to overrule this program.
2946 if test "$cross_compiling" != no; then
2947 if test -n "$ac_tool_prefix"; then
2948 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2949 set dummy ${ac_tool_prefix}strip; ac_word=$2
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2951 $as_echo_n "checking for $ac_word... " >&6; }
2952 if test "${ac_cv_prog_STRIP+set}" = set; then :
2953 $as_echo_n "(cached) " >&6
2955 if test -n "$STRIP"; then
2956 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir=.
2963 for ac_exec_ext in '' $ac_executable_extensions; do
2964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2965 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 STRIP=$ac_cv_prog_STRIP
2976 if test -n "$STRIP"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2978 $as_echo "$STRIP" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2986 if test -z "$ac_cv_prog_STRIP"; then
2988 # Extract the first word of "strip", so it can be a program name with args.
2989 set dummy strip; ac_word=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$ac_ct_STRIP"; then
2996 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir=.
3003 for ac_exec_ext in '' $ac_executable_extensions; do
3004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005 ac_cv_prog_ac_ct_STRIP="strip"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3016 if test -n "$ac_ct_STRIP"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3018 $as_echo "$ac_ct_STRIP" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3024 if test "x$ac_ct_STRIP" = x; then
3027 case $cross_compiling:$ac_tool_warned in
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3031 ac_tool_warned=yes ;;
3036 STRIP="$ac_cv_prog_STRIP"
3040 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3043 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3044 if test -z "$MKDIR_P"; then
3045 if test "${ac_cv_path_mkdir+set}" = set; then :
3046 $as_echo_n "(cached) " >&6
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3052 test -z "$as_dir" && as_dir=.
3053 for ac_prog in mkdir gmkdir; do
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3056 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3057 'mkdir (GNU coreutils) '* | \
3058 'mkdir (coreutils) '* | \
3059 'mkdir (fileutils) '4.1*)
3060 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3070 if test "${ac_cv_path_mkdir+set}" = set; then
3071 MKDIR_P="$ac_cv_path_mkdir -p"
3073 # As a last resort, use the slow shell script. Don't cache a
3074 # value for MKDIR_P within a source directory, because that will
3075 # break other packages using the cache if that directory is
3076 # removed, or if the value is a relative name.
3077 test -d ./--version && rmdir ./--version
3078 MKDIR_P="$ac_install_sh -d"
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3082 $as_echo "$MKDIR_P" >&6; }
3086 [\\/$]* | ?:[\\/]*) ;;
3087 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3090 for ac_prog in gawk mawk nawk awk
3092 # Extract the first word of "$ac_prog", so it can be a program name with args.
3093 set dummy $ac_prog; ac_word=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if test "${ac_cv_prog_AWK+set}" = set; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$AWK"; then
3100 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109 ac_cv_prog_AWK="$ac_prog"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test -n "$AWK"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3122 $as_echo "$AWK" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3129 test -n "$AWK" && break
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3133 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3135 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3136 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3137 $as_echo_n "(cached) " >&6
3139 cat >conftest.make <<\_ACEOF
3142 @echo '@@@%%%=$(MAKE)=@@@%%%'
3144 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3145 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3147 eval ac_cv_prog_make_${ac_make}_set=yes;;
3149 eval ac_cv_prog_make_${ac_make}_set=no;;
3153 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3155 $as_echo "yes" >&6; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 $as_echo "no" >&6; }
3160 SET_MAKE="MAKE=${MAKE-make}"
3163 rm -rf .tst 2>/dev/null
3164 mkdir .tst 2>/dev/null
3165 if test -d .tst; then
3170 rmdir .tst 2>/dev/null
3172 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3173 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3174 # is not polluted with repeated "-I."
3175 am__isrc=' -I$(srcdir)'
3176 # test to see if srcdir already configured
3177 if test -f $srcdir/config.status; then
3178 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3182 # test whether we have cygpath
3183 if test -z "$CYGPATH_W"; then
3184 if (cygpath --version) >/dev/null 2>/dev/null; then
3185 CYGPATH_W='cygpath -w'
3192 # Define the identity of the package.
3197 cat >>confdefs.h <<_ACEOF
3198 #define PACKAGE "$PACKAGE"
3202 cat >>confdefs.h <<_ACEOF
3203 #define VERSION "$VERSION"
3206 # Some tools Automake needs.
3208 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3211 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3214 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3217 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3220 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3222 # We need awk for the "check" target. The system "awk" is bad on
3224 # Always define AMTAR for backward compatibility.
3226 AMTAR=${AMTAR-"${am_missing_run}tar"}
3228 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3235 ac_config_headers="$ac_config_headers config.h:config.in"
3242 # Check whether --with-sysroot was given.
3243 if test "${with_sysroot+set}" = set; then :
3244 withval=$with_sysroot; sysroot=$withval
3250 if test "$sysroot" = "yes"; then
3251 sysroot='${exec_prefix}/${target_alias}/sys-root'
3252 elif test "$sysroot" = "no"; then
3256 sysroot_relocatable=0
3257 if test -n "$sysroot"; then
3259 "${prefix}" | "${prefix}/"* | \
3260 "${exec_prefix}" | "${exec_prefix}/"* | \
3261 '${prefix}' | '${prefix}/'*| \
3262 '${exec_prefix}' | '${exec_prefix}/'*)
3263 sysroot_relocatable=1
3269 cat >>confdefs.h <<_ACEOF
3270 #define TARGET_SYSTEM_ROOT "$sysroot"
3274 cat >>confdefs.h <<_ACEOF
3275 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3280 installed_linker=ld.gold
3281 # Check whether --enable-gold was given.
3282 if test "${enable_gold+set}" = set; then :
3283 enableval=$enable_gold; case "${enableval}" in
3285 install_as_default=yes
3288 if test x${enable_ld} = xno; then
3289 install_as_default=yes
3294 install_as_default=no
3300 # Check whether --enable-threads was given.
3301 if test "${enable_threads+set}" = set; then :
3302 enableval=$enable_threads; case "${enableval}" in
3303 yes | "") threads=yes ;;
3311 if test "$threads" = "yes"; then
3313 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3316 if test "$threads" = "yes"; then
3325 # Check whether --enable-plugins was given.
3326 if test "${enable_plugins+set}" = set; then :
3327 enableval=$enable_plugins; case "${enableval}" in
3328 yes | "") plugins=yes ;;
3336 if test "$plugins" = "yes"; then
3338 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3341 if test "$plugins" = "yes"; then
3350 # Check whether --enable-targets was given.
3351 if test "${enable_targets+set}" = set; then :
3352 enableval=$enable_targets; case "${enableval}" in
3354 as_fn_error "--enable-targets option must specify target names or 'all'" "$LINENO" 5
3360 enable_targets=$enableval
3364 # For now, enable all targets by default
3370 # Canonicalize the enabled targets.
3371 if test -n "$enable_targets"; then
3372 for targ in `echo $enable_targets | sed -e 's/,/ /g'`; do
3373 result=`$ac_config_sub $targ 2>/dev/null`
3374 if test -n "$result"; then
3375 canon_targets="$canon_targets $result"
3377 # Permit unrecognized target names, like "all".
3378 canon_targets="$canon_targets $targ"
3383 # See which specific instantiations we need.
3389 default_osabi=ELFOSABI_NONE
3394 for targ in $target $canon_targets; do
3395 if test "$targ" = "all"; then
3402 . ${srcdir}/configure.tgt
3404 if test "$targ_obj" = "UNKNOWN"; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"unsupported target $targ\"" >&5
3406 $as_echo "$as_me: WARNING: \"unsupported target $targ\"" >&2;}
3408 targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
3409 if test "$targ_extra_obj" != ""; then
3410 targetobjs="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3412 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3413 if test "$targ_big_endian" = "true" \
3414 -o "$targ_extra_big_endian" = "true"; then
3417 if test "$targ_big_endian" = "false" \
3418 -o "$targ_extra_big_endian" = "false"; then
3422 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3423 if test "$targ_big_endian" = "true" \
3424 -o "$targ_extra_big_endian" = "true"; then
3427 if test "$targ_big_endian" = "false" \
3428 -o "$targ_extra_big_endian" = "false"; then
3433 if test "$target" = "$targ"; then
3434 default_machine=$targ_machine
3435 default_size=$targ_size
3436 default_big_endian=$targ_big_endian
3437 default_osabi=$targ_osabi
3439 if test "$targ_obj" = "aarch64"; then
3440 DEFAULT_TARGET_AARCH64_TRUE=
3441 DEFAULT_TARGET_AARCH64_FALSE='#'
3443 DEFAULT_TARGET_AARCH64_TRUE='#'
3444 DEFAULT_TARGET_AARCH64_FALSE=
3447 if test "$targ_obj" = "arm"; then
3448 DEFAULT_TARGET_ARM_TRUE=
3449 DEFAULT_TARGET_ARM_FALSE='#'
3451 DEFAULT_TARGET_ARM_TRUE='#'
3452 DEFAULT_TARGET_ARM_FALSE=
3455 if test "$targ_obj" = "i386"; then
3456 DEFAULT_TARGET_I386_TRUE=
3457 DEFAULT_TARGET_I386_FALSE='#'
3459 DEFAULT_TARGET_I386_TRUE='#'
3460 DEFAULT_TARGET_I386_FALSE=
3463 if test "$targ_obj" = "powerpc"; then
3464 DEFAULT_TARGET_POWERPC_TRUE=
3465 DEFAULT_TARGET_POWERPC_FALSE='#'
3467 DEFAULT_TARGET_POWERPC_TRUE='#'
3468 DEFAULT_TARGET_POWERPC_FALSE=
3471 if test "$targ_obj" = "sparc"; then
3472 DEFAULT_TARGET_SPARC_TRUE=
3473 DEFAULT_TARGET_SPARC_FALSE='#'
3475 DEFAULT_TARGET_SPARC_TRUE='#'
3476 DEFAULT_TARGET_SPARC_FALSE=
3479 if test "$targ_obj" = "x86_64"; then
3480 DEFAULT_TARGET_X86_64_TRUE=
3481 DEFAULT_TARGET_X86_64_FALSE='#'
3483 DEFAULT_TARGET_X86_64_TRUE='#'
3484 DEFAULT_TARGET_X86_64_FALSE=
3487 if test "$targ_obj" = "tilegx"; then
3488 DEFAULT_TARGET_TILEGX_TRUE=
3489 DEFAULT_TARGET_TILEGX_FALSE='#'
3491 DEFAULT_TARGET_TILEGX_TRUE='#'
3492 DEFAULT_TARGET_TILEGX_FALSE=
3495 if test "$targ_obj" = "mips"; then
3496 DEFAULT_TARGET_MIPS_TRUE=
3497 DEFAULT_TARGET_MIPS_FALSE='#'
3499 DEFAULT_TARGET_MIPS_TRUE='#'
3500 DEFAULT_TARGET_MIPS_FALSE=
3503 DEFAULT_TARGET=${targ_obj}
3510 # Remove any duplicates.
3512 for t in $targetobjs; do
3520 if test -n "$targ_32_little"; then
3522 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3525 if test -n "$targ_32_big"; then
3527 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3530 if test -n "$targ_64_little"; then
3532 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3535 if test -n "$targ_64_big"; then
3537 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3541 if test -n "$all_targets"; then
3542 TARGETOBJS='$(ALL_TARGETOBJS)'
3544 TARGETOBJS="$targetobjs"
3549 cat >>confdefs.h <<_ACEOF
3550 #define GOLD_DEFAULT_MACHINE $default_machine
3554 cat >>confdefs.h <<_ACEOF
3555 #define GOLD_DEFAULT_SIZE $default_size
3559 cat >>confdefs.h <<_ACEOF
3560 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3564 cat >>confdefs.h <<_ACEOF
3565 #define GOLD_DEFAULT_OSABI $default_osabi
3570 # Check whether --with-lib-path was given.
3571 if test "${with_lib_path+set}" = set; then :
3572 withval=$with_lib_path; case "$withval" in
3573 yes) LIB_PATH='"/lib:/usr/lib"' ;;
3574 no) LIB_PATH='""' ;;
3575 *) LIB_PATH='"'"$withval"'"' ;;
3578 LIB_PATH='"::DEFAULT::"'
3582 cat >>confdefs.h <<_ACEOF
3583 #define LIB_PATH $LIB_PATH
3586 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
3588 $as_echo "#define NATIVE_LINKER 1" >>confdefs.h
3592 if test -n "$ac_tool_prefix"; then
3593 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3594 set dummy ${ac_tool_prefix}nm; ac_word=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if test "${ac_cv_prog_NM+set}" = set; then :
3598 $as_echo_n "(cached) " >&6
3600 if test -n "$NM"; then
3601 ac_cv_prog_NM="$NM" # Let the user override the test.
3603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 test -z "$as_dir" && as_dir=.
3608 for ac_exec_ext in '' $ac_executable_extensions; do
3609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3610 ac_cv_prog_NM="${ac_tool_prefix}nm"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 if test -n "$NM"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3623 $as_echo "$NM" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3631 if test -z "$ac_cv_prog_NM"; then
3633 # Extract the first word of "nm", so it can be a program name with args.
3634 set dummy nm; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -n "$ac_ct_NM"; then
3641 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_ac_ct_NM="nm"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 ac_ct_NM=$ac_cv_prog_ac_ct_NM
3661 if test -n "$ac_ct_NM"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3663 $as_echo "$ac_ct_NM" >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3669 if test "x$ac_ct_NM" = x; then
3672 case $cross_compiling:$ac_tool_warned in
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3676 ac_tool_warned=yes ;;
3686 ac_cpp='$CPP $CPPFLAGS'
3687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3690 if test -n "$ac_tool_prefix"; then
3691 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3692 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if test "${ac_cv_prog_CC+set}" = set; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 if test -n "$CC"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3721 $as_echo "$CC" >&6; }
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3729 if test -z "$ac_cv_prog_CC"; then
3731 # Extract the first word of "gcc", so it can be a program name with args.
3732 set dummy gcc; ac_word=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -n "$ac_ct_CC"; then
3739 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir=.
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3748 ac_cv_prog_ac_ct_CC="gcc"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3759 if test -n "$ac_ct_CC"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3761 $as_echo "$ac_ct_CC" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3767 if test "x$ac_ct_CC" = x; then
3770 case $cross_compiling:$ac_tool_warned in
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3774 ac_tool_warned=yes ;;
3782 if test -z "$CC"; then
3783 if test -n "$ac_tool_prefix"; then
3784 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3785 set dummy ${ac_tool_prefix}cc; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if test "${ac_cv_prog_CC+set}" = set; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -n "$CC"; then
3792 ac_cv_prog_CC="$CC" # Let the user override the test.
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3801 ac_cv_prog_CC="${ac_tool_prefix}cc"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3823 if test -z "$CC"; then
3824 # Extract the first word of "cc", so it can be a program name with args.
3825 set dummy cc; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if test "${ac_cv_prog_CC+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3842 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3843 ac_prog_rejected=yes
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 if test $ac_prog_rejected = yes; then
3855 # We found a bogon in the path, so make sure we never use it.
3856 set dummy $ac_cv_prog_CC
3858 if test $# != 0; then
3859 # We chose a different compiler from the bogus one.
3860 # However, it has the same basename, so the bogon will be chosen
3861 # first if we set CC to just the basename; use the full file name.
3863 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3869 if test -n "$CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3871 $as_echo "$CC" >&6; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3879 if test -z "$CC"; then
3880 if test -n "$ac_tool_prefix"; then
3881 for ac_prog in cl.exe
3883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3886 $as_echo_n "checking for $ac_word... " >&6; }
3887 if test "${ac_cv_prog_CC+set}" = set; then :
3888 $as_echo_n "(cached) " >&6
3890 if test -n "$CC"; then
3891 ac_cv_prog_CC="$CC" # Let the user override the test.
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3900 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3911 if test -n "$CC"; then
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3913 $as_echo "$CC" >&6; }
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 $as_echo "no" >&6; }
3920 test -n "$CC" && break
3923 if test -z "$CC"; then
3925 for ac_prog in cl.exe
3927 # Extract the first word of "$ac_prog", so it can be a program name with args.
3928 set dummy $ac_prog; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -n "$ac_ct_CC"; then
3935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3944 ac_cv_prog_ac_ct_CC="$ac_prog"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3955 if test -n "$ac_ct_CC"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3957 $as_echo "$ac_ct_CC" >&6; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3964 test -n "$ac_ct_CC" && break
3967 if test "x$ac_ct_CC" = x; then
3970 case $cross_compiling:$ac_tool_warned in
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3974 ac_tool_warned=yes ;;
3983 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error "no acceptable C compiler found in \$PATH
3986 See \`config.log' for more details." "$LINENO" 5; }
3988 # Provide some information about the compiler.
3989 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3992 for ac_option in --version -v -V -qversion; do
3993 { { ac_try="$ac_compiler $ac_option >&5"
3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996 *) ac_try_echo=$ac_try;;
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4002 if test -s conftest.err; then
4004 ... rest of stderr output deleted ...
4005 10q' conftest.err >conftest.er1
4006 cat conftest.er1 >&5
4007 rm -f conftest.er1 conftest.err
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4024 ac_clean_files_save=$ac_clean_files
4025 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4026 # Try to create an executable without -o first, disregard a.out.
4027 # It will help us diagnose broken compilers, and finding out an intuition
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4030 $as_echo_n "checking for C compiler default output file name... " >&6; }
4031 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4033 # The possible output files:
4034 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4037 for ac_file in $ac_files
4040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4041 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4046 if { { ac_try="$ac_link_default"
4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_link_default") 2>&5
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }; then :
4057 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4058 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4059 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4060 # so that the user can short-circuit this test for compilers unknown to
4062 for ac_file in $ac_files ''
4064 test -f "$ac_file" || continue
4066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4069 # We found the default executable, but exeext='' is most
4073 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4075 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4077 # We set ac_cv_exeext here because the later test for it is not
4078 # safe: cross compilers may not add the suffix if given an `-o'
4079 # argument, so we may need to know it at that point already.
4080 # Even if this section looks crufty: it has the advantage of
4087 test "$ac_cv_exeext" = no && ac_cv_exeext=
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4093 $as_echo "$ac_file" >&6; }
4094 if test -z "$ac_file"; then :
4095 $as_echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4100 { as_fn_set_status 77
4101 as_fn_error "C compiler cannot create executables
4102 See \`config.log' for more details." "$LINENO" 5; }; }
4104 ac_exeext=$ac_cv_exeext
4106 # Check that the compiler produces executables we can run. If not, either
4107 # the compiler is broken, or we cross compile.
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4109 $as_echo_n "checking whether the C compiler works... " >&6; }
4110 # If not cross compiling, check that we can run a simple program.
4111 if test "$cross_compiling" != yes; then
4112 if { ac_try='./$ac_file'
4113 { { case "(($ac_try" in
4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_try") 2>&5
4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }; }; then
4125 if test "$cross_compiling" = maybe; then
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error "cannot run C compiled programs.
4131 If you meant to cross compile, use \`--host'.
4132 See \`config.log' for more details." "$LINENO" 5; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4137 $as_echo "yes" >&6; }
4139 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4140 ac_clean_files=$ac_clean_files_save
4141 # Check that the compiler produces executables we can run. If not, either
4142 # the compiler is broken, or we cross compile.
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4144 $as_echo_n "checking whether we are cross compiling... " >&6; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4146 $as_echo "$cross_compiling" >&6; }
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4149 $as_echo_n "checking for suffix of executables... " >&6; }
4150 if { { ac_try="$ac_link"
4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_link") 2>&5
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }; then :
4161 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4162 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4163 # work properly (i.e., refer to `conftest.exe'), while it won't with
4165 for ac_file in conftest.exe conftest conftest.*; do
4166 test -f "$ac_file" || continue
4168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4169 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4177 as_fn_error "cannot compute suffix of executables: cannot compile and link
4178 See \`config.log' for more details." "$LINENO" 5; }
4180 rm -f conftest$ac_cv_exeext
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4182 $as_echo "$ac_cv_exeext" >&6; }
4184 rm -f conftest.$ac_ext
4185 EXEEXT=$ac_cv_exeext
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4188 $as_echo_n "checking for suffix of object files... " >&6; }
4189 if test "${ac_cv_objext+set}" = set; then :
4190 $as_echo_n "(cached) " >&6
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 rm -f conftest.o conftest.obj
4204 if { { ac_try="$ac_compile"
4206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4210 $as_echo "$ac_try_echo"; } >&5
4211 (eval "$ac_compile") 2>&5
4213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4214 test $ac_status = 0; }; then :
4215 for ac_file in conftest.o conftest.obj conftest.*; do
4216 test -f "$ac_file" || continue;
4218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4219 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4224 $as_echo "$as_me: failed program was:" >&5
4225 sed 's/^/| /' conftest.$ac_ext >&5
4227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4229 as_fn_error "cannot compute suffix of object files: cannot compile
4230 See \`config.log' for more details." "$LINENO" 5; }
4232 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4235 $as_echo "$ac_cv_objext" >&6; }
4236 OBJEXT=$ac_cv_objext
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4239 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4240 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4257 if ac_fn_c_try_compile "$LINENO"; then :
4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4263 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4267 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4268 if test $ac_compiler_gnu = yes; then
4273 ac_test_CFLAGS=${CFLAGS+set}
4274 ac_save_CFLAGS=$CFLAGS
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4276 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4277 if test "${ac_cv_prog_cc_g+set}" = set; then :
4278 $as_echo_n "(cached) " >&6
4280 ac_save_c_werror_flag=$ac_c_werror_flag
4281 ac_c_werror_flag=yes
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4295 if ac_fn_c_try_compile "$LINENO"; then :
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4310 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_c_werror_flag=$ac_save_c_werror_flag
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4326 if ac_fn_c_try_compile "$LINENO"; then :
4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4334 ac_c_werror_flag=$ac_save_c_werror_flag
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4337 $as_echo "$ac_cv_prog_cc_g" >&6; }
4338 if test "$ac_test_CFLAGS" = set; then
4339 CFLAGS=$ac_save_CFLAGS
4340 elif test $ac_cv_prog_cc_g = yes; then
4341 if test "$GCC" = yes; then
4347 if test "$GCC" = yes; then
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4354 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4355 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4356 $as_echo_n "(cached) " >&6
4358 ac_cv_prog_cc_c89=no
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4364 #include <sys/types.h>
4365 #include <sys/stat.h>
4366 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4367 struct buf { int x; };
4368 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4369 static char *e (p, i)
4375 static char *f (char * (*g) (char **, int), char **p, ...)
4380 s = g (p, va_arg (v,int));
4385 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4386 function prototypes and stuff, but not '\xHH' hex character constants.
4387 These don't provoke an error unfortunately, instead are silently treated
4388 as 'x'. The following induces an error, until -std is added to get
4389 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4390 array size at least. It's necessary to write '\x00'==0 to get something
4391 that's true only with -std. */
4392 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4394 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4395 inside strings and character constants. */
4397 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4399 int test (int i, double x);
4400 struct s1 {int (*f) (int a);};
4401 struct s2 {int (*f) (double a);};
4402 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4408 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4413 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4414 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4416 CC="$ac_save_CC $ac_arg"
4417 if ac_fn_c_try_compile "$LINENO"; then :
4418 ac_cv_prog_cc_c89=$ac_arg
4420 rm -f core conftest.err conftest.$ac_objext
4421 test "x$ac_cv_prog_cc_c89" != "xno" && break
4423 rm -f conftest.$ac_ext
4428 case "x$ac_cv_prog_cc_c89" in
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4431 $as_echo "none needed" >&6; } ;;
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4434 $as_echo "unsupported" >&6; } ;;
4436 CC="$CC $ac_cv_prog_cc_c89"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4438 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4440 if test "x$ac_cv_prog_cc_c89" != xno; then :
4445 ac_cpp='$CPP $CPPFLAGS'
4446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4449 DEPDIR="${am__leading_dot}deps"
4451 ac_config_commands="$ac_config_commands depfiles"
4454 am_make=${MAKE-make}
4455 cat > confinc << 'END'
4457 @echo this is the am__doit target
4460 # If we don't find an include directive, just comment out the code.
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4462 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4466 # First try GNU make style include.
4467 echo "include confinc" > confmf
4468 # Ignore all kinds of additional output from `make'.
4469 case `$am_make -s -f confmf 2> /dev/null` in #(
4470 *the\ am__doit\ target*)
4476 # Now try BSD make style include.
4477 if test "$am__include" = "#"; then
4478 echo '.include "confinc"' > confmf
4479 case `$am_make -s -f confmf 2> /dev/null` in #(
4480 *the\ am__doit\ target*)
4481 am__include=.include
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4490 $as_echo "$_am_result" >&6; }
4491 rm -f confinc confmf
4493 # Check whether --enable-dependency-tracking was given.
4494 if test "${enable_dependency_tracking+set}" = set; then :
4495 enableval=$enable_dependency_tracking;
4498 if test "x$enable_dependency_tracking" != xno; then
4499 am_depcomp="$ac_aux_dir/depcomp"
4502 if test "x$enable_dependency_tracking" != xno; then
4512 depcc="$CC" am_compiler_list=
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4515 $as_echo_n "checking dependency style of $depcc... " >&6; }
4516 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4519 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4520 # We make a subdir and do the tests there. Otherwise we can end up
4521 # making bogus files that we don't know about and never remove. For
4522 # instance it was reported that on HP-UX the gcc test will end up
4523 # making a dummy file named `D' -- because `-MD' means `put the output
4526 # Copy depcomp to subdir because otherwise we won't find it if we're
4527 # using a relative directory.
4528 cp "$am_depcomp" conftest.dir
4530 # We will build objects and dependencies in a subdirectory because
4531 # it helps to detect inapplicable dependency modes. For instance
4532 # both Tru64's cc and ICC support -MD to output dependencies as a
4533 # side effect of compilation, but ICC will put the dependencies in
4534 # the current directory while Tru64 will put them in the object
4538 am_cv_CC_dependencies_compiler_type=none
4539 if test "$am_compiler_list" = ""; then
4540 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4543 case " $depcc " in #(
4544 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4547 for depmode in $am_compiler_list; do
4548 # Setup a source with many dependencies, because some compilers
4549 # like to wrap large dependency lists on column 80 (with \), and
4550 # we should not choose a depcomp mode which is confused by this.
4552 # We need to recreate these files for each test, as the compiler may
4553 # overwrite some of them when testing with obscure command lines.
4554 # This happens at least with the AIX C compiler.
4556 for i in 1 2 3 4 5 6; do
4557 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4558 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4559 # Solaris 8's {/usr,}/bin/sh.
4560 touch sub/conftst$i.h
4562 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4564 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4565 # mode. It turns out that the SunPro C++ compiler does not properly
4566 # handle `-M -o', and we need to detect this. Also, some Intel
4567 # versions had trouble with output in subdirs
4568 am__obj=sub/conftest.${OBJEXT-o}
4569 am__minus_obj="-o $am__obj"
4572 # This depmode causes a compiler race in universal mode.
4573 test "$am__universal" = false || continue
4576 # after this tag, mechanisms are not by side-effect, so they'll
4577 # only be used when explicitly requested
4578 if test "x$enable_dependency_tracking" = xyes; then
4584 msvisualcpp | msvcmsys)
4585 # This compiler won't grok `-c -o', but also, the minuso test has
4586 # not run yet. These depmodes are late enough in the game, and
4587 # so weak that their functioning should not be impacted.
4588 am__obj=conftest.${OBJEXT-o}
4593 if depmode=$depmode \
4594 source=sub/conftest.c object=$am__obj \
4595 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4596 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4597 >/dev/null 2>conftest.err &&
4598 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4599 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4600 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4601 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4602 # icc doesn't choke on unknown options, it will just issue warnings
4603 # or remarks (even with -Werror). So we grep stderr for any message
4604 # that says an option was ignored or not supported.
4605 # When given -MP, icc 7.0 and 7.1 complain thusly:
4606 # icc: Command line warning: ignoring option '-M'; no argument required
4607 # The diagnosis changed in icc 8.0:
4608 # icc: Command line remark: option '-MP' not supported
4609 if (grep 'ignoring option' conftest.err ||
4610 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4611 am_cv_CC_dependencies_compiler_type=$depmode
4620 am_cv_CC_dependencies_compiler_type=none
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4625 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4626 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4629 test "x$enable_dependency_tracking" != xno \
4630 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4632 am__fastdepCC_FALSE='#'
4634 am__fastdepCC_TRUE='#'
4635 am__fastdepCC_FALSE=
4640 ac_cpp='$CXXCPP $CPPFLAGS'
4641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4644 if test -z "$CXX"; then
4645 if test -n "$CCC"; then
4648 if test -n "$ac_tool_prefix"; then
4649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if test "${ac_cv_prog_CXX+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$CXX"; then
4659 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 if test -n "$CXX"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4681 $as_echo "$CXX" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688 test -n "$CXX" && break
4691 if test -z "$CXX"; then
4693 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4695 # Extract the first word of "$ac_prog", so it can be a program name with args.
4696 set dummy $ac_prog; ac_word=$2
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4700 $as_echo_n "(cached) " >&6
4702 if test -n "$ac_ct_CXX"; then
4703 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir=.
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4712 ac_cv_prog_ac_ct_CXX="$ac_prog"
4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4723 if test -n "$ac_ct_CXX"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4725 $as_echo "$ac_ct_CXX" >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4732 test -n "$ac_ct_CXX" && break
4735 if test "x$ac_ct_CXX" = x; then
4738 case $cross_compiling:$ac_tool_warned in
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4742 ac_tool_warned=yes ;;
4750 # Provide some information about the compiler.
4751 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4754 for ac_option in --version -v -V -qversion; do
4755 { { ac_try="$ac_compiler $ac_option >&5"
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4761 $as_echo "$ac_try_echo"; } >&5
4762 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4764 if test -s conftest.err; then
4766 ... rest of stderr output deleted ...
4767 10q' conftest.err >conftest.er1
4768 cat conftest.er1 >&5
4769 rm -f conftest.er1 conftest.err
4771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4772 test $ac_status = 0; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4776 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4777 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4778 $as_echo_n "(cached) " >&6
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4794 if ac_fn_cxx_try_compile "$LINENO"; then :
4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4800 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4804 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4805 if test $ac_compiler_gnu = yes; then
4810 ac_test_CXXFLAGS=${CXXFLAGS+set}
4811 ac_save_CXXFLAGS=$CXXFLAGS
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4813 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4814 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4815 $as_echo_n "(cached) " >&6
4817 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4818 ac_cxx_werror_flag=yes
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4832 if ac_fn_cxx_try_compile "$LINENO"; then :
4833 ac_cv_prog_cxx_g=yes
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4847 if ac_fn_cxx_try_compile "$LINENO"; then :
4850 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4863 if ac_fn_cxx_try_compile "$LINENO"; then :
4864 ac_cv_prog_cxx_g=yes
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4874 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4875 if test "$ac_test_CXXFLAGS" = set; then
4876 CXXFLAGS=$ac_save_CXXFLAGS
4877 elif test $ac_cv_prog_cxx_g = yes; then
4878 if test "$GXX" = yes; then
4884 if test "$GXX" = yes; then
4891 ac_cpp='$CPP $CPPFLAGS'
4892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4896 depcc="$CXX" am_compiler_list=
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4899 $as_echo_n "checking dependency style of $depcc... " >&6; }
4900 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4904 # We make a subdir and do the tests there. Otherwise we can end up
4905 # making bogus files that we don't know about and never remove. For
4906 # instance it was reported that on HP-UX the gcc test will end up
4907 # making a dummy file named `D' -- because `-MD' means `put the output
4910 # Copy depcomp to subdir because otherwise we won't find it if we're
4911 # using a relative directory.
4912 cp "$am_depcomp" conftest.dir
4914 # We will build objects and dependencies in a subdirectory because
4915 # it helps to detect inapplicable dependency modes. For instance
4916 # both Tru64's cc and ICC support -MD to output dependencies as a
4917 # side effect of compilation, but ICC will put the dependencies in
4918 # the current directory while Tru64 will put them in the object
4922 am_cv_CXX_dependencies_compiler_type=none
4923 if test "$am_compiler_list" = ""; then
4924 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4927 case " $depcc " in #(
4928 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4931 for depmode in $am_compiler_list; do
4932 # Setup a source with many dependencies, because some compilers
4933 # like to wrap large dependency lists on column 80 (with \), and
4934 # we should not choose a depcomp mode which is confused by this.
4936 # We need to recreate these files for each test, as the compiler may
4937 # overwrite some of them when testing with obscure command lines.
4938 # This happens at least with the AIX C compiler.
4940 for i in 1 2 3 4 5 6; do
4941 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4942 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4943 # Solaris 8's {/usr,}/bin/sh.
4944 touch sub/conftst$i.h
4946 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4948 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4949 # mode. It turns out that the SunPro C++ compiler does not properly
4950 # handle `-M -o', and we need to detect this. Also, some Intel
4951 # versions had trouble with output in subdirs
4952 am__obj=sub/conftest.${OBJEXT-o}
4953 am__minus_obj="-o $am__obj"
4956 # This depmode causes a compiler race in universal mode.
4957 test "$am__universal" = false || continue
4960 # after this tag, mechanisms are not by side-effect, so they'll
4961 # only be used when explicitly requested
4962 if test "x$enable_dependency_tracking" = xyes; then
4968 msvisualcpp | msvcmsys)
4969 # This compiler won't grok `-c -o', but also, the minuso test has
4970 # not run yet. These depmodes are late enough in the game, and
4971 # so weak that their functioning should not be impacted.
4972 am__obj=conftest.${OBJEXT-o}
4977 if depmode=$depmode \
4978 source=sub/conftest.c object=$am__obj \
4979 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4980 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4981 >/dev/null 2>conftest.err &&
4982 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4983 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4984 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4985 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4986 # icc doesn't choke on unknown options, it will just issue warnings
4987 # or remarks (even with -Werror). So we grep stderr for any message
4988 # that says an option was ignored or not supported.
4989 # When given -MP, icc 7.0 and 7.1 complain thusly:
4990 # icc: Command line warning: ignoring option '-M'; no argument required
4991 # The diagnosis changed in icc 8.0:
4992 # icc: Command line remark: option '-MP' not supported
4993 if (grep 'ignoring option' conftest.err ||
4994 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4995 am_cv_CXX_dependencies_compiler_type=$depmode
5004 am_cv_CXX_dependencies_compiler_type=none
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5009 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5010 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5013 test "x$enable_dependency_tracking" != xno \
5014 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5015 am__fastdepCXX_TRUE=
5016 am__fastdepCXX_FALSE='#'
5018 am__fastdepCXX_TRUE='#'
5019 am__fastdepCXX_FALSE=
5023 for ac_prog in 'bison -y' byacc
5025 # Extract the first word of "$ac_prog", so it can be a program name with args.
5026 set dummy $ac_prog; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_YACC+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$YACC"; then
5033 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_YACC="$ac_prog"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 YACC=$ac_cv_prog_YACC
5053 if test -n "$YACC"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5055 $as_echo "$YACC" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5062 test -n "$YACC" && break
5064 test -n "$YACC" || YACC="yacc"
5066 if test -n "$ac_tool_prefix"; then
5067 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5068 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5072 $as_echo_n "(cached) " >&6
5074 if test -n "$RANLIB"; then
5075 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 RANLIB=$ac_cv_prog_RANLIB
5095 if test -n "$RANLIB"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5097 $as_echo "$RANLIB" >&6; }
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5105 if test -z "$ac_cv_prog_RANLIB"; then
5106 ac_ct_RANLIB=$RANLIB
5107 # Extract the first word of "ranlib", so it can be a program name with args.
5108 set dummy ranlib; ac_word=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5112 $as_echo_n "(cached) " >&6
5114 if test -n "$ac_ct_RANLIB"; then
5115 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 test -z "$as_dir" && as_dir=.
5122 for ac_exec_ext in '' $ac_executable_extensions; do
5123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5124 ac_cv_prog_ac_ct_RANLIB="ranlib"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5135 if test -n "$ac_ct_RANLIB"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5137 $as_echo "$ac_ct_RANLIB" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5143 if test "x$ac_ct_RANLIB" = x; then
5146 case $cross_compiling:$ac_tool_warned in
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5150 ac_tool_warned=yes ;;
5152 RANLIB=$ac_ct_RANLIB
5155 RANLIB="$ac_cv_prog_RANLIB"
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5160 $as_echo_n "checking whether ln -s works... " >&6; }
5162 if test "$LN_S" = "ln -s"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5164 $as_echo "yes" >&6; }
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5167 $as_echo "no, using $LN_S" >&6; }
5173 ac_cpp='$CPP $CPPFLAGS'
5174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5178 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5179 # On Suns, sometimes $CPP names a directory.
5180 if test -n "$CPP" && test -d "$CPP"; then
5183 if test -z "$CPP"; then
5184 if test "${ac_cv_prog_CPP+set}" = set; then :
5185 $as_echo_n "(cached) " >&6
5187 # Double quotes because CPP needs to be expanded
5188 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5191 for ac_c_preproc_warn_flag in '' yes
5193 # Use a header file that comes with gcc, so configuring glibc
5194 # with a fresh cross-compiler works.
5195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5196 # <limits.h> exists even on freestanding compilers.
5197 # On the NeXT, cc -E runs the code through the compiler's parser,
5198 # not just through cpp. "Syntax error" is here to catch this case.
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5202 # include <limits.h>
5204 # include <assert.h>
5208 if ac_fn_c_try_cpp "$LINENO"; then :
5211 # Broken: fails on valid input.
5214 rm -f conftest.err conftest.$ac_ext
5216 # OK, works on sane cases. Now check whether nonexistent headers
5217 # can be detected and how.
5218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219 /* end confdefs.h. */
5220 #include <ac_nonexistent.h>
5222 if ac_fn_c_try_cpp "$LINENO"; then :
5223 # Broken: success on invalid input.
5226 # Passes both tests.
5230 rm -f conftest.err conftest.$ac_ext
5233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5234 rm -f conftest.err conftest.$ac_ext
5235 if $ac_preproc_ok; then :
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5248 $as_echo "$CPP" >&6; }
5250 for ac_c_preproc_warn_flag in '' yes
5252 # Use a header file that comes with gcc, so configuring glibc
5253 # with a fresh cross-compiler works.
5254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5255 # <limits.h> exists even on freestanding compilers.
5256 # On the NeXT, cc -E runs the code through the compiler's parser,
5257 # not just through cpp. "Syntax error" is here to catch this case.
5258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5261 # include <limits.h>
5263 # include <assert.h>
5267 if ac_fn_c_try_cpp "$LINENO"; then :
5270 # Broken: fails on valid input.
5273 rm -f conftest.err conftest.$ac_ext
5275 # OK, works on sane cases. Now check whether nonexistent headers
5276 # can be detected and how.
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5279 #include <ac_nonexistent.h>
5281 if ac_fn_c_try_cpp "$LINENO"; then :
5282 # Broken: success on invalid input.
5285 # Passes both tests.
5289 rm -f conftest.err conftest.$ac_ext
5292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5293 rm -f conftest.err conftest.$ac_ext
5294 if $ac_preproc_ok; then :
5297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5299 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5300 See \`config.log' for more details." "$LINENO" 5; }
5304 ac_cpp='$CPP $CPPFLAGS'
5305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5311 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5312 if test "${ac_cv_path_GREP+set}" = set; then :
5313 $as_echo_n "(cached) " >&6
5315 if test -z "$GREP"; then
5316 ac_path_GREP_found=false
5317 # Loop through the user's path and test for each of PROGNAME-LIST
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5322 test -z "$as_dir" && as_dir=.
5323 for ac_prog in grep ggrep; do
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5326 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5327 # Check for GNU ac_path_GREP and select it if it is found.
5328 # Check for GNU $ac_path_GREP
5329 case `"$ac_path_GREP" --version 2>&1` in
5331 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5334 $as_echo_n 0123456789 >"conftest.in"
5337 cat "conftest.in" "conftest.in" >"conftest.tmp"
5338 mv "conftest.tmp" "conftest.in"
5339 cp "conftest.in" "conftest.nl"
5340 $as_echo 'GREP' >> "conftest.nl"
5341 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5342 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5343 as_fn_arith $ac_count + 1 && ac_count=$as_val
5344 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5345 # Best one so far, save it but keep looking for a better one
5346 ac_cv_path_GREP="$ac_path_GREP"
5347 ac_path_GREP_max=$ac_count
5349 # 10*(2^10) chars as input seems more than enough
5350 test $ac_count -gt 10 && break
5352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5355 $ac_path_GREP_found && break 3
5360 if test -z "$ac_cv_path_GREP"; then
5361 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5364 ac_cv_path_GREP=$GREP
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5369 $as_echo "$ac_cv_path_GREP" >&6; }
5370 GREP="$ac_cv_path_GREP"
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5374 $as_echo_n "checking for egrep... " >&6; }
5375 if test "${ac_cv_path_EGREP+set}" = set; then :
5376 $as_echo_n "(cached) " >&6
5378 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5379 then ac_cv_path_EGREP="$GREP -E"
5381 if test -z "$EGREP"; then
5382 ac_path_EGREP_found=false
5383 # Loop through the user's path and test for each of PROGNAME-LIST
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5388 test -z "$as_dir" && as_dir=.
5389 for ac_prog in egrep; do
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5392 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5393 # Check for GNU ac_path_EGREP and select it if it is found.
5394 # Check for GNU $ac_path_EGREP
5395 case `"$ac_path_EGREP" --version 2>&1` in
5397 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5400 $as_echo_n 0123456789 >"conftest.in"
5403 cat "conftest.in" "conftest.in" >"conftest.tmp"
5404 mv "conftest.tmp" "conftest.in"
5405 cp "conftest.in" "conftest.nl"
5406 $as_echo 'EGREP' >> "conftest.nl"
5407 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5408 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5409 as_fn_arith $ac_count + 1 && ac_count=$as_val
5410 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5411 # Best one so far, save it but keep looking for a better one
5412 ac_cv_path_EGREP="$ac_path_EGREP"
5413 ac_path_EGREP_max=$ac_count
5415 # 10*(2^10) chars as input seems more than enough
5416 test $ac_count -gt 10 && break
5418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5421 $ac_path_EGREP_found && break 3
5426 if test -z "$ac_cv_path_EGREP"; then
5427 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5430 ac_cv_path_EGREP=$EGREP
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5436 $as_echo "$ac_cv_path_EGREP" >&6; }
5437 EGREP="$ac_cv_path_EGREP"
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5441 $as_echo_n "checking for ANSI C header files... " >&6; }
5442 if test "${ac_cv_header_stdc+set}" = set; then :
5443 $as_echo_n "(cached) " >&6
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5460 if ac_fn_c_try_compile "$LINENO"; then :
5461 ac_cv_header_stdc=yes
5463 ac_cv_header_stdc=no
5465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5467 if test $ac_cv_header_stdc = yes; then
5468 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5475 $EGREP "memchr" >/dev/null 2>&1; then :
5478 ac_cv_header_stdc=no
5484 if test $ac_cv_header_stdc = yes; then
5485 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5487 /* end confdefs.h. */
5491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5492 $EGREP "free" >/dev/null 2>&1; then :
5495 ac_cv_header_stdc=no
5501 if test $ac_cv_header_stdc = yes; then
5502 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5503 if test "$cross_compiling" = yes; then :
5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5510 #if ((' ' & 0x0FF) == 0x020)
5511 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5512 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5514 # define ISLOWER(c) \
5515 (('a' <= (c) && (c) <= 'i') \
5516 || ('j' <= (c) && (c) <= 'r') \
5517 || ('s' <= (c) && (c) <= 'z'))
5518 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5521 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5526 for (i = 0; i < 256; i++)
5527 if (XOR (islower (i), ISLOWER (i))
5528 || toupper (i) != TOUPPER (i))
5533 if ac_fn_c_try_run "$LINENO"; then :
5536 ac_cv_header_stdc=no
5538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5539 conftest.$ac_objext conftest.beam conftest.$ac_ext
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5545 $as_echo "$ac_cv_header_stdc" >&6; }
5546 if test $ac_cv_header_stdc = yes; then
5548 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5552 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5553 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5554 inttypes.h stdint.h unistd.h
5556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5557 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5559 eval as_val=\$$as_ac_Header
5560 if test "x$as_val" = x""yes; then :
5561 cat >>confdefs.h <<_ACEOF
5562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5571 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5572 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5579 if test "$MINIX" = yes; then
5581 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5584 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5587 $as_echo "#define _MINIX 1" >>confdefs.h
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5593 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5594 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5595 $as_echo_n "(cached) " >&6
5597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5598 /* end confdefs.h. */
5600 # define __EXTENSIONS__ 1
5601 $ac_includes_default
5610 if ac_fn_c_try_compile "$LINENO"; then :
5611 ac_cv_safe_to_define___extensions__=yes
5613 ac_cv_safe_to_define___extensions__=no
5615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5618 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5619 test $ac_cv_safe_to_define___extensions__ = yes &&
5620 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5622 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5624 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5626 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5628 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5633 # If we haven't got the data from the intl directory,
5634 # assume NLS is disabled.
5643 if test -f ../intl/config.intl; then
5644 . ../intl/config.intl
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5647 $as_echo_n "checking whether NLS is requested... " >&6; }
5648 if test x"$USE_NLS" != xyes; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5653 $as_echo "yes" >&6; }
5655 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5659 $as_echo_n "checking for catalogs to be installed... " >&6; }
5660 # Look for .po and .gmo files in the source directory.
5663 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
5664 # If there aren't any .gmo files the shell will give us the
5665 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5667 case "$cat" in *\**)
5670 # The quadruple backslash is collapsed to a double backslash
5671 # by the backticks, then collapsed again by the double quotes,
5672 # leaving us with one backslash in the sed expression (right
5673 # before the dot that mustn't act as a wildcard).
5674 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5675 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
5676 # The user is allowed to set LINGUAS to a list of languages to
5677 # install catalogs for. If it's empty that means "all of them."
5678 if test "x$LINGUAS" = x; then
5679 CATALOGS="$CATALOGS $cat"
5680 XLINGUAS="$XLINGUAS $lang"
5682 case "$LINGUAS" in *$lang*)
5683 CATALOGS="$CATALOGS $cat"
5684 XLINGUAS="$XLINGUAS $lang"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5691 $as_echo "$LINGUAS" >&6; }
5705 if test -n "$ac_aux_dir"; then
5706 case "$ac_aux_dir" in
5707 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
5708 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5711 if test -z "$MKINSTALLDIRS"; then
5712 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5718 $as_echo_n "checking whether NLS is requested... " >&6; }
5719 # Check whether --enable-nls was given.
5720 if test "${enable_nls+set}" = set; then :
5721 enableval=$enable_nls; USE_NLS=$enableval
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5727 $as_echo "$USE_NLS" >&6; }
5734 # Prepare PATH_SEPARATOR.
5735 # The user is always right.
5736 if test "${PATH_SEPARATOR+set}" != set; then
5737 echo "#! /bin/sh" >conf$$.sh
5738 echo "exit 0" >>conf$$.sh
5740 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5748 # Find out how to test for executable files. Don't use a zero-byte file,
5749 # as systems may use methods other than mode bits to determine executability.
5750 cat >conf$$.file <<_ASEOF
5754 chmod +x conf$$.file
5755 if test -x conf$$.file >/dev/null 2>&1; then
5756 ac_executable_p="test -x"
5758 ac_executable_p="test -f"
5762 # Extract the first word of "msgfmt", so it can be a program name with args.
5763 set dummy msgfmt; ac_word=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5767 $as_echo_n "(cached) " >&6
5771 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5774 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5775 for ac_dir in $PATH; do
5777 test -z "$ac_dir" && ac_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5780 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5781 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5782 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5789 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5793 MSGFMT="$ac_cv_path_MSGFMT"
5794 if test "$MSGFMT" != ":"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5796 $as_echo "$MSGFMT" >&6; }
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5802 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5803 set dummy gmsgfmt; ac_word=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 $as_echo_n "checking for $ac_word... " >&6; }
5806 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5811 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5833 GMSGFMT=$ac_cv_path_GMSGFMT
5834 if test -n "$GMSGFMT"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5836 $as_echo "$GMSGFMT" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5845 # Prepare PATH_SEPARATOR.
5846 # The user is always right.
5847 if test "${PATH_SEPARATOR+set}" != set; then
5848 echo "#! /bin/sh" >conf$$.sh
5849 echo "exit 0" >>conf$$.sh
5851 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5859 # Find out how to test for executable files. Don't use a zero-byte file,
5860 # as systems may use methods other than mode bits to determine executability.
5861 cat >conf$$.file <<_ASEOF
5865 chmod +x conf$$.file
5866 if test -x conf$$.file >/dev/null 2>&1; then
5867 ac_executable_p="test -x"
5869 ac_executable_p="test -f"
5873 # Extract the first word of "xgettext", so it can be a program name with args.
5874 set dummy xgettext; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5878 $as_echo_n "(cached) " >&6
5882 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5885 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5886 for ac_dir in $PATH; do
5888 test -z "$ac_dir" && ac_dir=.
5889 for ac_exec_ext in '' $ac_executable_extensions; do
5890 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5891 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5892 (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
5893 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5900 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5904 XGETTEXT="$ac_cv_path_XGETTEXT"
5905 if test "$XGETTEXT" != ":"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5907 $as_echo "$XGETTEXT" >&6; }
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5916 # Prepare PATH_SEPARATOR.
5917 # The user is always right.
5918 if test "${PATH_SEPARATOR+set}" != set; then
5919 echo "#! /bin/sh" >conf$$.sh
5920 echo "exit 0" >>conf$$.sh
5922 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5930 # Find out how to test for executable files. Don't use a zero-byte file,
5931 # as systems may use methods other than mode bits to determine executability.
5932 cat >conf$$.file <<_ASEOF
5936 chmod +x conf$$.file
5937 if test -x conf$$.file >/dev/null 2>&1; then
5938 ac_executable_p="test -x"
5940 ac_executable_p="test -f"
5944 # Extract the first word of "msgmerge", so it can be a program name with args.
5945 set dummy msgmerge; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5949 $as_echo_n "(cached) " >&6
5953 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5956 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5957 for ac_dir in $PATH; do
5959 test -z "$ac_dir" && ac_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5962 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
5963 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5970 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5974 MSGMERGE="$ac_cv_path_MSGMERGE"
5975 if test "$MSGMERGE" != ":"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5977 $as_echo "$MSGMERGE" >&6; }
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5984 if test "$GMSGFMT" != ":"; then
5985 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
5986 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5989 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5991 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5996 if test "$XGETTEXT" != ":"; then
5997 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5998 (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
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6002 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6008 ac_config_commands="$ac_config_commands default-1"
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6013 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6014 if test "${ac_cv_c_bigendian+set}" = set; then :
6015 $as_echo_n "(cached) " >&6
6017 ac_cv_c_bigendian=unknown
6018 # See if we're dealing with a universal compiler.
6019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6020 /* end confdefs.h. */
6021 #ifndef __APPLE_CC__
6022 not a universal capable compiler
6027 if ac_fn_c_try_compile "$LINENO"; then :
6029 # Check for potential -arch flags. It is not universal unless
6030 # there are at least two -arch flags with different values.
6033 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6034 if test -n "$ac_prev"; then
6036 i?86 | x86_64 | ppc | ppc64)
6037 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
6040 ac_cv_c_bigendian=universal
6046 elif test "x$ac_word" = "x-arch"; then
6051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6052 if test $ac_cv_c_bigendian = unknown; then
6053 # See if sys/param.h defines the BYTE_ORDER macro.
6054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6055 /* end confdefs.h. */
6056 #include <sys/types.h>
6057 #include <sys/param.h>
6062 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6063 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6072 if ac_fn_c_try_compile "$LINENO"; then :
6073 # It does; now see whether it defined to BIG_ENDIAN or not.
6074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6076 #include <sys/types.h>
6077 #include <sys/param.h>
6082 #if BYTE_ORDER != BIG_ENDIAN
6090 if ac_fn_c_try_compile "$LINENO"; then :
6091 ac_cv_c_bigendian=yes
6093 ac_cv_c_bigendian=no
6095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6099 if test $ac_cv_c_bigendian = unknown; then
6100 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6102 /* end confdefs.h. */
6108 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6116 if ac_fn_c_try_compile "$LINENO"; then :
6117 # It does; now see whether it defined to _BIG_ENDIAN or not.
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6133 if ac_fn_c_try_compile "$LINENO"; then :
6134 ac_cv_c_bigendian=yes
6136 ac_cv_c_bigendian=no
6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6142 if test $ac_cv_c_bigendian = unknown; then
6143 # Compile a test program.
6144 if test "$cross_compiling" = yes; then :
6145 # Try to guess by grepping values from an object file.
6146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6147 /* end confdefs.h. */
6148 short int ascii_mm[] =
6149 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6150 short int ascii_ii[] =
6151 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6152 int use_ascii (int i) {
6153 return ascii_mm[i] + ascii_ii[i];
6155 short int ebcdic_ii[] =
6156 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6157 short int ebcdic_mm[] =
6158 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6159 int use_ebcdic (int i) {
6160 return ebcdic_mm[i] + ebcdic_ii[i];
6167 return use_ascii (foo) == use_ebcdic (foo);
6172 if ac_fn_c_try_compile "$LINENO"; then :
6173 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6174 ac_cv_c_bigendian=yes
6176 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6177 if test "$ac_cv_c_bigendian" = unknown; then
6178 ac_cv_c_bigendian=no
6180 # finding both strings is unlikely to happen, but who knows?
6181 ac_cv_c_bigendian=unknown
6185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6189 $ac_includes_default
6194 /* Are we little or big endian? From Harbison&Steele. */
6198 char c[sizeof (long int)];
6201 return u.c[sizeof (long int) - 1] == 1;
6207 if ac_fn_c_try_run "$LINENO"; then :
6208 ac_cv_c_bigendian=no
6210 ac_cv_c_bigendian=yes
6212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6213 conftest.$ac_objext conftest.beam conftest.$ac_ext
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6219 $as_echo "$ac_cv_c_bigendian" >&6; }
6220 case $ac_cv_c_bigendian in #(
6222 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6228 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6232 as_fn_error "unknown endianness
6233 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6239 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6241 NATIVE_LINKER_FALSE='#'
6243 NATIVE_LINKER_TRUE='#'
6244 NATIVE_LINKER_FALSE=
6247 if test "$GCC" = yes; then
6256 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
6257 NATIVE_OR_CROSS_LINKER_TRUE=
6258 NATIVE_OR_CROSS_LINKER_FALSE='#'
6260 NATIVE_OR_CROSS_LINKER_TRUE='#'
6261 NATIVE_OR_CROSS_LINKER_FALSE=
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5
6266 $as_echo_n "checking whether static linking works... " >&6; }
6267 if test "${gold_cv_lib_static+set}" = set; then :
6268 $as_echo_n "(cached) " >&6
6270 LDFLAGS_hold=$LDFLAGS
6271 LDFLAGS="$LDFLAGS -static"
6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6284 if ac_fn_c_try_link "$LINENO"; then :
6285 gold_cv_lib_static=yes
6287 gold_cv_lib_static=no
6289 rm -f core conftest.err conftest.$ac_objext \
6290 conftest$ac_exeext conftest.$ac_ext
6291 LDFLAGS=$LDFLAGS_hold
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5
6294 $as_echo "$gold_cv_lib_static" >&6; }
6295 if test "$gold_cv_lib_static" = "yes"; then
6297 HAVE_STATIC_FALSE='#'
6299 HAVE_STATIC_TRUE='#'
6311 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE=
6312 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE='#'
6314 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE='#'
6315 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE=
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6320 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6321 if test "${gold_cv_prog_gcc41+set}" = set; then :
6322 $as_echo_n "(cached) " >&6
6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6327 #if !defined __GNUC__
6329 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6334 if ac_fn_c_try_compile "$LINENO"; then :
6335 gold_cv_prog_gcc41=yes
6337 gold_cv_prog_gcc41=no
6339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6342 $as_echo "$gold_cv_prog_gcc41" >&6; }
6344 save_CFLAGS="$CFLAGS"
6345 CFLAGS="$CFLAGS -mcmodel=medium"
6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6350 if ac_fn_c_try_compile "$LINENO"; then :
6351 have_mcmodel_medium=yes
6353 have_mcmodel_medium=no
6355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6356 CFLAGS="$save_CFLAGS"
6357 if test "$target_cpu" = "x86_64" -a "$have_mcmodel_medium" = "yes" -a "$gold_cv_prog_gcc41" = "yes"; then
6358 MCMODEL_MEDIUM_TRUE=
6359 MCMODEL_MEDIUM_FALSE='#'
6361 MCMODEL_MEDIUM_TRUE='#'
6362 MCMODEL_MEDIUM_FALSE=
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fmerge-constants" >&5
6367 $as_echo_n "checking whether $CC supports -fmerge-constants... " >&6; }
6368 if test "${gold_cv_merge_constants+set}" = set; then :
6369 $as_echo_n "(cached) " >&6
6372 save_CFLAGS="$CFLAGS"
6373 CFLAGS="$CFLAGS -fmerge-constants"
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 const char *s = "foo";
6378 if ac_fn_c_try_compile "$LINENO"; then :
6379 gold_cv_merge_constants=yes
6381 gold_cv_merge_constants=no
6383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6384 CFLAGS="$save_CFLAGS"
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_merge_constants" >&5
6387 $as_echo "$gold_cv_merge_constants" >&6; }
6389 if test "$gold_cv_merge_constants" = yes; then :
6390 MERGE_CONSTANTS_FLAG=-fmerge-constants
6392 MERGE_CONSTANTS_FLAG=
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6396 $as_echo_n "checking for thread support... " >&6; }
6397 if test "${gold_cv_c_thread+set}" = set; then :
6398 $as_echo_n "(cached) " >&6
6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6404 if ac_fn_c_try_compile "$LINENO"; then :
6405 gold_cv_c_thread=yes
6409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6412 $as_echo "$gold_cv_c_thread" >&6; }
6414 if test "$gold_cv_c_thread" = "yes"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6424 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6425 if test "${gold_cv_lib_glibc24+set}" = set; then :
6426 $as_echo_n "(cached) " >&6
6428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6431 #include <features.h>
6432 #if !defined __GLIBC__
6434 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6439 if ac_fn_c_try_compile "$LINENO"; then :
6440 gold_cv_lib_glibc24=yes
6442 gold_cv_lib_glibc24=no
6444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6447 $as_echo "$gold_cv_lib_glibc24" >&6; }
6449 if test "$gold_cv_lib_glibc24" = "yes"; then
6451 STATIC_TLS_FALSE='#'
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6459 $as_echo_n "checking for omp support... " >&6; }
6460 if test "${gold_cv_c_threadprivate+set}" = set; then :
6461 $as_echo_n "(cached) " >&6
6463 save_CFLAGS="$CFLAGS"
6464 CFLAGS="$CFLAGS -fopenmp"
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6470 #pragma omp threadprivate (i)
6473 if ac_fn_c_try_compile "$LINENO"; then :
6474 gold_cv_c_threadprivate=yes
6476 gold_cv_c_threadprivate=no
6478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6479 CFLAGS="$save_CFLAGS"
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6482 $as_echo "$gold_cv_c_threadprivate" >&6; }
6483 if test "$gold_cv_c_threadprivate" = "yes"; then
6485 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6488 if test "$gold_cv_c_threadprivate" = "yes"; then
6490 OMP_SUPPORT_FALSE='#'
6492 OMP_SUPPORT_TRUE='#'
6497 save_CFLAGS="$CFLAGS"
6498 CFLAGS="$CFLAGS -Werror -fpic -mtls-dialect=gnu2"
6499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6500 /* end confdefs.h. */
6509 if ac_fn_c_try_compile "$LINENO"; then :
6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6515 CFLAGS="$save_CFLAGS"
6516 if test "$have_tls_gnu2" = "yes"; then
6517 TLS_GNU2_DIALECT_TRUE=
6518 TLS_GNU2_DIALECT_FALSE='#'
6520 TLS_GNU2_DIALECT_TRUE='#'
6521 TLS_GNU2_DIALECT_FALSE=
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6526 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6527 if test "${gold_cv_lib_glibc29+set}" = set; then :
6528 $as_echo_n "(cached) " >&6
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6533 #include <features.h>
6534 #if !defined __GLIBC__
6536 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6541 if ac_fn_c_try_compile "$LINENO"; then :
6542 gold_cv_lib_glibc29=yes
6544 gold_cv_lib_glibc29=no
6546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6549 $as_echo "$gold_cv_lib_glibc29" >&6; }
6551 if test "$gold_cv_lib_glibc29" = "yes"; then
6552 TLS_DESCRIPTORS_TRUE=
6553 TLS_DESCRIPTORS_FALSE='#'
6555 TLS_DESCRIPTORS_TRUE='#'
6556 TLS_DESCRIPTORS_FALSE=
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6561 $as_echo_n "checking for -frandom-seed support... " >&6; }
6562 if test "${gold_cv_c_random_seed+set}" = set; then :
6563 $as_echo_n "(cached) " >&6
6565 save_CFLAGS="$CFLAGS"
6566 CFLAGS="$CFLAGS -frandom-seed=foo"
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6571 if ac_fn_c_try_compile "$LINENO"; then :
6572 gold_cv_c_random_seed=yes
6574 gold_cv_c_random_seed=no
6576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6577 CFLAGS="$save_CFLAGS"
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6580 $as_echo "$gold_cv_c_random_seed" >&6; }
6581 if test "$gold_cv_c_random_seed" = "yes"; then
6582 # In Makefile, '$@' will be expanded to be the name of the file
6583 # being built, providing a unique seed for each file.
6584 RANDOM_SEED_CFLAGS=-frandom-seed=\$@
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5
6589 $as_echo_n "checking for glibc ifunc support... " >&6; }
6590 if test "${gold_cv_lib_glibc_ifunc+set}" = set; then :
6591 $as_echo_n "(cached) " >&6
6593 save_LDFLAGS="$LDFLAGS"
6594 LDFLAGS="$LDFLAGS -static"
6595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6598 #include <features.h>
6599 #if !defined __GLIBC__
6601 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6604 void func (void) { }
6606 __asm__(".type invoke, %gnu_indirect_function");
6607 typedef void (*funcptr) (void);
6608 funcptr dispatch (void) __asm__ ("invoke");
6609 funcptr dispatch (void) { return &func; }
6619 if ac_fn_c_try_link "$LINENO"; then :
6621 if ${NM} conftest$EXEEXT | grep "__rela\?_iplt_start" >/dev/null 2>&1; then
6622 gold_cv_lib_glibc_ifunc=both
6624 gold_cv_lib_glibc_ifunc=dyn
6627 gold_cv_lib_glibc_ifunc=no
6629 rm -f core conftest.err conftest.$ac_objext \
6630 conftest$ac_exeext conftest.$ac_ext
6631 LDFLAGS="$save_LDFLAGS"
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5
6634 $as_echo "$gold_cv_lib_glibc_ifunc" >&6; }
6636 if test "$gold_cv_lib_glibc_ifunc" != "no"; then
6644 if test "$gold_cv_lib_glibc_ifunc" = "both"; then
6646 IFUNC_STATIC_FALSE='#'
6648 IFUNC_STATIC_TRUE='#'
6654 # Set the 'development' global.
6655 . $srcdir/../bfd/development.sh
6657 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h. */
6662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6663 $EGREP "^[0-3]$" >/dev/null 2>&1; then :
6666 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
6671 # Check whether --enable-werror was given.
6672 if test "${enable_werror+set}" = set; then :
6673 enableval=$enable_werror; case "${enableval}" in
6674 yes | y) ERROR_ON_WARNING="yes" ;;
6675 no | n) ERROR_ON_WARNING="no" ;;
6676 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6681 # Disable -Wformat by default when using gcc on mingw
6684 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6685 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
6691 # Enable -Werror by default when using gcc. Turn it off for releases.
6692 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
6693 ERROR_ON_WARNING=yes
6697 if test "${ERROR_ON_WARNING}" = yes ; then
6698 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
6699 NO_WERROR="-Wno-error"
6702 if test "${GCC}" = yes ; then
6703 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
6706 # Check whether --enable-build-warnings was given.
6707 if test "${enable_build_warnings+set}" = set; then :
6708 enableval=$enable_build_warnings; case "${enableval}" in
6709 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
6710 no) if test "${GCC}" = yes ; then
6713 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
6714 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
6715 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
6716 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
6717 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6722 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
6723 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6730 WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6734 # Check whether --with-gold-ldflags was given.
6735 if test "${with_gold_ldflags+set}" = set; then :
6736 withval=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6739 GOLD_LDFLAGS=$withval
6748 # Check whether --with-gold-ldadd was given.
6749 if test "${with_gold_ldadd+set}" = set; then :
6750 withval=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then
6761 LFS_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6764 for ac_header in sys/mman.h
6766 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6767 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
6768 cat >>confdefs.h <<_ACEOF
6769 #define HAVE_SYS_MMAN_H 1
6776 for ac_func in chsize mmap
6778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6780 eval as_val=\$$as_ac_var
6781 if test "x$as_val" = x""yes; then :
6782 cat >>confdefs.h <<_ACEOF
6783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6789 for ac_func in pread ftruncate ffsll
6791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6793 eval as_val=\$$as_ac_var
6794 if test "x$as_val" = x""yes; then :
6795 cat >>confdefs.h <<_ACEOF
6796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6800 case " $LIBOBJS " in
6801 *" $ac_func.$ac_objext "* ) ;;
6802 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
6812 $as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
6813 if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
6814 $as_echo_n "(cached) " >&6
6816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6817 /* end confdefs.h. */
6820 #include <sys/mman.h>
6821 void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
6831 if ac_fn_c_try_link "$LINENO"; then :
6832 gold_cv_lib_mremap_maymove=yes
6834 gold_cv_lib_mremap_maymove=no
6836 rm -f core conftest.err conftest.$ac_objext \
6837 conftest$ac_exeext conftest.$ac_ext
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
6840 $as_echo "$gold_cv_lib_mremap_maymove" >&6; }
6841 if test "$gold_cv_lib_mremap_maymove" = "yes"; then
6843 $as_echo "#define HAVE_MREMAP 1" >>confdefs.h
6846 case " $LIBOBJS " in
6847 *" mremap.$ac_objext "* ) ;;
6848 *) LIBOBJS="$LIBOBJS mremap.$ac_objext"
6854 # Link in zlib if we can. This allows us to write compressed sections.
6856 # See if the user specified whether he wants zlib support or not.
6858 # Check whether --with-zlib was given.
6859 if test "${with_zlib+set}" = set; then :
6866 if test "$with_zlib" != "no"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6868 $as_echo_n "checking for library containing zlibVersion... " >&6; }
6869 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6870 $as_echo_n "(cached) " >&6
6872 ac_func_search_save_LIBS=$LIBS
6873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6876 /* Override any GCC internal prototype to avoid an error.
6877 Use char because int might match the return type of a GCC
6878 builtin and then its argument prototype would still apply. */
6882 char zlibVersion ();
6886 return zlibVersion ();
6891 for ac_lib in '' z; do
6892 if test -z "$ac_lib"; then
6893 ac_res="none required"
6896 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6898 if ac_fn_c_try_link "$LINENO"; then :
6899 ac_cv_search_zlibVersion=$ac_res
6901 rm -f core conftest.err conftest.$ac_objext \
6903 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6907 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6910 ac_cv_search_zlibVersion=no
6913 LIBS=$ac_func_search_save_LIBS
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6916 $as_echo "$ac_cv_search_zlibVersion" >&6; }
6917 ac_res=$ac_cv_search_zlibVersion
6918 if test "$ac_res" != no; then :
6919 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6920 for ac_header in zlib.h
6922 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6923 if test "x$ac_cv_header_zlib_h" = x""yes; then :
6924 cat >>confdefs.h <<_ACEOF
6925 #define HAVE_ZLIB_H 1
6934 if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
6935 as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
6939 if test "$ac_cv_header_zlib_h" = "yes"; then
6948 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6949 if test "x$ac_cv_have_decl_basename" = x""yes; then :
6955 cat >>confdefs.h <<_ACEOF
6956 #define HAVE_DECL_BASENAME $ac_have_decl
6958 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6959 if test "x$ac_cv_have_decl_ffs" = x""yes; then :
6965 cat >>confdefs.h <<_ACEOF
6966 #define HAVE_DECL_FFS $ac_have_decl
6968 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6969 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
6975 cat >>confdefs.h <<_ACEOF
6976 #define HAVE_DECL_ASPRINTF $ac_have_decl
6978 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6979 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
6985 cat >>confdefs.h <<_ACEOF
6986 #define HAVE_DECL_VASPRINTF $ac_have_decl
6988 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6989 if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
6995 cat >>confdefs.h <<_ACEOF
6996 #define HAVE_DECL_SNPRINTF $ac_have_decl
6998 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6999 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
7005 cat >>confdefs.h <<_ACEOF
7006 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7008 ac_fn_c_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7009 if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
7015 cat >>confdefs.h <<_ACEOF
7016 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7020 save_CFLAGS="$CFLAGS"
7021 CFLAGS="$CFLAGS -Werror -gpubnames"
7022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7026 if ac_fn_c_try_compile "$LINENO"; then :
7031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7032 CFLAGS="$save_CFLAGS"
7033 if test "$have_pubnames" = "yes"; then
7035 HAVE_PUBNAMES_FALSE='#'
7037 HAVE_PUBNAMES_TRUE='#'
7038 HAVE_PUBNAMES_FALSE=
7042 save_CFLAGS="$CFLAGS"
7043 CFLAGS="$CFLAGS -Werror -fno-use-linker-plugin"
7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7048 if ac_fn_c_try_compile "$LINENO"; then :
7049 have_no_use_linker_plugin=yes
7051 have_no_use_linker_plugin=no
7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7054 CFLAGS="$save_CFLAGS"
7055 if test "$have_no_use_linker_plugin" = "yes"; then
7056 HAVE_NO_USE_LINKER_PLUGIN_TRUE=
7057 HAVE_NO_USE_LINKER_PLUGIN_FALSE='#'
7059 HAVE_NO_USE_LINKER_PLUGIN_TRUE='#'
7060 HAVE_NO_USE_LINKER_PLUGIN_FALSE=
7065 ac_cpp='$CXXCPP $CPPFLAGS'
7066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7073 ac_cpp='$CXXCPP $CPPFLAGS'
7074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7078 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7079 if test -z "$CXXCPP"; then
7080 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7081 $as_echo_n "(cached) " >&6
7083 # Double quotes because CXXCPP needs to be expanded
7084 for CXXCPP in "$CXX -E" "/lib/cpp"
7087 for ac_cxx_preproc_warn_flag in '' yes
7089 # Use a header file that comes with gcc, so configuring glibc
7090 # with a fresh cross-compiler works.
7091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7092 # <limits.h> exists even on freestanding compilers.
7093 # On the NeXT, cc -E runs the code through the compiler's parser,
7094 # not just through cpp. "Syntax error" is here to catch this case.
7095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7096 /* end confdefs.h. */
7098 # include <limits.h>
7100 # include <assert.h>
7104 if ac_fn_cxx_try_cpp "$LINENO"; then :
7107 # Broken: fails on valid input.
7110 rm -f conftest.err conftest.$ac_ext
7112 # OK, works on sane cases. Now check whether nonexistent headers
7113 # can be detected and how.
7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* end confdefs.h. */
7116 #include <ac_nonexistent.h>
7118 if ac_fn_cxx_try_cpp "$LINENO"; then :
7119 # Broken: success on invalid input.
7122 # Passes both tests.
7126 rm -f conftest.err conftest.$ac_ext
7129 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7130 rm -f conftest.err conftest.$ac_ext
7131 if $ac_preproc_ok; then :
7136 ac_cv_prog_CXXCPP=$CXXCPP
7139 CXXCPP=$ac_cv_prog_CXXCPP
7141 ac_cv_prog_CXXCPP=$CXXCPP
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7144 $as_echo "$CXXCPP" >&6; }
7146 for ac_cxx_preproc_warn_flag in '' yes
7148 # Use a header file that comes with gcc, so configuring glibc
7149 # with a fresh cross-compiler works.
7150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7151 # <limits.h> exists even on freestanding compilers.
7152 # On the NeXT, cc -E runs the code through the compiler's parser,
7153 # not just through cpp. "Syntax error" is here to catch this case.
7154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7155 /* end confdefs.h. */
7157 # include <limits.h>
7159 # include <assert.h>
7163 if ac_fn_cxx_try_cpp "$LINENO"; then :
7166 # Broken: fails on valid input.
7169 rm -f conftest.err conftest.$ac_ext
7171 # OK, works on sane cases. Now check whether nonexistent headers
7172 # can be detected and how.
7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174 /* end confdefs.h. */
7175 #include <ac_nonexistent.h>
7177 if ac_fn_cxx_try_cpp "$LINENO"; then :
7178 # Broken: success on invalid input.
7181 # Passes both tests.
7185 rm -f conftest.err conftest.$ac_ext
7188 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7189 rm -f conftest.err conftest.$ac_ext
7190 if $ac_preproc_ok; then :
7193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7195 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
7196 See \`config.log' for more details." "$LINENO" 5; }
7200 ac_cpp='$CXXCPP $CPPFLAGS'
7201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7206 for ac_header in unordered_set unordered_map
7208 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7209 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7210 eval as_val=\$$as_ac_Header
7211 if test "x$as_val" = x""yes; then :
7212 cat >>confdefs.h <<_ACEOF
7213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7220 for ac_header in tr1/unordered_set tr1/unordered_map
7222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7224 eval as_val=\$$as_ac_Header
7225 if test "x$as_val" = x""yes; then :
7226 cat >>confdefs.h <<_ACEOF
7227 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7234 for ac_header in ext/hash_map ext/hash_set
7236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7237 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7238 eval as_val=\$$as_ac_Header
7239 if test "x$as_val" = x""yes; then :
7240 cat >>confdefs.h <<_ACEOF
7241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7248 for ac_header in byteswap.h
7250 ac_fn_cxx_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7251 if test "x$ac_cv_header_byteswap_h" = x""yes; then :
7252 cat >>confdefs.h <<_ACEOF
7253 #define HAVE_BYTESWAP_H 1
7261 for ac_header in windows.h
7263 ac_fn_cxx_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
7264 if test "x$ac_cv_header_windows_h" = x""yes; then :
7265 cat >>confdefs.h <<_ACEOF
7266 #define HAVE_WINDOWS_H 1
7273 for ac_header in dlfcn.h
7275 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
7276 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7277 cat >>confdefs.h <<_ACEOF
7278 #define HAVE_DLFCN_H 1
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
7286 $as_echo_n "checking for library containing dlopen... " >&6; }
7287 if test "${ac_cv_search_dlopen+set}" = set; then :
7288 $as_echo_n "(cached) " >&6
7290 ac_func_search_save_LIBS=$LIBS
7291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7292 /* end confdefs.h. */
7294 /* Override any GCC internal prototype to avoid an error.
7295 Use char because int might match the return type of a GCC
7296 builtin and then its argument prototype would still apply. */
7309 for ac_lib in '' dl dld; do
7310 if test -z "$ac_lib"; then
7311 ac_res="none required"
7314 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7316 if ac_fn_cxx_try_link "$LINENO"; then :
7317 ac_cv_search_dlopen=$ac_res
7319 rm -f core conftest.err conftest.$ac_objext \
7321 if test "${ac_cv_search_dlopen+set}" = set; then :
7325 if test "${ac_cv_search_dlopen+set}" = set; then :
7328 ac_cv_search_dlopen=no
7331 LIBS=$ac_func_search_save_LIBS
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
7334 $as_echo "$ac_cv_search_dlopen" >&6; }
7335 ac_res=$ac_cv_search_dlopen
7336 if test "$ac_res" != no; then :
7337 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7341 case "$ac_cv_search_dlopen" in
7342 no*) DLOPEN_LIBS="";;
7343 *) DLOPEN_LIBS="$ac_cv_search_dlopen";;
7347 for ac_func in mallinfo posix_fallocate fallocate readv sysconf times
7349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7350 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
7351 eval as_val=\$$as_ac_var
7352 if test "x$as_val" = x""yes; then :
7353 cat >>confdefs.h <<_ACEOF
7354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7360 ac_fn_cxx_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7361 if test "x$ac_cv_have_decl_basename" = x""yes; then :
7367 cat >>confdefs.h <<_ACEOF
7368 #define HAVE_DECL_BASENAME $ac_have_decl
7370 ac_fn_cxx_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7371 if test "x$ac_cv_have_decl_ffs" = x""yes; then :
7377 cat >>confdefs.h <<_ACEOF
7378 #define HAVE_DECL_FFS $ac_have_decl
7380 ac_fn_cxx_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7381 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
7387 cat >>confdefs.h <<_ACEOF
7388 #define HAVE_DECL_ASPRINTF $ac_have_decl
7390 ac_fn_cxx_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7391 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
7397 cat >>confdefs.h <<_ACEOF
7398 #define HAVE_DECL_VASPRINTF $ac_have_decl
7400 ac_fn_cxx_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7401 if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
7407 cat >>confdefs.h <<_ACEOF
7408 #define HAVE_DECL_SNPRINTF $ac_have_decl
7410 ac_fn_cxx_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7411 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
7417 cat >>confdefs.h <<_ACEOF
7418 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7420 ac_fn_cxx_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7421 if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
7427 cat >>confdefs.h <<_ACEOF
7428 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7430 ac_fn_cxx_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
7431 if test "x$ac_cv_have_decl_strndup" = x""yes; then :
7437 cat >>confdefs.h <<_ACEOF
7438 #define HAVE_DECL_STRNDUP $ac_have_decl
7440 ac_fn_cxx_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
7441 if test "x$ac_cv_have_decl_memmem" = x""yes; then :
7447 cat >>confdefs.h <<_ACEOF
7448 #define HAVE_DECL_MEMMEM $ac_have_decl
7452 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7453 # at link time with some versions of GCC.
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7455 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
7456 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7460 /* end confdefs.h. */
7462 #include <tr1/unordered_map>
7463 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
7473 if ac_fn_cxx_try_link "$LINENO"; then :
7474 gold_cv_unordered_map_rehash=yes
7476 gold_cv_unordered_map_rehash=no
7478 rm -f core conftest.err conftest.$ac_objext \
7479 conftest$ac_exeext conftest.$ac_ext
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
7482 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
7483 if test "$gold_cv_unordered_map_rehash" = "yes"; then
7485 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
7489 # Use of tr1/unordered_map with off_t as a key is not supported on GCC
7490 # 4.1.xx when compiling in 32-bit mode with a 64-bit off_t type.
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether std::tr1::hash<off_t> is defined" >&5
7492 $as_echo_n "checking whether std::tr1::hash<off_t> is defined... " >&6; }
7493 if test "${gold_cv_hash_off_t+set}" = set; then :
7494 $as_echo_n "(cached) " >&6
7496 CXXFLAGS_hold=$CXXFLAGS
7497 CXXFLAGS="$CXXFLAGS $LFS_CFLAGS"
7498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7499 /* end confdefs.h. */
7501 #include <sys/types.h>
7502 #include <tr1/unordered_map>
7503 std::tr1::hash<off_t> h;
7506 if ac_fn_cxx_try_compile "$LINENO"; then :
7507 gold_cv_hash_off_t=yes
7509 gold_cv_hash_off_t=no
7511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7512 CXXFLAGS=$CXXFLAGS_hold
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_hash_off_t" >&5
7515 $as_echo "$gold_cv_hash_off_t" >&6; }
7516 if test "$gold_cv_hash_off_t" = "yes"; then
7518 $as_echo "#define HAVE_TR1_HASH_OFF_T 1" >>confdefs.h
7522 # gcc 4.3.0 doesn't recognize the printf attribute on a template
7523 # function. Check for that. This is gcc bug 35546. This test can
7524 # probably be removed after the bug has been fixed for a while.
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
7526 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
7527 if test "${gold_cv_template_attribute+set}" = set; then :
7528 $as_echo_n "(cached) " >&6
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7533 template<typename T> extern void foo(const char*, ...)
7534 __attribute__ ((__format__ (__printf__, 1, 2)));
7535 template<typename T> void foo(const char* format, ...) {}
7536 void bar() { foo<int>("%s\n", "foo"); }
7539 if ac_fn_cxx_try_compile "$LINENO"; then :
7540 gold_cv_template_attribute=yes
7542 gold_cv_template_attribute=no
7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
7547 $as_echo "$gold_cv_template_attribute" >&6; }
7548 if test "$gold_cv_template_attribute" = "yes"; then
7550 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7555 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7556 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7557 $as_echo_n "(cached) " >&6
7559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h. */
7562 #include <sys/stat.h>
7563 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7573 if ac_fn_cxx_try_compile "$LINENO"; then :
7574 gold_cv_stat_st_mtim=yes
7576 gold_cv_stat_st_mtim=no
7578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7581 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7582 if test "$gold_cv_stat_st_mtim" = "yes"; then
7584 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7589 ac_cpp='$CPP $CPPFLAGS'
7590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7595 for ac_header in locale.h
7597 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7598 if test "x$ac_cv_header_locale_h" = x""yes; then :
7599 cat >>confdefs.h <<_ACEOF
7600 #define HAVE_LOCALE_H 1
7607 for ac_func in setlocale
7609 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
7610 if test "x$ac_cv_func_setlocale" = x""yes; then :
7611 cat >>confdefs.h <<_ACEOF
7612 #define HAVE_SETLOCALE 1
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7620 $as_echo_n "checking for LC_MESSAGES... " >&6; }
7621 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7622 $as_echo_n "(cached) " >&6
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7635 if ac_fn_c_try_link "$LINENO"; then :
7636 am_cv_val_LC_MESSAGES=yes
7638 am_cv_val_LC_MESSAGES=no
7640 rm -f core conftest.err conftest.$ac_objext \
7641 conftest$ac_exeext conftest.$ac_ext
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7644 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7645 if test $am_cv_val_LC_MESSAGES = yes; then
7647 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7654 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7655 # Check whether --enable-maintainer-mode was given.
7656 if test "${enable_maintainer_mode+set}" = set; then :
7657 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
7659 USE_MAINTAINER_MODE=no
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7663 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7664 if test $USE_MAINTAINER_MODE = yes; then
7665 MAINTAINER_MODE_TRUE=
7666 MAINTAINER_MODE_FALSE='#'
7668 MAINTAINER_MODE_TRUE='#'
7669 MAINTAINER_MODE_FALSE=
7672 MAINT=$MAINTAINER_MODE_TRUE
7676 ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7678 cat >confcache <<\_ACEOF
7679 # This file is a shell script that caches the results of configure
7680 # tests run on this system so they can be shared between configure
7681 # scripts and configure runs, see configure's option --config-cache.
7682 # It is not useful on other systems. If it contains results you don't
7683 # want to keep, you may remove or edit it.
7685 # config.status only pays attention to the cache file if you give it
7686 # the --recheck option to rerun configure.
7688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7694 # The following way of writing the cache mishandles newlines in values,
7695 # but we know of no workaround that is simple, portable, and efficient.
7696 # So, we kill variables containing newlines.
7697 # Ultrix sh set writes to stderr and can't be redirected directly,
7698 # and sets the high bit in the cache file unless we assign to the vars.
7700 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7701 eval ac_val=\$$ac_var
7705 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7709 _ | IFS | as_nl) ;; #(
7710 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7711 *) { eval $ac_var=; unset $ac_var;} ;;
7717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7718 *${as_nl}ac_space=\ *)
7719 # `set' does not quote correctly, so add quotes: double-quote
7720 # substitution turns \\\\ into \\, and sed turns \\ into \.
7723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7726 # `set' quotes correctly as required by POSIX, so do not add quotes.
7727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7740 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7741 if test -w "$cache_file"; then
7742 test "x$cache_file" != "x/dev/null" &&
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7744 $as_echo "$as_me: updating cache $cache_file" >&6;}
7745 cat confcache >$cache_file
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7748 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7753 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7754 # Let make expand exec_prefix.
7755 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7757 DEFS=-DHAVE_CONFIG_H
7761 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7762 # 1. Remove the extension, and $U if already installed.
7763 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7764 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7765 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7766 # will be set to the directory where LIBOBJS objects are built.
7767 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7768 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7772 LTLIBOBJS=$ac_ltlibobjs
7775 if test -n "$EXEEXT"; then
7777 am__EXEEXT_FALSE='#'
7783 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7784 as_fn_error "conditional \"THREADS\" was never defined.
7785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7787 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7788 as_fn_error "conditional \"PLUGINS\" was never defined.
7789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7791 if test -z "${DEFAULT_TARGET_AARCH64_TRUE}" && test -z "${DEFAULT_TARGET_AARCH64_FALSE}"; then
7792 as_fn_error "conditional \"DEFAULT_TARGET_AARCH64\" was never defined.
7793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7795 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7796 as_fn_error "conditional \"DEFAULT_TARGET_ARM\" was never defined.
7797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7799 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7800 as_fn_error "conditional \"DEFAULT_TARGET_I386\" was never defined.
7801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7803 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7804 as_fn_error "conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7807 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7808 as_fn_error "conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7811 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7812 as_fn_error "conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7815 if test -z "${DEFAULT_TARGET_TILEGX_TRUE}" && test -z "${DEFAULT_TARGET_TILEGX_FALSE}"; then
7816 as_fn_error "conditional \"DEFAULT_TARGET_TILEGX\" was never defined.
7817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7819 if test -z "${DEFAULT_TARGET_MIPS_TRUE}" && test -z "${DEFAULT_TARGET_MIPS_FALSE}"; then
7820 as_fn_error "conditional \"DEFAULT_TARGET_MIPS\" was never defined.
7821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7823 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7824 as_fn_error "conditional \"AMDEP\" was never defined.
7825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7827 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7828 as_fn_error "conditional \"am__fastdepCC\" was never defined.
7829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7831 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7832 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
7833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7836 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7837 as_fn_error "conditional \"NATIVE_LINKER\" was never defined.
7838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7840 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7841 as_fn_error "conditional \"GCC\" was never defined.
7842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7844 if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
7845 as_fn_error "conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
7846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7848 if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then
7849 as_fn_error "conditional \"HAVE_STATIC\" was never defined.
7850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7852 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7853 as_fn_error "conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7856 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7857 as_fn_error "conditional \"MCMODEL_MEDIUM\" was never defined.
7858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7860 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7861 as_fn_error "conditional \"TLS\" was never defined.
7862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7864 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7865 as_fn_error "conditional \"STATIC_TLS\" was never defined.
7866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7868 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7869 as_fn_error "conditional \"OMP_SUPPORT\" was never defined.
7870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7872 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7873 as_fn_error "conditional \"TLS_GNU2_DIALECT\" was never defined.
7874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7876 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7877 as_fn_error "conditional \"TLS_DESCRIPTORS\" was never defined.
7878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7880 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7881 as_fn_error "conditional \"IFUNC\" was never defined.
7882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7884 if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then
7885 as_fn_error "conditional \"IFUNC_STATIC\" was never defined.
7886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7888 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7889 as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
7890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7892 if test -z "${HAVE_PUBNAMES_TRUE}" && test -z "${HAVE_PUBNAMES_FALSE}"; then
7893 as_fn_error "conditional \"HAVE_PUBNAMES\" was never defined.
7894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7896 if test -z "${HAVE_NO_USE_LINKER_PLUGIN_TRUE}" && test -z "${HAVE_NO_USE_LINKER_PLUGIN_FALSE}"; then
7897 as_fn_error "conditional \"HAVE_NO_USE_LINKER_PLUGIN\" was never defined.
7898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7900 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7901 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
7902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7905 : ${CONFIG_STATUS=./config.status}
7907 ac_clean_files_save=$ac_clean_files
7908 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7910 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7912 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7914 # Generated by $as_me.
7915 # Run this file to recreate the current configuration.
7916 # Compiler output produced by configure, useful for debugging
7917 # configure, is in config.log if it exists.
7923 SHELL=\${CONFIG_SHELL-$SHELL}
7926 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7927 ## -------------------- ##
7928 ## M4sh Initialization. ##
7929 ## -------------------- ##
7931 # Be more Bourne compatible
7932 DUALCASE=1; export DUALCASE # for MKS sh
7933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7936 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7937 # is contrary to our usage. Disable this feature.
7938 alias -g '${1+"$@"}'='"$@"'
7939 setopt NO_GLOB_SUBST
7941 case `(set -o) 2>/dev/null` in #(
7953 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7954 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7955 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7956 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7957 # Prefer a ksh shell builtin over an external printf program on Solaris,
7958 # but without wasting forks for bash or zsh.
7959 if test -z "$BASH_VERSION$ZSH_VERSION" \
7960 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7961 as_echo='print -r --'
7962 as_echo_n='print -rn --'
7963 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7964 as_echo='printf %s\n'
7965 as_echo_n='printf %s'
7967 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7968 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7969 as_echo_n='/usr/ucb/echo -n'
7971 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7972 as_echo_n_body='eval
7976 expr "X$arg" : "X\\(.*\\)$as_nl";
7977 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7979 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7981 export as_echo_n_body
7982 as_echo_n='sh -c $as_echo_n_body as_echo'
7985 as_echo='sh -c $as_echo_body as_echo'
7988 # The user is always right.
7989 if test "${PATH_SEPARATOR+set}" != set; then
7991 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7992 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7999 # We need space, tab and new line, in precisely that order. Quoting is
8000 # there to prevent editors from complaining about space-tab.
8001 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8002 # splitting by setting IFS to empty value.)
8005 # Find who we are. Look in the path if we contain no directory separator.
8007 *[\\/]* ) as_myself=$0 ;;
8008 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir=.
8013 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8019 # We did not find ourselves, most probably we were run as `sh COMMAND'
8020 # in which case we are not to be found in the path.
8021 if test "x$as_myself" = x; then
8024 if test ! -f "$as_myself"; then
8025 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8029 # Unset variables that we do not need and which cause bugs (e.g. in
8030 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8031 # suppresses any "Segmentation fault" message there. '((' could
8032 # trigger a bug in pdksh 5.2.14.
8033 for as_var in BASH_ENV ENV MAIL MAILPATH
8034 do eval test x\${$as_var+set} = xset \
8035 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8048 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8051 # as_fn_error ERROR [LINENO LOG_FD]
8052 # ---------------------------------
8053 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8054 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8055 # script with status $?, using 1 if that was 0.
8058 as_status=$?; test $as_status -eq 0 && as_status=1
8060 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8061 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8063 $as_echo "$as_me: error: $1" >&2
8064 as_fn_exit $as_status
8068 # as_fn_set_status STATUS
8069 # -----------------------
8070 # Set $? to STATUS, without forking.
8074 } # as_fn_set_status
8078 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8088 # Portably unset VAR.
8091 { eval $1=; unset $1;}
8093 as_unset=as_fn_unset
8094 # as_fn_append VAR VALUE
8095 # ----------------------
8096 # Append the text in VALUE to the end of the definition contained in VAR. Take
8097 # advantage of any shell optimizations that allow amortized linear growth over
8098 # repeated appends, instead of the typical quadratic growth present in naive
8100 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8101 eval 'as_fn_append ()
8112 # as_fn_arith ARG...
8113 # ------------------
8114 # Perform arithmetic evaluation on the ARGs, and store the result in the
8115 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8116 # must be portable across $(()) and expr.
8117 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8118 eval 'as_fn_arith ()
8125 as_val=`expr "$@" || test $? -eq 1`
8130 if expr a : '\(a\)' >/dev/null 2>&1 &&
8131 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8137 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8138 as_basename=basename
8143 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8149 as_me=`$as_basename -- "$0" ||
8150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8151 X"$0" : 'X\(//\)$' \| \
8152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8154 sed '/^.*\/\([^/][^/]*\)\/*$/{
8168 # Avoid depending upon Character Ranges.
8169 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8170 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8171 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8172 as_cr_digits='0123456789'
8173 as_cr_alnum=$as_cr_Letters$as_cr_digits
8175 ECHO_C= ECHO_N= ECHO_T=
8176 case `echo -n x` in #(((((
8178 case `echo 'xy\c'` in
8179 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8181 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8188 rm -f conf$$ conf$$.exe conf$$.file
8189 if test -d conf$$.dir; then
8190 rm -f conf$$.dir/conf$$.file
8193 mkdir conf$$.dir 2>/dev/null
8195 if (echo >conf$$.file) 2>/dev/null; then
8196 if ln -s conf$$.file conf$$ 2>/dev/null; then
8198 # ... but there are two gotchas:
8199 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8200 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8201 # In both cases, we have to default to `cp -p'.
8202 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8204 elif ln conf$$.file conf$$ 2>/dev/null; then
8212 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8213 rmdir conf$$.dir 2>/dev/null
8218 # Create "$as_dir" as a directory, including parents if necessary.
8223 -*) as_dir=./$as_dir;;
8225 test -d "$as_dir" || eval $as_mkdir_p || {
8229 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8230 *) as_qdir=$as_dir;;
8232 as_dirs="'$as_qdir' $as_dirs"
8233 as_dir=`$as_dirname -- "$as_dir" ||
8234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8235 X"$as_dir" : 'X\(//\)[^/]' \| \
8236 X"$as_dir" : 'X\(//\)$' \| \
8237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8238 $as_echo X"$as_dir" |
8239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8256 test -d "$as_dir" && break
8258 test -z "$as_dirs" || eval "mkdir $as_dirs"
8259 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
8263 if mkdir -p . 2>/dev/null; then
8264 as_mkdir_p='mkdir -p "$as_dir"'
8266 test -d ./-p && rmdir ./-p
8270 if test -x / >/dev/null 2>&1; then
8273 if ls -dL / >/dev/null 2>&1; then
8280 if test -d "$1"; then
8286 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8287 ???[sx]*):;;*)false;;esac;fi
8291 as_executable_p=$as_test_x
8293 # Sed expression to map a string onto a valid CPP name.
8294 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8296 # Sed expression to map a string onto a valid variable name.
8297 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8301 ## ----------------------------------- ##
8302 ## Main body of $CONFIG_STATUS script. ##
8303 ## ----------------------------------- ##
8305 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8308 # Save the log message, to keep $0 and so on meaningful, and to
8309 # report actual input values of CONFIG_FILES etc. instead of their
8310 # values after options handling.
8312 This file was extended by gold $as_me 0.1, which was
8313 generated by GNU Autoconf 2.64. Invocation command line was
8315 CONFIG_FILES = $CONFIG_FILES
8316 CONFIG_HEADERS = $CONFIG_HEADERS
8317 CONFIG_LINKS = $CONFIG_LINKS
8318 CONFIG_COMMANDS = $CONFIG_COMMANDS
8321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8326 case $ac_config_files in *"
8327 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8330 case $ac_config_headers in *"
8331 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8336 # Files that config.status was made for.
8337 config_files="$ac_config_files"
8338 config_headers="$ac_config_headers"
8339 config_commands="$ac_config_commands"
8343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8345 \`$as_me' instantiates files and other configuration actions
8346 from templates according to the current configuration. Unless the files
8347 and actions are specified as TAGs, all are instantiated by default.
8349 Usage: $0 [OPTION]... [TAG]...
8351 -h, --help print this help, then exit
8352 -V, --version print version number and configuration settings, then exit
8353 -q, --quiet, --silent
8354 do not print progress messages
8355 -d, --debug don't remove temporary files
8356 --recheck update $as_me by reconfiguring in the same conditions
8357 --file=FILE[:TEMPLATE]
8358 instantiate the configuration file FILE
8359 --header=FILE[:TEMPLATE]
8360 instantiate the configuration header FILE
8362 Configuration files:
8365 Configuration headers:
8368 Configuration commands:
8371 Report bugs to the package provider."
8374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8376 gold config.status 0.1
8377 configured by $0, generated by GNU Autoconf 2.64,
8378 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8380 Copyright (C) 2009 Free Software Foundation, Inc.
8381 This config.status script is free software; the Free Software Foundation
8382 gives unlimited permission to copy, distribute and modify it."
8389 test -n "\$AWK" || AWK=awk
8392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8393 # The default lists apply if the user does not specify any file.
8399 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8400 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8411 # Handling of the options.
8412 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8414 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8415 $as_echo "$ac_cs_version"; exit ;;
8416 --debug | --debu | --deb | --de | --d | -d )
8418 --file | --fil | --fi | --f )
8421 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8423 as_fn_append CONFIG_FILES " '$ac_optarg'"
8424 ac_need_defaults=false;;
8425 --header | --heade | --head | --hea )
8428 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8430 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8431 ac_need_defaults=false;;
8433 # Conflict between --help and --header
8434 as_fn_error "ambiguous option: \`$1'
8435 Try \`$0 --help' for more information.";;
8436 --help | --hel | -h )
8437 $as_echo "$ac_cs_usage"; exit ;;
8438 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8439 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8443 -*) as_fn_error "unrecognized option: \`$1'
8444 Try \`$0 --help' for more information." ;;
8446 *) as_fn_append ac_config_targets " $1"
8447 ac_need_defaults=false ;;
8453 ac_configure_extra_args=
8455 if $ac_cs_silent; then
8457 ac_configure_extra_args="$ac_configure_extra_args --silent"
8461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8462 if \$ac_cs_recheck; then
8463 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8465 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8466 CONFIG_SHELL='$SHELL'
8472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8476 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8477 ## Running $as_me. ##
8483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8487 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8488 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8489 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8491 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8492 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8493 LINGUAS="${LINGUAS-%UNSET%}"
8498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8500 # Handling of arguments.
8501 for ac_config_target in $ac_config_targets
8503 case $ac_config_target in
8504 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
8505 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8506 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8507 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8508 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
8509 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8511 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8516 # If the user did not use the arguments to specify the items to instantiate,
8517 # then the envvar interface is used. Set only those that are not.
8518 # We use the long form for the default assignment because of an extremely
8519 # bizarre bug on SunOS 4.1.3.
8520 if $ac_need_defaults; then
8521 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8522 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8523 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8526 # Have a temporary directory for convenience. Make it in the build tree
8527 # simply because there is no reason against having it here, and in addition,
8528 # creating and moving files from /tmp can sometimes cause problems.
8529 # Hook for its removal unless debugging.
8530 # Note that there is a small window in which the directory will not be cleaned:
8531 # after its creation but before its name has been assigned to `$tmp'.
8535 trap 'exit_status=$?
8536 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8538 trap 'as_fn_exit 1' 1 2 13 15
8540 # Create a (secure) tmp directory for tmp files.
8543 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8544 test -n "$tmp" && test -d "$tmp"
8547 tmp=./conf$$-$RANDOM
8548 (umask 077 && mkdir "$tmp")
8549 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
8551 # Set up the scripts for CONFIG_FILES section.
8552 # No need to generate them if there are no CONFIG_FILES.
8553 # This happens for instance with `./config.status config.h'.
8554 if test -n "$CONFIG_FILES"; then
8557 ac_cr=`echo X | tr X '\015'`
8558 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8559 # But we know of no other shell where ac_cr would be empty at this
8560 # point, so we can use a bashism as a fallback.
8561 if test "x$ac_cr" = x; then
8562 eval ac_cr=\$\'\\r\'
8564 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8565 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8571 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8576 echo "cat >conf$$subs.awk <<_ACEOF" &&
8577 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8580 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8581 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8583 for ac_last_try in false false false false false :; do
8584 . ./conf$$subs.sh ||
8585 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8587 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8588 if test $ac_delim_n = $ac_delim_num; then
8590 elif $ac_last_try; then
8591 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8593 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8599 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8603 s/^/S["/; s/!.*/"]=/
8613 s/\(.\{148\}\).*/\1/
8615 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8620 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8627 s/\(.\{148\}\).*/\1/
8629 s/["\\]/\\&/g; s/^/"/; s/$/"/
8633 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8638 ' <conf$$subs.awk | sed '
8643 ' >>$CONFIG_STATUS || ac_write_fail=1
8644 rm -f conf$$subs.awk
8645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8647 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8648 for (key in S) S_is_set[key] = 1
8654 nfields = split(line, field, "@")
8656 len = length(field[1])
8657 for (i = 2; i < nfields; i++) {
8659 keylen = length(key)
8660 if (S_is_set[key]) {
8662 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8663 len += length(value) + length(field[++i])
8674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8675 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8676 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8679 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8680 || as_fn_error "could not setup config files machinery" "$LINENO" 5
8683 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8684 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8685 # trailing colons and then remove the whole line if VPATH becomes empty
8686 # (actually we leave an empty line to preserve line numbers).
8687 if test "x$srcdir" = x.; then
8688 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8692 s/^\([^=]*=[ ]*\):*/\1/
8698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8699 fi # test -n "$CONFIG_FILES"
8701 # Set up the scripts for CONFIG_HEADERS section.
8702 # No need to generate them if there are no CONFIG_HEADERS.
8703 # This happens for instance with `./config.status Makefile'.
8704 if test -n "$CONFIG_HEADERS"; then
8705 cat >"$tmp/defines.awk" <<\_ACAWK ||
8709 # Transform confdefs.h into an awk script `defines.awk', embedded as
8710 # here-document in config.status, that substitutes the proper values into
8711 # config.h.in to produce config.h.
8713 # Create a delimiter string that does not exist in confdefs.h, to ease
8714 # handling of long lines.
8716 for ac_last_try in false false :; do
8717 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8718 if test -z "$ac_t"; then
8720 elif $ac_last_try; then
8721 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
8723 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8727 # For the awk script, D is an array of macro values keyed by name,
8728 # likewise P contains macro parameters if any. Preserve backslash
8729 # newline sequences.
8731 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8733 s/.\{148\}/&'"$ac_delim"'/g
8736 s/^[ ]*#[ ]*define[ ][ ]*/ /
8743 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8745 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8749 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8750 D["\1"]=" \3\\\\\\n"\\/p
8752 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8757 s/.\{148\}/&'"$ac_delim"'/g
8762 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8765 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8767 ' <confdefs.h | sed '
8768 s/'"$ac_delim"'/"\\\
8769 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8772 for (key in D) D_is_set[key] = 1
8775 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8777 split(line, arg, " ")
8778 if (arg[1] == "#") {
8782 defundef = substr(arg[1], 2)
8785 split(mac1, mac2, "(") #)
8787 prefix = substr(line, 1, index(line, defundef) - 1)
8788 if (D_is_set[macro]) {
8789 # Preserve the white space surrounding the "#".
8790 print prefix "define", macro P[macro] D[macro]
8793 # Replace #undef with comments. This is necessary, for example,
8794 # in the case of _POSIX_SOURCE, which is predefined and required
8795 # on some systems where configure will not decide to define it.
8796 if (defundef == "undef") {
8797 print "/*", prefix defundef, macro, "*/"
8805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8806 as_fn_error "could not setup config headers machinery" "$LINENO" 5
8807 fi # test -n "$CONFIG_HEADERS"
8810 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8815 :[FHLC]) ac_mode=$ac_tag; continue;;
8817 case $ac_mode$ac_tag in
8819 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
8820 :[FH]-) ac_tag=-:-;;
8821 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8838 -) ac_f="$tmp/stdin";;
8839 *) # Look for the file first in the build tree, then in the source tree
8840 # (if the path is not absolute). The absolute path cannot be DOS-style,
8841 # because $ac_f cannot contain `:'.
8845 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8847 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8849 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8850 as_fn_append ac_file_inputs " '$ac_f'"
8853 # Let's still pretend it is `configure' which instantiates (i.e., don't
8854 # use $as_me), people would be surprised to read:
8855 # /* config.h. Generated by config.status. */
8856 configure_input='Generated from '`
8857 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8859 if test x"$ac_file" != x-; then
8860 configure_input="$ac_file. $configure_input"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8862 $as_echo "$as_me: creating $ac_file" >&6;}
8864 # Neutralize special characters interpreted by sed in replacement strings.
8865 case $configure_input in #(
8866 *\&* | *\|* | *\\* )
8867 ac_sed_conf_input=`$as_echo "$configure_input" |
8868 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8869 *) ac_sed_conf_input=$configure_input;;
8873 *:-:* | *:-) cat >"$tmp/stdin" \
8874 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8879 ac_dir=`$as_dirname -- "$ac_file" ||
8880 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8881 X"$ac_file" : 'X\(//\)[^/]' \| \
8882 X"$ac_file" : 'X\(//\)$' \| \
8883 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8884 $as_echo X"$ac_file" |
8885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8902 as_dir="$ac_dir"; as_fn_mkdir_p
8906 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8908 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8909 # A ".." for each directory in $ac_dir_suffix.
8910 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8911 case $ac_top_builddir_sub in
8912 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8913 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8916 ac_abs_top_builddir=$ac_pwd
8917 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8918 # for backward compatibility:
8919 ac_top_builddir=$ac_top_build_prefix
8922 .) # We are building in place.
8924 ac_top_srcdir=$ac_top_builddir_sub
8925 ac_abs_top_srcdir=$ac_pwd ;;
8926 [\\/]* | ?:[\\/]* ) # Absolute name.
8927 ac_srcdir=$srcdir$ac_dir_suffix;
8928 ac_top_srcdir=$srcdir
8929 ac_abs_top_srcdir=$srcdir ;;
8931 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8932 ac_top_srcdir=$ac_top_build_prefix$srcdir
8933 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8935 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8945 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8946 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8950 [\\/$]* | ?:[\\/]* ) ;;
8951 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8956 # If the template does not know about datarootdir, expand it.
8957 # FIXME: This hack should be removed a few years after 2.60.
8958 ac_datarootdir_hack=; ac_datarootdir_seen=
8969 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8970 *datarootdir*) ac_datarootdir_seen=yes;;
8971 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8973 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8976 ac_datarootdir_hack='
8977 s&@datadir@&$datadir&g
8978 s&@docdir@&$docdir&g
8979 s&@infodir@&$infodir&g
8980 s&@localedir@&$localedir&g
8981 s&@mandir@&$mandir&g
8982 s&\\\${datarootdir}&$datarootdir&g' ;;
8986 # Neutralize VPATH when `$srcdir' = `.'.
8987 # Shell code in configure.ac might set extrasub.
8988 # FIXME: do we really want to maintain this feature?
8989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8990 ac_sed_extra="$ac_vpsub
8993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8995 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8996 s|@configure_input@|$ac_sed_conf_input|;t t
8997 s&@top_builddir@&$ac_top_builddir_sub&;t t
8998 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8999 s&@srcdir@&$ac_srcdir&;t t
9000 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9001 s&@top_srcdir@&$ac_top_srcdir&;t t
9002 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9003 s&@builddir@&$ac_builddir&;t t
9004 s&@abs_builddir@&$ac_abs_builddir&;t t
9005 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9006 s&@INSTALL@&$ac_INSTALL&;t t
9007 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9008 $ac_datarootdir_hack
9010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9011 || as_fn_error "could not create $ac_file" "$LINENO" 5
9013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9014 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9015 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9017 which seems to be undefined. Please make sure it is defined." >&5
9018 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9019 which seems to be undefined. Please make sure it is defined." >&2;}
9023 -) cat "$tmp/out" && rm -f "$tmp/out";;
9024 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9026 || as_fn_error "could not create $ac_file" "$LINENO" 5
9032 if test x"$ac_file" != x-; then
9034 $as_echo "/* $configure_input */" \
9035 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9036 } >"$tmp/config.h" \
9037 || as_fn_error "could not create $ac_file" "$LINENO" 5
9038 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9040 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9043 mv "$tmp/config.h" "$ac_file" \
9044 || as_fn_error "could not create $ac_file" "$LINENO" 5
9047 $as_echo "/* $configure_input */" \
9048 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9049 || as_fn_error "could not create -" "$LINENO" 5
9051 # Compute "$ac_file"'s index in $config_headers.
9054 for _am_header in $config_headers :; do
9056 $_am_arg | $_am_arg:* )
9059 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9062 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9063 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9064 X"$_am_arg" : 'X\(//\)[^/]' \| \
9065 X"$_am_arg" : 'X\(//\)$' \| \
9066 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9067 $as_echo X"$_am_arg" |
9068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9084 s/.*/./; q'`/stamp-h$_am_stamp_count
9087 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9088 $as_echo "$as_me: executing $ac_file commands" >&6;}
9093 case $ac_file$ac_mode in
9094 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9095 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9096 # are listed without --file. Let's play safe and only enable the eval
9097 # if we detect the quoting.
9098 case $CONFIG_FILES in
9099 *\'*) eval set x "$CONFIG_FILES" ;;
9100 *) set x $CONFIG_FILES ;;
9105 # Strip MF so we end up with the name of the file.
9106 mf=`echo "$mf" | sed -e 's/:.*$//'`
9107 # Check whether this is an Automake generated Makefile or not.
9108 # We used to match only the files named `Makefile.in', but
9109 # some people rename them; so instead we look at the file content.
9110 # Grep'ing the first line is not enough: some people post-process
9111 # each Makefile.in and add a new line on top of each file to say so.
9112 # Grep'ing the whole file is not good either: AIX grep has a line
9113 # limit of 2048, but all sed's we know have understand at least 4000.
9114 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9115 dirpart=`$as_dirname -- "$mf" ||
9116 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9117 X"$mf" : 'X\(//\)[^/]' \| \
9118 X"$mf" : 'X\(//\)$' \| \
9119 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9141 # Extract the definition of DEPDIR, am__include, and am__quote
9142 # from the Makefile without running `make'.
9143 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9144 test -z "$DEPDIR" && continue
9145 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9146 test -z "am__include" && continue
9147 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9148 # When using ansi2knr, U may be empty or an underscore; expand it
9149 U=`sed -n 's/^U = //p' < "$mf"`
9150 # Find all dependency output files, they are included files with
9151 # $(DEPDIR) in their names. We invoke sed twice because it is the
9152 # simplest approach to changing $(DEPDIR) to its actual value in the
9154 for file in `sed -n "
9155 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9156 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9157 # Make sure the directory exists.
9158 test -f "$dirpart/$file" && continue
9159 fdir=`$as_dirname -- "$file" ||
9160 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9161 X"$file" : 'X\(//\)[^/]' \| \
9162 X"$file" : 'X\(//\)$' \| \
9163 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9182 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9183 # echo "creating $dirpart/$file"
9184 echo '# dummy' > "$dirpart/$file"
9190 for ac_file in $CONFIG_FILES; do
9191 # Support "outfile[:infile[:infile...]]"
9193 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9195 # PO directories have a Makefile.in generated from Makefile.in.in.
9196 case "$ac_file" in */Makefile.in)
9197 # Adjust a relative srcdir.
9198 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9199 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
9200 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9201 # In autoconf-2.13 it is called $ac_given_srcdir.
9202 # In autoconf-2.50 it is called $srcdir.
9203 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9204 case "$ac_given_srcdir" in
9205 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9206 /*) top_srcdir="$ac_given_srcdir" ;;
9207 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
9209 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9210 rm -f "$ac_dir/POTFILES"
9211 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9212 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9213 POMAKEFILEDEPS="POTFILES.in"
9214 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9215 # on $ac_dir but don't depend on user-specified configuration
9217 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9218 # The LINGUAS file contains the set of available languages.
9219 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9220 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9222 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9223 # Hide the ALL_LINGUAS assigment from automake.
9224 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9225 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
9227 # The set of available languages was given in configure.in.
9228 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9230 case "$ac_given_srcdir" in
9232 *) srcdirpre='$(srcdir)/' ;;
9238 for lang in $ALL_LINGUAS; do
9239 POFILES="$POFILES $srcdirpre$lang.po"
9240 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9241 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9242 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9244 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9245 # environment variable.
9247 if test -n "$ALL_LINGUAS"; then
9248 for presentlang in $ALL_LINGUAS; do
9250 if test "%UNSET%" != "$LINGUAS"; then
9251 desiredlanguages="$LINGUAS"
9253 desiredlanguages="$ALL_LINGUAS"
9255 for desiredlang in $desiredlanguages; do
9256 # Use the presentlang catalog if desiredlang is
9257 # a. equal to presentlang, or
9258 # b. a variant of presentlang (because in this case,
9259 # presentlang can be used as a fallback for messages
9260 # which are not translated in the desiredlang catalog).
9261 case "$desiredlang" in
9262 "$presentlang"*) useit=yes;;
9265 if test $useit = yes; then
9266 INST_LINGUAS="$INST_LINGUAS $presentlang"
9271 if test -n "$INST_LINGUAS"; then
9272 for lang in $INST_LINGUAS; do
9273 CATALOGS="$CATALOGS $lang.gmo"
9276 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9277 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"
9278 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9279 if test -f "$f"; then
9281 *.orig | *.bak | *~) ;;
9282 *) cat "$f" >> "$ac_dir/Makefile" ;;
9297 ac_clean_files=$ac_clean_files_save
9299 test $ac_write_fail = 0 ||
9300 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
9303 # configure is writing to config.log, and then calls config.status.
9304 # config.status does its own redirection, appending to config.log.
9305 # Unfortunately, on DOS this fails, as config.log is still kept open
9306 # by configure, so config.status won't be able to write to it; its
9307 # output is simply discarded. So we exec the FD to /dev/null,
9308 # effectively closing config.log, so it can be properly (re)opened and
9309 # appended to by config.status. When coming back to configure, we
9310 # need to make the FD available again.
9311 if test "$no_create" != yes; then
9313 ac_config_status_args=
9314 test "$silent" = yes &&
9315 ac_config_status_args="$ac_config_status_args --quiet"
9317 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9319 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9320 # would make configure fail if this is the last instruction.
9321 $ac_cs_success || as_fn_exit $?
9323 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9325 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}