comparison zlib/configure @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64. 3 # Generated by GNU Autoconf 2.69 for zlib 1.1.4.
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 199
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.
552 subdirs= 583 subdirs=
553 MFLAGS= 584 MFLAGS=
554 MAKEFLAGS= 585 MAKEFLAGS=
555 586
556 # Identity of this package. 587 # Identity of this package.
557 PACKAGE_NAME= 588 PACKAGE_NAME='zlib'
558 PACKAGE_TARNAME= 589 PACKAGE_TARNAME='zlib'
559 PACKAGE_VERSION= 590 PACKAGE_VERSION='1.1.4'
560 PACKAGE_STRING= 591 PACKAGE_STRING='zlib 1.1.4'
561 PACKAGE_BUGREPORT= 592 PACKAGE_BUGREPORT=''
562 PACKAGE_URL= 593 PACKAGE_URL=''
563 594
564 ac_unique_file="zlib.h" 595 ac_unique_file="zlib.h"
565 # Factoring default headers for most tests. 596 # Factoring default headers for most tests.
566 ac_includes_default="\ 597 ac_includes_default="\
567 #include <stdio.h> 598 #include <stdio.h>
596 #endif 627 #endif
597 #ifdef HAVE_UNISTD_H 628 #ifdef HAVE_UNISTD_H
598 # include <unistd.h> 629 # include <unistd.h>
599 #endif" 630 #endif"
600 631
632 ac_header_list=
601 ac_subst_vars='am__EXEEXT_FALSE 633 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE 634 am__EXEEXT_TRUE
603 LTLIBOBJS 635 LTLIBOBJS
604 LIBOBJS 636 LIBOBJS
605 PICFLAG 637 PICFLAG
606 TARGET_LIBRARY_FALSE 638 TARGET_LIBRARY_FALSE
607 TARGET_LIBRARY_TRUE 639 TARGET_LIBRARY_TRUE
608 toolexeclibdir 640 toolexeclibdir
609 toolexecdir 641 toolexecdir
610 target_all
611 CPP 642 CPP
612 OTOOL64 643 OTOOL64
613 OTOOL 644 OTOOL
614 LIPO 645 LIPO
615 NMEDIT 646 NMEDIT
646 CC 677 CC
647 COMPPATH 678 COMPPATH
648 MAINT 679 MAINT
649 MAINTAINER_MODE_FALSE 680 MAINTAINER_MODE_FALSE
650 MAINTAINER_MODE_TRUE 681 MAINTAINER_MODE_TRUE
682 AM_BACKSLASH
683 AM_DEFAULT_VERBOSITY
684 AM_DEFAULT_V
685 AM_V
651 am__untar 686 am__untar
652 am__tar 687 am__tar
653 AMTAR 688 AMTAR
654 am__leading_dot 689 am__leading_dot
655 SET_MAKE 690 SET_MAKE
725 SHELL' 760 SHELL'
726 ac_subst_files='' 761 ac_subst_files=''
727 ac_user_opts=' 762 ac_user_opts='
728 enable_option_checking 763 enable_option_checking
729 enable_multilib 764 enable_multilib
765 enable_silent_rules
730 enable_maintainer_mode 766 enable_maintainer_mode
731 with_target_subdir 767 with_target_subdir
732 with_cross_host 768 with_cross_host
733 with_system_zlib 769 with_system_zlib
734 enable_dependency_tracking 770 enable_dependency_tracking
736 enable_static 772 enable_static
737 with_pic 773 with_pic
738 enable_fast_install 774 enable_fast_install
739 with_gnu_ld 775 with_gnu_ld
740 enable_libtool_lock 776 enable_libtool_lock
777 with_toolexeclibdir
741 enable_host_shared 778 enable_host_shared
742 ' 779 '
743 ac_precious_vars='build_alias 780 ac_precious_vars='build_alias
744 host_alias 781 host_alias
745 target_alias 782 target_alias
783 sysconfdir='${prefix}/etc' 820 sysconfdir='${prefix}/etc'
784 sharedstatedir='${prefix}/com' 821 sharedstatedir='${prefix}/com'
785 localstatedir='${prefix}/var' 822 localstatedir='${prefix}/var'
786 includedir='${prefix}/include' 823 includedir='${prefix}/include'
787 oldincludedir='/usr/include' 824 oldincludedir='/usr/include'
788 docdir='${datarootdir}/doc/${PACKAGE}' 825 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
789 infodir='${datarootdir}/info' 826 infodir='${datarootdir}/info'
790 htmldir='${docdir}' 827 htmldir='${docdir}'
791 dvidir='${docdir}' 828 dvidir='${docdir}'
792 pdfdir='${docdir}' 829 pdfdir='${docdir}'
793 psdir='${docdir}' 830 psdir='${docdir}'
805 ac_prev= 842 ac_prev=
806 continue 843 continue
807 fi 844 fi
808 845
809 case $ac_option in 846 case $ac_option in
810 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 847 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
811 *) ac_optarg=yes ;; 848 *=) ac_optarg= ;;
849 *) ac_optarg=yes ;;
812 esac 850 esac
813 851
814 # Accept the important Cygnus configure options, so we can diagnose typos. 852 # Accept the important Cygnus configure options, so we can diagnose typos.
815 853
816 case $ac_dashdash$ac_option in 854 case $ac_dashdash$ac_option in
851 889
852 -disable-* | --disable-*) 890 -disable-* | --disable-*)
853 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 891 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names. 892 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856 as_fn_error "invalid feature name: $ac_useropt" 894 as_fn_error $? "invalid feature name: $ac_useropt"
857 ac_useropt_orig=$ac_useropt 895 ac_useropt_orig=$ac_useropt
858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 896 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in 897 case $ac_user_opts in
860 *" 898 *"
861 "enable_$ac_useropt" 899 "enable_$ac_useropt"
877 915
878 -enable-* | --enable-*) 916 -enable-* | --enable-*)
879 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 917 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names. 918 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882 as_fn_error "invalid feature name: $ac_useropt" 920 as_fn_error $? "invalid feature name: $ac_useropt"
883 ac_useropt_orig=$ac_useropt 921 ac_useropt_orig=$ac_useropt
884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in 923 case $ac_user_opts in
886 *" 924 *"
887 "enable_$ac_useropt" 925 "enable_$ac_useropt"
1081 1119
1082 -with-* | --with-*) 1120 -with-* | --with-*)
1083 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1121 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names. 1122 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086 as_fn_error "invalid package name: $ac_useropt" 1124 as_fn_error $? "invalid package name: $ac_useropt"
1087 ac_useropt_orig=$ac_useropt 1125 ac_useropt_orig=$ac_useropt
1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in 1127 case $ac_user_opts in
1090 *" 1128 *"
1091 "with_$ac_useropt" 1129 "with_$ac_useropt"
1097 1135
1098 -without-* | --without-*) 1136 -without-* | --without-*)
1099 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1137 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1100 # Reject names that are not valid shell variable names. 1138 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error "invalid package name: $ac_useropt" 1140 as_fn_error $? "invalid package name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt 1141 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in 1143 case $ac_user_opts in
1106 *" 1144 *"
1107 "with_$ac_useropt" 1145 "with_$ac_useropt"
1127 ac_prev=x_libraries ;; 1165 ac_prev=x_libraries ;;
1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1166 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1167 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130 x_libraries=$ac_optarg ;; 1168 x_libraries=$ac_optarg ;;
1131 1169
1132 -*) as_fn_error "unrecognized option: \`$ac_option' 1170 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1133 Try \`$0 --help' for more information." 1171 Try \`$0 --help' for more information"
1134 ;; 1172 ;;
1135 1173
1136 *=*) 1174 *=*)
1137 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1175 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1138 # Reject names that are not valid shell variable names. 1176 # Reject names that are not valid shell variable names.
1139 case $ac_envvar in #( 1177 case $ac_envvar in #(
1140 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1178 '' | [0-9]* | *[!_$as_cr_alnum]* )
1141 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1179 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1142 esac 1180 esac
1143 eval $ac_envvar=\$ac_optarg 1181 eval $ac_envvar=\$ac_optarg
1144 export $ac_envvar ;; 1182 export $ac_envvar ;;
1145 1183
1146 *) 1184 *)
1147 # FIXME: should be removed in autoconf 3.0. 1185 # FIXME: should be removed in autoconf 3.0.
1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1186 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1188 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1189 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1152 ;; 1190 ;;
1153 1191
1154 esac 1192 esac
1155 done 1193 done
1156 1194
1157 if test -n "$ac_prev"; then 1195 if test -n "$ac_prev"; then
1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1196 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159 as_fn_error "missing argument to $ac_option" 1197 as_fn_error $? "missing argument to $ac_option"
1160 fi 1198 fi
1161 1199
1162 if test -n "$ac_unrecognized_opts"; then 1200 if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in 1201 case $enable_option_checking in
1164 no) ;; 1202 no) ;;
1165 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1203 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1204 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1167 esac 1205 esac
1168 fi 1206 fi
1169 1207
1170 # Check all directory arguments for consistency. 1208 # Check all directory arguments for consistency.
1183 # Be sure to have absolute directory names. 1221 # Be sure to have absolute directory names.
1184 case $ac_val in 1222 case $ac_val in
1185 [\\/$]* | ?:[\\/]* ) continue;; 1223 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1224 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187 esac 1225 esac
1188 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1226 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1189 done 1227 done
1190 1228
1191 # There might be people who depend on the old broken behavior: `$host' 1229 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc. 1230 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day. 1231 # FIXME: To remove some day.
1197 1235
1198 # FIXME: To remove some day. 1236 # FIXME: To remove some day.
1199 if test "x$host_alias" != x; then 1237 if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then 1238 if test "x$build_alias" = x; then
1201 cross_compiling=maybe 1239 cross_compiling=maybe
1202 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then 1240 elif test "x$build_alias" != "x$host_alias"; then
1205 cross_compiling=yes 1241 cross_compiling=yes
1206 fi 1242 fi
1207 fi 1243 fi
1208 1244
1213 1249
1214 1250
1215 ac_pwd=`pwd` && test -n "$ac_pwd" && 1251 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di=`ls -di .` && 1252 ac_ls_di=`ls -di .` &&
1217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1253 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 as_fn_error "working directory cannot be determined" 1254 as_fn_error $? "working directory cannot be determined"
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1255 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 as_fn_error "pwd does not report name of working directory" 1256 as_fn_error $? "pwd does not report name of working directory"
1221 1257
1222 1258
1223 # Find the source files, if location was not specified. 1259 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then 1260 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes 1261 ac_srcdir_defaulted=yes
1254 else 1290 else
1255 ac_srcdir_defaulted=no 1291 ac_srcdir_defaulted=no
1256 fi 1292 fi
1257 if test ! -r "$srcdir/$ac_unique_file"; then 1293 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1294 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1295 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1260 fi 1296 fi
1261 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1297 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1262 ac_abs_confdir=`( 1298 ac_abs_confdir=`(
1263 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1299 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1264 pwd)` 1300 pwd)`
1265 # When building in place, set srcdir=. 1301 # When building in place, set srcdir=.
1266 if test "$ac_abs_confdir" = "$ac_pwd"; then 1302 if test "$ac_abs_confdir" = "$ac_pwd"; then
1267 srcdir=. 1303 srcdir=.
1268 fi 1304 fi
1284 # 1320 #
1285 if test "$ac_init_help" = "long"; then 1321 if test "$ac_init_help" = "long"; then
1286 # Omit some internal or obsolete options to make the list less imposing. 1322 # Omit some internal or obsolete options to make the list less imposing.
1287 # This message is too long to be a string in the A/UX 3.1 sh. 1323 # This message is too long to be a string in the A/UX 3.1 sh.
1288 cat <<_ACEOF 1324 cat <<_ACEOF
1289 \`configure' configures this package to adapt to many kinds of systems. 1325 \`configure' configures zlib 1.1.4 to adapt to many kinds of systems.
1290 1326
1291 Usage: $0 [OPTION]... [VAR=VALUE]... 1327 Usage: $0 [OPTION]... [VAR=VALUE]...
1292 1328
1293 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1329 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294 VAR=VALUE. See below for descriptions of some of the useful variables. 1330 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Configuration: 1334 Configuration:
1299 -h, --help display this help and exit 1335 -h, --help display this help and exit
1300 --help=short display options specific to this package 1336 --help=short display options specific to this package
1301 --help=recursive display the short help of all the included packages 1337 --help=recursive display the short help of all the included packages
1302 -V, --version display version information and exit 1338 -V, --version display version information and exit
1303 -q, --quiet, --silent do not print \`checking...' messages 1339 -q, --quiet, --silent do not print \`checking ...' messages
1304 --cache-file=FILE cache test results in FILE [disabled] 1340 --cache-file=FILE cache test results in FILE [disabled]
1305 -C, --config-cache alias for \`--cache-file=config.cache' 1341 -C, --config-cache alias for \`--cache-file=config.cache'
1306 -n, --no-create do not create output files 1342 -n, --no-create do not create output files
1307 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1343 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1308 1344
1332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1368 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1369 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 --infodir=DIR info documentation [DATAROOTDIR/info] 1370 --infodir=DIR info documentation [DATAROOTDIR/info]
1335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1371 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336 --mandir=DIR man documentation [DATAROOTDIR/man] 1372 --mandir=DIR man documentation [DATAROOTDIR/man]
1337 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1373 --docdir=DIR documentation root [DATAROOTDIR/doc/zlib]
1338 --htmldir=DIR html documentation [DOCDIR] 1374 --htmldir=DIR html documentation [DOCDIR]
1339 --dvidir=DIR dvi documentation [DOCDIR] 1375 --dvidir=DIR dvi documentation [DOCDIR]
1340 --pdfdir=DIR pdf documentation [DOCDIR] 1376 --pdfdir=DIR pdf documentation [DOCDIR]
1341 --psdir=DIR ps documentation [DOCDIR] 1377 --psdir=DIR ps documentation [DOCDIR]
1342 _ACEOF 1378 _ACEOF
1354 --target=TARGET configure for building compilers for TARGET [HOST] 1390 --target=TARGET configure for building compilers for TARGET [HOST]
1355 _ACEOF 1391 _ACEOF
1356 fi 1392 fi
1357 1393
1358 if test -n "$ac_init_help"; then 1394 if test -n "$ac_init_help"; then
1359 1395 case $ac_init_help in
1396 short | recursive ) echo "Configuration of zlib 1.1.4:";;
1397 esac
1360 cat <<\_ACEOF 1398 cat <<\_ACEOF
1361 1399
1362 Optional Features: 1400 Optional Features:
1363 --disable-option-checking ignore unrecognized --enable/--with options 1401 --disable-option-checking ignore unrecognized --enable/--with options
1364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1402 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1403 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1366 --enable-multilib build many library versions (default) 1404 --enable-multilib build many library versions (default)
1367 --enable-maintainer-mode enable make rules and dependencies not useful 1405 --enable-silent-rules less verbose build output (undo: "make V=1")
1368 (and sometimes confusing) to the casual installer 1406 --disable-silent-rules verbose build output (undo: "make V=0")
1369 --disable-dependency-tracking speeds up one-time build 1407 --enable-maintainer-mode
1370 --enable-dependency-tracking do not reject slow dependency extractors 1408 enable make rules and dependencies not useful (and
1409 sometimes confusing) to the casual installer
1410 --enable-dependency-tracking
1411 do not reject slow dependency extractors
1412 --disable-dependency-tracking
1413 speeds up one-time build
1371 --enable-shared[=PKGS] build shared libraries [default=yes] 1414 --enable-shared[=PKGS] build shared libraries [default=yes]
1372 --enable-static[=PKGS] build static libraries [default=yes] 1415 --enable-static[=PKGS] build static libraries [default=yes]
1373 --enable-fast-install[=PKGS] 1416 --enable-fast-install[=PKGS]
1374 optimize for fast installation [default=yes] 1417 optimize for fast installation [default=yes]
1375 --disable-libtool-lock avoid locking (might break parallel builds) 1418 --disable-libtool-lock avoid locking (might break parallel builds)
1383 --with-cross-host=HOST configuring with a cross compiler 1426 --with-cross-host=HOST configuring with a cross compiler
1384 --with-system-zlib use installed libz 1427 --with-system-zlib use installed libz
1385 --with-pic try to use only PIC/non-PIC objects [default=use 1428 --with-pic try to use only PIC/non-PIC objects [default=use
1386 both] 1429 both]
1387 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1430 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1431 --with-toolexeclibdir=DIR
1432 install libraries built with a cross compiler within
1433 DIR
1388 1434
1389 Some influential environment variables: 1435 Some influential environment variables:
1390 CC C compiler command 1436 CC C compiler command
1391 CFLAGS C compiler flags 1437 CFLAGS C compiler flags
1392 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1393 nonstandard directory <lib dir> 1439 nonstandard directory <lib dir>
1394 LIBS libraries to pass to the linker, e.g. -l<library> 1440 LIBS libraries to pass to the linker, e.g. -l<library>
1395 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1441 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1396 you have headers in a nonstandard directory <include dir> 1442 you have headers in a nonstandard directory <include dir>
1397 CPP C preprocessor 1443 CPP C preprocessor
1398 1444
1399 Use these variables to override the choices made by `configure' or to help 1445 Use these variables to override the choices made by `configure' or to help
1400 it to find libraries and programs with nonstandard names/locations. 1446 it to find libraries and programs with nonstandard names/locations.
1460 fi 1506 fi
1461 1507
1462 test -n "$ac_init_help" && exit $ac_status 1508 test -n "$ac_init_help" && exit $ac_status
1463 if $ac_init_version; then 1509 if $ac_init_version; then
1464 cat <<\_ACEOF 1510 cat <<\_ACEOF
1465 configure 1511 zlib configure 1.1.4
1466 generated by GNU Autoconf 2.64 1512 generated by GNU Autoconf 2.69
1467 1513
1468 Copyright (C) 2009 Free Software Foundation, Inc. 1514 Copyright (C) 2012 Free Software Foundation, Inc.
1469 This configure script is free software; the Free Software Foundation 1515 This configure script is free software; the Free Software Foundation
1470 gives unlimited permission to copy, distribute and modify it. 1516 gives unlimited permission to copy, distribute and modify it.
1471 _ACEOF 1517 _ACEOF
1472 exit 1518 exit
1473 fi 1519 fi
1507 $as_echo "$as_me: failed program was:" >&5 1553 $as_echo "$as_me: failed program was:" >&5
1508 sed 's/^/| /' conftest.$ac_ext >&5 1554 sed 's/^/| /' conftest.$ac_ext >&5
1509 1555
1510 ac_retval=1 1556 ac_retval=1
1511 fi 1557 fi
1512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1513 return $ac_retval 1559 as_fn_set_status $ac_retval
1514 1560
1515 } # ac_fn_c_try_compile 1561 } # ac_fn_c_try_compile
1516 1562
1517 # ac_fn_c_try_link LINENO 1563 # ac_fn_c_try_link LINENO
1518 # ----------------------- 1564 # -----------------------
1539 test $ac_status = 0; } && { 1585 test $ac_status = 0; } && {
1540 test -z "$ac_c_werror_flag" || 1586 test -z "$ac_c_werror_flag" ||
1541 test ! -s conftest.err 1587 test ! -s conftest.err
1542 } && test -s conftest$ac_exeext && { 1588 } && test -s conftest$ac_exeext && {
1543 test "$cross_compiling" = yes || 1589 test "$cross_compiling" = yes ||
1544 $as_test_x conftest$ac_exeext 1590 test -x conftest$ac_exeext
1545 }; then : 1591 }; then :
1546 ac_retval=0 1592 ac_retval=0
1547 else 1593 else
1548 $as_echo "$as_me: failed program was:" >&5 1594 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5 1595 sed 's/^/| /' conftest.$ac_ext >&5
1553 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1599 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1554 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1600 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1555 # interfere with the next link command; also delete a directory that is 1601 # interfere with the next link command; also delete a directory that is
1556 # left behind by Apple's compiler. We do this before executing the actions. 1602 # left behind by Apple's compiler. We do this before executing the actions.
1557 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1558 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559 return $ac_retval 1605 as_fn_set_status $ac_retval
1560 1606
1561 } # ac_fn_c_try_link 1607 } # ac_fn_c_try_link
1562 1608
1563 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1609 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1564 # ------------------------------------------------------- 1610 # -------------------------------------------------------
1567 ac_fn_c_check_header_compile () 1613 ac_fn_c_check_header_compile ()
1568 { 1614 {
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1571 $as_echo_n "checking for $2... " >&6; } 1617 $as_echo_n "checking for $2... " >&6; }
1572 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1618 if eval \${$3+:} false; then :
1573 $as_echo_n "(cached) " >&6 1619 $as_echo_n "(cached) " >&6
1574 else 1620 else
1575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1576 /* end confdefs.h. */ 1622 /* end confdefs.h. */
1577 $4 1623 $4
1585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1586 fi 1632 fi
1587 eval ac_res=\$$3 1633 eval ac_res=\$$3
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589 $as_echo "$ac_res" >&6; } 1635 $as_echo "$ac_res" >&6; }
1590 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 1637
1592 } # ac_fn_c_check_header_compile 1638 } # ac_fn_c_check_header_compile
1593 1639
1594 # ac_fn_c_try_cpp LINENO 1640 # ac_fn_c_try_cpp LINENO
1595 # ---------------------- 1641 # ----------------------
1610 grep -v '^ *+' conftest.err >conftest.er1 1656 grep -v '^ *+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5 1657 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err 1658 mv -f conftest.er1 conftest.err
1613 fi 1659 fi
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } >/dev/null && { 1661 test $ac_status = 0; } > conftest.i && {
1616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1617 test ! -s conftest.err 1663 test ! -s conftest.err
1618 }; then : 1664 }; then :
1619 ac_retval=0 1665 ac_retval=0
1620 else 1666 else
1621 $as_echo "$as_me: failed program was:" >&5 1667 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5 1668 sed 's/^/| /' conftest.$ac_ext >&5
1623 1669
1624 ac_retval=1 1670 ac_retval=1
1625 fi 1671 fi
1626 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 return $ac_retval 1673 as_fn_set_status $ac_retval
1628 1674
1629 } # ac_fn_c_try_cpp 1675 } # ac_fn_c_try_cpp
1630 1676
1631 # ac_fn_c_try_run LINENO 1677 # ac_fn_c_try_run LINENO
1632 # ---------------------- 1678 # ----------------------
1663 sed 's/^/| /' conftest.$ac_ext >&5 1709 sed 's/^/| /' conftest.$ac_ext >&5
1664 1710
1665 ac_retval=$ac_status 1711 ac_retval=$ac_status
1666 fi 1712 fi
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 return $ac_retval 1715 as_fn_set_status $ac_retval
1670 1716
1671 } # ac_fn_c_try_run 1717 } # ac_fn_c_try_run
1672 1718
1673 # ac_fn_c_check_func LINENO FUNC VAR 1719 # ac_fn_c_check_func LINENO FUNC VAR
1674 # ---------------------------------- 1720 # ----------------------------------
1676 ac_fn_c_check_func () 1722 ac_fn_c_check_func ()
1677 { 1723 {
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; } 1726 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1727 if eval \${$3+:} false; then :
1682 $as_echo_n "(cached) " >&6 1728 $as_echo_n "(cached) " >&6
1683 else 1729 else
1684 if test x$gcc_no_link = xyes; then 1730 if test x$gcc_no_link = xyes; then
1685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 1731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1686 fi 1732 fi
1687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */ 1734 /* end confdefs.h. */
1689 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1735 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1690 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1734 conftest$ac_exeext conftest.$ac_ext 1780 conftest$ac_exeext conftest.$ac_ext
1735 fi 1781 fi
1736 eval ac_res=\$$3 1782 eval ac_res=\$$3
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738 $as_echo "$ac_res" >&6; } 1784 $as_echo "$ac_res" >&6; }
1739 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740 1786
1741 } # ac_fn_c_check_func 1787 } # ac_fn_c_check_func
1742 1788
1743 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1789 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1744 # ------------------------------------------------------- 1790 # -------------------------------------------------------
1746 # the include files in INCLUDES and setting the cache variable VAR 1792 # the include files in INCLUDES and setting the cache variable VAR
1747 # accordingly. 1793 # accordingly.
1748 ac_fn_c_check_header_mongrel () 1794 ac_fn_c_check_header_mongrel ()
1749 { 1795 {
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1797 if eval \${$3+:} false; then :
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; } 1799 $as_echo_n "checking for $2... " >&6; }
1754 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1800 if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6 1801 $as_echo_n "(cached) " >&6
1756 fi 1802 fi
1757 eval ac_res=\$$3 1803 eval ac_res=\$$3
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; } 1805 $as_echo "$ac_res" >&6; }
1785 if ac_fn_c_try_cpp "$LINENO"; then : 1831 if ac_fn_c_try_cpp "$LINENO"; then :
1786 ac_header_preproc=yes 1832 ac_header_preproc=yes
1787 else 1833 else
1788 ac_header_preproc=no 1834 ac_header_preproc=no
1789 fi 1835 fi
1790 rm -f conftest.err conftest.$ac_ext 1836 rm -f conftest.err conftest.i conftest.$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1792 $as_echo "$ac_header_preproc" >&6; } 1838 $as_echo "$ac_header_preproc" >&6; }
1793 1839
1794 # So? What about this header? 1840 # So? What about this header?
1795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1812 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1858 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1813 ;; 1859 ;;
1814 esac 1860 esac
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; } 1862 $as_echo_n "checking for $2... " >&6; }
1817 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1863 if eval \${$3+:} false; then :
1818 $as_echo_n "(cached) " >&6 1864 $as_echo_n "(cached) " >&6
1819 else 1865 else
1820 eval "$3=\$ac_header_compiler" 1866 eval "$3=\$ac_header_compiler"
1821 fi 1867 fi
1822 eval ac_res=\$$3 1868 eval ac_res=\$$3
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824 $as_echo "$ac_res" >&6; } 1870 $as_echo "$ac_res" >&6; }
1825 fi 1871 fi
1826 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827 1873
1828 } # ac_fn_c_check_header_mongrel 1874 } # ac_fn_c_check_header_mongrel
1829 cat >config.log <<_ACEOF 1875 cat >config.log <<_ACEOF
1830 This file contains any messages produced by compilers while 1876 This file contains any messages produced by compilers while
1831 running configure, to aid debugging if configure makes a mistake. 1877 running configure, to aid debugging if configure makes a mistake.
1832 1878
1833 It was created by $as_me, which was 1879 It was created by zlib $as_me 1.1.4, which was
1834 generated by GNU Autoconf 2.64. Invocation command line was 1880 generated by GNU Autoconf 2.69. Invocation command line was
1835 1881
1836 $ $0 $@ 1882 $ $0 $@
1837 1883
1838 _ACEOF 1884 _ACEOF
1839 exec 5>>config.log 1885 exec 5>>config.log
1939 trap 'exit_status=$? 1985 trap 'exit_status=$?
1940 # Save into config.log some information that might help in debugging. 1986 # Save into config.log some information that might help in debugging.
1941 { 1987 {
1942 echo 1988 echo
1943 1989
1944 cat <<\_ASBOX 1990 $as_echo "## ---------------- ##
1945 ## ---------------- ##
1946 ## Cache variables. ## 1991 ## Cache variables. ##
1947 ## ---------------- ## 1992 ## ---------------- ##"
1948 _ASBOX
1949 echo 1993 echo
1950 # The following way of writing the cache mishandles newlines in values, 1994 # The following way of writing the cache mishandles newlines in values,
1951 ( 1995 (
1952 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1996 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1953 eval ac_val=\$$ac_var 1997 eval ac_val=\$$ac_var
1977 esac | 2021 esac |
1978 sort 2022 sort
1979 ) 2023 )
1980 echo 2024 echo
1981 2025
1982 cat <<\_ASBOX 2026 $as_echo "## ----------------- ##
1983 ## ----------------- ##
1984 ## Output variables. ## 2027 ## Output variables. ##
1985 ## ----------------- ## 2028 ## ----------------- ##"
1986 _ASBOX
1987 echo 2029 echo
1988 for ac_var in $ac_subst_vars 2030 for ac_var in $ac_subst_vars
1989 do 2031 do
1990 eval ac_val=\$$ac_var 2032 eval ac_val=\$$ac_var
1991 case $ac_val in 2033 case $ac_val in
1994 $as_echo "$ac_var='\''$ac_val'\''" 2036 $as_echo "$ac_var='\''$ac_val'\''"
1995 done | sort 2037 done | sort
1996 echo 2038 echo
1997 2039
1998 if test -n "$ac_subst_files"; then 2040 if test -n "$ac_subst_files"; then
1999 cat <<\_ASBOX 2041 $as_echo "## ------------------- ##
2000 ## ------------------- ##
2001 ## File substitutions. ## 2042 ## File substitutions. ##
2002 ## ------------------- ## 2043 ## ------------------- ##"
2003 _ASBOX
2004 echo 2044 echo
2005 for ac_var in $ac_subst_files 2045 for ac_var in $ac_subst_files
2006 do 2046 do
2007 eval ac_val=\$$ac_var 2047 eval ac_val=\$$ac_var
2008 case $ac_val in 2048 case $ac_val in
2012 done | sort 2052 done | sort
2013 echo 2053 echo
2014 fi 2054 fi
2015 2055
2016 if test -s confdefs.h; then 2056 if test -s confdefs.h; then
2017 cat <<\_ASBOX 2057 $as_echo "## ----------- ##
2018 ## ----------- ##
2019 ## confdefs.h. ## 2058 ## confdefs.h. ##
2020 ## ----------- ## 2059 ## ----------- ##"
2021 _ASBOX
2022 echo 2060 echo
2023 cat confdefs.h 2061 cat confdefs.h
2024 echo 2062 echo
2025 fi 2063 fi
2026 test "$ac_signal" != 0 && 2064 test "$ac_signal" != 0 &&
2071 # Let the site file select an alternate cache file if it wants to. 2109 # Let the site file select an alternate cache file if it wants to.
2072 # Prefer an explicitly selected file to automatically selected ones. 2110 # Prefer an explicitly selected file to automatically selected ones.
2073 ac_site_file1=NONE 2111 ac_site_file1=NONE
2074 ac_site_file2=NONE 2112 ac_site_file2=NONE
2075 if test -n "$CONFIG_SITE"; then 2113 if test -n "$CONFIG_SITE"; then
2076 ac_site_file1=$CONFIG_SITE 2114 # We do not want a PATH search for config.site.
2115 case $CONFIG_SITE in #((
2116 -*) ac_site_file1=./$CONFIG_SITE;;
2117 */*) ac_site_file1=$CONFIG_SITE;;
2118 *) ac_site_file1=./$CONFIG_SITE;;
2119 esac
2077 elif test "x$prefix" != xNONE; then 2120 elif test "x$prefix" != xNONE; then
2078 ac_site_file1=$prefix/share/config.site 2121 ac_site_file1=$prefix/share/config.site
2079 ac_site_file2=$prefix/etc/config.site 2122 ac_site_file2=$prefix/etc/config.site
2080 else 2123 else
2081 ac_site_file1=$ac_default_prefix/share/config.site 2124 ac_site_file1=$ac_default_prefix/share/config.site
2082 ac_site_file2=$ac_default_prefix/etc/config.site 2125 ac_site_file2=$ac_default_prefix/etc/config.site
2083 fi 2126 fi
2084 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2127 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2085 do 2128 do
2086 test "x$ac_site_file" = xNONE && continue 2129 test "x$ac_site_file" = xNONE && continue
2087 if test -r "$ac_site_file"; then 2130 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2089 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2132 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2090 sed 's/^/| /' "$ac_site_file" >&5 2133 sed 's/^/| /' "$ac_site_file" >&5
2091 . "$ac_site_file" 2134 . "$ac_site_file" \
2135 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2137 as_fn_error $? "failed to load site script $ac_site_file
2138 See \`config.log' for more details" "$LINENO" 5; }
2092 fi 2139 fi
2093 done 2140 done
2094 2141
2095 if test -r "$cache_file"; then 2142 if test -r "$cache_file"; then
2096 # Some versions of bash will fail to source /dev/null (special 2143 # Some versions of bash will fail to source /dev/null (special files
2097 # files actually), so we avoid doing that. 2144 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2098 if test -f "$cache_file"; then 2145 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2146 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2100 $as_echo "$as_me: loading cache $cache_file" >&6;} 2147 $as_echo "$as_me: loading cache $cache_file" >&6;}
2101 case $cache_file in 2148 case $cache_file in
2102 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2149 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2103 *) . "./$cache_file";; 2150 *) . "./$cache_file";;
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2108 $as_echo "$as_me: creating cache $cache_file" >&6;} 2155 $as_echo "$as_me: creating cache $cache_file" >&6;}
2109 >$cache_file 2156 >$cache_file
2110 fi 2157 fi
2111 2158
2159 as_fn_append ac_header_list " stdlib.h"
2160 as_fn_append ac_header_list " unistd.h"
2161 as_fn_append ac_header_list " sys/param.h"
2112 # Check that the precious variables saved in the cache have kept the same 2162 # Check that the precious variables saved in the cache have kept the same
2113 # value. 2163 # value.
2114 ac_cache_corrupted=false 2164 ac_cache_corrupted=false
2115 for ac_var in $ac_precious_vars; do 2165 for ac_var in $ac_precious_vars; do
2116 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2166 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2162 if $ac_cache_corrupted; then 2212 if $ac_cache_corrupted; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2166 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2216 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2167 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2217 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2168 fi 2218 fi
2169 ## -------------------- ## 2219 ## -------------------- ##
2170 ## Main body of script. ## 2220 ## Main body of script. ##
2171 ## -------------------- ## 2221 ## -------------------- ##
2172 2222
2187 # Check whether --enable-multilib was given. 2237 # Check whether --enable-multilib was given.
2188 if test "${enable_multilib+set}" = set; then : 2238 if test "${enable_multilib+set}" = set; then :
2189 enableval=$enable_multilib; case "$enableval" in 2239 enableval=$enable_multilib; case "$enableval" in
2190 yes) multilib=yes ;; 2240 yes) multilib=yes ;;
2191 no) multilib=no ;; 2241 no) multilib=no ;;
2192 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;; 2242 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2193 esac 2243 esac
2194 else 2244 else
2195 multilib=yes 2245 multilib=yes
2196 fi 2246 fi
2197 2247
2222 2272
2223 fi 2273 fi
2224 2274
2225 ac_aux_dir= 2275 ac_aux_dir=
2226 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2276 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2227 for ac_t in install-sh install.sh shtool; do 2277 if test -f "$ac_dir/install-sh"; then
2228 if test -f "$ac_dir/$ac_t"; then 2278 ac_aux_dir=$ac_dir
2229 ac_aux_dir=$ac_dir 2279 ac_install_sh="$ac_aux_dir/install-sh -c"
2230 ac_install_sh="$ac_aux_dir/$ac_t -c" 2280 break
2231 break 2 2281 elif test -f "$ac_dir/install.sh"; then
2232 fi 2282 ac_aux_dir=$ac_dir
2233 done 2283 ac_install_sh="$ac_aux_dir/install.sh -c"
2284 break
2285 elif test -f "$ac_dir/shtool"; then
2286 ac_aux_dir=$ac_dir
2287 ac_install_sh="$ac_aux_dir/shtool install -c"
2288 break
2289 fi
2234 done 2290 done
2235 if test -z "$ac_aux_dir"; then 2291 if test -z "$ac_aux_dir"; then
2236 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2292 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2237 fi 2293 fi
2238 2294
2239 # These three variables are undocumented and unsupported, 2295 # These three variables are undocumented and unsupported,
2240 # and are intended to be withdrawn in a future Autoconf release. 2296 # and are intended to be withdrawn in a future Autoconf release.
2241 # They can cause serious problems if a builder's source tree is in a directory 2297 # They can cause serious problems if a builder's source tree is in a directory
2245 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2301 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2246 2302
2247 2303
2248 # Make sure we can run config.sub. 2304 # Make sure we can run config.sub.
2249 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2305 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2250 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2306 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2251 2307
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2253 $as_echo_n "checking build system type... " >&6; } 2309 $as_echo_n "checking build system type... " >&6; }
2254 if test "${ac_cv_build+set}" = set; then : 2310 if ${ac_cv_build+:} false; then :
2255 $as_echo_n "(cached) " >&6 2311 $as_echo_n "(cached) " >&6
2256 else 2312 else
2257 ac_build_alias=$build_alias 2313 ac_build_alias=$build_alias
2258 test "x$ac_build_alias" = x && 2314 test "x$ac_build_alias" = x &&
2259 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2315 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2260 test "x$ac_build_alias" = x && 2316 test "x$ac_build_alias" = x &&
2261 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2317 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2262 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2318 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2263 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2319 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2264 2320
2265 fi 2321 fi
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2267 $as_echo "$ac_cv_build" >&6; } 2323 $as_echo "$ac_cv_build" >&6; }
2268 case $ac_cv_build in 2324 case $ac_cv_build in
2269 *-*-*) ;; 2325 *-*-*) ;;
2270 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2326 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2271 esac 2327 esac
2272 build=$ac_cv_build 2328 build=$ac_cv_build
2273 ac_save_IFS=$IFS; IFS='-' 2329 ac_save_IFS=$IFS; IFS='-'
2274 set x $ac_cv_build 2330 set x $ac_cv_build
2275 shift 2331 shift
2283 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2339 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2284 2340
2285 2341
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2287 $as_echo_n "checking host system type... " >&6; } 2343 $as_echo_n "checking host system type... " >&6; }
2288 if test "${ac_cv_host+set}" = set; then : 2344 if ${ac_cv_host+:} false; then :
2289 $as_echo_n "(cached) " >&6 2345 $as_echo_n "(cached) " >&6
2290 else 2346 else
2291 if test "x$host_alias" = x; then 2347 if test "x$host_alias" = x; then
2292 ac_cv_host=$ac_cv_build 2348 ac_cv_host=$ac_cv_build
2293 else 2349 else
2294 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2350 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2295 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2351 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2296 fi 2352 fi
2297 2353
2298 fi 2354 fi
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2300 $as_echo "$ac_cv_host" >&6; } 2356 $as_echo "$ac_cv_host" >&6; }
2301 case $ac_cv_host in 2357 case $ac_cv_host in
2302 *-*-*) ;; 2358 *-*-*) ;;
2303 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2359 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2304 esac 2360 esac
2305 host=$ac_cv_host 2361 host=$ac_cv_host
2306 ac_save_IFS=$IFS; IFS='-' 2362 ac_save_IFS=$IFS; IFS='-'
2307 set x $ac_cv_host 2363 set x $ac_cv_host
2308 shift 2364 shift
2316 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2372 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2317 2373
2318 2374
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2320 $as_echo_n "checking target system type... " >&6; } 2376 $as_echo_n "checking target system type... " >&6; }
2321 if test "${ac_cv_target+set}" = set; then : 2377 if ${ac_cv_target+:} false; then :
2322 $as_echo_n "(cached) " >&6 2378 $as_echo_n "(cached) " >&6
2323 else 2379 else
2324 if test "x$target_alias" = x; then 2380 if test "x$target_alias" = x; then
2325 ac_cv_target=$ac_cv_host 2381 ac_cv_target=$ac_cv_host
2326 else 2382 else
2327 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2383 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2328 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2384 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2329 fi 2385 fi
2330 2386
2331 fi 2387 fi
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2333 $as_echo "$ac_cv_target" >&6; } 2389 $as_echo "$ac_cv_target" >&6; }
2334 case $ac_cv_target in 2390 case $ac_cv_target in
2335 *-*-*) ;; 2391 *-*-*) ;;
2336 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2392 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2337 esac 2393 esac
2338 target=$ac_cv_target 2394 target=$ac_cv_target
2339 ac_save_IFS=$IFS; IFS='-' 2395 ac_save_IFS=$IFS; IFS='-'
2340 set x $ac_cv_target 2396 set x $ac_cv_target
2341 shift 2397 shift
2359 2415
2360 # This works around an automake problem. 2416 # This works around an automake problem.
2361 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" 2417 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
2362 2418
2363 2419
2364 am__api_version='1.11' 2420 am__api_version='1.15'
2365 2421
2366 # Find a good install program. We prefer a C program (faster), 2422 # Find a good install program. We prefer a C program (faster),
2367 # so one script is as good as another. But avoid the broken or 2423 # so one script is as good as another. But avoid the broken or
2368 # incompatible versions: 2424 # incompatible versions:
2369 # SysV /etc/install, /usr/sbin/install 2425 # SysV /etc/install, /usr/sbin/install
2378 # ./install, which can be erroneously created by make from ./install.sh. 2434 # ./install, which can be erroneously created by make from ./install.sh.
2379 # Reject install programs that cannot install multiple files. 2435 # Reject install programs that cannot install multiple files.
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2381 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2437 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2382 if test -z "$INSTALL"; then 2438 if test -z "$INSTALL"; then
2383 if test "${ac_cv_path_install+set}" = set; then : 2439 if ${ac_cv_path_install+:} false; then :
2384 $as_echo_n "(cached) " >&6 2440 $as_echo_n "(cached) " >&6
2385 else 2441 else
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 for as_dir in $PATH 2443 for as_dir in $PATH
2388 do 2444 do
2398 # OSF1 and SCO ODT 3.0 have their own names for install. 2454 # OSF1 and SCO ODT 3.0 have their own names for install.
2399 # Don't use installbsd from OSF since it installs stuff as root 2455 # Don't use installbsd from OSF since it installs stuff as root
2400 # by default. 2456 # by default.
2401 for ac_prog in ginstall scoinst install; do 2457 for ac_prog in ginstall scoinst install; do
2402 for ac_exec_ext in '' $ac_executable_extensions; do 2458 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2459 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2404 if test $ac_prog = install && 2460 if test $ac_prog = install &&
2405 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2461 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2406 # AIX install. It has an incompatible calling convention. 2462 # AIX install. It has an incompatible calling convention.
2407 : 2463 :
2408 elif test $ac_prog = install && 2464 elif test $ac_prog = install &&
2456 2512
2457 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2513 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2458 2514
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2460 $as_echo_n "checking whether build environment is sane... " >&6; } 2516 $as_echo_n "checking whether build environment is sane... " >&6; }
2461 # Just in case
2462 sleep 1
2463 echo timestamp > conftest.file
2464 # Reject unsafe characters in $srcdir or the absolute working directory 2517 # Reject unsafe characters in $srcdir or the absolute working directory
2465 # name. Accept space and tab only in the latter. 2518 # name. Accept space and tab only in the latter.
2466 am_lf=' 2519 am_lf='
2467 ' 2520 '
2468 case `pwd` in 2521 case `pwd` in
2469 *[\\\"\#\$\&\'\`$am_lf]*) 2522 *[\\\"\#\$\&\'\`$am_lf]*)
2470 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2523 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2471 esac 2524 esac
2472 case $srcdir in 2525 case $srcdir in
2473 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2526 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2474 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2527 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2475 esac 2528 esac
2476 2529
2477 # Do `set' in a subshell so we don't clobber the current shell's 2530 # Do 'set' in a subshell so we don't clobber the current shell's
2478 # arguments. Must try -L first in case configure is actually a 2531 # arguments. Must try -L first in case configure is actually a
2479 # symlink; some systems play weird games with the mod time of symlinks 2532 # symlink; some systems play weird games with the mod time of symlinks
2480 # (eg FreeBSD returns the mod time of the symlink's containing 2533 # (eg FreeBSD returns the mod time of the symlink's containing
2481 # directory). 2534 # directory).
2482 if ( 2535 if (
2483 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2536 am_has_slept=no
2484 if test "$*" = "X"; then 2537 for am_try in 1 2; do
2485 # -L didn't work. 2538 echo "timestamp, slept: $am_has_slept" > conftest.file
2486 set X `ls -t "$srcdir/configure" conftest.file` 2539 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2487 fi 2540 if test "$*" = "X"; then
2488 rm -f conftest.file 2541 # -L didn't work.
2489 if test "$*" != "X $srcdir/configure conftest.file" \ 2542 set X `ls -t "$srcdir/configure" conftest.file`
2490 && test "$*" != "X conftest.file $srcdir/configure"; then 2543 fi
2491 2544 if test "$*" != "X $srcdir/configure conftest.file" \
2492 # If neither matched, then we have a broken ls. This can happen 2545 && test "$*" != "X conftest.file $srcdir/configure"; then
2493 # if, for instance, CONFIG_SHELL is bash and it inherits a 2546
2494 # broken ls alias from the environment. This has actually 2547 # If neither matched, then we have a broken ls. This can happen
2495 # happened. Such a system could not be considered "sane". 2548 # if, for instance, CONFIG_SHELL is bash and it inherits a
2496 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2549 # broken ls alias from the environment. This has actually
2497 alias in your environment" "$LINENO" 5 2550 # happened. Such a system could not be considered "sane".
2498 fi 2551 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2499 2552 alias in your environment" "$LINENO" 5
2553 fi
2554 if test "$2" = conftest.file || test $am_try -eq 2; then
2555 break
2556 fi
2557 # Just in case.
2558 sleep 1
2559 am_has_slept=yes
2560 done
2500 test "$2" = conftest.file 2561 test "$2" = conftest.file
2501 ) 2562 )
2502 then 2563 then
2503 # Ok. 2564 # Ok.
2504 : 2565 :
2505 else 2566 else
2506 as_fn_error "newly created file is older than distributed files! 2567 as_fn_error $? "newly created file is older than distributed files!
2507 Check your system clock" "$LINENO" 5 2568 Check your system clock" "$LINENO" 5
2508 fi 2569 fi
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2510 $as_echo "yes" >&6; } 2571 $as_echo "yes" >&6; }
2572 # If we didn't sleep, we still need to ensure time stamps of config.status and
2573 # generated files are strictly newer.
2574 am_sleep_pid=
2575 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2576 ( sleep 1 ) &
2577 am_sleep_pid=$!
2578 fi
2579
2580 rm -f conftest.file
2581
2511 test "$program_prefix" != NONE && 2582 test "$program_prefix" != NONE &&
2512 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2583 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2513 # Use a double $ so make ignores it. 2584 # Use a double $ so make ignores it.
2514 test "$program_suffix" != NONE && 2585 test "$program_suffix" != NONE &&
2515 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2586 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2516 # Double any \ or $. 2587 # Double any \ or $.
2517 # By default was `s,x,x', remove it if useless. 2588 # By default was `s,x,x', remove it if useless.
2518 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2589 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2519 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2590 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2520 2591
2521 # expand $ac_aux_dir to an absolute path 2592 # Expand $ac_aux_dir to an absolute path.
2522 am_aux_dir=`cd $ac_aux_dir && pwd` 2593 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2523 2594
2524 if test x"${MISSING+set}" != xset; then 2595 if test x"${MISSING+set}" != xset; then
2525 case $am_aux_dir in 2596 case $am_aux_dir in
2526 *\ * | *\ *) 2597 *\ * | *\ *)
2527 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2598 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2528 *) 2599 *)
2529 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2600 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2530 esac 2601 esac
2531 fi 2602 fi
2532 # Use eval to expand $SHELL 2603 # Use eval to expand $SHELL
2533 if eval "$MISSING --run true"; then 2604 if eval "$MISSING --is-lightweight"; then
2534 am_missing_run="$MISSING --run " 2605 am_missing_run="$MISSING "
2535 else 2606 else
2536 am_missing_run= 2607 am_missing_run=
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2538 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2609 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2539 fi 2610 fi
2540 2611
2541 if test x"${install_sh}" != xset; then 2612 if test x"${install_sh+set}" != xset; then
2542 case $am_aux_dir in 2613 case $am_aux_dir in
2543 *\ * | *\ *) 2614 *\ * | *\ *)
2544 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2615 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2545 *) 2616 *)
2546 install_sh="\${SHELL} $am_aux_dir/install-sh" 2617 install_sh="\${SHELL} $am_aux_dir/install-sh"
2547 esac 2618 esac
2548 fi 2619 fi
2549 2620
2550 # Installed binaries are usually stripped using `strip' when the user 2621 # Installed binaries are usually stripped using 'strip' when the user
2551 # run `make install-strip'. However `strip' might not be the right 2622 # run "make install-strip". However 'strip' might not be the right
2552 # tool to use in cross-compilation environments, therefore Automake 2623 # tool to use in cross-compilation environments, therefore Automake
2553 # will honor the `STRIP' environment variable to overrule this program. 2624 # will honor the 'STRIP' environment variable to overrule this program.
2554 if test "$cross_compiling" != no; then 2625 if test "$cross_compiling" != no; then
2555 if test -n "$ac_tool_prefix"; then 2626 if test -n "$ac_tool_prefix"; then
2556 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2627 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2557 set dummy ${ac_tool_prefix}strip; ac_word=$2 2628 set dummy ${ac_tool_prefix}strip; ac_word=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; } 2630 $as_echo_n "checking for $ac_word... " >&6; }
2560 if test "${ac_cv_prog_STRIP+set}" = set; then : 2631 if ${ac_cv_prog_STRIP+:} false; then :
2561 $as_echo_n "(cached) " >&6 2632 $as_echo_n "(cached) " >&6
2562 else 2633 else
2563 if test -n "$STRIP"; then 2634 if test -n "$STRIP"; then
2564 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2635 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2565 else 2636 else
2567 for as_dir in $PATH 2638 for as_dir in $PATH
2568 do 2639 do
2569 IFS=$as_save_IFS 2640 IFS=$as_save_IFS
2570 test -z "$as_dir" && as_dir=. 2641 test -z "$as_dir" && as_dir=.
2571 for ac_exec_ext in '' $ac_executable_extensions; do 2642 for ac_exec_ext in '' $ac_executable_extensions; do
2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2573 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2644 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 break 2 2646 break 2
2576 fi 2647 fi
2577 done 2648 done
2595 ac_ct_STRIP=$STRIP 2666 ac_ct_STRIP=$STRIP
2596 # Extract the first word of "strip", so it can be a program name with args. 2667 # Extract the first word of "strip", so it can be a program name with args.
2597 set dummy strip; ac_word=$2 2668 set dummy strip; ac_word=$2
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599 $as_echo_n "checking for $ac_word... " >&6; } 2670 $as_echo_n "checking for $ac_word... " >&6; }
2600 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2671 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2601 $as_echo_n "(cached) " >&6 2672 $as_echo_n "(cached) " >&6
2602 else 2673 else
2603 if test -n "$ac_ct_STRIP"; then 2674 if test -n "$ac_ct_STRIP"; then
2604 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2675 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2605 else 2676 else
2607 for as_dir in $PATH 2678 for as_dir in $PATH
2608 do 2679 do
2609 IFS=$as_save_IFS 2680 IFS=$as_save_IFS
2610 test -z "$as_dir" && as_dir=. 2681 test -z "$as_dir" && as_dir=.
2611 for ac_exec_ext in '' $ac_executable_extensions; do 2682 for ac_exec_ext in '' $ac_executable_extensions; do
2612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613 ac_cv_prog_ac_ct_STRIP="strip" 2684 ac_cv_prog_ac_ct_STRIP="strip"
2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2615 break 2 2686 break 2
2616 fi 2687 fi
2617 done 2688 done
2648 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2719 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2649 2720
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2651 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2722 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2652 if test -z "$MKDIR_P"; then 2723 if test -z "$MKDIR_P"; then
2653 if test "${ac_cv_path_mkdir+set}" = set; then : 2724 if ${ac_cv_path_mkdir+:} false; then :
2654 $as_echo_n "(cached) " >&6 2725 $as_echo_n "(cached) " >&6
2655 else 2726 else
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2728 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2658 do 2729 do
2659 IFS=$as_save_IFS 2730 IFS=$as_save_IFS
2660 test -z "$as_dir" && as_dir=. 2731 test -z "$as_dir" && as_dir=.
2661 for ac_prog in mkdir gmkdir; do 2732 for ac_prog in mkdir gmkdir; do
2662 for ac_exec_ext in '' $ac_executable_extensions; do 2733 for ac_exec_ext in '' $ac_executable_extensions; do
2663 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2734 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2664 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2735 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2665 'mkdir (GNU coreutils) '* | \ 2736 'mkdir (GNU coreutils) '* | \
2666 'mkdir (coreutils) '* | \ 2737 'mkdir (coreutils) '* | \
2667 'mkdir (fileutils) '4.1*) 2738 'mkdir (fileutils) '4.1*)
2668 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2739 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2673 done 2744 done
2674 IFS=$as_save_IFS 2745 IFS=$as_save_IFS
2675 2746
2676 fi 2747 fi
2677 2748
2749 test -d ./--version && rmdir ./--version
2678 if test "${ac_cv_path_mkdir+set}" = set; then 2750 if test "${ac_cv_path_mkdir+set}" = set; then
2679 MKDIR_P="$ac_cv_path_mkdir -p" 2751 MKDIR_P="$ac_cv_path_mkdir -p"
2680 else 2752 else
2681 # As a last resort, use the slow shell script. Don't cache a 2753 # As a last resort, use the slow shell script. Don't cache a
2682 # value for MKDIR_P within a source directory, because that will 2754 # value for MKDIR_P within a source directory, because that will
2683 # break other packages using the cache if that directory is 2755 # break other packages using the cache if that directory is
2684 # removed, or if the value is a relative name. 2756 # removed, or if the value is a relative name.
2685 test -d ./--version && rmdir ./--version
2686 MKDIR_P="$ac_install_sh -d" 2757 MKDIR_P="$ac_install_sh -d"
2687 fi 2758 fi
2688 fi 2759 fi
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2690 $as_echo "$MKDIR_P" >&6; } 2761 $as_echo "$MKDIR_P" >&6; }
2691
2692 mkdir_p="$MKDIR_P"
2693 case $mkdir_p in
2694 [\\/$]* | ?:[\\/]*) ;;
2695 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2696 esac
2697 2762
2698 for ac_prog in gawk mawk nawk awk 2763 for ac_prog in gawk mawk nawk awk
2699 do 2764 do
2700 # Extract the first word of "$ac_prog", so it can be a program name with args. 2765 # Extract the first word of "$ac_prog", so it can be a program name with args.
2701 set dummy $ac_prog; ac_word=$2 2766 set dummy $ac_prog; ac_word=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; } 2768 $as_echo_n "checking for $ac_word... " >&6; }
2704 if test "${ac_cv_prog_AWK+set}" = set; then : 2769 if ${ac_cv_prog_AWK+:} false; then :
2705 $as_echo_n "(cached) " >&6 2770 $as_echo_n "(cached) " >&6
2706 else 2771 else
2707 if test -n "$AWK"; then 2772 if test -n "$AWK"; then
2708 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2773 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2709 else 2774 else
2711 for as_dir in $PATH 2776 for as_dir in $PATH
2712 do 2777 do
2713 IFS=$as_save_IFS 2778 IFS=$as_save_IFS
2714 test -z "$as_dir" && as_dir=. 2779 test -z "$as_dir" && as_dir=.
2715 for ac_exec_ext in '' $ac_executable_extensions; do 2780 for ac_exec_ext in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2717 ac_cv_prog_AWK="$ac_prog" 2782 ac_cv_prog_AWK="$ac_prog"
2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 break 2 2784 break 2
2720 fi 2785 fi
2721 done 2786 done
2739 2804
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2741 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2806 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2742 set x ${MAKE-make} 2807 set x ${MAKE-make}
2743 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2808 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2744 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2809 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2745 $as_echo_n "(cached) " >&6 2810 $as_echo_n "(cached) " >&6
2746 else 2811 else
2747 cat >conftest.make <<\_ACEOF 2812 cat >conftest.make <<\_ACEOF
2748 SHELL = /bin/sh 2813 SHELL = /bin/sh
2749 all: 2814 all:
2750 @echo '@@@%%%=$(MAKE)=@@@%%%' 2815 @echo '@@@%%%=$(MAKE)=@@@%%%'
2751 _ACEOF 2816 _ACEOF
2752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2753 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2818 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2754 *@@@%%%=?*=@@@%%%*) 2819 *@@@%%%=?*=@@@%%%*)
2755 eval ac_cv_prog_make_${ac_make}_set=yes;; 2820 eval ac_cv_prog_make_${ac_make}_set=yes;;
2756 *) 2821 *)
2757 eval ac_cv_prog_make_${ac_make}_set=no;; 2822 eval ac_cv_prog_make_${ac_make}_set=no;;
2775 else 2840 else
2776 am__leading_dot=_ 2841 am__leading_dot=_
2777 fi 2842 fi
2778 rmdir .tst 2>/dev/null 2843 rmdir .tst 2>/dev/null
2779 2844
2845 # Check whether --enable-silent-rules was given.
2846 if test "${enable_silent_rules+set}" = set; then :
2847 enableval=$enable_silent_rules;
2848 fi
2849
2850 case $enable_silent_rules in # (((
2851 yes) AM_DEFAULT_VERBOSITY=0;;
2852 no) AM_DEFAULT_VERBOSITY=1;;
2853 *) AM_DEFAULT_VERBOSITY=1;;
2854 esac
2855 am_make=${MAKE-make}
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2857 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2858 if ${am_cv_make_support_nested_variables+:} false; then :
2859 $as_echo_n "(cached) " >&6
2860 else
2861 if $as_echo 'TRUE=$(BAR$(V))
2862 BAR0=false
2863 BAR1=true
2864 V=1
2865 am__doit:
2866 @$(TRUE)
2867 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2868 am_cv_make_support_nested_variables=yes
2869 else
2870 am_cv_make_support_nested_variables=no
2871 fi
2872 fi
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2874 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2875 if test $am_cv_make_support_nested_variables = yes; then
2876 AM_V='$(V)'
2877 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2878 else
2879 AM_V=$AM_DEFAULT_VERBOSITY
2880 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2881 fi
2882 AM_BACKSLASH='\'
2883
2780 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2884 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2781 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2885 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2782 # is not polluted with repeated "-I." 2886 # is not polluted with repeated "-I."
2783 am__isrc=' -I$(srcdir)' 2887 am__isrc=' -I$(srcdir)'
2784 # test to see if srcdir already configured 2888 # test to see if srcdir already configured
2785 if test -f $srcdir/config.status; then 2889 if test -f $srcdir/config.status; then
2786 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2890 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2787 fi 2891 fi
2788 fi 2892 fi
2789 2893
2790 # test whether we have cygpath 2894 # test whether we have cygpath
2791 if test -z "$CYGPATH_W"; then 2895 if test -z "$CYGPATH_W"; then
2796 fi 2900 fi
2797 fi 2901 fi
2798 2902
2799 2903
2800 # Define the identity of the package. 2904 # Define the identity of the package.
2801 PACKAGE=zlib 2905 PACKAGE='zlib'
2802 VERSION=1.1.4 2906 VERSION='1.1.4'
2803 2907
2804 2908
2805 cat >>confdefs.h <<_ACEOF 2909 cat >>confdefs.h <<_ACEOF
2806 #define PACKAGE "$PACKAGE" 2910 #define PACKAGE "$PACKAGE"
2807 _ACEOF 2911 _ACEOF
2825 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2929 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2826 2930
2827 2931
2828 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2932 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2829 2933
2830 # We need awk for the "check" target. The system "awk" is bad on 2934 # For better backward compatibility. To be removed once Automake 1.9.x
2831 # some platforms. 2935 # dies out for good. For more background, see:
2936 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2937 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2938 mkdir_p='$(MKDIR_P)'
2939
2940 # We need awk for the "check" target (and possibly the TAP driver). The
2941 # system "awk" is bad on some platforms.
2832 # Always define AMTAR for backward compatibility. Yes, it's still used 2942 # Always define AMTAR for backward compatibility. Yes, it's still used
2833 # in the wild :-( We should find a proper way to deprecate it ... 2943 # in the wild :-( We should find a proper way to deprecate it ...
2834 AMTAR='$${TAR-tar}' 2944 AMTAR='$${TAR-tar}'
2835 2945
2946
2947 # We'll loop over all known methods to create a tar archive until one works.
2948 _am_tools='gnutar pax cpio none'
2949
2836 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2950 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2837 2951
2838 2952
2839 2953
2840 2954
2955
2956
2957 # POSIX will say in a future version that running "rm -f" with no argument
2958 # is OK; and we want to be able to make that assumption in our Makefile
2959 # recipes. So use an aggressive probe to check that the usage we want is
2960 # actually supported "in the wild" to an acceptable degree.
2961 # See automake bug#10828.
2962 # To make any issue more visible, cause the running configure to be aborted
2963 # by default if the 'rm' program in use doesn't match our expectations; the
2964 # user can still override this though.
2965 if rm -f && rm -fr && rm -rf; then : OK; else
2966 cat >&2 <<'END'
2967 Oops!
2968
2969 Your 'rm' program seems unable to run without file operands specified
2970 on the command line, even when the '-f' option is present. This is contrary
2971 to the behaviour of most rm programs out there, and not conforming with
2972 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2973
2974 Please tell bug-automake@gnu.org about your system, including the value
2975 of your $PATH and any error possibly output before this message. This
2976 can help us improve future automake versions.
2977
2978 END
2979 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2980 echo 'Configuration will proceed anyway, since you have set the' >&2
2981 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2982 echo >&2
2983 else
2984 cat >&2 <<'END'
2985 Aborting the configuration process, to ensure you take notice of the issue.
2986
2987 You can download and install GNU coreutils to get an 'rm' implementation
2988 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2989
2990 If you want to complete the configuration process using your problematic
2991 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2992 to "yes", and re-run configure.
2993
2994 END
2995 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2996 fi
2997 fi
2841 2998
2842 2999
2843 3000
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2845 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3002 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2888 # Check whether --enable-multilib was given. 3045 # Check whether --enable-multilib was given.
2889 if test "${enable_multilib+set}" = set; then : 3046 if test "${enable_multilib+set}" = set; then :
2890 enableval=$enable_multilib; case "${enableval}" in 3047 enableval=$enable_multilib; case "${enableval}" in
2891 yes) multilib=yes ;; 3048 yes) multilib=yes ;;
2892 no) multilib=no ;; 3049 no) multilib=no ;;
2893 *) as_fn_error "bad value ${enableval} for multilib option" "$LINENO" 5 ;; 3050 *) as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
2894 esac 3051 esac
2895 else 3052 else
2896 test -z "$with_target_subdir" && multilib=no || multilib=yes 3053 test -z "$with_target_subdir" && multilib=no || multilib=yes
2897 fi 3054 fi
2898 3055
2921 if test -n "$ac_tool_prefix"; then 3078 if test -n "$ac_tool_prefix"; then
2922 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3079 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2923 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3080 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; } 3082 $as_echo_n "checking for $ac_word... " >&6; }
2926 if test "${ac_cv_prog_CC+set}" = set; then : 3083 if ${ac_cv_prog_CC+:} false; then :
2927 $as_echo_n "(cached) " >&6 3084 $as_echo_n "(cached) " >&6
2928 else 3085 else
2929 if test -n "$CC"; then 3086 if test -n "$CC"; then
2930 ac_cv_prog_CC="$CC" # Let the user override the test. 3087 ac_cv_prog_CC="$CC" # Let the user override the test.
2931 else 3088 else
2933 for as_dir in $PATH 3090 for as_dir in $PATH
2934 do 3091 do
2935 IFS=$as_save_IFS 3092 IFS=$as_save_IFS
2936 test -z "$as_dir" && as_dir=. 3093 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do 3094 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3096 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 break 2 3098 break 2
2942 fi 3099 fi
2943 done 3100 done
2961 ac_ct_CC=$CC 3118 ac_ct_CC=$CC
2962 # Extract the first word of "gcc", so it can be a program name with args. 3119 # Extract the first word of "gcc", so it can be a program name with args.
2963 set dummy gcc; ac_word=$2 3120 set dummy gcc; ac_word=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; } 3122 $as_echo_n "checking for $ac_word... " >&6; }
2966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3123 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2967 $as_echo_n "(cached) " >&6 3124 $as_echo_n "(cached) " >&6
2968 else 3125 else
2969 if test -n "$ac_ct_CC"; then 3126 if test -n "$ac_ct_CC"; then
2970 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3127 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2971 else 3128 else
2973 for as_dir in $PATH 3130 for as_dir in $PATH
2974 do 3131 do
2975 IFS=$as_save_IFS 3132 IFS=$as_save_IFS
2976 test -z "$as_dir" && as_dir=. 3133 test -z "$as_dir" && as_dir=.
2977 for ac_exec_ext in '' $ac_executable_extensions; do 3134 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2979 ac_cv_prog_ac_ct_CC="gcc" 3136 ac_cv_prog_ac_ct_CC="gcc"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 break 2 3138 break 2
2982 fi 3139 fi
2983 done 3140 done
3014 if test -n "$ac_tool_prefix"; then 3171 if test -n "$ac_tool_prefix"; then
3015 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3172 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3016 set dummy ${ac_tool_prefix}cc; ac_word=$2 3173 set dummy ${ac_tool_prefix}cc; ac_word=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; } 3175 $as_echo_n "checking for $ac_word... " >&6; }
3019 if test "${ac_cv_prog_CC+set}" = set; then : 3176 if ${ac_cv_prog_CC+:} false; then :
3020 $as_echo_n "(cached) " >&6 3177 $as_echo_n "(cached) " >&6
3021 else 3178 else
3022 if test -n "$CC"; then 3179 if test -n "$CC"; then
3023 ac_cv_prog_CC="$CC" # Let the user override the test. 3180 ac_cv_prog_CC="$CC" # Let the user override the test.
3024 else 3181 else
3026 for as_dir in $PATH 3183 for as_dir in $PATH
3027 do 3184 do
3028 IFS=$as_save_IFS 3185 IFS=$as_save_IFS
3029 test -z "$as_dir" && as_dir=. 3186 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do 3187 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3032 ac_cv_prog_CC="${ac_tool_prefix}cc" 3189 ac_cv_prog_CC="${ac_tool_prefix}cc"
3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 break 2 3191 break 2
3035 fi 3192 fi
3036 done 3193 done
3054 if test -z "$CC"; then 3211 if test -z "$CC"; then
3055 # Extract the first word of "cc", so it can be a program name with args. 3212 # Extract the first word of "cc", so it can be a program name with args.
3056 set dummy cc; ac_word=$2 3213 set dummy cc; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; } 3215 $as_echo_n "checking for $ac_word... " >&6; }
3059 if test "${ac_cv_prog_CC+set}" = set; then : 3216 if ${ac_cv_prog_CC+:} false; then :
3060 $as_echo_n "(cached) " >&6 3217 $as_echo_n "(cached) " >&6
3061 else 3218 else
3062 if test -n "$CC"; then 3219 if test -n "$CC"; then
3063 ac_cv_prog_CC="$CC" # Let the user override the test. 3220 ac_cv_prog_CC="$CC" # Let the user override the test.
3064 else 3221 else
3067 for as_dir in $PATH 3224 for as_dir in $PATH
3068 do 3225 do
3069 IFS=$as_save_IFS 3226 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=. 3227 test -z "$as_dir" && as_dir=.
3071 for ac_exec_ext in '' $ac_executable_extensions; do 3228 for ac_exec_ext in '' $ac_executable_extensions; do
3072 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
3073 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3230 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3074 ac_prog_rejected=yes 3231 ac_prog_rejected=yes
3075 continue 3232 continue
3076 fi 3233 fi
3077 ac_cv_prog_CC="cc" 3234 ac_cv_prog_CC="cc"
3113 do 3270 do
3114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3115 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; } 3274 $as_echo_n "checking for $ac_word... " >&6; }
3118 if test "${ac_cv_prog_CC+set}" = set; then : 3275 if ${ac_cv_prog_CC+:} false; then :
3119 $as_echo_n "(cached) " >&6 3276 $as_echo_n "(cached) " >&6
3120 else 3277 else
3121 if test -n "$CC"; then 3278 if test -n "$CC"; then
3122 ac_cv_prog_CC="$CC" # Let the user override the test. 3279 ac_cv_prog_CC="$CC" # Let the user override the test.
3123 else 3280 else
3125 for as_dir in $PATH 3282 for as_dir in $PATH
3126 do 3283 do
3127 IFS=$as_save_IFS 3284 IFS=$as_save_IFS
3128 test -z "$as_dir" && as_dir=. 3285 test -z "$as_dir" && as_dir=.
3129 for ac_exec_ext in '' $ac_executable_extensions; do 3286 for ac_exec_ext in '' $ac_executable_extensions; do
3130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3288 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 break 2 3290 break 2
3134 fi 3291 fi
3135 done 3292 done
3157 do 3314 do
3158 # Extract the first word of "$ac_prog", so it can be a program name with args. 3315 # Extract the first word of "$ac_prog", so it can be a program name with args.
3159 set dummy $ac_prog; ac_word=$2 3316 set dummy $ac_prog; ac_word=$2
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161 $as_echo_n "checking for $ac_word... " >&6; } 3318 $as_echo_n "checking for $ac_word... " >&6; }
3162 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3319 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3163 $as_echo_n "(cached) " >&6 3320 $as_echo_n "(cached) " >&6
3164 else 3321 else
3165 if test -n "$ac_ct_CC"; then 3322 if test -n "$ac_ct_CC"; then
3166 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3323 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3167 else 3324 else
3169 for as_dir in $PATH 3326 for as_dir in $PATH
3170 do 3327 do
3171 IFS=$as_save_IFS 3328 IFS=$as_save_IFS
3172 test -z "$as_dir" && as_dir=. 3329 test -z "$as_dir" && as_dir=.
3173 for ac_exec_ext in '' $ac_executable_extensions; do 3330 for ac_exec_ext in '' $ac_executable_extensions; do
3174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3175 ac_cv_prog_ac_ct_CC="$ac_prog" 3332 ac_cv_prog_ac_ct_CC="$ac_prog"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 break 2 3334 break 2
3178 fi 3335 fi
3179 done 3336 done
3211 fi 3368 fi
3212 3369
3213 3370
3214 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3371 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216 as_fn_error "no acceptable C compiler found in \$PATH 3373 as_fn_error $? "no acceptable C compiler found in \$PATH
3217 See \`config.log' for more details." "$LINENO" 5; } 3374 See \`config.log' for more details" "$LINENO" 5; }
3218 3375
3219 # Provide some information about the compiler. 3376 # Provide some information about the compiler.
3220 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3377 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3221 set X $ac_compile 3378 set X $ac_compile
3222 ac_compiler=$2 3379 ac_compiler=$2
3233 if test -s conftest.err; then 3390 if test -s conftest.err; then
3234 sed '10a\ 3391 sed '10a\
3235 ... rest of stderr output deleted ... 3392 ... rest of stderr output deleted ...
3236 10q' conftest.err >conftest.er1 3393 10q' conftest.err >conftest.er1
3237 cat conftest.er1 >&5 3394 cat conftest.er1 >&5
3238 rm -f conftest.er1 conftest.err
3239 fi 3395 fi
3396 rm -f conftest.er1 conftest.err
3240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3241 test $ac_status = 0; } 3398 test $ac_status = 0; }
3242 done 3399 done
3243 3400
3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 ; 3436 ;
3280 return 0; 3437 return 0;
3281 } 3438 }
3282 _ACEOF 3439 _ACEOF
3283 ac_clean_files_save=$ac_clean_files 3440 ac_clean_files_save=$ac_clean_files
3284 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 3441 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3285 # Try to create an executable without -o first, disregard a.out. 3442 # Try to create an executable without -o first, disregard a.out.
3286 # It will help us diagnose broken compilers, and finding out an intuition 3443 # It will help us diagnose broken compilers, and finding out an intuition
3287 # of exeext. 3444 # of exeext.
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3289 $as_echo_n "checking for C compiler default output file name... " >&6; } 3446 $as_echo_n "checking whether the C compiler works... " >&6; }
3290 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3447 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3291 3448
3292 # The possible output files: 3449 # The possible output files:
3293 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3450 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3294 3451
3346 test "$ac_cv_exeext" = no && ac_cv_exeext= 3503 test "$ac_cv_exeext" = no && ac_cv_exeext=
3347 3504
3348 else 3505 else
3349 ac_file='' 3506 ac_file=''
3350 fi 3507 fi
3508 if test -z "$ac_file"; then :
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510 $as_echo "no" >&6; }
3511 $as_echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.$ac_ext >&5
3513
3514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516 as_fn_error 77 "C compiler cannot create executables
3517 See \`config.log' for more details" "$LINENO" 5; }
3518 else
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3520 $as_echo "yes" >&6; }
3521 fi
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3523 $as_echo_n "checking for C compiler default output file name... " >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3352 $as_echo "$ac_file" >&6; } 3525 $as_echo "$ac_file" >&6; }
3353 if test -z "$ac_file"; then :
3354 $as_echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3356
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 { as_fn_set_status 77
3360 as_fn_error "C compiler cannot create executables
3361 See \`config.log' for more details." "$LINENO" 5; }; }
3362 fi
3363 ac_exeext=$ac_cv_exeext 3526 ac_exeext=$ac_cv_exeext
3364 3527
3365 # Check that the compiler produces executables we can run. If not, either 3528 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3366 # the compiler is broken, or we cross compile.
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3368 $as_echo_n "checking whether the C compiler works... " >&6; }
3369 # If not cross compiling, check that we can run a simple program.
3370 if test "$cross_compiling" != yes; then
3371 if { ac_try='./$ac_file'
3372 { { case "(($ac_try" in
3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3375 esac
3376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3377 $as_echo "$ac_try_echo"; } >&5
3378 (eval "$ac_try") 2>&5
3379 ac_status=$?
3380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381 test $ac_status = 0; }; }; then
3382 cross_compiling=no
3383 else
3384 if test "$cross_compiling" = maybe; then
3385 cross_compiling=yes
3386 else
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error "cannot run C compiled programs.
3390 If you meant to cross compile, use \`--host'.
3391 See \`config.log' for more details." "$LINENO" 5; }
3392 fi
3393 fi
3394 fi
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3396 $as_echo "yes" >&6; }
3397
3398 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3399 ac_clean_files=$ac_clean_files_save 3529 ac_clean_files=$ac_clean_files_save
3400 # Check that the compiler produces executables we can run. If not, either
3401 # the compiler is broken, or we cross compile.
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3403 $as_echo_n "checking whether we are cross compiling... " >&6; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3405 $as_echo "$cross_compiling" >&6; }
3406
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3408 $as_echo_n "checking for suffix of executables... " >&6; } 3531 $as_echo_n "checking for suffix of executables... " >&6; }
3409 if { { ac_try="$ac_link" 3532 if { { ac_try="$ac_link"
3410 case "(($ac_try" in 3533 case "(($ac_try" in
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 esac 3554 esac
3432 done 3555 done
3433 else 3556 else
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error "cannot compute suffix of executables: cannot compile and link 3559 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3437 See \`config.log' for more details." "$LINENO" 5; } 3560 See \`config.log' for more details" "$LINENO" 5; }
3438 fi 3561 fi
3439 rm -f conftest$ac_cv_exeext 3562 rm -f conftest conftest$ac_cv_exeext
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3441 $as_echo "$ac_cv_exeext" >&6; } 3564 $as_echo "$ac_cv_exeext" >&6; }
3442 3565
3443 rm -f conftest.$ac_ext 3566 rm -f conftest.$ac_ext
3444 EXEEXT=$ac_cv_exeext 3567 EXEEXT=$ac_cv_exeext
3445 ac_exeext=$EXEEXT 3568 ac_exeext=$EXEEXT
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3571 #include <stdio.h>
3572 int
3573 main ()
3574 {
3575 FILE *f = fopen ("conftest.out", "w");
3576 return ferror (f) || fclose (f) != 0;
3577
3578 ;
3579 return 0;
3580 }
3581 _ACEOF
3582 ac_clean_files="$ac_clean_files conftest.out"
3583 # Check that the compiler produces executables we can run. If not, either
3584 # the compiler is broken, or we cross compile.
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3586 $as_echo_n "checking whether we are cross compiling... " >&6; }
3587 if test "$cross_compiling" != yes; then
3588 { { ac_try="$ac_link"
3589 case "(($ac_try" in
3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3592 esac
3593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594 $as_echo "$ac_try_echo"; } >&5
3595 (eval "$ac_link") 2>&5
3596 ac_status=$?
3597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598 test $ac_status = 0; }
3599 if { ac_try='./conftest$ac_cv_exeext'
3600 { { case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3603 esac
3604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3605 $as_echo "$ac_try_echo"; } >&5
3606 (eval "$ac_try") 2>&5
3607 ac_status=$?
3608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3609 test $ac_status = 0; }; }; then
3610 cross_compiling=no
3611 else
3612 if test "$cross_compiling" = maybe; then
3613 cross_compiling=yes
3614 else
3615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3617 as_fn_error $? "cannot run C compiled programs.
3618 If you meant to cross compile, use \`--host'.
3619 See \`config.log' for more details" "$LINENO" 5; }
3620 fi
3621 fi
3622 fi
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3624 $as_echo "$cross_compiling" >&6; }
3625
3626 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3627 ac_clean_files=$ac_clean_files_save
3446 fi 3628 fi
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3448 $as_echo_n "checking for suffix of object files... " >&6; } 3630 $as_echo_n "checking for suffix of object files... " >&6; }
3449 if test "${ac_cv_objext+set}" = set; then : 3631 if ${ac_cv_objext+:} false; then :
3450 $as_echo_n "(cached) " >&6 3632 $as_echo_n "(cached) " >&6
3451 else 3633 else
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */ 3635 /* end confdefs.h. */
3454 3636
3484 $as_echo "$as_me: failed program was:" >&5 3666 $as_echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5 3667 sed 's/^/| /' conftest.$ac_ext >&5
3486 3668
3487 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489 as_fn_error "cannot compute suffix of object files: cannot compile 3671 as_fn_error $? "cannot compute suffix of object files: cannot compile
3490 See \`config.log' for more details." "$LINENO" 5; } 3672 See \`config.log' for more details" "$LINENO" 5; }
3491 fi 3673 fi
3492 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3674 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3493 fi 3675 fi
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3495 $as_echo "$ac_cv_objext" >&6; } 3677 $as_echo "$ac_cv_objext" >&6; }
3496 OBJEXT=$ac_cv_objext 3678 OBJEXT=$ac_cv_objext
3497 ac_objext=$OBJEXT 3679 ac_objext=$OBJEXT
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3499 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3681 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3500 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3682 if ${ac_cv_c_compiler_gnu+:} false; then :
3501 $as_echo_n "(cached) " >&6 3683 $as_echo_n "(cached) " >&6
3502 else 3684 else
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */ 3686 /* end confdefs.h. */
3505 3687
3532 fi 3714 fi
3533 ac_test_CFLAGS=${CFLAGS+set} 3715 ac_test_CFLAGS=${CFLAGS+set}
3534 ac_save_CFLAGS=$CFLAGS 3716 ac_save_CFLAGS=$CFLAGS
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3536 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3718 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3537 if test "${ac_cv_prog_cc_g+set}" = set; then : 3719 if ${ac_cv_prog_cc_g+:} false; then :
3538 $as_echo_n "(cached) " >&6 3720 $as_echo_n "(cached) " >&6
3539 else 3721 else
3540 ac_save_c_werror_flag=$ac_c_werror_flag 3722 ac_save_c_werror_flag=$ac_c_werror_flag
3541 ac_c_werror_flag=yes 3723 ac_c_werror_flag=yes
3542 ac_cv_prog_cc_g=no 3724 ac_cv_prog_cc_g=no
3610 CFLAGS= 3792 CFLAGS=
3611 fi 3793 fi
3612 fi 3794 fi
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3796 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3797 if ${ac_cv_prog_cc_c89+:} false; then :
3616 $as_echo_n "(cached) " >&6 3798 $as_echo_n "(cached) " >&6
3617 else 3799 else
3618 ac_cv_prog_cc_c89=no 3800 ac_cv_prog_cc_c89=no
3619 ac_save_CC=$CC 3801 ac_save_CC=$CC
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */ 3803 /* end confdefs.h. */
3622 #include <stdarg.h> 3804 #include <stdarg.h>
3623 #include <stdio.h> 3805 #include <stdio.h>
3624 #include <sys/types.h> 3806 struct stat;
3625 #include <sys/stat.h>
3626 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3807 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3627 struct buf { int x; }; 3808 struct buf { int x; };
3628 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3809 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3629 static char *e (p, i) 3810 static char *e (p, i)
3630 char **p; 3811 char **p;
3704 ac_ext=c 3885 ac_ext=c
3705 ac_cpp='$CPP $CPPFLAGS' 3886 ac_cpp='$CPP $CPPFLAGS'
3706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3890
3891 ac_ext=c
3892 ac_cpp='$CPP $CPPFLAGS'
3893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3897 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3898 if ${am_cv_prog_cc_c_o+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3903
3904 int
3905 main ()
3906 {
3907
3908 ;
3909 return 0;
3910 }
3911 _ACEOF
3912 # Make sure it works both with $CC and with simple cc.
3913 # Following AC_PROG_CC_C_O, we do the test twice because some
3914 # compilers refuse to overwrite an existing .o file with -o,
3915 # though they will create one.
3916 am_cv_prog_cc_c_o=yes
3917 for am_i in 1 2; do
3918 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3919 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3920 ac_status=$?
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } \
3923 && test -f conftest2.$ac_objext; then
3924 : OK
3925 else
3926 am_cv_prog_cc_c_o=no
3927 break
3928 fi
3929 done
3930 rm -f core conftest*
3931 unset am_i
3932 fi
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3934 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3935 if test "$am_cv_prog_cc_c_o" != yes; then
3936 # Losing compiler, so override with the script.
3937 # FIXME: It is wrong to rewrite CC.
3938 # But if we don't then we get into trouble of one sort or another.
3939 # A longer-term fix would be to have automake use am__CC in this case,
3940 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3941 CC="$am_aux_dir/compile $CC"
3942 fi
3943 ac_ext=c
3944 ac_cpp='$CPP $CPPFLAGS'
3945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3948
3709 DEPDIR="${am__leading_dot}deps" 3949 DEPDIR="${am__leading_dot}deps"
3710 3950
3711 ac_config_commands="$ac_config_commands depfiles" 3951 ac_config_commands="$ac_config_commands depfiles"
3712 3952
3713 3953
3723 am__include="#" 3963 am__include="#"
3724 am__quote= 3964 am__quote=
3725 _am_result=none 3965 _am_result=none
3726 # First try GNU make style include. 3966 # First try GNU make style include.
3727 echo "include confinc" > confmf 3967 echo "include confinc" > confmf
3728 # Ignore all kinds of additional output from `make'. 3968 # Ignore all kinds of additional output from 'make'.
3729 case `$am_make -s -f confmf 2> /dev/null` in #( 3969 case `$am_make -s -f confmf 2> /dev/null` in #(
3730 *the\ am__doit\ target*) 3970 *the\ am__doit\ target*)
3731 am__include=include 3971 am__include=include
3732 am__quote= 3972 am__quote=
3733 _am_result=GNU 3973 _am_result=GNU
3772 4012
3773 depcc="$CC" am_compiler_list= 4013 depcc="$CC" am_compiler_list=
3774 4014
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3776 $as_echo_n "checking dependency style of $depcc... " >&6; } 4016 $as_echo_n "checking dependency style of $depcc... " >&6; }
3777 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4017 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3778 $as_echo_n "(cached) " >&6 4018 $as_echo_n "(cached) " >&6
3779 else 4019 else
3780 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4020 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3781 # We make a subdir and do the tests there. Otherwise we can end up 4021 # We make a subdir and do the tests there. Otherwise we can end up
3782 # making bogus files that we don't know about and never remove. For 4022 # making bogus files that we don't know about and never remove. For
3783 # instance it was reported that on HP-UX the gcc test will end up 4023 # instance it was reported that on HP-UX the gcc test will end up
3784 # making a dummy file named `D' -- because `-MD' means `put the output 4024 # making a dummy file named 'D' -- because '-MD' means "put the output
3785 # in D'. 4025 # in D".
3786 rm -rf conftest.dir 4026 rm -rf conftest.dir
3787 mkdir conftest.dir 4027 mkdir conftest.dir
3788 # Copy depcomp to subdir because otherwise we won't find it if we're 4028 # Copy depcomp to subdir because otherwise we won't find it if we're
3789 # using a relative directory. 4029 # using a relative directory.
3790 cp "$am_depcomp" conftest.dir 4030 cp "$am_depcomp" conftest.dir
3815 # overwrite some of them when testing with obscure command lines. 4055 # overwrite some of them when testing with obscure command lines.
3816 # This happens at least with the AIX C compiler. 4056 # This happens at least with the AIX C compiler.
3817 : > sub/conftest.c 4057 : > sub/conftest.c
3818 for i in 1 2 3 4 5 6; do 4058 for i in 1 2 3 4 5 6; do
3819 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4059 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3820 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4060 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3821 # Solaris 8's {/usr,}/bin/sh. 4061 # Solaris 10 /bin/sh.
3822 touch sub/conftst$i.h 4062 echo '/* dummy */' > sub/conftst$i.h
3823 done 4063 done
3824 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4064 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3825 4065
3826 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4066 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3827 # mode. It turns out that the SunPro C++ compiler does not properly 4067 # mode. It turns out that the SunPro C++ compiler does not properly
3828 # handle `-M -o', and we need to detect this. Also, some Intel 4068 # handle '-M -o', and we need to detect this. Also, some Intel
3829 # versions had trouble with output in subdirs 4069 # versions had trouble with output in subdirs.
3830 am__obj=sub/conftest.${OBJEXT-o} 4070 am__obj=sub/conftest.${OBJEXT-o}
3831 am__minus_obj="-o $am__obj" 4071 am__minus_obj="-o $am__obj"
3832 case $depmode in 4072 case $depmode in
3833 gcc) 4073 gcc)
3834 # This depmode causes a compiler race in universal mode. 4074 # This depmode causes a compiler race in universal mode.
3835 test "$am__universal" = false || continue 4075 test "$am__universal" = false || continue
3836 ;; 4076 ;;
3837 nosideeffect) 4077 nosideeffect)
3838 # after this tag, mechanisms are not by side-effect, so they'll 4078 # After this tag, mechanisms are not by side-effect, so they'll
3839 # only be used when explicitly requested 4079 # only be used when explicitly requested.
3840 if test "x$enable_dependency_tracking" = xyes; then 4080 if test "x$enable_dependency_tracking" = xyes; then
3841 continue 4081 continue
3842 else 4082 else
3843 break 4083 break
3844 fi 4084 fi
3845 ;; 4085 ;;
3846 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4086 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3847 # This compiler won't grok `-c -o', but also, the minuso test has 4087 # This compiler won't grok '-c -o', but also, the minuso test has
3848 # not run yet. These depmodes are late enough in the game, and 4088 # not run yet. These depmodes are late enough in the game, and
3849 # so weak that their functioning should not be impacted. 4089 # so weak that their functioning should not be impacted.
3850 am__obj=conftest.${OBJEXT-o} 4090 am__obj=conftest.${OBJEXT-o}
3851 am__minus_obj= 4091 am__minus_obj=
3852 ;; 4092 ;;
3996 4236
3997 4237
3998 4238
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4000 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4240 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4001 if test "${ac_cv_path_SED+set}" = set; then : 4241 if ${ac_cv_path_SED+:} false; then :
4002 $as_echo_n "(cached) " >&6 4242 $as_echo_n "(cached) " >&6
4003 else 4243 else
4004 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4244 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4005 for ac_i in 1 2 3 4 5 6 7; do 4245 for ac_i in 1 2 3 4 5 6 7; do
4006 ac_script="$ac_script$as_nl$ac_script" 4246 ac_script="$ac_script$as_nl$ac_script"
4016 IFS=$as_save_IFS 4256 IFS=$as_save_IFS
4017 test -z "$as_dir" && as_dir=. 4257 test -z "$as_dir" && as_dir=.
4018 for ac_prog in sed gsed; do 4258 for ac_prog in sed gsed; do
4019 for ac_exec_ext in '' $ac_executable_extensions; do 4259 for ac_exec_ext in '' $ac_executable_extensions; do
4020 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4260 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4021 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4261 as_fn_executable_p "$ac_path_SED" || continue
4022 # Check for GNU ac_path_SED and select it if it is found. 4262 # Check for GNU ac_path_SED and select it if it is found.
4023 # Check for GNU $ac_path_SED 4263 # Check for GNU $ac_path_SED
4024 case `"$ac_path_SED" --version 2>&1` in 4264 case `"$ac_path_SED" --version 2>&1` in
4025 *GNU*) 4265 *GNU*)
4026 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4266 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4051 done 4291 done
4052 done 4292 done
4053 done 4293 done
4054 IFS=$as_save_IFS 4294 IFS=$as_save_IFS
4055 if test -z "$ac_cv_path_SED"; then 4295 if test -z "$ac_cv_path_SED"; then
4056 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 4296 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4057 fi 4297 fi
4058 else 4298 else
4059 ac_cv_path_SED=$SED 4299 ac_cv_path_SED=$SED
4060 fi 4300 fi
4061 4301
4078 4318
4079 4319
4080 4320
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4082 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4322 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4083 if test "${ac_cv_path_GREP+set}" = set; then : 4323 if ${ac_cv_path_GREP+:} false; then :
4084 $as_echo_n "(cached) " >&6 4324 $as_echo_n "(cached) " >&6
4085 else 4325 else
4086 if test -z "$GREP"; then 4326 if test -z "$GREP"; then
4087 ac_path_GREP_found=false 4327 ac_path_GREP_found=false
4088 # Loop through the user's path and test for each of PROGNAME-LIST 4328 # Loop through the user's path and test for each of PROGNAME-LIST
4092 IFS=$as_save_IFS 4332 IFS=$as_save_IFS
4093 test -z "$as_dir" && as_dir=. 4333 test -z "$as_dir" && as_dir=.
4094 for ac_prog in grep ggrep; do 4334 for ac_prog in grep ggrep; do
4095 for ac_exec_ext in '' $ac_executable_extensions; do 4335 for ac_exec_ext in '' $ac_executable_extensions; do
4096 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4336 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4097 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4337 as_fn_executable_p "$ac_path_GREP" || continue
4098 # Check for GNU ac_path_GREP and select it if it is found. 4338 # Check for GNU ac_path_GREP and select it if it is found.
4099 # Check for GNU $ac_path_GREP 4339 # Check for GNU $ac_path_GREP
4100 case `"$ac_path_GREP" --version 2>&1` in 4340 case `"$ac_path_GREP" --version 2>&1` in
4101 *GNU*) 4341 *GNU*)
4102 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4342 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4127 done 4367 done
4128 done 4368 done
4129 done 4369 done
4130 IFS=$as_save_IFS 4370 IFS=$as_save_IFS
4131 if test -z "$ac_cv_path_GREP"; then 4371 if test -z "$ac_cv_path_GREP"; then
4132 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4372 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4133 fi 4373 fi
4134 else 4374 else
4135 ac_cv_path_GREP=$GREP 4375 ac_cv_path_GREP=$GREP
4136 fi 4376 fi
4137 4377
4141 GREP="$ac_cv_path_GREP" 4381 GREP="$ac_cv_path_GREP"
4142 4382
4143 4383
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4145 $as_echo_n "checking for egrep... " >&6; } 4385 $as_echo_n "checking for egrep... " >&6; }
4146 if test "${ac_cv_path_EGREP+set}" = set; then : 4386 if ${ac_cv_path_EGREP+:} false; then :
4147 $as_echo_n "(cached) " >&6 4387 $as_echo_n "(cached) " >&6
4148 else 4388 else
4149 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4389 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4150 then ac_cv_path_EGREP="$GREP -E" 4390 then ac_cv_path_EGREP="$GREP -E"
4151 else 4391 else
4158 IFS=$as_save_IFS 4398 IFS=$as_save_IFS
4159 test -z "$as_dir" && as_dir=. 4399 test -z "$as_dir" && as_dir=.
4160 for ac_prog in egrep; do 4400 for ac_prog in egrep; do
4161 for ac_exec_ext in '' $ac_executable_extensions; do 4401 for ac_exec_ext in '' $ac_executable_extensions; do
4162 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4402 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4163 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4403 as_fn_executable_p "$ac_path_EGREP" || continue
4164 # Check for GNU ac_path_EGREP and select it if it is found. 4404 # Check for GNU ac_path_EGREP and select it if it is found.
4165 # Check for GNU $ac_path_EGREP 4405 # Check for GNU $ac_path_EGREP
4166 case `"$ac_path_EGREP" --version 2>&1` in 4406 case `"$ac_path_EGREP" --version 2>&1` in
4167 *GNU*) 4407 *GNU*)
4168 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4408 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4193 done 4433 done
4194 done 4434 done
4195 done 4435 done
4196 IFS=$as_save_IFS 4436 IFS=$as_save_IFS
4197 if test -z "$ac_cv_path_EGREP"; then 4437 if test -z "$ac_cv_path_EGREP"; then
4198 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4438 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4199 fi 4439 fi
4200 else 4440 else
4201 ac_cv_path_EGREP=$EGREP 4441 ac_cv_path_EGREP=$EGREP
4202 fi 4442 fi
4203 4443
4208 EGREP="$ac_cv_path_EGREP" 4448 EGREP="$ac_cv_path_EGREP"
4209 4449
4210 4450
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4212 $as_echo_n "checking for fgrep... " >&6; } 4452 $as_echo_n "checking for fgrep... " >&6; }
4213 if test "${ac_cv_path_FGREP+set}" = set; then : 4453 if ${ac_cv_path_FGREP+:} false; then :
4214 $as_echo_n "(cached) " >&6 4454 $as_echo_n "(cached) " >&6
4215 else 4455 else
4216 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4456 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4217 then ac_cv_path_FGREP="$GREP -F" 4457 then ac_cv_path_FGREP="$GREP -F"
4218 else 4458 else
4225 IFS=$as_save_IFS 4465 IFS=$as_save_IFS
4226 test -z "$as_dir" && as_dir=. 4466 test -z "$as_dir" && as_dir=.
4227 for ac_prog in fgrep; do 4467 for ac_prog in fgrep; do
4228 for ac_exec_ext in '' $ac_executable_extensions; do 4468 for ac_exec_ext in '' $ac_executable_extensions; do
4229 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4469 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4230 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4470 as_fn_executable_p "$ac_path_FGREP" || continue
4231 # Check for GNU ac_path_FGREP and select it if it is found. 4471 # Check for GNU ac_path_FGREP and select it if it is found.
4232 # Check for GNU $ac_path_FGREP 4472 # Check for GNU $ac_path_FGREP
4233 case `"$ac_path_FGREP" --version 2>&1` in 4473 case `"$ac_path_FGREP" --version 2>&1` in
4234 *GNU*) 4474 *GNU*)
4235 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4475 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4260 done 4500 done
4261 done 4501 done
4262 done 4502 done
4263 IFS=$as_save_IFS 4503 IFS=$as_save_IFS
4264 if test -z "$ac_cv_path_FGREP"; then 4504 if test -z "$ac_cv_path_FGREP"; then
4265 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4505 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4266 fi 4506 fi
4267 else 4507 else
4268 ac_cv_path_FGREP=$FGREP 4508 ac_cv_path_FGREP=$FGREP
4269 fi 4509 fi
4270 4510
4339 $as_echo_n "checking for GNU ld... " >&6; } 4579 $as_echo_n "checking for GNU ld... " >&6; }
4340 else 4580 else
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4342 $as_echo_n "checking for non-GNU ld... " >&6; } 4582 $as_echo_n "checking for non-GNU ld... " >&6; }
4343 fi 4583 fi
4344 if test "${lt_cv_path_LD+set}" = set; then : 4584 if ${lt_cv_path_LD+:} false; then :
4345 $as_echo_n "(cached) " >&6 4585 $as_echo_n "(cached) " >&6
4346 else 4586 else
4347 if test -z "$LD"; then 4587 if test -z "$LD"; then
4348 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4588 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4349 for ac_dir in $PATH; do 4589 for ac_dir in $PATH; do
4376 $as_echo "$LD" >&6; } 4616 $as_echo "$LD" >&6; }
4377 else 4617 else
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; } 4619 $as_echo "no" >&6; }
4380 fi 4620 fi
4381 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 4621 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4383 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4623 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4384 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4624 if ${lt_cv_prog_gnu_ld+:} false; then :
4385 $as_echo_n "(cached) " >&6 4625 $as_echo_n "(cached) " >&6
4386 else 4626 else
4387 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4627 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4388 case `$LD -v 2>&1 </dev/null` in 4628 case `$LD -v 2>&1 </dev/null` in
4389 *GNU* | *'with BFD'*) 4629 *GNU* | *'with BFD'*)
4406 4646
4407 4647
4408 4648
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4410 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4650 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4411 if test "${lt_cv_path_NM+set}" = set; then : 4651 if ${lt_cv_path_NM+:} false; then :
4412 $as_echo_n "(cached) " >&6 4652 $as_echo_n "(cached) " >&6
4413 else 4653 else
4414 if test -n "$NM"; then 4654 if test -n "$NM"; then
4415 # Let the user override the test. 4655 # Let the user override the test.
4416 lt_cv_path_NM="$NM" 4656 lt_cv_path_NM="$NM"
4469 do 4709 do
4470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4710 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4711 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; } 4713 $as_echo_n "checking for $ac_word... " >&6; }
4474 if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 4714 if ${ac_cv_prog_DUMPBIN+:} false; then :
4475 $as_echo_n "(cached) " >&6 4715 $as_echo_n "(cached) " >&6
4476 else 4716 else
4477 if test -n "$DUMPBIN"; then 4717 if test -n "$DUMPBIN"; then
4478 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4718 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4479 else 4719 else
4481 for as_dir in $PATH 4721 for as_dir in $PATH
4482 do 4722 do
4483 IFS=$as_save_IFS 4723 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=. 4724 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do 4725 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4727 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2 4729 break 2
4490 fi 4730 fi
4491 done 4731 done
4513 do 4753 do
4514 # Extract the first word of "$ac_prog", so it can be a program name with args. 4754 # Extract the first word of "$ac_prog", so it can be a program name with args.
4515 set dummy $ac_prog; ac_word=$2 4755 set dummy $ac_prog; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; } 4757 $as_echo_n "checking for $ac_word... " >&6; }
4518 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 4758 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4519 $as_echo_n "(cached) " >&6 4759 $as_echo_n "(cached) " >&6
4520 else 4760 else
4521 if test -n "$ac_ct_DUMPBIN"; then 4761 if test -n "$ac_ct_DUMPBIN"; then
4522 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4762 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4523 else 4763 else
4525 for as_dir in $PATH 4765 for as_dir in $PATH
4526 do 4766 do
4527 IFS=$as_save_IFS 4767 IFS=$as_save_IFS
4528 test -z "$as_dir" && as_dir=. 4768 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do 4769 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4771 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 break 2 4773 break 2
4534 fi 4774 fi
4535 done 4775 done
4585 4825
4586 4826
4587 4827
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4589 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 4829 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4590 if test "${lt_cv_nm_interface+set}" = set; then : 4830 if ${lt_cv_nm_interface+:} false; then :
4591 $as_echo_n "(cached) " >&6 4831 $as_echo_n "(cached) " >&6
4592 else 4832 else
4593 lt_cv_nm_interface="BSD nm" 4833 lt_cv_nm_interface="BSD nm"
4594 echo "int some_variable = 0;" > conftest.$ac_ext 4834 echo "int some_variable = 0;" > conftest.$ac_ext
4595 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4835 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4620 fi 4860 fi
4621 4861
4622 # find the maximum length of command line arguments 4862 # find the maximum length of command line arguments
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4624 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 4864 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4625 if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 4865 if ${lt_cv_sys_max_cmd_len+:} false; then :
4626 $as_echo_n "(cached) " >&6 4866 $as_echo_n "(cached) " >&6
4627 else 4867 else
4628 i=0 4868 i=0
4629 teststring="ABCD" 4869 teststring="ABCD"
4630 4870
4817 5057
4818 5058
4819 5059
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4821 $as_echo_n "checking for $LD option to reload object files... " >&6; } 5061 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4822 if test "${lt_cv_ld_reload_flag+set}" = set; then : 5062 if ${lt_cv_ld_reload_flag+:} false; then :
4823 $as_echo_n "(cached) " >&6 5063 $as_echo_n "(cached) " >&6
4824 else 5064 else
4825 lt_cv_ld_reload_flag='-r' 5065 lt_cv_ld_reload_flag='-r'
4826 fi 5066 fi
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4853 if test -n "$ac_tool_prefix"; then 5093 if test -n "$ac_tool_prefix"; then
4854 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5094 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4855 set dummy ${ac_tool_prefix}objdump; ac_word=$2 5095 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857 $as_echo_n "checking for $ac_word... " >&6; } 5097 $as_echo_n "checking for $ac_word... " >&6; }
4858 if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 5098 if ${ac_cv_prog_OBJDUMP+:} false; then :
4859 $as_echo_n "(cached) " >&6 5099 $as_echo_n "(cached) " >&6
4860 else 5100 else
4861 if test -n "$OBJDUMP"; then 5101 if test -n "$OBJDUMP"; then
4862 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5102 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4863 else 5103 else
4865 for as_dir in $PATH 5105 for as_dir in $PATH
4866 do 5106 do
4867 IFS=$as_save_IFS 5107 IFS=$as_save_IFS
4868 test -z "$as_dir" && as_dir=. 5108 test -z "$as_dir" && as_dir=.
4869 for ac_exec_ext in '' $ac_executable_extensions; do 5109 for ac_exec_ext in '' $ac_executable_extensions; do
4870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4871 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5111 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 break 2 5113 break 2
4874 fi 5114 fi
4875 done 5115 done
4893 ac_ct_OBJDUMP=$OBJDUMP 5133 ac_ct_OBJDUMP=$OBJDUMP
4894 # Extract the first word of "objdump", so it can be a program name with args. 5134 # Extract the first word of "objdump", so it can be a program name with args.
4895 set dummy objdump; ac_word=$2 5135 set dummy objdump; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; } 5137 $as_echo_n "checking for $ac_word... " >&6; }
4898 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 5138 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4899 $as_echo_n "(cached) " >&6 5139 $as_echo_n "(cached) " >&6
4900 else 5140 else
4901 if test -n "$ac_ct_OBJDUMP"; then 5141 if test -n "$ac_ct_OBJDUMP"; then
4902 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5142 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4903 else 5143 else
4905 for as_dir in $PATH 5145 for as_dir in $PATH
4906 do 5146 do
4907 IFS=$as_save_IFS 5147 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=. 5148 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do 5149 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5151 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 break 2 5153 break 2
4914 fi 5154 fi
4915 done 5155 done
4952 5192
4953 5193
4954 5194
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4956 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 5196 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4957 if test "${lt_cv_deplibs_check_method+set}" = set; then : 5197 if ${lt_cv_deplibs_check_method+:} false; then :
4958 $as_echo_n "(cached) " >&6 5198 $as_echo_n "(cached) " >&6
4959 else 5199 else
4960 lt_cv_file_magic_cmd='$MAGIC_CMD' 5200 lt_cv_file_magic_cmd='$MAGIC_CMD'
4961 lt_cv_file_magic_test_file= 5201 lt_cv_file_magic_test_file=
4962 lt_cv_deplibs_check_method='unknown' 5202 lt_cv_deplibs_check_method='unknown'
5072 esac 5312 esac
5073 lt_cv_deplibs_check_method=pass_all 5313 lt_cv_deplibs_check_method=pass_all
5074 ;; 5314 ;;
5075 5315
5076 # This must be Linux ELF. 5316 # This must be Linux ELF.
5077 linux* | k*bsd*-gnu | kopensolaris*-gnu) 5317 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
5078 lt_cv_deplibs_check_method=pass_all 5318 lt_cv_deplibs_check_method=pass_all
5079 ;; 5319 ;;
5080 5320
5081 netbsd*) 5321 netbsd*)
5082 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5322 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5173 if test -n "$ac_tool_prefix"; then 5413 if test -n "$ac_tool_prefix"; then
5174 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5414 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5175 set dummy ${ac_tool_prefix}ar; ac_word=$2 5415 set dummy ${ac_tool_prefix}ar; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; } 5417 $as_echo_n "checking for $ac_word... " >&6; }
5178 if test "${ac_cv_prog_AR+set}" = set; then : 5418 if ${ac_cv_prog_AR+:} false; then :
5179 $as_echo_n "(cached) " >&6 5419 $as_echo_n "(cached) " >&6
5180 else 5420 else
5181 if test -n "$AR"; then 5421 if test -n "$AR"; then
5182 ac_cv_prog_AR="$AR" # Let the user override the test. 5422 ac_cv_prog_AR="$AR" # Let the user override the test.
5183 else 5423 else
5185 for as_dir in $PATH 5425 for as_dir in $PATH
5186 do 5426 do
5187 IFS=$as_save_IFS 5427 IFS=$as_save_IFS
5188 test -z "$as_dir" && as_dir=. 5428 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do 5429 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_AR="${ac_tool_prefix}ar" 5431 ac_cv_prog_AR="${ac_tool_prefix}ar"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 break 2 5433 break 2
5194 fi 5434 fi
5195 done 5435 done
5213 ac_ct_AR=$AR 5453 ac_ct_AR=$AR
5214 # Extract the first word of "ar", so it can be a program name with args. 5454 # Extract the first word of "ar", so it can be a program name with args.
5215 set dummy ar; ac_word=$2 5455 set dummy ar; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; } 5457 $as_echo_n "checking for $ac_word... " >&6; }
5218 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 5458 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5219 $as_echo_n "(cached) " >&6 5459 $as_echo_n "(cached) " >&6
5220 else 5460 else
5221 if test -n "$ac_ct_AR"; then 5461 if test -n "$ac_ct_AR"; then
5222 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5462 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5223 else 5463 else
5225 for as_dir in $PATH 5465 for as_dir in $PATH
5226 do 5466 do
5227 IFS=$as_save_IFS 5467 IFS=$as_save_IFS
5228 test -z "$as_dir" && as_dir=. 5468 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do 5469 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_ac_ct_AR="ar" 5471 ac_cv_prog_ac_ct_AR="ar"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 break 2 5473 break 2
5234 fi 5474 fi
5235 done 5475 done
5278 if test -n "$ac_tool_prefix"; then 5518 if test -n "$ac_tool_prefix"; then
5279 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5519 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5280 set dummy ${ac_tool_prefix}strip; ac_word=$2 5520 set dummy ${ac_tool_prefix}strip; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; } 5522 $as_echo_n "checking for $ac_word... " >&6; }
5283 if test "${ac_cv_prog_STRIP+set}" = set; then : 5523 if ${ac_cv_prog_STRIP+:} false; then :
5284 $as_echo_n "(cached) " >&6 5524 $as_echo_n "(cached) " >&6
5285 else 5525 else
5286 if test -n "$STRIP"; then 5526 if test -n "$STRIP"; then
5287 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5527 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5288 else 5528 else
5290 for as_dir in $PATH 5530 for as_dir in $PATH
5291 do 5531 do
5292 IFS=$as_save_IFS 5532 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=. 5533 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do 5534 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5536 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2 5538 break 2
5299 fi 5539 fi
5300 done 5540 done
5318 ac_ct_STRIP=$STRIP 5558 ac_ct_STRIP=$STRIP
5319 # Extract the first word of "strip", so it can be a program name with args. 5559 # Extract the first word of "strip", so it can be a program name with args.
5320 set dummy strip; ac_word=$2 5560 set dummy strip; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; } 5562 $as_echo_n "checking for $ac_word... " >&6; }
5323 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 5563 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5324 $as_echo_n "(cached) " >&6 5564 $as_echo_n "(cached) " >&6
5325 else 5565 else
5326 if test -n "$ac_ct_STRIP"; then 5566 if test -n "$ac_ct_STRIP"; then
5327 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5567 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5328 else 5568 else
5330 for as_dir in $PATH 5570 for as_dir in $PATH
5331 do 5571 do
5332 IFS=$as_save_IFS 5572 IFS=$as_save_IFS
5333 test -z "$as_dir" && as_dir=. 5573 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do 5574 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_ac_ct_STRIP="strip" 5576 ac_cv_prog_ac_ct_STRIP="strip"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2 5578 break 2
5339 fi 5579 fi
5340 done 5580 done
5377 if test -n "$ac_tool_prefix"; then 5617 if test -n "$ac_tool_prefix"; then
5378 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5618 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5379 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5619 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; } 5621 $as_echo_n "checking for $ac_word... " >&6; }
5382 if test "${ac_cv_prog_RANLIB+set}" = set; then : 5622 if ${ac_cv_prog_RANLIB+:} false; then :
5383 $as_echo_n "(cached) " >&6 5623 $as_echo_n "(cached) " >&6
5384 else 5624 else
5385 if test -n "$RANLIB"; then 5625 if test -n "$RANLIB"; then
5386 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5626 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5387 else 5627 else
5389 for as_dir in $PATH 5629 for as_dir in $PATH
5390 do 5630 do
5391 IFS=$as_save_IFS 5631 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=. 5632 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do 5633 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5395 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5635 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2 5637 break 2
5398 fi 5638 fi
5399 done 5639 done
5417 ac_ct_RANLIB=$RANLIB 5657 ac_ct_RANLIB=$RANLIB
5418 # Extract the first word of "ranlib", so it can be a program name with args. 5658 # Extract the first word of "ranlib", so it can be a program name with args.
5419 set dummy ranlib; ac_word=$2 5659 set dummy ranlib; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; } 5661 $as_echo_n "checking for $ac_word... " >&6; }
5422 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5662 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5423 $as_echo_n "(cached) " >&6 5663 $as_echo_n "(cached) " >&6
5424 else 5664 else
5425 if test -n "$ac_ct_RANLIB"; then 5665 if test -n "$ac_ct_RANLIB"; then
5426 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5666 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5427 else 5667 else
5429 for as_dir in $PATH 5669 for as_dir in $PATH
5430 do 5670 do
5431 IFS=$as_save_IFS 5671 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=. 5672 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do 5673 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_ac_ct_RANLIB="ranlib" 5675 ac_cv_prog_ac_ct_RANLIB="ranlib"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2 5677 break 2
5438 fi 5678 fi
5439 done 5679 done
5546 5786
5547 5787
5548 # Check for command to grab the raw symbol name followed by C symbol from nm. 5788 # Check for command to grab the raw symbol name followed by C symbol from nm.
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5550 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5790 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5551 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 5791 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5552 $as_echo_n "(cached) " >&6 5792 $as_echo_n "(cached) " >&6
5553 else 5793 else
5554 5794
5555 # These are sane defaults that work on at least a few old systems. 5795 # These are sane defaults that work on at least a few old systems.
5556 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 5796 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5931 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6171 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5932 SAVE_CFLAGS="$CFLAGS" 6172 SAVE_CFLAGS="$CFLAGS"
5933 CFLAGS="$CFLAGS -belf" 6173 CFLAGS="$CFLAGS -belf"
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5935 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6175 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5936 if test "${lt_cv_cc_needs_belf+set}" = set; then : 6176 if ${lt_cv_cc_needs_belf+:} false; then :
5937 $as_echo_n "(cached) " >&6 6177 $as_echo_n "(cached) " >&6
5938 else 6178 else
5939 ac_ext=c 6179 ac_ext=c
5940 ac_cpp='$CPP $CPPFLAGS' 6180 ac_cpp='$CPP $CPPFLAGS'
5941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5943 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5944 6184
5945 if test x$gcc_no_link = xyes; then 6185 if test x$gcc_no_link = xyes; then
5946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 6186 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5947 fi 6187 fi
5948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */ 6189 /* end confdefs.h. */
5950 6190
5951 int 6191 int
6010 if test -n "$ac_tool_prefix"; then 6250 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6251 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6012 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6252 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; } 6254 $as_echo_n "checking for $ac_word... " >&6; }
6015 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 6255 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6016 $as_echo_n "(cached) " >&6 6256 $as_echo_n "(cached) " >&6
6017 else 6257 else
6018 if test -n "$DSYMUTIL"; then 6258 if test -n "$DSYMUTIL"; then
6019 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6259 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6020 else 6260 else
6022 for as_dir in $PATH 6262 for as_dir in $PATH
6023 do 6263 do
6024 IFS=$as_save_IFS 6264 IFS=$as_save_IFS
6025 test -z "$as_dir" && as_dir=. 6265 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do 6266 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6028 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6268 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 break 2 6270 break 2
6031 fi 6271 fi
6032 done 6272 done
6050 ac_ct_DSYMUTIL=$DSYMUTIL 6290 ac_ct_DSYMUTIL=$DSYMUTIL
6051 # Extract the first word of "dsymutil", so it can be a program name with args. 6291 # Extract the first word of "dsymutil", so it can be a program name with args.
6052 set dummy dsymutil; ac_word=$2 6292 set dummy dsymutil; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; } 6294 $as_echo_n "checking for $ac_word... " >&6; }
6055 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 6295 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6056 $as_echo_n "(cached) " >&6 6296 $as_echo_n "(cached) " >&6
6057 else 6297 else
6058 if test -n "$ac_ct_DSYMUTIL"; then 6298 if test -n "$ac_ct_DSYMUTIL"; then
6059 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6299 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6060 else 6300 else
6062 for as_dir in $PATH 6302 for as_dir in $PATH
6063 do 6303 do
6064 IFS=$as_save_IFS 6304 IFS=$as_save_IFS
6065 test -z "$as_dir" && as_dir=. 6305 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do 6306 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6308 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 break 2 6310 break 2
6071 fi 6311 fi
6072 done 6312 done
6102 if test -n "$ac_tool_prefix"; then 6342 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6343 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6344 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; } 6346 $as_echo_n "checking for $ac_word... " >&6; }
6107 if test "${ac_cv_prog_NMEDIT+set}" = set; then : 6347 if ${ac_cv_prog_NMEDIT+:} false; then :
6108 $as_echo_n "(cached) " >&6 6348 $as_echo_n "(cached) " >&6
6109 else 6349 else
6110 if test -n "$NMEDIT"; then 6350 if test -n "$NMEDIT"; then
6111 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6351 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6112 else 6352 else
6114 for as_dir in $PATH 6354 for as_dir in $PATH
6115 do 6355 do
6116 IFS=$as_save_IFS 6356 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=. 6357 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do 6358 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6360 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122 break 2 6362 break 2
6123 fi 6363 fi
6124 done 6364 done
6142 ac_ct_NMEDIT=$NMEDIT 6382 ac_ct_NMEDIT=$NMEDIT
6143 # Extract the first word of "nmedit", so it can be a program name with args. 6383 # Extract the first word of "nmedit", so it can be a program name with args.
6144 set dummy nmedit; ac_word=$2 6384 set dummy nmedit; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; } 6386 $as_echo_n "checking for $ac_word... " >&6; }
6147 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 6387 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6148 $as_echo_n "(cached) " >&6 6388 $as_echo_n "(cached) " >&6
6149 else 6389 else
6150 if test -n "$ac_ct_NMEDIT"; then 6390 if test -n "$ac_ct_NMEDIT"; then
6151 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6391 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6152 else 6392 else
6154 for as_dir in $PATH 6394 for as_dir in $PATH
6155 do 6395 do
6156 IFS=$as_save_IFS 6396 IFS=$as_save_IFS
6157 test -z "$as_dir" && as_dir=. 6397 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do 6398 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6400 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 break 2 6402 break 2
6163 fi 6403 fi
6164 done 6404 done
6194 if test -n "$ac_tool_prefix"; then 6434 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6435 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6196 set dummy ${ac_tool_prefix}lipo; ac_word=$2 6436 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; } 6438 $as_echo_n "checking for $ac_word... " >&6; }
6199 if test "${ac_cv_prog_LIPO+set}" = set; then : 6439 if ${ac_cv_prog_LIPO+:} false; then :
6200 $as_echo_n "(cached) " >&6 6440 $as_echo_n "(cached) " >&6
6201 else 6441 else
6202 if test -n "$LIPO"; then 6442 if test -n "$LIPO"; then
6203 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6443 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6204 else 6444 else
6206 for as_dir in $PATH 6446 for as_dir in $PATH
6207 do 6447 do
6208 IFS=$as_save_IFS 6448 IFS=$as_save_IFS
6209 test -z "$as_dir" && as_dir=. 6449 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do 6450 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6452 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6214 break 2 6454 break 2
6215 fi 6455 fi
6216 done 6456 done
6234 ac_ct_LIPO=$LIPO 6474 ac_ct_LIPO=$LIPO
6235 # Extract the first word of "lipo", so it can be a program name with args. 6475 # Extract the first word of "lipo", so it can be a program name with args.
6236 set dummy lipo; ac_word=$2 6476 set dummy lipo; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; } 6478 $as_echo_n "checking for $ac_word... " >&6; }
6239 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 6479 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6240 $as_echo_n "(cached) " >&6 6480 $as_echo_n "(cached) " >&6
6241 else 6481 else
6242 if test -n "$ac_ct_LIPO"; then 6482 if test -n "$ac_ct_LIPO"; then
6243 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6483 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6244 else 6484 else
6246 for as_dir in $PATH 6486 for as_dir in $PATH
6247 do 6487 do
6248 IFS=$as_save_IFS 6488 IFS=$as_save_IFS
6249 test -z "$as_dir" && as_dir=. 6489 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do 6490 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_ac_ct_LIPO="lipo" 6492 ac_cv_prog_ac_ct_LIPO="lipo"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254 break 2 6494 break 2
6255 fi 6495 fi
6256 done 6496 done
6286 if test -n "$ac_tool_prefix"; then 6526 if test -n "$ac_tool_prefix"; then
6287 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6527 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6288 set dummy ${ac_tool_prefix}otool; ac_word=$2 6528 set dummy ${ac_tool_prefix}otool; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290 $as_echo_n "checking for $ac_word... " >&6; } 6530 $as_echo_n "checking for $ac_word... " >&6; }
6291 if test "${ac_cv_prog_OTOOL+set}" = set; then : 6531 if ${ac_cv_prog_OTOOL+:} false; then :
6292 $as_echo_n "(cached) " >&6 6532 $as_echo_n "(cached) " >&6
6293 else 6533 else
6294 if test -n "$OTOOL"; then 6534 if test -n "$OTOOL"; then
6295 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6535 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6296 else 6536 else
6298 for as_dir in $PATH 6538 for as_dir in $PATH
6299 do 6539 do
6300 IFS=$as_save_IFS 6540 IFS=$as_save_IFS
6301 test -z "$as_dir" && as_dir=. 6541 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do 6542 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6544 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 break 2 6546 break 2
6307 fi 6547 fi
6308 done 6548 done
6326 ac_ct_OTOOL=$OTOOL 6566 ac_ct_OTOOL=$OTOOL
6327 # Extract the first word of "otool", so it can be a program name with args. 6567 # Extract the first word of "otool", so it can be a program name with args.
6328 set dummy otool; ac_word=$2 6568 set dummy otool; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; } 6570 $as_echo_n "checking for $ac_word... " >&6; }
6331 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 6571 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6332 $as_echo_n "(cached) " >&6 6572 $as_echo_n "(cached) " >&6
6333 else 6573 else
6334 if test -n "$ac_ct_OTOOL"; then 6574 if test -n "$ac_ct_OTOOL"; then
6335 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6575 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6336 else 6576 else
6338 for as_dir in $PATH 6578 for as_dir in $PATH
6339 do 6579 do
6340 IFS=$as_save_IFS 6580 IFS=$as_save_IFS
6341 test -z "$as_dir" && as_dir=. 6581 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do 6582 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344 ac_cv_prog_ac_ct_OTOOL="otool" 6584 ac_cv_prog_ac_ct_OTOOL="otool"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346 break 2 6586 break 2
6347 fi 6587 fi
6348 done 6588 done
6378 if test -n "$ac_tool_prefix"; then 6618 if test -n "$ac_tool_prefix"; then
6379 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6619 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6380 set dummy ${ac_tool_prefix}otool64; ac_word=$2 6620 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; } 6622 $as_echo_n "checking for $ac_word... " >&6; }
6383 if test "${ac_cv_prog_OTOOL64+set}" = set; then : 6623 if ${ac_cv_prog_OTOOL64+:} false; then :
6384 $as_echo_n "(cached) " >&6 6624 $as_echo_n "(cached) " >&6
6385 else 6625 else
6386 if test -n "$OTOOL64"; then 6626 if test -n "$OTOOL64"; then
6387 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6627 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6388 else 6628 else
6390 for as_dir in $PATH 6630 for as_dir in $PATH
6391 do 6631 do
6392 IFS=$as_save_IFS 6632 IFS=$as_save_IFS
6393 test -z "$as_dir" && as_dir=. 6633 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do 6634 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6636 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398 break 2 6638 break 2
6399 fi 6639 fi
6400 done 6640 done
6418 ac_ct_OTOOL64=$OTOOL64 6658 ac_ct_OTOOL64=$OTOOL64
6419 # Extract the first word of "otool64", so it can be a program name with args. 6659 # Extract the first word of "otool64", so it can be a program name with args.
6420 set dummy otool64; ac_word=$2 6660 set dummy otool64; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; } 6662 $as_echo_n "checking for $ac_word... " >&6; }
6423 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 6663 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6424 $as_echo_n "(cached) " >&6 6664 $as_echo_n "(cached) " >&6
6425 else 6665 else
6426 if test -n "$ac_ct_OTOOL64"; then 6666 if test -n "$ac_ct_OTOOL64"; then
6427 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6667 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6428 else 6668 else
6430 for as_dir in $PATH 6670 for as_dir in $PATH
6431 do 6671 do
6432 IFS=$as_save_IFS 6672 IFS=$as_save_IFS
6433 test -z "$as_dir" && as_dir=. 6673 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do 6674 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6436 ac_cv_prog_ac_ct_OTOOL64="otool64" 6676 ac_cv_prog_ac_ct_OTOOL64="otool64"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 break 2 6678 break 2
6439 fi 6679 fi
6440 done 6680 done
6493 6733
6494 6734
6495 6735
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6497 $as_echo_n "checking for -single_module linker flag... " >&6; } 6737 $as_echo_n "checking for -single_module linker flag... " >&6; }
6498 if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 6738 if ${lt_cv_apple_cc_single_mod+:} false; then :
6499 $as_echo_n "(cached) " >&6 6739 $as_echo_n "(cached) " >&6
6500 else 6740 else
6501 lt_cv_apple_cc_single_mod=no 6741 lt_cv_apple_cc_single_mod=no
6502 if test -z "${LT_MULTI_MODULE}"; then 6742 if test -z "${LT_MULTI_MODULE}"; then
6503 # By default we will add the -single_module flag. You can override 6743 # By default we will add the -single_module flag. You can override
6522 fi 6762 fi
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6524 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6764 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6526 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6766 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6527 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 6767 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6528 $as_echo_n "(cached) " >&6 6768 $as_echo_n "(cached) " >&6
6529 else 6769 else
6530 lt_cv_ld_exported_symbols_list=no 6770 lt_cv_ld_exported_symbols_list=no
6531 save_LDFLAGS=$LDFLAGS 6771 save_LDFLAGS=$LDFLAGS
6532 echo "_main" > conftest.sym 6772 echo "_main" > conftest.sym
6533 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6773 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6534 if test x$gcc_no_link = xyes; then 6774 if test x$gcc_no_link = xyes; then
6535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 6775 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6536 fi 6776 fi
6537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6538 /* end confdefs.h. */ 6778 /* end confdefs.h. */
6539 6779
6540 int 6780 int
6557 fi 6797 fi
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6559 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6799 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6561 $as_echo_n "checking for -force_load linker flag... " >&6; } 6801 $as_echo_n "checking for -force_load linker flag... " >&6; }
6562 if test "${lt_cv_ld_force_load+set}" = set; then : 6802 if ${lt_cv_ld_force_load+:} false; then :
6563 $as_echo_n "(cached) " >&6 6803 $as_echo_n "(cached) " >&6
6564 else 6804 else
6565 lt_cv_ld_force_load=no 6805 lt_cv_ld_force_load=no
6566 cat > conftest.c << _LT_EOF 6806 cat > conftest.c << _LT_EOF
6567 int forced_loaded() { return 2;} 6807 int forced_loaded() { return 2;}
6632 # On Suns, sometimes $CPP names a directory. 6872 # On Suns, sometimes $CPP names a directory.
6633 if test -n "$CPP" && test -d "$CPP"; then 6873 if test -n "$CPP" && test -d "$CPP"; then
6634 CPP= 6874 CPP=
6635 fi 6875 fi
6636 if test -z "$CPP"; then 6876 if test -z "$CPP"; then
6637 if test "${ac_cv_prog_CPP+set}" = set; then : 6877 if ${ac_cv_prog_CPP+:} false; then :
6638 $as_echo_n "(cached) " >&6 6878 $as_echo_n "(cached) " >&6
6639 else 6879 else
6640 # Double quotes because CPP needs to be expanded 6880 # Double quotes because CPP needs to be expanded
6641 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6881 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6642 do 6882 do
6662 6902
6663 else 6903 else
6664 # Broken: fails on valid input. 6904 # Broken: fails on valid input.
6665 continue 6905 continue
6666 fi 6906 fi
6667 rm -f conftest.err conftest.$ac_ext 6907 rm -f conftest.err conftest.i conftest.$ac_ext
6668 6908
6669 # OK, works on sane cases. Now check whether nonexistent headers 6909 # OK, works on sane cases. Now check whether nonexistent headers
6670 # can be detected and how. 6910 # can be detected and how.
6671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6672 /* end confdefs.h. */ 6912 /* end confdefs.h. */
6678 else 6918 else
6679 # Passes both tests. 6919 # Passes both tests.
6680 ac_preproc_ok=: 6920 ac_preproc_ok=:
6681 break 6921 break
6682 fi 6922 fi
6683 rm -f conftest.err conftest.$ac_ext 6923 rm -f conftest.err conftest.i conftest.$ac_ext
6684 6924
6685 done 6925 done
6686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6687 rm -f conftest.err conftest.$ac_ext 6927 rm -f conftest.i conftest.err conftest.$ac_ext
6688 if $ac_preproc_ok; then : 6928 if $ac_preproc_ok; then :
6689 break 6929 break
6690 fi 6930 fi
6691 6931
6692 done 6932 done
6721 6961
6722 else 6962 else
6723 # Broken: fails on valid input. 6963 # Broken: fails on valid input.
6724 continue 6964 continue
6725 fi 6965 fi
6726 rm -f conftest.err conftest.$ac_ext 6966 rm -f conftest.err conftest.i conftest.$ac_ext
6727 6967
6728 # OK, works on sane cases. Now check whether nonexistent headers 6968 # OK, works on sane cases. Now check whether nonexistent headers
6729 # can be detected and how. 6969 # can be detected and how.
6730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */ 6971 /* end confdefs.h. */
6737 else 6977 else
6738 # Passes both tests. 6978 # Passes both tests.
6739 ac_preproc_ok=: 6979 ac_preproc_ok=:
6740 break 6980 break
6741 fi 6981 fi
6742 rm -f conftest.err conftest.$ac_ext 6982 rm -f conftest.err conftest.i conftest.$ac_ext
6743 6983
6744 done 6984 done
6745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6746 rm -f conftest.err conftest.$ac_ext 6986 rm -f conftest.i conftest.err conftest.$ac_ext
6747 if $ac_preproc_ok; then : 6987 if $ac_preproc_ok; then :
6748 6988
6749 else 6989 else
6750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6752 as_fn_error "C preprocessor \"$CPP\" fails sanity check 6992 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6753 See \`config.log' for more details." "$LINENO" 5; } 6993 See \`config.log' for more details" "$LINENO" 5; }
6754 fi 6994 fi
6755 6995
6756 ac_ext=c 6996 ac_ext=c
6757 ac_cpp='$CPP $CPPFLAGS' 6997 ac_cpp='$CPP $CPPFLAGS'
6758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6760 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6761 7001
6762 7002
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6764 $as_echo_n "checking for ANSI C header files... " >&6; } 7004 $as_echo_n "checking for ANSI C header files... " >&6; }
6765 if test "${ac_cv_header_stdc+set}" = set; then : 7005 if ${ac_cv_header_stdc+:} false; then :
6766 $as_echo_n "(cached) " >&6 7006 $as_echo_n "(cached) " >&6
6767 else 7007 else
6768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6769 /* end confdefs.h. */ 7009 /* end confdefs.h. */
6770 #include <stdlib.h> 7010 #include <stdlib.h>
6877 inttypes.h stdint.h unistd.h 7117 inttypes.h stdint.h unistd.h
6878 do : 7118 do :
6879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7120 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6881 " 7121 "
6882 eval as_val=\$$as_ac_Header 7122 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6883 if test "x$as_val" = x""yes; then :
6884 cat >>confdefs.h <<_ACEOF 7123 cat >>confdefs.h <<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7124 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6886 _ACEOF 7125 _ACEOF
6887 7126
6888 fi 7127 fi
6892 7131
6893 for ac_header in dlfcn.h 7132 for ac_header in dlfcn.h
6894 do : 7133 do :
6895 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7134 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6896 " 7135 "
6897 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7136 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6898 cat >>confdefs.h <<_ACEOF 7137 cat >>confdefs.h <<_ACEOF
6899 #define HAVE_DLFCN_H 1 7138 #define HAVE_DLFCN_H 1
6900 _ACEOF 7139 _ACEOF
6901 7140
6902 fi 7141 fi
7079 setopt NO_GLOB_SUBST 7318 setopt NO_GLOB_SUBST
7080 fi 7319 fi
7081 7320
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7083 $as_echo_n "checking for objdir... " >&6; } 7322 $as_echo_n "checking for objdir... " >&6; }
7084 if test "${lt_cv_objdir+set}" = set; then : 7323 if ${lt_cv_objdir+:} false; then :
7085 $as_echo_n "(cached) " >&6 7324 $as_echo_n "(cached) " >&6
7086 else 7325 else
7087 rm -f .libs 2>/dev/null 7326 rm -f .libs 2>/dev/null
7088 mkdir .libs 2>/dev/null 7327 mkdir .libs 2>/dev/null
7089 if test -d .libs; then 7328 if test -d .libs; then
7157 case $deplibs_check_method in 7396 case $deplibs_check_method in
7158 file_magic*) 7397 file_magic*)
7159 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7398 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7161 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7400 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7162 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7401 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7163 $as_echo_n "(cached) " >&6 7402 $as_echo_n "(cached) " >&6
7164 else 7403 else
7165 case $MAGIC_CMD in 7404 case $MAGIC_CMD in
7166 [\\/*] | ?:[\\/]*) 7405 [\\/*] | ?:[\\/]*)
7167 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7406 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7223 7462
7224 if test -z "$lt_cv_path_MAGIC_CMD"; then 7463 if test -z "$lt_cv_path_MAGIC_CMD"; then
7225 if test -n "$ac_tool_prefix"; then 7464 if test -n "$ac_tool_prefix"; then
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7227 $as_echo_n "checking for file... " >&6; } 7466 $as_echo_n "checking for file... " >&6; }
7228 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7467 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7229 $as_echo_n "(cached) " >&6 7468 $as_echo_n "(cached) " >&6
7230 else 7469 else
7231 case $MAGIC_CMD in 7470 case $MAGIC_CMD in
7232 [\\/*] | ?:[\\/]*) 7471 [\\/*] | ?:[\\/]*)
7233 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7472 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7365 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7604 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7366 esac 7605 esac
7367 7606
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7369 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7608 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7370 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 7609 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7371 $as_echo_n "(cached) " >&6 7610 $as_echo_n "(cached) " >&6
7372 else 7611 else
7373 lt_cv_prog_compiler_rtti_exceptions=no 7612 lt_cv_prog_compiler_rtti_exceptions=no
7374 ac_outfile=conftest.$ac_objext 7613 ac_outfile=conftest.$ac_objext
7375 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7614 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7718 # Check to make sure the PIC flag actually works. 7957 # Check to make sure the PIC flag actually works.
7719 # 7958 #
7720 if test -n "$lt_prog_compiler_pic"; then 7959 if test -n "$lt_prog_compiler_pic"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7722 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 7961 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7723 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 7962 if ${lt_cv_prog_compiler_pic_works+:} false; then :
7724 $as_echo_n "(cached) " >&6 7963 $as_echo_n "(cached) " >&6
7725 else 7964 else
7726 lt_cv_prog_compiler_pic_works=no 7965 lt_cv_prog_compiler_pic_works=no
7727 ac_outfile=conftest.$ac_objext 7966 ac_outfile=conftest.$ac_objext
7728 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7967 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7777 # Check to make sure the static flag actually works. 8016 # Check to make sure the static flag actually works.
7778 # 8017 #
7779 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8018 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7781 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8020 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7782 if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 8021 if ${lt_cv_prog_compiler_static_works+:} false; then :
7783 $as_echo_n "(cached) " >&6 8022 $as_echo_n "(cached) " >&6
7784 else 8023 else
7785 lt_cv_prog_compiler_static_works=no 8024 lt_cv_prog_compiler_static_works=no
7786 save_LDFLAGS="$LDFLAGS" 8025 save_LDFLAGS="$LDFLAGS"
7787 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8026 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7820 8059
7821 8060
7822 8061
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7824 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8063 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7825 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8064 if ${lt_cv_prog_compiler_c_o+:} false; then :
7826 $as_echo_n "(cached) " >&6 8065 $as_echo_n "(cached) " >&6
7827 else 8066 else
7828 lt_cv_prog_compiler_c_o=no 8067 lt_cv_prog_compiler_c_o=no
7829 $RM -r conftest 2>/dev/null 8068 $RM -r conftest 2>/dev/null
7830 mkdir conftest 8069 mkdir conftest
7875 8114
7876 8115
7877 8116
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7879 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8118 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7880 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8119 if ${lt_cv_prog_compiler_c_o+:} false; then :
7881 $as_echo_n "(cached) " >&6 8120 $as_echo_n "(cached) " >&6
7882 else 8121 else
7883 lt_cv_prog_compiler_c_o=no 8122 lt_cv_prog_compiler_c_o=no
7884 $RM -r conftest 2>/dev/null 8123 $RM -r conftest 2>/dev/null
7885 mkdir conftest 8124 mkdir conftest
8159 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8398 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8160 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8399 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8161 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' 8400 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'
8162 ;; 8401 ;;
8163 8402
8164 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8403 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
8165 tmp_diet=no 8404 tmp_diet=no
8166 if test "$host_os" = linux-dietlibc; then 8405 if test "$host_os" = linux-dietlibc; then
8167 case $cc_basename in 8406 case $cc_basename in
8168 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8407 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8169 esac 8408 esac
8437 # -berok will link without error, but may produce a broken library. 8676 # -berok will link without error, but may produce a broken library.
8438 allow_undefined_flag='-berok' 8677 allow_undefined_flag='-berok'
8439 # Determine the default libpath from the value encoded in an 8678 # Determine the default libpath from the value encoded in an
8440 # empty executable. 8679 # empty executable.
8441 if test x$gcc_no_link = xyes; then 8680 if test x$gcc_no_link = xyes; then
8442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 8681 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8443 fi 8682 fi
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */ 8684 /* end confdefs.h. */
8446 8685
8447 int 8686 int
8480 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 8719 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8481 else 8720 else
8482 # Determine the default libpath from the value encoded in an 8721 # Determine the default libpath from the value encoded in an
8483 # empty executable. 8722 # empty executable.
8484 if test x$gcc_no_link = xyes; then 8723 if test x$gcc_no_link = xyes; then
8485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 8724 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8486 fi 8725 fi
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */ 8727 /* end confdefs.h. */
8489 8728
8490 int 8729 int
8697 8936
8698 # Older versions of the 11.00 compiler do not understand -b yet 8937 # Older versions of the 11.00 compiler do not understand -b yet
8699 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 8938 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8701 $as_echo_n "checking if $CC understands -b... " >&6; } 8940 $as_echo_n "checking if $CC understands -b... " >&6; }
8702 if test "${lt_cv_prog_compiler__b+set}" = set; then : 8941 if ${lt_cv_prog_compiler__b+:} false; then :
8703 $as_echo_n "(cached) " >&6 8942 $as_echo_n "(cached) " >&6
8704 else 8943 else
8705 lt_cv_prog_compiler__b=no 8944 lt_cv_prog_compiler__b=no
8706 save_LDFLAGS="$LDFLAGS" 8945 save_LDFLAGS="$LDFLAGS"
8707 LDFLAGS="$LDFLAGS -b" 8946 LDFLAGS="$LDFLAGS -b"
8766 # work, assume that -exports_file does not work either and 9005 # work, assume that -exports_file does not work either and
8767 # implicitly export all symbols. 9006 # implicitly export all symbols.
8768 save_LDFLAGS="$LDFLAGS" 9007 save_LDFLAGS="$LDFLAGS"
8769 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9008 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8770 if test x$gcc_no_link = xyes; then 9009 if test x$gcc_no_link = xyes; then
8771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 9010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8772 fi 9011 fi
8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */ 9013 /* end confdefs.h. */
8775 int foo(void) {} 9014 int foo(void) {}
8776 _ACEOF 9015 _ACEOF
9072 # Test whether the compiler implicitly links with -lc since on some 9311 # Test whether the compiler implicitly links with -lc since on some
9073 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9312 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9074 # to ld, don't add -lc before -lgcc. 9313 # to ld, don't add -lc before -lgcc.
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9076 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9315 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9077 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : 9316 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9078 $as_echo_n "(cached) " >&6 9317 $as_echo_n "(cached) " >&6
9079 else 9318 else
9080 $RM conftest* 9319 $RM conftest*
9081 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9320 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9082 9321
9699 linux*oldld* | linux*aout* | linux*coff*) 9938 linux*oldld* | linux*aout* | linux*coff*)
9700 dynamic_linker=no 9939 dynamic_linker=no
9701 ;; 9940 ;;
9702 9941
9703 # This must be Linux ELF. 9942 # This must be Linux ELF.
9704 linux* | k*bsd*-gnu | kopensolaris*-gnu) 9943
9944 # uclinux* changes (here and below) have been submitted to the libtool
9945 # project, but have not yet been accepted: they are GCC-local changes
9946 # for the time being. (See
9947 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
9948 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9705 version_type=linux 9949 version_type=linux
9706 need_lib_prefix=no 9950 need_lib_prefix=no
9707 need_version=no 9951 need_version=no
9708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9709 soname_spec='${libname}${release}${shared_ext}$major' 9953 soname_spec='${libname}${release}${shared_ext}$major'
9710 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9954 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9711 shlibpath_var=LD_LIBRARY_PATH 9955 shlibpath_var=LD_LIBRARY_PATH
9712 shlibpath_overrides_runpath=no 9956 shlibpath_overrides_runpath=no
9713 9957
9714 # Some binutils ld are patched to set DT_RUNPATH 9958 # Some binutils ld are patched to set DT_RUNPATH
9715 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : 9959 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
9716 $as_echo_n "(cached) " >&6 9960 $as_echo_n "(cached) " >&6
9717 else 9961 else
9718 lt_cv_shlibpath_overrides_runpath=no 9962 lt_cv_shlibpath_overrides_runpath=no
9719 save_LDFLAGS=$LDFLAGS 9963 save_LDFLAGS=$LDFLAGS
9720 save_libdir=$libdir 9964 save_libdir=$libdir
9721 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9965 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9722 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9966 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9723 if test x$gcc_no_link = xyes; then 9967 if test x$gcc_no_link = xyes; then
9724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 9968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9725 fi 9969 fi
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */ 9971 /* end confdefs.h. */
9728 9972
9729 int 9973 int
10133 10377
10134 darwin*) 10378 darwin*)
10135 # if libdl is installed we need to link against it 10379 # if libdl is installed we need to link against it
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10137 $as_echo_n "checking for dlopen in -ldl... " >&6; } 10381 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10138 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10382 if ${ac_cv_lib_dl_dlopen+:} false; then :
10139 $as_echo_n "(cached) " >&6 10383 $as_echo_n "(cached) " >&6
10140 else 10384 else
10141 ac_check_lib_save_LIBS=$LIBS 10385 ac_check_lib_save_LIBS=$LIBS
10142 LIBS="-ldl $LIBS" 10386 LIBS="-ldl $LIBS"
10143 if test x$gcc_no_link = xyes; then 10387 if test x$gcc_no_link = xyes; then
10144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 10388 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10145 fi 10389 fi
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */ 10391 /* end confdefs.h. */
10148 10392
10149 /* Override any GCC internal prototype to avoid an error. 10393 /* Override any GCC internal prototype to avoid an error.
10170 conftest$ac_exeext conftest.$ac_ext 10414 conftest$ac_exeext conftest.$ac_ext
10171 LIBS=$ac_check_lib_save_LIBS 10415 LIBS=$ac_check_lib_save_LIBS
10172 fi 10416 fi
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10174 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10418 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10175 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10419 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10176 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10420 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10177 else 10421 else
10178 10422
10179 lt_cv_dlopen="dyld" 10423 lt_cv_dlopen="dyld"
10180 lt_cv_dlopen_libs= 10424 lt_cv_dlopen_libs=
10184 10428
10185 ;; 10429 ;;
10186 10430
10187 *) 10431 *)
10188 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10432 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10189 if test "x$ac_cv_func_shl_load" = x""yes; then : 10433 if test "x$ac_cv_func_shl_load" = xyes; then :
10190 lt_cv_dlopen="shl_load" 10434 lt_cv_dlopen="shl_load"
10191 else 10435 else
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10193 $as_echo_n "checking for shl_load in -ldld... " >&6; } 10437 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10194 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 10438 if ${ac_cv_lib_dld_shl_load+:} false; then :
10195 $as_echo_n "(cached) " >&6 10439 $as_echo_n "(cached) " >&6
10196 else 10440 else
10197 ac_check_lib_save_LIBS=$LIBS 10441 ac_check_lib_save_LIBS=$LIBS
10198 LIBS="-ldld $LIBS" 10442 LIBS="-ldld $LIBS"
10199 if test x$gcc_no_link = xyes; then 10443 if test x$gcc_no_link = xyes; then
10200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 10444 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10201 fi 10445 fi
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */ 10447 /* end confdefs.h. */
10204 10448
10205 /* Override any GCC internal prototype to avoid an error. 10449 /* Override any GCC internal prototype to avoid an error.
10226 conftest$ac_exeext conftest.$ac_ext 10470 conftest$ac_exeext conftest.$ac_ext
10227 LIBS=$ac_check_lib_save_LIBS 10471 LIBS=$ac_check_lib_save_LIBS
10228 fi 10472 fi
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10230 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10474 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10231 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 10475 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10232 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10476 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10233 else 10477 else
10234 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10478 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10235 if test "x$ac_cv_func_dlopen" = x""yes; then : 10479 if test "x$ac_cv_func_dlopen" = xyes; then :
10236 lt_cv_dlopen="dlopen" 10480 lt_cv_dlopen="dlopen"
10237 else 10481 else
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10239 $as_echo_n "checking for dlopen in -ldl... " >&6; } 10483 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10240 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10484 if ${ac_cv_lib_dl_dlopen+:} false; then :
10241 $as_echo_n "(cached) " >&6 10485 $as_echo_n "(cached) " >&6
10242 else 10486 else
10243 ac_check_lib_save_LIBS=$LIBS 10487 ac_check_lib_save_LIBS=$LIBS
10244 LIBS="-ldl $LIBS" 10488 LIBS="-ldl $LIBS"
10245 if test x$gcc_no_link = xyes; then 10489 if test x$gcc_no_link = xyes; then
10246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 10490 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10247 fi 10491 fi
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */ 10493 /* end confdefs.h. */
10250 10494
10251 /* Override any GCC internal prototype to avoid an error. 10495 /* Override any GCC internal prototype to avoid an error.
10272 conftest$ac_exeext conftest.$ac_ext 10516 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_lib_save_LIBS 10517 LIBS=$ac_check_lib_save_LIBS
10274 fi 10518 fi
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10276 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10520 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10277 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10521 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10278 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10522 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10279 else 10523 else
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10281 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 10525 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10282 if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 10526 if ${ac_cv_lib_svld_dlopen+:} false; then :
10283 $as_echo_n "(cached) " >&6 10527 $as_echo_n "(cached) " >&6
10284 else 10528 else
10285 ac_check_lib_save_LIBS=$LIBS 10529 ac_check_lib_save_LIBS=$LIBS
10286 LIBS="-lsvld $LIBS" 10530 LIBS="-lsvld $LIBS"
10287 if test x$gcc_no_link = xyes; then 10531 if test x$gcc_no_link = xyes; then
10288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 10532 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10289 fi 10533 fi
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */ 10535 /* end confdefs.h. */
10292 10536
10293 /* Override any GCC internal prototype to avoid an error. 10537 /* Override any GCC internal prototype to avoid an error.
10314 conftest$ac_exeext conftest.$ac_ext 10558 conftest$ac_exeext conftest.$ac_ext
10315 LIBS=$ac_check_lib_save_LIBS 10559 LIBS=$ac_check_lib_save_LIBS
10316 fi 10560 fi
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10318 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10562 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10319 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 10563 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10320 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10564 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10321 else 10565 else
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10323 $as_echo_n "checking for dld_link in -ldld... " >&6; } 10567 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10324 if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 10568 if ${ac_cv_lib_dld_dld_link+:} false; then :
10325 $as_echo_n "(cached) " >&6 10569 $as_echo_n "(cached) " >&6
10326 else 10570 else
10327 ac_check_lib_save_LIBS=$LIBS 10571 ac_check_lib_save_LIBS=$LIBS
10328 LIBS="-ldld $LIBS" 10572 LIBS="-ldld $LIBS"
10329 if test x$gcc_no_link = xyes; then 10573 if test x$gcc_no_link = xyes; then
10330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 10574 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10331 fi 10575 fi
10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */ 10577 /* end confdefs.h. */
10334 10578
10335 /* Override any GCC internal prototype to avoid an error. 10579 /* Override any GCC internal prototype to avoid an error.
10356 conftest$ac_exeext conftest.$ac_ext 10600 conftest$ac_exeext conftest.$ac_ext
10357 LIBS=$ac_check_lib_save_LIBS 10601 LIBS=$ac_check_lib_save_LIBS
10358 fi 10602 fi
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10360 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10604 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10361 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 10605 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10362 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10606 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10363 fi 10607 fi
10364 10608
10365 10609
10366 fi 10610 fi
10397 save_LIBS="$LIBS" 10641 save_LIBS="$LIBS"
10398 LIBS="$lt_cv_dlopen_libs $LIBS" 10642 LIBS="$lt_cv_dlopen_libs $LIBS"
10399 10643
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10401 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 10645 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10402 if test "${lt_cv_dlopen_self+set}" = set; then : 10646 if ${lt_cv_dlopen_self+:} false; then :
10403 $as_echo_n "(cached) " >&6 10647 $as_echo_n "(cached) " >&6
10404 else 10648 else
10405 if test "$cross_compiling" = yes; then : 10649 if test "$cross_compiling" = yes; then :
10406 lt_cv_dlopen_self=cross 10650 lt_cv_dlopen_self=cross
10407 else 10651 else
10408 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10652 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10409 lt_status=$lt_dlunknown 10653 lt_status=$lt_dlunknown
10410 cat > conftest.$ac_ext <<_LT_EOF 10654 cat > conftest.$ac_ext <<_LT_EOF
10411 #line 10411 "configure" 10655 #line 10655 "configure"
10412 #include "confdefs.h" 10656 #include "confdefs.h"
10413 10657
10414 #if HAVE_DLFCN_H 10658 #if HAVE_DLFCN_H
10415 #include <dlfcn.h> 10659 #include <dlfcn.h>
10416 #endif 10660 #endif
10503 10747
10504 if test "x$lt_cv_dlopen_self" = xyes; then 10748 if test "x$lt_cv_dlopen_self" = xyes; then
10505 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10749 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10507 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10751 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10508 if test "${lt_cv_dlopen_self_static+set}" = set; then : 10752 if ${lt_cv_dlopen_self_static+:} false; then :
10509 $as_echo_n "(cached) " >&6 10753 $as_echo_n "(cached) " >&6
10510 else 10754 else
10511 if test "$cross_compiling" = yes; then : 10755 if test "$cross_compiling" = yes; then :
10512 lt_cv_dlopen_self_static=cross 10756 lt_cv_dlopen_self_static=cross
10513 else 10757 else
10514 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10758 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10515 lt_status=$lt_dlunknown 10759 lt_status=$lt_dlunknown
10516 cat > conftest.$ac_ext <<_LT_EOF 10760 cat > conftest.$ac_ext <<_LT_EOF
10517 #line 10517 "configure" 10761 #line 10761 "configure"
10518 #include "confdefs.h" 10762 #include "confdefs.h"
10519 10763
10520 #if HAVE_DLFCN_H 10764 #if HAVE_DLFCN_H
10521 #include <dlfcn.h> 10765 #include <dlfcn.h>
10522 #endif 10766 #endif
10764 # On Suns, sometimes $CPP names a directory. 11008 # On Suns, sometimes $CPP names a directory.
10765 if test -n "$CPP" && test -d "$CPP"; then 11009 if test -n "$CPP" && test -d "$CPP"; then
10766 CPP= 11010 CPP=
10767 fi 11011 fi
10768 if test -z "$CPP"; then 11012 if test -z "$CPP"; then
10769 if test "${ac_cv_prog_CPP+set}" = set; then : 11013 if ${ac_cv_prog_CPP+:} false; then :
10770 $as_echo_n "(cached) " >&6 11014 $as_echo_n "(cached) " >&6
10771 else 11015 else
10772 # Double quotes because CPP needs to be expanded 11016 # Double quotes because CPP needs to be expanded
10773 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 11017 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10774 do 11018 do
10794 11038
10795 else 11039 else
10796 # Broken: fails on valid input. 11040 # Broken: fails on valid input.
10797 continue 11041 continue
10798 fi 11042 fi
10799 rm -f conftest.err conftest.$ac_ext 11043 rm -f conftest.err conftest.i conftest.$ac_ext
10800 11044
10801 # OK, works on sane cases. Now check whether nonexistent headers 11045 # OK, works on sane cases. Now check whether nonexistent headers
10802 # can be detected and how. 11046 # can be detected and how.
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */ 11048 /* end confdefs.h. */
10810 else 11054 else
10811 # Passes both tests. 11055 # Passes both tests.
10812 ac_preproc_ok=: 11056 ac_preproc_ok=:
10813 break 11057 break
10814 fi 11058 fi
10815 rm -f conftest.err conftest.$ac_ext 11059 rm -f conftest.err conftest.i conftest.$ac_ext
10816 11060
10817 done 11061 done
10818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 11062 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10819 rm -f conftest.err conftest.$ac_ext 11063 rm -f conftest.i conftest.err conftest.$ac_ext
10820 if $ac_preproc_ok; then : 11064 if $ac_preproc_ok; then :
10821 break 11065 break
10822 fi 11066 fi
10823 11067
10824 done 11068 done
10853 11097
10854 else 11098 else
10855 # Broken: fails on valid input. 11099 # Broken: fails on valid input.
10856 continue 11100 continue
10857 fi 11101 fi
10858 rm -f conftest.err conftest.$ac_ext 11102 rm -f conftest.err conftest.i conftest.$ac_ext
10859 11103
10860 # OK, works on sane cases. Now check whether nonexistent headers 11104 # OK, works on sane cases. Now check whether nonexistent headers
10861 # can be detected and how. 11105 # can be detected and how.
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */ 11107 /* end confdefs.h. */
10869 else 11113 else
10870 # Passes both tests. 11114 # Passes both tests.
10871 ac_preproc_ok=: 11115 ac_preproc_ok=:
10872 break 11116 break
10873 fi 11117 fi
10874 rm -f conftest.err conftest.$ac_ext 11118 rm -f conftest.err conftest.i conftest.$ac_ext
10875 11119
10876 done 11120 done
10877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 11121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10878 rm -f conftest.err conftest.$ac_ext 11122 rm -f conftest.i conftest.err conftest.$ac_ext
10879 if $ac_preproc_ok; then : 11123 if $ac_preproc_ok; then :
10880 11124
10881 else 11125 else
10882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10884 as_fn_error "C preprocessor \"$CPP\" fails sanity check 11128 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
10885 See \`config.log' for more details." "$LINENO" 5; } 11129 See \`config.log' for more details" "$LINENO" 5; }
10886 fi 11130 fi
10887 11131
10888 ac_ext=c 11132 ac_ext=c
10889 ac_cpp='$CPP $CPPFLAGS' 11133 ac_cpp='$CPP $CPPFLAGS'
10890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10901 # we'll have. 11145 # we'll have.
10902 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h 11146 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
10903 11147
10904 $as_echo "#define HAVE_STRERROR 1" >>confdefs.h 11148 $as_echo "#define HAVE_STRERROR 1" >>confdefs.h
10905 11149
10906
10907 # We ignore --with-system-zlib in this case.
10908 target_all=libzgcj.la
10909 else 11150 else
10910 if test x$gcc_no_link = xyes; then 11151 if test x$gcc_no_link = xyes; then
10911 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then 11152 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
10912 ac_cv_func_mmap_fixed_mapped=no 11153 ac_cv_func_mmap_fixed_mapped=no
10913 fi 11154 fi
10914 fi 11155 fi
10915 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then 11156 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
10916 for ac_header in stdlib.h unistd.h 11157
11158
11159
11160 for ac_header in $ac_header_list
10917 do : 11161 do :
10918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10919 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11163 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10920 eval as_val=\$$as_ac_Header 11164 "
10921 if test "x$as_val" = x""yes; then : 11165 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10922 cat >>confdefs.h <<_ACEOF 11166 cat >>confdefs.h <<_ACEOF
10923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11167 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10924 _ACEOF 11168 _ACEOF
10925 11169
10926 fi 11170 fi
10927 11171
10928 done 11172 done
10929 11173
11174
11175
11176
11177
11178
11179
11180
10930 for ac_func in getpagesize 11181 for ac_func in getpagesize
10931 do : 11182 do :
10932 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 11183 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
10933 if test "x$ac_cv_func_getpagesize" = x""yes; then : 11184 if test "x$ac_cv_func_getpagesize" = xyes; then :
10934 cat >>confdefs.h <<_ACEOF 11185 cat >>confdefs.h <<_ACEOF
10935 #define HAVE_GETPAGESIZE 1 11186 #define HAVE_GETPAGESIZE 1
10936 _ACEOF 11187 _ACEOF
10937 11188
10938 fi 11189 fi
10939 done 11190 done
10940 11191
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
10942 $as_echo_n "checking for working mmap... " >&6; } 11193 $as_echo_n "checking for working mmap... " >&6; }
10943 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 11194 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
10944 $as_echo_n "(cached) " >&6 11195 $as_echo_n "(cached) " >&6
10945 else 11196 else
10946 if test "$cross_compiling" = yes; then : 11197 if test "$cross_compiling" = yes; then :
10947 ac_cv_func_mmap_fixed_mapped=no 11198 ac_cv_func_mmap_fixed_mapped=no
10948 else 11199 else
10981 char *malloc (); 11232 char *malloc ();
10982 #endif 11233 #endif
10983 11234
10984 /* This mess was copied from the GNU getpagesize.h. */ 11235 /* This mess was copied from the GNU getpagesize.h. */
10985 #ifndef HAVE_GETPAGESIZE 11236 #ifndef HAVE_GETPAGESIZE
10986 /* Assume that all systems that can run configure have sys/param.h. */
10987 # ifndef HAVE_SYS_PARAM_H
10988 # define HAVE_SYS_PARAM_H 1
10989 # endif
10990
10991 # ifdef _SC_PAGESIZE 11237 # ifdef _SC_PAGESIZE
10992 # define getpagesize() sysconf(_SC_PAGESIZE) 11238 # define getpagesize() sysconf(_SC_PAGESIZE)
10993 # else /* no _SC_PAGESIZE */ 11239 # else /* no _SC_PAGESIZE */
10994 # ifdef HAVE_SYS_PARAM_H 11240 # ifdef HAVE_SYS_PARAM_H
10995 # include <sys/param.h> 11241 # include <sys/param.h>
11020 11266
11021 int 11267 int
11022 main () 11268 main ()
11023 { 11269 {
11024 char *data, *data2, *data3; 11270 char *data, *data2, *data3;
11271 const char *cdata2;
11025 int i, pagesize; 11272 int i, pagesize;
11026 int fd; 11273 int fd, fd2;
11027 11274
11028 pagesize = getpagesize (); 11275 pagesize = getpagesize ();
11029 11276
11030 /* First, make a file with some known garbage in it. */ 11277 /* First, make a file with some known garbage in it. */
11031 data = (char *) malloc (pagesize); 11278 data = (char *) malloc (pagesize);
11034 for (i = 0; i < pagesize; ++i) 11281 for (i = 0; i < pagesize; ++i)
11035 *(data + i) = rand (); 11282 *(data + i) = rand ();
11036 umask (0); 11283 umask (0);
11037 fd = creat ("conftest.mmap", 0600); 11284 fd = creat ("conftest.mmap", 0600);
11038 if (fd < 0) 11285 if (fd < 0)
11039 return 1; 11286 return 2;
11040 if (write (fd, data, pagesize) != pagesize) 11287 if (write (fd, data, pagesize) != pagesize)
11041 return 1; 11288 return 3;
11042 close (fd); 11289 close (fd);
11290
11291 /* Next, check that the tail of a page is zero-filled. File must have
11292 non-zero length, otherwise we risk SIGBUS for entire page. */
11293 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
11294 if (fd2 < 0)
11295 return 4;
11296 cdata2 = "";
11297 if (write (fd2, cdata2, 1) != 1)
11298 return 5;
11299 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
11300 if (data2 == MAP_FAILED)
11301 return 6;
11302 for (i = 0; i < pagesize; ++i)
11303 if (*(data2 + i))
11304 return 7;
11305 close (fd2);
11306 if (munmap (data2, pagesize))
11307 return 8;
11043 11308
11044 /* Next, try to mmap the file at a fixed address which already has 11309 /* Next, try to mmap the file at a fixed address which already has
11045 something else allocated at it. If we can, also make sure that 11310 something else allocated at it. If we can, also make sure that
11046 we see the same garbage. */ 11311 we see the same garbage. */
11047 fd = open ("conftest.mmap", O_RDWR); 11312 fd = open ("conftest.mmap", O_RDWR);
11048 if (fd < 0) 11313 if (fd < 0)
11049 return 1; 11314 return 9;
11050 data2 = (char *) malloc (2 * pagesize);
11051 if (!data2)
11052 return 1;
11053 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
11054 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 11315 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11055 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 11316 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11056 return 1; 11317 return 10;
11057 for (i = 0; i < pagesize; ++i) 11318 for (i = 0; i < pagesize; ++i)
11058 if (*(data + i) != *(data2 + i)) 11319 if (*(data + i) != *(data2 + i))
11059 return 1; 11320 return 11;
11060 11321
11061 /* Finally, make sure that changes to the mapped area do not 11322 /* Finally, make sure that changes to the mapped area do not
11062 percolate back to the file as seen by read(). (This is a bug on 11323 percolate back to the file as seen by read(). (This is a bug on
11063 some variants of i386 svr4.0.) */ 11324 some variants of i386 svr4.0.) */
11064 for (i = 0; i < pagesize; ++i) 11325 for (i = 0; i < pagesize; ++i)
11065 *(data2 + i) = *(data2 + i) + 1; 11326 *(data2 + i) = *(data2 + i) + 1;
11066 data3 = (char *) malloc (pagesize); 11327 data3 = (char *) malloc (pagesize);
11067 if (!data3) 11328 if (!data3)
11068 return 1; 11329 return 12;
11069 if (read (fd, data3, pagesize) != pagesize) 11330 if (read (fd, data3, pagesize) != pagesize)
11070 return 1; 11331 return 13;
11071 for (i = 0; i < pagesize; ++i) 11332 for (i = 0; i < pagesize; ++i)
11072 if (*(data + i) != *(data3 + i)) 11333 if (*(data + i) != *(data3 + i))
11073 return 1; 11334 return 14;
11074 close (fd); 11335 close (fd);
11075 return 0; 11336 return 0;
11076 } 11337 }
11077 _ACEOF 11338 _ACEOF
11078 if ac_fn_c_try_run "$LINENO"; then : 11339 if ac_fn_c_try_run "$LINENO"; then :
11090 if test $ac_cv_func_mmap_fixed_mapped = yes; then 11351 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11091 11352
11092 $as_echo "#define HAVE_MMAP 1" >>confdefs.h 11353 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
11093 11354
11094 fi 11355 fi
11095 rm -f conftest.mmap 11356 rm -f conftest.mmap conftest.txt
11096 11357
11097 fi 11358 fi
11098 for ac_func in memcpy strerror 11359 for ac_func in memcpy strerror
11099 do : 11360 do :
11100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11102 eval as_val=\$$as_ac_var 11363 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11103 if test "x$as_val" = x""yes; then :
11104 cat >>confdefs.h <<_ACEOF 11364 cat >>confdefs.h <<_ACEOF
11105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11106 _ACEOF 11366 _ACEOF
11107 11367
11108 fi 11368 fi
11109 done 11369 done
11110 11370
11111 11371 fi
11112 if test "$with_system_zlib" = yes; then
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
11114 $as_echo_n "checking for deflate in -lz... " >&6; }
11115 if test "${ac_cv_lib_z_deflate+set}" = set; then :
11116 $as_echo_n "(cached) " >&6
11117 else
11118 ac_check_lib_save_LIBS=$LIBS
11119 LIBS="-lz $LIBS"
11120 if test x$gcc_no_link = xyes; then
11121 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11122 fi
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11125
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 char deflate ();
11133 int
11134 main ()
11135 {
11136 return deflate ();
11137 ;
11138 return 0;
11139 }
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 ac_cv_lib_z_deflate=yes
11143 else
11144 ac_cv_lib_z_deflate=no
11145 fi
11146 rm -f core conftest.err conftest.$ac_objext \
11147 conftest$ac_exeext conftest.$ac_ext
11148 LIBS=$ac_check_lib_save_LIBS
11149 fi
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
11151 $as_echo "$ac_cv_lib_z_deflate" >&6; }
11152 if test "x$ac_cv_lib_z_deflate" = x""yes; then :
11153 target_all=
11154 else
11155 target_all=libzgcj.la
11156 fi
11157
11158 else
11159 target_all=libzgcj.la
11160 fi
11161 fi
11162
11163
11164 11372
11165 for ac_header in unistd.h 11373 for ac_header in unistd.h
11166 do : 11374 do :
11167 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 11375 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
11168 if test "x$ac_cv_header_unistd_h" = x""yes; then : 11376 if test "x$ac_cv_header_unistd_h" = xyes; then :
11169 cat >>confdefs.h <<_ACEOF 11377 cat >>confdefs.h <<_ACEOF
11170 #define HAVE_UNISTD_H 1 11378 #define HAVE_UNISTD_H 1
11171 _ACEOF 11379 _ACEOF
11172 11380
11173 fi 11381 fi
11174 11382
11175 done 11383 done
11176 11384
11177 11385
11386
11387 # Check whether --with-toolexeclibdir was given.
11388 if test "${with_toolexeclibdir+set}" = set; then :
11389 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
11390 /)
11391 ;;
11392 */)
11393 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
11394 ;;
11395 esac
11396 else
11397 with_toolexeclibdir=no
11398 fi
11399
11400
11401
11178 if test -n "$with_cross_host" && 11402 if test -n "$with_cross_host" &&
11179 test x"$with_cross_host" != x"no"; then 11403 test x"$with_cross_host" != x"no"; then
11180 toolexecdir='$(exec_prefix)/$(target_alias)' 11404 toolexecdir='$(exec_prefix)/$(target_alias)'
11181 toolexeclibdir='$(toolexecdir)/lib' 11405 case ${with_toolexeclibdir} in
11406 no)
11407 toolexeclibdir='$(toolexecdir)/lib'
11408 ;;
11409 *)
11410 toolexeclibdir=${with_toolexeclibdir}
11411 ;;
11412 esac
11182 else 11413 else
11183 toolexecdir='$(libdir)/gcc-lib/$(target_alias)' 11414 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
11184 toolexeclibdir='$(libdir)' 11415 toolexeclibdir='$(libdir)'
11185 fi 11416 fi
11186 if test "$GCC" = yes && $CC -print-multi-os-directory > /dev/null 2>&1; then 11417 if test "$GCC" = yes && $CC -print-multi-os-directory > /dev/null 2>&1; then
11283 t end 11514 t end
11284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11515 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11285 :end' >>confcache 11516 :end' >>confcache
11286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11517 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11287 if test -w "$cache_file"; then 11518 if test -w "$cache_file"; then
11288 test "x$cache_file" != "x/dev/null" && 11519 if test "x$cache_file" != "x/dev/null"; then
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11520 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11290 $as_echo "$as_me: updating cache $cache_file" >&6;} 11521 $as_echo "$as_me: updating cache $cache_file" >&6;}
11291 cat confcache >$cache_file 11522 if test ! -f "$cache_file" || test -h "$cache_file"; then
11523 cat confcache >"$cache_file"
11524 else
11525 case $cache_file in #(
11526 */* | ?:*)
11527 mv -f confcache "$cache_file"$$ &&
11528 mv -f "$cache_file"$$ "$cache_file" ;; #(
11529 *)
11530 mv -f confcache "$cache_file" ;;
11531 esac
11532 fi
11533 fi
11292 else 11534 else
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11535 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11294 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11536 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11295 fi 11537 fi
11296 fi 11538 fi
11338 DEFS=`sed -n "$ac_script" confdefs.h` 11580 DEFS=`sed -n "$ac_script" confdefs.h`
11339 11581
11340 11582
11341 ac_libobjs= 11583 ac_libobjs=
11342 ac_ltlibobjs= 11584 ac_ltlibobjs=
11585 U=
11343 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11586 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11344 # 1. Remove the extension, and $U if already installed. 11587 # 1. Remove the extension, and $U if already installed.
11345 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11588 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11346 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11589 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11347 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11590 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11352 LIBOBJS=$ac_libobjs 11595 LIBOBJS=$ac_libobjs
11353 11596
11354 LTLIBOBJS=$ac_ltlibobjs 11597 LTLIBOBJS=$ac_ltlibobjs
11355 11598
11356 11599
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11601 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11602 if test -n "$am_sleep_pid"; then
11603 # Hide warnings about reused PIDs.
11604 wait $am_sleep_pid 2>/dev/null
11605 fi
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11607 $as_echo "done" >&6; }
11357 if test -n "$EXEEXT"; then 11608 if test -n "$EXEEXT"; then
11358 am__EXEEXT_TRUE= 11609 am__EXEEXT_TRUE=
11359 am__EXEEXT_FALSE='#' 11610 am__EXEEXT_FALSE='#'
11360 else 11611 else
11361 am__EXEEXT_TRUE='#' 11612 am__EXEEXT_TRUE='#'
11362 am__EXEEXT_FALSE= 11613 am__EXEEXT_FALSE=
11363 fi 11614 fi
11364 11615
11365 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 11616 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11366 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. 11617 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
11367 Usually this means the macro was only invoked conditionally." "$LINENO" 5 11618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11368 fi 11619 fi
11369 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11620 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11370 as_fn_error "conditional \"AMDEP\" was never defined. 11621 as_fn_error $? "conditional \"AMDEP\" was never defined.
11371 Usually this means the macro was only invoked conditionally." "$LINENO" 5 11622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11372 fi 11623 fi
11373 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11624 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11374 as_fn_error "conditional \"am__fastdepCC\" was never defined. 11625 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11375 Usually this means the macro was only invoked conditionally." "$LINENO" 5 11626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11376 fi 11627 fi
11377 if test -z "${TARGET_LIBRARY_TRUE}" && test -z "${TARGET_LIBRARY_FALSE}"; then 11628 if test -z "${TARGET_LIBRARY_TRUE}" && test -z "${TARGET_LIBRARY_FALSE}"; then
11378 as_fn_error "conditional \"TARGET_LIBRARY\" was never defined. 11629 as_fn_error $? "conditional \"TARGET_LIBRARY\" was never defined.
11379 Usually this means the macro was only invoked conditionally." "$LINENO" 5 11630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11380 fi 11631 fi
11381 11632
11382 : ${CONFIG_STATUS=./config.status} 11633 : "${CONFIG_STATUS=./config.status}"
11383 ac_write_fail=0 11634 ac_write_fail=0
11384 ac_clean_files_save=$ac_clean_files 11635 ac_clean_files_save=$ac_clean_files
11385 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11636 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11387 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11638 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11478 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 11729 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11479 # splitting by setting IFS to empty value.) 11730 # splitting by setting IFS to empty value.)
11480 IFS=" "" $as_nl" 11731 IFS=" "" $as_nl"
11481 11732
11482 # Find who we are. Look in the path if we contain no directory separator. 11733 # Find who we are. Look in the path if we contain no directory separator.
11734 as_myself=
11483 case $0 in #(( 11735 case $0 in #((
11484 *[\\/]* ) as_myself=$0 ;; 11736 *[\\/]* ) as_myself=$0 ;;
11485 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11737 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11486 for as_dir in $PATH 11738 for as_dir in $PATH
11487 do 11739 do
11523 11775
11524 # CDPATH. 11776 # CDPATH.
11525 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11777 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11526 11778
11527 11779
11528 # as_fn_error ERROR [LINENO LOG_FD] 11780 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11529 # --------------------------------- 11781 # ----------------------------------------
11530 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11782 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11531 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 11783 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11532 # script with status $?, using 1 if that was 0. 11784 # script with STATUS, using 1 if that was 0.
11533 as_fn_error () 11785 as_fn_error ()
11534 { 11786 {
11535 as_status=$?; test $as_status -eq 0 && as_status=1 11787 as_status=$1; test $as_status -eq 0 && as_status=1
11536 if test "$3"; then 11788 if test "$4"; then
11537 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 11789 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11538 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 11790 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11539 fi 11791 fi
11540 $as_echo "$as_me: error: $1" >&2 11792 $as_echo "$as_me: error: $2" >&2
11541 as_fn_exit $as_status 11793 as_fn_exit $as_status
11542 } # as_fn_error 11794 } # as_fn_error
11543 11795
11544 11796
11545 # as_fn_set_status STATUS 11797 # as_fn_set_status STATUS
11673 if ln -s conf$$.file conf$$ 2>/dev/null; then 11925 if ln -s conf$$.file conf$$ 2>/dev/null; then
11674 as_ln_s='ln -s' 11926 as_ln_s='ln -s'
11675 # ... but there are two gotchas: 11927 # ... but there are two gotchas:
11676 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11928 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11677 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11929 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11678 # In both cases, we have to default to `cp -p'. 11930 # In both cases, we have to default to `cp -pR'.
11679 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11931 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11680 as_ln_s='cp -p' 11932 as_ln_s='cp -pR'
11681 elif ln conf$$.file conf$$ 2>/dev/null; then 11933 elif ln conf$$.file conf$$ 2>/dev/null; then
11682 as_ln_s=ln 11934 as_ln_s=ln
11683 else 11935 else
11684 as_ln_s='cp -p' 11936 as_ln_s='cp -pR'
11685 fi 11937 fi
11686 else 11938 else
11687 as_ln_s='cp -p' 11939 as_ln_s='cp -pR'
11688 fi 11940 fi
11689 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11941 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11690 rmdir conf$$.dir 2>/dev/null 11942 rmdir conf$$.dir 2>/dev/null
11691 11943
11692 11944
11731 } 11983 }
11732 s/.*/./; q'` 11984 s/.*/./; q'`
11733 test -d "$as_dir" && break 11985 test -d "$as_dir" && break
11734 done 11986 done
11735 test -z "$as_dirs" || eval "mkdir $as_dirs" 11987 test -z "$as_dirs" || eval "mkdir $as_dirs"
11736 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 11988 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11737 11989
11738 11990
11739 } # as_fn_mkdir_p 11991 } # as_fn_mkdir_p
11740 if mkdir -p . 2>/dev/null; then 11992 if mkdir -p . 2>/dev/null; then
11741 as_mkdir_p='mkdir -p "$as_dir"' 11993 as_mkdir_p='mkdir -p "$as_dir"'
11742 else 11994 else
11743 test -d ./-p && rmdir ./-p 11995 test -d ./-p && rmdir ./-p
11744 as_mkdir_p=false 11996 as_mkdir_p=false
11745 fi 11997 fi
11746 11998
11747 if test -x / >/dev/null 2>&1; then 11999
11748 as_test_x='test -x' 12000 # as_fn_executable_p FILE
11749 else 12001 # -----------------------
11750 if ls -dL / >/dev/null 2>&1; then 12002 # Test if FILE is an executable regular file.
11751 as_ls_L_option=L 12003 as_fn_executable_p ()
11752 else 12004 {
11753 as_ls_L_option= 12005 test -f "$1" && test -x "$1"
11754 fi 12006 } # as_fn_executable_p
11755 as_test_x=' 12007 as_test_x='test -x'
11756 eval sh -c '\'' 12008 as_executable_p=as_fn_executable_p
11757 if test -d "$1"; then
11758 test -d "$1/.";
11759 else
11760 case $1 in #(
11761 -*)set "./$1";;
11762 esac;
11763 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11764 ???[sx]*):;;*)false;;esac;fi
11765 '\'' sh
11766 '
11767 fi
11768 as_executable_p=$as_test_x
11769 12009
11770 # Sed expression to map a string onto a valid CPP name. 12010 # Sed expression to map a string onto a valid CPP name.
11771 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12011 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11772 12012
11773 # Sed expression to map a string onto a valid variable name. 12013 # Sed expression to map a string onto a valid variable name.
11784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11785 # Save the log message, to keep $0 and so on meaningful, and to 12025 # Save the log message, to keep $0 and so on meaningful, and to
11786 # report actual input values of CONFIG_FILES etc. instead of their 12026 # report actual input values of CONFIG_FILES etc. instead of their
11787 # values after options handling. 12027 # values after options handling.
11788 ac_log=" 12028 ac_log="
11789 This file was extended by $as_me, which was 12029 This file was extended by zlib $as_me 1.1.4, which was
11790 generated by GNU Autoconf 2.64. Invocation command line was 12030 generated by GNU Autoconf 2.69. Invocation command line was
11791 12031
11792 CONFIG_FILES = $CONFIG_FILES 12032 CONFIG_FILES = $CONFIG_FILES
11793 CONFIG_HEADERS = $CONFIG_HEADERS 12033 CONFIG_HEADERS = $CONFIG_HEADERS
11794 CONFIG_LINKS = $CONFIG_LINKS 12034 CONFIG_LINKS = $CONFIG_LINKS
11795 CONFIG_COMMANDS = $CONFIG_COMMANDS 12035 CONFIG_COMMANDS = $CONFIG_COMMANDS
11821 12061
11822 Usage: $0 [OPTION]... [TAG]... 12062 Usage: $0 [OPTION]... [TAG]...
11823 12063
11824 -h, --help print this help, then exit 12064 -h, --help print this help, then exit
11825 -V, --version print version number and configuration settings, then exit 12065 -V, --version print version number and configuration settings, then exit
12066 --config print configuration, then exit
11826 -q, --quiet, --silent 12067 -q, --quiet, --silent
11827 do not print progress messages 12068 do not print progress messages
11828 -d, --debug don't remove temporary files 12069 -d, --debug don't remove temporary files
11829 --recheck update $as_me by reconfiguring in the same conditions 12070 --recheck update $as_me by reconfiguring in the same conditions
11830 --file=FILE[:TEMPLATE] 12071 --file=FILE[:TEMPLATE]
11838 12079
11839 Report bugs to the package provider." 12080 Report bugs to the package provider."
11840 12081
11841 _ACEOF 12082 _ACEOF
11842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12084 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11843 ac_cs_version="\\ 12085 ac_cs_version="\\
11844 config.status 12086 zlib config.status 1.1.4
11845 configured by $0, generated by GNU Autoconf 2.64, 12087 configured by $0, generated by GNU Autoconf 2.69,
11846 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 12088 with options \\"\$ac_cs_config\\"
11847 12089
11848 Copyright (C) 2009 Free Software Foundation, Inc. 12090 Copyright (C) 2012 Free Software Foundation, Inc.
11849 This config.status script is free software; the Free Software Foundation 12091 This config.status script is free software; the Free Software Foundation
11850 gives unlimited permission to copy, distribute and modify it." 12092 gives unlimited permission to copy, distribute and modify it."
11851 12093
11852 ac_pwd='$ac_pwd' 12094 ac_pwd='$ac_pwd'
11853 srcdir='$srcdir' 12095 srcdir='$srcdir'
11861 # The default lists apply if the user does not specify any file. 12103 # The default lists apply if the user does not specify any file.
11862 ac_need_defaults=: 12104 ac_need_defaults=:
11863 while test $# != 0 12105 while test $# != 0
11864 do 12106 do
11865 case $1 in 12107 case $1 in
11866 --*=*) 12108 --*=?*)
11867 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12109 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11868 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12110 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12111 ac_shift=:
12112 ;;
12113 --*=)
12114 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12115 ac_optarg=
11869 ac_shift=: 12116 ac_shift=:
11870 ;; 12117 ;;
11871 *) 12118 *)
11872 ac_option=$1 12119 ac_option=$1
11873 ac_optarg=$2 12120 ac_optarg=$2
11879 # Handling of the options. 12126 # Handling of the options.
11880 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12127 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11881 ac_cs_recheck=: ;; 12128 ac_cs_recheck=: ;;
11882 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12129 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11883 $as_echo "$ac_cs_version"; exit ;; 12130 $as_echo "$ac_cs_version"; exit ;;
12131 --config | --confi | --conf | --con | --co | --c )
12132 $as_echo "$ac_cs_config"; exit ;;
11884 --debug | --debu | --deb | --de | --d | -d ) 12133 --debug | --debu | --deb | --de | --d | -d )
11885 debug=: ;; 12134 debug=: ;;
11886 --file | --fil | --fi | --f ) 12135 --file | --fil | --fi | --f )
11887 $ac_shift 12136 $ac_shift
11888 case $ac_optarg in 12137 case $ac_optarg in
11889 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12138 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12139 '') as_fn_error $? "missing file argument" ;;
11890 esac 12140 esac
11891 as_fn_append CONFIG_FILES " '$ac_optarg'" 12141 as_fn_append CONFIG_FILES " '$ac_optarg'"
11892 ac_need_defaults=false;; 12142 ac_need_defaults=false;;
11893 --he | --h | --help | --hel | -h ) 12143 --he | --h | --help | --hel | -h )
11894 $as_echo "$ac_cs_usage"; exit ;; 12144 $as_echo "$ac_cs_usage"; exit ;;
11895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11896 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12146 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11897 ac_cs_silent=: ;; 12147 ac_cs_silent=: ;;
11898 12148
11899 # This is an error. 12149 # This is an error.
11900 -*) as_fn_error "unrecognized option: \`$1' 12150 -*) as_fn_error $? "unrecognized option: \`$1'
11901 Try \`$0 --help' for more information." ;; 12151 Try \`$0 --help' for more information." ;;
11902 12152
11903 *) as_fn_append ac_config_targets " $1" 12153 *) as_fn_append ac_config_targets " $1"
11904 ac_need_defaults=false ;; 12154 ac_need_defaults=false ;;
11905 12155
11915 fi 12165 fi
11916 12166
11917 _ACEOF 12167 _ACEOF
11918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11919 if \$ac_cs_recheck; then 12169 if \$ac_cs_recheck; then
11920 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12170 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11921 shift 12171 shift
11922 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12172 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11923 CONFIG_SHELL='$SHELL' 12173 CONFIG_SHELL='$SHELL'
11924 export CONFIG_SHELL 12174 export CONFIG_SHELL
11925 exec "\$@" 12175 exec "\$@"
11952 multi_basedir="$multi_basedir" 12202 multi_basedir="$multi_basedir"
11953 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 12203 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11954 CC="$CC" 12204 CC="$CC"
11955 CXX="$CXX" 12205 CXX="$CXX"
11956 GFORTRAN="$GFORTRAN" 12206 GFORTRAN="$GFORTRAN"
12207 GDC="$GDC"
11957 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12208 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11958 12209
11959 12210
11960 # The HP-UX ksh and POSIX shell print the target directory to stdout 12211 # The HP-UX ksh and POSIX shell print the target directory to stdout
11961 # if CDPATH is set. 12212 # if CDPATH is set.
12227 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 12478 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12228 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12479 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12229 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12480 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12230 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12481 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12231 12482
12232 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12483 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12233 esac 12484 esac
12234 done 12485 done
12235 12486
12236 12487
12237 # If the user did not use the arguments to specify the items to instantiate, 12488 # If the user did not use the arguments to specify the items to instantiate,
12249 # Hook for its removal unless debugging. 12500 # Hook for its removal unless debugging.
12250 # Note that there is a small window in which the directory will not be cleaned: 12501 # Note that there is a small window in which the directory will not be cleaned:
12251 # after its creation but before its name has been assigned to `$tmp'. 12502 # after its creation but before its name has been assigned to `$tmp'.
12252 $debug || 12503 $debug ||
12253 { 12504 {
12254 tmp= 12505 tmp= ac_tmp=
12255 trap 'exit_status=$? 12506 trap 'exit_status=$?
12256 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 12507 : "${ac_tmp:=$tmp}"
12508 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12257 ' 0 12509 ' 0
12258 trap 'as_fn_exit 1' 1 2 13 15 12510 trap 'as_fn_exit 1' 1 2 13 15
12259 } 12511 }
12260 # Create a (secure) tmp directory for tmp files. 12512 # Create a (secure) tmp directory for tmp files.
12261 12513
12262 { 12514 {
12263 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12515 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12264 test -n "$tmp" && test -d "$tmp" 12516 test -d "$tmp"
12265 } || 12517 } ||
12266 { 12518 {
12267 tmp=./conf$$-$RANDOM 12519 tmp=./conf$$-$RANDOM
12268 (umask 077 && mkdir "$tmp") 12520 (umask 077 && mkdir "$tmp")
12269 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 12521 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12522 ac_tmp=$tmp
12270 12523
12271 # Set up the scripts for CONFIG_FILES section. 12524 # Set up the scripts for CONFIG_FILES section.
12272 # No need to generate them if there are no CONFIG_FILES. 12525 # No need to generate them if there are no CONFIG_FILES.
12273 # This happens for instance with `./config.status config.h'. 12526 # This happens for instance with `./config.status config.h'.
12274 if test -n "$CONFIG_FILES"; then 12527 if test -n "$CONFIG_FILES"; then
12281 if test "x$ac_cr" = x; then 12534 if test "x$ac_cr" = x; then
12282 eval ac_cr=\$\'\\r\' 12535 eval ac_cr=\$\'\\r\'
12283 fi 12536 fi
12284 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12537 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12285 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12538 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12286 ac_cs_awk_cr='\r' 12539 ac_cs_awk_cr='\\r'
12287 else 12540 else
12288 ac_cs_awk_cr=$ac_cr 12541 ac_cs_awk_cr=$ac_cr
12289 fi 12542 fi
12290 12543
12291 echo 'BEGIN {' >"$tmp/subs1.awk" && 12544 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12292 _ACEOF 12545 _ACEOF
12293 12546
12294 12547
12295 { 12548 {
12296 echo "cat >conf$$subs.awk <<_ACEOF" && 12549 echo "cat >conf$$subs.awk <<_ACEOF" &&
12297 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12550 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12298 echo "_ACEOF" 12551 echo "_ACEOF"
12299 } >conf$$subs.sh || 12552 } >conf$$subs.sh ||
12300 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 12553 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12301 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 12554 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12302 ac_delim='%!_!# ' 12555 ac_delim='%!_!# '
12303 for ac_last_try in false false false false false :; do 12556 for ac_last_try in false false false false false :; do
12304 . ./conf$$subs.sh || 12557 . ./conf$$subs.sh ||
12305 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 12558 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12306 12559
12307 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12560 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12308 if test $ac_delim_n = $ac_delim_num; then 12561 if test $ac_delim_n = $ac_delim_num; then
12309 break 12562 break
12310 elif $ac_last_try; then 12563 elif $ac_last_try; then
12311 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 12564 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12312 else 12565 else
12313 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12566 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12314 fi 12567 fi
12315 done 12568 done
12316 rm -f conf$$subs.sh 12569 rm -f conf$$subs.sh
12317 12570
12318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12319 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 12572 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12320 _ACEOF 12573 _ACEOF
12321 sed -n ' 12574 sed -n '
12322 h 12575 h
12323 s/^/S["/; s/!.*/"]=/ 12576 s/^/S["/; s/!.*/"]=/
12324 p 12577 p
12328 t repl 12581 t repl
12329 s/'"$ac_delim"'$// 12582 s/'"$ac_delim"'$//
12330 t delim 12583 t delim
12331 :nl 12584 :nl
12332 h 12585 h
12333 s/\(.\{148\}\).*/\1/ 12586 s/\(.\{148\}\)..*/\1/
12334 t more1 12587 t more1
12335 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 12588 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12336 p 12589 p
12337 n 12590 n
12338 b repl 12591 b repl
12342 g 12595 g
12343 s/.\{148\}// 12596 s/.\{148\}//
12344 t nl 12597 t nl
12345 :delim 12598 :delim
12346 h 12599 h
12347 s/\(.\{148\}\).*/\1/ 12600 s/\(.\{148\}\)..*/\1/
12348 t more2 12601 t more2
12349 s/["\\]/\\&/g; s/^/"/; s/$/"/ 12602 s/["\\]/\\&/g; s/^/"/; s/$/"/
12350 p 12603 p
12351 b 12604 b
12352 :more2 12605 :more2
12362 } 12615 }
12363 ' >>$CONFIG_STATUS || ac_write_fail=1 12616 ' >>$CONFIG_STATUS || ac_write_fail=1
12364 rm -f conf$$subs.awk 12617 rm -f conf$$subs.awk
12365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12366 _ACAWK 12619 _ACAWK
12367 cat >>"\$tmp/subs1.awk" <<_ACAWK && 12620 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12368 for (key in S) S_is_set[key] = 1 12621 for (key in S) S_is_set[key] = 1
12369 FS = "" 12622 FS = ""
12370 12623
12371 } 12624 }
12372 { 12625 {
12394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12395 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 12648 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12396 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 12649 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12397 else 12650 else
12398 cat 12651 cat
12399 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 12652 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12400 || as_fn_error "could not setup config files machinery" "$LINENO" 5 12653 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12401 _ACEOF 12654 _ACEOF
12402 12655
12403 # VPATH may cause trouble with some makes, so we remove $(srcdir), 12656 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12404 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 12657 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12405 # trailing colons and then remove the whole line if VPATH becomes empty 12658 # trailing colons and then remove the whole line if VPATH becomes empty
12406 # (actually we leave an empty line to preserve line numbers). 12659 # (actually we leave an empty line to preserve line numbers).
12407 if test "x$srcdir" = x.; then 12660 if test "x$srcdir" = x.; then
12408 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 12661 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12409 s/:*\$(srcdir):*/:/ 12662 h
12410 s/:*\${srcdir}:*/:/ 12663 s///
12411 s/:*@srcdir@:*/:/ 12664 s/^/:/
12412 s/^\([^=]*=[ ]*\):*/\1/ 12665 s/[ ]*$/:/
12666 s/:\$(srcdir):/:/g
12667 s/:\${srcdir}:/:/g
12668 s/:@srcdir@:/:/g
12669 s/^:*//
12413 s/:*$// 12670 s/:*$//
12671 x
12672 s/\(=[ ]*\).*/\1/
12673 G
12674 s/\n//
12414 s/^[^=]*=[ ]*$// 12675 s/^[^=]*=[ ]*$//
12415 }' 12676 }'
12416 fi 12677 fi
12417 12678
12418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12426 case $ac_tag in 12687 case $ac_tag in
12427 :[FHLC]) ac_mode=$ac_tag; continue;; 12688 :[FHLC]) ac_mode=$ac_tag; continue;;
12428 esac 12689 esac
12429 case $ac_mode$ac_tag in 12690 case $ac_mode$ac_tag in
12430 :[FHL]*:*);; 12691 :[FHL]*:*);;
12431 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 12692 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12432 :[FH]-) ac_tag=-:-;; 12693 :[FH]-) ac_tag=-:-;;
12433 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 12694 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12434 esac 12695 esac
12435 ac_save_IFS=$IFS 12696 ac_save_IFS=$IFS
12436 IFS=: 12697 IFS=:
12445 :[FH]) 12706 :[FH])
12446 ac_file_inputs= 12707 ac_file_inputs=
12447 for ac_f 12708 for ac_f
12448 do 12709 do
12449 case $ac_f in 12710 case $ac_f in
12450 -) ac_f="$tmp/stdin";; 12711 -) ac_f="$ac_tmp/stdin";;
12451 *) # Look for the file first in the build tree, then in the source tree 12712 *) # Look for the file first in the build tree, then in the source tree
12452 # (if the path is not absolute). The absolute path cannot be DOS-style, 12713 # (if the path is not absolute). The absolute path cannot be DOS-style,
12453 # because $ac_f cannot contain `:'. 12714 # because $ac_f cannot contain `:'.
12454 test -f "$ac_f" || 12715 test -f "$ac_f" ||
12455 case $ac_f in 12716 case $ac_f in
12456 [\\/$]*) false;; 12717 [\\/$]*) false;;
12457 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 12718 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12458 esac || 12719 esac ||
12459 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 12720 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12460 esac 12721 esac
12461 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12722 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12462 as_fn_append ac_file_inputs " '$ac_f'" 12723 as_fn_append ac_file_inputs " '$ac_f'"
12463 done 12724 done
12464 12725
12480 sed 's/[\\\\&|]/\\\\&/g'`;; #( 12741 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12481 *) ac_sed_conf_input=$configure_input;; 12742 *) ac_sed_conf_input=$configure_input;;
12482 esac 12743 esac
12483 12744
12484 case $ac_tag in 12745 case $ac_tag in
12485 *:-:* | *:-) cat >"$tmp/stdin" \ 12746 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12486 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 12747 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12487 esac 12748 esac
12488 ;; 12749 ;;
12489 esac 12750 esac
12490 12751
12491 ac_dir=`$as_dirname -- "$ac_file" || 12752 ac_dir=`$as_dirname -- "$ac_file" ||
12617 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12878 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12618 s&@INSTALL@&$ac_INSTALL&;t t 12879 s&@INSTALL@&$ac_INSTALL&;t t
12619 s&@MKDIR_P@&$ac_MKDIR_P&;t t 12880 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12620 $ac_datarootdir_hack 12881 $ac_datarootdir_hack
12621 " 12882 "
12622 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 12883 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12623 || as_fn_error "could not create $ac_file" "$LINENO" 5 12884 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12624 12885
12625 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12886 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12626 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 12887 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12627 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 12888 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12889 "$ac_tmp/out"`; test -z "$ac_out"; } &&
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12629 which seems to be undefined. Please make sure it is defined." >&5 12891 which seems to be undefined. Please make sure it is defined" >&5
12630 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12892 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12631 which seems to be undefined. Please make sure it is defined." >&2;} 12893 which seems to be undefined. Please make sure it is defined" >&2;}
12632 12894
12633 rm -f "$tmp/stdin" 12895 rm -f "$ac_tmp/stdin"
12634 case $ac_file in 12896 case $ac_file in
12635 -) cat "$tmp/out" && rm -f "$tmp/out";; 12897 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12636 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 12898 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12637 esac \ 12899 esac \
12638 || as_fn_error "could not create $ac_file" "$LINENO" 5 12900 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12639 ;; 12901 ;;
12640 12902
12641 12903
12642 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12904 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12643 $as_echo "$as_me: executing $ac_file commands" >&6;} 12905 $as_echo "$as_me: executing $ac_file commands" >&6;}
12653 *" Makefile "*) 12915 *" Makefile "*)
12654 ac_file=Makefile . ${multi_basedir}/config-ml.in 12916 ac_file=Makefile . ${multi_basedir}/config-ml.in
12655 ;; 12917 ;;
12656 esac ;; 12918 esac ;;
12657 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 12919 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12658 # Autoconf 2.62 quotes --file arguments for eval, but not when files 12920 # Older Autoconf quotes --file arguments for eval, but not when files
12659 # are listed without --file. Let's play safe and only enable the eval 12921 # are listed without --file. Let's play safe and only enable the eval
12660 # if we detect the quoting. 12922 # if we detect the quoting.
12661 case $CONFIG_FILES in 12923 case $CONFIG_FILES in
12662 *\'*) eval set x "$CONFIG_FILES" ;; 12924 *\'*) eval set x "$CONFIG_FILES" ;;
12663 *) set x $CONFIG_FILES ;; 12925 *) set x $CONFIG_FILES ;;
12666 for mf 12928 for mf
12667 do 12929 do
12668 # Strip MF so we end up with the name of the file. 12930 # Strip MF so we end up with the name of the file.
12669 mf=`echo "$mf" | sed -e 's/:.*$//'` 12931 mf=`echo "$mf" | sed -e 's/:.*$//'`
12670 # Check whether this is an Automake generated Makefile or not. 12932 # Check whether this is an Automake generated Makefile or not.
12671 # We used to match only the files named `Makefile.in', but 12933 # We used to match only the files named 'Makefile.in', but
12672 # some people rename them; so instead we look at the file content. 12934 # some people rename them; so instead we look at the file content.
12673 # Grep'ing the first line is not enough: some people post-process 12935 # Grep'ing the first line is not enough: some people post-process
12674 # each Makefile.in and add a new line on top of each file to say so. 12936 # each Makefile.in and add a new line on top of each file to say so.
12675 # Grep'ing the whole file is not good either: AIX grep has a line 12937 # Grep'ing the whole file is not good either: AIX grep has a line
12676 # limit of 2048, but all sed's we know have understand at least 4000. 12938 # limit of 2048, but all sed's we know have understand at least 4000.
12700 s/.*/./; q'` 12962 s/.*/./; q'`
12701 else 12963 else
12702 continue 12964 continue
12703 fi 12965 fi
12704 # Extract the definition of DEPDIR, am__include, and am__quote 12966 # Extract the definition of DEPDIR, am__include, and am__quote
12705 # from the Makefile without running `make'. 12967 # from the Makefile without running 'make'.
12706 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 12968 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12707 test -z "$DEPDIR" && continue 12969 test -z "$DEPDIR" && continue
12708 am__include=`sed -n 's/^am__include = //p' < "$mf"` 12970 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12709 test -z "am__include" && continue 12971 test -z "$am__include" && continue
12710 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 12972 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12711 # When using ansi2knr, U may be empty or an underscore; expand it
12712 U=`sed -n 's/^U = //p' < "$mf"`
12713 # Find all dependency output files, they are included files with 12973 # Find all dependency output files, they are included files with
12714 # $(DEPDIR) in their names. We invoke sed twice because it is the 12974 # $(DEPDIR) in their names. We invoke sed twice because it is the
12715 # simplest approach to changing $(DEPDIR) to its actual value in the 12975 # simplest approach to changing $(DEPDIR) to its actual value in the
12716 # expansion. 12976 # expansion.
12717 for file in `sed -n " 12977 for file in `sed -n "
12718 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 12978 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12719 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 12979 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
12720 # Make sure the directory exists. 12980 # Make sure the directory exists.
12721 test -f "$dirpart/$file" && continue 12981 test -f "$dirpart/$file" && continue
12722 fdir=`$as_dirname -- "$file" || 12982 fdir=`$as_dirname -- "$file" ||
12723 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12983 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12724 X"$file" : 'X\(//\)[^/]' \| \ 12984 X"$file" : 'X\(//\)[^/]' \| \
13396 as_fn_exit 0 13656 as_fn_exit 0
13397 _ACEOF 13657 _ACEOF
13398 ac_clean_files=$ac_clean_files_save 13658 ac_clean_files=$ac_clean_files_save
13399 13659
13400 test $ac_write_fail = 0 || 13660 test $ac_write_fail = 0 ||
13401 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 13661 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13402 13662
13403 13663
13404 # configure is writing to config.log, and then calls config.status. 13664 # configure is writing to config.log, and then calls config.status.
13405 # config.status does its own redirection, appending to config.log. 13665 # config.status does its own redirection, appending to config.log.
13406 # Unfortunately, on DOS this fails, as config.log is still kept open 13666 # Unfortunately, on DOS this fails, as config.log is still kept open
13417 exec 5>/dev/null 13677 exec 5>/dev/null
13418 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 13678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13419 exec 5>>config.log 13679 exec 5>>config.log
13420 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13421 # would make configure fail if this is the last instruction. 13681 # would make configure fail if this is the last instruction.
13422 $ac_cs_success || as_fn_exit $? 13682 $ac_cs_success || as_fn_exit 1
13423 fi 13683 fi
13424 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 13684 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 13685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13426 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 13686 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13427 fi 13687 fi