comparison libada/configure @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64. 3 # Generated by GNU Autoconf 2.69.
4 # 4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5 #
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 # Foundation, Inc. 7 #
8 # 8 #
9 # This configure script is free software; the Free Software Foundation 9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it. 10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ## 11 ## -------------------- ##
12 ## M4sh Initialization. ## 12 ## M4sh Initialization. ##
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.) 86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl" 87 IFS=" "" $as_nl"
88 88
89 # Find who we are. Look in the path if we contain no directory separator. 89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
90 case $0 in #(( 91 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;; 92 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH 94 for as_dir in $PATH
94 do 95 do
129 export LANGUAGE 130 export LANGUAGE
130 131
131 # CDPATH. 132 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133 134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
134 if test "x$CONFIG_SHELL" = x; then 160 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh 162 emulate sh
137 NULLCMD=: 163 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163 189
164 else 190 else
165 exitcode=1; echo positional parameters were not saved. 191 exitcode=1; echo positional parameters were not saved.
166 fi 192 fi
167 test x\$exitcode = x0 || exit 1" 193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 195 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 196 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'\" && 197 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 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1" 199 test \$(( 1 + 1 )) = 2 || exit 1"
207 fi; } 234 fi; }
208 IFS=$as_save_IFS 235 IFS=$as_save_IFS
209 236
210 237
211 if test "x$CONFIG_SHELL" != x; then : 238 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a 239 export CONFIG_SHELL
213 # neutralization value for shells without unset; and this also 240 # We cannot yet assume a decent shell, so we have to provide a
214 # works around shells that cannot unset nonexistent variables. 241 # neutralization value for shells without unset; and this also
215 BASH_ENV=/dev/null 242 # works around shells that cannot unset nonexistent variables.
216 ENV=/dev/null 243 # Preserve -v and -x to the replacement shell.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 244 BASH_ENV=/dev/null
218 export CONFIG_SHELL 245 ENV=/dev/null
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
220 fi 258 fi
221 259
222 if test x$as_have_required = xno; then : 260 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system." 262 $as_echo "$0: the shells that I found on your system."
312 } 350 }
313 s/.*/./; q'` 351 s/.*/./; q'`
314 test -d "$as_dir" && break 352 test -d "$as_dir" && break
315 done 353 done
316 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
318 356
319 357
320 } # as_fn_mkdir_p 358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
364 {
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
321 # as_fn_append VAR VALUE 367 # as_fn_append VAR VALUE
322 # ---------------------- 368 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take 369 # 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 370 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive 371 # repeated appends, instead of the typical quadratic growth present in naive
352 as_val=`expr "$@" || test $? -eq 1` 398 as_val=`expr "$@" || test $? -eq 1`
353 } 399 }
354 fi # as_fn_arith 400 fi # as_fn_arith
355 401
356 402
357 # as_fn_error ERROR [LINENO LOG_FD] 403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
358 # --------------------------------- 404 # ----------------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405 # 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 406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0. 407 # script with STATUS, using 1 if that was 0.
362 as_fn_error () 408 as_fn_error ()
363 { 409 {
364 as_status=$?; test $as_status -eq 0 && as_status=1 410 as_status=$1; test $as_status -eq 0 && as_status=1
365 if test "$3"; then 411 if test "$4"; then
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
368 fi 414 fi
369 $as_echo "$as_me: error: $1" >&2 415 $as_echo "$as_me: error: $2" >&2
370 as_fn_exit $as_status 416 as_fn_exit $as_status
371 } # as_fn_error 417 } # as_fn_error
372 418
373 if expr a : '\(a\)' >/dev/null 2>&1 && 419 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 s/-\n.*// 483 s/-\n.*//
438 ' >$as_me.lineno && 484 ' >$as_me.lineno &&
439 chmod +x "$as_me.lineno" || 485 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; } 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
442 # Don't try to exec as it changes $[0], causing all sort of problems 492 # 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 493 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this). 494 # original and so on. Autoconf is especially sensitive to this).
445 . "./$as_me.lineno" 495 . "./$as_me.lineno"
446 # Exit status is that of the last command. 496 # Exit status is that of the last command.
471 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then
472 as_ln_s='ln -s' 522 as_ln_s='ln -s'
473 # ... but there are two gotchas: 523 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 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. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'. 526 # In both cases, we have to default to `cp -pR'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478 as_ln_s='cp -p' 528 as_ln_s='cp -pR'
479 elif ln conf$$.file conf$$ 2>/dev/null; then 529 elif ln conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s=ln 530 as_ln_s=ln
481 else 531 else
482 as_ln_s='cp -p' 532 as_ln_s='cp -pR'
483 fi 533 fi
484 else 534 else
485 as_ln_s='cp -p' 535 as_ln_s='cp -pR'
486 fi 536 fi
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null 538 rmdir conf$$.dir 2>/dev/null
489 539
490 if mkdir -p . 2>/dev/null; then 540 if mkdir -p . 2>/dev/null; then
492 else 542 else
493 test -d ./-p && rmdir ./-p 543 test -d ./-p && rmdir ./-p
494 as_mkdir_p=false 544 as_mkdir_p=false
495 fi 545 fi
496 546
497 if test -x / >/dev/null 2>&1; then 547 as_test_x='test -x'
498 as_test_x='test -x' 548 as_executable_p=as_fn_executable_p
499 else
500 if ls -dL / >/dev/null 2>&1; then
501 as_ls_L_option=L
502 else
503 as_ls_L_option=
504 fi
505 as_test_x='
506 eval sh -c '\''
507 if test -d "$1"; then
508 test -d "$1/.";
509 else
510 case $1 in #(
511 -*)set "./$1";;
512 esac;
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
515 '\'' sh
516 '
517 fi
518 as_executable_p=$as_test_x
519 549
520 # Sed expression to map a string onto a valid CPP name. 550 # 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'" 551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 552
523 # Sed expression to map a string onto a valid variable name. 553 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525 555
526 556
527 exec 7<&0 </dev/null 6>&1 557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
528 559
529 # Name of the host. 560 # Name of the host.
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
531 # so uname gets run too. 562 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
533 564
534 # 565 #
535 # Initializations. 566 # Initializations.
669 SHELL' 700 SHELL'
670 ac_subst_files='' 701 ac_subst_files=''
671 ac_user_opts=' 702 ac_user_opts='
672 enable_option_checking 703 enable_option_checking
673 with_build_libsubdir 704 with_build_libsubdir
705 enable_version_specific_runtime_libs
674 enable_maintainer_mode 706 enable_maintainer_mode
707 with_toolexeclibdir
675 enable_multilib 708 enable_multilib
676 enable_shared 709 enable_shared
677 with_system_libunwind 710 with_system_libunwind
678 with_gcc_major_version_only 711 with_gcc_major_version_only
679 ' 712 '
742 ac_prev= 775 ac_prev=
743 continue 776 continue
744 fi 777 fi
745 778
746 case $ac_option in 779 case $ac_option in
747 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 780 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
748 *) ac_optarg=yes ;; 781 *=) ac_optarg= ;;
782 *) ac_optarg=yes ;;
749 esac 783 esac
750 784
751 # Accept the important Cygnus configure options, so we can diagnose typos. 785 # Accept the important Cygnus configure options, so we can diagnose typos.
752 786
753 case $ac_dashdash$ac_option in 787 case $ac_dashdash$ac_option in
788 822
789 -disable-* | --disable-*) 823 -disable-* | --disable-*)
790 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 824 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
791 # Reject names that are not valid shell variable names. 825 # Reject names that are not valid shell variable names.
792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
793 as_fn_error "invalid feature name: $ac_useropt" 827 as_fn_error $? "invalid feature name: $ac_useropt"
794 ac_useropt_orig=$ac_useropt 828 ac_useropt_orig=$ac_useropt
795 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 829 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in 830 case $ac_user_opts in
797 *" 831 *"
798 "enable_$ac_useropt" 832 "enable_$ac_useropt"
814 848
815 -enable-* | --enable-*) 849 -enable-* | --enable-*)
816 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 850 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names. 851 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819 as_fn_error "invalid feature name: $ac_useropt" 853 as_fn_error $? "invalid feature name: $ac_useropt"
820 ac_useropt_orig=$ac_useropt 854 ac_useropt_orig=$ac_useropt
821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in 856 case $ac_user_opts in
823 *" 857 *"
824 "enable_$ac_useropt" 858 "enable_$ac_useropt"
1018 1052
1019 -with-* | --with-*) 1053 -with-* | --with-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1054 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names. 1055 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error "invalid package name: $ac_useropt" 1057 as_fn_error $? "invalid package name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt 1058 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in 1060 case $ac_user_opts in
1027 *" 1061 *"
1028 "with_$ac_useropt" 1062 "with_$ac_useropt"
1034 1068
1035 -without-* | --without-*) 1069 -without-* | --without-*)
1036 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1070 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names. 1071 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039 as_fn_error "invalid package name: $ac_useropt" 1073 as_fn_error $? "invalid package name: $ac_useropt"
1040 ac_useropt_orig=$ac_useropt 1074 ac_useropt_orig=$ac_useropt
1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in 1076 case $ac_user_opts in
1043 *" 1077 *"
1044 "with_$ac_useropt" 1078 "with_$ac_useropt"
1064 ac_prev=x_libraries ;; 1098 ac_prev=x_libraries ;;
1065 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1099 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1066 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1100 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1067 x_libraries=$ac_optarg ;; 1101 x_libraries=$ac_optarg ;;
1068 1102
1069 -*) as_fn_error "unrecognized option: \`$ac_option' 1103 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1070 Try \`$0 --help' for more information." 1104 Try \`$0 --help' for more information"
1071 ;; 1105 ;;
1072 1106
1073 *=*) 1107 *=*)
1074 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1108 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names. 1109 # Reject names that are not valid shell variable names.
1076 case $ac_envvar in #( 1110 case $ac_envvar in #(
1077 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1111 '' | [0-9]* | *[!_$as_cr_alnum]* )
1078 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1112 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1079 esac 1113 esac
1080 eval $ac_envvar=\$ac_optarg 1114 eval $ac_envvar=\$ac_optarg
1081 export $ac_envvar ;; 1115 export $ac_envvar ;;
1082 1116
1083 *) 1117 *)
1084 # FIXME: should be removed in autoconf 3.0. 1118 # FIXME: should be removed in autoconf 3.0.
1085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1119 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1120 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1121 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1088 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1122 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1089 ;; 1123 ;;
1090 1124
1091 esac 1125 esac
1092 done 1126 done
1093 1127
1094 if test -n "$ac_prev"; then 1128 if test -n "$ac_prev"; then
1095 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1129 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1096 as_fn_error "missing argument to $ac_option" 1130 as_fn_error $? "missing argument to $ac_option"
1097 fi 1131 fi
1098 1132
1099 if test -n "$ac_unrecognized_opts"; then 1133 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in 1134 case $enable_option_checking in
1101 no) ;; 1135 no) ;;
1102 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1136 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1137 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1104 esac 1138 esac
1105 fi 1139 fi
1106 1140
1107 # Check all directory arguments for consistency. 1141 # Check all directory arguments for consistency.
1120 # Be sure to have absolute directory names. 1154 # Be sure to have absolute directory names.
1121 case $ac_val in 1155 case $ac_val in
1122 [\\/$]* | ?:[\\/]* ) continue;; 1156 [\\/$]* | ?:[\\/]* ) continue;;
1123 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1157 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1124 esac 1158 esac
1125 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1159 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1126 done 1160 done
1127 1161
1128 # There might be people who depend on the old broken behavior: `$host' 1162 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc. 1163 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day. 1164 # FIXME: To remove some day.
1134 1168
1135 # FIXME: To remove some day. 1169 # FIXME: To remove some day.
1136 if test "x$host_alias" != x; then 1170 if test "x$host_alias" != x; then
1137 if test "x$build_alias" = x; then 1171 if test "x$build_alias" = x; then
1138 cross_compiling=maybe 1172 cross_compiling=maybe
1139 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1140 If a cross compiler is detected then cross compile mode will be used." >&2
1141 elif test "x$build_alias" != "x$host_alias"; then 1173 elif test "x$build_alias" != "x$host_alias"; then
1142 cross_compiling=yes 1174 cross_compiling=yes
1143 fi 1175 fi
1144 fi 1176 fi
1145 1177
1150 1182
1151 1183
1152 ac_pwd=`pwd` && test -n "$ac_pwd" && 1184 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1153 ac_ls_di=`ls -di .` && 1185 ac_ls_di=`ls -di .` &&
1154 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1186 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1155 as_fn_error "working directory cannot be determined" 1187 as_fn_error $? "working directory cannot be determined"
1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1188 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157 as_fn_error "pwd does not report name of working directory" 1189 as_fn_error $? "pwd does not report name of working directory"
1158 1190
1159 1191
1160 # Find the source files, if location was not specified. 1192 # Find the source files, if location was not specified.
1161 if test -z "$srcdir"; then 1193 if test -z "$srcdir"; then
1162 ac_srcdir_defaulted=yes 1194 ac_srcdir_defaulted=yes
1191 else 1223 else
1192 ac_srcdir_defaulted=no 1224 ac_srcdir_defaulted=no
1193 fi 1225 fi
1194 if test ! -r "$srcdir/$ac_unique_file"; then 1226 if test ! -r "$srcdir/$ac_unique_file"; then
1195 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1227 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1196 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1228 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1197 fi 1229 fi
1198 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1230 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1199 ac_abs_confdir=`( 1231 ac_abs_confdir=`(
1200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1232 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1201 pwd)` 1233 pwd)`
1202 # When building in place, set srcdir=. 1234 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then 1235 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204 srcdir=. 1236 srcdir=.
1205 fi 1237 fi
1235 Configuration: 1267 Configuration:
1236 -h, --help display this help and exit 1268 -h, --help display this help and exit
1237 --help=short display options specific to this package 1269 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages 1270 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit 1271 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking...' messages 1272 -q, --quiet, --silent do not print \`checking ...' messages
1241 --cache-file=FILE cache test results in FILE [disabled] 1273 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache' 1274 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files 1275 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1276 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1245 1277
1293 1325
1294 Optional Features: 1326 Optional Features:
1295 --disable-option-checking ignore unrecognized --enable/--with options 1327 --disable-option-checking ignore unrecognized --enable/--with options
1296 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1328 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1297 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1329 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1330 --enable-version-specific-runtime-libs
1331 specify that runtime libraries should be installed
1332 in a compiler-specific directory
1298 --enable-maintainer-mode 1333 --enable-maintainer-mode
1299 enable make rules and dependencies not useful (and 1334 enable make rules and dependencies not useful (and
1300 sometimes confusing) to the casual installer 1335 sometimes confusing) to the casual installer
1301 --enable-multilib build many library versions (default) 1336 --enable-multilib build many library versions (default)
1302 --disable-shared don't provide a shared libgnat 1337 --disable-shared don't provide a shared libgnat
1303 1338
1304 Optional Packages: 1339 Optional Packages:
1305 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1340 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1306 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1341 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1307 --with-build-libsubdir=DIR Directory where to find libraries for build system 1342 --with-build-libsubdir=DIR Directory where to find libraries for build system
1343 --with-toolexeclibdir=DIR
1344 install libraries built with a cross compiler within
1345 DIR
1308 --with-system-libunwind use installed libunwind 1346 --with-system-libunwind use installed libunwind
1309 --with-gcc-major-version-only 1347 --with-gcc-major-version-only
1310 use only GCC major number in filesystem paths 1348 use only GCC major number in filesystem paths
1311 1349
1312 Some influential environment variables: 1350 Some influential environment variables:
1313 CC C compiler command 1351 CC C compiler command
1314 CFLAGS C compiler flags 1352 CFLAGS C compiler flags
1315 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1353 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1316 nonstandard directory <lib dir> 1354 nonstandard directory <lib dir>
1317 LIBS libraries to pass to the linker, e.g. -l<library> 1355 LIBS libraries to pass to the linker, e.g. -l<library>
1318 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1356 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1319 you have headers in a nonstandard directory <include dir> 1357 you have headers in a nonstandard directory <include dir>
1320 CPP C preprocessor 1358 CPP C preprocessor
1321 1359
1322 Use these variables to override the choices made by `configure' or to help 1360 Use these variables to override the choices made by `configure' or to help
1323 it to find libraries and programs with nonstandard names/locations. 1361 it to find libraries and programs with nonstandard names/locations.
1384 1422
1385 test -n "$ac_init_help" && exit $ac_status 1423 test -n "$ac_init_help" && exit $ac_status
1386 if $ac_init_version; then 1424 if $ac_init_version; then
1387 cat <<\_ACEOF 1425 cat <<\_ACEOF
1388 configure 1426 configure
1389 generated by GNU Autoconf 2.64 1427 generated by GNU Autoconf 2.69
1390 1428
1391 Copyright (C) 2009 Free Software Foundation, Inc. 1429 Copyright (C) 2012 Free Software Foundation, Inc.
1392 This configure script is free software; the Free Software Foundation 1430 This configure script is free software; the Free Software Foundation
1393 gives unlimited permission to copy, distribute and modify it. 1431 gives unlimited permission to copy, distribute and modify it.
1394 _ACEOF 1432 _ACEOF
1395 exit 1433 exit
1396 fi 1434 fi
1430 $as_echo "$as_me: failed program was:" >&5 1468 $as_echo "$as_me: failed program was:" >&5
1431 sed 's/^/| /' conftest.$ac_ext >&5 1469 sed 's/^/| /' conftest.$ac_ext >&5
1432 1470
1433 ac_retval=1 1471 ac_retval=1
1434 fi 1472 fi
1435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1436 return $ac_retval 1474 as_fn_set_status $ac_retval
1437 1475
1438 } # ac_fn_c_try_compile 1476 } # ac_fn_c_try_compile
1439 1477
1440 # ac_fn_c_try_cpp LINENO 1478 # ac_fn_c_try_cpp LINENO
1441 # ---------------------- 1479 # ----------------------
1456 grep -v '^ *+' conftest.err >conftest.er1 1494 grep -v '^ *+' conftest.err >conftest.er1
1457 cat conftest.er1 >&5 1495 cat conftest.er1 >&5
1458 mv -f conftest.er1 conftest.err 1496 mv -f conftest.er1 conftest.err
1459 fi 1497 fi
1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461 test $ac_status = 0; } >/dev/null && { 1499 test $ac_status = 0; } > conftest.i && {
1462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1463 test ! -s conftest.err 1501 test ! -s conftest.err
1464 }; then : 1502 }; then :
1465 ac_retval=0 1503 ac_retval=0
1466 else 1504 else
1467 $as_echo "$as_me: failed program was:" >&5 1505 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.$ac_ext >&5 1506 sed 's/^/| /' conftest.$ac_ext >&5
1469 1507
1470 ac_retval=1 1508 ac_retval=1
1471 fi 1509 fi
1472 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1473 return $ac_retval 1511 as_fn_set_status $ac_retval
1474 1512
1475 } # ac_fn_c_try_cpp 1513 } # ac_fn_c_try_cpp
1476 1514
1477 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1515 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1478 # ------------------------------------------------------- 1516 # -------------------------------------------------------
1480 # the include files in INCLUDES and setting the cache variable VAR 1518 # the include files in INCLUDES and setting the cache variable VAR
1481 # accordingly. 1519 # accordingly.
1482 ac_fn_c_check_header_mongrel () 1520 ac_fn_c_check_header_mongrel ()
1483 { 1521 {
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1523 if eval \${$3+:} false; then :
1486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1487 $as_echo_n "checking for $2... " >&6; } 1525 $as_echo_n "checking for $2... " >&6; }
1488 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1526 if eval \${$3+:} false; then :
1489 $as_echo_n "(cached) " >&6 1527 $as_echo_n "(cached) " >&6
1490 fi 1528 fi
1491 eval ac_res=\$$3 1529 eval ac_res=\$$3
1492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1493 $as_echo "$ac_res" >&6; } 1531 $as_echo "$ac_res" >&6; }
1519 if ac_fn_c_try_cpp "$LINENO"; then : 1557 if ac_fn_c_try_cpp "$LINENO"; then :
1520 ac_header_preproc=yes 1558 ac_header_preproc=yes
1521 else 1559 else
1522 ac_header_preproc=no 1560 ac_header_preproc=no
1523 fi 1561 fi
1524 rm -f conftest.err conftest.$ac_ext 1562 rm -f conftest.err conftest.i conftest.$ac_ext
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1526 $as_echo "$ac_header_preproc" >&6; } 1564 $as_echo "$ac_header_preproc" >&6; }
1527 1565
1528 # So? What about this header? 1566 # So? What about this header?
1529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1546 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1584 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1547 ;; 1585 ;;
1548 esac 1586 esac
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1550 $as_echo_n "checking for $2... " >&6; } 1588 $as_echo_n "checking for $2... " >&6; }
1551 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1589 if eval \${$3+:} false; then :
1552 $as_echo_n "(cached) " >&6 1590 $as_echo_n "(cached) " >&6
1553 else 1591 else
1554 eval "$3=\$ac_header_compiler" 1592 eval "$3=\$ac_header_compiler"
1555 fi 1593 fi
1556 eval ac_res=\$$3 1594 eval ac_res=\$$3
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1558 $as_echo "$ac_res" >&6; } 1596 $as_echo "$ac_res" >&6; }
1559 fi 1597 fi
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561 1599
1562 } # ac_fn_c_check_header_mongrel 1600 } # ac_fn_c_check_header_mongrel
1563 1601
1564 # ac_fn_c_try_run LINENO 1602 # ac_fn_c_try_run LINENO
1565 # ---------------------- 1603 # ----------------------
1596 sed 's/^/| /' conftest.$ac_ext >&5 1634 sed 's/^/| /' conftest.$ac_ext >&5
1597 1635
1598 ac_retval=$ac_status 1636 ac_retval=$ac_status
1599 fi 1637 fi
1600 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1638 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1601 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602 return $ac_retval 1640 as_fn_set_status $ac_retval
1603 1641
1604 } # ac_fn_c_try_run 1642 } # ac_fn_c_try_run
1605 1643
1606 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1644 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1607 # ------------------------------------------------------- 1645 # -------------------------------------------------------
1610 ac_fn_c_check_header_compile () 1648 ac_fn_c_check_header_compile ()
1611 { 1649 {
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; } 1652 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1653 if eval \${$3+:} false; then :
1616 $as_echo_n "(cached) " >&6 1654 $as_echo_n "(cached) " >&6
1617 else 1655 else
1618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1619 /* end confdefs.h. */ 1657 /* end confdefs.h. */
1620 $4 1658 $4
1628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1629 fi 1667 fi
1630 eval ac_res=\$$3 1668 eval ac_res=\$$3
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; } 1670 $as_echo "$ac_res" >&6; }
1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634 1672
1635 } # ac_fn_c_check_header_compile 1673 } # ac_fn_c_check_header_compile
1636 cat >config.log <<_ACEOF 1674 cat >config.log <<_ACEOF
1637 This file contains any messages produced by compilers while 1675 This file contains any messages produced by compilers while
1638 running configure, to aid debugging if configure makes a mistake. 1676 running configure, to aid debugging if configure makes a mistake.
1639 1677
1640 It was created by $as_me, which was 1678 It was created by $as_me, which was
1641 generated by GNU Autoconf 2.64. Invocation command line was 1679 generated by GNU Autoconf 2.69. Invocation command line was
1642 1680
1643 $ $0 $@ 1681 $ $0 $@
1644 1682
1645 _ACEOF 1683 _ACEOF
1646 exec 5>>config.log 1684 exec 5>>config.log
1746 trap 'exit_status=$? 1784 trap 'exit_status=$?
1747 # Save into config.log some information that might help in debugging. 1785 # Save into config.log some information that might help in debugging.
1748 { 1786 {
1749 echo 1787 echo
1750 1788
1751 cat <<\_ASBOX 1789 $as_echo "## ---------------- ##
1752 ## ---------------- ##
1753 ## Cache variables. ## 1790 ## Cache variables. ##
1754 ## ---------------- ## 1791 ## ---------------- ##"
1755 _ASBOX
1756 echo 1792 echo
1757 # The following way of writing the cache mishandles newlines in values, 1793 # The following way of writing the cache mishandles newlines in values,
1758 ( 1794 (
1759 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1795 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1760 eval ac_val=\$$ac_var 1796 eval ac_val=\$$ac_var
1784 esac | 1820 esac |
1785 sort 1821 sort
1786 ) 1822 )
1787 echo 1823 echo
1788 1824
1789 cat <<\_ASBOX 1825 $as_echo "## ----------------- ##
1790 ## ----------------- ##
1791 ## Output variables. ## 1826 ## Output variables. ##
1792 ## ----------------- ## 1827 ## ----------------- ##"
1793 _ASBOX
1794 echo 1828 echo
1795 for ac_var in $ac_subst_vars 1829 for ac_var in $ac_subst_vars
1796 do 1830 do
1797 eval ac_val=\$$ac_var 1831 eval ac_val=\$$ac_var
1798 case $ac_val in 1832 case $ac_val in
1801 $as_echo "$ac_var='\''$ac_val'\''" 1835 $as_echo "$ac_var='\''$ac_val'\''"
1802 done | sort 1836 done | sort
1803 echo 1837 echo
1804 1838
1805 if test -n "$ac_subst_files"; then 1839 if test -n "$ac_subst_files"; then
1806 cat <<\_ASBOX 1840 $as_echo "## ------------------- ##
1807 ## ------------------- ##
1808 ## File substitutions. ## 1841 ## File substitutions. ##
1809 ## ------------------- ## 1842 ## ------------------- ##"
1810 _ASBOX
1811 echo 1843 echo
1812 for ac_var in $ac_subst_files 1844 for ac_var in $ac_subst_files
1813 do 1845 do
1814 eval ac_val=\$$ac_var 1846 eval ac_val=\$$ac_var
1815 case $ac_val in 1847 case $ac_val in
1819 done | sort 1851 done | sort
1820 echo 1852 echo
1821 fi 1853 fi
1822 1854
1823 if test -s confdefs.h; then 1855 if test -s confdefs.h; then
1824 cat <<\_ASBOX 1856 $as_echo "## ----------- ##
1825 ## ----------- ##
1826 ## confdefs.h. ## 1857 ## confdefs.h. ##
1827 ## ----------- ## 1858 ## ----------- ##"
1828 _ASBOX
1829 echo 1859 echo
1830 cat confdefs.h 1860 cat confdefs.h
1831 echo 1861 echo
1832 fi 1862 fi
1833 test "$ac_signal" != 0 && 1863 test "$ac_signal" != 0 &&
1878 # Let the site file select an alternate cache file if it wants to. 1908 # Let the site file select an alternate cache file if it wants to.
1879 # Prefer an explicitly selected file to automatically selected ones. 1909 # Prefer an explicitly selected file to automatically selected ones.
1880 ac_site_file1=NONE 1910 ac_site_file1=NONE
1881 ac_site_file2=NONE 1911 ac_site_file2=NONE
1882 if test -n "$CONFIG_SITE"; then 1912 if test -n "$CONFIG_SITE"; then
1883 ac_site_file1=$CONFIG_SITE 1913 # We do not want a PATH search for config.site.
1914 case $CONFIG_SITE in #((
1915 -*) ac_site_file1=./$CONFIG_SITE;;
1916 */*) ac_site_file1=$CONFIG_SITE;;
1917 *) ac_site_file1=./$CONFIG_SITE;;
1918 esac
1884 elif test "x$prefix" != xNONE; then 1919 elif test "x$prefix" != xNONE; then
1885 ac_site_file1=$prefix/share/config.site 1920 ac_site_file1=$prefix/share/config.site
1886 ac_site_file2=$prefix/etc/config.site 1921 ac_site_file2=$prefix/etc/config.site
1887 else 1922 else
1888 ac_site_file1=$ac_default_prefix/share/config.site 1923 ac_site_file1=$ac_default_prefix/share/config.site
1889 ac_site_file2=$ac_default_prefix/etc/config.site 1924 ac_site_file2=$ac_default_prefix/etc/config.site
1890 fi 1925 fi
1891 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1926 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1892 do 1927 do
1893 test "x$ac_site_file" = xNONE && continue 1928 test "x$ac_site_file" = xNONE && continue
1894 if test -r "$ac_site_file"; then 1929 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1930 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1896 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1931 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1897 sed 's/^/| /' "$ac_site_file" >&5 1932 sed 's/^/| /' "$ac_site_file" >&5
1898 . "$ac_site_file" 1933 . "$ac_site_file" \
1934 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1936 as_fn_error $? "failed to load site script $ac_site_file
1937 See \`config.log' for more details" "$LINENO" 5; }
1899 fi 1938 fi
1900 done 1939 done
1901 1940
1902 if test -r "$cache_file"; then 1941 if test -r "$cache_file"; then
1903 # Some versions of bash will fail to source /dev/null (special 1942 # Some versions of bash will fail to source /dev/null (special files
1904 # files actually), so we avoid doing that. 1943 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1905 if test -f "$cache_file"; then 1944 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1945 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1907 $as_echo "$as_me: loading cache $cache_file" >&6;} 1946 $as_echo "$as_me: loading cache $cache_file" >&6;}
1908 case $cache_file in 1947 case $cache_file in
1909 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1948 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1910 *) . "./$cache_file";; 1949 *) . "./$cache_file";;
1969 if $ac_cache_corrupted; then 2008 if $ac_cache_corrupted; then
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2009 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2011 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1973 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2012 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1974 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2013 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1975 fi 2014 fi
1976 ## -------------------- ## 2015 ## -------------------- ##
1977 ## Main body of script. ## 2016 ## Main body of script. ##
1978 ## -------------------- ## 2017 ## -------------------- ##
1979 2018
1988 2027
1989 2028
1990 2029
1991 2030
1992 2031
1993
1994 # Determine the host, build, and target systems 2032 # Determine the host, build, and target systems
1995 ac_aux_dir= 2033 ac_aux_dir=
1996 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2034 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1997 for ac_t in install-sh install.sh shtool; do 2035 if test -f "$ac_dir/install-sh"; then
1998 if test -f "$ac_dir/$ac_t"; then 2036 ac_aux_dir=$ac_dir
1999 ac_aux_dir=$ac_dir 2037 ac_install_sh="$ac_aux_dir/install-sh -c"
2000 ac_install_sh="$ac_aux_dir/$ac_t -c" 2038 break
2001 break 2 2039 elif test -f "$ac_dir/install.sh"; then
2002 fi 2040 ac_aux_dir=$ac_dir
2003 done 2041 ac_install_sh="$ac_aux_dir/install.sh -c"
2042 break
2043 elif test -f "$ac_dir/shtool"; then
2044 ac_aux_dir=$ac_dir
2045 ac_install_sh="$ac_aux_dir/shtool install -c"
2046 break
2047 fi
2004 done 2048 done
2005 if test -z "$ac_aux_dir"; then 2049 if test -z "$ac_aux_dir"; then
2006 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2050 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2007 fi 2051 fi
2008 2052
2009 # These three variables are undocumented and unsupported, 2053 # These three variables are undocumented and unsupported,
2010 # and are intended to be withdrawn in a future Autoconf release. 2054 # and are intended to be withdrawn in a future Autoconf release.
2011 # They can cause serious problems if a builder's source tree is in a directory 2055 # They can cause serious problems if a builder's source tree is in a directory
2015 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2059 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2016 2060
2017 2061
2018 # Make sure we can run config.sub. 2062 # Make sure we can run config.sub.
2019 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2063 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2020 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2064 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2021 2065
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2023 $as_echo_n "checking build system type... " >&6; } 2067 $as_echo_n "checking build system type... " >&6; }
2024 if test "${ac_cv_build+set}" = set; then : 2068 if ${ac_cv_build+:} false; then :
2025 $as_echo_n "(cached) " >&6 2069 $as_echo_n "(cached) " >&6
2026 else 2070 else
2027 ac_build_alias=$build_alias 2071 ac_build_alias=$build_alias
2028 test "x$ac_build_alias" = x && 2072 test "x$ac_build_alias" = x &&
2029 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2073 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2030 test "x$ac_build_alias" = x && 2074 test "x$ac_build_alias" = x &&
2031 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2075 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2076 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2033 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2077 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2034 2078
2035 fi 2079 fi
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2037 $as_echo "$ac_cv_build" >&6; } 2081 $as_echo "$ac_cv_build" >&6; }
2038 case $ac_cv_build in 2082 case $ac_cv_build in
2039 *-*-*) ;; 2083 *-*-*) ;;
2040 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2084 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2041 esac 2085 esac
2042 build=$ac_cv_build 2086 build=$ac_cv_build
2043 ac_save_IFS=$IFS; IFS='-' 2087 ac_save_IFS=$IFS; IFS='-'
2044 set x $ac_cv_build 2088 set x $ac_cv_build
2045 shift 2089 shift
2053 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2097 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2054 2098
2055 2099
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2057 $as_echo_n "checking host system type... " >&6; } 2101 $as_echo_n "checking host system type... " >&6; }
2058 if test "${ac_cv_host+set}" = set; then : 2102 if ${ac_cv_host+:} false; then :
2059 $as_echo_n "(cached) " >&6 2103 $as_echo_n "(cached) " >&6
2060 else 2104 else
2061 if test "x$host_alias" = x; then 2105 if test "x$host_alias" = x; then
2062 ac_cv_host=$ac_cv_build 2106 ac_cv_host=$ac_cv_build
2063 else 2107 else
2064 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2108 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2065 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2109 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2066 fi 2110 fi
2067 2111
2068 fi 2112 fi
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2070 $as_echo "$ac_cv_host" >&6; } 2114 $as_echo "$ac_cv_host" >&6; }
2071 case $ac_cv_host in 2115 case $ac_cv_host in
2072 *-*-*) ;; 2116 *-*-*) ;;
2073 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2117 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2074 esac 2118 esac
2075 host=$ac_cv_host 2119 host=$ac_cv_host
2076 ac_save_IFS=$IFS; IFS='-' 2120 ac_save_IFS=$IFS; IFS='-'
2077 set x $ac_cv_host 2121 set x $ac_cv_host
2078 shift 2122 shift
2086 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2130 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2087 2131
2088 2132
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2090 $as_echo_n "checking target system type... " >&6; } 2134 $as_echo_n "checking target system type... " >&6; }
2091 if test "${ac_cv_target+set}" = set; then : 2135 if ${ac_cv_target+:} false; then :
2092 $as_echo_n "(cached) " >&6 2136 $as_echo_n "(cached) " >&6
2093 else 2137 else
2094 if test "x$target_alias" = x; then 2138 if test "x$target_alias" = x; then
2095 ac_cv_target=$ac_cv_host 2139 ac_cv_target=$ac_cv_host
2096 else 2140 else
2097 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2141 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2098 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2142 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2099 fi 2143 fi
2100 2144
2101 fi 2145 fi
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2103 $as_echo "$ac_cv_target" >&6; } 2147 $as_echo "$ac_cv_target" >&6; }
2104 case $ac_cv_target in 2148 case $ac_cv_target in
2105 *-*-*) ;; 2149 *-*-*) ;;
2106 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2150 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2107 esac 2151 esac
2108 target=$ac_cv_target 2152 target=$ac_cv_target
2109 ac_save_IFS=$IFS; IFS='-' 2153 ac_save_IFS=$IFS; IFS='-'
2110 set x $ac_cv_target 2154 set x $ac_cv_target
2111 shift 2155 shift
2177 # No prefix. 2221 # No prefix.
2178 target_subdir=${target_noncanonical} 2222 target_subdir=${target_noncanonical}
2179 2223
2180 2224
2181 # Command-line options. 2225 # Command-line options.
2226
2227 # Check whether --enable-version-specific-runtime-libs was given.
2228 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2229 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2230 yes|no)
2231 ;;
2232 *)
2233 as_fn_error $? "--enable-version-specific-runtime-libs must be yes or no" "$LINENO" 5
2234 ;;
2235 esac
2236 else
2237 enable_version_specific_runtime_libs=yes
2238
2239 fi
2240
2241
2182 # Very limited version of AC_MAINTAINER_MODE. 2242 # Very limited version of AC_MAINTAINER_MODE.
2183 # Check whether --enable-maintainer-mode was given. 2243 # Check whether --enable-maintainer-mode was given.
2184 if test "${enable_maintainer_mode+set}" = set; then : 2244 if test "${enable_maintainer_mode+set}" = set; then :
2185 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in 2245 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2186 yes) MAINT='' ;; 2246 yes) MAINT='' ;;
2187 no) MAINT='#' ;; 2247 no) MAINT='#' ;;
2188 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;; 2248 *) as_fn_error $? "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2189 esac 2249 esac
2190 maintainer_mode=${enableval} 2250 maintainer_mode=${enableval}
2191 else 2251 else
2192 MAINT='#' 2252 MAINT='#'
2193 fi 2253 fi
2254
2255
2256
2257 # Check whether --with-toolexeclibdir was given.
2258 if test "${with_toolexeclibdir+set}" = set; then :
2259 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
2260 /)
2261 ;;
2262 */)
2263 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
2264 ;;
2265 esac
2266 else
2267 with_toolexeclibdir=no
2268 fi
2269
2194 2270
2195 2271
2196 # Default to --enable-multilib 2272 # Default to --enable-multilib
2197 # Check whether --enable-multilib was given. 2273 # Check whether --enable-multilib was given.
2198 if test "${enable_multilib+set}" = set; then : 2274 if test "${enable_multilib+set}" = set; then :
2199 enableval=$enable_multilib; case "$enableval" in 2275 enableval=$enable_multilib; case "$enableval" in
2200 yes) multilib=yes ;; 2276 yes) multilib=yes ;;
2201 no) multilib=no ;; 2277 no) multilib=no ;;
2202 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;; 2278 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2203 esac 2279 esac
2204 else 2280 else
2205 multilib=yes 2281 multilib=yes
2206 fi 2282 fi
2207 2283
2235 case ${enable_version_specific_runtime_libs} in 2311 case ${enable_version_specific_runtime_libs} in
2236 yes) 2312 yes)
2237 # Need the gcc compiler version to know where to install libraries 2313 # Need the gcc compiler version to know where to install libraries
2238 # and header files if --enable-version-specific-runtime-libs option 2314 # and header files if --enable-version-specific-runtime-libs option
2239 # is selected. 2315 # is selected.
2240 toolexecdir='$(libdir)/gcc/$(target_alias)' 2316 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2241 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)' 2317 toolexeclibdir='$(toolexecdir)/$(version)$(MULTISUBDIR)/adalib'
2242 ;; 2318 ;;
2243 no) 2319 no)
2244 if test -n "$with_cross_host" && 2320 if test -n "$with_cross_host" &&
2245 test x"$with_cross_host" != x"no"; then 2321 test x"$with_cross_host" != x"no"; then
2246 # Install a library built with a cross compiler in tooldir, not libdir. 2322 # Install a library built with a cross compiler in tooldir, not libdir.
2247 toolexecdir='$(exec_prefix)/$(target_alias)' 2323 toolexecdir='$(exec_prefix)/$(target_alias)'
2248 toolexeclibdir='$(toolexecdir)/lib' 2324 case ${with_toolexeclibdir} in
2325 no)
2326 toolexeclibdir='$(toolexecdir)/lib'
2327 ;;
2328 *)
2329 toolexeclibdir=${with_toolexeclibdir}
2330 ;;
2331 esac
2249 else 2332 else
2250 toolexecdir='$(libdir)/gcc-lib/$(target_alias)' 2333 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2251 toolexeclibdir='$(libdir)' 2334 toolexeclibdir='$(libdir)'
2252 fi 2335 fi
2253 multi_os_directory=`$CC -print-multi-os-directory` 2336 multi_os_directory=`$CC -print-multi-os-directory`
2257 esac 2340 esac
2258 ;; 2341 ;;
2259 esac 2342 esac
2260 2343
2261 2344
2262 #TODO: toolexeclibdir is currently disregarded
2263 2345
2264 # Check the compiler. 2346 # Check the compiler.
2265 # The same as in boehm-gc and libstdc++. Have to borrow it from there. 2347 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2266 # We must force CC to /not/ be precious variables; otherwise 2348 # We must force CC to /not/ be precious variables; otherwise
2267 # the wrong, non-multilib-adjusted value will be used in multilibs. 2349 # the wrong, non-multilib-adjusted value will be used in multilibs.
2277 if test -n "$ac_tool_prefix"; then 2359 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2360 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2279 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2361 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2281 $as_echo_n "checking for $ac_word... " >&6; } 2363 $as_echo_n "checking for $ac_word... " >&6; }
2282 if test "${ac_cv_prog_CC+set}" = set; then : 2364 if ${ac_cv_prog_CC+:} false; then :
2283 $as_echo_n "(cached) " >&6 2365 $as_echo_n "(cached) " >&6
2284 else 2366 else
2285 if test -n "$CC"; then 2367 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test. 2368 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else 2369 else
2289 for as_dir in $PATH 2371 for as_dir in $PATH
2290 do 2372 do
2291 IFS=$as_save_IFS 2373 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=. 2374 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do 2375 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2377 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2 2379 break 2
2298 fi 2380 fi
2299 done 2381 done
2317 ac_ct_CC=$CC 2399 ac_ct_CC=$CC
2318 # Extract the first word of "gcc", so it can be a program name with args. 2400 # Extract the first word of "gcc", so it can be a program name with args.
2319 set dummy gcc; ac_word=$2 2401 set dummy gcc; ac_word=$2
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; } 2403 $as_echo_n "checking for $ac_word... " >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2404 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2323 $as_echo_n "(cached) " >&6 2405 $as_echo_n "(cached) " >&6
2324 else 2406 else
2325 if test -n "$ac_ct_CC"; then 2407 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2408 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2327 else 2409 else
2329 for as_dir in $PATH 2411 for as_dir in $PATH
2330 do 2412 do
2331 IFS=$as_save_IFS 2413 IFS=$as_save_IFS
2332 test -z "$as_dir" && as_dir=. 2414 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do 2415 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2335 ac_cv_prog_ac_ct_CC="gcc" 2417 ac_cv_prog_ac_ct_CC="gcc"
2336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 break 2 2419 break 2
2338 fi 2420 fi
2339 done 2421 done
2370 if test -n "$ac_tool_prefix"; then 2452 if test -n "$ac_tool_prefix"; then
2371 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2453 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2372 set dummy ${ac_tool_prefix}cc; ac_word=$2 2454 set dummy ${ac_tool_prefix}cc; ac_word=$2
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2374 $as_echo_n "checking for $ac_word... " >&6; } 2456 $as_echo_n "checking for $ac_word... " >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then : 2457 if ${ac_cv_prog_CC+:} false; then :
2376 $as_echo_n "(cached) " >&6 2458 $as_echo_n "(cached) " >&6
2377 else 2459 else
2378 if test -n "$CC"; then 2460 if test -n "$CC"; then
2379 ac_cv_prog_CC="$CC" # Let the user override the test. 2461 ac_cv_prog_CC="$CC" # Let the user override the test.
2380 else 2462 else
2382 for as_dir in $PATH 2464 for as_dir in $PATH
2383 do 2465 do
2384 IFS=$as_save_IFS 2466 IFS=$as_save_IFS
2385 test -z "$as_dir" && as_dir=. 2467 test -z "$as_dir" && as_dir=.
2386 for ac_exec_ext in '' $ac_executable_extensions; do 2468 for ac_exec_ext in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2388 ac_cv_prog_CC="${ac_tool_prefix}cc" 2470 ac_cv_prog_CC="${ac_tool_prefix}cc"
2389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 break 2 2472 break 2
2391 fi 2473 fi
2392 done 2474 done
2410 if test -z "$CC"; then 2492 if test -z "$CC"; then
2411 # Extract the first word of "cc", so it can be a program name with args. 2493 # Extract the first word of "cc", so it can be a program name with args.
2412 set dummy cc; ac_word=$2 2494 set dummy cc; ac_word=$2
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; } 2496 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_CC+set}" = set; then : 2497 if ${ac_cv_prog_CC+:} false; then :
2416 $as_echo_n "(cached) " >&6 2498 $as_echo_n "(cached) " >&6
2417 else 2499 else
2418 if test -n "$CC"; then 2500 if test -n "$CC"; then
2419 ac_cv_prog_CC="$CC" # Let the user override the test. 2501 ac_cv_prog_CC="$CC" # Let the user override the test.
2420 else 2502 else
2423 for as_dir in $PATH 2505 for as_dir in $PATH
2424 do 2506 do
2425 IFS=$as_save_IFS 2507 IFS=$as_save_IFS
2426 test -z "$as_dir" && as_dir=. 2508 test -z "$as_dir" && as_dir=.
2427 for ac_exec_ext in '' $ac_executable_extensions; do 2509 for ac_exec_ext in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2429 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2511 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2430 ac_prog_rejected=yes 2512 ac_prog_rejected=yes
2431 continue 2513 continue
2432 fi 2514 fi
2433 ac_cv_prog_CC="cc" 2515 ac_cv_prog_CC="cc"
2469 do 2551 do
2470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2552 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2553 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; } 2555 $as_echo_n "checking for $ac_word... " >&6; }
2474 if test "${ac_cv_prog_CC+set}" = set; then : 2556 if ${ac_cv_prog_CC+:} false; then :
2475 $as_echo_n "(cached) " >&6 2557 $as_echo_n "(cached) " >&6
2476 else 2558 else
2477 if test -n "$CC"; then 2559 if test -n "$CC"; then
2478 ac_cv_prog_CC="$CC" # Let the user override the test. 2560 ac_cv_prog_CC="$CC" # Let the user override the test.
2479 else 2561 else
2481 for as_dir in $PATH 2563 for as_dir in $PATH
2482 do 2564 do
2483 IFS=$as_save_IFS 2565 IFS=$as_save_IFS
2484 test -z "$as_dir" && as_dir=. 2566 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do 2567 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2487 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2569 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 break 2 2571 break 2
2490 fi 2572 fi
2491 done 2573 done
2513 do 2595 do
2514 # Extract the first word of "$ac_prog", so it can be a program name with args. 2596 # Extract the first word of "$ac_prog", so it can be a program name with args.
2515 set dummy $ac_prog; ac_word=$2 2597 set dummy $ac_prog; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; } 2599 $as_echo_n "checking for $ac_word... " >&6; }
2518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2600 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2519 $as_echo_n "(cached) " >&6 2601 $as_echo_n "(cached) " >&6
2520 else 2602 else
2521 if test -n "$ac_ct_CC"; then 2603 if test -n "$ac_ct_CC"; then
2522 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2604 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2523 else 2605 else
2525 for as_dir in $PATH 2607 for as_dir in $PATH
2526 do 2608 do
2527 IFS=$as_save_IFS 2609 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=. 2610 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do 2611 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2531 ac_cv_prog_ac_ct_CC="$ac_prog" 2613 ac_cv_prog_ac_ct_CC="$ac_prog"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 break 2 2615 break 2
2534 fi 2616 fi
2535 done 2617 done
2567 fi 2649 fi
2568 2650
2569 2651
2570 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2652 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572 as_fn_error "no acceptable C compiler found in \$PATH 2654 as_fn_error $? "no acceptable C compiler found in \$PATH
2573 See \`config.log' for more details." "$LINENO" 5; } 2655 See \`config.log' for more details" "$LINENO" 5; }
2574 2656
2575 # Provide some information about the compiler. 2657 # Provide some information about the compiler.
2576 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2658 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2577 set X $ac_compile 2659 set X $ac_compile
2578 ac_compiler=$2 2660 ac_compiler=$2
2589 if test -s conftest.err; then 2671 if test -s conftest.err; then
2590 sed '10a\ 2672 sed '10a\
2591 ... rest of stderr output deleted ... 2673 ... rest of stderr output deleted ...
2592 10q' conftest.err >conftest.er1 2674 10q' conftest.err >conftest.er1
2593 cat conftest.er1 >&5 2675 cat conftest.er1 >&5
2594 rm -f conftest.er1 conftest.err
2595 fi 2676 fi
2677 rm -f conftest.er1 conftest.err
2596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597 test $ac_status = 0; } 2679 test $ac_status = 0; }
2598 done 2680 done
2599 2681
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 ; 2689 ;
2608 return 0; 2690 return 0;
2609 } 2691 }
2610 _ACEOF 2692 _ACEOF
2611 ac_clean_files_save=$ac_clean_files 2693 ac_clean_files_save=$ac_clean_files
2612 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 2694 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2613 # Try to create an executable without -o first, disregard a.out. 2695 # Try to create an executable without -o first, disregard a.out.
2614 # It will help us diagnose broken compilers, and finding out an intuition 2696 # It will help us diagnose broken compilers, and finding out an intuition
2615 # of exeext. 2697 # of exeext.
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2617 $as_echo_n "checking for C compiler default output file name... " >&6; } 2699 $as_echo_n "checking whether the C compiler works... " >&6; }
2618 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2700 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2619 2701
2620 # The possible output files: 2702 # The possible output files:
2621 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2703 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2622 2704
2674 test "$ac_cv_exeext" = no && ac_cv_exeext= 2756 test "$ac_cv_exeext" = no && ac_cv_exeext=
2675 2757
2676 else 2758 else
2677 ac_file='' 2759 ac_file=''
2678 fi 2760 fi
2761 if test -z "$ac_file"; then :
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2764 $as_echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.$ac_ext >&5
2766
2767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2769 as_fn_error 77 "C compiler cannot create executables
2770 See \`config.log' for more details" "$LINENO" 5; }
2771 else
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2773 $as_echo "yes" >&6; }
2774 fi
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2776 $as_echo_n "checking for C compiler default output file name... " >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2680 $as_echo "$ac_file" >&6; } 2778 $as_echo "$ac_file" >&6; }
2681 if test -z "$ac_file"; then :
2682 $as_echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2684
2685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2687 { as_fn_set_status 77
2688 as_fn_error "C compiler cannot create executables
2689 See \`config.log' for more details." "$LINENO" 5; }; }
2690 fi
2691 ac_exeext=$ac_cv_exeext 2779 ac_exeext=$ac_cv_exeext
2692 2780
2693 # Check that the compiler produces executables we can run. If not, either 2781 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2694 # the compiler is broken, or we cross compile.
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2696 $as_echo_n "checking whether the C compiler works... " >&6; }
2697 # If not cross compiling, check that we can run a simple program.
2698 if test "$cross_compiling" != yes; then
2699 if { ac_try='./$ac_file'
2700 { { case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2703 esac
2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705 $as_echo "$ac_try_echo"; } >&5
2706 (eval "$ac_try") 2>&5
2707 ac_status=$?
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; }; }; then
2710 cross_compiling=no
2711 else
2712 if test "$cross_compiling" = maybe; then
2713 cross_compiling=yes
2714 else
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error "cannot run C compiled programs.
2718 If you meant to cross compile, use \`--host'.
2719 See \`config.log' for more details." "$LINENO" 5; }
2720 fi
2721 fi
2722 fi
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724 $as_echo "yes" >&6; }
2725
2726 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2727 ac_clean_files=$ac_clean_files_save 2782 ac_clean_files=$ac_clean_files_save
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2731 $as_echo_n "checking whether we are cross compiling... " >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2733 $as_echo "$cross_compiling" >&6; }
2734
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2736 $as_echo_n "checking for suffix of executables... " >&6; } 2784 $as_echo_n "checking for suffix of executables... " >&6; }
2737 if { { ac_try="$ac_link" 2785 if { { ac_try="$ac_link"
2738 case "(($ac_try" in 2786 case "(($ac_try" in
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759 esac 2807 esac
2760 done 2808 done
2761 else 2809 else
2762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2764 as_fn_error "cannot compute suffix of executables: cannot compile and link 2812 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2765 See \`config.log' for more details." "$LINENO" 5; } 2813 See \`config.log' for more details" "$LINENO" 5; }
2766 fi 2814 fi
2767 rm -f conftest$ac_cv_exeext 2815 rm -f conftest conftest$ac_cv_exeext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2769 $as_echo "$ac_cv_exeext" >&6; } 2817 $as_echo "$ac_cv_exeext" >&6; }
2770 2818
2771 rm -f conftest.$ac_ext 2819 rm -f conftest.$ac_ext
2772 EXEEXT=$ac_cv_exeext 2820 EXEEXT=$ac_cv_exeext
2773 ac_exeext=$EXEEXT 2821 ac_exeext=$EXEEXT
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2824 #include <stdio.h>
2825 int
2826 main ()
2827 {
2828 FILE *f = fopen ("conftest.out", "w");
2829 return ferror (f) || fclose (f) != 0;
2830
2831 ;
2832 return 0;
2833 }
2834 _ACEOF
2835 ac_clean_files="$ac_clean_files conftest.out"
2836 # Check that the compiler produces executables we can run. If not, either
2837 # the compiler is broken, or we cross compile.
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2839 $as_echo_n "checking whether we are cross compiling... " >&6; }
2840 if test "$cross_compiling" != yes; then
2841 { { ac_try="$ac_link"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848 (eval "$ac_link") 2>&5
2849 ac_status=$?
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; }
2852 if { ac_try='./conftest$ac_cv_exeext'
2853 { { case "(($ac_try" in
2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2856 esac
2857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858 $as_echo "$ac_try_echo"; } >&5
2859 (eval "$ac_try") 2>&5
2860 ac_status=$?
2861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862 test $ac_status = 0; }; }; then
2863 cross_compiling=no
2864 else
2865 if test "$cross_compiling" = maybe; then
2866 cross_compiling=yes
2867 else
2868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2870 as_fn_error $? "cannot run C compiled programs.
2871 If you meant to cross compile, use \`--host'.
2872 See \`config.log' for more details" "$LINENO" 5; }
2873 fi
2874 fi
2875 fi
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2877 $as_echo "$cross_compiling" >&6; }
2878
2879 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2880 ac_clean_files=$ac_clean_files_save
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2775 $as_echo_n "checking for suffix of object files... " >&6; } 2882 $as_echo_n "checking for suffix of object files... " >&6; }
2776 if test "${ac_cv_objext+set}" = set; then : 2883 if ${ac_cv_objext+:} false; then :
2777 $as_echo_n "(cached) " >&6 2884 $as_echo_n "(cached) " >&6
2778 else 2885 else
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */ 2887 /* end confdefs.h. */
2781 2888
2811 $as_echo "$as_me: failed program was:" >&5 2918 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5 2919 sed 's/^/| /' conftest.$ac_ext >&5
2813 2920
2814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 as_fn_error "cannot compute suffix of object files: cannot compile 2923 as_fn_error $? "cannot compute suffix of object files: cannot compile
2817 See \`config.log' for more details." "$LINENO" 5; } 2924 See \`config.log' for more details" "$LINENO" 5; }
2818 fi 2925 fi
2819 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2926 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2820 fi 2927 fi
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2822 $as_echo "$ac_cv_objext" >&6; } 2929 $as_echo "$ac_cv_objext" >&6; }
2823 OBJEXT=$ac_cv_objext 2930 OBJEXT=$ac_cv_objext
2824 ac_objext=$OBJEXT 2931 ac_objext=$OBJEXT
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2826 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2933 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2827 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2934 if ${ac_cv_c_compiler_gnu+:} false; then :
2828 $as_echo_n "(cached) " >&6 2935 $as_echo_n "(cached) " >&6
2829 else 2936 else
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */ 2938 /* end confdefs.h. */
2832 2939
2859 fi 2966 fi
2860 ac_test_CFLAGS=${CFLAGS+set} 2967 ac_test_CFLAGS=${CFLAGS+set}
2861 ac_save_CFLAGS=$CFLAGS 2968 ac_save_CFLAGS=$CFLAGS
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2863 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2970 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2864 if test "${ac_cv_prog_cc_g+set}" = set; then : 2971 if ${ac_cv_prog_cc_g+:} false; then :
2865 $as_echo_n "(cached) " >&6 2972 $as_echo_n "(cached) " >&6
2866 else 2973 else
2867 ac_save_c_werror_flag=$ac_c_werror_flag 2974 ac_save_c_werror_flag=$ac_c_werror_flag
2868 ac_c_werror_flag=yes 2975 ac_c_werror_flag=yes
2869 ac_cv_prog_cc_g=no 2976 ac_cv_prog_cc_g=no
2937 CFLAGS= 3044 CFLAGS=
2938 fi 3045 fi
2939 fi 3046 fi
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3048 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2942 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3049 if ${ac_cv_prog_cc_c89+:} false; then :
2943 $as_echo_n "(cached) " >&6 3050 $as_echo_n "(cached) " >&6
2944 else 3051 else
2945 ac_cv_prog_cc_c89=no 3052 ac_cv_prog_cc_c89=no
2946 ac_save_CC=$CC 3053 ac_save_CC=$CC
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */ 3055 /* end confdefs.h. */
2949 #include <stdarg.h> 3056 #include <stdarg.h>
2950 #include <stdio.h> 3057 #include <stdio.h>
2951 #include <sys/types.h> 3058 struct stat;
2952 #include <sys/stat.h>
2953 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3059 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2954 struct buf { int x; }; 3060 struct buf { int x; };
2955 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3061 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2956 static char *e (p, i) 3062 static char *e (p, i)
2957 char **p; 3063 char **p;
3150 do 3256 do
3151 # Extract the first word of "$ac_prog", so it can be a program name with args. 3257 # Extract the first word of "$ac_prog", so it can be a program name with args.
3152 set dummy $ac_prog; ac_word=$2 3258 set dummy $ac_prog; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; } 3260 $as_echo_n "checking for $ac_word... " >&6; }
3155 if test "${ac_cv_prog_AWK+set}" = set; then : 3261 if ${ac_cv_prog_AWK+:} false; then :
3156 $as_echo_n "(cached) " >&6 3262 $as_echo_n "(cached) " >&6
3157 else 3263 else
3158 if test -n "$AWK"; then 3264 if test -n "$AWK"; then
3159 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3265 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3160 else 3266 else
3162 for as_dir in $PATH 3268 for as_dir in $PATH
3163 do 3269 do
3164 IFS=$as_save_IFS 3270 IFS=$as_save_IFS
3165 test -z "$as_dir" && as_dir=. 3271 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do 3272 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_AWK="$ac_prog" 3274 ac_cv_prog_AWK="$ac_prog"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170 break 2 3276 break 2
3171 fi 3277 fi
3172 done 3278 done
3202 3308
3203 # Determine what to build for 'gnatlib' 3309 # Determine what to build for 'gnatlib'
3204 if test ${enable_shared} = yes; then 3310 if test ${enable_shared} = yes; then
3205 default_gnatlib_target="gnatlib-shared" 3311 default_gnatlib_target="gnatlib-shared"
3206 else 3312 else
3207 default_gnatlib_target="gnatlib-plain" 3313 default_gnatlib_target="gnatlib"
3208 fi 3314 fi
3209 3315
3210 3316
3211 # Check for _Unwind_GetIPInfo 3317 # Check for _Unwind_GetIPInfo
3212 3318
3264 # On Suns, sometimes $CPP names a directory. 3370 # On Suns, sometimes $CPP names a directory.
3265 if test -n "$CPP" && test -d "$CPP"; then 3371 if test -n "$CPP" && test -d "$CPP"; then
3266 CPP= 3372 CPP=
3267 fi 3373 fi
3268 if test -z "$CPP"; then 3374 if test -z "$CPP"; then
3269 if test "${ac_cv_prog_CPP+set}" = set; then : 3375 if ${ac_cv_prog_CPP+:} false; then :
3270 $as_echo_n "(cached) " >&6 3376 $as_echo_n "(cached) " >&6
3271 else 3377 else
3272 # Double quotes because CPP needs to be expanded 3378 # Double quotes because CPP needs to be expanded
3273 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3379 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3274 do 3380 do
3294 3400
3295 else 3401 else
3296 # Broken: fails on valid input. 3402 # Broken: fails on valid input.
3297 continue 3403 continue
3298 fi 3404 fi
3299 rm -f conftest.err conftest.$ac_ext 3405 rm -f conftest.err conftest.i conftest.$ac_ext
3300 3406
3301 # OK, works on sane cases. Now check whether nonexistent headers 3407 # OK, works on sane cases. Now check whether nonexistent headers
3302 # can be detected and how. 3408 # can be detected and how.
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */ 3410 /* end confdefs.h. */
3310 else 3416 else
3311 # Passes both tests. 3417 # Passes both tests.
3312 ac_preproc_ok=: 3418 ac_preproc_ok=:
3313 break 3419 break
3314 fi 3420 fi
3315 rm -f conftest.err conftest.$ac_ext 3421 rm -f conftest.err conftest.i conftest.$ac_ext
3316 3422
3317 done 3423 done
3318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3424 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3319 rm -f conftest.err conftest.$ac_ext 3425 rm -f conftest.i conftest.err conftest.$ac_ext
3320 if $ac_preproc_ok; then : 3426 if $ac_preproc_ok; then :
3321 break 3427 break
3322 fi 3428 fi
3323 3429
3324 done 3430 done
3353 3459
3354 else 3460 else
3355 # Broken: fails on valid input. 3461 # Broken: fails on valid input.
3356 continue 3462 continue
3357 fi 3463 fi
3358 rm -f conftest.err conftest.$ac_ext 3464 rm -f conftest.err conftest.i conftest.$ac_ext
3359 3465
3360 # OK, works on sane cases. Now check whether nonexistent headers 3466 # OK, works on sane cases. Now check whether nonexistent headers
3361 # can be detected and how. 3467 # can be detected and how.
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */ 3469 /* end confdefs.h. */
3369 else 3475 else
3370 # Passes both tests. 3476 # Passes both tests.
3371 ac_preproc_ok=: 3477 ac_preproc_ok=:
3372 break 3478 break
3373 fi 3479 fi
3374 rm -f conftest.err conftest.$ac_ext 3480 rm -f conftest.err conftest.i conftest.$ac_ext
3375 3481
3376 done 3482 done
3377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3483 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3378 rm -f conftest.err conftest.$ac_ext 3484 rm -f conftest.i conftest.err conftest.$ac_ext
3379 if $ac_preproc_ok; then : 3485 if $ac_preproc_ok; then :
3380 3486
3381 else 3487 else
3382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3490 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3385 See \`config.log' for more details." "$LINENO" 5; } 3491 See \`config.log' for more details" "$LINENO" 5; }
3386 fi 3492 fi
3387 3493
3388 ac_ext=c 3494 ac_ext=c
3389 ac_cpp='$CPP $CPPFLAGS' 3495 ac_cpp='$CPP $CPPFLAGS'
3390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3393 3499
3394 3500
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3396 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3502 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3397 if test "${ac_cv_path_GREP+set}" = set; then : 3503 if ${ac_cv_path_GREP+:} false; then :
3398 $as_echo_n "(cached) " >&6 3504 $as_echo_n "(cached) " >&6
3399 else 3505 else
3400 if test -z "$GREP"; then 3506 if test -z "$GREP"; then
3401 ac_path_GREP_found=false 3507 ac_path_GREP_found=false
3402 # Loop through the user's path and test for each of PROGNAME-LIST 3508 # Loop through the user's path and test for each of PROGNAME-LIST
3406 IFS=$as_save_IFS 3512 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=. 3513 test -z "$as_dir" && as_dir=.
3408 for ac_prog in grep ggrep; do 3514 for ac_prog in grep ggrep; do
3409 for ac_exec_ext in '' $ac_executable_extensions; do 3515 for ac_exec_ext in '' $ac_executable_extensions; do
3410 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3516 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3411 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3517 as_fn_executable_p "$ac_path_GREP" || continue
3412 # Check for GNU ac_path_GREP and select it if it is found. 3518 # Check for GNU ac_path_GREP and select it if it is found.
3413 # Check for GNU $ac_path_GREP 3519 # Check for GNU $ac_path_GREP
3414 case `"$ac_path_GREP" --version 2>&1` in 3520 case `"$ac_path_GREP" --version 2>&1` in
3415 *GNU*) 3521 *GNU*)
3416 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3522 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3441 done 3547 done
3442 done 3548 done
3443 done 3549 done
3444 IFS=$as_save_IFS 3550 IFS=$as_save_IFS
3445 if test -z "$ac_cv_path_GREP"; then 3551 if test -z "$ac_cv_path_GREP"; then
3446 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3552 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3447 fi 3553 fi
3448 else 3554 else
3449 ac_cv_path_GREP=$GREP 3555 ac_cv_path_GREP=$GREP
3450 fi 3556 fi
3451 3557
3455 GREP="$ac_cv_path_GREP" 3561 GREP="$ac_cv_path_GREP"
3456 3562
3457 3563
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3459 $as_echo_n "checking for egrep... " >&6; } 3565 $as_echo_n "checking for egrep... " >&6; }
3460 if test "${ac_cv_path_EGREP+set}" = set; then : 3566 if ${ac_cv_path_EGREP+:} false; then :
3461 $as_echo_n "(cached) " >&6 3567 $as_echo_n "(cached) " >&6
3462 else 3568 else
3463 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3569 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3464 then ac_cv_path_EGREP="$GREP -E" 3570 then ac_cv_path_EGREP="$GREP -E"
3465 else 3571 else
3472 IFS=$as_save_IFS 3578 IFS=$as_save_IFS
3473 test -z "$as_dir" && as_dir=. 3579 test -z "$as_dir" && as_dir=.
3474 for ac_prog in egrep; do 3580 for ac_prog in egrep; do
3475 for ac_exec_ext in '' $ac_executable_extensions; do 3581 for ac_exec_ext in '' $ac_executable_extensions; do
3476 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3582 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3477 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3583 as_fn_executable_p "$ac_path_EGREP" || continue
3478 # Check for GNU ac_path_EGREP and select it if it is found. 3584 # Check for GNU ac_path_EGREP and select it if it is found.
3479 # Check for GNU $ac_path_EGREP 3585 # Check for GNU $ac_path_EGREP
3480 case `"$ac_path_EGREP" --version 2>&1` in 3586 case `"$ac_path_EGREP" --version 2>&1` in
3481 *GNU*) 3587 *GNU*)
3482 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3588 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3507 done 3613 done
3508 done 3614 done
3509 done 3615 done
3510 IFS=$as_save_IFS 3616 IFS=$as_save_IFS
3511 if test -z "$ac_cv_path_EGREP"; then 3617 if test -z "$ac_cv_path_EGREP"; then
3512 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3618 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3513 fi 3619 fi
3514 else 3620 else
3515 ac_cv_path_EGREP=$EGREP 3621 ac_cv_path_EGREP=$EGREP
3516 fi 3622 fi
3517 3623
3522 EGREP="$ac_cv_path_EGREP" 3628 EGREP="$ac_cv_path_EGREP"
3523 3629
3524 3630
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3526 $as_echo_n "checking for ANSI C header files... " >&6; } 3632 $as_echo_n "checking for ANSI C header files... " >&6; }
3527 if test "${ac_cv_header_stdc+set}" = set; then : 3633 if ${ac_cv_header_stdc+:} false; then :
3528 $as_echo_n "(cached) " >&6 3634 $as_echo_n "(cached) " >&6
3529 else 3635 else
3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531 /* end confdefs.h. */ 3637 /* end confdefs.h. */
3532 #include <stdlib.h> 3638 #include <stdlib.h>
3639 inttypes.h stdint.h unistd.h 3745 inttypes.h stdint.h unistd.h
3640 do : 3746 do :
3641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3642 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3748 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3643 " 3749 "
3644 eval as_val=\$$as_ac_Header 3750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3645 if test "x$as_val" = x""yes; then :
3646 cat >>confdefs.h <<_ACEOF 3751 cat >>confdefs.h <<_ACEOF
3647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3648 _ACEOF 3753 _ACEOF
3649 3754
3650 fi 3755 fi
3651 3756
3652 done 3757 done
3653 3758
3654 3759
3655 ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default" 3760 ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
3656 if test "x$ac_cv_header_sys_capability_h" = x""yes; then : 3761 if test "x$ac_cv_header_sys_capability_h" = xyes; then :
3657 have_capability=-DHAVE_CAPABILITY 3762 have_capability=-DHAVE_CAPABILITY
3658 else 3763 else
3659 have_capability= 3764 have_capability=
3660 fi 3765 fi
3661 3766
3743 t end 3848 t end
3744 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3849 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3745 :end' >>confcache 3850 :end' >>confcache
3746 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3851 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3747 if test -w "$cache_file"; then 3852 if test -w "$cache_file"; then
3748 test "x$cache_file" != "x/dev/null" && 3853 if test "x$cache_file" != "x/dev/null"; then
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3854 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3750 $as_echo "$as_me: updating cache $cache_file" >&6;} 3855 $as_echo "$as_me: updating cache $cache_file" >&6;}
3751 cat confcache >$cache_file 3856 if test ! -f "$cache_file" || test -h "$cache_file"; then
3857 cat confcache >"$cache_file"
3858 else
3859 case $cache_file in #(
3860 */* | ?:*)
3861 mv -f confcache "$cache_file"$$ &&
3862 mv -f "$cache_file"$$ "$cache_file" ;; #(
3863 *)
3864 mv -f confcache "$cache_file" ;;
3865 esac
3866 fi
3867 fi
3752 else 3868 else
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3869 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3754 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3870 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3755 fi 3871 fi
3756 fi 3872 fi
3798 DEFS=`sed -n "$ac_script" confdefs.h` 3914 DEFS=`sed -n "$ac_script" confdefs.h`
3799 3915
3800 3916
3801 ac_libobjs= 3917 ac_libobjs=
3802 ac_ltlibobjs= 3918 ac_ltlibobjs=
3919 U=
3803 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3920 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3804 # 1. Remove the extension, and $U if already installed. 3921 # 1. Remove the extension, and $U if already installed.
3805 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3922 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3806 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3923 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3807 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3924 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3813 3930
3814 LTLIBOBJS=$ac_ltlibobjs 3931 LTLIBOBJS=$ac_ltlibobjs
3815 3932
3816 3933
3817 3934
3818 : ${CONFIG_STATUS=./config.status} 3935 : "${CONFIG_STATUS=./config.status}"
3819 ac_write_fail=0 3936 ac_write_fail=0
3820 ac_clean_files_save=$ac_clean_files 3937 ac_clean_files_save=$ac_clean_files
3821 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3938 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3939 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3823 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3940 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3914 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 4031 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3915 # splitting by setting IFS to empty value.) 4032 # splitting by setting IFS to empty value.)
3916 IFS=" "" $as_nl" 4033 IFS=" "" $as_nl"
3917 4034
3918 # Find who we are. Look in the path if we contain no directory separator. 4035 # Find who we are. Look in the path if we contain no directory separator.
4036 as_myself=
3919 case $0 in #(( 4037 case $0 in #((
3920 *[\\/]* ) as_myself=$0 ;; 4038 *[\\/]* ) as_myself=$0 ;;
3921 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4039 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 for as_dir in $PATH 4040 for as_dir in $PATH
3923 do 4041 do
3959 4077
3960 # CDPATH. 4078 # CDPATH.
3961 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4079 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3962 4080
3963 4081
3964 # as_fn_error ERROR [LINENO LOG_FD] 4082 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3965 # --------------------------------- 4083 # ----------------------------------------
3966 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4084 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3967 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4085 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3968 # script with status $?, using 1 if that was 0. 4086 # script with STATUS, using 1 if that was 0.
3969 as_fn_error () 4087 as_fn_error ()
3970 { 4088 {
3971 as_status=$?; test $as_status -eq 0 && as_status=1 4089 as_status=$1; test $as_status -eq 0 && as_status=1
3972 if test "$3"; then 4090 if test "$4"; then
3973 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4091 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3974 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 4092 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3975 fi 4093 fi
3976 $as_echo "$as_me: error: $1" >&2 4094 $as_echo "$as_me: error: $2" >&2
3977 as_fn_exit $as_status 4095 as_fn_exit $as_status
3978 } # as_fn_error 4096 } # as_fn_error
3979 4097
3980 4098
3981 # as_fn_set_status STATUS 4099 # as_fn_set_status STATUS
4109 if ln -s conf$$.file conf$$ 2>/dev/null; then 4227 if ln -s conf$$.file conf$$ 2>/dev/null; then
4110 as_ln_s='ln -s' 4228 as_ln_s='ln -s'
4111 # ... but there are two gotchas: 4229 # ... but there are two gotchas:
4112 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4230 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4113 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4231 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4114 # In both cases, we have to default to `cp -p'. 4232 # In both cases, we have to default to `cp -pR'.
4115 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4233 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4116 as_ln_s='cp -p' 4234 as_ln_s='cp -pR'
4117 elif ln conf$$.file conf$$ 2>/dev/null; then 4235 elif ln conf$$.file conf$$ 2>/dev/null; then
4118 as_ln_s=ln 4236 as_ln_s=ln
4119 else 4237 else
4120 as_ln_s='cp -p' 4238 as_ln_s='cp -pR'
4121 fi 4239 fi
4122 else 4240 else
4123 as_ln_s='cp -p' 4241 as_ln_s='cp -pR'
4124 fi 4242 fi
4125 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4243 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4126 rmdir conf$$.dir 2>/dev/null 4244 rmdir conf$$.dir 2>/dev/null
4127 4245
4128 4246
4167 } 4285 }
4168 s/.*/./; q'` 4286 s/.*/./; q'`
4169 test -d "$as_dir" && break 4287 test -d "$as_dir" && break
4170 done 4288 done
4171 test -z "$as_dirs" || eval "mkdir $as_dirs" 4289 test -z "$as_dirs" || eval "mkdir $as_dirs"
4172 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 4290 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4173 4291
4174 4292
4175 } # as_fn_mkdir_p 4293 } # as_fn_mkdir_p
4176 if mkdir -p . 2>/dev/null; then 4294 if mkdir -p . 2>/dev/null; then
4177 as_mkdir_p='mkdir -p "$as_dir"' 4295 as_mkdir_p='mkdir -p "$as_dir"'
4178 else 4296 else
4179 test -d ./-p && rmdir ./-p 4297 test -d ./-p && rmdir ./-p
4180 as_mkdir_p=false 4298 as_mkdir_p=false
4181 fi 4299 fi
4182 4300
4183 if test -x / >/dev/null 2>&1; then 4301
4184 as_test_x='test -x' 4302 # as_fn_executable_p FILE
4185 else 4303 # -----------------------
4186 if ls -dL / >/dev/null 2>&1; then 4304 # Test if FILE is an executable regular file.
4187 as_ls_L_option=L 4305 as_fn_executable_p ()
4188 else 4306 {
4189 as_ls_L_option= 4307 test -f "$1" && test -x "$1"
4190 fi 4308 } # as_fn_executable_p
4191 as_test_x=' 4309 as_test_x='test -x'
4192 eval sh -c '\'' 4310 as_executable_p=as_fn_executable_p
4193 if test -d "$1"; then
4194 test -d "$1/.";
4195 else
4196 case $1 in #(
4197 -*)set "./$1";;
4198 esac;
4199 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4200 ???[sx]*):;;*)false;;esac;fi
4201 '\'' sh
4202 '
4203 fi
4204 as_executable_p=$as_test_x
4205 4311
4206 # Sed expression to map a string onto a valid CPP name. 4312 # Sed expression to map a string onto a valid CPP name.
4207 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4313 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4208 4314
4209 # Sed expression to map a string onto a valid variable name. 4315 # Sed expression to map a string onto a valid variable name.
4221 # Save the log message, to keep $0 and so on meaningful, and to 4327 # Save the log message, to keep $0 and so on meaningful, and to
4222 # report actual input values of CONFIG_FILES etc. instead of their 4328 # report actual input values of CONFIG_FILES etc. instead of their
4223 # values after options handling. 4329 # values after options handling.
4224 ac_log=" 4330 ac_log="
4225 This file was extended by $as_me, which was 4331 This file was extended by $as_me, which was
4226 generated by GNU Autoconf 2.64. Invocation command line was 4332 generated by GNU Autoconf 2.69. Invocation command line was
4227 4333
4228 CONFIG_FILES = $CONFIG_FILES 4334 CONFIG_FILES = $CONFIG_FILES
4229 CONFIG_HEADERS = $CONFIG_HEADERS 4335 CONFIG_HEADERS = $CONFIG_HEADERS
4230 CONFIG_LINKS = $CONFIG_LINKS 4336 CONFIG_LINKS = $CONFIG_LINKS
4231 CONFIG_COMMANDS = $CONFIG_COMMANDS 4337 CONFIG_COMMANDS = $CONFIG_COMMANDS
4257 4363
4258 Usage: $0 [OPTION]... [TAG]... 4364 Usage: $0 [OPTION]... [TAG]...
4259 4365
4260 -h, --help print this help, then exit 4366 -h, --help print this help, then exit
4261 -V, --version print version number and configuration settings, then exit 4367 -V, --version print version number and configuration settings, then exit
4368 --config print configuration, then exit
4262 -q, --quiet, --silent 4369 -q, --quiet, --silent
4263 do not print progress messages 4370 do not print progress messages
4264 -d, --debug don't remove temporary files 4371 -d, --debug don't remove temporary files
4265 --recheck update $as_me by reconfiguring in the same conditions 4372 --recheck update $as_me by reconfiguring in the same conditions
4266 --file=FILE[:TEMPLATE] 4373 --file=FILE[:TEMPLATE]
4274 4381
4275 Report bugs to the package provider." 4382 Report bugs to the package provider."
4276 4383
4277 _ACEOF 4384 _ACEOF
4278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4386 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4279 ac_cs_version="\\ 4387 ac_cs_version="\\
4280 config.status 4388 config.status
4281 configured by $0, generated by GNU Autoconf 2.64, 4389 configured by $0, generated by GNU Autoconf 2.69,
4282 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 4390 with options \\"\$ac_cs_config\\"
4283 4391
4284 Copyright (C) 2009 Free Software Foundation, Inc. 4392 Copyright (C) 2012 Free Software Foundation, Inc.
4285 This config.status script is free software; the Free Software Foundation 4393 This config.status script is free software; the Free Software Foundation
4286 gives unlimited permission to copy, distribute and modify it." 4394 gives unlimited permission to copy, distribute and modify it."
4287 4395
4288 ac_pwd='$ac_pwd' 4396 ac_pwd='$ac_pwd'
4289 srcdir='$srcdir' 4397 srcdir='$srcdir'
4295 # The default lists apply if the user does not specify any file. 4403 # The default lists apply if the user does not specify any file.
4296 ac_need_defaults=: 4404 ac_need_defaults=:
4297 while test $# != 0 4405 while test $# != 0
4298 do 4406 do
4299 case $1 in 4407 case $1 in
4300 --*=*) 4408 --*=?*)
4301 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4409 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4302 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4410 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4411 ac_shift=:
4412 ;;
4413 --*=)
4414 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4415 ac_optarg=
4303 ac_shift=: 4416 ac_shift=:
4304 ;; 4417 ;;
4305 *) 4418 *)
4306 ac_option=$1 4419 ac_option=$1
4307 ac_optarg=$2 4420 ac_optarg=$2
4313 # Handling of the options. 4426 # Handling of the options.
4314 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4427 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4315 ac_cs_recheck=: ;; 4428 ac_cs_recheck=: ;;
4316 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4429 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4317 $as_echo "$ac_cs_version"; exit ;; 4430 $as_echo "$ac_cs_version"; exit ;;
4431 --config | --confi | --conf | --con | --co | --c )
4432 $as_echo "$ac_cs_config"; exit ;;
4318 --debug | --debu | --deb | --de | --d | -d ) 4433 --debug | --debu | --deb | --de | --d | -d )
4319 debug=: ;; 4434 debug=: ;;
4320 --file | --fil | --fi | --f ) 4435 --file | --fil | --fi | --f )
4321 $ac_shift 4436 $ac_shift
4322 case $ac_optarg in 4437 case $ac_optarg in
4323 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4438 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4439 '') as_fn_error $? "missing file argument" ;;
4324 esac 4440 esac
4325 as_fn_append CONFIG_FILES " '$ac_optarg'" 4441 as_fn_append CONFIG_FILES " '$ac_optarg'"
4326 ac_need_defaults=false;; 4442 ac_need_defaults=false;;
4327 --he | --h | --help | --hel | -h ) 4443 --he | --h | --help | --hel | -h )
4328 $as_echo "$ac_cs_usage"; exit ;; 4444 $as_echo "$ac_cs_usage"; exit ;;
4329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4330 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4446 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4331 ac_cs_silent=: ;; 4447 ac_cs_silent=: ;;
4332 4448
4333 # This is an error. 4449 # This is an error.
4334 -*) as_fn_error "unrecognized option: \`$1' 4450 -*) as_fn_error $? "unrecognized option: \`$1'
4335 Try \`$0 --help' for more information." ;; 4451 Try \`$0 --help' for more information." ;;
4336 4452
4337 *) as_fn_append ac_config_targets " $1" 4453 *) as_fn_append ac_config_targets " $1"
4338 ac_need_defaults=false ;; 4454 ac_need_defaults=false ;;
4339 4455
4349 fi 4465 fi
4350 4466
4351 _ACEOF 4467 _ACEOF
4352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4353 if \$ac_cs_recheck; then 4469 if \$ac_cs_recheck; then
4354 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4470 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4355 shift 4471 shift
4356 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4472 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4357 CONFIG_SHELL='$SHELL' 4473 CONFIG_SHELL='$SHELL'
4358 export CONFIG_SHELL 4474 export CONFIG_SHELL
4359 exec "\$@" 4475 exec "\$@"
4386 multi_basedir="$multi_basedir" 4502 multi_basedir="$multi_basedir"
4387 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 4503 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4388 CC="$CC" 4504 CC="$CC"
4389 CXX="$CXX" 4505 CXX="$CXX"
4390 GFORTRAN="$GFORTRAN" 4506 GFORTRAN="$GFORTRAN"
4507 GDC="$GDC"
4391 4508
4392 _ACEOF 4509 _ACEOF
4393 4510
4394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4395 4512
4398 do 4515 do
4399 case $ac_config_target in 4516 case $ac_config_target in
4400 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 4517 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4401 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4518 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4402 4519
4403 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4520 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4404 esac 4521 esac
4405 done 4522 done
4406 4523
4407 4524
4408 # If the user did not use the arguments to specify the items to instantiate, 4525 # If the user did not use the arguments to specify the items to instantiate,
4420 # Hook for its removal unless debugging. 4537 # Hook for its removal unless debugging.
4421 # Note that there is a small window in which the directory will not be cleaned: 4538 # Note that there is a small window in which the directory will not be cleaned:
4422 # after its creation but before its name has been assigned to `$tmp'. 4539 # after its creation but before its name has been assigned to `$tmp'.
4423 $debug || 4540 $debug ||
4424 { 4541 {
4425 tmp= 4542 tmp= ac_tmp=
4426 trap 'exit_status=$? 4543 trap 'exit_status=$?
4427 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4544 : "${ac_tmp:=$tmp}"
4545 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4428 ' 0 4546 ' 0
4429 trap 'as_fn_exit 1' 1 2 13 15 4547 trap 'as_fn_exit 1' 1 2 13 15
4430 } 4548 }
4431 # Create a (secure) tmp directory for tmp files. 4549 # Create a (secure) tmp directory for tmp files.
4432 4550
4433 { 4551 {
4434 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4552 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4435 test -n "$tmp" && test -d "$tmp" 4553 test -d "$tmp"
4436 } || 4554 } ||
4437 { 4555 {
4438 tmp=./conf$$-$RANDOM 4556 tmp=./conf$$-$RANDOM
4439 (umask 077 && mkdir "$tmp") 4557 (umask 077 && mkdir "$tmp")
4440 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 4558 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4559 ac_tmp=$tmp
4441 4560
4442 # Set up the scripts for CONFIG_FILES section. 4561 # Set up the scripts for CONFIG_FILES section.
4443 # No need to generate them if there are no CONFIG_FILES. 4562 # No need to generate them if there are no CONFIG_FILES.
4444 # This happens for instance with `./config.status config.h'. 4563 # This happens for instance with `./config.status config.h'.
4445 if test -n "$CONFIG_FILES"; then 4564 if test -n "$CONFIG_FILES"; then
4452 if test "x$ac_cr" = x; then 4571 if test "x$ac_cr" = x; then
4453 eval ac_cr=\$\'\\r\' 4572 eval ac_cr=\$\'\\r\'
4454 fi 4573 fi
4455 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4574 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4456 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4575 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4457 ac_cs_awk_cr='\r' 4576 ac_cs_awk_cr='\\r'
4458 else 4577 else
4459 ac_cs_awk_cr=$ac_cr 4578 ac_cs_awk_cr=$ac_cr
4460 fi 4579 fi
4461 4580
4462 echo 'BEGIN {' >"$tmp/subs1.awk" && 4581 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4463 _ACEOF 4582 _ACEOF
4464 4583
4465 4584
4466 { 4585 {
4467 echo "cat >conf$$subs.awk <<_ACEOF" && 4586 echo "cat >conf$$subs.awk <<_ACEOF" &&
4468 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4587 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4469 echo "_ACEOF" 4588 echo "_ACEOF"
4470 } >conf$$subs.sh || 4589 } >conf$$subs.sh ||
4471 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 4590 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4472 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 4591 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4473 ac_delim='%!_!# ' 4592 ac_delim='%!_!# '
4474 for ac_last_try in false false false false false :; do 4593 for ac_last_try in false false false false false :; do
4475 . ./conf$$subs.sh || 4594 . ./conf$$subs.sh ||
4476 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 4595 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4477 4596
4478 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4597 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4479 if test $ac_delim_n = $ac_delim_num; then 4598 if test $ac_delim_n = $ac_delim_num; then
4480 break 4599 break
4481 elif $ac_last_try; then 4600 elif $ac_last_try; then
4482 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 4601 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4483 else 4602 else
4484 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4603 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4485 fi 4604 fi
4486 done 4605 done
4487 rm -f conf$$subs.sh 4606 rm -f conf$$subs.sh
4488 4607
4489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4490 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 4609 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4491 _ACEOF 4610 _ACEOF
4492 sed -n ' 4611 sed -n '
4493 h 4612 h
4494 s/^/S["/; s/!.*/"]=/ 4613 s/^/S["/; s/!.*/"]=/
4495 p 4614 p
4499 t repl 4618 t repl
4500 s/'"$ac_delim"'$// 4619 s/'"$ac_delim"'$//
4501 t delim 4620 t delim
4502 :nl 4621 :nl
4503 h 4622 h
4504 s/\(.\{148\}\).*/\1/ 4623 s/\(.\{148\}\)..*/\1/
4505 t more1 4624 t more1
4506 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4625 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4507 p 4626 p
4508 n 4627 n
4509 b repl 4628 b repl
4513 g 4632 g
4514 s/.\{148\}// 4633 s/.\{148\}//
4515 t nl 4634 t nl
4516 :delim 4635 :delim
4517 h 4636 h
4518 s/\(.\{148\}\).*/\1/ 4637 s/\(.\{148\}\)..*/\1/
4519 t more2 4638 t more2
4520 s/["\\]/\\&/g; s/^/"/; s/$/"/ 4639 s/["\\]/\\&/g; s/^/"/; s/$/"/
4521 p 4640 p
4522 b 4641 b
4523 :more2 4642 :more2
4533 } 4652 }
4534 ' >>$CONFIG_STATUS || ac_write_fail=1 4653 ' >>$CONFIG_STATUS || ac_write_fail=1
4535 rm -f conf$$subs.awk 4654 rm -f conf$$subs.awk
4536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4537 _ACAWK 4656 _ACAWK
4538 cat >>"\$tmp/subs1.awk" <<_ACAWK && 4657 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4539 for (key in S) S_is_set[key] = 1 4658 for (key in S) S_is_set[key] = 1
4540 FS = "" 4659 FS = ""
4541 4660
4542 } 4661 }
4543 { 4662 {
4565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4566 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4685 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4567 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4686 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4568 else 4687 else
4569 cat 4688 cat
4570 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 4689 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4571 || as_fn_error "could not setup config files machinery" "$LINENO" 5 4690 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4572 _ACEOF 4691 _ACEOF
4573 4692
4574 # VPATH may cause trouble with some makes, so we remove $(srcdir), 4693 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4575 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4694 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4576 # trailing colons and then remove the whole line if VPATH becomes empty 4695 # trailing colons and then remove the whole line if VPATH becomes empty
4577 # (actually we leave an empty line to preserve line numbers). 4696 # (actually we leave an empty line to preserve line numbers).
4578 if test "x$srcdir" = x.; then 4697 if test "x$srcdir" = x.; then
4579 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4698 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4580 s/:*\$(srcdir):*/:/ 4699 h
4581 s/:*\${srcdir}:*/:/ 4700 s///
4582 s/:*@srcdir@:*/:/ 4701 s/^/:/
4583 s/^\([^=]*=[ ]*\):*/\1/ 4702 s/[ ]*$/:/
4703 s/:\$(srcdir):/:/g
4704 s/:\${srcdir}:/:/g
4705 s/:@srcdir@:/:/g
4706 s/^:*//
4584 s/:*$// 4707 s/:*$//
4708 x
4709 s/\(=[ ]*\).*/\1/
4710 G
4711 s/\n//
4585 s/^[^=]*=[ ]*$// 4712 s/^[^=]*=[ ]*$//
4586 }' 4713 }'
4587 fi 4714 fi
4588 4715
4589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4597 case $ac_tag in 4724 case $ac_tag in
4598 :[FHLC]) ac_mode=$ac_tag; continue;; 4725 :[FHLC]) ac_mode=$ac_tag; continue;;
4599 esac 4726 esac
4600 case $ac_mode$ac_tag in 4727 case $ac_mode$ac_tag in
4601 :[FHL]*:*);; 4728 :[FHL]*:*);;
4602 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 4729 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4603 :[FH]-) ac_tag=-:-;; 4730 :[FH]-) ac_tag=-:-;;
4604 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4731 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4605 esac 4732 esac
4606 ac_save_IFS=$IFS 4733 ac_save_IFS=$IFS
4607 IFS=: 4734 IFS=:
4616 :[FH]) 4743 :[FH])
4617 ac_file_inputs= 4744 ac_file_inputs=
4618 for ac_f 4745 for ac_f
4619 do 4746 do
4620 case $ac_f in 4747 case $ac_f in
4621 -) ac_f="$tmp/stdin";; 4748 -) ac_f="$ac_tmp/stdin";;
4622 *) # Look for the file first in the build tree, then in the source tree 4749 *) # Look for the file first in the build tree, then in the source tree
4623 # (if the path is not absolute). The absolute path cannot be DOS-style, 4750 # (if the path is not absolute). The absolute path cannot be DOS-style,
4624 # because $ac_f cannot contain `:'. 4751 # because $ac_f cannot contain `:'.
4625 test -f "$ac_f" || 4752 test -f "$ac_f" ||
4626 case $ac_f in 4753 case $ac_f in
4627 [\\/$]*) false;; 4754 [\\/$]*) false;;
4628 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4755 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4629 esac || 4756 esac ||
4630 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4757 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4631 esac 4758 esac
4632 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4759 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4633 as_fn_append ac_file_inputs " '$ac_f'" 4760 as_fn_append ac_file_inputs " '$ac_f'"
4634 done 4761 done
4635 4762
4651 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4778 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4652 *) ac_sed_conf_input=$configure_input;; 4779 *) ac_sed_conf_input=$configure_input;;
4653 esac 4780 esac
4654 4781
4655 case $ac_tag in 4782 case $ac_tag in
4656 *:-:* | *:-) cat >"$tmp/stdin" \ 4783 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4657 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 4784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4658 esac 4785 esac
4659 ;; 4786 ;;
4660 esac 4787 esac
4661 4788
4662 ac_dir=`$as_dirname -- "$ac_file" || 4789 ac_dir=`$as_dirname -- "$ac_file" ||
4777 s&@builddir@&$ac_builddir&;t t 4904 s&@builddir@&$ac_builddir&;t t
4778 s&@abs_builddir@&$ac_abs_builddir&;t t 4905 s&@abs_builddir@&$ac_abs_builddir&;t t
4779 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4906 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4780 $ac_datarootdir_hack 4907 $ac_datarootdir_hack
4781 " 4908 "
4782 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 4909 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4783 || as_fn_error "could not create $ac_file" "$LINENO" 5 4910 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4784 4911
4785 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4912 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4786 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 4913 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4787 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 4914 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4915 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4789 which seems to be undefined. Please make sure it is defined." >&5 4917 which seems to be undefined. Please make sure it is defined" >&5
4790 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4918 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4791 which seems to be undefined. Please make sure it is defined." >&2;} 4919 which seems to be undefined. Please make sure it is defined" >&2;}
4792 4920
4793 rm -f "$tmp/stdin" 4921 rm -f "$ac_tmp/stdin"
4794 case $ac_file in 4922 case $ac_file in
4795 -) cat "$tmp/out" && rm -f "$tmp/out";; 4923 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4796 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 4924 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4797 esac \ 4925 esac \
4798 || as_fn_error "could not create $ac_file" "$LINENO" 5 4926 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4799 ;; 4927 ;;
4800 4928
4801 4929
4802 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 4930 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4803 $as_echo "$as_me: executing $ac_file commands" >&6;} 4931 $as_echo "$as_me: executing $ac_file commands" >&6;}
4822 as_fn_exit 0 4950 as_fn_exit 0
4823 _ACEOF 4951 _ACEOF
4824 ac_clean_files=$ac_clean_files_save 4952 ac_clean_files=$ac_clean_files_save
4825 4953
4826 test $ac_write_fail = 0 || 4954 test $ac_write_fail = 0 ||
4827 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 4955 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4828 4956
4829 4957
4830 # configure is writing to config.log, and then calls config.status. 4958 # configure is writing to config.log, and then calls config.status.
4831 # config.status does its own redirection, appending to config.log. 4959 # config.status does its own redirection, appending to config.log.
4832 # Unfortunately, on DOS this fails, as config.log is still kept open 4960 # Unfortunately, on DOS this fails, as config.log is still kept open
4843 exec 5>/dev/null 4971 exec 5>/dev/null
4844 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4972 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4845 exec 5>>config.log 4973 exec 5>>config.log
4846 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4974 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4847 # would make configure fail if this is the last instruction. 4975 # would make configure fail if this is the last instruction.
4848 $ac_cs_success || as_fn_exit $? 4976 $ac_cs_success || as_fn_exit 1
4849 fi 4977 fi
4850 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4978 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4852 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4980 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4853 fi 4981 fi