comparison liboffloadmic/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 for MIC Offload Runtime Library 1.0. 3 # Generated by GNU Autoconf 2.69 for MIC Offload Runtime Library 1.0.
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
215 fi; } 242 fi; }
216 IFS=$as_save_IFS 243 IFS=$as_save_IFS
217 244
218 245
219 if test "x$CONFIG_SHELL" != x; then : 246 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a 247 export CONFIG_SHELL
221 # neutralization value for shells without unset; and this also 248 # We cannot yet assume a decent shell, so we have to provide a
222 # works around shells that cannot unset nonexistent variables. 249 # neutralization value for shells without unset; and this also
223 BASH_ENV=/dev/null 250 # works around shells that cannot unset nonexistent variables.
224 ENV=/dev/null 251 # Preserve -v and -x to the replacement shell.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 252 BASH_ENV=/dev/null
226 export CONFIG_SHELL 253 ENV=/dev/null
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
228 fi 266 fi
229 267
230 if test x$as_have_required = xno; then : 268 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all" 269 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system." 270 $as_echo "$0: the shells that I found on your system."
320 } 358 }
321 s/.*/./; q'` 359 s/.*/./; q'`
322 test -d "$as_dir" && break 360 test -d "$as_dir" && break
323 done 361 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs" 362 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 364
327 365
328 } # as_fn_mkdir_p 366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
329 # as_fn_append VAR VALUE 375 # as_fn_append VAR VALUE
330 # ---------------------- 376 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take 377 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over 378 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive 379 # repeated appends, instead of the typical quadratic growth present in naive
360 as_val=`expr "$@" || test $? -eq 1` 406 as_val=`expr "$@" || test $? -eq 1`
361 } 407 }
362 fi # as_fn_arith 408 fi # as_fn_arith
363 409
364 410
365 # as_fn_error ERROR [LINENO LOG_FD] 411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
366 # --------------------------------- 412 # ----------------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0. 415 # script with STATUS, using 1 if that was 0.
370 as_fn_error () 416 as_fn_error ()
371 { 417 {
372 as_status=$?; test $as_status -eq 0 && as_status=1 418 as_status=$1; test $as_status -eq 0 && as_status=1
373 if test "$3"; then 419 if test "$4"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
376 fi 422 fi
377 $as_echo "$as_me: error: $1" >&2 423 $as_echo "$as_me: error: $2" >&2
378 as_fn_exit $as_status 424 as_fn_exit $as_status
379 } # as_fn_error 425 } # as_fn_error
380 426
381 if expr a : '\(a\)' >/dev/null 2>&1 && 427 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
445 s/-\n.*// 491 s/-\n.*//
446 ' >$as_me.lineno && 492 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" || 493 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449 495
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
450 # Don't try to exec as it changes $[0], causing all sort of problems 500 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the 501 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this). 502 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno" 503 . "./$as_me.lineno"
454 # Exit status is that of the last command. 504 # Exit status is that of the last command.
479 if ln -s conf$$.file conf$$ 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s' 530 as_ln_s='ln -s'
481 # ... but there are two gotchas: 531 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'. 534 # In both cases, we have to default to `cp -pR'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p' 536 as_ln_s='cp -pR'
487 elif ln conf$$.file conf$$ 2>/dev/null; then 537 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln 538 as_ln_s=ln
489 else 539 else
490 as_ln_s='cp -p' 540 as_ln_s='cp -pR'
491 fi 541 fi
492 else 542 else
493 as_ln_s='cp -p' 543 as_ln_s='cp -pR'
494 fi 544 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null 546 rmdir conf$$.dir 2>/dev/null
497 547
498 if mkdir -p . 2>/dev/null; then 548 if mkdir -p . 2>/dev/null; then
500 else 550 else
501 test -d ./-p && rmdir ./-p 551 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false 552 as_mkdir_p=false
503 fi 553 fi
504 554
505 if test -x / >/dev/null 2>&1; then 555 as_test_x='test -x'
506 as_test_x='test -x' 556 as_executable_p=as_fn_executable_p
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527 557
528 # Sed expression to map a string onto a valid CPP name. 558 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530 560
531 # Sed expression to map a string onto a valid variable name. 561 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 563
534 SHELL=${CONFIG_SHELL-/bin/sh} 564 SHELL=${CONFIG_SHELL-/bin/sh}
535 565
536 566
537 exec 7<&0 </dev/null 6>&1 567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
538 569
539 # Name of the host. 570 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541 # so uname gets run too. 572 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 574
544 # 575 #
545 # Initializations. 576 # Initializations.
625 FGREP 656 FGREP
626 SED 657 SED
627 LIBTOOL 658 LIBTOOL
628 LIBOFFLOADMIC_HOST_FALSE 659 LIBOFFLOADMIC_HOST_FALSE
629 LIBOFFLOADMIC_HOST_TRUE 660 LIBOFFLOADMIC_HOST_TRUE
661 ALLOCA
630 EGREP 662 EGREP
631 GREP 663 GREP
632 CPP 664 CPP
633 ALLOCA
634 subdirs 665 subdirs
635 multi_basedir 666 multi_basedir
636 am__fastdepCXX_FALSE 667 am__fastdepCXX_FALSE
637 am__fastdepCXX_TRUE 668 am__fastdepCXX_TRUE
638 CXXDEPMODE 669 CXXDEPMODE
657 CFLAGS 688 CFLAGS
658 CC 689 CC
659 MAINT 690 MAINT
660 MAINTAINER_MODE_FALSE 691 MAINTAINER_MODE_FALSE
661 MAINTAINER_MODE_TRUE 692 MAINTAINER_MODE_TRUE
693 AM_BACKSLASH
694 AM_DEFAULT_VERBOSITY
695 AM_DEFAULT_V
696 AM_V
662 am__untar 697 am__untar
663 am__tar 698 am__tar
664 AMTAR 699 AMTAR
665 am__leading_dot 700 am__leading_dot
666 SET_MAKE 701 SET_MAKE
733 PATH_SEPARATOR 768 PATH_SEPARATOR
734 SHELL' 769 SHELL'
735 ac_subst_files='' 770 ac_subst_files=''
736 ac_user_opts=' 771 ac_user_opts='
737 enable_option_checking 772 enable_option_checking
773 enable_silent_rules
738 enable_maintainer_mode 774 enable_maintainer_mode
739 enable_dependency_tracking 775 enable_dependency_tracking
740 enable_multilib 776 enable_multilib
741 enable_version_specific_runtime_libs 777 enable_version_specific_runtime_libs
778 with_toolexeclibdir
742 enable_shared 779 enable_shared
743 enable_static 780 enable_static
744 with_pic 781 with_pic
745 enable_fast_install 782 enable_fast_install
746 with_gnu_ld 783 with_gnu_ld
820 ac_prev= 857 ac_prev=
821 continue 858 continue
822 fi 859 fi
823 860
824 case $ac_option in 861 case $ac_option in
825 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 862 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826 *) ac_optarg=yes ;; 863 *=) ac_optarg= ;;
864 *) ac_optarg=yes ;;
827 esac 865 esac
828 866
829 # Accept the important Cygnus configure options, so we can diagnose typos. 867 # Accept the important Cygnus configure options, so we can diagnose typos.
830 868
831 case $ac_dashdash$ac_option in 869 case $ac_dashdash$ac_option in
866 904
867 -disable-* | --disable-*) 905 -disable-* | --disable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 906 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
869 # Reject names that are not valid shell variable names. 907 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 as_fn_error "invalid feature name: $ac_useropt" 909 as_fn_error $? "invalid feature name: $ac_useropt"
872 ac_useropt_orig=$ac_useropt 910 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 911 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in 912 case $ac_user_opts in
875 *" 913 *"
876 "enable_$ac_useropt" 914 "enable_$ac_useropt"
892 930
893 -enable-* | --enable-*) 931 -enable-* | --enable-*)
894 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 932 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
895 # Reject names that are not valid shell variable names. 933 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 as_fn_error "invalid feature name: $ac_useropt" 935 as_fn_error $? "invalid feature name: $ac_useropt"
898 ac_useropt_orig=$ac_useropt 936 ac_useropt_orig=$ac_useropt
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in 938 case $ac_user_opts in
901 *" 939 *"
902 "enable_$ac_useropt" 940 "enable_$ac_useropt"
1096 1134
1097 -with-* | --with-*) 1135 -with-* | --with-*)
1098 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1136 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names. 1137 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101 as_fn_error "invalid package name: $ac_useropt" 1139 as_fn_error $? "invalid package name: $ac_useropt"
1102 ac_useropt_orig=$ac_useropt 1140 ac_useropt_orig=$ac_useropt
1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1141 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in 1142 case $ac_user_opts in
1105 *" 1143 *"
1106 "with_$ac_useropt" 1144 "with_$ac_useropt"
1112 1150
1113 -without-* | --without-*) 1151 -without-* | --without-*)
1114 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1152 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1115 # Reject names that are not valid shell variable names. 1153 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1117 as_fn_error "invalid package name: $ac_useropt" 1155 as_fn_error $? "invalid package name: $ac_useropt"
1118 ac_useropt_orig=$ac_useropt 1156 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1157 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in 1158 case $ac_user_opts in
1121 *" 1159 *"
1122 "with_$ac_useropt" 1160 "with_$ac_useropt"
1142 ac_prev=x_libraries ;; 1180 ac_prev=x_libraries ;;
1143 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1181 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1144 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1182 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1145 x_libraries=$ac_optarg ;; 1183 x_libraries=$ac_optarg ;;
1146 1184
1147 -*) as_fn_error "unrecognized option: \`$ac_option' 1185 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1148 Try \`$0 --help' for more information." 1186 Try \`$0 --help' for more information"
1149 ;; 1187 ;;
1150 1188
1151 *=*) 1189 *=*)
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1190 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names. 1191 # Reject names that are not valid shell variable names.
1154 case $ac_envvar in #( 1192 case $ac_envvar in #(
1155 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1193 '' | [0-9]* | *[!_$as_cr_alnum]* )
1156 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1194 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1157 esac 1195 esac
1158 eval $ac_envvar=\$ac_optarg 1196 eval $ac_envvar=\$ac_optarg
1159 export $ac_envvar ;; 1197 export $ac_envvar ;;
1160 1198
1161 *) 1199 *)
1162 # FIXME: should be removed in autoconf 3.0. 1200 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1167 ;; 1205 ;;
1168 1206
1169 esac 1207 esac
1170 done 1208 done
1171 1209
1172 if test -n "$ac_prev"; then 1210 if test -n "$ac_prev"; then
1173 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1211 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1174 as_fn_error "missing argument to $ac_option" 1212 as_fn_error $? "missing argument to $ac_option"
1175 fi 1213 fi
1176 1214
1177 if test -n "$ac_unrecognized_opts"; then 1215 if test -n "$ac_unrecognized_opts"; then
1178 case $enable_option_checking in 1216 case $enable_option_checking in
1179 no) ;; 1217 no) ;;
1180 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1218 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1181 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1182 esac 1220 esac
1183 fi 1221 fi
1184 1222
1185 # Check all directory arguments for consistency. 1223 # Check all directory arguments for consistency.
1198 # Be sure to have absolute directory names. 1236 # Be sure to have absolute directory names.
1199 case $ac_val in 1237 case $ac_val in
1200 [\\/$]* | ?:[\\/]* ) continue;; 1238 [\\/$]* | ?:[\\/]* ) continue;;
1201 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1239 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1202 esac 1240 esac
1203 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1241 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1204 done 1242 done
1205 1243
1206 # There might be people who depend on the old broken behavior: `$host' 1244 # There might be people who depend on the old broken behavior: `$host'
1207 # used to hold the argument of --host etc. 1245 # used to hold the argument of --host etc.
1208 # FIXME: To remove some day. 1246 # FIXME: To remove some day.
1212 1250
1213 # FIXME: To remove some day. 1251 # FIXME: To remove some day.
1214 if test "x$host_alias" != x; then 1252 if test "x$host_alias" != x; then
1215 if test "x$build_alias" = x; then 1253 if test "x$build_alias" = x; then
1216 cross_compiling=maybe 1254 cross_compiling=maybe
1217 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1218 If a cross compiler is detected then cross compile mode will be used." >&2
1219 elif test "x$build_alias" != "x$host_alias"; then 1255 elif test "x$build_alias" != "x$host_alias"; then
1220 cross_compiling=yes 1256 cross_compiling=yes
1221 fi 1257 fi
1222 fi 1258 fi
1223 1259
1228 1264
1229 1265
1230 ac_pwd=`pwd` && test -n "$ac_pwd" && 1266 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1231 ac_ls_di=`ls -di .` && 1267 ac_ls_di=`ls -di .` &&
1232 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1268 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1233 as_fn_error "working directory cannot be determined" 1269 as_fn_error $? "working directory cannot be determined"
1234 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1235 as_fn_error "pwd does not report name of working directory" 1271 as_fn_error $? "pwd does not report name of working directory"
1236 1272
1237 1273
1238 # Find the source files, if location was not specified. 1274 # Find the source files, if location was not specified.
1239 if test -z "$srcdir"; then 1275 if test -z "$srcdir"; then
1240 ac_srcdir_defaulted=yes 1276 ac_srcdir_defaulted=yes
1269 else 1305 else
1270 ac_srcdir_defaulted=no 1306 ac_srcdir_defaulted=no
1271 fi 1307 fi
1272 if test ! -r "$srcdir/$ac_unique_file"; then 1308 if test ! -r "$srcdir/$ac_unique_file"; then
1273 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1309 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1274 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1310 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1275 fi 1311 fi
1276 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1312 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1277 ac_abs_confdir=`( 1313 ac_abs_confdir=`(
1278 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1279 pwd)` 1315 pwd)`
1280 # When building in place, set srcdir=. 1316 # When building in place, set srcdir=.
1281 if test "$ac_abs_confdir" = "$ac_pwd"; then 1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 srcdir=. 1318 srcdir=.
1283 fi 1319 fi
1313 Configuration: 1349 Configuration:
1314 -h, --help display this help and exit 1350 -h, --help display this help and exit
1315 --help=short display options specific to this package 1351 --help=short display options specific to this package
1316 --help=recursive display the short help of all the included packages 1352 --help=recursive display the short help of all the included packages
1317 -V, --version display version information and exit 1353 -V, --version display version information and exit
1318 -q, --quiet, --silent do not print \`checking...' messages 1354 -q, --quiet, --silent do not print \`checking ...' messages
1319 --cache-file=FILE cache test results in FILE [disabled] 1355 --cache-file=FILE cache test results in FILE [disabled]
1320 -C, --config-cache alias for \`--cache-file=config.cache' 1356 -C, --config-cache alias for \`--cache-file=config.cache'
1321 -n, --no-create do not create output files 1357 -n, --no-create do not create output files
1322 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1323 1359
1378 1414
1379 Optional Features: 1415 Optional Features:
1380 --disable-option-checking ignore unrecognized --enable/--with options 1416 --disable-option-checking ignore unrecognized --enable/--with options
1381 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1417 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1382 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1418 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1383 --enable-maintainer-mode enable make rules and dependencies not useful 1419 --enable-silent-rules less verbose build output (undo: "make V=1")
1384 (and sometimes confusing) to the casual installer 1420 --disable-silent-rules verbose build output (undo: "make V=0")
1385 --disable-dependency-tracking speeds up one-time build 1421 --enable-maintainer-mode
1386 --enable-dependency-tracking do not reject slow dependency extractors 1422 enable make rules and dependencies not useful (and
1423 sometimes confusing) to the casual installer
1424 --enable-dependency-tracking
1425 do not reject slow dependency extractors
1426 --disable-dependency-tracking
1427 speeds up one-time build
1387 --enable-multilib build many library versions (default) 1428 --enable-multilib build many library versions (default)
1388 --enable-version-specific-runtime-libs 1429 --enable-version-specific-runtime-libs
1389 Specify that runtime libraries should be installed 1430 Specify that runtime libraries should be installed
1390 in a compiler-specific directory 1431 in a compiler-specific directory
1391 --enable-shared[=PKGS] build shared libraries [default=yes] 1432 --enable-shared[=PKGS] build shared libraries [default=yes]
1395 --disable-libtool-lock avoid locking (might break parallel builds) 1436 --disable-libtool-lock avoid locking (might break parallel builds)
1396 1437
1397 Optional Packages: 1438 Optional Packages:
1398 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1439 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1399 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1440 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1441 --with-toolexeclibdir=DIR
1442 install libraries built with a cross compiler within
1443 DIR
1400 --with-pic try to use only PIC/non-PIC objects [default=use 1444 --with-pic try to use only PIC/non-PIC objects [default=use
1401 both] 1445 both]
1402 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1446 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1403 --with-gcc-major-version-only 1447 --with-gcc-major-version-only
1404 use only GCC major number in filesystem paths 1448 use only GCC major number in filesystem paths
1407 CC C compiler command 1451 CC C compiler command
1408 CFLAGS C compiler flags 1452 CFLAGS C compiler flags
1409 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1453 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1410 nonstandard directory <lib dir> 1454 nonstandard directory <lib dir>
1411 LIBS libraries to pass to the linker, e.g. -l<library> 1455 LIBS libraries to pass to the linker, e.g. -l<library>
1412 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1456 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1413 you have headers in a nonstandard directory <include dir> 1457 you have headers in a nonstandard directory <include dir>
1414 CXX C++ compiler command 1458 CXX C++ compiler command
1415 CXXFLAGS C++ compiler flags 1459 CXXFLAGS C++ compiler flags
1416 CPP C preprocessor 1460 CPP C preprocessor
1417 CXXCPP C++ preprocessor 1461 CXXCPP C++ preprocessor
1481 1525
1482 test -n "$ac_init_help" && exit $ac_status 1526 test -n "$ac_init_help" && exit $ac_status
1483 if $ac_init_version; then 1527 if $ac_init_version; then
1484 cat <<\_ACEOF 1528 cat <<\_ACEOF
1485 MIC Offload Runtime Library configure 1.0 1529 MIC Offload Runtime Library configure 1.0
1486 generated by GNU Autoconf 2.64 1530 generated by GNU Autoconf 2.69
1487 1531
1488 Copyright (C) 2009 Free Software Foundation, Inc. 1532 Copyright (C) 2012 Free Software Foundation, Inc.
1489 This configure script is free software; the Free Software Foundation 1533 This configure script is free software; the Free Software Foundation
1490 gives unlimited permission to copy, distribute and modify it. 1534 gives unlimited permission to copy, distribute and modify it.
1491 _ACEOF 1535 _ACEOF
1492 exit 1536 exit
1493 fi 1537 fi
1527 $as_echo "$as_me: failed program was:" >&5 1571 $as_echo "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.$ac_ext >&5 1572 sed 's/^/| /' conftest.$ac_ext >&5
1529 1573
1530 ac_retval=1 1574 ac_retval=1
1531 fi 1575 fi
1532 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1533 return $ac_retval 1577 as_fn_set_status $ac_retval
1534 1578
1535 } # ac_fn_c_try_compile 1579 } # ac_fn_c_try_compile
1536 1580
1537 # ac_fn_cxx_try_compile LINENO 1581 # ac_fn_cxx_try_compile LINENO
1538 # ---------------------------- 1582 # ----------------------------
1565 $as_echo "$as_me: failed program was:" >&5 1609 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5 1610 sed 's/^/| /' conftest.$ac_ext >&5
1567 1611
1568 ac_retval=1 1612 ac_retval=1
1569 fi 1613 fi
1570 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 return $ac_retval 1615 as_fn_set_status $ac_retval
1572 1616
1573 } # ac_fn_cxx_try_compile 1617 } # ac_fn_cxx_try_compile
1574 1618
1575 # ac_fn_c_try_link LINENO 1619 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1576 # ----------------------- 1620 # -------------------------------------------
1577 # Try to link conftest.$ac_ext, and return whether this succeeded. 1621 # Tests whether TYPE exists after having included INCLUDES, setting cache
1578 ac_fn_c_try_link () 1622 # variable VAR accordingly.
1623 ac_fn_c_check_type ()
1579 { 1624 {
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 rm -f conftest.$ac_objext conftest$ac_exeext 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1582 if { { ac_try="$ac_link" 1627 $as_echo_n "checking for $2... " >&6; }
1583 case "(($ac_try" in 1628 if eval \${$3+:} false; then :
1584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1629 $as_echo_n "(cached) " >&6
1585 *) ac_try_echo=$ac_try;; 1630 else
1586 esac 1631 eval "$3=no"
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1588 $as_echo "$ac_try_echo"; } >&5 1633 /* end confdefs.h. */
1589 (eval "$ac_link") 2>conftest.err 1634 $4
1590 ac_status=$? 1635 int
1591 if test -s conftest.err; then 1636 main ()
1592 grep -v '^ *+' conftest.err >conftest.er1 1637 {
1593 cat conftest.er1 >&5 1638 if (sizeof ($2))
1594 mv -f conftest.er1 conftest.err 1639 return 0;
1595 fi 1640 ;
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1641 return 0;
1597 test $ac_status = 0; } && { 1642 }
1598 test -z "$ac_c_werror_flag" || 1643 _ACEOF
1599 test ! -s conftest.err 1644 if ac_fn_c_try_compile "$LINENO"; then :
1600 } && test -s conftest$ac_exeext && { 1645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1601 test "$cross_compiling" = yes || 1646 /* end confdefs.h. */
1602 $as_test_x conftest$ac_exeext 1647 $4
1603 }; then : 1648 int
1604 ac_retval=0 1649 main ()
1605 else 1650 {
1606 $as_echo "$as_me: failed program was:" >&5 1651 if (sizeof (($2)))
1607 sed 's/^/| /' conftest.$ac_ext >&5 1652 return 0;
1608 1653 ;
1609 ac_retval=1 1654 return 0;
1610 fi 1655 }
1611 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1656 _ACEOF
1612 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1657 if ac_fn_c_try_compile "$LINENO"; then :
1613 # interfere with the next link command; also delete a directory that is 1658
1614 # left behind by Apple's compiler. We do this before executing the actions. 1659 else
1615 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1660 eval "$3=yes"
1616 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1661 fi
1617 return $ac_retval 1662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 1663 fi
1619 } # ac_fn_c_try_link 1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 fi
1666 eval ac_res=\$$3
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670
1671 } # ac_fn_c_check_type
1620 1672
1621 # ac_fn_c_try_cpp LINENO 1673 # ac_fn_c_try_cpp LINENO
1622 # ---------------------- 1674 # ----------------------
1623 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1675 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1624 ac_fn_c_try_cpp () 1676 ac_fn_c_try_cpp ()
1637 grep -v '^ *+' conftest.err >conftest.er1 1689 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5 1690 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err 1691 mv -f conftest.er1 conftest.err
1640 fi 1692 fi
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } >/dev/null && { 1694 test $ac_status = 0; } > conftest.i && {
1643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644 test ! -s conftest.err 1696 test ! -s conftest.err
1645 }; then : 1697 }; then :
1646 ac_retval=0 1698 ac_retval=0
1647 else 1699 else
1648 $as_echo "$as_me: failed program was:" >&5 1700 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5 1701 sed 's/^/| /' conftest.$ac_ext >&5
1650 1702
1651 ac_retval=1 1703 ac_retval=1
1652 fi 1704 fi
1653 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 return $ac_retval 1706 as_fn_set_status $ac_retval
1655 1707
1656 } # ac_fn_c_try_cpp 1708 } # ac_fn_c_try_cpp
1657
1658 # ac_fn_c_check_func LINENO FUNC VAR
1659 # ----------------------------------
1660 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1661 ac_fn_c_check_func ()
1662 {
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665 $as_echo_n "checking for $2... " >&6; }
1666 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1667 $as_echo_n "(cached) " >&6
1668 else
1669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670 /* end confdefs.h. */
1671 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1673 #define $2 innocuous_$2
1674
1675 /* System header to define __stub macros and hopefully few prototypes,
1676 which can conflict with char $2 (); below.
1677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1678 <limits.h> exists even on freestanding compilers. */
1679
1680 #ifdef __STDC__
1681 # include <limits.h>
1682 #else
1683 # include <assert.h>
1684 #endif
1685
1686 #undef $2
1687
1688 /* Override any GCC internal prototype to avoid an error.
1689 Use char because int might match the return type of a GCC
1690 builtin and then its argument prototype would still apply. */
1691 #ifdef __cplusplus
1692 extern "C"
1693 #endif
1694 char $2 ();
1695 /* The GNU C library defines this for functions which it implements
1696 to always fail with ENOSYS. Some functions are actually named
1697 something starting with __ and the normal name is an alias. */
1698 #if defined __stub_$2 || defined __stub___$2
1699 choke me
1700 #endif
1701
1702 int
1703 main ()
1704 {
1705 return $2 ();
1706 ;
1707 return 0;
1708 }
1709 _ACEOF
1710 if ac_fn_c_try_link "$LINENO"; then :
1711 eval "$3=yes"
1712 else
1713 eval "$3=no"
1714 fi
1715 rm -f core conftest.err conftest.$ac_objext \
1716 conftest$ac_exeext conftest.$ac_ext
1717 fi
1718 eval ac_res=\$$3
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722
1723 } # ac_fn_c_check_func
1724 1709
1725 # ac_fn_c_try_run LINENO 1710 # ac_fn_c_try_run LINENO
1726 # ---------------------- 1711 # ----------------------
1727 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1728 # that executables *can* be run. 1713 # that executables *can* be run.
1757 sed 's/^/| /' conftest.$ac_ext >&5 1742 sed 's/^/| /' conftest.$ac_ext >&5
1758 1743
1759 ac_retval=$ac_status 1744 ac_retval=$ac_status
1760 fi 1745 fi
1761 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 return $ac_retval 1748 as_fn_set_status $ac_retval
1764 1749
1765 } # ac_fn_c_try_run 1750 } # ac_fn_c_try_run
1766 1751
1767 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1768 # ------------------------------------------------------- 1753 # -------------------------------------------------------
1771 ac_fn_c_check_header_compile () 1756 ac_fn_c_check_header_compile ()
1772 { 1757 {
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775 $as_echo_n "checking for $2... " >&6; } 1760 $as_echo_n "checking for $2... " >&6; }
1776 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1761 if eval \${$3+:} false; then :
1777 $as_echo_n "(cached) " >&6 1762 $as_echo_n "(cached) " >&6
1778 else 1763 else
1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h. */ 1765 /* end confdefs.h. */
1781 $4 1766 $4
1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1790 fi 1775 fi
1791 eval ac_res=\$$3 1776 eval ac_res=\$$3
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; } 1778 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 1780
1796 } # ac_fn_c_check_header_compile 1781 } # ac_fn_c_check_header_compile
1782
1783 # ac_fn_c_try_link LINENO
1784 # -----------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_link ()
1787 {
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 rm -f conftest.$ac_objext conftest$ac_exeext
1790 if { { ac_try="$ac_link"
1791 case "(($ac_try" in
1792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1794 esac
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_link") 2>conftest.err
1798 ac_status=$?
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1803 fi
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest$ac_exeext && {
1809 test "$cross_compiling" = yes ||
1810 test -x conftest$ac_exeext
1811 }; then :
1812 ac_retval=0
1813 else
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1816
1817 ac_retval=1
1818 fi
1819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821 # interfere with the next link command; also delete a directory that is
1822 # left behind by Apple's compiler. We do this before executing the actions.
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1826
1827 } # ac_fn_c_try_link
1828
1829 # ac_fn_c_check_func LINENO FUNC VAR
1830 # ----------------------------------
1831 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1832 ac_fn_c_check_func ()
1833 {
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838 $as_echo_n "(cached) " >&6
1839 else
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1844 #define $2 innocuous_$2
1845
1846 /* System header to define __stub macros and hopefully few prototypes,
1847 which can conflict with char $2 (); below.
1848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1849 <limits.h> exists even on freestanding compilers. */
1850
1851 #ifdef __STDC__
1852 # include <limits.h>
1853 #else
1854 # include <assert.h>
1855 #endif
1856
1857 #undef $2
1858
1859 /* Override any GCC internal prototype to avoid an error.
1860 Use char because int might match the return type of a GCC
1861 builtin and then its argument prototype would still apply. */
1862 #ifdef __cplusplus
1863 extern "C"
1864 #endif
1865 char $2 ();
1866 /* The GNU C library defines this for functions which it implements
1867 to always fail with ENOSYS. Some functions are actually named
1868 something starting with __ and the normal name is an alias. */
1869 #if defined __stub_$2 || defined __stub___$2
1870 choke me
1871 #endif
1872
1873 int
1874 main ()
1875 {
1876 return $2 ();
1877 ;
1878 return 0;
1879 }
1880 _ACEOF
1881 if ac_fn_c_try_link "$LINENO"; then :
1882 eval "$3=yes"
1883 else
1884 eval "$3=no"
1885 fi
1886 rm -f core conftest.err conftest.$ac_objext \
1887 conftest$ac_exeext conftest.$ac_ext
1888 fi
1889 eval ac_res=\$$3
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893
1894 } # ac_fn_c_check_func
1797 1895
1798 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1896 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1799 # ------------------------------------------------------- 1897 # -------------------------------------------------------
1800 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1898 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1801 # the include files in INCLUDES and setting the cache variable VAR 1899 # the include files in INCLUDES and setting the cache variable VAR
1802 # accordingly. 1900 # accordingly.
1803 ac_fn_c_check_header_mongrel () 1901 ac_fn_c_check_header_mongrel ()
1804 { 1902 {
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1904 if eval \${$3+:} false; then :
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; } 1906 $as_echo_n "checking for $2... " >&6; }
1809 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1907 if eval \${$3+:} false; then :
1810 $as_echo_n "(cached) " >&6 1908 $as_echo_n "(cached) " >&6
1811 fi 1909 fi
1812 eval ac_res=\$$3 1910 eval ac_res=\$$3
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; } 1912 $as_echo "$ac_res" >&6; }
1840 if ac_fn_c_try_cpp "$LINENO"; then : 1938 if ac_fn_c_try_cpp "$LINENO"; then :
1841 ac_header_preproc=yes 1939 ac_header_preproc=yes
1842 else 1940 else
1843 ac_header_preproc=no 1941 ac_header_preproc=no
1844 fi 1942 fi
1845 rm -f conftest.err conftest.$ac_ext 1943 rm -f conftest.err conftest.i conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1847 $as_echo "$ac_header_preproc" >&6; } 1945 $as_echo "$ac_header_preproc" >&6; }
1848 1946
1849 # So? What about this header? 1947 # So? What about this header?
1850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1867 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1868 ;; 1966 ;;
1869 esac 1967 esac
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; } 1969 $as_echo_n "checking for $2... " >&6; }
1872 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1970 if eval \${$3+:} false; then :
1873 $as_echo_n "(cached) " >&6 1971 $as_echo_n "(cached) " >&6
1874 else 1972 else
1875 eval "$3=\$ac_header_compiler" 1973 eval "$3=\$ac_header_compiler"
1876 fi 1974 fi
1877 eval ac_res=\$$3 1975 eval ac_res=\$$3
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; } 1977 $as_echo "$ac_res" >&6; }
1880 fi 1978 fi
1881 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 1980
1883 } # ac_fn_c_check_header_mongrel 1981 } # ac_fn_c_check_header_mongrel
1884 1982
1885 # ac_fn_cxx_try_cpp LINENO 1983 # ac_fn_cxx_try_cpp LINENO
1886 # ------------------------ 1984 # ------------------------
1901 grep -v '^ *+' conftest.err >conftest.er1 1999 grep -v '^ *+' conftest.err >conftest.er1
1902 cat conftest.er1 >&5 2000 cat conftest.er1 >&5
1903 mv -f conftest.er1 conftest.err 2001 mv -f conftest.er1 conftest.err
1904 fi 2002 fi
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; } >/dev/null && { 2004 test $ac_status = 0; } > conftest.i && {
1907 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2005 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1908 test ! -s conftest.err 2006 test ! -s conftest.err
1909 }; then : 2007 }; then :
1910 ac_retval=0 2008 ac_retval=0
1911 else 2009 else
1912 $as_echo "$as_me: failed program was:" >&5 2010 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5 2011 sed 's/^/| /' conftest.$ac_ext >&5
1914 2012
1915 ac_retval=1 2013 ac_retval=1
1916 fi 2014 fi
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 return $ac_retval 2016 as_fn_set_status $ac_retval
1919 2017
1920 } # ac_fn_cxx_try_cpp 2018 } # ac_fn_cxx_try_cpp
1921 2019
1922 # ac_fn_cxx_try_link LINENO 2020 # ac_fn_cxx_try_link LINENO
1923 # ------------------------- 2021 # -------------------------
1944 test $ac_status = 0; } && { 2042 test $ac_status = 0; } && {
1945 test -z "$ac_cxx_werror_flag" || 2043 test -z "$ac_cxx_werror_flag" ||
1946 test ! -s conftest.err 2044 test ! -s conftest.err
1947 } && test -s conftest$ac_exeext && { 2045 } && test -s conftest$ac_exeext && {
1948 test "$cross_compiling" = yes || 2046 test "$cross_compiling" = yes ||
1949 $as_test_x conftest$ac_exeext 2047 test -x conftest$ac_exeext
1950 }; then : 2048 }; then :
1951 ac_retval=0 2049 ac_retval=0
1952 else 2050 else
1953 $as_echo "$as_me: failed program was:" >&5 2051 $as_echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.$ac_ext >&5 2052 sed 's/^/| /' conftest.$ac_ext >&5
1958 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2056 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1959 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2057 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1960 # interfere with the next link command; also delete a directory that is 2058 # interfere with the next link command; also delete a directory that is
1961 # left behind by Apple's compiler. We do this before executing the actions. 2059 # left behind by Apple's compiler. We do this before executing the actions.
1962 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2060 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1963 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 return $ac_retval 2062 as_fn_set_status $ac_retval
1965 2063
1966 } # ac_fn_cxx_try_link 2064 } # ac_fn_cxx_try_link
1967 cat >config.log <<_ACEOF 2065 cat >config.log <<_ACEOF
1968 This file contains any messages produced by compilers while 2066 This file contains any messages produced by compilers while
1969 running configure, to aid debugging if configure makes a mistake. 2067 running configure, to aid debugging if configure makes a mistake.
1970 2068
1971 It was created by MIC Offload Runtime Library $as_me 1.0, which was 2069 It was created by MIC Offload Runtime Library $as_me 1.0, which was
1972 generated by GNU Autoconf 2.64. Invocation command line was 2070 generated by GNU Autoconf 2.69. Invocation command line was
1973 2071
1974 $ $0 $@ 2072 $ $0 $@
1975 2073
1976 _ACEOF 2074 _ACEOF
1977 exec 5>>config.log 2075 exec 5>>config.log
2077 trap 'exit_status=$? 2175 trap 'exit_status=$?
2078 # Save into config.log some information that might help in debugging. 2176 # Save into config.log some information that might help in debugging.
2079 { 2177 {
2080 echo 2178 echo
2081 2179
2082 cat <<\_ASBOX 2180 $as_echo "## ---------------- ##
2083 ## ---------------- ##
2084 ## Cache variables. ## 2181 ## Cache variables. ##
2085 ## ---------------- ## 2182 ## ---------------- ##"
2086 _ASBOX
2087 echo 2183 echo
2088 # The following way of writing the cache mishandles newlines in values, 2184 # The following way of writing the cache mishandles newlines in values,
2089 ( 2185 (
2090 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2091 eval ac_val=\$$ac_var 2187 eval ac_val=\$$ac_var
2115 esac | 2211 esac |
2116 sort 2212 sort
2117 ) 2213 )
2118 echo 2214 echo
2119 2215
2120 cat <<\_ASBOX 2216 $as_echo "## ----------------- ##
2121 ## ----------------- ##
2122 ## Output variables. ## 2217 ## Output variables. ##
2123 ## ----------------- ## 2218 ## ----------------- ##"
2124 _ASBOX
2125 echo 2219 echo
2126 for ac_var in $ac_subst_vars 2220 for ac_var in $ac_subst_vars
2127 do 2221 do
2128 eval ac_val=\$$ac_var 2222 eval ac_val=\$$ac_var
2129 case $ac_val in 2223 case $ac_val in
2132 $as_echo "$ac_var='\''$ac_val'\''" 2226 $as_echo "$ac_var='\''$ac_val'\''"
2133 done | sort 2227 done | sort
2134 echo 2228 echo
2135 2229
2136 if test -n "$ac_subst_files"; then 2230 if test -n "$ac_subst_files"; then
2137 cat <<\_ASBOX 2231 $as_echo "## ------------------- ##
2138 ## ------------------- ##
2139 ## File substitutions. ## 2232 ## File substitutions. ##
2140 ## ------------------- ## 2233 ## ------------------- ##"
2141 _ASBOX
2142 echo 2234 echo
2143 for ac_var in $ac_subst_files 2235 for ac_var in $ac_subst_files
2144 do 2236 do
2145 eval ac_val=\$$ac_var 2237 eval ac_val=\$$ac_var
2146 case $ac_val in 2238 case $ac_val in
2150 done | sort 2242 done | sort
2151 echo 2243 echo
2152 fi 2244 fi
2153 2245
2154 if test -s confdefs.h; then 2246 if test -s confdefs.h; then
2155 cat <<\_ASBOX 2247 $as_echo "## ----------- ##
2156 ## ----------- ##
2157 ## confdefs.h. ## 2248 ## confdefs.h. ##
2158 ## ----------- ## 2249 ## ----------- ##"
2159 _ASBOX
2160 echo 2250 echo
2161 cat confdefs.h 2251 cat confdefs.h
2162 echo 2252 echo
2163 fi 2253 fi
2164 test "$ac_signal" != 0 && 2254 test "$ac_signal" != 0 &&
2209 # Let the site file select an alternate cache file if it wants to. 2299 # Let the site file select an alternate cache file if it wants to.
2210 # Prefer an explicitly selected file to automatically selected ones. 2300 # Prefer an explicitly selected file to automatically selected ones.
2211 ac_site_file1=NONE 2301 ac_site_file1=NONE
2212 ac_site_file2=NONE 2302 ac_site_file2=NONE
2213 if test -n "$CONFIG_SITE"; then 2303 if test -n "$CONFIG_SITE"; then
2214 ac_site_file1=$CONFIG_SITE 2304 # We do not want a PATH search for config.site.
2305 case $CONFIG_SITE in #((
2306 -*) ac_site_file1=./$CONFIG_SITE;;
2307 */*) ac_site_file1=$CONFIG_SITE;;
2308 *) ac_site_file1=./$CONFIG_SITE;;
2309 esac
2215 elif test "x$prefix" != xNONE; then 2310 elif test "x$prefix" != xNONE; then
2216 ac_site_file1=$prefix/share/config.site 2311 ac_site_file1=$prefix/share/config.site
2217 ac_site_file2=$prefix/etc/config.site 2312 ac_site_file2=$prefix/etc/config.site
2218 else 2313 else
2219 ac_site_file1=$ac_default_prefix/share/config.site 2314 ac_site_file1=$ac_default_prefix/share/config.site
2220 ac_site_file2=$ac_default_prefix/etc/config.site 2315 ac_site_file2=$ac_default_prefix/etc/config.site
2221 fi 2316 fi
2222 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2317 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2223 do 2318 do
2224 test "x$ac_site_file" = xNONE && continue 2319 test "x$ac_site_file" = xNONE && continue
2225 if test -r "$ac_site_file"; then 2320 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2227 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2322 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2228 sed 's/^/| /' "$ac_site_file" >&5 2323 sed 's/^/| /' "$ac_site_file" >&5
2229 . "$ac_site_file" 2324 . "$ac_site_file" \
2325 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 as_fn_error $? "failed to load site script $ac_site_file
2328 See \`config.log' for more details" "$LINENO" 5; }
2230 fi 2329 fi
2231 done 2330 done
2232 2331
2233 if test -r "$cache_file"; then 2332 if test -r "$cache_file"; then
2234 # Some versions of bash will fail to source /dev/null (special 2333 # Some versions of bash will fail to source /dev/null (special files
2235 # files actually), so we avoid doing that. 2334 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2236 if test -f "$cache_file"; then 2335 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2336 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2238 $as_echo "$as_me: loading cache $cache_file" >&6;} 2337 $as_echo "$as_me: loading cache $cache_file" >&6;}
2239 case $cache_file in 2338 case $cache_file in
2240 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2339 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2241 *) . "./$cache_file";; 2340 *) . "./$cache_file";;
2300 if $ac_cache_corrupted; then 2399 if $ac_cache_corrupted; then
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2304 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2305 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2404 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2306 fi 2405 fi
2307 ## -------------------- ## 2406 ## -------------------- ##
2308 ## Main body of script. ## 2407 ## Main body of script. ##
2309 ## -------------------- ## 2408 ## -------------------- ##
2310 2409
2319 2418
2320 2419
2321 2420
2322 ac_aux_dir= 2421 ac_aux_dir=
2323 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2422 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2324 for ac_t in install-sh install.sh shtool; do 2423 if test -f "$ac_dir/install-sh"; then
2325 if test -f "$ac_dir/$ac_t"; then 2424 ac_aux_dir=$ac_dir
2326 ac_aux_dir=$ac_dir 2425 ac_install_sh="$ac_aux_dir/install-sh -c"
2327 ac_install_sh="$ac_aux_dir/$ac_t -c" 2426 break
2328 break 2 2427 elif test -f "$ac_dir/install.sh"; then
2329 fi 2428 ac_aux_dir=$ac_dir
2330 done 2429 ac_install_sh="$ac_aux_dir/install.sh -c"
2430 break
2431 elif test -f "$ac_dir/shtool"; then
2432 ac_aux_dir=$ac_dir
2433 ac_install_sh="$ac_aux_dir/shtool install -c"
2434 break
2435 fi
2331 done 2436 done
2332 if test -z "$ac_aux_dir"; then 2437 if test -z "$ac_aux_dir"; then
2333 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2438 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2334 fi 2439 fi
2335 2440
2336 # These three variables are undocumented and unsupported, 2441 # These three variables are undocumented and unsupported,
2337 # and are intended to be withdrawn in a future Autoconf release. 2442 # and are intended to be withdrawn in a future Autoconf release.
2338 # They can cause serious problems if a builder's source tree is in a directory 2443 # They can cause serious problems if a builder's source tree is in a directory
2342 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2447 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2343 2448
2344 2449
2345 # Make sure we can run config.sub. 2450 # Make sure we can run config.sub.
2346 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2451 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2347 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2452 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2348 2453
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2350 $as_echo_n "checking build system type... " >&6; } 2455 $as_echo_n "checking build system type... " >&6; }
2351 if test "${ac_cv_build+set}" = set; then : 2456 if ${ac_cv_build+:} false; then :
2352 $as_echo_n "(cached) " >&6 2457 $as_echo_n "(cached) " >&6
2353 else 2458 else
2354 ac_build_alias=$build_alias 2459 ac_build_alias=$build_alias
2355 test "x$ac_build_alias" = x && 2460 test "x$ac_build_alias" = x &&
2356 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2461 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2357 test "x$ac_build_alias" = x && 2462 test "x$ac_build_alias" = x &&
2358 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2463 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2359 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2464 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2360 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2465 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2361 2466
2362 fi 2467 fi
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2364 $as_echo "$ac_cv_build" >&6; } 2469 $as_echo "$ac_cv_build" >&6; }
2365 case $ac_cv_build in 2470 case $ac_cv_build in
2366 *-*-*) ;; 2471 *-*-*) ;;
2367 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2472 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2368 esac 2473 esac
2369 build=$ac_cv_build 2474 build=$ac_cv_build
2370 ac_save_IFS=$IFS; IFS='-' 2475 ac_save_IFS=$IFS; IFS='-'
2371 set x $ac_cv_build 2476 set x $ac_cv_build
2372 shift 2477 shift
2380 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2485 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2381 2486
2382 2487
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2384 $as_echo_n "checking host system type... " >&6; } 2489 $as_echo_n "checking host system type... " >&6; }
2385 if test "${ac_cv_host+set}" = set; then : 2490 if ${ac_cv_host+:} false; then :
2386 $as_echo_n "(cached) " >&6 2491 $as_echo_n "(cached) " >&6
2387 else 2492 else
2388 if test "x$host_alias" = x; then 2493 if test "x$host_alias" = x; then
2389 ac_cv_host=$ac_cv_build 2494 ac_cv_host=$ac_cv_build
2390 else 2495 else
2391 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2496 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2392 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2497 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2393 fi 2498 fi
2394 2499
2395 fi 2500 fi
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2397 $as_echo "$ac_cv_host" >&6; } 2502 $as_echo "$ac_cv_host" >&6; }
2398 case $ac_cv_host in 2503 case $ac_cv_host in
2399 *-*-*) ;; 2504 *-*-*) ;;
2400 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2505 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2401 esac 2506 esac
2402 host=$ac_cv_host 2507 host=$ac_cv_host
2403 ac_save_IFS=$IFS; IFS='-' 2508 ac_save_IFS=$IFS; IFS='-'
2404 set x $ac_cv_host 2509 set x $ac_cv_host
2405 shift 2510 shift
2413 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2518 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2414 2519
2415 2520
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2417 $as_echo_n "checking target system type... " >&6; } 2522 $as_echo_n "checking target system type... " >&6; }
2418 if test "${ac_cv_target+set}" = set; then : 2523 if ${ac_cv_target+:} false; then :
2419 $as_echo_n "(cached) " >&6 2524 $as_echo_n "(cached) " >&6
2420 else 2525 else
2421 if test "x$target_alias" = x; then 2526 if test "x$target_alias" = x; then
2422 ac_cv_target=$ac_cv_host 2527 ac_cv_target=$ac_cv_host
2423 else 2528 else
2424 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2529 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2425 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2530 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2426 fi 2531 fi
2427 2532
2428 fi 2533 fi
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2430 $as_echo "$ac_cv_target" >&6; } 2535 $as_echo "$ac_cv_target" >&6; }
2431 case $ac_cv_target in 2536 case $ac_cv_target in
2432 *-*-*) ;; 2537 *-*-*) ;;
2433 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2538 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2434 esac 2539 esac
2435 target=$ac_cv_target 2540 target=$ac_cv_target
2436 ac_save_IFS=$IFS; IFS='-' 2541 ac_save_IFS=$IFS; IFS='-'
2437 set x $ac_cv_target 2542 set x $ac_cv_target
2438 shift 2543 shift
2454 program_prefix=${target_alias}- 2559 program_prefix=${target_alias}-
2455 2560
2456 target_alias=${target_alias-$host_alias} 2561 target_alias=${target_alias-$host_alias}
2457 2562
2458 2563
2459 am__api_version='1.11' 2564 am__api_version='1.15'
2460 2565
2461 # Find a good install program. We prefer a C program (faster), 2566 # Find a good install program. We prefer a C program (faster),
2462 # so one script is as good as another. But avoid the broken or 2567 # so one script is as good as another. But avoid the broken or
2463 # incompatible versions: 2568 # incompatible versions:
2464 # SysV /etc/install, /usr/sbin/install 2569 # SysV /etc/install, /usr/sbin/install
2473 # ./install, which can be erroneously created by make from ./install.sh. 2578 # ./install, which can be erroneously created by make from ./install.sh.
2474 # Reject install programs that cannot install multiple files. 2579 # Reject install programs that cannot install multiple files.
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2476 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2581 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2477 if test -z "$INSTALL"; then 2582 if test -z "$INSTALL"; then
2478 if test "${ac_cv_path_install+set}" = set; then : 2583 if ${ac_cv_path_install+:} false; then :
2479 $as_echo_n "(cached) " >&6 2584 $as_echo_n "(cached) " >&6
2480 else 2585 else
2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482 for as_dir in $PATH 2587 for as_dir in $PATH
2483 do 2588 do
2493 # OSF1 and SCO ODT 3.0 have their own names for install. 2598 # OSF1 and SCO ODT 3.0 have their own names for install.
2494 # Don't use installbsd from OSF since it installs stuff as root 2599 # Don't use installbsd from OSF since it installs stuff as root
2495 # by default. 2600 # by default.
2496 for ac_prog in ginstall scoinst install; do 2601 for ac_prog in ginstall scoinst install; do
2497 for ac_exec_ext in '' $ac_executable_extensions; do 2602 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2603 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2499 if test $ac_prog = install && 2604 if test $ac_prog = install &&
2500 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2605 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2501 # AIX install. It has an incompatible calling convention. 2606 # AIX install. It has an incompatible calling convention.
2502 : 2607 :
2503 elif test $ac_prog = install && 2608 elif test $ac_prog = install &&
2551 2656
2552 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2657 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2553 2658
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2555 $as_echo_n "checking whether build environment is sane... " >&6; } 2660 $as_echo_n "checking whether build environment is sane... " >&6; }
2556 # Just in case
2557 sleep 1
2558 echo timestamp > conftest.file
2559 # Reject unsafe characters in $srcdir or the absolute working directory 2661 # Reject unsafe characters in $srcdir or the absolute working directory
2560 # name. Accept space and tab only in the latter. 2662 # name. Accept space and tab only in the latter.
2561 am_lf=' 2663 am_lf='
2562 ' 2664 '
2563 case `pwd` in 2665 case `pwd` in
2564 *[\\\"\#\$\&\'\`$am_lf]*) 2666 *[\\\"\#\$\&\'\`$am_lf]*)
2565 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2667 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2566 esac 2668 esac
2567 case $srcdir in 2669 case $srcdir in
2568 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2670 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2569 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2671 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2570 esac 2672 esac
2571 2673
2572 # Do `set' in a subshell so we don't clobber the current shell's 2674 # Do 'set' in a subshell so we don't clobber the current shell's
2573 # arguments. Must try -L first in case configure is actually a 2675 # arguments. Must try -L first in case configure is actually a
2574 # symlink; some systems play weird games with the mod time of symlinks 2676 # symlink; some systems play weird games with the mod time of symlinks
2575 # (eg FreeBSD returns the mod time of the symlink's containing 2677 # (eg FreeBSD returns the mod time of the symlink's containing
2576 # directory). 2678 # directory).
2577 if ( 2679 if (
2578 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2680 am_has_slept=no
2579 if test "$*" = "X"; then 2681 for am_try in 1 2; do
2580 # -L didn't work. 2682 echo "timestamp, slept: $am_has_slept" > conftest.file
2581 set X `ls -t "$srcdir/configure" conftest.file` 2683 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2582 fi 2684 if test "$*" = "X"; then
2583 rm -f conftest.file 2685 # -L didn't work.
2584 if test "$*" != "X $srcdir/configure conftest.file" \ 2686 set X `ls -t "$srcdir/configure" conftest.file`
2585 && test "$*" != "X conftest.file $srcdir/configure"; then 2687 fi
2586 2688 if test "$*" != "X $srcdir/configure conftest.file" \
2587 # If neither matched, then we have a broken ls. This can happen 2689 && test "$*" != "X conftest.file $srcdir/configure"; then
2588 # if, for instance, CONFIG_SHELL is bash and it inherits a 2690
2589 # broken ls alias from the environment. This has actually 2691 # If neither matched, then we have a broken ls. This can happen
2590 # happened. Such a system could not be considered "sane". 2692 # if, for instance, CONFIG_SHELL is bash and it inherits a
2591 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2693 # broken ls alias from the environment. This has actually
2592 alias in your environment" "$LINENO" 5 2694 # happened. Such a system could not be considered "sane".
2593 fi 2695 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2594 2696 alias in your environment" "$LINENO" 5
2697 fi
2698 if test "$2" = conftest.file || test $am_try -eq 2; then
2699 break
2700 fi
2701 # Just in case.
2702 sleep 1
2703 am_has_slept=yes
2704 done
2595 test "$2" = conftest.file 2705 test "$2" = conftest.file
2596 ) 2706 )
2597 then 2707 then
2598 # Ok. 2708 # Ok.
2599 : 2709 :
2600 else 2710 else
2601 as_fn_error "newly created file is older than distributed files! 2711 as_fn_error $? "newly created file is older than distributed files!
2602 Check your system clock" "$LINENO" 5 2712 Check your system clock" "$LINENO" 5
2603 fi 2713 fi
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2605 $as_echo "yes" >&6; } 2715 $as_echo "yes" >&6; }
2716 # If we didn't sleep, we still need to ensure time stamps of config.status and
2717 # generated files are strictly newer.
2718 am_sleep_pid=
2719 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2720 ( sleep 1 ) &
2721 am_sleep_pid=$!
2722 fi
2723
2724 rm -f conftest.file
2725
2606 test "$program_prefix" != NONE && 2726 test "$program_prefix" != NONE &&
2607 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2727 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2608 # Use a double $ so make ignores it. 2728 # Use a double $ so make ignores it.
2609 test "$program_suffix" != NONE && 2729 test "$program_suffix" != NONE &&
2610 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2730 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2611 # Double any \ or $. 2731 # Double any \ or $.
2612 # By default was `s,x,x', remove it if useless. 2732 # By default was `s,x,x', remove it if useless.
2613 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2733 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2614 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2734 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2615 2735
2616 # expand $ac_aux_dir to an absolute path 2736 # Expand $ac_aux_dir to an absolute path.
2617 am_aux_dir=`cd $ac_aux_dir && pwd` 2737 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2618 2738
2619 if test x"${MISSING+set}" != xset; then 2739 if test x"${MISSING+set}" != xset; then
2620 case $am_aux_dir in 2740 case $am_aux_dir in
2621 *\ * | *\ *) 2741 *\ * | *\ *)
2622 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2742 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2623 *) 2743 *)
2624 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2744 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2625 esac 2745 esac
2626 fi 2746 fi
2627 # Use eval to expand $SHELL 2747 # Use eval to expand $SHELL
2628 if eval "$MISSING --run true"; then 2748 if eval "$MISSING --is-lightweight"; then
2629 am_missing_run="$MISSING --run " 2749 am_missing_run="$MISSING "
2630 else 2750 else
2631 am_missing_run= 2751 am_missing_run=
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2633 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2753 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2634 fi 2754 fi
2635 2755
2636 if test x"${install_sh}" != xset; then 2756 if test x"${install_sh+set}" != xset; then
2637 case $am_aux_dir in 2757 case $am_aux_dir in
2638 *\ * | *\ *) 2758 *\ * | *\ *)
2639 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2759 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2640 *) 2760 *)
2641 install_sh="\${SHELL} $am_aux_dir/install-sh" 2761 install_sh="\${SHELL} $am_aux_dir/install-sh"
2642 esac 2762 esac
2643 fi 2763 fi
2644 2764
2645 # Installed binaries are usually stripped using `strip' when the user 2765 # Installed binaries are usually stripped using 'strip' when the user
2646 # run `make install-strip'. However `strip' might not be the right 2766 # run "make install-strip". However 'strip' might not be the right
2647 # tool to use in cross-compilation environments, therefore Automake 2767 # tool to use in cross-compilation environments, therefore Automake
2648 # will honor the `STRIP' environment variable to overrule this program. 2768 # will honor the 'STRIP' environment variable to overrule this program.
2649 if test "$cross_compiling" != no; then 2769 if test "$cross_compiling" != no; then
2650 if test -n "$ac_tool_prefix"; then 2770 if test -n "$ac_tool_prefix"; then
2651 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2771 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2652 set dummy ${ac_tool_prefix}strip; ac_word=$2 2772 set dummy ${ac_tool_prefix}strip; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; } 2774 $as_echo_n "checking for $ac_word... " >&6; }
2655 if test "${ac_cv_prog_STRIP+set}" = set; then : 2775 if ${ac_cv_prog_STRIP+:} false; then :
2656 $as_echo_n "(cached) " >&6 2776 $as_echo_n "(cached) " >&6
2657 else 2777 else
2658 if test -n "$STRIP"; then 2778 if test -n "$STRIP"; then
2659 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2779 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2660 else 2780 else
2662 for as_dir in $PATH 2782 for as_dir in $PATH
2663 do 2783 do
2664 IFS=$as_save_IFS 2784 IFS=$as_save_IFS
2665 test -z "$as_dir" && as_dir=. 2785 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do 2786 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2788 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 break 2 2790 break 2
2671 fi 2791 fi
2672 done 2792 done
2690 ac_ct_STRIP=$STRIP 2810 ac_ct_STRIP=$STRIP
2691 # Extract the first word of "strip", so it can be a program name with args. 2811 # Extract the first word of "strip", so it can be a program name with args.
2692 set dummy strip; ac_word=$2 2812 set dummy strip; ac_word=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; } 2814 $as_echo_n "checking for $ac_word... " >&6; }
2695 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2815 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2696 $as_echo_n "(cached) " >&6 2816 $as_echo_n "(cached) " >&6
2697 else 2817 else
2698 if test -n "$ac_ct_STRIP"; then 2818 if test -n "$ac_ct_STRIP"; then
2699 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2819 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2700 else 2820 else
2702 for as_dir in $PATH 2822 for as_dir in $PATH
2703 do 2823 do
2704 IFS=$as_save_IFS 2824 IFS=$as_save_IFS
2705 test -z "$as_dir" && as_dir=. 2825 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do 2826 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708 ac_cv_prog_ac_ct_STRIP="strip" 2828 ac_cv_prog_ac_ct_STRIP="strip"
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710 break 2 2830 break 2
2711 fi 2831 fi
2712 done 2832 done
2743 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2863 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2744 2864
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2746 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2866 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2747 if test -z "$MKDIR_P"; then 2867 if test -z "$MKDIR_P"; then
2748 if test "${ac_cv_path_mkdir+set}" = set; then : 2868 if ${ac_cv_path_mkdir+:} false; then :
2749 $as_echo_n "(cached) " >&6 2869 $as_echo_n "(cached) " >&6
2750 else 2870 else
2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2872 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2753 do 2873 do
2754 IFS=$as_save_IFS 2874 IFS=$as_save_IFS
2755 test -z "$as_dir" && as_dir=. 2875 test -z "$as_dir" && as_dir=.
2756 for ac_prog in mkdir gmkdir; do 2876 for ac_prog in mkdir gmkdir; do
2757 for ac_exec_ext in '' $ac_executable_extensions; do 2877 for ac_exec_ext in '' $ac_executable_extensions; do
2758 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2878 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2759 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2879 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2760 'mkdir (GNU coreutils) '* | \ 2880 'mkdir (GNU coreutils) '* | \
2761 'mkdir (coreutils) '* | \ 2881 'mkdir (coreutils) '* | \
2762 'mkdir (fileutils) '4.1*) 2882 'mkdir (fileutils) '4.1*)
2763 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2883 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2768 done 2888 done
2769 IFS=$as_save_IFS 2889 IFS=$as_save_IFS
2770 2890
2771 fi 2891 fi
2772 2892
2893 test -d ./--version && rmdir ./--version
2773 if test "${ac_cv_path_mkdir+set}" = set; then 2894 if test "${ac_cv_path_mkdir+set}" = set; then
2774 MKDIR_P="$ac_cv_path_mkdir -p" 2895 MKDIR_P="$ac_cv_path_mkdir -p"
2775 else 2896 else
2776 # As a last resort, use the slow shell script. Don't cache a 2897 # As a last resort, use the slow shell script. Don't cache a
2777 # value for MKDIR_P within a source directory, because that will 2898 # value for MKDIR_P within a source directory, because that will
2778 # break other packages using the cache if that directory is 2899 # break other packages using the cache if that directory is
2779 # removed, or if the value is a relative name. 2900 # removed, or if the value is a relative name.
2780 test -d ./--version && rmdir ./--version
2781 MKDIR_P="$ac_install_sh -d" 2901 MKDIR_P="$ac_install_sh -d"
2782 fi 2902 fi
2783 fi 2903 fi
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2785 $as_echo "$MKDIR_P" >&6; } 2905 $as_echo "$MKDIR_P" >&6; }
2786
2787 mkdir_p="$MKDIR_P"
2788 case $mkdir_p in
2789 [\\/$]* | ?:[\\/]*) ;;
2790 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2791 esac
2792 2906
2793 for ac_prog in gawk mawk nawk awk 2907 for ac_prog in gawk mawk nawk awk
2794 do 2908 do
2795 # Extract the first word of "$ac_prog", so it can be a program name with args. 2909 # Extract the first word of "$ac_prog", so it can be a program name with args.
2796 set dummy $ac_prog; ac_word=$2 2910 set dummy $ac_prog; ac_word=$2
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798 $as_echo_n "checking for $ac_word... " >&6; } 2912 $as_echo_n "checking for $ac_word... " >&6; }
2799 if test "${ac_cv_prog_AWK+set}" = set; then : 2913 if ${ac_cv_prog_AWK+:} false; then :
2800 $as_echo_n "(cached) " >&6 2914 $as_echo_n "(cached) " >&6
2801 else 2915 else
2802 if test -n "$AWK"; then 2916 if test -n "$AWK"; then
2803 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2917 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2804 else 2918 else
2806 for as_dir in $PATH 2920 for as_dir in $PATH
2807 do 2921 do
2808 IFS=$as_save_IFS 2922 IFS=$as_save_IFS
2809 test -z "$as_dir" && as_dir=. 2923 test -z "$as_dir" && as_dir=.
2810 for ac_exec_ext in '' $ac_executable_extensions; do 2924 for ac_exec_ext in '' $ac_executable_extensions; do
2811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2812 ac_cv_prog_AWK="$ac_prog" 2926 ac_cv_prog_AWK="$ac_prog"
2813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 break 2 2928 break 2
2815 fi 2929 fi
2816 done 2930 done
2834 2948
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2836 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2950 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2837 set x ${MAKE-make} 2951 set x ${MAKE-make}
2838 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2952 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2839 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2953 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2840 $as_echo_n "(cached) " >&6 2954 $as_echo_n "(cached) " >&6
2841 else 2955 else
2842 cat >conftest.make <<\_ACEOF 2956 cat >conftest.make <<\_ACEOF
2843 SHELL = /bin/sh 2957 SHELL = /bin/sh
2844 all: 2958 all:
2845 @echo '@@@%%%=$(MAKE)=@@@%%%' 2959 @echo '@@@%%%=$(MAKE)=@@@%%%'
2846 _ACEOF 2960 _ACEOF
2847 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2961 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2848 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2962 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2849 *@@@%%%=?*=@@@%%%*) 2963 *@@@%%%=?*=@@@%%%*)
2850 eval ac_cv_prog_make_${ac_make}_set=yes;; 2964 eval ac_cv_prog_make_${ac_make}_set=yes;;
2851 *) 2965 *)
2852 eval ac_cv_prog_make_${ac_make}_set=no;; 2966 eval ac_cv_prog_make_${ac_make}_set=no;;
2870 else 2984 else
2871 am__leading_dot=_ 2985 am__leading_dot=_
2872 fi 2986 fi
2873 rmdir .tst 2>/dev/null 2987 rmdir .tst 2>/dev/null
2874 2988
2989 # Check whether --enable-silent-rules was given.
2990 if test "${enable_silent_rules+set}" = set; then :
2991 enableval=$enable_silent_rules;
2992 fi
2993
2994 case $enable_silent_rules in # (((
2995 yes) AM_DEFAULT_VERBOSITY=0;;
2996 no) AM_DEFAULT_VERBOSITY=1;;
2997 *) AM_DEFAULT_VERBOSITY=1;;
2998 esac
2999 am_make=${MAKE-make}
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3001 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3002 if ${am_cv_make_support_nested_variables+:} false; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 if $as_echo 'TRUE=$(BAR$(V))
3006 BAR0=false
3007 BAR1=true
3008 V=1
3009 am__doit:
3010 @$(TRUE)
3011 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3012 am_cv_make_support_nested_variables=yes
3013 else
3014 am_cv_make_support_nested_variables=no
3015 fi
3016 fi
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3018 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3019 if test $am_cv_make_support_nested_variables = yes; then
3020 AM_V='$(V)'
3021 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3022 else
3023 AM_V=$AM_DEFAULT_VERBOSITY
3024 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3025 fi
3026 AM_BACKSLASH='\'
3027
2875 if test "`cd $srcdir && pwd`" != "`pwd`"; then 3028 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2876 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3029 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2877 # is not polluted with repeated "-I." 3030 # is not polluted with repeated "-I."
2878 am__isrc=' -I$(srcdir)' 3031 am__isrc=' -I$(srcdir)'
2879 # test to see if srcdir already configured 3032 # test to see if srcdir already configured
2880 if test -f $srcdir/config.status; then 3033 if test -f $srcdir/config.status; then
2881 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3034 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2882 fi 3035 fi
2883 fi 3036 fi
2884 3037
2885 # test whether we have cygpath 3038 # test whether we have cygpath
2886 if test -z "$CYGPATH_W"; then 3039 if test -z "$CYGPATH_W"; then
2920 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3073 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2921 3074
2922 3075
2923 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3076 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2924 3077
2925 # We need awk for the "check" target. The system "awk" is bad on 3078 # For better backward compatibility. To be removed once Automake 1.9.x
2926 # some platforms. 3079 # dies out for good. For more background, see:
3080 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3081 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3082 mkdir_p='$(MKDIR_P)'
3083
3084 # We need awk for the "check" target (and possibly the TAP driver). The
3085 # system "awk" is bad on some platforms.
2927 # Always define AMTAR for backward compatibility. Yes, it's still used 3086 # Always define AMTAR for backward compatibility. Yes, it's still used
2928 # in the wild :-( We should find a proper way to deprecate it ... 3087 # in the wild :-( We should find a proper way to deprecate it ...
2929 AMTAR='$${TAR-tar}' 3088 AMTAR='$${TAR-tar}'
2930 3089
3090
3091 # We'll loop over all known methods to create a tar archive until one works.
3092 _am_tools='gnutar pax cpio none'
3093
2931 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3094 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2932 3095
2933 3096
2934 3097
2935 3098
3099
3100
3101 # POSIX will say in a future version that running "rm -f" with no argument
3102 # is OK; and we want to be able to make that assumption in our Makefile
3103 # recipes. So use an aggressive probe to check that the usage we want is
3104 # actually supported "in the wild" to an acceptable degree.
3105 # See automake bug#10828.
3106 # To make any issue more visible, cause the running configure to be aborted
3107 # by default if the 'rm' program in use doesn't match our expectations; the
3108 # user can still override this though.
3109 if rm -f && rm -fr && rm -rf; then : OK; else
3110 cat >&2 <<'END'
3111 Oops!
3112
3113 Your 'rm' program seems unable to run without file operands specified
3114 on the command line, even when the '-f' option is present. This is contrary
3115 to the behaviour of most rm programs out there, and not conforming with
3116 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3117
3118 Please tell bug-automake@gnu.org about your system, including the value
3119 of your $PATH and any error possibly output before this message. This
3120 can help us improve future automake versions.
3121
3122 END
3123 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3124 echo 'Configuration will proceed anyway, since you have set the' >&2
3125 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3126 echo >&2
3127 else
3128 cat >&2 <<'END'
3129 Aborting the configuration process, to ensure you take notice of the issue.
3130
3131 You can download and install GNU coreutils to get an 'rm' implementation
3132 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3133
3134 If you want to complete the configuration process using your problematic
3135 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3136 to "yes", and re-run configure.
3137
3138 END
3139 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3140 fi
3141 fi
2936 3142
2937 3143
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2939 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3145 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2940 # Check whether --enable-maintainer-mode was given. 3146 # Check whether --enable-maintainer-mode was given.
2966 if test -n "$ac_tool_prefix"; then 3172 if test -n "$ac_tool_prefix"; then
2967 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3173 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2968 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3174 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; } 3176 $as_echo_n "checking for $ac_word... " >&6; }
2971 if test "${ac_cv_prog_CC+set}" = set; then : 3177 if ${ac_cv_prog_CC+:} false; then :
2972 $as_echo_n "(cached) " >&6 3178 $as_echo_n "(cached) " >&6
2973 else 3179 else
2974 if test -n "$CC"; then 3180 if test -n "$CC"; then
2975 ac_cv_prog_CC="$CC" # Let the user override the test. 3181 ac_cv_prog_CC="$CC" # Let the user override the test.
2976 else 3182 else
2978 for as_dir in $PATH 3184 for as_dir in $PATH
2979 do 3185 do
2980 IFS=$as_save_IFS 3186 IFS=$as_save_IFS
2981 test -z "$as_dir" && as_dir=. 3187 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do 3188 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3190 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 break 2 3192 break 2
2987 fi 3193 fi
2988 done 3194 done
3006 ac_ct_CC=$CC 3212 ac_ct_CC=$CC
3007 # Extract the first word of "gcc", so it can be a program name with args. 3213 # Extract the first word of "gcc", so it can be a program name with args.
3008 set dummy gcc; ac_word=$2 3214 set dummy gcc; ac_word=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; } 3216 $as_echo_n "checking for $ac_word... " >&6; }
3011 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3217 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3012 $as_echo_n "(cached) " >&6 3218 $as_echo_n "(cached) " >&6
3013 else 3219 else
3014 if test -n "$ac_ct_CC"; then 3220 if test -n "$ac_ct_CC"; then
3015 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3016 else 3222 else
3018 for as_dir in $PATH 3224 for as_dir in $PATH
3019 do 3225 do
3020 IFS=$as_save_IFS 3226 IFS=$as_save_IFS
3021 test -z "$as_dir" && as_dir=. 3227 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do 3228 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024 ac_cv_prog_ac_ct_CC="gcc" 3230 ac_cv_prog_ac_ct_CC="gcc"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 break 2 3232 break 2
3027 fi 3233 fi
3028 done 3234 done
3059 if test -n "$ac_tool_prefix"; then 3265 if test -n "$ac_tool_prefix"; then
3060 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3266 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3061 set dummy ${ac_tool_prefix}cc; ac_word=$2 3267 set dummy ${ac_tool_prefix}cc; ac_word=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; } 3269 $as_echo_n "checking for $ac_word... " >&6; }
3064 if test "${ac_cv_prog_CC+set}" = set; then : 3270 if ${ac_cv_prog_CC+:} false; then :
3065 $as_echo_n "(cached) " >&6 3271 $as_echo_n "(cached) " >&6
3066 else 3272 else
3067 if test -n "$CC"; then 3273 if test -n "$CC"; then
3068 ac_cv_prog_CC="$CC" # Let the user override the test. 3274 ac_cv_prog_CC="$CC" # Let the user override the test.
3069 else 3275 else
3071 for as_dir in $PATH 3277 for as_dir in $PATH
3072 do 3278 do
3073 IFS=$as_save_IFS 3279 IFS=$as_save_IFS
3074 test -z "$as_dir" && as_dir=. 3280 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do 3281 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_CC="${ac_tool_prefix}cc" 3283 ac_cv_prog_CC="${ac_tool_prefix}cc"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 break 2 3285 break 2
3080 fi 3286 fi
3081 done 3287 done
3099 if test -z "$CC"; then 3305 if test -z "$CC"; then
3100 # Extract the first word of "cc", so it can be a program name with args. 3306 # Extract the first word of "cc", so it can be a program name with args.
3101 set dummy cc; ac_word=$2 3307 set dummy cc; ac_word=$2
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; } 3309 $as_echo_n "checking for $ac_word... " >&6; }
3104 if test "${ac_cv_prog_CC+set}" = set; then : 3310 if ${ac_cv_prog_CC+:} false; then :
3105 $as_echo_n "(cached) " >&6 3311 $as_echo_n "(cached) " >&6
3106 else 3312 else
3107 if test -n "$CC"; then 3313 if test -n "$CC"; then
3108 ac_cv_prog_CC="$CC" # Let the user override the test. 3314 ac_cv_prog_CC="$CC" # Let the user override the test.
3109 else 3315 else
3112 for as_dir in $PATH 3318 for as_dir in $PATH
3113 do 3319 do
3114 IFS=$as_save_IFS 3320 IFS=$as_save_IFS
3115 test -z "$as_dir" && as_dir=. 3321 test -z "$as_dir" && as_dir=.
3116 for ac_exec_ext in '' $ac_executable_extensions; do 3322 for ac_exec_ext in '' $ac_executable_extensions; do
3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3118 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3119 ac_prog_rejected=yes 3325 ac_prog_rejected=yes
3120 continue 3326 continue
3121 fi 3327 fi
3122 ac_cv_prog_CC="cc" 3328 ac_cv_prog_CC="cc"
3158 do 3364 do
3159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3160 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; } 3368 $as_echo_n "checking for $ac_word... " >&6; }
3163 if test "${ac_cv_prog_CC+set}" = set; then : 3369 if ${ac_cv_prog_CC+:} false; then :
3164 $as_echo_n "(cached) " >&6 3370 $as_echo_n "(cached) " >&6
3165 else 3371 else
3166 if test -n "$CC"; then 3372 if test -n "$CC"; then
3167 ac_cv_prog_CC="$CC" # Let the user override the test. 3373 ac_cv_prog_CC="$CC" # Let the user override the test.
3168 else 3374 else
3170 for as_dir in $PATH 3376 for as_dir in $PATH
3171 do 3377 do
3172 IFS=$as_save_IFS 3378 IFS=$as_save_IFS
3173 test -z "$as_dir" && as_dir=. 3379 test -z "$as_dir" && as_dir=.
3174 for ac_exec_ext in '' $ac_executable_extensions; do 3380 for ac_exec_ext in '' $ac_executable_extensions; do
3175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3382 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 break 2 3384 break 2
3179 fi 3385 fi
3180 done 3386 done
3202 do 3408 do
3203 # Extract the first word of "$ac_prog", so it can be a program name with args. 3409 # Extract the first word of "$ac_prog", so it can be a program name with args.
3204 set dummy $ac_prog; ac_word=$2 3410 set dummy $ac_prog; ac_word=$2
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206 $as_echo_n "checking for $ac_word... " >&6; } 3412 $as_echo_n "checking for $ac_word... " >&6; }
3207 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3413 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3208 $as_echo_n "(cached) " >&6 3414 $as_echo_n "(cached) " >&6
3209 else 3415 else
3210 if test -n "$ac_ct_CC"; then 3416 if test -n "$ac_ct_CC"; then
3211 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3417 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3212 else 3418 else
3214 for as_dir in $PATH 3420 for as_dir in $PATH
3215 do 3421 do
3216 IFS=$as_save_IFS 3422 IFS=$as_save_IFS
3217 test -z "$as_dir" && as_dir=. 3423 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do 3424 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3220 ac_cv_prog_ac_ct_CC="$ac_prog" 3426 ac_cv_prog_ac_ct_CC="$ac_prog"
3221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 break 2 3428 break 2
3223 fi 3429 fi
3224 done 3430 done
3256 fi 3462 fi
3257 3463
3258 3464
3259 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3465 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261 as_fn_error "no acceptable C compiler found in \$PATH 3467 as_fn_error $? "no acceptable C compiler found in \$PATH
3262 See \`config.log' for more details." "$LINENO" 5; } 3468 See \`config.log' for more details" "$LINENO" 5; }
3263 3469
3264 # Provide some information about the compiler. 3470 # Provide some information about the compiler.
3265 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3471 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3266 set X $ac_compile 3472 set X $ac_compile
3267 ac_compiler=$2 3473 ac_compiler=$2
3278 if test -s conftest.err; then 3484 if test -s conftest.err; then
3279 sed '10a\ 3485 sed '10a\
3280 ... rest of stderr output deleted ... 3486 ... rest of stderr output deleted ...
3281 10q' conftest.err >conftest.er1 3487 10q' conftest.err >conftest.er1
3282 cat conftest.er1 >&5 3488 cat conftest.er1 >&5
3283 rm -f conftest.er1 conftest.err
3284 fi 3489 fi
3490 rm -f conftest.er1 conftest.err
3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286 test $ac_status = 0; } 3492 test $ac_status = 0; }
3287 done 3493 done
3288 3494
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 ; 3502 ;
3297 return 0; 3503 return 0;
3298 } 3504 }
3299 _ACEOF 3505 _ACEOF
3300 ac_clean_files_save=$ac_clean_files 3506 ac_clean_files_save=$ac_clean_files
3301 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 3507 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3302 # Try to create an executable without -o first, disregard a.out. 3508 # Try to create an executable without -o first, disregard a.out.
3303 # It will help us diagnose broken compilers, and finding out an intuition 3509 # It will help us diagnose broken compilers, and finding out an intuition
3304 # of exeext. 3510 # of exeext.
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3306 $as_echo_n "checking for C compiler default output file name... " >&6; } 3512 $as_echo_n "checking whether the C compiler works... " >&6; }
3307 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3513 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3308 3514
3309 # The possible output files: 3515 # The possible output files:
3310 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3516 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3311 3517
3363 test "$ac_cv_exeext" = no && ac_cv_exeext= 3569 test "$ac_cv_exeext" = no && ac_cv_exeext=
3364 3570
3365 else 3571 else
3366 ac_file='' 3572 ac_file=''
3367 fi 3573 fi
3574 if test -z "$ac_file"; then :
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3577 $as_echo "$as_me: failed program was:" >&5
3578 sed 's/^/| /' conftest.$ac_ext >&5
3579
3580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3582 as_fn_error 77 "C compiler cannot create executables
3583 See \`config.log' for more details" "$LINENO" 5; }
3584 else
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586 $as_echo "yes" >&6; }
3587 fi
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3589 $as_echo_n "checking for C compiler default output file name... " >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3369 $as_echo "$ac_file" >&6; } 3591 $as_echo "$ac_file" >&6; }
3370 if test -z "$ac_file"; then :
3371 $as_echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.$ac_ext >&5
3373
3374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 { as_fn_set_status 77
3377 as_fn_error "C compiler cannot create executables
3378 See \`config.log' for more details." "$LINENO" 5; }; }
3379 fi
3380 ac_exeext=$ac_cv_exeext 3592 ac_exeext=$ac_cv_exeext
3381 3593
3382 # Check that the compiler produces executables we can run. If not, either 3594 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3383 # the compiler is broken, or we cross compile.
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3385 $as_echo_n "checking whether the C compiler works... " >&6; }
3386 # If not cross compiling, check that we can run a simple program.
3387 if test "$cross_compiling" != yes; then
3388 if { ac_try='./$ac_file'
3389 { { case "(($ac_try" in
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3392 esac
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395 (eval "$ac_try") 2>&5
3396 ac_status=$?
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }; }; then
3399 cross_compiling=no
3400 else
3401 if test "$cross_compiling" = maybe; then
3402 cross_compiling=yes
3403 else
3404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error "cannot run C compiled programs.
3407 If you meant to cross compile, use \`--host'.
3408 See \`config.log' for more details." "$LINENO" 5; }
3409 fi
3410 fi
3411 fi
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3413 $as_echo "yes" >&6; }
3414
3415 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3416 ac_clean_files=$ac_clean_files_save 3595 ac_clean_files=$ac_clean_files_save
3417 # Check that the compiler produces executables we can run. If not, either
3418 # the compiler is broken, or we cross compile.
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3420 $as_echo_n "checking whether we are cross compiling... " >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3422 $as_echo "$cross_compiling" >&6; }
3423
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3425 $as_echo_n "checking for suffix of executables... " >&6; } 3597 $as_echo_n "checking for suffix of executables... " >&6; }
3426 if { { ac_try="$ac_link" 3598 if { { ac_try="$ac_link"
3427 case "(($ac_try" in 3599 case "(($ac_try" in
3428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 esac 3620 esac
3449 done 3621 done
3450 else 3622 else
3451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 as_fn_error "cannot compute suffix of executables: cannot compile and link 3625 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3454 See \`config.log' for more details." "$LINENO" 5; } 3626 See \`config.log' for more details" "$LINENO" 5; }
3455 fi 3627 fi
3456 rm -f conftest$ac_cv_exeext 3628 rm -f conftest conftest$ac_cv_exeext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3458 $as_echo "$ac_cv_exeext" >&6; } 3630 $as_echo "$ac_cv_exeext" >&6; }
3459 3631
3460 rm -f conftest.$ac_ext 3632 rm -f conftest.$ac_ext
3461 EXEEXT=$ac_cv_exeext 3633 EXEEXT=$ac_cv_exeext
3462 ac_exeext=$EXEEXT 3634 ac_exeext=$EXEEXT
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3637 #include <stdio.h>
3638 int
3639 main ()
3640 {
3641 FILE *f = fopen ("conftest.out", "w");
3642 return ferror (f) || fclose (f) != 0;
3643
3644 ;
3645 return 0;
3646 }
3647 _ACEOF
3648 ac_clean_files="$ac_clean_files conftest.out"
3649 # Check that the compiler produces executables we can run. If not, either
3650 # the compiler is broken, or we cross compile.
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3652 $as_echo_n "checking whether we are cross compiling... " >&6; }
3653 if test "$cross_compiling" != yes; then
3654 { { ac_try="$ac_link"
3655 case "(($ac_try" in
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3658 esac
3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_link") 2>&5
3662 ac_status=$?
3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 test $ac_status = 0; }
3665 if { ac_try='./conftest$ac_cv_exeext'
3666 { { case "(($ac_try" in
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3669 esac
3670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3671 $as_echo "$ac_try_echo"; } >&5
3672 (eval "$ac_try") 2>&5
3673 ac_status=$?
3674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3675 test $ac_status = 0; }; }; then
3676 cross_compiling=no
3677 else
3678 if test "$cross_compiling" = maybe; then
3679 cross_compiling=yes
3680 else
3681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3683 as_fn_error $? "cannot run C compiled programs.
3684 If you meant to cross compile, use \`--host'.
3685 See \`config.log' for more details" "$LINENO" 5; }
3686 fi
3687 fi
3688 fi
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3690 $as_echo "$cross_compiling" >&6; }
3691
3692 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3693 ac_clean_files=$ac_clean_files_save
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3464 $as_echo_n "checking for suffix of object files... " >&6; } 3695 $as_echo_n "checking for suffix of object files... " >&6; }
3465 if test "${ac_cv_objext+set}" = set; then : 3696 if ${ac_cv_objext+:} false; then :
3466 $as_echo_n "(cached) " >&6 3697 $as_echo_n "(cached) " >&6
3467 else 3698 else
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */ 3700 /* end confdefs.h. */
3470 3701
3500 $as_echo "$as_me: failed program was:" >&5 3731 $as_echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.$ac_ext >&5 3732 sed 's/^/| /' conftest.$ac_ext >&5
3502 3733
3503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 as_fn_error "cannot compute suffix of object files: cannot compile 3736 as_fn_error $? "cannot compute suffix of object files: cannot compile
3506 See \`config.log' for more details." "$LINENO" 5; } 3737 See \`config.log' for more details" "$LINENO" 5; }
3507 fi 3738 fi
3508 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3739 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3509 fi 3740 fi
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3511 $as_echo "$ac_cv_objext" >&6; } 3742 $as_echo "$ac_cv_objext" >&6; }
3512 OBJEXT=$ac_cv_objext 3743 OBJEXT=$ac_cv_objext
3513 ac_objext=$OBJEXT 3744 ac_objext=$OBJEXT
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3515 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3746 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3516 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3747 if ${ac_cv_c_compiler_gnu+:} false; then :
3517 $as_echo_n "(cached) " >&6 3748 $as_echo_n "(cached) " >&6
3518 else 3749 else
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */ 3751 /* end confdefs.h. */
3521 3752
3548 fi 3779 fi
3549 ac_test_CFLAGS=${CFLAGS+set} 3780 ac_test_CFLAGS=${CFLAGS+set}
3550 ac_save_CFLAGS=$CFLAGS 3781 ac_save_CFLAGS=$CFLAGS
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3552 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3783 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3553 if test "${ac_cv_prog_cc_g+set}" = set; then : 3784 if ${ac_cv_prog_cc_g+:} false; then :
3554 $as_echo_n "(cached) " >&6 3785 $as_echo_n "(cached) " >&6
3555 else 3786 else
3556 ac_save_c_werror_flag=$ac_c_werror_flag 3787 ac_save_c_werror_flag=$ac_c_werror_flag
3557 ac_c_werror_flag=yes 3788 ac_c_werror_flag=yes
3558 ac_cv_prog_cc_g=no 3789 ac_cv_prog_cc_g=no
3626 CFLAGS= 3857 CFLAGS=
3627 fi 3858 fi
3628 fi 3859 fi
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3630 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3861 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3631 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3862 if ${ac_cv_prog_cc_c89+:} false; then :
3632 $as_echo_n "(cached) " >&6 3863 $as_echo_n "(cached) " >&6
3633 else 3864 else
3634 ac_cv_prog_cc_c89=no 3865 ac_cv_prog_cc_c89=no
3635 ac_save_CC=$CC 3866 ac_save_CC=$CC
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */ 3868 /* end confdefs.h. */
3638 #include <stdarg.h> 3869 #include <stdarg.h>
3639 #include <stdio.h> 3870 #include <stdio.h>
3640 #include <sys/types.h> 3871 struct stat;
3641 #include <sys/stat.h>
3642 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3872 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3643 struct buf { int x; }; 3873 struct buf { int x; };
3644 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3874 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3645 static char *e (p, i) 3875 static char *e (p, i)
3646 char **p; 3876 char **p;
3720 ac_ext=c 3950 ac_ext=c
3721 ac_cpp='$CPP $CPPFLAGS' 3951 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3955
3956 ac_ext=c
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3962 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3963 if ${am_cv_prog_cc_c_o+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3968
3969 int
3970 main ()
3971 {
3972
3973 ;
3974 return 0;
3975 }
3976 _ACEOF
3977 # Make sure it works both with $CC and with simple cc.
3978 # Following AC_PROG_CC_C_O, we do the test twice because some
3979 # compilers refuse to overwrite an existing .o file with -o,
3980 # though they will create one.
3981 am_cv_prog_cc_c_o=yes
3982 for am_i in 1 2; do
3983 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3984 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3985 ac_status=$?
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); } \
3988 && test -f conftest2.$ac_objext; then
3989 : OK
3990 else
3991 am_cv_prog_cc_c_o=no
3992 break
3993 fi
3994 done
3995 rm -f core conftest*
3996 unset am_i
3997 fi
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3999 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4000 if test "$am_cv_prog_cc_c_o" != yes; then
4001 # Losing compiler, so override with the script.
4002 # FIXME: It is wrong to rewrite CC.
4003 # But if we don't then we get into trouble of one sort or another.
4004 # A longer-term fix would be to have automake use am__CC in this case,
4005 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4006 CC="$am_aux_dir/compile $CC"
4007 fi
4008 ac_ext=c
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4013
3725 DEPDIR="${am__leading_dot}deps" 4014 DEPDIR="${am__leading_dot}deps"
3726 4015
3727 ac_config_commands="$ac_config_commands depfiles" 4016 ac_config_commands="$ac_config_commands depfiles"
3728 4017
3729 4018
3739 am__include="#" 4028 am__include="#"
3740 am__quote= 4029 am__quote=
3741 _am_result=none 4030 _am_result=none
3742 # First try GNU make style include. 4031 # First try GNU make style include.
3743 echo "include confinc" > confmf 4032 echo "include confinc" > confmf
3744 # Ignore all kinds of additional output from `make'. 4033 # Ignore all kinds of additional output from 'make'.
3745 case `$am_make -s -f confmf 2> /dev/null` in #( 4034 case `$am_make -s -f confmf 2> /dev/null` in #(
3746 *the\ am__doit\ target*) 4035 *the\ am__doit\ target*)
3747 am__include=include 4036 am__include=include
3748 am__quote= 4037 am__quote=
3749 _am_result=GNU 4038 _am_result=GNU
3788 4077
3789 depcc="$CC" am_compiler_list= 4078 depcc="$CC" am_compiler_list=
3790 4079
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3792 $as_echo_n "checking dependency style of $depcc... " >&6; } 4081 $as_echo_n "checking dependency style of $depcc... " >&6; }
3793 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4082 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3794 $as_echo_n "(cached) " >&6 4083 $as_echo_n "(cached) " >&6
3795 else 4084 else
3796 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4085 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3797 # We make a subdir and do the tests there. Otherwise we can end up 4086 # We make a subdir and do the tests there. Otherwise we can end up
3798 # making bogus files that we don't know about and never remove. For 4087 # making bogus files that we don't know about and never remove. For
3799 # instance it was reported that on HP-UX the gcc test will end up 4088 # instance it was reported that on HP-UX the gcc test will end up
3800 # making a dummy file named `D' -- because `-MD' means `put the output 4089 # making a dummy file named 'D' -- because '-MD' means "put the output
3801 # in D'. 4090 # in D".
3802 rm -rf conftest.dir 4091 rm -rf conftest.dir
3803 mkdir conftest.dir 4092 mkdir conftest.dir
3804 # Copy depcomp to subdir because otherwise we won't find it if we're 4093 # Copy depcomp to subdir because otherwise we won't find it if we're
3805 # using a relative directory. 4094 # using a relative directory.
3806 cp "$am_depcomp" conftest.dir 4095 cp "$am_depcomp" conftest.dir
3831 # overwrite some of them when testing with obscure command lines. 4120 # overwrite some of them when testing with obscure command lines.
3832 # This happens at least with the AIX C compiler. 4121 # This happens at least with the AIX C compiler.
3833 : > sub/conftest.c 4122 : > sub/conftest.c
3834 for i in 1 2 3 4 5 6; do 4123 for i in 1 2 3 4 5 6; do
3835 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4124 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3836 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4125 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3837 # Solaris 8's {/usr,}/bin/sh. 4126 # Solaris 10 /bin/sh.
3838 touch sub/conftst$i.h 4127 echo '/* dummy */' > sub/conftst$i.h
3839 done 4128 done
3840 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4129 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3841 4130
3842 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4131 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3843 # mode. It turns out that the SunPro C++ compiler does not properly 4132 # mode. It turns out that the SunPro C++ compiler does not properly
3844 # handle `-M -o', and we need to detect this. Also, some Intel 4133 # handle '-M -o', and we need to detect this. Also, some Intel
3845 # versions had trouble with output in subdirs 4134 # versions had trouble with output in subdirs.
3846 am__obj=sub/conftest.${OBJEXT-o} 4135 am__obj=sub/conftest.${OBJEXT-o}
3847 am__minus_obj="-o $am__obj" 4136 am__minus_obj="-o $am__obj"
3848 case $depmode in 4137 case $depmode in
3849 gcc) 4138 gcc)
3850 # This depmode causes a compiler race in universal mode. 4139 # This depmode causes a compiler race in universal mode.
3851 test "$am__universal" = false || continue 4140 test "$am__universal" = false || continue
3852 ;; 4141 ;;
3853 nosideeffect) 4142 nosideeffect)
3854 # after this tag, mechanisms are not by side-effect, so they'll 4143 # After this tag, mechanisms are not by side-effect, so they'll
3855 # only be used when explicitly requested 4144 # only be used when explicitly requested.
3856 if test "x$enable_dependency_tracking" = xyes; then 4145 if test "x$enable_dependency_tracking" = xyes; then
3857 continue 4146 continue
3858 else 4147 else
3859 break 4148 break
3860 fi 4149 fi
3861 ;; 4150 ;;
3862 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4151 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3863 # This compiler won't grok `-c -o', but also, the minuso test has 4152 # This compiler won't grok '-c -o', but also, the minuso test has
3864 # not run yet. These depmodes are late enough in the game, and 4153 # not run yet. These depmodes are late enough in the game, and
3865 # so weak that their functioning should not be impacted. 4154 # so weak that their functioning should not be impacted.
3866 am__obj=conftest.${OBJEXT-o} 4155 am__obj=conftest.${OBJEXT-o}
3867 am__minus_obj= 4156 am__minus_obj=
3868 ;; 4157 ;;
3928 do 4217 do
3929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; } 4221 $as_echo_n "checking for $ac_word... " >&6; }
3933 if test "${ac_cv_prog_CXX+set}" = set; then : 4222 if ${ac_cv_prog_CXX+:} false; then :
3934 $as_echo_n "(cached) " >&6 4223 $as_echo_n "(cached) " >&6
3935 else 4224 else
3936 if test -n "$CXX"; then 4225 if test -n "$CXX"; then
3937 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4226 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3938 else 4227 else
3940 for as_dir in $PATH 4229 for as_dir in $PATH
3941 do 4230 do
3942 IFS=$as_save_IFS 4231 IFS=$as_save_IFS
3943 test -z "$as_dir" && as_dir=. 4232 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do 4233 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4235 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 break 2 4237 break 2
3949 fi 4238 fi
3950 done 4239 done
3972 do 4261 do
3973 # Extract the first word of "$ac_prog", so it can be a program name with args. 4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy $ac_prog; ac_word=$2 4263 set dummy $ac_prog; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; } 4265 $as_echo_n "checking for $ac_word... " >&6; }
3977 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 4266 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3978 $as_echo_n "(cached) " >&6 4267 $as_echo_n "(cached) " >&6
3979 else 4268 else
3980 if test -n "$ac_ct_CXX"; then 4269 if test -n "$ac_ct_CXX"; then
3981 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4270 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3982 else 4271 else
3984 for as_dir in $PATH 4273 for as_dir in $PATH
3985 do 4274 do
3986 IFS=$as_save_IFS 4275 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=. 4276 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do 4277 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_prog_ac_ct_CXX="$ac_prog" 4279 ac_cv_prog_ac_ct_CXX="$ac_prog"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 break 2 4281 break 2
3993 fi 4282 fi
3994 done 4283 done
4042 if test -s conftest.err; then 4331 if test -s conftest.err; then
4043 sed '10a\ 4332 sed '10a\
4044 ... rest of stderr output deleted ... 4333 ... rest of stderr output deleted ...
4045 10q' conftest.err >conftest.er1 4334 10q' conftest.err >conftest.er1
4046 cat conftest.er1 >&5 4335 cat conftest.er1 >&5
4047 rm -f conftest.er1 conftest.err
4048 fi 4336 fi
4337 rm -f conftest.er1 conftest.err
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; } 4339 test $ac_status = 0; }
4051 done 4340 done
4052 4341
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4054 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4343 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4055 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 4344 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4056 $as_echo_n "(cached) " >&6 4345 $as_echo_n "(cached) " >&6
4057 else 4346 else
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */ 4348 /* end confdefs.h. */
4060 4349
4087 fi 4376 fi
4088 ac_test_CXXFLAGS=${CXXFLAGS+set} 4377 ac_test_CXXFLAGS=${CXXFLAGS+set}
4089 ac_save_CXXFLAGS=$CXXFLAGS 4378 ac_save_CXXFLAGS=$CXXFLAGS
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4091 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 4380 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4092 if test "${ac_cv_prog_cxx_g+set}" = set; then : 4381 if ${ac_cv_prog_cxx_g+:} false; then :
4093 $as_echo_n "(cached) " >&6 4382 $as_echo_n "(cached) " >&6
4094 else 4383 else
4095 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4384 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4096 ac_cxx_werror_flag=yes 4385 ac_cxx_werror_flag=yes
4097 ac_cv_prog_cxx_g=no 4386 ac_cv_prog_cxx_g=no
4173 4462
4174 depcc="$CXX" am_compiler_list= 4463 depcc="$CXX" am_compiler_list=
4175 4464
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4177 $as_echo_n "checking dependency style of $depcc... " >&6; } 4466 $as_echo_n "checking dependency style of $depcc... " >&6; }
4178 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 4467 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4179 $as_echo_n "(cached) " >&6 4468 $as_echo_n "(cached) " >&6
4180 else 4469 else
4181 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4470 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4182 # We make a subdir and do the tests there. Otherwise we can end up 4471 # We make a subdir and do the tests there. Otherwise we can end up
4183 # making bogus files that we don't know about and never remove. For 4472 # making bogus files that we don't know about and never remove. For
4184 # instance it was reported that on HP-UX the gcc test will end up 4473 # instance it was reported that on HP-UX the gcc test will end up
4185 # making a dummy file named `D' -- because `-MD' means `put the output 4474 # making a dummy file named 'D' -- because '-MD' means "put the output
4186 # in D'. 4475 # in D".
4187 rm -rf conftest.dir 4476 rm -rf conftest.dir
4188 mkdir conftest.dir 4477 mkdir conftest.dir
4189 # Copy depcomp to subdir because otherwise we won't find it if we're 4478 # Copy depcomp to subdir because otherwise we won't find it if we're
4190 # using a relative directory. 4479 # using a relative directory.
4191 cp "$am_depcomp" conftest.dir 4480 cp "$am_depcomp" conftest.dir
4216 # overwrite some of them when testing with obscure command lines. 4505 # overwrite some of them when testing with obscure command lines.
4217 # This happens at least with the AIX C compiler. 4506 # This happens at least with the AIX C compiler.
4218 : > sub/conftest.c 4507 : > sub/conftest.c
4219 for i in 1 2 3 4 5 6; do 4508 for i in 1 2 3 4 5 6; do
4220 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4509 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4221 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4510 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4222 # Solaris 8's {/usr,}/bin/sh. 4511 # Solaris 10 /bin/sh.
4223 touch sub/conftst$i.h 4512 echo '/* dummy */' > sub/conftst$i.h
4224 done 4513 done
4225 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4514 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4226 4515
4227 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4516 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4228 # mode. It turns out that the SunPro C++ compiler does not properly 4517 # mode. It turns out that the SunPro C++ compiler does not properly
4229 # handle `-M -o', and we need to detect this. Also, some Intel 4518 # handle '-M -o', and we need to detect this. Also, some Intel
4230 # versions had trouble with output in subdirs 4519 # versions had trouble with output in subdirs.
4231 am__obj=sub/conftest.${OBJEXT-o} 4520 am__obj=sub/conftest.${OBJEXT-o}
4232 am__minus_obj="-o $am__obj" 4521 am__minus_obj="-o $am__obj"
4233 case $depmode in 4522 case $depmode in
4234 gcc) 4523 gcc)
4235 # This depmode causes a compiler race in universal mode. 4524 # This depmode causes a compiler race in universal mode.
4236 test "$am__universal" = false || continue 4525 test "$am__universal" = false || continue
4237 ;; 4526 ;;
4238 nosideeffect) 4527 nosideeffect)
4239 # after this tag, mechanisms are not by side-effect, so they'll 4528 # After this tag, mechanisms are not by side-effect, so they'll
4240 # only be used when explicitly requested 4529 # only be used when explicitly requested.
4241 if test "x$enable_dependency_tracking" = xyes; then 4530 if test "x$enable_dependency_tracking" = xyes; then
4242 continue 4531 continue
4243 else 4532 else
4244 break 4533 break
4245 fi 4534 fi
4246 ;; 4535 ;;
4247 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4536 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4248 # This compiler won't grok `-c -o', but also, the minuso test has 4537 # This compiler won't grok '-c -o', but also, the minuso test has
4249 # not run yet. These depmodes are late enough in the game, and 4538 # not run yet. These depmodes are late enough in the game, and
4250 # so weak that their functioning should not be impacted. 4539 # so weak that their functioning should not be impacted.
4251 am__obj=conftest.${OBJEXT-o} 4540 am__obj=conftest.${OBJEXT-o}
4252 am__minus_obj= 4541 am__minus_obj=
4253 ;; 4542 ;;
4305 # Check whether --enable-multilib was given. 4594 # Check whether --enable-multilib was given.
4306 if test "${enable_multilib+set}" = set; then : 4595 if test "${enable_multilib+set}" = set; then :
4307 enableval=$enable_multilib; case "$enableval" in 4596 enableval=$enable_multilib; case "$enableval" in
4308 yes) multilib=yes ;; 4597 yes) multilib=yes ;;
4309 no) multilib=no ;; 4598 no) multilib=no ;;
4310 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;; 4599 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
4311 esac 4600 esac
4312 else 4601 else
4313 multilib=yes 4602 multilib=yes
4314 fi 4603 fi
4315 4604
4353 # On Suns, sometimes $CPP names a directory. 4642 # On Suns, sometimes $CPP names a directory.
4354 if test -n "$CPP" && test -d "$CPP"; then 4643 if test -n "$CPP" && test -d "$CPP"; then
4355 CPP= 4644 CPP=
4356 fi 4645 fi
4357 if test -z "$CPP"; then 4646 if test -z "$CPP"; then
4358 if test "${ac_cv_prog_CPP+set}" = set; then : 4647 if ${ac_cv_prog_CPP+:} false; then :
4359 $as_echo_n "(cached) " >&6 4648 $as_echo_n "(cached) " >&6
4360 else 4649 else
4361 # Double quotes because CPP needs to be expanded 4650 # Double quotes because CPP needs to be expanded
4362 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4651 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4363 do 4652 do
4383 4672
4384 else 4673 else
4385 # Broken: fails on valid input. 4674 # Broken: fails on valid input.
4386 continue 4675 continue
4387 fi 4676 fi
4388 rm -f conftest.err conftest.$ac_ext 4677 rm -f conftest.err conftest.i conftest.$ac_ext
4389 4678
4390 # OK, works on sane cases. Now check whether nonexistent headers 4679 # OK, works on sane cases. Now check whether nonexistent headers
4391 # can be detected and how. 4680 # can be detected and how.
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */ 4682 /* end confdefs.h. */
4399 else 4688 else
4400 # Passes both tests. 4689 # Passes both tests.
4401 ac_preproc_ok=: 4690 ac_preproc_ok=:
4402 break 4691 break
4403 fi 4692 fi
4404 rm -f conftest.err conftest.$ac_ext 4693 rm -f conftest.err conftest.i conftest.$ac_ext
4405 4694
4406 done 4695 done
4407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4408 rm -f conftest.err conftest.$ac_ext 4697 rm -f conftest.i conftest.err conftest.$ac_ext
4409 if $ac_preproc_ok; then : 4698 if $ac_preproc_ok; then :
4410 break 4699 break
4411 fi 4700 fi
4412 4701
4413 done 4702 done
4442 4731
4443 else 4732 else
4444 # Broken: fails on valid input. 4733 # Broken: fails on valid input.
4445 continue 4734 continue
4446 fi 4735 fi
4447 rm -f conftest.err conftest.$ac_ext 4736 rm -f conftest.err conftest.i conftest.$ac_ext
4448 4737
4449 # OK, works on sane cases. Now check whether nonexistent headers 4738 # OK, works on sane cases. Now check whether nonexistent headers
4450 # can be detected and how. 4739 # can be detected and how.
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */ 4741 /* end confdefs.h. */
4458 else 4747 else
4459 # Passes both tests. 4748 # Passes both tests.
4460 ac_preproc_ok=: 4749 ac_preproc_ok=:
4461 break 4750 break
4462 fi 4751 fi
4463 rm -f conftest.err conftest.$ac_ext 4752 rm -f conftest.err conftest.i conftest.$ac_ext
4464 4753
4465 done 4754 done
4466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4467 rm -f conftest.err conftest.$ac_ext 4756 rm -f conftest.i conftest.err conftest.$ac_ext
4468 if $ac_preproc_ok; then : 4757 if $ac_preproc_ok; then :
4469 4758
4470 else 4759 else
4471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4473 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4762 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4474 See \`config.log' for more details." "$LINENO" 5; } 4763 See \`config.log' for more details" "$LINENO" 5; }
4475 fi 4764 fi
4476 4765
4477 ac_ext=c 4766 ac_ext=c
4478 ac_cpp='$CPP $CPPFLAGS' 4767 ac_cpp='$CPP $CPPFLAGS'
4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4482 4771
4483 4772
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4485 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4774 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4486 if test "${ac_cv_path_GREP+set}" = set; then : 4775 if ${ac_cv_path_GREP+:} false; then :
4487 $as_echo_n "(cached) " >&6 4776 $as_echo_n "(cached) " >&6
4488 else 4777 else
4489 if test -z "$GREP"; then 4778 if test -z "$GREP"; then
4490 ac_path_GREP_found=false 4779 ac_path_GREP_found=false
4491 # Loop through the user's path and test for each of PROGNAME-LIST 4780 # Loop through the user's path and test for each of PROGNAME-LIST
4495 IFS=$as_save_IFS 4784 IFS=$as_save_IFS
4496 test -z "$as_dir" && as_dir=. 4785 test -z "$as_dir" && as_dir=.
4497 for ac_prog in grep ggrep; do 4786 for ac_prog in grep ggrep; do
4498 for ac_exec_ext in '' $ac_executable_extensions; do 4787 for ac_exec_ext in '' $ac_executable_extensions; do
4499 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4788 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4500 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4789 as_fn_executable_p "$ac_path_GREP" || continue
4501 # Check for GNU ac_path_GREP and select it if it is found. 4790 # Check for GNU ac_path_GREP and select it if it is found.
4502 # Check for GNU $ac_path_GREP 4791 # Check for GNU $ac_path_GREP
4503 case `"$ac_path_GREP" --version 2>&1` in 4792 case `"$ac_path_GREP" --version 2>&1` in
4504 *GNU*) 4793 *GNU*)
4505 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4794 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4530 done 4819 done
4531 done 4820 done
4532 done 4821 done
4533 IFS=$as_save_IFS 4822 IFS=$as_save_IFS
4534 if test -z "$ac_cv_path_GREP"; then 4823 if test -z "$ac_cv_path_GREP"; then
4535 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4824 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4536 fi 4825 fi
4537 else 4826 else
4538 ac_cv_path_GREP=$GREP 4827 ac_cv_path_GREP=$GREP
4539 fi 4828 fi
4540 4829
4544 GREP="$ac_cv_path_GREP" 4833 GREP="$ac_cv_path_GREP"
4545 4834
4546 4835
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4548 $as_echo_n "checking for egrep... " >&6; } 4837 $as_echo_n "checking for egrep... " >&6; }
4549 if test "${ac_cv_path_EGREP+set}" = set; then : 4838 if ${ac_cv_path_EGREP+:} false; then :
4550 $as_echo_n "(cached) " >&6 4839 $as_echo_n "(cached) " >&6
4551 else 4840 else
4552 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4841 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4553 then ac_cv_path_EGREP="$GREP -E" 4842 then ac_cv_path_EGREP="$GREP -E"
4554 else 4843 else
4561 IFS=$as_save_IFS 4850 IFS=$as_save_IFS
4562 test -z "$as_dir" && as_dir=. 4851 test -z "$as_dir" && as_dir=.
4563 for ac_prog in egrep; do 4852 for ac_prog in egrep; do
4564 for ac_exec_ext in '' $ac_executable_extensions; do 4853 for ac_exec_ext in '' $ac_executable_extensions; do
4565 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4854 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4566 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4855 as_fn_executable_p "$ac_path_EGREP" || continue
4567 # Check for GNU ac_path_EGREP and select it if it is found. 4856 # Check for GNU ac_path_EGREP and select it if it is found.
4568 # Check for GNU $ac_path_EGREP 4857 # Check for GNU $ac_path_EGREP
4569 case `"$ac_path_EGREP" --version 2>&1` in 4858 case `"$ac_path_EGREP" --version 2>&1` in
4570 *GNU*) 4859 *GNU*)
4571 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4860 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4596 done 4885 done
4597 done 4886 done
4598 done 4887 done
4599 IFS=$as_save_IFS 4888 IFS=$as_save_IFS
4600 if test -z "$ac_cv_path_EGREP"; then 4889 if test -z "$ac_cv_path_EGREP"; then
4601 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4890 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4602 fi 4891 fi
4603 else 4892 else
4604 ac_cv_path_EGREP=$EGREP 4893 ac_cv_path_EGREP=$EGREP
4605 fi 4894 fi
4606 4895
4611 EGREP="$ac_cv_path_EGREP" 4900 EGREP="$ac_cv_path_EGREP"
4612 4901
4613 4902
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4615 $as_echo_n "checking for ANSI C header files... " >&6; } 4904 $as_echo_n "checking for ANSI C header files... " >&6; }
4616 if test "${ac_cv_header_stdc+set}" = set; then : 4905 if ${ac_cv_header_stdc+:} false; then :
4617 $as_echo_n "(cached) " >&6 4906 $as_echo_n "(cached) " >&6
4618 else 4907 else
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */ 4909 /* end confdefs.h. */
4621 #include <stdlib.h> 4910 #include <stdlib.h>
4728 inttypes.h stdint.h unistd.h 5017 inttypes.h stdint.h unistd.h
4729 do : 5018 do :
4730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5019 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5020 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4732 " 5021 "
4733 eval as_val=\$$as_ac_Header 5022 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4734 if test "x$as_val" = x""yes; then :
4735 cat >>confdefs.h <<_ACEOF 5023 cat >>confdefs.h <<_ACEOF
4736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4737 _ACEOF 5025 _ACEOF
4738 5026
4739 fi 5027 fi
4740 5028
4741 done 5029 done
4742 5030
5031
5032 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5033 if test "x$ac_cv_type_size_t" = xyes; then :
5034
5035 else
5036
5037 cat >>confdefs.h <<_ACEOF
5038 #define size_t unsigned int
5039 _ACEOF
5040
5041 fi
4743 5042
4744 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5043 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4745 # for constant arguments. Useless! 5044 # for constant arguments. Useless!
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4747 $as_echo_n "checking for working alloca.h... " >&6; } 5046 $as_echo_n "checking for working alloca.h... " >&6; }
4748 if test "${ac_cv_working_alloca_h+set}" = set; then : 5047 if ${ac_cv_working_alloca_h+:} false; then :
4749 $as_echo_n "(cached) " >&6 5048 $as_echo_n "(cached) " >&6
4750 else 5049 else
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */ 5051 /* end confdefs.h. */
4753 #include <alloca.h> 5052 #include <alloca.h>
4776 5075
4777 fi 5076 fi
4778 5077
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4780 $as_echo_n "checking for alloca... " >&6; } 5079 $as_echo_n "checking for alloca... " >&6; }
4781 if test "${ac_cv_func_alloca_works+set}" = set; then : 5080 if ${ac_cv_func_alloca_works+:} false; then :
4782 $as_echo_n "(cached) " >&6 5081 $as_echo_n "(cached) " >&6
4783 else 5082 else
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */ 5084 /* end confdefs.h. */
4786 #ifdef __GNUC__ 5085 #ifdef __GNUC__
4795 # else 5094 # else
4796 # ifdef _AIX 5095 # ifdef _AIX
4797 #pragma alloca 5096 #pragma alloca
4798 # else 5097 # else
4799 # ifndef alloca /* predefined by HP cc +Olibcalls */ 5098 # ifndef alloca /* predefined by HP cc +Olibcalls */
4800 char *alloca (); 5099 void *alloca (size_t);
4801 # endif 5100 # endif
4802 # endif 5101 # endif
4803 # endif 5102 # endif
4804 # endif 5103 # endif
4805 #endif 5104 #endif
4839 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5138 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4840 5139
4841 5140
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4843 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5142 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4844 if test "${ac_cv_os_cray+set}" = set; then : 5143 if ${ac_cv_os_cray+:} false; then :
4845 $as_echo_n "(cached) " >&6 5144 $as_echo_n "(cached) " >&6
4846 else 5145 else
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */ 5147 /* end confdefs.h. */
4849 #if defined CRAY && ! defined CRAY2 5148 #if defined CRAY && ! defined CRAY2
4866 $as_echo "$ac_cv_os_cray" >&6; } 5165 $as_echo "$ac_cv_os_cray" >&6; }
4867 if test $ac_cv_os_cray = yes; then 5166 if test $ac_cv_os_cray = yes; then
4868 for ac_func in _getb67 GETB67 getb67; do 5167 for ac_func in _getb67 GETB67 getb67; do
4869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4871 eval as_val=\$$as_ac_var 5170 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4872 if test "x$as_val" = x""yes; then :
4873 5171
4874 cat >>confdefs.h <<_ACEOF 5172 cat >>confdefs.h <<_ACEOF
4875 #define CRAY_STACKSEG_END $ac_func 5173 #define CRAY_STACKSEG_END $ac_func
4876 _ACEOF 5174 _ACEOF
4877 5175
4881 done 5179 done
4882 fi 5180 fi
4883 5181
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4885 $as_echo_n "checking stack direction for C alloca... " >&6; } 5183 $as_echo_n "checking stack direction for C alloca... " >&6; }
4886 if test "${ac_cv_c_stack_direction+set}" = set; then : 5184 if ${ac_cv_c_stack_direction+:} false; then :
4887 $as_echo_n "(cached) " >&6 5185 $as_echo_n "(cached) " >&6
4888 else 5186 else
4889 if test "$cross_compiling" = yes; then : 5187 if test "$cross_compiling" = yes; then :
4890 ac_cv_c_stack_direction=0 5188 ac_cv_c_stack_direction=0
4891 else 5189 else
4892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4893 /* end confdefs.h. */ 5191 /* end confdefs.h. */
4894 $ac_includes_default 5192 $ac_includes_default
4895 int 5193 int
4896 find_stack_direction () 5194 find_stack_direction (int *addr, int depth)
4897 { 5195 {
4898 static char *addr = 0; 5196 int dir, dummy = 0;
4899 auto char dummy; 5197 if (! addr)
4900 if (addr == 0) 5198 addr = &dummy;
4901 { 5199 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
4902 addr = &dummy; 5200 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
4903 return find_stack_direction (); 5201 return dir + dummy;
4904 }
4905 else
4906 return (&dummy > addr) ? 1 : -1;
4907 } 5202 }
4908 5203
4909 int 5204 int
4910 main () 5205 main (int argc, char **argv)
4911 { 5206 {
4912 return find_stack_direction () < 0; 5207 return find_stack_direction (0, argc + !argv + 20) < 0;
4913 } 5208 }
4914 _ACEOF 5209 _ACEOF
4915 if ac_fn_c_try_run "$LINENO"; then : 5210 if ac_fn_c_try_run "$LINENO"; then :
4916 ac_cv_c_stack_direction=1 5211 ac_cv_c_stack_direction=1
4917 else 5212 else
4932 fi 5227 fi
4933 5228
4934 for ac_header in mm_malloc.h 5229 for ac_header in mm_malloc.h
4935 do : 5230 do :
4936 ac_fn_c_check_header_mongrel "$LINENO" "mm_malloc.h" "ac_cv_header_mm_malloc_h" "$ac_includes_default" 5231 ac_fn_c_check_header_mongrel "$LINENO" "mm_malloc.h" "ac_cv_header_mm_malloc_h" "$ac_includes_default"
4937 if test "x$ac_cv_header_mm_malloc_h" = x""yes; then : 5232 if test "x$ac_cv_header_mm_malloc_h" = xyes; then :
4938 cat >>confdefs.h <<_ACEOF 5233 cat >>confdefs.h <<_ACEOF
4939 #define HAVE_MM_MALLOC_H 1 5234 #define HAVE_MM_MALLOC_H 1
4940 _ACEOF 5235 _ACEOF
4941 5236
4942 else 5237 else
4943 as_fn_error "\"Couldn't find mm_malloc.h\"" "$LINENO" 5 5238 as_fn_error $? "\"Couldn't find mm_malloc.h\"" "$LINENO" 5
4944 fi 5239 fi
4945 5240
4946 done 5241 done
4947 5242
4948 for ac_func in __secure_getenv secure_getenv 5243 for ac_func in __secure_getenv secure_getenv
4949 do : 5244 do :
4950 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4951 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4952 eval as_val=\$$as_ac_var 5247 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4953 if test "x$as_val" = x""yes; then :
4954 cat >>confdefs.h <<_ACEOF 5248 cat >>confdefs.h <<_ACEOF
4955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4956 _ACEOF 5250 _ACEOF
4957 5251
4958 fi 5252 fi
4960 5254
4961 5255
4962 # Get target configure. 5256 # Get target configure.
4963 . ${srcdir}/configure.tgt 5257 . ${srcdir}/configure.tgt
4964 if test -n "$UNSUPPORTED"; then 5258 if test -n "$UNSUPPORTED"; then
4965 as_fn_error "Configuration ${target} is unsupported" "$LINENO" 5 5259 as_fn_error $? "Configuration ${target} is unsupported" "$LINENO" 5
4966 fi 5260 fi
4967 5261
4968 if test "${multilib}" = "yes"; then 5262 if test "${multilib}" = "yes"; then
4969 multilib_arg="--enable-multilib" 5263 multilib_arg="--enable-multilib"
4970 else 5264 else
4976 # Check whether --enable-version-specific-runtime-libs was given. 5270 # Check whether --enable-version-specific-runtime-libs was given.
4977 if test "${enable_version_specific_runtime_libs+set}" = set; then : 5271 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4978 enableval=$enable_version_specific_runtime_libs; case "$enableval" in 5272 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
4979 yes) enable_version_specific_runtime_libs=yes ;; 5273 yes) enable_version_specific_runtime_libs=yes ;;
4980 no) enable_version_specific_runtime_libs=no ;; 5274 no) enable_version_specific_runtime_libs=no ;;
4981 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;; 5275 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
4982 esac 5276 esac
4983 else 5277 else
4984 enable_version_specific_runtime_libs=no 5278 enable_version_specific_runtime_libs=no
4985 fi 5279 fi
4986 5280
4990 # Make sure liboffloadmic is enabled 5284 # Make sure liboffloadmic is enabled
4991 case "$enable_liboffloadmic" in 5285 case "$enable_liboffloadmic" in
4992 host | target) 5286 host | target)
4993 ;; 5287 ;;
4994 *) 5288 *)
4995 as_fn_error "Liboffloadmic is disabled" "$LINENO" 5 ;; 5289 as_fn_error $? "Liboffloadmic is disabled" "$LINENO" 5 ;;
4996 esac 5290 esac
4997 if test x"$enable_liboffloadmic" = xhost; then 5291 if test x"$enable_liboffloadmic" = xhost; then
4998 LIBOFFLOADMIC_HOST_TRUE= 5292 LIBOFFLOADMIC_HOST_TRUE=
4999 LIBOFFLOADMIC_HOST_FALSE='#' 5293 LIBOFFLOADMIC_HOST_FALSE='#'
5000 else 5294 else
5001 LIBOFFLOADMIC_HOST_TRUE='#' 5295 LIBOFFLOADMIC_HOST_TRUE='#'
5002 LIBOFFLOADMIC_HOST_FALSE= 5296 LIBOFFLOADMIC_HOST_FALSE=
5003 fi 5297 fi
5298
5299
5300
5301 # Check whether --with-toolexeclibdir was given.
5302 if test "${with_toolexeclibdir+set}" = set; then :
5303 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5304 /)
5305 ;;
5306 */)
5307 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5308 ;;
5309 esac
5310 else
5311 with_toolexeclibdir=no
5312 fi
5313
5004 5314
5005 5315
5006 # Calculate toolexeclibdir. 5316 # Calculate toolexeclibdir.
5007 # Also toolexecdir, though it's only used in toolexeclibdir. 5317 # Also toolexecdir, though it's only used in toolexeclibdir.
5008 case ${enable_version_specific_runtime_libs} in 5318 case ${enable_version_specific_runtime_libs} in
5016 no) 5326 no)
5017 if test -n "$with_cross_host" && 5327 if test -n "$with_cross_host" &&
5018 test x"$with_cross_host" != x"no"; then 5328 test x"$with_cross_host" != x"no"; then
5019 # Install a library built with a cross compiler in tooldir, not libdir. 5329 # Install a library built with a cross compiler in tooldir, not libdir.
5020 toolexecdir='$(exec_prefix)/$(target_alias)' 5330 toolexecdir='$(exec_prefix)/$(target_alias)'
5021 toolexeclibdir='$(toolexecdir)/lib' 5331 case ${with_toolexeclibdir} in
5332 no)
5333 toolexeclibdir='$(toolexecdir)/lib'
5334 ;;
5335 *)
5336 toolexeclibdir=${with_toolexeclibdir}
5337 ;;
5338 esac
5022 else 5339 else
5023 toolexecdir='$(libdir)/gcc-lib/$(target_alias)' 5340 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5024 toolexeclibdir='$(libdir)' 5341 toolexeclibdir='$(libdir)'
5025 fi 5342 fi
5026 multi_os_directory=`$CC -print-multi-os-directory` 5343 multi_os_directory=`$CC -print-multi-os-directory`
5129 5446
5130 5447
5131 5448
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5133 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 5450 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5134 if test "${ac_cv_path_SED+set}" = set; then : 5451 if ${ac_cv_path_SED+:} false; then :
5135 $as_echo_n "(cached) " >&6 5452 $as_echo_n "(cached) " >&6
5136 else 5453 else
5137 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5454 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5138 for ac_i in 1 2 3 4 5 6 7; do 5455 for ac_i in 1 2 3 4 5 6 7; do
5139 ac_script="$ac_script$as_nl$ac_script" 5456 ac_script="$ac_script$as_nl$ac_script"
5149 IFS=$as_save_IFS 5466 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=. 5467 test -z "$as_dir" && as_dir=.
5151 for ac_prog in sed gsed; do 5468 for ac_prog in sed gsed; do
5152 for ac_exec_ext in '' $ac_executable_extensions; do 5469 for ac_exec_ext in '' $ac_executable_extensions; do
5153 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5470 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5154 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 5471 as_fn_executable_p "$ac_path_SED" || continue
5155 # Check for GNU ac_path_SED and select it if it is found. 5472 # Check for GNU ac_path_SED and select it if it is found.
5156 # Check for GNU $ac_path_SED 5473 # Check for GNU $ac_path_SED
5157 case `"$ac_path_SED" --version 2>&1` in 5474 case `"$ac_path_SED" --version 2>&1` in
5158 *GNU*) 5475 *GNU*)
5159 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5476 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5184 done 5501 done
5185 done 5502 done
5186 done 5503 done
5187 IFS=$as_save_IFS 5504 IFS=$as_save_IFS
5188 if test -z "$ac_cv_path_SED"; then 5505 if test -z "$ac_cv_path_SED"; then
5189 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 5506 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5190 fi 5507 fi
5191 else 5508 else
5192 ac_cv_path_SED=$SED 5509 ac_cv_path_SED=$SED
5193 fi 5510 fi
5194 5511
5211 5528
5212 5529
5213 5530
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5215 $as_echo_n "checking for fgrep... " >&6; } 5532 $as_echo_n "checking for fgrep... " >&6; }
5216 if test "${ac_cv_path_FGREP+set}" = set; then : 5533 if ${ac_cv_path_FGREP+:} false; then :
5217 $as_echo_n "(cached) " >&6 5534 $as_echo_n "(cached) " >&6
5218 else 5535 else
5219 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5536 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5220 then ac_cv_path_FGREP="$GREP -F" 5537 then ac_cv_path_FGREP="$GREP -F"
5221 else 5538 else
5228 IFS=$as_save_IFS 5545 IFS=$as_save_IFS
5229 test -z "$as_dir" && as_dir=. 5546 test -z "$as_dir" && as_dir=.
5230 for ac_prog in fgrep; do 5547 for ac_prog in fgrep; do
5231 for ac_exec_ext in '' $ac_executable_extensions; do 5548 for ac_exec_ext in '' $ac_executable_extensions; do
5232 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5549 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5233 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5550 as_fn_executable_p "$ac_path_FGREP" || continue
5234 # Check for GNU ac_path_FGREP and select it if it is found. 5551 # Check for GNU ac_path_FGREP and select it if it is found.
5235 # Check for GNU $ac_path_FGREP 5552 # Check for GNU $ac_path_FGREP
5236 case `"$ac_path_FGREP" --version 2>&1` in 5553 case `"$ac_path_FGREP" --version 2>&1` in
5237 *GNU*) 5554 *GNU*)
5238 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5555 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5263 done 5580 done
5264 done 5581 done
5265 done 5582 done
5266 IFS=$as_save_IFS 5583 IFS=$as_save_IFS
5267 if test -z "$ac_cv_path_FGREP"; then 5584 if test -z "$ac_cv_path_FGREP"; then
5268 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5585 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5269 fi 5586 fi
5270 else 5587 else
5271 ac_cv_path_FGREP=$FGREP 5588 ac_cv_path_FGREP=$FGREP
5272 fi 5589 fi
5273 5590
5342 $as_echo_n "checking for GNU ld... " >&6; } 5659 $as_echo_n "checking for GNU ld... " >&6; }
5343 else 5660 else
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5345 $as_echo_n "checking for non-GNU ld... " >&6; } 5662 $as_echo_n "checking for non-GNU ld... " >&6; }
5346 fi 5663 fi
5347 if test "${lt_cv_path_LD+set}" = set; then : 5664 if ${lt_cv_path_LD+:} false; then :
5348 $as_echo_n "(cached) " >&6 5665 $as_echo_n "(cached) " >&6
5349 else 5666 else
5350 if test -z "$LD"; then 5667 if test -z "$LD"; then
5351 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5352 for ac_dir in $PATH; do 5669 for ac_dir in $PATH; do
5379 $as_echo "$LD" >&6; } 5696 $as_echo "$LD" >&6; }
5380 else 5697 else
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; } 5699 $as_echo "no" >&6; }
5383 fi 5700 fi
5384 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 5701 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5386 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5703 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5387 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 5704 if ${lt_cv_prog_gnu_ld+:} false; then :
5388 $as_echo_n "(cached) " >&6 5705 $as_echo_n "(cached) " >&6
5389 else 5706 else
5390 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5707 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5391 case `$LD -v 2>&1 </dev/null` in 5708 case `$LD -v 2>&1 </dev/null` in
5392 *GNU* | *'with BFD'*) 5709 *GNU* | *'with BFD'*)
5409 5726
5410 5727
5411 5728
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5413 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5730 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5414 if test "${lt_cv_path_NM+set}" = set; then : 5731 if ${lt_cv_path_NM+:} false; then :
5415 $as_echo_n "(cached) " >&6 5732 $as_echo_n "(cached) " >&6
5416 else 5733 else
5417 if test -n "$NM"; then 5734 if test -n "$NM"; then
5418 # Let the user override the test. 5735 # Let the user override the test.
5419 lt_cv_path_NM="$NM" 5736 lt_cv_path_NM="$NM"
5472 do 5789 do
5473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; } 5793 $as_echo_n "checking for $ac_word... " >&6; }
5477 if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 5794 if ${ac_cv_prog_DUMPBIN+:} false; then :
5478 $as_echo_n "(cached) " >&6 5795 $as_echo_n "(cached) " >&6
5479 else 5796 else
5480 if test -n "$DUMPBIN"; then 5797 if test -n "$DUMPBIN"; then
5481 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5798 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5482 else 5799 else
5484 for as_dir in $PATH 5801 for as_dir in $PATH
5485 do 5802 do
5486 IFS=$as_save_IFS 5803 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=. 5804 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do 5805 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5807 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2 5809 break 2
5493 fi 5810 fi
5494 done 5811 done
5516 do 5833 do
5517 # Extract the first word of "$ac_prog", so it can be a program name with args. 5834 # Extract the first word of "$ac_prog", so it can be a program name with args.
5518 set dummy $ac_prog; ac_word=$2 5835 set dummy $ac_prog; ac_word=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; } 5837 $as_echo_n "checking for $ac_word... " >&6; }
5521 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 5838 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5522 $as_echo_n "(cached) " >&6 5839 $as_echo_n "(cached) " >&6
5523 else 5840 else
5524 if test -n "$ac_ct_DUMPBIN"; then 5841 if test -n "$ac_ct_DUMPBIN"; then
5525 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5842 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5526 else 5843 else
5528 for as_dir in $PATH 5845 for as_dir in $PATH
5529 do 5846 do
5530 IFS=$as_save_IFS 5847 IFS=$as_save_IFS
5531 test -z "$as_dir" && as_dir=. 5848 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do 5849 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5851 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 break 2 5853 break 2
5537 fi 5854 fi
5538 done 5855 done
5588 5905
5589 5906
5590 5907
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5592 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 5909 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5593 if test "${lt_cv_nm_interface+set}" = set; then : 5910 if ${lt_cv_nm_interface+:} false; then :
5594 $as_echo_n "(cached) " >&6 5911 $as_echo_n "(cached) " >&6
5595 else 5912 else
5596 lt_cv_nm_interface="BSD nm" 5913 lt_cv_nm_interface="BSD nm"
5597 echo "int some_variable = 0;" > conftest.$ac_ext 5914 echo "int some_variable = 0;" > conftest.$ac_ext
5598 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5915 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5623 fi 5940 fi
5624 5941
5625 # find the maximum length of command line arguments 5942 # find the maximum length of command line arguments
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5627 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 5944 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5628 if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 5945 if ${lt_cv_sys_max_cmd_len+:} false; then :
5629 $as_echo_n "(cached) " >&6 5946 $as_echo_n "(cached) " >&6
5630 else 5947 else
5631 i=0 5948 i=0
5632 teststring="ABCD" 5949 teststring="ABCD"
5633 5950
5820 6137
5821 6138
5822 6139
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5824 $as_echo_n "checking for $LD option to reload object files... " >&6; } 6141 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5825 if test "${lt_cv_ld_reload_flag+set}" = set; then : 6142 if ${lt_cv_ld_reload_flag+:} false; then :
5826 $as_echo_n "(cached) " >&6 6143 $as_echo_n "(cached) " >&6
5827 else 6144 else
5828 lt_cv_ld_reload_flag='-r' 6145 lt_cv_ld_reload_flag='-r'
5829 fi 6146 fi
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5856 if test -n "$ac_tool_prefix"; then 6173 if test -n "$ac_tool_prefix"; then
5857 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6174 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5858 set dummy ${ac_tool_prefix}objdump; ac_word=$2 6175 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; } 6177 $as_echo_n "checking for $ac_word... " >&6; }
5861 if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 6178 if ${ac_cv_prog_OBJDUMP+:} false; then :
5862 $as_echo_n "(cached) " >&6 6179 $as_echo_n "(cached) " >&6
5863 else 6180 else
5864 if test -n "$OBJDUMP"; then 6181 if test -n "$OBJDUMP"; then
5865 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6182 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5866 else 6183 else
5868 for as_dir in $PATH 6185 for as_dir in $PATH
5869 do 6186 do
5870 IFS=$as_save_IFS 6187 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=. 6188 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do 6189 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5874 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6191 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2 6193 break 2
5877 fi 6194 fi
5878 done 6195 done
5896 ac_ct_OBJDUMP=$OBJDUMP 6213 ac_ct_OBJDUMP=$OBJDUMP
5897 # Extract the first word of "objdump", so it can be a program name with args. 6214 # Extract the first word of "objdump", so it can be a program name with args.
5898 set dummy objdump; ac_word=$2 6215 set dummy objdump; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; } 6217 $as_echo_n "checking for $ac_word... " >&6; }
5901 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 6218 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5902 $as_echo_n "(cached) " >&6 6219 $as_echo_n "(cached) " >&6
5903 else 6220 else
5904 if test -n "$ac_ct_OBJDUMP"; then 6221 if test -n "$ac_ct_OBJDUMP"; then
5905 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6222 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5906 else 6223 else
5908 for as_dir in $PATH 6225 for as_dir in $PATH
5909 do 6226 do
5910 IFS=$as_save_IFS 6227 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=. 6228 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do 6229 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6231 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2 6233 break 2
5917 fi 6234 fi
5918 done 6235 done
5955 6272
5956 6273
5957 6274
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5959 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 6276 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5960 if test "${lt_cv_deplibs_check_method+set}" = set; then : 6277 if ${lt_cv_deplibs_check_method+:} false; then :
5961 $as_echo_n "(cached) " >&6 6278 $as_echo_n "(cached) " >&6
5962 else 6279 else
5963 lt_cv_file_magic_cmd='$MAGIC_CMD' 6280 lt_cv_file_magic_cmd='$MAGIC_CMD'
5964 lt_cv_file_magic_test_file= 6281 lt_cv_file_magic_test_file=
5965 lt_cv_deplibs_check_method='unknown' 6282 lt_cv_deplibs_check_method='unknown'
6075 esac 6392 esac
6076 lt_cv_deplibs_check_method=pass_all 6393 lt_cv_deplibs_check_method=pass_all
6077 ;; 6394 ;;
6078 6395
6079 # This must be Linux ELF. 6396 # This must be Linux ELF.
6080 linux* | k*bsd*-gnu | kopensolaris*-gnu) 6397 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6081 lt_cv_deplibs_check_method=pass_all 6398 lt_cv_deplibs_check_method=pass_all
6082 ;; 6399 ;;
6083 6400
6084 netbsd*) 6401 netbsd*)
6085 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6402 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6176 if test -n "$ac_tool_prefix"; then 6493 if test -n "$ac_tool_prefix"; then
6177 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6494 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6178 set dummy ${ac_tool_prefix}ar; ac_word=$2 6495 set dummy ${ac_tool_prefix}ar; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; } 6497 $as_echo_n "checking for $ac_word... " >&6; }
6181 if test "${ac_cv_prog_AR+set}" = set; then : 6498 if ${ac_cv_prog_AR+:} false; then :
6182 $as_echo_n "(cached) " >&6 6499 $as_echo_n "(cached) " >&6
6183 else 6500 else
6184 if test -n "$AR"; then 6501 if test -n "$AR"; then
6185 ac_cv_prog_AR="$AR" # Let the user override the test. 6502 ac_cv_prog_AR="$AR" # Let the user override the test.
6186 else 6503 else
6188 for as_dir in $PATH 6505 for as_dir in $PATH
6189 do 6506 do
6190 IFS=$as_save_IFS 6507 IFS=$as_save_IFS
6191 test -z "$as_dir" && as_dir=. 6508 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do 6509 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194 ac_cv_prog_AR="${ac_tool_prefix}ar" 6511 ac_cv_prog_AR="${ac_tool_prefix}ar"
6195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196 break 2 6513 break 2
6197 fi 6514 fi
6198 done 6515 done
6216 ac_ct_AR=$AR 6533 ac_ct_AR=$AR
6217 # Extract the first word of "ar", so it can be a program name with args. 6534 # Extract the first word of "ar", so it can be a program name with args.
6218 set dummy ar; ac_word=$2 6535 set dummy ar; ac_word=$2
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 $as_echo_n "checking for $ac_word... " >&6; } 6537 $as_echo_n "checking for $ac_word... " >&6; }
6221 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 6538 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6222 $as_echo_n "(cached) " >&6 6539 $as_echo_n "(cached) " >&6
6223 else 6540 else
6224 if test -n "$ac_ct_AR"; then 6541 if test -n "$ac_ct_AR"; then
6225 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6542 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6226 else 6543 else
6228 for as_dir in $PATH 6545 for as_dir in $PATH
6229 do 6546 do
6230 IFS=$as_save_IFS 6547 IFS=$as_save_IFS
6231 test -z "$as_dir" && as_dir=. 6548 test -z "$as_dir" && as_dir=.
6232 for ac_exec_ext in '' $ac_executable_extensions; do 6549 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234 ac_cv_prog_ac_ct_AR="ar" 6551 ac_cv_prog_ac_ct_AR="ar"
6235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6236 break 2 6553 break 2
6237 fi 6554 fi
6238 done 6555 done
6281 if test -n "$ac_tool_prefix"; then 6598 if test -n "$ac_tool_prefix"; then
6282 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6599 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6283 set dummy ${ac_tool_prefix}strip; ac_word=$2 6600 set dummy ${ac_tool_prefix}strip; ac_word=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; } 6602 $as_echo_n "checking for $ac_word... " >&6; }
6286 if test "${ac_cv_prog_STRIP+set}" = set; then : 6603 if ${ac_cv_prog_STRIP+:} false; then :
6287 $as_echo_n "(cached) " >&6 6604 $as_echo_n "(cached) " >&6
6288 else 6605 else
6289 if test -n "$STRIP"; then 6606 if test -n "$STRIP"; then
6290 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6607 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6291 else 6608 else
6293 for as_dir in $PATH 6610 for as_dir in $PATH
6294 do 6611 do
6295 IFS=$as_save_IFS 6612 IFS=$as_save_IFS
6296 test -z "$as_dir" && as_dir=. 6613 test -z "$as_dir" && as_dir=.
6297 for ac_exec_ext in '' $ac_executable_extensions; do 6614 for ac_exec_ext in '' $ac_executable_extensions; do
6298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6299 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6616 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301 break 2 6618 break 2
6302 fi 6619 fi
6303 done 6620 done
6321 ac_ct_STRIP=$STRIP 6638 ac_ct_STRIP=$STRIP
6322 # Extract the first word of "strip", so it can be a program name with args. 6639 # Extract the first word of "strip", so it can be a program name with args.
6323 set dummy strip; ac_word=$2 6640 set dummy strip; ac_word=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325 $as_echo_n "checking for $ac_word... " >&6; } 6642 $as_echo_n "checking for $ac_word... " >&6; }
6326 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 6643 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6327 $as_echo_n "(cached) " >&6 6644 $as_echo_n "(cached) " >&6
6328 else 6645 else
6329 if test -n "$ac_ct_STRIP"; then 6646 if test -n "$ac_ct_STRIP"; then
6330 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6647 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6331 else 6648 else
6333 for as_dir in $PATH 6650 for as_dir in $PATH
6334 do 6651 do
6335 IFS=$as_save_IFS 6652 IFS=$as_save_IFS
6336 test -z "$as_dir" && as_dir=. 6653 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do 6654 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6339 ac_cv_prog_ac_ct_STRIP="strip" 6656 ac_cv_prog_ac_ct_STRIP="strip"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6341 break 2 6658 break 2
6342 fi 6659 fi
6343 done 6660 done
6380 if test -n "$ac_tool_prefix"; then 6697 if test -n "$ac_tool_prefix"; then
6381 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6698 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6382 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6699 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6384 $as_echo_n "checking for $ac_word... " >&6; } 6701 $as_echo_n "checking for $ac_word... " >&6; }
6385 if test "${ac_cv_prog_RANLIB+set}" = set; then : 6702 if ${ac_cv_prog_RANLIB+:} false; then :
6386 $as_echo_n "(cached) " >&6 6703 $as_echo_n "(cached) " >&6
6387 else 6704 else
6388 if test -n "$RANLIB"; then 6705 if test -n "$RANLIB"; then
6389 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6706 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6390 else 6707 else
6392 for as_dir in $PATH 6709 for as_dir in $PATH
6393 do 6710 do
6394 IFS=$as_save_IFS 6711 IFS=$as_save_IFS
6395 test -z "$as_dir" && as_dir=. 6712 test -z "$as_dir" && as_dir=.
6396 for ac_exec_ext in '' $ac_executable_extensions; do 6713 for ac_exec_ext in '' $ac_executable_extensions; do
6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6398 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6715 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 break 2 6717 break 2
6401 fi 6718 fi
6402 done 6719 done
6420 ac_ct_RANLIB=$RANLIB 6737 ac_ct_RANLIB=$RANLIB
6421 # Extract the first word of "ranlib", so it can be a program name with args. 6738 # Extract the first word of "ranlib", so it can be a program name with args.
6422 set dummy ranlib; ac_word=$2 6739 set dummy ranlib; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; } 6741 $as_echo_n "checking for $ac_word... " >&6; }
6425 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6742 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6426 $as_echo_n "(cached) " >&6 6743 $as_echo_n "(cached) " >&6
6427 else 6744 else
6428 if test -n "$ac_ct_RANLIB"; then 6745 if test -n "$ac_ct_RANLIB"; then
6429 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6746 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6430 else 6747 else
6432 for as_dir in $PATH 6749 for as_dir in $PATH
6433 do 6750 do
6434 IFS=$as_save_IFS 6751 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=. 6752 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do 6753 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_prog_ac_ct_RANLIB="ranlib" 6755 ac_cv_prog_ac_ct_RANLIB="ranlib"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 break 2 6757 break 2
6441 fi 6758 fi
6442 done 6759 done
6549 6866
6550 6867
6551 # Check for command to grab the raw symbol name followed by C symbol from nm. 6868 # Check for command to grab the raw symbol name followed by C symbol from nm.
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6553 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6870 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6554 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 6871 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6555 $as_echo_n "(cached) " >&6 6872 $as_echo_n "(cached) " >&6
6556 else 6873 else
6557 6874
6558 # These are sane defaults that work on at least a few old systems. 6875 # These are sane defaults that work on at least a few old systems.
6559 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 6876 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6933 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7250 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6934 SAVE_CFLAGS="$CFLAGS" 7251 SAVE_CFLAGS="$CFLAGS"
6935 CFLAGS="$CFLAGS -belf" 7252 CFLAGS="$CFLAGS -belf"
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6937 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7254 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6938 if test "${lt_cv_cc_needs_belf+set}" = set; then : 7255 if ${lt_cv_cc_needs_belf+:} false; then :
6939 $as_echo_n "(cached) " >&6 7256 $as_echo_n "(cached) " >&6
6940 else 7257 else
6941 ac_ext=c 7258 ac_ext=c
6942 ac_cpp='$CPP $CPPFLAGS' 7259 ac_cpp='$CPP $CPPFLAGS'
6943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7009 if test -n "$ac_tool_prefix"; then 7326 if test -n "$ac_tool_prefix"; then
7010 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7327 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7011 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7328 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; } 7330 $as_echo_n "checking for $ac_word... " >&6; }
7014 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 7331 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7015 $as_echo_n "(cached) " >&6 7332 $as_echo_n "(cached) " >&6
7016 else 7333 else
7017 if test -n "$DSYMUTIL"; then 7334 if test -n "$DSYMUTIL"; then
7018 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7335 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7019 else 7336 else
7021 for as_dir in $PATH 7338 for as_dir in $PATH
7022 do 7339 do
7023 IFS=$as_save_IFS 7340 IFS=$as_save_IFS
7024 test -z "$as_dir" && as_dir=. 7341 test -z "$as_dir" && as_dir=.
7025 for ac_exec_ext in '' $ac_executable_extensions; do 7342 for ac_exec_ext in '' $ac_executable_extensions; do
7026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7027 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7344 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 break 2 7346 break 2
7030 fi 7347 fi
7031 done 7348 done
7049 ac_ct_DSYMUTIL=$DSYMUTIL 7366 ac_ct_DSYMUTIL=$DSYMUTIL
7050 # Extract the first word of "dsymutil", so it can be a program name with args. 7367 # Extract the first word of "dsymutil", so it can be a program name with args.
7051 set dummy dsymutil; ac_word=$2 7368 set dummy dsymutil; ac_word=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; } 7370 $as_echo_n "checking for $ac_word... " >&6; }
7054 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 7371 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7055 $as_echo_n "(cached) " >&6 7372 $as_echo_n "(cached) " >&6
7056 else 7373 else
7057 if test -n "$ac_ct_DSYMUTIL"; then 7374 if test -n "$ac_ct_DSYMUTIL"; then
7058 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7375 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7059 else 7376 else
7061 for as_dir in $PATH 7378 for as_dir in $PATH
7062 do 7379 do
7063 IFS=$as_save_IFS 7380 IFS=$as_save_IFS
7064 test -z "$as_dir" && as_dir=. 7381 test -z "$as_dir" && as_dir=.
7065 for ac_exec_ext in '' $ac_executable_extensions; do 7382 for ac_exec_ext in '' $ac_executable_extensions; do
7066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7067 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7384 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069 break 2 7386 break 2
7070 fi 7387 fi
7071 done 7388 done
7101 if test -n "$ac_tool_prefix"; then 7418 if test -n "$ac_tool_prefix"; then
7102 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7419 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7103 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7420 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; } 7422 $as_echo_n "checking for $ac_word... " >&6; }
7106 if test "${ac_cv_prog_NMEDIT+set}" = set; then : 7423 if ${ac_cv_prog_NMEDIT+:} false; then :
7107 $as_echo_n "(cached) " >&6 7424 $as_echo_n "(cached) " >&6
7108 else 7425 else
7109 if test -n "$NMEDIT"; then 7426 if test -n "$NMEDIT"; then
7110 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7427 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7111 else 7428 else
7113 for as_dir in $PATH 7430 for as_dir in $PATH
7114 do 7431 do
7115 IFS=$as_save_IFS 7432 IFS=$as_save_IFS
7116 test -z "$as_dir" && as_dir=. 7433 test -z "$as_dir" && as_dir=.
7117 for ac_exec_ext in '' $ac_executable_extensions; do 7434 for ac_exec_ext in '' $ac_executable_extensions; do
7118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7436 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 break 2 7438 break 2
7122 fi 7439 fi
7123 done 7440 done
7141 ac_ct_NMEDIT=$NMEDIT 7458 ac_ct_NMEDIT=$NMEDIT
7142 # Extract the first word of "nmedit", so it can be a program name with args. 7459 # Extract the first word of "nmedit", so it can be a program name with args.
7143 set dummy nmedit; ac_word=$2 7460 set dummy nmedit; ac_word=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 $as_echo_n "checking for $ac_word... " >&6; } 7462 $as_echo_n "checking for $ac_word... " >&6; }
7146 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 7463 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7147 $as_echo_n "(cached) " >&6 7464 $as_echo_n "(cached) " >&6
7148 else 7465 else
7149 if test -n "$ac_ct_NMEDIT"; then 7466 if test -n "$ac_ct_NMEDIT"; then
7150 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7467 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7151 else 7468 else
7153 for as_dir in $PATH 7470 for as_dir in $PATH
7154 do 7471 do
7155 IFS=$as_save_IFS 7472 IFS=$as_save_IFS
7156 test -z "$as_dir" && as_dir=. 7473 test -z "$as_dir" && as_dir=.
7157 for ac_exec_ext in '' $ac_executable_extensions; do 7474 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7476 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 break 2 7478 break 2
7162 fi 7479 fi
7163 done 7480 done
7193 if test -n "$ac_tool_prefix"; then 7510 if test -n "$ac_tool_prefix"; then
7194 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7511 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7195 set dummy ${ac_tool_prefix}lipo; ac_word=$2 7512 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; } 7514 $as_echo_n "checking for $ac_word... " >&6; }
7198 if test "${ac_cv_prog_LIPO+set}" = set; then : 7515 if ${ac_cv_prog_LIPO+:} false; then :
7199 $as_echo_n "(cached) " >&6 7516 $as_echo_n "(cached) " >&6
7200 else 7517 else
7201 if test -n "$LIPO"; then 7518 if test -n "$LIPO"; then
7202 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7519 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7203 else 7520 else
7205 for as_dir in $PATH 7522 for as_dir in $PATH
7206 do 7523 do
7207 IFS=$as_save_IFS 7524 IFS=$as_save_IFS
7208 test -z "$as_dir" && as_dir=. 7525 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do 7526 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7211 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7528 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 break 2 7530 break 2
7214 fi 7531 fi
7215 done 7532 done
7233 ac_ct_LIPO=$LIPO 7550 ac_ct_LIPO=$LIPO
7234 # Extract the first word of "lipo", so it can be a program name with args. 7551 # Extract the first word of "lipo", so it can be a program name with args.
7235 set dummy lipo; ac_word=$2 7552 set dummy lipo; ac_word=$2
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 $as_echo_n "checking for $ac_word... " >&6; } 7554 $as_echo_n "checking for $ac_word... " >&6; }
7238 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 7555 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7239 $as_echo_n "(cached) " >&6 7556 $as_echo_n "(cached) " >&6
7240 else 7557 else
7241 if test -n "$ac_ct_LIPO"; then 7558 if test -n "$ac_ct_LIPO"; then
7242 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7559 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7243 else 7560 else
7245 for as_dir in $PATH 7562 for as_dir in $PATH
7246 do 7563 do
7247 IFS=$as_save_IFS 7564 IFS=$as_save_IFS
7248 test -z "$as_dir" && as_dir=. 7565 test -z "$as_dir" && as_dir=.
7249 for ac_exec_ext in '' $ac_executable_extensions; do 7566 for ac_exec_ext in '' $ac_executable_extensions; do
7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7251 ac_cv_prog_ac_ct_LIPO="lipo" 7568 ac_cv_prog_ac_ct_LIPO="lipo"
7252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253 break 2 7570 break 2
7254 fi 7571 fi
7255 done 7572 done
7285 if test -n "$ac_tool_prefix"; then 7602 if test -n "$ac_tool_prefix"; then
7286 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7603 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7287 set dummy ${ac_tool_prefix}otool; ac_word=$2 7604 set dummy ${ac_tool_prefix}otool; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7289 $as_echo_n "checking for $ac_word... " >&6; } 7606 $as_echo_n "checking for $ac_word... " >&6; }
7290 if test "${ac_cv_prog_OTOOL+set}" = set; then : 7607 if ${ac_cv_prog_OTOOL+:} false; then :
7291 $as_echo_n "(cached) " >&6 7608 $as_echo_n "(cached) " >&6
7292 else 7609 else
7293 if test -n "$OTOOL"; then 7610 if test -n "$OTOOL"; then
7294 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7611 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7295 else 7612 else
7297 for as_dir in $PATH 7614 for as_dir in $PATH
7298 do 7615 do
7299 IFS=$as_save_IFS 7616 IFS=$as_save_IFS
7300 test -z "$as_dir" && as_dir=. 7617 test -z "$as_dir" && as_dir=.
7301 for ac_exec_ext in '' $ac_executable_extensions; do 7618 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7303 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7620 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 break 2 7622 break 2
7306 fi 7623 fi
7307 done 7624 done
7325 ac_ct_OTOOL=$OTOOL 7642 ac_ct_OTOOL=$OTOOL
7326 # Extract the first word of "otool", so it can be a program name with args. 7643 # Extract the first word of "otool", so it can be a program name with args.
7327 set dummy otool; ac_word=$2 7644 set dummy otool; ac_word=$2
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 $as_echo_n "checking for $ac_word... " >&6; } 7646 $as_echo_n "checking for $ac_word... " >&6; }
7330 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 7647 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7331 $as_echo_n "(cached) " >&6 7648 $as_echo_n "(cached) " >&6
7332 else 7649 else
7333 if test -n "$ac_ct_OTOOL"; then 7650 if test -n "$ac_ct_OTOOL"; then
7334 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7651 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7335 else 7652 else
7337 for as_dir in $PATH 7654 for as_dir in $PATH
7338 do 7655 do
7339 IFS=$as_save_IFS 7656 IFS=$as_save_IFS
7340 test -z "$as_dir" && as_dir=. 7657 test -z "$as_dir" && as_dir=.
7341 for ac_exec_ext in '' $ac_executable_extensions; do 7658 for ac_exec_ext in '' $ac_executable_extensions; do
7342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7343 ac_cv_prog_ac_ct_OTOOL="otool" 7660 ac_cv_prog_ac_ct_OTOOL="otool"
7344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345 break 2 7662 break 2
7346 fi 7663 fi
7347 done 7664 done
7377 if test -n "$ac_tool_prefix"; then 7694 if test -n "$ac_tool_prefix"; then
7378 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7695 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7379 set dummy ${ac_tool_prefix}otool64; ac_word=$2 7696 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; } 7698 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_OTOOL64+set}" = set; then : 7699 if ${ac_cv_prog_OTOOL64+:} false; then :
7383 $as_echo_n "(cached) " >&6 7700 $as_echo_n "(cached) " >&6
7384 else 7701 else
7385 if test -n "$OTOOL64"; then 7702 if test -n "$OTOOL64"; then
7386 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7703 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7387 else 7704 else
7389 for as_dir in $PATH 7706 for as_dir in $PATH
7390 do 7707 do
7391 IFS=$as_save_IFS 7708 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=. 7709 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do 7710 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7395 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7712 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2 7714 break 2
7398 fi 7715 fi
7399 done 7716 done
7417 ac_ct_OTOOL64=$OTOOL64 7734 ac_ct_OTOOL64=$OTOOL64
7418 # Extract the first word of "otool64", so it can be a program name with args. 7735 # Extract the first word of "otool64", so it can be a program name with args.
7419 set dummy otool64; ac_word=$2 7736 set dummy otool64; ac_word=$2
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 $as_echo_n "checking for $ac_word... " >&6; } 7738 $as_echo_n "checking for $ac_word... " >&6; }
7422 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 7739 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7423 $as_echo_n "(cached) " >&6 7740 $as_echo_n "(cached) " >&6
7424 else 7741 else
7425 if test -n "$ac_ct_OTOOL64"; then 7742 if test -n "$ac_ct_OTOOL64"; then
7426 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7743 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7427 else 7744 else
7429 for as_dir in $PATH 7746 for as_dir in $PATH
7430 do 7747 do
7431 IFS=$as_save_IFS 7748 IFS=$as_save_IFS
7432 test -z "$as_dir" && as_dir=. 7749 test -z "$as_dir" && as_dir=.
7433 for ac_exec_ext in '' $ac_executable_extensions; do 7750 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_ac_ct_OTOOL64="otool64" 7752 ac_cv_prog_ac_ct_OTOOL64="otool64"
7436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 break 2 7754 break 2
7438 fi 7755 fi
7439 done 7756 done
7492 7809
7493 7810
7494 7811
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7496 $as_echo_n "checking for -single_module linker flag... " >&6; } 7813 $as_echo_n "checking for -single_module linker flag... " >&6; }
7497 if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 7814 if ${lt_cv_apple_cc_single_mod+:} false; then :
7498 $as_echo_n "(cached) " >&6 7815 $as_echo_n "(cached) " >&6
7499 else 7816 else
7500 lt_cv_apple_cc_single_mod=no 7817 lt_cv_apple_cc_single_mod=no
7501 if test -z "${LT_MULTI_MODULE}"; then 7818 if test -z "${LT_MULTI_MODULE}"; then
7502 # By default we will add the -single_module flag. You can override 7819 # By default we will add the -single_module flag. You can override
7521 fi 7838 fi
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7523 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7840 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7525 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7842 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7526 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 7843 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7527 $as_echo_n "(cached) " >&6 7844 $as_echo_n "(cached) " >&6
7528 else 7845 else
7529 lt_cv_ld_exported_symbols_list=no 7846 lt_cv_ld_exported_symbols_list=no
7530 save_LDFLAGS=$LDFLAGS 7847 save_LDFLAGS=$LDFLAGS
7531 echo "_main" > conftest.sym 7848 echo "_main" > conftest.sym
7553 fi 7870 fi
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7555 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7872 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7557 $as_echo_n "checking for -force_load linker flag... " >&6; } 7874 $as_echo_n "checking for -force_load linker flag... " >&6; }
7558 if test "${lt_cv_ld_force_load+set}" = set; then : 7875 if ${lt_cv_ld_force_load+:} false; then :
7559 $as_echo_n "(cached) " >&6 7876 $as_echo_n "(cached) " >&6
7560 else 7877 else
7561 lt_cv_ld_force_load=no 7878 lt_cv_ld_force_load=no
7562 cat > conftest.c << _LT_EOF 7879 cat > conftest.c << _LT_EOF
7563 int forced_loaded() { return 2;} 7880 int forced_loaded() { return 2;}
7620 7937
7621 for ac_header in dlfcn.h 7938 for ac_header in dlfcn.h
7622 do : 7939 do :
7623 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7940 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7624 " 7941 "
7625 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7942 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7626 cat >>confdefs.h <<_ACEOF 7943 cat >>confdefs.h <<_ACEOF
7627 #define HAVE_DLFCN_H 1 7944 #define HAVE_DLFCN_H 1
7628 _ACEOF 7945 _ACEOF
7629 7946
7630 fi 7947 fi
7806 setopt NO_GLOB_SUBST 8123 setopt NO_GLOB_SUBST
7807 fi 8124 fi
7808 8125
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7810 $as_echo_n "checking for objdir... " >&6; } 8127 $as_echo_n "checking for objdir... " >&6; }
7811 if test "${lt_cv_objdir+set}" = set; then : 8128 if ${lt_cv_objdir+:} false; then :
7812 $as_echo_n "(cached) " >&6 8129 $as_echo_n "(cached) " >&6
7813 else 8130 else
7814 rm -f .libs 2>/dev/null 8131 rm -f .libs 2>/dev/null
7815 mkdir .libs 2>/dev/null 8132 mkdir .libs 2>/dev/null
7816 if test -d .libs; then 8133 if test -d .libs; then
7884 case $deplibs_check_method in 8201 case $deplibs_check_method in
7885 file_magic*) 8202 file_magic*)
7886 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8203 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7888 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8205 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7889 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8206 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7890 $as_echo_n "(cached) " >&6 8207 $as_echo_n "(cached) " >&6
7891 else 8208 else
7892 case $MAGIC_CMD in 8209 case $MAGIC_CMD in
7893 [\\/*] | ?:[\\/]*) 8210 [\\/*] | ?:[\\/]*)
7894 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8211 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7950 8267
7951 if test -z "$lt_cv_path_MAGIC_CMD"; then 8268 if test -z "$lt_cv_path_MAGIC_CMD"; then
7952 if test -n "$ac_tool_prefix"; then 8269 if test -n "$ac_tool_prefix"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7954 $as_echo_n "checking for file... " >&6; } 8271 $as_echo_n "checking for file... " >&6; }
7955 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8272 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7956 $as_echo_n "(cached) " >&6 8273 $as_echo_n "(cached) " >&6
7957 else 8274 else
7958 case $MAGIC_CMD in 8275 case $MAGIC_CMD in
7959 [\\/*] | ?:[\\/]*) 8276 [\\/*] | ?:[\\/]*)
7960 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8277 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8092 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8409 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8093 esac 8410 esac
8094 8411
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8096 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8413 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8097 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 8414 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8098 $as_echo_n "(cached) " >&6 8415 $as_echo_n "(cached) " >&6
8099 else 8416 else
8100 lt_cv_prog_compiler_rtti_exceptions=no 8417 lt_cv_prog_compiler_rtti_exceptions=no
8101 ac_outfile=conftest.$ac_objext 8418 ac_outfile=conftest.$ac_objext
8102 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8419 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8445 # Check to make sure the PIC flag actually works. 8762 # Check to make sure the PIC flag actually works.
8446 # 8763 #
8447 if test -n "$lt_prog_compiler_pic"; then 8764 if test -n "$lt_prog_compiler_pic"; then
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8449 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8766 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8450 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 8767 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8451 $as_echo_n "(cached) " >&6 8768 $as_echo_n "(cached) " >&6
8452 else 8769 else
8453 lt_cv_prog_compiler_pic_works=no 8770 lt_cv_prog_compiler_pic_works=no
8454 ac_outfile=conftest.$ac_objext 8771 ac_outfile=conftest.$ac_objext
8455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8504 # Check to make sure the static flag actually works. 8821 # Check to make sure the static flag actually works.
8505 # 8822 #
8506 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8823 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8508 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8825 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8509 if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 8826 if ${lt_cv_prog_compiler_static_works+:} false; then :
8510 $as_echo_n "(cached) " >&6 8827 $as_echo_n "(cached) " >&6
8511 else 8828 else
8512 lt_cv_prog_compiler_static_works=no 8829 lt_cv_prog_compiler_static_works=no
8513 save_LDFLAGS="$LDFLAGS" 8830 save_LDFLAGS="$LDFLAGS"
8514 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8831 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8547 8864
8548 8865
8549 8866
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8551 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8868 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8552 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8869 if ${lt_cv_prog_compiler_c_o+:} false; then :
8553 $as_echo_n "(cached) " >&6 8870 $as_echo_n "(cached) " >&6
8554 else 8871 else
8555 lt_cv_prog_compiler_c_o=no 8872 lt_cv_prog_compiler_c_o=no
8556 $RM -r conftest 2>/dev/null 8873 $RM -r conftest 2>/dev/null
8557 mkdir conftest 8874 mkdir conftest
8602 8919
8603 8920
8604 8921
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8607 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8924 if ${lt_cv_prog_compiler_c_o+:} false; then :
8608 $as_echo_n "(cached) " >&6 8925 $as_echo_n "(cached) " >&6
8609 else 8926 else
8610 lt_cv_prog_compiler_c_o=no 8927 lt_cv_prog_compiler_c_o=no
8611 $RM -r conftest 2>/dev/null 8928 $RM -r conftest 2>/dev/null
8612 mkdir conftest 8929 mkdir conftest
8886 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9203 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8887 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9204 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8888 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9205 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8889 ;; 9206 ;;
8890 9207
8891 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9208 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
8892 tmp_diet=no 9209 tmp_diet=no
8893 if test "$host_os" = linux-dietlibc; then 9210 if test "$host_os" = linux-dietlibc; then
8894 case $cc_basename in 9211 case $cc_basename in
8895 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9212 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8896 esac 9213 esac
9418 9735
9419 # Older versions of the 11.00 compiler do not understand -b yet 9736 # Older versions of the 11.00 compiler do not understand -b yet
9420 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9737 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9422 $as_echo_n "checking if $CC understands -b... " >&6; } 9739 $as_echo_n "checking if $CC understands -b... " >&6; }
9423 if test "${lt_cv_prog_compiler__b+set}" = set; then : 9740 if ${lt_cv_prog_compiler__b+:} false; then :
9424 $as_echo_n "(cached) " >&6 9741 $as_echo_n "(cached) " >&6
9425 else 9742 else
9426 lt_cv_prog_compiler__b=no 9743 lt_cv_prog_compiler__b=no
9427 save_LDFLAGS="$LDFLAGS" 9744 save_LDFLAGS="$LDFLAGS"
9428 LDFLAGS="$LDFLAGS -b" 9745 LDFLAGS="$LDFLAGS -b"
9790 # Test whether the compiler implicitly links with -lc since on some 10107 # Test whether the compiler implicitly links with -lc since on some
9791 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10108 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9792 # to ld, don't add -lc before -lgcc. 10109 # to ld, don't add -lc before -lgcc.
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9794 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10111 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9795 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : 10112 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9796 $as_echo_n "(cached) " >&6 10113 $as_echo_n "(cached) " >&6
9797 else 10114 else
9798 $RM conftest* 10115 $RM conftest*
9799 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10116 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9800 10117
10417 linux*oldld* | linux*aout* | linux*coff*) 10734 linux*oldld* | linux*aout* | linux*coff*)
10418 dynamic_linker=no 10735 dynamic_linker=no
10419 ;; 10736 ;;
10420 10737
10421 # This must be Linux ELF. 10738 # This must be Linux ELF.
10422 linux* | k*bsd*-gnu | kopensolaris*-gnu) 10739
10740 # uclinux* changes (here and below) have been submitted to the libtool
10741 # project, but have not yet been accepted: they are GCC-local changes
10742 # for the time being. (See
10743 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10744 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10423 version_type=linux 10745 version_type=linux
10424 need_lib_prefix=no 10746 need_lib_prefix=no
10425 need_version=no 10747 need_version=no
10426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10427 soname_spec='${libname}${release}${shared_ext}$major' 10749 soname_spec='${libname}${release}${shared_ext}$major'
10428 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10750 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10429 shlibpath_var=LD_LIBRARY_PATH 10751 shlibpath_var=LD_LIBRARY_PATH
10430 shlibpath_overrides_runpath=no 10752 shlibpath_overrides_runpath=no
10431 10753
10432 # Some binutils ld are patched to set DT_RUNPATH 10754 # Some binutils ld are patched to set DT_RUNPATH
10433 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : 10755 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10434 $as_echo_n "(cached) " >&6 10756 $as_echo_n "(cached) " >&6
10435 else 10757 else
10436 lt_cv_shlibpath_overrides_runpath=no 10758 lt_cv_shlibpath_overrides_runpath=no
10437 save_LDFLAGS=$LDFLAGS 10759 save_LDFLAGS=$LDFLAGS
10438 save_libdir=$libdir 10760 save_libdir=$libdir
10848 11170
10849 darwin*) 11171 darwin*)
10850 # if libdl is installed we need to link against it 11172 # if libdl is installed we need to link against it
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10852 $as_echo_n "checking for dlopen in -ldl... " >&6; } 11174 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10853 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11175 if ${ac_cv_lib_dl_dlopen+:} false; then :
10854 $as_echo_n "(cached) " >&6 11176 $as_echo_n "(cached) " >&6
10855 else 11177 else
10856 ac_check_lib_save_LIBS=$LIBS 11178 ac_check_lib_save_LIBS=$LIBS
10857 LIBS="-ldl $LIBS" 11179 LIBS="-ldl $LIBS"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 conftest$ac_exeext conftest.$ac_ext 11204 conftest$ac_exeext conftest.$ac_ext
10883 LIBS=$ac_check_lib_save_LIBS 11205 LIBS=$ac_check_lib_save_LIBS
10884 fi 11206 fi
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10886 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11208 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10887 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11209 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10888 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11210 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10889 else 11211 else
10890 11212
10891 lt_cv_dlopen="dyld" 11213 lt_cv_dlopen="dyld"
10892 lt_cv_dlopen_libs= 11214 lt_cv_dlopen_libs=
10896 11218
10897 ;; 11219 ;;
10898 11220
10899 *) 11221 *)
10900 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11222 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10901 if test "x$ac_cv_func_shl_load" = x""yes; then : 11223 if test "x$ac_cv_func_shl_load" = xyes; then :
10902 lt_cv_dlopen="shl_load" 11224 lt_cv_dlopen="shl_load"
10903 else 11225 else
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10905 $as_echo_n "checking for shl_load in -ldld... " >&6; } 11227 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10906 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 11228 if ${ac_cv_lib_dld_shl_load+:} false; then :
10907 $as_echo_n "(cached) " >&6 11229 $as_echo_n "(cached) " >&6
10908 else 11230 else
10909 ac_check_lib_save_LIBS=$LIBS 11231 ac_check_lib_save_LIBS=$LIBS
10910 LIBS="-ldld $LIBS" 11232 LIBS="-ldld $LIBS"
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 conftest$ac_exeext conftest.$ac_ext 11257 conftest$ac_exeext conftest.$ac_ext
10936 LIBS=$ac_check_lib_save_LIBS 11258 LIBS=$ac_check_lib_save_LIBS
10937 fi 11259 fi
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10939 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11261 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10940 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 11262 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10941 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11263 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10942 else 11264 else
10943 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11265 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10944 if test "x$ac_cv_func_dlopen" = x""yes; then : 11266 if test "x$ac_cv_func_dlopen" = xyes; then :
10945 lt_cv_dlopen="dlopen" 11267 lt_cv_dlopen="dlopen"
10946 else 11268 else
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10948 $as_echo_n "checking for dlopen in -ldl... " >&6; } 11270 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10949 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11271 if ${ac_cv_lib_dl_dlopen+:} false; then :
10950 $as_echo_n "(cached) " >&6 11272 $as_echo_n "(cached) " >&6
10951 else 11273 else
10952 ac_check_lib_save_LIBS=$LIBS 11274 ac_check_lib_save_LIBS=$LIBS
10953 LIBS="-ldl $LIBS" 11275 LIBS="-ldl $LIBS"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 conftest$ac_exeext conftest.$ac_ext 11300 conftest$ac_exeext conftest.$ac_ext
10979 LIBS=$ac_check_lib_save_LIBS 11301 LIBS=$ac_check_lib_save_LIBS
10980 fi 11302 fi
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10982 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11304 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10983 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11305 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10984 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11306 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10985 else 11307 else
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10987 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 11309 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10988 if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 11310 if ${ac_cv_lib_svld_dlopen+:} false; then :
10989 $as_echo_n "(cached) " >&6 11311 $as_echo_n "(cached) " >&6
10990 else 11312 else
10991 ac_check_lib_save_LIBS=$LIBS 11313 ac_check_lib_save_LIBS=$LIBS
10992 LIBS="-lsvld $LIBS" 11314 LIBS="-lsvld $LIBS"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 conftest$ac_exeext conftest.$ac_ext 11339 conftest$ac_exeext conftest.$ac_ext
11018 LIBS=$ac_check_lib_save_LIBS 11340 LIBS=$ac_check_lib_save_LIBS
11019 fi 11341 fi
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11021 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11343 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11022 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 11344 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11023 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11345 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11024 else 11346 else
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11026 $as_echo_n "checking for dld_link in -ldld... " >&6; } 11348 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11027 if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 11349 if ${ac_cv_lib_dld_dld_link+:} false; then :
11028 $as_echo_n "(cached) " >&6 11350 $as_echo_n "(cached) " >&6
11029 else 11351 else
11030 ac_check_lib_save_LIBS=$LIBS 11352 ac_check_lib_save_LIBS=$LIBS
11031 LIBS="-ldld $LIBS" 11353 LIBS="-ldld $LIBS"
11032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 conftest$ac_exeext conftest.$ac_ext 11378 conftest$ac_exeext conftest.$ac_ext
11057 LIBS=$ac_check_lib_save_LIBS 11379 LIBS=$ac_check_lib_save_LIBS
11058 fi 11380 fi
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11060 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11382 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11061 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 11383 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11062 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11384 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11063 fi 11385 fi
11064 11386
11065 11387
11066 fi 11388 fi
11097 save_LIBS="$LIBS" 11419 save_LIBS="$LIBS"
11098 LIBS="$lt_cv_dlopen_libs $LIBS" 11420 LIBS="$lt_cv_dlopen_libs $LIBS"
11099 11421
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11101 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 11423 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11102 if test "${lt_cv_dlopen_self+set}" = set; then : 11424 if ${lt_cv_dlopen_self+:} false; then :
11103 $as_echo_n "(cached) " >&6 11425 $as_echo_n "(cached) " >&6
11104 else 11426 else
11105 if test "$cross_compiling" = yes; then : 11427 if test "$cross_compiling" = yes; then :
11106 lt_cv_dlopen_self=cross 11428 lt_cv_dlopen_self=cross
11107 else 11429 else
11108 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11430 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11109 lt_status=$lt_dlunknown 11431 lt_status=$lt_dlunknown
11110 cat > conftest.$ac_ext <<_LT_EOF 11432 cat > conftest.$ac_ext <<_LT_EOF
11111 #line 11111 "configure" 11433 #line 11433 "configure"
11112 #include "confdefs.h" 11434 #include "confdefs.h"
11113 11435
11114 #if HAVE_DLFCN_H 11436 #if HAVE_DLFCN_H
11115 #include <dlfcn.h> 11437 #include <dlfcn.h>
11116 #endif 11438 #endif
11203 11525
11204 if test "x$lt_cv_dlopen_self" = xyes; then 11526 if test "x$lt_cv_dlopen_self" = xyes; then
11205 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11527 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11207 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11529 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11208 if test "${lt_cv_dlopen_self_static+set}" = set; then : 11530 if ${lt_cv_dlopen_self_static+:} false; then :
11209 $as_echo_n "(cached) " >&6 11531 $as_echo_n "(cached) " >&6
11210 else 11532 else
11211 if test "$cross_compiling" = yes; then : 11533 if test "$cross_compiling" = yes; then :
11212 lt_cv_dlopen_self_static=cross 11534 lt_cv_dlopen_self_static=cross
11213 else 11535 else
11214 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11536 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11215 lt_status=$lt_dlunknown 11537 lt_status=$lt_dlunknown
11216 cat > conftest.$ac_ext <<_LT_EOF 11538 cat > conftest.$ac_ext <<_LT_EOF
11217 #line 11217 "configure" 11539 #line 11539 "configure"
11218 #include "confdefs.h" 11540 #include "confdefs.h"
11219 11541
11220 #if HAVE_DLFCN_H 11542 #if HAVE_DLFCN_H
11221 #include <dlfcn.h> 11543 #include <dlfcn.h>
11222 #endif 11544 #endif
11440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11443 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 11765 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11444 if test -z "$CXXCPP"; then 11766 if test -z "$CXXCPP"; then
11445 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 11767 if ${ac_cv_prog_CXXCPP+:} false; then :
11446 $as_echo_n "(cached) " >&6 11768 $as_echo_n "(cached) " >&6
11447 else 11769 else
11448 # Double quotes because CXXCPP needs to be expanded 11770 # Double quotes because CXXCPP needs to be expanded
11449 for CXXCPP in "$CXX -E" "/lib/cpp" 11771 for CXXCPP in "$CXX -E" "/lib/cpp"
11450 do 11772 do
11470 11792
11471 else 11793 else
11472 # Broken: fails on valid input. 11794 # Broken: fails on valid input.
11473 continue 11795 continue
11474 fi 11796 fi
11475 rm -f conftest.err conftest.$ac_ext 11797 rm -f conftest.err conftest.i conftest.$ac_ext
11476 11798
11477 # OK, works on sane cases. Now check whether nonexistent headers 11799 # OK, works on sane cases. Now check whether nonexistent headers
11478 # can be detected and how. 11800 # can be detected and how.
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */ 11802 /* end confdefs.h. */
11486 else 11808 else
11487 # Passes both tests. 11809 # Passes both tests.
11488 ac_preproc_ok=: 11810 ac_preproc_ok=:
11489 break 11811 break
11490 fi 11812 fi
11491 rm -f conftest.err conftest.$ac_ext 11813 rm -f conftest.err conftest.i conftest.$ac_ext
11492 11814
11493 done 11815 done
11494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 11816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11495 rm -f conftest.err conftest.$ac_ext 11817 rm -f conftest.i conftest.err conftest.$ac_ext
11496 if $ac_preproc_ok; then : 11818 if $ac_preproc_ok; then :
11497 break 11819 break
11498 fi 11820 fi
11499 11821
11500 done 11822 done
11529 11851
11530 else 11852 else
11531 # Broken: fails on valid input. 11853 # Broken: fails on valid input.
11532 continue 11854 continue
11533 fi 11855 fi
11534 rm -f conftest.err conftest.$ac_ext 11856 rm -f conftest.err conftest.i conftest.$ac_ext
11535 11857
11536 # OK, works on sane cases. Now check whether nonexistent headers 11858 # OK, works on sane cases. Now check whether nonexistent headers
11537 # can be detected and how. 11859 # can be detected and how.
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */ 11861 /* end confdefs.h. */
11545 else 11867 else
11546 # Passes both tests. 11868 # Passes both tests.
11547 ac_preproc_ok=: 11869 ac_preproc_ok=:
11548 break 11870 break
11549 fi 11871 fi
11550 rm -f conftest.err conftest.$ac_ext 11872 rm -f conftest.err conftest.i conftest.$ac_ext
11551 11873
11552 done 11874 done
11553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 11875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11554 rm -f conftest.err conftest.$ac_ext 11876 rm -f conftest.i conftest.err conftest.$ac_ext
11555 if $ac_preproc_ok; then : 11877 if $ac_preproc_ok; then :
11556 11878
11557 else 11879 else
11558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11560 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check 11882 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11561 See \`config.log' for more details." "$LINENO" 5; } 11883 See \`config.log' for more details" "$LINENO" 5; }
11562 fi 11884 fi
11563 11885
11564 ac_ext=c 11886 ac_ext=c
11565 ac_cpp='$CPP $CPPFLAGS' 11887 ac_cpp='$CPP $CPPFLAGS'
11566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11741 $as_echo_n "checking for GNU ld... " >&6; } 12063 $as_echo_n "checking for GNU ld... " >&6; }
11742 else 12064 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11744 $as_echo_n "checking for non-GNU ld... " >&6; } 12066 $as_echo_n "checking for non-GNU ld... " >&6; }
11745 fi 12067 fi
11746 if test "${lt_cv_path_LD+set}" = set; then : 12068 if ${lt_cv_path_LD+:} false; then :
11747 $as_echo_n "(cached) " >&6 12069 $as_echo_n "(cached) " >&6
11748 else 12070 else
11749 if test -z "$LD"; then 12071 if test -z "$LD"; then
11750 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 12072 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11751 for ac_dir in $PATH; do 12073 for ac_dir in $PATH; do
11778 $as_echo "$LD" >&6; } 12100 $as_echo "$LD" >&6; }
11779 else 12101 else
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11781 $as_echo "no" >&6; } 12103 $as_echo "no" >&6; }
11782 fi 12104 fi
11783 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 12105 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11785 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12107 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11786 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 12108 if ${lt_cv_prog_gnu_ld+:} false; then :
11787 $as_echo_n "(cached) " >&6 12109 $as_echo_n "(cached) " >&6
11788 else 12110 else
11789 # I'd rather use --version here, but apparently some GNU lds only accept -v. 12111 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11790 case `$LD -v 2>&1 </dev/null` in 12112 case `$LD -v 2>&1 </dev/null` in
11791 *GNU* | *'with BFD'*) 12113 *GNU* | *'with BFD'*)
12377 case `$CC -V` in 12699 case `$CC -V` in
12378 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 12700 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12379 prelink_cmds_CXX='tpldir=Template.dir~ 12701 prelink_cmds_CXX='tpldir=Template.dir~
12380 rm -rf $tpldir~ 12702 rm -rf $tpldir~
12381 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 12703 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12382 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 12704 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12383 old_archive_cmds_CXX='tpldir=Template.dir~ 12705 old_archive_cmds_CXX='tpldir=Template.dir~
12384 rm -rf $tpldir~ 12706 rm -rf $tpldir~
12385 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 12707 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12386 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 12708 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12387 $RANLIB $oldlib' 12709 $RANLIB $oldlib'
12388 archive_cmds_CXX='tpldir=Template.dir~ 12710 archive_cmds_CXX='tpldir=Template.dir~
12389 rm -rf $tpldir~ 12711 rm -rf $tpldir~
12390 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 12712 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12391 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 12713 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12392 archive_expsym_cmds_CXX='tpldir=Template.dir~ 12714 archive_expsym_cmds_CXX='tpldir=Template.dir~
12393 rm -rf $tpldir~ 12715 rm -rf $tpldir~
12394 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 12716 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12395 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 12717 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12396 ;; 12718 ;;
12397 *) # Version 6 and above use weak symbols 12719 *) # Version 6 and above use weak symbols
12398 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 12720 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12399 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 12721 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12400 ;; 12722 ;;
13328 # Check to make sure the PIC flag actually works. 13650 # Check to make sure the PIC flag actually works.
13329 # 13651 #
13330 if test -n "$lt_prog_compiler_pic_CXX"; then 13652 if test -n "$lt_prog_compiler_pic_CXX"; then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13332 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 13654 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13333 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : 13655 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13334 $as_echo_n "(cached) " >&6 13656 $as_echo_n "(cached) " >&6
13335 else 13657 else
13336 lt_cv_prog_compiler_pic_works_CXX=no 13658 lt_cv_prog_compiler_pic_works_CXX=no
13337 ac_outfile=conftest.$ac_objext 13659 ac_outfile=conftest.$ac_objext
13338 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13660 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13384 # Check to make sure the static flag actually works. 13706 # Check to make sure the static flag actually works.
13385 # 13707 #
13386 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 13708 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13388 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 13710 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13389 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : 13711 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13390 $as_echo_n "(cached) " >&6 13712 $as_echo_n "(cached) " >&6
13391 else 13713 else
13392 lt_cv_prog_compiler_static_works_CXX=no 13714 lt_cv_prog_compiler_static_works_CXX=no
13393 save_LDFLAGS="$LDFLAGS" 13715 save_LDFLAGS="$LDFLAGS"
13394 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 13716 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13424 13746
13425 13747
13426 13748
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13428 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 13750 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13429 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 13751 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13430 $as_echo_n "(cached) " >&6 13752 $as_echo_n "(cached) " >&6
13431 else 13753 else
13432 lt_cv_prog_compiler_c_o_CXX=no 13754 lt_cv_prog_compiler_c_o_CXX=no
13433 $RM -r conftest 2>/dev/null 13755 $RM -r conftest 2>/dev/null
13434 mkdir conftest 13756 mkdir conftest
13476 13798
13477 13799
13478 13800
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13480 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 13802 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13481 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 13803 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13482 $as_echo_n "(cached) " >&6 13804 $as_echo_n "(cached) " >&6
13483 else 13805 else
13484 lt_cv_prog_compiler_c_o_CXX=no 13806 lt_cv_prog_compiler_c_o_CXX=no
13485 $RM -r conftest 2>/dev/null 13807 $RM -r conftest 2>/dev/null
13486 mkdir conftest 13808 mkdir conftest
13609 # Test whether the compiler implicitly links with -lc since on some 13931 # Test whether the compiler implicitly links with -lc since on some
13610 # systems, -lgcc has to come before -lc. If gcc already passes -lc 13932 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13611 # to ld, don't add -lc before -lgcc. 13933 # to ld, don't add -lc before -lgcc.
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13613 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 13935 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13614 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then : 13936 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
13615 $as_echo_n "(cached) " >&6 13937 $as_echo_n "(cached) " >&6
13616 else 13938 else
13617 $RM conftest* 13939 $RM conftest*
13618 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13940 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13619 13941
14077 linux*oldld* | linux*aout* | linux*coff*) 14399 linux*oldld* | linux*aout* | linux*coff*)
14078 dynamic_linker=no 14400 dynamic_linker=no
14079 ;; 14401 ;;
14080 14402
14081 # This must be Linux ELF. 14403 # This must be Linux ELF.
14082 linux* | k*bsd*-gnu | kopensolaris*-gnu) 14404
14405 # uclinux* changes (here and below) have been submitted to the libtool
14406 # project, but have not yet been accepted: they are GCC-local changes
14407 # for the time being. (See
14408 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
14409 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14083 version_type=linux 14410 version_type=linux
14084 need_lib_prefix=no 14411 need_lib_prefix=no
14085 need_version=no 14412 need_version=no
14086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14087 soname_spec='${libname}${release}${shared_ext}$major' 14414 soname_spec='${libname}${release}${shared_ext}$major'
14088 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 14415 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14089 shlibpath_var=LD_LIBRARY_PATH 14416 shlibpath_var=LD_LIBRARY_PATH
14090 shlibpath_overrides_runpath=no 14417 shlibpath_overrides_runpath=no
14091 14418
14092 # Some binutils ld are patched to set DT_RUNPATH 14419 # Some binutils ld are patched to set DT_RUNPATH
14093 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : 14420 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14094 $as_echo_n "(cached) " >&6 14421 $as_echo_n "(cached) " >&6
14095 else 14422 else
14096 lt_cv_shlibpath_overrides_runpath=no 14423 lt_cv_shlibpath_overrides_runpath=no
14097 save_LDFLAGS=$LDFLAGS 14424 save_LDFLAGS=$LDFLAGS
14098 save_libdir=$libdir 14425 save_libdir=$libdir
14563 t end 14890 t end
14564 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14891 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14565 :end' >>confcache 14892 :end' >>confcache
14566 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14893 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14567 if test -w "$cache_file"; then 14894 if test -w "$cache_file"; then
14568 test "x$cache_file" != "x/dev/null" && 14895 if test "x$cache_file" != "x/dev/null"; then
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 14896 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14570 $as_echo "$as_me: updating cache $cache_file" >&6;} 14897 $as_echo "$as_me: updating cache $cache_file" >&6;}
14571 cat confcache >$cache_file 14898 if test ! -f "$cache_file" || test -h "$cache_file"; then
14899 cat confcache >"$cache_file"
14900 else
14901 case $cache_file in #(
14902 */* | ?:*)
14903 mv -f confcache "$cache_file"$$ &&
14904 mv -f "$cache_file"$$ "$cache_file" ;; #(
14905 *)
14906 mv -f confcache "$cache_file" ;;
14907 esac
14908 fi
14909 fi
14572 else 14910 else
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 14911 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14574 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14912 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14575 fi 14913 fi
14576 fi 14914 fi
14618 DEFS=`sed -n "$ac_script" confdefs.h` 14956 DEFS=`sed -n "$ac_script" confdefs.h`
14619 14957
14620 14958
14621 ac_libobjs= 14959 ac_libobjs=
14622 ac_ltlibobjs= 14960 ac_ltlibobjs=
14961 U=
14623 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14962 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14624 # 1. Remove the extension, and $U if already installed. 14963 # 1. Remove the extension, and $U if already installed.
14625 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14964 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14626 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14965 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14627 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14966 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14632 LIBOBJS=$ac_libobjs 14971 LIBOBJS=$ac_libobjs
14633 14972
14634 LTLIBOBJS=$ac_ltlibobjs 14973 LTLIBOBJS=$ac_ltlibobjs
14635 14974
14636 14975
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14977 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14978 if test -n "$am_sleep_pid"; then
14979 # Hide warnings about reused PIDs.
14980 wait $am_sleep_pid 2>/dev/null
14981 fi
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14983 $as_echo "done" >&6; }
14637 if test -n "$EXEEXT"; then 14984 if test -n "$EXEEXT"; then
14638 am__EXEEXT_TRUE= 14985 am__EXEEXT_TRUE=
14639 am__EXEEXT_FALSE='#' 14986 am__EXEEXT_FALSE='#'
14640 else 14987 else
14641 am__EXEEXT_TRUE='#' 14988 am__EXEEXT_TRUE='#'
14642 am__EXEEXT_FALSE= 14989 am__EXEEXT_FALSE=
14643 fi 14990 fi
14644 14991
14645 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 14992 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14646 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. 14993 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14647 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14648 fi 14995 fi
14649 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14996 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14650 as_fn_error "conditional \"AMDEP\" was never defined. 14997 as_fn_error $? "conditional \"AMDEP\" was never defined.
14651 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14652 fi 14999 fi
14653 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15000 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14654 as_fn_error "conditional \"am__fastdepCC\" was never defined. 15001 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14655 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14656 fi 15003 fi
14657 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 15004 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14658 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 15005 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
14659 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14660 fi 15007 fi
14661 if test -z "${LIBOFFLOADMIC_HOST_TRUE}" && test -z "${LIBOFFLOADMIC_HOST_FALSE}"; then 15008 if test -z "${LIBOFFLOADMIC_HOST_TRUE}" && test -z "${LIBOFFLOADMIC_HOST_FALSE}"; then
14662 as_fn_error "conditional \"LIBOFFLOADMIC_HOST\" was never defined. 15009 as_fn_error $? "conditional \"LIBOFFLOADMIC_HOST\" was never defined.
14663 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14664 fi 15011 fi
14665 15012
14666 : ${CONFIG_STATUS=./config.status} 15013 : "${CONFIG_STATUS=./config.status}"
14667 ac_write_fail=0 15014 ac_write_fail=0
14668 ac_clean_files_save=$ac_clean_files 15015 ac_clean_files_save=$ac_clean_files
14669 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15016 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15017 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14671 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15018 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14762 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 15109 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14763 # splitting by setting IFS to empty value.) 15110 # splitting by setting IFS to empty value.)
14764 IFS=" "" $as_nl" 15111 IFS=" "" $as_nl"
14765 15112
14766 # Find who we are. Look in the path if we contain no directory separator. 15113 # Find who we are. Look in the path if we contain no directory separator.
15114 as_myself=
14767 case $0 in #(( 15115 case $0 in #((
14768 *[\\/]* ) as_myself=$0 ;; 15116 *[\\/]* ) as_myself=$0 ;;
14769 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15117 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14770 for as_dir in $PATH 15118 for as_dir in $PATH
14771 do 15119 do
14807 15155
14808 # CDPATH. 15156 # CDPATH.
14809 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15157 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14810 15158
14811 15159
14812 # as_fn_error ERROR [LINENO LOG_FD] 15160 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14813 # --------------------------------- 15161 # ----------------------------------------
14814 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15162 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14815 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15163 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14816 # script with status $?, using 1 if that was 0. 15164 # script with STATUS, using 1 if that was 0.
14817 as_fn_error () 15165 as_fn_error ()
14818 { 15166 {
14819 as_status=$?; test $as_status -eq 0 && as_status=1 15167 as_status=$1; test $as_status -eq 0 && as_status=1
14820 if test "$3"; then 15168 if test "$4"; then
14821 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15169 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14822 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 15170 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14823 fi 15171 fi
14824 $as_echo "$as_me: error: $1" >&2 15172 $as_echo "$as_me: error: $2" >&2
14825 as_fn_exit $as_status 15173 as_fn_exit $as_status
14826 } # as_fn_error 15174 } # as_fn_error
14827 15175
14828 15176
14829 # as_fn_set_status STATUS 15177 # as_fn_set_status STATUS
14957 if ln -s conf$$.file conf$$ 2>/dev/null; then 15305 if ln -s conf$$.file conf$$ 2>/dev/null; then
14958 as_ln_s='ln -s' 15306 as_ln_s='ln -s'
14959 # ... but there are two gotchas: 15307 # ... but there are two gotchas:
14960 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15308 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14961 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15309 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14962 # In both cases, we have to default to `cp -p'. 15310 # In both cases, we have to default to `cp -pR'.
14963 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15311 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14964 as_ln_s='cp -p' 15312 as_ln_s='cp -pR'
14965 elif ln conf$$.file conf$$ 2>/dev/null; then 15313 elif ln conf$$.file conf$$ 2>/dev/null; then
14966 as_ln_s=ln 15314 as_ln_s=ln
14967 else 15315 else
14968 as_ln_s='cp -p' 15316 as_ln_s='cp -pR'
14969 fi 15317 fi
14970 else 15318 else
14971 as_ln_s='cp -p' 15319 as_ln_s='cp -pR'
14972 fi 15320 fi
14973 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15321 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14974 rmdir conf$$.dir 2>/dev/null 15322 rmdir conf$$.dir 2>/dev/null
14975 15323
14976 15324
15015 } 15363 }
15016 s/.*/./; q'` 15364 s/.*/./; q'`
15017 test -d "$as_dir" && break 15365 test -d "$as_dir" && break
15018 done 15366 done
15019 test -z "$as_dirs" || eval "mkdir $as_dirs" 15367 test -z "$as_dirs" || eval "mkdir $as_dirs"
15020 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 15368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15021 15369
15022 15370
15023 } # as_fn_mkdir_p 15371 } # as_fn_mkdir_p
15024 if mkdir -p . 2>/dev/null; then 15372 if mkdir -p . 2>/dev/null; then
15025 as_mkdir_p='mkdir -p "$as_dir"' 15373 as_mkdir_p='mkdir -p "$as_dir"'
15026 else 15374 else
15027 test -d ./-p && rmdir ./-p 15375 test -d ./-p && rmdir ./-p
15028 as_mkdir_p=false 15376 as_mkdir_p=false
15029 fi 15377 fi
15030 15378
15031 if test -x / >/dev/null 2>&1; then 15379
15032 as_test_x='test -x' 15380 # as_fn_executable_p FILE
15033 else 15381 # -----------------------
15034 if ls -dL / >/dev/null 2>&1; then 15382 # Test if FILE is an executable regular file.
15035 as_ls_L_option=L 15383 as_fn_executable_p ()
15036 else 15384 {
15037 as_ls_L_option= 15385 test -f "$1" && test -x "$1"
15038 fi 15386 } # as_fn_executable_p
15039 as_test_x=' 15387 as_test_x='test -x'
15040 eval sh -c '\'' 15388 as_executable_p=as_fn_executable_p
15041 if test -d "$1"; then
15042 test -d "$1/.";
15043 else
15044 case $1 in #(
15045 -*)set "./$1";;
15046 esac;
15047 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15048 ???[sx]*):;;*)false;;esac;fi
15049 '\'' sh
15050 '
15051 fi
15052 as_executable_p=$as_test_x
15053 15389
15054 # Sed expression to map a string onto a valid CPP name. 15390 # Sed expression to map a string onto a valid CPP name.
15055 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15391 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15056 15392
15057 # Sed expression to map a string onto a valid variable name. 15393 # Sed expression to map a string onto a valid variable name.
15069 # Save the log message, to keep $0 and so on meaningful, and to 15405 # Save the log message, to keep $0 and so on meaningful, and to
15070 # report actual input values of CONFIG_FILES etc. instead of their 15406 # report actual input values of CONFIG_FILES etc. instead of their
15071 # values after options handling. 15407 # values after options handling.
15072 ac_log=" 15408 ac_log="
15073 This file was extended by MIC Offload Runtime Library $as_me 1.0, which was 15409 This file was extended by MIC Offload Runtime Library $as_me 1.0, which was
15074 generated by GNU Autoconf 2.64. Invocation command line was 15410 generated by GNU Autoconf 2.69. Invocation command line was
15075 15411
15076 CONFIG_FILES = $CONFIG_FILES 15412 CONFIG_FILES = $CONFIG_FILES
15077 CONFIG_HEADERS = $CONFIG_HEADERS 15413 CONFIG_HEADERS = $CONFIG_HEADERS
15078 CONFIG_LINKS = $CONFIG_LINKS 15414 CONFIG_LINKS = $CONFIG_LINKS
15079 CONFIG_COMMANDS = $CONFIG_COMMANDS 15415 CONFIG_COMMANDS = $CONFIG_COMMANDS
15105 15441
15106 Usage: $0 [OPTION]... [TAG]... 15442 Usage: $0 [OPTION]... [TAG]...
15107 15443
15108 -h, --help print this help, then exit 15444 -h, --help print this help, then exit
15109 -V, --version print version number and configuration settings, then exit 15445 -V, --version print version number and configuration settings, then exit
15446 --config print configuration, then exit
15110 -q, --quiet, --silent 15447 -q, --quiet, --silent
15111 do not print progress messages 15448 do not print progress messages
15112 -d, --debug don't remove temporary files 15449 -d, --debug don't remove temporary files
15113 --recheck update $as_me by reconfiguring in the same conditions 15450 --recheck update $as_me by reconfiguring in the same conditions
15114 --file=FILE[:TEMPLATE] 15451 --file=FILE[:TEMPLATE]
15122 15459
15123 Report bugs to the package provider." 15460 Report bugs to the package provider."
15124 15461
15125 _ACEOF 15462 _ACEOF
15126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15464 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15127 ac_cs_version="\\ 15465 ac_cs_version="\\
15128 MIC Offload Runtime Library config.status 1.0 15466 MIC Offload Runtime Library config.status 1.0
15129 configured by $0, generated by GNU Autoconf 2.64, 15467 configured by $0, generated by GNU Autoconf 2.69,
15130 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 15468 with options \\"\$ac_cs_config\\"
15131 15469
15132 Copyright (C) 2009 Free Software Foundation, Inc. 15470 Copyright (C) 2012 Free Software Foundation, Inc.
15133 This config.status script is free software; the Free Software Foundation 15471 This config.status script is free software; the Free Software Foundation
15134 gives unlimited permission to copy, distribute and modify it." 15472 gives unlimited permission to copy, distribute and modify it."
15135 15473
15136 ac_pwd='$ac_pwd' 15474 ac_pwd='$ac_pwd'
15137 srcdir='$srcdir' 15475 srcdir='$srcdir'
15145 # The default lists apply if the user does not specify any file. 15483 # The default lists apply if the user does not specify any file.
15146 ac_need_defaults=: 15484 ac_need_defaults=:
15147 while test $# != 0 15485 while test $# != 0
15148 do 15486 do
15149 case $1 in 15487 case $1 in
15150 --*=*) 15488 --*=?*)
15151 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15489 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15152 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15490 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15491 ac_shift=:
15492 ;;
15493 --*=)
15494 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15495 ac_optarg=
15153 ac_shift=: 15496 ac_shift=:
15154 ;; 15497 ;;
15155 *) 15498 *)
15156 ac_option=$1 15499 ac_option=$1
15157 ac_optarg=$2 15500 ac_optarg=$2
15163 # Handling of the options. 15506 # Handling of the options.
15164 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15507 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15165 ac_cs_recheck=: ;; 15508 ac_cs_recheck=: ;;
15166 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15509 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15167 $as_echo "$ac_cs_version"; exit ;; 15510 $as_echo "$ac_cs_version"; exit ;;
15511 --config | --confi | --conf | --con | --co | --c )
15512 $as_echo "$ac_cs_config"; exit ;;
15168 --debug | --debu | --deb | --de | --d | -d ) 15513 --debug | --debu | --deb | --de | --d | -d )
15169 debug=: ;; 15514 debug=: ;;
15170 --file | --fil | --fi | --f ) 15515 --file | --fil | --fi | --f )
15171 $ac_shift 15516 $ac_shift
15172 case $ac_optarg in 15517 case $ac_optarg in
15173 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15518 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15519 '') as_fn_error $? "missing file argument" ;;
15174 esac 15520 esac
15175 as_fn_append CONFIG_FILES " '$ac_optarg'" 15521 as_fn_append CONFIG_FILES " '$ac_optarg'"
15176 ac_need_defaults=false;; 15522 ac_need_defaults=false;;
15177 --he | --h | --help | --hel | -h ) 15523 --he | --h | --help | --hel | -h )
15178 $as_echo "$ac_cs_usage"; exit ;; 15524 $as_echo "$ac_cs_usage"; exit ;;
15179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15525 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15180 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15526 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15181 ac_cs_silent=: ;; 15527 ac_cs_silent=: ;;
15182 15528
15183 # This is an error. 15529 # This is an error.
15184 -*) as_fn_error "unrecognized option: \`$1' 15530 -*) as_fn_error $? "unrecognized option: \`$1'
15185 Try \`$0 --help' for more information." ;; 15531 Try \`$0 --help' for more information." ;;
15186 15532
15187 *) as_fn_append ac_config_targets " $1" 15533 *) as_fn_append ac_config_targets " $1"
15188 ac_need_defaults=false ;; 15534 ac_need_defaults=false ;;
15189 15535
15199 fi 15545 fi
15200 15546
15201 _ACEOF 15547 _ACEOF
15202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15203 if \$ac_cs_recheck; then 15549 if \$ac_cs_recheck; then
15204 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15550 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15205 shift 15551 shift
15206 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15552 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15207 CONFIG_SHELL='$SHELL' 15553 CONFIG_SHELL='$SHELL'
15208 export CONFIG_SHELL 15554 export CONFIG_SHELL
15209 exec "\$@" 15555 exec "\$@"
15237 multi_basedir="$multi_basedir" 15583 multi_basedir="$multi_basedir"
15238 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 15584 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15239 CC="$CC" 15585 CC="$CC"
15240 CXX="$CXX" 15586 CXX="$CXX"
15241 GFORTRAN="$GFORTRAN" 15587 GFORTRAN="$GFORTRAN"
15588 GDC="$GDC"
15242 15589
15243 15590
15244 # The HP-UX ksh and POSIX shell print the target directory to stdout 15591 # The HP-UX ksh and POSIX shell print the target directory to stdout
15245 # if CDPATH is set. 15592 # if CDPATH is set.
15246 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15613 "liboffloadmic_host.spec") CONFIG_FILES="$CONFIG_FILES liboffloadmic_host.spec" ;; 15960 "liboffloadmic_host.spec") CONFIG_FILES="$CONFIG_FILES liboffloadmic_host.spec" ;;
15614 "liboffloadmic_target.spec") CONFIG_FILES="$CONFIG_FILES liboffloadmic_target.spec" ;; 15961 "liboffloadmic_target.spec") CONFIG_FILES="$CONFIG_FILES liboffloadmic_target.spec" ;;
15615 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 15962 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15616 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15963 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15617 15964
15618 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15965 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15619 esac 15966 esac
15620 done 15967 done
15621 15968
15622 15969
15623 # If the user did not use the arguments to specify the items to instantiate, 15970 # If the user did not use the arguments to specify the items to instantiate,
15635 # Hook for its removal unless debugging. 15982 # Hook for its removal unless debugging.
15636 # Note that there is a small window in which the directory will not be cleaned: 15983 # Note that there is a small window in which the directory will not be cleaned:
15637 # after its creation but before its name has been assigned to `$tmp'. 15984 # after its creation but before its name has been assigned to `$tmp'.
15638 $debug || 15985 $debug ||
15639 { 15986 {
15640 tmp= 15987 tmp= ac_tmp=
15641 trap 'exit_status=$? 15988 trap 'exit_status=$?
15642 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15989 : "${ac_tmp:=$tmp}"
15990 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15643 ' 0 15991 ' 0
15644 trap 'as_fn_exit 1' 1 2 13 15 15992 trap 'as_fn_exit 1' 1 2 13 15
15645 } 15993 }
15646 # Create a (secure) tmp directory for tmp files. 15994 # Create a (secure) tmp directory for tmp files.
15647 15995
15648 { 15996 {
15649 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15997 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15650 test -n "$tmp" && test -d "$tmp" 15998 test -d "$tmp"
15651 } || 15999 } ||
15652 { 16000 {
15653 tmp=./conf$$-$RANDOM 16001 tmp=./conf$$-$RANDOM
15654 (umask 077 && mkdir "$tmp") 16002 (umask 077 && mkdir "$tmp")
15655 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 16003 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16004 ac_tmp=$tmp
15656 16005
15657 # Set up the scripts for CONFIG_FILES section. 16006 # Set up the scripts for CONFIG_FILES section.
15658 # No need to generate them if there are no CONFIG_FILES. 16007 # No need to generate them if there are no CONFIG_FILES.
15659 # This happens for instance with `./config.status config.h'. 16008 # This happens for instance with `./config.status config.h'.
15660 if test -n "$CONFIG_FILES"; then 16009 if test -n "$CONFIG_FILES"; then
15667 if test "x$ac_cr" = x; then 16016 if test "x$ac_cr" = x; then
15668 eval ac_cr=\$\'\\r\' 16017 eval ac_cr=\$\'\\r\'
15669 fi 16018 fi
15670 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16019 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15671 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16020 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15672 ac_cs_awk_cr='\r' 16021 ac_cs_awk_cr='\\r'
15673 else 16022 else
15674 ac_cs_awk_cr=$ac_cr 16023 ac_cs_awk_cr=$ac_cr
15675 fi 16024 fi
15676 16025
15677 echo 'BEGIN {' >"$tmp/subs1.awk" && 16026 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15678 _ACEOF 16027 _ACEOF
15679 16028
15680 16029
15681 { 16030 {
15682 echo "cat >conf$$subs.awk <<_ACEOF" && 16031 echo "cat >conf$$subs.awk <<_ACEOF" &&
15683 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 16032 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15684 echo "_ACEOF" 16033 echo "_ACEOF"
15685 } >conf$$subs.sh || 16034 } >conf$$subs.sh ||
15686 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 16035 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15687 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 16036 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15688 ac_delim='%!_!# ' 16037 ac_delim='%!_!# '
15689 for ac_last_try in false false false false false :; do 16038 for ac_last_try in false false false false false :; do
15690 . ./conf$$subs.sh || 16039 . ./conf$$subs.sh ||
15691 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 16040 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15692 16041
15693 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16042 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15694 if test $ac_delim_n = $ac_delim_num; then 16043 if test $ac_delim_n = $ac_delim_num; then
15695 break 16044 break
15696 elif $ac_last_try; then 16045 elif $ac_last_try; then
15697 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 16046 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15698 else 16047 else
15699 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16048 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15700 fi 16049 fi
15701 done 16050 done
15702 rm -f conf$$subs.sh 16051 rm -f conf$$subs.sh
15703 16052
15704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15705 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 16054 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15706 _ACEOF 16055 _ACEOF
15707 sed -n ' 16056 sed -n '
15708 h 16057 h
15709 s/^/S["/; s/!.*/"]=/ 16058 s/^/S["/; s/!.*/"]=/
15710 p 16059 p
15714 t repl 16063 t repl
15715 s/'"$ac_delim"'$// 16064 s/'"$ac_delim"'$//
15716 t delim 16065 t delim
15717 :nl 16066 :nl
15718 h 16067 h
15719 s/\(.\{148\}\).*/\1/ 16068 s/\(.\{148\}\)..*/\1/
15720 t more1 16069 t more1
15721 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16070 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15722 p 16071 p
15723 n 16072 n
15724 b repl 16073 b repl
15728 g 16077 g
15729 s/.\{148\}// 16078 s/.\{148\}//
15730 t nl 16079 t nl
15731 :delim 16080 :delim
15732 h 16081 h
15733 s/\(.\{148\}\).*/\1/ 16082 s/\(.\{148\}\)..*/\1/
15734 t more2 16083 t more2
15735 s/["\\]/\\&/g; s/^/"/; s/$/"/ 16084 s/["\\]/\\&/g; s/^/"/; s/$/"/
15736 p 16085 p
15737 b 16086 b
15738 :more2 16087 :more2
15748 } 16097 }
15749 ' >>$CONFIG_STATUS || ac_write_fail=1 16098 ' >>$CONFIG_STATUS || ac_write_fail=1
15750 rm -f conf$$subs.awk 16099 rm -f conf$$subs.awk
15751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15752 _ACAWK 16101 _ACAWK
15753 cat >>"\$tmp/subs1.awk" <<_ACAWK && 16102 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15754 for (key in S) S_is_set[key] = 1 16103 for (key in S) S_is_set[key] = 1
15755 FS = "" 16104 FS = ""
15756 16105
15757 } 16106 }
15758 { 16107 {
15780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15781 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16130 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15782 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16131 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15783 else 16132 else
15784 cat 16133 cat
15785 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 16134 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15786 || as_fn_error "could not setup config files machinery" "$LINENO" 5 16135 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15787 _ACEOF 16136 _ACEOF
15788 16137
15789 # VPATH may cause trouble with some makes, so we remove $(srcdir), 16138 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15790 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 16139 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15791 # trailing colons and then remove the whole line if VPATH becomes empty 16140 # trailing colons and then remove the whole line if VPATH becomes empty
15792 # (actually we leave an empty line to preserve line numbers). 16141 # (actually we leave an empty line to preserve line numbers).
15793 if test "x$srcdir" = x.; then 16142 if test "x$srcdir" = x.; then
15794 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 16143 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15795 s/:*\$(srcdir):*/:/ 16144 h
15796 s/:*\${srcdir}:*/:/ 16145 s///
15797 s/:*@srcdir@:*/:/ 16146 s/^/:/
15798 s/^\([^=]*=[ ]*\):*/\1/ 16147 s/[ ]*$/:/
16148 s/:\$(srcdir):/:/g
16149 s/:\${srcdir}:/:/g
16150 s/:@srcdir@:/:/g
16151 s/^:*//
15799 s/:*$// 16152 s/:*$//
16153 x
16154 s/\(=[ ]*\).*/\1/
16155 G
16156 s/\n//
15800 s/^[^=]*=[ ]*$// 16157 s/^[^=]*=[ ]*$//
15801 }' 16158 }'
15802 fi 16159 fi
15803 16160
15804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15812 case $ac_tag in 16169 case $ac_tag in
15813 :[FHLC]) ac_mode=$ac_tag; continue;; 16170 :[FHLC]) ac_mode=$ac_tag; continue;;
15814 esac 16171 esac
15815 case $ac_mode$ac_tag in 16172 case $ac_mode$ac_tag in
15816 :[FHL]*:*);; 16173 :[FHL]*:*);;
15817 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 16174 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15818 :[FH]-) ac_tag=-:-;; 16175 :[FH]-) ac_tag=-:-;;
15819 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16176 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15820 esac 16177 esac
15821 ac_save_IFS=$IFS 16178 ac_save_IFS=$IFS
15822 IFS=: 16179 IFS=:
15831 :[FH]) 16188 :[FH])
15832 ac_file_inputs= 16189 ac_file_inputs=
15833 for ac_f 16190 for ac_f
15834 do 16191 do
15835 case $ac_f in 16192 case $ac_f in
15836 -) ac_f="$tmp/stdin";; 16193 -) ac_f="$ac_tmp/stdin";;
15837 *) # Look for the file first in the build tree, then in the source tree 16194 *) # Look for the file first in the build tree, then in the source tree
15838 # (if the path is not absolute). The absolute path cannot be DOS-style, 16195 # (if the path is not absolute). The absolute path cannot be DOS-style,
15839 # because $ac_f cannot contain `:'. 16196 # because $ac_f cannot contain `:'.
15840 test -f "$ac_f" || 16197 test -f "$ac_f" ||
15841 case $ac_f in 16198 case $ac_f in
15842 [\\/$]*) false;; 16199 [\\/$]*) false;;
15843 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16200 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15844 esac || 16201 esac ||
15845 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16202 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15846 esac 16203 esac
15847 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16204 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15848 as_fn_append ac_file_inputs " '$ac_f'" 16205 as_fn_append ac_file_inputs " '$ac_f'"
15849 done 16206 done
15850 16207
15866 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16223 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15867 *) ac_sed_conf_input=$configure_input;; 16224 *) ac_sed_conf_input=$configure_input;;
15868 esac 16225 esac
15869 16226
15870 case $ac_tag in 16227 case $ac_tag in
15871 *:-:* | *:-) cat >"$tmp/stdin" \ 16228 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15872 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 16229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15873 esac 16230 esac
15874 ;; 16231 ;;
15875 esac 16232 esac
15876 16233
15877 ac_dir=`$as_dirname -- "$ac_file" || 16234 ac_dir=`$as_dirname -- "$ac_file" ||
16003 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16360 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16004 s&@INSTALL@&$ac_INSTALL&;t t 16361 s&@INSTALL@&$ac_INSTALL&;t t
16005 s&@MKDIR_P@&$ac_MKDIR_P&;t t 16362 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16006 $ac_datarootdir_hack 16363 $ac_datarootdir_hack
16007 " 16364 "
16008 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 16365 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16009 || as_fn_error "could not create $ac_file" "$LINENO" 5 16366 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16010 16367
16011 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16368 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16012 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16369 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16013 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16370 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16371 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16015 which seems to be undefined. Please make sure it is defined." >&5 16373 which seems to be undefined. Please make sure it is defined" >&5
16016 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16374 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16017 which seems to be undefined. Please make sure it is defined." >&2;} 16375 which seems to be undefined. Please make sure it is defined" >&2;}
16018 16376
16019 rm -f "$tmp/stdin" 16377 rm -f "$ac_tmp/stdin"
16020 case $ac_file in 16378 case $ac_file in
16021 -) cat "$tmp/out" && rm -f "$tmp/out";; 16379 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16022 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16380 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16023 esac \ 16381 esac \
16024 || as_fn_error "could not create $ac_file" "$LINENO" 5 16382 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16025 ;; 16383 ;;
16026 16384
16027 16385
16028 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16386 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16029 $as_echo "$as_me: executing $ac_file commands" >&6;} 16387 $as_echo "$as_me: executing $ac_file commands" >&6;}
16031 esac 16389 esac
16032 16390
16033 16391
16034 case $ac_file$ac_mode in 16392 case $ac_file$ac_mode in
16035 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 16393 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16036 # Autoconf 2.62 quotes --file arguments for eval, but not when files 16394 # Older Autoconf quotes --file arguments for eval, but not when files
16037 # are listed without --file. Let's play safe and only enable the eval 16395 # are listed without --file. Let's play safe and only enable the eval
16038 # if we detect the quoting. 16396 # if we detect the quoting.
16039 case $CONFIG_FILES in 16397 case $CONFIG_FILES in
16040 *\'*) eval set x "$CONFIG_FILES" ;; 16398 *\'*) eval set x "$CONFIG_FILES" ;;
16041 *) set x $CONFIG_FILES ;; 16399 *) set x $CONFIG_FILES ;;
16044 for mf 16402 for mf
16045 do 16403 do
16046 # Strip MF so we end up with the name of the file. 16404 # Strip MF so we end up with the name of the file.
16047 mf=`echo "$mf" | sed -e 's/:.*$//'` 16405 mf=`echo "$mf" | sed -e 's/:.*$//'`
16048 # Check whether this is an Automake generated Makefile or not. 16406 # Check whether this is an Automake generated Makefile or not.
16049 # We used to match only the files named `Makefile.in', but 16407 # We used to match only the files named 'Makefile.in', but
16050 # some people rename them; so instead we look at the file content. 16408 # some people rename them; so instead we look at the file content.
16051 # Grep'ing the first line is not enough: some people post-process 16409 # Grep'ing the first line is not enough: some people post-process
16052 # each Makefile.in and add a new line on top of each file to say so. 16410 # each Makefile.in and add a new line on top of each file to say so.
16053 # Grep'ing the whole file is not good either: AIX grep has a line 16411 # Grep'ing the whole file is not good either: AIX grep has a line
16054 # limit of 2048, but all sed's we know have understand at least 4000. 16412 # limit of 2048, but all sed's we know have understand at least 4000.
16078 s/.*/./; q'` 16436 s/.*/./; q'`
16079 else 16437 else
16080 continue 16438 continue
16081 fi 16439 fi
16082 # Extract the definition of DEPDIR, am__include, and am__quote 16440 # Extract the definition of DEPDIR, am__include, and am__quote
16083 # from the Makefile without running `make'. 16441 # from the Makefile without running 'make'.
16084 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 16442 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16085 test -z "$DEPDIR" && continue 16443 test -z "$DEPDIR" && continue
16086 am__include=`sed -n 's/^am__include = //p' < "$mf"` 16444 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16087 test -z "am__include" && continue 16445 test -z "$am__include" && continue
16088 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 16446 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16089 # When using ansi2knr, U may be empty or an underscore; expand it
16090 U=`sed -n 's/^U = //p' < "$mf"`
16091 # Find all dependency output files, they are included files with 16447 # Find all dependency output files, they are included files with
16092 # $(DEPDIR) in their names. We invoke sed twice because it is the 16448 # $(DEPDIR) in their names. We invoke sed twice because it is the
16093 # simplest approach to changing $(DEPDIR) to its actual value in the 16449 # simplest approach to changing $(DEPDIR) to its actual value in the
16094 # expansion. 16450 # expansion.
16095 for file in `sed -n " 16451 for file in `sed -n "
16096 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 16452 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16097 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 16453 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16098 # Make sure the directory exists. 16454 # Make sure the directory exists.
16099 test -f "$dirpart/$file" && continue 16455 test -f "$dirpart/$file" && continue
16100 fdir=`$as_dirname -- "$file" || 16456 fdir=`$as_dirname -- "$file" ||
16101 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16457 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16102 X"$file" : 'X\(//\)[^/]' \| \ 16458 X"$file" : 'X\(//\)[^/]' \| \
16953 as_fn_exit 0 17309 as_fn_exit 0
16954 _ACEOF 17310 _ACEOF
16955 ac_clean_files=$ac_clean_files_save 17311 ac_clean_files=$ac_clean_files_save
16956 17312
16957 test $ac_write_fail = 0 || 17313 test $ac_write_fail = 0 ||
16958 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 17314 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16959 17315
16960 17316
16961 # configure is writing to config.log, and then calls config.status. 17317 # configure is writing to config.log, and then calls config.status.
16962 # config.status does its own redirection, appending to config.log. 17318 # config.status does its own redirection, appending to config.log.
16963 # Unfortunately, on DOS this fails, as config.log is still kept open 17319 # Unfortunately, on DOS this fails, as config.log is still kept open
16974 exec 5>/dev/null 17330 exec 5>/dev/null
16975 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 17331 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16976 exec 5>>config.log 17332 exec 5>>config.log
16977 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17333 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16978 # would make configure fail if this is the last instruction. 17334 # would make configure fail if this is the last instruction.
16979 $ac_cs_success || as_fn_exit $? 17335 $ac_cs_success || as_fn_exit 1
16980 fi 17336 fi
16981 17337
16982 # 17338 #
16983 # CONFIG_SUBDIRS section. 17339 # CONFIG_SUBDIRS section.
16984 # 17340 #
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 17471 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
17116 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 17472 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17117 # The eval makes quoting arguments work. 17473 # The eval makes quoting arguments work.
17118 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 17474 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
17119 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 17475 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
17120 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 17476 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
17121 fi 17477 fi
17122 17478
17123 cd "$ac_popdir" 17479 cd "$ac_popdir"
17124 done 17480 done
17125 fi 17481 fi