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
615 TLS_DESCRIPTORS_FALSE
617 TLS_GNU2_DIALECT_FALSE
618 TLS_GNU2_DIALECT_TRUE
628 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
629 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
632 NATIVE_OR_CROSS_LINKER_FALSE
633 NATIVE_OR_CROSS_LINKER_TRUE
685 DEFAULT_TARGET_TILEGX_FALSE
686 DEFAULT_TARGET_TILEGX_TRUE
687 DEFAULT_TARGET_X86_64_FALSE
688 DEFAULT_TARGET_X86_64_TRUE
689 DEFAULT_TARGET_SPARC_FALSE
690 DEFAULT_TARGET_SPARC_TRUE
691 DEFAULT_TARGET_POWERPC_FALSE
692 DEFAULT_TARGET_POWERPC_TRUE
693 DEFAULT_TARGET_I386_FALSE
694 DEFAULT_TARGET_I386_TRUE
695 DEFAULT_TARGET_ARM_FALSE
696 DEFAULT_TARGET_ARM_TRUE
711 INSTALL_STRIP_PROGRAM
765 program_transform_name
778 enable_option_checking
785 enable_dependency_tracking
788 enable_build_warnings
792 enable_maintainer_mode
794 ac_precious_vars='build_alias
811 # Initialize some variables set by options.
813 ac_init_version=false
814 ac_unrecognized_opts=
816 # The variables have the same names as the options, with
817 # dashes changed to underlines.
825 program_transform_name=s,x,x,
833 # Installation directory options.
834 # These are left unexpanded so users can "make install exec_prefix=/foo"
835 # and all the variables that are supposed to be based on exec_prefix
836 # by default will actually change.
837 # Use braces instead of parens because sh, perl, etc. also accept them.
838 # (The list follows the same order as the GNU Coding Standards.)
839 bindir='${exec_prefix}/bin'
840 sbindir='${exec_prefix}/sbin'
841 libexecdir='${exec_prefix}/libexec'
842 datarootdir='${prefix}/share'
843 datadir='${datarootdir}'
844 sysconfdir='${prefix}/etc'
845 sharedstatedir='${prefix}/com'
846 localstatedir='${prefix}/var'
847 includedir='${prefix}/include'
848 oldincludedir='/usr/include'
849 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
850 infodir='${datarootdir}/info'
855 libdir='${exec_prefix}/lib'
856 localedir='${datarootdir}/locale'
857 mandir='${datarootdir}/man'
863 # If the previous option needs an argument, assign it.
864 if test -n "$ac_prev"; then
865 eval $ac_prev=\$ac_option
871 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875 # Accept the important Cygnus configure options, so we can diagnose typos.
877 case $ac_dashdash$ac_option in
881 -bindir | --bindir | --bindi | --bind | --bin | --bi)
883 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
886 -build | --build | --buil | --bui | --bu)
887 ac_prev=build_alias ;;
888 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
889 build_alias=$ac_optarg ;;
891 -cache-file | --cache-file | --cache-fil | --cache-fi \
892 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
893 ac_prev=cache_file ;;
894 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
895 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
896 cache_file=$ac_optarg ;;
899 cache_file=config.cache ;;
901 -datadir | --datadir | --datadi | --datad)
903 -datadir=* | --datadir=* | --datadi=* | --datad=*)
904 datadir=$ac_optarg ;;
906 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
907 | --dataroo | --dataro | --datar)
908 ac_prev=datarootdir ;;
909 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
910 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
911 datarootdir=$ac_optarg ;;
913 -disable-* | --disable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
927 eval enable_$ac_useropt=no ;;
929 -docdir | --docdir | --docdi | --doc | --do)
931 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
934 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
936 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
939 -enable-* | --enable-*)
940 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943 as_fn_error "invalid feature name: $ac_useropt"
944 ac_useropt_orig=$ac_useropt
945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
951 ac_unrecognized_sep=', ';;
953 eval enable_$ac_useropt=\$ac_optarg ;;
955 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
956 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
957 | --exec | --exe | --ex)
958 ac_prev=exec_prefix ;;
959 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
960 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
961 | --exec=* | --exe=* | --ex=*)
962 exec_prefix=$ac_optarg ;;
964 -gas | --gas | --ga | --g)
965 # Obsolete; use --with-gas.
968 -help | --help | --hel | --he | -h)
970 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
971 ac_init_help=recursive ;;
972 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
973 ac_init_help=short ;;
975 -host | --host | --hos | --ho)
976 ac_prev=host_alias ;;
977 -host=* | --host=* | --hos=* | --ho=*)
978 host_alias=$ac_optarg ;;
980 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
982 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
984 htmldir=$ac_optarg ;;
986 -includedir | --includedir | --includedi | --included | --include \
987 | --includ | --inclu | --incl | --inc)
988 ac_prev=includedir ;;
989 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
990 | --includ=* | --inclu=* | --incl=* | --inc=*)
991 includedir=$ac_optarg ;;
993 -infodir | --infodir | --infodi | --infod | --info | --inf)
995 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
996 infodir=$ac_optarg ;;
998 -libdir | --libdir | --libdi | --libd)
1000 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1001 libdir=$ac_optarg ;;
1003 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1004 | --libexe | --libex | --libe)
1005 ac_prev=libexecdir ;;
1006 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1007 | --libexe=* | --libex=* | --libe=*)
1008 libexecdir=$ac_optarg ;;
1010 -localedir | --localedir | --localedi | --localed | --locale)
1011 ac_prev=localedir ;;
1012 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1013 localedir=$ac_optarg ;;
1015 -localstatedir | --localstatedir | --localstatedi | --localstated \
1016 | --localstate | --localstat | --localsta | --localst | --locals)
1017 ac_prev=localstatedir ;;
1018 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1019 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1020 localstatedir=$ac_optarg ;;
1022 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1024 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1025 mandir=$ac_optarg ;;
1027 -nfp | --nfp | --nf)
1028 # Obsolete; use --without-fp.
1031 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1032 | --no-cr | --no-c | -n)
1035 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1036 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1039 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1040 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1041 | --oldin | --oldi | --old | --ol | --o)
1042 ac_prev=oldincludedir ;;
1043 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1044 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1045 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1046 oldincludedir=$ac_optarg ;;
1048 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1050 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1051 prefix=$ac_optarg ;;
1053 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1054 | --program-pre | --program-pr | --program-p)
1055 ac_prev=program_prefix ;;
1056 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1057 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1058 program_prefix=$ac_optarg ;;
1060 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1061 | --program-suf | --program-su | --program-s)
1062 ac_prev=program_suffix ;;
1063 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1064 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1065 program_suffix=$ac_optarg ;;
1067 -program-transform-name | --program-transform-name \
1068 | --program-transform-nam | --program-transform-na \
1069 | --program-transform-n | --program-transform- \
1070 | --program-transform | --program-transfor \
1071 | --program-transfo | --program-transf \
1072 | --program-trans | --program-tran \
1073 | --progr-tra | --program-tr | --program-t)
1074 ac_prev=program_transform_name ;;
1075 -program-transform-name=* | --program-transform-name=* \
1076 | --program-transform-nam=* | --program-transform-na=* \
1077 | --program-transform-n=* | --program-transform-=* \
1078 | --program-transform=* | --program-transfor=* \
1079 | --program-transfo=* | --program-transf=* \
1080 | --program-trans=* | --program-tran=* \
1081 | --progr-tra=* | --program-tr=* | --program-t=*)
1082 program_transform_name=$ac_optarg ;;
1084 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1086 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1087 pdfdir=$ac_optarg ;;
1089 -psdir | --psdir | --psdi | --psd | --ps)
1091 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1095 | -silent | --silent | --silen | --sile | --sil)
1098 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1100 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1102 sbindir=$ac_optarg ;;
1104 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1105 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1106 | --sharedst | --shareds | --shared | --share | --shar \
1108 ac_prev=sharedstatedir ;;
1109 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1110 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1111 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1113 sharedstatedir=$ac_optarg ;;
1115 -site | --site | --sit)
1117 -site=* | --site=* | --sit=*)
1120 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1122 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1123 srcdir=$ac_optarg ;;
1125 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1126 | --syscon | --sysco | --sysc | --sys | --sy)
1127 ac_prev=sysconfdir ;;
1128 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1129 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1130 sysconfdir=$ac_optarg ;;
1132 -target | --target | --targe | --targ | --tar | --ta | --t)
1133 ac_prev=target_alias ;;
1134 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1135 target_alias=$ac_optarg ;;
1137 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1140 -version | --version | --versio | --versi | --vers | -V)
1141 ac_init_version=: ;;
1144 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147 as_fn_error "invalid package name: $ac_useropt"
1148 ac_useropt_orig=$ac_useropt
1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1155 ac_unrecognized_sep=', ';;
1157 eval with_$ac_useropt=\$ac_optarg ;;
1159 -without-* | --without-*)
1160 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1163 as_fn_error "invalid package name: $ac_useropt"
1164 ac_useropt_orig=$ac_useropt
1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1171 ac_unrecognized_sep=', ';;
1173 eval with_$ac_useropt=no ;;
1176 # Obsolete; use --with-x.
1179 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1180 | --x-incl | --x-inc | --x-in | --x-i)
1181 ac_prev=x_includes ;;
1182 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1183 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1184 x_includes=$ac_optarg ;;
1186 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1187 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1188 ac_prev=x_libraries ;;
1189 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1190 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1191 x_libraries=$ac_optarg ;;
1193 -*) as_fn_error "unrecognized option: \`$ac_option'
1194 Try \`$0 --help' for more information."
1198 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1199 # Reject names that are not valid shell variable names.
1200 case $ac_envvar in #(
1201 '' | [0-9]* | *[!_$as_cr_alnum]* )
1202 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1204 eval $ac_envvar=\$ac_optarg
1205 export $ac_envvar ;;
1208 # FIXME: should be removed in autoconf 3.0.
1209 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1211 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1212 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1218 if test -n "$ac_prev"; then
1219 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1220 as_fn_error "missing argument to $ac_option"
1223 if test -n "$ac_unrecognized_opts"; then
1224 case $enable_option_checking in
1226 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1227 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1231 # Check all directory arguments for consistency.
1232 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1233 datadir sysconfdir sharedstatedir localstatedir includedir \
1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1235 libdir localedir mandir
1237 eval ac_val=\$$ac_var
1238 # Remove trailing slashes.
1241 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1242 eval $ac_var=\$ac_val;;
1244 # Be sure to have absolute directory names.
1246 [\\/$]* | ?:[\\/]* ) continue;;
1247 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1249 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1252 # There might be people who depend on the old broken behavior: `$host'
1253 # used to hold the argument of --host etc.
1254 # FIXME: To remove some day.
1257 target=$target_alias
1259 # FIXME: To remove some day.
1260 if test "x$host_alias" != x; then
1261 if test "x$build_alias" = x; then
1262 cross_compiling=maybe
1263 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1264 If a cross compiler is detected then cross compile mode will be used." >&2
1265 elif test "x$build_alias" != "x$host_alias"; then
1271 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1273 test "$silent" = yes && exec 6>/dev/null
1276 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1277 ac_ls_di=`ls -di .` &&
1278 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1279 as_fn_error "working directory cannot be determined"
1280 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1281 as_fn_error "pwd does not report name of working directory"
1284 # Find the source files, if location was not specified.
1285 if test -z "$srcdir"; then
1286 ac_srcdir_defaulted=yes
1287 # Try the directory containing this script, then the parent directory.
1288 ac_confdir=`$as_dirname -- "$as_myself" ||
1289 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1290 X"$as_myself" : 'X\(//\)[^/]' \| \
1291 X"$as_myself" : 'X\(//\)$' \| \
1292 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1293 $as_echo X"$as_myself" |
1294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1312 if test ! -r "$srcdir/$ac_unique_file"; then
1316 ac_srcdir_defaulted=no
1318 if test ! -r "$srcdir/$ac_unique_file"; then
1319 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1320 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1322 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1324 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1326 # When building in place, set srcdir=.
1327 if test "$ac_abs_confdir" = "$ac_pwd"; then
1330 # Remove unnecessary trailing slashes from srcdir.
1331 # Double slashes in file names in object file debugging info
1332 # mess up M-x gdb in Emacs.
1334 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1336 for ac_var in $ac_precious_vars; do
1337 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1338 eval ac_env_${ac_var}_value=\$${ac_var}
1339 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1340 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1344 # Report the --help message.
1346 if test "$ac_init_help" = "long"; then
1347 # Omit some internal or obsolete options to make the list less imposing.
1348 # This message is too long to be a string in the A/UX 3.1 sh.
1350 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1352 Usage: $0 [OPTION]... [VAR=VALUE]...
1354 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1355 VAR=VALUE. See below for descriptions of some of the useful variables.
1357 Defaults for the options are specified in brackets.
1360 -h, --help display this help and exit
1361 --help=short display options specific to this package
1362 --help=recursive display the short help of all the included packages
1363 -V, --version display version information and exit
1364 -q, --quiet, --silent do not print \`checking...' messages
1365 --cache-file=FILE cache test results in FILE [disabled]
1366 -C, --config-cache alias for \`--cache-file=config.cache'
1367 -n, --no-create do not create output files
1368 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1370 Installation directories:
1371 --prefix=PREFIX install architecture-independent files in PREFIX
1372 [$ac_default_prefix]
1373 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1376 By default, \`make install' will install all the files in
1377 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1378 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1379 for instance \`--prefix=\$HOME'.
1381 For better control, use the options below.
1383 Fine tuning of the installation directories:
1384 --bindir=DIR user executables [EPREFIX/bin]
1385 --sbindir=DIR system admin executables [EPREFIX/sbin]
1386 --libexecdir=DIR program executables [EPREFIX/libexec]
1387 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1388 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1389 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1390 --libdir=DIR object code libraries [EPREFIX/lib]
1391 --includedir=DIR C header files [PREFIX/include]
1392 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1393 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1394 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1395 --infodir=DIR info documentation [DATAROOTDIR/info]
1396 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1397 --mandir=DIR man documentation [DATAROOTDIR/man]
1398 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1399 --htmldir=DIR html documentation [DOCDIR]
1400 --dvidir=DIR dvi documentation [DOCDIR]
1401 --pdfdir=DIR pdf documentation [DOCDIR]
1402 --psdir=DIR ps documentation [DOCDIR]
1408 --program-prefix=PREFIX prepend PREFIX to installed program names
1409 --program-suffix=SUFFIX append SUFFIX to installed program names
1410 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1413 --build=BUILD configure for building on BUILD [guessed]
1414 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1415 --target=TARGET configure for building compilers for TARGET [HOST]
1419 if test -n "$ac_init_help"; then
1420 case $ac_init_help in
1421 short | recursive ) echo "Configuration of gold 0.1:";;
1426 --disable-option-checking ignore unrecognized --enable/--with options
1427 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1428 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1429 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
1430 --enable-threads multi-threaded linking
1431 --enable-plugins linker plugins
1432 --enable-targets alternative target configurations
1433 --disable-dependency-tracking speeds up one-time build
1434 --enable-dependency-tracking do not reject slow dependency extractors
1435 --disable-nls do not use Native Language Support
1436 --enable-werror treat compile warnings as errors
1437 --enable-build-warnings enable build-time compiler warnings
1438 --enable-maintainer-mode enable make rules and dependencies not useful
1439 (and sometimes confusing) to the casual installer
1442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1444 --with-sysroot=DIR search for usr/lib et al within DIR
1445 --with-lib-path=dir1:dir2... set default LIB_PATH
1446 --with-gold-ldflags=FLAGS additional link flags for gold
1447 --with-gold-ldadd=LIBS additional libraries for gold
1448 --with-zlib include zlib support (auto/yes/no) default=auto
1450 Some influential environment variables:
1451 CC C compiler command
1452 CFLAGS C compiler flags
1453 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1454 nonstandard directory <lib dir>
1455 LIBS libraries to pass to the linker, e.g. -l<library>
1456 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1457 you have headers in a nonstandard directory <include dir>
1458 CXX C++ compiler command
1459 CXXFLAGS C++ compiler flags
1460 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1461 the first program found out of: `bison -y', `byacc', `yacc'.
1462 YFLAGS The list of arguments that will be passed by default to $YACC.
1463 This script will default YFLAGS to the empty string to avoid a
1464 default value of `-d' given by some make applications.
1466 CXXCPP C++ preprocessor
1468 Use these variables to override the choices made by `configure' or to help
1469 it to find libraries and programs with nonstandard names/locations.
1471 Report bugs to the package provider.
1476 if test "$ac_init_help" = "recursive"; then
1477 # If there are subdirs, report their specific --help.
1478 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1479 test -d "$ac_dir" ||
1480 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1485 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1488 # A ".." for each directory in $ac_dir_suffix.
1489 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1490 case $ac_top_builddir_sub in
1491 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1492 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1495 ac_abs_top_builddir=$ac_pwd
1496 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1497 # for backward compatibility:
1498 ac_top_builddir=$ac_top_build_prefix
1501 .) # We are building in place.
1503 ac_top_srcdir=$ac_top_builddir_sub
1504 ac_abs_top_srcdir=$ac_pwd ;;
1505 [\\/]* | ?:[\\/]* ) # Absolute name.
1506 ac_srcdir=$srcdir$ac_dir_suffix;
1507 ac_top_srcdir=$srcdir
1508 ac_abs_top_srcdir=$srcdir ;;
1510 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1511 ac_top_srcdir=$ac_top_build_prefix$srcdir
1512 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1514 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1516 cd "$ac_dir" || { ac_status=$?; continue; }
1517 # Check for guested configure.
1518 if test -f "$ac_srcdir/configure.gnu"; then
1520 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1521 elif test -f "$ac_srcdir/configure"; then
1523 $SHELL "$ac_srcdir/configure" --help=recursive
1525 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1527 cd "$ac_pwd" || { ac_status=$?; break; }
1531 test -n "$ac_init_help" && exit $ac_status
1532 if $ac_init_version; then
1535 generated by GNU Autoconf 2.64
1537 Copyright (C) 2009 Free Software Foundation, Inc.
1538 This configure script is free software; the Free Software Foundation
1539 gives unlimited permission to copy, distribute and modify it.
1544 ## ------------------------ ##
1545 ## Autoconf initialization. ##
1546 ## ------------------------ ##
1548 # ac_fn_c_try_compile LINENO
1549 # --------------------------
1550 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1551 ac_fn_c_try_compile ()
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 rm -f conftest.$ac_objext
1555 if { { ac_try="$ac_compile"
1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_compile") 2>conftest.err
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && {
1571 test -z "$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 } && test -s conftest.$ac_objext; then :
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1581 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1584 } # ac_fn_c_try_compile
1586 # ac_fn_cxx_try_compile LINENO
1587 # ----------------------------
1588 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1589 ac_fn_cxx_try_compile ()
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 rm -f conftest.$ac_objext
1593 if { { ac_try="$ac_compile"
1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1596 *) ac_try_echo=$ac_try;;
1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1600 (eval "$ac_compile") 2>conftest.err
1602 if test -s conftest.err; then
1603 grep -v '^ *+' conftest.err >conftest.er1
1604 cat conftest.er1 >&5
1605 mv -f conftest.er1 conftest.err
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608 test $ac_status = 0; } && {
1609 test -z "$ac_cxx_werror_flag" ||
1610 test ! -s conftest.err
1611 } && test -s conftest.$ac_objext; then :
1614 $as_echo "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.$ac_ext >&5
1619 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1622 } # ac_fn_cxx_try_compile
1624 # ac_fn_c_try_cpp LINENO
1625 # ----------------------
1626 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 if { { ac_try="$ac_cpp conftest.$ac_ext"
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1639 if test -s conftest.err; then
1640 grep -v '^ *+' conftest.err >conftest.er1
1641 cat conftest.er1 >&5
1642 mv -f conftest.er1 conftest.err
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; } >/dev/null && {
1646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1647 test ! -s conftest.err
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1656 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1661 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1662 # -------------------------------------------------------
1663 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1664 # the include files in INCLUDES and setting the cache variable VAR
1666 ac_fn_c_check_header_mongrel ()
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671 $as_echo_n "checking for $2... " >&6; }
1672 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1673 $as_echo_n "(cached) " >&6
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677 $as_echo "$ac_res" >&6; }
1679 # Is the header compilable?
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1681 $as_echo_n "checking $2 usability... " >&6; }
1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1687 if ac_fn_c_try_compile "$LINENO"; then :
1688 ac_header_compiler=yes
1690 ac_header_compiler=no
1692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1694 $as_echo "$ac_header_compiler" >&6; }
1696 # Is the header present?
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1698 $as_echo_n "checking $2 presence... " >&6; }
1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1703 if ac_fn_c_try_cpp "$LINENO"; then :
1704 ac_header_preproc=yes
1706 ac_header_preproc=no
1708 rm -f conftest.err conftest.$ac_ext
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1710 $as_echo "$ac_header_preproc" >&6; }
1712 # So? What about this header?
1713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1716 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1718 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1722 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1724 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1726 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1728 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1730 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734 $as_echo_n "checking for $2... " >&6; }
1735 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1736 $as_echo_n "(cached) " >&6
1738 eval "$3=\$ac_header_compiler"
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 $as_echo "$ac_res" >&6; }
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 } # ac_fn_c_check_header_mongrel
1748 # ac_fn_c_try_run LINENO
1749 # ----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1751 # that executables *can* be run.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 if { { ac_try="$ac_link"
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_link") 2>&5
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1766 { { case "(($ac_try" in
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_try") 2>&5
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; }; }; then :
1778 $as_echo "$as_me: program exited with status $ac_status" >&5
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1782 ac_retval=$ac_status
1784 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1790 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1791 # -------------------------------------------------------
1792 # Tests whether HEADER exists and can be compiled using the include files in
1793 # INCLUDES, setting the cache variable VAR accordingly.
1794 ac_fn_c_check_header_compile ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1800 $as_echo_n "(cached) " >&6
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1807 if ac_fn_c_try_compile "$LINENO"; then :
1812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816 $as_echo "$ac_res" >&6; }
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1819 } # ac_fn_c_check_header_compile
1821 # ac_fn_c_try_link LINENO
1822 # -----------------------
1823 # Try to link conftest.$ac_ext, and return whether this succeeded.
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 rm -f conftest.$ac_objext conftest$ac_exeext
1828 if { { ac_try="$ac_link"
1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_link") 2>conftest.err
1837 if test -s conftest.err; then
1838 grep -v '^ *+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_c_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest$ac_exeext && {
1847 test "$cross_compiling" = yes ||
1848 $as_test_x conftest$ac_exeext
1852 $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.$ac_ext >&5
1857 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1858 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1859 # interfere with the next link command; also delete a directory that is
1860 # left behind by Apple's compiler. We do this before executing the actions.
1861 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1865 } # ac_fn_c_try_link
1867 # ac_fn_c_check_func LINENO FUNC VAR
1868 # ----------------------------------
1869 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1870 ac_fn_c_check_func ()
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1876 $as_echo_n "(cached) " >&6
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1880 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1882 #define $2 innocuous_$2
1884 /* System header to define __stub macros and hopefully few prototypes,
1885 which can conflict with char $2 (); below.
1886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1887 <limits.h> exists even on freestanding compilers. */
1890 # include <limits.h>
1892 # include <assert.h>
1897 /* Override any GCC internal prototype to avoid an error.
1898 Use char because int might match the return type of a GCC
1899 builtin and then its argument prototype would still apply. */
1904 /* The GNU C library defines this for functions which it implements
1905 to always fail with ENOSYS. Some functions are actually named
1906 something starting with __ and the normal name is an alias. */
1907 #if defined __stub_$2 || defined __stub___$2
1919 if ac_fn_c_try_link "$LINENO"; then :
1924 rm -f core conftest.err conftest.$ac_objext \
1925 conftest$ac_exeext conftest.$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1930 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1932 } # ac_fn_c_check_func
1934 # ac_fn_c_check_decl LINENO SYMBOL VAR
1935 # ------------------------------------
1936 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1937 ac_fn_c_check_decl ()
1939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1940 as_decl_name=`echo $2|sed 's/ *(.*//'`
1941 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1943 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1944 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1945 $as_echo_n "(cached) " >&6
1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h. */
1953 #ifndef $as_decl_name
1955 (void) $as_decl_use;
1957 (void) $as_decl_name;
1965 if ac_fn_c_try_compile "$LINENO"; then :
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1977 } # ac_fn_c_check_decl
1979 # ac_fn_cxx_try_cpp LINENO
1980 # ------------------------
1981 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1982 ac_fn_cxx_try_cpp ()
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985 if { { ac_try="$ac_cpp conftest.$ac_ext"
1987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1988 *) ac_try_echo=$ac_try;;
1990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1991 $as_echo "$ac_try_echo"; } >&5
1992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1994 if test -s conftest.err; then
1995 grep -v '^ *+' conftest.err >conftest.er1
1996 cat conftest.er1 >&5
1997 mv -f conftest.er1 conftest.err
1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000 test $ac_status = 0; } >/dev/null && {
2001 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2002 test ! -s conftest.err
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.$ac_ext >&5
2011 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 } # ac_fn_cxx_try_cpp
2016 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2017 # ---------------------------------------------------------
2018 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2019 # the include files in INCLUDES and setting the cache variable VAR
2021 ac_fn_cxx_check_header_mongrel ()
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2026 $as_echo_n "checking for $2... " >&6; }
2027 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2028 $as_echo_n "(cached) " >&6
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2032 $as_echo "$ac_res" >&6; }
2034 # Is the header compilable?
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2036 $as_echo_n "checking $2 usability... " >&6; }
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2042 if ac_fn_cxx_try_compile "$LINENO"; then :
2043 ac_header_compiler=yes
2045 ac_header_compiler=no
2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2049 $as_echo "$ac_header_compiler" >&6; }
2051 # Is the header present?
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2053 $as_echo_n "checking $2 presence... " >&6; }
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2058 if ac_fn_cxx_try_cpp "$LINENO"; then :
2059 ac_header_preproc=yes
2061 ac_header_preproc=no
2063 rm -f conftest.err conftest.$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2065 $as_echo "$ac_header_preproc" >&6; }
2067 # So? What about this header?
2068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2071 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2073 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2077 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2079 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2081 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2083 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2085 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2089 $as_echo_n "checking for $2... " >&6; }
2090 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2091 $as_echo_n "(cached) " >&6
2093 eval "$3=\$ac_header_compiler"
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097 $as_echo "$ac_res" >&6; }
2099 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2101 } # ac_fn_cxx_check_header_mongrel
2103 # ac_fn_cxx_try_link LINENO
2104 # -------------------------
2105 # Try to link conftest.$ac_ext, and return whether this succeeded.
2106 ac_fn_cxx_try_link ()
2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2109 rm -f conftest.$ac_objext conftest$ac_exeext
2110 if { { ac_try="$ac_link"
2112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2113 *) ac_try_echo=$ac_try;;
2115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2116 $as_echo "$ac_try_echo"; } >&5
2117 (eval "$ac_link") 2>conftest.err
2119 if test -s conftest.err; then
2120 grep -v '^ *+' conftest.err >conftest.er1
2121 cat conftest.er1 >&5
2122 mv -f conftest.er1 conftest.err
2124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2125 test $ac_status = 0; } && {
2126 test -z "$ac_cxx_werror_flag" ||
2127 test ! -s conftest.err
2128 } && test -s conftest$ac_exeext && {
2129 test "$cross_compiling" = yes ||
2130 $as_test_x conftest$ac_exeext
2134 $as_echo "$as_me: failed program was:" >&5
2135 sed 's/^/| /' conftest.$ac_ext >&5
2139 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2140 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2141 # interfere with the next link command; also delete a directory that is
2142 # left behind by Apple's compiler. We do this before executing the actions.
2143 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2144 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2147 } # ac_fn_cxx_try_link
2149 # ac_fn_cxx_check_func LINENO FUNC VAR
2150 # ------------------------------------
2151 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2152 ac_fn_cxx_check_func ()
2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2162 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2164 #define $2 innocuous_$2
2166 /* System header to define __stub macros and hopefully few prototypes,
2167 which can conflict with char $2 (); below.
2168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2169 <limits.h> exists even on freestanding compilers. */
2172 # include <limits.h>
2174 # include <assert.h>
2179 /* Override any GCC internal prototype to avoid an error.
2180 Use char because int might match the return type of a GCC
2181 builtin and then its argument prototype would still apply. */
2186 /* The GNU C library defines this for functions which it implements
2187 to always fail with ENOSYS. Some functions are actually named
2188 something starting with __ and the normal name is an alias. */
2189 #if defined __stub_$2 || defined __stub___$2
2201 if ac_fn_cxx_try_link "$LINENO"; then :
2206 rm -f core conftest.err conftest.$ac_objext \
2207 conftest$ac_exeext conftest.$ac_ext
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211 $as_echo "$ac_res" >&6; }
2212 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2214 } # ac_fn_cxx_check_func
2216 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2217 # --------------------------------------
2218 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2219 ac_fn_cxx_check_decl ()
2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2222 as_decl_name=`echo $2|sed 's/ *(.*//'`
2223 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2225 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2226 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2227 $as_echo_n "(cached) " >&6
2229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2235 #ifndef $as_decl_name
2237 (void) $as_decl_use;
2239 (void) $as_decl_name;
2247 if ac_fn_cxx_try_compile "$LINENO"; then :
2252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2257 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2259 } # ac_fn_cxx_check_decl
2260 cat >config.log <<_ACEOF
2261 This file contains any messages produced by compilers while
2262 running configure, to aid debugging if configure makes a mistake.
2264 It was created by gold $as_me 0.1, which was
2265 generated by GNU Autoconf 2.64. Invocation command line was
2277 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2278 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2279 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2280 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2281 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2283 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2284 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2286 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2287 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2288 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2289 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2290 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2291 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2292 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 test -z "$as_dir" && as_dir=.
2301 $as_echo "PATH: $as_dir"
2317 # Keep a trace of the command line.
2318 # Strip out --no-create and --no-recursion so they do not pile up.
2319 # Strip out --silent because we don't want to record it for future runs.
2320 # Also quote any args containing shell meta-characters.
2321 # Make two passes to allow for proper duplicate-argument suppression.
2325 ac_must_keep_next=false
2331 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2332 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2333 | -silent | --silent | --silen | --sile | --sil)
2336 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2339 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2341 as_fn_append ac_configure_args1 " '$ac_arg'"
2342 if test $ac_must_keep_next = true; then
2343 ac_must_keep_next=false # Got value, back to normal.
2346 *=* | --config-cache | -C | -disable-* | --disable-* \
2347 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2348 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2349 | -with-* | --with-* | -without-* | --without-* | --x)
2350 case "$ac_configure_args0 " in
2351 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2354 -* ) ac_must_keep_next=true ;;
2357 as_fn_append ac_configure_args " '$ac_arg'"
2362 { ac_configure_args0=; unset ac_configure_args0;}
2363 { ac_configure_args1=; unset ac_configure_args1;}
2365 # When interrupted or exit'd, cleanup temporary files, and complete
2366 # config.log. We remove comments because anyway the quotes in there
2367 # would cause problems or look ugly.
2368 # WARNING: Use '\'' to represent an apostrophe within the trap.
2369 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2370 trap 'exit_status=$?
2371 # Save into config.log some information that might help in debugging.
2376 ## ---------------- ##
2377 ## Cache variables. ##
2378 ## ---------------- ##
2381 # The following way of writing the cache mishandles newlines in values,
2383 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2384 eval ac_val=\$$ac_var
2388 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2389 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2392 _ | IFS | as_nl) ;; #(
2393 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2394 *) { eval $ac_var=; unset $ac_var;} ;;
2399 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2400 *${as_nl}ac_space=\ *)
2402 "s/'\''/'\''\\\\'\'''\''/g;
2403 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2406 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2414 ## ----------------- ##
2415 ## Output variables. ##
2416 ## ----------------- ##
2419 for ac_var in $ac_subst_vars
2421 eval ac_val=\$$ac_var
2423 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2425 $as_echo "$ac_var='\''$ac_val'\''"
2429 if test -n "$ac_subst_files"; then
2431 ## ------------------- ##
2432 ## File substitutions. ##
2433 ## ------------------- ##
2436 for ac_var in $ac_subst_files
2438 eval ac_val=\$$ac_var
2440 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2442 $as_echo "$ac_var='\''$ac_val'\''"
2447 if test -s confdefs.h; then
2457 test "$ac_signal" != 0 &&
2458 $as_echo "$as_me: caught signal $ac_signal"
2459 $as_echo "$as_me: exit $exit_status"
2461 rm -f core *.core core.conftest.* &&
2462 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2465 for ac_signal in 1 2 13 15; do
2466 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2470 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2471 rm -f -r conftest* confdefs.h
2473 $as_echo "/* confdefs.h */" > confdefs.h
2475 # Predefined preprocessor variables.
2477 cat >>confdefs.h <<_ACEOF
2478 #define PACKAGE_NAME "$PACKAGE_NAME"
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2485 cat >>confdefs.h <<_ACEOF
2486 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_STRING "$PACKAGE_STRING"
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2497 cat >>confdefs.h <<_ACEOF
2498 #define PACKAGE_URL "$PACKAGE_URL"
2502 # Let the site file select an alternate cache file if it wants to.
2503 # Prefer an explicitly selected file to automatically selected ones.
2506 if test -n "$CONFIG_SITE"; then
2507 ac_site_file1=$CONFIG_SITE
2508 elif test "x$prefix" != xNONE; then
2509 ac_site_file1=$prefix/share/config.site
2510 ac_site_file2=$prefix/etc/config.site
2512 ac_site_file1=$ac_default_prefix/share/config.site
2513 ac_site_file2=$ac_default_prefix/etc/config.site
2515 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2517 test "x$ac_site_file" = xNONE && continue
2518 if test -r "$ac_site_file"; then
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2520 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2521 sed 's/^/| /' "$ac_site_file" >&5
2526 if test -r "$cache_file"; then
2527 # Some versions of bash will fail to source /dev/null (special
2528 # files actually), so we avoid doing that.
2529 if test -f "$cache_file"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2531 $as_echo "$as_me: loading cache $cache_file" >&6;}
2533 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2534 *) . "./$cache_file";;
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2539 $as_echo "$as_me: creating cache $cache_file" >&6;}
2543 # Check that the precious variables saved in the cache have kept the same
2545 ac_cache_corrupted=false
2546 for ac_var in $ac_precious_vars; do
2547 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2548 eval ac_new_set=\$ac_env_${ac_var}_set
2549 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2550 eval ac_new_val=\$ac_env_${ac_var}_value
2551 case $ac_old_set,$ac_new_set in
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2554 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2555 ac_cache_corrupted=: ;;
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2558 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2559 ac_cache_corrupted=: ;;
2562 if test "x$ac_old_val" != "x$ac_new_val"; then
2563 # differences in whitespace do not lead to failure.
2564 ac_old_val_w=`echo x $ac_old_val`
2565 ac_new_val_w=`echo x $ac_new_val`
2566 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2568 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2569 ac_cache_corrupted=:
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2572 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2573 eval $ac_var=\$ac_old_val
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2576 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2578 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2581 # Pass precious variables to config.status.
2582 if test "$ac_new_set" = set; then
2584 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2585 *) ac_arg=$ac_var=$ac_new_val ;;
2587 case " $ac_configure_args " in
2588 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2589 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2593 if $ac_cache_corrupted; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2597 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2598 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2600 ## -------------------- ##
2601 ## Main body of script. ##
2602 ## -------------------- ##
2605 ac_cpp='$CPP $CPPFLAGS'
2606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2617 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2618 for ac_t in install-sh install.sh shtool; do
2619 if test -f "$ac_dir/$ac_t"; then
2621 ac_install_sh="$ac_aux_dir/$ac_t -c"
2626 if test -z "$ac_aux_dir"; then
2627 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2630 # These three variables are undocumented and unsupported,
2631 # and are intended to be withdrawn in a future Autoconf release.
2632 # They can cause serious problems if a builder's source tree is in a directory
2633 # whose full name contains unusual characters.
2634 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2635 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2636 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2639 # Make sure we can run config.sub.
2640 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2641 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2644 $as_echo_n "checking build system type... " >&6; }
2645 if test "${ac_cv_build+set}" = set; then :
2646 $as_echo_n "(cached) " >&6
2648 ac_build_alias=$build_alias
2649 test "x$ac_build_alias" = x &&
2650 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2651 test "x$ac_build_alias" = x &&
2652 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2653 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2654 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2658 $as_echo "$ac_cv_build" >&6; }
2659 case $ac_cv_build in
2661 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2664 ac_save_IFS=$IFS; IFS='-'
2670 # Remember, the first character of IFS is used to create $*,
2671 # except with old shells:
2674 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2678 $as_echo_n "checking host system type... " >&6; }
2679 if test "${ac_cv_host+set}" = set; then :
2680 $as_echo_n "(cached) " >&6
2682 if test "x$host_alias" = x; then
2683 ac_cv_host=$ac_cv_build
2685 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2686 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2691 $as_echo "$ac_cv_host" >&6; }
2694 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2697 ac_save_IFS=$IFS; IFS='-'
2703 # Remember, the first character of IFS is used to create $*,
2704 # except with old shells:
2707 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2711 $as_echo_n "checking target system type... " >&6; }
2712 if test "${ac_cv_target+set}" = set; then :
2713 $as_echo_n "(cached) " >&6
2715 if test "x$target_alias" = x; then
2716 ac_cv_target=$ac_cv_host
2718 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2719 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2724 $as_echo "$ac_cv_target" >&6; }
2725 case $ac_cv_target in
2727 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2729 target=$ac_cv_target
2730 ac_save_IFS=$IFS; IFS='-'
2736 # Remember, the first character of IFS is used to create $*,
2737 # except with old shells:
2740 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2743 # The aliases save the names the user supplied, while $host etc.
2744 # will get canonicalized.
2745 test -n "$target_alias" &&
2746 test "$program_prefix$program_suffix$program_transform_name" = \
2748 program_prefix=${target_alias}-
2750 am__api_version='1.11'
2752 # Find a good install program. We prefer a C program (faster),
2753 # so one script is as good as another. But avoid the broken or
2754 # incompatible versions:
2755 # SysV /etc/install, /usr/sbin/install
2756 # SunOS /usr/etc/install
2757 # IRIX /sbin/install
2759 # AmigaOS /C/install, which installs bootblocks on floppy discs
2760 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2761 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2762 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2763 # OS/2's system install, which has a completely different semantic
2764 # ./install, which can be erroneously created by make from ./install.sh.
2765 # Reject install programs that cannot install multiple files.
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2767 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2768 if test -z "$INSTALL"; then
2769 if test "${ac_cv_path_install+set}" = set; then :
2770 $as_echo_n "(cached) " >&6
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir=.
2777 # Account for people who put trailing slashes in PATH elements.
2778 case $as_dir/ in #((
2779 ./ | .// | /[cC]/* | \
2780 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2781 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2784 # OSF1 and SCO ODT 3.0 have their own names for install.
2785 # Don't use installbsd from OSF since it installs stuff as root
2787 for ac_prog in ginstall scoinst install; do
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2790 if test $ac_prog = install &&
2791 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2792 # AIX install. It has an incompatible calling convention.
2794 elif test $ac_prog = install &&
2795 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2796 # program-specific install script used by HP pwplus--don't use.
2799 rm -rf conftest.one conftest.two conftest.dir
2800 echo one > conftest.one
2801 echo two > conftest.two
2803 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2804 test -s conftest.one && test -s conftest.two &&
2805 test -s conftest.dir/conftest.one &&
2806 test -s conftest.dir/conftest.two
2808 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2821 rm -rf conftest.one conftest.two conftest.dir
2824 if test "${ac_cv_path_install+set}" = set; then
2825 INSTALL=$ac_cv_path_install
2827 # As a last resort, use the slow shell script. Don't cache a
2828 # value for INSTALL within a source directory, because that will
2829 # break other packages using the cache if that directory is
2830 # removed, or if the value is a relative name.
2831 INSTALL=$ac_install_sh
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2835 $as_echo "$INSTALL" >&6; }
2837 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2838 # It thinks the first close brace ends the variable substitution.
2839 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2841 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2843 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2846 $as_echo_n "checking whether build environment is sane... " >&6; }
2849 echo timestamp > conftest.file
2850 # Reject unsafe characters in $srcdir or the absolute working directory
2851 # name. Accept space and tab only in the latter.
2855 *[\\\"\#\$\&\'\`$am_lf]*)
2856 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2859 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2860 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2863 # Do `set' in a subshell so we don't clobber the current shell's
2864 # arguments. Must try -L first in case configure is actually a
2865 # symlink; some systems play weird games with the mod time of symlinks
2866 # (eg FreeBSD returns the mod time of the symlink's containing
2869 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2870 if test "$*" = "X"; then
2872 set X `ls -t "$srcdir/configure" conftest.file`
2875 if test "$*" != "X $srcdir/configure conftest.file" \
2876 && test "$*" != "X conftest.file $srcdir/configure"; then
2878 # If neither matched, then we have a broken ls. This can happen
2879 # if, for instance, CONFIG_SHELL is bash and it inherits a
2880 # broken ls alias from the environment. This has actually
2881 # happened. Such a system could not be considered "sane".
2882 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2883 alias in your environment" "$LINENO" 5
2886 test "$2" = conftest.file
2892 as_fn_error "newly created file is older than distributed files!
2893 Check your system clock" "$LINENO" 5
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2896 $as_echo "yes" >&6; }
2897 test "$program_prefix" != NONE &&
2898 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2899 # Use a double $ so make ignores it.
2900 test "$program_suffix" != NONE &&
2901 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2902 # Double any \ or $.
2903 # By default was `s,x,x', remove it if useless.
2904 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2905 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2907 # expand $ac_aux_dir to an absolute path
2908 am_aux_dir=`cd $ac_aux_dir && pwd`
2910 if test x"${MISSING+set}" != xset; then
2913 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2915 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2918 # Use eval to expand $SHELL
2919 if eval "$MISSING --run true"; then
2920 am_missing_run="$MISSING --run "
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2924 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2927 if test x"${install_sh}" != xset; then
2930 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2932 install_sh="\${SHELL} $am_aux_dir/install-sh"
2936 # Installed binaries are usually stripped using `strip' when the user
2937 # run `make install-strip'. However `strip' might not be the right
2938 # tool to use in cross-compilation environments, therefore Automake
2939 # will honor the `STRIP' environment variable to overrule this program.
2940 if test "$cross_compiling" != no; then
2941 if test -n "$ac_tool_prefix"; then
2942 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2943 set dummy ${ac_tool_prefix}strip; ac_word=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if test "${ac_cv_prog_STRIP+set}" = set; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$STRIP"; then
2950 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir=.
2957 for ac_exec_ext in '' $ac_executable_extensions; do
2958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 STRIP=$ac_cv_prog_STRIP
2970 if test -n "$STRIP"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2972 $as_echo "$STRIP" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2980 if test -z "$ac_cv_prog_STRIP"; then
2982 # Extract the first word of "strip", so it can be a program name with args.
2983 set dummy strip; ac_word=$2
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985 $as_echo_n "checking for $ac_word... " >&6; }
2986 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2987 $as_echo_n "(cached) " >&6
2989 if test -n "$ac_ct_STRIP"; then
2990 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999 ac_cv_prog_ac_ct_STRIP="strip"
3000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3010 if test -n "$ac_ct_STRIP"; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3012 $as_echo "$ac_ct_STRIP" >&6; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 $as_echo "no" >&6; }
3018 if test "x$ac_ct_STRIP" = x; then
3021 case $cross_compiling:$ac_tool_warned in
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3025 ac_tool_warned=yes ;;
3030 STRIP="$ac_cv_prog_STRIP"
3034 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3037 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3038 if test -z "$MKDIR_P"; then
3039 if test "${ac_cv_path_mkdir+set}" = set; then :
3040 $as_echo_n "(cached) " >&6
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3046 test -z "$as_dir" && as_dir=.
3047 for ac_prog in mkdir gmkdir; do
3048 for ac_exec_ext in '' $ac_executable_extensions; do
3049 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3050 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3051 'mkdir (GNU coreutils) '* | \
3052 'mkdir (coreutils) '* | \
3053 'mkdir (fileutils) '4.1*)
3054 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3064 if test "${ac_cv_path_mkdir+set}" = set; then
3065 MKDIR_P="$ac_cv_path_mkdir -p"
3067 # As a last resort, use the slow shell script. Don't cache a
3068 # value for MKDIR_P within a source directory, because that will
3069 # break other packages using the cache if that directory is
3070 # removed, or if the value is a relative name.
3071 test -d ./--version && rmdir ./--version
3072 MKDIR_P="$ac_install_sh -d"
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3076 $as_echo "$MKDIR_P" >&6; }
3080 [\\/$]* | ?:[\\/]*) ;;
3081 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3084 for ac_prog in gawk mawk nawk awk
3086 # Extract the first word of "$ac_prog", so it can be a program name with args.
3087 set dummy $ac_prog; ac_word=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if test "${ac_cv_prog_AWK+set}" = set; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$AWK"; then
3094 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103 ac_cv_prog_AWK="$ac_prog"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 if test -n "$AWK"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3116 $as_echo "$AWK" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3123 test -n "$AWK" && break
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3127 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3129 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3130 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3131 $as_echo_n "(cached) " >&6
3133 cat >conftest.make <<\_ACEOF
3136 @echo '@@@%%%=$(MAKE)=@@@%%%'
3138 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3139 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3141 eval ac_cv_prog_make_${ac_make}_set=yes;;
3143 eval ac_cv_prog_make_${ac_make}_set=no;;
3147 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3149 $as_echo "yes" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3154 SET_MAKE="MAKE=${MAKE-make}"
3157 rm -rf .tst 2>/dev/null
3158 mkdir .tst 2>/dev/null
3159 if test -d .tst; then
3164 rmdir .tst 2>/dev/null
3166 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3167 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3168 # is not polluted with repeated "-I."
3169 am__isrc=' -I$(srcdir)'
3170 # test to see if srcdir already configured
3171 if test -f $srcdir/config.status; then
3172 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3176 # test whether we have cygpath
3177 if test -z "$CYGPATH_W"; then
3178 if (cygpath --version) >/dev/null 2>/dev/null; then
3179 CYGPATH_W='cygpath -w'
3186 # Define the identity of the package.
3191 cat >>confdefs.h <<_ACEOF
3192 #define PACKAGE "$PACKAGE"
3196 cat >>confdefs.h <<_ACEOF
3197 #define VERSION "$VERSION"
3200 # Some tools Automake needs.
3202 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3205 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3208 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3211 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3214 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3216 # We need awk for the "check" target. The system "awk" is bad on
3218 # Always define AMTAR for backward compatibility.
3220 AMTAR=${AMTAR-"${am_missing_run}tar"}
3222 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3229 ac_config_headers="$ac_config_headers config.h:config.in"
3236 # Check whether --with-sysroot was given.
3237 if test "${with_sysroot+set}" = set; then :
3238 withval=$with_sysroot; sysroot=$withval
3244 if test "$sysroot" = "yes"; then
3245 sysroot='${exec_prefix}/${target_alias}/sys-root'
3246 elif test "$sysroot" = "no"; then
3250 sysroot_relocatable=0
3251 if test -n "$sysroot"; then
3253 "${prefix}" | "${prefix}/"* | \
3254 "${exec_prefix}" | "${exec_prefix}/"* | \
3255 '${prefix}' | '${prefix}/'*| \
3256 '${exec_prefix}' | '${exec_prefix}/'*)
3257 sysroot_relocatable=1
3263 cat >>confdefs.h <<_ACEOF
3264 #define TARGET_SYSTEM_ROOT "$sysroot"
3268 cat >>confdefs.h <<_ACEOF
3269 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3274 installed_linker=ld.gold
3275 # Check whether --enable-gold was given.
3276 if test "${enable_gold+set}" = set; then :
3277 enableval=$enable_gold; case "${enableval}" in
3279 install_as_default=yes
3282 if test x${enable_ld} = xno; then
3283 install_as_default=yes
3288 install_as_default=no
3294 # Check whether --enable-threads was given.
3295 if test "${enable_threads+set}" = set; then :
3296 enableval=$enable_threads; case "${enableval}" in
3297 yes | "") threads=yes ;;
3305 if test "$threads" = "yes"; then
3307 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3310 if test "$threads" = "yes"; then
3319 # Check whether --enable-plugins was given.
3320 if test "${enable_plugins+set}" = set; then :
3321 enableval=$enable_plugins; case "${enableval}" in
3322 yes | "") plugins=yes ;;
3330 if test "$plugins" = "yes"; then
3332 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3335 if test "$plugins" = "yes"; then
3344 # Check whether --enable-targets was given.
3345 if test "${enable_targets+set}" = set; then :
3346 enableval=$enable_targets; case "${enableval}" in
3348 as_fn_error "--enable-targets option must specify target names or 'all'" "$LINENO" 5
3354 enable_targets=$enableval
3358 # For now, enable all targets by default
3364 # Canonicalize the enabled targets.
3365 if test -n "$enable_targets"; then
3366 for targ in `echo $enable_targets | sed -e 's/,/ /g'`; do
3367 result=`$ac_config_sub $targ 2>/dev/null`
3368 if test -n "$result"; then
3369 canon_targets="$canon_targets $result"
3371 # Permit unrecognized target names, like "all".
3372 canon_targets="$canon_targets $targ"
3377 # See which specific instantiations we need.
3383 default_osabi=ELFOSABI_NONE
3388 for targ in $target $canon_targets; do
3389 if test "$targ" = "all"; then
3396 . ${srcdir}/configure.tgt
3398 if test "$targ_obj" = "UNKNOWN"; then
3399 as_fn_error "\"unsupported target $targ\"" "$LINENO" 5
3401 targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
3402 if test "$targ_extra_obj" != ""; then
3403 targetobjs="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3405 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3406 if test "$targ_big_endian" = "true" \
3407 -o "$targ_extra_big_endian" = "true"; then
3410 if test "$targ_big_endian" = "false" \
3411 -o "$targ_extra_big_endian" = "false"; then
3415 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3416 if test "$targ_big_endian" = "true" \
3417 -o "$targ_extra_big_endian" = "true"; then
3420 if test "$targ_big_endian" = "false" \
3421 -o "$targ_extra_big_endian" = "false"; then
3426 if test "$target" = "$targ"; then
3427 default_machine=$targ_machine
3428 default_size=$targ_size
3429 default_big_endian=$targ_big_endian
3430 default_osabi=$targ_osabi
3432 if test "$targ_obj" = "arm"; then
3433 DEFAULT_TARGET_ARM_TRUE=
3434 DEFAULT_TARGET_ARM_FALSE='#'
3436 DEFAULT_TARGET_ARM_TRUE='#'
3437 DEFAULT_TARGET_ARM_FALSE=
3440 if test "$targ_obj" = "i386"; then
3441 DEFAULT_TARGET_I386_TRUE=
3442 DEFAULT_TARGET_I386_FALSE='#'
3444 DEFAULT_TARGET_I386_TRUE='#'
3445 DEFAULT_TARGET_I386_FALSE=
3448 if test "$targ_obj" = "powerpc"; then
3449 DEFAULT_TARGET_POWERPC_TRUE=
3450 DEFAULT_TARGET_POWERPC_FALSE='#'
3452 DEFAULT_TARGET_POWERPC_TRUE='#'
3453 DEFAULT_TARGET_POWERPC_FALSE=
3456 if test "$targ_obj" = "sparc"; then
3457 DEFAULT_TARGET_SPARC_TRUE=
3458 DEFAULT_TARGET_SPARC_FALSE='#'
3460 DEFAULT_TARGET_SPARC_TRUE='#'
3461 DEFAULT_TARGET_SPARC_FALSE=
3464 if test "$targ_obj" = "x86_64"; then
3465 DEFAULT_TARGET_X86_64_TRUE=
3466 DEFAULT_TARGET_X86_64_FALSE='#'
3468 DEFAULT_TARGET_X86_64_TRUE='#'
3469 DEFAULT_TARGET_X86_64_FALSE=
3472 if test "$targ_obj" = "tilegx"; then
3473 DEFAULT_TARGET_TILEGX_TRUE=
3474 DEFAULT_TARGET_TILEGX_FALSE='#'
3476 DEFAULT_TARGET_TILEGX_TRUE='#'
3477 DEFAULT_TARGET_TILEGX_FALSE=
3480 DEFAULT_TARGET=${targ_obj}
3487 # Remove any duplicates.
3489 for t in $targetobjs; do
3497 if test -n "$targ_32_little"; then
3499 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3502 if test -n "$targ_32_big"; then
3504 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3507 if test -n "$targ_64_little"; then
3509 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3512 if test -n "$targ_64_big"; then
3514 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3518 if test -n "$all_targets"; then
3519 TARGETOBJS='$(ALL_TARGETOBJS)'
3521 TARGETOBJS="$targetobjs"
3526 cat >>confdefs.h <<_ACEOF
3527 #define GOLD_DEFAULT_MACHINE $default_machine
3531 cat >>confdefs.h <<_ACEOF
3532 #define GOLD_DEFAULT_SIZE $default_size
3536 cat >>confdefs.h <<_ACEOF
3537 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3541 cat >>confdefs.h <<_ACEOF
3542 #define GOLD_DEFAULT_OSABI $default_osabi
3547 # Check whether --with-lib-path was given.
3548 if test "${with_lib_path+set}" = set; then :
3549 withval=$with_lib_path; case "$withval" in
3550 yes) LIB_PATH='"/lib:/usr/lib"' ;;
3551 no) LIB_PATH='""' ;;
3552 *) LIB_PATH='"'"$withval"'"' ;;
3555 LIB_PATH='"::DEFAULT::"'
3559 cat >>confdefs.h <<_ACEOF
3560 #define LIB_PATH $LIB_PATH
3563 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
3565 $as_echo "#define NATIVE_LINKER 1" >>confdefs.h
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}nm; ac_word=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if test "${ac_cv_prog_NM+set}" = set; then :
3575 $as_echo_n "(cached) " >&6
3577 if test -n "$NM"; then
3578 ac_cv_prog_NM="$NM" # Let the user override the test.
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_NM="${ac_tool_prefix}nm"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 if test -n "$NM"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3600 $as_echo "$NM" >&6; }
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3608 if test -z "$ac_cv_prog_NM"; then
3610 # Extract the first word of "nm", so it can be a program name with args.
3611 set dummy nm; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3615 $as_echo_n "(cached) " >&6
3617 if test -n "$ac_ct_NM"; then
3618 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_NM="nm"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 ac_ct_NM=$ac_cv_prog_ac_ct_NM
3638 if test -n "$ac_ct_NM"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3640 $as_echo "$ac_ct_NM" >&6; }
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3646 if test "x$ac_ct_NM" = x; then
3649 case $cross_compiling:$ac_tool_warned in
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3653 ac_tool_warned=yes ;;
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 if test -n "$ac_tool_prefix"; then
3668 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3669 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if test "${ac_cv_prog_CC+set}" = set; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC="$CC" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 if test -n "$CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3706 if test -z "$ac_cv_prog_CC"; then
3708 # Extract the first word of "gcc", so it can be a program name with args.
3709 set dummy gcc; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -n "$ac_ct_CC"; then
3716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725 ac_cv_prog_ac_ct_CC="gcc"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3736 if test -n "$ac_ct_CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3738 $as_echo "$ac_ct_CC" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3744 if test "x$ac_ct_CC" = x; then
3747 case $cross_compiling:$ac_tool_warned in
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3751 ac_tool_warned=yes ;;
3759 if test -z "$CC"; then
3760 if test -n "$ac_tool_prefix"; then
3761 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3762 set dummy ${ac_tool_prefix}cc; ac_word=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if test "${ac_cv_prog_CC+set}" = set; then :
3766 $as_echo_n "(cached) " >&6
3768 if test -n "$CC"; then
3769 ac_cv_prog_CC="$CC" # Let the user override the test.
3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 test -z "$as_dir" && as_dir=.
3776 for ac_exec_ext in '' $ac_executable_extensions; do
3777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3778 ac_cv_prog_CC="${ac_tool_prefix}cc"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 if test -n "$CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3791 $as_echo "$CC" >&6; }
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3800 if test -z "$CC"; then
3801 # Extract the first word of "cc", so it can be a program name with args.
3802 set dummy cc; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if test "${ac_cv_prog_CC+set}" = set; then :
3806 $as_echo_n "(cached) " >&6
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC="$CC" # Let the user override the test.
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 test -z "$as_dir" && as_dir=.
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3819 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3820 ac_prog_rejected=yes
3824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 if test $ac_prog_rejected = yes; then
3832 # We found a bogon in the path, so make sure we never use it.
3833 set dummy $ac_cv_prog_CC
3835 if test $# != 0; then
3836 # We chose a different compiler from the bogus one.
3837 # However, it has the same basename, so the bogon will be chosen
3838 # first if we set CC to just the basename; use the full file name.
3840 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3846 if test -n "$CC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3848 $as_echo "$CC" >&6; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3856 if test -z "$CC"; then
3857 if test -n "$ac_tool_prefix"; then
3858 for ac_prog in cl.exe
3860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3861 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if test "${ac_cv_prog_CC+set}" = set; then :
3865 $as_echo_n "(cached) " >&6
3867 if test -n "$CC"; then
3868 ac_cv_prog_CC="$CC" # Let the user override the test.
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3877 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 if test -n "$CC"; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3890 $as_echo "$CC" >&6; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3897 test -n "$CC" && break
3900 if test -z "$CC"; then
3902 for ac_prog in cl.exe
3904 # Extract the first word of "$ac_prog", so it can be a program name with args.
3905 set dummy $ac_prog; ac_word=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3909 $as_echo_n "(cached) " >&6
3911 if test -n "$ac_ct_CC"; then
3912 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3921 ac_cv_prog_ac_ct_CC="$ac_prog"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3932 if test -n "$ac_ct_CC"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3934 $as_echo "$ac_ct_CC" >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3941 test -n "$ac_ct_CC" && break
3944 if test "x$ac_ct_CC" = x; then
3947 case $cross_compiling:$ac_tool_warned in
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3951 ac_tool_warned=yes ;;
3960 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error "no acceptable C compiler found in \$PATH
3963 See \`config.log' for more details." "$LINENO" 5; }
3965 # Provide some information about the compiler.
3966 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3969 for ac_option in --version -v -V -qversion; do
3970 { { ac_try="$ac_compiler $ac_option >&5"
3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3979 if test -s conftest.err; then
3981 ... rest of stderr output deleted ...
3982 10q' conftest.err >conftest.er1
3983 cat conftest.er1 >&5
3984 rm -f conftest.er1 conftest.err
3986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3987 test $ac_status = 0; }
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
4001 ac_clean_files_save=$ac_clean_files
4002 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4003 # Try to create an executable without -o first, disregard a.out.
4004 # It will help us diagnose broken compilers, and finding out an intuition
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4007 $as_echo_n "checking for C compiler default output file name... " >&6; }
4008 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4010 # The possible output files:
4011 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4014 for ac_file in $ac_files
4017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4018 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4023 if { { ac_try="$ac_link_default"
4025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4029 $as_echo "$ac_try_echo"; } >&5
4030 (eval "$ac_link_default") 2>&5
4032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4033 test $ac_status = 0; }; then :
4034 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4035 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4036 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4037 # so that the user can short-circuit this test for compilers unknown to
4039 for ac_file in $ac_files ''
4041 test -f "$ac_file" || continue
4043 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4046 # We found the default executable, but exeext='' is most
4050 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4052 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 # We set ac_cv_exeext here because the later test for it is not
4055 # safe: cross compilers may not add the suffix if given an `-o'
4056 # argument, so we may need to know it at that point already.
4057 # Even if this section looks crufty: it has the advantage of
4064 test "$ac_cv_exeext" = no && ac_cv_exeext=
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4070 $as_echo "$ac_file" >&6; }
4071 if test -z "$ac_file"; then :
4072 $as_echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.$ac_ext >&5
4075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4077 { as_fn_set_status 77
4078 as_fn_error "C compiler cannot create executables
4079 See \`config.log' for more details." "$LINENO" 5; }; }
4081 ac_exeext=$ac_cv_exeext
4083 # Check that the compiler produces executables we can run. If not, either
4084 # the compiler is broken, or we cross compile.
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4086 $as_echo_n "checking whether the C compiler works... " >&6; }
4087 # If not cross compiling, check that we can run a simple program.
4088 if test "$cross_compiling" != yes; then
4089 if { ac_try='./$ac_file'
4090 { { case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_try") 2>&5
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }; }; then
4102 if test "$cross_compiling" = maybe; then
4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error "cannot run C compiled programs.
4108 If you meant to cross compile, use \`--host'.
4109 See \`config.log' for more details." "$LINENO" 5; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4114 $as_echo "yes" >&6; }
4116 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4117 ac_clean_files=$ac_clean_files_save
4118 # Check that the compiler produces executables we can run. If not, either
4119 # the compiler is broken, or we cross compile.
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4121 $as_echo_n "checking whether we are cross compiling... " >&6; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4123 $as_echo "$cross_compiling" >&6; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4126 $as_echo_n "checking for suffix of executables... " >&6; }
4127 if { { ac_try="$ac_link"
4129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130 *) ac_try_echo=$ac_try;;
4132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4133 $as_echo "$ac_try_echo"; } >&5
4134 (eval "$ac_link") 2>&5
4136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4137 test $ac_status = 0; }; then :
4138 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4139 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4140 # work properly (i.e., refer to `conftest.exe'), while it won't with
4142 for ac_file in conftest.exe conftest conftest.*; do
4143 test -f "$ac_file" || continue
4145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4146 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4154 as_fn_error "cannot compute suffix of executables: cannot compile and link
4155 See \`config.log' for more details." "$LINENO" 5; }
4157 rm -f conftest$ac_cv_exeext
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4159 $as_echo "$ac_cv_exeext" >&6; }
4161 rm -f conftest.$ac_ext
4162 EXEEXT=$ac_cv_exeext
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4165 $as_echo_n "checking for suffix of object files... " >&6; }
4166 if test "${ac_cv_objext+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4180 rm -f conftest.o conftest.obj
4181 if { { ac_try="$ac_compile"
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187 $as_echo "$ac_try_echo"; } >&5
4188 (eval "$ac_compile") 2>&5
4190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191 test $ac_status = 0; }; then :
4192 for ac_file in conftest.o conftest.obj conftest.*; do
4193 test -f "$ac_file" || continue;
4195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4196 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4201 $as_echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4206 as_fn_error "cannot compute suffix of object files: cannot compile
4207 See \`config.log' for more details." "$LINENO" 5; }
4209 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4212 $as_echo "$ac_cv_objext" >&6; }
4213 OBJEXT=$ac_cv_objext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4216 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4217 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4218 $as_echo_n "(cached) " >&6
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4234 if ac_fn_c_try_compile "$LINENO"; then :
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4244 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4245 if test $ac_compiler_gnu = yes; then
4250 ac_test_CFLAGS=${CFLAGS+set}
4251 ac_save_CFLAGS=$CFLAGS
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4253 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4254 if test "${ac_cv_prog_cc_g+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4257 ac_save_c_werror_flag=$ac_c_werror_flag
4258 ac_c_werror_flag=yes
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4272 if ac_fn_c_try_compile "$LINENO"; then :
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4287 if ac_fn_c_try_compile "$LINENO"; then :
4290 ac_c_werror_flag=$ac_save_c_werror_flag
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4303 if ac_fn_c_try_compile "$LINENO"; then :
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4311 ac_c_werror_flag=$ac_save_c_werror_flag
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4314 $as_echo "$ac_cv_prog_cc_g" >&6; }
4315 if test "$ac_test_CFLAGS" = set; then
4316 CFLAGS=$ac_save_CFLAGS
4317 elif test $ac_cv_prog_cc_g = yes; then
4318 if test "$GCC" = yes; then
4324 if test "$GCC" = yes; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4331 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4332 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4333 $as_echo_n "(cached) " >&6
4335 ac_cv_prog_cc_c89=no
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4341 #include <sys/types.h>
4342 #include <sys/stat.h>
4343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4344 struct buf { int x; };
4345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4346 static char *e (p, i)
4352 static char *f (char * (*g) (char **, int), char **p, ...)
4357 s = g (p, va_arg (v,int));
4362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4363 function prototypes and stuff, but not '\xHH' hex character constants.
4364 These don't provoke an error unfortunately, instead are silently treated
4365 as 'x'. The following induces an error, until -std is added to get
4366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4367 array size at least. It's necessary to write '\x00'==0 to get something
4368 that's true only with -std. */
4369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4372 inside strings and character constants. */
4374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4376 int test (int i, double x);
4377 struct s1 {int (*f) (int a);};
4378 struct s2 {int (*f) (double a);};
4379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4393 CC="$ac_save_CC $ac_arg"
4394 if ac_fn_c_try_compile "$LINENO"; then :
4395 ac_cv_prog_cc_c89=$ac_arg
4397 rm -f core conftest.err conftest.$ac_objext
4398 test "x$ac_cv_prog_cc_c89" != "xno" && break
4400 rm -f conftest.$ac_ext
4405 case "x$ac_cv_prog_cc_c89" in
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4408 $as_echo "none needed" >&6; } ;;
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4411 $as_echo "unsupported" >&6; } ;;
4413 CC="$CC $ac_cv_prog_cc_c89"
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4417 if test "x$ac_cv_prog_cc_c89" != xno; then :
4422 ac_cpp='$CPP $CPPFLAGS'
4423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4426 DEPDIR="${am__leading_dot}deps"
4428 ac_config_commands="$ac_config_commands depfiles"
4431 am_make=${MAKE-make}
4432 cat > confinc << 'END'
4434 @echo this is the am__doit target
4437 # If we don't find an include directive, just comment out the code.
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4439 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4443 # First try GNU make style include.
4444 echo "include confinc" > confmf
4445 # Ignore all kinds of additional output from `make'.
4446 case `$am_make -s -f confmf 2> /dev/null` in #(
4447 *the\ am__doit\ target*)
4453 # Now try BSD make style include.
4454 if test "$am__include" = "#"; then
4455 echo '.include "confinc"' > confmf
4456 case `$am_make -s -f confmf 2> /dev/null` in #(
4457 *the\ am__doit\ target*)
4458 am__include=.include
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4467 $as_echo "$_am_result" >&6; }
4468 rm -f confinc confmf
4470 # Check whether --enable-dependency-tracking was given.
4471 if test "${enable_dependency_tracking+set}" = set; then :
4472 enableval=$enable_dependency_tracking;
4475 if test "x$enable_dependency_tracking" != xno; then
4476 am_depcomp="$ac_aux_dir/depcomp"
4479 if test "x$enable_dependency_tracking" != xno; then
4489 depcc="$CC" am_compiler_list=
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4492 $as_echo_n "checking dependency style of $depcc... " >&6; }
4493 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4494 $as_echo_n "(cached) " >&6
4496 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4497 # We make a subdir and do the tests there. Otherwise we can end up
4498 # making bogus files that we don't know about and never remove. For
4499 # instance it was reported that on HP-UX the gcc test will end up
4500 # making a dummy file named `D' -- because `-MD' means `put the output
4503 # Copy depcomp to subdir because otherwise we won't find it if we're
4504 # using a relative directory.
4505 cp "$am_depcomp" conftest.dir
4507 # We will build objects and dependencies in a subdirectory because
4508 # it helps to detect inapplicable dependency modes. For instance
4509 # both Tru64's cc and ICC support -MD to output dependencies as a
4510 # side effect of compilation, but ICC will put the dependencies in
4511 # the current directory while Tru64 will put them in the object
4515 am_cv_CC_dependencies_compiler_type=none
4516 if test "$am_compiler_list" = ""; then
4517 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4520 case " $depcc " in #(
4521 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4524 for depmode in $am_compiler_list; do
4525 # Setup a source with many dependencies, because some compilers
4526 # like to wrap large dependency lists on column 80 (with \), and
4527 # we should not choose a depcomp mode which is confused by this.
4529 # We need to recreate these files for each test, as the compiler may
4530 # overwrite some of them when testing with obscure command lines.
4531 # This happens at least with the AIX C compiler.
4533 for i in 1 2 3 4 5 6; do
4534 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4535 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4536 # Solaris 8's {/usr,}/bin/sh.
4537 touch sub/conftst$i.h
4539 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4541 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4542 # mode. It turns out that the SunPro C++ compiler does not properly
4543 # handle `-M -o', and we need to detect this. Also, some Intel
4544 # versions had trouble with output in subdirs
4545 am__obj=sub/conftest.${OBJEXT-o}
4546 am__minus_obj="-o $am__obj"
4549 # This depmode causes a compiler race in universal mode.
4550 test "$am__universal" = false || continue
4553 # after this tag, mechanisms are not by side-effect, so they'll
4554 # only be used when explicitly requested
4555 if test "x$enable_dependency_tracking" = xyes; then
4561 msvisualcpp | msvcmsys)
4562 # This compiler won't grok `-c -o', but also, the minuso test has
4563 # not run yet. These depmodes are late enough in the game, and
4564 # so weak that their functioning should not be impacted.
4565 am__obj=conftest.${OBJEXT-o}
4570 if depmode=$depmode \
4571 source=sub/conftest.c object=$am__obj \
4572 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4573 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4574 >/dev/null 2>conftest.err &&
4575 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4576 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4577 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4578 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4579 # icc doesn't choke on unknown options, it will just issue warnings
4580 # or remarks (even with -Werror). So we grep stderr for any message
4581 # that says an option was ignored or not supported.
4582 # When given -MP, icc 7.0 and 7.1 complain thusly:
4583 # icc: Command line warning: ignoring option '-M'; no argument required
4584 # The diagnosis changed in icc 8.0:
4585 # icc: Command line remark: option '-MP' not supported
4586 if (grep 'ignoring option' conftest.err ||
4587 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4588 am_cv_CC_dependencies_compiler_type=$depmode
4597 am_cv_CC_dependencies_compiler_type=none
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4602 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4603 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4606 test "x$enable_dependency_tracking" != xno \
4607 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4609 am__fastdepCC_FALSE='#'
4611 am__fastdepCC_TRUE='#'
4612 am__fastdepCC_FALSE=
4617 ac_cpp='$CXXCPP $CPPFLAGS'
4618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4621 if test -z "$CXX"; then
4622 if test -n "$CCC"; then
4625 if test -n "$ac_tool_prefix"; then
4626 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4628 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4629 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4631 $as_echo_n "checking for $ac_word... " >&6; }
4632 if test "${ac_cv_prog_CXX+set}" = set; then :
4633 $as_echo_n "(cached) " >&6
4635 if test -n "$CXX"; then
4636 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642 test -z "$as_dir" && as_dir=.
4643 for ac_exec_ext in '' $ac_executable_extensions; do
4644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4645 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 if test -n "$CXX"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4658 $as_echo "$CXX" >&6; }
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4665 test -n "$CXX" && break
4668 if test -z "$CXX"; then
4670 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4672 # Extract the first word of "$ac_prog", so it can be a program name with args.
4673 set dummy $ac_prog; ac_word=$2
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4677 $as_echo_n "(cached) " >&6
4679 if test -n "$ac_ct_CXX"; then
4680 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4689 ac_cv_prog_ac_ct_CXX="$ac_prog"
4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4700 if test -n "$ac_ct_CXX"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4702 $as_echo "$ac_ct_CXX" >&6; }
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 $as_echo "no" >&6; }
4709 test -n "$ac_ct_CXX" && break
4712 if test "x$ac_ct_CXX" = x; then
4715 case $cross_compiling:$ac_tool_warned in
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4719 ac_tool_warned=yes ;;
4727 # Provide some information about the compiler.
4728 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4731 for ac_option in --version -v -V -qversion; do
4732 { { ac_try="$ac_compiler $ac_option >&5"
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4738 $as_echo "$ac_try_echo"; } >&5
4739 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4741 if test -s conftest.err; then
4743 ... rest of stderr output deleted ...
4744 10q' conftest.err >conftest.er1
4745 cat conftest.er1 >&5
4746 rm -f conftest.er1 conftest.err
4748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4749 test $ac_status = 0; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4753 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4754 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4771 if ac_fn_cxx_try_compile "$LINENO"; then :
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4781 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4782 if test $ac_compiler_gnu = yes; then
4787 ac_test_CXXFLAGS=${CXXFLAGS+set}
4788 ac_save_CXXFLAGS=$CXXFLAGS
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4790 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4791 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4792 $as_echo_n "(cached) " >&6
4794 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4795 ac_cxx_werror_flag=yes
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4809 if ac_fn_cxx_try_compile "$LINENO"; then :
4810 ac_cv_prog_cxx_g=yes
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4824 if ac_fn_cxx_try_compile "$LINENO"; then :
4827 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4840 if ac_fn_cxx_try_compile "$LINENO"; then :
4841 ac_cv_prog_cxx_g=yes
4843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4848 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4851 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4852 if test "$ac_test_CXXFLAGS" = set; then
4853 CXXFLAGS=$ac_save_CXXFLAGS
4854 elif test $ac_cv_prog_cxx_g = yes; then
4855 if test "$GXX" = yes; then
4861 if test "$GXX" = yes; then
4868 ac_cpp='$CPP $CPPFLAGS'
4869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4873 depcc="$CXX" am_compiler_list=
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4876 $as_echo_n "checking dependency style of $depcc... " >&6; }
4877 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4878 $as_echo_n "(cached) " >&6
4880 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4881 # We make a subdir and do the tests there. Otherwise we can end up
4882 # making bogus files that we don't know about and never remove. For
4883 # instance it was reported that on HP-UX the gcc test will end up
4884 # making a dummy file named `D' -- because `-MD' means `put the output
4887 # Copy depcomp to subdir because otherwise we won't find it if we're
4888 # using a relative directory.
4889 cp "$am_depcomp" conftest.dir
4891 # We will build objects and dependencies in a subdirectory because
4892 # it helps to detect inapplicable dependency modes. For instance
4893 # both Tru64's cc and ICC support -MD to output dependencies as a
4894 # side effect of compilation, but ICC will put the dependencies in
4895 # the current directory while Tru64 will put them in the object
4899 am_cv_CXX_dependencies_compiler_type=none
4900 if test "$am_compiler_list" = ""; then
4901 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4904 case " $depcc " in #(
4905 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4908 for depmode in $am_compiler_list; do
4909 # Setup a source with many dependencies, because some compilers
4910 # like to wrap large dependency lists on column 80 (with \), and
4911 # we should not choose a depcomp mode which is confused by this.
4913 # We need to recreate these files for each test, as the compiler may
4914 # overwrite some of them when testing with obscure command lines.
4915 # This happens at least with the AIX C compiler.
4917 for i in 1 2 3 4 5 6; do
4918 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4919 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4920 # Solaris 8's {/usr,}/bin/sh.
4921 touch sub/conftst$i.h
4923 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4925 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4926 # mode. It turns out that the SunPro C++ compiler does not properly
4927 # handle `-M -o', and we need to detect this. Also, some Intel
4928 # versions had trouble with output in subdirs
4929 am__obj=sub/conftest.${OBJEXT-o}
4930 am__minus_obj="-o $am__obj"
4933 # This depmode causes a compiler race in universal mode.
4934 test "$am__universal" = false || continue
4937 # after this tag, mechanisms are not by side-effect, so they'll
4938 # only be used when explicitly requested
4939 if test "x$enable_dependency_tracking" = xyes; then
4945 msvisualcpp | msvcmsys)
4946 # This compiler won't grok `-c -o', but also, the minuso test has
4947 # not run yet. These depmodes are late enough in the game, and
4948 # so weak that their functioning should not be impacted.
4949 am__obj=conftest.${OBJEXT-o}
4954 if depmode=$depmode \
4955 source=sub/conftest.c object=$am__obj \
4956 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4957 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4958 >/dev/null 2>conftest.err &&
4959 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4960 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4961 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4962 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4963 # icc doesn't choke on unknown options, it will just issue warnings
4964 # or remarks (even with -Werror). So we grep stderr for any message
4965 # that says an option was ignored or not supported.
4966 # When given -MP, icc 7.0 and 7.1 complain thusly:
4967 # icc: Command line warning: ignoring option '-M'; no argument required
4968 # The diagnosis changed in icc 8.0:
4969 # icc: Command line remark: option '-MP' not supported
4970 if (grep 'ignoring option' conftest.err ||
4971 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4972 am_cv_CXX_dependencies_compiler_type=$depmode
4981 am_cv_CXX_dependencies_compiler_type=none
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4986 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4987 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4990 test "x$enable_dependency_tracking" != xno \
4991 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4992 am__fastdepCXX_TRUE=
4993 am__fastdepCXX_FALSE='#'
4995 am__fastdepCXX_TRUE='#'
4996 am__fastdepCXX_FALSE=
5000 for ac_prog in 'bison -y' byacc
5002 # Extract the first word of "$ac_prog", so it can be a program name with args.
5003 set dummy $ac_prog; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if test "${ac_cv_prog_YACC+set}" = set; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$YACC"; then
5010 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_YACC="$ac_prog"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 YACC=$ac_cv_prog_YACC
5030 if test -n "$YACC"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5032 $as_echo "$YACC" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5039 test -n "$YACC" && break
5041 test -n "$YACC" || YACC="yacc"
5043 if test -n "$ac_tool_prefix"; then
5044 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5045 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5049 $as_echo_n "(cached) " >&6
5051 if test -n "$RANLIB"; then
5052 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir=.
5059 for ac_exec_ext in '' $ac_executable_extensions; do
5060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5061 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 RANLIB=$ac_cv_prog_RANLIB
5072 if test -n "$RANLIB"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5074 $as_echo "$RANLIB" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5082 if test -z "$ac_cv_prog_RANLIB"; then
5083 ac_ct_RANLIB=$RANLIB
5084 # Extract the first word of "ranlib", so it can be a program name with args.
5085 set dummy ranlib; ac_word=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5089 $as_echo_n "(cached) " >&6
5091 if test -n "$ac_ct_RANLIB"; then
5092 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir=.
5099 for ac_exec_ext in '' $ac_executable_extensions; do
5100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5101 ac_cv_prog_ac_ct_RANLIB="ranlib"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5112 if test -n "$ac_ct_RANLIB"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5114 $as_echo "$ac_ct_RANLIB" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5120 if test "x$ac_ct_RANLIB" = x; then
5123 case $cross_compiling:$ac_tool_warned in
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127 ac_tool_warned=yes ;;
5129 RANLIB=$ac_ct_RANLIB
5132 RANLIB="$ac_cv_prog_RANLIB"
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5137 $as_echo_n "checking whether ln -s works... " >&6; }
5139 if test "$LN_S" = "ln -s"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5141 $as_echo "yes" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5144 $as_echo "no, using $LN_S" >&6; }
5150 ac_cpp='$CPP $CPPFLAGS'
5151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5155 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5156 # On Suns, sometimes $CPP names a directory.
5157 if test -n "$CPP" && test -d "$CPP"; then
5160 if test -z "$CPP"; then
5161 if test "${ac_cv_prog_CPP+set}" = set; then :
5162 $as_echo_n "(cached) " >&6
5164 # Double quotes because CPP needs to be expanded
5165 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5168 for ac_c_preproc_warn_flag in '' yes
5170 # Use a header file that comes with gcc, so configuring glibc
5171 # with a fresh cross-compiler works.
5172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5173 # <limits.h> exists even on freestanding compilers.
5174 # On the NeXT, cc -E runs the code through the compiler's parser,
5175 # not just through cpp. "Syntax error" is here to catch this case.
5176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5177 /* end confdefs.h. */
5179 # include <limits.h>
5181 # include <assert.h>
5185 if ac_fn_c_try_cpp "$LINENO"; then :
5188 # Broken: fails on valid input.
5191 rm -f conftest.err conftest.$ac_ext
5193 # OK, works on sane cases. Now check whether nonexistent headers
5194 # can be detected and how.
5195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h. */
5197 #include <ac_nonexistent.h>
5199 if ac_fn_c_try_cpp "$LINENO"; then :
5200 # Broken: success on invalid input.
5203 # Passes both tests.
5207 rm -f conftest.err conftest.$ac_ext
5210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5211 rm -f conftest.err conftest.$ac_ext
5212 if $ac_preproc_ok; then :
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5225 $as_echo "$CPP" >&6; }
5227 for ac_c_preproc_warn_flag in '' yes
5229 # Use a header file that comes with gcc, so configuring glibc
5230 # with a fresh cross-compiler works.
5231 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5232 # <limits.h> exists even on freestanding compilers.
5233 # On the NeXT, cc -E runs the code through the compiler's parser,
5234 # not just through cpp. "Syntax error" is here to catch this case.
5235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5238 # include <limits.h>
5240 # include <assert.h>
5244 if ac_fn_c_try_cpp "$LINENO"; then :
5247 # Broken: fails on valid input.
5250 rm -f conftest.err conftest.$ac_ext
5252 # OK, works on sane cases. Now check whether nonexistent headers
5253 # can be detected and how.
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5256 #include <ac_nonexistent.h>
5258 if ac_fn_c_try_cpp "$LINENO"; then :
5259 # Broken: success on invalid input.
5262 # Passes both tests.
5266 rm -f conftest.err conftest.$ac_ext
5269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5270 rm -f conftest.err conftest.$ac_ext
5271 if $ac_preproc_ok; then :
5274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5276 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5277 See \`config.log' for more details." "$LINENO" 5; }
5281 ac_cpp='$CPP $CPPFLAGS'
5282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5288 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5289 if test "${ac_cv_path_GREP+set}" = set; then :
5290 $as_echo_n "(cached) " >&6
5292 if test -z "$GREP"; then
5293 ac_path_GREP_found=false
5294 # Loop through the user's path and test for each of PROGNAME-LIST
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5299 test -z "$as_dir" && as_dir=.
5300 for ac_prog in grep ggrep; do
5301 for ac_exec_ext in '' $ac_executable_extensions; do
5302 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5303 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5304 # Check for GNU ac_path_GREP and select it if it is found.
5305 # Check for GNU $ac_path_GREP
5306 case `"$ac_path_GREP" --version 2>&1` in
5308 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5311 $as_echo_n 0123456789 >"conftest.in"
5314 cat "conftest.in" "conftest.in" >"conftest.tmp"
5315 mv "conftest.tmp" "conftest.in"
5316 cp "conftest.in" "conftest.nl"
5317 $as_echo 'GREP' >> "conftest.nl"
5318 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5319 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5320 as_fn_arith $ac_count + 1 && ac_count=$as_val
5321 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5322 # Best one so far, save it but keep looking for a better one
5323 ac_cv_path_GREP="$ac_path_GREP"
5324 ac_path_GREP_max=$ac_count
5326 # 10*(2^10) chars as input seems more than enough
5327 test $ac_count -gt 10 && break
5329 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5332 $ac_path_GREP_found && break 3
5337 if test -z "$ac_cv_path_GREP"; then
5338 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5341 ac_cv_path_GREP=$GREP
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5346 $as_echo "$ac_cv_path_GREP" >&6; }
5347 GREP="$ac_cv_path_GREP"
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5351 $as_echo_n "checking for egrep... " >&6; }
5352 if test "${ac_cv_path_EGREP+set}" = set; then :
5353 $as_echo_n "(cached) " >&6
5355 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5356 then ac_cv_path_EGREP="$GREP -E"
5358 if test -z "$EGREP"; then
5359 ac_path_EGREP_found=false
5360 # Loop through the user's path and test for each of PROGNAME-LIST
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5365 test -z "$as_dir" && as_dir=.
5366 for ac_prog in egrep; do
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5369 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5370 # Check for GNU ac_path_EGREP and select it if it is found.
5371 # Check for GNU $ac_path_EGREP
5372 case `"$ac_path_EGREP" --version 2>&1` in
5374 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5377 $as_echo_n 0123456789 >"conftest.in"
5380 cat "conftest.in" "conftest.in" >"conftest.tmp"
5381 mv "conftest.tmp" "conftest.in"
5382 cp "conftest.in" "conftest.nl"
5383 $as_echo 'EGREP' >> "conftest.nl"
5384 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5386 as_fn_arith $ac_count + 1 && ac_count=$as_val
5387 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5388 # Best one so far, save it but keep looking for a better one
5389 ac_cv_path_EGREP="$ac_path_EGREP"
5390 ac_path_EGREP_max=$ac_count
5392 # 10*(2^10) chars as input seems more than enough
5393 test $ac_count -gt 10 && break
5395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5398 $ac_path_EGREP_found && break 3
5403 if test -z "$ac_cv_path_EGREP"; then
5404 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5407 ac_cv_path_EGREP=$EGREP
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5413 $as_echo "$ac_cv_path_EGREP" >&6; }
5414 EGREP="$ac_cv_path_EGREP"
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5418 $as_echo_n "checking for ANSI C header files... " >&6; }
5419 if test "${ac_cv_header_stdc+set}" = set; then :
5420 $as_echo_n "(cached) " >&6
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5437 if ac_fn_c_try_compile "$LINENO"; then :
5438 ac_cv_header_stdc=yes
5440 ac_cv_header_stdc=no
5442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5444 if test $ac_cv_header_stdc = yes; then
5445 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5452 $EGREP "memchr" >/dev/null 2>&1; then :
5455 ac_cv_header_stdc=no
5461 if test $ac_cv_header_stdc = yes; then
5462 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5469 $EGREP "free" >/dev/null 2>&1; then :
5472 ac_cv_header_stdc=no
5478 if test $ac_cv_header_stdc = yes; then
5479 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5480 if test "$cross_compiling" = yes; then :
5483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5484 /* end confdefs.h. */
5487 #if ((' ' & 0x0FF) == 0x020)
5488 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5489 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5491 # define ISLOWER(c) \
5492 (('a' <= (c) && (c) <= 'i') \
5493 || ('j' <= (c) && (c) <= 'r') \
5494 || ('s' <= (c) && (c) <= 'z'))
5495 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5498 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5503 for (i = 0; i < 256; i++)
5504 if (XOR (islower (i), ISLOWER (i))
5505 || toupper (i) != TOUPPER (i))
5510 if ac_fn_c_try_run "$LINENO"; then :
5513 ac_cv_header_stdc=no
5515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5516 conftest.$ac_objext conftest.beam conftest.$ac_ext
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5522 $as_echo "$ac_cv_header_stdc" >&6; }
5523 if test $ac_cv_header_stdc = yes; then
5525 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5529 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5530 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5531 inttypes.h stdint.h unistd.h
5533 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5534 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5536 eval as_val=\$$as_ac_Header
5537 if test "x$as_val" = x""yes; then :
5538 cat >>confdefs.h <<_ACEOF
5539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5548 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5549 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5556 if test "$MINIX" = yes; then
5558 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5561 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5564 $as_echo "#define _MINIX 1" >>confdefs.h
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5570 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5571 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5572 $as_echo_n "(cached) " >&6
5574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5577 # define __EXTENSIONS__ 1
5578 $ac_includes_default
5587 if ac_fn_c_try_compile "$LINENO"; then :
5588 ac_cv_safe_to_define___extensions__=yes
5590 ac_cv_safe_to_define___extensions__=no
5592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5595 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5596 test $ac_cv_safe_to_define___extensions__ = yes &&
5597 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5599 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5601 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5603 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5605 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5610 # If we haven't got the data from the intl directory,
5611 # assume NLS is disabled.
5620 if test -f ../intl/config.intl; then
5621 . ../intl/config.intl
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5624 $as_echo_n "checking whether NLS is requested... " >&6; }
5625 if test x"$USE_NLS" != xyes; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5630 $as_echo "yes" >&6; }
5632 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5636 $as_echo_n "checking for catalogs to be installed... " >&6; }
5637 # Look for .po and .gmo files in the source directory.
5640 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
5641 # If there aren't any .gmo files the shell will give us the
5642 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5644 case "$cat" in *\**)
5647 # The quadruple backslash is collapsed to a double backslash
5648 # by the backticks, then collapsed again by the double quotes,
5649 # leaving us with one backslash in the sed expression (right
5650 # before the dot that mustn't act as a wildcard).
5651 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5652 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
5653 # The user is allowed to set LINGUAS to a list of languages to
5654 # install catalogs for. If it's empty that means "all of them."
5655 if test "x$LINGUAS" = x; then
5656 CATALOGS="$CATALOGS $cat"
5657 XLINGUAS="$XLINGUAS $lang"
5659 case "$LINGUAS" in *$lang*)
5660 CATALOGS="$CATALOGS $cat"
5661 XLINGUAS="$XLINGUAS $lang"
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5668 $as_echo "$LINGUAS" >&6; }
5682 if test -n "$ac_aux_dir"; then
5683 case "$ac_aux_dir" in
5684 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
5685 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5688 if test -z "$MKINSTALLDIRS"; then
5689 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5695 $as_echo_n "checking whether NLS is requested... " >&6; }
5696 # Check whether --enable-nls was given.
5697 if test "${enable_nls+set}" = set; then :
5698 enableval=$enable_nls; USE_NLS=$enableval
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5704 $as_echo "$USE_NLS" >&6; }
5711 # Prepare PATH_SEPARATOR.
5712 # The user is always right.
5713 if test "${PATH_SEPARATOR+set}" != set; then
5714 echo "#! /bin/sh" >conf$$.sh
5715 echo "exit 0" >>conf$$.sh
5717 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5725 # Find out how to test for executable files. Don't use a zero-byte file,
5726 # as systems may use methods other than mode bits to determine executability.
5727 cat >conf$$.file <<_ASEOF
5731 chmod +x conf$$.file
5732 if test -x conf$$.file >/dev/null 2>&1; then
5733 ac_executable_p="test -x"
5735 ac_executable_p="test -f"
5739 # Extract the first word of "msgfmt", so it can be a program name with args.
5740 set dummy msgfmt; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5748 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5751 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5752 for ac_dir in $PATH; do
5754 test -z "$ac_dir" && ac_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5757 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5758 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5759 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5766 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5770 MSGFMT="$ac_cv_path_MSGFMT"
5771 if test "$MSGFMT" != ":"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5773 $as_echo "$MSGFMT" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5779 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5780 set dummy gmsgfmt; ac_word=$2
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782 $as_echo_n "checking for $ac_word... " >&6; }
5783 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5784 $as_echo_n "(cached) " >&6
5788 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5798 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5810 GMSGFMT=$ac_cv_path_GMSGFMT
5811 if test -n "$GMSGFMT"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5813 $as_echo "$GMSGFMT" >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5822 # Prepare PATH_SEPARATOR.
5823 # The user is always right.
5824 if test "${PATH_SEPARATOR+set}" != set; then
5825 echo "#! /bin/sh" >conf$$.sh
5826 echo "exit 0" >>conf$$.sh
5828 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5836 # Find out how to test for executable files. Don't use a zero-byte file,
5837 # as systems may use methods other than mode bits to determine executability.
5838 cat >conf$$.file <<_ASEOF
5842 chmod +x conf$$.file
5843 if test -x conf$$.file >/dev/null 2>&1; then
5844 ac_executable_p="test -x"
5846 ac_executable_p="test -f"
5850 # Extract the first word of "xgettext", so it can be a program name with args.
5851 set dummy xgettext; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5855 $as_echo_n "(cached) " >&6
5859 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5862 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5863 for ac_dir in $PATH; do
5865 test -z "$ac_dir" && ac_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5868 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5869 (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
5870 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5877 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5881 XGETTEXT="$ac_cv_path_XGETTEXT"
5882 if test "$XGETTEXT" != ":"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5884 $as_echo "$XGETTEXT" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5893 # Prepare PATH_SEPARATOR.
5894 # The user is always right.
5895 if test "${PATH_SEPARATOR+set}" != set; then
5896 echo "#! /bin/sh" >conf$$.sh
5897 echo "exit 0" >>conf$$.sh
5899 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5907 # Find out how to test for executable files. Don't use a zero-byte file,
5908 # as systems may use methods other than mode bits to determine executability.
5909 cat >conf$$.file <<_ASEOF
5913 chmod +x conf$$.file
5914 if test -x conf$$.file >/dev/null 2>&1; then
5915 ac_executable_p="test -x"
5917 ac_executable_p="test -f"
5921 # Extract the first word of "msgmerge", so it can be a program name with args.
5922 set dummy msgmerge; ac_word=$2
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5924 $as_echo_n "checking for $ac_word... " >&6; }
5925 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5926 $as_echo_n "(cached) " >&6
5930 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5933 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5934 for ac_dir in $PATH; do
5936 test -z "$ac_dir" && ac_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5939 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
5940 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5947 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5951 MSGMERGE="$ac_cv_path_MSGMERGE"
5952 if test "$MSGMERGE" != ":"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5954 $as_echo "$MSGMERGE" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5961 if test "$GMSGFMT" != ":"; then
5962 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
5963 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5966 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5968 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5973 if test "$XGETTEXT" != ":"; then
5974 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5975 (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
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5979 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5985 ac_config_commands="$ac_config_commands default-1"
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5990 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5991 if test "${ac_cv_c_bigendian+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5994 ac_cv_c_bigendian=unknown
5995 # See if we're dealing with a universal compiler.
5996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
5998 #ifndef __APPLE_CC__
5999 not a universal capable compiler
6004 if ac_fn_c_try_compile "$LINENO"; then :
6006 # Check for potential -arch flags. It is not universal unless
6007 # there are at least two -arch flags with different values.
6010 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6011 if test -n "$ac_prev"; then
6013 i?86 | x86_64 | ppc | ppc64)
6014 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
6017 ac_cv_c_bigendian=universal
6023 elif test "x$ac_word" = "x-arch"; then
6028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6029 if test $ac_cv_c_bigendian = unknown; then
6030 # See if sys/param.h defines the BYTE_ORDER macro.
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6033 #include <sys/types.h>
6034 #include <sys/param.h>
6039 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6040 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6049 if ac_fn_c_try_compile "$LINENO"; then :
6050 # It does; now see whether it defined to BIG_ENDIAN or not.
6051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6052 /* end confdefs.h. */
6053 #include <sys/types.h>
6054 #include <sys/param.h>
6059 #if BYTE_ORDER != BIG_ENDIAN
6067 if ac_fn_c_try_compile "$LINENO"; then :
6068 ac_cv_c_bigendian=yes
6070 ac_cv_c_bigendian=no
6072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6076 if test $ac_cv_c_bigendian = unknown; then
6077 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6085 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6093 if ac_fn_c_try_compile "$LINENO"; then :
6094 # It does; now see whether it defined to _BIG_ENDIAN or not.
6095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6096 /* end confdefs.h. */
6110 if ac_fn_c_try_compile "$LINENO"; then :
6111 ac_cv_c_bigendian=yes
6113 ac_cv_c_bigendian=no
6115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6119 if test $ac_cv_c_bigendian = unknown; then
6120 # Compile a test program.
6121 if test "$cross_compiling" = yes; then :
6122 # Try to guess by grepping values from an object file.
6123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6124 /* end confdefs.h. */
6125 short int ascii_mm[] =
6126 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6127 short int ascii_ii[] =
6128 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6129 int use_ascii (int i) {
6130 return ascii_mm[i] + ascii_ii[i];
6132 short int ebcdic_ii[] =
6133 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6134 short int ebcdic_mm[] =
6135 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6136 int use_ebcdic (int i) {
6137 return ebcdic_mm[i] + ebcdic_ii[i];
6144 return use_ascii (foo) == use_ebcdic (foo);
6149 if ac_fn_c_try_compile "$LINENO"; then :
6150 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6151 ac_cv_c_bigendian=yes
6153 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6154 if test "$ac_cv_c_bigendian" = unknown; then
6155 ac_cv_c_bigendian=no
6157 # finding both strings is unlikely to happen, but who knows?
6158 ac_cv_c_bigendian=unknown
6162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6165 /* end confdefs.h. */
6166 $ac_includes_default
6171 /* Are we little or big endian? From Harbison&Steele. */
6175 char c[sizeof (long int)];
6178 return u.c[sizeof (long int) - 1] == 1;
6184 if ac_fn_c_try_run "$LINENO"; then :
6185 ac_cv_c_bigendian=no
6187 ac_cv_c_bigendian=yes
6189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6190 conftest.$ac_objext conftest.beam conftest.$ac_ext
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6196 $as_echo "$ac_cv_c_bigendian" >&6; }
6197 case $ac_cv_c_bigendian in #(
6199 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6205 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6209 as_fn_error "unknown endianness
6210 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6216 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6218 NATIVE_LINKER_FALSE='#'
6220 NATIVE_LINKER_TRUE='#'
6221 NATIVE_LINKER_FALSE=
6224 if test "$GCC" = yes; then
6233 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
6234 NATIVE_OR_CROSS_LINKER_TRUE=
6235 NATIVE_OR_CROSS_LINKER_FALSE='#'
6237 NATIVE_OR_CROSS_LINKER_TRUE='#'
6238 NATIVE_OR_CROSS_LINKER_FALSE=
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5
6243 $as_echo_n "checking whether static linking works... " >&6; }
6244 if test "${gold_cv_lib_static+set}" = set; then :
6245 $as_echo_n "(cached) " >&6
6247 LDFLAGS_hold=$LDFLAGS
6248 LDFLAGS="$LDFLAGS -static"
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6261 if ac_fn_c_try_link "$LINENO"; then :
6262 gold_cv_lib_static=yes
6264 gold_cv_lib_static=no
6266 rm -f core conftest.err conftest.$ac_objext \
6267 conftest$ac_exeext conftest.$ac_ext
6268 LDFLAGS=$LDFLAGS_hold
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5
6271 $as_echo "$gold_cv_lib_static" >&6; }
6272 if test "$gold_cv_lib_static" = "yes"; then
6274 HAVE_STATIC_FALSE='#'
6276 HAVE_STATIC_TRUE='#'
6288 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE=
6289 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE='#'
6291 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE='#'
6292 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE=
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6297 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6298 if test "${gold_cv_prog_gcc41+set}" = set; then :
6299 $as_echo_n "(cached) " >&6
6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6304 #if !defined __GNUC__
6306 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6311 if ac_fn_c_try_compile "$LINENO"; then :
6312 gold_cv_prog_gcc41=yes
6314 gold_cv_prog_gcc41=no
6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6319 $as_echo "$gold_cv_prog_gcc41" >&6; }
6321 save_CFLAGS="$CFLAGS"
6322 CFLAGS="$CFLAGS -mcmodel=medium"
6323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6327 if ac_fn_c_try_compile "$LINENO"; then :
6328 have_mcmodel_medium=yes
6330 have_mcmodel_medium=no
6332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6333 CFLAGS="$save_CFLAGS"
6334 if test "$target_cpu" = "x86_64" -a "$have_mcmodel_medium" = "yes" -a "$gold_cv_prog_gcc41" = "yes"; then
6335 MCMODEL_MEDIUM_TRUE=
6336 MCMODEL_MEDIUM_FALSE='#'
6338 MCMODEL_MEDIUM_TRUE='#'
6339 MCMODEL_MEDIUM_FALSE=
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fmerge-constants" >&5
6344 $as_echo_n "checking whether $CC supports -fmerge-constants... " >&6; }
6345 if test "${gold_cv_merge_constants+set}" = set; then :
6346 $as_echo_n "(cached) " >&6
6349 save_CFLAGS="$CFLAGS"
6350 CFLAGS="$CFLAGS -fmerge-constants"
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 const char *s = "foo";
6355 if ac_fn_c_try_compile "$LINENO"; then :
6356 have_merge_constants=yes
6358 have_merge_constants=no
6360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6361 CFLAGS="$save_CFLAGS"
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_merge_constants" >&5
6364 $as_echo "$gold_cv_merge_constants" >&6; }
6366 if test "$gold_cv_merge_constants" = yes; then :
6367 MERGE_CONSTANTS_FLAG=-fmerge-constants
6369 MERGE_CONSTANTS_FLAG=
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6373 $as_echo_n "checking for thread support... " >&6; }
6374 if test "${gold_cv_c_thread+set}" = set; then :
6375 $as_echo_n "(cached) " >&6
6377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6381 if ac_fn_c_try_compile "$LINENO"; then :
6382 gold_cv_c_thread=yes
6386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6389 $as_echo "$gold_cv_c_thread" >&6; }
6391 if test "$gold_cv_c_thread" = "yes"; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6401 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6402 if test "${gold_cv_lib_glibc24+set}" = set; then :
6403 $as_echo_n "(cached) " >&6
6405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6406 /* end confdefs.h. */
6408 #include <features.h>
6409 #if !defined __GLIBC__
6411 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6416 if ac_fn_c_try_compile "$LINENO"; then :
6417 gold_cv_lib_glibc24=yes
6419 gold_cv_lib_glibc24=no
6421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6424 $as_echo "$gold_cv_lib_glibc24" >&6; }
6426 if test "$gold_cv_lib_glibc24" = "yes"; then
6428 STATIC_TLS_FALSE='#'
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6436 $as_echo_n "checking for omp support... " >&6; }
6437 if test "${gold_cv_c_threadprivate+set}" = set; then :
6438 $as_echo_n "(cached) " >&6
6440 save_CFLAGS="$CFLAGS"
6441 CFLAGS="$CFLAGS -fopenmp"
6442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6443 /* end confdefs.h. */
6447 #pragma omp threadprivate (i)
6450 if ac_fn_c_try_compile "$LINENO"; then :
6451 gold_cv_c_threadprivate=yes
6453 gold_cv_c_threadprivate=no
6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6456 CFLAGS="$save_CFLAGS"
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6459 $as_echo "$gold_cv_c_threadprivate" >&6; }
6460 if test "$gold_cv_c_threadprivate" = "yes"; then
6462 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6465 if test "$gold_cv_c_threadprivate" = "yes"; then
6467 OMP_SUPPORT_FALSE='#'
6469 OMP_SUPPORT_TRUE='#'
6474 save_CFLAGS="$CFLAGS"
6475 CFLAGS="$CFLAGS -Werror -fpic -mtls-dialect=gnu2"
6476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6486 if ac_fn_c_try_compile "$LINENO"; then :
6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6492 CFLAGS="$save_CFLAGS"
6493 if test "$have_tls_gnu2" = "yes"; then
6494 TLS_GNU2_DIALECT_TRUE=
6495 TLS_GNU2_DIALECT_FALSE='#'
6497 TLS_GNU2_DIALECT_TRUE='#'
6498 TLS_GNU2_DIALECT_FALSE=
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6503 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6504 if test "${gold_cv_lib_glibc29+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6510 #include <features.h>
6511 #if !defined __GLIBC__
6513 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6518 if ac_fn_c_try_compile "$LINENO"; then :
6519 gold_cv_lib_glibc29=yes
6521 gold_cv_lib_glibc29=no
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6526 $as_echo "$gold_cv_lib_glibc29" >&6; }
6528 if test "$gold_cv_lib_glibc29" = "yes"; then
6529 TLS_DESCRIPTORS_TRUE=
6530 TLS_DESCRIPTORS_FALSE='#'
6532 TLS_DESCRIPTORS_TRUE='#'
6533 TLS_DESCRIPTORS_FALSE=
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6538 $as_echo_n "checking for -frandom-seed support... " >&6; }
6539 if test "${gold_cv_c_random_seed+set}" = set; then :
6540 $as_echo_n "(cached) " >&6
6542 save_CFLAGS="$CFLAGS"
6543 CFLAGS="$CFLAGS -frandom-seed=foo"
6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6545 /* end confdefs.h. */
6548 if ac_fn_c_try_compile "$LINENO"; then :
6549 gold_cv_c_random_seed=yes
6551 gold_cv_c_random_seed=no
6553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6554 CFLAGS="$save_CFLAGS"
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6557 $as_echo "$gold_cv_c_random_seed" >&6; }
6558 if test "$gold_cv_c_random_seed" = "yes"; then
6559 # In Makefile, '$@' will be expanded to be the name of the file
6560 # being built, providing a unique seed for each file.
6561 RANDOM_SEED_CFLAGS=-frandom-seed=\$@
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5
6566 $as_echo_n "checking for glibc ifunc support... " >&6; }
6567 if test "${gold_cv_lib_glibc_ifunc+set}" = set; then :
6568 $as_echo_n "(cached) " >&6
6570 save_LDFLAGS="$LDFLAGS"
6571 LDFLAGS="$LDFLAGS -static"
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6575 #include <features.h>
6576 #if !defined __GLIBC__
6578 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6581 void func (void) { }
6583 __asm__(".type invoke, %gnu_indirect_function");
6584 typedef void (*funcptr) (void);
6585 funcptr dispatch (void) __asm__ ("invoke");
6586 funcptr dispatch (void) { return &func; }
6596 if ac_fn_c_try_link "$LINENO"; then :
6598 if ${NM} conftest$EXEEXT | grep "__rela\?_iplt_start" >/dev/null 2>&1; then
6599 gold_cv_lib_glibc_ifunc=both
6601 gold_cv_lib_glibc_ifunc=dyn
6604 gold_cv_lib_glibc_ifunc=no
6606 rm -f core conftest.err conftest.$ac_objext \
6607 conftest$ac_exeext conftest.$ac_ext
6608 LDFLAGS="$save_LDFLAGS"
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5
6611 $as_echo "$gold_cv_lib_glibc_ifunc" >&6; }
6613 if test "$gold_cv_lib_glibc_ifunc" != "no"; then
6621 if test "$gold_cv_lib_glibc_ifunc" = "both"; then
6623 IFUNC_STATIC_FALSE='#'
6625 IFUNC_STATIC_TRUE='#'
6631 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6637 $EGREP "^[0-3]$" >/dev/null 2>&1; then :
6640 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
6645 # Check whether --enable-werror was given.
6646 if test "${enable_werror+set}" = set; then :
6647 enableval=$enable_werror; case "${enableval}" in
6648 yes | y) ERROR_ON_WARNING="yes" ;;
6649 no | n) ERROR_ON_WARNING="no" ;;
6650 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6655 # Disable -Wformat by default when using gcc on mingw
6658 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6659 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
6665 # Enable -Werror by default when using gcc
6666 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6667 ERROR_ON_WARNING=yes
6671 if test "${ERROR_ON_WARNING}" = yes ; then
6672 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
6673 NO_WERROR="-Wno-error"
6676 if test "${GCC}" = yes ; then
6677 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
6680 # Check whether --enable-build-warnings was given.
6681 if test "${enable_build_warnings+set}" = set; then :
6682 enableval=$enable_build_warnings; case "${enableval}" in
6683 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
6684 no) if test "${GCC}" = yes ; then
6687 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
6688 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
6689 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
6690 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
6691 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6696 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
6697 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6704 WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6708 # Check whether --with-gold-ldflags was given.
6709 if test "${with_gold_ldflags+set}" = set; then :
6710 withval=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6713 GOLD_LDFLAGS=$withval
6722 # Check whether --with-gold-ldadd was given.
6723 if test "${with_gold_ldadd+set}" = set; then :
6724 withval=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then
6735 LFS_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6738 for ac_header in sys/mman.h
6740 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6741 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
6742 cat >>confdefs.h <<_ACEOF
6743 #define HAVE_SYS_MMAN_H 1
6750 for ac_func in chsize mmap
6752 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6753 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6754 eval as_val=\$$as_ac_var
6755 if test "x$as_val" = x""yes; then :
6756 cat >>confdefs.h <<_ACEOF
6757 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6763 for ac_func in pread ftruncate ffsll
6765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6767 eval as_val=\$$as_ac_var
6768 if test "x$as_val" = x""yes; then :
6769 cat >>confdefs.h <<_ACEOF
6770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6774 case " $LIBOBJS " in
6775 *" $ac_func.$ac_objext "* ) ;;
6776 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
6786 $as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
6787 if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
6788 $as_echo_n "(cached) " >&6
6790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6791 /* end confdefs.h. */
6794 #include <sys/mman.h>
6795 void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
6805 if ac_fn_c_try_link "$LINENO"; then :
6806 gold_cv_lib_mremap_maymove=yes
6808 gold_cv_lib_mremap_maymove=no
6810 rm -f core conftest.err conftest.$ac_objext \
6811 conftest$ac_exeext conftest.$ac_ext
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
6814 $as_echo "$gold_cv_lib_mremap_maymove" >&6; }
6815 if test "$gold_cv_lib_mremap_maymove" = "yes"; then
6817 $as_echo "#define HAVE_MREMAP 1" >>confdefs.h
6820 case " $LIBOBJS " in
6821 *" mremap.$ac_objext "* ) ;;
6822 *) LIBOBJS="$LIBOBJS mremap.$ac_objext"
6828 # Link in zlib if we can. This allows us to write compressed sections.
6830 # See if the user specified whether he wants zlib support or not.
6832 # Check whether --with-zlib was given.
6833 if test "${with_zlib+set}" = set; then :
6840 if test "$with_zlib" != "no"; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6842 $as_echo_n "checking for library containing zlibVersion... " >&6; }
6843 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6844 $as_echo_n "(cached) " >&6
6846 ac_func_search_save_LIBS=$LIBS
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6850 /* Override any GCC internal prototype to avoid an error.
6851 Use char because int might match the return type of a GCC
6852 builtin and then its argument prototype would still apply. */
6856 char zlibVersion ();
6860 return zlibVersion ();
6865 for ac_lib in '' z; do
6866 if test -z "$ac_lib"; then
6867 ac_res="none required"
6870 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6872 if ac_fn_c_try_link "$LINENO"; then :
6873 ac_cv_search_zlibVersion=$ac_res
6875 rm -f core conftest.err conftest.$ac_objext \
6877 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6881 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6884 ac_cv_search_zlibVersion=no
6887 LIBS=$ac_func_search_save_LIBS
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6890 $as_echo "$ac_cv_search_zlibVersion" >&6; }
6891 ac_res=$ac_cv_search_zlibVersion
6892 if test "$ac_res" != no; then :
6893 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6894 for ac_header in zlib.h
6896 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6897 if test "x$ac_cv_header_zlib_h" = x""yes; then :
6898 cat >>confdefs.h <<_ACEOF
6899 #define HAVE_ZLIB_H 1
6908 if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
6909 as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
6913 if test "$ac_cv_header_zlib_h" = "yes"; then
6922 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6923 if test "x$ac_cv_have_decl_basename" = x""yes; then :
6929 cat >>confdefs.h <<_ACEOF
6930 #define HAVE_DECL_BASENAME $ac_have_decl
6932 ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6933 if test "x$ac_cv_have_decl_ffs" = x""yes; then :
6939 cat >>confdefs.h <<_ACEOF
6940 #define HAVE_DECL_FFS $ac_have_decl
6942 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6943 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
6949 cat >>confdefs.h <<_ACEOF
6950 #define HAVE_DECL_ASPRINTF $ac_have_decl
6952 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6953 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
6959 cat >>confdefs.h <<_ACEOF
6960 #define HAVE_DECL_VASPRINTF $ac_have_decl
6962 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6963 if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
6969 cat >>confdefs.h <<_ACEOF
6970 #define HAVE_DECL_SNPRINTF $ac_have_decl
6972 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6973 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
6979 cat >>confdefs.h <<_ACEOF
6980 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6982 ac_fn_c_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6983 if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
6989 cat >>confdefs.h <<_ACEOF
6990 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6995 ac_cpp='$CXXCPP $CPPFLAGS'
6996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7003 ac_cpp='$CXXCPP $CPPFLAGS'
7004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7008 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7009 if test -z "$CXXCPP"; then
7010 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7011 $as_echo_n "(cached) " >&6
7013 # Double quotes because CXXCPP needs to be expanded
7014 for CXXCPP in "$CXX -E" "/lib/cpp"
7017 for ac_cxx_preproc_warn_flag in '' yes
7019 # Use a header file that comes with gcc, so configuring glibc
7020 # with a fresh cross-compiler works.
7021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7022 # <limits.h> exists even on freestanding compilers.
7023 # On the NeXT, cc -E runs the code through the compiler's parser,
7024 # not just through cpp. "Syntax error" is here to catch this case.
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7028 # include <limits.h>
7030 # include <assert.h>
7034 if ac_fn_cxx_try_cpp "$LINENO"; then :
7037 # Broken: fails on valid input.
7040 rm -f conftest.err conftest.$ac_ext
7042 # OK, works on sane cases. Now check whether nonexistent headers
7043 # can be detected and how.
7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7046 #include <ac_nonexistent.h>
7048 if ac_fn_cxx_try_cpp "$LINENO"; then :
7049 # Broken: success on invalid input.
7052 # Passes both tests.
7056 rm -f conftest.err conftest.$ac_ext
7059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7060 rm -f conftest.err conftest.$ac_ext
7061 if $ac_preproc_ok; then :
7066 ac_cv_prog_CXXCPP=$CXXCPP
7069 CXXCPP=$ac_cv_prog_CXXCPP
7071 ac_cv_prog_CXXCPP=$CXXCPP
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7074 $as_echo "$CXXCPP" >&6; }
7076 for ac_cxx_preproc_warn_flag in '' yes
7078 # Use a header file that comes with gcc, so configuring glibc
7079 # with a fresh cross-compiler works.
7080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7081 # <limits.h> exists even on freestanding compilers.
7082 # On the NeXT, cc -E runs the code through the compiler's parser,
7083 # not just through cpp. "Syntax error" is here to catch this case.
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7087 # include <limits.h>
7089 # include <assert.h>
7093 if ac_fn_cxx_try_cpp "$LINENO"; then :
7096 # Broken: fails on valid input.
7099 rm -f conftest.err conftest.$ac_ext
7101 # OK, works on sane cases. Now check whether nonexistent headers
7102 # can be detected and how.
7103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7105 #include <ac_nonexistent.h>
7107 if ac_fn_cxx_try_cpp "$LINENO"; then :
7108 # Broken: success on invalid input.
7111 # Passes both tests.
7115 rm -f conftest.err conftest.$ac_ext
7118 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7119 rm -f conftest.err conftest.$ac_ext
7120 if $ac_preproc_ok; then :
7123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7125 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
7126 See \`config.log' for more details." "$LINENO" 5; }
7130 ac_cpp='$CXXCPP $CPPFLAGS'
7131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7136 for ac_header in tr1/unordered_set tr1/unordered_map
7138 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7139 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7140 eval as_val=\$$as_ac_Header
7141 if test "x$as_val" = x""yes; then :
7142 cat >>confdefs.h <<_ACEOF
7143 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7150 for ac_header in ext/hash_map ext/hash_set
7152 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7153 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7154 eval as_val=\$$as_ac_Header
7155 if test "x$as_val" = x""yes; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7164 for ac_header in byteswap.h
7166 ac_fn_cxx_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7167 if test "x$ac_cv_header_byteswap_h" = x""yes; then :
7168 cat >>confdefs.h <<_ACEOF
7169 #define HAVE_BYTESWAP_H 1
7177 for ac_header in windows.h
7179 ac_fn_cxx_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
7180 if test "x$ac_cv_header_windows_h" = x""yes; then :
7181 cat >>confdefs.h <<_ACEOF
7182 #define HAVE_WINDOWS_H 1
7189 for ac_header in dlfcn.h
7191 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
7192 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7193 cat >>confdefs.h <<_ACEOF
7194 #define HAVE_DLFCN_H 1
7205 for ac_func in mallinfo posix_fallocate fallocate readv sysconf times
7207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7208 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
7209 eval as_val=\$$as_ac_var
7210 if test "x$as_val" = x""yes; then :
7211 cat >>confdefs.h <<_ACEOF
7212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7218 ac_fn_cxx_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7219 if test "x$ac_cv_have_decl_basename" = x""yes; then :
7225 cat >>confdefs.h <<_ACEOF
7226 #define HAVE_DECL_BASENAME $ac_have_decl
7228 ac_fn_cxx_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7229 if test "x$ac_cv_have_decl_ffs" = x""yes; then :
7235 cat >>confdefs.h <<_ACEOF
7236 #define HAVE_DECL_FFS $ac_have_decl
7238 ac_fn_cxx_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7239 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
7245 cat >>confdefs.h <<_ACEOF
7246 #define HAVE_DECL_ASPRINTF $ac_have_decl
7248 ac_fn_cxx_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7249 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
7255 cat >>confdefs.h <<_ACEOF
7256 #define HAVE_DECL_VASPRINTF $ac_have_decl
7258 ac_fn_cxx_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7259 if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
7265 cat >>confdefs.h <<_ACEOF
7266 #define HAVE_DECL_SNPRINTF $ac_have_decl
7268 ac_fn_cxx_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7269 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
7275 cat >>confdefs.h <<_ACEOF
7276 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7278 ac_fn_cxx_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7279 if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
7285 cat >>confdefs.h <<_ACEOF
7286 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7288 ac_fn_cxx_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
7289 if test "x$ac_cv_have_decl_strndup" = x""yes; then :
7295 cat >>confdefs.h <<_ACEOF
7296 #define HAVE_DECL_STRNDUP $ac_have_decl
7298 ac_fn_cxx_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
7299 if test "x$ac_cv_have_decl_memmem" = x""yes; then :
7305 cat >>confdefs.h <<_ACEOF
7306 #define HAVE_DECL_MEMMEM $ac_have_decl
7310 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7311 # at link time with some versions of GCC.
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7313 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
7314 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
7315 $as_echo_n "(cached) " >&6
7317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7318 /* end confdefs.h. */
7320 #include <tr1/unordered_map>
7321 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
7331 if ac_fn_cxx_try_link "$LINENO"; then :
7332 gold_cv_unordered_map_rehash=yes
7334 gold_cv_unordered_map_rehash=no
7336 rm -f core conftest.err conftest.$ac_objext \
7337 conftest$ac_exeext conftest.$ac_ext
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
7340 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
7341 if test "$gold_cv_unordered_map_rehash" = "yes"; then
7343 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
7347 # Use of tr1/unordered_map with off_t as a key is not supported on GCC
7348 # 4.1.xx when compiling in 32-bit mode with a 64-bit off_t type.
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether std::tr1::hash<off_t> is defined" >&5
7350 $as_echo_n "checking whether std::tr1::hash<off_t> is defined... " >&6; }
7351 if test "${gold_cv_hash_off_t+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7354 CXXFLAGS_hold=$CXXFLAGS
7355 CXXFLAGS="$CXXFLAGS $LFS_CFLAGS"
7356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7357 /* end confdefs.h. */
7359 #include <sys/types.h>
7360 #include <tr1/unordered_map>
7361 std::tr1::hash<off_t> h;
7364 if ac_fn_cxx_try_compile "$LINENO"; then :
7365 gold_cv_hash_off_t=yes
7367 gold_cv_hash_off_t=no
7369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7370 CXXFLAGS=$CXXFLAGS_hold
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_hash_off_t" >&5
7373 $as_echo "$gold_cv_hash_off_t" >&6; }
7374 if test "$gold_cv_hash_off_t" = "yes"; then
7376 $as_echo "#define HAVE_TR1_HASH_OFF_T 1" >>confdefs.h
7380 # gcc 4.3.0 doesn't recognize the printf attribute on a template
7381 # function. Check for that. This is gcc bug 35546. This test can
7382 # probably be removed after the bug has been fixed for a while.
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
7384 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
7385 if test "${gold_cv_template_attribute+set}" = set; then :
7386 $as_echo_n "(cached) " >&6
7388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7389 /* end confdefs.h. */
7391 template<typename T> extern void foo(const char*, ...)
7392 __attribute__ ((__format__ (__printf__, 1, 2)));
7393 template<typename T> void foo(const char* format, ...) {}
7394 void bar() { foo<int>("%s\n", "foo"); }
7397 if ac_fn_cxx_try_compile "$LINENO"; then :
7398 gold_cv_template_attribute=yes
7400 gold_cv_template_attribute=no
7402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
7405 $as_echo "$gold_cv_template_attribute" >&6; }
7406 if test "$gold_cv_template_attribute" = "yes"; then
7408 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7413 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7414 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7415 $as_echo_n "(cached) " >&6
7417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7418 /* end confdefs.h. */
7420 #include <sys/stat.h>
7421 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7431 if ac_fn_cxx_try_compile "$LINENO"; then :
7432 gold_cv_stat_st_mtim=yes
7434 gold_cv_stat_st_mtim=no
7436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7439 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7440 if test "$gold_cv_stat_st_mtim" = "yes"; then
7442 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7446 save_CXXFLAGS="$CXXFLAGS"
7447 CXXFLAGS="$CXXFLAGS -Werror -gpubnames"
7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7449 /* end confdefs.h. */
7452 if ac_fn_cxx_try_compile "$LINENO"; then :
7457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7458 CXXFLAGS="$save_CXXFLAGS"
7459 if test "$have_pubnames" = "yes"; then
7461 HAVE_PUBNAMES_FALSE='#'
7463 HAVE_PUBNAMES_TRUE='#'
7464 HAVE_PUBNAMES_FALSE=
7469 ac_cpp='$CPP $CPPFLAGS'
7470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7475 for ac_header in locale.h
7477 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7478 if test "x$ac_cv_header_locale_h" = x""yes; then :
7479 cat >>confdefs.h <<_ACEOF
7480 #define HAVE_LOCALE_H 1
7487 for ac_func in setlocale
7489 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
7490 if test "x$ac_cv_func_setlocale" = x""yes; then :
7491 cat >>confdefs.h <<_ACEOF
7492 #define HAVE_SETLOCALE 1
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7500 $as_echo_n "checking for LC_MESSAGES... " >&6; }
7501 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7502 $as_echo_n "(cached) " >&6
7504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7515 if ac_fn_c_try_link "$LINENO"; then :
7516 am_cv_val_LC_MESSAGES=yes
7518 am_cv_val_LC_MESSAGES=no
7520 rm -f core conftest.err conftest.$ac_objext \
7521 conftest$ac_exeext conftest.$ac_ext
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7524 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7525 if test $am_cv_val_LC_MESSAGES = yes; then
7527 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7534 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7535 # Check whether --enable-maintainer-mode was given.
7536 if test "${enable_maintainer_mode+set}" = set; then :
7537 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
7539 USE_MAINTAINER_MODE=no
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7543 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7544 if test $USE_MAINTAINER_MODE = yes; then
7545 MAINTAINER_MODE_TRUE=
7546 MAINTAINER_MODE_FALSE='#'
7548 MAINTAINER_MODE_TRUE='#'
7549 MAINTAINER_MODE_FALSE=
7552 MAINT=$MAINTAINER_MODE_TRUE
7556 ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7558 cat >confcache <<\_ACEOF
7559 # This file is a shell script that caches the results of configure
7560 # tests run on this system so they can be shared between configure
7561 # scripts and configure runs, see configure's option --config-cache.
7562 # It is not useful on other systems. If it contains results you don't
7563 # want to keep, you may remove or edit it.
7565 # config.status only pays attention to the cache file if you give it
7566 # the --recheck option to rerun configure.
7568 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7574 # The following way of writing the cache mishandles newlines in values,
7575 # but we know of no workaround that is simple, portable, and efficient.
7576 # So, we kill variables containing newlines.
7577 # Ultrix sh set writes to stderr and can't be redirected directly,
7578 # and sets the high bit in the cache file unless we assign to the vars.
7580 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7581 eval ac_val=\$$ac_var
7585 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7586 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7589 _ | IFS | as_nl) ;; #(
7590 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7591 *) { eval $ac_var=; unset $ac_var;} ;;
7597 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7598 *${as_nl}ac_space=\ *)
7599 # `set' does not quote correctly, so add quotes: double-quote
7600 # substitution turns \\\\ into \\, and sed turns \\ into \.
7603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7606 # `set' quotes correctly as required by POSIX, so do not add quotes.
7607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7616 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7618 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7620 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7621 if test -w "$cache_file"; then
7622 test "x$cache_file" != "x/dev/null" &&
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7624 $as_echo "$as_me: updating cache $cache_file" >&6;}
7625 cat confcache >$cache_file
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7628 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7633 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7634 # Let make expand exec_prefix.
7635 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7637 DEFS=-DHAVE_CONFIG_H
7641 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7642 # 1. Remove the extension, and $U if already installed.
7643 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7644 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7645 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7646 # will be set to the directory where LIBOBJS objects are built.
7647 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7648 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7652 LTLIBOBJS=$ac_ltlibobjs
7655 if test -n "$EXEEXT"; then
7657 am__EXEEXT_FALSE='#'
7663 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7664 as_fn_error "conditional \"THREADS\" was never defined.
7665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7667 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7668 as_fn_error "conditional \"PLUGINS\" was never defined.
7669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7671 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7672 as_fn_error "conditional \"DEFAULT_TARGET_ARM\" was never defined.
7673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7675 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7676 as_fn_error "conditional \"DEFAULT_TARGET_I386\" was never defined.
7677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7679 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7680 as_fn_error "conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7683 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7684 as_fn_error "conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7687 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7688 as_fn_error "conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7691 if test -z "${DEFAULT_TARGET_TILEGX_TRUE}" && test -z "${DEFAULT_TARGET_TILEGX_FALSE}"; then
7692 as_fn_error "conditional \"DEFAULT_TARGET_TILEGX\" was never defined.
7693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7695 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7696 as_fn_error "conditional \"AMDEP\" was never defined.
7697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7699 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7700 as_fn_error "conditional \"am__fastdepCC\" was never defined.
7701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7703 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7704 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
7705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7708 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7709 as_fn_error "conditional \"NATIVE_LINKER\" was never defined.
7710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7712 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7713 as_fn_error "conditional \"GCC\" was never defined.
7714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7716 if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
7717 as_fn_error "conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
7718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7720 if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then
7721 as_fn_error "conditional \"HAVE_STATIC\" was never defined.
7722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7724 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7725 as_fn_error "conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7728 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7729 as_fn_error "conditional \"MCMODEL_MEDIUM\" was never defined.
7730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7732 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7733 as_fn_error "conditional \"TLS\" was never defined.
7734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7736 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7737 as_fn_error "conditional \"STATIC_TLS\" was never defined.
7738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7740 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7741 as_fn_error "conditional \"OMP_SUPPORT\" was never defined.
7742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7744 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7745 as_fn_error "conditional \"TLS_GNU2_DIALECT\" was never defined.
7746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7748 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7749 as_fn_error "conditional \"TLS_DESCRIPTORS\" was never defined.
7750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7752 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7753 as_fn_error "conditional \"IFUNC\" was never defined.
7754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7756 if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then
7757 as_fn_error "conditional \"IFUNC_STATIC\" was never defined.
7758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7760 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7761 as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
7762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7764 if test -z "${HAVE_PUBNAMES_TRUE}" && test -z "${HAVE_PUBNAMES_FALSE}"; then
7765 as_fn_error "conditional \"HAVE_PUBNAMES\" was never defined.
7766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7768 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7769 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
7770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7773 : ${CONFIG_STATUS=./config.status}
7775 ac_clean_files_save=$ac_clean_files
7776 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7778 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7780 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7782 # Generated by $as_me.
7783 # Run this file to recreate the current configuration.
7784 # Compiler output produced by configure, useful for debugging
7785 # configure, is in config.log if it exists.
7791 SHELL=\${CONFIG_SHELL-$SHELL}
7794 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7795 ## -------------------- ##
7796 ## M4sh Initialization. ##
7797 ## -------------------- ##
7799 # Be more Bourne compatible
7800 DUALCASE=1; export DUALCASE # for MKS sh
7801 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7804 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7805 # is contrary to our usage. Disable this feature.
7806 alias -g '${1+"$@"}'='"$@"'
7807 setopt NO_GLOB_SUBST
7809 case `(set -o) 2>/dev/null` in #(
7821 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7822 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7823 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7824 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7825 # Prefer a ksh shell builtin over an external printf program on Solaris,
7826 # but without wasting forks for bash or zsh.
7827 if test -z "$BASH_VERSION$ZSH_VERSION" \
7828 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7829 as_echo='print -r --'
7830 as_echo_n='print -rn --'
7831 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7832 as_echo='printf %s\n'
7833 as_echo_n='printf %s'
7835 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7836 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7837 as_echo_n='/usr/ucb/echo -n'
7839 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7840 as_echo_n_body='eval
7844 expr "X$arg" : "X\\(.*\\)$as_nl";
7845 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7847 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7849 export as_echo_n_body
7850 as_echo_n='sh -c $as_echo_n_body as_echo'
7853 as_echo='sh -c $as_echo_body as_echo'
7856 # The user is always right.
7857 if test "${PATH_SEPARATOR+set}" != set; then
7859 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7860 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7867 # We need space, tab and new line, in precisely that order. Quoting is
7868 # there to prevent editors from complaining about space-tab.
7869 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7870 # splitting by setting IFS to empty value.)
7873 # Find who we are. Look in the path if we contain no directory separator.
7875 *[\\/]* ) as_myself=$0 ;;
7876 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 test -z "$as_dir" && as_dir=.
7881 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7887 # We did not find ourselves, most probably we were run as `sh COMMAND'
7888 # in which case we are not to be found in the path.
7889 if test "x$as_myself" = x; then
7892 if test ! -f "$as_myself"; then
7893 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7897 # Unset variables that we do not need and which cause bugs (e.g. in
7898 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7899 # suppresses any "Segmentation fault" message there. '((' could
7900 # trigger a bug in pdksh 5.2.14.
7901 for as_var in BASH_ENV ENV MAIL MAILPATH
7902 do eval test x\${$as_var+set} = xset \
7903 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7916 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7919 # as_fn_error ERROR [LINENO LOG_FD]
7920 # ---------------------------------
7921 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7922 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7923 # script with status $?, using 1 if that was 0.
7926 as_status=$?; test $as_status -eq 0 && as_status=1
7928 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7929 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7931 $as_echo "$as_me: error: $1" >&2
7932 as_fn_exit $as_status
7936 # as_fn_set_status STATUS
7937 # -----------------------
7938 # Set $? to STATUS, without forking.
7942 } # as_fn_set_status
7946 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7956 # Portably unset VAR.
7959 { eval $1=; unset $1;}
7961 as_unset=as_fn_unset
7962 # as_fn_append VAR VALUE
7963 # ----------------------
7964 # Append the text in VALUE to the end of the definition contained in VAR. Take
7965 # advantage of any shell optimizations that allow amortized linear growth over
7966 # repeated appends, instead of the typical quadratic growth present in naive
7968 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7969 eval 'as_fn_append ()
7980 # as_fn_arith ARG...
7981 # ------------------
7982 # Perform arithmetic evaluation on the ARGs, and store the result in the
7983 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7984 # must be portable across $(()) and expr.
7985 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7986 eval 'as_fn_arith ()
7993 as_val=`expr "$@" || test $? -eq 1`
7998 if expr a : '\(a\)' >/dev/null 2>&1 &&
7999 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8005 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8006 as_basename=basename
8011 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8017 as_me=`$as_basename -- "$0" ||
8018 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8019 X"$0" : 'X\(//\)$' \| \
8020 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8022 sed '/^.*\/\([^/][^/]*\)\/*$/{
8036 # Avoid depending upon Character Ranges.
8037 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8038 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8039 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8040 as_cr_digits='0123456789'
8041 as_cr_alnum=$as_cr_Letters$as_cr_digits
8043 ECHO_C= ECHO_N= ECHO_T=
8044 case `echo -n x` in #(((((
8046 case `echo 'xy\c'` in
8047 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8049 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8056 rm -f conf$$ conf$$.exe conf$$.file
8057 if test -d conf$$.dir; then
8058 rm -f conf$$.dir/conf$$.file
8061 mkdir conf$$.dir 2>/dev/null
8063 if (echo >conf$$.file) 2>/dev/null; then
8064 if ln -s conf$$.file conf$$ 2>/dev/null; then
8066 # ... but there are two gotchas:
8067 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8068 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8069 # In both cases, we have to default to `cp -p'.
8070 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8072 elif ln conf$$.file conf$$ 2>/dev/null; then
8080 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8081 rmdir conf$$.dir 2>/dev/null
8086 # Create "$as_dir" as a directory, including parents if necessary.
8091 -*) as_dir=./$as_dir;;
8093 test -d "$as_dir" || eval $as_mkdir_p || {
8097 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8098 *) as_qdir=$as_dir;;
8100 as_dirs="'$as_qdir' $as_dirs"
8101 as_dir=`$as_dirname -- "$as_dir" ||
8102 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8103 X"$as_dir" : 'X\(//\)[^/]' \| \
8104 X"$as_dir" : 'X\(//\)$' \| \
8105 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8106 $as_echo X"$as_dir" |
8107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8124 test -d "$as_dir" && break
8126 test -z "$as_dirs" || eval "mkdir $as_dirs"
8127 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
8131 if mkdir -p . 2>/dev/null; then
8132 as_mkdir_p='mkdir -p "$as_dir"'
8134 test -d ./-p && rmdir ./-p
8138 if test -x / >/dev/null 2>&1; then
8141 if ls -dL / >/dev/null 2>&1; then
8148 if test -d "$1"; then
8154 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8155 ???[sx]*):;;*)false;;esac;fi
8159 as_executable_p=$as_test_x
8161 # Sed expression to map a string onto a valid CPP name.
8162 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8164 # Sed expression to map a string onto a valid variable name.
8165 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8169 ## ----------------------------------- ##
8170 ## Main body of $CONFIG_STATUS script. ##
8171 ## ----------------------------------- ##
8173 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8176 # Save the log message, to keep $0 and so on meaningful, and to
8177 # report actual input values of CONFIG_FILES etc. instead of their
8178 # values after options handling.
8180 This file was extended by gold $as_me 0.1, which was
8181 generated by GNU Autoconf 2.64. Invocation command line was
8183 CONFIG_FILES = $CONFIG_FILES
8184 CONFIG_HEADERS = $CONFIG_HEADERS
8185 CONFIG_LINKS = $CONFIG_LINKS
8186 CONFIG_COMMANDS = $CONFIG_COMMANDS
8189 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8194 case $ac_config_files in *"
8195 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8198 case $ac_config_headers in *"
8199 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8204 # Files that config.status was made for.
8205 config_files="$ac_config_files"
8206 config_headers="$ac_config_headers"
8207 config_commands="$ac_config_commands"
8211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8213 \`$as_me' instantiates files and other configuration actions
8214 from templates according to the current configuration. Unless the files
8215 and actions are specified as TAGs, all are instantiated by default.
8217 Usage: $0 [OPTION]... [TAG]...
8219 -h, --help print this help, then exit
8220 -V, --version print version number and configuration settings, then exit
8221 -q, --quiet, --silent
8222 do not print progress messages
8223 -d, --debug don't remove temporary files
8224 --recheck update $as_me by reconfiguring in the same conditions
8225 --file=FILE[:TEMPLATE]
8226 instantiate the configuration file FILE
8227 --header=FILE[:TEMPLATE]
8228 instantiate the configuration header FILE
8230 Configuration files:
8233 Configuration headers:
8236 Configuration commands:
8239 Report bugs to the package provider."
8242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8244 gold config.status 0.1
8245 configured by $0, generated by GNU Autoconf 2.64,
8246 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8248 Copyright (C) 2009 Free Software Foundation, Inc.
8249 This config.status script is free software; the Free Software Foundation
8250 gives unlimited permission to copy, distribute and modify it."
8257 test -n "\$AWK" || AWK=awk
8260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8261 # The default lists apply if the user does not specify any file.
8267 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8268 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8279 # Handling of the options.
8280 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8282 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8283 $as_echo "$ac_cs_version"; exit ;;
8284 --debug | --debu | --deb | --de | --d | -d )
8286 --file | --fil | --fi | --f )
8289 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8291 as_fn_append CONFIG_FILES " '$ac_optarg'"
8292 ac_need_defaults=false;;
8293 --header | --heade | --head | --hea )
8296 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8298 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8299 ac_need_defaults=false;;
8301 # Conflict between --help and --header
8302 as_fn_error "ambiguous option: \`$1'
8303 Try \`$0 --help' for more information.";;
8304 --help | --hel | -h )
8305 $as_echo "$ac_cs_usage"; exit ;;
8306 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8307 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8311 -*) as_fn_error "unrecognized option: \`$1'
8312 Try \`$0 --help' for more information." ;;
8314 *) as_fn_append ac_config_targets " $1"
8315 ac_need_defaults=false ;;
8321 ac_configure_extra_args=
8323 if $ac_cs_silent; then
8325 ac_configure_extra_args="$ac_configure_extra_args --silent"
8329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8330 if \$ac_cs_recheck; then
8331 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8333 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8334 CONFIG_SHELL='$SHELL'
8340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8344 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8345 ## Running $as_me. ##
8351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8355 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8356 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8357 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8359 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8360 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8361 LINGUAS="${LINGUAS-%UNSET%}"
8366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8368 # Handling of arguments.
8369 for ac_config_target in $ac_config_targets
8371 case $ac_config_target in
8372 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
8373 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8374 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8375 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8376 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
8377 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8379 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8384 # If the user did not use the arguments to specify the items to instantiate,
8385 # then the envvar interface is used. Set only those that are not.
8386 # We use the long form for the default assignment because of an extremely
8387 # bizarre bug on SunOS 4.1.3.
8388 if $ac_need_defaults; then
8389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8390 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8391 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8394 # Have a temporary directory for convenience. Make it in the build tree
8395 # simply because there is no reason against having it here, and in addition,
8396 # creating and moving files from /tmp can sometimes cause problems.
8397 # Hook for its removal unless debugging.
8398 # Note that there is a small window in which the directory will not be cleaned:
8399 # after its creation but before its name has been assigned to `$tmp'.
8403 trap 'exit_status=$?
8404 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8406 trap 'as_fn_exit 1' 1 2 13 15
8408 # Create a (secure) tmp directory for tmp files.
8411 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8412 test -n "$tmp" && test -d "$tmp"
8415 tmp=./conf$$-$RANDOM
8416 (umask 077 && mkdir "$tmp")
8417 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
8419 # Set up the scripts for CONFIG_FILES section.
8420 # No need to generate them if there are no CONFIG_FILES.
8421 # This happens for instance with `./config.status config.h'.
8422 if test -n "$CONFIG_FILES"; then
8425 ac_cr=`echo X | tr X '\015'`
8426 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8427 # But we know of no other shell where ac_cr would be empty at this
8428 # point, so we can use a bashism as a fallback.
8429 if test "x$ac_cr" = x; then
8430 eval ac_cr=\$\'\\r\'
8432 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8433 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8439 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8444 echo "cat >conf$$subs.awk <<_ACEOF" &&
8445 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8448 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8449 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8451 for ac_last_try in false false false false false :; do
8452 . ./conf$$subs.sh ||
8453 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8455 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8456 if test $ac_delim_n = $ac_delim_num; then
8458 elif $ac_last_try; then
8459 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8461 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8467 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8471 s/^/S["/; s/!.*/"]=/
8481 s/\(.\{148\}\).*/\1/
8483 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8488 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8495 s/\(.\{148\}\).*/\1/
8497 s/["\\]/\\&/g; s/^/"/; s/$/"/
8501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8506 ' <conf$$subs.awk | sed '
8511 ' >>$CONFIG_STATUS || ac_write_fail=1
8512 rm -f conf$$subs.awk
8513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8515 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8516 for (key in S) S_is_set[key] = 1
8522 nfields = split(line, field, "@")
8524 len = length(field[1])
8525 for (i = 2; i < nfields; i++) {
8527 keylen = length(key)
8528 if (S_is_set[key]) {
8530 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8531 len += length(value) + length(field[++i])
8542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8543 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8544 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8547 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8548 || as_fn_error "could not setup config files machinery" "$LINENO" 5
8551 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8552 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8553 # trailing colons and then remove the whole line if VPATH becomes empty
8554 # (actually we leave an empty line to preserve line numbers).
8555 if test "x$srcdir" = x.; then
8556 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8560 s/^\([^=]*=[ ]*\):*/\1/
8566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8567 fi # test -n "$CONFIG_FILES"
8569 # Set up the scripts for CONFIG_HEADERS section.
8570 # No need to generate them if there are no CONFIG_HEADERS.
8571 # This happens for instance with `./config.status Makefile'.
8572 if test -n "$CONFIG_HEADERS"; then
8573 cat >"$tmp/defines.awk" <<\_ACAWK ||
8577 # Transform confdefs.h into an awk script `defines.awk', embedded as
8578 # here-document in config.status, that substitutes the proper values into
8579 # config.h.in to produce config.h.
8581 # Create a delimiter string that does not exist in confdefs.h, to ease
8582 # handling of long lines.
8584 for ac_last_try in false false :; do
8585 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8586 if test -z "$ac_t"; then
8588 elif $ac_last_try; then
8589 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
8591 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8595 # For the awk script, D is an array of macro values keyed by name,
8596 # likewise P contains macro parameters if any. Preserve backslash
8597 # newline sequences.
8599 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8601 s/.\{148\}/&'"$ac_delim"'/g
8604 s/^[ ]*#[ ]*define[ ][ ]*/ /
8611 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8613 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8617 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8618 D["\1"]=" \3\\\\\\n"\\/p
8620 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8625 s/.\{148\}/&'"$ac_delim"'/g
8630 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8633 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8635 ' <confdefs.h | sed '
8636 s/'"$ac_delim"'/"\\\
8637 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8640 for (key in D) D_is_set[key] = 1
8643 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8645 split(line, arg, " ")
8646 if (arg[1] == "#") {
8650 defundef = substr(arg[1], 2)
8653 split(mac1, mac2, "(") #)
8655 prefix = substr(line, 1, index(line, defundef) - 1)
8656 if (D_is_set[macro]) {
8657 # Preserve the white space surrounding the "#".
8658 print prefix "define", macro P[macro] D[macro]
8661 # Replace #undef with comments. This is necessary, for example,
8662 # in the case of _POSIX_SOURCE, which is predefined and required
8663 # on some systems where configure will not decide to define it.
8664 if (defundef == "undef") {
8665 print "/*", prefix defundef, macro, "*/"
8673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8674 as_fn_error "could not setup config headers machinery" "$LINENO" 5
8675 fi # test -n "$CONFIG_HEADERS"
8678 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8683 :[FHLC]) ac_mode=$ac_tag; continue;;
8685 case $ac_mode$ac_tag in
8687 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
8688 :[FH]-) ac_tag=-:-;;
8689 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8706 -) ac_f="$tmp/stdin";;
8707 *) # Look for the file first in the build tree, then in the source tree
8708 # (if the path is not absolute). The absolute path cannot be DOS-style,
8709 # because $ac_f cannot contain `:'.
8713 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8715 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8717 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8718 as_fn_append ac_file_inputs " '$ac_f'"
8721 # Let's still pretend it is `configure' which instantiates (i.e., don't
8722 # use $as_me), people would be surprised to read:
8723 # /* config.h. Generated by config.status. */
8724 configure_input='Generated from '`
8725 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8727 if test x"$ac_file" != x-; then
8728 configure_input="$ac_file. $configure_input"
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8730 $as_echo "$as_me: creating $ac_file" >&6;}
8732 # Neutralize special characters interpreted by sed in replacement strings.
8733 case $configure_input in #(
8734 *\&* | *\|* | *\\* )
8735 ac_sed_conf_input=`$as_echo "$configure_input" |
8736 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8737 *) ac_sed_conf_input=$configure_input;;
8741 *:-:* | *:-) cat >"$tmp/stdin" \
8742 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8747 ac_dir=`$as_dirname -- "$ac_file" ||
8748 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8749 X"$ac_file" : 'X\(//\)[^/]' \| \
8750 X"$ac_file" : 'X\(//\)$' \| \
8751 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8752 $as_echo X"$ac_file" |
8753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8770 as_dir="$ac_dir"; as_fn_mkdir_p
8774 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8776 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8777 # A ".." for each directory in $ac_dir_suffix.
8778 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8779 case $ac_top_builddir_sub in
8780 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8781 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8784 ac_abs_top_builddir=$ac_pwd
8785 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8786 # for backward compatibility:
8787 ac_top_builddir=$ac_top_build_prefix
8790 .) # We are building in place.
8792 ac_top_srcdir=$ac_top_builddir_sub
8793 ac_abs_top_srcdir=$ac_pwd ;;
8794 [\\/]* | ?:[\\/]* ) # Absolute name.
8795 ac_srcdir=$srcdir$ac_dir_suffix;
8796 ac_top_srcdir=$srcdir
8797 ac_abs_top_srcdir=$srcdir ;;
8799 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8800 ac_top_srcdir=$ac_top_build_prefix$srcdir
8801 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8803 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8813 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8814 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8818 [\\/$]* | ?:[\\/]* ) ;;
8819 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8824 # If the template does not know about datarootdir, expand it.
8825 # FIXME: This hack should be removed a few years after 2.60.
8826 ac_datarootdir_hack=; ac_datarootdir_seen=
8837 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8838 *datarootdir*) ac_datarootdir_seen=yes;;
8839 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8841 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8844 ac_datarootdir_hack='
8845 s&@datadir@&$datadir&g
8846 s&@docdir@&$docdir&g
8847 s&@infodir@&$infodir&g
8848 s&@localedir@&$localedir&g
8849 s&@mandir@&$mandir&g
8850 s&\\\${datarootdir}&$datarootdir&g' ;;
8854 # Neutralize VPATH when `$srcdir' = `.'.
8855 # Shell code in configure.ac might set extrasub.
8856 # FIXME: do we really want to maintain this feature?
8857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8858 ac_sed_extra="$ac_vpsub
8861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8863 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8864 s|@configure_input@|$ac_sed_conf_input|;t t
8865 s&@top_builddir@&$ac_top_builddir_sub&;t t
8866 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8867 s&@srcdir@&$ac_srcdir&;t t
8868 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8869 s&@top_srcdir@&$ac_top_srcdir&;t t
8870 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8871 s&@builddir@&$ac_builddir&;t t
8872 s&@abs_builddir@&$ac_abs_builddir&;t t
8873 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8874 s&@INSTALL@&$ac_INSTALL&;t t
8875 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8876 $ac_datarootdir_hack
8878 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8879 || as_fn_error "could not create $ac_file" "$LINENO" 5
8881 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8882 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8883 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8885 which seems to be undefined. Please make sure it is defined." >&5
8886 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8887 which seems to be undefined. Please make sure it is defined." >&2;}
8891 -) cat "$tmp/out" && rm -f "$tmp/out";;
8892 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8894 || as_fn_error "could not create $ac_file" "$LINENO" 5
8900 if test x"$ac_file" != x-; then
8902 $as_echo "/* $configure_input */" \
8903 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8904 } >"$tmp/config.h" \
8905 || as_fn_error "could not create $ac_file" "$LINENO" 5
8906 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8908 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8911 mv "$tmp/config.h" "$ac_file" \
8912 || as_fn_error "could not create $ac_file" "$LINENO" 5
8915 $as_echo "/* $configure_input */" \
8916 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8917 || as_fn_error "could not create -" "$LINENO" 5
8919 # Compute "$ac_file"'s index in $config_headers.
8922 for _am_header in $config_headers :; do
8924 $_am_arg | $_am_arg:* )
8927 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8930 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8931 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8932 X"$_am_arg" : 'X\(//\)[^/]' \| \
8933 X"$_am_arg" : 'X\(//\)$' \| \
8934 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8935 $as_echo X"$_am_arg" |
8936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8952 s/.*/./; q'`/stamp-h$_am_stamp_count
8955 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8956 $as_echo "$as_me: executing $ac_file commands" >&6;}
8961 case $ac_file$ac_mode in
8962 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8963 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8964 # are listed without --file. Let's play safe and only enable the eval
8965 # if we detect the quoting.
8966 case $CONFIG_FILES in
8967 *\'*) eval set x "$CONFIG_FILES" ;;
8968 *) set x $CONFIG_FILES ;;
8973 # Strip MF so we end up with the name of the file.
8974 mf=`echo "$mf" | sed -e 's/:.*$//'`
8975 # Check whether this is an Automake generated Makefile or not.
8976 # We used to match only the files named `Makefile.in', but
8977 # some people rename them; so instead we look at the file content.
8978 # Grep'ing the first line is not enough: some people post-process
8979 # each Makefile.in and add a new line on top of each file to say so.
8980 # Grep'ing the whole file is not good either: AIX grep has a line
8981 # limit of 2048, but all sed's we know have understand at least 4000.
8982 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8983 dirpart=`$as_dirname -- "$mf" ||
8984 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8985 X"$mf" : 'X\(//\)[^/]' \| \
8986 X"$mf" : 'X\(//\)$' \| \
8987 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9009 # Extract the definition of DEPDIR, am__include, and am__quote
9010 # from the Makefile without running `make'.
9011 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9012 test -z "$DEPDIR" && continue
9013 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9014 test -z "am__include" && continue
9015 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9016 # When using ansi2knr, U may be empty or an underscore; expand it
9017 U=`sed -n 's/^U = //p' < "$mf"`
9018 # Find all dependency output files, they are included files with
9019 # $(DEPDIR) in their names. We invoke sed twice because it is the
9020 # simplest approach to changing $(DEPDIR) to its actual value in the
9022 for file in `sed -n "
9023 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9024 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9025 # Make sure the directory exists.
9026 test -f "$dirpart/$file" && continue
9027 fdir=`$as_dirname -- "$file" ||
9028 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9029 X"$file" : 'X\(//\)[^/]' \| \
9030 X"$file" : 'X\(//\)$' \| \
9031 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9050 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9051 # echo "creating $dirpart/$file"
9052 echo '# dummy' > "$dirpart/$file"
9058 for ac_file in $CONFIG_FILES; do
9059 # Support "outfile[:infile[:infile...]]"
9061 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9063 # PO directories have a Makefile.in generated from Makefile.in.in.
9064 case "$ac_file" in */Makefile.in)
9065 # Adjust a relative srcdir.
9066 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9067 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
9068 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9069 # In autoconf-2.13 it is called $ac_given_srcdir.
9070 # In autoconf-2.50 it is called $srcdir.
9071 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9072 case "$ac_given_srcdir" in
9073 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9074 /*) top_srcdir="$ac_given_srcdir" ;;
9075 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
9077 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9078 rm -f "$ac_dir/POTFILES"
9079 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9080 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9081 POMAKEFILEDEPS="POTFILES.in"
9082 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9083 # on $ac_dir but don't depend on user-specified configuration
9085 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9086 # The LINGUAS file contains the set of available languages.
9087 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9088 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9090 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9091 # Hide the ALL_LINGUAS assigment from automake.
9092 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9093 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
9095 # The set of available languages was given in configure.in.
9096 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9098 case "$ac_given_srcdir" in
9100 *) srcdirpre='$(srcdir)/' ;;
9106 for lang in $ALL_LINGUAS; do
9107 POFILES="$POFILES $srcdirpre$lang.po"
9108 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9109 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9110 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9112 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9113 # environment variable.
9115 if test -n "$ALL_LINGUAS"; then
9116 for presentlang in $ALL_LINGUAS; do
9118 if test "%UNSET%" != "$LINGUAS"; then
9119 desiredlanguages="$LINGUAS"
9121 desiredlanguages="$ALL_LINGUAS"
9123 for desiredlang in $desiredlanguages; do
9124 # Use the presentlang catalog if desiredlang is
9125 # a. equal to presentlang, or
9126 # b. a variant of presentlang (because in this case,
9127 # presentlang can be used as a fallback for messages
9128 # which are not translated in the desiredlang catalog).
9129 case "$desiredlang" in
9130 "$presentlang"*) useit=yes;;
9133 if test $useit = yes; then
9134 INST_LINGUAS="$INST_LINGUAS $presentlang"
9139 if test -n "$INST_LINGUAS"; then
9140 for lang in $INST_LINGUAS; do
9141 CATALOGS="$CATALOGS $lang.gmo"
9144 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9145 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"
9146 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9147 if test -f "$f"; then
9149 *.orig | *.bak | *~) ;;
9150 *) cat "$f" >> "$ac_dir/Makefile" ;;
9165 ac_clean_files=$ac_clean_files_save
9167 test $ac_write_fail = 0 ||
9168 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
9171 # configure is writing to config.log, and then calls config.status.
9172 # config.status does its own redirection, appending to config.log.
9173 # Unfortunately, on DOS this fails, as config.log is still kept open
9174 # by configure, so config.status won't be able to write to it; its
9175 # output is simply discarded. So we exec the FD to /dev/null,
9176 # effectively closing config.log, so it can be properly (re)opened and
9177 # appended to by config.status. When coming back to configure, we
9178 # need to make the FD available again.
9179 if test "$no_create" != yes; then
9181 ac_config_status_args=
9182 test "$silent" = yes &&
9183 ac_config_status_args="$ac_config_status_args --quiet"
9185 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9187 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9188 # would make configure fail if this is the last instruction.
9189 $ac_cs_success || as_fn_exit $?
9191 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9193 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}