2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for gold 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
548 PACKAGE_TARNAME
='gold'
549 PACKAGE_VERSION
='0.1'
550 PACKAGE_STRING
='gold 0.1'
554 ac_unique_file
="gold.cc"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='am__EXEEXT_FALSE
595 MAINTAINER_MODE_FALSE
606 CONSTRUCTOR_PRIORITY_FALSE
607 CONSTRUCTOR_PRIORITY_TRUE
608 TLS_DESCRIPTORS_FALSE
610 TLS_GNU2_DIALECT_FALSE
611 TLS_GNU2_DIALECT_TRUE
620 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
621 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
683 INSTALL_STRIP_PROGRAM
737 program_transform_name
750 enable_option_checking
755 enable_dependency_tracking
758 enable_build_warnings
759 enable_maintainer_mode
761 ac_precious_vars
='build_alias
778 # Initialize some variables set by options.
780 ac_init_version
=false
781 ac_unrecognized_opts
=
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
792 program_transform_name
=s
,x
,x
,
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir
='${exec_prefix}/bin'
807 sbindir
='${exec_prefix}/sbin'
808 libexecdir
='${exec_prefix}/libexec'
809 datarootdir
='${prefix}/share'
810 datadir
='${datarootdir}'
811 sysconfdir
='${prefix}/etc'
812 sharedstatedir
='${prefix}/com'
813 localstatedir
='${prefix}/var'
814 includedir
='${prefix}/include'
815 oldincludedir
='/usr/include'
816 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir
='${datarootdir}/info'
822 libdir
='${exec_prefix}/lib'
823 localedir
='${datarootdir}/locale'
824 mandir
='${datarootdir}/man'
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\
$ac_option
838 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=no
;;
896 -docdir |
--docdir |
--docdi |
--doc |
--do)
898 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
901 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
903 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
906 -enable-* |
--enable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=no
;;
1143 # Obsolete; use --with-x.
1146 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1147 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1148 ac_prev
=x_includes
;;
1149 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1150 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1151 x_includes
=$ac_optarg ;;
1153 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1154 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1155 ac_prev
=x_libraries
;;
1156 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1157 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1158 x_libraries
=$ac_optarg ;;
1160 -*) as_fn_error
"unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information."
1165 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1169 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\
$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1185 if test -n "$ac_prev"; then
1186 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error
"missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val
=\$
$ac_var
1205 # Remove trailing slashes.
1208 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\
$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$
]* | ?
:[\\/]* ) continue;;
1214 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1216 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target
=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x
; then
1228 if test "x$build_alias" = x
; then
1229 cross_compiling
=maybe
1230 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1231 If a cross compiler is detected then cross compile mode will be used." >&2
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1240 test "$silent" = yes && exec 6>/dev
/null
1243 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di
=`ls -di .` &&
1245 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error
"working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error
"pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted
=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir
=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted
=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1287 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var
in $ac_precious_vars; do
1304 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1306 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1380 --build=BUILD configure
for building on BUILD
[guessed
]
1381 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1382 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1386 if test -n "$ac_init_help"; then
1387 case $ac_init_help in
1388 short | recursive
) echo "Configuration of gold 0.1:";;
1393 --disable-option-checking ignore unrecognized
--enable/--with options
1394 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1395 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1396 --enable-threads multi-threaded linking
1397 --enable-plugins linker plugins
1398 --enable-targets alternative target configurations
1399 --disable-dependency-tracking speeds up one-time build
1400 --enable-dependency-tracking do not reject slow dependency extractors
1401 --disable-nls do not use Native Language Support
1402 --enable-werror treat compile warnings as errors
1403 --enable-build-warnings enable build-time compiler warnings
1404 --enable-maintainer-mode enable make rules and dependencies not useful
1405 (and sometimes confusing
) to the casual installer
1408 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1409 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1410 --with-sysroot=DIR search
for usr
/lib et al within DIR
1412 Some influential environment variables
:
1413 CC C compiler
command
1414 CFLAGS C compiler flags
1415 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1416 nonstandard directory
<lib dir
>
1417 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1418 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1419 you have headers
in a nonstandard directory
<include dir
>
1420 CXX C
++ compiler
command
1421 CXXFLAGS C
++ compiler flags
1422 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1423 the first program found out of: `bison
-y', `byacc', `yacc'.
1424 YFLAGS The list of arguments that will be passed by default to $YACC.
1425 This script will default YFLAGS to the empty string to avoid a
1426 default value of `-d' given by some make applications.
1428 CXXCPP C++ preprocessor
1430 Use these variables to override the choices made by `configure' or to
help
1431 it to
find libraries and programs with nonstandard names
/locations.
1433 Report bugs to the package provider.
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1441 test -d "$ac_dir" ||
1442 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1447 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1449 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1450 # A ".." for each directory in $ac_dir_suffix.
1451 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1452 case $ac_top_builddir_sub in
1453 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1454 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1457 ac_abs_top_builddir
=$ac_pwd
1458 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1459 # for backward compatibility:
1460 ac_top_builddir
=$ac_top_build_prefix
1463 .
) # We are building in place.
1465 ac_top_srcdir
=$ac_top_builddir_sub
1466 ac_abs_top_srcdir
=$ac_pwd ;;
1467 [\\/]* | ?
:[\\/]* ) # Absolute name.
1468 ac_srcdir
=$srcdir$ac_dir_suffix;
1469 ac_top_srcdir
=$srcdir
1470 ac_abs_top_srcdir
=$srcdir ;;
1472 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1474 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1476 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1478 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1479 # Check for guested configure.
1480 if test -f "$ac_srcdir/configure.gnu"; then
1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483 elif test -f "$ac_srcdir/configure"; then
1485 $SHELL "$ac_srcdir/configure" --help=recursive
1487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1493 test -n "$ac_init_help" && exit $ac_status
1494 if $ac_init_version; then
1497 generated by GNU Autoconf
2.64
1499 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1500 This configure
script is free software
; the Free Software Foundation
1501 gives unlimited permission to copy
, distribute and modify it.
1506 ## ------------------------ ##
1507 ## Autoconf initialization. ##
1508 ## ------------------------ ##
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile
()
1515 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1516 rm -f conftest.
$ac_objext
1517 if { { ac_try
="$ac_compile"
1519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1526 if test -s conftest.err; then
1527 grep -v '^ *+' conftest.err >conftest.er1
1528 cat conftest.er1 >&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.$ac_objext; then :
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1543 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1546 } # ac_fn_c_try_compile
1548 # ac_fn_cxx_try_compile LINENO
1549 # ----------------------------
1550 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1551 ac_fn_cxx_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_cxx_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_cxx_try_compile
1586 # ac_fn_c_try_cpp LINENO
1587 # ----------------------
1588 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1591 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1592 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1601 if test -s conftest.err; then
1602 grep -v '^ *+' conftest.err >conftest.er1
1603 cat conftest.er1 >&5
1604 mv -f conftest.er1 conftest.err
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; } >/dev/null && {
1608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1609 test ! -s conftest.err
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1618 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1623 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1624 # -------------------------------------------------------
1625 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1626 # the include files in INCLUDES and setting the cache variable VAR
1628 ac_fn_c_check_header_mongrel ()
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1633 $as_echo_n "checking for $2... " >&6; }
1634 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1635 $as_echo_n "(cached) " >&6
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1641 # Is the header compilable?
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1643 $as_echo_n "checking $2 usability... " >&6; }
1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645 /* end confdefs.h. */
1649 if ac_fn_c_try_compile "$LINENO"; then :
1650 ac_header_compiler=yes
1652 ac_header_compiler=no
1654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1656 $as_echo "$ac_header_compiler" >&6; }
1658 # Is the header present?
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1660 $as_echo_n "checking $2 presence... " >&6; }
1661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662 /* end confdefs.h. */
1665 if ac_fn_c_try_cpp "$LINENO"; then :
1666 ac_header_preproc=yes
1668 ac_header_preproc=no
1670 rm -f conftest.err conftest.$ac_ext
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1672 $as_echo "$ac_header_preproc" >&6; }
1674 # So? What about this header?
1675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1678 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1680 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1684 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1686 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1688 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1690 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1692 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1698 $as_echo_n "(cached) " >&6
1700 eval "$3=\$ac_header_compiler"
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704 $as_echo "$ac_res" >&6; }
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708 } # ac_fn_c_check_header_mongrel
1710 # ac_fn_c_try_run LINENO
1711 # ----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1713 # that executables *can* be run.
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 if { { ac_try="$ac_link"
1719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1720 *) ac_try_echo
=$ac_try;;
1722 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_link") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1728 { { case "(($ac_try" in
1729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_try") 2>&5
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; }; }; then :
1740 $as_echo "$as_me: program exited with status $ac_status" >&5
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1744 ac_retval=$ac_status
1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists and can be compiled using the include files in
1755 # INCLUDES, setting the cache variable VAR accordingly.
1756 ac_fn_c_check_header_compile ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1762 $as_echo_n "(cached) " >&6
1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1769 if ac_fn_c_try_compile "$LINENO"; then :
1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 } # ac_fn_c_check_header_compile
1783 # ac_fn_c_try_link LINENO
1784 # -----------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 rm -f conftest.$ac_objext conftest$ac_exeext
1790 if { { ac_try="$ac_link"
1792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1793 *) ac_try_echo
=$ac_try;;
1795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_link") 2>conftest.err
1799 if test -s conftest.err
; then
1800 grep -v '^ *+' conftest.err
>conftest.er1
1801 cat conftest.er1
>&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest
$ac_exeext && {
1809 test "$cross_compiling" = yes ||
1810 $as_test_x conftest
$ac_exeext
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.
$ac_ext >&5
1819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821 # interfere with the next link command; also delete a directory that is
1822 # left behind by Apple's compiler. We do this before executing the actions.
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1827 } # ac_fn_c_try_link
1829 # ac_fn_c_check_func LINENO FUNC VAR
1830 # ----------------------------------
1831 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1832 ac_fn_c_check_func
()
1834 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1838 $as_echo_n "(cached) " >&6
1840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1844 #define $2 innocuous_$2
1846 /* System header to define __stub macros and hopefully few prototypes,
1847 which can conflict with char $2 (); below.
1848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1849 <limits.h> exists even on freestanding compilers. */
1852 # include <limits.h>
1854 # include <assert.h>
1859 /* Override any GCC internal prototype to avoid an error.
1860 Use char because int might match the return type of a GCC
1861 builtin and then its argument prototype would still apply. */
1866 /* The GNU C library defines this for functions which it implements
1867 to always fail with ENOSYS. Some functions are actually named
1868 something starting with __ and the normal name is an alias. */
1869 #if defined __stub_$2 || defined __stub___$2
1881 if ac_fn_c_try_link
"$LINENO"; then :
1886 rm -f core conftest.err conftest.
$ac_objext \
1887 conftest
$ac_exeext conftest.
$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1894 } # ac_fn_c_check_func
1896 # ac_fn_c_check_decl LINENO SYMBOL VAR
1897 # ------------------------------------
1898 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1899 ac_fn_c_check_decl
()
1901 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1903 $as_echo_n "checking whether $2 is declared... " >&6; }
1904 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1905 $as_echo_n "(cached) " >&6
1907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1921 if ac_fn_c_try_compile
"$LINENO"; then :
1926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930 $as_echo "$ac_res" >&6; }
1931 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1933 } # ac_fn_c_check_decl
1935 # ac_fn_cxx_try_cpp LINENO
1936 # ------------------------
1937 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1938 ac_fn_cxx_try_cpp
()
1940 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1941 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1944 *) ac_try_echo=$ac_try;;
1946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1950 if test -s conftest.err; then
1951 grep -v '^ *+' conftest.err >conftest.er1
1952 cat conftest.er1 >&5
1953 mv -f conftest.er1 conftest.err
1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 test $ac_status = 0; } >/dev/null && {
1957 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1958 test ! -s conftest.err
1962 $as_echo "$as_me: failed program was:" >&5
1963 sed 's/^/| /' conftest.$ac_ext >&5
1967 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1970 } # ac_fn_cxx_try_cpp
1972 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1973 # ---------------------------------------------------------
1974 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1975 # the include files in INCLUDES and setting the cache variable VAR
1977 ac_fn_cxx_check_header_mongrel ()
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1984 $as_echo_n "(cached) " >&6
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1990 # Is the header compilable?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1992 $as_echo_n "checking $2 usability... " >&6; }
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1998 if ac_fn_cxx_try_compile "$LINENO"; then :
1999 ac_header_compiler=yes
2001 ac_header_compiler=no
2003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2005 $as_echo "$ac_header_compiler" >&6; }
2007 # Is the header present?
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2009 $as_echo_n "checking $2 presence... " >&6; }
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2014 if ac_fn_cxx_try_cpp "$LINENO"; then :
2015 ac_header_preproc=yes
2017 ac_header_preproc=no
2019 rm -f conftest.err conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2021 $as_echo "$ac_header_preproc" >&6; }
2023 # So? What about this header?
2024 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2027 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2029 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2033 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2035 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2037 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2039 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045 $as_echo_n "checking for $2... " >&6; }
2046 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2047 $as_echo_n "(cached) " >&6
2049 eval "$3=\$ac_header_compiler"
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2057 } # ac_fn_cxx_check_header_mongrel
2059 # ac_fn_cxx_try_link LINENO
2060 # -------------------------
2061 # Try to link conftest.$ac_ext, and return whether this succeeded.
2062 ac_fn_cxx_try_link ()
2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065 rm -f conftest.$ac_objext conftest$ac_exeext
2066 if { { ac_try="$ac_link"
2068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2069 *) ac_try_echo
=$ac_try;;
2071 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2072 $as_echo "$ac_try_echo"; } >&5
2073 (eval "$ac_link") 2>conftest.err
2075 if test -s conftest.err
; then
2076 grep -v '^ *+' conftest.err
>conftest.er1
2077 cat conftest.er1
>&5
2078 mv -f conftest.er1 conftest.err
2080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2081 test $ac_status = 0; } && {
2082 test -z "$ac_cxx_werror_flag" ||
2083 test ! -s conftest.err
2084 } && test -s conftest
$ac_exeext && {
2085 test "$cross_compiling" = yes ||
2086 $as_test_x conftest
$ac_exeext
2090 $as_echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.
$ac_ext >&5
2095 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2096 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2097 # interfere with the next link command; also delete a directory that is
2098 # left behind by Apple's compiler. We do this before executing the actions.
2099 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2100 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2103 } # ac_fn_cxx_try_link
2105 # ac_fn_cxx_check_func LINENO FUNC VAR
2106 # ------------------------------------
2107 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2108 ac_fn_cxx_check_func
()
2110 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2114 $as_echo_n "(cached) " >&6
2116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2117 /* end confdefs.h. */
2118 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2120 #define $2 innocuous_$2
2122 /* System header to define __stub macros and hopefully few prototypes,
2123 which can conflict with char $2 (); below.
2124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2125 <limits.h> exists even on freestanding compilers. */
2128 # include <limits.h>
2130 # include <assert.h>
2135 /* Override any GCC internal prototype to avoid an error.
2136 Use char because int might match the return type of a GCC
2137 builtin and then its argument prototype would still apply. */
2142 /* The GNU C library defines this for functions which it implements
2143 to always fail with ENOSYS. Some functions are actually named
2144 something starting with __ and the normal name is an alias. */
2145 #if defined __stub_$2 || defined __stub___$2
2157 if ac_fn_cxx_try_link
"$LINENO"; then :
2162 rm -f core conftest.err conftest.
$ac_objext \
2163 conftest
$ac_exeext conftest.
$ac_ext
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2167 $as_echo "$ac_res" >&6; }
2168 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2170 } # ac_fn_cxx_check_func
2172 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2173 # --------------------------------------
2174 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2175 ac_fn_cxx_check_decl
()
2177 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2179 $as_echo_n "checking whether $2 is declared... " >&6; }
2180 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2181 $as_echo_n "(cached) " >&6
2183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2197 if ac_fn_cxx_try_compile
"$LINENO"; then :
2202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2206 $as_echo "$ac_res" >&6; }
2207 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2209 } # ac_fn_cxx_check_decl
2210 cat >config.log
<<_ACEOF
2211 This file contains any messages produced by compilers while
2212 running configure, to aid debugging if configure makes a mistake.
2214 It was created by gold $as_me 0.1, which was
2215 generated by GNU Autoconf 2.64. Invocation command line was
2227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2239 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2250 test -z "$as_dir" && as_dir
=.
2251 $as_echo "PATH: $as_dir"
2267 # Keep a trace of the command line.
2268 # Strip out --no-create and --no-recursion so they do not pile up.
2269 # Strip out --silent because we don't want to record it for future runs.
2270 # Also quote any args containing shell meta-characters.
2271 # Make two passes to allow for proper duplicate-argument suppression.
2275 ac_must_keep_next
=false
2281 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2282 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2283 |
-silent |
--silent |
--silen |
--sile |
--sil)
2286 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2289 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2291 as_fn_append ac_configure_args1
" '$ac_arg'"
2292 if test $ac_must_keep_next = true
; then
2293 ac_must_keep_next
=false
# Got value, back to normal.
2296 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2297 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2298 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2299 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2300 case "$ac_configure_args0 " in
2301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2304 -* ) ac_must_keep_next
=true
;;
2307 as_fn_append ac_configure_args
" '$ac_arg'"
2312 { ac_configure_args0
=; unset ac_configure_args0
;}
2313 { ac_configure_args1
=; unset ac_configure_args1
;}
2315 # When interrupted or exit'd, cleanup temporary files, and complete
2316 # config.log. We remove comments because anyway the quotes in there
2317 # would cause problems or look ugly.
2318 # WARNING: Use '\'' to represent an apostrophe within the trap.
2319 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2320 trap 'exit_status=$?
2321 # Save into config.log some information that might help in debugging.
2326 ## ---------------- ##
2327 ## Cache variables. ##
2328 ## ---------------- ##
2331 # The following way of writing the cache mishandles newlines in values,
2333 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2334 eval ac_val=\$$ac_var
2338 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2339 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2342 _ | IFS | as_nl) ;; #(
2343 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2344 *) { eval $ac_var=; unset $ac_var;} ;;
2349 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2350 *${as_nl}ac_space=\ *)
2352 "s/'\''/'\''\\\\'\'''\''/g;
2353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2364 ## ----------------- ##
2365 ## Output variables. ##
2366 ## ----------------- ##
2369 for ac_var in $ac_subst_vars
2371 eval ac_val=\$$ac_var
2373 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2375 $as_echo "$ac_var='\''$ac_val'\''"
2379 if test -n "$ac_subst_files"; then
2381 ## ------------------- ##
2382 ## File substitutions. ##
2383 ## ------------------- ##
2386 for ac_var
in $ac_subst_files
2388 eval ac_val
=\$
$ac_var
2390 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2392 $as_echo "$ac_var='\''$ac_val'\''"
2397 if test -s confdefs.h; then
2407 test "$ac_signal" != 0 &&
2408 $as_echo "$as_me: caught signal $ac_signal"
2409 $as_echo "$as_me: exit $exit_status"
2411 rm -f core *.core core.conftest.* &&
2412 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2415 for ac_signal
in 1 2 13 15; do
2416 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2420 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2421 rm -f -r conftest
* confdefs.h
2423 $as_echo "/* confdefs.h */" > confdefs.h
2425 # Predefined preprocessor variables.
2427 cat >>confdefs.h
<<_ACEOF
2428 #define PACKAGE_NAME "$PACKAGE_NAME"
2431 cat >>confdefs.h
<<_ACEOF
2432 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2435 cat >>confdefs.h
<<_ACEOF
2436 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2439 cat >>confdefs.h
<<_ACEOF
2440 #define PACKAGE_STRING "$PACKAGE_STRING"
2443 cat >>confdefs.h
<<_ACEOF
2444 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2447 cat >>confdefs.h
<<_ACEOF
2448 #define PACKAGE_URL "$PACKAGE_URL"
2452 # Let the site file select an alternate cache file if it wants to.
2453 # Prefer an explicitly selected file to automatically selected ones.
2456 if test -n "$CONFIG_SITE"; then
2457 ac_site_file1
=$CONFIG_SITE
2458 elif test "x$prefix" != xNONE
; then
2459 ac_site_file1
=$prefix/share
/config.site
2460 ac_site_file2
=$prefix/etc
/config.site
2462 ac_site_file1
=$ac_default_prefix/share
/config.site
2463 ac_site_file2
=$ac_default_prefix/etc
/config.site
2465 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2467 test "x$ac_site_file" = xNONE
&& continue
2468 if test -r "$ac_site_file"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2470 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2471 sed 's/^/| /' "$ac_site_file" >&5
2476 if test -r "$cache_file"; then
2477 # Some versions of bash will fail to source /dev/null (special
2478 # files actually), so we avoid doing that.
2479 if test -f "$cache_file"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2481 $as_echo "$as_me: loading cache $cache_file" >&6;}
2483 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2484 *) .
"./$cache_file";;
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2489 $as_echo "$as_me: creating cache $cache_file" >&6;}
2493 # Check that the precious variables saved in the cache have kept the same
2495 ac_cache_corrupted
=false
2496 for ac_var
in $ac_precious_vars; do
2497 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2498 eval ac_new_set
=\
$ac_env_${ac_var}_set
2499 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2500 eval ac_new_val
=\
$ac_env_${ac_var}_value
2501 case $ac_old_set,$ac_new_set in
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2504 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2505 ac_cache_corrupted
=: ;;
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2508 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2509 ac_cache_corrupted
=: ;;
2512 if test "x$ac_old_val" != "x$ac_new_val"; then
2513 # differences in whitespace do not lead to failure.
2514 ac_old_val_w
=`echo x $ac_old_val`
2515 ac_new_val_w
=`echo x $ac_new_val`
2516 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2518 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2519 ac_cache_corrupted
=:
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2522 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2523 eval $ac_var=\
$ac_old_val
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2526 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2528 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2531 # Pass precious variables to config.status.
2532 if test "$ac_new_set" = set; then
2534 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2535 *) ac_arg
=$ac_var=$ac_new_val ;;
2537 case " $ac_configure_args " in
2538 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2539 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2543 if $ac_cache_corrupted; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2547 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2548 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2550 ## -------------------- ##
2551 ## Main body of script. ##
2552 ## -------------------- ##
2555 ac_cpp
='$CPP $CPPFLAGS'
2556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2567 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2568 for ac_t
in install-sh
install.sh shtool
; do
2569 if test -f "$ac_dir/$ac_t"; then
2571 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2576 if test -z "$ac_aux_dir"; then
2577 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2580 # These three variables are undocumented and unsupported,
2581 # and are intended to be withdrawn in a future Autoconf release.
2582 # They can cause serious problems if a builder's source tree is in a directory
2583 # whose full name contains unusual characters.
2584 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2585 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2586 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2589 # Make sure we can run config.sub.
2590 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2591 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2594 $as_echo_n "checking build system type... " >&6; }
2595 if test "${ac_cv_build+set}" = set; then :
2596 $as_echo_n "(cached) " >&6
2598 ac_build_alias
=$build_alias
2599 test "x$ac_build_alias" = x
&&
2600 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2601 test "x$ac_build_alias" = x
&&
2602 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2603 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2604 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2608 $as_echo "$ac_cv_build" >&6; }
2609 case $ac_cv_build in
2611 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2614 ac_save_IFS
=$IFS; IFS
='-'
2620 # Remember, the first character of IFS is used to create $*,
2621 # except with old shells:
2624 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2628 $as_echo_n "checking host system type... " >&6; }
2629 if test "${ac_cv_host+set}" = set; then :
2630 $as_echo_n "(cached) " >&6
2632 if test "x$host_alias" = x
; then
2633 ac_cv_host
=$ac_cv_build
2635 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2636 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2641 $as_echo "$ac_cv_host" >&6; }
2644 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2647 ac_save_IFS
=$IFS; IFS
='-'
2653 # Remember, the first character of IFS is used to create $*,
2654 # except with old shells:
2657 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2661 $as_echo_n "checking target system type... " >&6; }
2662 if test "${ac_cv_target+set}" = set; then :
2663 $as_echo_n "(cached) " >&6
2665 if test "x$target_alias" = x
; then
2666 ac_cv_target
=$ac_cv_host
2668 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2669 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2674 $as_echo "$ac_cv_target" >&6; }
2675 case $ac_cv_target in
2677 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2679 target
=$ac_cv_target
2680 ac_save_IFS
=$IFS; IFS
='-'
2686 # Remember, the first character of IFS is used to create $*,
2687 # except with old shells:
2690 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2693 # The aliases save the names the user supplied, while $host etc.
2694 # will get canonicalized.
2695 test -n "$target_alias" &&
2696 test "$program_prefix$program_suffix$program_transform_name" = \
2698 program_prefix
=${target_alias}-
2700 am__api_version
='1.11'
2702 # Find a good install program. We prefer a C program (faster),
2703 # so one script is as good as another. But avoid the broken or
2704 # incompatible versions:
2705 # SysV /etc/install, /usr/sbin/install
2706 # SunOS /usr/etc/install
2707 # IRIX /sbin/install
2709 # AmigaOS /C/install, which installs bootblocks on floppy discs
2710 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2711 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2712 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2713 # OS/2's system install, which has a completely different semantic
2714 # ./install, which can be erroneously created by make from ./install.sh.
2715 # Reject install programs that cannot install multiple files.
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2717 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2718 if test -z "$INSTALL"; then
2719 if test "${ac_cv_path_install+set}" = set; then :
2720 $as_echo_n "(cached) " >&6
2722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir
=.
2727 # Account for people who put trailing slashes in PATH elements.
2728 case $as_dir/ in #((
2729 .
/ | .
// |
/[cC
]/* | \
2730 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2731 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2734 # OSF1 and SCO ODT 3.0 have their own names for install.
2735 # Don't use installbsd from OSF since it installs stuff as root
2737 for ac_prog
in ginstall scoinst
install; do
2738 for ac_exec_ext
in '' $ac_executable_extensions; do
2739 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2740 if test $ac_prog = install &&
2741 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2742 # AIX install. It has an incompatible calling convention.
2744 elif test $ac_prog = install &&
2745 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2746 # program-specific install script used by HP pwplus--don't use.
2749 rm -rf conftest.one conftest.two conftest.dir
2750 echo one
> conftest.one
2751 echo two
> conftest.two
2753 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2754 test -s conftest.one
&& test -s conftest.two
&&
2755 test -s conftest.dir
/conftest.one
&&
2756 test -s conftest.dir
/conftest.two
2758 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2771 rm -rf conftest.one conftest.two conftest.dir
2774 if test "${ac_cv_path_install+set}" = set; then
2775 INSTALL
=$ac_cv_path_install
2777 # As a last resort, use the slow shell script. Don't cache a
2778 # value for INSTALL within a source directory, because that will
2779 # break other packages using the cache if that directory is
2780 # removed, or if the value is a relative name.
2781 INSTALL
=$ac_install_sh
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2785 $as_echo "$INSTALL" >&6; }
2787 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2788 # It thinks the first close brace ends the variable substitution.
2789 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2791 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2793 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2796 $as_echo_n "checking whether build environment is sane... " >&6; }
2799 echo timestamp
> conftest.
file
2800 # Reject unsafe characters in $srcdir or the absolute working directory
2801 # name. Accept space and tab only in the latter.
2805 *[\\\"\
#\$\&\'\`$am_lf]*)
2806 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2809 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2810 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2813 # Do `set' in a subshell so we don't clobber the current shell's
2814 # arguments. Must try -L first in case configure is actually a
2815 # symlink; some systems play weird games with the mod time of symlinks
2816 # (eg FreeBSD returns the mod time of the symlink's containing
2819 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2820 if test "$*" = "X"; then
2822 set X
`ls -t "$srcdir/configure" conftest.file`
2825 if test "$*" != "X $srcdir/configure conftest.file" \
2826 && test "$*" != "X conftest.file $srcdir/configure"; then
2828 # If neither matched, then we have a broken ls. This can happen
2829 # if, for instance, CONFIG_SHELL is bash and it inherits a
2830 # broken ls alias from the environment. This has actually
2831 # happened. Such a system could not be considered "sane".
2832 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2833 alias in your environment" "$LINENO" 5
2836 test "$2" = conftest.
file
2842 as_fn_error
"newly created file is older than distributed files!
2843 Check your system clock" "$LINENO" 5
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2846 $as_echo "yes" >&6; }
2847 test "$program_prefix" != NONE
&&
2848 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2849 # Use a double $ so make ignores it.
2850 test "$program_suffix" != NONE
&&
2851 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2852 # Double any \ or $.
2853 # By default was `s,x,x', remove it if useless.
2854 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2855 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2857 # expand $ac_aux_dir to an absolute path
2858 am_aux_dir
=`cd $ac_aux_dir && pwd`
2860 if test x
"${MISSING+set}" != xset
; then
2863 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2865 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2868 # Use eval to expand $SHELL
2869 if eval "$MISSING --run true"; then
2870 am_missing_run
="$MISSING --run "
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2874 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2877 if test x
"${install_sh}" != xset
; then
2880 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2882 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2886 # Installed binaries are usually stripped using `strip' when the user
2887 # run `make install-strip'. However `strip' might not be the right
2888 # tool to use in cross-compilation environments, therefore Automake
2889 # will honor the `STRIP' environment variable to overrule this program.
2890 if test "$cross_compiling" != no
; then
2891 if test -n "$ac_tool_prefix"; then
2892 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2893 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if test "${ac_cv_prog_STRIP+set}" = set; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$STRIP"; then
2900 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir
=.
2907 for ac_exec_ext
in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 STRIP
=$ac_cv_prog_STRIP
2920 if test -n "$STRIP"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2922 $as_echo "$STRIP" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2930 if test -z "$ac_cv_prog_STRIP"; then
2932 # Extract the first word of "strip", so it can be a program name with args.
2933 set dummy strip
; ac_word
=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$ac_ct_STRIP"; then
2940 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir
=.
2947 for ac_exec_ext
in '' $ac_executable_extensions; do
2948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949 ac_cv_prog_ac_ct_STRIP
="strip"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2960 if test -n "$ac_ct_STRIP"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2962 $as_echo "$ac_ct_STRIP" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2968 if test "x$ac_ct_STRIP" = x
; then
2971 case $cross_compiling:$ac_tool_warned in
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2975 ac_tool_warned
=yes ;;
2980 STRIP
="$ac_cv_prog_STRIP"
2984 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2987 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2988 if test -z "$MKDIR_P"; then
2989 if test "${ac_cv_path_mkdir+set}" = set; then :
2990 $as_echo_n "(cached) " >&6
2992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2993 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2996 test -z "$as_dir" && as_dir
=.
2997 for ac_prog
in mkdir gmkdir
; do
2998 for ac_exec_ext
in '' $ac_executable_extensions; do
2999 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3000 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3001 'mkdir (GNU coreutils) '* | \
3002 'mkdir (coreutils) '* | \
3003 'mkdir (fileutils) '4.1*)
3004 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3014 if test "${ac_cv_path_mkdir+set}" = set; then
3015 MKDIR_P
="$ac_cv_path_mkdir -p"
3017 # As a last resort, use the slow shell script. Don't cache a
3018 # value for MKDIR_P within a source directory, because that will
3019 # break other packages using the cache if that directory is
3020 # removed, or if the value is a relative name.
3021 test -d .
/--version && rmdir .
/--version
3022 MKDIR_P
="$ac_install_sh -d"
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3026 $as_echo "$MKDIR_P" >&6; }
3030 [\\/$
]* | ?
:[\\/]*) ;;
3031 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3034 for ac_prog
in gawk mawk nawk
awk
3036 # Extract the first word of "$ac_prog", so it can be a program name with args.
3037 set dummy
$ac_prog; ac_word
=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if test "${ac_cv_prog_AWK+set}" = set; then :
3041 $as_echo_n "(cached) " >&6
3043 if test -n "$AWK"; then
3044 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir
=.
3051 for ac_exec_ext
in '' $ac_executable_extensions; do
3052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3053 ac_cv_prog_AWK
="$ac_prog"
3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064 if test -n "$AWK"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3066 $as_echo "$AWK" >&6; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069 $as_echo "no" >&6; }
3073 test -n "$AWK" && break
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3077 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3079 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3080 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3081 $as_echo_n "(cached) " >&6
3083 cat >conftest.
make <<\_ACEOF
3086 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3088 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3089 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3091 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3093 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3097 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3099 $as_echo "yes" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3104 SET_MAKE
="MAKE=${MAKE-make}"
3107 rm -rf .tst
2>/dev
/null
3108 mkdir .tst
2>/dev
/null
3109 if test -d .tst
; then
3114 rmdir .tst
2>/dev
/null
3116 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3117 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3118 # is not polluted with repeated "-I."
3119 am__isrc
=' -I$(srcdir)'
3120 # test to see if srcdir already configured
3121 if test -f $srcdir/config.status
; then
3122 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3126 # test whether we have cygpath
3127 if test -z "$CYGPATH_W"; then
3128 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3129 CYGPATH_W
='cygpath -w'
3136 # Define the identity of the package.
3141 cat >>confdefs.h
<<_ACEOF
3142 #define PACKAGE "$PACKAGE"
3146 cat >>confdefs.h
<<_ACEOF
3147 #define VERSION "$VERSION"
3150 # Some tools Automake needs.
3152 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3155 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3158 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3161 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3164 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3166 # We need awk for the "check" target. The system "awk" is bad on
3168 # Always define AMTAR for backward compatibility.
3170 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3172 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3179 ac_config_headers
="$ac_config_headers config.h:config.in"
3183 # Check whether --with-sysroot was given.
3184 if test "${with_sysroot+set}" = set; then :
3185 withval
=$with_sysroot; sysroot
=$withval
3191 if test "$sysroot" = "yes"; then
3192 sysroot
='${exec_prefix}/${target_alias}/sys-root'
3193 elif test "$sysroot" = "no"; then
3197 sysroot_relocatable
=0
3198 if test -n "$sysroot"; then
3200 "${prefix}" |
"${prefix}/"* | \
3201 "${exec_prefix}" |
"${exec_prefix}/"* | \
3202 '${prefix}' |
'${prefix}/'*| \
3203 '${exec_prefix}' |
'${exec_prefix}/'*)
3204 sysroot_relocatable
=1
3210 cat >>confdefs.h
<<_ACEOF
3211 #define TARGET_SYSTEM_ROOT "$sysroot"
3215 cat >>confdefs.h
<<_ACEOF
3216 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3220 # Check whether --enable-threads was given.
3221 if test "${enable_threads+set}" = set; then :
3222 enableval
=$enable_threads; case "${enableval}" in
3223 yes |
"") threads
=yes ;;
3231 if test "$threads" = "yes"; then
3233 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3236 if test "$threads" = "yes"; then
3245 # Check whether --enable-plugins was given.
3246 if test "${enable_plugins+set}" = set; then :
3247 enableval
=$enable_plugins; case "${enableval}" in
3248 yes |
"") plugins
=yes ;;
3256 if test "$plugins" = "yes"; then
3258 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3261 if test "$plugins" = "yes"; then
3270 # Check whether --enable-targets was given.
3271 if test "${enable_targets+set}" = set; then :
3272 enableval
=$enable_targets; case "${enableval}" in
3274 as_fn_error
"--enable-targets option must specify target names or 'all'" "$LINENO" 5
3280 enable_targets
=$enableval
3284 # For now, enable all targets by default
3290 # Canonicalize the enabled targets.
3291 if test -n "$enable_targets"; then
3292 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
3293 result
=`$ac_config_sub $targ 2>/dev/null`
3294 if test -n "$result"; then
3295 canon_targets
="$canon_targets $result"
3297 # Permit unrecognized target names, like "all".
3298 canon_targets
="$canon_targets $targ"
3303 # See which specific instantiations we need.
3309 default_osabi
=ELFOSABI_NONE
3314 for targ
in $target $canon_targets; do
3315 if test "$targ" = "all"; then
3322 .
${srcdir}/configure.tgt
3324 if test "$targ_obj" = "UNKNOWN"; then
3325 as_fn_error
"\"unsupported target $targ\"" "$LINENO" 5
3327 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
3328 if test "$targ_extra_obj" != ""; then
3329 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3331 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3332 if test "$targ_big_endian" = "true" \
3333 -o "$targ_extra_big_endian" = "true"; then
3336 if test "$targ_big_endian" = "false" \
3337 -o "$targ_extra_big_endian" = "false"; then
3341 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3342 if test "$targ_big_endian" = "true" \
3343 -o "$targ_extra_big_endian" = "true"; then
3346 if test "$targ_big_endian" = "false" \
3347 -o "$targ_extra_big_endian" = "false"; then
3352 if test "$target" = "$targ"; then
3353 default_machine
=$targ_machine
3354 default_size
=$targ_size
3355 default_big_endian
=$targ_big_endian
3356 default_osabi
=$targ_osabi
3362 if test -n "$targ_32_little"; then
3364 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3367 if test -n "$targ_32_big"; then
3369 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3372 if test -n "$targ_64_little"; then
3374 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3377 if test -n "$targ_64_big"; then
3379 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3383 if test -n "$all_targets"; then
3384 TARGETOBJS
='$(ALL_TARGETOBJS)'
3386 TARGETOBJS
="$targetobjs"
3391 cat >>confdefs.h
<<_ACEOF
3392 #define GOLD_DEFAULT_MACHINE $default_machine
3396 cat >>confdefs.h
<<_ACEOF
3397 #define GOLD_DEFAULT_SIZE $default_size
3401 cat >>confdefs.h
<<_ACEOF
3402 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3406 cat >>confdefs.h
<<_ACEOF
3407 #define GOLD_DEFAULT_OSABI $default_osabi
3412 ac_cpp
='$CPP $CPPFLAGS'
3413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3416 if test -n "$ac_tool_prefix"; then
3417 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3418 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_CC+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3424 if test -n "$CC"; then
3425 ac_cv_prog_CC
="$CC" # Let the user override the test.
3427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3431 test -z "$as_dir" && as_dir
=.
3432 for ac_exec_ext
in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3445 if test -n "$CC"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3447 $as_echo "$CC" >&6; }
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3455 if test -z "$ac_cv_prog_CC"; then
3457 # Extract the first word of "gcc", so it can be a program name with args.
3458 set dummy gcc
; ac_word
=$2
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3460 $as_echo_n "checking for $ac_word... " >&6; }
3461 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3462 $as_echo_n "(cached) " >&6
3464 if test -n "$ac_ct_CC"; then
3465 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3471 test -z "$as_dir" && as_dir
=.
3472 for ac_exec_ext
in '' $ac_executable_extensions; do
3473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3474 ac_cv_prog_ac_ct_CC
="gcc"
3475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3484 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3485 if test -n "$ac_ct_CC"; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3487 $as_echo "$ac_ct_CC" >&6; }
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3490 $as_echo "no" >&6; }
3493 if test "x$ac_ct_CC" = x
; then
3496 case $cross_compiling:$ac_tool_warned in
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3500 ac_tool_warned
=yes ;;
3508 if test -z "$CC"; then
3509 if test -n "$ac_tool_prefix"; then
3510 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3511 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3513 $as_echo_n "checking for $ac_word... " >&6; }
3514 if test "${ac_cv_prog_CC+set}" = set; then :
3515 $as_echo_n "(cached) " >&6
3517 if test -n "$CC"; then
3518 ac_cv_prog_CC
="$CC" # Let the user override the test.
3520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3524 test -z "$as_dir" && as_dir
=.
3525 for ac_exec_ext
in '' $ac_executable_extensions; do
3526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3527 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 if test -n "$CC"; then
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3540 $as_echo "$CC" >&6; }
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3549 if test -z "$CC"; then
3550 # Extract the first word of "cc", so it can be a program name with args.
3551 set dummy cc
; ac_word
=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if test "${ac_cv_prog_CC+set}" = set; then :
3555 $as_echo_n "(cached) " >&6
3557 if test -n "$CC"; then
3558 ac_cv_prog_CC
="$CC" # Let the user override the test.
3561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir
=.
3566 for ac_exec_ext
in '' $ac_executable_extensions; do
3567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3568 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3569 ac_prog_rejected
=yes
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 if test $ac_prog_rejected = yes; then
3581 # We found a bogon in the path, so make sure we never use it.
3582 set dummy
$ac_cv_prog_CC
3584 if test $# != 0; then
3585 # We chose a different compiler from the bogus one.
3586 # However, it has the same basename, so the bogon will be chosen
3587 # first if we set CC to just the basename; use the full file name.
3589 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3595 if test -n "$CC"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3597 $as_echo "$CC" >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3605 if test -z "$CC"; then
3606 if test -n "$ac_tool_prefix"; then
3607 for ac_prog
in cl.exe
3609 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3610 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_CC+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC
="$CC" # Let the user override the test.
3619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3623 test -z "$as_dir" && as_dir
=.
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 if test -n "$CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3639 $as_echo "$CC" >&6; }
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3646 test -n "$CC" && break
3649 if test -z "$CC"; then
3651 for ac_prog
in cl.exe
3653 # Extract the first word of "$ac_prog", so it can be a program name with args.
3654 set dummy
$ac_prog; ac_word
=$2
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3656 $as_echo_n "checking for $ac_word... " >&6; }
3657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3658 $as_echo_n "(cached) " >&6
3660 if test -n "$ac_ct_CC"; then
3661 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir
=.
3668 for ac_exec_ext
in '' $ac_executable_extensions; do
3669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3670 ac_cv_prog_ac_ct_CC
="$ac_prog"
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3681 if test -n "$ac_ct_CC"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3683 $as_echo "$ac_ct_CC" >&6; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3690 test -n "$ac_ct_CC" && break
3693 if test "x$ac_ct_CC" = x
; then
3696 case $cross_compiling:$ac_tool_warned in
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3700 ac_tool_warned
=yes ;;
3709 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error
"no acceptable C compiler found in \$PATH
3712 See \`config.log' for more details." "$LINENO" 5; }
3714 # Provide some information about the compiler.
3715 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3718 for ac_option
in --version -v -V -qversion; do
3719 { { ac_try
="$ac_compiler $ac_option >&5"
3721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3722 *) ac_try_echo=$ac_try;;
3724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3725 $as_echo "$ac_try_echo"; } >&5
3726 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3728 if test -s conftest.err; then
3730 ... rest of stderr output deleted ...
3731 10q' conftest.err >conftest.er1
3732 cat conftest.er1 >&5
3733 rm -f conftest.er1 conftest.err
3735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3736 test $ac_status = 0; }
3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3750 ac_clean_files_save=$ac_clean_files
3751 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3752 # Try to create an executable without -o first, disregard a.out.
3753 # It will help us diagnose broken compilers, and finding out an intuition
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3756 $as_echo_n "checking for C compiler default output file name... " >&6; }
3757 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3759 # The possible output files:
3760 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3763 for ac_file in $ac_files
3766 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3767 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3772 if { { ac_try="$ac_link_default"
3774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3775 *) ac_try_echo
=$ac_try;;
3777 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3778 $as_echo "$ac_try_echo"; } >&5
3779 (eval "$ac_link_default") 2>&5
3781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3782 test $ac_status = 0; }; then :
3783 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3784 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3785 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3786 # so that the user can short-circuit this test for compilers unknown to
3788 for ac_file
in $ac_files ''
3790 test -f "$ac_file" ||
continue
3792 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3795 # We found the default executable, but exeext='' is most
3799 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3801 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3803 # We set ac_cv_exeext here because the later test for it is not
3804 # safe: cross compilers may not add the suffix if given an `-o'
3805 # argument, so we may need to know it at that point already.
3806 # Even if this section looks crufty: it has the advantage of
3813 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3819 $as_echo "$ac_file" >&6; }
3820 if test -z "$ac_file"; then :
3821 $as_echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.
$ac_ext >&5
3824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3826 { as_fn_set_status
77
3827 as_fn_error
"C compiler cannot create executables
3828 See \`config.log' for more details." "$LINENO" 5; }; }
3830 ac_exeext
=$ac_cv_exeext
3832 # Check that the compiler produces executables we can run. If not, either
3833 # the compiler is broken, or we cross compile.
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3835 $as_echo_n "checking whether the C compiler works... " >&6; }
3836 # If not cross compiling, check that we can run a simple program.
3837 if test "$cross_compiling" != yes; then
3838 if { ac_try
='./$ac_file'
3839 { { case "(($ac_try" in
3840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845 (eval "$ac_try") 2>&5
3847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3848 test $ac_status = 0; }; }; then
3851 if test "$cross_compiling" = maybe; then
3854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3856 as_fn_error "cannot run C compiled programs.
3857 If you meant to cross compile
, use \
`--host'.
3858 See \`config.log
' for more details." "$LINENO" 5; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3863 $as_echo "yes" >&6; }
3865 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3866 ac_clean_files=$ac_clean_files_save
3867 # Check that the compiler produces executables we can run. If not, either
3868 # the compiler is broken, or we cross compile.
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3870 $as_echo_n "checking whether we are cross compiling... " >&6; }
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3872 $as_echo "$cross_compiling" >&6; }
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3875 $as_echo_n "checking for suffix of executables... " >&6; }
3876 if { { ac_try="$ac_link"
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3882 $as_echo "$ac_try_echo"; } >&5
3883 (eval "$ac_link") 2>&5
3885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3886 test $ac_status = 0; }; then :
3887 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3888 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3889 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3891 for ac_file
in conftest.exe conftest conftest.
*; do
3892 test -f "$ac_file" ||
continue
3894 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3895 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3904 See \`config.log' for more details." "$LINENO" 5; }
3906 rm -f conftest
$ac_cv_exeext
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3908 $as_echo "$ac_cv_exeext" >&6; }
3910 rm -f conftest.
$ac_ext
3911 EXEEXT
=$ac_cv_exeext
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3914 $as_echo_n "checking for suffix of object files... " >&6; }
3915 if test "${ac_cv_objext+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3929 rm -f conftest.o conftest.obj
3930 if { { ac_try
="$ac_compile"
3932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_compile") 2>&5
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }; then :
3941 for ac_file in conftest.o conftest.obj conftest.*; do
3942 test -f "$ac_file" || continue;
3944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3945 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3950 $as_echo "$as_me: failed program was:" >&5
3951 sed 's/^/| /' conftest.$ac_ext >&5
3953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955 as_fn_error "cannot compute suffix of object files
: cannot compile
3956 See \
`config.log' for more details." "$LINENO" 5; }
3958 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3961 $as_echo "$ac_cv_objext" >&6; }
3962 OBJEXT=$ac_cv_objext
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3965 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3966 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3967 $as_echo_n "(cached) " >&6
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3983 if ac_fn_c_try_compile "$LINENO"; then :
3988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3989 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3993 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3994 if test $ac_compiler_gnu = yes; then
3999 ac_test_CFLAGS=${CFLAGS+set}
4000 ac_save_CFLAGS=$CFLAGS
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4002 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4003 if test "${ac_cv_prog_cc_g+set}" = set; then :
4004 $as_echo_n "(cached) " >&6
4006 ac_save_c_werror_flag=$ac_c_werror_flag
4007 ac_c_werror_flag=yes
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4021 if ac_fn_c_try_compile "$LINENO"; then :
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4036 if ac_fn_c_try_compile "$LINENO"; then :
4039 ac_c_werror_flag=$ac_save_c_werror_flag
4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4052 if ac_fn_c_try_compile "$LINENO"; then :
4055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 ac_c_werror_flag=$ac_save_c_werror_flag
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4063 $as_echo "$ac_cv_prog_cc_g" >&6; }
4064 if test "$ac_test_CFLAGS" = set; then
4065 CFLAGS=$ac_save_CFLAGS
4066 elif test $ac_cv_prog_cc_g = yes; then
4067 if test "$GCC" = yes; then
4073 if test "$GCC" = yes; then
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4080 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4081 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4082 $as_echo_n "(cached) " >&6
4084 ac_cv_prog_cc_c89=no
4086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h. */
4090 #include <sys/types.h>
4091 #include <sys/stat.h>
4092 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4093 struct buf { int x; };
4094 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4095 static char *e (p, i)
4101 static char *f (char * (*g) (char **, int), char **p, ...)
4106 s = g (p, va_arg (v,int));
4111 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4112 function prototypes and stuff, but not '\xHH' hex character constants.
4113 These don't provoke an error unfortunately, instead are silently treated
4114 as 'x'. The following induces an error, until -std is added to get
4115 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4116 array size at least. It's necessary to write '\x00'==0 to get something
4117 that's true only with -std. */
4118 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4120 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4121 inside strings and character constants. */
4123 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4125 int test (int i, double x);
4126 struct s1 {int (*f) (int a);};
4127 struct s2 {int (*f) (double a);};
4128 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4134 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4139 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4140 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4142 CC="$ac_save_CC $ac_arg"
4143 if ac_fn_c_try_compile "$LINENO"; then :
4144 ac_cv_prog_cc_c89=$ac_arg
4146 rm -f core conftest.err conftest.$ac_objext
4147 test "x$ac_cv_prog_cc_c89" != "xno" && break
4149 rm -f conftest.$ac_ext
4154 case "x$ac_cv_prog_cc_c89" in
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4157 $as_echo "none needed" >&6; } ;;
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4160 $as_echo "unsupported" >&6; } ;;
4162 CC="$CC $ac_cv_prog_cc_c89"
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4164 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4166 if test "x$ac_cv_prog_cc_c89" != xno; then :
4171 ac_cpp='$CPP $CPPFLAGS'
4172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4175 DEPDIR="${am__leading_dot}deps"
4177 ac_config_commands="$ac_config_commands depfiles"
4180 am_make=${MAKE-make}
4181 cat > confinc << 'END'
4183 @echo this is the am__doit target
4186 # If we don't find an include directive, just comment out the code.
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4188 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4192 # First try GNU make style include.
4193 echo "include confinc" > confmf
4194 # Ignore all kinds of additional output from `make'.
4195 case `$am_make -s -f confmf 2> /dev/null` in #(
4196 *the\ am__doit\ target*)
4202 # Now try BSD make style include.
4203 if test "$am__include" = "#"; then
4204 echo '.include
"confinc"' > confmf
4205 case `$am_make -s -f confmf 2> /dev/null` in #(
4206 *the\ am__doit\ target*)
4207 am__include=.include
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4216 $as_echo "$_am_result" >&6; }
4217 rm -f confinc confmf
4219 # Check whether --enable-dependency-tracking was given.
4220 if test "${enable_dependency_tracking+set}" = set; then :
4221 enableval=$enable_dependency_tracking;
4224 if test "x$enable_dependency_tracking" != xno; then
4225 am_depcomp="$ac_aux_dir/depcomp"
4228 if test "x$enable_dependency_tracking" != xno
; then
4238 depcc
="$CC" am_compiler_list
=
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4241 $as_echo_n "checking dependency style of $depcc... " >&6; }
4242 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4243 $as_echo_n "(cached) " >&6
4245 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4246 # We make a subdir and do the tests there. Otherwise we can end up
4247 # making bogus files that we don't know about and never remove. For
4248 # instance it was reported that on HP-UX the gcc test will end up
4249 # making a dummy file named `D' -- because `-MD' means `put the output
4252 # Copy depcomp to subdir because otherwise we won't find it if we're
4253 # using a relative directory.
4254 cp "$am_depcomp" conftest.dir
4256 # We will build objects and dependencies in a subdirectory because
4257 # it helps to detect inapplicable dependency modes. For instance
4258 # both Tru64's cc and ICC support -MD to output dependencies as a
4259 # side effect of compilation, but ICC will put the dependencies in
4260 # the current directory while Tru64 will put them in the object
4264 am_cv_CC_dependencies_compiler_type
=none
4265 if test "$am_compiler_list" = ""; then
4266 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4269 case " $depcc " in #(
4270 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4273 for depmode
in $am_compiler_list; do
4274 # Setup a source with many dependencies, because some compilers
4275 # like to wrap large dependency lists on column 80 (with \), and
4276 # we should not choose a depcomp mode which is confused by this.
4278 # We need to recreate these files for each test, as the compiler may
4279 # overwrite some of them when testing with obscure command lines.
4280 # This happens at least with the AIX C compiler.
4282 for i
in 1 2 3 4 5 6; do
4283 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4284 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4285 # Solaris 8's {/usr,}/bin/sh.
4286 touch sub
/conftst
$i.h
4288 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4290 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4291 # mode. It turns out that the SunPro C++ compiler does not properly
4292 # handle `-M -o', and we need to detect this. Also, some Intel
4293 # versions had trouble with output in subdirs
4294 am__obj
=sub
/conftest.
${OBJEXT-o}
4295 am__minus_obj
="-o $am__obj"
4298 # This depmode causes a compiler race in universal mode.
4299 test "$am__universal" = false ||
continue
4302 # after this tag, mechanisms are not by side-effect, so they'll
4303 # only be used when explicitly requested
4304 if test "x$enable_dependency_tracking" = xyes
; then
4310 msvisualcpp | msvcmsys
)
4311 # This compiler won't grok `-c -o', but also, the minuso test has
4312 # not run yet. These depmodes are late enough in the game, and
4313 # so weak that their functioning should not be impacted.
4314 am__obj
=conftest.
${OBJEXT-o}
4319 if depmode
=$depmode \
4320 source=sub
/conftest.c object
=$am__obj \
4321 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4322 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4323 >/dev
/null
2>conftest.err
&&
4324 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4325 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4326 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4327 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4328 # icc doesn't choke on unknown options, it will just issue warnings
4329 # or remarks (even with -Werror). So we grep stderr for any message
4330 # that says an option was ignored or not supported.
4331 # When given -MP, icc 7.0 and 7.1 complain thusly:
4332 # icc: Command line warning: ignoring option '-M'; no argument required
4333 # The diagnosis changed in icc 8.0:
4334 # icc: Command line remark: option '-MP' not supported
4335 if (grep 'ignoring option' conftest.err ||
4336 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4337 am_cv_CC_dependencies_compiler_type
=$depmode
4346 am_cv_CC_dependencies_compiler_type
=none
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4351 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4352 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4355 test "x$enable_dependency_tracking" != xno \
4356 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4358 am__fastdepCC_FALSE
='#'
4360 am__fastdepCC_TRUE
='#'
4361 am__fastdepCC_FALSE
=
4366 ac_cpp
='$CXXCPP $CPPFLAGS'
4367 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4370 if test -z "$CXX"; then
4371 if test -n "$CCC"; then
4374 if test -n "$ac_tool_prefix"; then
4375 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4378 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if test "${ac_cv_prog_CXX+set}" = set; then :
4382 $as_echo_n "(cached) " >&6
4384 if test -n "$CXX"; then
4385 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir
=.
4392 for ac_exec_ext
in '' $ac_executable_extensions; do
4393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4394 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 if test -n "$CXX"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4407 $as_echo "$CXX" >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4414 test -n "$CXX" && break
4417 if test -z "$CXX"; then
4419 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4421 # Extract the first word of "$ac_prog", so it can be a program name with args.
4422 set dummy
$ac_prog; ac_word
=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4426 $as_echo_n "(cached) " >&6
4428 if test -n "$ac_ct_CXX"; then
4429 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4435 test -z "$as_dir" && as_dir
=.
4436 for ac_exec_ext
in '' $ac_executable_extensions; do
4437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4449 if test -n "$ac_ct_CXX"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4451 $as_echo "$ac_ct_CXX" >&6; }
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4458 test -n "$ac_ct_CXX" && break
4461 if test "x$ac_ct_CXX" = x
; then
4464 case $cross_compiling:$ac_tool_warned in
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned
=yes ;;
4476 # Provide some information about the compiler.
4477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4480 for ac_option
in --version -v -V -qversion; do
4481 { { ac_try
="$ac_compiler $ac_option >&5"
4483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4487 $as_echo "$ac_try_echo"; } >&5
4488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4490 if test -s conftest.err; then
4492 ... rest of stderr output deleted ...
4493 10q' conftest.err >conftest.er1
4494 cat conftest.er1 >&5
4495 rm -f conftest.er1 conftest.err
4497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4498 test $ac_status = 0; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4502 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4503 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4520 if ac_fn_cxx_try_compile "$LINENO"; then :
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4530 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4531 if test $ac_compiler_gnu = yes; then
4536 ac_test_CXXFLAGS=${CXXFLAGS+set}
4537 ac_save_CXXFLAGS=$CXXFLAGS
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4539 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4540 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4543 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4544 ac_cxx_werror_flag=yes
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4558 if ac_fn_cxx_try_compile "$LINENO"; then :
4559 ac_cv_prog_cxx_g=yes
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4573 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4589 if ac_fn_cxx_try_compile "$LINENO"; then :
4590 ac_cv_prog_cxx_g=yes
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4600 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4601 if test "$ac_test_CXXFLAGS" = set; then
4602 CXXFLAGS=$ac_save_CXXFLAGS
4603 elif test $ac_cv_prog_cxx_g = yes; then
4604 if test "$GXX" = yes; then
4610 if test "$GXX" = yes; then
4617 ac_cpp='$CPP $CPPFLAGS'
4618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4622 depcc="$CXX" am_compiler_list=
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4625 $as_echo_n "checking dependency style of $depcc... " >&6; }
4626 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4629 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4630 # We make a subdir and do the tests there. Otherwise we can end up
4631 # making bogus files that we don't know about and never remove. For
4632 # instance it was reported that on HP-UX the gcc test will end up
4633 # making a dummy file named `D
' -- because `-MD' means
`put the output
4636 # Copy depcomp to subdir because otherwise we won't find it if we're
4637 # using a relative directory.
4638 cp "$am_depcomp" conftest.dir
4640 # We will build objects and dependencies in a subdirectory because
4641 # it helps to detect inapplicable dependency modes. For instance
4642 # both Tru64's cc and ICC support -MD to output dependencies as a
4643 # side effect of compilation, but ICC will put the dependencies in
4644 # the current directory while Tru64 will put them in the object
4648 am_cv_CXX_dependencies_compiler_type=none
4649 if test "$am_compiler_list" = ""; then
4650 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4653 case " $depcc " in #(
4654 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4657 for depmode in $am_compiler_list; do
4658 # Setup a source with many dependencies, because some compilers
4659 # like to wrap large dependency lists on column 80 (with \), and
4660 # we should not choose a depcomp mode which is confused by this.
4662 # We need to recreate these files for each test, as the compiler may
4663 # overwrite some of them when testing with obscure command lines.
4664 # This happens at least with the AIX C compiler.
4666 for i in 1 2 3 4 5 6; do
4667 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4668 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4669 # Solaris 8's
{/usr
,}/bin
/sh.
4670 touch sub
/conftst
$i.h
4672 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4674 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4675 # mode. It turns out that the SunPro C++ compiler does not properly
4676 # handle `-M -o', and we need to detect this. Also, some Intel
4677 # versions had trouble with output in subdirs
4678 am__obj
=sub
/conftest.
${OBJEXT-o}
4679 am__minus_obj
="-o $am__obj"
4682 # This depmode causes a compiler race in universal mode.
4683 test "$am__universal" = false ||
continue
4686 # after this tag, mechanisms are not by side-effect, so they'll
4687 # only be used when explicitly requested
4688 if test "x$enable_dependency_tracking" = xyes
; then
4694 msvisualcpp | msvcmsys
)
4695 # This compiler won't grok `-c -o', but also, the minuso test has
4696 # not run yet. These depmodes are late enough in the game, and
4697 # so weak that their functioning should not be impacted.
4698 am__obj
=conftest.
${OBJEXT-o}
4703 if depmode
=$depmode \
4704 source=sub
/conftest.c object
=$am__obj \
4705 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4706 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4707 >/dev
/null
2>conftest.err
&&
4708 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4709 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4710 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4711 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4712 # icc doesn't choke on unknown options, it will just issue warnings
4713 # or remarks (even with -Werror). So we grep stderr for any message
4714 # that says an option was ignored or not supported.
4715 # When given -MP, icc 7.0 and 7.1 complain thusly:
4716 # icc: Command line warning: ignoring option '-M'; no argument required
4717 # The diagnosis changed in icc 8.0:
4718 # icc: Command line remark: option '-MP' not supported
4719 if (grep 'ignoring option' conftest.err ||
4720 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4721 am_cv_CXX_dependencies_compiler_type
=$depmode
4730 am_cv_CXX_dependencies_compiler_type
=none
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4735 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4736 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4739 test "x$enable_dependency_tracking" != xno \
4740 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4741 am__fastdepCXX_TRUE
=
4742 am__fastdepCXX_FALSE
='#'
4744 am__fastdepCXX_TRUE
='#'
4745 am__fastdepCXX_FALSE
=
4749 for ac_prog
in 'bison -y' byacc
4751 # Extract the first word of "$ac_prog", so it can be a program name with args.
4752 set dummy
$ac_prog; ac_word
=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if test "${ac_cv_prog_YACC+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4758 if test -n "$YACC"; then
4759 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir
=.
4766 for ac_exec_ext
in '' $ac_executable_extensions; do
4767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4768 ac_cv_prog_YACC
="$ac_prog"
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 YACC
=$ac_cv_prog_YACC
4779 if test -n "$YACC"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4781 $as_echo "$YACC" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4788 test -n "$YACC" && break
4790 test -n "$YACC" || YACC
="yacc"
4792 if test -n "$ac_tool_prefix"; then
4793 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4794 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$RANLIB"; then
4801 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4807 test -z "$as_dir" && as_dir
=.
4808 for ac_exec_ext
in '' $ac_executable_extensions; do
4809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4810 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 RANLIB
=$ac_cv_prog_RANLIB
4821 if test -n "$RANLIB"; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4823 $as_echo "$RANLIB" >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4831 if test -z "$ac_cv_prog_RANLIB"; then
4832 ac_ct_RANLIB
=$RANLIB
4833 # Extract the first word of "ranlib", so it can be a program name with args.
4834 set dummy ranlib
; ac_word
=$2
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4836 $as_echo_n "checking for $ac_word... " >&6; }
4837 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4838 $as_echo_n "(cached) " >&6
4840 if test -n "$ac_ct_RANLIB"; then
4841 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_exec_ext
in '' $ac_executable_extensions; do
4849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4850 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4861 if test -n "$ac_ct_RANLIB"; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4863 $as_echo "$ac_ct_RANLIB" >&6; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866 $as_echo "no" >&6; }
4869 if test "x$ac_ct_RANLIB" = x
; then
4872 case $cross_compiling:$ac_tool_warned in
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4876 ac_tool_warned
=yes ;;
4878 RANLIB
=$ac_ct_RANLIB
4881 RANLIB
="$ac_cv_prog_RANLIB"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4886 $as_echo_n "checking whether ln -s works... " >&6; }
4888 if test "$LN_S" = "ln -s"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4890 $as_echo "yes" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4893 $as_echo "no, using $LN_S" >&6; }
4899 ac_cpp
='$CPP $CPPFLAGS'
4900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4904 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4905 # On Suns, sometimes $CPP names a directory.
4906 if test -n "$CPP" && test -d "$CPP"; then
4909 if test -z "$CPP"; then
4910 if test "${ac_cv_prog_CPP+set}" = set; then :
4911 $as_echo_n "(cached) " >&6
4913 # Double quotes because CPP needs to be expanded
4914 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4917 for ac_c_preproc_warn_flag
in '' yes
4919 # Use a header file that comes with gcc, so configuring glibc
4920 # with a fresh cross-compiler works.
4921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4922 # <limits.h> exists even on freestanding compilers.
4923 # On the NeXT, cc -E runs the code through the compiler's parser,
4924 # not just through cpp. "Syntax error" is here to catch this case.
4925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4928 # include <limits.h>
4930 # include <assert.h>
4934 if ac_fn_c_try_cpp
"$LINENO"; then :
4937 # Broken: fails on valid input.
4940 rm -f conftest.err conftest.
$ac_ext
4942 # OK, works on sane cases. Now check whether nonexistent headers
4943 # can be detected and how.
4944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4946 #include <ac_nonexistent.h>
4948 if ac_fn_c_try_cpp
"$LINENO"; then :
4949 # Broken: success on invalid input.
4952 # Passes both tests.
4956 rm -f conftest.err conftest.
$ac_ext
4959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960 rm -f conftest.err conftest.
$ac_ext
4961 if $ac_preproc_ok; then :
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4974 $as_echo "$CPP" >&6; }
4976 for ac_c_preproc_warn_flag
in '' yes
4978 # Use a header file that comes with gcc, so configuring glibc
4979 # with a fresh cross-compiler works.
4980 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4981 # <limits.h> exists even on freestanding compilers.
4982 # On the NeXT, cc -E runs the code through the compiler's parser,
4983 # not just through cpp. "Syntax error" is here to catch this case.
4984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4985 /* end confdefs.h. */
4987 # include <limits.h>
4989 # include <assert.h>
4993 if ac_fn_c_try_cpp
"$LINENO"; then :
4996 # Broken: fails on valid input.
4999 rm -f conftest.err conftest.
$ac_ext
5001 # OK, works on sane cases. Now check whether nonexistent headers
5002 # can be detected and how.
5003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5005 #include <ac_nonexistent.h>
5007 if ac_fn_c_try_cpp
"$LINENO"; then :
5008 # Broken: success on invalid input.
5011 # Passes both tests.
5015 rm -f conftest.err conftest.
$ac_ext
5018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5019 rm -f conftest.err conftest.
$ac_ext
5020 if $ac_preproc_ok; then :
5023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5025 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5026 See \`config.log' for more details." "$LINENO" 5; }
5030 ac_cpp
='$CPP $CPPFLAGS'
5031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5037 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5038 if test "${ac_cv_path_GREP+set}" = set; then :
5039 $as_echo_n "(cached) " >&6
5041 if test -z "$GREP"; then
5042 ac_path_GREP_found
=false
5043 # Loop through the user's path and test for each of PROGNAME-LIST
5044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5048 test -z "$as_dir" && as_dir
=.
5049 for ac_prog
in grep ggrep
; do
5050 for ac_exec_ext
in '' $ac_executable_extensions; do
5051 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5052 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5053 # Check for GNU ac_path_GREP and select it if it is found.
5054 # Check for GNU $ac_path_GREP
5055 case `"$ac_path_GREP" --version 2>&1` in
5057 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5060 $as_echo_n 0123456789 >"conftest.in"
5063 cat "conftest.in" "conftest.in" >"conftest.tmp"
5064 mv "conftest.tmp" "conftest.in"
5065 cp "conftest.in" "conftest.nl"
5066 $as_echo 'GREP' >> "conftest.nl"
5067 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5068 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5069 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5070 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5071 # Best one so far, save it but keep looking for a better one
5072 ac_cv_path_GREP
="$ac_path_GREP"
5073 ac_path_GREP_max
=$ac_count
5075 # 10*(2^10) chars as input seems more than enough
5076 test $ac_count -gt 10 && break
5078 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5081 $ac_path_GREP_found && break 3
5086 if test -z "$ac_cv_path_GREP"; then
5087 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5090 ac_cv_path_GREP
=$GREP
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5095 $as_echo "$ac_cv_path_GREP" >&6; }
5096 GREP
="$ac_cv_path_GREP"
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5100 $as_echo_n "checking for egrep... " >&6; }
5101 if test "${ac_cv_path_EGREP+set}" = set; then :
5102 $as_echo_n "(cached) " >&6
5104 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5105 then ac_cv_path_EGREP
="$GREP -E"
5107 if test -z "$EGREP"; then
5108 ac_path_EGREP_found
=false
5109 # Loop through the user's path and test for each of PROGNAME-LIST
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5111 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5114 test -z "$as_dir" && as_dir
=.
5115 for ac_prog
in egrep; do
5116 for ac_exec_ext
in '' $ac_executable_extensions; do
5117 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5118 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5119 # Check for GNU ac_path_EGREP and select it if it is found.
5120 # Check for GNU $ac_path_EGREP
5121 case `"$ac_path_EGREP" --version 2>&1` in
5123 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5126 $as_echo_n 0123456789 >"conftest.in"
5129 cat "conftest.in" "conftest.in" >"conftest.tmp"
5130 mv "conftest.tmp" "conftest.in"
5131 cp "conftest.in" "conftest.nl"
5132 $as_echo 'EGREP' >> "conftest.nl"
5133 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5134 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5135 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5136 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5137 # Best one so far, save it but keep looking for a better one
5138 ac_cv_path_EGREP
="$ac_path_EGREP"
5139 ac_path_EGREP_max
=$ac_count
5141 # 10*(2^10) chars as input seems more than enough
5142 test $ac_count -gt 10 && break
5144 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5147 $ac_path_EGREP_found && break 3
5152 if test -z "$ac_cv_path_EGREP"; then
5153 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5156 ac_cv_path_EGREP
=$EGREP
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5162 $as_echo "$ac_cv_path_EGREP" >&6; }
5163 EGREP
="$ac_cv_path_EGREP"
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5167 $as_echo_n "checking for ANSI C header files... " >&6; }
5168 if test "${ac_cv_header_stdc+set}" = set; then :
5169 $as_echo_n "(cached) " >&6
5171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5186 if ac_fn_c_try_compile
"$LINENO"; then :
5187 ac_cv_header_stdc
=yes
5189 ac_cv_header_stdc
=no
5191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5193 if test $ac_cv_header_stdc = yes; then
5194 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h. */
5200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5201 $EGREP "memchr" >/dev
/null
2>&1; then :
5204 ac_cv_header_stdc
=no
5210 if test $ac_cv_header_stdc = yes; then
5211 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5218 $EGREP "free" >/dev
/null
2>&1; then :
5221 ac_cv_header_stdc
=no
5227 if test $ac_cv_header_stdc = yes; then
5228 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5229 if test "$cross_compiling" = yes; then :
5232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5236 #if ((' ' & 0x0FF) == 0x020)
5237 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5238 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5240 # define ISLOWER(c) \
5241 (('a' <= (c) && (c) <= 'i') \
5242 || ('j' <= (c) && (c) <= 'r') \
5243 || ('s' <= (c) && (c) <= 'z'))
5244 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5247 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5252 for (i = 0; i < 256; i++)
5253 if (XOR (islower (i), ISLOWER (i))
5254 || toupper (i) != TOUPPER (i))
5259 if ac_fn_c_try_run
"$LINENO"; then :
5262 ac_cv_header_stdc
=no
5264 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5265 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5271 $as_echo "$ac_cv_header_stdc" >&6; }
5272 if test $ac_cv_header_stdc = yes; then
5274 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5278 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5279 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5280 inttypes.h stdint.h unistd.h
5282 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5283 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5285 eval as_val
=\$
$as_ac_Header
5286 if test "x$as_val" = x
""yes; then :
5287 cat >>confdefs.h
<<_ACEOF
5288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5297 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5298 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5305 if test "$MINIX" = yes; then
5307 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5310 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5313 $as_echo "#define _MINIX 1" >>confdefs.h
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5319 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5320 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5321 $as_echo_n "(cached) " >&6
5323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5326 # define __EXTENSIONS__ 1
5327 $ac_includes_default
5336 if ac_fn_c_try_compile
"$LINENO"; then :
5337 ac_cv_safe_to_define___extensions__
=yes
5339 ac_cv_safe_to_define___extensions__
=no
5341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5344 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5345 test $ac_cv_safe_to_define___extensions__ = yes &&
5346 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5348 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5350 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5352 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5354 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5359 # If we haven't got the data from the intl directory,
5360 # assume NLS is disabled.
5369 if test -f ..
/intl
/config.intl
; then
5370 . ..
/intl
/config.intl
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5373 $as_echo_n "checking whether NLS is requested... " >&6; }
5374 if test x
"$USE_NLS" != xyes
; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 $as_echo "no" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5379 $as_echo "yes" >&6; }
5381 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5385 $as_echo_n "checking for catalogs to be installed... " >&6; }
5386 # Look for .po and .gmo files in the source directory.
5389 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5390 # If there aren't any .gmo files the shell will give us the
5391 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5393 case "$cat" in *\
**)
5396 # The quadruple backslash is collapsed to a double backslash
5397 # by the backticks, then collapsed again by the double quotes,
5398 # leaving us with one backslash in the sed expression (right
5399 # before the dot that mustn't act as a wildcard).
5400 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5401 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5402 # The user is allowed to set LINGUAS to a list of languages to
5403 # install catalogs for. If it's empty that means "all of them."
5404 if test "x$LINGUAS" = x
; then
5405 CATALOGS
="$CATALOGS $cat"
5406 XLINGUAS
="$XLINGUAS $lang"
5408 case "$LINGUAS" in *$lang*)
5409 CATALOGS
="$CATALOGS $cat"
5410 XLINGUAS
="$XLINGUAS $lang"
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5417 $as_echo "$LINGUAS" >&6; }
5431 if test -n "$ac_aux_dir"; then
5432 case "$ac_aux_dir" in
5433 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5434 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5437 if test -z "$MKINSTALLDIRS"; then
5438 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5444 $as_echo_n "checking whether NLS is requested... " >&6; }
5445 # Check whether --enable-nls was given.
5446 if test "${enable_nls+set}" = set; then :
5447 enableval
=$enable_nls; USE_NLS
=$enableval
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5453 $as_echo "$USE_NLS" >&6; }
5460 # Prepare PATH_SEPARATOR.
5461 # The user is always right.
5462 if test "${PATH_SEPARATOR+set}" != set; then
5463 echo "#! /bin/sh" >conf$$.sh
5464 echo "exit 0" >>conf$$.sh
5466 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5474 # Find out how to test for executable files. Don't use a zero-byte file,
5475 # as systems may use methods other than mode bits to determine executability.
5476 cat >conf$$.
file <<_ASEOF
5480 chmod +x conf$$.
file
5481 if test -x conf$$.
file >/dev
/null
2>&1; then
5482 ac_executable_p
="test -x"
5484 ac_executable_p
="test -f"
5488 # Extract the first word of "msgfmt", so it can be a program name with args.
5489 set dummy msgfmt
; ac_word
=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5493 $as_echo_n "(cached) " >&6
5497 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5500 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5501 for ac_dir
in $PATH; do
5503 test -z "$ac_dir" && ac_dir
=.
5504 for ac_exec_ext
in '' $ac_executable_extensions; do
5505 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5506 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5507 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5508 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5515 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5519 MSGFMT
="$ac_cv_path_MSGFMT"
5520 if test "$MSGFMT" != ":"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5522 $as_echo "$MSGFMT" >&6; }
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5528 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5529 set dummy gmsgfmt
; ac_word
=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5533 $as_echo_n "(cached) " >&6
5537 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir
=.
5545 for ac_exec_ext
in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5559 GMSGFMT
=$ac_cv_path_GMSGFMT
5560 if test -n "$GMSGFMT"; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5562 $as_echo "$GMSGFMT" >&6; }
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5565 $as_echo "no" >&6; }
5571 # Prepare PATH_SEPARATOR.
5572 # The user is always right.
5573 if test "${PATH_SEPARATOR+set}" != set; then
5574 echo "#! /bin/sh" >conf$$.sh
5575 echo "exit 0" >>conf$$.sh
5577 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5585 # Find out how to test for executable files. Don't use a zero-byte file,
5586 # as systems may use methods other than mode bits to determine executability.
5587 cat >conf$$.
file <<_ASEOF
5591 chmod +x conf$$.
file
5592 if test -x conf$$.
file >/dev
/null
2>&1; then
5593 ac_executable_p
="test -x"
5595 ac_executable_p
="test -f"
5599 # Extract the first word of "xgettext", so it can be a program name with args.
5600 set dummy xgettext
; ac_word
=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5602 $as_echo_n "checking for $ac_word... " >&6; }
5603 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5604 $as_echo_n "(cached) " >&6
5608 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5611 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5612 for ac_dir
in $PATH; do
5614 test -z "$ac_dir" && ac_dir
=.
5615 for ac_exec_ext
in '' $ac_executable_extensions; do
5616 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5617 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5618 (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
5619 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5626 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5630 XGETTEXT
="$ac_cv_path_XGETTEXT"
5631 if test "$XGETTEXT" != ":"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5633 $as_echo "$XGETTEXT" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5642 # Prepare PATH_SEPARATOR.
5643 # The user is always right.
5644 if test "${PATH_SEPARATOR+set}" != set; then
5645 echo "#! /bin/sh" >conf$$.sh
5646 echo "exit 0" >>conf$$.sh
5648 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5656 # Find out how to test for executable files. Don't use a zero-byte file,
5657 # as systems may use methods other than mode bits to determine executability.
5658 cat >conf$$.
file <<_ASEOF
5662 chmod +x conf$$.
file
5663 if test -x conf$$.
file >/dev
/null
2>&1; then
5664 ac_executable_p
="test -x"
5666 ac_executable_p
="test -f"
5670 # Extract the first word of "msgmerge", so it can be a program name with args.
5671 set dummy msgmerge
; ac_word
=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5675 $as_echo_n "(cached) " >&6
5679 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5682 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5683 for ac_dir
in $PATH; do
5685 test -z "$ac_dir" && ac_dir
=.
5686 for ac_exec_ext
in '' $ac_executable_extensions; do
5687 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5688 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5689 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5696 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5700 MSGMERGE
="$ac_cv_path_MSGMERGE"
5701 if test "$MSGMERGE" != ":"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5703 $as_echo "$MSGMERGE" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5710 if test "$GMSGFMT" != ":"; then
5711 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5712 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5715 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5717 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5722 if test "$XGETTEXT" != ":"; then
5723 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5724 (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
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5728 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5734 ac_config_commands
="$ac_config_commands default-1"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5739 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5740 if test "${ac_cv_c_bigendian+set}" = set; then :
5741 $as_echo_n "(cached) " >&6
5743 ac_cv_c_bigendian
=unknown
5744 # See if we're dealing with a universal compiler.
5745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5746 /* end confdefs.h. */
5747 #ifndef __APPLE_CC__
5748 not a universal capable compiler
5753 if ac_fn_c_try_compile
"$LINENO"; then :
5755 # Check for potential -arch flags. It is not universal unless
5756 # there are at least two -arch flags with different values.
5759 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5760 if test -n "$ac_prev"; then
5762 i?
86 | x86_64 | ppc | ppc64
)
5763 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5766 ac_cv_c_bigendian
=universal
5772 elif test "x$ac_word" = "x-arch"; then
5777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5778 if test $ac_cv_c_bigendian = unknown
; then
5779 # See if sys/param.h defines the BYTE_ORDER macro.
5780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5781 /* end confdefs.h. */
5782 #include <sys/types.h>
5783 #include <sys/param.h>
5788 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5789 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5798 if ac_fn_c_try_compile
"$LINENO"; then :
5799 # It does; now see whether it defined to BIG_ENDIAN or not.
5800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5802 #include <sys/types.h>
5803 #include <sys/param.h>
5808 #if BYTE_ORDER != BIG_ENDIAN
5816 if ac_fn_c_try_compile
"$LINENO"; then :
5817 ac_cv_c_bigendian
=yes
5819 ac_cv_c_bigendian
=no
5821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5825 if test $ac_cv_c_bigendian = unknown
; then
5826 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5834 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5842 if ac_fn_c_try_compile
"$LINENO"; then :
5843 # It does; now see whether it defined to _BIG_ENDIAN or not.
5844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5845 /* end confdefs.h. */
5859 if ac_fn_c_try_compile
"$LINENO"; then :
5860 ac_cv_c_bigendian
=yes
5862 ac_cv_c_bigendian
=no
5864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5868 if test $ac_cv_c_bigendian = unknown
; then
5869 # Compile a test program.
5870 if test "$cross_compiling" = yes; then :
5871 # Try to guess by grepping values from an object file.
5872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5874 short int ascii_mm[] =
5875 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5876 short int ascii_ii[] =
5877 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5878 int use_ascii (int i) {
5879 return ascii_mm[i] + ascii_ii[i];
5881 short int ebcdic_ii[] =
5882 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5883 short int ebcdic_mm[] =
5884 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5885 int use_ebcdic (int i) {
5886 return ebcdic_mm[i] + ebcdic_ii[i];
5893 return use_ascii (foo) == use_ebcdic (foo);
5898 if ac_fn_c_try_compile
"$LINENO"; then :
5899 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5900 ac_cv_c_bigendian
=yes
5902 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5903 if test "$ac_cv_c_bigendian" = unknown
; then
5904 ac_cv_c_bigendian
=no
5906 # finding both strings is unlikely to happen, but who knows?
5907 ac_cv_c_bigendian
=unknown
5911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5914 /* end confdefs.h. */
5915 $ac_includes_default
5920 /* Are we little or big endian? From Harbison&Steele. */
5924 char c[sizeof (long int)];
5927 return u.c[sizeof (long int) - 1] == 1;
5933 if ac_fn_c_try_run
"$LINENO"; then :
5934 ac_cv_c_bigendian
=no
5936 ac_cv_c_bigendian
=yes
5938 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5939 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5945 $as_echo "$ac_cv_c_bigendian" >&6; }
5946 case $ac_cv_c_bigendian in #(
5948 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5954 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5958 as_fn_error
"unknown endianness
5959 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5965 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
5967 NATIVE_LINKER_FALSE
='#'
5969 NATIVE_LINKER_TRUE
='#'
5970 NATIVE_LINKER_FALSE
=
5973 if test "$GCC" = yes; then
5989 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
5990 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
5992 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
5993 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
5997 if test "$target_cpu" = "x86_64"; then
5998 MCMODEL_MEDIUM_TRUE
=
5999 MCMODEL_MEDIUM_FALSE
='#'
6001 MCMODEL_MEDIUM_TRUE
='#'
6002 MCMODEL_MEDIUM_FALSE
=
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6007 $as_echo_n "checking for thread support... " >&6; }
6008 if test "${gold_cv_c_thread+set}" = set; then :
6009 $as_echo_n "(cached) " >&6
6011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6015 if ac_fn_c_try_compile
"$LINENO"; then :
6016 gold_cv_c_thread
=yes
6020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6023 $as_echo "$gold_cv_c_thread" >&6; }
6025 if test "$gold_cv_c_thread" = "yes"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6035 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6036 if test "${gold_cv_lib_glibc24+set}" = set; then :
6037 $as_echo_n "(cached) " >&6
6039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6042 #include <features.h>
6043 #if !defined __GLIBC__
6045 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6050 if ac_fn_c_try_compile
"$LINENO"; then :
6051 gold_cv_lib_glibc24
=yes
6053 gold_cv_lib_glibc24
=no
6055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6058 $as_echo "$gold_cv_lib_glibc24" >&6; }
6060 if test "$gold_cv_lib_glibc24" = "yes"; then
6062 STATIC_TLS_FALSE
='#'
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6070 $as_echo_n "checking for omp support... " >&6; }
6071 if test "${gold_cv_c_threadprivate+set}" = set; then :
6072 $as_echo_n "(cached) " >&6
6074 save_CFLAGS
="$CFLAGS"
6075 CFLAGS
="$CFLAGS -fopenmp"
6076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6077 /* end confdefs.h. */
6081 #pragma omp threadprivate (i)
6084 if ac_fn_c_try_compile
"$LINENO"; then :
6085 gold_cv_c_threadprivate
=yes
6087 gold_cv_c_threadprivate
=no
6089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6090 CFLAGS
="$save_CFLAGS"
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6093 $as_echo "$gold_cv_c_threadprivate" >&6; }
6094 if test "$gold_cv_c_threadprivate" = "yes"; then
6096 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6099 if test "$gold_cv_c_threadprivate" = "yes"; then
6101 OMP_SUPPORT_FALSE
='#'
6103 OMP_SUPPORT_TRUE
='#'
6108 save_CFLAGS
="$CFLAGS"
6109 CFLAGS
="$CFLAGS -mtls-dialect=gnu2"
6110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6114 if ac_fn_c_try_compile
"$LINENO"; then :
6119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6120 CFLAGS
="$save_CFLAGS"
6121 if test "$have_tls_gnu2" = "yes"; then
6122 TLS_GNU2_DIALECT_TRUE
=
6123 TLS_GNU2_DIALECT_FALSE
='#'
6125 TLS_GNU2_DIALECT_TRUE
='#'
6126 TLS_GNU2_DIALECT_FALSE
=
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6131 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6132 if test "${gold_cv_lib_glibc29+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6138 #include <features.h>
6139 #if !defined __GLIBC__
6141 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6146 if ac_fn_c_try_compile
"$LINENO"; then :
6147 gold_cv_lib_glibc29
=yes
6149 gold_cv_lib_glibc29
=no
6151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6154 $as_echo "$gold_cv_lib_glibc29" >&6; }
6156 if test "$gold_cv_lib_glibc29" = "yes"; then
6157 TLS_DESCRIPTORS_TRUE
=
6158 TLS_DESCRIPTORS_FALSE
='#'
6160 TLS_DESCRIPTORS_TRUE
='#'
6161 TLS_DESCRIPTORS_FALSE
=
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for constructor priorities" >&5
6166 $as_echo_n "checking for constructor priorities... " >&6; }
6167 if test "${gold_cv_c_conprio+set}" = set; then :
6168 $as_echo_n "(cached) " >&6
6170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6172 void f() __attribute__ ((constructor (1)));
6174 if ac_fn_c_try_compile
"$LINENO"; then :
6175 gold_cv_c_conprio
=yes
6177 gold_cv_c_conprio
=no
6179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_conprio" >&5
6182 $as_echo "$gold_cv_c_conprio" >&6; }
6184 if test "$gold_cv_c_conprio" = "yes"; then
6185 CONSTRUCTOR_PRIORITY_TRUE
=
6186 CONSTRUCTOR_PRIORITY_FALSE
='#'
6188 CONSTRUCTOR_PRIORITY_TRUE
='#'
6189 CONSTRUCTOR_PRIORITY_FALSE
=
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6194 $as_echo_n "checking for -frandom-seed support... " >&6; }
6195 if test "${gold_cv_c_random_seed+set}" = set; then :
6196 $as_echo_n "(cached) " >&6
6198 save_CFLAGS
="$CFLAGS"
6199 CFLAGS
="$CFLAGS -frandom-seed=foo"
6200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6204 if ac_fn_c_try_compile
"$LINENO"; then :
6205 gold_cv_c_random_seed
=yes
6207 gold_cv_c_random_seed
=no
6209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6210 CFLAGS
="$save_CFLAGS"
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6213 $as_echo "$gold_cv_c_random_seed" >&6; }
6214 if test "$gold_cv_c_random_seed" = "yes"; then
6215 # In Makefile, '$@' will be expanded to be the name of the file
6216 # being built, providing a unique seed for each file.
6217 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
6222 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6224 # Check whether --enable-werror was given.
6225 if test "${enable_werror+set}" = set; then :
6226 enableval
=$enable_werror; case "${enableval}" in
6227 yes | y
) ERROR_ON_WARNING
="yes" ;;
6228 no | n
) ERROR_ON_WARNING
="no" ;;
6229 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6234 # Enable -Wno-format by default when using gcc on mingw
6237 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6238 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
6244 # Enable -Werror by default when using gcc
6245 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6246 ERROR_ON_WARNING
=yes
6250 if test "${ERROR_ON_WARNING}" = yes ; then
6251 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
6252 NO_WERROR
="-Wno-error"
6255 if test "${GCC}" = yes ; then
6256 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6259 # Check whether --enable-build-warnings was given.
6260 if test "${enable_build_warnings+set}" = set; then :
6261 enableval
=$enable_build_warnings; case "${enableval}" in
6262 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
6263 no
) if test "${GCC}" = yes ; then
6266 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6267 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
6268 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6269 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
6270 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6275 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
6276 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6283 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
6286 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6289 for ac_func
in chsize
6291 ac_fn_c_check_func
"$LINENO" "chsize" "ac_cv_func_chsize"
6292 if test "x$ac_cv_func_chsize" = x
""yes; then :
6293 cat >>confdefs.h
<<_ACEOF
6294 #define HAVE_CHSIZE 1
6300 for ac_func
in pread ftruncate mremap ffsll
6302 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6303 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6304 eval as_val
=\$
$as_ac_var
6305 if test "x$as_val" = x
""yes; then :
6306 cat >>confdefs.h
<<_ACEOF
6307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6311 case " $LIBOBJS " in
6312 *" $ac_func.$ac_objext "* ) ;;
6313 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6322 # Link in zlib if we can. This allows us to write compressed sections.
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6324 $as_echo_n "checking for library containing zlibVersion... " >&6; }
6325 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6326 $as_echo_n "(cached) " >&6
6328 ac_func_search_save_LIBS
=$LIBS
6329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h. */
6332 /* Override any GCC internal prototype to avoid an error.
6333 Use char because int might match the return type of a GCC
6334 builtin and then its argument prototype would still apply. */
6338 char zlibVersion ();
6342 return zlibVersion ();
6347 for ac_lib
in '' z
; do
6348 if test -z "$ac_lib"; then
6349 ac_res
="none required"
6352 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6354 if ac_fn_c_try_link
"$LINENO"; then :
6355 ac_cv_search_zlibVersion
=$ac_res
6357 rm -f core conftest.err conftest.
$ac_objext \
6359 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6363 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6366 ac_cv_search_zlibVersion
=no
6369 LIBS
=$ac_func_search_save_LIBS
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6372 $as_echo "$ac_cv_search_zlibVersion" >&6; }
6373 ac_res
=$ac_cv_search_zlibVersion
6374 if test "$ac_res" != no
; then :
6375 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6376 for ac_header
in zlib.h
6378 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6379 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
6380 cat >>confdefs.h
<<_ACEOF
6381 #define HAVE_ZLIB_H 1
6390 if test "$ac_cv_search_zlibVersion" != "no"; then
6399 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6400 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6406 cat >>confdefs.h
<<_ACEOF
6407 #define HAVE_DECL_BASENAME $ac_have_decl
6409 ac_fn_c_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6410 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6416 cat >>confdefs.h
<<_ACEOF
6417 #define HAVE_DECL_FFS $ac_have_decl
6419 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6420 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
6426 cat >>confdefs.h
<<_ACEOF
6427 #define HAVE_DECL_ASPRINTF $ac_have_decl
6429 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6430 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
6436 cat >>confdefs.h
<<_ACEOF
6437 #define HAVE_DECL_VASPRINTF $ac_have_decl
6439 ac_fn_c_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6440 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
6446 cat >>confdefs.h
<<_ACEOF
6447 #define HAVE_DECL_SNPRINTF $ac_have_decl
6449 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6450 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
6456 cat >>confdefs.h
<<_ACEOF
6457 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6459 ac_fn_c_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6460 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
6466 cat >>confdefs.h
<<_ACEOF
6467 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6472 ac_cpp
='$CXXCPP $CPPFLAGS'
6473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6480 ac_cpp
='$CXXCPP $CPPFLAGS'
6481 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6482 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6483 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6485 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6486 if test -z "$CXXCPP"; then
6487 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6488 $as_echo_n "(cached) " >&6
6490 # Double quotes because CXXCPP needs to be expanded
6491 for CXXCPP
in "$CXX -E" "/lib/cpp"
6494 for ac_cxx_preproc_warn_flag
in '' yes
6496 # Use a header file that comes with gcc, so configuring glibc
6497 # with a fresh cross-compiler works.
6498 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6499 # <limits.h> exists even on freestanding compilers.
6500 # On the NeXT, cc -E runs the code through the compiler's parser,
6501 # not just through cpp. "Syntax error" is here to catch this case.
6502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6505 # include <limits.h>
6507 # include <assert.h>
6511 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6514 # Broken: fails on valid input.
6517 rm -f conftest.err conftest.
$ac_ext
6519 # OK, works on sane cases. Now check whether nonexistent headers
6520 # can be detected and how.
6521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6523 #include <ac_nonexistent.h>
6525 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6526 # Broken: success on invalid input.
6529 # Passes both tests.
6533 rm -f conftest.err conftest.
$ac_ext
6536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6537 rm -f conftest.err conftest.
$ac_ext
6538 if $ac_preproc_ok; then :
6543 ac_cv_prog_CXXCPP
=$CXXCPP
6546 CXXCPP
=$ac_cv_prog_CXXCPP
6548 ac_cv_prog_CXXCPP
=$CXXCPP
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6551 $as_echo "$CXXCPP" >&6; }
6553 for ac_cxx_preproc_warn_flag
in '' yes
6555 # Use a header file that comes with gcc, so configuring glibc
6556 # with a fresh cross-compiler works.
6557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6558 # <limits.h> exists even on freestanding compilers.
6559 # On the NeXT, cc -E runs the code through the compiler's parser,
6560 # not just through cpp. "Syntax error" is here to catch this case.
6561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6564 # include <limits.h>
6566 # include <assert.h>
6570 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6573 # Broken: fails on valid input.
6576 rm -f conftest.err conftest.
$ac_ext
6578 # OK, works on sane cases. Now check whether nonexistent headers
6579 # can be detected and how.
6580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6582 #include <ac_nonexistent.h>
6584 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6585 # Broken: success on invalid input.
6588 # Passes both tests.
6592 rm -f conftest.err conftest.
$ac_ext
6595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6596 rm -f conftest.err conftest.
$ac_ext
6597 if $ac_preproc_ok; then :
6600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6602 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
6603 See \`config.log' for more details." "$LINENO" 5; }
6607 ac_cpp
='$CXXCPP $CPPFLAGS'
6608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6613 for ac_header
in tr1/unordered_set
tr1/unordered_map
6615 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6616 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6617 eval as_val
=\$
$as_ac_Header
6618 if test "x$as_val" = x
""yes; then :
6619 cat >>confdefs.h
<<_ACEOF
6620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6627 for ac_header
in ext
/hash_map ext
/hash_set
6629 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6630 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6631 eval as_val
=\$
$as_ac_Header
6632 if test "x$as_val" = x
""yes; then :
6633 cat >>confdefs.h
<<_ACEOF
6634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6641 for ac_header
in byteswap.h
6643 ac_fn_cxx_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
6644 if test "x$ac_cv_header_byteswap_h" = x
""yes; then :
6645 cat >>confdefs.h
<<_ACEOF
6646 #define HAVE_BYTESWAP_H 1
6653 for ac_func
in mallinfo posix_fallocate
6655 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6656 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6657 eval as_val
=\$
$as_ac_var
6658 if test "x$as_val" = x
""yes; then :
6659 cat >>confdefs.h
<<_ACEOF
6660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6666 ac_fn_cxx_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6667 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6673 cat >>confdefs.h
<<_ACEOF
6674 #define HAVE_DECL_BASENAME $ac_have_decl
6676 ac_fn_cxx_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6677 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6683 cat >>confdefs.h
<<_ACEOF
6684 #define HAVE_DECL_FFS $ac_have_decl
6686 ac_fn_cxx_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6687 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
6693 cat >>confdefs.h
<<_ACEOF
6694 #define HAVE_DECL_ASPRINTF $ac_have_decl
6696 ac_fn_cxx_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6697 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
6703 cat >>confdefs.h
<<_ACEOF
6704 #define HAVE_DECL_VASPRINTF $ac_have_decl
6706 ac_fn_cxx_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6707 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
6713 cat >>confdefs.h
<<_ACEOF
6714 #define HAVE_DECL_SNPRINTF $ac_have_decl
6716 ac_fn_cxx_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6717 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
6723 cat >>confdefs.h
<<_ACEOF
6724 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6726 ac_fn_cxx_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6727 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
6733 cat >>confdefs.h
<<_ACEOF
6734 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6736 ac_fn_cxx_check_decl
"$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
6737 if test "x$ac_cv_have_decl_strndup" = x
""yes; then :
6743 cat >>confdefs.h
<<_ACEOF
6744 #define HAVE_DECL_STRNDUP $ac_have_decl
6746 ac_fn_cxx_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
6747 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
6753 cat >>confdefs.h
<<_ACEOF
6754 #define HAVE_DECL_MEMMEM $ac_have_decl
6758 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
6759 # at link time with some versions of GCC.
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
6761 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
6762 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
6763 $as_echo_n "(cached) " >&6
6765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6768 #include <tr1/unordered_map>
6769 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
6779 if ac_fn_cxx_try_link
"$LINENO"; then :
6780 gold_cv_unordered_map_rehash
=yes
6782 gold_cv_unordered_map_rehash
=no
6784 rm -f core conftest.err conftest.
$ac_objext \
6785 conftest
$ac_exeext conftest.
$ac_ext
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
6788 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
6789 if test "$gold_cv_unordered_map_rehash" = "yes"; then
6791 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
6795 # gcc 4.3.0 doesn't recognize the printf attribute on a template
6796 # function. Check for that. This is gcc bug 35546. This test can
6797 # probably be removed after the bug has been fixed for a while.
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
6799 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
6800 if test "${gold_cv_template_attribute+set}" = set; then :
6801 $as_echo_n "(cached) " >&6
6803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6804 /* end confdefs.h. */
6806 template<typename T> extern void foo(const char*, ...)
6807 __attribute__ ((__format__ (__printf__, 1, 2)));
6808 template<typename T> void foo(const char* format, ...) {}
6809 void bar() { foo<int>("%s\n", "foo"); }
6812 if ac_fn_cxx_try_compile
"$LINENO"; then :
6813 gold_cv_template_attribute
=yes
6815 gold_cv_template_attribute
=no
6817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
6820 $as_echo "$gold_cv_template_attribute" >&6; }
6821 if test "$gold_cv_template_attribute" = "yes"; then
6823 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
6828 ac_cpp
='$CPP $CPPFLAGS'
6829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
6836 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
6837 # Check whether --enable-maintainer-mode was given.
6838 if test "${enable_maintainer_mode+set}" = set; then :
6839 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
6841 USE_MAINTAINER_MODE
=no
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
6845 $as_echo "$USE_MAINTAINER_MODE" >&6; }
6846 if test $USE_MAINTAINER_MODE = yes; then
6847 MAINTAINER_MODE_TRUE
=
6848 MAINTAINER_MODE_FALSE
='#'
6850 MAINTAINER_MODE_TRUE
='#'
6851 MAINTAINER_MODE_FALSE
=
6854 MAINT
=$MAINTAINER_MODE_TRUE
6858 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
6860 cat >confcache
<<\_ACEOF
6861 # This file is a shell script that caches the results of configure
6862 # tests run on this system so they can be shared between configure
6863 # scripts and configure runs, see configure's option --config-cache.
6864 # It is not useful on other systems. If it contains results you don't
6865 # want to keep, you may remove or edit it.
6867 # config.status only pays attention to the cache file if you give it
6868 # the --recheck option to rerun configure.
6870 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6871 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6876 # The following way of writing the cache mishandles newlines in values,
6877 # but we know of no workaround that is simple, portable, and efficient.
6878 # So, we kill variables containing newlines.
6879 # Ultrix sh set writes to stderr and can't be redirected directly,
6880 # and sets the high bit in the cache file unless we assign to the vars.
6882 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6883 eval ac_val
=\$
$ac_var
6887 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6888 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6891 _ | IFS | as_nl
) ;; #(
6892 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6893 *) { eval $ac_var=; unset $ac_var;} ;;
6899 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6900 *${as_nl}ac_space
=\
*)
6901 # `set' does not quote correctly, so add quotes: double-quote
6902 # substitution turns \\\\ into \\, and sed turns \\ into \.
6905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6908 # `set' quotes correctly as required by POSIX, so do not add quotes.
6909 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6918 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6920 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6922 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6923 if test -w "$cache_file"; then
6924 test "x$cache_file" != "x/dev/null" &&
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6926 $as_echo "$as_me: updating cache $cache_file" >&6;}
6927 cat confcache
>$cache_file
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6930 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6935 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6936 # Let make expand exec_prefix.
6937 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6939 DEFS
=-DHAVE_CONFIG_H
6943 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6944 # 1. Remove the extension, and $U if already installed.
6945 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6946 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6947 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6948 # will be set to the directory where LIBOBJS objects are built.
6949 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6950 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6954 LTLIBOBJS
=$ac_ltlibobjs
6957 if test -n "$EXEEXT"; then
6959 am__EXEEXT_FALSE
='#'
6965 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
6966 as_fn_error
"conditional \"THREADS\" was never defined.
6967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6969 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
6970 as_fn_error
"conditional \"PLUGINS\" was never defined.
6971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6973 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6974 as_fn_error
"conditional \"AMDEP\" was never defined.
6975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6977 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6978 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
6979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6981 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6982 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
6983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6986 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
6987 as_fn_error
"conditional \"NATIVE_LINKER\" was never defined.
6988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6990 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
6991 as_fn_error
"conditional \"GCC\" was never defined.
6992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6994 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
6995 as_fn_error
"conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
6996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6998 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
6999 as_fn_error
"conditional \"MCMODEL_MEDIUM\" was never defined.
7000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7002 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7003 as_fn_error
"conditional \"TLS\" was never defined.
7004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7006 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7007 as_fn_error
"conditional \"STATIC_TLS\" was never defined.
7008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7010 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7011 as_fn_error
"conditional \"OMP_SUPPORT\" was never defined.
7012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7014 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7015 as_fn_error
"conditional \"TLS_GNU2_DIALECT\" was never defined.
7016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7018 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7019 as_fn_error
"conditional \"TLS_DESCRIPTORS\" was never defined.
7020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7022 if test -z "${CONSTRUCTOR_PRIORITY_TRUE}" && test -z "${CONSTRUCTOR_PRIORITY_FALSE}"; then
7023 as_fn_error
"conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
7024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7026 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7027 as_fn_error
"conditional \"HAVE_ZLIB\" was never defined.
7028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7030 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7031 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7035 : ${CONFIG_STATUS=./config.status}
7037 ac_clean_files_save
=$ac_clean_files
7038 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7040 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7042 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7044 # Generated by $as_me.
7045 # Run this file to recreate the current configuration.
7046 # Compiler output produced by configure, useful for debugging
7047 # configure, is in config.log if it exists.
7053 SHELL=\${CONFIG_SHELL-$SHELL}
7056 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7057 ## -------------------- ##
7058 ## M4sh Initialization. ##
7059 ## -------------------- ##
7061 # Be more Bourne compatible
7062 DUALCASE
=1; export DUALCASE
# for MKS sh
7063 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7066 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7067 # is contrary to our usage. Disable this feature.
7068 alias -g '${1+"$@"}'='"$@"'
7069 setopt NO_GLOB_SUBST
7071 case `(set -o) 2>/dev/null` in #(
7083 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7084 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7085 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7086 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7087 # Prefer a ksh shell builtin over an external printf program on Solaris,
7088 # but without wasting forks for bash or zsh.
7089 if test -z "$BASH_VERSION$ZSH_VERSION" \
7090 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7091 as_echo='print
-r --'
7092 as_echo_n='print
-rn --'
7093 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7094 as_echo='printf %s
\n'
7095 as_echo_n='printf %s
'
7097 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7098 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7099 as_echo_n='/usr
/ucb
/echo -n'
7101 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7102 as_echo_n_body='eval
7106 expr "X$arg" : "X\\(.*\\)$as_nl";
7107 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7109 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7111 export as_echo_n_body
7112 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7115 as_echo='sh
-c $as_echo_body as_echo
'
7118 # The user is always right.
7119 if test "${PATH_SEPARATOR+set}" != set; then
7121 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7122 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7129 # We need space, tab and new line, in precisely that order. Quoting is
7130 # there to prevent editors from complaining about space-tab.
7131 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7132 # splitting by setting IFS to empty value.)
7135 # Find who we are. Look in the path if we contain no directory separator.
7137 *[\\/]* ) as_myself=$0 ;;
7138 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 test -z "$as_dir" && as_dir=.
7143 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7149 # We did not find ourselves, most probably we were run as `sh COMMAND'
7150 # in which case we are not to be found in the path.
7151 if test "x$as_myself" = x
; then
7154 if test ! -f "$as_myself"; then
7155 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7159 # Unset variables that we do not need and which cause bugs (e.g. in
7160 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7161 # suppresses any "Segmentation fault" message there. '((' could
7162 # trigger a bug in pdksh 5.2.14.
7163 for as_var
in BASH_ENV ENV MAIL MAILPATH
7164 do eval test x\
${$as_var+set} = xset \
7165 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7178 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7181 # as_fn_error ERROR [LINENO LOG_FD]
7182 # ---------------------------------
7183 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7184 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7185 # script with status $?, using 1 if that was 0.
7188 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7190 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7191 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7193 $as_echo "$as_me: error: $1" >&2
7194 as_fn_exit
$as_status
7198 # as_fn_set_status STATUS
7199 # -----------------------
7200 # Set $? to STATUS, without forking.
7204 } # as_fn_set_status
7208 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7218 # Portably unset VAR.
7221 { eval $1=; unset $1;}
7223 as_unset
=as_fn_unset
7224 # as_fn_append VAR VALUE
7225 # ----------------------
7226 # Append the text in VALUE to the end of the definition contained in VAR. Take
7227 # advantage of any shell optimizations that allow amortized linear growth over
7228 # repeated appends, instead of the typical quadratic growth present in naive
7230 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7231 eval 'as_fn_append ()
7242 # as_fn_arith ARG...
7243 # ------------------
7244 # Perform arithmetic evaluation on the ARGs, and store the result in the
7245 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7246 # must be portable across $(()) and expr.
7247 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7248 eval 'as_fn_arith ()
7255 as_val
=`expr "$@" || test $? -eq 1`
7260 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7261 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7267 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7268 as_basename
=basename
7273 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7279 as_me
=`$as_basename -- "$0" ||
7280 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7281 X"$0" : 'X\(//\)$' \| \
7282 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7284 sed '/^.*\/\([^/][^/]*\)\/*$/{
7298 # Avoid depending upon Character Ranges.
7299 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7300 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7301 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7302 as_cr_digits
='0123456789'
7303 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7305 ECHO_C
= ECHO_N
= ECHO_T
=
7306 case `echo -n x` in #(((((
7308 case `echo 'xy\c'` in
7309 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7311 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7318 rm -f conf$$ conf$$.exe conf$$.
file
7319 if test -d conf$$.dir
; then
7320 rm -f conf$$.dir
/conf$$.
file
7323 mkdir conf$$.dir
2>/dev
/null
7325 if (echo >conf$$.
file) 2>/dev
/null
; then
7326 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7328 # ... but there are two gotchas:
7329 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7330 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7331 # In both cases, we have to default to `cp -p'.
7332 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7334 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7342 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7343 rmdir conf$$.dir
2>/dev
/null
7348 # Create "$as_dir" as a directory, including parents if necessary.
7353 -*) as_dir
=.
/$as_dir;;
7355 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7359 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7360 *) as_qdir
=$as_dir;;
7362 as_dirs
="'$as_qdir' $as_dirs"
7363 as_dir
=`$as_dirname -- "$as_dir" ||
7364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7365 X"$as_dir" : 'X\(//\)[^/]' \| \
7366 X"$as_dir" : 'X\(//\)$' \| \
7367 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7368 $as_echo X"$as_dir" |
7369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7386 test -d "$as_dir" && break
7388 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7389 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7393 if mkdir
-p .
2>/dev
/null
; then
7394 as_mkdir_p
='mkdir -p "$as_dir"'
7396 test -d .
/-p && rmdir .
/-p
7400 if test -x / >/dev
/null
2>&1; then
7403 if ls -dL / >/dev
/null
2>&1; then
7410 if test -d "$1"; then
7416 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7417 ???[sx]*):;;*)false;;esac;fi
7421 as_executable_p
=$as_test_x
7423 # Sed expression to map a string onto a valid CPP name.
7424 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7426 # Sed expression to map a string onto a valid variable name.
7427 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7431 ## ----------------------------------- ##
7432 ## Main body of $CONFIG_STATUS script. ##
7433 ## ----------------------------------- ##
7435 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7438 # Save the log message, to keep $0 and so on meaningful, and to
7439 # report actual input values of CONFIG_FILES etc. instead of their
7440 # values after options handling.
7442 This file was extended by gold $as_me 0.1, which was
7443 generated by GNU Autoconf 2.64. Invocation command line was
7445 CONFIG_FILES = $CONFIG_FILES
7446 CONFIG_HEADERS = $CONFIG_HEADERS
7447 CONFIG_LINKS = $CONFIG_LINKS
7448 CONFIG_COMMANDS = $CONFIG_COMMANDS
7451 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7456 case $ac_config_files in *"
7457 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7460 case $ac_config_headers in *"
7461 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7466 # Files that config.status was made for.
7467 config_files="$ac_config_files"
7468 config_headers="$ac_config_headers"
7469 config_commands="$ac_config_commands"
7473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7475 \`$as_me' instantiates files and other configuration actions
7476 from templates according to the current configuration. Unless the files
7477 and actions are specified as TAGs, all are instantiated by default.
7479 Usage: $0 [OPTION]... [TAG]...
7481 -h, --help print this help, then exit
7482 -V, --version print version number and configuration settings, then exit
7483 -q, --quiet, --silent
7484 do not print progress messages
7485 -d, --debug don't remove temporary files
7486 --recheck update $as_me by reconfiguring in the same conditions
7487 --file=FILE[:TEMPLATE]
7488 instantiate the configuration file FILE
7489 --header=FILE[:TEMPLATE]
7490 instantiate the configuration header FILE
7492 Configuration files:
7495 Configuration headers:
7498 Configuration commands:
7501 Report bugs to the package provider."
7504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7506 gold config.status 0.1
7507 configured by $0, generated by GNU Autoconf 2.64,
7508 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7510 Copyright (C) 2009 Free Software Foundation, Inc.
7511 This config.status script is free software; the Free Software Foundation
7512 gives unlimited permission to copy, distribute and modify it."
7519 test -n "\$AWK" || AWK=awk
7522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7523 # The default lists apply if the user does not specify any file.
7529 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7530 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7541 # Handling of the options.
7542 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7544 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7545 $as_echo "$ac_cs_version"; exit ;;
7546 --debug |
--debu |
--deb |
--de |
--d |
-d )
7548 --file |
--fil |
--fi |
--f )
7551 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7553 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7554 ac_need_defaults
=false
;;
7555 --header |
--heade |
--head |
--hea )
7558 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7560 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7561 ac_need_defaults
=false
;;
7563 # Conflict between --help and --header
7564 as_fn_error
"ambiguous option: \`$1'
7565 Try \`$0 --help' for more information.";;
7566 --help |
--hel |
-h )
7567 $as_echo "$ac_cs_usage"; exit ;;
7568 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7569 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7573 -*) as_fn_error
"unrecognized option: \`$1'
7574 Try \`$0 --help' for more information." ;;
7576 *) as_fn_append ac_config_targets
" $1"
7577 ac_need_defaults
=false
;;
7583 ac_configure_extra_args
=
7585 if $ac_cs_silent; then
7587 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7592 if \$ac_cs_recheck; then
7593 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7595 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7596 CONFIG_SHELL='$SHELL'
7602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7606 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7607 ## Running $as_me. ##
7613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7617 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7618 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7619 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7621 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7622 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7623 LINGUAS="${LINGUAS-%UNSET%}"
7628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7630 # Handling of arguments.
7631 for ac_config_target
in $ac_config_targets
7633 case $ac_config_target in
7634 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7635 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7636 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7637 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7638 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7639 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
7641 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7646 # If the user did not use the arguments to specify the items to instantiate,
7647 # then the envvar interface is used. Set only those that are not.
7648 # We use the long form for the default assignment because of an extremely
7649 # bizarre bug on SunOS 4.1.3.
7650 if $ac_need_defaults; then
7651 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7652 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7653 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7656 # Have a temporary directory for convenience. Make it in the build tree
7657 # simply because there is no reason against having it here, and in addition,
7658 # creating and moving files from /tmp can sometimes cause problems.
7659 # Hook for its removal unless debugging.
7660 # Note that there is a small window in which the directory will not be cleaned:
7661 # after its creation but before its name has been assigned to `$tmp'.
7665 trap 'exit_status=$?
7666 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7668 trap 'as_fn_exit 1' 1 2 13 15
7670 # Create a (secure) tmp directory for tmp files.
7673 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7674 test -n "$tmp" && test -d "$tmp"
7677 tmp
=.
/conf$$
-$RANDOM
7678 (umask 077 && mkdir
"$tmp")
7679 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
7681 # Set up the scripts for CONFIG_FILES section.
7682 # No need to generate them if there are no CONFIG_FILES.
7683 # This happens for instance with `./config.status config.h'.
7684 if test -n "$CONFIG_FILES"; then
7687 ac_cr
=`echo X | tr X '\015'`
7688 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7689 # But we know of no other shell where ac_cr would be empty at this
7690 # point, so we can use a bashism as a fallback.
7691 if test "x$ac_cr" = x
; then
7692 eval ac_cr
=\$
\'\\r
\'
7694 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7695 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7701 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7706 echo "cat >conf$$subs.awk <<_ACEOF" &&
7707 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7710 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7711 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7713 for ac_last_try in false false false false false :; do
7714 . ./conf$$subs.sh ||
7715 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7717 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7718 if test $ac_delim_n = $ac_delim_num; then
7720 elif $ac_last_try; then
7721 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7723 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7729 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
7733 s/^/S["/; s
/!.
*/"]=/
7743 s/\(.\{148\}\).*/\1/
7745 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7750 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7757 s/\(.\{148\}\).*/\1/
7759 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7763 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7768 ' <conf$$subs.awk | sed '
7773 ' >>$CONFIG_STATUS || ac_write_fail=1
7774 rm -f conf$$subs.awk
7775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7777 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
7778 for (key in S) S_is_set[key] = 1
7784 nfields = split(line, field, "@
")
7786 len = length(field[1])
7787 for (i = 2; i < nfields; i++) {
7789 keylen = length(key)
7790 if (S_is_set[key]) {
7792 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7793 len += length(value) + length(field[++i])
7804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7805 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7806 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7809 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
7810 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
7813 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7814 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
7815 # trailing colons and then remove the whole line if VPATH becomes empty
7816 # (actually we leave an empty line to preserve line numbers).
7817 if test "x
$srcdir" = x.; then
7818 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7822 s/^\([^=]*=[ ]*\):*/\1/
7828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7829 fi # test -n "$CONFIG_FILES"
7831 # Set up the scripts for CONFIG_HEADERS section.
7832 # No need to generate them if there are no CONFIG_HEADERS.
7833 # This happens for instance with `./config.status Makefile'.
7834 if test -n "$CONFIG_HEADERS"; then
7835 cat >"$tmp/defines.
awk" <<\_ACAWK ||
7839 # Transform confdefs.h into an awk script `defines.awk', embedded as
7840 # here-document in config.status, that substitutes the proper values into
7841 # config.h.in to produce config.h.
7843 # Create a delimiter string that does not exist in confdefs.h, to ease
7844 # handling of long lines.
7846 for ac_last_try in false false :; do
7847 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
7848 if test -z "$ac_t"; then
7850 elif $ac_last_try; then
7851 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
7853 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7857 # For the awk script, D is an array of macro values keyed by name,
7858 # likewise P contains macro parameters if any. Preserve backslash
7859 # newline sequences.
7861 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7863 s/.\{148\}/&'"$ac_delim"'/g
7866 s/^[ ]*#[ ]*define[ ][ ]*/ /
7873 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7875 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7879 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7880 D["\
1"]=" \
3\\\\\\n
"\\/p
7882 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7887 s/.\{148\}/&'"$ac_delim"'/g
7892 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7895 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7897 ' <confdefs.h | sed '
7898 s/'"$ac_delim"'/"\\\
7899 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7902 for (key in D) D_is_set[key] = 1
7905 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7907 split(line, arg, " ")
7908 if (arg[1] == "#") {
7912 defundef
= substr
(arg
[1], 2)
7915 split(mac1
, mac2
, "(") #)
7917 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7918 if (D_is_set
[macro
]) {
7919 # Preserve the white space surrounding the "#".
7920 print prefix
"define", macro P
[macro
] D
[macro
]
7923 # Replace #undef with comments. This is necessary, for example,
7924 # in the case of _POSIX_SOURCE, which is predefined and required
7925 # on some systems where configure will not decide to define it.
7926 if (defundef
== "undef") {
7927 print
"/*", prefix defundef
, macro
, "*/"
7935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7936 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
7937 fi # test -n "$CONFIG_HEADERS"
7940 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7945 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7947 case $ac_mode$ac_tag in
7949 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7950 :[FH
]-) ac_tag
=-:-;;
7951 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7968 -) ac_f
="$tmp/stdin";;
7969 *) # Look for the file first in the build tree, then in the source tree
7970 # (if the path is not absolute). The absolute path cannot be DOS-style,
7971 # because $ac_f cannot contain `:'.
7975 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7977 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
7979 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7980 as_fn_append ac_file_inputs
" '$ac_f'"
7983 # Let's still pretend it is `configure' which instantiates (i.e., don't
7984 # use $as_me), people would be surprised to read:
7985 # /* config.h. Generated by config.status. */
7986 configure_input
='Generated from '`
7987 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7989 if test x
"$ac_file" != x-
; then
7990 configure_input
="$ac_file. $configure_input"
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7992 $as_echo "$as_me: creating $ac_file" >&6;}
7994 # Neutralize special characters interpreted by sed in replacement strings.
7995 case $configure_input in #(
7996 *\
&* |
*\|
* |
*\\* )
7997 ac_sed_conf_input
=`$as_echo "$configure_input" |
7998 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7999 *) ac_sed_conf_input
=$configure_input;;
8003 *:-:* |
*:-) cat >"$tmp/stdin" \
8004 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8009 ac_dir
=`$as_dirname -- "$ac_file" ||
8010 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8011 X"$ac_file" : 'X\(//\)[^/]' \| \
8012 X"$ac_file" : 'X\(//\)$' \| \
8013 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8014 $as_echo X"$ac_file" |
8015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8032 as_dir
="$ac_dir"; as_fn_mkdir_p
8036 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8038 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8039 # A ".." for each directory in $ac_dir_suffix.
8040 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8041 case $ac_top_builddir_sub in
8042 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8043 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8046 ac_abs_top_builddir
=$ac_pwd
8047 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8048 # for backward compatibility:
8049 ac_top_builddir
=$ac_top_build_prefix
8052 .
) # We are building in place.
8054 ac_top_srcdir
=$ac_top_builddir_sub
8055 ac_abs_top_srcdir
=$ac_pwd ;;
8056 [\\/]* | ?
:[\\/]* ) # Absolute name.
8057 ac_srcdir
=$srcdir$ac_dir_suffix;
8058 ac_top_srcdir
=$srcdir
8059 ac_abs_top_srcdir
=$srcdir ;;
8061 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8062 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8063 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8065 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8075 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8076 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8080 [\\/$
]* | ?
:[\\/]* ) ;;
8081 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8086 # If the template does not know about datarootdir, expand it.
8087 # FIXME: This hack should be removed a few years after 2.60.
8088 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8099 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8100 *datarootdir
*) ac_datarootdir_seen
=yes;;
8101 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8103 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8106 ac_datarootdir_hack='
8107 s&@datadir@&$datadir&g
8108 s&@docdir@&$docdir&g
8109 s&@infodir@&$infodir&g
8110 s&@localedir@&$localedir&g
8111 s&@mandir@&$mandir&g
8112 s&\\\${datarootdir}&$datarootdir&g' ;;
8116 # Neutralize VPATH when `$srcdir' = `.'.
8117 # Shell code in configure.ac might set extrasub.
8118 # FIXME: do we really want to maintain this feature?
8119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8120 ac_sed_extra="$ac_vpsub
8123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8125 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8126 s|@configure_input@|
$ac_sed_conf_input|
;t t
8127 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8128 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8129 s
&@srcdir@
&$ac_srcdir&;t t
8130 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8131 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8132 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8133 s
&@builddir@
&$ac_builddir&;t t
8134 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8135 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8136 s
&@INSTALL@
&$ac_INSTALL&;t t
8137 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8138 $ac_datarootdir_hack
8140 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8141 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8143 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8144 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8145 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8147 which seems to be undefined. Please make sure it is defined." >&5
8148 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8149 which seems to be undefined. Please make sure it is defined." >&2;}
8153 -) cat "$tmp/out" && rm -f "$tmp/out";;
8154 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8156 || as_fn_error "could not create $ac_file" "$LINENO" 5
8162 if test x"$ac_file" != x-; then
8164 $as_echo "/* $configure_input */" \
8165 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8166 } >"$tmp/config.h" \
8167 || as_fn_error "could not create $ac_file" "$LINENO" 5
8168 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8170 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8173 mv "$tmp/config.h" "$ac_file" \
8174 || as_fn_error "could not create $ac_file" "$LINENO" 5
8177 $as_echo "/* $configure_input */" \
8178 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8179 || as_fn_error "could not create -" "$LINENO" 5
8181 # Compute "$ac_file"'s index
in $config_headers.
8184 for _am_header
in $config_headers :; do
8186 $_am_arg |
$_am_arg:* )
8189 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8192 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8193 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8194 X"$_am_arg" : 'X\(//\)[^/]' \| \
8195 X"$_am_arg" : 'X\(//\)$' \| \
8196 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8197 $as_echo X"$_am_arg" |
8198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8214 s/.*/./; q'`/stamp-h
$_am_stamp_count
8217 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8218 $as_echo "$as_me: executing $ac_file commands" >&6;}
8223 case $ac_file$ac_mode in
8224 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8225 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8226 # are listed without --file. Let's play safe and only enable the eval
8227 # if we detect the quoting.
8228 case $CONFIG_FILES in
8229 *\'*) eval set x
"$CONFIG_FILES" ;;
8230 *) set x
$CONFIG_FILES ;;
8235 # Strip MF so we end up with the name of the file.
8236 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8237 # Check whether this is an Automake generated Makefile or not.
8238 # We used to match only the files named `Makefile.in', but
8239 # some people rename them; so instead we look at the file content.
8240 # Grep'ing the first line is not enough: some people post-process
8241 # each Makefile.in and add a new line on top of each file to say so.
8242 # Grep'ing the whole file is not good either: AIX grep has a line
8243 # limit of 2048, but all sed's we know have understand at least 4000.
8244 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8245 dirpart
=`$as_dirname -- "$mf" ||
8246 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8247 X"$mf" : 'X\(//\)[^/]' \| \
8248 X"$mf" : 'X\(//\)$' \| \
8249 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8271 # Extract the definition of DEPDIR, am__include, and am__quote
8272 # from the Makefile without running `make'.
8273 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8274 test -z "$DEPDIR" && continue
8275 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8276 test -z "am__include" && continue
8277 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8278 # When using ansi2knr, U may be empty or an underscore; expand it
8279 U
=`sed -n 's/^U = //p' < "$mf"`
8280 # Find all dependency output files, they are included files with
8281 # $(DEPDIR) in their names. We invoke sed twice because it is the
8282 # simplest approach to changing $(DEPDIR) to its actual value in the
8284 for file in `sed -n "
8285 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8286 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8287 # Make sure the directory exists.
8288 test -f "$dirpart/$file" && continue
8289 fdir
=`$as_dirname -- "$file" ||
8290 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8291 X"$file" : 'X\(//\)[^/]' \| \
8292 X"$file" : 'X\(//\)$' \| \
8293 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8312 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8313 # echo "creating $dirpart/$file"
8314 echo '# dummy' > "$dirpart/$file"
8320 for ac_file
in $CONFIG_FILES; do
8321 # Support "outfile[:infile[:infile...]]"
8323 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8325 # PO directories have a Makefile.in generated from Makefile.in.in.
8326 case "$ac_file" in */Makefile.
in)
8327 # Adjust a relative srcdir.
8328 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8329 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
8330 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8331 # In autoconf-2.13 it is called $ac_given_srcdir.
8332 # In autoconf-2.50 it is called $srcdir.
8333 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
8334 case "$ac_given_srcdir" in
8335 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
8336 /*) top_srcdir
="$ac_given_srcdir" ;;
8337 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8339 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8340 rm -f "$ac_dir/POTFILES"
8341 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
8342 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8343 POMAKEFILEDEPS
="POTFILES.in"
8344 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8345 # on $ac_dir but don't depend on user-specified configuration
8347 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8348 # The LINGUAS file contains the set of available languages.
8349 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8350 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
8352 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8353 # Hide the ALL_LINGUAS assigment from automake.
8354 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8355 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8357 # The set of available languages was given in configure.in.
8358 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8360 case "$ac_given_srcdir" in
8362 *) srcdirpre
='$(srcdir)/' ;;
8368 for lang
in $ALL_LINGUAS; do
8369 POFILES
="$POFILES $srcdirpre$lang.po"
8370 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8371 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8372 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8374 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8375 # environment variable.
8377 if test -n "$ALL_LINGUAS"; then
8378 for presentlang
in $ALL_LINGUAS; do
8380 if test "%UNSET%" != "$LINGUAS"; then
8381 desiredlanguages
="$LINGUAS"
8383 desiredlanguages
="$ALL_LINGUAS"
8385 for desiredlang
in $desiredlanguages; do
8386 # Use the presentlang catalog if desiredlang is
8387 # a. equal to presentlang, or
8388 # b. a variant of presentlang (because in this case,
8389 # presentlang can be used as a fallback for messages
8390 # which are not translated in the desiredlang catalog).
8391 case "$desiredlang" in
8392 "$presentlang"*) useit
=yes;;
8395 if test $useit = yes; then
8396 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8401 if test -n "$INST_LINGUAS"; then
8402 for lang
in $INST_LINGUAS; do
8403 CATALOGS
="$CATALOGS $lang.gmo"
8406 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8407 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"
8408 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8409 if test -f "$f"; then
8411 *.orig |
*.bak |
*~
) ;;
8412 *) cat "$f" >> "$ac_dir/Makefile" ;;
8427 ac_clean_files
=$ac_clean_files_save
8429 test $ac_write_fail = 0 ||
8430 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8433 # configure is writing to config.log, and then calls config.status.
8434 # config.status does its own redirection, appending to config.log.
8435 # Unfortunately, on DOS this fails, as config.log is still kept open
8436 # by configure, so config.status won't be able to write to it; its
8437 # output is simply discarded. So we exec the FD to /dev/null,
8438 # effectively closing config.log, so it can be properly (re)opened and
8439 # appended to by config.status. When coming back to configure, we
8440 # need to make the FD available again.
8441 if test "$no_create" != yes; then
8443 ac_config_status_args
=
8444 test "$silent" = yes &&
8445 ac_config_status_args
="$ac_config_status_args --quiet"
8447 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8449 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8450 # would make configure fail if this is the last instruction.
8451 $ac_cs_success || as_fn_exit $?
8453 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8455 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}