Changeset 103316 in vbox for trunk/src/libs/libpng-1.6.42/configure
- Timestamp:
- Feb 12, 2024 3:57:56 PM (14 months ago)
- svn:sync-xref-src-repo-rev:
- 161613
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/libpng-1.6.42/configure
r96425 r103316 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 69 for libpng 1.6.37.3 # Generated by GNU Autoconf 2.72 for libpng 1.6.42. 4 4 # 5 5 # Report bugs to <[email protected]>. 6 6 # 7 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, 9 # Inc. 9 10 # 10 11 # … … 17 18 # Be more Bourne compatible 18 19 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 21 then : 20 22 emulate sh 21 23 NULLCMD=: … … 24 26 alias -g '${1+"$@"}'='"$@"' 25 27 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #(28 else case e in #( 29 e) case `(set -o) 2>/dev/null` in #( 28 30 *posix*) : 29 31 set -o posix ;; #( 30 32 *) : 31 33 ;; 32 esac 33 fi 34 35 34 esac ;; 35 esac 36 fi 37 38 39 40 # Reset variables that may have inherited troublesome values from 41 # the environment. 42 43 # IFS needs to be set, to space, tab, and newline, in precisely that order. 44 # (If _AS_PATH_WALK were called with IFS unset, it would have the 45 # side effect of setting IFS to empty, thus disabling word splitting.) 46 # Quoting is to prevent editors from complaining about space-tab. 36 47 as_nl=' 37 48 ' 38 49 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 50 IFS=" "" $as_nl" 51 52 PS1='$ ' 53 PS2='> ' 54 PS4='+ ' 55 56 # Ensure predictable behavior from utilities with locale-dependent output. 57 LC_ALL=C 58 export LC_ALL 59 LANGUAGE=C 60 export LANGUAGE 61 62 # We cannot yet rely on "unset" to work, but we need these variables 63 # to be unset--not just set to an empty or harmless value--now, to 64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65 # also avoids known problems related to "unset" and subshell syntax 66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68 do eval test \${$as_var+y} \ 69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70 done 71 72 # Ensure that fds 0, 1, and 2 are open. 73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 73 76 74 77 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then78 if ${PATH_SEPARATOR+false} :; then 76 79 PATH_SEPARATOR=: 77 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { … … 81 84 fi 82 85 83 84 # IFS85 # We need space, tab and new line, in precisely that order. Quoting is86 # there to prevent editors from complaining about space-tab.87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word88 # splitting by setting IFS to empty value.)89 IFS=" "" $as_nl"90 86 91 87 # Find who we are. Look in the path if we contain no directory separator. … … 97 93 do 98 94 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 95 case $as_dir in #((( 96 '') as_dir=./ ;; 97 */) ;; 98 *) as_dir=$as_dir/ ;; 99 esac 100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 101 101 done 102 102 IFS=$as_save_IFS … … 104 104 ;; 105 105 esac 106 # We did not find ourselves, most probably we were run as `sh COMMAND'106 # We did not find ourselves, most probably we were run as 'sh COMMAND' 107 107 # in which case we are not to be found in the path. 108 108 if test "x$as_myself" = x; then … … 110 110 fi 111 111 if test ! -f "$as_myself"; then 112 $as_echo"$as_myself: error: cannot find myself; rerun with an absolute file name" >&2112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 113 exit 1 114 114 fi 115 115 116 # Unset variables that we do not need and which cause bugs (e.g. in117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"118 # suppresses any "Segmentation fault" message there. '((' could119 # trigger a bug in pdksh 5.2.14.120 for as_var in BASH_ENV ENV MAIL MAILPATH121 do eval test x\${$as_var+set} = xset \122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :123 done124 PS1='$ '125 PS2='> '126 PS4='+ '127 128 # NLS nuisances.129 LC_ALL=C130 export LC_ALL131 LANGUAGE=C132 export LANGUAGE133 134 # CDPATH.135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH136 116 137 117 # Use a proper internal environment variable to ensure we don't fall … … 154 134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 135 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'.157 $as_echo"$0: could not re-execute with $CONFIG_SHELL" >&2158 as_fn_exit 255136 # out after a failed 'exec'. 137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138 exit 255 159 139 fi 160 140 # We don't want this to propagate to other subprocesses. 161 141 { _as_can_reexec=; unset _as_can_reexec;} 162 142 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 144 then : 164 145 emulate sh 165 146 NULLCMD=: … … 168 149 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 150 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #(151 else case e in #( 152 e) case \`(set -o) 2>/dev/null\` in #( 172 153 *posix*) : 173 154 set -o posix ;; #( 174 155 *) : 175 156 ;; 157 esac ;; 176 158 esac 177 159 fi … … 188 170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 172 if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173 then : 174 175 else case e in #( 176 e) exitcode=1; echo positional parameters were not saved. ;; 177 esac 194 178 fi 195 179 test x\$exitcode = x0 || exit 1 180 blah=\$(echo \$(echo blah)) 181 test x\"\$blah\" = xblah || exit 1 196 182 test -x / || exit 1" 197 183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO … … 208 194 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 195 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 196 if (eval "$as_required") 2>/dev/null 197 then : 211 198 as_have_required=yes 212 else 213 as_have_required=no 214 fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217 else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 199 else case e in #( 200 e) as_have_required=no ;; 201 esac 202 fi 203 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 204 then : 205 206 else case e in #( 207 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219 208 as_found=false 220 209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221 210 do 222 211 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 212 case $as_dir in #((( 213 '') as_dir=./ ;; 214 */) ;; 215 *) as_dir=$as_dir/ ;; 216 esac 224 217 as_found=: 225 218 case $as_dir in #( … … 227 220 for as_base in sh bash ksh sh5; do 228 221 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir /$as_base222 as_shell=$as_dir$as_base 230 223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 225 then : 232 226 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 227 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 228 then : 234 229 break 2 235 230 fi … … 239 234 as_found=false 240 235 done 241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 236 IFS=$as_save_IFS 237 if $as_found 238 then : 239 240 else case e in #( 241 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 243 then : 243 244 CONFIG_SHELL=$SHELL as_have_required=yes 244 fi; } 245 IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 245 fi ;; 246 esac 247 fi 248 249 250 if test "x$CONFIG_SHELL" != x 251 then : 249 252 export CONFIG_SHELL 250 253 # We cannot yet assume a decent shell, so we have to provide a … … 263 266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264 267 # Admittedly, this is quite paranoid, since all the known shells bail 265 # out after a failed `exec'.266 $as_echo"$0: could not re-execute with $CONFIG_SHELL" >&2268 # out after a failed 'exec'. 269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 267 270 exit 255 268 271 fi 269 272 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 273 if test x$as_have_required = xno 274 then : 275 printf "%s\n" "$0: This script requires a shell more modern than all" 276 printf "%s\n" "$0: the shells that I found on your system." 277 if test ${ZSH_VERSION+y} ; then 278 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 279 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 276 280 else 277 $as_echo"$0: Please tell [email protected] and281 printf "%s\n" "$0: Please tell [email protected] and 278 282 $0: [email protected] about your 279 283 $0: system, including any error possibly output before this … … 282 286 fi 283 287 exit 1 284 fi 288 fi ;; 289 esac 285 290 fi 286 291 fi … … 303 308 as_unset=as_fn_unset 304 309 310 305 311 # as_fn_set_status STATUS 306 312 # ----------------------- … … 334 340 while :; do 335 341 case $as_dir in #( 336 *\'*) as_qdir=` $as_echo"$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(342 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 343 *) as_qdir=$as_dir;; 338 344 esac … … 343 349 X"$as_dir" : 'X\(//\)$' \| \ 344 350 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345 $as_echoX"$as_dir" |351 printf "%s\n" X"$as_dir" | 346 352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 353 s//\1/ … … 382 388 # repeated appends, instead of the typical quadratic growth present in naive 383 389 # implementations. 384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 391 then : 385 392 eval 'as_fn_append () 386 393 { 387 394 eval $1+=\$2 388 395 }' 389 else 390 as_fn_append ()396 else case e in #( 397 e) as_fn_append () 391 398 { 392 399 eval $1=\$$1\$2 393 } 400 } ;; 401 esac 394 402 fi # as_fn_append 395 403 … … 399 407 # global $as_val. Take advantage of shells that can avoid forks. The arguments 400 408 # must be portable across $(()) and expr. 401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 409 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 410 then : 402 411 eval 'as_fn_arith () 403 412 { 404 413 as_val=$(( $* )) 405 414 }' 406 else 407 as_fn_arith ()415 else case e in #( 416 e) as_fn_arith () 408 417 { 409 418 as_val=`expr "$@" || test $? -eq 1` 410 } 419 } ;; 420 esac 411 421 fi # as_fn_arith 412 422 … … 422 432 if test "$4"; then 423 433 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo"$as_me:${as_lineno-$LINENO}: error: $2" >&$4434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 435 fi 426 $as_echo"$as_me: error: $2" >&2436 printf "%s\n" "$as_me: error: $2" >&2 427 437 as_fn_exit $as_status 428 438 } # as_fn_error … … 451 461 X"$0" : 'X\(//\)$' \| \ 452 462 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453 $as_echoX/"$0" |463 printf "%s\n" X/"$0" | 454 464 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 465 s//\1/ … … 484 494 ' <$as_myself | 485 495 sed ' 496 t clear 497 :clear 486 498 s/[$]LINENO.*/&-/ 487 499 t lineno … … 495 507 ' >$as_me.lineno && 496 508 chmod +x "$as_me.lineno" || 497 { $as_echo"$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 510 499 511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have … … 509 521 } 510 522 523 524 # Determine whether it's possible to make 'echo' print without a newline. 525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 526 # for compatibility with existing Makefiles. 511 527 ECHO_C= ECHO_N= ECHO_T= 512 528 case `echo -n x` in #((((( … … 522 538 esac 523 539 540 # For backward compatibility with old third-party macros, we provide 541 # the shell variables $as_echo and $as_echo_n. New code should use 542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 543 as_echo='printf %s\n' 544 as_echo_n='printf %s' 545 524 546 rm -f conf$$ conf$$.exe conf$$.file 525 547 if test -d conf$$.dir; then … … 533 555 as_ln_s='ln -s' 534 556 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.537 # In both cases, we have to default to `cp -pR'.557 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. 558 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. 559 # In both cases, we have to default to 'cp -pR'. 538 560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 561 as_ln_s='cp -pR' … … 560 582 561 583 # Sed expression to map a string onto a valid CPP name. 562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 584 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 585 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated 563 586 564 587 # Sed expression to map a string onto a valid variable name. 565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 588 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 589 as_tr_sh="eval sed '$as_sed_sh'" # deprecated 566 590 567 591 SHELL=${CONFIG_SHELL-/bin/sh} … … 591 615 PACKAGE_NAME='libpng' 592 616 PACKAGE_TARNAME='libpng' 593 PACKAGE_VERSION='1.6. 37'594 PACKAGE_STRING='libpng 1.6. 37'617 PACKAGE_VERSION='1.6.42' 618 PACKAGE_STRING='libpng 1.6.42' 595 619 PACKAGE_BUGREPORT='[email protected]' 596 620 PACKAGE_URL='' … … 599 623 # Factoring default headers for most tests. 600 624 ac_includes_default="\ 601 #include <std io.h>602 #ifdef HAVE_S YS_TYPES_H603 # include <s ys/types.h>625 #include <stddef.h> 626 #ifdef HAVE_STDIO_H 627 # include <stdio.h> 604 628 #endif 605 #ifdef HAVE_SYS_STAT_H 606 # include <sys/stat.h> 607 #endif 608 #ifdef STDC_HEADERS 629 #ifdef HAVE_STDLIB_H 609 630 # include <stdlib.h> 610 # include <stddef.h>611 #else612 # ifdef HAVE_STDLIB_H613 # include <stdlib.h>614 # endif615 631 #endif 616 632 #ifdef HAVE_STRING_H 617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H618 # include <memory.h>619 # endif620 633 # include <string.h> 621 #endif622 #ifdef HAVE_STRINGS_H623 # include <strings.h>624 634 #endif 625 635 #ifdef HAVE_INTTYPES_H … … 629 639 # include <stdint.h> 630 640 #endif 641 #ifdef HAVE_STRINGS_H 642 # include <strings.h> 643 #endif 644 #ifdef HAVE_SYS_TYPES_H 645 # include <sys/types.h> 646 #endif 647 #ifdef HAVE_SYS_STAT_H 648 # include <sys/stat.h> 649 #endif 631 650 #ifdef HAVE_UNISTD_H 632 651 # include <unistd.h> 633 652 #endif" 634 653 654 ac_header_c_list= 635 655 ac_subst_vars='am__EXEEXT_FALSE 636 656 am__EXEEXT_TRUE 637 657 LTLIBOBJS 658 LIBOBJS 659 PNG_LOONGARCH_LSX_FALSE 660 PNG_LOONGARCH_LSX_TRUE 638 661 PNG_POWERPC_VSX_FALSE 639 662 PNG_POWERPC_VSX_TRUE 640 663 PNG_INTEL_SSE_FALSE 641 664 PNG_INTEL_SSE_TRUE 665 PNG_MIPS_MMI_FALSE 666 PNG_MIPS_MMI_TRUE 642 667 PNG_MIPS_MSA_FALSE 643 668 PNG_MIPS_MSA_TRUE … … 666 691 HAVE_CLOCK_GETTIME_FALSE 667 692 HAVE_CLOCK_GETTIME_TRUE 668 LIBOBJS669 POW_LIB670 693 PNG_COPTS 694 ENABLE_TOOLS_FALSE 695 ENABLE_TOOLS_TRUE 696 ENABLE_TESTS_FALSE 697 ENABLE_TESTS_TRUE 671 698 DFNCPP 672 699 LT_SYS_LIBRARY_PATH … … 680 707 ac_ct_AR 681 708 AR 709 FILECMD 682 710 NM 683 711 ac_ct_DUMPBIN … … 730 758 AM_DEFAULT_V 731 759 AM_V 760 CSCOPE 761 ETAGS 762 CTAGS 732 763 am__untar 733 764 am__tar … … 772 803 oldincludedir 773 804 includedir 805 runstatedir 774 806 localstatedir 775 807 sharedstatedir … … 806 838 with_sysroot 807 839 enable_libtool_lock 840 enable_tests 841 enable_tools 808 842 enable_werror 809 843 with_zlib_prefix … … 817 851 enable_arm_neon 818 852 enable_mips_msa 853 enable_mips_mmi 819 854 enable_intel_sse 820 855 enable_powerpc_vsx 856 enable_loongarch_lsx 821 857 ' 822 858 ac_precious_vars='build_alias … … 871 907 sharedstatedir='${prefix}/com' 872 908 localstatedir='${prefix}/var' 909 runstatedir='${localstatedir}/run' 873 910 includedir='${prefix}/include' 874 911 oldincludedir='/usr/include' … … 900 937 esac 901 938 902 # Accept the important Cygnus configure options, so we can diagnose typos.903 904 939 case $ac_dashdash$ac_option in 905 940 --) … … 942 977 # Reject names that are not valid shell variable names. 943 978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 944 as_fn_error $? "invalid feature name: $ac_useropt"979 as_fn_error $? "invalid feature name: '$ac_useropt'" 945 980 ac_useropt_orig=$ac_useropt 946 ac_useropt=` $as_echo"$ac_useropt" | sed 's/[-+.]/_/g'`981 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 947 982 case $ac_user_opts in 948 983 *" … … 968 1003 # Reject names that are not valid shell variable names. 969 1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 970 as_fn_error $? "invalid feature name: $ac_useropt"1005 as_fn_error $? "invalid feature name: '$ac_useropt'" 971 1006 ac_useropt_orig=$ac_useropt 972 ac_useropt=` $as_echo"$ac_useropt" | sed 's/[-+.]/_/g'`1007 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 973 1008 case $ac_user_opts in 974 1009 *" … … 1123 1158 silent=yes ;; 1124 1159 1160 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1161 | --runstate | --runstat | --runsta | --runst | --runs \ 1162 | --run | --ru | --r) 1163 ac_prev=runstatedir ;; 1164 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1165 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1166 | --run=* | --ru=* | --r=*) 1167 runstatedir=$ac_optarg ;; 1168 1125 1169 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1126 1170 ac_prev=sbindir ;; … … 1172 1216 # Reject names that are not valid shell variable names. 1173 1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1174 as_fn_error $? "invalid package name: $ac_useropt"1218 as_fn_error $? "invalid package name: '$ac_useropt'" 1175 1219 ac_useropt_orig=$ac_useropt 1176 ac_useropt=` $as_echo"$ac_useropt" | sed 's/[-+.]/_/g'`1220 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1177 1221 case $ac_user_opts in 1178 1222 *" … … 1188 1232 # Reject names that are not valid shell variable names. 1189 1233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1190 as_fn_error $? "invalid package name: $ac_useropt"1234 as_fn_error $? "invalid package name: '$ac_useropt'" 1191 1235 ac_useropt_orig=$ac_useropt 1192 ac_useropt=` $as_echo"$ac_useropt" | sed 's/[-+.]/_/g'`1236 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1193 1237 case $ac_user_opts in 1194 1238 *" … … 1218 1262 x_libraries=$ac_optarg ;; 1219 1263 1220 -*) as_fn_error $? "unrecognized option: \`$ac_option'1221 Try \`$0 --help' for more information"1264 -*) as_fn_error $? "unrecognized option: '$ac_option' 1265 Try '$0 --help' for more information" 1222 1266 ;; 1223 1267 … … 1227 1271 case $ac_envvar in #( 1228 1272 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1229 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;1273 as_fn_error $? "invalid variable name: '$ac_envvar'" ;; 1230 1274 esac 1231 1275 eval $ac_envvar=\$ac_optarg … … 1234 1278 *) 1235 1279 # FIXME: should be removed in autoconf 3.0. 1236 $as_echo"$as_me: WARNING: you should use --build, --host, --target" >&21280 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1237 1281 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1238 $as_echo"$as_me: WARNING: invalid host type: $ac_option" >&21282 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1239 1283 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1240 1284 ;; … … 1252 1296 no) ;; 1253 1297 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1254 *) $as_echo"$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;1298 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1255 1299 esac 1256 1300 fi … … 1260 1304 datadir sysconfdir sharedstatedir localstatedir includedir \ 1261 1305 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1262 libdir localedir mandir 1306 libdir localedir mandir runstatedir 1263 1307 do 1264 1308 eval ac_val=\$$ac_var … … 1277 1321 done 1278 1322 1279 # There might be people who depend on the old broken behavior: `$host'1323 # There might be people who depend on the old broken behavior: '$host' 1280 1324 # used to hold the argument of --host etc. 1281 1325 # FIXME: To remove some day. … … 1316 1360 X"$as_myself" : 'X\(//\)$' \| \ 1317 1361 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1318 $as_echoX"$as_myself" |1362 printf "%s\n" X"$as_myself" | 1319 1363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1320 1364 s//\1/ … … 1345 1389 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1346 1390 fi 1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"1391 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" 1348 1392 ac_abs_confdir=`( 1349 1393 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" … … 1373 1417 # This message is too long to be a string in the A/UX 3.1 sh. 1374 1418 cat <<_ACEOF 1375 \`configure' configures libpng 1.6.37to adapt to many kinds of systems.1419 'configure' configures libpng 1.6.42 to adapt to many kinds of systems. 1376 1420 1377 1421 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1387 1431 --help=recursive display the short help of all the included packages 1388 1432 -V, --version display version information and exit 1389 -q, --quiet, --silent do not print \`checking ...' messages1433 -q, --quiet, --silent do not print 'checking ...' messages 1390 1434 --cache-file=FILE cache test results in FILE [disabled] 1391 -C, --config-cache alias for \`--cache-file=config.cache'1435 -C, --config-cache alias for '--cache-file=config.cache' 1392 1436 -n, --no-create do not create output files 1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']1437 --srcdir=DIR find the sources in DIR [configure dir or '..'] 1394 1438 1395 1439 Installation directories: … … 1399 1443 [PREFIX] 1400 1444 1401 By default, \`make install' will install all the files in1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',1404 for instance \`--prefix=\$HOME'.1445 By default, 'make install' will install all the files in 1446 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify 1447 an installation prefix other than '$ac_default_prefix' using '--prefix', 1448 for instance '--prefix=\$HOME'. 1405 1449 1406 1450 For better control, use the options below. … … 1413 1457 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1414 1458 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1459 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1415 1460 --libdir=DIR object code libraries [EPREFIX/lib] 1416 1461 --includedir=DIR C header files [PREFIX/include] … … 1443 1488 if test -n "$ac_init_help"; then 1444 1489 case $ac_init_help in 1445 short | recursive ) echo "Configuration of libpng 1.6. 37:";;1490 short | recursive ) echo "Configuration of libpng 1.6.42:";; 1446 1491 esac 1447 1492 cat <<\_ACEOF … … 1465 1510 optimize for fast installation [default=yes] 1466 1511 --disable-libtool-lock avoid locking (might break parallel builds) 1512 --disable-tests do not build the test programs (default is to build) 1513 --disable-tools do not build the auxiliary tools (default is to 1514 build) 1467 1515 --enable-werror[=OPT] Pass -Werror or the given argument to the compiler 1468 1516 if it is supported … … 1511 1559 unconditionally. If not specified: determined by the 1512 1560 compiler. 1561 --enable-mips-mmi Enable MIPS MMI optimizations: =no/off, check, api, 1562 yes/on: no/off: disable the optimizations; check: 1563 use internal checking code (deprecated and poorly 1564 supported); api: disable by default, enable by a 1565 call to png_set_option; yes/on: turn on 1566 unconditionally. If not specified: determined by the 1567 compiler. 1513 1568 --enable-intel-sse Enable Intel SSE optimizations: =no/off, yes/on: 1514 1569 no/off: disable the optimizations; yes/on: enable … … 1521 1576 turn on unconditionally. If not specified: 1522 1577 determined by the compiler. 1578 --enable-loongarch-lsx 1579 Enable LOONGARCH LSX optimizations: =no/off, yes/on: 1580 no/off: disable the optimizations; yes/on: turn on 1581 unconditionally. If not specified: determined by the 1582 compiler. 1523 1583 1524 1584 Optional Packages: … … 1557 1617 would cause configure itself to fail 1558 1618 1559 Use these variables to override the choices made by `configure' or to help1619 Use these variables to override the choices made by 'configure' or to help 1560 1620 it to find libraries and programs with nonstandard names/locations. 1561 1621 … … 1576 1636 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1577 1637 *) 1578 ac_dir_suffix=/` $as_echo"$ac_dir" | sed 's|^\.[\\/]||'`1638 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1579 1639 # A ".." for each directory in $ac_dir_suffix. 1580 ac_top_builddir_sub=` $as_echo"$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`1640 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1581 1641 case $ac_top_builddir_sub in 1582 1642 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1606 1666 1607 1667 cd "$ac_dir" || { ac_status=$?; continue; } 1608 # Check for guested configure. 1668 # Check for configure.gnu first; this name is used for a wrapper for 1669 # Metaconfig's "Configure" on case-insensitive file systems. 1609 1670 if test -f "$ac_srcdir/configure.gnu"; then 1610 1671 echo && … … 1614 1675 $SHELL "$ac_srcdir/configure" --help=recursive 1615 1676 else 1616 $as_echo"$as_me: WARNING: no configuration information is in $ac_dir" >&21677 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1617 1678 fi || ac_status=$? 1618 1679 cd "$ac_pwd" || { ac_status=$?; break; } … … 1623 1684 if $ac_init_version; then 1624 1685 cat <<\_ACEOF 1625 libpng configure 1.6. 371626 generated by GNU Autoconf 2. 691627 1628 Copyright (C) 20 12Free Software Foundation, Inc.1686 libpng configure 1.6.42 1687 generated by GNU Autoconf 2.72 1688 1689 Copyright (C) 2023 Free Software Foundation, Inc. 1629 1690 This configure script is free software; the Free Software Foundation 1630 1691 gives unlimited permission to copy, distribute and modify it. … … 1643 1704 { 1644 1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1645 rm -f conftest.$ac_objext 1706 rm -f conftest.$ac_objext conftest.beam 1646 1707 if { { ac_try="$ac_compile" 1647 1708 case "(($ac_try" in … … 1650 1711 esac 1651 1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1652 $as_echo"$ac_try_echo"; } >&51713 printf "%s\n" "$ac_try_echo"; } >&5 1653 1714 (eval "$ac_compile") 2>conftest.err 1654 1715 ac_status=$? … … 1658 1719 mv -f conftest.er1 conftest.err 1659 1720 fi 1660 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 1722 test $ac_status = 0; } && { 1662 1723 test -z "$ac_c_werror_flag" || 1663 1724 test ! -s conftest.err 1664 } && test -s conftest.$ac_objext; then : 1725 } && test -s conftest.$ac_objext 1726 then : 1665 1727 ac_retval=0 1666 else 1667 $as_echo"$as_me: failed program was:" >&51728 else case e in #( 1729 e) printf "%s\n" "$as_me: failed program was:" >&5 1668 1730 sed 's/^/| /' conftest.$ac_ext >&5 1669 1731 1670 ac_retval=1 1732 ac_retval=1 ;; 1733 esac 1671 1734 fi 1672 1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno … … 1687 1750 esac 1688 1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1689 $as_echo"$ac_try_echo"; } >&51752 printf "%s\n" "$ac_try_echo"; } >&5 1690 1753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1691 1754 ac_status=$? … … 1695 1758 mv -f conftest.er1 conftest.err 1696 1759 fi 1697 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1698 1761 test $ac_status = 0; } > conftest.i && { 1699 1762 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1700 1763 test ! -s conftest.err 1701 }; then : 1764 } 1765 then : 1702 1766 ac_retval=0 1703 else 1704 $as_echo"$as_me: failed program was:" >&51767 else case e in #( 1768 e) printf "%s\n" "$as_me: failed program was:" >&5 1705 1769 sed 's/^/| /' conftest.$ac_ext >&5 1706 1770 1707 ac_retval=1 1771 ac_retval=1 ;; 1772 esac 1708 1773 fi 1709 1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno … … 1718 1783 { 1719 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1720 rm -f conftest.$ac_objext conftest $ac_exeext1785 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1721 1786 if { { ac_try="$ac_link" 1722 1787 case "(($ac_try" in … … 1725 1790 esac 1726 1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1727 $as_echo"$ac_try_echo"; } >&51792 printf "%s\n" "$ac_try_echo"; } >&5 1728 1793 (eval "$ac_link") 2>conftest.err 1729 1794 ac_status=$? … … 1733 1798 mv -f conftest.er1 conftest.err 1734 1799 fi 1735 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1736 1801 test $ac_status = 0; } && { 1737 1802 test -z "$ac_c_werror_flag" || … … 1740 1805 test "$cross_compiling" = yes || 1741 1806 test -x conftest$ac_exeext 1742 }; then : 1807 } 1808 then : 1743 1809 ac_retval=0 1744 else 1745 $as_echo"$as_me: failed program was:" >&51810 else case e in #( 1811 e) printf "%s\n" "$as_me: failed program was:" >&5 1746 1812 sed 's/^/| /' conftest.$ac_ext >&5 1747 1813 1748 ac_retval=1 1814 ac_retval=1 ;; 1815 esac 1749 1816 fi 1750 1817 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information … … 1765 1832 { 1766 1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1768 $as_echo_n "checking for $2... " >&6; } 1769 if eval \${$3+:} false; then : 1770 $as_echo_n "(cached) " >&6 1771 else 1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1835 printf %s "checking for $2... " >&6; } 1836 if eval test \${$3+y} 1837 then : 1838 printf %s "(cached) " >&6 1839 else case e in #( 1840 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1773 1841 /* end confdefs.h. */ 1774 1842 $4 1775 1843 #include <$2> 1776 1844 _ACEOF 1777 if ac_fn_c_try_compile "$LINENO"; then : 1845 if ac_fn_c_try_compile "$LINENO" 1846 then : 1778 1847 eval "$3=yes" 1779 else 1780 eval "$3=no" 1781 fi 1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1848 else case e in #( 1849 e) eval "$3=no" ;; 1850 esac 1851 fi 1852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 1853 esac 1783 1854 fi 1784 1855 eval ac_res=\$$3 1785 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51786 $as_echo"$ac_res" >&6; }1856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1857 printf "%s\n" "$ac_res" >&6; } 1787 1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1788 1859 1789 1860 } # ac_fn_c_check_header_compile 1790 1791 # ac_fn_c_try_run LINENO1792 # ----------------------1793 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1794 # that executables *can* be run.1795 ac_fn_c_try_run ()1796 {1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1798 if { { ac_try="$ac_link"1799 case "(($ac_try" in1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1801 *) ac_try_echo=$ac_try;;1802 esac1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1804 $as_echo "$ac_try_echo"; } >&51805 (eval "$ac_link") 2>&51806 ac_status=$?1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51808 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1809 { { case "(($ac_try" in1810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1811 *) ac_try_echo=$ac_try;;1812 esac1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1814 $as_echo "$ac_try_echo"; } >&51815 (eval "$ac_try") 2>&51816 ac_status=$?1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51818 test $ac_status = 0; }; }; then :1819 ac_retval=01820 else1821 $as_echo "$as_me: program exited with status $ac_status" >&51822 $as_echo "$as_me: failed program was:" >&51823 sed 's/^/| /' conftest.$ac_ext >&51824 1825 ac_retval=$ac_status1826 fi1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1829 as_fn_set_status $ac_retval1830 1831 } # ac_fn_c_try_run1832 1861 1833 1862 # ac_fn_c_check_func LINENO FUNC VAR … … 1837 1866 { 1838 1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1840 $as_echo_n "checking for $2... " >&6; } 1841 if eval \${$3+:} false; then : 1842 $as_echo_n "(cached) " >&6 1843 else 1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1869 printf %s "checking for $2... " >&6; } 1870 if eval test \${$3+y} 1871 then : 1872 printf %s "(cached) " >&6 1873 else case e in #( 1874 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1845 1875 /* end confdefs.h. */ 1846 1876 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. … … 1849 1879 1850 1880 /* System header to define __stub macros and hopefully few prototypes, 1851 which can conflict with char $2 (); below. 1852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1853 <limits.h> exists even on freestanding compilers. */ 1854 1855 #ifdef __STDC__ 1856 # include <limits.h> 1857 #else 1858 # include <assert.h> 1859 #endif 1860 1881 which can conflict with char $2 (void); below. */ 1882 1883 #include <limits.h> 1861 1884 #undef $2 1862 1885 … … 1867 1890 extern "C" 1868 1891 #endif 1869 char $2 ( );1892 char $2 (void); 1870 1893 /* The GNU C library defines this for functions which it implements 1871 1894 to always fail with ENOSYS. Some functions are actually named … … 1876 1899 1877 1900 int 1878 main ( )1901 main (void) 1879 1902 { 1880 1903 return $2 (); … … 1883 1906 } 1884 1907 _ACEOF 1885 if ac_fn_c_try_link "$LINENO"; then : 1908 if ac_fn_c_try_link "$LINENO" 1909 then : 1886 1910 eval "$3=yes" 1887 else 1888 eval "$3=no" 1889 fi 1890 rm -f core conftest.err conftest.$ac_objext \ 1891 conftest$ac_exeext conftest.$ac_ext 1911 else case e in #( 1912 e) eval "$3=no" ;; 1913 esac 1914 fi 1915 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 1916 conftest$ac_exeext conftest.$ac_ext ;; 1917 esac 1892 1918 fi 1893 1919 eval ac_res=\$$3 1894 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51895 $as_echo"$ac_res" >&6; }1920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1921 printf "%s\n" "$ac_res" >&6; } 1896 1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1897 1923 1898 1924 } # ac_fn_c_check_func 1899 1900 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1901 # ------------------------------------------- 1902 # Tests whether TYPE exists after having included INCLUDES, setting cache 1903 # variable VAR accordingly. 1904 ac_fn_c_check_type () 1905 { 1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1908 $as_echo_n "checking for $2... " >&6; } 1909 if eval \${$3+:} false; then : 1910 $as_echo_n "(cached) " >&6 1911 else 1912 eval "$3=no" 1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1914 /* end confdefs.h. */ 1915 $4 1916 int 1917 main () 1918 { 1919 if (sizeof ($2)) 1920 return 0; 1921 ; 1922 return 0; 1923 } 1924 _ACEOF 1925 if ac_fn_c_try_compile "$LINENO"; then : 1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1927 /* end confdefs.h. */ 1928 $4 1929 int 1930 main () 1931 { 1932 if (sizeof (($2))) 1933 return 0; 1934 ; 1935 return 0; 1936 } 1937 _ACEOF 1938 if ac_fn_c_try_compile "$LINENO"; then : 1939 1940 else 1941 eval "$3=yes" 1942 fi 1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1944 fi 1945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1946 fi 1947 eval ac_res=\$$3 1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1949 $as_echo "$ac_res" >&6; } 1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1951 1952 } # ac_fn_c_check_type 1925 ac_configure_args_raw= 1926 for ac_arg 1927 do 1928 case $ac_arg in 1929 *\'*) 1930 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1931 esac 1932 as_fn_append ac_configure_args_raw " '$ac_arg'" 1933 done 1934 1935 case $ac_configure_args_raw in 1936 *$as_nl*) 1937 ac_safe_unquote= ;; 1938 *) 1939 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1940 ac_unsafe_a="$ac_unsafe_z#~" 1941 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1942 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1943 esac 1944 1953 1945 cat >config.log <<_ACEOF 1954 1946 This file contains any messages produced by compilers while 1955 1947 running configure, to aid debugging if configure makes a mistake. 1956 1948 1957 It was created by libpng $as_me 1.6. 37, which was1958 generated by GNU Autoconf 2. 69. Invocation command line was1959 1960 $ $0 $@1949 It was created by libpng $as_me 1.6.42, which was 1950 generated by GNU Autoconf 2.72. Invocation command line was 1951 1952 $ $0$ac_configure_args_raw 1961 1953 1962 1954 _ACEOF … … 1991 1983 do 1992 1984 IFS=$as_save_IFS 1993 test -z "$as_dir" && as_dir=. 1994 $as_echo "PATH: $as_dir" 1985 case $as_dir in #((( 1986 '') as_dir=./ ;; 1987 */) ;; 1988 *) as_dir=$as_dir/ ;; 1989 esac 1990 printf "%s\n" "PATH: $as_dir" 1995 1991 done 1996 1992 IFS=$as_save_IFS … … 2027 2023 continue ;; 2028 2024 *\'*) 2029 ac_arg=` $as_echo"$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2025 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2030 2026 esac 2031 2027 case $ac_pass in … … 2062 2058 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2063 2059 trap 'exit_status=$? 2060 # Sanitize IFS. 2061 IFS=" "" $as_nl" 2064 2062 # Save into config.log some information that might help in debugging. 2065 2063 { 2066 2064 echo 2067 2065 2068 $as_echo"## ---------------- ##2066 printf "%s\n" "## ---------------- ## 2069 2067 ## Cache variables. ## 2070 2068 ## ---------------- ##" … … 2077 2075 *${as_nl}*) 2078 2076 case $ac_var in #( 2079 *_cv_*) { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&52080 $as_echo"$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;2077 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2078 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2081 2079 esac 2082 2080 case $ac_var in #( … … 2102 2100 echo 2103 2101 2104 $as_echo"## ----------------- ##2102 printf "%s\n" "## ----------------- ## 2105 2103 ## Output variables. ## 2106 2104 ## ----------------- ##" … … 2110 2108 eval ac_val=\$$ac_var 2111 2109 case $ac_val in 2112 *\'\''*) ac_val=` $as_echo"$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2110 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2113 2111 esac 2114 $as_echo"$ac_var='\''$ac_val'\''"2112 printf "%s\n" "$ac_var='\''$ac_val'\''" 2115 2113 done | sort 2116 2114 echo 2117 2115 2118 2116 if test -n "$ac_subst_files"; then 2119 $as_echo"## ------------------- ##2117 printf "%s\n" "## ------------------- ## 2120 2118 ## File substitutions. ## 2121 2119 ## ------------------- ##" … … 2125 2123 eval ac_val=\$$ac_var 2126 2124 case $ac_val in 2127 *\'\''*) ac_val=` $as_echo"$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2125 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2128 2126 esac 2129 $as_echo"$ac_var='\''$ac_val'\''"2127 printf "%s\n" "$ac_var='\''$ac_val'\''" 2130 2128 done | sort 2131 2129 echo … … 2133 2131 2134 2132 if test -s confdefs.h; then 2135 $as_echo"## ----------- ##2133 printf "%s\n" "## ----------- ## 2136 2134 ## confdefs.h. ## 2137 2135 ## ----------- ##" … … 2141 2139 fi 2142 2140 test "$ac_signal" != 0 && 2143 $as_echo"$as_me: caught signal $ac_signal"2144 $as_echo"$as_me: exit $exit_status"2141 printf "%s\n" "$as_me: caught signal $ac_signal" 2142 printf "%s\n" "$as_me: exit $exit_status" 2145 2143 } >&5 2146 2144 rm -f core *.core core.conftest.* && … … 2156 2154 rm -f -r conftest* confdefs.h 2157 2155 2158 $as_echo"/* confdefs.h */" > confdefs.h2156 printf "%s\n" "/* confdefs.h */" > confdefs.h 2159 2157 2160 2158 # Predefined preprocessor variables. 2161 2159 2162 cat >>confdefs.h <<_ACEOF 2163 #define PACKAGE_NAME "$PACKAGE_NAME" 2164 _ACEOF 2165 2166 cat >>confdefs.h <<_ACEOF 2167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2168 _ACEOF 2169 2170 cat >>confdefs.h <<_ACEOF 2171 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2172 _ACEOF 2173 2174 cat >>confdefs.h <<_ACEOF 2175 #define PACKAGE_STRING "$PACKAGE_STRING" 2176 _ACEOF 2177 2178 cat >>confdefs.h <<_ACEOF 2179 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2180 _ACEOF 2181 2182 cat >>confdefs.h <<_ACEOF 2183 #define PACKAGE_URL "$PACKAGE_URL" 2184 _ACEOF 2160 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2161 2162 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2163 2164 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2165 2166 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2167 2168 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2169 2170 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2185 2171 2186 2172 2187 2173 # Let the site file select an alternate cache file if it wants to. 2188 2174 # Prefer an explicitly selected file to automatically selected ones. 2189 ac_site_file1=NONE2190 ac_site_file2=NONE2191 2175 if test -n "$CONFIG_SITE"; then 2192 # We do not want a PATH search for config.site. 2193 case $CONFIG_SITE in #(( 2194 -*) ac_site_file1=./$CONFIG_SITE;; 2195 */*) ac_site_file1=$CONFIG_SITE;; 2196 *) ac_site_file1=./$CONFIG_SITE;; 2197 esac 2176 ac_site_files="$CONFIG_SITE" 2198 2177 elif test "x$prefix" != xNONE; then 2199 ac_site_file1=$prefix/share/config.site 2200 ac_site_file2=$prefix/etc/config.site 2201 else 2202 ac_site_file1=$ac_default_prefix/share/config.site 2203 ac_site_file2=$ac_default_prefix/etc/config.site 2204 fi 2205 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2178 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2179 else 2180 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2181 fi 2182 2183 for ac_site_file in $ac_site_files 2206 2184 do 2207 test "x$ac_site_file" = xNONE && continue 2208 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2210 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2185 case $ac_site_file in #( 2186 */*) : 2187 ;; #( 2188 *) : 2189 ac_site_file=./$ac_site_file ;; 2190 esac 2191 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2193 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2211 2194 sed 's/^/| /' "$ac_site_file" >&5 2212 2195 . "$ac_site_file" \ 2213 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2196 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 2197 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 2215 2198 as_fn_error $? "failed to load site script $ac_site_file 2216 See \`config.log' for more details" "$LINENO" 5; }2199 See 'config.log' for more details" "$LINENO" 5; } 2217 2200 fi 2218 2201 done … … 2222 2205 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2223 2206 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2224 { $as_echo"$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52225 $as_echo"$as_me: loading cache $cache_file" >&6;}2207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2208 printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2226 2209 case $cache_file in 2227 2210 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 2230 2213 fi 2231 2214 else 2232 { $as_echo"$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52233 $as_echo"$as_me: creating cache $cache_file" >&6;}2215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2216 printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2234 2217 >$cache_file 2218 fi 2219 2220 # Test code for whether the C compiler supports C89 (global declarations) 2221 ac_c_conftest_c89_globals=' 2222 /* Does the compiler advertise C89 conformance? 2223 Do not test the value of __STDC__, because some compilers set it to 0 2224 while being otherwise adequately conformant. */ 2225 #if !defined __STDC__ 2226 # error "Compiler does not advertise C89 conformance" 2227 #endif 2228 2229 #include <stddef.h> 2230 #include <stdarg.h> 2231 struct stat; 2232 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2233 struct buf { int x; }; 2234 struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2235 static char *e (char **p, int i) 2236 { 2237 return p[i]; 2238 } 2239 static char *f (char * (*g) (char **, int), char **p, ...) 2240 { 2241 char *s; 2242 va_list v; 2243 va_start (v,p); 2244 s = g (p, va_arg (v,int)); 2245 va_end (v); 2246 return s; 2247 } 2248 2249 /* C89 style stringification. */ 2250 #define noexpand_stringify(a) #a 2251 const char *stringified = noexpand_stringify(arbitrary+token=sequence); 2252 2253 /* C89 style token pasting. Exercises some of the corner cases that 2254 e.g. old MSVC gets wrong, but not very hard. */ 2255 #define noexpand_concat(a,b) a##b 2256 #define expand_concat(a,b) noexpand_concat(a,b) 2257 extern int vA; 2258 extern int vbee; 2259 #define aye A 2260 #define bee B 2261 int *pvA = &expand_concat(v,aye); 2262 int *pvbee = &noexpand_concat(v,bee); 2263 2264 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2265 function prototypes and stuff, but not \xHH hex character constants. 2266 These do not provoke an error unfortunately, instead are silently treated 2267 as an "x". The following induces an error, until -std is added to get 2268 proper ANSI mode. Curiously \x00 != x always comes out true, for an 2269 array size at least. It is necessary to write \x00 == 0 to get something 2270 that is true only with -std. */ 2271 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2272 2273 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2274 inside strings and character constants. */ 2275 #define FOO(x) '\''x'\'' 2276 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2277 2278 int test (int i, double x); 2279 struct s1 {int (*f) (int a);}; 2280 struct s2 {int (*f) (double a);}; 2281 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2282 int, int);' 2283 2284 # Test code for whether the C compiler supports C89 (body of main). 2285 ac_c_conftest_c89_main=' 2286 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2287 ' 2288 2289 # Test code for whether the C compiler supports C99 (global declarations) 2290 ac_c_conftest_c99_globals=' 2291 /* Does the compiler advertise C99 conformance? */ 2292 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2293 # error "Compiler does not advertise C99 conformance" 2294 #endif 2295 2296 // See if C++-style comments work. 2297 2298 #include <stdbool.h> 2299 extern int puts (const char *); 2300 extern int printf (const char *, ...); 2301 extern int dprintf (int, const char *, ...); 2302 extern void *malloc (size_t); 2303 extern void free (void *); 2304 2305 // Check varargs macros. These examples are taken from C99 6.10.3.5. 2306 // dprintf is used instead of fprintf to avoid needing to declare 2307 // FILE and stderr. 2308 #define debug(...) dprintf (2, __VA_ARGS__) 2309 #define showlist(...) puts (#__VA_ARGS__) 2310 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2311 static void 2312 test_varargs_macros (void) 2313 { 2314 int x = 1234; 2315 int y = 5678; 2316 debug ("Flag"); 2317 debug ("X = %d\n", x); 2318 showlist (The first, second, and third items.); 2319 report (x>y, "x is %d but y is %d", x, y); 2320 } 2321 2322 // Check long long types. 2323 #define BIG64 18446744073709551615ull 2324 #define BIG32 4294967295ul 2325 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2326 #if !BIG_OK 2327 #error "your preprocessor is broken" 2328 #endif 2329 #if BIG_OK 2330 #else 2331 #error "your preprocessor is broken" 2332 #endif 2333 static long long int bignum = -9223372036854775807LL; 2334 static unsigned long long int ubignum = BIG64; 2335 2336 struct incomplete_array 2337 { 2338 int datasize; 2339 double data[]; 2340 }; 2341 2342 struct named_init { 2343 int number; 2344 const wchar_t *name; 2345 double average; 2346 }; 2347 2348 typedef const char *ccp; 2349 2350 static inline int 2351 test_restrict (ccp restrict text) 2352 { 2353 // Iterate through items via the restricted pointer. 2354 // Also check for declarations in for loops. 2355 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2356 continue; 2357 return 0; 2358 } 2359 2360 // Check varargs and va_copy. 2361 static bool 2362 test_varargs (const char *format, ...) 2363 { 2364 va_list args; 2365 va_start (args, format); 2366 va_list args_copy; 2367 va_copy (args_copy, args); 2368 2369 const char *str = ""; 2370 int number = 0; 2371 float fnumber = 0; 2372 2373 while (*format) 2374 { 2375 switch (*format++) 2376 { 2377 case '\''s'\'': // string 2378 str = va_arg (args_copy, const char *); 2379 break; 2380 case '\''d'\'': // int 2381 number = va_arg (args_copy, int); 2382 break; 2383 case '\''f'\'': // float 2384 fnumber = va_arg (args_copy, double); 2385 break; 2386 default: 2387 break; 2388 } 2389 } 2390 va_end (args_copy); 2391 va_end (args); 2392 2393 return *str && number && fnumber; 2394 } 2395 ' 2396 2397 # Test code for whether the C compiler supports C99 (body of main). 2398 ac_c_conftest_c99_main=' 2399 // Check bool. 2400 _Bool success = false; 2401 success |= (argc != 0); 2402 2403 // Check restrict. 2404 if (test_restrict ("String literal") == 0) 2405 success = true; 2406 char *restrict newvar = "Another string"; 2407 2408 // Check varargs. 2409 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2410 test_varargs_macros (); 2411 2412 // Check flexible array members. 2413 struct incomplete_array *ia = 2414 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2415 ia->datasize = 10; 2416 for (int i = 0; i < ia->datasize; ++i) 2417 ia->data[i] = i * 1.234; 2418 // Work around memory leak warnings. 2419 free (ia); 2420 2421 // Check named initializers. 2422 struct named_init ni = { 2423 .number = 34, 2424 .name = L"Test wide string", 2425 .average = 543.34343, 2426 }; 2427 2428 ni.number = 58; 2429 2430 int dynamic_array[ni.number]; 2431 dynamic_array[0] = argv[0][0]; 2432 dynamic_array[ni.number - 1] = 543; 2433 2434 // work around unused variable warnings 2435 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2436 || dynamic_array[ni.number - 1] != 543); 2437 ' 2438 2439 # Test code for whether the C compiler supports C11 (global declarations) 2440 ac_c_conftest_c11_globals=' 2441 /* Does the compiler advertise C11 conformance? */ 2442 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2443 # error "Compiler does not advertise C11 conformance" 2444 #endif 2445 2446 // Check _Alignas. 2447 char _Alignas (double) aligned_as_double; 2448 char _Alignas (0) no_special_alignment; 2449 extern char aligned_as_int; 2450 char _Alignas (0) _Alignas (int) aligned_as_int; 2451 2452 // Check _Alignof. 2453 enum 2454 { 2455 int_alignment = _Alignof (int), 2456 int_array_alignment = _Alignof (int[100]), 2457 char_alignment = _Alignof (char) 2458 }; 2459 _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2460 2461 // Check _Noreturn. 2462 int _Noreturn does_not_return (void) { for (;;) continue; } 2463 2464 // Check _Static_assert. 2465 struct test_static_assert 2466 { 2467 int x; 2468 _Static_assert (sizeof (int) <= sizeof (long int), 2469 "_Static_assert does not work in struct"); 2470 long int y; 2471 }; 2472 2473 // Check UTF-8 literals. 2474 #define u8 syntax error! 2475 char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2476 2477 // Check duplicate typedefs. 2478 typedef long *long_ptr; 2479 typedef long int *long_ptr; 2480 typedef long_ptr long_ptr; 2481 2482 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2483 struct anonymous 2484 { 2485 union { 2486 struct { int i; int j; }; 2487 struct { int k; long int l; } w; 2488 }; 2489 int m; 2490 } v1; 2491 ' 2492 2493 # Test code for whether the C compiler supports C11 (body of main). 2494 ac_c_conftest_c11_main=' 2495 _Static_assert ((offsetof (struct anonymous, i) 2496 == offsetof (struct anonymous, w.k)), 2497 "Anonymous union alignment botch"); 2498 v1.i = 2; 2499 v1.w.k = 5; 2500 ok |= v1.i != 5; 2501 ' 2502 2503 # Test code for whether the C compiler supports C11 (complete). 2504 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2505 ${ac_c_conftest_c99_globals} 2506 ${ac_c_conftest_c11_globals} 2507 2508 int 2509 main (int argc, char **argv) 2510 { 2511 int ok = 0; 2512 ${ac_c_conftest_c89_main} 2513 ${ac_c_conftest_c99_main} 2514 ${ac_c_conftest_c11_main} 2515 return ok; 2516 } 2517 " 2518 2519 # Test code for whether the C compiler supports C99 (complete). 2520 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2521 ${ac_c_conftest_c99_globals} 2522 2523 int 2524 main (int argc, char **argv) 2525 { 2526 int ok = 0; 2527 ${ac_c_conftest_c89_main} 2528 ${ac_c_conftest_c99_main} 2529 return ok; 2530 } 2531 " 2532 2533 # Test code for whether the C compiler supports C89 (complete). 2534 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2535 2536 int 2537 main (int argc, char **argv) 2538 { 2539 int ok = 0; 2540 ${ac_c_conftest_c89_main} 2541 return ok; 2542 } 2543 " 2544 2545 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2546 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2547 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2548 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2549 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2550 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2551 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2552 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2553 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2554 2555 # Auxiliary files required by this configure script. 2556 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh" 2557 2558 # Locations in which to look for auxiliary files. 2559 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2560 2561 # Search for a directory containing all of the required auxiliary files, 2562 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2563 # If we don't find one directory that contains all the files we need, 2564 # we report the set of missing files from the *first* directory in 2565 # $ac_aux_dir_candidates and give up. 2566 ac_missing_aux_files="" 2567 ac_first_candidate=: 2568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2570 as_found=false 2571 for as_dir in $ac_aux_dir_candidates 2572 do 2573 IFS=$as_save_IFS 2574 case $as_dir in #((( 2575 '') as_dir=./ ;; 2576 */) ;; 2577 *) as_dir=$as_dir/ ;; 2578 esac 2579 as_found=: 2580 2581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2582 ac_aux_dir_found=yes 2583 ac_install_sh= 2584 for ac_aux in $ac_aux_files 2585 do 2586 # As a special case, if "install-sh" is required, that requirement 2587 # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2588 # and $ac_install_sh is set appropriately for whichever one is found. 2589 if test x"$ac_aux" = x"install-sh" 2590 then 2591 if test -f "${as_dir}install-sh"; then 2592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2593 ac_install_sh="${as_dir}install-sh -c" 2594 elif test -f "${as_dir}install.sh"; then 2595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2596 ac_install_sh="${as_dir}install.sh -c" 2597 elif test -f "${as_dir}shtool"; then 2598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2599 ac_install_sh="${as_dir}shtool install -c" 2600 else 2601 ac_aux_dir_found=no 2602 if $ac_first_candidate; then 2603 ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2604 else 2605 break 2606 fi 2607 fi 2608 else 2609 if test -f "${as_dir}${ac_aux}"; then 2610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2611 else 2612 ac_aux_dir_found=no 2613 if $ac_first_candidate; then 2614 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2615 else 2616 break 2617 fi 2618 fi 2619 fi 2620 done 2621 if test "$ac_aux_dir_found" = yes; then 2622 ac_aux_dir="$as_dir" 2623 break 2624 fi 2625 ac_first_candidate=false 2626 2627 as_found=false 2628 done 2629 IFS=$as_save_IFS 2630 if $as_found 2631 then : 2632 2633 else case e in #( 2634 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; 2635 esac 2636 fi 2637 2638 2639 # These three variables are undocumented and unsupported, 2640 # and are intended to be withdrawn in a future Autoconf release. 2641 # They can cause serious problems if a builder's source tree is in a directory 2642 # whose full name contains unusual characters. 2643 if test -f "${ac_aux_dir}config.guess"; then 2644 ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2645 fi 2646 if test -f "${ac_aux_dir}config.sub"; then 2647 ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2648 fi 2649 if test -f "$ac_aux_dir/configure"; then 2650 ac_configure="$SHELL ${ac_aux_dir}configure" 2235 2651 fi 2236 2652 … … 2245 2661 case $ac_old_set,$ac_new_set in 2246 2662 set,) 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52248 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 2664 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} 2249 2665 ac_cache_corrupted=: ;; 2250 2666 ,set) 2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52252 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 2668 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;} 2253 2669 ac_cache_corrupted=: ;; 2254 2670 ,);; … … 2259 2675 ac_new_val_w=`echo x $ac_new_val` 2260 2676 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&52262 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}2677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 2678 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} 2263 2679 ac_cache_corrupted=: 2264 2680 else 2265 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52266 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 2682 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} 2267 2683 eval $ac_var=\$ac_old_val 2268 2684 fi 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&52270 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}2271 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&52272 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}2685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 2686 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;} 2687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 2688 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;} 2273 2689 fi;; 2274 2690 esac … … 2276 2692 if test "$ac_new_set" = set; then 2277 2693 case $ac_new_val in 2278 *\'*) ac_arg=$ac_var=` $as_echo"$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2694 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2279 2695 *) ac_arg=$ac_var=$ac_new_val ;; 2280 2696 esac … … 2286 2702 done 2287 2703 if $ac_cache_corrupted; then 2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2291 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2292 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 2705 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 2706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2707 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2708 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' 2709 and start over" "$LINENO" 5 2293 2710 fi 2294 2711 ## -------------------- ## … … 2313 2730 am__api_version='1.16' 2314 2731 2315 ac_aux_dir= 2316 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2317 if test -f "$ac_dir/install-sh"; then 2318 ac_aux_dir=$ac_dir 2319 ac_install_sh="$ac_aux_dir/install-sh -c" 2320 break 2321 elif test -f "$ac_dir/install.sh"; then 2322 ac_aux_dir=$ac_dir 2323 ac_install_sh="$ac_aux_dir/install.sh -c" 2324 break 2325 elif test -f "$ac_dir/shtool"; then 2326 ac_aux_dir=$ac_dir 2327 ac_install_sh="$ac_aux_dir/shtool install -c" 2328 break 2329 fi 2330 done 2331 if test -z "$ac_aux_dir"; then 2332 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2333 fi 2334 2335 # These three variables are undocumented and unsupported, 2336 # and are intended to be withdrawn in a future Autoconf release. 2337 # They can cause serious problems if a builder's source tree is in a directory 2338 # whose full name contains unusual characters. 2339 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2340 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2341 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2342 2343 2344 # Find a good install program. We prefer a C program (faster), 2732 2733 2734 # Find a good install program. We prefer a C program (faster), 2345 2735 # so one script is as good as another. But avoid the broken or 2346 2736 # incompatible versions: … … 2356 2746 # ./install, which can be erroneously created by make from ./install.sh. 2357 2747 # Reject install programs that cannot install multiple files. 2358 { $as_echo"$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&52359 $as_echo_n"checking for a BSD-compatible install... " >&6; }2748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2749 printf %s "checking for a BSD-compatible install... " >&6; } 2360 2750 if test -z "$INSTALL"; then 2361 if ${ac_cv_path_install+:} false; then : 2362 $as_echo_n "(cached) " >&6 2363 else 2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2751 if test ${ac_cv_path_install+y} 2752 then : 2753 printf %s "(cached) " >&6 2754 else case e in #( 2755 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2365 2756 for as_dir in $PATH 2366 2757 do 2367 2758 IFS=$as_save_IFS 2368 test -z "$as_dir" && as_dir=. 2369 # Account for people who put trailing slashes in PATH elements. 2370 case $as_dir/ in #(( 2371 ./ | .// | /[cC]/* | \ 2759 case $as_dir in #((( 2760 '') as_dir=./ ;; 2761 */) ;; 2762 *) as_dir=$as_dir/ ;; 2763 esac 2764 # Account for fact that we put trailing slashes in our PATH walk. 2765 case $as_dir in #(( 2766 ./ | /[cC]/* | \ 2372 2767 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2373 2768 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ … … 2379 2774 for ac_prog in ginstall scoinst install; do 2380 2775 for ac_exec_ext in '' $ac_executable_extensions; do 2381 if as_fn_executable_p "$as_dir /$ac_prog$ac_exec_ext"; then2776 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2382 2777 if test $ac_prog = install && 2383 grep dspmsg "$as_dir /$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2778 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2384 2779 # AIX install. It has an incompatible calling convention. 2385 2780 : 2386 2781 elif test $ac_prog = install && 2387 grep pwplus "$as_dir /$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2782 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2388 2783 # program-specific install script used by HP pwplus--don't use. 2389 2784 : … … 2393 2788 echo two > conftest.two 2394 2789 mkdir conftest.dir 2395 if "$as_dir /$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&2790 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2396 2791 test -s conftest.one && test -s conftest.two && 2397 2792 test -s conftest.dir/conftest.one && 2398 2793 test -s conftest.dir/conftest.two 2399 2794 then 2400 ac_cv_path_install="$as_dir /$ac_prog$ac_exec_ext -c"2795 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2401 2796 break 3 2402 2797 fi … … 2412 2807 2413 2808 rm -rf conftest.one conftest.two conftest.dir 2414 2415 fi 2416 if test "${ac_cv_path_install+set}" = set; then 2809 ;; 2810 esac 2811 fi 2812 if test ${ac_cv_path_install+y}; then 2417 2813 INSTALL=$ac_cv_path_install 2418 2814 else … … 2424 2820 fi 2425 2821 fi 2426 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&52427 $as_echo"$INSTALL" >&6; }2822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2823 printf "%s\n" "$INSTALL" >&6; } 2428 2824 2429 2825 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2435 2831 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2436 2832 2437 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&52438 $as_echo_n"checking whether build environment is sane... " >&6; }2833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2834 printf %s "checking whether build environment is sane... " >&6; } 2439 2835 # Reject unsafe characters in $srcdir or the absolute working directory 2440 2836 # name. Accept space and tab only in the latter. … … 2490 2886 Check your system clock" "$LINENO" 5 2491 2887 fi 2492 { $as_echo"$as_me:${as_lineno-$LINENO}: result: yes" >&52493 $as_echo"yes" >&6; }2888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2889 printf "%s\n" "yes" >&6; } 2494 2890 # If we didn't sleep, we still need to ensure time stamps of config.status and 2495 2891 # generated files are strictly newer. … … 2508 2904 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2509 2905 # Double any \ or $. 2510 # By default was `s,x,x', remove it if useless.2906 # By default was 's,x,x', remove it if useless. 2511 2907 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2512 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2908 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2909 2513 2910 2514 2911 # Expand $ac_aux_dir to an absolute path. 2515 2912 am_aux_dir=`cd "$ac_aux_dir" && pwd` 2516 2913 2517 if test x"${MISSING+set}" != xset; then 2518 case $am_aux_dir in 2519 *\ * | *\ *) 2520 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2521 *) 2522 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2523 esac 2914 2915 if test x"${MISSING+set}" != xset; then 2916 MISSING="\${SHELL} '$am_aux_dir/missing'" 2524 2917 fi 2525 2918 # Use eval to expand $SHELL … … 2528 2921 else 2529 2922 am_missing_run= 2530 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&52531 $as_echo"$as_me: WARNING: 'missing' script is too old or missing" >&2;}2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2924 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2532 2925 fi 2533 2926 … … 2549 2942 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2550 2943 set dummy ${ac_tool_prefix}strip; ac_word=$2 2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2552 $as_echo_n "checking for $ac_word... " >&6; } 2553 if ${ac_cv_prog_STRIP+:} false; then : 2554 $as_echo_n "(cached) " >&6 2555 else 2556 if test -n "$STRIP"; then 2944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2945 printf %s "checking for $ac_word... " >&6; } 2946 if test ${ac_cv_prog_STRIP+y} 2947 then : 2948 printf %s "(cached) " >&6 2949 else case e in #( 2950 e) if test -n "$STRIP"; then 2557 2951 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2558 2952 else … … 2561 2955 do 2562 2956 IFS=$as_save_IFS 2563 test -z "$as_dir" && as_dir=. 2957 case $as_dir in #((( 2958 '') as_dir=./ ;; 2959 */) ;; 2960 *) as_dir=$as_dir/ ;; 2961 esac 2564 2962 for ac_exec_ext in '' $ac_executable_extensions; do 2565 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then2963 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2566 2964 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2568 2966 break 2 2569 2967 fi … … 2572 2970 IFS=$as_save_IFS 2573 2971 2574 fi 2972 fi ;; 2973 esac 2575 2974 fi 2576 2975 STRIP=$ac_cv_prog_STRIP 2577 2976 if test -n "$STRIP"; then 2578 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $STRIP" >&52579 $as_echo"$STRIP" >&6; }2580 else 2581 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&52582 $as_echo"no" >&6; }2977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2978 printf "%s\n" "$STRIP" >&6; } 2979 else 2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2981 printf "%s\n" "no" >&6; } 2583 2982 fi 2584 2983 … … 2589 2988 # Extract the first word of "strip", so it can be a program name with args. 2590 2989 set dummy strip; ac_word=$2 2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2592 $as_echo_n "checking for $ac_word... " >&6; } 2593 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2594 $as_echo_n "(cached) " >&6 2595 else 2596 if test -n "$ac_ct_STRIP"; then 2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2991 printf %s "checking for $ac_word... " >&6; } 2992 if test ${ac_cv_prog_ac_ct_STRIP+y} 2993 then : 2994 printf %s "(cached) " >&6 2995 else case e in #( 2996 e) if test -n "$ac_ct_STRIP"; then 2597 2997 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2598 2998 else … … 2601 3001 do 2602 3002 IFS=$as_save_IFS 2603 test -z "$as_dir" && as_dir=. 3003 case $as_dir in #((( 3004 '') as_dir=./ ;; 3005 */) ;; 3006 *) as_dir=$as_dir/ ;; 3007 esac 2604 3008 for ac_exec_ext in '' $ac_executable_extensions; do 2605 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then3009 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2606 3010 ac_cv_prog_ac_ct_STRIP="strip" 2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2608 3012 break 2 2609 3013 fi … … 2612 3016 IFS=$as_save_IFS 2613 3017 2614 fi 3018 fi ;; 3019 esac 2615 3020 fi 2616 3021 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2617 3022 if test -n "$ac_ct_STRIP"; then 2618 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&52619 $as_echo"$ac_ct_STRIP" >&6; }2620 else 2621 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&52622 $as_echo"no" >&6; }3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3024 printf "%s\n" "$ac_ct_STRIP" >&6; } 3025 else 3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3027 printf "%s\n" "no" >&6; } 2623 3028 fi 2624 3029 … … 2628 3033 case $cross_compiling:$ac_tool_warned in 2629 3034 yes:) 2630 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52631 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3036 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2632 3037 ac_tool_warned=yes ;; 2633 3038 esac … … 2641 3046 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2642 3047 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2644 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3048 3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 3050 printf %s "checking for a race-free mkdir -p... " >&6; } 2645 3051 if test -z "$MKDIR_P"; then 2646 if ${ac_cv_path_mkdir+:} false; then : 2647 $as_echo_n "(cached) " >&6 2648 else 2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3052 if test ${ac_cv_path_mkdir+y} 3053 then : 3054 printf %s "(cached) " >&6 3055 else case e in #( 3056 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2650 3057 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2651 3058 do 2652 3059 IFS=$as_save_IFS 2653 test -z "$as_dir" && as_dir=. 3060 case $as_dir in #((( 3061 '') as_dir=./ ;; 3062 */) ;; 3063 *) as_dir=$as_dir/ ;; 3064 esac 2654 3065 for ac_prog in mkdir gmkdir; do 2655 3066 for ac_exec_ext in '' $ac_executable_extensions; do 2656 as_fn_executable_p "$as_dir /$ac_prog$ac_exec_ext" || continue2657 case `"$as_dir /$ac_prog$ac_exec_ext" --version 2>&1` in #(2658 'mkdir ( GNUcoreutils) '* | \2659 'mkdir (coreutils)'* | \3067 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 3068 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 3069 'mkdir ('*'coreutils) '* | \ 3070 *'BusyBox '* | \ 2660 3071 'mkdir (fileutils) '4.1*) 2661 ac_cv_path_mkdir=$as_dir /$ac_prog$ac_exec_ext3072 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2662 3073 break 3;; 2663 3074 esac … … 2666 3077 done 2667 3078 IFS=$as_save_IFS 2668 3079 ;; 3080 esac 2669 3081 fi 2670 3082 2671 3083 test -d ./--version && rmdir ./--version 2672 if test "${ac_cv_path_mkdir+set}" = set; then3084 if test ${ac_cv_path_mkdir+y}; then 2673 3085 MKDIR_P="$ac_cv_path_mkdir -p" 2674 3086 else 2675 # As a last resort, use the slow shell script. Don't cache a 2676 # value for MKDIR_P within a source directory, because that will 2677 # break other packages using the cache if that directory is 2678 # removed, or if the value is a relative name. 2679 MKDIR_P="$ac_install_sh -d" 3087 # As a last resort, use plain mkdir -p, 3088 # in the hope it doesn't have the bugs of ancient mkdir. 3089 MKDIR_P='mkdir -p' 2680 3090 fi 2681 3091 fi 2682 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&52683 $as_echo"$MKDIR_P" >&6; }3092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3093 printf "%s\n" "$MKDIR_P" >&6; } 2684 3094 2685 3095 for ac_prog in gawk mawk nawk awk … … 2687 3097 # Extract the first word of "$ac_prog", so it can be a program name with args. 2688 3098 set dummy $ac_prog; ac_word=$2 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2690 $as_echo_n "checking for $ac_word... " >&6; } 2691 if ${ac_cv_prog_AWK+:} false; then : 2692 $as_echo_n "(cached) " >&6 2693 else 2694 if test -n "$AWK"; then 3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3100 printf %s "checking for $ac_word... " >&6; } 3101 if test ${ac_cv_prog_AWK+y} 3102 then : 3103 printf %s "(cached) " >&6 3104 else case e in #( 3105 e) if test -n "$AWK"; then 2695 3106 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2696 3107 else … … 2699 3110 do 2700 3111 IFS=$as_save_IFS 2701 test -z "$as_dir" && as_dir=. 3112 case $as_dir in #((( 3113 '') as_dir=./ ;; 3114 */) ;; 3115 *) as_dir=$as_dir/ ;; 3116 esac 2702 3117 for ac_exec_ext in '' $ac_executable_extensions; do 2703 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then3118 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2704 3119 ac_cv_prog_AWK="$ac_prog" 2705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2706 3121 break 2 2707 3122 fi … … 2710 3125 IFS=$as_save_IFS 2711 3126 2712 fi 3127 fi ;; 3128 esac 2713 3129 fi 2714 3130 AWK=$ac_cv_prog_AWK 2715 3131 if test -n "$AWK"; then 2716 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $AWK" >&52717 $as_echo"$AWK" >&6; }2718 else 2719 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&52720 $as_echo"no" >&6; }3132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3133 printf "%s\n" "$AWK" >&6; } 3134 else 3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3136 printf "%s\n" "no" >&6; } 2721 3137 fi 2722 3138 … … 2725 3141 done 2726 3142 2727 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&52728 $as_echo_n"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }3143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3144 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2729 3145 set x ${MAKE-make} 2730 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2731 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2732 $as_echo_n "(cached) " >&6 2733 else 2734 cat >conftest.make <<\_ACEOF 3146 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3147 if eval test \${ac_cv_prog_make_${ac_make}_set+y} 3148 then : 3149 printf %s "(cached) " >&6 3150 else case e in #( 3151 e) cat >conftest.make <<\_ACEOF 2735 3152 SHELL = /bin/sh 2736 3153 all: … … 2744 3161 eval ac_cv_prog_make_${ac_make}_set=no;; 2745 3162 esac 2746 rm -f conftest.make 3163 rm -f conftest.make ;; 3164 esac 2747 3165 fi 2748 3166 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2749 { $as_echo"$as_me:${as_lineno-$LINENO}: result: yes" >&52750 $as_echo"yes" >&6; }3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3168 printf "%s\n" "yes" >&6; } 2751 3169 SET_MAKE= 2752 3170 else 2753 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&52754 $as_echo"no" >&6; }3171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3172 printf "%s\n" "no" >&6; } 2755 3173 SET_MAKE="MAKE=${MAKE-make}" 2756 3174 fi … … 2766 3184 2767 3185 # Check whether --enable-silent-rules was given. 2768 if test "${enable_silent_rules+set}" = set; then : 3186 if test ${enable_silent_rules+y} 3187 then : 2769 3188 enableval=$enable_silent_rules; 2770 3189 fi … … 2776 3195 esac 2777 3196 am_make=${MAKE-make} 2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2779 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2780 if ${am_cv_make_support_nested_variables+:} false; then : 2781 $as_echo_n "(cached) " >&6 2782 else 2783 if $as_echo 'TRUE=$(BAR$(V)) 3197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3198 printf %s "checking whether $am_make supports nested variables... " >&6; } 3199 if test ${am_cv_make_support_nested_variables+y} 3200 then : 3201 printf %s "(cached) " >&6 3202 else case e in #( 3203 e) if printf "%s\n" 'TRUE=$(BAR$(V)) 2784 3204 BAR0=false 2785 3205 BAR1=true … … 2791 3211 else 2792 3212 am_cv_make_support_nested_variables=no 2793 fi 2794 fi 2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2796 $as_echo "$am_cv_make_support_nested_variables" >&6; } 3213 fi ;; 3214 esac 3215 fi 3216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3217 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 2797 3218 if test $am_cv_make_support_nested_variables = yes; then 2798 3219 AM_V='$(V)' … … 2826 3247 # Define the identity of the package. 2827 3248 PACKAGE='libpng' 2828 VERSION='1.6.37' 2829 2830 2831 cat >>confdefs.h <<_ACEOF 2832 #define PACKAGE "$PACKAGE" 2833 _ACEOF 2834 2835 2836 cat >>confdefs.h <<_ACEOF 2837 #define VERSION "$VERSION" 2838 _ACEOF 3249 VERSION='1.6.42' 3250 3251 3252 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 3253 3254 3255 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2839 3256 2840 3257 # Some tools Automake needs. … … 2874 3291 2875 3292 3293 3294 3295 # Variables for tags utilities; see am/tags.am 3296 if test -z "$CTAGS"; then 3297 CTAGS=ctags 3298 fi 3299 3300 if test -z "$ETAGS"; then 3301 ETAGS=etags 3302 fi 3303 3304 if test -z "$CSCOPE"; then 3305 CSCOPE=cscope 3306 fi 2876 3307 2877 3308 … … 2923 3354 # time stamps of the autotools generated files being correct 2924 3355 2925 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&52926 $as_echo_n"checking whether to enable maintainer-specific portions of Makefiles... " >&6; }3356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3357 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2927 3358 # Check whether --enable-maintainer-mode was given. 2928 if test "${enable_maintainer_mode+set}" = set; then : 3359 if test ${enable_maintainer_mode+y} 3360 then : 2929 3361 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2930 else 2931 USE_MAINTAINER_MODE=no 2932 fi 2933 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2935 $as_echo "$USE_MAINTAINER_MODE" >&6; } 3362 else case e in #( 3363 e) USE_MAINTAINER_MODE=no ;; 3364 esac 3365 fi 3366 3367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3368 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 2936 3369 if test $USE_MAINTAINER_MODE = yes; then 2937 3370 MAINTAINER_MODE_TRUE= … … 2947 3380 2948 3381 2949 PNGLIB_VERSION=1.6. 373382 PNGLIB_VERSION=1.6.42 2950 3383 PNGLIB_MAJOR=1 2951 3384 PNGLIB_MINOR=6 2952 PNGLIB_RELEASE= 373385 PNGLIB_RELEASE=41 2953 3386 2954 3387 … … 2963 3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2964 3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3398 3399 3400 3401 3402 3403 3404 3405 3406 2965 3407 2966 3408 ac_ext=c … … 2972 3414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2973 3415 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2975 $as_echo_n "checking for $ac_word... " >&6; } 2976 if ${ac_cv_prog_CC+:} false; then : 2977 $as_echo_n "(cached) " >&6 2978 else 2979 if test -n "$CC"; then 3416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3417 printf %s "checking for $ac_word... " >&6; } 3418 if test ${ac_cv_prog_CC+y} 3419 then : 3420 printf %s "(cached) " >&6 3421 else case e in #( 3422 e) if test -n "$CC"; then 2980 3423 ac_cv_prog_CC="$CC" # Let the user override the test. 2981 3424 else … … 2984 3427 do 2985 3428 IFS=$as_save_IFS 2986 test -z "$as_dir" && as_dir=. 3429 case $as_dir in #((( 3430 '') as_dir=./ ;; 3431 */) ;; 3432 *) as_dir=$as_dir/ ;; 3433 esac 2987 3434 for ac_exec_ext in '' $ac_executable_extensions; do 2988 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then3435 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2989 3436 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2991 3438 break 2 2992 3439 fi … … 2995 3442 IFS=$as_save_IFS 2996 3443 2997 fi 3444 fi ;; 3445 esac 2998 3446 fi 2999 3447 CC=$ac_cv_prog_CC 3000 3448 if test -n "$CC"; then 3001 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $CC" >&53002 $as_echo"$CC" >&6; }3003 else 3004 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&53005 $as_echo"no" >&6; }3449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3450 printf "%s\n" "$CC" >&6; } 3451 else 3452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3453 printf "%s\n" "no" >&6; } 3006 3454 fi 3007 3455 … … 3012 3460 # Extract the first word of "gcc", so it can be a program name with args. 3013 3461 set dummy gcc; ac_word=$2 3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3015 $as_echo_n "checking for $ac_word... " >&6; } 3016 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3017 $as_echo_n "(cached) " >&6 3018 else 3019 if test -n "$ac_ct_CC"; then 3462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3463 printf %s "checking for $ac_word... " >&6; } 3464 if test ${ac_cv_prog_ac_ct_CC+y} 3465 then : 3466 printf %s "(cached) " >&6 3467 else case e in #( 3468 e) if test -n "$ac_ct_CC"; then 3020 3469 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3021 3470 else … … 3024 3473 do 3025 3474 IFS=$as_save_IFS 3026 test -z "$as_dir" && as_dir=. 3475 case $as_dir in #((( 3476 '') as_dir=./ ;; 3477 */) ;; 3478 *) as_dir=$as_dir/ ;; 3479 esac 3027 3480 for ac_exec_ext in '' $ac_executable_extensions; do 3028 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then3481 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3029 3482 ac_cv_prog_ac_ct_CC="gcc" 3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3031 3484 break 2 3032 3485 fi … … 3035 3488 IFS=$as_save_IFS 3036 3489 3037 fi 3490 fi ;; 3491 esac 3038 3492 fi 3039 3493 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3040 3494 if test -n "$ac_ct_CC"; then 3041 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&53042 $as_echo"$ac_ct_CC" >&6; }3043 else 3044 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&53045 $as_echo"no" >&6; }3495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3496 printf "%s\n" "$ac_ct_CC" >&6; } 3497 else 3498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3499 printf "%s\n" "no" >&6; } 3046 3500 fi 3047 3501 … … 3051 3505 case $cross_compiling:$ac_tool_warned in 3052 3506 yes:) 3053 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53054 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}3507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3508 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3055 3509 ac_tool_warned=yes ;; 3056 3510 esac … … 3065 3519 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3066 3520 set dummy ${ac_tool_prefix}cc; ac_word=$2 3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3068 $as_echo_n "checking for $ac_word... " >&6; } 3069 if ${ac_cv_prog_CC+:} false; then : 3070 $as_echo_n "(cached) " >&6 3071 else 3072 if test -n "$CC"; then 3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3522 printf %s "checking for $ac_word... " >&6; } 3523 if test ${ac_cv_prog_CC+y} 3524 then : 3525 printf %s "(cached) " >&6 3526 else case e in #( 3527 e) if test -n "$CC"; then 3073 3528 ac_cv_prog_CC="$CC" # Let the user override the test. 3074 3529 else … … 3077 3532 do 3078 3533 IFS=$as_save_IFS 3079 test -z "$as_dir" && as_dir=. 3534 case $as_dir in #((( 3535 '') as_dir=./ ;; 3536 */) ;; 3537 *) as_dir=$as_dir/ ;; 3538 esac 3080 3539 for ac_exec_ext in '' $ac_executable_extensions; do 3081 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then3540 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3082 3541 ac_cv_prog_CC="${ac_tool_prefix}cc" 3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3084 3543 break 2 3085 3544 fi … … 3088 3547 IFS=$as_save_IFS 3089 3548 3090 fi 3549 fi ;; 3550 esac 3091 3551 fi 3092 3552 CC=$ac_cv_prog_CC 3093 3553 if test -n "$CC"; then 3094 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $CC" >&53095 $as_echo"$CC" >&6; }3096 else 3097 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&53098 $as_echo"no" >&6; }3554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3555 printf "%s\n" "$CC" >&6; } 3556 else 3557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3558 printf "%s\n" "no" >&6; } 3099 3559 fi 3100 3560 … … 3105 3565 # Extract the first word of "cc", so it can be a program name with args. 3106 3566 set dummy cc; ac_word=$2 3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3108 $as_echo_n "checking for $ac_word... " >&6; } 3109 if ${ac_cv_prog_CC+:} false; then : 3110 $as_echo_n "(cached) " >&6 3111 else 3112 if test -n "$CC"; then 3567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3568 printf %s "checking for $ac_word... " >&6; } 3569 if test ${ac_cv_prog_CC+y} 3570 then : 3571 printf %s "(cached) " >&6 3572 else case e in #( 3573 e) if test -n "$CC"; then 3113 3574 ac_cv_prog_CC="$CC" # Let the user override the test. 3114 3575 else … … 3118 3579 do 3119 3580 IFS=$as_save_IFS 3120 test -z "$as_dir" && as_dir=. 3581 case $as_dir in #((( 3582 '') as_dir=./ ;; 3583 */) ;; 3584 *) as_dir=$as_dir/ ;; 3585 esac 3121 3586 for ac_exec_ext in '' $ac_executable_extensions; do 3122 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then3123 if test "$as_dir /$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then3587 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3588 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3124 3589 ac_prog_rejected=yes 3125 3590 continue 3126 3591 fi 3127 3592 ac_cv_prog_CC="cc" 3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3129 3594 break 2 3130 3595 fi … … 3142 3607 # first if we set CC to just the basename; use the full file name. 3143 3608 shift 3144 ac_cv_prog_CC="$as_dir /$ac_word${1+' '}$@"3609 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 3145 3610 fi 3146 3611 fi 3147 fi 3612 fi ;; 3613 esac 3148 3614 fi 3149 3615 CC=$ac_cv_prog_CC 3150 3616 if test -n "$CC"; then 3151 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $CC" >&53152 $as_echo"$CC" >&6; }3153 else 3154 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&53155 $as_echo"no" >&6; }3617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3618 printf "%s\n" "$CC" >&6; } 3619 else 3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3621 printf "%s\n" "no" >&6; } 3156 3622 fi 3157 3623 … … 3164 3630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3165 3631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3167 $as_echo_n "checking for $ac_word... " >&6; } 3168 if ${ac_cv_prog_CC+:} false; then : 3169 $as_echo_n "(cached) " >&6 3170 else 3171 if test -n "$CC"; then 3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3633 printf %s "checking for $ac_word... " >&6; } 3634 if test ${ac_cv_prog_CC+y} 3635 then : 3636 printf %s "(cached) " >&6 3637 else case e in #( 3638 e) if test -n "$CC"; then 3172 3639 ac_cv_prog_CC="$CC" # Let the user override the test. 3173 3640 else … … 3176 3643 do 3177 3644 IFS=$as_save_IFS 3178 test -z "$as_dir" && as_dir=. 3645 case $as_dir in #((( 3646 '') as_dir=./ ;; 3647 */) ;; 3648 *) as_dir=$as_dir/ ;; 3649 esac 3179 3650 for ac_exec_ext in '' $ac_executable_extensions; do 3180 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then3651 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3181 3652 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3183 3654 break 2 3184 3655 fi … … 3187 3658 IFS=$as_save_IFS 3188 3659 3189 fi 3660 fi ;; 3661 esac 3190 3662 fi 3191 3663 CC=$ac_cv_prog_CC 3192 3664 if test -n "$CC"; then 3193 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $CC" >&53194 $as_echo"$CC" >&6; }3195 else 3196 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&53197 $as_echo"no" >&6; }3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3666 printf "%s\n" "$CC" >&6; } 3667 else 3668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3669 printf "%s\n" "no" >&6; } 3198 3670 fi 3199 3671 … … 3208 3680 # Extract the first word of "$ac_prog", so it can be a program name with args. 3209 3681 set dummy $ac_prog; ac_word=$2 3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3211 $as_echo_n "checking for $ac_word... " >&6; } 3212 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3213 $as_echo_n "(cached) " >&6 3214 else 3215 if test -n "$ac_ct_CC"; then 3682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3683 printf %s "checking for $ac_word... " >&6; } 3684 if test ${ac_cv_prog_ac_ct_CC+y} 3685 then : 3686 printf %s "(cached) " >&6 3687 else case e in #( 3688 e) if test -n "$ac_ct_CC"; then 3216 3689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3217 3690 else … … 3220 3693 do 3221 3694 IFS=$as_save_IFS 3222 test -z "$as_dir" && as_dir=. 3695 case $as_dir in #((( 3696 '') as_dir=./ ;; 3697 */) ;; 3698 *) as_dir=$as_dir/ ;; 3699 esac 3223 3700 for ac_exec_ext in '' $ac_executable_extensions; do 3224 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then3701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3225 3702 ac_cv_prog_ac_ct_CC="$ac_prog" 3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3227 3704 break 2 3228 3705 fi … … 3231 3708 IFS=$as_save_IFS 3232 3709 3233 fi 3710 fi ;; 3711 esac 3234 3712 fi 3235 3713 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3236 3714 if test -n "$ac_ct_CC"; then 3237 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&53238 $as_echo"$ac_ct_CC" >&6; }3239 else 3240 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&53241 $as_echo"no" >&6; }3715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3716 printf "%s\n" "$ac_ct_CC" >&6; } 3717 else 3718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3719 printf "%s\n" "no" >&6; } 3242 3720 fi 3243 3721 … … 3251 3729 case $cross_compiling:$ac_tool_warned in 3252 3730 yes:) 3253 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53254 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}3731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3732 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3255 3733 ac_tool_warned=yes ;; 3256 3734 esac … … 3260 3738 3261 3739 fi 3262 3263 3264 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3740 if test -z "$CC"; then 3741 if test -n "$ac_tool_prefix"; then 3742 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3743 set dummy ${ac_tool_prefix}clang; ac_word=$2 3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3745 printf %s "checking for $ac_word... " >&6; } 3746 if test ${ac_cv_prog_CC+y} 3747 then : 3748 printf %s "(cached) " >&6 3749 else case e in #( 3750 e) if test -n "$CC"; then 3751 ac_cv_prog_CC="$CC" # Let the user override the test. 3752 else 3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3754 for as_dir in $PATH 3755 do 3756 IFS=$as_save_IFS 3757 case $as_dir in #((( 3758 '') as_dir=./ ;; 3759 */) ;; 3760 *) as_dir=$as_dir/ ;; 3761 esac 3762 for ac_exec_ext in '' $ac_executable_extensions; do 3763 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3764 ac_cv_prog_CC="${ac_tool_prefix}clang" 3765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3766 break 2 3767 fi 3768 done 3769 done 3770 IFS=$as_save_IFS 3771 3772 fi ;; 3773 esac 3774 fi 3775 CC=$ac_cv_prog_CC 3776 if test -n "$CC"; then 3777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3778 printf "%s\n" "$CC" >&6; } 3779 else 3780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3781 printf "%s\n" "no" >&6; } 3782 fi 3783 3784 3785 fi 3786 if test -z "$ac_cv_prog_CC"; then 3787 ac_ct_CC=$CC 3788 # Extract the first word of "clang", so it can be a program name with args. 3789 set dummy clang; ac_word=$2 3790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3791 printf %s "checking for $ac_word... " >&6; } 3792 if test ${ac_cv_prog_ac_ct_CC+y} 3793 then : 3794 printf %s "(cached) " >&6 3795 else case e in #( 3796 e) if test -n "$ac_ct_CC"; then 3797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3798 else 3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3800 for as_dir in $PATH 3801 do 3802 IFS=$as_save_IFS 3803 case $as_dir in #((( 3804 '') as_dir=./ ;; 3805 */) ;; 3806 *) as_dir=$as_dir/ ;; 3807 esac 3808 for ac_exec_ext in '' $ac_executable_extensions; do 3809 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3810 ac_cv_prog_ac_ct_CC="clang" 3811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3812 break 2 3813 fi 3814 done 3815 done 3816 IFS=$as_save_IFS 3817 3818 fi ;; 3819 esac 3820 fi 3821 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3822 if test -n "$ac_ct_CC"; then 3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3824 printf "%s\n" "$ac_ct_CC" >&6; } 3825 else 3826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3827 printf "%s\n" "no" >&6; } 3828 fi 3829 3830 if test "x$ac_ct_CC" = x; then 3831 CC="" 3832 else 3833 case $cross_compiling:$ac_tool_warned in 3834 yes:) 3835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3836 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3837 ac_tool_warned=yes ;; 3838 esac 3839 CC=$ac_ct_CC 3840 fi 3841 else 3842 CC="$ac_cv_prog_CC" 3843 fi 3844 3845 fi 3846 3847 3848 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 3849 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 3266 3850 as_fn_error $? "no acceptable C compiler found in \$PATH 3267 See \`config.log' for more details" "$LINENO" 5; }3851 See 'config.log' for more details" "$LINENO" 5; } 3268 3852 3269 3853 # Provide some information about the compiler. 3270 $as_echo"$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&53854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3271 3855 set X $ac_compile 3272 3856 ac_compiler=$2 3273 for ac_option in --version -v -V -qversion ; do3857 for ac_option in --version -v -V -qversion -version; do 3274 3858 { { ac_try="$ac_compiler $ac_option >&5" 3275 3859 case "(($ac_try" in … … 3278 3862 esac 3279 3863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3280 $as_echo"$ac_try_echo"; } >&53864 printf "%s\n" "$ac_try_echo"; } >&5 3281 3865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3282 3866 ac_status=$? … … 3288 3872 fi 3289 3873 rm -f conftest.er1 conftest.err 3290 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3291 3875 test $ac_status = 0; } 3292 3876 done … … 3296 3880 3297 3881 int 3298 main ( )3882 main (void) 3299 3883 { 3300 3884 … … 3308 3892 # It will help us diagnose broken compilers, and finding out an intuition 3309 3893 # of exeext. 3310 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&53311 $as_echo_n"checking whether the C compiler works... " >&6; }3312 ac_link_default=` $as_echo"$ac_link" | sed 's/ -o *conftest[^ ]*//'`3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3895 printf %s "checking whether the C compiler works... " >&6; } 3896 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3313 3897 3314 3898 # The possible output files: … … 3331 3915 esac 3332 3916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3333 $as_echo"$ac_try_echo"; } >&53917 printf "%s\n" "$ac_try_echo"; } >&5 3334 3918 (eval "$ac_link_default") 2>&5 3335 3919 ac_status=$? 3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3337 test $ac_status = 0; }; then : 3338 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3339 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3921 test $ac_status = 0; } 3922 then : 3923 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. 3924 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' 3340 3925 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3341 3926 # so that the user can short-circuit this test for compilers unknown to … … 3352 3937 break;; 3353 3938 *.* ) 3354 if test "${ac_cv_exeext+set}" = set&& test "$ac_cv_exeext" != no;3939 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3355 3940 then :; else 3356 3941 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3357 3942 fi 3358 3943 # We set ac_cv_exeext here because the later test for it is not 3359 # safe: cross compilers may not add the suffix if given an `-o'3944 # safe: cross compilers may not add the suffix if given an '-o' 3360 3945 # argument, so we may need to know it at that point already. 3361 3946 # Even if this section looks crufty: it has the advantage of … … 3368 3953 test "$ac_cv_exeext" = no && ac_cv_exeext= 3369 3954 3370 else 3371 ac_file='' 3372 fi 3373 if test -z "$ac_file"; then : 3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3375 $as_echo "no" >&6; } 3376 $as_echo "$as_me: failed program was:" >&5 3955 else case e in #( 3956 e) ac_file='' ;; 3957 esac 3958 fi 3959 if test -z "$ac_file" 3960 then : 3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3962 printf "%s\n" "no" >&6; } 3963 printf "%s\n" "$as_me: failed program was:" >&5 3377 3964 sed 's/^/| /' conftest.$ac_ext >&5 3378 3965 3379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3966 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 3967 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 3381 3968 as_fn_error 77 "C compiler cannot create executables 3382 See \`config.log' for more details" "$LINENO" 5; } 3383 else 3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3385 $as_echo "yes" >&6; } 3386 fi 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3388 $as_echo_n "checking for C compiler default output file name... " >&6; } 3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3390 $as_echo "$ac_file" >&6; } 3969 See 'config.log' for more details" "$LINENO" 5; } 3970 else case e in #( 3971 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3972 printf "%s\n" "yes" >&6; } ;; 3973 esac 3974 fi 3975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3976 printf %s "checking for C compiler default output file name... " >&6; } 3977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3978 printf "%s\n" "$ac_file" >&6; } 3391 3979 ac_exeext=$ac_cv_exeext 3392 3980 3393 3981 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3394 3982 ac_clean_files=$ac_clean_files_save 3395 { $as_echo"$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&53396 $as_echo_n"checking for suffix of executables... " >&6; }3983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3984 printf %s "checking for suffix of executables... " >&6; } 3397 3985 if { { ac_try="$ac_link" 3398 3986 case "(($ac_try" in … … 3401 3989 esac 3402 3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3403 $as_echo"$ac_try_echo"; } >&53991 printf "%s\n" "$ac_try_echo"; } >&5 3404 3992 (eval "$ac_link") 2>&5 3405 3993 ac_status=$? 3406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3407 test $ac_status = 0; }; then : 3408 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3409 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3410 # work properly (i.e., refer to `conftest.exe'), while it won't with 3411 # `rm'. 3994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3995 test $ac_status = 0; } 3996 then : 3997 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) 3998 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will 3999 # work properly (i.e., refer to 'conftest.exe'), while it won't with 4000 # 'rm'. 3412 4001 for ac_file in conftest.exe conftest conftest.*; do 3413 4002 test -f "$ac_file" || continue … … 3419 4008 esac 3420 4009 done 3421 else 3422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}4010 else case e in #( 4011 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 4012 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 3424 4013 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3425 See \`config.log' for more details" "$LINENO" 5; } 4014 See 'config.log' for more details" "$LINENO" 5; } ;; 4015 esac 3426 4016 fi 3427 4017 rm -f conftest conftest$ac_cv_exeext 3428 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&53429 $as_echo"$ac_cv_exeext" >&6; }4018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4019 printf "%s\n" "$ac_cv_exeext" >&6; } 3430 4020 3431 4021 rm -f conftest.$ac_ext … … 3436 4026 #include <stdio.h> 3437 4027 int 3438 main ( )4028 main (void) 3439 4029 { 3440 4030 FILE *f = fopen ("conftest.out", "w"); 4031 if (!f) 4032 return 1; 3441 4033 return ferror (f) || fclose (f) != 0; 3442 4034 … … 3448 4040 # Check that the compiler produces executables we can run. If not, either 3449 4041 # the compiler is broken, or we cross compile. 3450 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&53451 $as_echo_n"checking whether we are cross compiling... " >&6; }4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4043 printf %s "checking whether we are cross compiling... " >&6; } 3452 4044 if test "$cross_compiling" != yes; then 3453 4045 { { ac_try="$ac_link" … … 3457 4049 esac 3458 4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3459 $as_echo"$ac_try_echo"; } >&54051 printf "%s\n" "$ac_try_echo"; } >&5 3460 4052 (eval "$ac_link") 2>&5 3461 4053 ac_status=$? 3462 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&54054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3463 4055 test $ac_status = 0; } 3464 4056 if { ac_try='./conftest$ac_cv_exeext' … … 3468 4060 esac 3469 4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3470 $as_echo"$ac_try_echo"; } >&54062 printf "%s\n" "$ac_try_echo"; } >&5 3471 4063 (eval "$ac_try") 2>&5 3472 4064 ac_status=$? 3473 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&54065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3474 4066 test $ac_status = 0; }; }; then 3475 4067 cross_compiling=no … … 3478 4070 cross_compiling=yes 3479 4071 else 3480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3482 as_fn_error $?"cannot run C compiled programs.3483 If you meant to cross compile, use \`--host'.3484 See \`config.log' for more details" "$LINENO" 5; }4072 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 4073 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 4074 as_fn_error 77 "cannot run C compiled programs. 4075 If you meant to cross compile, use '--host'. 4076 See 'config.log' for more details" "$LINENO" 5; } 3485 4077 fi 3486 4078 fi 3487 4079 fi 3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3489 $as_echo "$cross_compiling" >&6; } 3490 3491 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4081 printf "%s\n" "$cross_compiling" >&6; } 4082 4083 rm -f conftest.$ac_ext conftest$ac_cv_exeext \ 4084 conftest.o conftest.obj conftest.out 3492 4085 ac_clean_files=$ac_clean_files_save 3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3494 $as_echo_n "checking for suffix of object files... " >&6; } 3495 if ${ac_cv_objext+:} false; then : 3496 $as_echo_n "(cached) " >&6 3497 else 3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4087 printf %s "checking for suffix of object files... " >&6; } 4088 if test ${ac_cv_objext+y} 4089 then : 4090 printf %s "(cached) " >&6 4091 else case e in #( 4092 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3499 4093 /* end confdefs.h. */ 3500 4094 3501 4095 int 3502 main ( )4096 main (void) 3503 4097 { 3504 4098 … … 3514 4108 esac 3515 4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3516 $as_echo"$ac_try_echo"; } >&54110 printf "%s\n" "$ac_try_echo"; } >&5 3517 4111 (eval "$ac_compile") 2>&5 3518 4112 ac_status=$? 3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3520 test $ac_status = 0; }; then : 4113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4114 test $ac_status = 0; } 4115 then : 3521 4116 for ac_file in conftest.o conftest.obj conftest.*; do 3522 4117 test -f "$ac_file" || continue; … … 3527 4122 esac 3528 4123 done 3529 else 3530 $as_echo"$as_me: failed program was:" >&54124 else case e in #( 4125 e) printf "%s\n" "$as_me: failed program was:" >&5 3531 4126 sed 's/^/| /' conftest.$ac_ext >&5 3532 4127 3533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}4128 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 4129 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 3535 4130 as_fn_error $? "cannot compute suffix of object files: cannot compile 3536 See \`config.log' for more details" "$LINENO" 5; } 3537 fi 3538 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3539 fi 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3541 $as_echo "$ac_cv_objext" >&6; } 4131 See 'config.log' for more details" "$LINENO" 5; } ;; 4132 esac 4133 fi 4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; 4135 esac 4136 fi 4137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4138 printf "%s\n" "$ac_cv_objext" >&6; } 3542 4139 OBJEXT=$ac_cv_objext 3543 4140 ac_objext=$OBJEXT 3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3545 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3546 if ${ac_cv_c_compiler_gnu+:} false; then : 3547 $as_echo_n "(cached) " >&6 3548 else 3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 4142 printf %s "checking whether the compiler supports GNU C... " >&6; } 4143 if test ${ac_cv_c_compiler_gnu+y} 4144 then : 4145 printf %s "(cached) " >&6 4146 else case e in #( 4147 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3550 4148 /* end confdefs.h. */ 3551 4149 3552 4150 int 3553 main ( )4151 main (void) 3554 4152 { 3555 4153 #ifndef __GNUC__ … … 3561 4159 } 3562 4160 _ACEOF 3563 if ac_fn_c_try_compile "$LINENO"; then : 4161 if ac_fn_c_try_compile "$LINENO" 4162 then : 3564 4163 ac_compiler_gnu=yes 3565 else 3566 ac_compiler_gnu=no 3567 fi 3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4164 else case e in #( 4165 e) ac_compiler_gnu=no ;; 4166 esac 4167 fi 4168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3569 4169 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3570 3571 fi 3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3573 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4170 ;; 4171 esac 4172 fi 4173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4174 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 4175 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4176 3574 4177 if test $ac_compiler_gnu = yes; then 3575 4178 GCC=yes … … 3577 4180 GCC= 3578 4181 fi 3579 ac_test_CFLAGS=${CFLAGS+ set}4182 ac_test_CFLAGS=${CFLAGS+y} 3580 4183 ac_save_CFLAGS=$CFLAGS 3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3582 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3583 if ${ac_cv_prog_cc_g+:} false; then : 3584 $as_echo_n "(cached) " >&6 3585 else 3586 ac_save_c_werror_flag=$ac_c_werror_flag 4184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4185 printf %s "checking whether $CC accepts -g... " >&6; } 4186 if test ${ac_cv_prog_cc_g+y} 4187 then : 4188 printf %s "(cached) " >&6 4189 else case e in #( 4190 e) ac_save_c_werror_flag=$ac_c_werror_flag 3587 4191 ac_c_werror_flag=yes 3588 4192 ac_cv_prog_cc_g=no … … 3592 4196 3593 4197 int 3594 main ( )4198 main (void) 3595 4199 { 3596 4200 … … 3599 4203 } 3600 4204 _ACEOF 3601 if ac_fn_c_try_compile "$LINENO"; then : 4205 if ac_fn_c_try_compile "$LINENO" 4206 then : 3602 4207 ac_cv_prog_cc_g=yes 3603 else 3604 CFLAGS=""4208 else case e in #( 4209 e) CFLAGS="" 3605 4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3606 4211 /* end confdefs.h. */ 3607 4212 3608 4213 int 3609 main ( )4214 main (void) 3610 4215 { 3611 4216 … … 3614 4219 } 3615 4220 _ACEOF 3616 if ac_fn_c_try_compile "$LINENO"; then : 3617 3618 else 3619 ac_c_werror_flag=$ac_save_c_werror_flag 4221 if ac_fn_c_try_compile "$LINENO" 4222 then : 4223 4224 else case e in #( 4225 e) ac_c_werror_flag=$ac_save_c_werror_flag 3620 4226 CFLAGS="-g" 3621 4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 3623 4229 3624 4230 int 3625 main ( )4231 main (void) 3626 4232 { 3627 4233 … … 3630 4236 } 3631 4237 _ACEOF 3632 if ac_fn_c_try_compile "$LINENO"; then : 4238 if ac_fn_c_try_compile "$LINENO" 4239 then : 3633 4240 ac_cv_prog_cc_g=yes 3634 4241 fi 3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3636 fi 3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3638 fi 3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3640 ac_c_werror_flag=$ac_save_c_werror_flag 3641 fi 3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3643 $as_echo "$ac_cv_prog_cc_g" >&6; } 3644 if test "$ac_test_CFLAGS" = set; then 4242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 4243 esac 4244 fi 4245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 4246 esac 4247 fi 4248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4249 ac_c_werror_flag=$ac_save_c_werror_flag ;; 4250 esac 4251 fi 4252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4253 printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 4254 if test $ac_test_CFLAGS; then 3645 4255 CFLAGS=$ac_save_CFLAGS 3646 4256 elif test $ac_cv_prog_cc_g = yes; then … … 3657 4267 fi 3658 4268 fi 3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3660 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3661 if ${ac_cv_prog_cc_c89+:} false; then : 3662 $as_echo_n "(cached) " >&6 3663 else 3664 ac_cv_prog_cc_c89=no 4269 ac_prog_cc_stdc=no 4270 if test x$ac_prog_cc_stdc = xno 4271 then : 4272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 4273 printf %s "checking for $CC option to enable C11 features... " >&6; } 4274 if test ${ac_cv_prog_cc_c11+y} 4275 then : 4276 printf %s "(cached) " >&6 4277 else case e in #( 4278 e) ac_cv_prog_cc_c11=no 3665 4279 ac_save_CC=$CC 3666 4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3667 4281 /* end confdefs.h. */ 3668 #include <stdarg.h> 3669 #include <stdio.h> 3670 struct stat; 3671 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3672 struct buf { int x; }; 3673 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3674 static char *e (p, i) 3675 char **p; 3676 int i; 3677 { 3678 return p[i]; 3679 } 3680 static char *f (char * (*g) (char **, int), char **p, ...) 3681 { 3682 char *s; 3683 va_list v; 3684 va_start (v,p); 3685 s = g (p, va_arg (v,int)); 3686 va_end (v); 3687 return s; 3688 } 3689 3690 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3691 function prototypes and stuff, but not '\xHH' hex character constants. 3692 These don't provoke an error unfortunately, instead are silently treated 3693 as 'x'. The following induces an error, until -std is added to get 3694 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3695 array size at least. It's necessary to write '\x00'==0 to get something 3696 that's true only with -std. */ 3697 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3698 3699 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3700 inside strings and character constants. */ 3701 #define FOO(x) 'x' 3702 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3703 3704 int test (int i, double x); 3705 struct s1 {int (*f) (int a);}; 3706 struct s2 {int (*f) (double a);}; 3707 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3708 int argc; 3709 char **argv; 3710 int 3711 main () 3712 { 3713 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3714 ; 3715 return 0; 3716 } 4282 $ac_c_conftest_c11_program 3717 4283 _ACEOF 3718 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3719 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4284 for ac_arg in '' -std=gnu11 3720 4285 do 3721 4286 CC="$ac_save_CC $ac_arg" 3722 if ac_fn_c_try_compile "$LINENO"; then : 4287 if ac_fn_c_try_compile "$LINENO" 4288 then : 4289 ac_cv_prog_cc_c11=$ac_arg 4290 fi 4291 rm -f core conftest.err conftest.$ac_objext conftest.beam 4292 test "x$ac_cv_prog_cc_c11" != "xno" && break 4293 done 4294 rm -f conftest.$ac_ext 4295 CC=$ac_save_CC ;; 4296 esac 4297 fi 4298 4299 if test "x$ac_cv_prog_cc_c11" = xno 4300 then : 4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4302 printf "%s\n" "unsupported" >&6; } 4303 else case e in #( 4304 e) if test "x$ac_cv_prog_cc_c11" = x 4305 then : 4306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4307 printf "%s\n" "none needed" >&6; } 4308 else case e in #( 4309 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4310 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4311 CC="$CC $ac_cv_prog_cc_c11" ;; 4312 esac 4313 fi 4314 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4315 ac_prog_cc_stdc=c11 ;; 4316 esac 4317 fi 4318 fi 4319 if test x$ac_prog_cc_stdc = xno 4320 then : 4321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4322 printf %s "checking for $CC option to enable C99 features... " >&6; } 4323 if test ${ac_cv_prog_cc_c99+y} 4324 then : 4325 printf %s "(cached) " >&6 4326 else case e in #( 4327 e) ac_cv_prog_cc_c99=no 4328 ac_save_CC=$CC 4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4330 /* end confdefs.h. */ 4331 $ac_c_conftest_c99_program 4332 _ACEOF 4333 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4334 do 4335 CC="$ac_save_CC $ac_arg" 4336 if ac_fn_c_try_compile "$LINENO" 4337 then : 4338 ac_cv_prog_cc_c99=$ac_arg 4339 fi 4340 rm -f core conftest.err conftest.$ac_objext conftest.beam 4341 test "x$ac_cv_prog_cc_c99" != "xno" && break 4342 done 4343 rm -f conftest.$ac_ext 4344 CC=$ac_save_CC ;; 4345 esac 4346 fi 4347 4348 if test "x$ac_cv_prog_cc_c99" = xno 4349 then : 4350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4351 printf "%s\n" "unsupported" >&6; } 4352 else case e in #( 4353 e) if test "x$ac_cv_prog_cc_c99" = x 4354 then : 4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4356 printf "%s\n" "none needed" >&6; } 4357 else case e in #( 4358 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4359 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4360 CC="$CC $ac_cv_prog_cc_c99" ;; 4361 esac 4362 fi 4363 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4364 ac_prog_cc_stdc=c99 ;; 4365 esac 4366 fi 4367 fi 4368 if test x$ac_prog_cc_stdc = xno 4369 then : 4370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4371 printf %s "checking for $CC option to enable C89 features... " >&6; } 4372 if test ${ac_cv_prog_cc_c89+y} 4373 then : 4374 printf %s "(cached) " >&6 4375 else case e in #( 4376 e) ac_cv_prog_cc_c89=no 4377 ac_save_CC=$CC 4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4379 /* end confdefs.h. */ 4380 $ac_c_conftest_c89_program 4381 _ACEOF 4382 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4383 do 4384 CC="$ac_save_CC $ac_arg" 4385 if ac_fn_c_try_compile "$LINENO" 4386 then : 3723 4387 ac_cv_prog_cc_c89=$ac_arg 3724 4388 fi 3725 rm -f core conftest.err conftest.$ac_objext 4389 rm -f core conftest.err conftest.$ac_objext conftest.beam 3726 4390 test "x$ac_cv_prog_cc_c89" != "xno" && break 3727 4391 done 3728 4392 rm -f conftest.$ac_ext 3729 CC=$ac_save_CC 3730 3731 fi 3732 # AC_CACHE_VAL 3733 case "x$ac_cv_prog_cc_c89" in 3734 x) 3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3736 $as_echo "none needed" >&6; } ;; 3737 xno) 3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3739 $as_echo "unsupported" >&6; } ;; 3740 *) 3741 CC="$CC $ac_cv_prog_cc_c89" 3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3743 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3744 esac 3745 if test "x$ac_cv_prog_cc_c89" != xno; then : 3746 4393 CC=$ac_save_CC ;; 4394 esac 4395 fi 4396 4397 if test "x$ac_cv_prog_cc_c89" = xno 4398 then : 4399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4400 printf "%s\n" "unsupported" >&6; } 4401 else case e in #( 4402 e) if test "x$ac_cv_prog_cc_c89" = x 4403 then : 4404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4405 printf "%s\n" "none needed" >&6; } 4406 else case e in #( 4407 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4408 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4409 CC="$CC $ac_cv_prog_cc_c89" ;; 4410 esac 4411 fi 4412 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4413 ac_prog_cc_stdc=c89 ;; 4414 esac 4415 fi 3747 4416 fi 3748 4417 … … 3753 4422 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3754 4423 3755 ac_ext=c 4424 4425 ac_ext=c 3756 4426 ac_cpp='$CPP $CPPFLAGS' 3757 4427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3758 4428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3759 4429 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3761 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3762 if ${am_cv_prog_cc_c_o+:} false; then : 3763 $as_echo_n "(cached) " >&6 3764 else 3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4431 printf %s "checking whether $CC understands -c and -o together... " >&6; } 4432 if test ${am_cv_prog_cc_c_o+y} 4433 then : 4434 printf %s "(cached) " >&6 4435 else case e in #( 4436 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3766 4437 /* end confdefs.h. */ 3767 4438 3768 4439 int 3769 main ( )4440 main (void) 3770 4441 { 3771 4442 … … 3793 4464 done 3794 4465 rm -f core conftest* 3795 unset am_i 3796 fi 3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3798 $as_echo "$am_cv_prog_cc_c_o" >&6; } 4466 unset am_i ;; 4467 esac 4468 fi 4469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4470 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } 3799 4471 if test "$am_cv_prog_cc_c_o" != yes; then 3800 4472 # Losing compiler, so override with the script. … … 3815 4487 ac_config_commands="$ac_config_commands depfiles" 3816 4488 3817 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&53818 $as_echo_n"checking whether ${MAKE-make} supports the include directive... " >&6; }4489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 4490 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } 3819 4491 cat > confinc.mk << 'END' 3820 4492 am__doit: … … 3852 4524 done 3853 4525 rm -f confinc.* confmf.* 3854 { $as_echo"$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&53855 $as_echo"${_am_result}" >&6; }4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 4527 printf "%s\n" "${_am_result}" >&6; } 3856 4528 3857 4529 # Check whether --enable-dependency-tracking was given. 3858 if test "${enable_dependency_tracking+set}" = set; then : 4530 if test ${enable_dependency_tracking+y} 4531 then : 3859 4532 enableval=$enable_dependency_tracking; 3860 4533 fi … … 3877 4550 depcc="$CC" am_compiler_list= 3878 4551 3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3880 $as_echo_n "checking dependency style of $depcc... " >&6; } 3881 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3882 $as_echo_n "(cached) " >&6 3883 else 3884 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4553 printf %s "checking dependency style of $depcc... " >&6; } 4554 if test ${am_cv_CC_dependencies_compiler_type+y} 4555 then : 4556 printf %s "(cached) " >&6 4557 else case e in #( 4558 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3885 4559 # We make a subdir and do the tests there. Otherwise we can end up 3886 4560 # making bogus files that we don't know about and never remove. For … … 3986 4660 am_cv_CC_dependencies_compiler_type=none 3987 4661 fi 3988 3989 fi 3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3991 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4662 ;; 4663 esac 4664 fi 4665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4666 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 3992 4667 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3993 4668 … … 4012 4687 depcc="$CCAS" am_compiler_list= 4013 4688 4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4015 $as_echo_n "checking dependency style of $depcc... " >&6; } 4016 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : 4017 $as_echo_n "(cached) " >&6 4018 else 4019 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4690 printf %s "checking dependency style of $depcc... " >&6; } 4691 if test ${am_cv_CCAS_dependencies_compiler_type+y} 4692 then : 4693 printf %s "(cached) " >&6 4694 else case e in #( 4695 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4020 4696 # We make a subdir and do the tests there. Otherwise we can end up 4021 4697 # making bogus files that we don't know about and never remove. For … … 4119 4795 am_cv_CCAS_dependencies_compiler_type=none 4120 4796 fi 4121 4122 fi 4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 4124 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } 4797 ;; 4798 esac 4799 fi 4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 4801 printf "%s\n" "$am_cv_CCAS_dependencies_compiler_type" >&6; } 4125 4802 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type 4126 4803 … … 4136 4813 4137 4814 4138 # Make sure we can run config.sub. 4139 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4140 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4141 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4143 $as_echo_n "checking build system type... " >&6; } 4144 if ${ac_cv_build+:} false; then : 4145 $as_echo_n "(cached) " >&6 4146 else 4147 ac_build_alias=$build_alias 4815 4816 4817 # Make sure we can run config.sub. 4818 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 4819 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 4820 4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4822 printf %s "checking build system type... " >&6; } 4823 if test ${ac_cv_build+y} 4824 then : 4825 printf %s "(cached) " >&6 4826 else case e in #( 4827 e) ac_build_alias=$build_alias 4148 4828 test "x$ac_build_alias" = x && 4149 ac_build_alias=`$SHELL "$ ac_aux_dir/config.guess"`4829 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 4150 4830 test "x$ac_build_alias" = x && 4151 4831 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4152 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4153 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4154 4155 fi 4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4157 $as_echo "$ac_cv_build" >&6; } 4832 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 4833 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 4834 ;; 4835 esac 4836 fi 4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4838 printf "%s\n" "$ac_cv_build" >&6; } 4158 4839 case $ac_cv_build in 4159 4840 *-*-*) ;; … … 4174 4855 4175 4856 4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4177 $as_echo_n "checking host system type... " >&6; } 4178 if ${ac_cv_host+:} false; then : 4179 $as_echo_n "(cached) " >&6 4180 else 4181 if test "x$host_alias" = x; then 4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4858 printf %s "checking host system type... " >&6; } 4859 if test ${ac_cv_host+y} 4860 then : 4861 printf %s "(cached) " >&6 4862 else case e in #( 4863 e) if test "x$host_alias" = x; then 4182 4864 ac_cv_host=$ac_cv_build 4183 4865 else 4184 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4185 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4186 fi 4187 4188 fi 4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4190 $as_echo "$ac_cv_host" >&6; } 4866 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 4867 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 4868 fi 4869 ;; 4870 esac 4871 fi 4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4873 printf "%s\n" "$ac_cv_host" >&6; } 4191 4874 case $ac_cv_host in 4192 4875 *-*-*) ;; … … 4207 4890 4208 4891 4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4210 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4211 if ${ac_cv_path_SED+:} false; then : 4212 $as_echo_n "(cached) " >&6 4213 else 4214 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4893 printf %s "checking for a sed that does not truncate output... " >&6; } 4894 if test ${ac_cv_path_SED+y} 4895 then : 4896 printf %s "(cached) " >&6 4897 else case e in #( 4898 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4215 4899 for ac_i in 1 2 3 4 5 6 7; do 4216 4900 ac_script="$ac_script$as_nl$ac_script" … … 4225 4909 do 4226 4910 IFS=$as_save_IFS 4227 test -z "$as_dir" && as_dir=. 4228 for ac_prog in sed gsed; do 4911 case $as_dir in #((( 4912 '') as_dir=./ ;; 4913 */) ;; 4914 *) as_dir=$as_dir/ ;; 4915 esac 4916 for ac_prog in sed gsed 4917 do 4229 4918 for ac_exec_ext in '' $ac_executable_extensions; do 4230 ac_path_SED="$as_dir /$ac_prog$ac_exec_ext"4919 ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 4231 4920 as_fn_executable_p "$ac_path_SED" || continue 4232 4921 # Check for GNU ac_path_SED and select it if it is found. 4233 4922 # Check for GNU $ac_path_SED 4234 case `"$ac_path_SED" --version 2>&1` in 4923 case `"$ac_path_SED" --version 2>&1` in #( 4235 4924 *GNU*) 4236 4925 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4926 #( 4237 4927 *) 4238 4928 ac_count=0 4239 $as_echo_n0123456789 >"conftest.in"4929 printf %s 0123456789 >"conftest.in" 4240 4930 while : 4241 4931 do … … 4243 4933 mv "conftest.tmp" "conftest.in" 4244 4934 cp "conftest.in" "conftest.nl" 4245 $as_echo'' >> "conftest.nl"4935 printf "%s\n" '' >> "conftest.nl" 4246 4936 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4247 4937 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 4269 4959 ac_cv_path_SED=$SED 4270 4960 fi 4271 4272 fi 4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4274 $as_echo "$ac_cv_path_SED" >&6; } 4961 ;; 4962 esac 4963 fi 4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4965 printf "%s\n" "$ac_cv_path_SED" >&6; } 4275 4966 SED="$ac_cv_path_SED" 4276 4967 rm -f conftest.sed … … 4289 4980 4290 4981 4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4292 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4293 if ${ac_cv_path_GREP+:} false; then : 4294 $as_echo_n "(cached) " >&6 4295 else 4296 if test -z "$GREP"; then 4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4983 printf %s "checking for grep that handles long lines and -e... " >&6; } 4984 if test ${ac_cv_path_GREP+y} 4985 then : 4986 printf %s "(cached) " >&6 4987 else case e in #( 4988 e) if test -z "$GREP"; then 4297 4989 ac_path_GREP_found=false 4298 4990 # Loop through the user's path and test for each of PROGNAME-LIST … … 4301 4993 do 4302 4994 IFS=$as_save_IFS 4303 test -z "$as_dir" && as_dir=. 4304 for ac_prog in grep ggrep; do 4995 case $as_dir in #((( 4996 '') as_dir=./ ;; 4997 */) ;; 4998 *) as_dir=$as_dir/ ;; 4999 esac 5000 for ac_prog in grep ggrep 5001 do 4305 5002 for ac_exec_ext in '' $ac_executable_extensions; do 4306 ac_path_GREP="$as_dir /$ac_prog$ac_exec_ext"5003 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 4307 5004 as_fn_executable_p "$ac_path_GREP" || continue 4308 5005 # Check for GNU ac_path_GREP and select it if it is found. 4309 5006 # Check for GNU $ac_path_GREP 4310 case `"$ac_path_GREP" --version 2>&1` in 5007 case `"$ac_path_GREP" --version 2>&1` in #( 4311 5008 *GNU*) 4312 5009 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5010 #( 4313 5011 *) 4314 5012 ac_count=0 4315 $as_echo_n0123456789 >"conftest.in"5013 printf %s 0123456789 >"conftest.in" 4316 5014 while : 4317 5015 do … … 4319 5017 mv "conftest.tmp" "conftest.in" 4320 5018 cp "conftest.in" "conftest.nl" 4321 $as_echo'GREP' >> "conftest.nl"5019 printf "%s\n" 'GREP' >> "conftest.nl" 4322 5020 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4323 5021 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 4345 5043 ac_cv_path_GREP=$GREP 4346 5044 fi 4347 4348 fi 4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4350 $as_echo "$ac_cv_path_GREP" >&6; } 5045 ;; 5046 esac 5047 fi 5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5049 printf "%s\n" "$ac_cv_path_GREP" >&6; } 4351 5050 GREP="$ac_cv_path_GREP" 4352 5051 4353 5052 4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4355 $as_echo_n "checking for egrep... " >&6; } 4356 if ${ac_cv_path_EGREP+:} false; then : 4357 $as_echo_n "(cached) " >&6 4358 else 4359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5054 printf %s "checking for egrep... " >&6; } 5055 if test ${ac_cv_path_EGREP+y} 5056 then : 5057 printf %s "(cached) " >&6 5058 else case e in #( 5059 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4360 5060 then ac_cv_path_EGREP="$GREP -E" 4361 5061 else … … 4367 5067 do 4368 5068 IFS=$as_save_IFS 4369 test -z "$as_dir" && as_dir=. 4370 for ac_prog in egrep; do 5069 case $as_dir in #((( 5070 '') as_dir=./ ;; 5071 */) ;; 5072 *) as_dir=$as_dir/ ;; 5073 esac 5074 for ac_prog in egrep 5075 do 4371 5076 for ac_exec_ext in '' $ac_executable_extensions; do 4372 ac_path_EGREP="$as_dir /$ac_prog$ac_exec_ext"5077 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 4373 5078 as_fn_executable_p "$ac_path_EGREP" || continue 4374 5079 # Check for GNU ac_path_EGREP and select it if it is found. 4375 5080 # Check for GNU $ac_path_EGREP 4376 case `"$ac_path_EGREP" --version 2>&1` in 5081 case `"$ac_path_EGREP" --version 2>&1` in #( 4377 5082 *GNU*) 4378 5083 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5084 #( 4379 5085 *) 4380 5086 ac_count=0 4381 $as_echo_n0123456789 >"conftest.in"5087 printf %s 0123456789 >"conftest.in" 4382 5088 while : 4383 5089 do … … 4385 5091 mv "conftest.tmp" "conftest.in" 4386 5092 cp "conftest.in" "conftest.nl" 4387 $as_echo'EGREP' >> "conftest.nl"5093 printf "%s\n" 'EGREP' >> "conftest.nl" 4388 5094 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4389 5095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 4412 5118 fi 4413 5119 4414 fi 4415 fi 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4417 $as_echo "$ac_cv_path_EGREP" >&6; } 5120 fi ;; 5121 esac 5122 fi 5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5124 printf "%s\n" "$ac_cv_path_EGREP" >&6; } 4418 5125 EGREP="$ac_cv_path_EGREP" 4419 5126 4420 4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4422 $as_echo_n "checking for fgrep... " >&6; } 4423 if ${ac_cv_path_FGREP+:} false; then : 4424 $as_echo_n "(cached) " >&6 4425 else 4426 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5127 EGREP_TRADITIONAL=$EGREP 5128 ac_cv_path_EGREP_TRADITIONAL=$EGREP 5129 5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5131 printf %s "checking for fgrep... " >&6; } 5132 if test ${ac_cv_path_FGREP+y} 5133 then : 5134 printf %s "(cached) " >&6 5135 else case e in #( 5136 e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4427 5137 then ac_cv_path_FGREP="$GREP -F" 4428 5138 else … … 4434 5144 do 4435 5145 IFS=$as_save_IFS 4436 test -z "$as_dir" && as_dir=. 4437 for ac_prog in fgrep; do 5146 case $as_dir in #((( 5147 '') as_dir=./ ;; 5148 */) ;; 5149 *) as_dir=$as_dir/ ;; 5150 esac 5151 for ac_prog in fgrep 5152 do 4438 5153 for ac_exec_ext in '' $ac_executable_extensions; do 4439 ac_path_FGREP="$as_dir /$ac_prog$ac_exec_ext"5154 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" 4440 5155 as_fn_executable_p "$ac_path_FGREP" || continue 4441 5156 # Check for GNU ac_path_FGREP and select it if it is found. 4442 5157 # Check for GNU $ac_path_FGREP 4443 case `"$ac_path_FGREP" --version 2>&1` in 5158 case `"$ac_path_FGREP" --version 2>&1` in #( 4444 5159 *GNU*) 4445 5160 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5161 #( 4446 5162 *) 4447 5163 ac_count=0 4448 $as_echo_n0123456789 >"conftest.in"5164 printf %s 0123456789 >"conftest.in" 4449 5165 while : 4450 5166 do … … 4452 5168 mv "conftest.tmp" "conftest.in" 4453 5169 cp "conftest.in" "conftest.nl" 4454 $as_echo'FGREP' >> "conftest.nl"5170 printf "%s\n" 'FGREP' >> "conftest.nl" 4455 5171 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4456 5172 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break … … 4479 5195 fi 4480 5196 4481 fi 4482 fi 4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4484 $as_echo "$ac_cv_path_FGREP" >&6; } 5197 fi ;; 5198 esac 5199 fi 5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5201 printf "%s\n" "$ac_cv_path_FGREP" >&6; } 4485 5202 FGREP="$ac_cv_path_FGREP" 4486 5203 … … 4508 5225 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4509 5226 4510 { $as_echo"$as_me:${as_lineno-$LINENO}: checking how to print strings" >&54511 $as_echo_n"checking how to print strings... " >&6; }5227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5228 printf %s "checking how to print strings... " >&6; } 4512 5229 # Test print first, because it will be a builtin if present. 4513 5230 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ … … 4535 5252 4536 5253 case $ECHO in 4537 printf*) { $as_echo"$as_me:${as_lineno-$LINENO}: result: printf" >&54538 $as_echo"printf" >&6; } ;;4539 print*) { $as_echo"$as_me:${as_lineno-$LINENO}: result: print -r" >&54540 $as_echo"print -r" >&6; } ;;4541 *) { $as_echo"$as_me:${as_lineno-$LINENO}: result: cat" >&54542 $as_echo"cat" >&6; } ;;5254 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5255 printf "%s\n" "printf" >&6; } ;; 5256 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5257 printf "%s\n" "print -r" >&6; } ;; 5258 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5259 printf "%s\n" "cat" >&6; } ;; 4543 5260 esac 4544 5261 … … 4559 5276 4560 5277 # Check whether --with-gnu-ld was given. 4561 if test "${with_gnu_ld+set}" = set; then : 5278 if test ${with_gnu_ld+y} 5279 then : 4562 5280 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4563 else 4564 with_gnu_ld=no 5281 else case e in #( 5282 e) with_gnu_ld=no ;; 5283 esac 4565 5284 fi 4566 5285 … … 4568 5287 if test yes = "$GCC"; then 4569 5288 # Check if gcc -print-prog-name=ld gives a path. 4570 { $as_echo"$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&54571 $as_echo_n"checking for ld used by $CC... " >&6; }5289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5290 printf %s "checking for ld used by $CC... " >&6; } 4572 5291 case $host in 4573 5292 *-*-mingw*) … … 4598 5317 esac 4599 5318 elif test yes = "$with_gnu_ld"; then 4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4601 $as_echo_n "checking for GNU ld... " >&6; } 4602 else 4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4604 $as_echo_n "checking for non-GNU ld... " >&6; } 4605 fi 4606 if ${lt_cv_path_LD+:} false; then : 4607 $as_echo_n "(cached) " >&6 4608 else 4609 if test -z "$LD"; then 5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5320 printf %s "checking for GNU ld... " >&6; } 5321 else 5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5323 printf %s "checking for non-GNU ld... " >&6; } 5324 fi 5325 if test ${lt_cv_path_LD+y} 5326 then : 5327 printf %s "(cached) " >&6 5328 else case e in #( 5329 e) if test -z "$LD"; then 4610 5330 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4611 5331 for ac_dir in $PATH; do … … 4630 5350 else 4631 5351 lt_cv_path_LD=$LD # Let the user override the test with a path. 4632 fi 5352 fi ;; 5353 esac 4633 5354 fi 4634 5355 4635 5356 LD=$lt_cv_path_LD 4636 5357 if test -n "$LD"; then 4637 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $LD" >&54638 $as_echo"$LD" >&6; }4639 else 4640 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&54641 $as_echo"no" >&6; }5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5359 printf "%s\n" "$LD" >&6; } 5360 else 5361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5362 printf "%s\n" "no" >&6; } 4642 5363 fi 4643 5364 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4646 if ${lt_cv_prog_gnu_ld+:} false; then : 4647 $as_echo_n "(cached) " >&6 4648 else 4649 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5366 printf %s "checking if the linker ($LD) is GNU ld... " >&6; } 5367 if test ${lt_cv_prog_gnu_ld+y} 5368 then : 5369 printf %s "(cached) " >&6 5370 else case e in #( 5371 e) # I'd rather use --version here, but apparently some GNU lds only accept -v. 4650 5372 case `$LD -v 2>&1 </dev/null` in 4651 5373 *GNU* | *'with BFD'*) … … 4655 5377 lt_cv_prog_gnu_ld=no 4656 5378 ;; 4657 esac 4658 fi 4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4660 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 5379 esac ;; 5380 esac 5381 fi 5382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5383 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } 4661 5384 with_gnu_ld=$lt_cv_prog_gnu_ld 4662 5385 … … 4674 5397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4675 5398 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4676 { $as_echo"$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&54677 $as_echo_n"checking how to run the C preprocessor... " >&6; }5399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5400 printf %s "checking how to run the C preprocessor... " >&6; } 4678 5401 # On Suns, sometimes $CPP names a directory. 4679 5402 if test -n "$CPP" && test -d "$CPP"; then … … 4681 5404 fi 4682 5405 if test -z "$CPP"; then 4683 if ${ac_cv_prog_CPP+:} false; then : 4684 $as_echo_n "(cached) " >&6 4685 else 4686 # Double quotes because CPP needs to be expanded 4687 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5406 if test ${ac_cv_prog_CPP+y} 5407 then : 5408 printf %s "(cached) " >&6 5409 else case e in #( 5410 e) # Double quotes because $CC needs to be expanded 5411 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp 4688 5412 do 4689 5413 ac_preproc_ok=false … … 4692 5416 # Use a header file that comes with gcc, so configuring glibc 4693 5417 # with a fresh cross-compiler works. 4694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since4695 # <limits.h> exists even on freestanding compilers.4696 5418 # On the NeXT, cc -E runs the code through the compiler's parser, 4697 5419 # not just through cpp. "Syntax error" is here to catch this case. 4698 5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4699 5421 /* end confdefs.h. */ 4700 #ifdef __STDC__ 4701 # include <limits.h> 4702 #else 4703 # include <assert.h> 4704 #endif 5422 #include <limits.h> 4705 5423 Syntax error 4706 5424 _ACEOF 4707 if ac_fn_c_try_cpp "$LINENO"; then : 4708 4709 else 4710 # Broken: fails on valid input. 4711 continue 5425 if ac_fn_c_try_cpp "$LINENO" 5426 then : 5427 5428 else case e in #( 5429 e) # Broken: fails on valid input. 5430 continue ;; 5431 esac 4712 5432 fi 4713 5433 rm -f conftest.err conftest.i conftest.$ac_ext … … 4719 5439 #include <ac_nonexistent.h> 4720 5440 _ACEOF 4721 if ac_fn_c_try_cpp "$LINENO"; then : 5441 if ac_fn_c_try_cpp "$LINENO" 5442 then : 4722 5443 # Broken: success on invalid input. 4723 5444 continue 4724 else 4725 # Passes both tests.5445 else case e in #( 5446 e) # Passes both tests. 4726 5447 ac_preproc_ok=: 4727 break 5448 break ;; 5449 esac 4728 5450 fi 4729 5451 rm -f conftest.err conftest.i conftest.$ac_ext 4730 5452 4731 5453 done 4732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.5454 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4733 5455 rm -f conftest.i conftest.err conftest.$ac_ext 4734 if $ac_preproc_ok; then : 5456 if $ac_preproc_ok 5457 then : 4735 5458 break 4736 5459 fi … … 4738 5461 done 4739 5462 ac_cv_prog_CPP=$CPP 4740 5463 ;; 5464 esac 4741 5465 fi 4742 5466 CPP=$ac_cv_prog_CPP … … 4744 5468 ac_cv_prog_CPP=$CPP 4745 5469 fi 4746 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $CPP" >&54747 $as_echo"$CPP" >&6; }5470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5471 printf "%s\n" "$CPP" >&6; } 4748 5472 ac_preproc_ok=false 4749 5473 for ac_c_preproc_warn_flag in '' yes … … 4751 5475 # Use a header file that comes with gcc, so configuring glibc 4752 5476 # with a fresh cross-compiler works. 4753 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since4754 # <limits.h> exists even on freestanding compilers.4755 5477 # On the NeXT, cc -E runs the code through the compiler's parser, 4756 5478 # not just through cpp. "Syntax error" is here to catch this case. 4757 5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4758 5480 /* end confdefs.h. */ 4759 #ifdef __STDC__ 4760 # include <limits.h> 4761 #else 4762 # include <assert.h> 4763 #endif 5481 #include <limits.h> 4764 5482 Syntax error 4765 5483 _ACEOF 4766 if ac_fn_c_try_cpp "$LINENO"; then : 4767 4768 else 4769 # Broken: fails on valid input. 4770 continue 5484 if ac_fn_c_try_cpp "$LINENO" 5485 then : 5486 5487 else case e in #( 5488 e) # Broken: fails on valid input. 5489 continue ;; 5490 esac 4771 5491 fi 4772 5492 rm -f conftest.err conftest.i conftest.$ac_ext … … 4778 5498 #include <ac_nonexistent.h> 4779 5499 _ACEOF 4780 if ac_fn_c_try_cpp "$LINENO"; then : 5500 if ac_fn_c_try_cpp "$LINENO" 5501 then : 4781 5502 # Broken: success on invalid input. 4782 5503 continue 4783 else 4784 # Passes both tests.5504 else case e in #( 5505 e) # Passes both tests. 4785 5506 ac_preproc_ok=: 4786 break 5507 break ;; 5508 esac 4787 5509 fi 4788 5510 rm -f conftest.err conftest.i conftest.$ac_ext 4789 5511 4790 5512 done 4791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.5513 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4792 5514 rm -f conftest.i conftest.err conftest.$ac_ext 4793 if $ac_preproc_ok; then : 4794 4795 else 4796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5515 if $ac_preproc_ok 5516 then : 5517 5518 else case e in #( 5519 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 5520 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 4798 5521 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4799 See \`config.log' for more details" "$LINENO" 5; } 5522 See 'config.log' for more details" "$LINENO" 5; } ;; 5523 esac 4800 5524 fi 4801 5525 … … 4810 5534 # Extract the first word of "$ac_prog", so it can be a program name with args. 4811 5535 set dummy $ac_prog; ac_word=$2 4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4813 $as_echo_n "checking for $ac_word... " >&6; } 4814 if ${ac_cv_prog_AWK+:} false; then : 4815 $as_echo_n "(cached) " >&6 4816 else 4817 if test -n "$AWK"; then 5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5537 printf %s "checking for $ac_word... " >&6; } 5538 if test ${ac_cv_prog_AWK+y} 5539 then : 5540 printf %s "(cached) " >&6 5541 else case e in #( 5542 e) if test -n "$AWK"; then 4818 5543 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4819 5544 else … … 4822 5547 do 4823 5548 IFS=$as_save_IFS 4824 test -z "$as_dir" && as_dir=. 5549 case $as_dir in #((( 5550 '') as_dir=./ ;; 5551 */) ;; 5552 *) as_dir=$as_dir/ ;; 5553 esac 4825 5554 for ac_exec_ext in '' $ac_executable_extensions; do 4826 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then5555 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4827 5556 ac_cv_prog_AWK="$ac_prog" 4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4829 5558 break 2 4830 5559 fi … … 4833 5562 IFS=$as_save_IFS 4834 5563 4835 fi 5564 fi ;; 5565 esac 4836 5566 fi 4837 5567 AWK=$ac_cv_prog_AWK 4838 5568 if test -n "$AWK"; then 4839 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $AWK" >&54840 $as_echo"$AWK" >&6; }4841 else 4842 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&54843 $as_echo"no" >&6; }5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 5570 printf "%s\n" "$AWK" >&6; } 5571 else 5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5573 printf "%s\n" "no" >&6; } 4844 5574 fi 4845 5575 … … 4849 5579 4850 5580 4851 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&54852 $as_echo_n"checking whether ln -s works... " >&6; }5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5582 printf %s "checking whether ln -s works... " >&6; } 4853 5583 LN_S=$as_ln_s 4854 5584 if test "$LN_S" = "ln -s"; then 4855 { $as_echo"$as_me:${as_lineno-$LINENO}: result: yes" >&54856 $as_echo"yes" >&6; }4857 else 4858 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&54859 $as_echo"no, using $LN_S" >&6; }4860 fi 4861 4862 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&54863 $as_echo_n"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }5585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5586 printf "%s\n" "yes" >&6; } 5587 else 5588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5589 printf "%s\n" "no, using $LN_S" >&6; } 5590 fi 5591 5592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5593 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4864 5594 set x ${MAKE-make} 4865 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4866 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4867 $as_echo_n "(cached) " >&6 4868 else 4869 cat >conftest.make <<\_ACEOF 5595 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5596 if eval test \${ac_cv_prog_make_${ac_make}_set+y} 5597 then : 5598 printf %s "(cached) " >&6 5599 else case e in #( 5600 e) cat >conftest.make <<\_ACEOF 4870 5601 SHELL = /bin/sh 4871 5602 all: … … 4879 5610 eval ac_cv_prog_make_${ac_make}_set=no;; 4880 5611 esac 4881 rm -f conftest.make 5612 rm -f conftest.make ;; 5613 esac 4882 5614 fi 4883 5615 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4884 { $as_echo"$as_me:${as_lineno-$LINENO}: result: yes" >&54885 $as_echo"yes" >&6; }5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5617 printf "%s\n" "yes" >&6; } 4886 5618 SET_MAKE= 4887 5619 else 4888 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&54889 $as_echo"no" >&6; }5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5621 printf "%s\n" "no" >&6; } 4890 5622 SET_MAKE="MAKE=${MAKE-make}" 4891 5623 fi … … 4894 5626 case `pwd` in 4895 5627 *\ * | *\ *) 4896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4897 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4898 esac 4899 4900 4901 4902 macro_version='2.4.6' 4903 macro_revision='2.4.6' 5628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5629 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5630 esac 5631 5632 5633 5634 macro_version='2.4.7' 5635 macro_revision='2.4.7' 5636 4904 5637 4905 5638 … … 4934 5667 no_glob_subst='s/\*/\\\*/g' 4935 5668 4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4937 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4938 if ${lt_cv_path_NM+:} false; then : 4939 $as_echo_n "(cached) " >&6 4940 else 4941 if test -n "$NM"; then 5669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5670 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5671 if test ${lt_cv_path_NM+y} 5672 then : 5673 printf %s "(cached) " >&6 5674 else case e in #( 5675 e) if test -n "$NM"; then 4942 5676 # Let the user override the test. 4943 5677 lt_cv_path_NM=$NM … … 4963 5697 *) lt_bad_file=/dev/null ;; 4964 5698 esac 4965 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed'1q'` in5699 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in 4966 5700 *$lt_bad_file* | *'Invalid file or object type'*) 4967 5701 lt_cv_path_NM="$tmp_nm -B" … … 4969 5703 ;; 4970 5704 *) 4971 case `"$tmp_nm" -p /dev/null 2>&1 | sed'1q'` in5705 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in 4972 5706 */dev/null*) 4973 5707 lt_cv_path_NM="$tmp_nm -p" … … 4986 5720 done 4987 5721 : ${lt_cv_path_NM=no} 4988 fi 4989 fi 4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4991 $as_echo "$lt_cv_path_NM" >&6; } 5722 fi ;; 5723 esac 5724 fi 5725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5726 printf "%s\n" "$lt_cv_path_NM" >&6; } 4992 5727 if test no != "$lt_cv_path_NM"; then 4993 5728 NM=$lt_cv_path_NM … … 5002 5737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5003 5738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5005 $as_echo_n "checking for $ac_word... " >&6; } 5006 if ${ac_cv_prog_DUMPBIN+:} false; then : 5007 $as_echo_n "(cached) " >&6 5008 else 5009 if test -n "$DUMPBIN"; then 5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5740 printf %s "checking for $ac_word... " >&6; } 5741 if test ${ac_cv_prog_DUMPBIN+y} 5742 then : 5743 printf %s "(cached) " >&6 5744 else case e in #( 5745 e) if test -n "$DUMPBIN"; then 5010 5746 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5011 5747 else … … 5014 5750 do 5015 5751 IFS=$as_save_IFS 5016 test -z "$as_dir" && as_dir=. 5752 case $as_dir in #((( 5753 '') as_dir=./ ;; 5754 */) ;; 5755 *) as_dir=$as_dir/ ;; 5756 esac 5017 5757 for ac_exec_ext in '' $ac_executable_extensions; do 5018 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then5758 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5019 5759 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5021 5761 break 2 5022 5762 fi … … 5025 5765 IFS=$as_save_IFS 5026 5766 5027 fi 5767 fi ;; 5768 esac 5028 5769 fi 5029 5770 DUMPBIN=$ac_cv_prog_DUMPBIN 5030 5771 if test -n "$DUMPBIN"; then 5031 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&55032 $as_echo"$DUMPBIN" >&6; }5033 else 5034 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&55035 $as_echo"no" >&6; }5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5773 printf "%s\n" "$DUMPBIN" >&6; } 5774 else 5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5776 printf "%s\n" "no" >&6; } 5036 5777 fi 5037 5778 … … 5046 5787 # Extract the first word of "$ac_prog", so it can be a program name with args. 5047 5788 set dummy $ac_prog; ac_word=$2 5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5049 $as_echo_n "checking for $ac_word... " >&6; } 5050 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5051 $as_echo_n "(cached) " >&6 5052 else 5053 if test -n "$ac_ct_DUMPBIN"; then 5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5790 printf %s "checking for $ac_word... " >&6; } 5791 if test ${ac_cv_prog_ac_ct_DUMPBIN+y} 5792 then : 5793 printf %s "(cached) " >&6 5794 else case e in #( 5795 e) if test -n "$ac_ct_DUMPBIN"; then 5054 5796 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5055 5797 else … … 5058 5800 do 5059 5801 IFS=$as_save_IFS 5060 test -z "$as_dir" && as_dir=. 5802 case $as_dir in #((( 5803 '') as_dir=./ ;; 5804 */) ;; 5805 *) as_dir=$as_dir/ ;; 5806 esac 5061 5807 for ac_exec_ext in '' $ac_executable_extensions; do 5062 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then5808 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5063 5809 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5065 5811 break 2 5066 5812 fi … … 5069 5815 IFS=$as_save_IFS 5070 5816 5071 fi 5817 fi ;; 5818 esac 5072 5819 fi 5073 5820 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5074 5821 if test -n "$ac_ct_DUMPBIN"; then 5075 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&55076 $as_echo"$ac_ct_DUMPBIN" >&6; }5077 else 5078 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&55079 $as_echo"no" >&6; }5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5823 printf "%s\n" "$ac_ct_DUMPBIN" >&6; } 5824 else 5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5826 printf "%s\n" "no" >&6; } 5080 5827 fi 5081 5828 … … 5089 5836 case $cross_compiling:$ac_tool_warned in 5090 5837 yes:) 5091 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55092 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}5838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5839 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5093 5840 ac_tool_warned=yes ;; 5094 5841 esac … … 5097 5844 fi 5098 5845 5099 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed'1q'` in5846 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in 5100 5847 *COFF*) 5101 5848 DUMPBIN="$DUMPBIN -symbols -headers" … … 5118 5865 5119 5866 5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5121 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 5122 if ${lt_cv_nm_interface+:} false; then : 5123 $as_echo_n "(cached) " >&6 5124 else 5125 lt_cv_nm_interface="BSD nm" 5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5868 printf %s "checking the name lister ($NM) interface... " >&6; } 5869 if test ${lt_cv_nm_interface+y} 5870 then : 5871 printf %s "(cached) " >&6 5872 else case e in #( 5873 e) lt_cv_nm_interface="BSD nm" 5126 5874 echo "int some_variable = 0;" > conftest.$ac_ext 5127 5875 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) … … 5136 5884 lt_cv_nm_interface="MS dumpbin" 5137 5885 fi 5138 rm -f conftest* 5139 fi 5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5141 $as_echo "$lt_cv_nm_interface" >&6; } 5886 rm -f conftest* ;; 5887 esac 5888 fi 5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5890 printf "%s\n" "$lt_cv_nm_interface" >&6; } 5142 5891 5143 5892 # find the maximum length of command line arguments 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5145 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 5146 if ${lt_cv_sys_max_cmd_len+:} false; then : 5147 $as_echo_n "(cached) " >&6 5148 else 5149 i=0 5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5894 printf %s "checking the maximum length of command line arguments... " >&6; } 5895 if test ${lt_cv_sys_max_cmd_len+y} 5896 then : 5897 printf %s "(cached) " >&6 5898 else case e in #( 5899 e) i=0 5150 5900 teststring=ABCD 5151 5901 … … 5188 5938 ;; 5189 5939 5190 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)5940 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) 5191 5941 # This has been around since 386BSD, at least. Likely further. 5192 5942 if test -x /sbin/sysctl; then … … 5231 5981 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5232 5982 if test -n "$kargmax"; then 5233 lt_cv_sys_max_cmd_len=`echo $kargmax | sed's/.*[ ]//'`5983 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'` 5234 5984 else 5235 5985 lt_cv_sys_max_cmd_len=32768 … … 5269 6019 ;; 5270 6020 esac 5271 6021 ;; 6022 esac 5272 6023 fi 5273 6024 5274 6025 if test -n "$lt_cv_sys_max_cmd_len"; then 5275 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&55276 $as_echo"$lt_cv_sys_max_cmd_len" >&6; }5277 else 5278 { $as_echo"$as_me:${as_lineno-$LINENO}: result: none" >&55279 $as_echo"none" >&6; }6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6027 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } 6028 else 6029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 6030 printf "%s\n" "none" >&6; } 5280 6031 fi 5281 6032 max_cmd_len=$lt_cv_sys_max_cmd_len … … 5321 6072 5322 6073 5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5324 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5325 if ${lt_cv_to_host_file_cmd+:} false; then : 5326 $as_echo_n "(cached) " >&6 5327 else 5328 case $host in 6074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6075 printf %s "checking how to convert $build file names to $host format... " >&6; } 6076 if test ${lt_cv_to_host_file_cmd+y} 6077 then : 6078 printf %s "(cached) " >&6 6079 else case e in #( 6080 e) case $host in 5329 6081 *-*-mingw* ) 5330 6082 case $build in … … 5357 6109 ;; 5358 6110 esac 5359 6111 ;; 6112 esac 5360 6113 fi 5361 6114 5362 6115 to_host_file_cmd=$lt_cv_to_host_file_cmd 5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5364 $as_echo "$lt_cv_to_host_file_cmd" >&6; } 5365 5366 5367 5368 5369 5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5371 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5372 if ${lt_cv_to_tool_file_cmd+:} false; then : 5373 $as_echo_n "(cached) " >&6 5374 else 5375 #assume ordinary cross tools, or native build. 6116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6117 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } 6118 6119 6120 6121 6122 6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6124 printf %s "checking how to convert $build file names to toolchain format... " >&6; } 6125 if test ${lt_cv_to_tool_file_cmd+y} 6126 then : 6127 printf %s "(cached) " >&6 6128 else case e in #( 6129 e) #assume ordinary cross tools, or native build. 5376 6130 lt_cv_to_tool_file_cmd=func_convert_file_noop 5377 6131 case $host in … … 5384 6138 ;; 5385 6139 esac 5386 6140 ;; 6141 esac 5387 6142 fi 5388 6143 5389 6144 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5391 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5392 5393 5394 5395 5396 5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5398 $as_echo_n "checking for $LD option to reload object files... " >&6; } 5399 if ${lt_cv_ld_reload_flag+:} false; then : 5400 $as_echo_n "(cached) " >&6 5401 else 5402 lt_cv_ld_reload_flag='-r' 5403 fi 5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5405 $as_echo "$lt_cv_ld_reload_flag" >&6; } 6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6146 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } 6147 6148 6149 6150 6151 6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6153 printf %s "checking for $LD option to reload object files... " >&6; } 6154 if test ${lt_cv_ld_reload_flag+y} 6155 then : 6156 printf %s "(cached) " >&6 6157 else case e in #( 6158 e) lt_cv_ld_reload_flag='-r' ;; 6159 esac 6160 fi 6161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6162 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } 5406 6163 reload_flag=$lt_cv_ld_reload_flag 5407 6164 case $reload_flag in … … 5434 6191 5435 6192 if test -n "$ac_tool_prefix"; then 5436 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5437 set dummy ${ac_tool_prefix}objdump; ac_word=$2 5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5439 $as_echo_n "checking for $ac_word... " >&6; } 5440 if ${ac_cv_prog_OBJDUMP+:} false; then : 5441 $as_echo_n "(cached) " >&6 5442 else 5443 if test -n "$OBJDUMP"; then 5444 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6193 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args. 6194 set dummy ${ac_tool_prefix}file; ac_word=$2 6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6196 printf %s "checking for $ac_word... " >&6; } 6197 if test ${ac_cv_prog_FILECMD+y} 6198 then : 6199 printf %s "(cached) " >&6 6200 else case e in #( 6201 e) if test -n "$FILECMD"; then 6202 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test. 5445 6203 else 5446 6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 5448 6206 do 5449 6207 IFS=$as_save_IFS 5450 test -z "$as_dir" && as_dir=. 6208 case $as_dir in #((( 6209 '') as_dir=./ ;; 6210 */) ;; 6211 *) as_dir=$as_dir/ ;; 6212 esac 5451 6213 for ac_exec_ext in '' $ac_executable_extensions; do 5452 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then5453 ac_cv_prog_ OBJDUMP="${ac_tool_prefix}objdump"5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6215 ac_cv_prog_FILECMD="${ac_tool_prefix}file" 6216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5455 6217 break 2 5456 6218 fi … … 5459 6221 IFS=$as_save_IFS 5460 6222 5461 fi 5462 fi 5463 OBJDUMP=$ac_cv_prog_OBJDUMP 5464 if test -n "$OBJDUMP"; then 5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5466 $as_echo "$OBJDUMP" >&6; } 5467 else 5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5469 $as_echo "no" >&6; } 5470 fi 5471 5472 5473 fi 5474 if test -z "$ac_cv_prog_OBJDUMP"; then 5475 ac_ct_OBJDUMP=$OBJDUMP 5476 # Extract the first word of "objdump", so it can be a program name with args. 5477 set dummy objdump; ac_word=$2 5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5479 $as_echo_n "checking for $ac_word... " >&6; } 5480 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5481 $as_echo_n "(cached) " >&6 5482 else 5483 if test -n "$ac_ct_OBJDUMP"; then 5484 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6223 fi ;; 6224 esac 6225 fi 6226 FILECMD=$ac_cv_prog_FILECMD 6227 if test -n "$FILECMD"; then 6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5 6229 printf "%s\n" "$FILECMD" >&6; } 6230 else 6231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6232 printf "%s\n" "no" >&6; } 6233 fi 6234 6235 6236 fi 6237 if test -z "$ac_cv_prog_FILECMD"; then 6238 ac_ct_FILECMD=$FILECMD 6239 # Extract the first word of "file", so it can be a program name with args. 6240 set dummy file; ac_word=$2 6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6242 printf %s "checking for $ac_word... " >&6; } 6243 if test ${ac_cv_prog_ac_ct_FILECMD+y} 6244 then : 6245 printf %s "(cached) " >&6 6246 else case e in #( 6247 e) if test -n "$ac_ct_FILECMD"; then 6248 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test. 5485 6249 else 5486 6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 5488 6252 do 5489 6253 IFS=$as_save_IFS 5490 test -z "$as_dir" && as_dir=. 6254 case $as_dir in #((( 6255 '') as_dir=./ ;; 6256 */) ;; 6257 *) as_dir=$as_dir/ ;; 6258 esac 5491 6259 for ac_exec_ext in '' $ac_executable_extensions; do 5492 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then5493 ac_cv_prog_ac_ct_ OBJDUMP="objdump"5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56260 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6261 ac_cv_prog_ac_ct_FILECMD="file" 6262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5495 6263 break 2 5496 6264 fi … … 5499 6267 IFS=$as_save_IFS 5500 6268 5501 fi 6269 fi ;; 6270 esac 6271 fi 6272 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD 6273 if test -n "$ac_ct_FILECMD"; then 6274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5 6275 printf "%s\n" "$ac_ct_FILECMD" >&6; } 6276 else 6277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6278 printf "%s\n" "no" >&6; } 6279 fi 6280 6281 if test "x$ac_ct_FILECMD" = x; then 6282 FILECMD=":" 6283 else 6284 case $cross_compiling:$ac_tool_warned in 6285 yes:) 6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6287 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6288 ac_tool_warned=yes ;; 6289 esac 6290 FILECMD=$ac_ct_FILECMD 6291 fi 6292 else 6293 FILECMD="$ac_cv_prog_FILECMD" 6294 fi 6295 6296 6297 6298 6299 6300 6301 6302 if test -n "$ac_tool_prefix"; then 6303 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6304 set dummy ${ac_tool_prefix}objdump; ac_word=$2 6305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6306 printf %s "checking for $ac_word... " >&6; } 6307 if test ${ac_cv_prog_OBJDUMP+y} 6308 then : 6309 printf %s "(cached) " >&6 6310 else case e in #( 6311 e) if test -n "$OBJDUMP"; then 6312 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6313 else 6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6315 for as_dir in $PATH 6316 do 6317 IFS=$as_save_IFS 6318 case $as_dir in #((( 6319 '') as_dir=./ ;; 6320 */) ;; 6321 *) as_dir=$as_dir/ ;; 6322 esac 6323 for ac_exec_ext in '' $ac_executable_extensions; do 6324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6325 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6327 break 2 6328 fi 6329 done 6330 done 6331 IFS=$as_save_IFS 6332 6333 fi ;; 6334 esac 6335 fi 6336 OBJDUMP=$ac_cv_prog_OBJDUMP 6337 if test -n "$OBJDUMP"; then 6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6339 printf "%s\n" "$OBJDUMP" >&6; } 6340 else 6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6342 printf "%s\n" "no" >&6; } 6343 fi 6344 6345 6346 fi 6347 if test -z "$ac_cv_prog_OBJDUMP"; then 6348 ac_ct_OBJDUMP=$OBJDUMP 6349 # Extract the first word of "objdump", so it can be a program name with args. 6350 set dummy objdump; ac_word=$2 6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6352 printf %s "checking for $ac_word... " >&6; } 6353 if test ${ac_cv_prog_ac_ct_OBJDUMP+y} 6354 then : 6355 printf %s "(cached) " >&6 6356 else case e in #( 6357 e) if test -n "$ac_ct_OBJDUMP"; then 6358 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6359 else 6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6361 for as_dir in $PATH 6362 do 6363 IFS=$as_save_IFS 6364 case $as_dir in #((( 6365 '') as_dir=./ ;; 6366 */) ;; 6367 *) as_dir=$as_dir/ ;; 6368 esac 6369 for ac_exec_ext in '' $ac_executable_extensions; do 6370 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6371 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6373 break 2 6374 fi 6375 done 6376 done 6377 IFS=$as_save_IFS 6378 6379 fi ;; 6380 esac 5502 6381 fi 5503 6382 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5504 6383 if test -n "$ac_ct_OBJDUMP"; then 5505 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&55506 $as_echo"$ac_ct_OBJDUMP" >&6; }5507 else 5508 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&55509 $as_echo"no" >&6; }6384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6385 printf "%s\n" "$ac_ct_OBJDUMP" >&6; } 6386 else 6387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6388 printf "%s\n" "no" >&6; } 5510 6389 fi 5511 6390 … … 5515 6394 case $cross_compiling:$ac_tool_warned in 5516 6395 yes:) 5517 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55518 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6397 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5519 6398 ac_tool_warned=yes ;; 5520 6399 esac … … 5532 6411 5533 6412 5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5535 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 5536 if ${lt_cv_deplibs_check_method+:} false; then : 5537 $as_echo_n "(cached) " >&6 5538 else 5539 lt_cv_file_magic_cmd='$MAGIC_CMD' 6413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6414 printf %s "checking how to recognize dependent libraries... " >&6; } 6415 if test ${lt_cv_deplibs_check_method+y} 6416 then : 6417 printf %s "(cached) " >&6 6418 else case e in #( 6419 e) lt_cv_file_magic_cmd='$MAGIC_CMD' 5540 6420 lt_cv_file_magic_test_file= 5541 6421 lt_cv_deplibs_check_method='unknown' … … 5562 6442 bsdi[45]*) 5563 6443 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5564 lt_cv_file_magic_cmd=' /usr/bin/file-L'6444 lt_cv_file_magic_cmd='$FILECMD -L' 5565 6445 lt_cv_file_magic_test_file=/shlib/libc.so 5566 6446 ;; … … 5596 6476 ;; 5597 6477 5598 freebsd* | dragonfly* )6478 freebsd* | dragonfly* | midnightbsd*) 5599 6479 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5600 6480 case $host_cpu in … … 5603 6483 # Let's accept both of them until this is cleared up. 5604 6484 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5605 lt_cv_file_magic_cmd= /usr/bin/file6485 lt_cv_file_magic_cmd=$FILECMD 5606 6486 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5607 6487 ;; … … 5617 6497 5618 6498 hpux10.20* | hpux11*) 5619 lt_cv_file_magic_cmd= /usr/bin/file6499 lt_cv_file_magic_cmd=$FILECMD 5620 6500 case $host_cpu in 5621 6501 ia64*) … … 5664 6544 newos6*) 5665 6545 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5666 lt_cv_file_magic_cmd= /usr/bin/file6546 lt_cv_file_magic_cmd=$FILECMD 5667 6547 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5668 6548 ;; … … 5730 6610 ;; 5731 6611 esac 5732 5733 fi 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5735 $as_echo "$lt_cv_deplibs_check_method" >&6; } 6612 ;; 6613 esac 6614 fi 6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6616 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } 5736 6617 5737 6618 file_magic_glob= … … 5777 6658 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5778 6659 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5780 $as_echo_n "checking for $ac_word... " >&6; } 5781 if ${ac_cv_prog_DLLTOOL+:} false; then : 5782 $as_echo_n "(cached) " >&6 5783 else 5784 if test -n "$DLLTOOL"; then 6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6661 printf %s "checking for $ac_word... " >&6; } 6662 if test ${ac_cv_prog_DLLTOOL+y} 6663 then : 6664 printf %s "(cached) " >&6 6665 else case e in #( 6666 e) if test -n "$DLLTOOL"; then 5785 6667 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5786 6668 else … … 5789 6671 do 5790 6672 IFS=$as_save_IFS 5791 test -z "$as_dir" && as_dir=. 6673 case $as_dir in #((( 6674 '') as_dir=./ ;; 6675 */) ;; 6676 *) as_dir=$as_dir/ ;; 6677 esac 5792 6678 for ac_exec_ext in '' $ac_executable_extensions; do 5793 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then6679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5794 6680 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5796 6682 break 2 5797 6683 fi … … 5800 6686 IFS=$as_save_IFS 5801 6687 5802 fi 6688 fi ;; 6689 esac 5803 6690 fi 5804 6691 DLLTOOL=$ac_cv_prog_DLLTOOL 5805 6692 if test -n "$DLLTOOL"; then 5806 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&55807 $as_echo"$DLLTOOL" >&6; }5808 else 5809 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&55810 $as_echo"no" >&6; }6693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6694 printf "%s\n" "$DLLTOOL" >&6; } 6695 else 6696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6697 printf "%s\n" "no" >&6; } 5811 6698 fi 5812 6699 … … 5817 6704 # Extract the first word of "dlltool", so it can be a program name with args. 5818 6705 set dummy dlltool; ac_word=$2 5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5820 $as_echo_n "checking for $ac_word... " >&6; } 5821 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5822 $as_echo_n "(cached) " >&6 5823 else 5824 if test -n "$ac_ct_DLLTOOL"; then 6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6707 printf %s "checking for $ac_word... " >&6; } 6708 if test ${ac_cv_prog_ac_ct_DLLTOOL+y} 6709 then : 6710 printf %s "(cached) " >&6 6711 else case e in #( 6712 e) if test -n "$ac_ct_DLLTOOL"; then 5825 6713 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5826 6714 else … … 5829 6717 do 5830 6718 IFS=$as_save_IFS 5831 test -z "$as_dir" && as_dir=. 6719 case $as_dir in #((( 6720 '') as_dir=./ ;; 6721 */) ;; 6722 *) as_dir=$as_dir/ ;; 6723 esac 5832 6724 for ac_exec_ext in '' $ac_executable_extensions; do 5833 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then6725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5834 6726 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5836 6728 break 2 5837 6729 fi … … 5840 6732 IFS=$as_save_IFS 5841 6733 5842 fi 6734 fi ;; 6735 esac 5843 6736 fi 5844 6737 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5845 6738 if test -n "$ac_ct_DLLTOOL"; then 5846 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&55847 $as_echo"$ac_ct_DLLTOOL" >&6; }5848 else 5849 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&55850 $as_echo"no" >&6; }6739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6740 printf "%s\n" "$ac_ct_DLLTOOL" >&6; } 6741 else 6742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6743 printf "%s\n" "no" >&6; } 5851 6744 fi 5852 6745 … … 5856 6749 case $cross_compiling:$ac_tool_warned in 5857 6750 yes:) 5858 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55859 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5860 6753 ac_tool_warned=yes ;; 5861 6754 esac … … 5874 6767 5875 6768 5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5877 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5878 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5879 $as_echo_n "(cached) " >&6 5880 else 5881 lt_cv_sharedlib_from_linklib_cmd='unknown' 6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6770 printf %s "checking how to associate runtime and link libraries... " >&6; } 6771 if test ${lt_cv_sharedlib_from_linklib_cmd+y} 6772 then : 6773 printf %s "(cached) " >&6 6774 else case e in #( 6775 e) lt_cv_sharedlib_from_linklib_cmd='unknown' 5882 6776 5883 6777 case $host_os in … … 5899 6793 ;; 5900 6794 esac 5901 5902 fi 5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5904 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6795 ;; 6796 esac 6797 fi 6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6799 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5905 6800 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5906 6801 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO … … 5918 6813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5919 6814 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5921 $as_echo_n "checking for $ac_word... " >&6; } 5922 if ${ac_cv_prog_AR+:} false; then : 5923 $as_echo_n "(cached) " >&6 5924 else 5925 if test -n "$AR"; then 6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6816 printf %s "checking for $ac_word... " >&6; } 6817 if test ${ac_cv_prog_AR+y} 6818 then : 6819 printf %s "(cached) " >&6 6820 else case e in #( 6821 e) if test -n "$AR"; then 5926 6822 ac_cv_prog_AR="$AR" # Let the user override the test. 5927 6823 else … … 5930 6826 do 5931 6827 IFS=$as_save_IFS 5932 test -z "$as_dir" && as_dir=. 6828 case $as_dir in #((( 6829 '') as_dir=./ ;; 6830 */) ;; 6831 *) as_dir=$as_dir/ ;; 6832 esac 5933 6833 for ac_exec_ext in '' $ac_executable_extensions; do 5934 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then6834 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5935 6835 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5937 6837 break 2 5938 6838 fi … … 5941 6841 IFS=$as_save_IFS 5942 6842 5943 fi 6843 fi ;; 6844 esac 5944 6845 fi 5945 6846 AR=$ac_cv_prog_AR 5946 6847 if test -n "$AR"; then 5947 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $AR" >&55948 $as_echo"$AR" >&6; }5949 else 5950 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&55951 $as_echo"no" >&6; }6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6849 printf "%s\n" "$AR" >&6; } 6850 else 6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6852 printf "%s\n" "no" >&6; } 5952 6853 fi 5953 6854 … … 5962 6863 # Extract the first word of "$ac_prog", so it can be a program name with args. 5963 6864 set dummy $ac_prog; ac_word=$2 5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5965 $as_echo_n "checking for $ac_word... " >&6; } 5966 if ${ac_cv_prog_ac_ct_AR+:} false; then : 5967 $as_echo_n "(cached) " >&6 5968 else 5969 if test -n "$ac_ct_AR"; then 6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6866 printf %s "checking for $ac_word... " >&6; } 6867 if test ${ac_cv_prog_ac_ct_AR+y} 6868 then : 6869 printf %s "(cached) " >&6 6870 else case e in #( 6871 e) if test -n "$ac_ct_AR"; then 5970 6872 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5971 6873 else … … 5974 6876 do 5975 6877 IFS=$as_save_IFS 5976 test -z "$as_dir" && as_dir=. 6878 case $as_dir in #((( 6879 '') as_dir=./ ;; 6880 */) ;; 6881 *) as_dir=$as_dir/ ;; 6882 esac 5977 6883 for ac_exec_ext in '' $ac_executable_extensions; do 5978 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then6884 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5979 6885 ac_cv_prog_ac_ct_AR="$ac_prog" 5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5981 6887 break 2 5982 6888 fi … … 5985 6891 IFS=$as_save_IFS 5986 6892 5987 fi 6893 fi ;; 6894 esac 5988 6895 fi 5989 6896 ac_ct_AR=$ac_cv_prog_ac_ct_AR 5990 6897 if test -n "$ac_ct_AR"; then 5991 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&55992 $as_echo"$ac_ct_AR" >&6; }5993 else 5994 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&55995 $as_echo"no" >&6; }6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6899 printf "%s\n" "$ac_ct_AR" >&6; } 6900 else 6901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6902 printf "%s\n" "no" >&6; } 5996 6903 fi 5997 6904 … … 6005 6912 case $cross_compiling:$ac_tool_warned in 6006 6913 yes:) 6007 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56008 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6009 6916 ac_tool_warned=yes ;; 6010 6917 esac … … 6014 6921 6015 6922 : ${AR=ar} 6016 : ${AR_FLAGS=cru} 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6029 $as_echo_n "checking for archiver @FILE support... " >&6; } 6030 if ${lt_cv_ar_at_file+:} false; then : 6031 $as_echo_n "(cached) " >&6 6032 else 6033 lt_cv_ar_at_file=no 6923 6924 6925 6926 6927 6928 6929 # Use ARFLAGS variable as AR's operation code to sync the variable naming with 6930 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have 6931 # higher priority because thats what people were doing historically (setting 6932 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS 6933 # variable obsoleted/removed. 6934 6935 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} 6936 lt_ar_flags=$AR_FLAGS 6937 6938 6939 6940 6941 6942 6943 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override 6944 # by AR_FLAGS because that was never working and AR_FLAGS is about to die. 6945 6946 6947 6948 6949 6950 6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6952 printf %s "checking for archiver @FILE support... " >&6; } 6953 if test ${lt_cv_ar_at_file+y} 6954 then : 6955 printf %s "(cached) " >&6 6956 else case e in #( 6957 e) lt_cv_ar_at_file=no 6034 6958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6035 6959 /* end confdefs.h. */ 6036 6960 6037 6961 int 6038 main ( )6962 main (void) 6039 6963 { 6040 6964 … … 6043 6967 } 6044 6968 _ACEOF 6045 if ac_fn_c_try_compile "$LINENO"; then : 6969 if ac_fn_c_try_compile "$LINENO" 6970 then : 6046 6971 echo conftest.$ac_objext > conftest.lst 6047 6972 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' … … 6049 6974 (eval $lt_ar_try) 2>&5 6050 6975 ac_status=$? 6051 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6052 6977 test $ac_status = 0; } 6053 6978 if test 0 -eq "$ac_status"; then … … 6057 6982 (eval $lt_ar_try) 2>&5 6058 6983 ac_status=$? 6059 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6060 6985 test $ac_status = 0; } 6061 6986 if test 0 -ne "$ac_status"; then … … 6066 6991 6067 6992 fi 6068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6069 6070 fi 6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6072 $as_echo "$lt_cv_ar_at_file" >&6; } 6993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6994 ;; 6995 esac 6996 fi 6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6998 printf "%s\n" "$lt_cv_ar_at_file" >&6; } 6073 6999 6074 7000 if test no = "$lt_cv_ar_at_file"; then … … 6087 7013 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6088 7014 set dummy ${ac_tool_prefix}strip; ac_word=$2 6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6090 $as_echo_n "checking for $ac_word... " >&6; } 6091 if ${ac_cv_prog_STRIP+:} false; then : 6092 $as_echo_n "(cached) " >&6 6093 else 6094 if test -n "$STRIP"; then 7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7016 printf %s "checking for $ac_word... " >&6; } 7017 if test ${ac_cv_prog_STRIP+y} 7018 then : 7019 printf %s "(cached) " >&6 7020 else case e in #( 7021 e) if test -n "$STRIP"; then 6095 7022 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6096 7023 else … … 6099 7026 do 6100 7027 IFS=$as_save_IFS 6101 test -z "$as_dir" && as_dir=. 7028 case $as_dir in #((( 7029 '') as_dir=./ ;; 7030 */) ;; 7031 *) as_dir=$as_dir/ ;; 7032 esac 6102 7033 for ac_exec_ext in '' $ac_executable_extensions; do 6103 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then7034 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6104 7035 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6106 7037 break 2 6107 7038 fi … … 6110 7041 IFS=$as_save_IFS 6111 7042 6112 fi 7043 fi ;; 7044 esac 6113 7045 fi 6114 7046 STRIP=$ac_cv_prog_STRIP 6115 7047 if test -n "$STRIP"; then 6116 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $STRIP" >&56117 $as_echo"$STRIP" >&6; }6118 else 6119 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&56120 $as_echo"no" >&6; }7048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7049 printf "%s\n" "$STRIP" >&6; } 7050 else 7051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7052 printf "%s\n" "no" >&6; } 6121 7053 fi 6122 7054 … … 6127 7059 # Extract the first word of "strip", so it can be a program name with args. 6128 7060 set dummy strip; ac_word=$2 6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6130 $as_echo_n "checking for $ac_word... " >&6; } 6131 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6132 $as_echo_n "(cached) " >&6 6133 else 6134 if test -n "$ac_ct_STRIP"; then 7061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7062 printf %s "checking for $ac_word... " >&6; } 7063 if test ${ac_cv_prog_ac_ct_STRIP+y} 7064 then : 7065 printf %s "(cached) " >&6 7066 else case e in #( 7067 e) if test -n "$ac_ct_STRIP"; then 6135 7068 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6136 7069 else … … 6139 7072 do 6140 7073 IFS=$as_save_IFS 6141 test -z "$as_dir" && as_dir=. 7074 case $as_dir in #((( 7075 '') as_dir=./ ;; 7076 */) ;; 7077 *) as_dir=$as_dir/ ;; 7078 esac 6142 7079 for ac_exec_ext in '' $ac_executable_extensions; do 6143 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then7080 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6144 7081 ac_cv_prog_ac_ct_STRIP="strip" 6145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6146 7083 break 2 6147 7084 fi … … 6150 7087 IFS=$as_save_IFS 6151 7088 6152 fi 7089 fi ;; 7090 esac 6153 7091 fi 6154 7092 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6155 7093 if test -n "$ac_ct_STRIP"; then 6156 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&56157 $as_echo"$ac_ct_STRIP" >&6; }6158 else 6159 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&56160 $as_echo"no" >&6; }7094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7095 printf "%s\n" "$ac_ct_STRIP" >&6; } 7096 else 7097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7098 printf "%s\n" "no" >&6; } 6161 7099 fi 6162 7100 … … 6166 7104 case $cross_compiling:$ac_tool_warned in 6167 7105 yes:) 6168 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56169 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7107 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6170 7108 ac_tool_warned=yes ;; 6171 7109 esac … … 6186 7124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6187 7125 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6189 $as_echo_n "checking for $ac_word... " >&6; } 6190 if ${ac_cv_prog_RANLIB+:} false; then : 6191 $as_echo_n "(cached) " >&6 6192 else 6193 if test -n "$RANLIB"; then 7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7127 printf %s "checking for $ac_word... " >&6; } 7128 if test ${ac_cv_prog_RANLIB+y} 7129 then : 7130 printf %s "(cached) " >&6 7131 else case e in #( 7132 e) if test -n "$RANLIB"; then 6194 7133 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6195 7134 else … … 6198 7137 do 6199 7138 IFS=$as_save_IFS 6200 test -z "$as_dir" && as_dir=. 7139 case $as_dir in #((( 7140 '') as_dir=./ ;; 7141 */) ;; 7142 *) as_dir=$as_dir/ ;; 7143 esac 6201 7144 for ac_exec_ext in '' $ac_executable_extensions; do 6202 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then7145 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6203 7146 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6205 7148 break 2 6206 7149 fi … … 6209 7152 IFS=$as_save_IFS 6210 7153 6211 fi 7154 fi ;; 7155 esac 6212 7156 fi 6213 7157 RANLIB=$ac_cv_prog_RANLIB 6214 7158 if test -n "$RANLIB"; then 6215 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&56216 $as_echo"$RANLIB" >&6; }6217 else 6218 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&56219 $as_echo"no" >&6; }7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7160 printf "%s\n" "$RANLIB" >&6; } 7161 else 7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7163 printf "%s\n" "no" >&6; } 6220 7164 fi 6221 7165 … … 6226 7170 # Extract the first word of "ranlib", so it can be a program name with args. 6227 7171 set dummy ranlib; ac_word=$2 6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6229 $as_echo_n "checking for $ac_word... " >&6; } 6230 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6231 $as_echo_n "(cached) " >&6 6232 else 6233 if test -n "$ac_ct_RANLIB"; then 7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7173 printf %s "checking for $ac_word... " >&6; } 7174 if test ${ac_cv_prog_ac_ct_RANLIB+y} 7175 then : 7176 printf %s "(cached) " >&6 7177 else case e in #( 7178 e) if test -n "$ac_ct_RANLIB"; then 6234 7179 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6235 7180 else … … 6238 7183 do 6239 7184 IFS=$as_save_IFS 6240 test -z "$as_dir" && as_dir=. 7185 case $as_dir in #((( 7186 '') as_dir=./ ;; 7187 */) ;; 7188 *) as_dir=$as_dir/ ;; 7189 esac 6241 7190 for ac_exec_ext in '' $ac_executable_extensions; do 6242 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then7191 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6243 7192 ac_cv_prog_ac_ct_RANLIB="ranlib" 6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6245 7194 break 2 6246 7195 fi … … 6249 7198 IFS=$as_save_IFS 6250 7199 6251 fi 7200 fi ;; 7201 esac 6252 7202 fi 6253 7203 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6254 7204 if test -n "$ac_ct_RANLIB"; then 6255 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&56256 $as_echo"$ac_ct_RANLIB" >&6; }6257 else 6258 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&56259 $as_echo"no" >&6; }7205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7206 printf "%s\n" "$ac_ct_RANLIB" >&6; } 7207 else 7208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7209 printf "%s\n" "no" >&6; } 6260 7210 fi 6261 7211 … … 6265 7215 case $cross_compiling:$ac_tool_warned in 6266 7216 yes:) 6267 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56268 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6269 7219 ac_tool_warned=yes ;; 6270 7220 esac … … 6355 7305 6356 7306 # Check for command to grab the raw symbol name followed by C symbol from nm. 6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6358 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6359 if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6360 $as_echo_n "(cached) " >&6 6361 else 6362 7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7308 printf %s "checking command to parse $NM output from $compiler object... " >&6; } 7309 if test ${lt_cv_sys_global_symbol_pipe+y} 7310 then : 7311 printf %s "(cached) " >&6 7312 else case e in #( 7313 e) 6363 7314 # These are sane defaults that work on at least a few old systems. 6364 7315 # [They come from Ultrix. What could be older than Ultrix?!! ;)] … … 6414 7365 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6415 7366 # Gets list of data symbols to import. 6416 lt_cv_sys_global_symbol_to_import=" sed-n -e 's/^I .* \(.*\)$/\1/p'"7367 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" 6417 7368 # Adjust the below global symbol transforms to fixup imported variables. 6418 7369 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" … … 6432 7383 # Some systems (esp. on ia64) link data and code symbols differently, 6433 7384 # so use this general approach. 6434 lt_cv_sys_global_symbol_to_cdecl=" sed-n"\7385 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ 6435 7386 $lt_cdecl_hook\ 6436 7387 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ … … 6438 7389 6439 7390 # Transform an extracted symbol line into symbol name and symbol address 6440 lt_cv_sys_global_symbol_to_c_name_address=" sed-n"\7391 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ 6441 7392 $lt_c_name_hook\ 6442 7393 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ … … 6445 7396 # Transform an extracted symbol line into symbol name with lib prefix and 6446 7397 # symbol address. 6447 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix=" sed-n"\7398 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ 6448 7399 $lt_c_name_lib_hook\ 6449 7400 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ … … 6469 7420 # Fake it for dumpbin and say T for any non-static function, 6470 7421 # D for any global variable and I for any imported variable. 6471 # Also find C++ and __fastcall symbols from MSVC++ ,7422 # Also find C++ and __fastcall symbols from MSVC++ or ICC, 6472 7423 # which start with @ or ?. 6473 7424 lt_cv_sys_global_symbol_pipe="$AWK '"\ … … 6487 7438 " ' prfx=^$ac_symprfx" 6488 7439 else 6489 lt_cv_sys_global_symbol_pipe=" sed-n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"7440 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6490 7441 fi 6491 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed'/ __gnu_lto/d'"7442 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" 6492 7443 6493 7444 # Check to see that the pipe works correctly. … … 6511 7462 (eval $ac_compile) 2>&5 6512 7463 ac_status=$? 6513 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&57464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6514 7465 test $ac_status = 0; }; then 6515 7466 # Now try to grab the symbols. … … 6518 7469 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6519 7470 ac_status=$? 6520 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&57471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6521 7472 test $ac_status = 0; } && test -s "$nlist"; then 6522 7473 # Try sorting and uniquifying the output. … … 6587 7538 (eval $ac_link) 2>&5 6588 7539 ac_status=$? 6589 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&57540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6590 7541 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6591 7542 pipe_works=yes … … 6615 7566 fi 6616 7567 done 6617 7568 ;; 7569 esac 6618 7570 fi 6619 7571 … … 6622 7574 fi 6623 7575 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6624 { $as_echo"$as_me:${as_lineno-$LINENO}: result: failed" >&56625 $as_echo"failed" >&6; }6626 else 6627 { $as_echo"$as_me:${as_lineno-$LINENO}: result: ok" >&56628 $as_echo"ok" >&6; }7576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7577 printf "%s\n" "failed" >&6; } 7578 else 7579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7580 printf "%s\n" "ok" >&6; } 6629 7581 fi 6630 7582 … … 6672 7624 6673 7625 6674 { $as_echo"$as_me:${as_lineno-$LINENO}: checking for sysroot" >&56675 $as_echo_n"checking for sysroot... " >&6; }7626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7627 printf %s "checking for sysroot... " >&6; } 6676 7628 6677 7629 # Check whether --with-sysroot was given. 6678 if test "${with_sysroot+set}" = set; then : 7630 if test ${with_sysroot+y} 7631 then : 6679 7632 withval=$with_sysroot; 6680 else 6681 with_sysroot=no 7633 else case e in #( 7634 e) with_sysroot=no ;; 7635 esac 6682 7636 fi 6683 7637 … … 6691 7645 ;; #( 6692 7646 /*) 6693 lt_sysroot=`echo "$with_sysroot" | sed-e "$sed_quote_subst"`7647 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` 6694 7648 ;; #( 6695 7649 no|'') 6696 7650 ;; #( 6697 7651 *) 6698 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&56699 $as_echo"$with_sysroot" >&6; }7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7653 printf "%s\n" "$with_sysroot" >&6; } 6700 7654 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6701 7655 ;; 6702 7656 esac 6703 7657 6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6705 $as_echo "${lt_sysroot:-no}" >&6; } 6706 6707 6708 6709 6710 6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6712 $as_echo_n "checking for a working dd... " >&6; } 6713 if ${ac_cv_path_lt_DD+:} false; then : 6714 $as_echo_n "(cached) " >&6 6715 else 6716 printf 0123456789abcdef0123456789abcdef >conftest.i 7658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7659 printf "%s\n" "${lt_sysroot:-no}" >&6; } 7660 7661 7662 7663 7664 7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7666 printf %s "checking for a working dd... " >&6; } 7667 if test ${ac_cv_path_lt_DD+y} 7668 then : 7669 printf %s "(cached) " >&6 7670 else case e in #( 7671 e) printf 0123456789abcdef0123456789abcdef >conftest.i 6717 7672 cat conftest.i conftest.i >conftest2.i 6718 7673 : ${lt_DD:=$DD} … … 6724 7679 do 6725 7680 IFS=$as_save_IFS 6726 test -z "$as_dir" && as_dir=. 6727 for ac_prog in dd; do 7681 case $as_dir in #((( 7682 '') as_dir=./ ;; 7683 */) ;; 7684 *) as_dir=$as_dir/ ;; 7685 esac 7686 for ac_prog in dd 7687 do 6728 7688 for ac_exec_ext in '' $ac_executable_extensions; do 6729 ac_path_lt_DD="$as_dir /$ac_prog$ac_exec_ext"7689 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" 6730 7690 as_fn_executable_p "$ac_path_lt_DD" || continue 6731 7691 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then … … 6745 7705 fi 6746 7706 6747 rm -f conftest.i conftest2.i conftest.out 6748 fi 6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6750 $as_echo "$ac_cv_path_lt_DD" >&6; } 6751 6752 6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6754 $as_echo_n "checking how to truncate binary pipes... " >&6; } 6755 if ${lt_cv_truncate_bin+:} false; then : 6756 $as_echo_n "(cached) " >&6 6757 else 6758 printf 0123456789abcdef0123456789abcdef >conftest.i 7707 rm -f conftest.i conftest2.i conftest.out ;; 7708 esac 7709 fi 7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7711 printf "%s\n" "$ac_cv_path_lt_DD" >&6; } 7712 7713 7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7715 printf %s "checking how to truncate binary pipes... " >&6; } 7716 if test ${lt_cv_truncate_bin+y} 7717 then : 7718 printf %s "(cached) " >&6 7719 else case e in #( 7720 e) printf 0123456789abcdef0123456789abcdef >conftest.i 6759 7721 cat conftest.i conftest.i >conftest2.i 6760 7722 lt_cv_truncate_bin= … … 6764 7726 fi 6765 7727 rm -f conftest.i conftest2.i conftest.out 6766 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6767 fi 6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6769 $as_echo "$lt_cv_truncate_bin" >&6; } 7728 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;; 7729 esac 7730 fi 7731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7732 printf "%s\n" "$lt_cv_truncate_bin" >&6; } 6770 7733 6771 7734 … … 6790 7753 6791 7754 # Check whether --enable-libtool-lock was given. 6792 if test "${enable_libtool_lock+set}" = set; then : 7755 if test ${enable_libtool_lock+y} 7756 then : 6793 7757 enableval=$enable_libtool_lock; 6794 7758 fi … … 6806 7770 (eval $ac_compile) 2>&5 6807 7771 ac_status=$? 6808 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&57772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6809 7773 test $ac_status = 0; }; then 6810 case ` /usr/bin/fileconftest.$ac_objext` in7774 case `$FILECMD conftest.$ac_objext` in 6811 7775 *ELF-32*) 6812 7776 HPUX_IA64_MODE=32 … … 6826 7790 (eval $ac_compile) 2>&5 6827 7791 ac_status=$? 6828 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&57792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6829 7793 test $ac_status = 0; }; then 6830 7794 if test yes = "$lt_cv_prog_gnu_ld"; then 6831 case ` /usr/bin/fileconftest.$ac_objext` in7795 case `$FILECMD conftest.$ac_objext` in 6832 7796 *32-bit*) 6833 7797 LD="${LD-ld} -melf32bsmip" … … 6841 7805 esac 6842 7806 else 6843 case ` /usr/bin/fileconftest.$ac_objext` in7807 case `$FILECMD conftest.$ac_objext` in 6844 7808 *32-bit*) 6845 7809 LD="${LD-ld} -32" … … 6864 7828 (eval $ac_compile) 2>&5 6865 7829 ac_status=$? 6866 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&57830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6867 7831 test $ac_status = 0; }; then 6868 7832 emul=elf 6869 case ` /usr/bin/fileconftest.$ac_objext` in7833 case `$FILECMD conftest.$ac_objext` in 6870 7834 *32-bit*) 6871 7835 emul="${emul}32" … … 6875 7839 ;; 6876 7840 esac 6877 case ` /usr/bin/fileconftest.$ac_objext` in7841 case `$FILECMD conftest.$ac_objext` in 6878 7842 *MSB*) 6879 7843 emul="${emul}btsmip" … … 6883 7847 ;; 6884 7848 esac 6885 case ` /usr/bin/fileconftest.$ac_objext` in7849 case `$FILECMD conftest.$ac_objext` in 6886 7850 *N32*) 6887 7851 emul="${emul}n32" … … 6905 7869 (eval $ac_compile) 2>&5 6906 7870 ac_status=$? 6907 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&57871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6908 7872 test $ac_status = 0; }; then 6909 case ` /usr/bin/fileconftest.o` in7873 case `$FILECMD conftest.o` in 6910 7874 *32-bit*) 6911 7875 case $host in … … 6914 7878 ;; 6915 7879 x86_64-*linux*) 6916 case ` /usr/bin/fileconftest.o` in7880 case `$FILECMD conftest.o` in 6917 7881 *x86-64*) 6918 7882 LD="${LD-ld} -m elf32_x86_64" … … 6968 7932 SAVE_CFLAGS=$CFLAGS 6969 7933 CFLAGS="$CFLAGS -belf" 6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6971 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6972 if ${lt_cv_cc_needs_belf+:} false; then : 6973 $as_echo_n "(cached) " >&6 6974 else 6975 ac_ext=c 7934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7935 printf %s "checking whether the C compiler needs -belf... " >&6; } 7936 if test ${lt_cv_cc_needs_belf+y} 7937 then : 7938 printf %s "(cached) " >&6 7939 else case e in #( 7940 e) ac_ext=c 6976 7941 ac_cpp='$CPP $CPPFLAGS' 6977 7942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6983 7948 6984 7949 int 6985 main ( )7950 main (void) 6986 7951 { 6987 7952 … … 6990 7955 } 6991 7956 _ACEOF 6992 if ac_fn_c_try_link "$LINENO"; then : 7957 if ac_fn_c_try_link "$LINENO" 7958 then : 6993 7959 lt_cv_cc_needs_belf=yes 6994 else 6995 lt_cv_cc_needs_belf=no 6996 fi 6997 rm -f core conftest.err conftest.$ac_objext \ 7960 else case e in #( 7961 e) lt_cv_cc_needs_belf=no ;; 7962 esac 7963 fi 7964 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6998 7965 conftest$ac_exeext conftest.$ac_ext 6999 7966 ac_ext=c … … 7002 7969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7003 7970 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7004 7005 fi 7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7007 $as_echo "$lt_cv_cc_needs_belf" >&6; } 7971 ;; 7972 esac 7973 fi 7974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7975 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } 7008 7976 if test yes != "$lt_cv_cc_needs_belf"; then 7009 7977 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf … … 7018 7986 (eval $ac_compile) 2>&5 7019 7987 ac_status=$? 7020 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&57988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7021 7989 test $ac_status = 0; }; then 7022 case ` /usr/bin/fileconftest.o` in7990 case `$FILECMD conftest.o` in 7023 7991 *64-bit*) 7024 7992 case $lt_cv_prog_gnu_ld in … … 7055 8023 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7056 8024 set dummy ${ac_tool_prefix}mt; ac_word=$2 7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7058 $as_echo_n "checking for $ac_word... " >&6; } 7059 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7060 $as_echo_n "(cached) " >&6 7061 else 7062 if test -n "$MANIFEST_TOOL"; then 8025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8026 printf %s "checking for $ac_word... " >&6; } 8027 if test ${ac_cv_prog_MANIFEST_TOOL+y} 8028 then : 8029 printf %s "(cached) " >&6 8030 else case e in #( 8031 e) if test -n "$MANIFEST_TOOL"; then 7063 8032 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7064 8033 else … … 7067 8036 do 7068 8037 IFS=$as_save_IFS 7069 test -z "$as_dir" && as_dir=. 8038 case $as_dir in #((( 8039 '') as_dir=./ ;; 8040 */) ;; 8041 *) as_dir=$as_dir/ ;; 8042 esac 7070 8043 for ac_exec_ext in '' $ac_executable_extensions; do 7071 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8044 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7072 8045 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7074 8047 break 2 7075 8048 fi … … 7078 8051 IFS=$as_save_IFS 7079 8052 7080 fi 8053 fi ;; 8054 esac 7081 8055 fi 7082 8056 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7083 8057 if test -n "$MANIFEST_TOOL"; then 7084 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&57085 $as_echo"$MANIFEST_TOOL" >&6; }7086 else 7087 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57088 $as_echo"no" >&6; }8058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8059 printf "%s\n" "$MANIFEST_TOOL" >&6; } 8060 else 8061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8062 printf "%s\n" "no" >&6; } 7089 8063 fi 7090 8064 … … 7095 8069 # Extract the first word of "mt", so it can be a program name with args. 7096 8070 set dummy mt; ac_word=$2 7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7098 $as_echo_n "checking for $ac_word... " >&6; } 7099 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7100 $as_echo_n "(cached) " >&6 7101 else 7102 if test -n "$ac_ct_MANIFEST_TOOL"; then 8071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8072 printf %s "checking for $ac_word... " >&6; } 8073 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} 8074 then : 8075 printf %s "(cached) " >&6 8076 else case e in #( 8077 e) if test -n "$ac_ct_MANIFEST_TOOL"; then 7103 8078 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7104 8079 else … … 7107 8082 do 7108 8083 IFS=$as_save_IFS 7109 test -z "$as_dir" && as_dir=. 8084 case $as_dir in #((( 8085 '') as_dir=./ ;; 8086 */) ;; 8087 *) as_dir=$as_dir/ ;; 8088 esac 7110 8089 for ac_exec_ext in '' $ac_executable_extensions; do 7111 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8090 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7112 8091 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7114 8093 break 2 7115 8094 fi … … 7118 8097 IFS=$as_save_IFS 7119 8098 7120 fi 8099 fi ;; 8100 esac 7121 8101 fi 7122 8102 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7123 8103 if test -n "$ac_ct_MANIFEST_TOOL"; then 7124 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&57125 $as_echo"$ac_ct_MANIFEST_TOOL" >&6; }7126 else 7127 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57128 $as_echo"no" >&6; }8104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8105 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } 8106 else 8107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8108 printf "%s\n" "no" >&6; } 7129 8109 fi 7130 8110 … … 7134 8114 case $cross_compiling:$ac_tool_warned in 7135 8115 yes:) 7136 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57137 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}8116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8117 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7138 8118 ac_tool_warned=yes ;; 7139 8119 esac … … 7145 8125 7146 8126 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7148 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7149 if ${lt_cv_path_mainfest_tool+:} false; then : 7150 $as_echo_n "(cached) " >&6 7151 else 7152 lt_cv_path_mainfest_tool=no 8127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8128 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8129 if test ${lt_cv_path_mainfest_tool+y} 8130 then : 8131 printf %s "(cached) " >&6 8132 else case e in #( 8133 e) lt_cv_path_mainfest_tool=no 7153 8134 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7154 8135 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out … … 7157 8138 lt_cv_path_mainfest_tool=yes 7158 8139 fi 7159 rm -f conftest* 7160 fi 7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7162 $as_echo "$lt_cv_path_mainfest_tool" >&6; } 8140 rm -f conftest* ;; 8141 esac 8142 fi 8143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8144 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } 7163 8145 if test yes != "$lt_cv_path_mainfest_tool"; then 7164 8146 MANIFEST_TOOL=: … … 7175 8157 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7176 8158 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7178 $as_echo_n "checking for $ac_word... " >&6; } 7179 if ${ac_cv_prog_DSYMUTIL+:} false; then : 7180 $as_echo_n "(cached) " >&6 7181 else 7182 if test -n "$DSYMUTIL"; then 8159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8160 printf %s "checking for $ac_word... " >&6; } 8161 if test ${ac_cv_prog_DSYMUTIL+y} 8162 then : 8163 printf %s "(cached) " >&6 8164 else case e in #( 8165 e) if test -n "$DSYMUTIL"; then 7183 8166 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7184 8167 else … … 7187 8170 do 7188 8171 IFS=$as_save_IFS 7189 test -z "$as_dir" && as_dir=. 8172 case $as_dir in #((( 8173 '') as_dir=./ ;; 8174 */) ;; 8175 *) as_dir=$as_dir/ ;; 8176 esac 7190 8177 for ac_exec_ext in '' $ac_executable_extensions; do 7191 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8178 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7192 8179 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7194 8181 break 2 7195 8182 fi … … 7198 8185 IFS=$as_save_IFS 7199 8186 7200 fi 8187 fi ;; 8188 esac 7201 8189 fi 7202 8190 DSYMUTIL=$ac_cv_prog_DSYMUTIL 7203 8191 if test -n "$DSYMUTIL"; then 7204 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&57205 $as_echo"$DSYMUTIL" >&6; }7206 else 7207 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57208 $as_echo"no" >&6; }8192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8193 printf "%s\n" "$DSYMUTIL" >&6; } 8194 else 8195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8196 printf "%s\n" "no" >&6; } 7209 8197 fi 7210 8198 … … 7215 8203 # Extract the first word of "dsymutil", so it can be a program name with args. 7216 8204 set dummy dsymutil; ac_word=$2 7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7218 $as_echo_n "checking for $ac_word... " >&6; } 7219 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7220 $as_echo_n "(cached) " >&6 7221 else 7222 if test -n "$ac_ct_DSYMUTIL"; then 8205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8206 printf %s "checking for $ac_word... " >&6; } 8207 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} 8208 then : 8209 printf %s "(cached) " >&6 8210 else case e in #( 8211 e) if test -n "$ac_ct_DSYMUTIL"; then 7223 8212 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7224 8213 else … … 7227 8216 do 7228 8217 IFS=$as_save_IFS 7229 test -z "$as_dir" && as_dir=. 8218 case $as_dir in #((( 8219 '') as_dir=./ ;; 8220 */) ;; 8221 *) as_dir=$as_dir/ ;; 8222 esac 7230 8223 for ac_exec_ext in '' $ac_executable_extensions; do 7231 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8224 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7232 8225 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7234 8227 break 2 7235 8228 fi … … 7238 8231 IFS=$as_save_IFS 7239 8232 7240 fi 8233 fi ;; 8234 esac 7241 8235 fi 7242 8236 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7243 8237 if test -n "$ac_ct_DSYMUTIL"; then 7244 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&57245 $as_echo"$ac_ct_DSYMUTIL" >&6; }7246 else 7247 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57248 $as_echo"no" >&6; }8238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8239 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } 8240 else 8241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8242 printf "%s\n" "no" >&6; } 7249 8243 fi 7250 8244 … … 7254 8248 case $cross_compiling:$ac_tool_warned in 7255 8249 yes:) 7256 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57257 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}8250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8251 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7258 8252 ac_tool_warned=yes ;; 7259 8253 esac … … 7267 8261 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7268 8262 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7270 $as_echo_n "checking for $ac_word... " >&6; } 7271 if ${ac_cv_prog_NMEDIT+:} false; then : 7272 $as_echo_n "(cached) " >&6 7273 else 7274 if test -n "$NMEDIT"; then 8263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8264 printf %s "checking for $ac_word... " >&6; } 8265 if test ${ac_cv_prog_NMEDIT+y} 8266 then : 8267 printf %s "(cached) " >&6 8268 else case e in #( 8269 e) if test -n "$NMEDIT"; then 7275 8270 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7276 8271 else … … 7279 8274 do 7280 8275 IFS=$as_save_IFS 7281 test -z "$as_dir" && as_dir=. 8276 case $as_dir in #((( 8277 '') as_dir=./ ;; 8278 */) ;; 8279 *) as_dir=$as_dir/ ;; 8280 esac 7282 8281 for ac_exec_ext in '' $ac_executable_extensions; do 7283 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8282 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7284 8283 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7286 8285 break 2 7287 8286 fi … … 7290 8289 IFS=$as_save_IFS 7291 8290 7292 fi 8291 fi ;; 8292 esac 7293 8293 fi 7294 8294 NMEDIT=$ac_cv_prog_NMEDIT 7295 8295 if test -n "$NMEDIT"; then 7296 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&57297 $as_echo"$NMEDIT" >&6; }7298 else 7299 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57300 $as_echo"no" >&6; }8296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8297 printf "%s\n" "$NMEDIT" >&6; } 8298 else 8299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8300 printf "%s\n" "no" >&6; } 7301 8301 fi 7302 8302 … … 7307 8307 # Extract the first word of "nmedit", so it can be a program name with args. 7308 8308 set dummy nmedit; ac_word=$2 7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7310 $as_echo_n "checking for $ac_word... " >&6; } 7311 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7312 $as_echo_n "(cached) " >&6 7313 else 7314 if test -n "$ac_ct_NMEDIT"; then 8309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8310 printf %s "checking for $ac_word... " >&6; } 8311 if test ${ac_cv_prog_ac_ct_NMEDIT+y} 8312 then : 8313 printf %s "(cached) " >&6 8314 else case e in #( 8315 e) if test -n "$ac_ct_NMEDIT"; then 7315 8316 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7316 8317 else … … 7319 8320 do 7320 8321 IFS=$as_save_IFS 7321 test -z "$as_dir" && as_dir=. 8322 case $as_dir in #((( 8323 '') as_dir=./ ;; 8324 */) ;; 8325 *) as_dir=$as_dir/ ;; 8326 esac 7322 8327 for ac_exec_ext in '' $ac_executable_extensions; do 7323 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8328 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7324 8329 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7326 8331 break 2 7327 8332 fi … … 7330 8335 IFS=$as_save_IFS 7331 8336 7332 fi 8337 fi ;; 8338 esac 7333 8339 fi 7334 8340 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7335 8341 if test -n "$ac_ct_NMEDIT"; then 7336 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&57337 $as_echo"$ac_ct_NMEDIT" >&6; }7338 else 7339 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57340 $as_echo"no" >&6; }8342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8343 printf "%s\n" "$ac_ct_NMEDIT" >&6; } 8344 else 8345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8346 printf "%s\n" "no" >&6; } 7341 8347 fi 7342 8348 … … 7346 8352 case $cross_compiling:$ac_tool_warned in 7347 8353 yes:) 7348 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57349 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}8354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8355 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7350 8356 ac_tool_warned=yes ;; 7351 8357 esac … … 7359 8365 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7360 8366 set dummy ${ac_tool_prefix}lipo; ac_word=$2 7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7362 $as_echo_n "checking for $ac_word... " >&6; } 7363 if ${ac_cv_prog_LIPO+:} false; then : 7364 $as_echo_n "(cached) " >&6 7365 else 7366 if test -n "$LIPO"; then 8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8368 printf %s "checking for $ac_word... " >&6; } 8369 if test ${ac_cv_prog_LIPO+y} 8370 then : 8371 printf %s "(cached) " >&6 8372 else case e in #( 8373 e) if test -n "$LIPO"; then 7367 8374 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7368 8375 else … … 7371 8378 do 7372 8379 IFS=$as_save_IFS 7373 test -z "$as_dir" && as_dir=. 8380 case $as_dir in #((( 8381 '') as_dir=./ ;; 8382 */) ;; 8383 *) as_dir=$as_dir/ ;; 8384 esac 7374 8385 for ac_exec_ext in '' $ac_executable_extensions; do 7375 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8386 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7376 8387 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7378 8389 break 2 7379 8390 fi … … 7382 8393 IFS=$as_save_IFS 7383 8394 7384 fi 8395 fi ;; 8396 esac 7385 8397 fi 7386 8398 LIPO=$ac_cv_prog_LIPO 7387 8399 if test -n "$LIPO"; then 7388 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $LIPO" >&57389 $as_echo"$LIPO" >&6; }7390 else 7391 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57392 $as_echo"no" >&6; }8400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8401 printf "%s\n" "$LIPO" >&6; } 8402 else 8403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8404 printf "%s\n" "no" >&6; } 7393 8405 fi 7394 8406 … … 7399 8411 # Extract the first word of "lipo", so it can be a program name with args. 7400 8412 set dummy lipo; ac_word=$2 7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7402 $as_echo_n "checking for $ac_word... " >&6; } 7403 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7404 $as_echo_n "(cached) " >&6 7405 else 7406 if test -n "$ac_ct_LIPO"; then 8413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8414 printf %s "checking for $ac_word... " >&6; } 8415 if test ${ac_cv_prog_ac_ct_LIPO+y} 8416 then : 8417 printf %s "(cached) " >&6 8418 else case e in #( 8419 e) if test -n "$ac_ct_LIPO"; then 7407 8420 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7408 8421 else … … 7411 8424 do 7412 8425 IFS=$as_save_IFS 7413 test -z "$as_dir" && as_dir=. 8426 case $as_dir in #((( 8427 '') as_dir=./ ;; 8428 */) ;; 8429 *) as_dir=$as_dir/ ;; 8430 esac 7414 8431 for ac_exec_ext in '' $ac_executable_extensions; do 7415 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8432 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7416 8433 ac_cv_prog_ac_ct_LIPO="lipo" 7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7418 8435 break 2 7419 8436 fi … … 7422 8439 IFS=$as_save_IFS 7423 8440 7424 fi 8441 fi ;; 8442 esac 7425 8443 fi 7426 8444 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7427 8445 if test -n "$ac_ct_LIPO"; then 7428 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&57429 $as_echo"$ac_ct_LIPO" >&6; }7430 else 7431 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57432 $as_echo"no" >&6; }8446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8447 printf "%s\n" "$ac_ct_LIPO" >&6; } 8448 else 8449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8450 printf "%s\n" "no" >&6; } 7433 8451 fi 7434 8452 … … 7438 8456 case $cross_compiling:$ac_tool_warned in 7439 8457 yes:) 7440 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57441 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}8458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8459 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7442 8460 ac_tool_warned=yes ;; 7443 8461 esac … … 7451 8469 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7452 8470 set dummy ${ac_tool_prefix}otool; ac_word=$2 7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7454 $as_echo_n "checking for $ac_word... " >&6; } 7455 if ${ac_cv_prog_OTOOL+:} false; then : 7456 $as_echo_n "(cached) " >&6 7457 else 7458 if test -n "$OTOOL"; then 8471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8472 printf %s "checking for $ac_word... " >&6; } 8473 if test ${ac_cv_prog_OTOOL+y} 8474 then : 8475 printf %s "(cached) " >&6 8476 else case e in #( 8477 e) if test -n "$OTOOL"; then 7459 8478 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7460 8479 else … … 7463 8482 do 7464 8483 IFS=$as_save_IFS 7465 test -z "$as_dir" && as_dir=. 8484 case $as_dir in #((( 8485 '') as_dir=./ ;; 8486 */) ;; 8487 *) as_dir=$as_dir/ ;; 8488 esac 7466 8489 for ac_exec_ext in '' $ac_executable_extensions; do 7467 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8490 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7468 8491 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7470 8493 break 2 7471 8494 fi … … 7474 8497 IFS=$as_save_IFS 7475 8498 7476 fi 8499 fi ;; 8500 esac 7477 8501 fi 7478 8502 OTOOL=$ac_cv_prog_OTOOL 7479 8503 if test -n "$OTOOL"; then 7480 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&57481 $as_echo"$OTOOL" >&6; }7482 else 7483 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57484 $as_echo"no" >&6; }8504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8505 printf "%s\n" "$OTOOL" >&6; } 8506 else 8507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8508 printf "%s\n" "no" >&6; } 7485 8509 fi 7486 8510 … … 7491 8515 # Extract the first word of "otool", so it can be a program name with args. 7492 8516 set dummy otool; ac_word=$2 7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7494 $as_echo_n "checking for $ac_word... " >&6; } 7495 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7496 $as_echo_n "(cached) " >&6 7497 else 7498 if test -n "$ac_ct_OTOOL"; then 8517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8518 printf %s "checking for $ac_word... " >&6; } 8519 if test ${ac_cv_prog_ac_ct_OTOOL+y} 8520 then : 8521 printf %s "(cached) " >&6 8522 else case e in #( 8523 e) if test -n "$ac_ct_OTOOL"; then 7499 8524 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7500 8525 else … … 7503 8528 do 7504 8529 IFS=$as_save_IFS 7505 test -z "$as_dir" && as_dir=. 8530 case $as_dir in #((( 8531 '') as_dir=./ ;; 8532 */) ;; 8533 *) as_dir=$as_dir/ ;; 8534 esac 7506 8535 for ac_exec_ext in '' $ac_executable_extensions; do 7507 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8536 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7508 8537 ac_cv_prog_ac_ct_OTOOL="otool" 7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7510 8539 break 2 7511 8540 fi … … 7514 8543 IFS=$as_save_IFS 7515 8544 7516 fi 8545 fi ;; 8546 esac 7517 8547 fi 7518 8548 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7519 8549 if test -n "$ac_ct_OTOOL"; then 7520 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&57521 $as_echo"$ac_ct_OTOOL" >&6; }7522 else 7523 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57524 $as_echo"no" >&6; }8550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8551 printf "%s\n" "$ac_ct_OTOOL" >&6; } 8552 else 8553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8554 printf "%s\n" "no" >&6; } 7525 8555 fi 7526 8556 … … 7530 8560 case $cross_compiling:$ac_tool_warned in 7531 8561 yes:) 7532 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57533 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}8562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8563 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7534 8564 ac_tool_warned=yes ;; 7535 8565 esac … … 7543 8573 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7544 8574 set dummy ${ac_tool_prefix}otool64; ac_word=$2 7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7546 $as_echo_n "checking for $ac_word... " >&6; } 7547 if ${ac_cv_prog_OTOOL64+:} false; then : 7548 $as_echo_n "(cached) " >&6 7549 else 7550 if test -n "$OTOOL64"; then 8575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8576 printf %s "checking for $ac_word... " >&6; } 8577 if test ${ac_cv_prog_OTOOL64+y} 8578 then : 8579 printf %s "(cached) " >&6 8580 else case e in #( 8581 e) if test -n "$OTOOL64"; then 7551 8582 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7552 8583 else … … 7555 8586 do 7556 8587 IFS=$as_save_IFS 7557 test -z "$as_dir" && as_dir=. 8588 case $as_dir in #((( 8589 '') as_dir=./ ;; 8590 */) ;; 8591 *) as_dir=$as_dir/ ;; 8592 esac 7558 8593 for ac_exec_ext in '' $ac_executable_extensions; do 7559 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8594 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7560 8595 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7562 8597 break 2 7563 8598 fi … … 7566 8601 IFS=$as_save_IFS 7567 8602 7568 fi 8603 fi ;; 8604 esac 7569 8605 fi 7570 8606 OTOOL64=$ac_cv_prog_OTOOL64 7571 8607 if test -n "$OTOOL64"; then 7572 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&57573 $as_echo"$OTOOL64" >&6; }7574 else 7575 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57576 $as_echo"no" >&6; }8608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8609 printf "%s\n" "$OTOOL64" >&6; } 8610 else 8611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8612 printf "%s\n" "no" >&6; } 7577 8613 fi 7578 8614 … … 7583 8619 # Extract the first word of "otool64", so it can be a program name with args. 7584 8620 set dummy otool64; ac_word=$2 7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7586 $as_echo_n "checking for $ac_word... " >&6; } 7587 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7588 $as_echo_n "(cached) " >&6 7589 else 7590 if test -n "$ac_ct_OTOOL64"; then 8621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8622 printf %s "checking for $ac_word... " >&6; } 8623 if test ${ac_cv_prog_ac_ct_OTOOL64+y} 8624 then : 8625 printf %s "(cached) " >&6 8626 else case e in #( 8627 e) if test -n "$ac_ct_OTOOL64"; then 7591 8628 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7592 8629 else … … 7595 8632 do 7596 8633 IFS=$as_save_IFS 7597 test -z "$as_dir" && as_dir=. 8634 case $as_dir in #((( 8635 '') as_dir=./ ;; 8636 */) ;; 8637 *) as_dir=$as_dir/ ;; 8638 esac 7598 8639 for ac_exec_ext in '' $ac_executable_extensions; do 7599 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8640 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7600 8641 ac_cv_prog_ac_ct_OTOOL64="otool64" 7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7602 8643 break 2 7603 8644 fi … … 7606 8647 IFS=$as_save_IFS 7607 8648 7608 fi 8649 fi ;; 8650 esac 7609 8651 fi 7610 8652 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7611 8653 if test -n "$ac_ct_OTOOL64"; then 7612 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&57613 $as_echo"$ac_ct_OTOOL64" >&6; }7614 else 7615 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&57616 $as_echo"no" >&6; }8654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8655 printf "%s\n" "$ac_ct_OTOOL64" >&6; } 8656 else 8657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8658 printf "%s\n" "no" >&6; } 7617 8659 fi 7618 8660 … … 7622 8664 case $cross_compiling:$ac_tool_warned in 7623 8665 yes:) 7624 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57625 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}8666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8667 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7626 8668 ac_tool_warned=yes ;; 7627 8669 esac … … 7658 8700 7659 8701 7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7661 $as_echo_n "checking for -single_module linker flag... " >&6; } 7662 if ${lt_cv_apple_cc_single_mod+:} false; then : 7663 $as_echo_n "(cached) " >&6 7664 else 7665 lt_cv_apple_cc_single_mod=no 8702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8703 printf %s "checking for -single_module linker flag... " >&6; } 8704 if test ${lt_cv_apple_cc_single_mod+y} 8705 then : 8706 printf %s "(cached) " >&6 8707 else case e in #( 8708 e) lt_cv_apple_cc_single_mod=no 7666 8709 if test -z "$LT_MULTI_MODULE"; then 7667 8710 # By default we will add the -single_module flag. You can override … … 7689 8732 rm -rf libconftest.dylib* 7690 8733 rm -f conftest.* 7691 fi 7692 fi 7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7694 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7695 7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7697 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7698 if ${lt_cv_ld_exported_symbols_list+:} false; then : 7699 $as_echo_n "(cached) " >&6 7700 else 7701 lt_cv_ld_exported_symbols_list=no 8734 fi ;; 8735 esac 8736 fi 8737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8738 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } 8739 8740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8741 printf %s "checking for -exported_symbols_list linker flag... " >&6; } 8742 if test ${lt_cv_ld_exported_symbols_list+y} 8743 then : 8744 printf %s "(cached) " >&6 8745 else case e in #( 8746 e) lt_cv_ld_exported_symbols_list=no 7702 8747 save_LDFLAGS=$LDFLAGS 7703 8748 echo "_main" > conftest.sym … … 7707 8752 7708 8753 int 7709 main ( )8754 main (void) 7710 8755 { 7711 8756 … … 7714 8759 } 7715 8760 _ACEOF 7716 if ac_fn_c_try_link "$LINENO"; then : 8761 if ac_fn_c_try_link "$LINENO" 8762 then : 7717 8763 lt_cv_ld_exported_symbols_list=yes 7718 else 7719 lt_cv_ld_exported_symbols_list=no 7720 fi 7721 rm -f core conftest.err conftest.$ac_objext \ 8764 else case e in #( 8765 e) lt_cv_ld_exported_symbols_list=no ;; 8766 esac 8767 fi 8768 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7722 8769 conftest$ac_exeext conftest.$ac_ext 7723 8770 LDFLAGS=$save_LDFLAGS 7724 7725 fi 7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7727 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7728 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7730 $as_echo_n "checking for -force_load linker flag... " >&6; } 7731 if ${lt_cv_ld_force_load+:} false; then : 7732 $as_echo_n "(cached) " >&6 7733 else 7734 lt_cv_ld_force_load=no 8771 ;; 8772 esac 8773 fi 8774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8775 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } 8776 8777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8778 printf %s "checking for -force_load linker flag... " >&6; } 8779 if test ${lt_cv_ld_force_load+y} 8780 then : 8781 printf %s "(cached) " >&6 8782 else case e in #( 8783 e) lt_cv_ld_force_load=no 7735 8784 cat > conftest.c << _LT_EOF 7736 8785 int forced_loaded() { return 2;} … … 7738 8787 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7739 8788 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7740 echo "$AR crulibconftest.a conftest.o" >&57741 $AR crulibconftest.a conftest.o 2>&58789 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5 8790 $AR $AR_FLAGS libconftest.a conftest.o 2>&5 7742 8791 echo "$RANLIB libconftest.a" >&5 7743 8792 $RANLIB libconftest.a 2>&5 … … 7757 8806 rm -f conftest.err libconftest.a conftest conftest.c 7758 8807 rm -rf conftest.dSYM 7759 7760 fi 7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7762 $as_echo "$lt_cv_ld_force_load" >&6; } 8808 ;; 8809 esac 8810 fi 8811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8812 printf "%s\n" "$lt_cv_ld_force_load" >&6; } 7763 8813 case $host_os in 7764 8814 rhapsody* | darwin1.[012]) … … 7766 8816 darwin1.*) 7767 8817 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7768 darwin*) # darwin 5.x on 7769 # if running on 10.5 or later, the deployment target defaults 7770 # to the OS version, if on x86, and 10.4, the deployment 7771 # target defaults to 10.4. Don't you love it? 7772 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7773 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7774 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7775 10.[012][,.]*) 7776 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7777 10.*) 7778 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8818 darwin*) 8819 case $MACOSX_DEPLOYMENT_TARGET,$host in 8820 10.[012],*|,*powerpc*-darwin[5-8]*) 8821 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8822 *) 8823 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7779 8824 esac 7780 8825 ;; … … 7831 8876 } 7832 8877 7833 7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7835 $as_echo_n "checking for ANSI C header files... " >&6; } 7836 if ${ac_cv_header_stdc+:} false; then : 7837 $as_echo_n "(cached) " >&6 7838 else 7839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7840 /* end confdefs.h. */ 7841 #include <stdlib.h> 7842 #include <stdarg.h> 7843 #include <string.h> 7844 #include <float.h> 7845 7846 int 7847 main () 7848 { 7849 7850 ; 7851 return 0; 7852 } 7853 _ACEOF 7854 if ac_fn_c_try_compile "$LINENO"; then : 7855 ac_cv_header_stdc=yes 7856 else 7857 ac_cv_header_stdc=no 7858 fi 7859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7860 7861 if test $ac_cv_header_stdc = yes; then 7862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7864 /* end confdefs.h. */ 7865 #include <string.h> 7866 7867 _ACEOF 7868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7869 $EGREP "memchr" >/dev/null 2>&1; then : 7870 7871 else 7872 ac_cv_header_stdc=no 7873 fi 7874 rm -f conftest* 7875 7876 fi 7877 7878 if test $ac_cv_header_stdc = yes; then 7879 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7881 /* end confdefs.h. */ 7882 #include <stdlib.h> 7883 7884 _ACEOF 7885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7886 $EGREP "free" >/dev/null 2>&1; then : 7887 7888 else 7889 ac_cv_header_stdc=no 7890 fi 7891 rm -f conftest* 7892 7893 fi 7894 7895 if test $ac_cv_header_stdc = yes; then 7896 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7897 if test "$cross_compiling" = yes; then : 7898 : 7899 else 7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7901 /* end confdefs.h. */ 7902 #include <ctype.h> 7903 #include <stdlib.h> 7904 #if ((' ' & 0x0FF) == 0x020) 7905 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7906 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7907 #else 7908 # define ISLOWER(c) \ 7909 (('a' <= (c) && (c) <= 'i') \ 7910 || ('j' <= (c) && (c) <= 'r') \ 7911 || ('s' <= (c) && (c) <= 'z')) 7912 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7913 #endif 7914 7915 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7916 int 7917 main () 7918 { 7919 int i; 7920 for (i = 0; i < 256; i++) 7921 if (XOR (islower (i), ISLOWER (i)) 7922 || toupper (i) != TOUPPER (i)) 7923 return 2; 7924 return 0; 7925 } 7926 _ACEOF 7927 if ac_fn_c_try_run "$LINENO"; then : 7928 7929 else 7930 ac_cv_header_stdc=no 7931 fi 7932 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7933 conftest.$ac_objext conftest.beam conftest.$ac_ext 7934 fi 7935 7936 fi 7937 fi 7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7939 $as_echo "$ac_cv_header_stdc" >&6; } 7940 if test $ac_cv_header_stdc = yes; then 7941 7942 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 7943 7944 fi 7945 7946 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 7947 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7948 inttypes.h stdint.h unistd.h 7949 do : 7950 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7951 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8878 ac_header= ac_cache= 8879 for ac_item in $ac_header_c_list 8880 do 8881 if test $ac_cache; then 8882 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 8883 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 8884 printf "%s\n" "#define $ac_item 1" >> confdefs.h 8885 fi 8886 ac_header= ac_cache= 8887 elif test $ac_header; then 8888 ac_cache=$ac_item 8889 else 8890 ac_header=$ac_item 8891 fi 8892 done 8893 8894 8895 8896 8897 8898 8899 8900 8901 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 8902 then : 8903 8904 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 8905 8906 fi 8907 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7952 8908 " 7953 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7954 cat >>confdefs.h <<_ACEOF 7955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7956 _ACEOF 7957 7958 fi 7959 7960 done 7961 7962 7963 for ac_header in dlfcn.h 7964 do : 7965 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7966 " 7967 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7968 cat >>confdefs.h <<_ACEOF 7969 #define HAVE_DLFCN_H 1 7970 _ACEOF 7971 7972 fi 7973 7974 done 8909 if test "x$ac_cv_header_dlfcn_h" = xyes 8910 then : 8911 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h 8912 8913 fi 7975 8914 7976 8915 … … 7986 8925 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 7987 8926 set dummy ${ac_tool_prefix}as; ac_word=$2 7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7989 $as_echo_n "checking for $ac_word... " >&6; } 7990 if ${ac_cv_prog_AS+:} false; then : 7991 $as_echo_n "(cached) " >&6 7992 else 7993 if test -n "$AS"; then 8927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8928 printf %s "checking for $ac_word... " >&6; } 8929 if test ${ac_cv_prog_AS+y} 8930 then : 8931 printf %s "(cached) " >&6 8932 else case e in #( 8933 e) if test -n "$AS"; then 7994 8934 ac_cv_prog_AS="$AS" # Let the user override the test. 7995 8935 else … … 7998 8938 do 7999 8939 IFS=$as_save_IFS 8000 test -z "$as_dir" && as_dir=. 8940 case $as_dir in #((( 8941 '') as_dir=./ ;; 8942 */) ;; 8943 *) as_dir=$as_dir/ ;; 8944 esac 8001 8945 for ac_exec_ext in '' $ac_executable_extensions; do 8002 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8946 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8003 8947 ac_cv_prog_AS="${ac_tool_prefix}as" 8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8005 8949 break 2 8006 8950 fi … … 8009 8953 IFS=$as_save_IFS 8010 8954 8011 fi 8955 fi ;; 8956 esac 8012 8957 fi 8013 8958 AS=$ac_cv_prog_AS 8014 8959 if test -n "$AS"; then 8015 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $AS" >&58016 $as_echo"$AS" >&6; }8017 else 8018 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&58019 $as_echo"no" >&6; }8960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8961 printf "%s\n" "$AS" >&6; } 8962 else 8963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8964 printf "%s\n" "no" >&6; } 8020 8965 fi 8021 8966 … … 8026 8971 # Extract the first word of "as", so it can be a program name with args. 8027 8972 set dummy as; ac_word=$2 8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8029 $as_echo_n "checking for $ac_word... " >&6; } 8030 if ${ac_cv_prog_ac_ct_AS+:} false; then : 8031 $as_echo_n "(cached) " >&6 8032 else 8033 if test -n "$ac_ct_AS"; then 8973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8974 printf %s "checking for $ac_word... " >&6; } 8975 if test ${ac_cv_prog_ac_ct_AS+y} 8976 then : 8977 printf %s "(cached) " >&6 8978 else case e in #( 8979 e) if test -n "$ac_ct_AS"; then 8034 8980 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8035 8981 else … … 8038 8984 do 8039 8985 IFS=$as_save_IFS 8040 test -z "$as_dir" && as_dir=. 8986 case $as_dir in #((( 8987 '') as_dir=./ ;; 8988 */) ;; 8989 *) as_dir=$as_dir/ ;; 8990 esac 8041 8991 for ac_exec_ext in '' $ac_executable_extensions; do 8042 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then8992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8043 8993 ac_cv_prog_ac_ct_AS="as" 8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8045 8995 break 2 8046 8996 fi … … 8049 8999 IFS=$as_save_IFS 8050 9000 8051 fi 9001 fi ;; 9002 esac 8052 9003 fi 8053 9004 ac_ct_AS=$ac_cv_prog_ac_ct_AS 8054 9005 if test -n "$ac_ct_AS"; then 8055 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&58056 $as_echo"$ac_ct_AS" >&6; }8057 else 8058 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&58059 $as_echo"no" >&6; }9006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 9007 printf "%s\n" "$ac_ct_AS" >&6; } 9008 else 9009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9010 printf "%s\n" "no" >&6; } 8060 9011 fi 8061 9012 … … 8065 9016 case $cross_compiling:$ac_tool_warned in 8066 9017 yes:) 8067 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58068 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}9018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9019 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8069 9020 ac_tool_warned=yes ;; 8070 9021 esac … … 8078 9029 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8079 9030 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8081 $as_echo_n "checking for $ac_word... " >&6; } 8082 if ${ac_cv_prog_DLLTOOL+:} false; then : 8083 $as_echo_n "(cached) " >&6 8084 else 8085 if test -n "$DLLTOOL"; then 9031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9032 printf %s "checking for $ac_word... " >&6; } 9033 if test ${ac_cv_prog_DLLTOOL+y} 9034 then : 9035 printf %s "(cached) " >&6 9036 else case e in #( 9037 e) if test -n "$DLLTOOL"; then 8086 9038 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8087 9039 else … … 8090 9042 do 8091 9043 IFS=$as_save_IFS 8092 test -z "$as_dir" && as_dir=. 9044 case $as_dir in #((( 9045 '') as_dir=./ ;; 9046 */) ;; 9047 *) as_dir=$as_dir/ ;; 9048 esac 8093 9049 for ac_exec_ext in '' $ac_executable_extensions; do 8094 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then9050 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8095 9051 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&59052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8097 9053 break 2 8098 9054 fi … … 8101 9057 IFS=$as_save_IFS 8102 9058 8103 fi 9059 fi ;; 9060 esac 8104 9061 fi 8105 9062 DLLTOOL=$ac_cv_prog_DLLTOOL 8106 9063 if test -n "$DLLTOOL"; then 8107 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&58108 $as_echo"$DLLTOOL" >&6; }8109 else 8110 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&58111 $as_echo"no" >&6; }9064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 9065 printf "%s\n" "$DLLTOOL" >&6; } 9066 else 9067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9068 printf "%s\n" "no" >&6; } 8112 9069 fi 8113 9070 … … 8118 9075 # Extract the first word of "dlltool", so it can be a program name with args. 8119 9076 set dummy dlltool; ac_word=$2 8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8121 $as_echo_n "checking for $ac_word... " >&6; } 8122 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8123 $as_echo_n "(cached) " >&6 8124 else 8125 if test -n "$ac_ct_DLLTOOL"; then 9077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9078 printf %s "checking for $ac_word... " >&6; } 9079 if test ${ac_cv_prog_ac_ct_DLLTOOL+y} 9080 then : 9081 printf %s "(cached) " >&6 9082 else case e in #( 9083 e) if test -n "$ac_ct_DLLTOOL"; then 8126 9084 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8127 9085 else … … 8130 9088 do 8131 9089 IFS=$as_save_IFS 8132 test -z "$as_dir" && as_dir=. 9090 case $as_dir in #((( 9091 '') as_dir=./ ;; 9092 */) ;; 9093 *) as_dir=$as_dir/ ;; 9094 esac 8133 9095 for ac_exec_ext in '' $ac_executable_extensions; do 8134 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then9096 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8135 9097 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&59098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8137 9099 break 2 8138 9100 fi … … 8141 9103 IFS=$as_save_IFS 8142 9104 8143 fi 9105 fi ;; 9106 esac 8144 9107 fi 8145 9108 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8146 9109 if test -n "$ac_ct_DLLTOOL"; then 8147 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&58148 $as_echo"$ac_ct_DLLTOOL" >&6; }8149 else 8150 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&58151 $as_echo"no" >&6; }9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 9111 printf "%s\n" "$ac_ct_DLLTOOL" >&6; } 9112 else 9113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9114 printf "%s\n" "no" >&6; } 8152 9115 fi 8153 9116 … … 8157 9120 case $cross_compiling:$ac_tool_warned in 8158 9121 yes:) 8159 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58160 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}9122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9123 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8161 9124 ac_tool_warned=yes ;; 8162 9125 esac … … 8170 9133 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8171 9134 set dummy ${ac_tool_prefix}objdump; ac_word=$2 8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8173 $as_echo_n "checking for $ac_word... " >&6; } 8174 if ${ac_cv_prog_OBJDUMP+:} false; then : 8175 $as_echo_n "(cached) " >&6 8176 else 8177 if test -n "$OBJDUMP"; then 9135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9136 printf %s "checking for $ac_word... " >&6; } 9137 if test ${ac_cv_prog_OBJDUMP+y} 9138 then : 9139 printf %s "(cached) " >&6 9140 else case e in #( 9141 e) if test -n "$OBJDUMP"; then 8178 9142 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8179 9143 else … … 8182 9146 do 8183 9147 IFS=$as_save_IFS 8184 test -z "$as_dir" && as_dir=. 9148 case $as_dir in #((( 9149 '') as_dir=./ ;; 9150 */) ;; 9151 *) as_dir=$as_dir/ ;; 9152 esac 8185 9153 for ac_exec_ext in '' $ac_executable_extensions; do 8186 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then9154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8187 9155 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&59156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8189 9157 break 2 8190 9158 fi … … 8193 9161 IFS=$as_save_IFS 8194 9162 8195 fi 9163 fi ;; 9164 esac 8196 9165 fi 8197 9166 OBJDUMP=$ac_cv_prog_OBJDUMP 8198 9167 if test -n "$OBJDUMP"; then 8199 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&58200 $as_echo"$OBJDUMP" >&6; }8201 else 8202 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&58203 $as_echo"no" >&6; }9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 9169 printf "%s\n" "$OBJDUMP" >&6; } 9170 else 9171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9172 printf "%s\n" "no" >&6; } 8204 9173 fi 8205 9174 … … 8210 9179 # Extract the first word of "objdump", so it can be a program name with args. 8211 9180 set dummy objdump; ac_word=$2 8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8213 $as_echo_n "checking for $ac_word... " >&6; } 8214 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8215 $as_echo_n "(cached) " >&6 8216 else 8217 if test -n "$ac_ct_OBJDUMP"; then 9181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9182 printf %s "checking for $ac_word... " >&6; } 9183 if test ${ac_cv_prog_ac_ct_OBJDUMP+y} 9184 then : 9185 printf %s "(cached) " >&6 9186 else case e in #( 9187 e) if test -n "$ac_ct_OBJDUMP"; then 8218 9188 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8219 9189 else … … 8222 9192 do 8223 9193 IFS=$as_save_IFS 8224 test -z "$as_dir" && as_dir=. 9194 case $as_dir in #((( 9195 '') as_dir=./ ;; 9196 */) ;; 9197 *) as_dir=$as_dir/ ;; 9198 esac 8225 9199 for ac_exec_ext in '' $ac_executable_extensions; do 8226 if as_fn_executable_p "$as_dir /$ac_word$ac_exec_ext"; then9200 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8227 9201 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&59202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8229 9203 break 2 8230 9204 fi … … 8233 9207 IFS=$as_save_IFS 8234 9208 8235 fi 9209 fi ;; 9210 esac 8236 9211 fi 8237 9212 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8238 9213 if test -n "$ac_ct_OBJDUMP"; then 8239 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&58240 $as_echo"$ac_ct_OBJDUMP" >&6; }8241 else 8242 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&58243 $as_echo"no" >&6; }9214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 9215 printf "%s\n" "$ac_ct_OBJDUMP" >&6; } 9216 else 9217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9218 printf "%s\n" "no" >&6; } 8244 9219 fi 8245 9220 … … 8249 9224 case $cross_compiling:$ac_tool_warned in 8250 9225 yes:) 8251 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58252 $as_echo"$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9227 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8253 9228 ac_tool_warned=yes ;; 8254 9229 esac … … 8287 9262 8288 9263 # Check whether --enable-shared was given. 8289 if test "${enable_shared+set}" = set; then : 9264 if test ${enable_shared+y} 9265 then : 8290 9266 enableval=$enable_shared; p=${PACKAGE-default} 8291 9267 case $enableval in … … 8305 9281 ;; 8306 9282 esac 8307 else 8308 enable_shared=yes 9283 else case e in #( 9284 e) enable_shared=yes ;; 9285 esac 8309 9286 fi 8310 9287 … … 8318 9295 8319 9296 # Check whether --enable-static was given. 8320 if test "${enable_static+set}" = set; then : 9297 if test ${enable_static+y} 9298 then : 8321 9299 enableval=$enable_static; p=${PACKAGE-default} 8322 9300 case $enableval in … … 8336 9314 ;; 8337 9315 esac 8338 else 8339 enable_static=yes 9316 else case e in #( 9317 e) enable_static=yes ;; 9318 esac 8340 9319 fi 8341 9320 … … 8350 9329 8351 9330 # Check whether --with-pic was given. 8352 if test "${with_pic+set}" = set; then : 9331 if test ${with_pic+y} 9332 then : 8353 9333 withval=$with_pic; lt_p=${PACKAGE-default} 8354 9334 case $withval in … … 8367 9347 ;; 8368 9348 esac 8369 else 8370 pic_mode=default 9349 else case e in #( 9350 e) pic_mode=default ;; 9351 esac 8371 9352 fi 8372 9353 … … 8379 9360 8380 9361 # Check whether --enable-fast-install was given. 8381 if test "${enable_fast_install+set}" = set; then : 9362 if test ${enable_fast_install+y} 9363 then : 8382 9364 enableval=$enable_fast_install; p=${PACKAGE-default} 8383 9365 case $enableval in … … 8397 9379 ;; 8398 9380 esac 8399 else 8400 enable_fast_install=yes 9381 else case e in #( 9382 e) enable_fast_install=yes ;; 9383 esac 8401 9384 fi 8402 9385 … … 8411 9394 case $host,$enable_shared in 8412 9395 power*-*-aix[5-9]*,yes) 8413 { $as_echo"$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&58414 $as_echo_n"checking which variant of shared library versioning to provide... " >&6; }9396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9397 printf %s "checking which variant of shared library versioning to provide... " >&6; } 8415 9398 8416 9399 # Check whether --with-aix-soname was given. 8417 if test "${with_aix_soname+set}" = set; then : 9400 if test ${with_aix_soname+y} 9401 then : 8418 9402 withval=$with_aix_soname; case $withval in 8419 9403 aix|svr4|both) … … 8424 9408 esac 8425 9409 lt_cv_with_aix_soname=$with_aix_soname 8426 else 8427 if ${lt_cv_with_aix_soname+:} false; then : 8428 $as_echo_n "(cached) " >&6 8429 else 8430 lt_cv_with_aix_soname=aix 8431 fi 8432 8433 with_aix_soname=$lt_cv_with_aix_soname 8434 fi 8435 8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8437 $as_echo "$with_aix_soname" >&6; } 9410 else case e in #( 9411 e) if test ${lt_cv_with_aix_soname+y} 9412 then : 9413 printf %s "(cached) " >&6 9414 else case e in #( 9415 e) lt_cv_with_aix_soname=aix ;; 9416 esac 9417 fi 9418 9419 with_aix_soname=$lt_cv_with_aix_soname ;; 9420 esac 9421 fi 9422 9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9424 printf "%s\n" "$with_aix_soname" >&6; } 8438 9425 if test aix != "$with_aix_soname"; then 8439 9426 # For the AIX way of multilib, we name the shared archive member … … 8517 9504 fi 8518 9505 8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8520 $as_echo_n "checking for objdir... " >&6; } 8521 if ${lt_cv_objdir+:} false; then : 8522 $as_echo_n "(cached) " >&6 8523 else 8524 rm -f .libs 2>/dev/null 9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9507 printf %s "checking for objdir... " >&6; } 9508 if test ${lt_cv_objdir+y} 9509 then : 9510 printf %s "(cached) " >&6 9511 else case e in #( 9512 e) rm -f .libs 2>/dev/null 8525 9513 mkdir .libs 2>/dev/null 8526 9514 if test -d .libs; then … … 8530 9518 lt_cv_objdir=_libs 8531 9519 fi 8532 rmdir .libs 2>/dev/null 8533 fi 8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8535 $as_echo "$lt_cv_objdir" >&6; } 9520 rmdir .libs 2>/dev/null ;; 9521 esac 9522 fi 9523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9524 printf "%s\n" "$lt_cv_objdir" >&6; } 8536 9525 objdir=$lt_cv_objdir 8537 9526 … … 8540 9529 8541 9530 8542 cat >>confdefs.h <<_ACEOF 8543 #define LT_OBJDIR "$lt_cv_objdir/" 8544 _ACEOF 9531 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h 8545 9532 8546 9533 … … 8563 9550 can_build_shared=yes 8564 9551 8565 # All known linkers require a '.a' archive for static linking (except MSVC ,8566 # which needs'.lib').9552 # All known linkers require a '.a' archive for static linking (except MSVC and 9553 # ICC, which need '.lib'). 8567 9554 libext=a 8568 9555 … … 8588 9575 file_magic*) 8589 9576 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8591 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8592 if ${lt_cv_path_MAGIC_CMD+:} false; then : 8593 $as_echo_n "(cached) " >&6 8594 else 8595 case $MAGIC_CMD in 9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9578 printf %s "checking for ${ac_tool_prefix}file... " >&6; } 9579 if test ${lt_cv_path_MAGIC_CMD+y} 9580 then : 9581 printf %s "(cached) " >&6 9582 else case e in #( 9583 e) case $MAGIC_CMD in 8596 9584 [\\/*] | ?:[\\/]*) 8597 9585 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. … … 8636 9624 MAGIC_CMD=$lt_save_MAGIC_CMD 8637 9625 ;; 9626 esac ;; 8638 9627 esac 8639 9628 fi … … 8641 9630 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8642 9631 if test -n "$MAGIC_CMD"; then 8643 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&58644 $as_echo"$MAGIC_CMD" >&6; }8645 else 8646 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&58647 $as_echo"no" >&6; }9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9633 printf "%s\n" "$MAGIC_CMD" >&6; } 9634 else 9635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9636 printf "%s\n" "no" >&6; } 8648 9637 fi 8649 9638 … … 8654 9643 if test -z "$lt_cv_path_MAGIC_CMD"; then 8655 9644 if test -n "$ac_tool_prefix"; then 8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8657 $as_echo_n "checking for file... " >&6; } 8658 if ${lt_cv_path_MAGIC_CMD+:} false; then : 8659 $as_echo_n "(cached) " >&6 8660 else 8661 case $MAGIC_CMD in 9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9646 printf %s "checking for file... " >&6; } 9647 if test ${lt_cv_path_MAGIC_CMD+y} 9648 then : 9649 printf %s "(cached) " >&6 9650 else case e in #( 9651 e) case $MAGIC_CMD in 8662 9652 [\\/*] | ?:[\\/]*) 8663 9653 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. … … 8702 9692 MAGIC_CMD=$lt_save_MAGIC_CMD 8703 9693 ;; 9694 esac ;; 8704 9695 esac 8705 9696 fi … … 8707 9698 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8708 9699 if test -n "$MAGIC_CMD"; then 8709 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&58710 $as_echo"$MAGIC_CMD" >&6; }8711 else 8712 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&58713 $as_echo"no" >&6; }9700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9701 printf "%s\n" "$MAGIC_CMD" >&6; } 9702 else 9703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9704 printf "%s\n" "no" >&6; } 8714 9705 fi 8715 9706 … … 8796 9787 esac 8797 9788 8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8799 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8800 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8801 $as_echo_n "(cached) " >&6 8802 else 8803 lt_cv_prog_compiler_rtti_exceptions=no 9789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9790 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9791 if test ${lt_cv_prog_compiler_rtti_exceptions+y} 9792 then : 9793 printf %s "(cached) " >&6 9794 else case e in #( 9795 e) lt_cv_prog_compiler_rtti_exceptions=no 8804 9796 ac_outfile=conftest.$ac_objext 8805 9797 echo "$lt_simple_compile_test_code" > conftest.$ac_ext … … 8829 9821 fi 8830 9822 $RM conftest* 8831 8832 fi 8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8834 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9823 ;; 9824 esac 9825 fi 9826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9827 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8835 9828 8836 9829 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then … … 9073 10066 ;; 9074 10067 *) 9075 case `$CC -V 2>&1 | sed5q` in10068 case `$CC -V 2>&1 | $SED 5q` in 9076 10069 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9077 10070 # Sun Fortran 8.3 passes all unrecognized flags to the linker … … 9189 10182 esac 9190 10183 9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9192 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9193 if ${lt_cv_prog_compiler_pic+:} false; then : 9194 $as_echo_n "(cached) " >&6 9195 else 9196 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9197 fi 9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9199 $as_echo "$lt_cv_prog_compiler_pic" >&6; } 10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10185 printf %s "checking for $compiler option to produce PIC... " >&6; } 10186 if test ${lt_cv_prog_compiler_pic+y} 10187 then : 10188 printf %s "(cached) " >&6 10189 else case e in #( 10190 e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;; 10191 esac 10192 fi 10193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10194 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } 9200 10195 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9201 10196 … … 9204 10199 # 9205 10200 if test -n "$lt_prog_compiler_pic"; then 9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9207 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9208 if ${lt_cv_prog_compiler_pic_works+:} false; then : 9209 $as_echo_n "(cached) " >&6 9210 else 9211 lt_cv_prog_compiler_pic_works=no 10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10202 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10203 if test ${lt_cv_prog_compiler_pic_works+y} 10204 then : 10205 printf %s "(cached) " >&6 10206 else case e in #( 10207 e) lt_cv_prog_compiler_pic_works=no 9212 10208 ac_outfile=conftest.$ac_objext 9213 10209 echo "$lt_simple_compile_test_code" > conftest.$ac_ext … … 9237 10233 fi 9238 10234 $RM conftest* 9239 9240 fi 9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9242 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10235 ;; 10236 esac 10237 fi 10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10239 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } 9243 10240 9244 10241 if test yes = "$lt_cv_prog_compiler_pic_works"; then … … 9268 10265 # 9269 10266 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9271 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9272 if ${lt_cv_prog_compiler_static_works+:} false; then : 9273 $as_echo_n "(cached) " >&6 9274 else 9275 lt_cv_prog_compiler_static_works=no 10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10268 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10269 if test ${lt_cv_prog_compiler_static_works+y} 10270 then : 10271 printf %s "(cached) " >&6 10272 else case e in #( 10273 e) lt_cv_prog_compiler_static_works=no 9276 10274 save_LDFLAGS=$LDFLAGS 9277 10275 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" … … 9294 10292 $RM -r conftest* 9295 10293 LDFLAGS=$save_LDFLAGS 9296 9297 fi 9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9299 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10294 ;; 10295 esac 10296 fi 10297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10298 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } 9300 10299 9301 10300 if test yes = "$lt_cv_prog_compiler_static_works"; then … … 9311 10310 9312 10311 9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9314 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9315 if ${lt_cv_prog_compiler_c_o+:} false; then : 9316 $as_echo_n "(cached) " >&6 9317 else 9318 lt_cv_prog_compiler_c_o=no 10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10313 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10314 if test ${lt_cv_prog_compiler_c_o+y} 10315 then : 10316 printf %s "(cached) " >&6 10317 else case e in #( 10318 e) lt_cv_prog_compiler_c_o=no 9319 10319 $RM -r conftest 2>/dev/null 9320 10320 mkdir conftest … … 9356 10356 $RM -r conftest 9357 10357 $RM conftest* 9358 9359 fi 9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9361 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9362 9363 9364 9365 9366 9367 9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9369 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9370 if ${lt_cv_prog_compiler_c_o+:} false; then : 9371 $as_echo_n "(cached) " >&6 9372 else 9373 lt_cv_prog_compiler_c_o=no 10358 ;; 10359 esac 10360 fi 10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10362 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 10363 10364 10365 10366 10367 10368 10369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10370 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10371 if test ${lt_cv_prog_compiler_c_o+y} 10372 then : 10373 printf %s "(cached) " >&6 10374 else case e in #( 10375 e) lt_cv_prog_compiler_c_o=no 9374 10376 $RM -r conftest 2>/dev/null 9375 10377 mkdir conftest … … 9411 10413 $RM -r conftest 9412 10414 $RM conftest* 9413 9414 fi 9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9416 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10415 ;; 10416 esac 10417 fi 10418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10419 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 9417 10420 9418 10421 … … 9422 10425 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9423 10426 # do not overwrite the value of need_locks provided by the user 9424 { $as_echo"$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&59425 $as_echo_n"checking if we can lock with hard links... " >&6; }10427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10428 printf %s "checking if we can lock with hard links... " >&6; } 9426 10429 hard_links=yes 9427 10430 $RM conftest* … … 9430 10433 ln conftest.a conftest.b 2>&5 || hard_links=no 9431 10434 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9432 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $hard_links" >&59433 $as_echo"$hard_links" >&6; }10435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10436 printf "%s\n" "$hard_links" >&6; } 9434 10437 if test no = "$hard_links"; then 9435 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&59436 $as_echo"$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10439 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9437 10440 need_locks=warn 9438 10441 fi … … 9446 10449 9447 10450 9448 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&59449 $as_echo_n"checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10452 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9450 10453 9451 10454 runpath_var= … … 9491 10494 case $host_os in 9492 10495 cygwin* | mingw* | pw32* | cegcc*) 9493 # FIXME: the MSVC++ port hasn't been tested in a loooong time10496 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time 9494 10497 # When not using gcc, we currently assume that we are using 9495 # Microsoft Visual C++ .10498 # Microsoft Visual C++ or Intel C++ Compiler. 9496 10499 if test yes != "$GCC"; then 9497 10500 with_gnu_ld=no … … 9499 10502 ;; 9500 10503 interix*) 9501 # we just hope/assume this is gcc and not c89 (= MSVC++ )10504 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) 9502 10505 with_gnu_ld=yes 9503 10506 ;; … … 9551 10554 fi 9552 10555 supports_anon_versioning=no 9553 case `$LD -v | $SED -e 's/( ^)\+)\s\+//' 2>&1` in10556 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in 9554 10557 *GNU\ gold*) supports_anon_versioning=yes ;; 9555 10558 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 … … 9663 10666 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9664 10667 enable_shared_with_static_runtimes=yes 10668 file_list_spec='@' 9665 10669 ;; 9666 10670 … … 9677 10681 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9678 10682 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9679 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'10683 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' 9680 10684 ;; 9681 10685 … … 9720 10724 ;; 9721 10725 esac 9722 case `$CC -V 2>&1 | sed5q` in10726 case `$CC -V 2>&1 | $SED 5q` in 9723 10727 *Sun\ C*) # Sun C 5.9 9724 10728 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' … … 9732 10736 if test yes = "$supports_anon_versioning"; then 9733 10737 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9734 cat $export_symbols | sed-e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~10738 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9735 10739 echo "local: *; };" >> $output_objdir/$libname.ver~ 9736 10740 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' … … 9748 10752 if test yes = "$supports_anon_versioning"; then 9749 10753 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9750 cat $export_symbols | sed-e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~10754 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9751 10755 echo "local: *; };" >> $output_objdir/$libname.ver~ 9752 10756 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' … … 9880 10884 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9881 10885 else 9882 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == " W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'10886 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9883 10887 fi 9884 10888 aix_use_runtimelinking=no … … 10002 11006 aix_libpath=$lt_cv_aix_libpath 10003 11007 else 10004 if ${lt_cv_aix_libpath_+:} false; then : 10005 $as_echo_n "(cached) " >&6 10006 else 10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11008 if test ${lt_cv_aix_libpath_+y} 11009 then : 11010 printf %s "(cached) " >&6 11011 else case e in #( 11012 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10008 11013 /* end confdefs.h. */ 10009 11014 10010 11015 int 10011 main ( )11016 main (void) 10012 11017 { 10013 11018 … … 10016 11021 } 10017 11022 _ACEOF 10018 if ac_fn_c_try_link "$LINENO"; then : 11023 if ac_fn_c_try_link "$LINENO" 11024 then : 10019 11025 10020 11026 lt_aix_libpath_sed=' … … 10031 11037 fi 10032 11038 fi 10033 rm -f core conftest.err conftest.$ac_objext \11039 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10034 11040 conftest$ac_exeext conftest.$ac_ext 10035 11041 if test -z "$lt_cv_aix_libpath_"; then 10036 11042 lt_cv_aix_libpath_=/usr/lib:/lib 10037 11043 fi 10038 11044 ;; 11045 esac 10039 11046 fi 10040 11047 … … 10055 11062 aix_libpath=$lt_cv_aix_libpath 10056 11063 else 10057 if ${lt_cv_aix_libpath_+:} false; then : 10058 $as_echo_n "(cached) " >&6 10059 else 10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11064 if test ${lt_cv_aix_libpath_+y} 11065 then : 11066 printf %s "(cached) " >&6 11067 else case e in #( 11068 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10061 11069 /* end confdefs.h. */ 10062 11070 10063 11071 int 10064 main ( )11072 main (void) 10065 11073 { 10066 11074 … … 10069 11077 } 10070 11078 _ACEOF 10071 if ac_fn_c_try_link "$LINENO"; then : 11079 if ac_fn_c_try_link "$LINENO" 11080 then : 10072 11081 10073 11082 lt_aix_libpath_sed=' … … 10084 11093 fi 10085 11094 fi 10086 rm -f core conftest.err conftest.$ac_objext \11095 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10087 11096 conftest$ac_exeext conftest.$ac_ext 10088 11097 if test -z "$lt_cv_aix_libpath_"; then 10089 11098 lt_cv_aix_libpath_=/usr/lib:/lib 10090 11099 fi 10091 11100 ;; 11101 esac 10092 11102 fi 10093 11103 … … 10147 11157 cygwin* | mingw* | pw32* | cegcc*) 10148 11158 # When not using gcc, we currently assume that we are using 10149 # Microsoft Visual C++ .11159 # Microsoft Visual C++ or Intel C++ Compiler. 10150 11160 # hardcode_libdir_flag_spec is actually meaningless, as there is 10151 11161 # no search path for DLLs. 10152 11162 case $cc_basename in 10153 cl* )10154 # Native MSVC 11163 cl* | icl*) 11164 # Native MSVC or ICC 10155 11165 hardcode_libdir_flag_spec=' ' 10156 11166 allow_undefined_flag=unsupported … … 10193 11203 ;; 10194 11204 *) 10195 # Assume MSVC wrapper11205 # Assume MSVC and ICC wrapper 10196 11206 hardcode_libdir_flag_spec=' ' 10197 11207 allow_undefined_flag=unsupported … … 10234 11244 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10235 11245 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10236 archive_expsym_cmds=" sed's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"10237 module_expsym_cmds=" sed-e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"11246 archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" 11247 module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" 10238 11248 10239 11249 else … … 10269 11279 10270 11280 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10271 freebsd* | dragonfly* )11281 freebsd* | dragonfly* | midnightbsd*) 10272 11282 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10273 11283 hardcode_libdir_flag_spec='-R$libdir' … … 10335 11345 # Older versions of the 11.00 compiler do not understand -b yet 10336 11346 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10338 $as_echo_n "checking if $CC understands -b... " >&6; } 10339 if ${lt_cv_prog_compiler__b+:} false; then : 10340 $as_echo_n "(cached) " >&6 10341 else 10342 lt_cv_prog_compiler__b=no 11347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11348 printf %s "checking if $CC understands -b... " >&6; } 11349 if test ${lt_cv_prog_compiler__b+y} 11350 then : 11351 printf %s "(cached) " >&6 11352 else case e in #( 11353 e) lt_cv_prog_compiler__b=no 10343 11354 save_LDFLAGS=$LDFLAGS 10344 11355 LDFLAGS="$LDFLAGS -b" … … 10361 11372 $RM -r conftest* 10362 11373 LDFLAGS=$save_LDFLAGS 10363 10364 fi 10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10366 $as_echo "$lt_cv_prog_compiler__b" >&6; } 11374 ;; 11375 esac 11376 fi 11377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11378 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } 10367 11379 10368 11380 if test yes = "$lt_cv_prog_compiler__b"; then … … 10404 11416 # implicitly export all symbols. 10405 11417 # This should be the same for all languages, so no per-tag cache variable. 10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10407 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10408 if ${lt_cv_irix_exported_symbol+:} false; then : 10409 $as_echo_n "(cached) " >&6 10410 else 10411 save_LDFLAGS=$LDFLAGS 11418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11419 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11420 if test ${lt_cv_irix_exported_symbol+y} 11421 then : 11422 printf %s "(cached) " >&6 11423 else case e in #( 11424 e) save_LDFLAGS=$LDFLAGS 10412 11425 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10413 11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 10415 11428 int foo (void) { return 0; } 10416 11429 _ACEOF 10417 if ac_fn_c_try_link "$LINENO"; then : 11430 if ac_fn_c_try_link "$LINENO" 11431 then : 10418 11432 lt_cv_irix_exported_symbol=yes 10419 else 10420 lt_cv_irix_exported_symbol=no 10421 fi 10422 rm -f core conftest.err conftest.$ac_objext \ 11433 else case e in #( 11434 e) lt_cv_irix_exported_symbol=no ;; 11435 esac 11436 fi 11437 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10423 11438 conftest$ac_exeext conftest.$ac_ext 10424 LDFLAGS=$save_LDFLAGS 10425 fi 10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10427 $as_echo "$lt_cv_irix_exported_symbol" >&6; } 11439 LDFLAGS=$save_LDFLAGS ;; 11440 esac 11441 fi 11442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11443 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } 10428 11444 if test yes = "$lt_cv_irix_exported_symbol"; then 10429 11445 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' … … 10517 11533 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10518 11534 enable_shared_with_static_runtimes=yes 11535 file_list_spec='@' 10519 11536 ;; 10520 11537 … … 10705 11722 fi 10706 11723 10707 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&510708 $as_echo"$ld_shlibs" >&6; }11724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11725 printf "%s\n" "$ld_shlibs" >&6; } 10709 11726 test no = "$ld_shlibs" && can_build_shared=no 10710 11727 … … 10742 11759 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10743 11760 # to ld, don't add -lc before -lgcc. 10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10745 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10746 if ${lt_cv_archive_cmds_need_lc+:} false; then : 10747 $as_echo_n "(cached) " >&6 10748 else 10749 $RM conftest* 11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11762 printf %s "checking whether -lc should be explicitly linked in... " >&6; } 11763 if test ${lt_cv_archive_cmds_need_lc+y} 11764 then : 11765 printf %s "(cached) " >&6 11766 else case e in #( 11767 e) $RM conftest* 10750 11768 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10751 11769 … … 10753 11771 (eval $ac_compile) 2>&5 10754 11772 ac_status=$? 10755 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&511773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10756 11774 test $ac_status = 0; } 2>conftest.err; then 10757 11775 soname=conftest … … 10771 11789 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10772 11790 ac_status=$? 10773 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&511791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10774 11792 test $ac_status = 0; } 10775 11793 then … … 10783 11801 fi 10784 11802 $RM conftest* 10785 10786 fi 10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10788 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11803 ;; 11804 esac 11805 fi 11806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11807 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } 10789 11808 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10790 11809 ;; … … 10945 11964 10946 11965 10947 { $as_echo"$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&510948 $as_echo_n"checking dynamic linker characteristics... " >&6; }11966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11967 printf %s "checking dynamic linker characteristics... " >&6; } 10949 11968 10950 11969 if test yes = "$GCC"; then … … 11208 12227 cygwin*) 11209 12228 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11210 soname_spec='`echo $libname | sed-e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'12229 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11211 12230 11212 12231 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" … … 11218 12237 pw32*) 11219 12238 # pw32 DLLs use 'pw' prefix rather than 'lib' 11220 library_names_spec='`echo $libname | sed-e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'12239 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11221 12240 ;; 11222 12241 esac … … 11224 12243 ;; 11225 12244 11226 *,cl* )11227 # Native MSVC 12245 *,cl* | *,icl*) 12246 # Native MSVC or ICC 11228 12247 libname_spec='$name' 11229 12248 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' … … 11244 12263 IFS=$lt_save_ifs 11245 12264 # Convert to MSYS style. 11246 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed-e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`12265 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11247 12266 ;; 11248 12267 cygwin*) … … 11281 12300 11282 12301 *) 11283 # Assume MSVC wrapper12302 # Assume MSVC and ICC wrapper 11284 12303 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11285 12304 dynamic_linker='Win32 ld.exe' … … 11314 12333 ;; 11315 12334 11316 freebsd* | dragonfly* )12335 freebsd* | dragonfly* | midnightbsd*) 11317 12336 # DragonFly does not have aout. When/if they implement a new 11318 12337 # versioning mechanism, adjust this. … … 11507 12526 11508 12527 # Some binutils ld are patched to set DT_RUNPATH 11509 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11510 $as_echo_n "(cached) " >&6 11511 else 11512 lt_cv_shlibpath_overrides_runpath=no 12528 if test ${lt_cv_shlibpath_overrides_runpath+y} 12529 then : 12530 printf %s "(cached) " >&6 12531 else case e in #( 12532 e) lt_cv_shlibpath_overrides_runpath=no 11513 12533 save_LDFLAGS=$LDFLAGS 11514 12534 save_libdir=$libdir … … 11519 12539 11520 12540 int 11521 main ( )12541 main (void) 11522 12542 { 11523 12543 … … 11526 12546 } 11527 12547 _ACEOF 11528 if ac_fn_c_try_link "$LINENO"; then : 11529 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12548 if ac_fn_c_try_link "$LINENO" 12549 then : 12550 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null 12551 then : 11530 12552 lt_cv_shlibpath_overrides_runpath=yes 11531 12553 fi 11532 12554 fi 11533 rm -f core conftest.err conftest.$ac_objext \12555 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11534 12556 conftest$ac_exeext conftest.$ac_ext 11535 12557 LDFLAGS=$save_LDFLAGS 11536 12558 libdir=$save_libdir 11537 12559 ;; 12560 esac 11538 12561 fi 11539 12562 … … 11763 12786 ;; 11764 12787 esac 11765 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&511766 $as_echo"$dynamic_linker" >&6; }12788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12789 printf "%s\n" "$dynamic_linker" >&6; } 11767 12790 test no = "$dynamic_linker" && can_build_shared=no 11768 12791 … … 11885 12908 11886 12909 11887 { $as_echo"$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&511888 $as_echo_n"checking how to hardcode library paths into programs... " >&6; }12910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12911 printf %s "checking how to hardcode library paths into programs... " >&6; } 11889 12912 hardcode_action= 11890 12913 if test -n "$hardcode_libdir_flag_spec" || … … 11910 12933 hardcode_action=unsupported 11911 12934 fi 11912 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&511913 $as_echo"$hardcode_action" >&6; }12935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12936 printf "%s\n" "$hardcode_action" >&6; } 11914 12937 11915 12938 if test relink = "$hardcode_action" || … … 11955 12978 darwin*) 11956 12979 # if libdl is installed we need to link against it 11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11958 $as_echo_n "checking for dlopen in -ldl... " >&6; } 11959 if ${ac_cv_lib_dl_dlopen+:} false; then : 11960 $as_echo_n "(cached) " >&6 11961 else 11962 ac_check_lib_save_LIBS=$LIBS 12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12981 printf %s "checking for dlopen in -ldl... " >&6; } 12982 if test ${ac_cv_lib_dl_dlopen+y} 12983 then : 12984 printf %s "(cached) " >&6 12985 else case e in #( 12986 e) ac_check_lib_save_LIBS=$LIBS 11963 12987 LIBS="-ldl $LIBS" 11964 12988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 11967 12991 /* Override any GCC internal prototype to avoid an error. 11968 12992 Use char because int might match the return type of a GCC 11969 builtin and then its argument prototype would still apply. */ 12993 builtin and then its argument prototype would still apply. 12994 The 'extern "C"' is for builds by C++ compilers; 12995 although this is not generally supported in C code supporting it here 12996 has little cost and some practical benefit (sr 110532). */ 11970 12997 #ifdef __cplusplus 11971 12998 extern "C" 11972 12999 #endif 11973 char dlopen ( );13000 char dlopen (void); 11974 13001 int 11975 main ( )13002 main (void) 11976 13003 { 11977 13004 return dlopen (); … … 11980 13007 } 11981 13008 _ACEOF 11982 if ac_fn_c_try_link "$LINENO"; then : 13009 if ac_fn_c_try_link "$LINENO" 13010 then : 11983 13011 ac_cv_lib_dl_dlopen=yes 11984 else 11985 ac_cv_lib_dl_dlopen=no 11986 fi 11987 rm -f core conftest.err conftest.$ac_objext \ 13012 else case e in #( 13013 e) ac_cv_lib_dl_dlopen=no ;; 13014 esac 13015 fi 13016 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11988 13017 conftest$ac_exeext conftest.$ac_ext 11989 LIBS=$ac_check_lib_save_LIBS 11990 fi 11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11992 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11993 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13018 LIBS=$ac_check_lib_save_LIBS ;; 13019 esac 13020 fi 13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13022 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 13023 if test "x$ac_cv_lib_dl_dlopen" = xyes 13024 then : 11994 13025 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11995 else 11996 13026 else case e in #( 13027 e) 11997 13028 lt_cv_dlopen=dyld 11998 13029 lt_cv_dlopen_libs= 11999 13030 lt_cv_dlopen_self=yes 12000 13031 ;; 13032 esac 12001 13033 fi 12002 13034 … … 12013 13045 *) 12014 13046 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12015 if test "x$ac_cv_func_shl_load" = xyes; then : 13047 if test "x$ac_cv_func_shl_load" = xyes 13048 then : 12016 13049 lt_cv_dlopen=shl_load 12017 else 12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12019 $as_echo_n "checking for shl_load in -ldld... " >&6; } 12020 if ${ac_cv_lib_dld_shl_load+:} false; then : 12021 $as_echo_n "(cached) " >&6 12022 else 12023 ac_check_lib_save_LIBS=$LIBS 13050 else case e in #( 13051 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13052 printf %s "checking for shl_load in -ldld... " >&6; } 13053 if test ${ac_cv_lib_dld_shl_load+y} 13054 then : 13055 printf %s "(cached) " >&6 13056 else case e in #( 13057 e) ac_check_lib_save_LIBS=$LIBS 12024 13058 LIBS="-ldld $LIBS" 12025 13059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 12028 13062 /* Override any GCC internal prototype to avoid an error. 12029 13063 Use char because int might match the return type of a GCC 12030 builtin and then its argument prototype would still apply. */ 13064 builtin and then its argument prototype would still apply. 13065 The 'extern "C"' is for builds by C++ compilers; 13066 although this is not generally supported in C code supporting it here 13067 has little cost and some practical benefit (sr 110532). */ 12031 13068 #ifdef __cplusplus 12032 13069 extern "C" 12033 13070 #endif 12034 char shl_load ( );13071 char shl_load (void); 12035 13072 int 12036 main ( )13073 main (void) 12037 13074 { 12038 13075 return shl_load (); … … 12041 13078 } 12042 13079 _ACEOF 12043 if ac_fn_c_try_link "$LINENO"; then : 13080 if ac_fn_c_try_link "$LINENO" 13081 then : 12044 13082 ac_cv_lib_dld_shl_load=yes 12045 else 12046 ac_cv_lib_dld_shl_load=no 12047 fi 12048 rm -f core conftest.err conftest.$ac_objext \ 13083 else case e in #( 13084 e) ac_cv_lib_dld_shl_load=no ;; 13085 esac 13086 fi 13087 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12049 13088 conftest$ac_exeext conftest.$ac_ext 12050 LIBS=$ac_check_lib_save_LIBS 12051 fi 12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12053 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12054 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13089 LIBS=$ac_check_lib_save_LIBS ;; 13090 esac 13091 fi 13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13093 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } 13094 if test "x$ac_cv_lib_dld_shl_load" = xyes 13095 then : 12055 13096 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12056 else 12057 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12058 if test "x$ac_cv_func_dlopen" = xyes; then : 13097 else case e in #( 13098 e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13099 if test "x$ac_cv_func_dlopen" = xyes 13100 then : 12059 13101 lt_cv_dlopen=dlopen 12060 else 12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12062 $as_echo_n "checking for dlopen in -ldl... " >&6; } 12063 if ${ac_cv_lib_dl_dlopen+:} false; then : 12064 $as_echo_n "(cached) " >&6 12065 else 12066 ac_check_lib_save_LIBS=$LIBS 13102 else case e in #( 13103 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13104 printf %s "checking for dlopen in -ldl... " >&6; } 13105 if test ${ac_cv_lib_dl_dlopen+y} 13106 then : 13107 printf %s "(cached) " >&6 13108 else case e in #( 13109 e) ac_check_lib_save_LIBS=$LIBS 12067 13110 LIBS="-ldl $LIBS" 12068 13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 12071 13114 /* Override any GCC internal prototype to avoid an error. 12072 13115 Use char because int might match the return type of a GCC 12073 builtin and then its argument prototype would still apply. */ 13116 builtin and then its argument prototype would still apply. 13117 The 'extern "C"' is for builds by C++ compilers; 13118 although this is not generally supported in C code supporting it here 13119 has little cost and some practical benefit (sr 110532). */ 12074 13120 #ifdef __cplusplus 12075 13121 extern "C" 12076 13122 #endif 12077 char dlopen ( );13123 char dlopen (void); 12078 13124 int 12079 main ( )13125 main (void) 12080 13126 { 12081 13127 return dlopen (); … … 12084 13130 } 12085 13131 _ACEOF 12086 if ac_fn_c_try_link "$LINENO"; then : 13132 if ac_fn_c_try_link "$LINENO" 13133 then : 12087 13134 ac_cv_lib_dl_dlopen=yes 12088 else 12089 ac_cv_lib_dl_dlopen=no 12090 fi 12091 rm -f core conftest.err conftest.$ac_objext \ 13135 else case e in #( 13136 e) ac_cv_lib_dl_dlopen=no ;; 13137 esac 13138 fi 13139 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12092 13140 conftest$ac_exeext conftest.$ac_ext 12093 LIBS=$ac_check_lib_save_LIBS 12094 fi 12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12096 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12097 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13141 LIBS=$ac_check_lib_save_LIBS ;; 13142 esac 13143 fi 13144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13145 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 13146 if test "x$ac_cv_lib_dl_dlopen" = xyes 13147 then : 12098 13148 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12099 else 12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12101 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 12102 if ${ac_cv_lib_svld_dlopen+:} false; then : 12103 $as_echo_n "(cached) " >&6 12104 else 12105 ac_check_lib_save_LIBS=$LIBS 13149 else case e in #( 13150 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13151 printf %s "checking for dlopen in -lsvld... " >&6; } 13152 if test ${ac_cv_lib_svld_dlopen+y} 13153 then : 13154 printf %s "(cached) " >&6 13155 else case e in #( 13156 e) ac_check_lib_save_LIBS=$LIBS 12106 13157 LIBS="-lsvld $LIBS" 12107 13158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 12110 13161 /* Override any GCC internal prototype to avoid an error. 12111 13162 Use char because int might match the return type of a GCC 12112 builtin and then its argument prototype would still apply. */ 13163 builtin and then its argument prototype would still apply. 13164 The 'extern "C"' is for builds by C++ compilers; 13165 although this is not generally supported in C code supporting it here 13166 has little cost and some practical benefit (sr 110532). */ 12113 13167 #ifdef __cplusplus 12114 13168 extern "C" 12115 13169 #endif 12116 char dlopen ( );13170 char dlopen (void); 12117 13171 int 12118 main ( )13172 main (void) 12119 13173 { 12120 13174 return dlopen (); … … 12123 13177 } 12124 13178 _ACEOF 12125 if ac_fn_c_try_link "$LINENO"; then : 13179 if ac_fn_c_try_link "$LINENO" 13180 then : 12126 13181 ac_cv_lib_svld_dlopen=yes 12127 else 12128 ac_cv_lib_svld_dlopen=no 12129 fi 12130 rm -f core conftest.err conftest.$ac_objext \ 13182 else case e in #( 13183 e) ac_cv_lib_svld_dlopen=no ;; 13184 esac 13185 fi 13186 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12131 13187 conftest$ac_exeext conftest.$ac_ext 12132 LIBS=$ac_check_lib_save_LIBS 12133 fi 12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12135 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12136 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13188 LIBS=$ac_check_lib_save_LIBS ;; 13189 esac 13190 fi 13191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13192 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } 13193 if test "x$ac_cv_lib_svld_dlopen" = xyes 13194 then : 12137 13195 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12138 else 12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12140 $as_echo_n "checking for dld_link in -ldld... " >&6; } 12141 if ${ac_cv_lib_dld_dld_link+:} false; then : 12142 $as_echo_n "(cached) " >&6 12143 else 12144 ac_check_lib_save_LIBS=$LIBS 13196 else case e in #( 13197 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13198 printf %s "checking for dld_link in -ldld... " >&6; } 13199 if test ${ac_cv_lib_dld_dld_link+y} 13200 then : 13201 printf %s "(cached) " >&6 13202 else case e in #( 13203 e) ac_check_lib_save_LIBS=$LIBS 12145 13204 LIBS="-ldld $LIBS" 12146 13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 12149 13208 /* Override any GCC internal prototype to avoid an error. 12150 13209 Use char because int might match the return type of a GCC 12151 builtin and then its argument prototype would still apply. */ 13210 builtin and then its argument prototype would still apply. 13211 The 'extern "C"' is for builds by C++ compilers; 13212 although this is not generally supported in C code supporting it here 13213 has little cost and some practical benefit (sr 110532). */ 12152 13214 #ifdef __cplusplus 12153 13215 extern "C" 12154 13216 #endif 12155 char dld_link ( );13217 char dld_link (void); 12156 13218 int 12157 main ( )13219 main (void) 12158 13220 { 12159 13221 return dld_link (); … … 12162 13224 } 12163 13225 _ACEOF 12164 if ac_fn_c_try_link "$LINENO"; then : 13226 if ac_fn_c_try_link "$LINENO" 13227 then : 12165 13228 ac_cv_lib_dld_dld_link=yes 12166 else 12167 ac_cv_lib_dld_dld_link=no 12168 fi 12169 rm -f core conftest.err conftest.$ac_objext \ 13229 else case e in #( 13230 e) ac_cv_lib_dld_dld_link=no ;; 13231 esac 13232 fi 13233 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12170 13234 conftest$ac_exeext conftest.$ac_ext 12171 LIBS=$ac_check_lib_save_LIBS 12172 fi 12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12174 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12175 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13235 LIBS=$ac_check_lib_save_LIBS ;; 13236 esac 13237 fi 13238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13239 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } 13240 if test "x$ac_cv_lib_dld_dld_link" = xyes 13241 then : 12176 13242 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12177 13243 fi 12178 13244 12179 12180 fi 12181 12182 12183 fi 12184 12185 12186 fi 12187 12188 12189 fi 12190 12191 13245 ;; 13246 esac 13247 fi 13248 13249 ;; 13250 esac 13251 fi 13252 13253 ;; 13254 esac 13255 fi 13256 13257 ;; 13258 esac 13259 fi 13260 13261 ;; 13262 esac 12192 13263 fi 12193 13264 … … 12212 13283 LIBS="$lt_cv_dlopen_libs $LIBS" 12213 13284 12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12215 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 12216 if ${lt_cv_dlopen_self+:} false; then : 12217 $as_echo_n "(cached) " >&6 12218 else 12219 if test yes = "$cross_compiling"; then : 13285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13286 printf %s "checking whether a program can dlopen itself... " >&6; } 13287 if test ${lt_cv_dlopen_self+y} 13288 then : 13289 printf %s "(cached) " >&6 13290 else case e in #( 13291 e) if test yes = "$cross_compiling"; then : 12220 13292 lt_cv_dlopen_self=cross 12221 13293 else … … 12295 13367 (eval $ac_link) 2>&5 12296 13368 ac_status=$? 12297 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&513369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12298 13370 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12299 13371 (./conftest; exit; ) >&5 2>/dev/null … … 12311 13383 rm -fr conftest* 12312 13384 12313 12314 fi 12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12316 $as_echo "$lt_cv_dlopen_self" >&6; } 13385 ;; 13386 esac 13387 fi 13388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13389 printf "%s\n" "$lt_cv_dlopen_self" >&6; } 12317 13390 12318 13391 if test yes = "$lt_cv_dlopen_self"; then 12319 13392 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12321 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12322 if ${lt_cv_dlopen_self_static+:} false; then : 12323 $as_echo_n "(cached) " >&6 12324 else 12325 if test yes = "$cross_compiling"; then : 13393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13394 printf %s "checking whether a statically linked program can dlopen itself... " >&6; } 13395 if test ${lt_cv_dlopen_self_static+y} 13396 then : 13397 printf %s "(cached) " >&6 13398 else case e in #( 13399 e) if test yes = "$cross_compiling"; then : 12326 13400 lt_cv_dlopen_self_static=cross 12327 13401 else … … 12401 13475 (eval $ac_link) 2>&5 12402 13476 ac_status=$? 12403 $as_echo"$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&513477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12404 13478 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12405 13479 (./conftest; exit; ) >&5 2>/dev/null … … 12417 13491 rm -fr conftest* 12418 13492 12419 12420 fi 12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12422 $as_echo "$lt_cv_dlopen_self_static" >&6; } 13493 ;; 13494 esac 13495 fi 13496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13497 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } 12423 13498 fi 12424 13499 … … 12458 13533 striplib= 12459 13534 old_striplib= 12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12461 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 12462 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12463 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12464 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12466 $as_echo "yes" >&6; } 12467 else 12468 # FIXME - insert some real tests, host_os isn't really good enough 12469 case $host_os in 12470 darwin*) 12471 if test -n "$STRIP"; then 13535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13536 printf %s "checking whether stripping libraries is possible... " >&6; } 13537 if test -z "$STRIP"; then 13538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 13539 printf "%s\n" "no" >&6; } 13540 else 13541 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13542 old_striplib="$STRIP --strip-debug" 13543 striplib="$STRIP --strip-unneeded" 13544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13545 printf "%s\n" "yes" >&6; } 13546 else 13547 case $host_os in 13548 darwin*) 13549 # FIXME - insert some real tests, host_os isn't really good enough 12472 13550 striplib="$STRIP -x" 12473 13551 old_striplib="$STRIP -S" 12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12475 $as_echo "yes" >&6; } 12476 else 12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12478 $as_echo "no" >&6; } 12479 fi 12480 ;; 12481 *) 12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12483 $as_echo "no" >&6; } 12484 ;; 12485 esac 13552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13553 printf "%s\n" "yes" >&6; } 13554 ;; 13555 freebsd*) 13556 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then 13557 old_striplib="$STRIP --strip-debug" 13558 striplib="$STRIP --strip-unneeded" 13559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13560 printf "%s\n" "yes" >&6; } 13561 else 13562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 13563 printf "%s\n" "no" >&6; } 13564 fi 13565 ;; 13566 *) 13567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 13568 printf "%s\n" "no" >&6; } 13569 ;; 13570 esac 13571 fi 12486 13572 fi 12487 13573 … … 12498 13584 12499 13585 # Report what library types will actually be built 12500 { $as_echo"$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&512501 $as_echo_n"checking if libtool supports shared libraries... " >&6; }12502 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&512503 $as_echo"$can_build_shared" >&6; }12504 12505 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&512506 $as_echo_n"checking whether to build shared libraries... " >&6; }13586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13587 printf %s "checking if libtool supports shared libraries... " >&6; } 13588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13589 printf "%s\n" "$can_build_shared" >&6; } 13590 13591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13592 printf %s "checking whether to build shared libraries... " >&6; } 12507 13593 test no = "$can_build_shared" && enable_shared=no 12508 13594 … … 12528 13614 ;; 12529 13615 esac 12530 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&512531 $as_echo"$enable_shared" >&6; }12532 12533 { $as_echo"$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&512534 $as_echo_n"checking whether to build static libraries... " >&6; }13616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13617 printf "%s\n" "$enable_shared" >&6; } 13618 13619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13620 printf %s "checking whether to build static libraries... " >&6; } 12535 13621 # Make sure either enable_shared or enable_static is yes. 12536 13622 test yes = "$enable_shared" || enable_static=yes 12537 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $enable_static" >&512538 $as_echo"$enable_static" >&6; }13623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13624 printf "%s\n" "$enable_static" >&6; } 12539 13625 12540 13626 … … 12576 13662 # Some awks crash when confronted with pnglibconf.dfa, do a test run now 12577 13663 # to make sure this doesn't happen 12578 { $as_echo"$as_me:${as_lineno-$LINENO}: checking that AWK works" >&512579 $as_echo_n"checking that AWK works... " >&6; }13664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that AWK works" >&5 13665 printf %s "checking that AWK works... " >&6; } 12580 13666 if ${AWK} -f ${srcdir}/scripts/options.awk out="/dev/null" version=search\ 12581 13667 ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\ 12582 13668 ${srcdir}/pngusr.dfa 1>&2 12583 13669 then 12584 { $as_echo"$as_me:${as_lineno-$LINENO}: result: ok" >&512585 $as_echo"ok" >&6; }12586 else 12587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&512588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}13670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 13671 printf "%s\n" "ok" >&6; } 13672 else 13673 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 13674 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 12589 13675 as_fn_error 1 "failed 12590 See \`config.log' for more details" "$LINENO" 5; }13676 See 'config.log' for more details" "$LINENO" 5; } 12591 13677 fi 12592 13678 … … 12596 13682 12597 13683 12598 # -Werror cannot be passed to GCC in CFLAGS because configure will fail (it 12599 # checks the compiler with a program that generates a warning), add the 12600 # following option to deal with this 13684 # Check whether --enable-tests was given. 13685 if test ${enable_tests+y} 13686 then : 13687 enableval=$enable_tests; enable_tests="$enableval" 13688 else case e in #( 13689 e) enable_tests=yes ;; 13690 esac 13691 fi 13692 13693 13694 if test "$enable_tests" != "no"; then 13695 ENABLE_TESTS_TRUE= 13696 ENABLE_TESTS_FALSE='#' 13697 else 13698 ENABLE_TESTS_TRUE='#' 13699 ENABLE_TESTS_FALSE= 13700 fi 13701 13702 13703 # Check whether --enable-tools was given. 13704 if test ${enable_tools+y} 13705 then : 13706 enableval=$enable_tools; enable_tools="$enableval" 13707 else case e in #( 13708 e) enable_tools=yes ;; 13709 esac 13710 fi 13711 13712 13713 if test "$enable_tools" != "no"; then 13714 ENABLE_TOOLS_TRUE= 13715 ENABLE_TOOLS_FALSE='#' 13716 else 13717 ENABLE_TOOLS_TRUE='#' 13718 ENABLE_TOOLS_FALSE= 13719 fi 13720 13721 13722 # -Werror cannot be passed to GCC in CFLAGS because configure will fail 13723 # (it checks the compiler with a program that generates a warning). 13724 # Add the following option to deal with this: 12601 13725 12602 13726 # Check whether --enable-werror was given. 12603 if test "${enable_werror+set}" = set; then : 13727 if test ${enable_werror+y} 13728 then : 12604 13729 enableval=$enable_werror; test "$enable_werror" = "yes" && enable_werror="-Werror" 12605 13730 if test "$enable_werror" != "no"; then 12606 13731 sav_CFLAGS="$CFLAGS" 12607 13732 CFLAGS="$enable_werror $CFLAGS" 12608 { $as_echo"$as_me:${as_lineno-$LINENO}: checking if the compiler allows $enable_werror" >&512609 $as_echo_n"checking if the compiler allows $enable_werror... " >&6; }13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the compiler allows $enable_werror" >&5 13734 printf %s "checking if the compiler allows $enable_werror... " >&6; } 12610 13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12611 13736 /* end confdefs.h. */ … … 12615 13740 } 12616 13741 _ACEOF 12617 if ac_fn_c_try_compile "$LINENO"; then : 12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12619 $as_echo "yes" >&6; } 13742 if ac_fn_c_try_compile "$LINENO" 13743 then : 13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13745 printf "%s\n" "yes" >&6; } 12620 13746 PNG_COPTS="$PNG_COPTS $enable_werror" 12621 else 12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12623 $as_echo "no" >&6; } 12624 fi 12625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13747 else case e in #( 13748 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 13749 printf "%s\n" "no" >&6; } ;; 13750 esac 13751 fi 13752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12626 13753 CFLAGS="$sav_CFLAGS" 12627 13754 fi … … 12629 13756 12630 13757 12631 # For GCC 5 the default mode for C is -std=gnu11 instead of -std=gnu89 12632 # In pngpriv.h we request just the POSIX 1003.1 and C89 APIs by defining _POSIX_SOURCE to 112633 # This is incompatible with the new default mode, so we test for that and force the12634 # "-std=c89" compiler option:12635 { $as_echo"$as_me:${as_lineno-$LINENO}: checking if we need to force back C standard to C89" >&512636 $as_echo_n"checking if we need to force back C standard to C89... " >&6; }13758 # For GCC 5 the default mode for C is -std=gnu11 instead of -std=gnu89. 13759 # In pngpriv.h we request just the POSIX 1003.1 and C89 APIs by defining 13760 # _POSIX_SOURCE to 1. This is incompatible with the new default mode, so 13761 # we test for that and force the "-std=c89" compiler option: 13762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we need to force back C standard to C89" >&5 13763 printf %s "checking if we need to force back C standard to C89... " >&6; } 12637 13764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12638 13765 /* end confdefs.h. */ … … 12642 13769 12643 13770 int 12644 main ( )13771 main (void) 12645 13772 { 12646 13773 … … 12649 13776 } 12650 13777 _ACEOF 12651 if ac_fn_c_try_compile "$LINENO"; then : 12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12653 $as_echo "no" >&6; } 12654 else 12655 13778 if ac_fn_c_try_compile "$LINENO" 13779 then : 13780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 13781 printf "%s\n" "no" >&6; } 13782 else case e in #( 13783 e) 12656 13784 if test "x$GCC" != "xyes"; then 12657 13785 as_fn_error $? "Forcing back to C89 is required but the flags are only known for GCC" "$LINENO" 5 12658 13786 fi 12659 { $as_echo"$as_me:${as_lineno-$LINENO}: result: yes" >&512660 $as_echo"yes" >&6; }13787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13788 printf "%s\n" "yes" >&6; } 12661 13789 CFLAGS="$CFLAGS -std=c89" 12662 12663 fi 12664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12665 12666 # Checks for header files. 12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 12668 $as_echo_n "checking for ANSI C header files... " >&6; } 12669 if ${ac_cv_header_stdc+:} false; then : 12670 $as_echo_n "(cached) " >&6 12671 else 12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12673 /* end confdefs.h. */ 12674 #include <stdlib.h> 12675 #include <stdarg.h> 12676 #include <string.h> 12677 #include <float.h> 12678 12679 int 12680 main () 12681 { 12682 12683 ; 12684 return 0; 12685 } 12686 _ACEOF 12687 if ac_fn_c_try_compile "$LINENO"; then : 12688 ac_cv_header_stdc=yes 12689 else 12690 ac_cv_header_stdc=no 12691 fi 12692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12693 12694 if test $ac_cv_header_stdc = yes; then 12695 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12697 /* end confdefs.h. */ 12698 #include <string.h> 12699 12700 _ACEOF 12701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12702 $EGREP "memchr" >/dev/null 2>&1; then : 12703 12704 else 12705 ac_cv_header_stdc=no 12706 fi 12707 rm -f conftest* 12708 12709 fi 12710 12711 if test $ac_cv_header_stdc = yes; then 12712 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12714 /* end confdefs.h. */ 12715 #include <stdlib.h> 12716 12717 _ACEOF 12718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12719 $EGREP "free" >/dev/null 2>&1; then : 12720 12721 else 12722 ac_cv_header_stdc=no 12723 fi 12724 rm -f conftest* 12725 12726 fi 12727 12728 if test $ac_cv_header_stdc = yes; then 12729 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12730 if test "$cross_compiling" = yes; then : 12731 : 12732 else 12733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12734 /* end confdefs.h. */ 12735 #include <ctype.h> 12736 #include <stdlib.h> 12737 #if ((' ' & 0x0FF) == 0x020) 12738 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12739 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12740 #else 12741 # define ISLOWER(c) \ 12742 (('a' <= (c) && (c) <= 'i') \ 12743 || ('j' <= (c) && (c) <= 'r') \ 12744 || ('s' <= (c) && (c) <= 'z')) 12745 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12746 #endif 12747 12748 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12749 int 12750 main () 12751 { 12752 int i; 12753 for (i = 0; i < 256; i++) 12754 if (XOR (islower (i), ISLOWER (i)) 12755 || toupper (i) != TOUPPER (i)) 12756 return 2; 12757 return 0; 12758 } 12759 _ACEOF 12760 if ac_fn_c_try_run "$LINENO"; then : 12761 12762 else 12763 ac_cv_header_stdc=no 12764 fi 12765 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12766 conftest.$ac_objext conftest.beam conftest.$ac_ext 12767 fi 12768 12769 fi 12770 fi 12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 12772 $as_echo "$ac_cv_header_stdc" >&6; } 12773 if test $ac_cv_header_stdc = yes; then 12774 12775 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 12776 12777 fi 12778 12779 12780 # Checks for typedefs, structures, and compiler characteristics. 12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 12782 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12783 if ${ac_cv_c_const+:} false; then : 12784 $as_echo_n "(cached) " >&6 12785 else 12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12787 /* end confdefs.h. */ 12788 12789 int 12790 main () 12791 { 12792 12793 #ifndef __cplusplus 12794 /* Ultrix mips cc rejects this sort of thing. */ 12795 typedef int charset[2]; 12796 const charset cs = { 0, 0 }; 12797 /* SunOS 4.1.1 cc rejects this. */ 12798 char const *const *pcpcc; 12799 char **ppc; 12800 /* NEC SVR4.0.2 mips cc rejects this. */ 12801 struct point {int x, y;}; 12802 static struct point const zero = {0,0}; 12803 /* AIX XL C 1.02.0.0 rejects this. 12804 It does not let you subtract one const X* pointer from another in 12805 an arm of an if-expression whose if-part is not a constant 12806 expression */ 12807 const char *g = "string"; 12808 pcpcc = &g + (g ? g-g : 0); 12809 /* HPUX 7.0 cc rejects these. */ 12810 ++pcpcc; 12811 ppc = (char**) pcpcc; 12812 pcpcc = (char const *const *) ppc; 12813 { /* SCO 3.2v4 cc rejects this sort of thing. */ 12814 char tx; 12815 char *t = &tx; 12816 char const *s = 0 ? (char *) 0 : (char const *) 0; 12817 12818 *t++ = 0; 12819 if (s) return 0; 12820 } 12821 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12822 int x[] = {25, 17}; 12823 const int *foo = &x[0]; 12824 ++foo; 12825 } 12826 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12827 typedef const int *iptr; 12828 iptr p = 0; 12829 ++p; 12830 } 12831 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 12832 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12833 struct s { int j; const int *ap[3]; } bx; 12834 struct s *b = &bx; b->j = 5; 12835 } 12836 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12837 const int foo = 10; 12838 if (!foo) return 0; 12839 } 12840 return !cs[0] && !zero.x; 12841 #endif 12842 12843 ; 12844 return 0; 12845 } 12846 _ACEOF 12847 if ac_fn_c_try_compile "$LINENO"; then : 12848 ac_cv_c_const=yes 12849 else 12850 ac_cv_c_const=no 12851 fi 12852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12853 fi 12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 12855 $as_echo "$ac_cv_c_const" >&6; } 12856 if test $ac_cv_c_const = no; then 12857 12858 $as_echo "#define const /**/" >>confdefs.h 12859 12860 fi 12861 12862 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 12863 if test "x$ac_cv_type_size_t" = xyes; then : 12864 12865 else 12866 12867 cat >>confdefs.h <<_ACEOF 12868 #define size_t unsigned int 12869 _ACEOF 12870 12871 fi 12872 12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 12874 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 12875 if ${ac_cv_struct_tm+:} false; then : 12876 $as_echo_n "(cached) " >&6 12877 else 12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13790 ;; 13791 esac 13792 fi 13793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13794 13795 # Checks for structures and compiler characteristics. 13796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 13797 printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; } 13798 if test ${ac_cv_struct_tm+y} 13799 then : 13800 printf %s "(cached) " >&6 13801 else case e in #( 13802 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12879 13803 /* end confdefs.h. */ 12880 13804 #include <sys/types.h> … … 12882 13806 12883 13807 int 12884 main ( )13808 main (void) 12885 13809 { 12886 13810 struct tm tm; … … 12891 13815 } 12892 13816 _ACEOF 12893 if ac_fn_c_try_compile "$LINENO"; then : 13817 if ac_fn_c_try_compile "$LINENO" 13818 then : 12894 13819 ac_cv_struct_tm=time.h 12895 else 12896 ac_cv_struct_tm=sys/time.h 12897 fi 12898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12899 fi 12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 12901 $as_echo "$ac_cv_struct_tm" >&6; } 13820 else case e in #( 13821 e) ac_cv_struct_tm=sys/time.h ;; 13822 esac 13823 fi 13824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 13825 esac 13826 fi 13827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 13828 printf "%s\n" "$ac_cv_struct_tm" >&6; } 12902 13829 if test $ac_cv_struct_tm = sys/time.h; then 12903 13830 12904 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 12905 12906 fi 12907 12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 12909 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } 12910 if ${ac_cv_c_restrict+:} false; then : 12911 $as_echo_n "(cached) " >&6 12912 else 12913 ac_cv_c_restrict=no 12914 # The order here caters to the fact that C++ does not require restrict. 12915 for ac_kw in __restrict __restrict__ _Restrict restrict; do 13831 printf "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h 13832 13833 fi 13834 13835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 13836 printf %s "checking for C/C++ restrict keyword... " >&6; } 13837 if test ${ac_cv_c_restrict+y} 13838 then : 13839 printf %s "(cached) " >&6 13840 else case e in #( 13841 e) ac_cv_c_restrict=no 13842 # Put '__restrict__' first, to avoid problems with glibc and non-GCC; see: 13843 # https://lists.gnu.org/archive/html/bug-autoconf/2016-02/msg00006.html 13844 # Put 'restrict' last, because C++ lacks it. 13845 for ac_kw in __restrict__ __restrict _Restrict restrict; do 12916 13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12917 13847 /* end confdefs.h. */ 12918 typedef int * int_ptr; 12919 int foo (int_ptr $ac_kw ip) { 12920 return ip[0]; 12921 } 13848 typedef int *int_ptr; 13849 int foo (int_ptr $ac_kw ip) { return ip[0]; } 13850 int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ 13851 int bar (int ip[$ac_kw]) { return ip[0]; } 13852 12922 13853 int 12923 main ( )13854 main (void) 12924 13855 { 12925 13856 int s[1]; 12926 int * $ac_kw t = s; 12927 t[0] = 0; 12928 return foo(t) 13857 int *$ac_kw t = s; 13858 t[0] = 0; 13859 return foo (t) + bar (t); 13860 12929 13861 ; 12930 13862 return 0; 12931 13863 } 12932 13864 _ACEOF 12933 if ac_fn_c_try_compile "$LINENO"; then : 13865 if ac_fn_c_try_compile "$LINENO" 13866 then : 12934 13867 ac_cv_c_restrict=$ac_kw 12935 13868 fi 12936 rm -f core conftest.err conftest.$ac_objext conftest. $ac_ext13869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12937 13870 test "$ac_cv_c_restrict" != no && break 12938 13871 done 12939 12940 fi 12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 12942 $as_echo "$ac_cv_c_restrict" >&6; } 13872 ;; 13873 esac 13874 fi 13875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 13876 printf "%s\n" "$ac_cv_c_restrict" >&6; } 12943 13877 12944 13878 case $ac_cv_c_restrict in 12945 13879 restrict) ;; 12946 no) $as_echo"#define restrict /**/" >>confdefs.h13880 no) printf "%s\n" "#define restrict /**/" >>confdefs.h 12947 13881 ;; 12948 *) cat >>confdefs.h <<_ACEOF 12949 #define restrict $ac_cv_c_restrict 12950 _ACEOF 13882 *) printf "%s\n" "#define restrict $ac_cv_c_restrict" >>confdefs.h 12951 13883 ;; 12952 13884 esac … … 12954 13886 12955 13887 # Checks for library functions. 12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5 12957 $as_echo_n "checking for working strtod... " >&6; } 12958 if ${ac_cv_func_strtod+:} false; then : 12959 $as_echo_n "(cached) " >&6 12960 else 12961 if test "$cross_compiling" = yes; then : 12962 ac_cv_func_strtod=no 12963 else 12964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12965 /* end confdefs.h. */ 12966 12967 $ac_includes_default 12968 #ifndef strtod 12969 double strtod (); 12970 #endif 12971 int 12972 main() 12973 { 12974 { 12975 /* Some versions of Linux strtod mis-parse strings with leading '+'. */ 12976 char *string = " +69"; 12977 char *term; 12978 double value; 12979 value = strtod (string, &term); 12980 if (value != 69 || term != (string + 4)) 12981 return 1; 12982 } 12983 12984 { 12985 /* Under Solaris 2.4, strtod returns the wrong value for the 12986 terminating character under some conditions. */ 12987 char *string = "NaN"; 12988 char *term; 12989 strtod (string, &term); 12990 if (term != string && *(term - 1) == 0) 12991 return 1; 12992 } 12993 return 0; 12994 } 12995 12996 _ACEOF 12997 if ac_fn_c_try_run "$LINENO"; then : 12998 ac_cv_func_strtod=yes 12999 else 13000 ac_cv_func_strtod=no 13001 fi 13002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13003 conftest.$ac_objext conftest.beam conftest.$ac_ext 13004 fi 13005 13006 fi 13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5 13008 $as_echo "$ac_cv_func_strtod" >&6; } 13009 if test $ac_cv_func_strtod = no; then 13010 case " $LIBOBJS " in 13011 *" strtod.$ac_objext "* ) ;; 13012 *) LIBOBJS="$LIBOBJS strtod.$ac_objext" 13013 ;; 13014 esac 13015 13016 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" 13017 if test "x$ac_cv_func_pow" = xyes; then : 13018 13019 fi 13020 13021 if test $ac_cv_func_pow = no; then 13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 13023 $as_echo_n "checking for pow in -lm... " >&6; } 13024 if ${ac_cv_lib_m_pow+:} false; then : 13025 $as_echo_n "(cached) " >&6 13026 else 13027 ac_check_lib_save_LIBS=$LIBS 13888 13889 for ac_func in pow 13890 do : 13891 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" 13892 if test "x$ac_cv_func_pow" = xyes 13893 then : 13894 printf "%s\n" "#define HAVE_POW 1" >>confdefs.h 13895 13896 else case e in #( 13897 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 13898 printf %s "checking for pow in -lm... " >&6; } 13899 if test ${ac_cv_lib_m_pow+y} 13900 then : 13901 printf %s "(cached) " >&6 13902 else case e in #( 13903 e) ac_check_lib_save_LIBS=$LIBS 13028 13904 LIBS="-lm $LIBS" 13029 13905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 13032 13908 /* Override any GCC internal prototype to avoid an error. 13033 13909 Use char because int might match the return type of a GCC 13034 builtin and then its argument prototype would still apply. */ 13910 builtin and then its argument prototype would still apply. 13911 The 'extern "C"' is for builds by C++ compilers; 13912 although this is not generally supported in C code supporting it here 13913 has little cost and some practical benefit (sr 110532). */ 13035 13914 #ifdef __cplusplus 13036 13915 extern "C" 13037 13916 #endif 13038 char pow ( );13917 char pow (void); 13039 13918 int 13040 main ( )13919 main (void) 13041 13920 { 13042 13921 return pow (); … … 13045 13924 } 13046 13925 _ACEOF 13047 if ac_fn_c_try_link "$LINENO"; then : 13926 if ac_fn_c_try_link "$LINENO" 13927 then : 13048 13928 ac_cv_lib_m_pow=yes 13049 else 13050 ac_cv_lib_m_pow=no 13051 fi 13052 rm -f core conftest.err conftest.$ac_objext \ 13929 else case e in #( 13930 e) ac_cv_lib_m_pow=no ;; 13931 esac 13932 fi 13933 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13053 13934 conftest$ac_exeext conftest.$ac_ext 13054 LIBS=$ac_check_lib_save_LIBS 13055 fi 13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 13057 $as_echo "$ac_cv_lib_m_pow" >&6; } 13058 if test "x$ac_cv_lib_m_pow" = xyes; then : 13059 POW_LIB=-lm 13060 else 13061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5 13062 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} 13063 fi 13064 13065 fi 13066 13067 fi 13068 13069 for ac_func in pow 13070 do : 13071 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" 13072 if test "x$ac_cv_func_pow" = xyes; then : 13073 cat >>confdefs.h <<_ACEOF 13074 #define HAVE_POW 1 13075 _ACEOF 13076 13077 else 13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 13079 $as_echo_n "checking for pow in -lm... " >&6; } 13080 if ${ac_cv_lib_m_pow+:} false; then : 13081 $as_echo_n "(cached) " >&6 13082 else 13083 ac_check_lib_save_LIBS=$LIBS 13084 LIBS="-lm $LIBS" 13935 LIBS=$ac_check_lib_save_LIBS ;; 13936 esac 13937 fi 13938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 13939 printf "%s\n" "$ac_cv_lib_m_pow" >&6; } 13940 if test "x$ac_cv_lib_m_pow" = xyes 13941 then : 13942 printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h 13943 13944 LIBS="-lm $LIBS" 13945 13946 else case e in #( 13947 e) as_fn_error $? "cannot find pow" "$LINENO" 5 ;; 13948 esac 13949 fi 13950 ;; 13951 esac 13952 fi 13953 13954 done 13955 13956 # Some later POSIX 1003.1 functions are required for test programs, failure 13957 # here is soft (the corresponding test program is not built). 13958 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 13959 if test "x$ac_cv_func_clock_gettime" = xyes 13960 then : 13961 13962 else case e in #( 13963 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: not building timepng" >&5 13964 printf "%s\n" "$as_me: WARNING: not building timepng" >&2;} ;; 13965 esac 13966 fi 13967 13968 if test "$ac_cv_func_clock_gettime" = "yes"; then 13969 HAVE_CLOCK_GETTIME_TRUE= 13970 HAVE_CLOCK_GETTIME_FALSE='#' 13971 else 13972 HAVE_CLOCK_GETTIME_TRUE='#' 13973 HAVE_CLOCK_GETTIME_FALSE= 13974 fi 13975 13976 13977 13978 # Check whether --with-zlib-prefix was given. 13979 if test ${with_zlib_prefix+y} 13980 then : 13981 withval=$with_zlib_prefix; ZPREFIX=${withval} 13982 else case e in #( 13983 e) ZPREFIX='z_' ;; 13984 esac 13985 fi 13986 13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 13988 printf %s "checking for zlibVersion in -lz... " >&6; } 13989 if test ${ac_cv_lib_z_zlibVersion+y} 13990 then : 13991 printf %s "(cached) " >&6 13992 else case e in #( 13993 e) ac_check_lib_save_LIBS=$LIBS 13994 LIBS="-lz $LIBS" 13085 13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13086 13996 /* end confdefs.h. */ … … 13088 13998 /* Override any GCC internal prototype to avoid an error. 13089 13999 Use char because int might match the return type of a GCC 13090 builtin and then its argument prototype would still apply. */ 14000 builtin and then its argument prototype would still apply. 14001 The 'extern "C"' is for builds by C++ compilers; 14002 although this is not generally supported in C code supporting it here 14003 has little cost and some practical benefit (sr 110532). */ 13091 14004 #ifdef __cplusplus 13092 14005 extern "C" 13093 14006 #endif 13094 char pow ();14007 char zlibVersion (void); 13095 14008 int 13096 main () 13097 { 13098 return pow (); 13099 ; 13100 return 0; 13101 } 13102 _ACEOF 13103 if ac_fn_c_try_link "$LINENO"; then : 13104 ac_cv_lib_m_pow=yes 13105 else 13106 ac_cv_lib_m_pow=no 13107 fi 13108 rm -f core conftest.err conftest.$ac_objext \ 13109 conftest$ac_exeext conftest.$ac_ext 13110 LIBS=$ac_check_lib_save_LIBS 13111 fi 13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 13113 $as_echo "$ac_cv_lib_m_pow" >&6; } 13114 if test "x$ac_cv_lib_m_pow" = xyes; then : 13115 cat >>confdefs.h <<_ACEOF 13116 #define HAVE_LIBM 1 13117 _ACEOF 13118 13119 LIBS="-lm $LIBS" 13120 13121 else 13122 as_fn_error $? "cannot find pow" "$LINENO" 5 13123 fi 13124 13125 fi 13126 done 13127 13128 13129 # Some later POSIX 1003.1 functions are required for test programs, failure here 13130 # is soft (the corresponding test program is not built). 13131 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 13132 if test "x$ac_cv_func_clock_gettime" = xyes; then : 13133 13134 else 13135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not building timepng" >&5 13136 $as_echo "$as_me: WARNING: not building timepng" >&2;} 13137 fi 13138 13139 if test "$ac_cv_func_clock_gettime" = "yes"; then 13140 HAVE_CLOCK_GETTIME_TRUE= 13141 HAVE_CLOCK_GETTIME_FALSE='#' 13142 else 13143 HAVE_CLOCK_GETTIME_TRUE='#' 13144 HAVE_CLOCK_GETTIME_FALSE= 13145 fi 13146 13147 13148 13149 # Check whether --with-zlib-prefix was given. 13150 if test "${with_zlib_prefix+set}" = set; then : 13151 withval=$with_zlib_prefix; ZPREFIX=${withval} 13152 else 13153 ZPREFIX='z_' 13154 fi 13155 13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 13157 $as_echo_n "checking for zlibVersion in -lz... " >&6; } 13158 if ${ac_cv_lib_z_zlibVersion+:} false; then : 13159 $as_echo_n "(cached) " >&6 13160 else 13161 ac_check_lib_save_LIBS=$LIBS 13162 LIBS="-lz $LIBS" 13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13164 /* end confdefs.h. */ 13165 13166 /* Override any GCC internal prototype to avoid an error. 13167 Use char because int might match the return type of a GCC 13168 builtin and then its argument prototype would still apply. */ 13169 #ifdef __cplusplus 13170 extern "C" 13171 #endif 13172 char zlibVersion (); 13173 int 13174 main () 14009 main (void) 13175 14010 { 13176 14011 return zlibVersion (); … … 13179 14014 } 13180 14015 _ACEOF 13181 if ac_fn_c_try_link "$LINENO"; then : 14016 if ac_fn_c_try_link "$LINENO" 14017 then : 13182 14018 ac_cv_lib_z_zlibVersion=yes 13183 else 13184 ac_cv_lib_z_zlibVersion=no 13185 fi 13186 rm -f core conftest.err conftest.$ac_objext \ 14019 else case e in #( 14020 e) ac_cv_lib_z_zlibVersion=no ;; 14021 esac 14022 fi 14023 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13187 14024 conftest$ac_exeext conftest.$ac_ext 13188 LIBS=$ac_check_lib_save_LIBS 13189 fi 13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 13191 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; } 13192 if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : 13193 cat >>confdefs.h <<_ACEOF 13194 #define HAVE_LIBZ 1 13195 _ACEOF 14025 LIBS=$ac_check_lib_save_LIBS ;; 14026 esac 14027 fi 14028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 14029 printf "%s\n" "$ac_cv_lib_z_zlibVersion" >&6; } 14030 if test "x$ac_cv_lib_z_zlibVersion" = xyes 14031 then : 14032 printf "%s\n" "#define HAVE_LIBZ 1" >>confdefs.h 13196 14033 13197 14034 LIBS="-lz $LIBS" 13198 14035 13199 else 13200 as_ac_Lib=`$as_echo "ac_cv_lib_z_${ZPREFIX}zlibVersion" | $as_tr_sh` 13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ZPREFIX}zlibVersion in -lz" >&5 13202 $as_echo_n "checking for ${ZPREFIX}zlibVersion in -lz... " >&6; } 13203 if eval \${$as_ac_Lib+:} false; then : 13204 $as_echo_n "(cached) " >&6 13205 else 13206 ac_check_lib_save_LIBS=$LIBS 14036 else case e in #( 14037 e) as_ac_Lib=`printf "%s\n" "ac_cv_lib_z_${ZPREFIX}zlibVersion" | sed "$as_sed_sh"` 14038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ZPREFIX}zlibVersion in -lz" >&5 14039 printf %s "checking for ${ZPREFIX}zlibVersion in -lz... " >&6; } 14040 if eval test \${$as_ac_Lib+y} 14041 then : 14042 printf %s "(cached) " >&6 14043 else case e in #( 14044 e) ac_check_lib_save_LIBS=$LIBS 13207 14045 LIBS="-lz $LIBS" 13208 14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 13211 14049 /* Override any GCC internal prototype to avoid an error. 13212 14050 Use char because int might match the return type of a GCC 13213 builtin and then its argument prototype would still apply. */ 14051 builtin and then its argument prototype would still apply. 14052 The 'extern "C"' is for builds by C++ compilers; 14053 although this is not generally supported in C code supporting it here 14054 has little cost and some practical benefit (sr 110532). */ 13214 14055 #ifdef __cplusplus 13215 14056 extern "C" 13216 14057 #endif 13217 char ${ZPREFIX}zlibVersion ( );14058 char ${ZPREFIX}zlibVersion (void); 13218 14059 int 13219 main ( )14060 main (void) 13220 14061 { 13221 14062 return ${ZPREFIX}zlibVersion (); … … 13224 14065 } 13225 14066 _ACEOF 13226 if ac_fn_c_try_link "$LINENO"; then : 14067 if ac_fn_c_try_link "$LINENO" 14068 then : 13227 14069 eval "$as_ac_Lib=yes" 13228 else 13229 eval "$as_ac_Lib=no" 13230 fi 13231 rm -f core conftest.err conftest.$ac_objext \ 14070 else case e in #( 14071 e) eval "$as_ac_Lib=no" ;; 14072 esac 14073 fi 14074 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13232 14075 conftest$ac_exeext conftest.$ac_ext 13233 LIBS=$ac_check_lib_save_LIBS 14076 LIBS=$ac_check_lib_save_LIBS ;; 14077 esac 13234 14078 fi 13235 14079 eval ac_res=\$$as_ac_Lib 13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 13237 $as_echo "$ac_res" >&6; } 13238 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 13239 cat >>confdefs.h <<_ACEOF 13240 #define HAVE_LIBZ 1 13241 _ACEOF 14080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 14081 printf "%s\n" "$ac_res" >&6; } 14082 if eval test \"x\$"$as_ac_Lib"\" = x"yes" 14083 then : 14084 printf "%s\n" "#define HAVE_LIBZ 1" >>confdefs.h 13242 14085 13243 14086 LIBS="-lz $LIBS" 13244 14087 13245 else 13246 as_fn_error $? "zlib not installed" "$LINENO" 5 13247 fi 13248 14088 else case e in #( 14089 e) as_fn_error $? "zlib not installed" "$LINENO" 5 ;; 14090 esac 14091 fi 14092 ;; 14093 esac 13249 14094 fi 13250 14095 … … 13253 14098 # platforms that don't enable FP exceptions, the function appears in the math 13254 14099 # library (typically), it's not an error if it is not found. 13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5 13256 $as_echo_n "checking for feenableexcept in -lm... " >&6; } 13257 if ${ac_cv_lib_m_feenableexcept+:} false; then : 13258 $as_echo_n "(cached) " >&6 13259 else 13260 ac_check_lib_save_LIBS=$LIBS 14100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5 14101 printf %s "checking for feenableexcept in -lm... " >&6; } 14102 if test ${ac_cv_lib_m_feenableexcept+y} 14103 then : 14104 printf %s "(cached) " >&6 14105 else case e in #( 14106 e) ac_check_lib_save_LIBS=$LIBS 13261 14107 LIBS="-lm $LIBS" 13262 14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 13265 14111 /* Override any GCC internal prototype to avoid an error. 13266 14112 Use char because int might match the return type of a GCC 13267 builtin and then its argument prototype would still apply. */ 14113 builtin and then its argument prototype would still apply. 14114 The 'extern "C"' is for builds by C++ compilers; 14115 although this is not generally supported in C code supporting it here 14116 has little cost and some practical benefit (sr 110532). */ 13268 14117 #ifdef __cplusplus 13269 14118 extern "C" 13270 14119 #endif 13271 char feenableexcept ( );14120 char feenableexcept (void); 13272 14121 int 13273 main ( )14122 main (void) 13274 14123 { 13275 14124 return feenableexcept (); … … 13278 14127 } 13279 14128 _ACEOF 13280 if ac_fn_c_try_link "$LINENO"; then : 14129 if ac_fn_c_try_link "$LINENO" 14130 then : 13281 14131 ac_cv_lib_m_feenableexcept=yes 13282 else 13283 ac_cv_lib_m_feenableexcept=no 13284 fi 13285 rm -f core conftest.err conftest.$ac_objext \ 14132 else case e in #( 14133 e) ac_cv_lib_m_feenableexcept=no ;; 14134 esac 14135 fi 14136 rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13286 14137 conftest$ac_exeext conftest.$ac_ext 13287 LIBS=$ac_check_lib_save_LIBS 13288 fi 13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5 13290 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; } 13291 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then : 13292 cat >>confdefs.h <<_ACEOF 13293 #define HAVE_LIBM 1 13294 _ACEOF 14138 LIBS=$ac_check_lib_save_LIBS ;; 14139 esac 14140 fi 14141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5 14142 printf "%s\n" "$ac_cv_lib_m_feenableexcept" >&6; } 14143 if test "x$ac_cv_lib_m_feenableexcept" = xyes 14144 then : 14145 printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h 13295 14146 13296 14147 LIBS="-lm $LIBS" … … 13298 14149 fi 13299 14150 13300 for ac_func in feenableexcept 13301 do : 13302 ac_fn_c_check_func "$LINENO" "feenableexcept" "ac_cv_func_feenableexcept" 13303 if test "x$ac_cv_func_feenableexcept" = xyes; then : 13304 cat >>confdefs.h <<_ACEOF 13305 #define HAVE_FEENABLEEXCEPT 1 13306 _ACEOF 13307 13308 fi 13309 done 13310 13311 13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if using Solaris linker" >&5 13313 $as_echo_n "checking if using Solaris linker... " >&6; } 14151 ac_fn_c_check_func "$LINENO" "feenableexcept" "ac_cv_func_feenableexcept" 14152 if test "x$ac_cv_func_feenableexcept" = xyes 14153 then : 14154 printf "%s\n" "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h 14155 14156 fi 14157 14158 14159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if using Solaris linker" >&5 14160 printf %s "checking if using Solaris linker... " >&6; } 13314 14161 SLD=`$LD --version 2>&1 | grep Solaris` 13315 14162 if test "$SLD"; then 13316 14163 have_solaris_ld=yes 13317 { $as_echo"$as_me:${as_lineno-$LINENO}: result: yes" >&513318 $as_echo"yes" >&6; }14164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14165 printf "%s\n" "yes" >&6; } 13319 14166 else 13320 14167 have_solaris_ld=no 13321 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&513322 $as_echo"no" >&6; }14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 14169 printf "%s\n" "no" >&6; } 13323 14170 fi 13324 14171 if test "$have_solaris_ld" = "yes"; then … … 13331 14178 13332 14179 13333 { $as_echo"$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&513334 $as_echo_n"checking if libraries can be versioned... " >&6; }14180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5 14181 printf %s "checking if libraries can be versioned... " >&6; } 13335 14182 # Special case for PE/COFF platforms: ld reports 13336 14183 # support for version-script, but doesn't actually … … 13339 14186 *cygwin* | *mingw32* | *interix* ) 13340 14187 have_ld_version_script=no 13341 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&513342 $as_echo"no" >&6; }14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 14189 printf "%s\n" "no" >&6; } 13343 14190 ;; 13344 14191 * ) … … 13352 14199 if test "$GLD"; then 13353 14200 have_ld_version_script=yes 13354 { $as_echo"$as_me:${as_lineno-$LINENO}: result: yes" >&513355 $as_echo"yes" >&6; }14201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14202 printf "%s\n" "yes" >&6; } 13356 14203 else 13357 14204 have_ld_version_script=no 13358 { $as_echo"$as_me:${as_lineno-$LINENO}: result: no" >&513359 $as_echo"no" >&6; }13360 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: *** You have not enabled versioned symbols." >&513361 $as_echo"$as_me: WARNING: *** You have not enabled versioned symbols." >&2;}14205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 14206 printf "%s\n" "no" >&6; } 14207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** You have not enabled versioned symbols." >&5 14208 printf "%s\n" "$as_me: WARNING: *** You have not enabled versioned symbols." >&2;} 13362 14209 fi 13363 14210 ;; … … 13374 14221 13375 14222 if test "$have_ld_version_script" = "yes"; then 13376 { $as_echo"$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&513377 $as_echo_n"checking for symbol prefix... " >&6; }14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5 14224 printf %s "checking for symbol prefix... " >&6; } 13378 14225 SYMBOL_PREFIX=`echo "PREFIX=__USER_LABEL_PREFIX__" \ 13379 14226 | ${CPP-${CC-gcc} -E} - 2>&1 \ … … 13381 14228 | ${SED-sed} -e "s:^PREFIX=::" -e "s:__USER_LABEL_PREFIX__::"` 13382 14229 13383 { $as_echo"$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&513384 $as_echo"$SYMBOL_PREFIX" >&6; }14230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5 14231 printf "%s\n" "$SYMBOL_PREFIX" >&6; } 13385 14232 fi 13386 14233 … … 13395 14242 13396 14243 # Check whether --with-pkgconfigdir was given. 13397 if test "${with_pkgconfigdir+set}" = set; then : 14244 if test ${with_pkgconfigdir+y} 14245 then : 13398 14246 withval=$with_pkgconfigdir; pkgconfigdir=${withval} 13399 else 13400 pkgconfigdir='${libdir}/pkgconfig' 13401 fi 13402 13403 13404 13405 { $as_echo "$as_me:${as_lineno-$LINENO}: pkgconfig directory is ${pkgconfigdir}" >&5 13406 $as_echo "$as_me: pkgconfig directory is ${pkgconfigdir}" >&6;} 14247 else case e in #( 14248 e) pkgconfigdir='${libdir}/pkgconfig' ;; 14249 esac 14250 fi 14251 14252 14253 14254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkgconfig directory is ${pkgconfigdir}" >&5 14255 printf "%s\n" "$as_me: pkgconfig directory is ${pkgconfigdir}" >&6;} 13407 14256 13408 14257 # Make the *-config binary config scripts optional 13409 14258 13410 14259 # Check whether --with-binconfigs was given. 13411 if test "${with_binconfigs+set}" = set; then : 14260 if test ${with_binconfigs+y} 14261 then : 13412 14262 withval=$with_binconfigs; if test "${withval}" = no; then 13413 14263 binconfigs= 13414 { $as_echo"$as_me:${as_lineno-$LINENO}: libpng-config scripts will not be built" >&513415 $as_echo"$as_me: libpng-config scripts will not be built" >&6;}14264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpng-config scripts will not be built" >&5 14265 printf "%s\n" "$as_me: libpng-config scripts will not be built" >&6;} 13416 14266 else 13417 14267 binconfigs='${binconfigs}' 13418 14268 fi 13419 else 13420 binconfigs='${binconfigs}' 14269 else case e in #( 14270 e) binconfigs='${binconfigs}' ;; 14271 esac 13421 14272 fi 13422 14273 … … 13427 14278 13428 14279 # Check whether --with-libpng-prefix was given. 13429 if test "${with_libpng_prefix+set}" = set; then : 14280 if test ${with_libpng_prefix+y} 14281 then : 13430 14282 withval=$with_libpng_prefix; if test "${withval:-no}" != "no"; then 13431 14283 PNG_PREFIX=${withval} … … 13447 14299 # unversioned links are also created (normally as symbolic links): 13448 14300 # Check whether --enable-unversioned-links was given. 13449 if test "${enable_unversioned_links+set}" = set; then : 14301 if test ${enable_unversioned_links+y} 14302 then : 13450 14303 enableval=$enable_unversioned_links; 13451 14304 fi … … 13464 14317 13465 14318 # Check whether --enable-unversioned-libpng-pc was given. 13466 if test "${enable_unversioned_libpng_pc+set}" = set; then : 14319 if test ${enable_unversioned_libpng_pc+y} 14320 then : 13467 14321 enableval=$enable_unversioned_libpng_pc; 13468 14322 fi … … 13478 14332 13479 14333 # Check whether --enable-unversioned-libpng-config was given. 13480 if test "${enable_unversioned_libpng_config+set}" = set; then : 14334 if test ${enable_unversioned_libpng_config+y} 14335 then : 13481 14336 enableval=$enable_unversioned_libpng_config; 13482 14337 fi … … 13491 14346 13492 14347 13493 # HOST 14348 # HOST-SPECIFIC OPTIONS 13494 14349 # ===================== 13495 14350 # … … 13498 14353 # 13499 14354 # Check whether --enable-hardware-optimizations was given. 13500 if test "${enable_hardware_optimizations+set}" = set; then : 14355 if test ${enable_hardware_optimizations+y} 14356 then : 13501 14357 enableval=$enable_hardware_optimizations; case "$enableval" in 13502 14358 no|off) … … 13504 14360 enable_arm_neon=no 13505 14361 13506 $as_echo"#define PNG_ARM_NEON_OPT 0" >>confdefs.h14362 printf "%s\n" "#define PNG_ARM_NEON_OPT 0" >>confdefs.h 13507 14363 13508 14364 enable_mips_msa=no 13509 14365 13510 $as_echo "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h 14366 printf "%s\n" "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h 14367 14368 enable_mips_mmi=no 14369 14370 printf "%s\n" "#define PNG_MIPS_MMI_OPT 0" >>confdefs.h 13511 14371 13512 14372 enable_powerpc_vsx=no 13513 14373 13514 $as_echo"#define PNG_POWERPC_VSX_OPT 0" >>confdefs.h14374 printf "%s\n" "#define PNG_POWERPC_VSX_OPT 0" >>confdefs.h 13515 14375 13516 14376 enable_intel_sse=no 13517 14377 13518 $as_echo "#define PNG_INTEL_SSE_OPT 0" >>confdefs.h 14378 printf "%s\n" "#define PNG_INTEL_SSE_OPT 0" >>confdefs.h 14379 14380 enable_loongarch_lsx=no 14381 14382 printf "%s\n" "#define PNG_LOONGARCH_LSX_OPT 0" >>confdefs.h 13519 14383 13520 14384 ;; … … 13525 14389 enable_arm_neon=yes 13526 14390 13527 $as_echo "#define PNG_ARM_NEON_OPT 0" >>confdefs.h14391 printf "%s\n" "#define PNG_ARM_NEON_OPT 2" >>confdefs.h 13528 14392 13529 14393 ;; 13530 14394 mipsel*|mips64el*) 14395 enable_mips_mmi=yes 13531 14396 enable_mips_msa=yes 13532 14397 13533 $as_echo "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h 14398 printf "%s\n" "#define PNG_MIPS_MMI_OPT 1" >>confdefs.h 14399 14400 14401 printf "%s\n" "#define PNG_MIPS_MSA_OPT 2" >>confdefs.h 13534 14402 13535 14403 ;; … … 13537 14405 enable_intel_sse=yes 13538 14406 13539 $as_echo"#define PNG_INTEL_SSE_OPT 1" >>confdefs.h14407 printf "%s\n" "#define PNG_INTEL_SSE_OPT 1" >>confdefs.h 13540 14408 13541 14409 ;; … … 13543 14411 enable_powerpc_vsx=yes 13544 14412 13545 $as_echo "#define PNG_POWERPC_VSX_OPT 2" >>confdefs.h 14413 printf "%s\n" "#define PNG_POWERPC_VSX_OPT 2" >>confdefs.h 14414 14415 ;; 14416 loongarch*) 14417 enable_loongarch_lsx=yes 14418 14419 printf "%s\n" "#define PNG_LOONGARCH_LSX_OPT 1" >>confdefs.h 13546 14420 13547 14421 ;; … … 13558 14432 13559 14433 # Check whether --enable-arm-neon was given. 13560 if test "${enable_arm_neon+set}" = set; then : 14434 if test ${enable_arm_neon+y} 14435 then : 13561 14436 enableval=$enable_arm_neon; case "$enableval" in 13562 14437 no|off) 13563 14438 # disable the default enabling on __ARM_NEON__ systems: 13564 14439 13565 $as_echo"#define PNG_ARM_NEON_OPT 0" >>confdefs.h14440 printf "%s\n" "#define PNG_ARM_NEON_OPT 0" >>confdefs.h 13566 14441 13567 14442 # Prevent inclusion of the assembler files below: 13568 enable_arm_neon=no ;;14443 enable_arm_neon=no ;; 13569 14444 check) 13570 14445 13571 $as_echo"#define PNG_ARM_NEON_CHECK_SUPPORTED /**/" >>confdefs.h14446 printf "%s\n" "#define PNG_ARM_NEON_CHECK_SUPPORTED /**/" >>confdefs.h 13572 14447 ;; 13573 14448 api) 13574 14449 13575 $as_echo"#define PNG_ARM_NEON_API_SUPPORTED /**/" >>confdefs.h14450 printf "%s\n" "#define PNG_ARM_NEON_API_SUPPORTED /**/" >>confdefs.h 13576 14451 ;; 13577 14452 yes|on) 13578 14453 13579 $as_echo"#define PNG_ARM_NEON_OPT 2" >>confdefs.h13580 13581 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: --enable-arm-neon: please specify 'check' or 'api', if14454 printf "%s\n" "#define PNG_ARM_NEON_OPT 2" >>confdefs.h 14455 14456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-arm-neon: please specify 'check' or 'api', if 13582 14457 you want the optimizations unconditionally pass -mfpu=neon 13583 14458 to the compiler." >&5 13584 $as_echo"$as_me: WARNING: --enable-arm-neon: please specify 'check' or 'api', if14459 printf "%s\n" "$as_me: WARNING: --enable-arm-neon: please specify 'check' or 'api', if 13585 14460 you want the optimizations unconditionally pass -mfpu=neon 13586 14461 to the compiler." >&2;};; … … 13591 14466 13592 14467 13593 # Add ARM specific files to all builds where thehost_cpu is arm ('arm*') or13594 # where ARM optimizations were explicitly requested (this allows a fallback if a13595 # future host CPU does not match 'arm*')14468 # Add ARM-specific files to all builds where $host_cpu is arm ('arm*') or 14469 # where ARM optimizations were explicitly requested (this allows a fallback 14470 # if a future host CPU does not match 'arm*') 13596 14471 13597 14472 if test "$enable_arm_neon" != 'no' && 13598 14473 case "$host_cpu" in 13599 arm*|aarch64*) : ;;13600 *) test "$enable_arm_neon" != '' ;;14474 arm*|aarch64*) : ;; 14475 *) test "$enable_arm_neon" != '' ;; 13601 14476 esac; then 13602 14477 PNG_ARM_NEON_TRUE= … … 13609 14484 13610 14485 # MIPS 13611 # === 14486 # ==== 13612 14487 # 13613 14488 # MIPS MSA (SIMD) support. 13614 14489 13615 14490 # Check whether --enable-mips-msa was given. 13616 if test "${enable_mips_msa+set}" = set; then : 14491 if test ${enable_mips_msa+y} 14492 then : 13617 14493 enableval=$enable_mips_msa; case "$enableval" in 13618 14494 no|off) 13619 14495 # disable the default enabling on __mips_msa systems: 13620 14496 13621 $as_echo"#define PNG_MIPS_MSA_OPT 0" >>confdefs.h14497 printf "%s\n" "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h 13622 14498 13623 14499 # Prevent inclusion of the assembler files below: 13624 enable_mips_msa=no ;;14500 enable_mips_msa=no ;; 13625 14501 check) 13626 14502 13627 $as_echo"#define PNG_MIPS_MSA_CHECK_SUPPORTED /**/" >>confdefs.h14503 printf "%s\n" "#define PNG_MIPS_MSA_CHECK_SUPPORTED /**/" >>confdefs.h 13628 14504 ;; 13629 14505 api) 13630 14506 13631 $as_echo"#define PNG_MIPS_MSA_API_SUPPORTED /**/" >>confdefs.h14507 printf "%s\n" "#define PNG_MIPS_MSA_API_SUPPORTED /**/" >>confdefs.h 13632 14508 ;; 13633 14509 yes|on) 13634 14510 13635 $as_echo"#define PNG_MIPS_MSA_OPT 2" >>confdefs.h13636 13637 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: --enable-mips-msa: please specify 'check' or 'api', if14511 printf "%s\n" "#define PNG_MIPS_MSA_OPT 2" >>confdefs.h 14512 14513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-mips-msa: please specify 'check' or 'api', if 13638 14514 you want the optimizations unconditionally pass '-mmsa -mfp64' 13639 14515 to the compiler." >&5 13640 $as_echo"$as_me: WARNING: --enable-mips-msa: please specify 'check' or 'api', if14516 printf "%s\n" "$as_me: WARNING: --enable-mips-msa: please specify 'check' or 'api', if 13641 14517 you want the optimizations unconditionally pass '-mmsa -mfp64' 13642 14518 to the compiler." >&2;};; … … 13647 14523 13648 14524 14525 # Add MIPS-specific files to all builds where $host_cpu is mips ('mips*') or 14526 # where MIPS optimizations were explicitly requested (this allows a fallback 14527 # if a future host CPU does not match 'mips*') 14528 14529 if test "$enable_mips_msa" != 'no' && 14530 case "$host_cpu" in 14531 mipsel*|mips64el*) : ;; 14532 esac; then 14533 PNG_MIPS_MSA_TRUE= 14534 PNG_MIPS_MSA_FALSE='#' 14535 else 14536 PNG_MIPS_MSA_TRUE='#' 14537 PNG_MIPS_MSA_FALSE= 14538 fi 14539 14540 14541 # MIPS 14542 # === 14543 # 14544 # MIPS MMI (SIMD) support. 14545 14546 # Check whether --enable-mips-mmi was given. 14547 if test ${enable_mips_mmi+y} 14548 then : 14549 enableval=$enable_mips_mmi; case "$enableval" in 14550 no|off) 14551 # disable the default enabling on __mips_mmi systems: 14552 14553 printf "%s\n" "#define PNG_MIPS_MMI_OPT 0" >>confdefs.h 14554 14555 # Prevent inclusion of the assembler files below: 14556 enable_mips_mmi=no;; 14557 check) 14558 14559 printf "%s\n" "#define PNG_MIPS_MMI_CHECK_SUPPORTED /**/" >>confdefs.h 14560 ;; 14561 api) 14562 14563 printf "%s\n" "#define PNG_MIPS_MMI_API_SUPPORTED /**/" >>confdefs.h 14564 ;; 14565 yes|on) 14566 14567 printf "%s\n" "#define PNG_MIPS_MMI_OPT 1" >>confdefs.h 14568 14569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-mips-mmi: please specify 'check' or 'api', if 14570 you want the optimizations unconditionally pass '-mloongson-mmi -march=loongson3a' 14571 to the compiler." >&5 14572 printf "%s\n" "$as_me: WARNING: --enable-mips-mmi: please specify 'check' or 'api', if 14573 you want the optimizations unconditionally pass '-mloongson-mmi -march=loongson3a' 14574 to the compiler." >&2;};; 14575 *) 14576 as_fn_error $? "--enable-mips-mmi=${enable_mips_mmi}: invalid value" "$LINENO" 5 14577 esac 14578 fi 14579 14580 13649 14581 # Add MIPS specific files to all builds where the host_cpu is mips ('mips*') or 13650 14582 # where MIPS optimizations were explicitly requested (this allows a fallback if a 13651 14583 # future host CPU does not match 'mips*') 13652 14584 13653 if test "$enable_mips_m sa" != 'no' &&14585 if test "$enable_mips_mmi" != 'no' && 13654 14586 case "$host_cpu" in 13655 14587 mipsel*|mips64el*) :;; 13656 14588 esac; then 13657 PNG_MIPS_M SA_TRUE=13658 PNG_MIPS_M SA_FALSE='#'13659 else 13660 PNG_MIPS_M SA_TRUE='#'13661 PNG_MIPS_M SA_FALSE=14589 PNG_MIPS_MMI_TRUE= 14590 PNG_MIPS_MMI_FALSE='#' 14591 else 14592 PNG_MIPS_MMI_TRUE='#' 14593 PNG_MIPS_MMI_FALSE= 13662 14594 fi 13663 14595 … … 13669 14601 13670 14602 # Check whether --enable-intel-sse was given. 13671 if test "${enable_intel_sse+set}" = set; then : 14603 if test ${enable_intel_sse+y} 14604 then : 13672 14605 enableval=$enable_intel_sse; case "$enableval" in 13673 14606 no|off) 13674 14607 # disable the default enabling: 13675 14608 13676 $as_echo"#define PNG_INTEL_SSE_OPT 0" >>confdefs.h14609 printf "%s\n" "#define PNG_INTEL_SSE_OPT 0" >>confdefs.h 13677 14610 13678 14611 # Prevent inclusion of the assembler files below: 13679 enable_intel_sse=no ;;14612 enable_intel_sse=no ;; 13680 14613 yes|on) 13681 14614 13682 $as_echo"#define PNG_INTEL_SSE_OPT 1" >>confdefs.h14615 printf "%s\n" "#define PNG_INTEL_SSE_OPT 1" >>confdefs.h 13683 14616 ;; 13684 14617 *) … … 13688 14621 13689 14622 13690 # Add Intel specific files to all builds where the host_cpu is Intel ('x86*')13691 # or where Intel optimizations were explicitly requested (this allows a13692 # fallbackif a future host CPU does not match 'x86*')14623 # Add Intel-specific files to all builds where $host_cpu is Intel ('x86*') or 14624 # where Intel optimizations were explicitly requested (this allows a fallback 14625 # if a future host CPU does not match 'x86*') 13693 14626 if test "$enable_intel_sse" != 'no' && 13694 14627 case "$host_cpu" in 13695 i?86|x86_64) : ;;13696 *) test "$enable_intel_sse" != '' ;;14628 i?86|x86_64) : ;; 14629 *) test "$enable_intel_sse" != '' ;; 13697 14630 esac; then 13698 14631 PNG_INTEL_SSE_TRUE= … … 13705 14638 13706 14639 # PowerPC 13707 # === 14640 # ======= 13708 14641 # 13709 14642 # PowerPC VSX (SIMD) support. 13710 14643 13711 14644 # Check whether --enable-powerpc-vsx was given. 13712 if test "${enable_powerpc_vsx+set}" = set; then : 14645 if test ${enable_powerpc_vsx+y} 14646 then : 13713 14647 enableval=$enable_powerpc_vsx; case "$enableval" in 13714 14648 no|off) 13715 14649 # disable the default enabling on __ppc64__ systems: 13716 14650 13717 $as_echo"#define PNG_POWERPC_VSX_OPT 0" >>confdefs.h13718 13719 # Prevent inclusion of the platform 13720 enable_powerpc_vsx=no ;;14651 printf "%s\n" "#define PNG_POWERPC_VSX_OPT 0" >>confdefs.h 14652 14653 # Prevent inclusion of the platform-specific files below: 14654 enable_powerpc_vsx=no ;; 13721 14655 check) 13722 14656 13723 $as_echo"#define PNG_POWERPC_VSX_CHECK_SUPPORTED /**/" >>confdefs.h13724 13725 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: --enable-powerpc-vsx Please check contrib/powerpc/README file14657 printf "%s\n" "#define PNG_POWERPC_VSX_CHECK_SUPPORTED /**/" >>confdefs.h 14658 14659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-powerpc-vsx Please check contrib/powerpc/README file 13726 14660 for the list of supported OSes." >&5 13727 $as_echo"$as_me: WARNING: --enable-powerpc-vsx Please check contrib/powerpc/README file14661 printf "%s\n" "$as_me: WARNING: --enable-powerpc-vsx Please check contrib/powerpc/README file 13728 14662 for the list of supported OSes." >&2;};; 13729 14663 api) 13730 14664 13731 $as_echo"#define PNG_POWERPC_VSX_API_SUPPORTED /**/" >>confdefs.h14665 printf "%s\n" "#define PNG_POWERPC_VSX_API_SUPPORTED /**/" >>confdefs.h 13732 14666 ;; 13733 14667 yes|on) 13734 14668 13735 $as_echo"#define PNG_POWERPC_VSX_OPT 2" >>confdefs.h13736 13737 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: --enable-powerpc-vsx: please specify 'check' or 'api', if14669 printf "%s\n" "#define PNG_POWERPC_VSX_OPT 2" >>confdefs.h 14670 14671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-powerpc-vsx: please specify 'check' or 'api', if 13738 14672 you want the optimizations unconditionally pass '-maltivec -mvsx' 13739 or '-mcpu=power8' to the compiler." >&513740 $as_echo"$as_me: WARNING: --enable-powerpc-vsx: please specify 'check' or 'api', if14673 or '-mcpu=power8' to the compiler." >&5 14674 printf "%s\n" "$as_me: WARNING: --enable-powerpc-vsx: please specify 'check' or 'api', if 13741 14675 you want the optimizations unconditionally pass '-maltivec -mvsx' 13742 or '-mcpu=power8' to the compiler." >&2;};;14676 or '-mcpu=power8' to the compiler." >&2;};; 13743 14677 *) 13744 14678 as_fn_error $? "--enable-powerpc-vsx=${enable_powerpc_vsx}: invalid value" "$LINENO" 5 … … 13747 14681 13748 14682 13749 # Add PowerPC specific files to all builds where the host_cpu is powerpc('powerpc*') or13750 # where POWERPC optimizations were explicitly requested (this allows a fallback if a13751 # future host CPU does not match 'powerpc*')14683 # Add PowerPC-specific files to all builds where $host_cpu is powerpc('powerpc*') 14684 # or where PowerPC optimizations were explicitly requested (this allows a fallback 14685 # if a future host CPU does not match 'powerpc*') 13752 14686 13753 14687 if test "$enable_powerpc_vsx" != 'no' && 13754 14688 case "$host_cpu" in 13755 powerpc*|ppc64*) : ;;14689 powerpc*|ppc64*) : ;; 13756 14690 esac; then 13757 14691 PNG_POWERPC_VSX_TRUE= … … 13763 14697 13764 14698 13765 13766 { $as_echo "$as_me:${as_lineno-$LINENO}: Extra options for compiler: $PNG_COPTS" >&5 13767 $as_echo "$as_me: Extra options for compiler: $PNG_COPTS" >&6;} 14699 # LOONGARCH 14700 # === 14701 # 14702 # LOONGARCH LSX (SIMD) support 14703 14704 if test "$LSX_CFLAGS" = ''; then 14705 LSX_CFLAGS="-mlsx" 14706 fi 14707 14708 compiler_support_loongarch_lsx=no 14709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use loongarch LSX intrinsics" >&5 14710 printf %s "checking whether to use loongarch LSX intrinsics... " >&6; } 14711 save_CFLAGS=$CFLAGS 14712 CFLAGS="$CFLAGS $LSX_CFLAGS" 14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14714 /* end confdefs.h. */ 14715 14716 #include<lsxintrin.h> 14717 int main(){ 14718 __m128i a, b, c; 14719 a = __lsx_vadd_w(b, c); 14720 return 0; 14721 } 14722 _ACEOF 14723 if ac_fn_c_try_compile "$LINENO" 14724 then : 14725 compiler_support_loongarch_lsx=yes 14726 fi 14727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14728 CFLAGS=$save_CFLAGS 14729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $compiler_support_loongarch_lsx" >&5 14730 printf "%s\n" "$compiler_support_loongarch_lsx" >&6; } 14731 14732 # Check whether --enable-loongarch-lsx was given. 14733 if test ${enable_loongarch_lsx+y} 14734 then : 14735 enableval=$enable_loongarch_lsx; case "$enableval" in 14736 no|off) 14737 # disable the default enabling on __loongarch_simd systems: 14738 14739 printf "%s\n" "#define PNG_LOONGARCH_LSX_OPT 0" >>confdefs.h 14740 14741 # Prevent inclusion of the assembler files below: 14742 enable_loongarch_lsx=no;; 14743 yes|on) 14744 14745 printf "%s\n" "#define PNG_LOONGARCH_LSX_OPT 1" >>confdefs.h 14746 14747 ;; 14748 *) 14749 as_fn_error $? "--enable-loongarch-lsx=${enable_loongarch_lsx}: invalid value" "$LINENO" 5 14750 esac 14751 fi 14752 14753 14754 if test "$enable_loongarch_lsx" != 'no'; then 14755 if test $compiler_support_loongarch_lsx = yes; then 14756 14757 printf "%s\n" "#define PNG_LOONGARCH_LSX_OPT 1" >>confdefs.h 14758 14759 else 14760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Compiler does not support loongarch LSX." >&5 14761 printf "%s\n" "$as_me: WARNING: Compiler does not support loongarch LSX." >&2;} 14762 fi 14763 fi 14764 14765 # Add LOONGARCH specific files to all builds where the host_cpu is loongarch ('loongarch*') or 14766 # where LOONGARCH optimizations were explicitly requested (this allows a fallback if a 14767 # future host CPU does not match 'loongarch*') 14768 14769 if test "$enable_loongarch_lsx" != 'no' && test $compiler_support_loongarch_lsx = yes && 14770 case "$host_cpu" in 14771 loongarch*) :;; 14772 *) test "$enable_loongarch_lsx" != '';; 14773 esac; then 14774 PNG_LOONGARCH_LSX_TRUE= 14775 PNG_LOONGARCH_LSX_FALSE='#' 14776 else 14777 PNG_LOONGARCH_LSX_TRUE='#' 14778 PNG_LOONGARCH_LSX_FALSE= 14779 fi 14780 14781 14782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Extra options for compiler: $PNG_COPTS" >&5 14783 printf "%s\n" "$as_me: Extra options for compiler: $PNG_COPTS" >&6;} 13768 14784 13769 14785 # Config files, substituting as above … … 13783 14799 # the --recheck option to rerun configure. 13784 14800 # 13785 # `ac_cv_env_foo' variables (set or unset) will be overridden when13786 # loading this file, other *unset* `ac_cv_foo' will be assigned the14801 # 'ac_cv_env_foo' variables (set or unset) will be overridden when 14802 # loading this file, other *unset* 'ac_cv_foo' will be assigned the 13787 14803 # following values. 13788 14804 … … 13800 14816 *${as_nl}*) 13801 14817 case $ac_var in #( 13802 *_cv_*) { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&513803 $as_echo"$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;14818 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 14819 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13804 14820 esac 13805 14821 case $ac_var in #( … … 13814 14830 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13815 14831 *${as_nl}ac_space=\ *) 13816 # `set' does not quote correctly, so add quotes: double-quote14832 # 'set' does not quote correctly, so add quotes: double-quote 13817 14833 # substitution turns \\\\ into \\, and sed turns \\ into \. 13818 14834 sed -n \ … … 13821 14837 ;; #( 13822 14838 *) 13823 # `set' quotes correctly as required by POSIX, so do not add quotes.14839 # 'set' quotes correctly as required by POSIX, so do not add quotes. 13824 14840 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13825 14841 ;; … … 13831 14847 t clear 13832 14848 :clear 13833 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set|| &/14849 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 13834 14850 t end 13835 14851 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ … … 13838 14854 if test -w "$cache_file"; then 13839 14855 if test "x$cache_file" != "x/dev/null"; then 13840 { $as_echo"$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&513841 $as_echo"$as_me: updating cache $cache_file" >&6;}14856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 14857 printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 13842 14858 if test ! -f "$cache_file" || test -h "$cache_file"; then 13843 14859 cat confcache >"$cache_file" … … 13853 14869 fi 13854 14870 else 13855 { $as_echo"$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&513856 $as_echo"$as_me: not updating unwritable cache $cache_file" >&6;}14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 14872 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 13857 14873 fi 13858 14874 fi … … 13871 14887 # 1. Remove the extension, and $U if already installed. 13872 14888 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13873 ac_i=` $as_echo"$ac_i" | sed "$ac_script"`14889 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 13874 14890 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13875 14891 # will be set to the directory where LIBOBJS objects are built. … … 13882 14898 13883 14899 13884 { $as_echo"$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&513885 $as_echo_n"checking that generated files are newer than configure... " >&6; }14900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 14901 printf %s "checking that generated files are newer than configure... " >&6; } 13886 14902 if test -n "$am_sleep_pid"; then 13887 14903 # Hide warnings about reused PIDs. 13888 14904 wait $am_sleep_pid 2>/dev/null 13889 14905 fi 13890 { $as_echo"$as_me:${as_lineno-$LINENO}: result: done" >&513891 $as_echo"done" >&6; }14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 14907 printf "%s\n" "done" >&6; } 13892 14908 if test -n "$EXEEXT"; then 13893 14909 am__EXEEXT_TRUE= … … 13914 14930 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13915 14931 fi 14932 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then 14933 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined. 14934 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14935 fi 14936 if test -z "${ENABLE_TOOLS_TRUE}" && test -z "${ENABLE_TOOLS_FALSE}"; then 14937 as_fn_error $? "conditional \"ENABLE_TOOLS\" was never defined. 14938 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14939 fi 13916 14940 if test -z "${HAVE_CLOCK_GETTIME_TRUE}" && test -z "${HAVE_CLOCK_GETTIME_FALSE}"; then 13917 14941 as_fn_error $? "conditional \"HAVE_CLOCK_GETTIME\" was never defined. … … 13950 14974 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13951 14975 fi 14976 if test -z "${PNG_MIPS_MMI_TRUE}" && test -z "${PNG_MIPS_MMI_FALSE}"; then 14977 as_fn_error $? "conditional \"PNG_MIPS_MMI\" was never defined. 14978 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14979 fi 13952 14980 if test -z "${PNG_INTEL_SSE_TRUE}" && test -z "${PNG_INTEL_SSE_FALSE}"; then 13953 14981 as_fn_error $? "conditional \"PNG_INTEL_SSE\" was never defined. … … 13956 14984 if test -z "${PNG_POWERPC_VSX_TRUE}" && test -z "${PNG_POWERPC_VSX_FALSE}"; then 13957 14985 as_fn_error $? "conditional \"PNG_POWERPC_VSX\" was never defined. 14986 Usually this means the macro was only invoked conditionally." "$LINENO" 5 14987 fi 14988 if test -z "${PNG_LOONGARCH_LSX_TRUE}" && test -z "${PNG_LOONGARCH_LSX_FALSE}"; then 14989 as_fn_error $? "conditional \"PNG_LOONGARCH_LSX\" was never defined. 13958 14990 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13959 14991 fi … … 13963 14995 ac_clean_files_save=$ac_clean_files 13964 14996 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13965 { $as_echo"$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&513966 $as_echo"$as_me: creating $CONFIG_STATUS" >&6;}14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 14998 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 13967 14999 as_write_fail=0 13968 15000 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 … … 13987 15019 # Be more Bourne compatible 13988 15020 DUALCASE=1; export DUALCASE # for MKS sh 13989 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15021 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 15022 then : 13990 15023 emulate sh 13991 15024 NULLCMD=: … … 13994 15027 alias -g '${1+"$@"}'='"$@"' 13995 15028 setopt NO_GLOB_SUBST 13996 else 13997 case `(set -o) 2>/dev/null` in #(15029 else case e in #( 15030 e) case `(set -o) 2>/dev/null` in #( 13998 15031 *posix*) : 13999 15032 set -o posix ;; #( 14000 15033 *) : 14001 15034 ;; 14002 esac 14003 fi 14004 14005 15035 esac ;; 15036 esac 15037 fi 15038 15039 15040 15041 # Reset variables that may have inherited troublesome values from 15042 # the environment. 15043 15044 # IFS needs to be set, to space, tab, and newline, in precisely that order. 15045 # (If _AS_PATH_WALK were called with IFS unset, it would have the 15046 # side effect of setting IFS to empty, thus disabling word splitting.) 15047 # Quoting is to prevent editors from complaining about space-tab. 14006 15048 as_nl=' 14007 15049 ' 14008 15050 export as_nl 14009 # Printing a long string crashes Solaris 7 /usr/bin/printf. 14010 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14011 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14012 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14013 # Prefer a ksh shell builtin over an external printf program on Solaris, 14014 # but without wasting forks for bash or zsh. 14015 if test -z "$BASH_VERSION$ZSH_VERSION" \ 14016 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 14017 as_echo='print -r --' 14018 as_echo_n='print -rn --' 14019 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14020 as_echo='printf %s\n' 14021 as_echo_n='printf %s' 14022 else 14023 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 14024 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 14025 as_echo_n='/usr/ucb/echo -n' 14026 else 14027 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14028 as_echo_n_body='eval 14029 arg=$1; 14030 case $arg in #( 14031 *"$as_nl"*) 14032 expr "X$arg" : "X\\(.*\\)$as_nl"; 14033 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14034 esac; 14035 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 14036 ' 14037 export as_echo_n_body 14038 as_echo_n='sh -c $as_echo_n_body as_echo' 14039 fi 14040 export as_echo_body 14041 as_echo='sh -c $as_echo_body as_echo' 14042 fi 15051 IFS=" "" $as_nl" 15052 15053 PS1='$ ' 15054 PS2='> ' 15055 PS4='+ ' 15056 15057 # Ensure predictable behavior from utilities with locale-dependent output. 15058 LC_ALL=C 15059 export LC_ALL 15060 LANGUAGE=C 15061 export LANGUAGE 15062 15063 # We cannot yet rely on "unset" to work, but we need these variables 15064 # to be unset--not just set to an empty or harmless value--now, to 15065 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 15066 # also avoids known problems related to "unset" and subshell syntax 15067 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 15068 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 15069 do eval test \${$as_var+y} \ 15070 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15071 done 15072 15073 # Ensure that fds 0, 1, and 2 are open. 15074 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 15075 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 15076 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 14043 15077 14044 15078 # The user is always right. 14045 if test "${PATH_SEPARATOR+set}" != set; then15079 if ${PATH_SEPARATOR+false} :; then 14046 15080 PATH_SEPARATOR=: 14047 15081 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { … … 14051 15085 fi 14052 15086 14053 14054 # IFS14055 # We need space, tab and new line, in precisely that order. Quoting is14056 # there to prevent editors from complaining about space-tab.14057 # (If _AS_PATH_WALK were called with IFS unset, it would disable word14058 # splitting by setting IFS to empty value.)14059 IFS=" "" $as_nl"14060 15087 14061 15088 # Find who we are. Look in the path if we contain no directory separator. … … 14067 15094 do 14068 15095 IFS=$as_save_IFS 14069 test -z "$as_dir" && as_dir=. 14070 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15096 case $as_dir in #((( 15097 '') as_dir=./ ;; 15098 */) ;; 15099 *) as_dir=$as_dir/ ;; 15100 esac 15101 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 14071 15102 done 14072 15103 IFS=$as_save_IFS … … 14074 15105 ;; 14075 15106 esac 14076 # We did not find ourselves, most probably we were run as `sh COMMAND'15107 # We did not find ourselves, most probably we were run as 'sh COMMAND' 14077 15108 # in which case we are not to be found in the path. 14078 15109 if test "x$as_myself" = x; then … … 14080 15111 fi 14081 15112 if test ! -f "$as_myself"; then 14082 $as_echo"$as_myself: error: cannot find myself; rerun with an absolute file name" >&215113 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14083 15114 exit 1 14084 15115 fi 14085 15116 14086 # Unset variables that we do not need and which cause bugs (e.g. in14087 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"14088 # suppresses any "Segmentation fault" message there. '((' could14089 # trigger a bug in pdksh 5.2.14.14090 for as_var in BASH_ENV ENV MAIL MAILPATH14091 do eval test x\${$as_var+set} = xset \14092 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :14093 done14094 PS1='$ '14095 PS2='> '14096 PS4='+ '14097 14098 # NLS nuisances.14099 LC_ALL=C14100 export LC_ALL14101 LANGUAGE=C14102 export LANGUAGE14103 14104 # CDPATH.14105 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH14106 15117 14107 15118 … … 14116 15127 if test "$4"; then 14117 15128 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14118 $as_echo"$as_me:${as_lineno-$LINENO}: error: $2" >&$415129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14119 15130 fi 14120 $as_echo"$as_me: error: $2" >&215131 printf "%s\n" "$as_me: error: $2" >&2 14121 15132 as_fn_exit $as_status 14122 15133 } # as_fn_error … … 14149 15160 } 14150 15161 as_unset=as_fn_unset 15162 14151 15163 # as_fn_append VAR VALUE 14152 15164 # ---------------------- … … 14155 15167 # repeated appends, instead of the typical quadratic growth present in naive 14156 15168 # implementations. 14157 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15169 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 15170 then : 14158 15171 eval 'as_fn_append () 14159 15172 { 14160 15173 eval $1+=\$2 14161 15174 }' 14162 else 14163 as_fn_append ()15175 else case e in #( 15176 e) as_fn_append () 14164 15177 { 14165 15178 eval $1=\$$1\$2 14166 } 15179 } ;; 15180 esac 14167 15181 fi # as_fn_append 14168 15182 … … 14172 15186 # global $as_val. Take advantage of shells that can avoid forks. The arguments 14173 15187 # must be portable across $(()) and expr. 14174 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15188 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 15189 then : 14175 15190 eval 'as_fn_arith () 14176 15191 { 14177 15192 as_val=$(( $* )) 14178 15193 }' 14179 else 14180 as_fn_arith ()15194 else case e in #( 15195 e) as_fn_arith () 14181 15196 { 14182 15197 as_val=`expr "$@" || test $? -eq 1` 14183 } 15198 } ;; 15199 esac 14184 15200 fi # as_fn_arith 14185 15201 … … 14208 15224 X"$0" : 'X\(//\)$' \| \ 14209 15225 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14210 $as_echoX/"$0" |15226 printf "%s\n" X/"$0" | 14211 15227 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14212 15228 s//\1/ … … 14230 15246 as_cr_alnum=$as_cr_Letters$as_cr_digits 14231 15247 15248 15249 # Determine whether it's possible to make 'echo' print without a newline. 15250 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 15251 # for compatibility with existing Makefiles. 14232 15252 ECHO_C= ECHO_N= ECHO_T= 14233 15253 case `echo -n x` in #((((( … … 14243 15263 esac 14244 15264 15265 # For backward compatibility with old third-party macros, we provide 15266 # the shell variables $as_echo and $as_echo_n. New code should use 15267 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 15268 as_echo='printf %s\n' 15269 as_echo_n='printf %s' 15270 14245 15271 rm -f conf$$ conf$$.exe conf$$.file 14246 15272 if test -d conf$$.dir; then … … 14254 15280 as_ln_s='ln -s' 14255 15281 # ... but there are two gotchas: 14256 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.14257 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.14258 # In both cases, we have to default to `cp -pR'.15282 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. 15283 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. 15284 # In both cases, we have to default to 'cp -pR'. 14259 15285 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14260 15286 as_ln_s='cp -pR' … … 14284 15310 while :; do 14285 15311 case $as_dir in #( 14286 *\'*) as_qdir=` $as_echo"$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(15312 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14287 15313 *) as_qdir=$as_dir;; 14288 15314 esac … … 14293 15319 X"$as_dir" : 'X\(//\)$' \| \ 14294 15320 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14295 $as_echoX"$as_dir" |15321 printf "%s\n" X"$as_dir" | 14296 15322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14297 15323 s//\1/ … … 14337 15363 14338 15364 # Sed expression to map a string onto a valid CPP name. 14339 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15365 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 15366 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated 14340 15367 14341 15368 # Sed expression to map a string onto a valid variable name. 14342 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15369 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 15370 as_tr_sh="eval sed '$as_sed_sh'" # deprecated 14343 15371 14344 15372 … … 14355 15383 # values after options handling. 14356 15384 ac_log=" 14357 This file was extended by libpng $as_me 1.6. 37, which was14358 generated by GNU Autoconf 2. 69. Invocation command line was15385 This file was extended by libpng $as_me 1.6.42, which was 15386 generated by GNU Autoconf 2.72. Invocation command line was 14359 15387 14360 15388 CONFIG_FILES = $CONFIG_FILES … … 14388 15416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14389 15417 ac_cs_usage="\ 14390 \`$as_me' instantiates files and other configuration actions15418 '$as_me' instantiates files and other configuration actions 14391 15419 from templates according to the current configuration. Unless the files 14392 15420 and actions are specified as TAGs, all are instantiated by default. … … 14418 15446 14419 15447 _ACEOF 15448 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 15449 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 14420 15450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14421 ac_cs_config= "`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"15451 ac_cs_config='$ac_cs_config_escaped' 14422 15452 ac_cs_version="\\ 14423 libpng config.status 1.6. 3714424 configured by $0, generated by GNU Autoconf 2. 69,15453 libpng config.status 1.6.42 15454 configured by $0, generated by GNU Autoconf 2.72, 14425 15455 with options \\"\$ac_cs_config\\" 14426 15456 14427 Copyright (C) 20 12Free Software Foundation, Inc.15457 Copyright (C) 2023 Free Software Foundation, Inc. 14428 15458 This config.status script is free software; the Free Software Foundation 14429 15459 gives unlimited permission to copy, distribute and modify it." … … 14465 15495 ac_cs_recheck=: ;; 14466 15496 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14467 $as_echo"$ac_cs_version"; exit ;;15497 printf "%s\n" "$ac_cs_version"; exit ;; 14468 15498 --config | --confi | --conf | --con | --co | --c ) 14469 $as_echo"$ac_cs_config"; exit ;;15499 printf "%s\n" "$ac_cs_config"; exit ;; 14470 15500 --debug | --debu | --deb | --de | --d | -d ) 14471 15501 debug=: ;; … … 14473 15503 $ac_shift 14474 15504 case $ac_optarg in 14475 *\'*) ac_optarg=` $as_echo"$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;15505 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14476 15506 '') as_fn_error $? "missing file argument" ;; 14477 15507 esac … … 14481 15511 $ac_shift 14482 15512 case $ac_optarg in 14483 *\'*) ac_optarg=` $as_echo"$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;15513 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14484 15514 esac 14485 15515 as_fn_append CONFIG_HEADERS " '$ac_optarg'" … … 14487 15517 --he | --h) 14488 15518 # Conflict between --help and --header 14489 as_fn_error $? "ambiguous option: \`$1'14490 Try \`$0 --help' for more information.";;15519 as_fn_error $? "ambiguous option: '$1' 15520 Try '$0 --help' for more information.";; 14491 15521 --help | --hel | -h ) 14492 $as_echo"$ac_cs_usage"; exit ;;15522 printf "%s\n" "$ac_cs_usage"; exit ;; 14493 15523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14494 15524 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 14496 15526 14497 15527 # This is an error. 14498 -*) as_fn_error $? "unrecognized option: \`$1'14499 Try \`$0 --help' for more information." ;;15528 -*) as_fn_error $? "unrecognized option: '$1' 15529 Try '$0 --help' for more information." ;; 14500 15530 14501 15531 *) as_fn_append ac_config_targets " $1" … … 14518 15548 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14519 15549 shift 14520 \ $as_echo"running CONFIG_SHELL=$SHELL \$*" >&615550 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 14521 15551 CONFIG_SHELL='$SHELL' 14522 15552 export CONFIG_SHELL … … 14532 15562 ## Running $as_me. ## 14533 15563 _ASBOX 14534 $as_echo"$ac_log"15564 printf "%s\n" "$ac_log" 14535 15565 } >&5 14536 15566 … … 14587 15617 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14588 15618 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 15619 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`' 14589 15620 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14590 15621 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' … … 14593 15624 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14594 15625 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 15626 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`' 14595 15627 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14596 15628 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' … … 14716 15748 lt_NL2SP \ 14717 15749 reload_flag \ 15750 FILECMD \ 14718 15751 deplibs_check_method \ 14719 15752 file_magic_cmd \ … … 14722 15755 sharedlib_from_linklib_cmd \ 14723 15756 AR \ 14724 AR_FLAGS \14725 15757 archiver_list_spec \ 14726 15758 STRIP \ … … 14842 15874 "libpng-config") CONFIG_FILES="$CONFIG_FILES libpng-config:libpng-config.in" ;; 14843 15875 14844 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;15876 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; 14845 15877 esac 14846 15878 done … … 14852 15884 # bizarre bug on SunOS 4.1.3. 14853 15885 if $ac_need_defaults; then 14854 test "${CONFIG_FILES+set}" = set|| CONFIG_FILES=$config_files14855 test "${CONFIG_HEADERS+set}" = set|| CONFIG_HEADERS=$config_headers14856 test "${CONFIG_COMMANDS+set}" = set|| CONFIG_COMMANDS=$config_commands15886 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 15887 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 15888 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 14857 15889 fi 14858 15890 … … 14862 15894 # Hook for its removal unless debugging. 14863 15895 # Note that there is a small window in which the directory will not be cleaned: 14864 # after its creation but before its name has been assigned to `$tmp'.15896 # after its creation but before its name has been assigned to '$tmp'. 14865 15897 $debug || 14866 15898 { … … 14886 15918 # Set up the scripts for CONFIG_FILES section. 14887 15919 # No need to generate them if there are no CONFIG_FILES. 14888 # This happens for instance with `./config.status config.h'.15920 # This happens for instance with './config.status config.h'. 14889 15921 if test -n "$CONFIG_FILES"; then 14890 15922 … … 15044 16076 # Set up the scripts for CONFIG_HEADERS section. 15045 16077 # No need to generate them if there are no CONFIG_HEADERS. 15046 # This happens for instance with `./config.status Makefile'.16078 # This happens for instance with './config.status Makefile'. 15047 16079 if test -n "$CONFIG_HEADERS"; then 15048 16080 cat >"$ac_tmp/defines.awk" <<\_ACAWK || … … 15050 16082 _ACEOF 15051 16083 15052 # Transform confdefs.h into an awk script `defines.awk', embedded as16084 # Transform confdefs.h into an awk script 'defines.awk', embedded as 15053 16085 # here-document in config.status, that substitutes the proper values into 15054 16086 # config.h.in to produce config.h. … … 15160 16192 case $ac_mode$ac_tag in 15161 16193 :[FHL]*:*);; 15162 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;16194 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; 15163 16195 :[FH]-) ac_tag=-:-;; 15164 16196 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 15182 16214 *) # Look for the file first in the build tree, then in the source tree 15183 16215 # (if the path is not absolute). The absolute path cannot be DOS-style, 15184 # because $ac_f cannot contain `:'.16216 # because $ac_f cannot contain ':'. 15185 16217 test -f "$ac_f" || 15186 16218 case $ac_f in … … 15188 16220 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15189 16221 esac || 15190 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;16222 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; 15191 16223 esac 15192 case $ac_f in *\'*) ac_f=` $as_echo"$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac16224 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15193 16225 as_fn_append ac_file_inputs " '$ac_f'" 15194 16226 done 15195 16227 15196 # Let's still pretend it is `configure' which instantiates (i.e., don't16228 # Let's still pretend it is 'configure' which instantiates (i.e., don't 15197 16229 # use $as_me), people would be surprised to read: 15198 16230 # /* config.h. Generated by config.status. */ 15199 16231 configure_input='Generated from '` 15200 $as_echo"$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'16232 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15201 16233 `' by configure.' 15202 16234 if test x"$ac_file" != x-; then 15203 16235 configure_input="$ac_file. $configure_input" 15204 { $as_echo"$as_me:${as_lineno-$LINENO}: creating $ac_file" >&515205 $as_echo"$as_me: creating $ac_file" >&6;}16236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16237 printf "%s\n" "$as_me: creating $ac_file" >&6;} 15206 16238 fi 15207 16239 # Neutralize special characters interpreted by sed in replacement strings. 15208 16240 case $configure_input in #( 15209 16241 *\&* | *\|* | *\\* ) 15210 ac_sed_conf_input=` $as_echo"$configure_input" |16242 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 15211 16243 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15212 16244 *) ac_sed_conf_input=$configure_input;; … … 15225 16257 X"$ac_file" : 'X\(//\)$' \| \ 15226 16258 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15227 $as_echoX"$ac_file" |16259 printf "%s\n" X"$ac_file" | 15228 16260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15229 16261 s//\1/ … … 15249 16281 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15250 16282 *) 15251 ac_dir_suffix=/` $as_echo"$ac_dir" | sed 's|^\.[\\/]||'`16283 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 15252 16284 # A ".." for each directory in $ac_dir_suffix. 15253 ac_top_builddir_sub=` $as_echo"$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`16285 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15254 16286 case $ac_top_builddir_sub in 15255 16287 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 15313 16345 *datarootdir*) ac_datarootdir_seen=yes;; 15314 16346 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15315 { $as_echo"$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&515316 $as_echo"$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}16347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16348 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15317 16349 _ACEOF 15318 16350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 … … 15327 16359 _ACEOF 15328 16360 15329 # Neutralize VPATH when `$srcdir' = `.'.16361 # Neutralize VPATH when '$srcdir' = '.'. 15330 16362 # Shell code in configure.ac might set extrasub. 15331 16363 # FIXME: do we really want to maintain this feature? … … 15358 16390 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 15359 16391 "$ac_tmp/out"`; test -z "$ac_out"; } && 15360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'16392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' 15361 16393 which seems to be undefined. Please make sure it is defined" >&5 15362 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'16394 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' 15363 16395 which seems to be undefined. Please make sure it is defined" >&2;} 15364 16396 … … 15376 16408 if test x"$ac_file" != x-; then 15377 16409 { 15378 $as_echo "/* $configure_input */"\16410 printf "%s\n" "/* $configure_input */" >&1 \ 15379 16411 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 15380 16412 } >"$ac_tmp/config.h" \ 15381 16413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15382 16414 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 15383 { $as_echo"$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&515384 $as_echo"$as_me: $ac_file is unchanged" >&6;}16415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16416 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 15385 16417 else 15386 16418 rm -f "$ac_file" … … 15389 16421 fi 15390 16422 else 15391 $as_echo "/* $configure_input */"\16423 printf "%s\n" "/* $configure_input */" >&1 \ 15392 16424 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 15393 16425 || as_fn_error $? "could not create -" "$LINENO" 5 … … 15409 16441 X"$_am_arg" : 'X\(//\)$' \| \ 15410 16442 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15411 $as_echoX"$_am_arg" |16443 printf "%s\n" X"$_am_arg" | 15412 16444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15413 16445 s//\1/ … … 15429 16461 ;; 15430 16462 15431 :C) { $as_echo"$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&515432 $as_echo"$as_me: executing $ac_file commands" >&6;}16463 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16464 printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 15433 16465 ;; 15434 16466 esac … … 15456 16488 do 15457 16489 # Strip MF so we end up with the name of the file. 15458 am_mf=` $as_echo"$am_mf" | sed -e 's/:.*$//'`16490 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` 15459 16491 # Check whether this is an Automake generated Makefile which includes 15460 16492 # dependency-tracking related rules and includes. … … 15468 16500 X"$am_mf" : 'X\(//\)$' \| \ 15469 16501 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 15470 $as_echoX"$am_mf" |16502 printf "%s\n" X"$am_mf" | 15471 16503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15472 16504 s//\1/ … … 15490 16522 X"$am_mf" : 'X\(//\)$' \| \ 15491 16523 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 15492 $as_echoX/"$am_mf" |16524 printf "%s\n" X/"$am_mf" | 15493 16525 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15494 16526 s//\1/ … … 15515 16547 done 15516 16548 if test $am_rc -ne 0; then 15517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&515518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}16549 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 16550 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 15519 16551 as_fn_error $? "Something went wrong bootstrapping makefile fragments 15520 for automatic dependency tracking. Try re-running configure with the 16552 for automatic dependency tracking. If GNU make was not used, consider 16553 re-running the configure script with MAKE=\"gmake\" (or whatever is 16554 necessary). You can also try re-running configure with the 15521 16555 '--disable-dependency-tracking' option to at least be able to build 15522 16556 the package (albeit without support for automatic dependency tracking). 15523 See \`config.log' for more details" "$LINENO" 5; }16557 See 'config.log' for more details" "$LINENO" 5; } 15524 16558 fi 15525 16559 { am_dirpart=; unset am_dirpart;} … … 15674 16708 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15675 16709 16710 # A file(cmd) program that detects file types. 16711 FILECMD=$lt_FILECMD 16712 15676 16713 # Method to check whether dependent libraries are shared objects. 15677 16714 deplibs_check_method=$lt_deplibs_check_method … … 15692 16729 AR=$lt_AR 15693 16730 16731 # Flags to create an archive (by configure). 16732 lt_ar_flags=$lt_ar_flags 16733 15694 16734 # Flags to create an archive. 15695 AR_FLAGS= $lt_AR_FLAGS16735 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"} 15696 16736 15697 16737 # How to feed a file listing to the archiver. … … 16061 17101 16062 17102 17103 16063 17104 ltmain=$ac_aux_dir/ltmain.sh 16064 17105 … … 16068 17109 # text mode, it properly converts lines to CR/LF. This bash problem 16069 17110 # is reportedly fixed, but why not run on old versions too? 16070 sed'$q' "$ltmain" >> "$cfgfile" \17111 $SED '$q' "$ltmain" >> "$cfgfile" \ 16071 17112 || (rm -f "$cfgfile"; exit 1) 16072 17113 … … 16111 17152 fi 16112 17153 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16114 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16115 fi 16116 17154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17155 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17156 fi 17157 17158
Note:
See TracChangeset
for help on using the changeset viewer.