1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.71 for ivykis-test-mt 0.1. 4# 5# Report bugs to <libivykis-discuss@lists.sourceforge.net>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9# Inc. 10# 11# 12# This configure script is free software; the Free Software Foundation 13# gives unlimited permission to copy, distribute and modify it. 14## -------------------- ## 15## M4sh Initialization. ## 16## -------------------- ## 17 18# Be more Bourne compatible 19DUALCASE=1; export DUALCASE # for MKS sh 20as_nop=: 21if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22then : 23 emulate sh 24 NULLCMD=: 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26 # is contrary to our usage. Disable this feature. 27 alias -g '${1+"$@"}'='"$@"' 28 setopt NO_GLOB_SUBST 29else $as_nop 30 case `(set -o) 2>/dev/null` in #( 31 *posix*) : 32 set -o posix ;; #( 33 *) : 34 ;; 35esac 36fi 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. 47as_nl=' 48' 49export as_nl 50IFS=" "" $as_nl" 51 52PS1='$ ' 53PS2='> ' 54PS4='+ ' 55 56# Ensure predictable behavior from utilities with locale-dependent output. 57LC_ALL=C 58export LC_ALL 59LANGUAGE=C 60export 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). 67for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68do eval test \${$as_var+y} \ 69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70done 71 72# Ensure that fds 0, 1, and 2 are open. 73if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 76 77# The user is always right. 78if ${PATH_SEPARATOR+false} :; then 79 PATH_SEPARATOR=: 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 82 PATH_SEPARATOR=';' 83 } 84fi 85 86 87# Find who we are. Look in the path if we contain no directory separator. 88as_myself= 89case $0 in #(( 90 *[\\/]* ) as_myself=$0 ;; 91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 92for as_dir in $PATH 93do 94 IFS=$as_save_IFS 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 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116 117# Use a proper internal environment variable to ensure we don't fall 118 # into an infinite loop, continuously re-executing ourselves. 119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 120 _as_can_reexec=no; export _as_can_reexec; 121 # We cannot yet assume a decent shell, so we have to provide a 122# neutralization value for shells without unset; and this also 123# works around shells that cannot unset nonexistent variables. 124# Preserve -v and -x to the replacement shell. 125BASH_ENV=/dev/null 126ENV=/dev/null 127(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 128case $- in # (((( 129 *v*x* | *x*v* ) as_opts=-vx ;; 130 *v* ) as_opts=-v ;; 131 *x* ) as_opts=-x ;; 132 * ) as_opts= ;; 133esac 134exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 135# Admittedly, this is quite paranoid, since all the known shells bail 136# out after a failed `exec'. 137printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138exit 255 139 fi 140 # We don't want this to propagate to other subprocesses. 141 { _as_can_reexec=; unset _as_can_reexec;} 142if test "x$CONFIG_SHELL" = x; then 143 as_bourne_compatible="as_nop=: 144if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145then : 146 emulate sh 147 NULLCMD=: 148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 149 # is contrary to our usage. Disable this feature. 150 alias -g '\${1+\"\$@\"}'='\"\$@\"' 151 setopt NO_GLOB_SUBST 152else \$as_nop 153 case \`(set -o) 2>/dev/null\` in #( 154 *posix*) : 155 set -o posix ;; #( 156 *) : 157 ;; 158esac 159fi 160" 161 as_required="as_fn_return () { (exit \$1); } 162as_fn_success () { as_fn_return 0; } 163as_fn_failure () { as_fn_return 1; } 164as_fn_ret_success () { return 0; } 165as_fn_ret_failure () { return 1; } 166 167exitcode=0 168as_fn_success || { exitcode=1; echo as_fn_success failed.; } 169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 172if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173then : 174 175else \$as_nop 176 exitcode=1; echo positional parameters were not saved. 177fi 178test x\$exitcode = x0 || exit 1 179blah=\$(echo \$(echo blah)) 180test x\"\$blah\" = xblah || exit 1 181test -x / || exit 1" 182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 186 187 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 188 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 189 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 190 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 191 PATH=/empty FPATH=/empty; export PATH FPATH 192 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 193 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 194test \$(( 1 + 1 )) = 2 || exit 1" 195 if (eval "$as_required") 2>/dev/null 196then : 197 as_have_required=yes 198else $as_nop 199 as_have_required=no 200fi 201 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 202then : 203 204else $as_nop 205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 206as_found=false 207for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 208do 209 IFS=$as_save_IFS 210 case $as_dir in #((( 211 '') as_dir=./ ;; 212 */) ;; 213 *) as_dir=$as_dir/ ;; 214 esac 215 as_found=: 216 case $as_dir in #( 217 /*) 218 for as_base in sh bash ksh sh5; do 219 # Try only shells that exist, to save several forks. 220 as_shell=$as_dir$as_base 221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 222 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 223then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 226then : 227 break 2 228fi 229fi 230 done;; 231 esac 232 as_found=false 233done 234IFS=$as_save_IFS 235if $as_found 236then : 237 238else $as_nop 239 if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 241then : 242 CONFIG_SHELL=$SHELL as_have_required=yes 243fi 244fi 245 246 247 if test "x$CONFIG_SHELL" != x 248then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno 271then : 272 printf "%s\n" "$0: This script requires a shell more modern than all" 273 printf "%s\n" "$0: the shells that I found on your system." 274 if test ${ZSH_VERSION+y} ; then 275 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 276 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 277 else 278 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 279$0: libivykis-discuss@lists.sourceforge.net about your 280$0: system, including any error possibly output before this 281$0: message. Then install a modern shell, or manually run 282$0: the script under such a shell if you do have one." 283 fi 284 exit 1 285fi 286fi 287fi 288SHELL=${CONFIG_SHELL-/bin/sh} 289export SHELL 290# Unset more variables known to interfere with behavior of common tools. 291CLICOLOR_FORCE= GREP_OPTIONS= 292unset CLICOLOR_FORCE GREP_OPTIONS 293 294## --------------------- ## 295## M4sh Shell Functions. ## 296## --------------------- ## 297# as_fn_unset VAR 298# --------------- 299# Portably unset VAR. 300as_fn_unset () 301{ 302 { eval $1=; unset $1;} 303} 304as_unset=as_fn_unset 305 306 307# as_fn_set_status STATUS 308# ----------------------- 309# Set $? to STATUS, without forking. 310as_fn_set_status () 311{ 312 return $1 313} # as_fn_set_status 314 315# as_fn_exit STATUS 316# ----------------- 317# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 318as_fn_exit () 319{ 320 set +e 321 as_fn_set_status $1 322 exit $1 323} # as_fn_exit 324# as_fn_nop 325# --------- 326# Do nothing but, unlike ":", preserve the value of $?. 327as_fn_nop () 328{ 329 return $? 330} 331as_nop=as_fn_nop 332 333# as_fn_mkdir_p 334# ------------- 335# Create "$as_dir" as a directory, including parents if necessary. 336as_fn_mkdir_p () 337{ 338 339 case $as_dir in #( 340 -*) as_dir=./$as_dir;; 341 esac 342 test -d "$as_dir" || eval $as_mkdir_p || { 343 as_dirs= 344 while :; do 345 case $as_dir in #( 346 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 347 *) as_qdir=$as_dir;; 348 esac 349 as_dirs="'$as_qdir' $as_dirs" 350 as_dir=`$as_dirname -- "$as_dir" || 351$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 352 X"$as_dir" : 'X\(//\)[^/]' \| \ 353 X"$as_dir" : 'X\(//\)$' \| \ 354 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 355printf "%s\n" X"$as_dir" | 356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 357 s//\1/ 358 q 359 } 360 /^X\(\/\/\)[^/].*/{ 361 s//\1/ 362 q 363 } 364 /^X\(\/\/\)$/{ 365 s//\1/ 366 q 367 } 368 /^X\(\/\).*/{ 369 s//\1/ 370 q 371 } 372 s/.*/./; q'` 373 test -d "$as_dir" && break 374 done 375 test -z "$as_dirs" || eval "mkdir $as_dirs" 376 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 377 378 379} # as_fn_mkdir_p 380 381# as_fn_executable_p FILE 382# ----------------------- 383# Test if FILE is an executable regular file. 384as_fn_executable_p () 385{ 386 test -f "$1" && test -x "$1" 387} # as_fn_executable_p 388# as_fn_append VAR VALUE 389# ---------------------- 390# Append the text in VALUE to the end of the definition contained in VAR. Take 391# advantage of any shell optimizations that allow amortized linear growth over 392# repeated appends, instead of the typical quadratic growth present in naive 393# implementations. 394if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 395then : 396 eval 'as_fn_append () 397 { 398 eval $1+=\$2 399 }' 400else $as_nop 401 as_fn_append () 402 { 403 eval $1=\$$1\$2 404 } 405fi # as_fn_append 406 407# as_fn_arith ARG... 408# ------------------ 409# Perform arithmetic evaluation on the ARGs, and store the result in the 410# global $as_val. Take advantage of shells that can avoid forks. The arguments 411# must be portable across $(()) and expr. 412if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 413then : 414 eval 'as_fn_arith () 415 { 416 as_val=$(( $* )) 417 }' 418else $as_nop 419 as_fn_arith () 420 { 421 as_val=`expr "$@" || test $? -eq 1` 422 } 423fi # as_fn_arith 424 425# as_fn_nop 426# --------- 427# Do nothing but, unlike ":", preserve the value of $?. 428as_fn_nop () 429{ 430 return $? 431} 432as_nop=as_fn_nop 433 434# as_fn_error STATUS ERROR [LINENO LOG_FD] 435# ---------------------------------------- 436# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 437# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 438# script with STATUS, using 1 if that was 0. 439as_fn_error () 440{ 441 as_status=$1; test $as_status -eq 0 && as_status=1 442 if test "$4"; then 443 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 445 fi 446 printf "%s\n" "$as_me: error: $2" >&2 447 as_fn_exit $as_status 448} # as_fn_error 449 450if expr a : '\(a\)' >/dev/null 2>&1 && 451 test "X`expr 00001 : '.*\(...\)'`" = X001; then 452 as_expr=expr 453else 454 as_expr=false 455fi 456 457if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 458 as_basename=basename 459else 460 as_basename=false 461fi 462 463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 464 as_dirname=dirname 465else 466 as_dirname=false 467fi 468 469as_me=`$as_basename -- "$0" || 470$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 471 X"$0" : 'X\(//\)$' \| \ 472 X"$0" : 'X\(/\)' \| . 2>/dev/null || 473printf "%s\n" X/"$0" | 474 sed '/^.*\/\([^/][^/]*\)\/*$/{ 475 s//\1/ 476 q 477 } 478 /^X\/\(\/\/\)$/{ 479 s//\1/ 480 q 481 } 482 /^X\/\(\/\).*/{ 483 s//\1/ 484 q 485 } 486 s/.*/./; q'` 487 488# Avoid depending upon Character Ranges. 489as_cr_letters='abcdefghijklmnopqrstuvwxyz' 490as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 491as_cr_Letters=$as_cr_letters$as_cr_LETTERS 492as_cr_digits='0123456789' 493as_cr_alnum=$as_cr_Letters$as_cr_digits 494 495 496 as_lineno_1=$LINENO as_lineno_1a=$LINENO 497 as_lineno_2=$LINENO as_lineno_2a=$LINENO 498 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 499 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 500 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 501 sed -n ' 502 p 503 /[$]LINENO/= 504 ' <$as_myself | 505 sed ' 506 s/[$]LINENO.*/&-/ 507 t lineno 508 b 509 :lineno 510 N 511 :loop 512 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 513 t loop 514 s/-\n.*// 515 ' >$as_me.lineno && 516 chmod +x "$as_me.lineno" || 517 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 518 519 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 520 # already done that, so ensure we don't try to do so again and fall 521 # in an infinite loop. This has already happened in practice. 522 _as_can_reexec=no; export _as_can_reexec 523 # Don't try to exec as it changes $[0], causing all sort of problems 524 # (the dirname of $[0] is not the place where we might find the 525 # original and so on. Autoconf is especially sensitive to this). 526 . "./$as_me.lineno" 527 # Exit status is that of the last command. 528 exit 529} 530 531 532# Determine whether it's possible to make 'echo' print without a newline. 533# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 534# for compatibility with existing Makefiles. 535ECHO_C= ECHO_N= ECHO_T= 536case `echo -n x` in #((((( 537-n*) 538 case `echo 'xy\c'` in 539 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 540 xy) ECHO_C='\c';; 541 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 542 ECHO_T=' ';; 543 esac;; 544*) 545 ECHO_N='-n';; 546esac 547 548# For backward compatibility with old third-party macros, we provide 549# the shell variables $as_echo and $as_echo_n. New code should use 550# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 551as_echo='printf %s\n' 552as_echo_n='printf %s' 553 554 555rm -f conf$$ conf$$.exe conf$$.file 556if test -d conf$$.dir; then 557 rm -f conf$$.dir/conf$$.file 558else 559 rm -f conf$$.dir 560 mkdir conf$$.dir 2>/dev/null 561fi 562if (echo >conf$$.file) 2>/dev/null; then 563 if ln -s conf$$.file conf$$ 2>/dev/null; then 564 as_ln_s='ln -s' 565 # ... but there are two gotchas: 566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 568 # In both cases, we have to default to `cp -pR'. 569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 570 as_ln_s='cp -pR' 571 elif ln conf$$.file conf$$ 2>/dev/null; then 572 as_ln_s=ln 573 else 574 as_ln_s='cp -pR' 575 fi 576else 577 as_ln_s='cp -pR' 578fi 579rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 580rmdir conf$$.dir 2>/dev/null 581 582if mkdir -p . 2>/dev/null; then 583 as_mkdir_p='mkdir -p "$as_dir"' 584else 585 test -d ./-p && rmdir ./-p 586 as_mkdir_p=false 587fi 588 589as_test_x='test -x' 590as_executable_p=as_fn_executable_p 591 592# Sed expression to map a string onto a valid CPP name. 593as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 594 595# Sed expression to map a string onto a valid variable name. 596as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 597 598SHELL=${CONFIG_SHELL-/bin/sh} 599 600 601test -n "$DJDIR" || exec 7<&0 </dev/null 602exec 6>&1 603 604# Name of the host. 605# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 606# so uname gets run too. 607ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 608 609# 610# Initializations. 611# 612ac_default_prefix=/usr/local 613ac_clean_files= 614ac_config_libobj_dir=. 615LIBOBJS= 616cross_compiling=no 617subdirs= 618MFLAGS= 619MAKEFLAGS= 620 621# Identity of this package. 622PACKAGE_NAME='ivykis-test-mt' 623PACKAGE_TARNAME='ivykis-test-mt' 624PACKAGE_VERSION='0.1' 625PACKAGE_STRING='ivykis-test-mt 0.1' 626PACKAGE_BUGREPORT='libivykis-discuss@lists.sourceforge.net' 627PACKAGE_URL='' 628 629ac_unique_file="iv_event_bench.c" 630# Factoring default headers for most tests. 631ac_includes_default="\ 632#include <stddef.h> 633#ifdef HAVE_STDIO_H 634# include <stdio.h> 635#endif 636#ifdef HAVE_STDLIB_H 637# include <stdlib.h> 638#endif 639#ifdef HAVE_STRING_H 640# include <string.h> 641#endif 642#ifdef HAVE_INTTYPES_H 643# include <inttypes.h> 644#endif 645#ifdef HAVE_STDINT_H 646# include <stdint.h> 647#endif 648#ifdef HAVE_STRINGS_H 649# include <strings.h> 650#endif 651#ifdef HAVE_SYS_TYPES_H 652# include <sys/types.h> 653#endif 654#ifdef HAVE_SYS_STAT_H 655# include <sys/stat.h> 656#endif 657#ifdef HAVE_UNISTD_H 658# include <unistd.h> 659#endif" 660 661ac_header_c_list= 662ac_subst_vars='am__EXEEXT_FALSE 663am__EXEEXT_TRUE 664LTLIBOBJS 665LIBOBJS 666HAVE_INOTIFY_FALSE 667HAVE_INOTIFY_TRUE 668HAVE_WIN32_FALSE 669HAVE_WIN32_TRUE 670HAVE_POSIX_FALSE 671HAVE_POSIX_TRUE 672LT_SYS_LIBRARY_PATH 673OTOOL64 674OTOOL 675LIPO 676NMEDIT 677DSYMUTIL 678MANIFEST_TOOL 679RANLIB 680ac_ct_AR 681AR 682DLLTOOL 683OBJDUMP 684LN_S 685NM 686ac_ct_DUMPBIN 687DUMPBIN 688LD 689FGREP 690EGREP 691GREP 692SED 693am__fastdepCC_FALSE 694am__fastdepCC_TRUE 695CCDEPMODE 696am__nodep 697AMDEPBACKSLASH 698AMDEP_FALSE 699AMDEP_TRUE 700am__include 701DEPDIR 702OBJEXT 703EXEEXT 704ac_ct_CC 705CPPFLAGS 706LDFLAGS 707CFLAGS 708CC 709LIBTOOL 710host_os 711host_vendor 712host_cpu 713host 714build_os 715build_vendor 716build_cpu 717build 718AM_BACKSLASH 719AM_DEFAULT_VERBOSITY 720AM_DEFAULT_V 721AM_V 722CSCOPE 723ETAGS 724CTAGS 725am__untar 726am__tar 727AMTAR 728am__leading_dot 729SET_MAKE 730AWK 731mkdir_p 732MKDIR_P 733INSTALL_STRIP_PROGRAM 734STRIP 735install_sh 736MAKEINFO 737AUTOHEADER 738AUTOMAKE 739AUTOCONF 740ACLOCAL 741VERSION 742PACKAGE 743CYGPATH_W 744am__isrc 745INSTALL_DATA 746INSTALL_SCRIPT 747INSTALL_PROGRAM 748target_alias 749host_alias 750build_alias 751LIBS 752ECHO_T 753ECHO_N 754ECHO_C 755DEFS 756mandir 757localedir 758libdir 759psdir 760pdfdir 761dvidir 762htmldir 763infodir 764docdir 765oldincludedir 766includedir 767runstatedir 768localstatedir 769sharedstatedir 770sysconfdir 771datadir 772datarootdir 773libexecdir 774sbindir 775bindir 776program_transform_name 777prefix 778exec_prefix 779PACKAGE_URL 780PACKAGE_BUGREPORT 781PACKAGE_STRING 782PACKAGE_VERSION 783PACKAGE_TARNAME 784PACKAGE_NAME 785PATH_SEPARATOR 786SHELL 787am__quote' 788ac_subst_files='' 789ac_user_opts=' 790enable_option_checking 791enable_silent_rules 792enable_shared 793enable_static 794with_pic 795enable_fast_install 796with_aix_soname 797enable_dependency_tracking 798with_gnu_ld 799with_sysroot 800enable_libtool_lock 801' 802 ac_precious_vars='build_alias 803host_alias 804target_alias 805CC 806CFLAGS 807LDFLAGS 808LIBS 809CPPFLAGS 810LT_SYS_LIBRARY_PATH' 811 812 813# Initialize some variables set by options. 814ac_init_help= 815ac_init_version=false 816ac_unrecognized_opts= 817ac_unrecognized_sep= 818# The variables have the same names as the options, with 819# dashes changed to underlines. 820cache_file=/dev/null 821exec_prefix=NONE 822no_create= 823no_recursion= 824prefix=NONE 825program_prefix=NONE 826program_suffix=NONE 827program_transform_name=s,x,x, 828silent= 829site= 830srcdir= 831verbose= 832x_includes=NONE 833x_libraries=NONE 834 835# Installation directory options. 836# These are left unexpanded so users can "make install exec_prefix=/foo" 837# and all the variables that are supposed to be based on exec_prefix 838# by default will actually change. 839# Use braces instead of parens because sh, perl, etc. also accept them. 840# (The list follows the same order as the GNU Coding Standards.) 841bindir='${exec_prefix}/bin' 842sbindir='${exec_prefix}/sbin' 843libexecdir='${exec_prefix}/libexec' 844datarootdir='${prefix}/share' 845datadir='${datarootdir}' 846sysconfdir='${prefix}/etc' 847sharedstatedir='${prefix}/com' 848localstatedir='${prefix}/var' 849runstatedir='${localstatedir}/run' 850includedir='${prefix}/include' 851oldincludedir='/usr/include' 852docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 853infodir='${datarootdir}/info' 854htmldir='${docdir}' 855dvidir='${docdir}' 856pdfdir='${docdir}' 857psdir='${docdir}' 858libdir='${exec_prefix}/lib' 859localedir='${datarootdir}/locale' 860mandir='${datarootdir}/man' 861 862ac_prev= 863ac_dashdash= 864for ac_option 865do 866 # If the previous option needs an argument, assign it. 867 if test -n "$ac_prev"; then 868 eval $ac_prev=\$ac_option 869 ac_prev= 870 continue 871 fi 872 873 case $ac_option in 874 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 875 *=) ac_optarg= ;; 876 *) ac_optarg=yes ;; 877 esac 878 879 case $ac_dashdash$ac_option in 880 --) 881 ac_dashdash=yes ;; 882 883 -bindir | --bindir | --bindi | --bind | --bin | --bi) 884 ac_prev=bindir ;; 885 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 886 bindir=$ac_optarg ;; 887 888 -build | --build | --buil | --bui | --bu) 889 ac_prev=build_alias ;; 890 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 891 build_alias=$ac_optarg ;; 892 893 -cache-file | --cache-file | --cache-fil | --cache-fi \ 894 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 895 ac_prev=cache_file ;; 896 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 897 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 898 cache_file=$ac_optarg ;; 899 900 --config-cache | -C) 901 cache_file=config.cache ;; 902 903 -datadir | --datadir | --datadi | --datad) 904 ac_prev=datadir ;; 905 -datadir=* | --datadir=* | --datadi=* | --datad=*) 906 datadir=$ac_optarg ;; 907 908 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 909 | --dataroo | --dataro | --datar) 910 ac_prev=datarootdir ;; 911 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 912 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 913 datarootdir=$ac_optarg ;; 914 915 -disable-* | --disable-*) 916 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 917 # Reject names that are not valid shell variable names. 918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 919 as_fn_error $? "invalid feature name: \`$ac_useropt'" 920 ac_useropt_orig=$ac_useropt 921 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 922 case $ac_user_opts in 923 *" 924"enable_$ac_useropt" 925"*) ;; 926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 927 ac_unrecognized_sep=', ';; 928 esac 929 eval enable_$ac_useropt=no ;; 930 931 -docdir | --docdir | --docdi | --doc | --do) 932 ac_prev=docdir ;; 933 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 934 docdir=$ac_optarg ;; 935 936 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 937 ac_prev=dvidir ;; 938 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 939 dvidir=$ac_optarg ;; 940 941 -enable-* | --enable-*) 942 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 943 # Reject names that are not valid shell variable names. 944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 945 as_fn_error $? "invalid feature name: \`$ac_useropt'" 946 ac_useropt_orig=$ac_useropt 947 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 948 case $ac_user_opts in 949 *" 950"enable_$ac_useropt" 951"*) ;; 952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 953 ac_unrecognized_sep=', ';; 954 esac 955 eval enable_$ac_useropt=\$ac_optarg ;; 956 957 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 958 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 959 | --exec | --exe | --ex) 960 ac_prev=exec_prefix ;; 961 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 962 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 963 | --exec=* | --exe=* | --ex=*) 964 exec_prefix=$ac_optarg ;; 965 966 -gas | --gas | --ga | --g) 967 # Obsolete; use --with-gas. 968 with_gas=yes ;; 969 970 -help | --help | --hel | --he | -h) 971 ac_init_help=long ;; 972 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 973 ac_init_help=recursive ;; 974 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 975 ac_init_help=short ;; 976 977 -host | --host | --hos | --ho) 978 ac_prev=host_alias ;; 979 -host=* | --host=* | --hos=* | --ho=*) 980 host_alias=$ac_optarg ;; 981 982 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 983 ac_prev=htmldir ;; 984 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 985 | --ht=*) 986 htmldir=$ac_optarg ;; 987 988 -includedir | --includedir | --includedi | --included | --include \ 989 | --includ | --inclu | --incl | --inc) 990 ac_prev=includedir ;; 991 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 992 | --includ=* | --inclu=* | --incl=* | --inc=*) 993 includedir=$ac_optarg ;; 994 995 -infodir | --infodir | --infodi | --infod | --info | --inf) 996 ac_prev=infodir ;; 997 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 998 infodir=$ac_optarg ;; 999 1000 -libdir | --libdir | --libdi | --libd) 1001 ac_prev=libdir ;; 1002 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1003 libdir=$ac_optarg ;; 1004 1005 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1006 | --libexe | --libex | --libe) 1007 ac_prev=libexecdir ;; 1008 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1009 | --libexe=* | --libex=* | --libe=*) 1010 libexecdir=$ac_optarg ;; 1011 1012 -localedir | --localedir | --localedi | --localed | --locale) 1013 ac_prev=localedir ;; 1014 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1015 localedir=$ac_optarg ;; 1016 1017 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1018 | --localstate | --localstat | --localsta | --localst | --locals) 1019 ac_prev=localstatedir ;; 1020 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1021 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1022 localstatedir=$ac_optarg ;; 1023 1024 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1025 ac_prev=mandir ;; 1026 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1027 mandir=$ac_optarg ;; 1028 1029 -nfp | --nfp | --nf) 1030 # Obsolete; use --without-fp. 1031 with_fp=no ;; 1032 1033 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1034 | --no-cr | --no-c | -n) 1035 no_create=yes ;; 1036 1037 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1038 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1039 no_recursion=yes ;; 1040 1041 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1042 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1043 | --oldin | --oldi | --old | --ol | --o) 1044 ac_prev=oldincludedir ;; 1045 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1046 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1047 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1048 oldincludedir=$ac_optarg ;; 1049 1050 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1051 ac_prev=prefix ;; 1052 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1053 prefix=$ac_optarg ;; 1054 1055 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1056 | --program-pre | --program-pr | --program-p) 1057 ac_prev=program_prefix ;; 1058 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1059 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1060 program_prefix=$ac_optarg ;; 1061 1062 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1063 | --program-suf | --program-su | --program-s) 1064 ac_prev=program_suffix ;; 1065 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1066 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1067 program_suffix=$ac_optarg ;; 1068 1069 -program-transform-name | --program-transform-name \ 1070 | --program-transform-nam | --program-transform-na \ 1071 | --program-transform-n | --program-transform- \ 1072 | --program-transform | --program-transfor \ 1073 | --program-transfo | --program-transf \ 1074 | --program-trans | --program-tran \ 1075 | --progr-tra | --program-tr | --program-t) 1076 ac_prev=program_transform_name ;; 1077 -program-transform-name=* | --program-transform-name=* \ 1078 | --program-transform-nam=* | --program-transform-na=* \ 1079 | --program-transform-n=* | --program-transform-=* \ 1080 | --program-transform=* | --program-transfor=* \ 1081 | --program-transfo=* | --program-transf=* \ 1082 | --program-trans=* | --program-tran=* \ 1083 | --progr-tra=* | --program-tr=* | --program-t=*) 1084 program_transform_name=$ac_optarg ;; 1085 1086 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1087 ac_prev=pdfdir ;; 1088 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1089 pdfdir=$ac_optarg ;; 1090 1091 -psdir | --psdir | --psdi | --psd | --ps) 1092 ac_prev=psdir ;; 1093 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1094 psdir=$ac_optarg ;; 1095 1096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1097 | -silent | --silent | --silen | --sile | --sil) 1098 silent=yes ;; 1099 1100 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1101 | --runstate | --runstat | --runsta | --runst | --runs \ 1102 | --run | --ru | --r) 1103 ac_prev=runstatedir ;; 1104 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1105 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1106 | --run=* | --ru=* | --r=*) 1107 runstatedir=$ac_optarg ;; 1108 1109 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1110 ac_prev=sbindir ;; 1111 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1112 | --sbi=* | --sb=*) 1113 sbindir=$ac_optarg ;; 1114 1115 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1116 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1117 | --sharedst | --shareds | --shared | --share | --shar \ 1118 | --sha | --sh) 1119 ac_prev=sharedstatedir ;; 1120 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1121 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1122 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1123 | --sha=* | --sh=*) 1124 sharedstatedir=$ac_optarg ;; 1125 1126 -site | --site | --sit) 1127 ac_prev=site ;; 1128 -site=* | --site=* | --sit=*) 1129 site=$ac_optarg ;; 1130 1131 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1132 ac_prev=srcdir ;; 1133 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1134 srcdir=$ac_optarg ;; 1135 1136 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1137 | --syscon | --sysco | --sysc | --sys | --sy) 1138 ac_prev=sysconfdir ;; 1139 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1140 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1141 sysconfdir=$ac_optarg ;; 1142 1143 -target | --target | --targe | --targ | --tar | --ta | --t) 1144 ac_prev=target_alias ;; 1145 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1146 target_alias=$ac_optarg ;; 1147 1148 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1149 verbose=yes ;; 1150 1151 -version | --version | --versio | --versi | --vers | -V) 1152 ac_init_version=: ;; 1153 1154 -with-* | --with-*) 1155 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1156 # Reject names that are not valid shell variable names. 1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1158 as_fn_error $? "invalid package name: \`$ac_useropt'" 1159 ac_useropt_orig=$ac_useropt 1160 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1161 case $ac_user_opts in 1162 *" 1163"with_$ac_useropt" 1164"*) ;; 1165 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1166 ac_unrecognized_sep=', ';; 1167 esac 1168 eval with_$ac_useropt=\$ac_optarg ;; 1169 1170 -without-* | --without-*) 1171 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1172 # Reject names that are not valid shell variable names. 1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1174 as_fn_error $? "invalid package name: \`$ac_useropt'" 1175 ac_useropt_orig=$ac_useropt 1176 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1177 case $ac_user_opts in 1178 *" 1179"with_$ac_useropt" 1180"*) ;; 1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1182 ac_unrecognized_sep=', ';; 1183 esac 1184 eval with_$ac_useropt=no ;; 1185 1186 --x) 1187 # Obsolete; use --with-x. 1188 with_x=yes ;; 1189 1190 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1191 | --x-incl | --x-inc | --x-in | --x-i) 1192 ac_prev=x_includes ;; 1193 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1194 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1195 x_includes=$ac_optarg ;; 1196 1197 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1198 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1199 ac_prev=x_libraries ;; 1200 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1201 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1202 x_libraries=$ac_optarg ;; 1203 1204 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1205Try \`$0 --help' for more information" 1206 ;; 1207 1208 *=*) 1209 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1210 # Reject names that are not valid shell variable names. 1211 case $ac_envvar in #( 1212 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1213 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1214 esac 1215 eval $ac_envvar=\$ac_optarg 1216 export $ac_envvar ;; 1217 1218 *) 1219 # FIXME: should be removed in autoconf 3.0. 1220 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1222 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1223 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1224 ;; 1225 1226 esac 1227done 1228 1229if test -n "$ac_prev"; then 1230 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1231 as_fn_error $? "missing argument to $ac_option" 1232fi 1233 1234if test -n "$ac_unrecognized_opts"; then 1235 case $enable_option_checking in 1236 no) ;; 1237 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1238 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1239 esac 1240fi 1241 1242# Check all directory arguments for consistency. 1243for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1244 datadir sysconfdir sharedstatedir localstatedir includedir \ 1245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1246 libdir localedir mandir runstatedir 1247do 1248 eval ac_val=\$$ac_var 1249 # Remove trailing slashes. 1250 case $ac_val in 1251 */ ) 1252 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1253 eval $ac_var=\$ac_val;; 1254 esac 1255 # Be sure to have absolute directory names. 1256 case $ac_val in 1257 [\\/$]* | ?:[\\/]* ) continue;; 1258 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1259 esac 1260 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1261done 1262 1263# There might be people who depend on the old broken behavior: `$host' 1264# used to hold the argument of --host etc. 1265# FIXME: To remove some day. 1266build=$build_alias 1267host=$host_alias 1268target=$target_alias 1269 1270# FIXME: To remove some day. 1271if test "x$host_alias" != x; then 1272 if test "x$build_alias" = x; then 1273 cross_compiling=maybe 1274 elif test "x$build_alias" != "x$host_alias"; then 1275 cross_compiling=yes 1276 fi 1277fi 1278 1279ac_tool_prefix= 1280test -n "$host_alias" && ac_tool_prefix=$host_alias- 1281 1282test "$silent" = yes && exec 6>/dev/null 1283 1284 1285ac_pwd=`pwd` && test -n "$ac_pwd" && 1286ac_ls_di=`ls -di .` && 1287ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1288 as_fn_error $? "working directory cannot be determined" 1289test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1290 as_fn_error $? "pwd does not report name of working directory" 1291 1292 1293# Find the source files, if location was not specified. 1294if test -z "$srcdir"; then 1295 ac_srcdir_defaulted=yes 1296 # Try the directory containing this script, then the parent directory. 1297 ac_confdir=`$as_dirname -- "$as_myself" || 1298$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1299 X"$as_myself" : 'X\(//\)[^/]' \| \ 1300 X"$as_myself" : 'X\(//\)$' \| \ 1301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1302printf "%s\n" X"$as_myself" | 1303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1304 s//\1/ 1305 q 1306 } 1307 /^X\(\/\/\)[^/].*/{ 1308 s//\1/ 1309 q 1310 } 1311 /^X\(\/\/\)$/{ 1312 s//\1/ 1313 q 1314 } 1315 /^X\(\/\).*/{ 1316 s//\1/ 1317 q 1318 } 1319 s/.*/./; q'` 1320 srcdir=$ac_confdir 1321 if test ! -r "$srcdir/$ac_unique_file"; then 1322 srcdir=.. 1323 fi 1324else 1325 ac_srcdir_defaulted=no 1326fi 1327if test ! -r "$srcdir/$ac_unique_file"; then 1328 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1329 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1330fi 1331ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1332ac_abs_confdir=`( 1333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1334 pwd)` 1335# When building in place, set srcdir=. 1336if test "$ac_abs_confdir" = "$ac_pwd"; then 1337 srcdir=. 1338fi 1339# Remove unnecessary trailing slashes from srcdir. 1340# Double slashes in file names in object file debugging info 1341# mess up M-x gdb in Emacs. 1342case $srcdir in 1343*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1344esac 1345for ac_var in $ac_precious_vars; do 1346 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1347 eval ac_env_${ac_var}_value=\$${ac_var} 1348 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1349 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1350done 1351 1352# 1353# Report the --help message. 1354# 1355if test "$ac_init_help" = "long"; then 1356 # Omit some internal or obsolete options to make the list less imposing. 1357 # This message is too long to be a string in the A/UX 3.1 sh. 1358 cat <<_ACEOF 1359\`configure' configures ivykis-test-mt 0.1 to adapt to many kinds of systems. 1360 1361Usage: $0 [OPTION]... [VAR=VALUE]... 1362 1363To assign environment variables (e.g., CC, CFLAGS...), specify them as 1364VAR=VALUE. See below for descriptions of some of the useful variables. 1365 1366Defaults for the options are specified in brackets. 1367 1368Configuration: 1369 -h, --help display this help and exit 1370 --help=short display options specific to this package 1371 --help=recursive display the short help of all the included packages 1372 -V, --version display version information and exit 1373 -q, --quiet, --silent do not print \`checking ...' messages 1374 --cache-file=FILE cache test results in FILE [disabled] 1375 -C, --config-cache alias for \`--cache-file=config.cache' 1376 -n, --no-create do not create output files 1377 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1378 1379Installation directories: 1380 --prefix=PREFIX install architecture-independent files in PREFIX 1381 [$ac_default_prefix] 1382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1383 [PREFIX] 1384 1385By default, \`make install' will install all the files in 1386\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1387an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1388for instance \`--prefix=\$HOME'. 1389 1390For better control, use the options below. 1391 1392Fine tuning of the installation directories: 1393 --bindir=DIR user executables [EPREFIX/bin] 1394 --sbindir=DIR system admin executables [EPREFIX/sbin] 1395 --libexecdir=DIR program executables [EPREFIX/libexec] 1396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1398 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1399 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1400 --libdir=DIR object code libraries [EPREFIX/lib] 1401 --includedir=DIR C header files [PREFIX/include] 1402 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1405 --infodir=DIR info documentation [DATAROOTDIR/info] 1406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1407 --mandir=DIR man documentation [DATAROOTDIR/man] 1408 --docdir=DIR documentation root [DATAROOTDIR/doc/ivykis-test-mt] 1409 --htmldir=DIR html documentation [DOCDIR] 1410 --dvidir=DIR dvi documentation [DOCDIR] 1411 --pdfdir=DIR pdf documentation [DOCDIR] 1412 --psdir=DIR ps documentation [DOCDIR] 1413_ACEOF 1414 1415 cat <<\_ACEOF 1416 1417Program names: 1418 --program-prefix=PREFIX prepend PREFIX to installed program names 1419 --program-suffix=SUFFIX append SUFFIX to installed program names 1420 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1421 1422System types: 1423 --build=BUILD configure for building on BUILD [guessed] 1424 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1425_ACEOF 1426fi 1427 1428if test -n "$ac_init_help"; then 1429 case $ac_init_help in 1430 short | recursive ) echo "Configuration of ivykis-test-mt 0.1:";; 1431 esac 1432 cat <<\_ACEOF 1433 1434Optional Features: 1435 --disable-option-checking ignore unrecognized --enable/--with options 1436 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1437 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1438 --enable-silent-rules less verbose build output (undo: "make V=1") 1439 --disable-silent-rules verbose build output (undo: "make V=0") 1440 --enable-shared[=PKGS] build shared libraries [default=yes] 1441 --enable-static[=PKGS] build static libraries [default=yes] 1442 --enable-fast-install[=PKGS] 1443 optimize for fast installation [default=yes] 1444 --enable-dependency-tracking 1445 do not reject slow dependency extractors 1446 --disable-dependency-tracking 1447 speeds up one-time build 1448 --disable-libtool-lock avoid locking (might break parallel builds) 1449 1450Optional Packages: 1451 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1452 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1453 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1454 both] 1455 --with-aix-soname=aix|svr4|both 1456 shared library versioning (aka "SONAME") variant to 1457 provide on AIX, [default=aix]. 1458 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1459 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1460 compiler's sysroot if not specified). 1461 1462Some influential environment variables: 1463 CC C compiler command 1464 CFLAGS C compiler flags 1465 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1466 nonstandard directory <lib dir> 1467 LIBS libraries to pass to the linker, e.g. -l<library> 1468 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1469 you have headers in a nonstandard directory <include dir> 1470 LT_SYS_LIBRARY_PATH 1471 User-defined run-time library search path. 1472 1473Use these variables to override the choices made by `configure' or to help 1474it to find libraries and programs with nonstandard names/locations. 1475 1476Report bugs to <libivykis-discuss@lists.sourceforge.net>. 1477_ACEOF 1478ac_status=$? 1479fi 1480 1481if test "$ac_init_help" = "recursive"; then 1482 # If there are subdirs, report their specific --help. 1483 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1484 test -d "$ac_dir" || 1485 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1486 continue 1487 ac_builddir=. 1488 1489case "$ac_dir" in 1490.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1491*) 1492 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1493 # A ".." for each directory in $ac_dir_suffix. 1494 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1495 case $ac_top_builddir_sub in 1496 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1497 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1498 esac ;; 1499esac 1500ac_abs_top_builddir=$ac_pwd 1501ac_abs_builddir=$ac_pwd$ac_dir_suffix 1502# for backward compatibility: 1503ac_top_builddir=$ac_top_build_prefix 1504 1505case $srcdir in 1506 .) # We are building in place. 1507 ac_srcdir=. 1508 ac_top_srcdir=$ac_top_builddir_sub 1509 ac_abs_top_srcdir=$ac_pwd ;; 1510 [\\/]* | ?:[\\/]* ) # Absolute name. 1511 ac_srcdir=$srcdir$ac_dir_suffix; 1512 ac_top_srcdir=$srcdir 1513 ac_abs_top_srcdir=$srcdir ;; 1514 *) # Relative name. 1515 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1516 ac_top_srcdir=$ac_top_build_prefix$srcdir 1517 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1518esac 1519ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1520 1521 cd "$ac_dir" || { ac_status=$?; continue; } 1522 # Check for configure.gnu first; this name is used for a wrapper for 1523 # Metaconfig's "Configure" on case-insensitive file systems. 1524 if test -f "$ac_srcdir/configure.gnu"; then 1525 echo && 1526 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1527 elif test -f "$ac_srcdir/configure"; then 1528 echo && 1529 $SHELL "$ac_srcdir/configure" --help=recursive 1530 else 1531 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1532 fi || ac_status=$? 1533 cd "$ac_pwd" || { ac_status=$?; break; } 1534 done 1535fi 1536 1537test -n "$ac_init_help" && exit $ac_status 1538if $ac_init_version; then 1539 cat <<\_ACEOF 1540ivykis-test-mt configure 0.1 1541generated by GNU Autoconf 2.71 1542 1543Copyright (C) 2021 Free Software Foundation, Inc. 1544This configure script is free software; the Free Software Foundation 1545gives unlimited permission to copy, distribute and modify it. 1546_ACEOF 1547 exit 1548fi 1549 1550## ------------------------ ## 1551## Autoconf initialization. ## 1552## ------------------------ ## 1553 1554# ac_fn_c_try_compile LINENO 1555# -------------------------- 1556# Try to compile conftest.$ac_ext, and return whether this succeeded. 1557ac_fn_c_try_compile () 1558{ 1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1560 rm -f conftest.$ac_objext conftest.beam 1561 if { { ac_try="$ac_compile" 1562case "(($ac_try" in 1563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1564 *) ac_try_echo=$ac_try;; 1565esac 1566eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1567printf "%s\n" "$ac_try_echo"; } >&5 1568 (eval "$ac_compile") 2>conftest.err 1569 ac_status=$? 1570 if test -s conftest.err; then 1571 grep -v '^ *+' conftest.err >conftest.er1 1572 cat conftest.er1 >&5 1573 mv -f conftest.er1 conftest.err 1574 fi 1575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1576 test $ac_status = 0; } && { 1577 test -z "$ac_c_werror_flag" || 1578 test ! -s conftest.err 1579 } && test -s conftest.$ac_objext 1580then : 1581 ac_retval=0 1582else $as_nop 1583 printf "%s\n" "$as_me: failed program was:" >&5 1584sed 's/^/| /' conftest.$ac_ext >&5 1585 1586 ac_retval=1 1587fi 1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1589 as_fn_set_status $ac_retval 1590 1591} # ac_fn_c_try_compile 1592 1593# ac_fn_c_try_link LINENO 1594# ----------------------- 1595# Try to link conftest.$ac_ext, and return whether this succeeded. 1596ac_fn_c_try_link () 1597{ 1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1599 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1600 if { { ac_try="$ac_link" 1601case "(($ac_try" in 1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1603 *) ac_try_echo=$ac_try;; 1604esac 1605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1606printf "%s\n" "$ac_try_echo"; } >&5 1607 (eval "$ac_link") 2>conftest.err 1608 ac_status=$? 1609 if test -s conftest.err; then 1610 grep -v '^ *+' conftest.err >conftest.er1 1611 cat conftest.er1 >&5 1612 mv -f conftest.er1 conftest.err 1613 fi 1614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1615 test $ac_status = 0; } && { 1616 test -z "$ac_c_werror_flag" || 1617 test ! -s conftest.err 1618 } && test -s conftest$ac_exeext && { 1619 test "$cross_compiling" = yes || 1620 test -x conftest$ac_exeext 1621 } 1622then : 1623 ac_retval=0 1624else $as_nop 1625 printf "%s\n" "$as_me: failed program was:" >&5 1626sed 's/^/| /' conftest.$ac_ext >&5 1627 1628 ac_retval=1 1629fi 1630 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1631 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1632 # interfere with the next link command; also delete a directory that is 1633 # left behind by Apple's compiler. We do this before executing the actions. 1634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1636 as_fn_set_status $ac_retval 1637 1638} # ac_fn_c_try_link 1639 1640# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1641# ------------------------------------------------------- 1642# Tests whether HEADER exists and can be compiled using the include files in 1643# INCLUDES, setting the cache variable VAR accordingly. 1644ac_fn_c_check_header_compile () 1645{ 1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1648printf %s "checking for $2... " >&6; } 1649if eval test \${$3+y} 1650then : 1651 printf %s "(cached) " >&6 1652else $as_nop 1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1654/* end confdefs.h. */ 1655$4 1656#include <$2> 1657_ACEOF 1658if ac_fn_c_try_compile "$LINENO" 1659then : 1660 eval "$3=yes" 1661else $as_nop 1662 eval "$3=no" 1663fi 1664rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1665fi 1666eval ac_res=\$$3 1667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1668printf "%s\n" "$ac_res" >&6; } 1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1670 1671} # ac_fn_c_check_header_compile 1672 1673# ac_fn_c_check_func LINENO FUNC VAR 1674# ---------------------------------- 1675# Tests whether FUNC exists, setting the cache variable VAR accordingly 1676ac_fn_c_check_func () 1677{ 1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1680printf %s "checking for $2... " >&6; } 1681if eval test \${$3+y} 1682then : 1683 printf %s "(cached) " >&6 1684else $as_nop 1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1686/* end confdefs.h. */ 1687/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1688 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1689#define $2 innocuous_$2 1690 1691/* System header to define __stub macros and hopefully few prototypes, 1692 which can conflict with char $2 (); below. */ 1693 1694#include <limits.h> 1695#undef $2 1696 1697/* Override any GCC internal prototype to avoid an error. 1698 Use char because int might match the return type of a GCC 1699 builtin and then its argument prototype would still apply. */ 1700#ifdef __cplusplus 1701extern "C" 1702#endif 1703char $2 (); 1704/* The GNU C library defines this for functions which it implements 1705 to always fail with ENOSYS. Some functions are actually named 1706 something starting with __ and the normal name is an alias. */ 1707#if defined __stub_$2 || defined __stub___$2 1708choke me 1709#endif 1710 1711int 1712main (void) 1713{ 1714return $2 (); 1715 ; 1716 return 0; 1717} 1718_ACEOF 1719if ac_fn_c_try_link "$LINENO" 1720then : 1721 eval "$3=yes" 1722else $as_nop 1723 eval "$3=no" 1724fi 1725rm -f core conftest.err conftest.$ac_objext conftest.beam \ 1726 conftest$ac_exeext conftest.$ac_ext 1727fi 1728eval ac_res=\$$3 1729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1730printf "%s\n" "$ac_res" >&6; } 1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1732 1733} # ac_fn_c_check_func 1734ac_configure_args_raw= 1735for ac_arg 1736do 1737 case $ac_arg in 1738 *\'*) 1739 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1740 esac 1741 as_fn_append ac_configure_args_raw " '$ac_arg'" 1742done 1743 1744case $ac_configure_args_raw in 1745 *$as_nl*) 1746 ac_safe_unquote= ;; 1747 *) 1748 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1749 ac_unsafe_a="$ac_unsafe_z#~" 1750 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1751 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1752esac 1753 1754cat >config.log <<_ACEOF 1755This file contains any messages produced by compilers while 1756running configure, to aid debugging if configure makes a mistake. 1757 1758It was created by ivykis-test-mt $as_me 0.1, which was 1759generated by GNU Autoconf 2.71. Invocation command line was 1760 1761 $ $0$ac_configure_args_raw 1762 1763_ACEOF 1764exec 5>>config.log 1765{ 1766cat <<_ASUNAME 1767## --------- ## 1768## Platform. ## 1769## --------- ## 1770 1771hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1772uname -m = `(uname -m) 2>/dev/null || echo unknown` 1773uname -r = `(uname -r) 2>/dev/null || echo unknown` 1774uname -s = `(uname -s) 2>/dev/null || echo unknown` 1775uname -v = `(uname -v) 2>/dev/null || echo unknown` 1776 1777/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1778/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1779 1780/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1781/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1782/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1783/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1784/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1785/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1786/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1787 1788_ASUNAME 1789 1790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1791for as_dir in $PATH 1792do 1793 IFS=$as_save_IFS 1794 case $as_dir in #((( 1795 '') as_dir=./ ;; 1796 */) ;; 1797 *) as_dir=$as_dir/ ;; 1798 esac 1799 printf "%s\n" "PATH: $as_dir" 1800 done 1801IFS=$as_save_IFS 1802 1803} >&5 1804 1805cat >&5 <<_ACEOF 1806 1807 1808## ----------- ## 1809## Core tests. ## 1810## ----------- ## 1811 1812_ACEOF 1813 1814 1815# Keep a trace of the command line. 1816# Strip out --no-create and --no-recursion so they do not pile up. 1817# Strip out --silent because we don't want to record it for future runs. 1818# Also quote any args containing shell meta-characters. 1819# Make two passes to allow for proper duplicate-argument suppression. 1820ac_configure_args= 1821ac_configure_args0= 1822ac_configure_args1= 1823ac_must_keep_next=false 1824for ac_pass in 1 2 1825do 1826 for ac_arg 1827 do 1828 case $ac_arg in 1829 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1830 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1831 | -silent | --silent | --silen | --sile | --sil) 1832 continue ;; 1833 *\'*) 1834 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1835 esac 1836 case $ac_pass in 1837 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1838 2) 1839 as_fn_append ac_configure_args1 " '$ac_arg'" 1840 if test $ac_must_keep_next = true; then 1841 ac_must_keep_next=false # Got value, back to normal. 1842 else 1843 case $ac_arg in 1844 *=* | --config-cache | -C | -disable-* | --disable-* \ 1845 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1846 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1847 | -with-* | --with-* | -without-* | --without-* | --x) 1848 case "$ac_configure_args0 " in 1849 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1850 esac 1851 ;; 1852 -* ) ac_must_keep_next=true ;; 1853 esac 1854 fi 1855 as_fn_append ac_configure_args " '$ac_arg'" 1856 ;; 1857 esac 1858 done 1859done 1860{ ac_configure_args0=; unset ac_configure_args0;} 1861{ ac_configure_args1=; unset ac_configure_args1;} 1862 1863# When interrupted or exit'd, cleanup temporary files, and complete 1864# config.log. We remove comments because anyway the quotes in there 1865# would cause problems or look ugly. 1866# WARNING: Use '\'' to represent an apostrophe within the trap. 1867# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1868trap 'exit_status=$? 1869 # Sanitize IFS. 1870 IFS=" "" $as_nl" 1871 # Save into config.log some information that might help in debugging. 1872 { 1873 echo 1874 1875 printf "%s\n" "## ---------------- ## 1876## Cache variables. ## 1877## ---------------- ##" 1878 echo 1879 # The following way of writing the cache mishandles newlines in values, 1880( 1881 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1882 eval ac_val=\$$ac_var 1883 case $ac_val in #( 1884 *${as_nl}*) 1885 case $ac_var in #( 1886 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1887printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1888 esac 1889 case $ac_var in #( 1890 _ | IFS | as_nl) ;; #( 1891 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1892 *) { eval $ac_var=; unset $ac_var;} ;; 1893 esac ;; 1894 esac 1895 done 1896 (set) 2>&1 | 1897 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1898 *${as_nl}ac_space=\ *) 1899 sed -n \ 1900 "s/'\''/'\''\\\\'\'''\''/g; 1901 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1902 ;; #( 1903 *) 1904 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1905 ;; 1906 esac | 1907 sort 1908) 1909 echo 1910 1911 printf "%s\n" "## ----------------- ## 1912## Output variables. ## 1913## ----------------- ##" 1914 echo 1915 for ac_var in $ac_subst_vars 1916 do 1917 eval ac_val=\$$ac_var 1918 case $ac_val in 1919 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1920 esac 1921 printf "%s\n" "$ac_var='\''$ac_val'\''" 1922 done | sort 1923 echo 1924 1925 if test -n "$ac_subst_files"; then 1926 printf "%s\n" "## ------------------- ## 1927## File substitutions. ## 1928## ------------------- ##" 1929 echo 1930 for ac_var in $ac_subst_files 1931 do 1932 eval ac_val=\$$ac_var 1933 case $ac_val in 1934 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1935 esac 1936 printf "%s\n" "$ac_var='\''$ac_val'\''" 1937 done | sort 1938 echo 1939 fi 1940 1941 if test -s confdefs.h; then 1942 printf "%s\n" "## ----------- ## 1943## confdefs.h. ## 1944## ----------- ##" 1945 echo 1946 cat confdefs.h 1947 echo 1948 fi 1949 test "$ac_signal" != 0 && 1950 printf "%s\n" "$as_me: caught signal $ac_signal" 1951 printf "%s\n" "$as_me: exit $exit_status" 1952 } >&5 1953 rm -f core *.core core.conftest.* && 1954 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1955 exit $exit_status 1956' 0 1957for ac_signal in 1 2 13 15; do 1958 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1959done 1960ac_signal=0 1961 1962# confdefs.h avoids OS command line length limits that DEFS can exceed. 1963rm -f -r conftest* confdefs.h 1964 1965printf "%s\n" "/* confdefs.h */" > confdefs.h 1966 1967# Predefined preprocessor variables. 1968 1969printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1970 1971printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1972 1973printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1974 1975printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1976 1977printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1978 1979printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1980 1981 1982# Let the site file select an alternate cache file if it wants to. 1983# Prefer an explicitly selected file to automatically selected ones. 1984if test -n "$CONFIG_SITE"; then 1985 ac_site_files="$CONFIG_SITE" 1986elif test "x$prefix" != xNONE; then 1987 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 1988else 1989 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1990fi 1991 1992for ac_site_file in $ac_site_files 1993do 1994 case $ac_site_file in #( 1995 */*) : 1996 ;; #( 1997 *) : 1998 ac_site_file=./$ac_site_file ;; 1999esac 2000 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2002printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2003 sed 's/^/| /' "$ac_site_file" >&5 2004 . "$ac_site_file" \ 2005 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2006printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2007as_fn_error $? "failed to load site script $ac_site_file 2008See \`config.log' for more details" "$LINENO" 5; } 2009 fi 2010done 2011 2012if test -r "$cache_file"; then 2013 # Some versions of bash will fail to source /dev/null (special files 2014 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2015 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2017printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2018 case $cache_file in 2019 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2020 *) . "./$cache_file";; 2021 esac 2022 fi 2023else 2024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2025printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2026 >$cache_file 2027fi 2028 2029# Test code for whether the C compiler supports C89 (global declarations) 2030ac_c_conftest_c89_globals=' 2031/* Does the compiler advertise C89 conformance? 2032 Do not test the value of __STDC__, because some compilers set it to 0 2033 while being otherwise adequately conformant. */ 2034#if !defined __STDC__ 2035# error "Compiler does not advertise C89 conformance" 2036#endif 2037 2038#include <stddef.h> 2039#include <stdarg.h> 2040struct stat; 2041/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2042struct buf { int x; }; 2043struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2044static char *e (p, i) 2045 char **p; 2046 int i; 2047{ 2048 return p[i]; 2049} 2050static char *f (char * (*g) (char **, int), char **p, ...) 2051{ 2052 char *s; 2053 va_list v; 2054 va_start (v,p); 2055 s = g (p, va_arg (v,int)); 2056 va_end (v); 2057 return s; 2058} 2059 2060/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2061 function prototypes and stuff, but not \xHH hex character constants. 2062 These do not provoke an error unfortunately, instead are silently treated 2063 as an "x". The following induces an error, until -std is added to get 2064 proper ANSI mode. Curiously \x00 != x always comes out true, for an 2065 array size at least. It is necessary to write \x00 == 0 to get something 2066 that is true only with -std. */ 2067int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2068 2069/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2070 inside strings and character constants. */ 2071#define FOO(x) '\''x'\'' 2072int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2073 2074int test (int i, double x); 2075struct s1 {int (*f) (int a);}; 2076struct s2 {int (*f) (double a);}; 2077int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2078 int, int);' 2079 2080# Test code for whether the C compiler supports C89 (body of main). 2081ac_c_conftest_c89_main=' 2082ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2083' 2084 2085# Test code for whether the C compiler supports C99 (global declarations) 2086ac_c_conftest_c99_globals=' 2087// Does the compiler advertise C99 conformance? 2088#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2089# error "Compiler does not advertise C99 conformance" 2090#endif 2091 2092#include <stdbool.h> 2093extern int puts (const char *); 2094extern int printf (const char *, ...); 2095extern int dprintf (int, const char *, ...); 2096extern void *malloc (size_t); 2097 2098// Check varargs macros. These examples are taken from C99 6.10.3.5. 2099// dprintf is used instead of fprintf to avoid needing to declare 2100// FILE and stderr. 2101#define debug(...) dprintf (2, __VA_ARGS__) 2102#define showlist(...) puts (#__VA_ARGS__) 2103#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2104static void 2105test_varargs_macros (void) 2106{ 2107 int x = 1234; 2108 int y = 5678; 2109 debug ("Flag"); 2110 debug ("X = %d\n", x); 2111 showlist (The first, second, and third items.); 2112 report (x>y, "x is %d but y is %d", x, y); 2113} 2114 2115// Check long long types. 2116#define BIG64 18446744073709551615ull 2117#define BIG32 4294967295ul 2118#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2119#if !BIG_OK 2120 #error "your preprocessor is broken" 2121#endif 2122#if BIG_OK 2123#else 2124 #error "your preprocessor is broken" 2125#endif 2126static long long int bignum = -9223372036854775807LL; 2127static unsigned long long int ubignum = BIG64; 2128 2129struct incomplete_array 2130{ 2131 int datasize; 2132 double data[]; 2133}; 2134 2135struct named_init { 2136 int number; 2137 const wchar_t *name; 2138 double average; 2139}; 2140 2141typedef const char *ccp; 2142 2143static inline int 2144test_restrict (ccp restrict text) 2145{ 2146 // See if C++-style comments work. 2147 // Iterate through items via the restricted pointer. 2148 // Also check for declarations in for loops. 2149 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2150 continue; 2151 return 0; 2152} 2153 2154// Check varargs and va_copy. 2155static bool 2156test_varargs (const char *format, ...) 2157{ 2158 va_list args; 2159 va_start (args, format); 2160 va_list args_copy; 2161 va_copy (args_copy, args); 2162 2163 const char *str = ""; 2164 int number = 0; 2165 float fnumber = 0; 2166 2167 while (*format) 2168 { 2169 switch (*format++) 2170 { 2171 case '\''s'\'': // string 2172 str = va_arg (args_copy, const char *); 2173 break; 2174 case '\''d'\'': // int 2175 number = va_arg (args_copy, int); 2176 break; 2177 case '\''f'\'': // float 2178 fnumber = va_arg (args_copy, double); 2179 break; 2180 default: 2181 break; 2182 } 2183 } 2184 va_end (args_copy); 2185 va_end (args); 2186 2187 return *str && number && fnumber; 2188} 2189' 2190 2191# Test code for whether the C compiler supports C99 (body of main). 2192ac_c_conftest_c99_main=' 2193 // Check bool. 2194 _Bool success = false; 2195 success |= (argc != 0); 2196 2197 // Check restrict. 2198 if (test_restrict ("String literal") == 0) 2199 success = true; 2200 char *restrict newvar = "Another string"; 2201 2202 // Check varargs. 2203 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2204 test_varargs_macros (); 2205 2206 // Check flexible array members. 2207 struct incomplete_array *ia = 2208 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2209 ia->datasize = 10; 2210 for (int i = 0; i < ia->datasize; ++i) 2211 ia->data[i] = i * 1.234; 2212 2213 // Check named initializers. 2214 struct named_init ni = { 2215 .number = 34, 2216 .name = L"Test wide string", 2217 .average = 543.34343, 2218 }; 2219 2220 ni.number = 58; 2221 2222 int dynamic_array[ni.number]; 2223 dynamic_array[0] = argv[0][0]; 2224 dynamic_array[ni.number - 1] = 543; 2225 2226 // work around unused variable warnings 2227 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2228 || dynamic_array[ni.number - 1] != 543); 2229' 2230 2231# Test code for whether the C compiler supports C11 (global declarations) 2232ac_c_conftest_c11_globals=' 2233// Does the compiler advertise C11 conformance? 2234#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2235# error "Compiler does not advertise C11 conformance" 2236#endif 2237 2238// Check _Alignas. 2239char _Alignas (double) aligned_as_double; 2240char _Alignas (0) no_special_alignment; 2241extern char aligned_as_int; 2242char _Alignas (0) _Alignas (int) aligned_as_int; 2243 2244// Check _Alignof. 2245enum 2246{ 2247 int_alignment = _Alignof (int), 2248 int_array_alignment = _Alignof (int[100]), 2249 char_alignment = _Alignof (char) 2250}; 2251_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2252 2253// Check _Noreturn. 2254int _Noreturn does_not_return (void) { for (;;) continue; } 2255 2256// Check _Static_assert. 2257struct test_static_assert 2258{ 2259 int x; 2260 _Static_assert (sizeof (int) <= sizeof (long int), 2261 "_Static_assert does not work in struct"); 2262 long int y; 2263}; 2264 2265// Check UTF-8 literals. 2266#define u8 syntax error! 2267char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2268 2269// Check duplicate typedefs. 2270typedef long *long_ptr; 2271typedef long int *long_ptr; 2272typedef long_ptr long_ptr; 2273 2274// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2275struct anonymous 2276{ 2277 union { 2278 struct { int i; int j; }; 2279 struct { int k; long int l; } w; 2280 }; 2281 int m; 2282} v1; 2283' 2284 2285# Test code for whether the C compiler supports C11 (body of main). 2286ac_c_conftest_c11_main=' 2287 _Static_assert ((offsetof (struct anonymous, i) 2288 == offsetof (struct anonymous, w.k)), 2289 "Anonymous union alignment botch"); 2290 v1.i = 2; 2291 v1.w.k = 5; 2292 ok |= v1.i != 5; 2293' 2294 2295# Test code for whether the C compiler supports C11 (complete). 2296ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2297${ac_c_conftest_c99_globals} 2298${ac_c_conftest_c11_globals} 2299 2300int 2301main (int argc, char **argv) 2302{ 2303 int ok = 0; 2304 ${ac_c_conftest_c89_main} 2305 ${ac_c_conftest_c99_main} 2306 ${ac_c_conftest_c11_main} 2307 return ok; 2308} 2309" 2310 2311# Test code for whether the C compiler supports C99 (complete). 2312ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2313${ac_c_conftest_c99_globals} 2314 2315int 2316main (int argc, char **argv) 2317{ 2318 int ok = 0; 2319 ${ac_c_conftest_c89_main} 2320 ${ac_c_conftest_c99_main} 2321 return ok; 2322} 2323" 2324 2325# Test code for whether the C compiler supports C89 (complete). 2326ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2327 2328int 2329main (int argc, char **argv) 2330{ 2331 int ok = 0; 2332 ${ac_c_conftest_c89_main} 2333 return ok; 2334} 2335" 2336 2337as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2338as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2339as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2340as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2341as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2342as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2343as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2344as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2345as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2346 2347# Auxiliary files required by this configure script. 2348ac_aux_files="compile ltmain.sh config.guess config.sub missing install-sh" 2349 2350# Locations in which to look for auxiliary files. 2351ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2352 2353# Search for a directory containing all of the required auxiliary files, 2354# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2355# If we don't find one directory that contains all the files we need, 2356# we report the set of missing files from the *first* directory in 2357# $ac_aux_dir_candidates and give up. 2358ac_missing_aux_files="" 2359ac_first_candidate=: 2360printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2362as_found=false 2363for as_dir in $ac_aux_dir_candidates 2364do 2365 IFS=$as_save_IFS 2366 case $as_dir in #((( 2367 '') as_dir=./ ;; 2368 */) ;; 2369 *) as_dir=$as_dir/ ;; 2370 esac 2371 as_found=: 2372 2373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2374 ac_aux_dir_found=yes 2375 ac_install_sh= 2376 for ac_aux in $ac_aux_files 2377 do 2378 # As a special case, if "install-sh" is required, that requirement 2379 # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2380 # and $ac_install_sh is set appropriately for whichever one is found. 2381 if test x"$ac_aux" = x"install-sh" 2382 then 2383 if test -f "${as_dir}install-sh"; then 2384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2385 ac_install_sh="${as_dir}install-sh -c" 2386 elif test -f "${as_dir}install.sh"; then 2387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2388 ac_install_sh="${as_dir}install.sh -c" 2389 elif test -f "${as_dir}shtool"; then 2390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2391 ac_install_sh="${as_dir}shtool install -c" 2392 else 2393 ac_aux_dir_found=no 2394 if $ac_first_candidate; then 2395 ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2396 else 2397 break 2398 fi 2399 fi 2400 else 2401 if test -f "${as_dir}${ac_aux}"; then 2402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2403 else 2404 ac_aux_dir_found=no 2405 if $ac_first_candidate; then 2406 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2407 else 2408 break 2409 fi 2410 fi 2411 fi 2412 done 2413 if test "$ac_aux_dir_found" = yes; then 2414 ac_aux_dir="$as_dir" 2415 break 2416 fi 2417 ac_first_candidate=false 2418 2419 as_found=false 2420done 2421IFS=$as_save_IFS 2422if $as_found 2423then : 2424 2425else $as_nop 2426 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2427fi 2428 2429 2430# These three variables are undocumented and unsupported, 2431# and are intended to be withdrawn in a future Autoconf release. 2432# They can cause serious problems if a builder's source tree is in a directory 2433# whose full name contains unusual characters. 2434if test -f "${ac_aux_dir}config.guess"; then 2435 ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2436fi 2437if test -f "${ac_aux_dir}config.sub"; then 2438 ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2439fi 2440if test -f "$ac_aux_dir/configure"; then 2441 ac_configure="$SHELL ${ac_aux_dir}configure" 2442fi 2443 2444# Check that the precious variables saved in the cache have kept the same 2445# value. 2446ac_cache_corrupted=false 2447for ac_var in $ac_precious_vars; do 2448 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2449 eval ac_new_set=\$ac_env_${ac_var}_set 2450 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2451 eval ac_new_val=\$ac_env_${ac_var}_value 2452 case $ac_old_set,$ac_new_set in 2453 set,) 2454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2455printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2456 ac_cache_corrupted=: ;; 2457 ,set) 2458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2459printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2460 ac_cache_corrupted=: ;; 2461 ,);; 2462 *) 2463 if test "x$ac_old_val" != "x$ac_new_val"; then 2464 # differences in whitespace do not lead to failure. 2465 ac_old_val_w=`echo x $ac_old_val` 2466 ac_new_val_w=`echo x $ac_new_val` 2467 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2469printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2470 ac_cache_corrupted=: 2471 else 2472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2473printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2474 eval $ac_var=\$ac_old_val 2475 fi 2476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2477printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2479printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2480 fi;; 2481 esac 2482 # Pass precious variables to config.status. 2483 if test "$ac_new_set" = set; then 2484 case $ac_new_val in 2485 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2486 *) ac_arg=$ac_var=$ac_new_val ;; 2487 esac 2488 case " $ac_configure_args " in 2489 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2490 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2491 esac 2492 fi 2493done 2494if $ac_cache_corrupted; then 2495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2496printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2498printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2499 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2500 and start over" "$LINENO" 5 2501fi 2502## -------------------- ## 2503## Main body of script. ## 2504## -------------------- ## 2505 2506ac_ext=c 2507ac_cpp='$CPP $CPPFLAGS' 2508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2510ac_compiler_gnu=$ac_cv_c_compiler_gnu 2511 2512 2513 2514ac_config_headers="$ac_config_headers config.h" 2515 2516am__api_version='1.16' 2517 2518 2519 2520 # Find a good install program. We prefer a C program (faster), 2521# so one script is as good as another. But avoid the broken or 2522# incompatible versions: 2523# SysV /etc/install, /usr/sbin/install 2524# SunOS /usr/etc/install 2525# IRIX /sbin/install 2526# AIX /bin/install 2527# AmigaOS /C/install, which installs bootblocks on floppy discs 2528# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2529# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2530# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2531# OS/2's system install, which has a completely different semantic 2532# ./install, which can be erroneously created by make from ./install.sh. 2533# Reject install programs that cannot install multiple files. 2534{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2535printf %s "checking for a BSD-compatible install... " >&6; } 2536if test -z "$INSTALL"; then 2537if test ${ac_cv_path_install+y} 2538then : 2539 printf %s "(cached) " >&6 2540else $as_nop 2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2542for as_dir in $PATH 2543do 2544 IFS=$as_save_IFS 2545 case $as_dir in #((( 2546 '') as_dir=./ ;; 2547 */) ;; 2548 *) as_dir=$as_dir/ ;; 2549 esac 2550 # Account for fact that we put trailing slashes in our PATH walk. 2551case $as_dir in #(( 2552 ./ | /[cC]/* | \ 2553 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2554 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2555 /usr/ucb/* ) ;; 2556 *) 2557 # OSF1 and SCO ODT 3.0 have their own names for install. 2558 # Don't use installbsd from OSF since it installs stuff as root 2559 # by default. 2560 for ac_prog in ginstall scoinst install; do 2561 for ac_exec_ext in '' $ac_executable_extensions; do 2562 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2563 if test $ac_prog = install && 2564 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2565 # AIX install. It has an incompatible calling convention. 2566 : 2567 elif test $ac_prog = install && 2568 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2569 # program-specific install script used by HP pwplus--don't use. 2570 : 2571 else 2572 rm -rf conftest.one conftest.two conftest.dir 2573 echo one > conftest.one 2574 echo two > conftest.two 2575 mkdir conftest.dir 2576 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2577 test -s conftest.one && test -s conftest.two && 2578 test -s conftest.dir/conftest.one && 2579 test -s conftest.dir/conftest.two 2580 then 2581 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2582 break 3 2583 fi 2584 fi 2585 fi 2586 done 2587 done 2588 ;; 2589esac 2590 2591 done 2592IFS=$as_save_IFS 2593 2594rm -rf conftest.one conftest.two conftest.dir 2595 2596fi 2597 if test ${ac_cv_path_install+y}; then 2598 INSTALL=$ac_cv_path_install 2599 else 2600 # As a last resort, use the slow shell script. Don't cache a 2601 # value for INSTALL within a source directory, because that will 2602 # break other packages using the cache if that directory is 2603 # removed, or if the value is a relative name. 2604 INSTALL=$ac_install_sh 2605 fi 2606fi 2607{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2608printf "%s\n" "$INSTALL" >&6; } 2609 2610# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2611# It thinks the first close brace ends the variable substitution. 2612test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2613 2614test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2615 2616test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2617 2618{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2619printf %s "checking whether build environment is sane... " >&6; } 2620# Reject unsafe characters in $srcdir or the absolute working directory 2621# name. Accept space and tab only in the latter. 2622am_lf=' 2623' 2624case `pwd` in 2625 *[\\\"\#\$\&\'\`$am_lf]*) 2626 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2627esac 2628case $srcdir in 2629 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2630 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2631esac 2632 2633# Do 'set' in a subshell so we don't clobber the current shell's 2634# arguments. Must try -L first in case configure is actually a 2635# symlink; some systems play weird games with the mod time of symlinks 2636# (eg FreeBSD returns the mod time of the symlink's containing 2637# directory). 2638if ( 2639 am_has_slept=no 2640 for am_try in 1 2; do 2641 echo "timestamp, slept: $am_has_slept" > conftest.file 2642 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2643 if test "$*" = "X"; then 2644 # -L didn't work. 2645 set X `ls -t "$srcdir/configure" conftest.file` 2646 fi 2647 if test "$*" != "X $srcdir/configure conftest.file" \ 2648 && test "$*" != "X conftest.file $srcdir/configure"; then 2649 2650 # If neither matched, then we have a broken ls. This can happen 2651 # if, for instance, CONFIG_SHELL is bash and it inherits a 2652 # broken ls alias from the environment. This has actually 2653 # happened. Such a system could not be considered "sane". 2654 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2655 alias in your environment" "$LINENO" 5 2656 fi 2657 if test "$2" = conftest.file || test $am_try -eq 2; then 2658 break 2659 fi 2660 # Just in case. 2661 sleep 1 2662 am_has_slept=yes 2663 done 2664 test "$2" = conftest.file 2665 ) 2666then 2667 # Ok. 2668 : 2669else 2670 as_fn_error $? "newly created file is older than distributed files! 2671Check your system clock" "$LINENO" 5 2672fi 2673{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2674printf "%s\n" "yes" >&6; } 2675# If we didn't sleep, we still need to ensure time stamps of config.status and 2676# generated files are strictly newer. 2677am_sleep_pid= 2678if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2679 ( sleep 1 ) & 2680 am_sleep_pid=$! 2681fi 2682 2683rm -f conftest.file 2684 2685test "$program_prefix" != NONE && 2686 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2687# Use a double $ so make ignores it. 2688test "$program_suffix" != NONE && 2689 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2690# Double any \ or $. 2691# By default was `s,x,x', remove it if useless. 2692ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2693program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2694 2695 2696# Expand $ac_aux_dir to an absolute path. 2697am_aux_dir=`cd "$ac_aux_dir" && pwd` 2698 2699 2700 if test x"${MISSING+set}" != xset; then 2701 MISSING="\${SHELL} '$am_aux_dir/missing'" 2702fi 2703# Use eval to expand $SHELL 2704if eval "$MISSING --is-lightweight"; then 2705 am_missing_run="$MISSING " 2706else 2707 am_missing_run= 2708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2709printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2710fi 2711 2712if test x"${install_sh+set}" != xset; then 2713 case $am_aux_dir in 2714 *\ * | *\ *) 2715 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2716 *) 2717 install_sh="\${SHELL} $am_aux_dir/install-sh" 2718 esac 2719fi 2720 2721# Installed binaries are usually stripped using 'strip' when the user 2722# run "make install-strip". However 'strip' might not be the right 2723# tool to use in cross-compilation environments, therefore Automake 2724# will honor the 'STRIP' environment variable to overrule this program. 2725if test "$cross_compiling" != no; then 2726 if test -n "$ac_tool_prefix"; then 2727 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2728set dummy ${ac_tool_prefix}strip; ac_word=$2 2729{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2730printf %s "checking for $ac_word... " >&6; } 2731if test ${ac_cv_prog_STRIP+y} 2732then : 2733 printf %s "(cached) " >&6 2734else $as_nop 2735 if test -n "$STRIP"; then 2736 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2737else 2738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2739for as_dir in $PATH 2740do 2741 IFS=$as_save_IFS 2742 case $as_dir in #((( 2743 '') as_dir=./ ;; 2744 */) ;; 2745 *) as_dir=$as_dir/ ;; 2746 esac 2747 for ac_exec_ext in '' $ac_executable_extensions; do 2748 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2749 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2751 break 2 2752 fi 2753done 2754 done 2755IFS=$as_save_IFS 2756 2757fi 2758fi 2759STRIP=$ac_cv_prog_STRIP 2760if test -n "$STRIP"; then 2761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2762printf "%s\n" "$STRIP" >&6; } 2763else 2764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2765printf "%s\n" "no" >&6; } 2766fi 2767 2768 2769fi 2770if test -z "$ac_cv_prog_STRIP"; then 2771 ac_ct_STRIP=$STRIP 2772 # Extract the first word of "strip", so it can be a program name with args. 2773set dummy strip; ac_word=$2 2774{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2775printf %s "checking for $ac_word... " >&6; } 2776if test ${ac_cv_prog_ac_ct_STRIP+y} 2777then : 2778 printf %s "(cached) " >&6 2779else $as_nop 2780 if test -n "$ac_ct_STRIP"; then 2781 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2782else 2783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2784for as_dir in $PATH 2785do 2786 IFS=$as_save_IFS 2787 case $as_dir in #((( 2788 '') as_dir=./ ;; 2789 */) ;; 2790 *) as_dir=$as_dir/ ;; 2791 esac 2792 for ac_exec_ext in '' $ac_executable_extensions; do 2793 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2794 ac_cv_prog_ac_ct_STRIP="strip" 2795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2796 break 2 2797 fi 2798done 2799 done 2800IFS=$as_save_IFS 2801 2802fi 2803fi 2804ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2805if test -n "$ac_ct_STRIP"; then 2806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2807printf "%s\n" "$ac_ct_STRIP" >&6; } 2808else 2809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2810printf "%s\n" "no" >&6; } 2811fi 2812 2813 if test "x$ac_ct_STRIP" = x; then 2814 STRIP=":" 2815 else 2816 case $cross_compiling:$ac_tool_warned in 2817yes:) 2818{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2819printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2820ac_tool_warned=yes ;; 2821esac 2822 STRIP=$ac_ct_STRIP 2823 fi 2824else 2825 STRIP="$ac_cv_prog_STRIP" 2826fi 2827 2828fi 2829INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2830 2831 2832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2833printf %s "checking for a race-free mkdir -p... " >&6; } 2834if test -z "$MKDIR_P"; then 2835 if test ${ac_cv_path_mkdir+y} 2836then : 2837 printf %s "(cached) " >&6 2838else $as_nop 2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2840for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2841do 2842 IFS=$as_save_IFS 2843 case $as_dir in #((( 2844 '') as_dir=./ ;; 2845 */) ;; 2846 *) as_dir=$as_dir/ ;; 2847 esac 2848 for ac_prog in mkdir gmkdir; do 2849 for ac_exec_ext in '' $ac_executable_extensions; do 2850 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2851 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2852 'mkdir ('*'coreutils) '* | \ 2853 'BusyBox '* | \ 2854 'mkdir (fileutils) '4.1*) 2855 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2856 break 3;; 2857 esac 2858 done 2859 done 2860 done 2861IFS=$as_save_IFS 2862 2863fi 2864 2865 test -d ./--version && rmdir ./--version 2866 if test ${ac_cv_path_mkdir+y}; then 2867 MKDIR_P="$ac_cv_path_mkdir -p" 2868 else 2869 # As a last resort, use the slow shell script. Don't cache a 2870 # value for MKDIR_P within a source directory, because that will 2871 # break other packages using the cache if that directory is 2872 # removed, or if the value is a relative name. 2873 MKDIR_P="$ac_install_sh -d" 2874 fi 2875fi 2876{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2877printf "%s\n" "$MKDIR_P" >&6; } 2878 2879for ac_prog in gawk mawk nawk awk 2880do 2881 # Extract the first word of "$ac_prog", so it can be a program name with args. 2882set dummy $ac_prog; ac_word=$2 2883{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2884printf %s "checking for $ac_word... " >&6; } 2885if test ${ac_cv_prog_AWK+y} 2886then : 2887 printf %s "(cached) " >&6 2888else $as_nop 2889 if test -n "$AWK"; then 2890 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2891else 2892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2893for as_dir in $PATH 2894do 2895 IFS=$as_save_IFS 2896 case $as_dir in #((( 2897 '') as_dir=./ ;; 2898 */) ;; 2899 *) as_dir=$as_dir/ ;; 2900 esac 2901 for ac_exec_ext in '' $ac_executable_extensions; do 2902 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2903 ac_cv_prog_AWK="$ac_prog" 2904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2905 break 2 2906 fi 2907done 2908 done 2909IFS=$as_save_IFS 2910 2911fi 2912fi 2913AWK=$ac_cv_prog_AWK 2914if test -n "$AWK"; then 2915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2916printf "%s\n" "$AWK" >&6; } 2917else 2918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2919printf "%s\n" "no" >&6; } 2920fi 2921 2922 2923 test -n "$AWK" && break 2924done 2925 2926{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2927printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2928set x ${MAKE-make} 2929ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2930if eval test \${ac_cv_prog_make_${ac_make}_set+y} 2931then : 2932 printf %s "(cached) " >&6 2933else $as_nop 2934 cat >conftest.make <<\_ACEOF 2935SHELL = /bin/sh 2936all: 2937 @echo '@@@%%%=$(MAKE)=@@@%%%' 2938_ACEOF 2939# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2940case `${MAKE-make} -f conftest.make 2>/dev/null` in 2941 *@@@%%%=?*=@@@%%%*) 2942 eval ac_cv_prog_make_${ac_make}_set=yes;; 2943 *) 2944 eval ac_cv_prog_make_${ac_make}_set=no;; 2945esac 2946rm -f conftest.make 2947fi 2948if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2950printf "%s\n" "yes" >&6; } 2951 SET_MAKE= 2952else 2953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2954printf "%s\n" "no" >&6; } 2955 SET_MAKE="MAKE=${MAKE-make}" 2956fi 2957 2958rm -rf .tst 2>/dev/null 2959mkdir .tst 2>/dev/null 2960if test -d .tst; then 2961 am__leading_dot=. 2962else 2963 am__leading_dot=_ 2964fi 2965rmdir .tst 2>/dev/null 2966 2967# Check whether --enable-silent-rules was given. 2968if test ${enable_silent_rules+y} 2969then : 2970 enableval=$enable_silent_rules; 2971fi 2972 2973case $enable_silent_rules in # ((( 2974 yes) AM_DEFAULT_VERBOSITY=0;; 2975 no) AM_DEFAULT_VERBOSITY=1;; 2976 *) AM_DEFAULT_VERBOSITY=1;; 2977esac 2978am_make=${MAKE-make} 2979{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2980printf %s "checking whether $am_make supports nested variables... " >&6; } 2981if test ${am_cv_make_support_nested_variables+y} 2982then : 2983 printf %s "(cached) " >&6 2984else $as_nop 2985 if printf "%s\n" 'TRUE=$(BAR$(V)) 2986BAR0=false 2987BAR1=true 2988V=1 2989am__doit: 2990 @$(TRUE) 2991.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2992 am_cv_make_support_nested_variables=yes 2993else 2994 am_cv_make_support_nested_variables=no 2995fi 2996fi 2997{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2998printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 2999if test $am_cv_make_support_nested_variables = yes; then 3000 AM_V='$(V)' 3001 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3002else 3003 AM_V=$AM_DEFAULT_VERBOSITY 3004 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3005fi 3006AM_BACKSLASH='\' 3007 3008if test "`cd $srcdir && pwd`" != "`pwd`"; then 3009 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3010 # is not polluted with repeated "-I." 3011 am__isrc=' -I$(srcdir)' 3012 # test to see if srcdir already configured 3013 if test -f $srcdir/config.status; then 3014 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3015 fi 3016fi 3017 3018# test whether we have cygpath 3019if test -z "$CYGPATH_W"; then 3020 if (cygpath --version) >/dev/null 2>/dev/null; then 3021 CYGPATH_W='cygpath -w' 3022 else 3023 CYGPATH_W=echo 3024 fi 3025fi 3026 3027 3028# Define the identity of the package. 3029 PACKAGE='ivykis-test-mt' 3030 VERSION='0.1' 3031 3032 3033printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 3034 3035 3036printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 3037 3038# Some tools Automake needs. 3039 3040ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3041 3042 3043AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3044 3045 3046AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3047 3048 3049AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3050 3051 3052MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3053 3054# For better backward compatibility. To be removed once Automake 1.9.x 3055# dies out for good. For more background, see: 3056# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3057# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3058mkdir_p='$(MKDIR_P)' 3059 3060# We need awk for the "check" target (and possibly the TAP driver). The 3061# system "awk" is bad on some platforms. 3062# Always define AMTAR for backward compatibility. Yes, it's still used 3063# in the wild :-( We should find a proper way to deprecate it ... 3064AMTAR='$${TAR-tar}' 3065 3066 3067# We'll loop over all known methods to create a tar archive until one works. 3068_am_tools='gnutar pax cpio none' 3069 3070am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3071 3072 3073 3074 3075 3076# Variables for tags utilities; see am/tags.am 3077if test -z "$CTAGS"; then 3078 CTAGS=ctags 3079fi 3080 3081if test -z "$ETAGS"; then 3082 ETAGS=etags 3083fi 3084 3085if test -z "$CSCOPE"; then 3086 CSCOPE=cscope 3087fi 3088 3089 3090 3091# POSIX will say in a future version that running "rm -f" with no argument 3092# is OK; and we want to be able to make that assumption in our Makefile 3093# recipes. So use an aggressive probe to check that the usage we want is 3094# actually supported "in the wild" to an acceptable degree. 3095# See automake bug#10828. 3096# To make any issue more visible, cause the running configure to be aborted 3097# by default if the 'rm' program in use doesn't match our expectations; the 3098# user can still override this though. 3099if rm -f && rm -fr && rm -rf; then : OK; else 3100 cat >&2 <<'END' 3101Oops! 3102 3103Your 'rm' program seems unable to run without file operands specified 3104on the command line, even when the '-f' option is present. This is contrary 3105to the behaviour of most rm programs out there, and not conforming with 3106the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3107 3108Please tell bug-automake@gnu.org about your system, including the value 3109of your $PATH and any error possibly output before this message. This 3110can help us improve future automake versions. 3111 3112END 3113 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3114 echo 'Configuration will proceed anyway, since you have set the' >&2 3115 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3116 echo >&2 3117 else 3118 cat >&2 <<'END' 3119Aborting the configuration process, to ensure you take notice of the issue. 3120 3121You can download and install GNU coreutils to get an 'rm' implementation 3122that behaves properly: <https://www.gnu.org/software/coreutils/>. 3123 3124If you want to complete the configuration process using your problematic 3125'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3126to "yes", and re-run configure. 3127 3128END 3129 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3130 fi 3131fi 3132 3133# Check whether --enable-silent-rules was given. 3134if test ${enable_silent_rules+y} 3135then : 3136 enableval=$enable_silent_rules; 3137fi 3138 3139case $enable_silent_rules in # ((( 3140 yes) AM_DEFAULT_VERBOSITY=0;; 3141 no) AM_DEFAULT_VERBOSITY=1;; 3142 *) AM_DEFAULT_VERBOSITY=1;; 3143esac 3144am_make=${MAKE-make} 3145{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3146printf %s "checking whether $am_make supports nested variables... " >&6; } 3147if test ${am_cv_make_support_nested_variables+y} 3148then : 3149 printf %s "(cached) " >&6 3150else $as_nop 3151 if printf "%s\n" 'TRUE=$(BAR$(V)) 3152BAR0=false 3153BAR1=true 3154V=1 3155am__doit: 3156 @$(TRUE) 3157.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3158 am_cv_make_support_nested_variables=yes 3159else 3160 am_cv_make_support_nested_variables=no 3161fi 3162fi 3163{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3164printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 3165if test $am_cv_make_support_nested_variables = yes; then 3166 AM_V='$(V)' 3167 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3168else 3169 AM_V=$AM_DEFAULT_VERBOSITY 3170 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3171fi 3172AM_BACKSLASH='\' 3173 3174 3175# 3176# On AIX 7.1, prevent AC_PROG_CC from adding -g to CFLAGS, as that 3177# leads to the following linker error: "The symbol refers to a csect 3178# with symbol number 0, which was not found. The new symbol cannot 3179# be associated with a csect and is being ignored." 3180# 3181 3182 3183 # Make sure we can run config.sub. 3184$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 3185 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 3186 3187{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3188printf %s "checking build system type... " >&6; } 3189if test ${ac_cv_build+y} 3190then : 3191 printf %s "(cached) " >&6 3192else $as_nop 3193 ac_build_alias=$build_alias 3194test "x$ac_build_alias" = x && 3195 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 3196test "x$ac_build_alias" = x && 3197 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3198ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 3199 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 3200 3201fi 3202{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3203printf "%s\n" "$ac_cv_build" >&6; } 3204case $ac_cv_build in 3205*-*-*) ;; 3206*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3207esac 3208build=$ac_cv_build 3209ac_save_IFS=$IFS; IFS='-' 3210set x $ac_cv_build 3211shift 3212build_cpu=$1 3213build_vendor=$2 3214shift; shift 3215# Remember, the first character of IFS is used to create $*, 3216# except with old shells: 3217build_os=$* 3218IFS=$ac_save_IFS 3219case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3220 3221 3222{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3223printf %s "checking host system type... " >&6; } 3224if test ${ac_cv_host+y} 3225then : 3226 printf %s "(cached) " >&6 3227else $as_nop 3228 if test "x$host_alias" = x; then 3229 ac_cv_host=$ac_cv_build 3230else 3231 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 3232 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 3233fi 3234 3235fi 3236{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3237printf "%s\n" "$ac_cv_host" >&6; } 3238case $ac_cv_host in 3239*-*-*) ;; 3240*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3241esac 3242host=$ac_cv_host 3243ac_save_IFS=$IFS; IFS='-' 3244set x $ac_cv_host 3245shift 3246host_cpu=$1 3247host_vendor=$2 3248shift; shift 3249# Remember, the first character of IFS is used to create $*, 3250# except with old shells: 3251host_os=$* 3252IFS=$ac_save_IFS 3253case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3254 3255 3256case $host_os in 3257aix7.*) 3258 ac_cv_prog_cc_g=no 3259 ;; 3260*) 3261 ;; 3262esac 3263 3264# Checks for programs. 3265case `pwd` in 3266 *\ * | *\ *) 3267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3268printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3269esac 3270 3271 3272 3273macro_version='2.4.6' 3274macro_revision='2.4.6' 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289ltmain=$ac_aux_dir/ltmain.sh 3290 3291# Backslashify metacharacters that are still active within 3292# double-quoted strings. 3293sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3294 3295# Same as above, but do not quote variable references. 3296double_quote_subst='s/\(["`\\]\)/\\\1/g' 3297 3298# Sed substitution to delay expansion of an escaped shell variable in a 3299# double_quote_subst'ed string. 3300delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3301 3302# Sed substitution to delay expansion of an escaped single quote. 3303delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3304 3305# Sed substitution to avoid accidental globbing in evaled expressions 3306no_glob_subst='s/\*/\\\*/g' 3307 3308ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3309ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3310ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3311 3312{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3313printf %s "checking how to print strings... " >&6; } 3314# Test print first, because it will be a builtin if present. 3315if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3316 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3317 ECHO='print -r --' 3318elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3319 ECHO='printf %s\n' 3320else 3321 # Use this function as a fallback that always works. 3322 func_fallback_echo () 3323 { 3324 eval 'cat <<_LTECHO_EOF 3325$1 3326_LTECHO_EOF' 3327 } 3328 ECHO='func_fallback_echo' 3329fi 3330 3331# func_echo_all arg... 3332# Invoke $ECHO with all args, space-separated. 3333func_echo_all () 3334{ 3335 $ECHO "" 3336} 3337 3338case $ECHO in 3339 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3340printf "%s\n" "printf" >&6; } ;; 3341 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3342printf "%s\n" "print -r" >&6; } ;; 3343 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3344printf "%s\n" "cat" >&6; } ;; 3345esac 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369DEPDIR="${am__leading_dot}deps" 3370 3371ac_config_commands="$ac_config_commands depfiles" 3372 3373{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3374printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } 3375cat > confinc.mk << 'END' 3376am__doit: 3377 @echo this is the am__doit target >confinc.out 3378.PHONY: am__doit 3379END 3380am__include="#" 3381am__quote= 3382# BSD make does it like this. 3383echo '.include "confinc.mk" # ignored' > confmf.BSD 3384# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3385echo 'include confinc.mk # ignored' > confmf.GNU 3386_am_result=no 3387for s in GNU BSD; do 3388 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3389 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3390 ac_status=$? 3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3392 (exit $ac_status); } 3393 case $?:`cat confinc.out 2>/dev/null` in #( 3394 '0:this is the am__doit target') : 3395 case $s in #( 3396 BSD) : 3397 am__include='.include' am__quote='"' ;; #( 3398 *) : 3399 am__include='include' am__quote='' ;; 3400esac ;; #( 3401 *) : 3402 ;; 3403esac 3404 if test "$am__include" != "#"; then 3405 _am_result="yes ($s style)" 3406 break 3407 fi 3408done 3409rm -f confinc.* confmf.* 3410{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3411printf "%s\n" "${_am_result}" >&6; } 3412 3413# Check whether --enable-dependency-tracking was given. 3414if test ${enable_dependency_tracking+y} 3415then : 3416 enableval=$enable_dependency_tracking; 3417fi 3418 3419if test "x$enable_dependency_tracking" != xno; then 3420 am_depcomp="$ac_aux_dir/depcomp" 3421 AMDEPBACKSLASH='\' 3422 am__nodep='_no' 3423fi 3424 if test "x$enable_dependency_tracking" != xno; then 3425 AMDEP_TRUE= 3426 AMDEP_FALSE='#' 3427else 3428 AMDEP_TRUE='#' 3429 AMDEP_FALSE= 3430fi 3431 3432 3433ac_ext=c 3434ac_cpp='$CPP $CPPFLAGS' 3435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3437ac_compiler_gnu=$ac_cv_c_compiler_gnu 3438if test -n "$ac_tool_prefix"; then 3439 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3440set dummy ${ac_tool_prefix}gcc; ac_word=$2 3441{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3442printf %s "checking for $ac_word... " >&6; } 3443if test ${ac_cv_prog_CC+y} 3444then : 3445 printf %s "(cached) " >&6 3446else $as_nop 3447 if test -n "$CC"; then 3448 ac_cv_prog_CC="$CC" # Let the user override the test. 3449else 3450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3451for as_dir in $PATH 3452do 3453 IFS=$as_save_IFS 3454 case $as_dir in #((( 3455 '') as_dir=./ ;; 3456 */) ;; 3457 *) as_dir=$as_dir/ ;; 3458 esac 3459 for ac_exec_ext in '' $ac_executable_extensions; do 3460 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3461 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3463 break 2 3464 fi 3465done 3466 done 3467IFS=$as_save_IFS 3468 3469fi 3470fi 3471CC=$ac_cv_prog_CC 3472if test -n "$CC"; then 3473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3474printf "%s\n" "$CC" >&6; } 3475else 3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3477printf "%s\n" "no" >&6; } 3478fi 3479 3480 3481fi 3482if test -z "$ac_cv_prog_CC"; then 3483 ac_ct_CC=$CC 3484 # Extract the first word of "gcc", so it can be a program name with args. 3485set dummy gcc; ac_word=$2 3486{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3487printf %s "checking for $ac_word... " >&6; } 3488if test ${ac_cv_prog_ac_ct_CC+y} 3489then : 3490 printf %s "(cached) " >&6 3491else $as_nop 3492 if test -n "$ac_ct_CC"; then 3493 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3494else 3495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3496for as_dir in $PATH 3497do 3498 IFS=$as_save_IFS 3499 case $as_dir in #((( 3500 '') as_dir=./ ;; 3501 */) ;; 3502 *) as_dir=$as_dir/ ;; 3503 esac 3504 for ac_exec_ext in '' $ac_executable_extensions; do 3505 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3506 ac_cv_prog_ac_ct_CC="gcc" 3507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3508 break 2 3509 fi 3510done 3511 done 3512IFS=$as_save_IFS 3513 3514fi 3515fi 3516ac_ct_CC=$ac_cv_prog_ac_ct_CC 3517if test -n "$ac_ct_CC"; then 3518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3519printf "%s\n" "$ac_ct_CC" >&6; } 3520else 3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3522printf "%s\n" "no" >&6; } 3523fi 3524 3525 if test "x$ac_ct_CC" = x; then 3526 CC="" 3527 else 3528 case $cross_compiling:$ac_tool_warned in 3529yes:) 3530{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3531printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3532ac_tool_warned=yes ;; 3533esac 3534 CC=$ac_ct_CC 3535 fi 3536else 3537 CC="$ac_cv_prog_CC" 3538fi 3539 3540if test -z "$CC"; then 3541 if test -n "$ac_tool_prefix"; then 3542 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3543set dummy ${ac_tool_prefix}cc; ac_word=$2 3544{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3545printf %s "checking for $ac_word... " >&6; } 3546if test ${ac_cv_prog_CC+y} 3547then : 3548 printf %s "(cached) " >&6 3549else $as_nop 3550 if test -n "$CC"; then 3551 ac_cv_prog_CC="$CC" # Let the user override the test. 3552else 3553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3554for as_dir in $PATH 3555do 3556 IFS=$as_save_IFS 3557 case $as_dir in #((( 3558 '') as_dir=./ ;; 3559 */) ;; 3560 *) as_dir=$as_dir/ ;; 3561 esac 3562 for ac_exec_ext in '' $ac_executable_extensions; do 3563 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3564 ac_cv_prog_CC="${ac_tool_prefix}cc" 3565 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3566 break 2 3567 fi 3568done 3569 done 3570IFS=$as_save_IFS 3571 3572fi 3573fi 3574CC=$ac_cv_prog_CC 3575if test -n "$CC"; then 3576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3577printf "%s\n" "$CC" >&6; } 3578else 3579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3580printf "%s\n" "no" >&6; } 3581fi 3582 3583 3584 fi 3585fi 3586if test -z "$CC"; then 3587 # Extract the first word of "cc", so it can be a program name with args. 3588set dummy cc; ac_word=$2 3589{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3590printf %s "checking for $ac_word... " >&6; } 3591if test ${ac_cv_prog_CC+y} 3592then : 3593 printf %s "(cached) " >&6 3594else $as_nop 3595 if test -n "$CC"; then 3596 ac_cv_prog_CC="$CC" # Let the user override the test. 3597else 3598 ac_prog_rejected=no 3599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3600for as_dir in $PATH 3601do 3602 IFS=$as_save_IFS 3603 case $as_dir in #((( 3604 '') as_dir=./ ;; 3605 */) ;; 3606 *) as_dir=$as_dir/ ;; 3607 esac 3608 for ac_exec_ext in '' $ac_executable_extensions; do 3609 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3610 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3611 ac_prog_rejected=yes 3612 continue 3613 fi 3614 ac_cv_prog_CC="cc" 3615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3616 break 2 3617 fi 3618done 3619 done 3620IFS=$as_save_IFS 3621 3622if test $ac_prog_rejected = yes; then 3623 # We found a bogon in the path, so make sure we never use it. 3624 set dummy $ac_cv_prog_CC 3625 shift 3626 if test $# != 0; then 3627 # We chose a different compiler from the bogus one. 3628 # However, it has the same basename, so the bogon will be chosen 3629 # first if we set CC to just the basename; use the full file name. 3630 shift 3631 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 3632 fi 3633fi 3634fi 3635fi 3636CC=$ac_cv_prog_CC 3637if test -n "$CC"; then 3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3639printf "%s\n" "$CC" >&6; } 3640else 3641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3642printf "%s\n" "no" >&6; } 3643fi 3644 3645 3646fi 3647if test -z "$CC"; then 3648 if test -n "$ac_tool_prefix"; then 3649 for ac_prog in cl.exe 3650 do 3651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3652set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3653{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3654printf %s "checking for $ac_word... " >&6; } 3655if test ${ac_cv_prog_CC+y} 3656then : 3657 printf %s "(cached) " >&6 3658else $as_nop 3659 if test -n "$CC"; then 3660 ac_cv_prog_CC="$CC" # Let the user override the test. 3661else 3662as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3663for as_dir in $PATH 3664do 3665 IFS=$as_save_IFS 3666 case $as_dir in #((( 3667 '') as_dir=./ ;; 3668 */) ;; 3669 *) as_dir=$as_dir/ ;; 3670 esac 3671 for ac_exec_ext in '' $ac_executable_extensions; do 3672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3673 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3675 break 2 3676 fi 3677done 3678 done 3679IFS=$as_save_IFS 3680 3681fi 3682fi 3683CC=$ac_cv_prog_CC 3684if test -n "$CC"; then 3685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3686printf "%s\n" "$CC" >&6; } 3687else 3688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3689printf "%s\n" "no" >&6; } 3690fi 3691 3692 3693 test -n "$CC" && break 3694 done 3695fi 3696if test -z "$CC"; then 3697 ac_ct_CC=$CC 3698 for ac_prog in cl.exe 3699do 3700 # Extract the first word of "$ac_prog", so it can be a program name with args. 3701set dummy $ac_prog; ac_word=$2 3702{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3703printf %s "checking for $ac_word... " >&6; } 3704if test ${ac_cv_prog_ac_ct_CC+y} 3705then : 3706 printf %s "(cached) " >&6 3707else $as_nop 3708 if test -n "$ac_ct_CC"; then 3709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3710else 3711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3712for as_dir in $PATH 3713do 3714 IFS=$as_save_IFS 3715 case $as_dir in #((( 3716 '') as_dir=./ ;; 3717 */) ;; 3718 *) as_dir=$as_dir/ ;; 3719 esac 3720 for ac_exec_ext in '' $ac_executable_extensions; do 3721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3722 ac_cv_prog_ac_ct_CC="$ac_prog" 3723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3724 break 2 3725 fi 3726done 3727 done 3728IFS=$as_save_IFS 3729 3730fi 3731fi 3732ac_ct_CC=$ac_cv_prog_ac_ct_CC 3733if test -n "$ac_ct_CC"; then 3734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3735printf "%s\n" "$ac_ct_CC" >&6; } 3736else 3737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3738printf "%s\n" "no" >&6; } 3739fi 3740 3741 3742 test -n "$ac_ct_CC" && break 3743done 3744 3745 if test "x$ac_ct_CC" = x; then 3746 CC="" 3747 else 3748 case $cross_compiling:$ac_tool_warned in 3749yes:) 3750{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3751printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3752ac_tool_warned=yes ;; 3753esac 3754 CC=$ac_ct_CC 3755 fi 3756fi 3757 3758fi 3759if test -z "$CC"; then 3760 if test -n "$ac_tool_prefix"; then 3761 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3762set dummy ${ac_tool_prefix}clang; ac_word=$2 3763{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3764printf %s "checking for $ac_word... " >&6; } 3765if test ${ac_cv_prog_CC+y} 3766then : 3767 printf %s "(cached) " >&6 3768else $as_nop 3769 if test -n "$CC"; then 3770 ac_cv_prog_CC="$CC" # Let the user override the test. 3771else 3772as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3773for as_dir in $PATH 3774do 3775 IFS=$as_save_IFS 3776 case $as_dir in #((( 3777 '') as_dir=./ ;; 3778 */) ;; 3779 *) as_dir=$as_dir/ ;; 3780 esac 3781 for ac_exec_ext in '' $ac_executable_extensions; do 3782 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3783 ac_cv_prog_CC="${ac_tool_prefix}clang" 3784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3785 break 2 3786 fi 3787done 3788 done 3789IFS=$as_save_IFS 3790 3791fi 3792fi 3793CC=$ac_cv_prog_CC 3794if test -n "$CC"; then 3795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3796printf "%s\n" "$CC" >&6; } 3797else 3798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3799printf "%s\n" "no" >&6; } 3800fi 3801 3802 3803fi 3804if test -z "$ac_cv_prog_CC"; then 3805 ac_ct_CC=$CC 3806 # Extract the first word of "clang", so it can be a program name with args. 3807set dummy clang; ac_word=$2 3808{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3809printf %s "checking for $ac_word... " >&6; } 3810if test ${ac_cv_prog_ac_ct_CC+y} 3811then : 3812 printf %s "(cached) " >&6 3813else $as_nop 3814 if test -n "$ac_ct_CC"; then 3815 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3816else 3817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3818for as_dir in $PATH 3819do 3820 IFS=$as_save_IFS 3821 case $as_dir in #((( 3822 '') as_dir=./ ;; 3823 */) ;; 3824 *) as_dir=$as_dir/ ;; 3825 esac 3826 for ac_exec_ext in '' $ac_executable_extensions; do 3827 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3828 ac_cv_prog_ac_ct_CC="clang" 3829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3830 break 2 3831 fi 3832done 3833 done 3834IFS=$as_save_IFS 3835 3836fi 3837fi 3838ac_ct_CC=$ac_cv_prog_ac_ct_CC 3839if test -n "$ac_ct_CC"; then 3840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3841printf "%s\n" "$ac_ct_CC" >&6; } 3842else 3843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3844printf "%s\n" "no" >&6; } 3845fi 3846 3847 if test "x$ac_ct_CC" = x; then 3848 CC="" 3849 else 3850 case $cross_compiling:$ac_tool_warned in 3851yes:) 3852{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3853printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3854ac_tool_warned=yes ;; 3855esac 3856 CC=$ac_ct_CC 3857 fi 3858else 3859 CC="$ac_cv_prog_CC" 3860fi 3861 3862fi 3863 3864 3865test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3866printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3867as_fn_error $? "no acceptable C compiler found in \$PATH 3868See \`config.log' for more details" "$LINENO" 5; } 3869 3870# Provide some information about the compiler. 3871printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3872set X $ac_compile 3873ac_compiler=$2 3874for ac_option in --version -v -V -qversion -version; do 3875 { { ac_try="$ac_compiler $ac_option >&5" 3876case "(($ac_try" in 3877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3878 *) ac_try_echo=$ac_try;; 3879esac 3880eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3881printf "%s\n" "$ac_try_echo"; } >&5 3882 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3883 ac_status=$? 3884 if test -s conftest.err; then 3885 sed '10a\ 3886... rest of stderr output deleted ... 3887 10q' conftest.err >conftest.er1 3888 cat conftest.er1 >&5 3889 fi 3890 rm -f conftest.er1 conftest.err 3891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3892 test $ac_status = 0; } 3893done 3894 3895cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3896/* end confdefs.h. */ 3897 3898int 3899main (void) 3900{ 3901 3902 ; 3903 return 0; 3904} 3905_ACEOF 3906ac_clean_files_save=$ac_clean_files 3907ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3908# Try to create an executable without -o first, disregard a.out. 3909# It will help us diagnose broken compilers, and finding out an intuition 3910# of exeext. 3911{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3912printf %s "checking whether the C compiler works... " >&6; } 3913ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3914 3915# The possible output files: 3916ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3917 3918ac_rmfiles= 3919for ac_file in $ac_files 3920do 3921 case $ac_file in 3922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3923 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3924 esac 3925done 3926rm -f $ac_rmfiles 3927 3928if { { ac_try="$ac_link_default" 3929case "(($ac_try" in 3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3931 *) ac_try_echo=$ac_try;; 3932esac 3933eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3934printf "%s\n" "$ac_try_echo"; } >&5 3935 (eval "$ac_link_default") 2>&5 3936 ac_status=$? 3937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3938 test $ac_status = 0; } 3939then : 3940 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3941# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3942# in a Makefile. We should not override ac_cv_exeext if it was cached, 3943# so that the user can short-circuit this test for compilers unknown to 3944# Autoconf. 3945for ac_file in $ac_files '' 3946do 3947 test -f "$ac_file" || continue 3948 case $ac_file in 3949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3950 ;; 3951 [ab].out ) 3952 # We found the default executable, but exeext='' is most 3953 # certainly right. 3954 break;; 3955 *.* ) 3956 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3957 then :; else 3958 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3959 fi 3960 # We set ac_cv_exeext here because the later test for it is not 3961 # safe: cross compilers may not add the suffix if given an `-o' 3962 # argument, so we may need to know it at that point already. 3963 # Even if this section looks crufty: it has the advantage of 3964 # actually working. 3965 break;; 3966 * ) 3967 break;; 3968 esac 3969done 3970test "$ac_cv_exeext" = no && ac_cv_exeext= 3971 3972else $as_nop 3973 ac_file='' 3974fi 3975if test -z "$ac_file" 3976then : 3977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3978printf "%s\n" "no" >&6; } 3979printf "%s\n" "$as_me: failed program was:" >&5 3980sed 's/^/| /' conftest.$ac_ext >&5 3981 3982{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3983printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3984as_fn_error 77 "C compiler cannot create executables 3985See \`config.log' for more details" "$LINENO" 5; } 3986else $as_nop 3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3988printf "%s\n" "yes" >&6; } 3989fi 3990{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3991printf %s "checking for C compiler default output file name... " >&6; } 3992{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3993printf "%s\n" "$ac_file" >&6; } 3994ac_exeext=$ac_cv_exeext 3995 3996rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3997ac_clean_files=$ac_clean_files_save 3998{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3999printf %s "checking for suffix of executables... " >&6; } 4000if { { ac_try="$ac_link" 4001case "(($ac_try" in 4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4003 *) ac_try_echo=$ac_try;; 4004esac 4005eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4006printf "%s\n" "$ac_try_echo"; } >&5 4007 (eval "$ac_link") 2>&5 4008 ac_status=$? 4009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4010 test $ac_status = 0; } 4011then : 4012 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4013# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4014# work properly (i.e., refer to `conftest.exe'), while it won't with 4015# `rm'. 4016for ac_file in conftest.exe conftest conftest.*; do 4017 test -f "$ac_file" || continue 4018 case $ac_file in 4019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4020 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4021 break;; 4022 * ) break;; 4023 esac 4024done 4025else $as_nop 4026 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4027printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4028as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4029See \`config.log' for more details" "$LINENO" 5; } 4030fi 4031rm -f conftest conftest$ac_cv_exeext 4032{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4033printf "%s\n" "$ac_cv_exeext" >&6; } 4034 4035rm -f conftest.$ac_ext 4036EXEEXT=$ac_cv_exeext 4037ac_exeext=$EXEEXT 4038cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4039/* end confdefs.h. */ 4040#include <stdio.h> 4041int 4042main (void) 4043{ 4044FILE *f = fopen ("conftest.out", "w"); 4045 return ferror (f) || fclose (f) != 0; 4046 4047 ; 4048 return 0; 4049} 4050_ACEOF 4051ac_clean_files="$ac_clean_files conftest.out" 4052# Check that the compiler produces executables we can run. If not, either 4053# the compiler is broken, or we cross compile. 4054{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4055printf %s "checking whether we are cross compiling... " >&6; } 4056if test "$cross_compiling" != yes; then 4057 { { ac_try="$ac_link" 4058case "(($ac_try" in 4059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4060 *) ac_try_echo=$ac_try;; 4061esac 4062eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4063printf "%s\n" "$ac_try_echo"; } >&5 4064 (eval "$ac_link") 2>&5 4065 ac_status=$? 4066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4067 test $ac_status = 0; } 4068 if { ac_try='./conftest$ac_cv_exeext' 4069 { { case "(($ac_try" in 4070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4071 *) ac_try_echo=$ac_try;; 4072esac 4073eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4074printf "%s\n" "$ac_try_echo"; } >&5 4075 (eval "$ac_try") 2>&5 4076 ac_status=$? 4077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4078 test $ac_status = 0; }; }; then 4079 cross_compiling=no 4080 else 4081 if test "$cross_compiling" = maybe; then 4082 cross_compiling=yes 4083 else 4084 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4085printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4086as_fn_error 77 "cannot run C compiled programs. 4087If you meant to cross compile, use \`--host'. 4088See \`config.log' for more details" "$LINENO" 5; } 4089 fi 4090 fi 4091fi 4092{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4093printf "%s\n" "$cross_compiling" >&6; } 4094 4095rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4096ac_clean_files=$ac_clean_files_save 4097{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4098printf %s "checking for suffix of object files... " >&6; } 4099if test ${ac_cv_objext+y} 4100then : 4101 printf %s "(cached) " >&6 4102else $as_nop 4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4104/* end confdefs.h. */ 4105 4106int 4107main (void) 4108{ 4109 4110 ; 4111 return 0; 4112} 4113_ACEOF 4114rm -f conftest.o conftest.obj 4115if { { ac_try="$ac_compile" 4116case "(($ac_try" in 4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4118 *) ac_try_echo=$ac_try;; 4119esac 4120eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4121printf "%s\n" "$ac_try_echo"; } >&5 4122 (eval "$ac_compile") 2>&5 4123 ac_status=$? 4124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4125 test $ac_status = 0; } 4126then : 4127 for ac_file in conftest.o conftest.obj conftest.*; do 4128 test -f "$ac_file" || continue; 4129 case $ac_file in 4130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4131 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4132 break;; 4133 esac 4134done 4135else $as_nop 4136 printf "%s\n" "$as_me: failed program was:" >&5 4137sed 's/^/| /' conftest.$ac_ext >&5 4138 4139{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4140printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4141as_fn_error $? "cannot compute suffix of object files: cannot compile 4142See \`config.log' for more details" "$LINENO" 5; } 4143fi 4144rm -f conftest.$ac_cv_objext conftest.$ac_ext 4145fi 4146{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4147printf "%s\n" "$ac_cv_objext" >&6; } 4148OBJEXT=$ac_cv_objext 4149ac_objext=$OBJEXT 4150{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 4151printf %s "checking whether the compiler supports GNU C... " >&6; } 4152if test ${ac_cv_c_compiler_gnu+y} 4153then : 4154 printf %s "(cached) " >&6 4155else $as_nop 4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4157/* end confdefs.h. */ 4158 4159int 4160main (void) 4161{ 4162#ifndef __GNUC__ 4163 choke me 4164#endif 4165 4166 ; 4167 return 0; 4168} 4169_ACEOF 4170if ac_fn_c_try_compile "$LINENO" 4171then : 4172 ac_compiler_gnu=yes 4173else $as_nop 4174 ac_compiler_gnu=no 4175fi 4176rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4177ac_cv_c_compiler_gnu=$ac_compiler_gnu 4178 4179fi 4180{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4181printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 4182ac_compiler_gnu=$ac_cv_c_compiler_gnu 4183 4184if test $ac_compiler_gnu = yes; then 4185 GCC=yes 4186else 4187 GCC= 4188fi 4189ac_test_CFLAGS=${CFLAGS+y} 4190ac_save_CFLAGS=$CFLAGS 4191{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4192printf %s "checking whether $CC accepts -g... " >&6; } 4193if test ${ac_cv_prog_cc_g+y} 4194then : 4195 printf %s "(cached) " >&6 4196else $as_nop 4197 ac_save_c_werror_flag=$ac_c_werror_flag 4198 ac_c_werror_flag=yes 4199 ac_cv_prog_cc_g=no 4200 CFLAGS="-g" 4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4202/* end confdefs.h. */ 4203 4204int 4205main (void) 4206{ 4207 4208 ; 4209 return 0; 4210} 4211_ACEOF 4212if ac_fn_c_try_compile "$LINENO" 4213then : 4214 ac_cv_prog_cc_g=yes 4215else $as_nop 4216 CFLAGS="" 4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4218/* end confdefs.h. */ 4219 4220int 4221main (void) 4222{ 4223 4224 ; 4225 return 0; 4226} 4227_ACEOF 4228if ac_fn_c_try_compile "$LINENO" 4229then : 4230 4231else $as_nop 4232 ac_c_werror_flag=$ac_save_c_werror_flag 4233 CFLAGS="-g" 4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4235/* end confdefs.h. */ 4236 4237int 4238main (void) 4239{ 4240 4241 ; 4242 return 0; 4243} 4244_ACEOF 4245if ac_fn_c_try_compile "$LINENO" 4246then : 4247 ac_cv_prog_cc_g=yes 4248fi 4249rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4250fi 4251rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4252fi 4253rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4254 ac_c_werror_flag=$ac_save_c_werror_flag 4255fi 4256{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4257printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 4258if test $ac_test_CFLAGS; then 4259 CFLAGS=$ac_save_CFLAGS 4260elif test $ac_cv_prog_cc_g = yes; then 4261 if test "$GCC" = yes; then 4262 CFLAGS="-g -O2" 4263 else 4264 CFLAGS="-g" 4265 fi 4266else 4267 if test "$GCC" = yes; then 4268 CFLAGS="-O2" 4269 else 4270 CFLAGS= 4271 fi 4272fi 4273ac_prog_cc_stdc=no 4274if test x$ac_prog_cc_stdc = xno 4275then : 4276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 4277printf %s "checking for $CC option to enable C11 features... " >&6; } 4278if test ${ac_cv_prog_cc_c11+y} 4279then : 4280 printf %s "(cached) " >&6 4281else $as_nop 4282 ac_cv_prog_cc_c11=no 4283ac_save_CC=$CC 4284cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4285/* end confdefs.h. */ 4286$ac_c_conftest_c11_program 4287_ACEOF 4288for ac_arg in '' -std=gnu11 4289do 4290 CC="$ac_save_CC $ac_arg" 4291 if ac_fn_c_try_compile "$LINENO" 4292then : 4293 ac_cv_prog_cc_c11=$ac_arg 4294fi 4295rm -f core conftest.err conftest.$ac_objext conftest.beam 4296 test "x$ac_cv_prog_cc_c11" != "xno" && break 4297done 4298rm -f conftest.$ac_ext 4299CC=$ac_save_CC 4300fi 4301 4302if test "x$ac_cv_prog_cc_c11" = xno 4303then : 4304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4305printf "%s\n" "unsupported" >&6; } 4306else $as_nop 4307 if test "x$ac_cv_prog_cc_c11" = x 4308then : 4309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4310printf "%s\n" "none needed" >&6; } 4311else $as_nop 4312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4313printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4314 CC="$CC $ac_cv_prog_cc_c11" 4315fi 4316 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4317 ac_prog_cc_stdc=c11 4318fi 4319fi 4320if test x$ac_prog_cc_stdc = xno 4321then : 4322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4323printf %s "checking for $CC option to enable C99 features... " >&6; } 4324if test ${ac_cv_prog_cc_c99+y} 4325then : 4326 printf %s "(cached) " >&6 4327else $as_nop 4328 ac_cv_prog_cc_c99=no 4329ac_save_CC=$CC 4330cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4331/* end confdefs.h. */ 4332$ac_c_conftest_c99_program 4333_ACEOF 4334for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4335do 4336 CC="$ac_save_CC $ac_arg" 4337 if ac_fn_c_try_compile "$LINENO" 4338then : 4339 ac_cv_prog_cc_c99=$ac_arg 4340fi 4341rm -f core conftest.err conftest.$ac_objext conftest.beam 4342 test "x$ac_cv_prog_cc_c99" != "xno" && break 4343done 4344rm -f conftest.$ac_ext 4345CC=$ac_save_CC 4346fi 4347 4348if test "x$ac_cv_prog_cc_c99" = xno 4349then : 4350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4351printf "%s\n" "unsupported" >&6; } 4352else $as_nop 4353 if test "x$ac_cv_prog_cc_c99" = x 4354then : 4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4356printf "%s\n" "none needed" >&6; } 4357else $as_nop 4358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4359printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4360 CC="$CC $ac_cv_prog_cc_c99" 4361fi 4362 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4363 ac_prog_cc_stdc=c99 4364fi 4365fi 4366if test x$ac_prog_cc_stdc = xno 4367then : 4368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4369printf %s "checking for $CC option to enable C89 features... " >&6; } 4370if test ${ac_cv_prog_cc_c89+y} 4371then : 4372 printf %s "(cached) " >&6 4373else $as_nop 4374 ac_cv_prog_cc_c89=no 4375ac_save_CC=$CC 4376cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4377/* end confdefs.h. */ 4378$ac_c_conftest_c89_program 4379_ACEOF 4380for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4381do 4382 CC="$ac_save_CC $ac_arg" 4383 if ac_fn_c_try_compile "$LINENO" 4384then : 4385 ac_cv_prog_cc_c89=$ac_arg 4386fi 4387rm -f core conftest.err conftest.$ac_objext conftest.beam 4388 test "x$ac_cv_prog_cc_c89" != "xno" && break 4389done 4390rm -f conftest.$ac_ext 4391CC=$ac_save_CC 4392fi 4393 4394if test "x$ac_cv_prog_cc_c89" = xno 4395then : 4396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4397printf "%s\n" "unsupported" >&6; } 4398else $as_nop 4399 if test "x$ac_cv_prog_cc_c89" = x 4400then : 4401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4402printf "%s\n" "none needed" >&6; } 4403else $as_nop 4404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4405printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4406 CC="$CC $ac_cv_prog_cc_c89" 4407fi 4408 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4409 ac_prog_cc_stdc=c89 4410fi 4411fi 4412 4413ac_ext=c 4414ac_cpp='$CPP $CPPFLAGS' 4415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4417ac_compiler_gnu=$ac_cv_c_compiler_gnu 4418 4419 4420 ac_ext=c 4421ac_cpp='$CPP $CPPFLAGS' 4422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4424ac_compiler_gnu=$ac_cv_c_compiler_gnu 4425{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4426printf %s "checking whether $CC understands -c and -o together... " >&6; } 4427if test ${am_cv_prog_cc_c_o+y} 4428then : 4429 printf %s "(cached) " >&6 4430else $as_nop 4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4432/* end confdefs.h. */ 4433 4434int 4435main (void) 4436{ 4437 4438 ; 4439 return 0; 4440} 4441_ACEOF 4442 # Make sure it works both with $CC and with simple cc. 4443 # Following AC_PROG_CC_C_O, we do the test twice because some 4444 # compilers refuse to overwrite an existing .o file with -o, 4445 # though they will create one. 4446 am_cv_prog_cc_c_o=yes 4447 for am_i in 1 2; do 4448 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4449 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4450 ac_status=$? 4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4452 (exit $ac_status); } \ 4453 && test -f conftest2.$ac_objext; then 4454 : OK 4455 else 4456 am_cv_prog_cc_c_o=no 4457 break 4458 fi 4459 done 4460 rm -f core conftest* 4461 unset am_i 4462fi 4463{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4464printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } 4465if test "$am_cv_prog_cc_c_o" != yes; then 4466 # Losing compiler, so override with the script. 4467 # FIXME: It is wrong to rewrite CC. 4468 # But if we don't then we get into trouble of one sort or another. 4469 # A longer-term fix would be to have automake use am__CC in this case, 4470 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4471 CC="$am_aux_dir/compile $CC" 4472fi 4473ac_ext=c 4474ac_cpp='$CPP $CPPFLAGS' 4475ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4476ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4477ac_compiler_gnu=$ac_cv_c_compiler_gnu 4478 4479 4480depcc="$CC" am_compiler_list= 4481 4482{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4483printf %s "checking dependency style of $depcc... " >&6; } 4484if test ${am_cv_CC_dependencies_compiler_type+y} 4485then : 4486 printf %s "(cached) " >&6 4487else $as_nop 4488 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4489 # We make a subdir and do the tests there. Otherwise we can end up 4490 # making bogus files that we don't know about and never remove. For 4491 # instance it was reported that on HP-UX the gcc test will end up 4492 # making a dummy file named 'D' -- because '-MD' means "put the output 4493 # in D". 4494 rm -rf conftest.dir 4495 mkdir conftest.dir 4496 # Copy depcomp to subdir because otherwise we won't find it if we're 4497 # using a relative directory. 4498 cp "$am_depcomp" conftest.dir 4499 cd conftest.dir 4500 # We will build objects and dependencies in a subdirectory because 4501 # it helps to detect inapplicable dependency modes. For instance 4502 # both Tru64's cc and ICC support -MD to output dependencies as a 4503 # side effect of compilation, but ICC will put the dependencies in 4504 # the current directory while Tru64 will put them in the object 4505 # directory. 4506 mkdir sub 4507 4508 am_cv_CC_dependencies_compiler_type=none 4509 if test "$am_compiler_list" = ""; then 4510 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4511 fi 4512 am__universal=false 4513 case " $depcc " in #( 4514 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4515 esac 4516 4517 for depmode in $am_compiler_list; do 4518 # Setup a source with many dependencies, because some compilers 4519 # like to wrap large dependency lists on column 80 (with \), and 4520 # we should not choose a depcomp mode which is confused by this. 4521 # 4522 # We need to recreate these files for each test, as the compiler may 4523 # overwrite some of them when testing with obscure command lines. 4524 # This happens at least with the AIX C compiler. 4525 : > sub/conftest.c 4526 for i in 1 2 3 4 5 6; do 4527 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4528 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4529 # Solaris 10 /bin/sh. 4530 echo '/* dummy */' > sub/conftst$i.h 4531 done 4532 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4533 4534 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4535 # mode. It turns out that the SunPro C++ compiler does not properly 4536 # handle '-M -o', and we need to detect this. Also, some Intel 4537 # versions had trouble with output in subdirs. 4538 am__obj=sub/conftest.${OBJEXT-o} 4539 am__minus_obj="-o $am__obj" 4540 case $depmode in 4541 gcc) 4542 # This depmode causes a compiler race in universal mode. 4543 test "$am__universal" = false || continue 4544 ;; 4545 nosideeffect) 4546 # After this tag, mechanisms are not by side-effect, so they'll 4547 # only be used when explicitly requested. 4548 if test "x$enable_dependency_tracking" = xyes; then 4549 continue 4550 else 4551 break 4552 fi 4553 ;; 4554 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4555 # This compiler won't grok '-c -o', but also, the minuso test has 4556 # not run yet. These depmodes are late enough in the game, and 4557 # so weak that their functioning should not be impacted. 4558 am__obj=conftest.${OBJEXT-o} 4559 am__minus_obj= 4560 ;; 4561 none) break ;; 4562 esac 4563 if depmode=$depmode \ 4564 source=sub/conftest.c object=$am__obj \ 4565 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4566 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4567 >/dev/null 2>conftest.err && 4568 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4569 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4570 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4571 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4572 # icc doesn't choke on unknown options, it will just issue warnings 4573 # or remarks (even with -Werror). So we grep stderr for any message 4574 # that says an option was ignored or not supported. 4575 # When given -MP, icc 7.0 and 7.1 complain thusly: 4576 # icc: Command line warning: ignoring option '-M'; no argument required 4577 # The diagnosis changed in icc 8.0: 4578 # icc: Command line remark: option '-MP' not supported 4579 if (grep 'ignoring option' conftest.err || 4580 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4581 am_cv_CC_dependencies_compiler_type=$depmode 4582 break 4583 fi 4584 fi 4585 done 4586 4587 cd .. 4588 rm -rf conftest.dir 4589else 4590 am_cv_CC_dependencies_compiler_type=none 4591fi 4592 4593fi 4594{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4595printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 4596CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4597 4598 if 4599 test "x$enable_dependency_tracking" != xno \ 4600 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4601 am__fastdepCC_TRUE= 4602 am__fastdepCC_FALSE='#' 4603else 4604 am__fastdepCC_TRUE='#' 4605 am__fastdepCC_FALSE= 4606fi 4607 4608 4609{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4610printf %s "checking for a sed that does not truncate output... " >&6; } 4611if test ${ac_cv_path_SED+y} 4612then : 4613 printf %s "(cached) " >&6 4614else $as_nop 4615 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4616 for ac_i in 1 2 3 4 5 6 7; do 4617 ac_script="$ac_script$as_nl$ac_script" 4618 done 4619 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4620 { ac_script=; unset ac_script;} 4621 if test -z "$SED"; then 4622 ac_path_SED_found=false 4623 # Loop through the user's path and test for each of PROGNAME-LIST 4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4625for as_dir in $PATH 4626do 4627 IFS=$as_save_IFS 4628 case $as_dir in #((( 4629 '') as_dir=./ ;; 4630 */) ;; 4631 *) as_dir=$as_dir/ ;; 4632 esac 4633 for ac_prog in sed gsed 4634 do 4635 for ac_exec_ext in '' $ac_executable_extensions; do 4636 ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 4637 as_fn_executable_p "$ac_path_SED" || continue 4638# Check for GNU ac_path_SED and select it if it is found. 4639 # Check for GNU $ac_path_SED 4640case `"$ac_path_SED" --version 2>&1` in 4641*GNU*) 4642 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4643*) 4644 ac_count=0 4645 printf %s 0123456789 >"conftest.in" 4646 while : 4647 do 4648 cat "conftest.in" "conftest.in" >"conftest.tmp" 4649 mv "conftest.tmp" "conftest.in" 4650 cp "conftest.in" "conftest.nl" 4651 printf "%s\n" '' >> "conftest.nl" 4652 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4653 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4654 as_fn_arith $ac_count + 1 && ac_count=$as_val 4655 if test $ac_count -gt ${ac_path_SED_max-0}; then 4656 # Best one so far, save it but keep looking for a better one 4657 ac_cv_path_SED="$ac_path_SED" 4658 ac_path_SED_max=$ac_count 4659 fi 4660 # 10*(2^10) chars as input seems more than enough 4661 test $ac_count -gt 10 && break 4662 done 4663 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4664esac 4665 4666 $ac_path_SED_found && break 3 4667 done 4668 done 4669 done 4670IFS=$as_save_IFS 4671 if test -z "$ac_cv_path_SED"; then 4672 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4673 fi 4674else 4675 ac_cv_path_SED=$SED 4676fi 4677 4678fi 4679{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4680printf "%s\n" "$ac_cv_path_SED" >&6; } 4681 SED="$ac_cv_path_SED" 4682 rm -f conftest.sed 4683 4684test -z "$SED" && SED=sed 4685Xsed="$SED -e 1s/^X//" 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4698printf %s "checking for grep that handles long lines and -e... " >&6; } 4699if test ${ac_cv_path_GREP+y} 4700then : 4701 printf %s "(cached) " >&6 4702else $as_nop 4703 if test -z "$GREP"; then 4704 ac_path_GREP_found=false 4705 # Loop through the user's path and test for each of PROGNAME-LIST 4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4707for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4708do 4709 IFS=$as_save_IFS 4710 case $as_dir in #((( 4711 '') as_dir=./ ;; 4712 */) ;; 4713 *) as_dir=$as_dir/ ;; 4714 esac 4715 for ac_prog in grep ggrep 4716 do 4717 for ac_exec_ext in '' $ac_executable_extensions; do 4718 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 4719 as_fn_executable_p "$ac_path_GREP" || continue 4720# Check for GNU ac_path_GREP and select it if it is found. 4721 # Check for GNU $ac_path_GREP 4722case `"$ac_path_GREP" --version 2>&1` in 4723*GNU*) 4724 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4725*) 4726 ac_count=0 4727 printf %s 0123456789 >"conftest.in" 4728 while : 4729 do 4730 cat "conftest.in" "conftest.in" >"conftest.tmp" 4731 mv "conftest.tmp" "conftest.in" 4732 cp "conftest.in" "conftest.nl" 4733 printf "%s\n" 'GREP' >> "conftest.nl" 4734 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4735 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4736 as_fn_arith $ac_count + 1 && ac_count=$as_val 4737 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4738 # Best one so far, save it but keep looking for a better one 4739 ac_cv_path_GREP="$ac_path_GREP" 4740 ac_path_GREP_max=$ac_count 4741 fi 4742 # 10*(2^10) chars as input seems more than enough 4743 test $ac_count -gt 10 && break 4744 done 4745 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4746esac 4747 4748 $ac_path_GREP_found && break 3 4749 done 4750 done 4751 done 4752IFS=$as_save_IFS 4753 if test -z "$ac_cv_path_GREP"; then 4754 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4755 fi 4756else 4757 ac_cv_path_GREP=$GREP 4758fi 4759 4760fi 4761{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4762printf "%s\n" "$ac_cv_path_GREP" >&6; } 4763 GREP="$ac_cv_path_GREP" 4764 4765 4766{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4767printf %s "checking for egrep... " >&6; } 4768if test ${ac_cv_path_EGREP+y} 4769then : 4770 printf %s "(cached) " >&6 4771else $as_nop 4772 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4773 then ac_cv_path_EGREP="$GREP -E" 4774 else 4775 if test -z "$EGREP"; then 4776 ac_path_EGREP_found=false 4777 # Loop through the user's path and test for each of PROGNAME-LIST 4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4779for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4780do 4781 IFS=$as_save_IFS 4782 case $as_dir in #((( 4783 '') as_dir=./ ;; 4784 */) ;; 4785 *) as_dir=$as_dir/ ;; 4786 esac 4787 for ac_prog in egrep 4788 do 4789 for ac_exec_ext in '' $ac_executable_extensions; do 4790 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 4791 as_fn_executable_p "$ac_path_EGREP" || continue 4792# Check for GNU ac_path_EGREP and select it if it is found. 4793 # Check for GNU $ac_path_EGREP 4794case `"$ac_path_EGREP" --version 2>&1` in 4795*GNU*) 4796 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4797*) 4798 ac_count=0 4799 printf %s 0123456789 >"conftest.in" 4800 while : 4801 do 4802 cat "conftest.in" "conftest.in" >"conftest.tmp" 4803 mv "conftest.tmp" "conftest.in" 4804 cp "conftest.in" "conftest.nl" 4805 printf "%s\n" 'EGREP' >> "conftest.nl" 4806 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4807 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4808 as_fn_arith $ac_count + 1 && ac_count=$as_val 4809 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4810 # Best one so far, save it but keep looking for a better one 4811 ac_cv_path_EGREP="$ac_path_EGREP" 4812 ac_path_EGREP_max=$ac_count 4813 fi 4814 # 10*(2^10) chars as input seems more than enough 4815 test $ac_count -gt 10 && break 4816 done 4817 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4818esac 4819 4820 $ac_path_EGREP_found && break 3 4821 done 4822 done 4823 done 4824IFS=$as_save_IFS 4825 if test -z "$ac_cv_path_EGREP"; then 4826 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4827 fi 4828else 4829 ac_cv_path_EGREP=$EGREP 4830fi 4831 4832 fi 4833fi 4834{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4835printf "%s\n" "$ac_cv_path_EGREP" >&6; } 4836 EGREP="$ac_cv_path_EGREP" 4837 4838 4839{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4840printf %s "checking for fgrep... " >&6; } 4841if test ${ac_cv_path_FGREP+y} 4842then : 4843 printf %s "(cached) " >&6 4844else $as_nop 4845 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4846 then ac_cv_path_FGREP="$GREP -F" 4847 else 4848 if test -z "$FGREP"; then 4849 ac_path_FGREP_found=false 4850 # Loop through the user's path and test for each of PROGNAME-LIST 4851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4852for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4853do 4854 IFS=$as_save_IFS 4855 case $as_dir in #((( 4856 '') as_dir=./ ;; 4857 */) ;; 4858 *) as_dir=$as_dir/ ;; 4859 esac 4860 for ac_prog in fgrep 4861 do 4862 for ac_exec_ext in '' $ac_executable_extensions; do 4863 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" 4864 as_fn_executable_p "$ac_path_FGREP" || continue 4865# Check for GNU ac_path_FGREP and select it if it is found. 4866 # Check for GNU $ac_path_FGREP 4867case `"$ac_path_FGREP" --version 2>&1` in 4868*GNU*) 4869 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4870*) 4871 ac_count=0 4872 printf %s 0123456789 >"conftest.in" 4873 while : 4874 do 4875 cat "conftest.in" "conftest.in" >"conftest.tmp" 4876 mv "conftest.tmp" "conftest.in" 4877 cp "conftest.in" "conftest.nl" 4878 printf "%s\n" 'FGREP' >> "conftest.nl" 4879 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4880 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4881 as_fn_arith $ac_count + 1 && ac_count=$as_val 4882 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4883 # Best one so far, save it but keep looking for a better one 4884 ac_cv_path_FGREP="$ac_path_FGREP" 4885 ac_path_FGREP_max=$ac_count 4886 fi 4887 # 10*(2^10) chars as input seems more than enough 4888 test $ac_count -gt 10 && break 4889 done 4890 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4891esac 4892 4893 $ac_path_FGREP_found && break 3 4894 done 4895 done 4896 done 4897IFS=$as_save_IFS 4898 if test -z "$ac_cv_path_FGREP"; then 4899 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4900 fi 4901else 4902 ac_cv_path_FGREP=$FGREP 4903fi 4904 4905 fi 4906fi 4907{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4908printf "%s\n" "$ac_cv_path_FGREP" >&6; } 4909 FGREP="$ac_cv_path_FGREP" 4910 4911 4912test -z "$GREP" && GREP=grep 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932# Check whether --with-gnu-ld was given. 4933if test ${with_gnu_ld+y} 4934then : 4935 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4936else $as_nop 4937 with_gnu_ld=no 4938fi 4939 4940ac_prog=ld 4941if test yes = "$GCC"; then 4942 # Check if gcc -print-prog-name=ld gives a path. 4943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4944printf %s "checking for ld used by $CC... " >&6; } 4945 case $host in 4946 *-*-mingw*) 4947 # gcc leaves a trailing carriage return, which upsets mingw 4948 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4949 *) 4950 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4951 esac 4952 case $ac_prog in 4953 # Accept absolute paths. 4954 [\\/]* | ?:[\\/]*) 4955 re_direlt='/[^/][^/]*/\.\./' 4956 # Canonicalize the pathname of ld 4957 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4958 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4959 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4960 done 4961 test -z "$LD" && LD=$ac_prog 4962 ;; 4963 "") 4964 # If it fails, then pretend we aren't using GCC. 4965 ac_prog=ld 4966 ;; 4967 *) 4968 # If it is relative, then search for the first ld in PATH. 4969 with_gnu_ld=unknown 4970 ;; 4971 esac 4972elif test yes = "$with_gnu_ld"; then 4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4974printf %s "checking for GNU ld... " >&6; } 4975else 4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4977printf %s "checking for non-GNU ld... " >&6; } 4978fi 4979if test ${lt_cv_path_LD+y} 4980then : 4981 printf %s "(cached) " >&6 4982else $as_nop 4983 if test -z "$LD"; then 4984 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4985 for ac_dir in $PATH; do 4986 IFS=$lt_save_ifs 4987 test -z "$ac_dir" && ac_dir=. 4988 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4989 lt_cv_path_LD=$ac_dir/$ac_prog 4990 # Check to see if the program is GNU ld. I'd rather use --version, 4991 # but apparently some variants of GNU ld only accept -v. 4992 # Break only if it was the GNU/non-GNU ld that we prefer. 4993 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4994 *GNU* | *'with BFD'*) 4995 test no != "$with_gnu_ld" && break 4996 ;; 4997 *) 4998 test yes != "$with_gnu_ld" && break 4999 ;; 5000 esac 5001 fi 5002 done 5003 IFS=$lt_save_ifs 5004else 5005 lt_cv_path_LD=$LD # Let the user override the test with a path. 5006fi 5007fi 5008 5009LD=$lt_cv_path_LD 5010if test -n "$LD"; then 5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5012printf "%s\n" "$LD" >&6; } 5013else 5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5015printf "%s\n" "no" >&6; } 5016fi 5017test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5018{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5019printf %s "checking if the linker ($LD) is GNU ld... " >&6; } 5020if test ${lt_cv_prog_gnu_ld+y} 5021then : 5022 printf %s "(cached) " >&6 5023else $as_nop 5024 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5025case `$LD -v 2>&1 </dev/null` in 5026*GNU* | *'with BFD'*) 5027 lt_cv_prog_gnu_ld=yes 5028 ;; 5029*) 5030 lt_cv_prog_gnu_ld=no 5031 ;; 5032esac 5033fi 5034{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5035printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } 5036with_gnu_ld=$lt_cv_prog_gnu_ld 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5047printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5048if test ${lt_cv_path_NM+y} 5049then : 5050 printf %s "(cached) " >&6 5051else $as_nop 5052 if test -n "$NM"; then 5053 # Let the user override the test. 5054 lt_cv_path_NM=$NM 5055else 5056 lt_nm_to_check=${ac_tool_prefix}nm 5057 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5058 lt_nm_to_check="$lt_nm_to_check nm" 5059 fi 5060 for lt_tmp_nm in $lt_nm_to_check; do 5061 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5062 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5063 IFS=$lt_save_ifs 5064 test -z "$ac_dir" && ac_dir=. 5065 tmp_nm=$ac_dir/$lt_tmp_nm 5066 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5067 # Check to see if the nm accepts a BSD-compat flag. 5068 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5069 # nm: unknown option "B" ignored 5070 # Tru64's nm complains that /dev/null is an invalid object file 5071 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5072 case $build_os in 5073 mingw*) lt_bad_file=conftest.nm/nofile ;; 5074 *) lt_bad_file=/dev/null ;; 5075 esac 5076 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5077 *$lt_bad_file* | *'Invalid file or object type'*) 5078 lt_cv_path_NM="$tmp_nm -B" 5079 break 2 5080 ;; 5081 *) 5082 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5083 */dev/null*) 5084 lt_cv_path_NM="$tmp_nm -p" 5085 break 2 5086 ;; 5087 *) 5088 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5089 continue # so that we can try to find one that supports BSD flags 5090 ;; 5091 esac 5092 ;; 5093 esac 5094 fi 5095 done 5096 IFS=$lt_save_ifs 5097 done 5098 : ${lt_cv_path_NM=no} 5099fi 5100fi 5101{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5102printf "%s\n" "$lt_cv_path_NM" >&6; } 5103if test no != "$lt_cv_path_NM"; then 5104 NM=$lt_cv_path_NM 5105else 5106 # Didn't find any BSD compatible name lister, look for dumpbin. 5107 if test -n "$DUMPBIN"; then : 5108 # Let the user override the test. 5109 else 5110 if test -n "$ac_tool_prefix"; then 5111 for ac_prog in dumpbin "link -dump" 5112 do 5113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5114set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5115{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5116printf %s "checking for $ac_word... " >&6; } 5117if test ${ac_cv_prog_DUMPBIN+y} 5118then : 5119 printf %s "(cached) " >&6 5120else $as_nop 5121 if test -n "$DUMPBIN"; then 5122 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5123else 5124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5125for as_dir in $PATH 5126do 5127 IFS=$as_save_IFS 5128 case $as_dir in #((( 5129 '') as_dir=./ ;; 5130 */) ;; 5131 *) as_dir=$as_dir/ ;; 5132 esac 5133 for ac_exec_ext in '' $ac_executable_extensions; do 5134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5135 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5137 break 2 5138 fi 5139done 5140 done 5141IFS=$as_save_IFS 5142 5143fi 5144fi 5145DUMPBIN=$ac_cv_prog_DUMPBIN 5146if test -n "$DUMPBIN"; then 5147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5148printf "%s\n" "$DUMPBIN" >&6; } 5149else 5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5151printf "%s\n" "no" >&6; } 5152fi 5153 5154 5155 test -n "$DUMPBIN" && break 5156 done 5157fi 5158if test -z "$DUMPBIN"; then 5159 ac_ct_DUMPBIN=$DUMPBIN 5160 for ac_prog in dumpbin "link -dump" 5161do 5162 # Extract the first word of "$ac_prog", so it can be a program name with args. 5163set dummy $ac_prog; ac_word=$2 5164{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5165printf %s "checking for $ac_word... " >&6; } 5166if test ${ac_cv_prog_ac_ct_DUMPBIN+y} 5167then : 5168 printf %s "(cached) " >&6 5169else $as_nop 5170 if test -n "$ac_ct_DUMPBIN"; then 5171 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5172else 5173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5174for as_dir in $PATH 5175do 5176 IFS=$as_save_IFS 5177 case $as_dir in #((( 5178 '') as_dir=./ ;; 5179 */) ;; 5180 *) as_dir=$as_dir/ ;; 5181 esac 5182 for ac_exec_ext in '' $ac_executable_extensions; do 5183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5184 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5186 break 2 5187 fi 5188done 5189 done 5190IFS=$as_save_IFS 5191 5192fi 5193fi 5194ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5195if test -n "$ac_ct_DUMPBIN"; then 5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5197printf "%s\n" "$ac_ct_DUMPBIN" >&6; } 5198else 5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5200printf "%s\n" "no" >&6; } 5201fi 5202 5203 5204 test -n "$ac_ct_DUMPBIN" && break 5205done 5206 5207 if test "x$ac_ct_DUMPBIN" = x; then 5208 DUMPBIN=":" 5209 else 5210 case $cross_compiling:$ac_tool_warned in 5211yes:) 5212{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5213printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5214ac_tool_warned=yes ;; 5215esac 5216 DUMPBIN=$ac_ct_DUMPBIN 5217 fi 5218fi 5219 5220 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5221 *COFF*) 5222 DUMPBIN="$DUMPBIN -symbols -headers" 5223 ;; 5224 *) 5225 DUMPBIN=: 5226 ;; 5227 esac 5228 fi 5229 5230 if test : != "$DUMPBIN"; then 5231 NM=$DUMPBIN 5232 fi 5233fi 5234test -z "$NM" && NM=nm 5235 5236 5237 5238 5239 5240 5241{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5242printf %s "checking the name lister ($NM) interface... " >&6; } 5243if test ${lt_cv_nm_interface+y} 5244then : 5245 printf %s "(cached) " >&6 5246else $as_nop 5247 lt_cv_nm_interface="BSD nm" 5248 echo "int some_variable = 0;" > conftest.$ac_ext 5249 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5250 (eval "$ac_compile" 2>conftest.err) 5251 cat conftest.err >&5 5252 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5253 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5254 cat conftest.err >&5 5255 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5256 cat conftest.out >&5 5257 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5258 lt_cv_nm_interface="MS dumpbin" 5259 fi 5260 rm -f conftest* 5261fi 5262{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5263printf "%s\n" "$lt_cv_nm_interface" >&6; } 5264 5265{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5266printf %s "checking whether ln -s works... " >&6; } 5267LN_S=$as_ln_s 5268if test "$LN_S" = "ln -s"; then 5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5270printf "%s\n" "yes" >&6; } 5271else 5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5273printf "%s\n" "no, using $LN_S" >&6; } 5274fi 5275 5276# find the maximum length of command line arguments 5277{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5278printf %s "checking the maximum length of command line arguments... " >&6; } 5279if test ${lt_cv_sys_max_cmd_len+y} 5280then : 5281 printf %s "(cached) " >&6 5282else $as_nop 5283 i=0 5284 teststring=ABCD 5285 5286 case $build_os in 5287 msdosdjgpp*) 5288 # On DJGPP, this test can blow up pretty badly due to problems in libc 5289 # (any single argument exceeding 2000 bytes causes a buffer overrun 5290 # during glob expansion). Even if it were fixed, the result of this 5291 # check would be larger than it should be. 5292 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5293 ;; 5294 5295 gnu*) 5296 # Under GNU Hurd, this test is not required because there is 5297 # no limit to the length of command line arguments. 5298 # Libtool will interpret -1 as no limit whatsoever 5299 lt_cv_sys_max_cmd_len=-1; 5300 ;; 5301 5302 cygwin* | mingw* | cegcc*) 5303 # On Win9x/ME, this test blows up -- it succeeds, but takes 5304 # about 5 minutes as the teststring grows exponentially. 5305 # Worse, since 9x/ME are not pre-emptively multitasking, 5306 # you end up with a "frozen" computer, even though with patience 5307 # the test eventually succeeds (with a max line length of 256k). 5308 # Instead, let's just punt: use the minimum linelength reported by 5309 # all of the supported platforms: 8192 (on NT/2K/XP). 5310 lt_cv_sys_max_cmd_len=8192; 5311 ;; 5312 5313 mint*) 5314 # On MiNT this can take a long time and run out of memory. 5315 lt_cv_sys_max_cmd_len=8192; 5316 ;; 5317 5318 amigaos*) 5319 # On AmigaOS with pdksh, this test takes hours, literally. 5320 # So we just punt and use a minimum line length of 8192. 5321 lt_cv_sys_max_cmd_len=8192; 5322 ;; 5323 5324 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5325 # This has been around since 386BSD, at least. Likely further. 5326 if test -x /sbin/sysctl; then 5327 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5328 elif test -x /usr/sbin/sysctl; then 5329 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5330 else 5331 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5332 fi 5333 # And add a safety zone 5334 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5335 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5336 ;; 5337 5338 interix*) 5339 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5340 lt_cv_sys_max_cmd_len=196608 5341 ;; 5342 5343 os2*) 5344 # The test takes a long time on OS/2. 5345 lt_cv_sys_max_cmd_len=8192 5346 ;; 5347 5348 osf*) 5349 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5350 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5351 # nice to cause kernel panics so lets avoid the loop below. 5352 # First set a reasonable default. 5353 lt_cv_sys_max_cmd_len=16384 5354 # 5355 if test -x /sbin/sysconfig; then 5356 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5357 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5358 esac 5359 fi 5360 ;; 5361 sco3.2v5*) 5362 lt_cv_sys_max_cmd_len=102400 5363 ;; 5364 sysv5* | sco5v6* | sysv4.2uw2*) 5365 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5366 if test -n "$kargmax"; then 5367 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5368 else 5369 lt_cv_sys_max_cmd_len=32768 5370 fi 5371 ;; 5372 *) 5373 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5374 if test -n "$lt_cv_sys_max_cmd_len" && \ 5375 test undefined != "$lt_cv_sys_max_cmd_len"; then 5376 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5377 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5378 else 5379 # Make teststring a little bigger before we do anything with it. 5380 # a 1K string should be a reasonable start. 5381 for i in 1 2 3 4 5 6 7 8; do 5382 teststring=$teststring$teststring 5383 done 5384 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5385 # If test is not a shell built-in, we'll probably end up computing a 5386 # maximum length that is only half of the actual maximum length, but 5387 # we can't tell. 5388 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5389 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5390 test 17 != "$i" # 1/2 MB should be enough 5391 do 5392 i=`expr $i + 1` 5393 teststring=$teststring$teststring 5394 done 5395 # Only check the string length outside the loop. 5396 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5397 teststring= 5398 # Add a significant safety factor because C++ compilers can tack on 5399 # massive amounts of additional arguments before passing them to the 5400 # linker. It appears as though 1/2 is a usable value. 5401 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5402 fi 5403 ;; 5404 esac 5405 5406fi 5407 5408if test -n "$lt_cv_sys_max_cmd_len"; then 5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5410printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } 5411else 5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 5413printf "%s\n" "none" >&6; } 5414fi 5415max_cmd_len=$lt_cv_sys_max_cmd_len 5416 5417 5418 5419 5420 5421 5422: ${CP="cp -f"} 5423: ${MV="mv -f"} 5424: ${RM="rm -f"} 5425 5426if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5427 lt_unset=unset 5428else 5429 lt_unset=false 5430fi 5431 5432 5433 5434 5435 5436# test EBCDIC or ASCII 5437case `echo X|tr X '\101'` in 5438 A) # ASCII based system 5439 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5440 lt_SP2NL='tr \040 \012' 5441 lt_NL2SP='tr \015\012 \040\040' 5442 ;; 5443 *) # EBCDIC based system 5444 lt_SP2NL='tr \100 \n' 5445 lt_NL2SP='tr \r\n \100\100' 5446 ;; 5447esac 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5458printf %s "checking how to convert $build file names to $host format... " >&6; } 5459if test ${lt_cv_to_host_file_cmd+y} 5460then : 5461 printf %s "(cached) " >&6 5462else $as_nop 5463 case $host in 5464 *-*-mingw* ) 5465 case $build in 5466 *-*-mingw* ) # actually msys 5467 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5468 ;; 5469 *-*-cygwin* ) 5470 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5471 ;; 5472 * ) # otherwise, assume *nix 5473 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5474 ;; 5475 esac 5476 ;; 5477 *-*-cygwin* ) 5478 case $build in 5479 *-*-mingw* ) # actually msys 5480 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5481 ;; 5482 *-*-cygwin* ) 5483 lt_cv_to_host_file_cmd=func_convert_file_noop 5484 ;; 5485 * ) # otherwise, assume *nix 5486 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5487 ;; 5488 esac 5489 ;; 5490 * ) # unhandled hosts (and "normal" native builds) 5491 lt_cv_to_host_file_cmd=func_convert_file_noop 5492 ;; 5493esac 5494 5495fi 5496 5497to_host_file_cmd=$lt_cv_to_host_file_cmd 5498{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5499printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } 5500 5501 5502 5503 5504 5505{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5506printf %s "checking how to convert $build file names to toolchain format... " >&6; } 5507if test ${lt_cv_to_tool_file_cmd+y} 5508then : 5509 printf %s "(cached) " >&6 5510else $as_nop 5511 #assume ordinary cross tools, or native build. 5512lt_cv_to_tool_file_cmd=func_convert_file_noop 5513case $host in 5514 *-*-mingw* ) 5515 case $build in 5516 *-*-mingw* ) # actually msys 5517 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5518 ;; 5519 esac 5520 ;; 5521esac 5522 5523fi 5524 5525to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5526{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5527printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } 5528 5529 5530 5531 5532 5533{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5534printf %s "checking for $LD option to reload object files... " >&6; } 5535if test ${lt_cv_ld_reload_flag+y} 5536then : 5537 printf %s "(cached) " >&6 5538else $as_nop 5539 lt_cv_ld_reload_flag='-r' 5540fi 5541{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5542printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } 5543reload_flag=$lt_cv_ld_reload_flag 5544case $reload_flag in 5545"" | " "*) ;; 5546*) reload_flag=" $reload_flag" ;; 5547esac 5548reload_cmds='$LD$reload_flag -o $output$reload_objs' 5549case $host_os in 5550 cygwin* | mingw* | pw32* | cegcc*) 5551 if test yes != "$GCC"; then 5552 reload_cmds=false 5553 fi 5554 ;; 5555 darwin*) 5556 if test yes = "$GCC"; then 5557 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5558 else 5559 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5560 fi 5561 ;; 5562esac 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572if test -n "$ac_tool_prefix"; then 5573 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5574set dummy ${ac_tool_prefix}objdump; ac_word=$2 5575{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5576printf %s "checking for $ac_word... " >&6; } 5577if test ${ac_cv_prog_OBJDUMP+y} 5578then : 5579 printf %s "(cached) " >&6 5580else $as_nop 5581 if test -n "$OBJDUMP"; then 5582 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5583else 5584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5585for as_dir in $PATH 5586do 5587 IFS=$as_save_IFS 5588 case $as_dir in #((( 5589 '') as_dir=./ ;; 5590 */) ;; 5591 *) as_dir=$as_dir/ ;; 5592 esac 5593 for ac_exec_ext in '' $ac_executable_extensions; do 5594 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5595 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5597 break 2 5598 fi 5599done 5600 done 5601IFS=$as_save_IFS 5602 5603fi 5604fi 5605OBJDUMP=$ac_cv_prog_OBJDUMP 5606if test -n "$OBJDUMP"; then 5607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5608printf "%s\n" "$OBJDUMP" >&6; } 5609else 5610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5611printf "%s\n" "no" >&6; } 5612fi 5613 5614 5615fi 5616if test -z "$ac_cv_prog_OBJDUMP"; then 5617 ac_ct_OBJDUMP=$OBJDUMP 5618 # Extract the first word of "objdump", so it can be a program name with args. 5619set dummy objdump; ac_word=$2 5620{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5621printf %s "checking for $ac_word... " >&6; } 5622if test ${ac_cv_prog_ac_ct_OBJDUMP+y} 5623then : 5624 printf %s "(cached) " >&6 5625else $as_nop 5626 if test -n "$ac_ct_OBJDUMP"; then 5627 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5628else 5629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5630for as_dir in $PATH 5631do 5632 IFS=$as_save_IFS 5633 case $as_dir in #((( 5634 '') as_dir=./ ;; 5635 */) ;; 5636 *) as_dir=$as_dir/ ;; 5637 esac 5638 for ac_exec_ext in '' $ac_executable_extensions; do 5639 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5640 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5642 break 2 5643 fi 5644done 5645 done 5646IFS=$as_save_IFS 5647 5648fi 5649fi 5650ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5651if test -n "$ac_ct_OBJDUMP"; then 5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5653printf "%s\n" "$ac_ct_OBJDUMP" >&6; } 5654else 5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5656printf "%s\n" "no" >&6; } 5657fi 5658 5659 if test "x$ac_ct_OBJDUMP" = x; then 5660 OBJDUMP="false" 5661 else 5662 case $cross_compiling:$ac_tool_warned in 5663yes:) 5664{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5665printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5666ac_tool_warned=yes ;; 5667esac 5668 OBJDUMP=$ac_ct_OBJDUMP 5669 fi 5670else 5671 OBJDUMP="$ac_cv_prog_OBJDUMP" 5672fi 5673 5674test -z "$OBJDUMP" && OBJDUMP=objdump 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5685printf %s "checking how to recognize dependent libraries... " >&6; } 5686if test ${lt_cv_deplibs_check_method+y} 5687then : 5688 printf %s "(cached) " >&6 5689else $as_nop 5690 lt_cv_file_magic_cmd='$MAGIC_CMD' 5691lt_cv_file_magic_test_file= 5692lt_cv_deplibs_check_method='unknown' 5693# Need to set the preceding variable on all platforms that support 5694# interlibrary dependencies. 5695# 'none' -- dependencies not supported. 5696# 'unknown' -- same as none, but documents that we really don't know. 5697# 'pass_all' -- all dependencies passed with no checks. 5698# 'test_compile' -- check by making test program. 5699# 'file_magic [[regex]]' -- check by looking for files in library path 5700# that responds to the $file_magic_cmd with a given extended regex. 5701# If you have 'file' or equivalent on your system and you're not sure 5702# whether 'pass_all' will *always* work, you probably want this one. 5703 5704case $host_os in 5705aix[4-9]*) 5706 lt_cv_deplibs_check_method=pass_all 5707 ;; 5708 5709beos*) 5710 lt_cv_deplibs_check_method=pass_all 5711 ;; 5712 5713bsdi[45]*) 5714 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5715 lt_cv_file_magic_cmd='/usr/bin/file -L' 5716 lt_cv_file_magic_test_file=/shlib/libc.so 5717 ;; 5718 5719cygwin*) 5720 # func_win32_libid is a shell function defined in ltmain.sh 5721 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5722 lt_cv_file_magic_cmd='func_win32_libid' 5723 ;; 5724 5725mingw* | pw32*) 5726 # Base MSYS/MinGW do not provide the 'file' command needed by 5727 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5728 # unless we find 'file', for example because we are cross-compiling. 5729 if ( file / ) >/dev/null 2>&1; then 5730 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5731 lt_cv_file_magic_cmd='func_win32_libid' 5732 else 5733 # Keep this pattern in sync with the one in func_win32_libid. 5734 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5735 lt_cv_file_magic_cmd='$OBJDUMP -f' 5736 fi 5737 ;; 5738 5739cegcc*) 5740 # use the weaker test based on 'objdump'. See mingw*. 5741 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5742 lt_cv_file_magic_cmd='$OBJDUMP -f' 5743 ;; 5744 5745darwin* | rhapsody*) 5746 lt_cv_deplibs_check_method=pass_all 5747 ;; 5748 5749freebsd* | dragonfly*) 5750 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5751 case $host_cpu in 5752 i*86 ) 5753 # Not sure whether the presence of OpenBSD here was a mistake. 5754 # Let's accept both of them until this is cleared up. 5755 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5756 lt_cv_file_magic_cmd=/usr/bin/file 5757 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5758 ;; 5759 esac 5760 else 5761 lt_cv_deplibs_check_method=pass_all 5762 fi 5763 ;; 5764 5765haiku*) 5766 lt_cv_deplibs_check_method=pass_all 5767 ;; 5768 5769hpux10.20* | hpux11*) 5770 lt_cv_file_magic_cmd=/usr/bin/file 5771 case $host_cpu in 5772 ia64*) 5773 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5774 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5775 ;; 5776 hppa*64*) 5777 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 5778 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5779 ;; 5780 *) 5781 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5782 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5783 ;; 5784 esac 5785 ;; 5786 5787interix[3-9]*) 5788 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5789 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5790 ;; 5791 5792irix5* | irix6* | nonstopux*) 5793 case $LD in 5794 *-32|*"-32 ") libmagic=32-bit;; 5795 *-n32|*"-n32 ") libmagic=N32;; 5796 *-64|*"-64 ") libmagic=64-bit;; 5797 *) libmagic=never-match;; 5798 esac 5799 lt_cv_deplibs_check_method=pass_all 5800 ;; 5801 5802# This must be glibc/ELF. 5803linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5804 lt_cv_deplibs_check_method=pass_all 5805 ;; 5806 5807netbsd* | netbsdelf*-gnu) 5808 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5809 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5810 else 5811 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5812 fi 5813 ;; 5814 5815newos6*) 5816 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5817 lt_cv_file_magic_cmd=/usr/bin/file 5818 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5819 ;; 5820 5821*nto* | *qnx*) 5822 lt_cv_deplibs_check_method=pass_all 5823 ;; 5824 5825openbsd* | bitrig*) 5826 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5827 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5828 else 5829 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5830 fi 5831 ;; 5832 5833osf3* | osf4* | osf5*) 5834 lt_cv_deplibs_check_method=pass_all 5835 ;; 5836 5837rdos*) 5838 lt_cv_deplibs_check_method=pass_all 5839 ;; 5840 5841solaris*) 5842 lt_cv_deplibs_check_method=pass_all 5843 ;; 5844 5845sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5846 lt_cv_deplibs_check_method=pass_all 5847 ;; 5848 5849sysv4 | sysv4.3*) 5850 case $host_vendor in 5851 motorola) 5852 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 5853 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5854 ;; 5855 ncr) 5856 lt_cv_deplibs_check_method=pass_all 5857 ;; 5858 sequent) 5859 lt_cv_file_magic_cmd='/bin/file' 5860 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5861 ;; 5862 sni) 5863 lt_cv_file_magic_cmd='/bin/file' 5864 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5865 lt_cv_file_magic_test_file=/lib/libc.so 5866 ;; 5867 siemens) 5868 lt_cv_deplibs_check_method=pass_all 5869 ;; 5870 pc) 5871 lt_cv_deplibs_check_method=pass_all 5872 ;; 5873 esac 5874 ;; 5875 5876tpf*) 5877 lt_cv_deplibs_check_method=pass_all 5878 ;; 5879os2*) 5880 lt_cv_deplibs_check_method=pass_all 5881 ;; 5882esac 5883 5884fi 5885{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5886printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } 5887 5888file_magic_glob= 5889want_nocaseglob=no 5890if test "$build" = "$host"; then 5891 case $host_os in 5892 mingw* | pw32*) 5893 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5894 want_nocaseglob=yes 5895 else 5896 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5897 fi 5898 ;; 5899 esac 5900fi 5901 5902file_magic_cmd=$lt_cv_file_magic_cmd 5903deplibs_check_method=$lt_cv_deplibs_check_method 5904test -z "$deplibs_check_method" && deplibs_check_method=unknown 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927if test -n "$ac_tool_prefix"; then 5928 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5929set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5930{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5931printf %s "checking for $ac_word... " >&6; } 5932if test ${ac_cv_prog_DLLTOOL+y} 5933then : 5934 printf %s "(cached) " >&6 5935else $as_nop 5936 if test -n "$DLLTOOL"; then 5937 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5938else 5939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5940for as_dir in $PATH 5941do 5942 IFS=$as_save_IFS 5943 case $as_dir in #((( 5944 '') as_dir=./ ;; 5945 */) ;; 5946 *) as_dir=$as_dir/ ;; 5947 esac 5948 for ac_exec_ext in '' $ac_executable_extensions; do 5949 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5950 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5952 break 2 5953 fi 5954done 5955 done 5956IFS=$as_save_IFS 5957 5958fi 5959fi 5960DLLTOOL=$ac_cv_prog_DLLTOOL 5961if test -n "$DLLTOOL"; then 5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5963printf "%s\n" "$DLLTOOL" >&6; } 5964else 5965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5966printf "%s\n" "no" >&6; } 5967fi 5968 5969 5970fi 5971if test -z "$ac_cv_prog_DLLTOOL"; then 5972 ac_ct_DLLTOOL=$DLLTOOL 5973 # Extract the first word of "dlltool", so it can be a program name with args. 5974set dummy dlltool; ac_word=$2 5975{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5976printf %s "checking for $ac_word... " >&6; } 5977if test ${ac_cv_prog_ac_ct_DLLTOOL+y} 5978then : 5979 printf %s "(cached) " >&6 5980else $as_nop 5981 if test -n "$ac_ct_DLLTOOL"; then 5982 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5983else 5984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5985for as_dir in $PATH 5986do 5987 IFS=$as_save_IFS 5988 case $as_dir in #((( 5989 '') as_dir=./ ;; 5990 */) ;; 5991 *) as_dir=$as_dir/ ;; 5992 esac 5993 for ac_exec_ext in '' $ac_executable_extensions; do 5994 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5995 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5997 break 2 5998 fi 5999done 6000 done 6001IFS=$as_save_IFS 6002 6003fi 6004fi 6005ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6006if test -n "$ac_ct_DLLTOOL"; then 6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6008printf "%s\n" "$ac_ct_DLLTOOL" >&6; } 6009else 6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6011printf "%s\n" "no" >&6; } 6012fi 6013 6014 if test "x$ac_ct_DLLTOOL" = x; then 6015 DLLTOOL="false" 6016 else 6017 case $cross_compiling:$ac_tool_warned in 6018yes:) 6019{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6020printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6021ac_tool_warned=yes ;; 6022esac 6023 DLLTOOL=$ac_ct_DLLTOOL 6024 fi 6025else 6026 DLLTOOL="$ac_cv_prog_DLLTOOL" 6027fi 6028 6029test -z "$DLLTOOL" && DLLTOOL=dlltool 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6041printf %s "checking how to associate runtime and link libraries... " >&6; } 6042if test ${lt_cv_sharedlib_from_linklib_cmd+y} 6043then : 6044 printf %s "(cached) " >&6 6045else $as_nop 6046 lt_cv_sharedlib_from_linklib_cmd='unknown' 6047 6048case $host_os in 6049cygwin* | mingw* | pw32* | cegcc*) 6050 # two different shell functions defined in ltmain.sh; 6051 # decide which one to use based on capabilities of $DLLTOOL 6052 case `$DLLTOOL --help 2>&1` in 6053 *--identify-strict*) 6054 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6055 ;; 6056 *) 6057 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6058 ;; 6059 esac 6060 ;; 6061*) 6062 # fallback: assume linklib IS sharedlib 6063 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6064 ;; 6065esac 6066 6067fi 6068{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6069printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6070sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6071test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6072 6073 6074 6075 6076 6077 6078 6079 6080if test -n "$ac_tool_prefix"; then 6081 for ac_prog in ar 6082 do 6083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6084set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6085{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6086printf %s "checking for $ac_word... " >&6; } 6087if test ${ac_cv_prog_AR+y} 6088then : 6089 printf %s "(cached) " >&6 6090else $as_nop 6091 if test -n "$AR"; then 6092 ac_cv_prog_AR="$AR" # Let the user override the test. 6093else 6094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6095for as_dir in $PATH 6096do 6097 IFS=$as_save_IFS 6098 case $as_dir in #((( 6099 '') as_dir=./ ;; 6100 */) ;; 6101 *) as_dir=$as_dir/ ;; 6102 esac 6103 for ac_exec_ext in '' $ac_executable_extensions; do 6104 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6105 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6107 break 2 6108 fi 6109done 6110 done 6111IFS=$as_save_IFS 6112 6113fi 6114fi 6115AR=$ac_cv_prog_AR 6116if test -n "$AR"; then 6117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6118printf "%s\n" "$AR" >&6; } 6119else 6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6121printf "%s\n" "no" >&6; } 6122fi 6123 6124 6125 test -n "$AR" && break 6126 done 6127fi 6128if test -z "$AR"; then 6129 ac_ct_AR=$AR 6130 for ac_prog in ar 6131do 6132 # Extract the first word of "$ac_prog", so it can be a program name with args. 6133set dummy $ac_prog; ac_word=$2 6134{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6135printf %s "checking for $ac_word... " >&6; } 6136if test ${ac_cv_prog_ac_ct_AR+y} 6137then : 6138 printf %s "(cached) " >&6 6139else $as_nop 6140 if test -n "$ac_ct_AR"; then 6141 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6142else 6143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6144for as_dir in $PATH 6145do 6146 IFS=$as_save_IFS 6147 case $as_dir in #((( 6148 '') as_dir=./ ;; 6149 */) ;; 6150 *) as_dir=$as_dir/ ;; 6151 esac 6152 for ac_exec_ext in '' $ac_executable_extensions; do 6153 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6154 ac_cv_prog_ac_ct_AR="$ac_prog" 6155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6156 break 2 6157 fi 6158done 6159 done 6160IFS=$as_save_IFS 6161 6162fi 6163fi 6164ac_ct_AR=$ac_cv_prog_ac_ct_AR 6165if test -n "$ac_ct_AR"; then 6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6167printf "%s\n" "$ac_ct_AR" >&6; } 6168else 6169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6170printf "%s\n" "no" >&6; } 6171fi 6172 6173 6174 test -n "$ac_ct_AR" && break 6175done 6176 6177 if test "x$ac_ct_AR" = x; then 6178 AR="false" 6179 else 6180 case $cross_compiling:$ac_tool_warned in 6181yes:) 6182{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6183printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6184ac_tool_warned=yes ;; 6185esac 6186 AR=$ac_ct_AR 6187 fi 6188fi 6189 6190: ${AR=ar} 6191: ${AR_FLAGS=cr} 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6204printf %s "checking for archiver @FILE support... " >&6; } 6205if test ${lt_cv_ar_at_file+y} 6206then : 6207 printf %s "(cached) " >&6 6208else $as_nop 6209 lt_cv_ar_at_file=no 6210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6211/* end confdefs.h. */ 6212 6213int 6214main (void) 6215{ 6216 6217 ; 6218 return 0; 6219} 6220_ACEOF 6221if ac_fn_c_try_compile "$LINENO" 6222then : 6223 echo conftest.$ac_objext > conftest.lst 6224 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6225 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6226 (eval $lt_ar_try) 2>&5 6227 ac_status=$? 6228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6229 test $ac_status = 0; } 6230 if test 0 -eq "$ac_status"; then 6231 # Ensure the archiver fails upon bogus file names. 6232 rm -f conftest.$ac_objext libconftest.a 6233 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6234 (eval $lt_ar_try) 2>&5 6235 ac_status=$? 6236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6237 test $ac_status = 0; } 6238 if test 0 -ne "$ac_status"; then 6239 lt_cv_ar_at_file=@ 6240 fi 6241 fi 6242 rm -f conftest.* libconftest.a 6243 6244fi 6245rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6246 6247fi 6248{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6249printf "%s\n" "$lt_cv_ar_at_file" >&6; } 6250 6251if test no = "$lt_cv_ar_at_file"; then 6252 archiver_list_spec= 6253else 6254 archiver_list_spec=$lt_cv_ar_at_file 6255fi 6256 6257 6258 6259 6260 6261 6262 6263if test -n "$ac_tool_prefix"; then 6264 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6265set dummy ${ac_tool_prefix}strip; ac_word=$2 6266{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6267printf %s "checking for $ac_word... " >&6; } 6268if test ${ac_cv_prog_STRIP+y} 6269then : 6270 printf %s "(cached) " >&6 6271else $as_nop 6272 if test -n "$STRIP"; then 6273 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6274else 6275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6276for as_dir in $PATH 6277do 6278 IFS=$as_save_IFS 6279 case $as_dir in #((( 6280 '') as_dir=./ ;; 6281 */) ;; 6282 *) as_dir=$as_dir/ ;; 6283 esac 6284 for ac_exec_ext in '' $ac_executable_extensions; do 6285 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6286 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6288 break 2 6289 fi 6290done 6291 done 6292IFS=$as_save_IFS 6293 6294fi 6295fi 6296STRIP=$ac_cv_prog_STRIP 6297if test -n "$STRIP"; then 6298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6299printf "%s\n" "$STRIP" >&6; } 6300else 6301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6302printf "%s\n" "no" >&6; } 6303fi 6304 6305 6306fi 6307if test -z "$ac_cv_prog_STRIP"; then 6308 ac_ct_STRIP=$STRIP 6309 # Extract the first word of "strip", so it can be a program name with args. 6310set dummy strip; ac_word=$2 6311{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6312printf %s "checking for $ac_word... " >&6; } 6313if test ${ac_cv_prog_ac_ct_STRIP+y} 6314then : 6315 printf %s "(cached) " >&6 6316else $as_nop 6317 if test -n "$ac_ct_STRIP"; then 6318 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6319else 6320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6321for as_dir in $PATH 6322do 6323 IFS=$as_save_IFS 6324 case $as_dir in #((( 6325 '') as_dir=./ ;; 6326 */) ;; 6327 *) as_dir=$as_dir/ ;; 6328 esac 6329 for ac_exec_ext in '' $ac_executable_extensions; do 6330 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6331 ac_cv_prog_ac_ct_STRIP="strip" 6332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6333 break 2 6334 fi 6335done 6336 done 6337IFS=$as_save_IFS 6338 6339fi 6340fi 6341ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6342if test -n "$ac_ct_STRIP"; then 6343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6344printf "%s\n" "$ac_ct_STRIP" >&6; } 6345else 6346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6347printf "%s\n" "no" >&6; } 6348fi 6349 6350 if test "x$ac_ct_STRIP" = x; then 6351 STRIP=":" 6352 else 6353 case $cross_compiling:$ac_tool_warned in 6354yes:) 6355{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6356printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6357ac_tool_warned=yes ;; 6358esac 6359 STRIP=$ac_ct_STRIP 6360 fi 6361else 6362 STRIP="$ac_cv_prog_STRIP" 6363fi 6364 6365test -z "$STRIP" && STRIP=: 6366 6367 6368 6369 6370 6371 6372if test -n "$ac_tool_prefix"; then 6373 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6374set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6375{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6376printf %s "checking for $ac_word... " >&6; } 6377if test ${ac_cv_prog_RANLIB+y} 6378then : 6379 printf %s "(cached) " >&6 6380else $as_nop 6381 if test -n "$RANLIB"; then 6382 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6383else 6384as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6385for as_dir in $PATH 6386do 6387 IFS=$as_save_IFS 6388 case $as_dir in #((( 6389 '') as_dir=./ ;; 6390 */) ;; 6391 *) as_dir=$as_dir/ ;; 6392 esac 6393 for ac_exec_ext in '' $ac_executable_extensions; do 6394 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6395 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6397 break 2 6398 fi 6399done 6400 done 6401IFS=$as_save_IFS 6402 6403fi 6404fi 6405RANLIB=$ac_cv_prog_RANLIB 6406if test -n "$RANLIB"; then 6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6408printf "%s\n" "$RANLIB" >&6; } 6409else 6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6411printf "%s\n" "no" >&6; } 6412fi 6413 6414 6415fi 6416if test -z "$ac_cv_prog_RANLIB"; then 6417 ac_ct_RANLIB=$RANLIB 6418 # Extract the first word of "ranlib", so it can be a program name with args. 6419set dummy ranlib; ac_word=$2 6420{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6421printf %s "checking for $ac_word... " >&6; } 6422if test ${ac_cv_prog_ac_ct_RANLIB+y} 6423then : 6424 printf %s "(cached) " >&6 6425else $as_nop 6426 if test -n "$ac_ct_RANLIB"; then 6427 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6428else 6429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6430for as_dir in $PATH 6431do 6432 IFS=$as_save_IFS 6433 case $as_dir in #((( 6434 '') as_dir=./ ;; 6435 */) ;; 6436 *) as_dir=$as_dir/ ;; 6437 esac 6438 for ac_exec_ext in '' $ac_executable_extensions; do 6439 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6440 ac_cv_prog_ac_ct_RANLIB="ranlib" 6441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6442 break 2 6443 fi 6444done 6445 done 6446IFS=$as_save_IFS 6447 6448fi 6449fi 6450ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6451if test -n "$ac_ct_RANLIB"; then 6452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6453printf "%s\n" "$ac_ct_RANLIB" >&6; } 6454else 6455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6456printf "%s\n" "no" >&6; } 6457fi 6458 6459 if test "x$ac_ct_RANLIB" = x; then 6460 RANLIB=":" 6461 else 6462 case $cross_compiling:$ac_tool_warned in 6463yes:) 6464{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6465printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6466ac_tool_warned=yes ;; 6467esac 6468 RANLIB=$ac_ct_RANLIB 6469 fi 6470else 6471 RANLIB="$ac_cv_prog_RANLIB" 6472fi 6473 6474test -z "$RANLIB" && RANLIB=: 6475 6476 6477 6478 6479 6480 6481# Determine commands to create old-style static archives. 6482old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6483old_postinstall_cmds='chmod 644 $oldlib' 6484old_postuninstall_cmds= 6485 6486if test -n "$RANLIB"; then 6487 case $host_os in 6488 bitrig* | openbsd*) 6489 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6490 ;; 6491 *) 6492 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6493 ;; 6494 esac 6495 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6496fi 6497 6498case $host_os in 6499 darwin*) 6500 lock_old_archive_extraction=yes ;; 6501 *) 6502 lock_old_archive_extraction=no ;; 6503esac 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543# If no C compiler was specified, use CC. 6544LTCC=${LTCC-"$CC"} 6545 6546# If no C compiler flags were specified, use CFLAGS. 6547LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6548 6549# Allow CC to be a program name with arguments. 6550compiler=$CC 6551 6552 6553# Check for command to grab the raw symbol name followed by C symbol from nm. 6554{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6555printf %s "checking command to parse $NM output from $compiler object... " >&6; } 6556if test ${lt_cv_sys_global_symbol_pipe+y} 6557then : 6558 printf %s "(cached) " >&6 6559else $as_nop 6560 6561# These are sane defaults that work on at least a few old systems. 6562# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6563 6564# Character class describing NM global symbol codes. 6565symcode='[BCDEGRST]' 6566 6567# Regexp to match symbols that can be accessed directly from C. 6568sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6569 6570# Define system-specific variables. 6571case $host_os in 6572aix*) 6573 symcode='[BCDT]' 6574 ;; 6575cygwin* | mingw* | pw32* | cegcc*) 6576 symcode='[ABCDGISTW]' 6577 ;; 6578hpux*) 6579 if test ia64 = "$host_cpu"; then 6580 symcode='[ABCDEGRST]' 6581 fi 6582 ;; 6583irix* | nonstopux*) 6584 symcode='[BCDEGRST]' 6585 ;; 6586osf*) 6587 symcode='[BCDEGQRST]' 6588 ;; 6589solaris*) 6590 symcode='[BDRT]' 6591 ;; 6592sco3.2v5*) 6593 symcode='[DT]' 6594 ;; 6595sysv4.2uw2*) 6596 symcode='[DT]' 6597 ;; 6598sysv5* | sco5v6* | unixware* | OpenUNIX*) 6599 symcode='[ABDT]' 6600 ;; 6601sysv4) 6602 symcode='[DFNSTU]' 6603 ;; 6604esac 6605 6606# If we're using GNU nm, then use its standard symbol codes. 6607case `$NM -V 2>&1` in 6608*GNU* | *'with BFD'*) 6609 symcode='[ABCDGIRSTW]' ;; 6610esac 6611 6612if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6613 # Gets list of data symbols to import. 6614 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6615 # Adjust the below global symbol transforms to fixup imported variables. 6616 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6617 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6618 lt_c_name_lib_hook="\ 6619 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6620 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6621else 6622 # Disable hooks by default. 6623 lt_cv_sys_global_symbol_to_import= 6624 lt_cdecl_hook= 6625 lt_c_name_hook= 6626 lt_c_name_lib_hook= 6627fi 6628 6629# Transform an extracted symbol line into a proper C declaration. 6630# Some systems (esp. on ia64) link data and code symbols differently, 6631# so use this general approach. 6632lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6633$lt_cdecl_hook\ 6634" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6635" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6636 6637# Transform an extracted symbol line into symbol name and symbol address 6638lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6639$lt_c_name_hook\ 6640" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6641" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6642 6643# Transform an extracted symbol line into symbol name with lib prefix and 6644# symbol address. 6645lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6646$lt_c_name_lib_hook\ 6647" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6648" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6649" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6650 6651# Handle CRLF in mingw tool chain 6652opt_cr= 6653case $build_os in 6654mingw*) 6655 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6656 ;; 6657esac 6658 6659# Try without a prefix underscore, then with it. 6660for ac_symprfx in "" "_"; do 6661 6662 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6663 symxfrm="\\1 $ac_symprfx\\2 \\2" 6664 6665 # Write the raw and C identifiers. 6666 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6667 # Fake it for dumpbin and say T for any non-static function, 6668 # D for any global variable and I for any imported variable. 6669 # Also find C++ and __fastcall symbols from MSVC++, 6670 # which start with @ or ?. 6671 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6672" {last_section=section; section=\$ 3};"\ 6673" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6674" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6675" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6676" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6677" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6678" \$ 0!~/External *\|/{next};"\ 6679" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6680" {if(hide[section]) next};"\ 6681" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6682" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6683" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6684" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6685" ' prfx=^$ac_symprfx" 6686 else 6687 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6688 fi 6689 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6690 6691 # Check to see that the pipe works correctly. 6692 pipe_works=no 6693 6694 rm -f conftest* 6695 cat > conftest.$ac_ext <<_LT_EOF 6696#ifdef __cplusplus 6697extern "C" { 6698#endif 6699char nm_test_var; 6700void nm_test_func(void); 6701void nm_test_func(void){} 6702#ifdef __cplusplus 6703} 6704#endif 6705int main(){nm_test_var='a';nm_test_func();return(0);} 6706_LT_EOF 6707 6708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6709 (eval $ac_compile) 2>&5 6710 ac_status=$? 6711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6712 test $ac_status = 0; }; then 6713 # Now try to grab the symbols. 6714 nlist=conftest.nm 6715 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 6716 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 6717 # Try sorting and uniquifying the output. 6718 if sort "$nlist" | uniq > "$nlist"T; then 6719 mv -f "$nlist"T "$nlist" 6720 else 6721 rm -f "$nlist"T 6722 fi 6723 6724 # Make sure that we snagged all the symbols we need. 6725 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6726 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6727 cat <<_LT_EOF > conftest.$ac_ext 6728/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6729#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6730/* DATA imports from DLLs on WIN32 can't be const, because runtime 6731 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6732# define LT_DLSYM_CONST 6733#elif defined __osf__ 6734/* This system does not cope well with relocations in const data. */ 6735# define LT_DLSYM_CONST 6736#else 6737# define LT_DLSYM_CONST const 6738#endif 6739 6740#ifdef __cplusplus 6741extern "C" { 6742#endif 6743 6744_LT_EOF 6745 # Now generate the symbol file. 6746 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6747 6748 cat <<_LT_EOF >> conftest.$ac_ext 6749 6750/* The mapping between symbol names and symbols. */ 6751LT_DLSYM_CONST struct { 6752 const char *name; 6753 void *address; 6754} 6755lt__PROGRAM__LTX_preloaded_symbols[] = 6756{ 6757 { "@PROGRAM@", (void *) 0 }, 6758_LT_EOF 6759 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6760 cat <<\_LT_EOF >> conftest.$ac_ext 6761 {0, (void *) 0} 6762}; 6763 6764/* This works around a problem in FreeBSD linker */ 6765#ifdef FREEBSD_WORKAROUND 6766static const void *lt_preloaded_setup() { 6767 return lt__PROGRAM__LTX_preloaded_symbols; 6768} 6769#endif 6770 6771#ifdef __cplusplus 6772} 6773#endif 6774_LT_EOF 6775 # Now try linking the two files. 6776 mv conftest.$ac_objext conftstm.$ac_objext 6777 lt_globsym_save_LIBS=$LIBS 6778 lt_globsym_save_CFLAGS=$CFLAGS 6779 LIBS=conftstm.$ac_objext 6780 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6781 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6782 (eval $ac_link) 2>&5 6783 ac_status=$? 6784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6785 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6786 pipe_works=yes 6787 fi 6788 LIBS=$lt_globsym_save_LIBS 6789 CFLAGS=$lt_globsym_save_CFLAGS 6790 else 6791 echo "cannot find nm_test_func in $nlist" >&5 6792 fi 6793 else 6794 echo "cannot find nm_test_var in $nlist" >&5 6795 fi 6796 else 6797 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6798 fi 6799 else 6800 echo "$progname: failed program was:" >&5 6801 cat conftest.$ac_ext >&5 6802 fi 6803 rm -rf conftest* conftst* 6804 6805 # Do not use the global_symbol_pipe unless it works. 6806 if test yes = "$pipe_works"; then 6807 break 6808 else 6809 lt_cv_sys_global_symbol_pipe= 6810 fi 6811done 6812 6813fi 6814 6815if test -z "$lt_cv_sys_global_symbol_pipe"; then 6816 lt_cv_sys_global_symbol_to_cdecl= 6817fi 6818if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6820printf "%s\n" "failed" >&6; } 6821else 6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6823printf "%s\n" "ok" >&6; } 6824fi 6825 6826# Response file support. 6827if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6828 nm_file_list_spec='@' 6829elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6830 nm_file_list_spec='@' 6831fi 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6870printf %s "checking for sysroot... " >&6; } 6871 6872# Check whether --with-sysroot was given. 6873if test ${with_sysroot+y} 6874then : 6875 withval=$with_sysroot; 6876else $as_nop 6877 with_sysroot=no 6878fi 6879 6880 6881lt_sysroot= 6882case $with_sysroot in #( 6883 yes) 6884 if test yes = "$GCC"; then 6885 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6886 fi 6887 ;; #( 6888 /*) 6889 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6890 ;; #( 6891 no|'') 6892 ;; #( 6893 *) 6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6895printf "%s\n" "$with_sysroot" >&6; } 6896 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6897 ;; 6898esac 6899 6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6901printf "%s\n" "${lt_sysroot:-no}" >&6; } 6902 6903 6904 6905 6906 6907{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6908printf %s "checking for a working dd... " >&6; } 6909if test ${ac_cv_path_lt_DD+y} 6910then : 6911 printf %s "(cached) " >&6 6912else $as_nop 6913 printf 0123456789abcdef0123456789abcdef >conftest.i 6914cat conftest.i conftest.i >conftest2.i 6915: ${lt_DD:=$DD} 6916if test -z "$lt_DD"; then 6917 ac_path_lt_DD_found=false 6918 # Loop through the user's path and test for each of PROGNAME-LIST 6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6920for as_dir in $PATH 6921do 6922 IFS=$as_save_IFS 6923 case $as_dir in #((( 6924 '') as_dir=./ ;; 6925 */) ;; 6926 *) as_dir=$as_dir/ ;; 6927 esac 6928 for ac_prog in dd 6929 do 6930 for ac_exec_ext in '' $ac_executable_extensions; do 6931 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" 6932 as_fn_executable_p "$ac_path_lt_DD" || continue 6933if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6934 cmp -s conftest.i conftest.out \ 6935 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6936fi 6937 $ac_path_lt_DD_found && break 3 6938 done 6939 done 6940 done 6941IFS=$as_save_IFS 6942 if test -z "$ac_cv_path_lt_DD"; then 6943 : 6944 fi 6945else 6946 ac_cv_path_lt_DD=$lt_DD 6947fi 6948 6949rm -f conftest.i conftest2.i conftest.out 6950fi 6951{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6952printf "%s\n" "$ac_cv_path_lt_DD" >&6; } 6953 6954 6955{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6956printf %s "checking how to truncate binary pipes... " >&6; } 6957if test ${lt_cv_truncate_bin+y} 6958then : 6959 printf %s "(cached) " >&6 6960else $as_nop 6961 printf 0123456789abcdef0123456789abcdef >conftest.i 6962cat conftest.i conftest.i >conftest2.i 6963lt_cv_truncate_bin= 6964if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6965 cmp -s conftest.i conftest.out \ 6966 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6967fi 6968rm -f conftest.i conftest2.i conftest.out 6969test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6970fi 6971{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6972printf "%s\n" "$lt_cv_truncate_bin" >&6; } 6973 6974 6975 6976 6977 6978 6979 6980# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6981func_cc_basename () 6982{ 6983 for cc_temp in $*""; do 6984 case $cc_temp in 6985 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6986 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6987 \-*) ;; 6988 *) break;; 6989 esac 6990 done 6991 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6992} 6993 6994# Check whether --enable-libtool-lock was given. 6995if test ${enable_libtool_lock+y} 6996then : 6997 enableval=$enable_libtool_lock; 6998fi 6999 7000test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7001 7002# Some flags need to be propagated to the compiler or linker for good 7003# libtool support. 7004case $host in 7005ia64-*-hpux*) 7006 # Find out what ABI is being produced by ac_compile, and set mode 7007 # options accordingly. 7008 echo 'int i;' > conftest.$ac_ext 7009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7010 (eval $ac_compile) 2>&5 7011 ac_status=$? 7012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7013 test $ac_status = 0; }; then 7014 case `/usr/bin/file conftest.$ac_objext` in 7015 *ELF-32*) 7016 HPUX_IA64_MODE=32 7017 ;; 7018 *ELF-64*) 7019 HPUX_IA64_MODE=64 7020 ;; 7021 esac 7022 fi 7023 rm -rf conftest* 7024 ;; 7025*-*-irix6*) 7026 # Find out what ABI is being produced by ac_compile, and set linker 7027 # options accordingly. 7028 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7030 (eval $ac_compile) 2>&5 7031 ac_status=$? 7032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7033 test $ac_status = 0; }; then 7034 if test yes = "$lt_cv_prog_gnu_ld"; then 7035 case `/usr/bin/file conftest.$ac_objext` in 7036 *32-bit*) 7037 LD="${LD-ld} -melf32bsmip" 7038 ;; 7039 *N32*) 7040 LD="${LD-ld} -melf32bmipn32" 7041 ;; 7042 *64-bit*) 7043 LD="${LD-ld} -melf64bmip" 7044 ;; 7045 esac 7046 else 7047 case `/usr/bin/file conftest.$ac_objext` in 7048 *32-bit*) 7049 LD="${LD-ld} -32" 7050 ;; 7051 *N32*) 7052 LD="${LD-ld} -n32" 7053 ;; 7054 *64-bit*) 7055 LD="${LD-ld} -64" 7056 ;; 7057 esac 7058 fi 7059 fi 7060 rm -rf conftest* 7061 ;; 7062 7063mips64*-*linux*) 7064 # Find out what ABI is being produced by ac_compile, and set linker 7065 # options accordingly. 7066 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7068 (eval $ac_compile) 2>&5 7069 ac_status=$? 7070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7071 test $ac_status = 0; }; then 7072 emul=elf 7073 case `/usr/bin/file conftest.$ac_objext` in 7074 *32-bit*) 7075 emul="${emul}32" 7076 ;; 7077 *64-bit*) 7078 emul="${emul}64" 7079 ;; 7080 esac 7081 case `/usr/bin/file conftest.$ac_objext` in 7082 *MSB*) 7083 emul="${emul}btsmip" 7084 ;; 7085 *LSB*) 7086 emul="${emul}ltsmip" 7087 ;; 7088 esac 7089 case `/usr/bin/file conftest.$ac_objext` in 7090 *N32*) 7091 emul="${emul}n32" 7092 ;; 7093 esac 7094 LD="${LD-ld} -m $emul" 7095 fi 7096 rm -rf conftest* 7097 ;; 7098 7099x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7100s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7101 # Find out what ABI is being produced by ac_compile, and set linker 7102 # options accordingly. Note that the listed cases only cover the 7103 # situations where additional linker options are needed (such as when 7104 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7105 # vice versa); the common cases where no linker options are needed do 7106 # not appear in the list. 7107 echo 'int i;' > conftest.$ac_ext 7108 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7109 (eval $ac_compile) 2>&5 7110 ac_status=$? 7111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7112 test $ac_status = 0; }; then 7113 case `/usr/bin/file conftest.o` in 7114 *32-bit*) 7115 case $host in 7116 x86_64-*kfreebsd*-gnu) 7117 LD="${LD-ld} -m elf_i386_fbsd" 7118 ;; 7119 x86_64-*linux*) 7120 case `/usr/bin/file conftest.o` in 7121 *x86-64*) 7122 LD="${LD-ld} -m elf32_x86_64" 7123 ;; 7124 *) 7125 LD="${LD-ld} -m elf_i386" 7126 ;; 7127 esac 7128 ;; 7129 powerpc64le-*linux*) 7130 LD="${LD-ld} -m elf32lppclinux" 7131 ;; 7132 powerpc64-*linux*) 7133 LD="${LD-ld} -m elf32ppclinux" 7134 ;; 7135 s390x-*linux*) 7136 LD="${LD-ld} -m elf_s390" 7137 ;; 7138 sparc64-*linux*) 7139 LD="${LD-ld} -m elf32_sparc" 7140 ;; 7141 esac 7142 ;; 7143 *64-bit*) 7144 case $host in 7145 x86_64-*kfreebsd*-gnu) 7146 LD="${LD-ld} -m elf_x86_64_fbsd" 7147 ;; 7148 x86_64-*linux*) 7149 LD="${LD-ld} -m elf_x86_64" 7150 ;; 7151 powerpcle-*linux*) 7152 LD="${LD-ld} -m elf64lppc" 7153 ;; 7154 powerpc-*linux*) 7155 LD="${LD-ld} -m elf64ppc" 7156 ;; 7157 s390*-*linux*|s390*-*tpf*) 7158 LD="${LD-ld} -m elf64_s390" 7159 ;; 7160 sparc*-*linux*) 7161 LD="${LD-ld} -m elf64_sparc" 7162 ;; 7163 esac 7164 ;; 7165 esac 7166 fi 7167 rm -rf conftest* 7168 ;; 7169 7170*-*-sco3.2v5*) 7171 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7172 SAVE_CFLAGS=$CFLAGS 7173 CFLAGS="$CFLAGS -belf" 7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7175printf %s "checking whether the C compiler needs -belf... " >&6; } 7176if test ${lt_cv_cc_needs_belf+y} 7177then : 7178 printf %s "(cached) " >&6 7179else $as_nop 7180 ac_ext=c 7181ac_cpp='$CPP $CPPFLAGS' 7182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7184ac_compiler_gnu=$ac_cv_c_compiler_gnu 7185 7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7187/* end confdefs.h. */ 7188 7189int 7190main (void) 7191{ 7192 7193 ; 7194 return 0; 7195} 7196_ACEOF 7197if ac_fn_c_try_link "$LINENO" 7198then : 7199 lt_cv_cc_needs_belf=yes 7200else $as_nop 7201 lt_cv_cc_needs_belf=no 7202fi 7203rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7204 conftest$ac_exeext conftest.$ac_ext 7205 ac_ext=c 7206ac_cpp='$CPP $CPPFLAGS' 7207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7209ac_compiler_gnu=$ac_cv_c_compiler_gnu 7210 7211fi 7212{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7213printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } 7214 if test yes != "$lt_cv_cc_needs_belf"; then 7215 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7216 CFLAGS=$SAVE_CFLAGS 7217 fi 7218 ;; 7219*-*solaris*) 7220 # Find out what ABI is being produced by ac_compile, and set linker 7221 # options accordingly. 7222 echo 'int i;' > conftest.$ac_ext 7223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7224 (eval $ac_compile) 2>&5 7225 ac_status=$? 7226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7227 test $ac_status = 0; }; then 7228 case `/usr/bin/file conftest.o` in 7229 *64-bit*) 7230 case $lt_cv_prog_gnu_ld in 7231 yes*) 7232 case $host in 7233 i?86-*-solaris*|x86_64-*-solaris*) 7234 LD="${LD-ld} -m elf_x86_64" 7235 ;; 7236 sparc*-*-solaris*) 7237 LD="${LD-ld} -m elf64_sparc" 7238 ;; 7239 esac 7240 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7241 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7242 LD=${LD-ld}_sol2 7243 fi 7244 ;; 7245 *) 7246 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7247 LD="${LD-ld} -64" 7248 fi 7249 ;; 7250 esac 7251 ;; 7252 esac 7253 fi 7254 rm -rf conftest* 7255 ;; 7256esac 7257 7258need_locks=$enable_libtool_lock 7259 7260if test -n "$ac_tool_prefix"; then 7261 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7262set dummy ${ac_tool_prefix}mt; ac_word=$2 7263{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7264printf %s "checking for $ac_word... " >&6; } 7265if test ${ac_cv_prog_MANIFEST_TOOL+y} 7266then : 7267 printf %s "(cached) " >&6 7268else $as_nop 7269 if test -n "$MANIFEST_TOOL"; then 7270 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7271else 7272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7273for as_dir in $PATH 7274do 7275 IFS=$as_save_IFS 7276 case $as_dir in #((( 7277 '') as_dir=./ ;; 7278 */) ;; 7279 *) as_dir=$as_dir/ ;; 7280 esac 7281 for ac_exec_ext in '' $ac_executable_extensions; do 7282 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7283 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7285 break 2 7286 fi 7287done 7288 done 7289IFS=$as_save_IFS 7290 7291fi 7292fi 7293MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7294if test -n "$MANIFEST_TOOL"; then 7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7296printf "%s\n" "$MANIFEST_TOOL" >&6; } 7297else 7298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7299printf "%s\n" "no" >&6; } 7300fi 7301 7302 7303fi 7304if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7305 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7306 # Extract the first word of "mt", so it can be a program name with args. 7307set dummy mt; ac_word=$2 7308{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7309printf %s "checking for $ac_word... " >&6; } 7310if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} 7311then : 7312 printf %s "(cached) " >&6 7313else $as_nop 7314 if test -n "$ac_ct_MANIFEST_TOOL"; then 7315 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7316else 7317as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7318for as_dir in $PATH 7319do 7320 IFS=$as_save_IFS 7321 case $as_dir in #((( 7322 '') as_dir=./ ;; 7323 */) ;; 7324 *) as_dir=$as_dir/ ;; 7325 esac 7326 for ac_exec_ext in '' $ac_executable_extensions; do 7327 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7328 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7330 break 2 7331 fi 7332done 7333 done 7334IFS=$as_save_IFS 7335 7336fi 7337fi 7338ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7339if test -n "$ac_ct_MANIFEST_TOOL"; then 7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7341printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } 7342else 7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7344printf "%s\n" "no" >&6; } 7345fi 7346 7347 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7348 MANIFEST_TOOL=":" 7349 else 7350 case $cross_compiling:$ac_tool_warned in 7351yes:) 7352{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7353printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7354ac_tool_warned=yes ;; 7355esac 7356 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7357 fi 7358else 7359 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7360fi 7361 7362test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7363{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7364printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7365if test ${lt_cv_path_mainfest_tool+y} 7366then : 7367 printf %s "(cached) " >&6 7368else $as_nop 7369 lt_cv_path_mainfest_tool=no 7370 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7371 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7372 cat conftest.err >&5 7373 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7374 lt_cv_path_mainfest_tool=yes 7375 fi 7376 rm -f conftest* 7377fi 7378{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7379printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } 7380if test yes != "$lt_cv_path_mainfest_tool"; then 7381 MANIFEST_TOOL=: 7382fi 7383 7384 7385 7386 7387 7388 7389 case $host_os in 7390 rhapsody* | darwin*) 7391 if test -n "$ac_tool_prefix"; then 7392 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7393set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7394{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7395printf %s "checking for $ac_word... " >&6; } 7396if test ${ac_cv_prog_DSYMUTIL+y} 7397then : 7398 printf %s "(cached) " >&6 7399else $as_nop 7400 if test -n "$DSYMUTIL"; then 7401 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7402else 7403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7404for as_dir in $PATH 7405do 7406 IFS=$as_save_IFS 7407 case $as_dir in #((( 7408 '') as_dir=./ ;; 7409 */) ;; 7410 *) as_dir=$as_dir/ ;; 7411 esac 7412 for ac_exec_ext in '' $ac_executable_extensions; do 7413 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7414 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7416 break 2 7417 fi 7418done 7419 done 7420IFS=$as_save_IFS 7421 7422fi 7423fi 7424DSYMUTIL=$ac_cv_prog_DSYMUTIL 7425if test -n "$DSYMUTIL"; then 7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7427printf "%s\n" "$DSYMUTIL" >&6; } 7428else 7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7430printf "%s\n" "no" >&6; } 7431fi 7432 7433 7434fi 7435if test -z "$ac_cv_prog_DSYMUTIL"; then 7436 ac_ct_DSYMUTIL=$DSYMUTIL 7437 # Extract the first word of "dsymutil", so it can be a program name with args. 7438set dummy dsymutil; ac_word=$2 7439{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7440printf %s "checking for $ac_word... " >&6; } 7441if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} 7442then : 7443 printf %s "(cached) " >&6 7444else $as_nop 7445 if test -n "$ac_ct_DSYMUTIL"; then 7446 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7447else 7448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7449for as_dir in $PATH 7450do 7451 IFS=$as_save_IFS 7452 case $as_dir in #((( 7453 '') as_dir=./ ;; 7454 */) ;; 7455 *) as_dir=$as_dir/ ;; 7456 esac 7457 for ac_exec_ext in '' $ac_executable_extensions; do 7458 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7459 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7461 break 2 7462 fi 7463done 7464 done 7465IFS=$as_save_IFS 7466 7467fi 7468fi 7469ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7470if test -n "$ac_ct_DSYMUTIL"; then 7471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7472printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } 7473else 7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7475printf "%s\n" "no" >&6; } 7476fi 7477 7478 if test "x$ac_ct_DSYMUTIL" = x; then 7479 DSYMUTIL=":" 7480 else 7481 case $cross_compiling:$ac_tool_warned in 7482yes:) 7483{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7484printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7485ac_tool_warned=yes ;; 7486esac 7487 DSYMUTIL=$ac_ct_DSYMUTIL 7488 fi 7489else 7490 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7491fi 7492 7493 if test -n "$ac_tool_prefix"; then 7494 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7495set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7496{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7497printf %s "checking for $ac_word... " >&6; } 7498if test ${ac_cv_prog_NMEDIT+y} 7499then : 7500 printf %s "(cached) " >&6 7501else $as_nop 7502 if test -n "$NMEDIT"; then 7503 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7504else 7505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7506for as_dir in $PATH 7507do 7508 IFS=$as_save_IFS 7509 case $as_dir in #((( 7510 '') as_dir=./ ;; 7511 */) ;; 7512 *) as_dir=$as_dir/ ;; 7513 esac 7514 for ac_exec_ext in '' $ac_executable_extensions; do 7515 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7516 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7518 break 2 7519 fi 7520done 7521 done 7522IFS=$as_save_IFS 7523 7524fi 7525fi 7526NMEDIT=$ac_cv_prog_NMEDIT 7527if test -n "$NMEDIT"; then 7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7529printf "%s\n" "$NMEDIT" >&6; } 7530else 7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7532printf "%s\n" "no" >&6; } 7533fi 7534 7535 7536fi 7537if test -z "$ac_cv_prog_NMEDIT"; then 7538 ac_ct_NMEDIT=$NMEDIT 7539 # Extract the first word of "nmedit", so it can be a program name with args. 7540set dummy nmedit; ac_word=$2 7541{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7542printf %s "checking for $ac_word... " >&6; } 7543if test ${ac_cv_prog_ac_ct_NMEDIT+y} 7544then : 7545 printf %s "(cached) " >&6 7546else $as_nop 7547 if test -n "$ac_ct_NMEDIT"; then 7548 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7549else 7550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7551for as_dir in $PATH 7552do 7553 IFS=$as_save_IFS 7554 case $as_dir in #((( 7555 '') as_dir=./ ;; 7556 */) ;; 7557 *) as_dir=$as_dir/ ;; 7558 esac 7559 for ac_exec_ext in '' $ac_executable_extensions; do 7560 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7561 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7563 break 2 7564 fi 7565done 7566 done 7567IFS=$as_save_IFS 7568 7569fi 7570fi 7571ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7572if test -n "$ac_ct_NMEDIT"; then 7573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7574printf "%s\n" "$ac_ct_NMEDIT" >&6; } 7575else 7576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7577printf "%s\n" "no" >&6; } 7578fi 7579 7580 if test "x$ac_ct_NMEDIT" = x; then 7581 NMEDIT=":" 7582 else 7583 case $cross_compiling:$ac_tool_warned in 7584yes:) 7585{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7586printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7587ac_tool_warned=yes ;; 7588esac 7589 NMEDIT=$ac_ct_NMEDIT 7590 fi 7591else 7592 NMEDIT="$ac_cv_prog_NMEDIT" 7593fi 7594 7595 if test -n "$ac_tool_prefix"; then 7596 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7597set dummy ${ac_tool_prefix}lipo; ac_word=$2 7598{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7599printf %s "checking for $ac_word... " >&6; } 7600if test ${ac_cv_prog_LIPO+y} 7601then : 7602 printf %s "(cached) " >&6 7603else $as_nop 7604 if test -n "$LIPO"; then 7605 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7606else 7607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7608for as_dir in $PATH 7609do 7610 IFS=$as_save_IFS 7611 case $as_dir in #((( 7612 '') as_dir=./ ;; 7613 */) ;; 7614 *) as_dir=$as_dir/ ;; 7615 esac 7616 for ac_exec_ext in '' $ac_executable_extensions; do 7617 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7618 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7620 break 2 7621 fi 7622done 7623 done 7624IFS=$as_save_IFS 7625 7626fi 7627fi 7628LIPO=$ac_cv_prog_LIPO 7629if test -n "$LIPO"; then 7630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7631printf "%s\n" "$LIPO" >&6; } 7632else 7633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7634printf "%s\n" "no" >&6; } 7635fi 7636 7637 7638fi 7639if test -z "$ac_cv_prog_LIPO"; then 7640 ac_ct_LIPO=$LIPO 7641 # Extract the first word of "lipo", so it can be a program name with args. 7642set dummy lipo; ac_word=$2 7643{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7644printf %s "checking for $ac_word... " >&6; } 7645if test ${ac_cv_prog_ac_ct_LIPO+y} 7646then : 7647 printf %s "(cached) " >&6 7648else $as_nop 7649 if test -n "$ac_ct_LIPO"; then 7650 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7651else 7652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7653for as_dir in $PATH 7654do 7655 IFS=$as_save_IFS 7656 case $as_dir in #((( 7657 '') as_dir=./ ;; 7658 */) ;; 7659 *) as_dir=$as_dir/ ;; 7660 esac 7661 for ac_exec_ext in '' $ac_executable_extensions; do 7662 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7663 ac_cv_prog_ac_ct_LIPO="lipo" 7664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7665 break 2 7666 fi 7667done 7668 done 7669IFS=$as_save_IFS 7670 7671fi 7672fi 7673ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7674if test -n "$ac_ct_LIPO"; then 7675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7676printf "%s\n" "$ac_ct_LIPO" >&6; } 7677else 7678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7679printf "%s\n" "no" >&6; } 7680fi 7681 7682 if test "x$ac_ct_LIPO" = x; then 7683 LIPO=":" 7684 else 7685 case $cross_compiling:$ac_tool_warned in 7686yes:) 7687{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7688printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7689ac_tool_warned=yes ;; 7690esac 7691 LIPO=$ac_ct_LIPO 7692 fi 7693else 7694 LIPO="$ac_cv_prog_LIPO" 7695fi 7696 7697 if test -n "$ac_tool_prefix"; then 7698 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7699set dummy ${ac_tool_prefix}otool; ac_word=$2 7700{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7701printf %s "checking for $ac_word... " >&6; } 7702if test ${ac_cv_prog_OTOOL+y} 7703then : 7704 printf %s "(cached) " >&6 7705else $as_nop 7706 if test -n "$OTOOL"; then 7707 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7708else 7709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7710for as_dir in $PATH 7711do 7712 IFS=$as_save_IFS 7713 case $as_dir in #((( 7714 '') as_dir=./ ;; 7715 */) ;; 7716 *) as_dir=$as_dir/ ;; 7717 esac 7718 for ac_exec_ext in '' $ac_executable_extensions; do 7719 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7720 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7722 break 2 7723 fi 7724done 7725 done 7726IFS=$as_save_IFS 7727 7728fi 7729fi 7730OTOOL=$ac_cv_prog_OTOOL 7731if test -n "$OTOOL"; then 7732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7733printf "%s\n" "$OTOOL" >&6; } 7734else 7735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7736printf "%s\n" "no" >&6; } 7737fi 7738 7739 7740fi 7741if test -z "$ac_cv_prog_OTOOL"; then 7742 ac_ct_OTOOL=$OTOOL 7743 # Extract the first word of "otool", so it can be a program name with args. 7744set dummy otool; ac_word=$2 7745{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7746printf %s "checking for $ac_word... " >&6; } 7747if test ${ac_cv_prog_ac_ct_OTOOL+y} 7748then : 7749 printf %s "(cached) " >&6 7750else $as_nop 7751 if test -n "$ac_ct_OTOOL"; then 7752 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7753else 7754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7755for as_dir in $PATH 7756do 7757 IFS=$as_save_IFS 7758 case $as_dir in #((( 7759 '') as_dir=./ ;; 7760 */) ;; 7761 *) as_dir=$as_dir/ ;; 7762 esac 7763 for ac_exec_ext in '' $ac_executable_extensions; do 7764 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7765 ac_cv_prog_ac_ct_OTOOL="otool" 7766 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7767 break 2 7768 fi 7769done 7770 done 7771IFS=$as_save_IFS 7772 7773fi 7774fi 7775ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7776if test -n "$ac_ct_OTOOL"; then 7777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7778printf "%s\n" "$ac_ct_OTOOL" >&6; } 7779else 7780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7781printf "%s\n" "no" >&6; } 7782fi 7783 7784 if test "x$ac_ct_OTOOL" = x; then 7785 OTOOL=":" 7786 else 7787 case $cross_compiling:$ac_tool_warned in 7788yes:) 7789{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7790printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7791ac_tool_warned=yes ;; 7792esac 7793 OTOOL=$ac_ct_OTOOL 7794 fi 7795else 7796 OTOOL="$ac_cv_prog_OTOOL" 7797fi 7798 7799 if test -n "$ac_tool_prefix"; then 7800 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7801set dummy ${ac_tool_prefix}otool64; ac_word=$2 7802{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7803printf %s "checking for $ac_word... " >&6; } 7804if test ${ac_cv_prog_OTOOL64+y} 7805then : 7806 printf %s "(cached) " >&6 7807else $as_nop 7808 if test -n "$OTOOL64"; then 7809 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7810else 7811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7812for as_dir in $PATH 7813do 7814 IFS=$as_save_IFS 7815 case $as_dir in #((( 7816 '') as_dir=./ ;; 7817 */) ;; 7818 *) as_dir=$as_dir/ ;; 7819 esac 7820 for ac_exec_ext in '' $ac_executable_extensions; do 7821 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7822 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7824 break 2 7825 fi 7826done 7827 done 7828IFS=$as_save_IFS 7829 7830fi 7831fi 7832OTOOL64=$ac_cv_prog_OTOOL64 7833if test -n "$OTOOL64"; then 7834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7835printf "%s\n" "$OTOOL64" >&6; } 7836else 7837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7838printf "%s\n" "no" >&6; } 7839fi 7840 7841 7842fi 7843if test -z "$ac_cv_prog_OTOOL64"; then 7844 ac_ct_OTOOL64=$OTOOL64 7845 # Extract the first word of "otool64", so it can be a program name with args. 7846set dummy otool64; ac_word=$2 7847{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7848printf %s "checking for $ac_word... " >&6; } 7849if test ${ac_cv_prog_ac_ct_OTOOL64+y} 7850then : 7851 printf %s "(cached) " >&6 7852else $as_nop 7853 if test -n "$ac_ct_OTOOL64"; then 7854 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7855else 7856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7857for as_dir in $PATH 7858do 7859 IFS=$as_save_IFS 7860 case $as_dir in #((( 7861 '') as_dir=./ ;; 7862 */) ;; 7863 *) as_dir=$as_dir/ ;; 7864 esac 7865 for ac_exec_ext in '' $ac_executable_extensions; do 7866 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7867 ac_cv_prog_ac_ct_OTOOL64="otool64" 7868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7869 break 2 7870 fi 7871done 7872 done 7873IFS=$as_save_IFS 7874 7875fi 7876fi 7877ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7878if test -n "$ac_ct_OTOOL64"; then 7879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7880printf "%s\n" "$ac_ct_OTOOL64" >&6; } 7881else 7882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7883printf "%s\n" "no" >&6; } 7884fi 7885 7886 if test "x$ac_ct_OTOOL64" = x; then 7887 OTOOL64=":" 7888 else 7889 case $cross_compiling:$ac_tool_warned in 7890yes:) 7891{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7892printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7893ac_tool_warned=yes ;; 7894esac 7895 OTOOL64=$ac_ct_OTOOL64 7896 fi 7897else 7898 OTOOL64="$ac_cv_prog_OTOOL64" 7899fi 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7928printf %s "checking for -single_module linker flag... " >&6; } 7929if test ${lt_cv_apple_cc_single_mod+y} 7930then : 7931 printf %s "(cached) " >&6 7932else $as_nop 7933 lt_cv_apple_cc_single_mod=no 7934 if test -z "$LT_MULTI_MODULE"; then 7935 # By default we will add the -single_module flag. You can override 7936 # by either setting the environment variable LT_MULTI_MODULE 7937 # non-empty at configure time, or by adding -multi_module to the 7938 # link flags. 7939 rm -rf libconftest.dylib* 7940 echo "int foo(void){return 1;}" > conftest.c 7941 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7942-dynamiclib -Wl,-single_module conftest.c" >&5 7943 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7944 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7945 _lt_result=$? 7946 # If there is a non-empty error log, and "single_module" 7947 # appears in it, assume the flag caused a linker warning 7948 if test -s conftest.err && $GREP single_module conftest.err; then 7949 cat conftest.err >&5 7950 # Otherwise, if the output was created with a 0 exit code from 7951 # the compiler, it worked. 7952 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7953 lt_cv_apple_cc_single_mod=yes 7954 else 7955 cat conftest.err >&5 7956 fi 7957 rm -rf libconftest.dylib* 7958 rm -f conftest.* 7959 fi 7960fi 7961{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7962printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } 7963 7964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7965printf %s "checking for -exported_symbols_list linker flag... " >&6; } 7966if test ${lt_cv_ld_exported_symbols_list+y} 7967then : 7968 printf %s "(cached) " >&6 7969else $as_nop 7970 lt_cv_ld_exported_symbols_list=no 7971 save_LDFLAGS=$LDFLAGS 7972 echo "_main" > conftest.sym 7973 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7975/* end confdefs.h. */ 7976 7977int 7978main (void) 7979{ 7980 7981 ; 7982 return 0; 7983} 7984_ACEOF 7985if ac_fn_c_try_link "$LINENO" 7986then : 7987 lt_cv_ld_exported_symbols_list=yes 7988else $as_nop 7989 lt_cv_ld_exported_symbols_list=no 7990fi 7991rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7992 conftest$ac_exeext conftest.$ac_ext 7993 LDFLAGS=$save_LDFLAGS 7994 7995fi 7996{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7997printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } 7998 7999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8000printf %s "checking for -force_load linker flag... " >&6; } 8001if test ${lt_cv_ld_force_load+y} 8002then : 8003 printf %s "(cached) " >&6 8004else $as_nop 8005 lt_cv_ld_force_load=no 8006 cat > conftest.c << _LT_EOF 8007int forced_loaded() { return 2;} 8008_LT_EOF 8009 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8010 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8011 echo "$AR cr libconftest.a conftest.o" >&5 8012 $AR cr libconftest.a conftest.o 2>&5 8013 echo "$RANLIB libconftest.a" >&5 8014 $RANLIB libconftest.a 2>&5 8015 cat > conftest.c << _LT_EOF 8016int main() { return 0;} 8017_LT_EOF 8018 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8019 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8020 _lt_result=$? 8021 if test -s conftest.err && $GREP force_load conftest.err; then 8022 cat conftest.err >&5 8023 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8024 lt_cv_ld_force_load=yes 8025 else 8026 cat conftest.err >&5 8027 fi 8028 rm -f conftest.err libconftest.a conftest conftest.c 8029 rm -rf conftest.dSYM 8030 8031fi 8032{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8033printf "%s\n" "$lt_cv_ld_force_load" >&6; } 8034 case $host_os in 8035 rhapsody* | darwin1.[012]) 8036 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8037 darwin1.*) 8038 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8039 darwin*) # darwin 5.x on 8040 # if running on 10.5 or later, the deployment target defaults 8041 # to the OS version, if on x86, and 10.4, the deployment 8042 # target defaults to 10.4. Don't you love it? 8043 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8044 10.0,*86*-darwin8*|10.0,*-darwin[912]*) 8045 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8046 10.[012][,.]*) 8047 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8048 10.*|11.*) 8049 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8050 esac 8051 ;; 8052 esac 8053 if test yes = "$lt_cv_apple_cc_single_mod"; then 8054 _lt_dar_single_mod='$single_module' 8055 fi 8056 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8057 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8058 else 8059 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8060 fi 8061 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8062 _lt_dsymutil='~$DSYMUTIL $lib || :' 8063 else 8064 _lt_dsymutil= 8065 fi 8066 ;; 8067 esac 8068 8069# func_munge_path_list VARIABLE PATH 8070# ----------------------------------- 8071# VARIABLE is name of variable containing _space_ separated list of 8072# directories to be munged by the contents of PATH, which is string 8073# having a format: 8074# "DIR[:DIR]:" 8075# string "DIR[ DIR]" will be prepended to VARIABLE 8076# ":DIR[:DIR]" 8077# string "DIR[ DIR]" will be appended to VARIABLE 8078# "DIRP[:DIRP]::[DIRA:]DIRA" 8079# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8080# "DIRA[ DIRA]" will be appended to VARIABLE 8081# "DIR[:DIR]" 8082# VARIABLE will be replaced by "DIR[ DIR]" 8083func_munge_path_list () 8084{ 8085 case x$2 in 8086 x) 8087 ;; 8088 *:) 8089 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8090 ;; 8091 x:*) 8092 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8093 ;; 8094 *::*) 8095 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8096 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8097 ;; 8098 *) 8099 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8100 ;; 8101 esac 8102} 8103 8104ac_header= ac_cache= 8105for ac_item in $ac_header_c_list 8106do 8107 if test $ac_cache; then 8108 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 8109 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 8110 printf "%s\n" "#define $ac_item 1" >> confdefs.h 8111 fi 8112 ac_header= ac_cache= 8113 elif test $ac_header; then 8114 ac_cache=$ac_item 8115 else 8116 ac_header=$ac_item 8117 fi 8118done 8119 8120 8121 8122 8123 8124 8125 8126 8127if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 8128then : 8129 8130printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 8131 8132fi 8133ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8134" 8135if test "x$ac_cv_header_dlfcn_h" = xyes 8136then : 8137 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h 8138 8139fi 8140 8141 8142 8143 8144 8145# Set options 8146 8147 8148 8149 enable_dlopen=no 8150 8151 8152 enable_win32_dll=no 8153 8154 8155 # Check whether --enable-shared was given. 8156if test ${enable_shared+y} 8157then : 8158 enableval=$enable_shared; p=${PACKAGE-default} 8159 case $enableval in 8160 yes) enable_shared=yes ;; 8161 no) enable_shared=no ;; 8162 *) 8163 enable_shared=no 8164 # Look at the argument we got. We use all the common list separators. 8165 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8166 for pkg in $enableval; do 8167 IFS=$lt_save_ifs 8168 if test "X$pkg" = "X$p"; then 8169 enable_shared=yes 8170 fi 8171 done 8172 IFS=$lt_save_ifs 8173 ;; 8174 esac 8175else $as_nop 8176 enable_shared=yes 8177fi 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 # Check whether --enable-static was given. 8188if test ${enable_static+y} 8189then : 8190 enableval=$enable_static; p=${PACKAGE-default} 8191 case $enableval in 8192 yes) enable_static=yes ;; 8193 no) enable_static=no ;; 8194 *) 8195 enable_static=no 8196 # Look at the argument we got. We use all the common list separators. 8197 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8198 for pkg in $enableval; do 8199 IFS=$lt_save_ifs 8200 if test "X$pkg" = "X$p"; then 8201 enable_static=yes 8202 fi 8203 done 8204 IFS=$lt_save_ifs 8205 ;; 8206 esac 8207else $as_nop 8208 enable_static=yes 8209fi 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220# Check whether --with-pic was given. 8221if test ${with_pic+y} 8222then : 8223 withval=$with_pic; lt_p=${PACKAGE-default} 8224 case $withval in 8225 yes|no) pic_mode=$withval ;; 8226 *) 8227 pic_mode=default 8228 # Look at the argument we got. We use all the common list separators. 8229 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8230 for lt_pkg in $withval; do 8231 IFS=$lt_save_ifs 8232 if test "X$lt_pkg" = "X$lt_p"; then 8233 pic_mode=yes 8234 fi 8235 done 8236 IFS=$lt_save_ifs 8237 ;; 8238 esac 8239else $as_nop 8240 pic_mode=default 8241fi 8242 8243 8244 8245 8246 8247 8248 8249 8250 # Check whether --enable-fast-install was given. 8251if test ${enable_fast_install+y} 8252then : 8253 enableval=$enable_fast_install; p=${PACKAGE-default} 8254 case $enableval in 8255 yes) enable_fast_install=yes ;; 8256 no) enable_fast_install=no ;; 8257 *) 8258 enable_fast_install=no 8259 # Look at the argument we got. We use all the common list separators. 8260 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8261 for pkg in $enableval; do 8262 IFS=$lt_save_ifs 8263 if test "X$pkg" = "X$p"; then 8264 enable_fast_install=yes 8265 fi 8266 done 8267 IFS=$lt_save_ifs 8268 ;; 8269 esac 8270else $as_nop 8271 enable_fast_install=yes 8272fi 8273 8274 8275 8276 8277 8278 8279 8280 8281 shared_archive_member_spec= 8282case $host,$enable_shared in 8283power*-*-aix[5-9]*,yes) 8284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8285printf %s "checking which variant of shared library versioning to provide... " >&6; } 8286 8287# Check whether --with-aix-soname was given. 8288if test ${with_aix_soname+y} 8289then : 8290 withval=$with_aix_soname; case $withval in 8291 aix|svr4|both) 8292 ;; 8293 *) 8294 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8295 ;; 8296 esac 8297 lt_cv_with_aix_soname=$with_aix_soname 8298else $as_nop 8299 if test ${lt_cv_with_aix_soname+y} 8300then : 8301 printf %s "(cached) " >&6 8302else $as_nop 8303 lt_cv_with_aix_soname=aix 8304fi 8305 8306 with_aix_soname=$lt_cv_with_aix_soname 8307fi 8308 8309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8310printf "%s\n" "$with_aix_soname" >&6; } 8311 if test aix != "$with_aix_soname"; then 8312 # For the AIX way of multilib, we name the shared archive member 8313 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8314 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8315 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8316 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8317 if test 64 = "${OBJECT_MODE-32}"; then 8318 shared_archive_member_spec=shr_64 8319 else 8320 shared_archive_member_spec=shr 8321 fi 8322 fi 8323 ;; 8324*) 8325 with_aix_soname=aix 8326 ;; 8327esac 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338# This can be used to rebuild libtool when needed 8339LIBTOOL_DEPS=$ltmain 8340 8341# Always use our own libtool. 8342LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373test -z "$LN_S" && LN_S="ln -s" 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388if test -n "${ZSH_VERSION+set}"; then 8389 setopt NO_GLOB_SUBST 8390fi 8391 8392{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8393printf %s "checking for objdir... " >&6; } 8394if test ${lt_cv_objdir+y} 8395then : 8396 printf %s "(cached) " >&6 8397else $as_nop 8398 rm -f .libs 2>/dev/null 8399mkdir .libs 2>/dev/null 8400if test -d .libs; then 8401 lt_cv_objdir=.libs 8402else 8403 # MS-DOS does not allow filenames that begin with a dot. 8404 lt_cv_objdir=_libs 8405fi 8406rmdir .libs 2>/dev/null 8407fi 8408{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8409printf "%s\n" "$lt_cv_objdir" >&6; } 8410objdir=$lt_cv_objdir 8411 8412 8413 8414 8415 8416printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h 8417 8418 8419 8420 8421case $host_os in 8422aix3*) 8423 # AIX sometimes has problems with the GCC collect2 program. For some 8424 # reason, if we set the COLLECT_NAMES environment variable, the problems 8425 # vanish in a puff of smoke. 8426 if test set != "${COLLECT_NAMES+set}"; then 8427 COLLECT_NAMES= 8428 export COLLECT_NAMES 8429 fi 8430 ;; 8431esac 8432 8433# Global variables: 8434ofile=libtool 8435can_build_shared=yes 8436 8437# All known linkers require a '.a' archive for static linking (except MSVC, 8438# which needs '.lib'). 8439libext=a 8440 8441with_gnu_ld=$lt_cv_prog_gnu_ld 8442 8443old_CC=$CC 8444old_CFLAGS=$CFLAGS 8445 8446# Set sane defaults for various variables 8447test -z "$CC" && CC=cc 8448test -z "$LTCC" && LTCC=$CC 8449test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8450test -z "$LD" && LD=ld 8451test -z "$ac_objext" && ac_objext=o 8452 8453func_cc_basename $compiler 8454cc_basename=$func_cc_basename_result 8455 8456 8457# Only perform the check for file, if the check method requires it 8458test -z "$MAGIC_CMD" && MAGIC_CMD=file 8459case $deplibs_check_method in 8460file_magic*) 8461 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8463printf %s "checking for ${ac_tool_prefix}file... " >&6; } 8464if test ${lt_cv_path_MAGIC_CMD+y} 8465then : 8466 printf %s "(cached) " >&6 8467else $as_nop 8468 case $MAGIC_CMD in 8469[\\/*] | ?:[\\/]*) 8470 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8471 ;; 8472*) 8473 lt_save_MAGIC_CMD=$MAGIC_CMD 8474 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8475 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8476 for ac_dir in $ac_dummy; do 8477 IFS=$lt_save_ifs 8478 test -z "$ac_dir" && ac_dir=. 8479 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8480 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8481 if test -n "$file_magic_test_file"; then 8482 case $deplibs_check_method in 8483 "file_magic "*) 8484 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8485 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8486 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8487 $EGREP "$file_magic_regex" > /dev/null; then 8488 : 8489 else 8490 cat <<_LT_EOF 1>&2 8491 8492*** Warning: the command libtool uses to detect shared libraries, 8493*** $file_magic_cmd, produces output that libtool cannot recognize. 8494*** The result is that libtool may fail to recognize shared libraries 8495*** as such. This will affect the creation of libtool libraries that 8496*** depend on shared libraries, but programs linked with such libtool 8497*** libraries will work regardless of this problem. Nevertheless, you 8498*** may want to report the problem to your system manager and/or to 8499*** bug-libtool@gnu.org 8500 8501_LT_EOF 8502 fi ;; 8503 esac 8504 fi 8505 break 8506 fi 8507 done 8508 IFS=$lt_save_ifs 8509 MAGIC_CMD=$lt_save_MAGIC_CMD 8510 ;; 8511esac 8512fi 8513 8514MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8515if test -n "$MAGIC_CMD"; then 8516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8517printf "%s\n" "$MAGIC_CMD" >&6; } 8518else 8519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8520printf "%s\n" "no" >&6; } 8521fi 8522 8523 8524 8525 8526 8527if test -z "$lt_cv_path_MAGIC_CMD"; then 8528 if test -n "$ac_tool_prefix"; then 8529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8530printf %s "checking for file... " >&6; } 8531if test ${lt_cv_path_MAGIC_CMD+y} 8532then : 8533 printf %s "(cached) " >&6 8534else $as_nop 8535 case $MAGIC_CMD in 8536[\\/*] | ?:[\\/]*) 8537 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8538 ;; 8539*) 8540 lt_save_MAGIC_CMD=$MAGIC_CMD 8541 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8542 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8543 for ac_dir in $ac_dummy; do 8544 IFS=$lt_save_ifs 8545 test -z "$ac_dir" && ac_dir=. 8546 if test -f "$ac_dir/file"; then 8547 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8548 if test -n "$file_magic_test_file"; then 8549 case $deplibs_check_method in 8550 "file_magic "*) 8551 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8552 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8553 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8554 $EGREP "$file_magic_regex" > /dev/null; then 8555 : 8556 else 8557 cat <<_LT_EOF 1>&2 8558 8559*** Warning: the command libtool uses to detect shared libraries, 8560*** $file_magic_cmd, produces output that libtool cannot recognize. 8561*** The result is that libtool may fail to recognize shared libraries 8562*** as such. This will affect the creation of libtool libraries that 8563*** depend on shared libraries, but programs linked with such libtool 8564*** libraries will work regardless of this problem. Nevertheless, you 8565*** may want to report the problem to your system manager and/or to 8566*** bug-libtool@gnu.org 8567 8568_LT_EOF 8569 fi ;; 8570 esac 8571 fi 8572 break 8573 fi 8574 done 8575 IFS=$lt_save_ifs 8576 MAGIC_CMD=$lt_save_MAGIC_CMD 8577 ;; 8578esac 8579fi 8580 8581MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8582if test -n "$MAGIC_CMD"; then 8583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8584printf "%s\n" "$MAGIC_CMD" >&6; } 8585else 8586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8587printf "%s\n" "no" >&6; } 8588fi 8589 8590 8591 else 8592 MAGIC_CMD=: 8593 fi 8594fi 8595 8596 fi 8597 ;; 8598esac 8599 8600# Use C for the default configuration in the libtool script 8601 8602lt_save_CC=$CC 8603ac_ext=c 8604ac_cpp='$CPP $CPPFLAGS' 8605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8607ac_compiler_gnu=$ac_cv_c_compiler_gnu 8608 8609 8610# Source file extension for C test sources. 8611ac_ext=c 8612 8613# Object file extension for compiled C test sources. 8614objext=o 8615objext=$objext 8616 8617# Code to be used in simple compile tests 8618lt_simple_compile_test_code="int some_variable = 0;" 8619 8620# Code to be used in simple link tests 8621lt_simple_link_test_code='int main(){return(0);}' 8622 8623 8624 8625 8626 8627 8628 8629# If no C compiler was specified, use CC. 8630LTCC=${LTCC-"$CC"} 8631 8632# If no C compiler flags were specified, use CFLAGS. 8633LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8634 8635# Allow CC to be a program name with arguments. 8636compiler=$CC 8637 8638# Save the default compiler, since it gets overwritten when the other 8639# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8640compiler_DEFAULT=$CC 8641 8642# save warnings/boilerplate of simple test code 8643ac_outfile=conftest.$ac_objext 8644echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8645eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8646_lt_compiler_boilerplate=`cat conftest.err` 8647$RM conftest* 8648 8649ac_outfile=conftest.$ac_objext 8650echo "$lt_simple_link_test_code" >conftest.$ac_ext 8651eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8652_lt_linker_boilerplate=`cat conftest.err` 8653$RM -r conftest* 8654 8655 8656if test -n "$compiler"; then 8657 8658lt_prog_compiler_no_builtin_flag= 8659 8660if test yes = "$GCC"; then 8661 case $cc_basename in 8662 nvcc*) 8663 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8664 *) 8665 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8666 esac 8667 8668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8669printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8670if test ${lt_cv_prog_compiler_rtti_exceptions+y} 8671then : 8672 printf %s "(cached) " >&6 8673else $as_nop 8674 lt_cv_prog_compiler_rtti_exceptions=no 8675 ac_outfile=conftest.$ac_objext 8676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8677 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8678 # Insert the option either (1) after the last *FLAGS variable, or 8679 # (2) before a word containing "conftest.", or (3) at the end. 8680 # Note that $ac_compile itself does not contain backslashes and begins 8681 # with a dollar sign (not a hyphen), so the echo should work correctly. 8682 # The option is referenced via a variable to avoid confusing sed. 8683 lt_compile=`echo "$ac_compile" | $SED \ 8684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8686 -e 's:$: $lt_compiler_flag:'` 8687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8688 (eval "$lt_compile" 2>conftest.err) 8689 ac_status=$? 8690 cat conftest.err >&5 8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8692 if (exit $ac_status) && test -s "$ac_outfile"; then 8693 # The compiler can only warn and ignore the option if not recognized 8694 # So say no if there are warnings other than the usual output. 8695 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8696 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8697 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8698 lt_cv_prog_compiler_rtti_exceptions=yes 8699 fi 8700 fi 8701 $RM conftest* 8702 8703fi 8704{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8705printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8706 8707if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8708 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8709else 8710 : 8711fi 8712 8713fi 8714 8715 8716 8717 8718 8719 8720 lt_prog_compiler_wl= 8721lt_prog_compiler_pic= 8722lt_prog_compiler_static= 8723 8724 8725 if test yes = "$GCC"; then 8726 lt_prog_compiler_wl='-Wl,' 8727 lt_prog_compiler_static='-static' 8728 8729 case $host_os in 8730 aix*) 8731 # All AIX code is PIC. 8732 if test ia64 = "$host_cpu"; then 8733 # AIX 5 now supports IA64 processor 8734 lt_prog_compiler_static='-Bstatic' 8735 fi 8736 lt_prog_compiler_pic='-fPIC' 8737 ;; 8738 8739 amigaos*) 8740 case $host_cpu in 8741 powerpc) 8742 # see comment about AmigaOS4 .so support 8743 lt_prog_compiler_pic='-fPIC' 8744 ;; 8745 m68k) 8746 # FIXME: we need at least 68020 code to build shared libraries, but 8747 # adding the '-m68020' flag to GCC prevents building anything better, 8748 # like '-m68040'. 8749 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8750 ;; 8751 esac 8752 ;; 8753 8754 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8755 # PIC is the default for these OSes. 8756 ;; 8757 8758 mingw* | cygwin* | pw32* | os2* | cegcc*) 8759 # This hack is so that the source file can tell whether it is being 8760 # built for inclusion in a dll (and should export symbols for example). 8761 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8762 # (--disable-auto-import) libraries 8763 lt_prog_compiler_pic='-DDLL_EXPORT' 8764 case $host_os in 8765 os2*) 8766 lt_prog_compiler_static='$wl-static' 8767 ;; 8768 esac 8769 ;; 8770 8771 darwin* | rhapsody*) 8772 # PIC is the default on this platform 8773 # Common symbols not allowed in MH_DYLIB files 8774 lt_prog_compiler_pic='-fno-common' 8775 ;; 8776 8777 haiku*) 8778 # PIC is the default for Haiku. 8779 # The "-static" flag exists, but is broken. 8780 lt_prog_compiler_static= 8781 ;; 8782 8783 hpux*) 8784 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8785 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8786 # sets the default TLS model and affects inlining. 8787 case $host_cpu in 8788 hppa*64*) 8789 # +Z the default 8790 ;; 8791 *) 8792 lt_prog_compiler_pic='-fPIC' 8793 ;; 8794 esac 8795 ;; 8796 8797 interix[3-9]*) 8798 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8799 # Instead, we relocate shared libraries at runtime. 8800 ;; 8801 8802 msdosdjgpp*) 8803 # Just because we use GCC doesn't mean we suddenly get shared libraries 8804 # on systems that don't support them. 8805 lt_prog_compiler_can_build_shared=no 8806 enable_shared=no 8807 ;; 8808 8809 *nto* | *qnx*) 8810 # QNX uses GNU C++, but need to define -shared option too, otherwise 8811 # it will coredump. 8812 lt_prog_compiler_pic='-fPIC -shared' 8813 ;; 8814 8815 sysv4*MP*) 8816 if test -d /usr/nec; then 8817 lt_prog_compiler_pic=-Kconform_pic 8818 fi 8819 ;; 8820 8821 *) 8822 lt_prog_compiler_pic='-fPIC' 8823 ;; 8824 esac 8825 8826 case $cc_basename in 8827 nvcc*) # Cuda Compiler Driver 2.2 8828 lt_prog_compiler_wl='-Xlinker ' 8829 if test -n "$lt_prog_compiler_pic"; then 8830 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8831 fi 8832 ;; 8833 esac 8834 else 8835 # PORTME Check for flag to pass linker flags through the system compiler. 8836 case $host_os in 8837 aix*) 8838 lt_prog_compiler_wl='-Wl,' 8839 if test ia64 = "$host_cpu"; then 8840 # AIX 5 now supports IA64 processor 8841 lt_prog_compiler_static='-Bstatic' 8842 else 8843 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8844 fi 8845 ;; 8846 8847 darwin* | rhapsody*) 8848 # PIC is the default on this platform 8849 # Common symbols not allowed in MH_DYLIB files 8850 lt_prog_compiler_pic='-fno-common' 8851 case $cc_basename in 8852 nagfor*) 8853 # NAG Fortran compiler 8854 lt_prog_compiler_wl='-Wl,-Wl,,' 8855 lt_prog_compiler_pic='-PIC' 8856 lt_prog_compiler_static='-Bstatic' 8857 ;; 8858 esac 8859 ;; 8860 8861 mingw* | cygwin* | pw32* | os2* | cegcc*) 8862 # This hack is so that the source file can tell whether it is being 8863 # built for inclusion in a dll (and should export symbols for example). 8864 lt_prog_compiler_pic='-DDLL_EXPORT' 8865 case $host_os in 8866 os2*) 8867 lt_prog_compiler_static='$wl-static' 8868 ;; 8869 esac 8870 ;; 8871 8872 hpux9* | hpux10* | hpux11*) 8873 lt_prog_compiler_wl='-Wl,' 8874 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8875 # not for PA HP-UX. 8876 case $host_cpu in 8877 hppa*64*|ia64*) 8878 # +Z the default 8879 ;; 8880 *) 8881 lt_prog_compiler_pic='+Z' 8882 ;; 8883 esac 8884 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8885 lt_prog_compiler_static='$wl-a ${wl}archive' 8886 ;; 8887 8888 irix5* | irix6* | nonstopux*) 8889 lt_prog_compiler_wl='-Wl,' 8890 # PIC (with -KPIC) is the default. 8891 lt_prog_compiler_static='-non_shared' 8892 ;; 8893 8894 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8895 case $cc_basename in 8896 # old Intel for x86_64, which still supported -KPIC. 8897 ecc*) 8898 lt_prog_compiler_wl='-Wl,' 8899 lt_prog_compiler_pic='-KPIC' 8900 lt_prog_compiler_static='-static' 8901 ;; 8902 # flang / f18. f95 an alias for gfortran or flang on Debian 8903 flang* | f18* | f95*) 8904 lt_prog_compiler_wl='-Wl,' 8905 lt_prog_compiler_pic='-fPIC' 8906 lt_prog_compiler_static='-static' 8907 ;; 8908 # icc used to be incompatible with GCC. 8909 # ICC 10 doesn't accept -KPIC any more. 8910 icc* | ifort*) 8911 lt_prog_compiler_wl='-Wl,' 8912 lt_prog_compiler_pic='-fPIC' 8913 lt_prog_compiler_static='-static' 8914 ;; 8915 # Lahey Fortran 8.1. 8916 lf95*) 8917 lt_prog_compiler_wl='-Wl,' 8918 lt_prog_compiler_pic='--shared' 8919 lt_prog_compiler_static='--static' 8920 ;; 8921 nagfor*) 8922 # NAG Fortran compiler 8923 lt_prog_compiler_wl='-Wl,-Wl,,' 8924 lt_prog_compiler_pic='-PIC' 8925 lt_prog_compiler_static='-Bstatic' 8926 ;; 8927 tcc*) 8928 # Fabrice Bellard et al's Tiny C Compiler 8929 lt_prog_compiler_wl='-Wl,' 8930 lt_prog_compiler_pic='-fPIC' 8931 lt_prog_compiler_static='-static' 8932 ;; 8933 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8934 # Portland Group compilers (*not* the Pentium gcc compiler, 8935 # which looks to be a dead project) 8936 lt_prog_compiler_wl='-Wl,' 8937 lt_prog_compiler_pic='-fpic' 8938 lt_prog_compiler_static='-Bstatic' 8939 ;; 8940 ccc*) 8941 lt_prog_compiler_wl='-Wl,' 8942 # All Alpha code is PIC. 8943 lt_prog_compiler_static='-non_shared' 8944 ;; 8945 xl* | bgxl* | bgf* | mpixl*) 8946 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8947 lt_prog_compiler_wl='-Wl,' 8948 lt_prog_compiler_pic='-qpic' 8949 lt_prog_compiler_static='-qstaticlink' 8950 ;; 8951 *) 8952 case `$CC -V 2>&1 | sed 5q` in 8953 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8954 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8955 lt_prog_compiler_pic='-KPIC' 8956 lt_prog_compiler_static='-Bstatic' 8957 lt_prog_compiler_wl='' 8958 ;; 8959 *Sun\ F* | *Sun*Fortran*) 8960 lt_prog_compiler_pic='-KPIC' 8961 lt_prog_compiler_static='-Bstatic' 8962 lt_prog_compiler_wl='-Qoption ld ' 8963 ;; 8964 *Sun\ C*) 8965 # Sun C 5.9 8966 lt_prog_compiler_pic='-KPIC' 8967 lt_prog_compiler_static='-Bstatic' 8968 lt_prog_compiler_wl='-Wl,' 8969 ;; 8970 *Intel*\ [CF]*Compiler*) 8971 lt_prog_compiler_wl='-Wl,' 8972 lt_prog_compiler_pic='-fPIC' 8973 lt_prog_compiler_static='-static' 8974 ;; 8975 *Portland\ Group*) 8976 lt_prog_compiler_wl='-Wl,' 8977 lt_prog_compiler_pic='-fpic' 8978 lt_prog_compiler_static='-Bstatic' 8979 ;; 8980 esac 8981 ;; 8982 esac 8983 ;; 8984 8985 newsos6) 8986 lt_prog_compiler_pic='-KPIC' 8987 lt_prog_compiler_static='-Bstatic' 8988 ;; 8989 8990 *nto* | *qnx*) 8991 # QNX uses GNU C++, but need to define -shared option too, otherwise 8992 # it will coredump. 8993 lt_prog_compiler_pic='-fPIC -shared' 8994 ;; 8995 8996 osf3* | osf4* | osf5*) 8997 lt_prog_compiler_wl='-Wl,' 8998 # All OSF/1 code is PIC. 8999 lt_prog_compiler_static='-non_shared' 9000 ;; 9001 9002 rdos*) 9003 lt_prog_compiler_static='-non_shared' 9004 ;; 9005 9006 solaris*) 9007 lt_prog_compiler_pic='-KPIC' 9008 lt_prog_compiler_static='-Bstatic' 9009 case $cc_basename in 9010 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9011 lt_prog_compiler_wl='-Qoption ld ';; 9012 *) 9013 lt_prog_compiler_wl='-Wl,';; 9014 esac 9015 ;; 9016 9017 sunos4*) 9018 lt_prog_compiler_wl='-Qoption ld ' 9019 lt_prog_compiler_pic='-PIC' 9020 lt_prog_compiler_static='-Bstatic' 9021 ;; 9022 9023 sysv4 | sysv4.2uw2* | sysv4.3*) 9024 lt_prog_compiler_wl='-Wl,' 9025 lt_prog_compiler_pic='-KPIC' 9026 lt_prog_compiler_static='-Bstatic' 9027 ;; 9028 9029 sysv4*MP*) 9030 if test -d /usr/nec; then 9031 lt_prog_compiler_pic='-Kconform_pic' 9032 lt_prog_compiler_static='-Bstatic' 9033 fi 9034 ;; 9035 9036 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9037 lt_prog_compiler_wl='-Wl,' 9038 lt_prog_compiler_pic='-KPIC' 9039 lt_prog_compiler_static='-Bstatic' 9040 ;; 9041 9042 unicos*) 9043 lt_prog_compiler_wl='-Wl,' 9044 lt_prog_compiler_can_build_shared=no 9045 ;; 9046 9047 uts4*) 9048 lt_prog_compiler_pic='-pic' 9049 lt_prog_compiler_static='-Bstatic' 9050 ;; 9051 9052 *) 9053 lt_prog_compiler_can_build_shared=no 9054 ;; 9055 esac 9056 fi 9057 9058case $host_os in 9059 # For platforms that do not support PIC, -DPIC is meaningless: 9060 *djgpp*) 9061 lt_prog_compiler_pic= 9062 ;; 9063 *) 9064 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9065 ;; 9066esac 9067 9068{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9069printf %s "checking for $compiler option to produce PIC... " >&6; } 9070if test ${lt_cv_prog_compiler_pic+y} 9071then : 9072 printf %s "(cached) " >&6 9073else $as_nop 9074 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9075fi 9076{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9077printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } 9078lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9079 9080# 9081# Check to make sure the PIC flag actually works. 9082# 9083if test -n "$lt_prog_compiler_pic"; then 9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9085printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9086if test ${lt_cv_prog_compiler_pic_works+y} 9087then : 9088 printf %s "(cached) " >&6 9089else $as_nop 9090 lt_cv_prog_compiler_pic_works=no 9091 ac_outfile=conftest.$ac_objext 9092 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9093 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9094 # Insert the option either (1) after the last *FLAGS variable, or 9095 # (2) before a word containing "conftest.", or (3) at the end. 9096 # Note that $ac_compile itself does not contain backslashes and begins 9097 # with a dollar sign (not a hyphen), so the echo should work correctly. 9098 # The option is referenced via a variable to avoid confusing sed. 9099 lt_compile=`echo "$ac_compile" | $SED \ 9100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9102 -e 's:$: $lt_compiler_flag:'` 9103 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9104 (eval "$lt_compile" 2>conftest.err) 9105 ac_status=$? 9106 cat conftest.err >&5 9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9108 if (exit $ac_status) && test -s "$ac_outfile"; then 9109 # The compiler can only warn and ignore the option if not recognized 9110 # So say no if there are warnings other than the usual output. 9111 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9112 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9113 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9114 lt_cv_prog_compiler_pic_works=yes 9115 fi 9116 fi 9117 $RM conftest* 9118 9119fi 9120{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9121printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } 9122 9123if test yes = "$lt_cv_prog_compiler_pic_works"; then 9124 case $lt_prog_compiler_pic in 9125 "" | " "*) ;; 9126 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9127 esac 9128else 9129 lt_prog_compiler_pic= 9130 lt_prog_compiler_can_build_shared=no 9131fi 9132 9133fi 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145# 9146# Check to make sure the static flag actually works. 9147# 9148wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9149{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9150printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9151if test ${lt_cv_prog_compiler_static_works+y} 9152then : 9153 printf %s "(cached) " >&6 9154else $as_nop 9155 lt_cv_prog_compiler_static_works=no 9156 save_LDFLAGS=$LDFLAGS 9157 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9158 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9159 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9160 # The linker can only warn and ignore the option if not recognized 9161 # So say no if there are warnings 9162 if test -s conftest.err; then 9163 # Append any errors to the config.log. 9164 cat conftest.err 1>&5 9165 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9166 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9167 if diff conftest.exp conftest.er2 >/dev/null; then 9168 lt_cv_prog_compiler_static_works=yes 9169 fi 9170 else 9171 lt_cv_prog_compiler_static_works=yes 9172 fi 9173 fi 9174 $RM -r conftest* 9175 LDFLAGS=$save_LDFLAGS 9176 9177fi 9178{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9179printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } 9180 9181if test yes = "$lt_cv_prog_compiler_static_works"; then 9182 : 9183else 9184 lt_prog_compiler_static= 9185fi 9186 9187 9188 9189 9190 9191 9192 9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9194printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9195if test ${lt_cv_prog_compiler_c_o+y} 9196then : 9197 printf %s "(cached) " >&6 9198else $as_nop 9199 lt_cv_prog_compiler_c_o=no 9200 $RM -r conftest 2>/dev/null 9201 mkdir conftest 9202 cd conftest 9203 mkdir out 9204 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9205 9206 lt_compiler_flag="-o out/conftest2.$ac_objext" 9207 # Insert the option either (1) after the last *FLAGS variable, or 9208 # (2) before a word containing "conftest.", or (3) at the end. 9209 # Note that $ac_compile itself does not contain backslashes and begins 9210 # with a dollar sign (not a hyphen), so the echo should work correctly. 9211 lt_compile=`echo "$ac_compile" | $SED \ 9212 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9213 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9214 -e 's:$: $lt_compiler_flag:'` 9215 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9216 (eval "$lt_compile" 2>out/conftest.err) 9217 ac_status=$? 9218 cat out/conftest.err >&5 9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9220 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9221 then 9222 # The compiler can only warn and ignore the option if not recognized 9223 # So say no if there are warnings 9224 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9225 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9226 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9227 lt_cv_prog_compiler_c_o=yes 9228 fi 9229 fi 9230 chmod u+w . 2>&5 9231 $RM conftest* 9232 # SGI C++ compiler will create directory out/ii_files/ for 9233 # template instantiation 9234 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9235 $RM out/* && rmdir out 9236 cd .. 9237 $RM -r conftest 9238 $RM conftest* 9239 9240fi 9241{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9242printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 9243 9244 9245 9246 9247 9248 9249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9250printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9251if test ${lt_cv_prog_compiler_c_o+y} 9252then : 9253 printf %s "(cached) " >&6 9254else $as_nop 9255 lt_cv_prog_compiler_c_o=no 9256 $RM -r conftest 2>/dev/null 9257 mkdir conftest 9258 cd conftest 9259 mkdir out 9260 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9261 9262 lt_compiler_flag="-o out/conftest2.$ac_objext" 9263 # Insert the option either (1) after the last *FLAGS variable, or 9264 # (2) before a word containing "conftest.", or (3) at the end. 9265 # Note that $ac_compile itself does not contain backslashes and begins 9266 # with a dollar sign (not a hyphen), so the echo should work correctly. 9267 lt_compile=`echo "$ac_compile" | $SED \ 9268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9270 -e 's:$: $lt_compiler_flag:'` 9271 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9272 (eval "$lt_compile" 2>out/conftest.err) 9273 ac_status=$? 9274 cat out/conftest.err >&5 9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9276 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9277 then 9278 # The compiler can only warn and ignore the option if not recognized 9279 # So say no if there are warnings 9280 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9281 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9282 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9283 lt_cv_prog_compiler_c_o=yes 9284 fi 9285 fi 9286 chmod u+w . 2>&5 9287 $RM conftest* 9288 # SGI C++ compiler will create directory out/ii_files/ for 9289 # template instantiation 9290 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9291 $RM out/* && rmdir out 9292 cd .. 9293 $RM -r conftest 9294 $RM conftest* 9295 9296fi 9297{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9298printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 9299 9300 9301 9302 9303hard_links=nottested 9304if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9305 # do not overwrite the value of need_locks provided by the user 9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9307printf %s "checking if we can lock with hard links... " >&6; } 9308 hard_links=yes 9309 $RM conftest* 9310 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9311 touch conftest.a 9312 ln conftest.a conftest.b 2>&5 || hard_links=no 9313 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9315printf "%s\n" "$hard_links" >&6; } 9316 if test no = "$hard_links"; then 9317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9318printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9319 need_locks=warn 9320 fi 9321else 9322 need_locks=no 9323fi 9324 9325 9326 9327 9328 9329 9330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9331printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9332 9333 runpath_var= 9334 allow_undefined_flag= 9335 always_export_symbols=no 9336 archive_cmds= 9337 archive_expsym_cmds= 9338 compiler_needs_object=no 9339 enable_shared_with_static_runtimes=no 9340 export_dynamic_flag_spec= 9341 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9342 hardcode_automatic=no 9343 hardcode_direct=no 9344 hardcode_direct_absolute=no 9345 hardcode_libdir_flag_spec= 9346 hardcode_libdir_separator= 9347 hardcode_minus_L=no 9348 hardcode_shlibpath_var=unsupported 9349 inherit_rpath=no 9350 link_all_deplibs=unknown 9351 module_cmds= 9352 module_expsym_cmds= 9353 old_archive_from_new_cmds= 9354 old_archive_from_expsyms_cmds= 9355 thread_safe_flag_spec= 9356 whole_archive_flag_spec= 9357 # include_expsyms should be a list of space-separated symbols to be *always* 9358 # included in the symbol list 9359 include_expsyms= 9360 # exclude_expsyms can be an extended regexp of symbols to exclude 9361 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9362 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9363 # as well as any symbol that contains 'd'. 9364 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9365 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9366 # platforms (ab)use it in PIC code, but their linkers get confused if 9367 # the symbol is explicitly referenced. Since portable code cannot 9368 # rely on this symbol name, it's probably fine to never include it in 9369 # preloaded symbol tables. 9370 # Exclude shared library initialization/finalization symbols. 9371 extract_expsyms_cmds= 9372 9373 case $host_os in 9374 cygwin* | mingw* | pw32* | cegcc*) 9375 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9376 # When not using gcc, we currently assume that we are using 9377 # Microsoft Visual C++. 9378 if test yes != "$GCC"; then 9379 with_gnu_ld=no 9380 fi 9381 ;; 9382 interix*) 9383 # we just hope/assume this is gcc and not c89 (= MSVC++) 9384 with_gnu_ld=yes 9385 ;; 9386 openbsd* | bitrig*) 9387 with_gnu_ld=no 9388 ;; 9389 linux* | k*bsd*-gnu | gnu*) 9390 link_all_deplibs=no 9391 ;; 9392 esac 9393 9394 ld_shlibs=yes 9395 9396 # On some targets, GNU ld is compatible enough with the native linker 9397 # that we're better off using the native interface for both. 9398 lt_use_gnu_ld_interface=no 9399 if test yes = "$with_gnu_ld"; then 9400 case $host_os in 9401 aix*) 9402 # The AIX port of GNU ld has always aspired to compatibility 9403 # with the native linker. However, as the warning in the GNU ld 9404 # block says, versions before 2.19.5* couldn't really create working 9405 # shared libraries, regardless of the interface used. 9406 case `$LD -v 2>&1` in 9407 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9408 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9409 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9410 *) 9411 lt_use_gnu_ld_interface=yes 9412 ;; 9413 esac 9414 ;; 9415 *) 9416 lt_use_gnu_ld_interface=yes 9417 ;; 9418 esac 9419 fi 9420 9421 if test yes = "$lt_use_gnu_ld_interface"; then 9422 # If archive_cmds runs LD, not CC, wlarc should be empty 9423 wlarc='$wl' 9424 9425 # Set some defaults for GNU ld with shared library support. These 9426 # are reset later if shared libraries are not supported. Putting them 9427 # here allows them to be overridden if necessary. 9428 runpath_var=LD_RUN_PATH 9429 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9430 export_dynamic_flag_spec='$wl--export-dynamic' 9431 # ancient GNU ld didn't support --whole-archive et. al. 9432 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9433 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9434 else 9435 whole_archive_flag_spec= 9436 fi 9437 supports_anon_versioning=no 9438 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9439 *GNU\ gold*) supports_anon_versioning=yes ;; 9440 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9441 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9442 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9443 *\ 2.11.*) ;; # other 2.11 versions 9444 *) supports_anon_versioning=yes ;; 9445 esac 9446 9447 # See if GNU ld supports shared libraries. 9448 case $host_os in 9449 aix[3-9]*) 9450 # On AIX/PPC, the GNU linker is very broken 9451 if test ia64 != "$host_cpu"; then 9452 ld_shlibs=no 9453 cat <<_LT_EOF 1>&2 9454 9455*** Warning: the GNU linker, at least up to release 2.19, is reported 9456*** to be unable to reliably create shared libraries on AIX. 9457*** Therefore, libtool is disabling shared libraries support. If you 9458*** really care for shared libraries, you may want to install binutils 9459*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9460*** You will then need to restart the configuration process. 9461 9462_LT_EOF 9463 fi 9464 ;; 9465 9466 amigaos*) 9467 case $host_cpu in 9468 powerpc) 9469 # see comment about AmigaOS4 .so support 9470 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9471 archive_expsym_cmds='' 9472 ;; 9473 m68k) 9474 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 9475 hardcode_libdir_flag_spec='-L$libdir' 9476 hardcode_minus_L=yes 9477 ;; 9478 esac 9479 ;; 9480 9481 beos*) 9482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9483 allow_undefined_flag=unsupported 9484 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9485 # support --undefined. This deserves some investigation. FIXME 9486 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9487 else 9488 ld_shlibs=no 9489 fi 9490 ;; 9491 9492 cygwin* | mingw* | pw32* | cegcc*) 9493 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9494 # as there is no search path for DLLs. 9495 hardcode_libdir_flag_spec='-L$libdir' 9496 export_dynamic_flag_spec='$wl--export-all-symbols' 9497 allow_undefined_flag=unsupported 9498 always_export_symbols=no 9499 enable_shared_with_static_runtimes=yes 9500 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 9501 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9502 9503 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9504 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9505 # If the export-symbols file already is a .def file, use it as 9506 # is; otherwise, prepend EXPORTS... 9507 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9508 cp $export_symbols $output_objdir/$soname.def; 9509 else 9510 echo EXPORTS > $output_objdir/$soname.def; 9511 cat $export_symbols >> $output_objdir/$soname.def; 9512 fi~ 9513 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9514 else 9515 ld_shlibs=no 9516 fi 9517 ;; 9518 9519 haiku*) 9520 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9521 link_all_deplibs=yes 9522 ;; 9523 9524 os2*) 9525 hardcode_libdir_flag_spec='-L$libdir' 9526 hardcode_minus_L=yes 9527 allow_undefined_flag=unsupported 9528 shrext_cmds=.dll 9529 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9530 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9531 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9532 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9533 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9534 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9535 emximp -o $lib $output_objdir/$libname.def' 9536 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9537 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9538 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9539 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9540 prefix_cmds="$SED"~ 9541 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9542 prefix_cmds="$prefix_cmds -e 1d"; 9543 fi~ 9544 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9545 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9546 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9547 emximp -o $lib $output_objdir/$libname.def' 9548 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9549 enable_shared_with_static_runtimes=yes 9550 ;; 9551 9552 interix[3-9]*) 9553 hardcode_direct=no 9554 hardcode_shlibpath_var=no 9555 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9556 export_dynamic_flag_spec='$wl-E' 9557 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9558 # Instead, shared libraries are loaded at an image base (0x10000000 by 9559 # default) and relocated if they conflict, which is a slow very memory 9560 # consuming and fragmenting process. To avoid this, we pick a random, 9561 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9562 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9563 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9564 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' 9565 ;; 9566 9567 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9568 tmp_diet=no 9569 if test linux-dietlibc = "$host_os"; then 9570 case $cc_basename in 9571 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9572 esac 9573 fi 9574 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9575 && test no = "$tmp_diet" 9576 then 9577 tmp_addflag=' $pic_flag' 9578 tmp_sharedflag='-shared' 9579 case $cc_basename,$host_cpu in 9580 pgcc*) # Portland Group C compiler 9581 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 9582 tmp_addflag=' $pic_flag' 9583 ;; 9584 pgf77* | pgf90* | pgf95* | pgfortran*) 9585 # Portland Group f77 and f90 compilers 9586 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 9587 tmp_addflag=' $pic_flag -Mnomain' ;; 9588 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9589 tmp_addflag=' -i_dynamic' ;; 9590 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9591 tmp_addflag=' -i_dynamic -nofor_main' ;; 9592 ifc* | ifort*) # Intel Fortran compiler 9593 tmp_addflag=' -nofor_main' ;; 9594 lf95*) # Lahey Fortran 8.1 9595 whole_archive_flag_spec= 9596 tmp_sharedflag='--shared' ;; 9597 nagfor*) # NAGFOR 5.3 9598 tmp_sharedflag='-Wl,-shared' ;; 9599 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9600 tmp_sharedflag='-qmkshrobj' 9601 tmp_addflag= ;; 9602 nvcc*) # Cuda Compiler Driver 2.2 9603 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 9604 compiler_needs_object=yes 9605 ;; 9606 esac 9607 case `$CC -V 2>&1 | sed 5q` in 9608 *Sun\ C*) # Sun C 5.9 9609 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' 9610 compiler_needs_object=yes 9611 tmp_sharedflag='-G' ;; 9612 *Sun\ F*) # Sun Fortran 8.3 9613 tmp_sharedflag='-G' ;; 9614 esac 9615 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9616 9617 if test yes = "$supports_anon_versioning"; then 9618 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9619 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9620 echo "local: *; };" >> $output_objdir/$libname.ver~ 9621 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9622 fi 9623 9624 case $cc_basename in 9625 tcc*) 9626 export_dynamic_flag_spec='-rdynamic' 9627 ;; 9628 xlf* | bgf* | bgxlf* | mpixlf*) 9629 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9630 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9631 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9632 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9633 if test yes = "$supports_anon_versioning"; then 9634 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9635 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9636 echo "local: *; };" >> $output_objdir/$libname.ver~ 9637 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9638 fi 9639 ;; 9640 esac 9641 else 9642 ld_shlibs=no 9643 fi 9644 ;; 9645 9646 netbsd* | netbsdelf*-gnu) 9647 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9648 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9649 wlarc= 9650 else 9651 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9652 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9653 fi 9654 ;; 9655 9656 solaris*) 9657 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9658 ld_shlibs=no 9659 cat <<_LT_EOF 1>&2 9660 9661*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9662*** create shared libraries on Solaris systems. Therefore, libtool 9663*** is disabling shared libraries support. We urge you to upgrade GNU 9664*** binutils to release 2.9.1 or newer. Another option is to modify 9665*** your PATH or compiler configuration so that the native linker is 9666*** used, and then restart. 9667 9668_LT_EOF 9669 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9670 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9671 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9672 else 9673 ld_shlibs=no 9674 fi 9675 ;; 9676 9677 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9678 case `$LD -v 2>&1` in 9679 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9680 ld_shlibs=no 9681 cat <<_LT_EOF 1>&2 9682 9683*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9684*** reliably create shared libraries on SCO systems. Therefore, libtool 9685*** is disabling shared libraries support. We urge you to upgrade GNU 9686*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9687*** your PATH or compiler configuration so that the native linker is 9688*** used, and then restart. 9689 9690_LT_EOF 9691 ;; 9692 *) 9693 # For security reasons, it is highly recommended that you always 9694 # use absolute paths for naming shared libraries, and exclude the 9695 # DT_RUNPATH tag from executables and libraries. But doing so 9696 # requires that you compile everything twice, which is a pain. 9697 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9698 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9699 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9700 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9701 else 9702 ld_shlibs=no 9703 fi 9704 ;; 9705 esac 9706 ;; 9707 9708 sunos4*) 9709 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9710 wlarc= 9711 hardcode_direct=yes 9712 hardcode_shlibpath_var=no 9713 ;; 9714 9715 *) 9716 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9717 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9718 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9719 else 9720 ld_shlibs=no 9721 fi 9722 ;; 9723 esac 9724 9725 if test no = "$ld_shlibs"; then 9726 runpath_var= 9727 hardcode_libdir_flag_spec= 9728 export_dynamic_flag_spec= 9729 whole_archive_flag_spec= 9730 fi 9731 else 9732 # PORTME fill in a description of your system's linker (not GNU ld) 9733 case $host_os in 9734 aix3*) 9735 allow_undefined_flag=unsupported 9736 always_export_symbols=yes 9737 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 9738 # Note: this linker hardcodes the directories in LIBPATH if there 9739 # are no directories specified by -L. 9740 hardcode_minus_L=yes 9741 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9742 # Neither direct hardcoding nor static linking is supported with a 9743 # broken collect2. 9744 hardcode_direct=unsupported 9745 fi 9746 ;; 9747 9748 aix[4-9]*) 9749 if test ia64 = "$host_cpu"; then 9750 # On IA64, the linker does run time linking by default, so we don't 9751 # have to do anything special. 9752 aix_use_runtimelinking=no 9753 exp_sym_flag='-Bexport' 9754 no_entry_flag= 9755 else 9756 # If we're using GNU nm, then we don't want the "-C" option. 9757 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9758 # Without the "-l" option, or with the "-B" option, AIX nm treats 9759 # weak defined symbols like other global defined symbols, whereas 9760 # GNU nm marks them as "W". 9761 # While the 'weak' keyword is ignored in the Export File, we need 9762 # it in the Import File for the 'aix-soname' feature, so we have 9763 # to replace the "-B" option with "-P" for AIX nm. 9764 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9765 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' 9766 else 9767 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' 9768 fi 9769 aix_use_runtimelinking=no 9770 9771 # Test if we are trying to use run time linking or normal 9772 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9773 # have runtime linking enabled, and use it for executables. 9774 # For shared libraries, we enable/disable runtime linking 9775 # depending on the kind of the shared library created - 9776 # when "with_aix_soname,aix_use_runtimelinking" is: 9777 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9778 # "aix,yes" lib.so shared, rtl:yes, for executables 9779 # lib.a static archive 9780 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9781 # lib.a(lib.so.V) shared, rtl:no, for executables 9782 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9783 # lib.a(lib.so.V) shared, rtl:no 9784 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9785 # lib.a static archive 9786 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9787 for ld_flag in $LDFLAGS; do 9788 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9789 aix_use_runtimelinking=yes 9790 break 9791 fi 9792 done 9793 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9794 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9795 # so we don't have lib.a shared libs to link our executables. 9796 # We have to force runtime linking in this case. 9797 aix_use_runtimelinking=yes 9798 LDFLAGS="$LDFLAGS -Wl,-brtl" 9799 fi 9800 ;; 9801 esac 9802 9803 exp_sym_flag='-bexport' 9804 no_entry_flag='-bnoentry' 9805 fi 9806 9807 # When large executables or shared objects are built, AIX ld can 9808 # have problems creating the table of contents. If linking a library 9809 # or program results in "error TOC overflow" add -mminimal-toc to 9810 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9811 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9812 9813 archive_cmds='' 9814 hardcode_direct=yes 9815 hardcode_direct_absolute=yes 9816 hardcode_libdir_separator=':' 9817 link_all_deplibs=yes 9818 file_list_spec='$wl-f,' 9819 case $with_aix_soname,$aix_use_runtimelinking in 9820 aix,*) ;; # traditional, no import file 9821 svr4,* | *,yes) # use import file 9822 # The Import File defines what to hardcode. 9823 hardcode_direct=no 9824 hardcode_direct_absolute=no 9825 ;; 9826 esac 9827 9828 if test yes = "$GCC"; then 9829 case $host_os in aix4.[012]|aix4.[012].*) 9830 # We only want to do this on AIX 4.2 and lower, the check 9831 # below for broken collect2 doesn't work under 4.3+ 9832 collect2name=`$CC -print-prog-name=collect2` 9833 if test -f "$collect2name" && 9834 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9835 then 9836 # We have reworked collect2 9837 : 9838 else 9839 # We have old collect2 9840 hardcode_direct=unsupported 9841 # It fails to find uninstalled libraries when the uninstalled 9842 # path is not listed in the libpath. Setting hardcode_minus_L 9843 # to unsupported forces relinking 9844 hardcode_minus_L=yes 9845 hardcode_libdir_flag_spec='-L$libdir' 9846 hardcode_libdir_separator= 9847 fi 9848 ;; 9849 esac 9850 shared_flag='-shared' 9851 if test yes = "$aix_use_runtimelinking"; then 9852 shared_flag="$shared_flag "'$wl-G' 9853 fi 9854 # Need to ensure runtime linking is disabled for the traditional 9855 # shared library, or the linker may eventually find shared libraries 9856 # /with/ Import File - we do not want to mix them. 9857 shared_flag_aix='-shared' 9858 shared_flag_svr4='-shared $wl-G' 9859 else 9860 # not using gcc 9861 if test ia64 = "$host_cpu"; then 9862 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9863 # chokes on -Wl,-G. The following line is correct: 9864 shared_flag='-G' 9865 else 9866 if test yes = "$aix_use_runtimelinking"; then 9867 shared_flag='$wl-G' 9868 else 9869 shared_flag='$wl-bM:SRE' 9870 fi 9871 shared_flag_aix='$wl-bM:SRE' 9872 shared_flag_svr4='$wl-G' 9873 fi 9874 fi 9875 9876 export_dynamic_flag_spec='$wl-bexpall' 9877 # It seems that -bexpall does not export symbols beginning with 9878 # underscore (_), so it is better to generate a list of symbols to export. 9879 always_export_symbols=yes 9880 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9881 # Warning - without using the other runtime loading flags (-brtl), 9882 # -berok will link without error, but may produce a broken library. 9883 allow_undefined_flag='-berok' 9884 # Determine the default libpath from the value encoded in an 9885 # empty executable. 9886 if test set = "${lt_cv_aix_libpath+set}"; then 9887 aix_libpath=$lt_cv_aix_libpath 9888else 9889 if test ${lt_cv_aix_libpath_+y} 9890then : 9891 printf %s "(cached) " >&6 9892else $as_nop 9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9894/* end confdefs.h. */ 9895 9896int 9897main (void) 9898{ 9899 9900 ; 9901 return 0; 9902} 9903_ACEOF 9904if ac_fn_c_try_link "$LINENO" 9905then : 9906 9907 lt_aix_libpath_sed=' 9908 /Import File Strings/,/^$/ { 9909 /^0/ { 9910 s/^0 *\([^ ]*\) *$/\1/ 9911 p 9912 } 9913 }' 9914 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9915 # Check for a 64-bit object if we didn't find anything. 9916 if test -z "$lt_cv_aix_libpath_"; then 9917 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9918 fi 9919fi 9920rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9921 conftest$ac_exeext conftest.$ac_ext 9922 if test -z "$lt_cv_aix_libpath_"; then 9923 lt_cv_aix_libpath_=/usr/lib:/lib 9924 fi 9925 9926fi 9927 9928 aix_libpath=$lt_cv_aix_libpath_ 9929fi 9930 9931 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9932 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 9933 else 9934 if test ia64 = "$host_cpu"; then 9935 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9936 allow_undefined_flag="-z nodefs" 9937 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" 9938 else 9939 # Determine the default libpath from the value encoded in an 9940 # empty executable. 9941 if test set = "${lt_cv_aix_libpath+set}"; then 9942 aix_libpath=$lt_cv_aix_libpath 9943else 9944 if test ${lt_cv_aix_libpath_+y} 9945then : 9946 printf %s "(cached) " >&6 9947else $as_nop 9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9949/* end confdefs.h. */ 9950 9951int 9952main (void) 9953{ 9954 9955 ; 9956 return 0; 9957} 9958_ACEOF 9959if ac_fn_c_try_link "$LINENO" 9960then : 9961 9962 lt_aix_libpath_sed=' 9963 /Import File Strings/,/^$/ { 9964 /^0/ { 9965 s/^0 *\([^ ]*\) *$/\1/ 9966 p 9967 } 9968 }' 9969 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9970 # Check for a 64-bit object if we didn't find anything. 9971 if test -z "$lt_cv_aix_libpath_"; then 9972 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9973 fi 9974fi 9975rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9976 conftest$ac_exeext conftest.$ac_ext 9977 if test -z "$lt_cv_aix_libpath_"; then 9978 lt_cv_aix_libpath_=/usr/lib:/lib 9979 fi 9980 9981fi 9982 9983 aix_libpath=$lt_cv_aix_libpath_ 9984fi 9985 9986 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9987 # Warning - without using the other run time loading flags, 9988 # -berok will link without error, but may produce a broken library. 9989 no_undefined_flag=' $wl-bernotok' 9990 allow_undefined_flag=' $wl-berok' 9991 if test yes = "$with_gnu_ld"; then 9992 # We only use this code for GNU lds that support --whole-archive. 9993 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9994 else 9995 # Exported symbols can be pulled into shared objects from archives 9996 whole_archive_flag_spec='$convenience' 9997 fi 9998 archive_cmds_need_lc=yes 9999 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10000 # -brtl affects multiple linker settings, -berok does not and is overridden later 10001 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10002 if test svr4 != "$with_aix_soname"; then 10003 # This is similar to how AIX traditionally builds its shared libraries. 10004 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 10005 fi 10006 if test aix != "$with_aix_soname"; then 10007 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 10008 else 10009 # used by -dlpreopen to get the symbols 10010 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10011 fi 10012 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10013 fi 10014 fi 10015 ;; 10016 10017 amigaos*) 10018 case $host_cpu in 10019 powerpc) 10020 # see comment about AmigaOS4 .so support 10021 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10022 archive_expsym_cmds='' 10023 ;; 10024 m68k) 10025 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 10026 hardcode_libdir_flag_spec='-L$libdir' 10027 hardcode_minus_L=yes 10028 ;; 10029 esac 10030 ;; 10031 10032 bsdi[45]*) 10033 export_dynamic_flag_spec=-rdynamic 10034 ;; 10035 10036 cygwin* | mingw* | pw32* | cegcc*) 10037 # When not using gcc, we currently assume that we are using 10038 # Microsoft Visual C++. 10039 # hardcode_libdir_flag_spec is actually meaningless, as there is 10040 # no search path for DLLs. 10041 case $cc_basename in 10042 cl*) 10043 # Native MSVC 10044 hardcode_libdir_flag_spec=' ' 10045 allow_undefined_flag=unsupported 10046 always_export_symbols=yes 10047 file_list_spec='@' 10048 # Tell ltmain to make .lib files, not .a files. 10049 libext=lib 10050 # Tell ltmain to make .dll files, not .so files. 10051 shrext_cmds=.dll 10052 # FIXME: Setting linknames here is a bad hack. 10053 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10054 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10055 cp "$export_symbols" "$output_objdir/$soname.def"; 10056 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10057 else 10058 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10059 fi~ 10060 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10061 linknames=' 10062 # The linker will not automatically build a static lib if we build a DLL. 10063 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10064 enable_shared_with_static_runtimes=yes 10065 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10066 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10067 # Don't use ranlib 10068 old_postinstall_cmds='chmod 644 $oldlib' 10069 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10070 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10071 case $lt_outputfile in 10072 *.exe|*.EXE) ;; 10073 *) 10074 lt_outputfile=$lt_outputfile.exe 10075 lt_tool_outputfile=$lt_tool_outputfile.exe 10076 ;; 10077 esac~ 10078 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10079 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10080 $RM "$lt_outputfile.manifest"; 10081 fi' 10082 ;; 10083 *) 10084 # Assume MSVC wrapper 10085 hardcode_libdir_flag_spec=' ' 10086 allow_undefined_flag=unsupported 10087 # Tell ltmain to make .lib files, not .a files. 10088 libext=lib 10089 # Tell ltmain to make .dll files, not .so files. 10090 shrext_cmds=.dll 10091 # FIXME: Setting linknames here is a bad hack. 10092 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10093 # The linker will automatically build a .lib file if we build a DLL. 10094 old_archive_from_new_cmds='true' 10095 # FIXME: Should let the user specify the lib program. 10096 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10097 enable_shared_with_static_runtimes=yes 10098 ;; 10099 esac 10100 ;; 10101 10102 darwin* | rhapsody*) 10103 10104 10105 archive_cmds_need_lc=no 10106 hardcode_direct=no 10107 hardcode_automatic=yes 10108 hardcode_shlibpath_var=unsupported 10109 if test yes = "$lt_cv_ld_force_load"; then 10110 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 10111 10112 else 10113 whole_archive_flag_spec='' 10114 fi 10115 link_all_deplibs=yes 10116 allow_undefined_flag=$_lt_dar_allow_undefined 10117 case $cc_basename in 10118 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10119 *) _lt_dar_can_shared=$GCC ;; 10120 esac 10121 if test yes = "$_lt_dar_can_shared"; then 10122 output_verbose_link_cmd=func_echo_all 10123 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10124 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10125 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" 10126 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" 10127 10128 else 10129 ld_shlibs=no 10130 fi 10131 10132 ;; 10133 10134 dgux*) 10135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10136 hardcode_libdir_flag_spec='-L$libdir' 10137 hardcode_shlibpath_var=no 10138 ;; 10139 10140 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10141 # support. Future versions do this automatically, but an explicit c++rt0.o 10142 # does not break anything, and helps significantly (at the cost of a little 10143 # extra space). 10144 freebsd2.2*) 10145 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10146 hardcode_libdir_flag_spec='-R$libdir' 10147 hardcode_direct=yes 10148 hardcode_shlibpath_var=no 10149 ;; 10150 10151 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10152 freebsd2.*) 10153 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10154 hardcode_direct=yes 10155 hardcode_minus_L=yes 10156 hardcode_shlibpath_var=no 10157 ;; 10158 10159 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10160 freebsd* | dragonfly*) 10161 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10162 hardcode_libdir_flag_spec='-R$libdir' 10163 hardcode_direct=yes 10164 hardcode_shlibpath_var=no 10165 ;; 10166 10167 hpux9*) 10168 if test yes = "$GCC"; then 10169 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10170 else 10171 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10172 fi 10173 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10174 hardcode_libdir_separator=: 10175 hardcode_direct=yes 10176 10177 # hardcode_minus_L: Not really in the search PATH, 10178 # but as the default location of the library. 10179 hardcode_minus_L=yes 10180 export_dynamic_flag_spec='$wl-E' 10181 ;; 10182 10183 hpux10*) 10184 if test yes,no = "$GCC,$with_gnu_ld"; then 10185 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10186 else 10187 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10188 fi 10189 if test no = "$with_gnu_ld"; then 10190 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10191 hardcode_libdir_separator=: 10192 hardcode_direct=yes 10193 hardcode_direct_absolute=yes 10194 export_dynamic_flag_spec='$wl-E' 10195 # hardcode_minus_L: Not really in the search PATH, 10196 # but as the default location of the library. 10197 hardcode_minus_L=yes 10198 fi 10199 ;; 10200 10201 hpux11*) 10202 if test yes,no = "$GCC,$with_gnu_ld"; then 10203 case $host_cpu in 10204 hppa*64*) 10205 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10206 ;; 10207 ia64*) 10208 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10209 ;; 10210 *) 10211 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10212 ;; 10213 esac 10214 else 10215 case $host_cpu in 10216 hppa*64*) 10217 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10218 ;; 10219 ia64*) 10220 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10221 ;; 10222 *) 10223 10224 # Older versions of the 11.00 compiler do not understand -b yet 10225 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10227printf %s "checking if $CC understands -b... " >&6; } 10228if test ${lt_cv_prog_compiler__b+y} 10229then : 10230 printf %s "(cached) " >&6 10231else $as_nop 10232 lt_cv_prog_compiler__b=no 10233 save_LDFLAGS=$LDFLAGS 10234 LDFLAGS="$LDFLAGS -b" 10235 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10236 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10237 # The linker can only warn and ignore the option if not recognized 10238 # So say no if there are warnings 10239 if test -s conftest.err; then 10240 # Append any errors to the config.log. 10241 cat conftest.err 1>&5 10242 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10243 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10244 if diff conftest.exp conftest.er2 >/dev/null; then 10245 lt_cv_prog_compiler__b=yes 10246 fi 10247 else 10248 lt_cv_prog_compiler__b=yes 10249 fi 10250 fi 10251 $RM -r conftest* 10252 LDFLAGS=$save_LDFLAGS 10253 10254fi 10255{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10256printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } 10257 10258if test yes = "$lt_cv_prog_compiler__b"; then 10259 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10260else 10261 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10262fi 10263 10264 ;; 10265 esac 10266 fi 10267 if test no = "$with_gnu_ld"; then 10268 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10269 hardcode_libdir_separator=: 10270 10271 case $host_cpu in 10272 hppa*64*|ia64*) 10273 hardcode_direct=no 10274 hardcode_shlibpath_var=no 10275 ;; 10276 *) 10277 hardcode_direct=yes 10278 hardcode_direct_absolute=yes 10279 export_dynamic_flag_spec='$wl-E' 10280 10281 # hardcode_minus_L: Not really in the search PATH, 10282 # but as the default location of the library. 10283 hardcode_minus_L=yes 10284 ;; 10285 esac 10286 fi 10287 ;; 10288 10289 irix5* | irix6* | nonstopux*) 10290 if test yes = "$GCC"; then 10291 archive_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 -o $lib' 10292 # Try to use the -exported_symbol ld option, if it does not 10293 # work, assume that -exports_file does not work either and 10294 # implicitly export all symbols. 10295 # This should be the same for all languages, so no per-tag cache variable. 10296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10297printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10298if test ${lt_cv_irix_exported_symbol+y} 10299then : 10300 printf %s "(cached) " >&6 10301else $as_nop 10302 save_LDFLAGS=$LDFLAGS 10303 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10305/* end confdefs.h. */ 10306int foo (void) { return 0; } 10307_ACEOF 10308if ac_fn_c_try_link "$LINENO" 10309then : 10310 lt_cv_irix_exported_symbol=yes 10311else $as_nop 10312 lt_cv_irix_exported_symbol=no 10313fi 10314rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10315 conftest$ac_exeext conftest.$ac_ext 10316 LDFLAGS=$save_LDFLAGS 10317fi 10318{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10319printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } 10320 if test yes = "$lt_cv_irix_exported_symbol"; then 10321 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' 10322 fi 10323 link_all_deplibs=no 10324 else 10325 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 10326 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' 10327 fi 10328 archive_cmds_need_lc='no' 10329 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10330 hardcode_libdir_separator=: 10331 inherit_rpath=yes 10332 link_all_deplibs=yes 10333 ;; 10334 10335 linux*) 10336 case $cc_basename in 10337 tcc*) 10338 # Fabrice Bellard et al's Tiny C Compiler 10339 ld_shlibs=yes 10340 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10341 ;; 10342 esac 10343 ;; 10344 10345 netbsd* | netbsdelf*-gnu) 10346 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10347 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10348 else 10349 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10350 fi 10351 hardcode_libdir_flag_spec='-R$libdir' 10352 hardcode_direct=yes 10353 hardcode_shlibpath_var=no 10354 ;; 10355 10356 newsos6) 10357 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10358 hardcode_direct=yes 10359 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10360 hardcode_libdir_separator=: 10361 hardcode_shlibpath_var=no 10362 ;; 10363 10364 *nto* | *qnx*) 10365 ;; 10366 10367 openbsd* | bitrig*) 10368 if test -f /usr/libexec/ld.so; then 10369 hardcode_direct=yes 10370 hardcode_shlibpath_var=no 10371 hardcode_direct_absolute=yes 10372 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10373 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10374 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10375 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10376 export_dynamic_flag_spec='$wl-E' 10377 else 10378 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10379 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10380 fi 10381 else 10382 ld_shlibs=no 10383 fi 10384 ;; 10385 10386 os2*) 10387 hardcode_libdir_flag_spec='-L$libdir' 10388 hardcode_minus_L=yes 10389 allow_undefined_flag=unsupported 10390 shrext_cmds=.dll 10391 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10392 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10393 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10394 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10395 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10396 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10397 emximp -o $lib $output_objdir/$libname.def' 10398 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10399 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10400 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10401 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10402 prefix_cmds="$SED"~ 10403 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10404 prefix_cmds="$prefix_cmds -e 1d"; 10405 fi~ 10406 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10407 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10408 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10409 emximp -o $lib $output_objdir/$libname.def' 10410 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10411 enable_shared_with_static_runtimes=yes 10412 ;; 10413 10414 osf3*) 10415 if test yes = "$GCC"; then 10416 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10417 archive_cmds='$CC -shared$allow_undefined_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 -o $lib' 10418 else 10419 allow_undefined_flag=' -expect_unresolved \*' 10420 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 10421 fi 10422 archive_cmds_need_lc='no' 10423 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10424 hardcode_libdir_separator=: 10425 ;; 10426 10427 osf4* | osf5*) # as osf3* with the addition of -msym flag 10428 if test yes = "$GCC"; then 10429 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10430 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 10431 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10432 else 10433 allow_undefined_flag=' -expect_unresolved \*' 10434 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 10435 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 10436 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' 10437 10438 # Both c and cxx compiler support -rpath directly 10439 hardcode_libdir_flag_spec='-rpath $libdir' 10440 fi 10441 archive_cmds_need_lc='no' 10442 hardcode_libdir_separator=: 10443 ;; 10444 10445 solaris*) 10446 no_undefined_flag=' -z defs' 10447 if test yes = "$GCC"; then 10448 wlarc='$wl' 10449 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10450 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10451 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10452 else 10453 case `$CC -V 2>&1` in 10454 *"Compilers 5.0"*) 10455 wlarc='' 10456 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10457 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10458 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10459 ;; 10460 *) 10461 wlarc='$wl' 10462 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10463 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10464 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10465 ;; 10466 esac 10467 fi 10468 hardcode_libdir_flag_spec='-R$libdir' 10469 hardcode_shlibpath_var=no 10470 case $host_os in 10471 solaris2.[0-5] | solaris2.[0-5].*) ;; 10472 *) 10473 # The compiler driver will combine and reorder linker options, 10474 # but understands '-z linker_flag'. GCC discards it without '$wl', 10475 # but is careful enough not to reorder. 10476 # Supported since Solaris 2.6 (maybe 2.5.1?) 10477 if test yes = "$GCC"; then 10478 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10479 else 10480 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10481 fi 10482 ;; 10483 esac 10484 link_all_deplibs=yes 10485 ;; 10486 10487 sunos4*) 10488 if test sequent = "$host_vendor"; then 10489 # Use $CC to link under sequent, because it throws in some extra .o 10490 # files that make .init and .fini sections work. 10491 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10492 else 10493 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10494 fi 10495 hardcode_libdir_flag_spec='-L$libdir' 10496 hardcode_direct=yes 10497 hardcode_minus_L=yes 10498 hardcode_shlibpath_var=no 10499 ;; 10500 10501 sysv4) 10502 case $host_vendor in 10503 sni) 10504 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10505 hardcode_direct=yes # is this really true??? 10506 ;; 10507 siemens) 10508 ## LD is ld it makes a PLAMLIB 10509 ## CC just makes a GrossModule. 10510 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10511 reload_cmds='$CC -r -o $output$reload_objs' 10512 hardcode_direct=no 10513 ;; 10514 motorola) 10515 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10516 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10517 ;; 10518 esac 10519 runpath_var='LD_RUN_PATH' 10520 hardcode_shlibpath_var=no 10521 ;; 10522 10523 sysv4.3*) 10524 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10525 hardcode_shlibpath_var=no 10526 export_dynamic_flag_spec='-Bexport' 10527 ;; 10528 10529 sysv4*MP*) 10530 if test -d /usr/nec; then 10531 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10532 hardcode_shlibpath_var=no 10533 runpath_var=LD_RUN_PATH 10534 hardcode_runpath_var=yes 10535 ld_shlibs=yes 10536 fi 10537 ;; 10538 10539 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10540 no_undefined_flag='$wl-z,text' 10541 archive_cmds_need_lc=no 10542 hardcode_shlibpath_var=no 10543 runpath_var='LD_RUN_PATH' 10544 10545 if test yes = "$GCC"; then 10546 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10547 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10548 else 10549 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10550 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10551 fi 10552 ;; 10553 10554 sysv5* | sco3.2v5* | sco5v6*) 10555 # Note: We CANNOT use -z defs as we might desire, because we do not 10556 # link with -lc, and that would cause any symbols used from libc to 10557 # always be unresolved, which means just about no library would 10558 # ever link correctly. If we're not using GNU ld we use -z text 10559 # though, which does catch some bad symbols but isn't as heavy-handed 10560 # as -z defs. 10561 no_undefined_flag='$wl-z,text' 10562 allow_undefined_flag='$wl-z,nodefs' 10563 archive_cmds_need_lc=no 10564 hardcode_shlibpath_var=no 10565 hardcode_libdir_flag_spec='$wl-R,$libdir' 10566 hardcode_libdir_separator=':' 10567 link_all_deplibs=yes 10568 export_dynamic_flag_spec='$wl-Bexport' 10569 runpath_var='LD_RUN_PATH' 10570 10571 if test yes = "$GCC"; then 10572 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10573 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10574 else 10575 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10576 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10577 fi 10578 ;; 10579 10580 uts4*) 10581 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10582 hardcode_libdir_flag_spec='-L$libdir' 10583 hardcode_shlibpath_var=no 10584 ;; 10585 10586 *) 10587 ld_shlibs=no 10588 ;; 10589 esac 10590 10591 if test sni = "$host_vendor"; then 10592 case $host in 10593 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10594 export_dynamic_flag_spec='$wl-Blargedynsym' 10595 ;; 10596 esac 10597 fi 10598 fi 10599 10600{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10601printf "%s\n" "$ld_shlibs" >&6; } 10602test no = "$ld_shlibs" && can_build_shared=no 10603 10604with_gnu_ld=$with_gnu_ld 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620# 10621# Do we need to explicitly link libc? 10622# 10623case "x$archive_cmds_need_lc" in 10624x|xyes) 10625 # Assume -lc should be added 10626 archive_cmds_need_lc=yes 10627 10628 if test yes,yes = "$GCC,$enable_shared"; then 10629 case $archive_cmds in 10630 *'~'*) 10631 # FIXME: we may have to deal with multi-command sequences. 10632 ;; 10633 '$CC '*) 10634 # Test whether the compiler implicitly links with -lc since on some 10635 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10636 # to ld, don't add -lc before -lgcc. 10637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10638printf %s "checking whether -lc should be explicitly linked in... " >&6; } 10639if test ${lt_cv_archive_cmds_need_lc+y} 10640then : 10641 printf %s "(cached) " >&6 10642else $as_nop 10643 $RM conftest* 10644 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10645 10646 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10647 (eval $ac_compile) 2>&5 10648 ac_status=$? 10649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10650 test $ac_status = 0; } 2>conftest.err; then 10651 soname=conftest 10652 lib=conftest 10653 libobjs=conftest.$ac_objext 10654 deplibs= 10655 wl=$lt_prog_compiler_wl 10656 pic_flag=$lt_prog_compiler_pic 10657 compiler_flags=-v 10658 linker_flags=-v 10659 verstring= 10660 output_objdir=. 10661 libname=conftest 10662 lt_save_allow_undefined_flag=$allow_undefined_flag 10663 allow_undefined_flag= 10664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10665 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10666 ac_status=$? 10667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10668 test $ac_status = 0; } 10669 then 10670 lt_cv_archive_cmds_need_lc=no 10671 else 10672 lt_cv_archive_cmds_need_lc=yes 10673 fi 10674 allow_undefined_flag=$lt_save_allow_undefined_flag 10675 else 10676 cat conftest.err 1>&5 10677 fi 10678 $RM conftest* 10679 10680fi 10681{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10682printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } 10683 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10684 ;; 10685 esac 10686 fi 10687 ;; 10688esac 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10842printf %s "checking dynamic linker characteristics... " >&6; } 10843 10844if test yes = "$GCC"; then 10845 case $host_os in 10846 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10847 *) lt_awk_arg='/^libraries:/' ;; 10848 esac 10849 case $host_os in 10850 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10851 *) lt_sed_strip_eq='s|=/|/|g' ;; 10852 esac 10853 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10854 case $lt_search_path_spec in 10855 *\;*) 10856 # if the path contains ";" then we assume it to be the separator 10857 # otherwise default to the standard path separator (i.e. ":") - it is 10858 # assumed that no part of a normal pathname contains ";" but that should 10859 # okay in the real world where ";" in dirpaths is itself problematic. 10860 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10861 ;; 10862 *) 10863 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10864 ;; 10865 esac 10866 # Ok, now we have the path, separated by spaces, we can step through it 10867 # and add multilib dir if necessary... 10868 lt_tmp_lt_search_path_spec= 10869 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10870 # ...but if some path component already ends with the multilib dir we assume 10871 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10872 case "$lt_multi_os_dir; $lt_search_path_spec " in 10873 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10874 lt_multi_os_dir= 10875 ;; 10876 esac 10877 for lt_sys_path in $lt_search_path_spec; do 10878 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10879 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10880 elif test -n "$lt_multi_os_dir"; then 10881 test -d "$lt_sys_path" && \ 10882 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10883 fi 10884 done 10885 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10886BEGIN {RS = " "; FS = "/|\n";} { 10887 lt_foo = ""; 10888 lt_count = 0; 10889 for (lt_i = NF; lt_i > 0; lt_i--) { 10890 if ($lt_i != "" && $lt_i != ".") { 10891 if ($lt_i == "..") { 10892 lt_count++; 10893 } else { 10894 if (lt_count == 0) { 10895 lt_foo = "/" $lt_i lt_foo; 10896 } else { 10897 lt_count--; 10898 } 10899 } 10900 } 10901 } 10902 if (lt_foo != "") { lt_freq[lt_foo]++; } 10903 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10904}'` 10905 # AWK program above erroneously prepends '/' to C:/dos/paths 10906 # for these hosts. 10907 case $host_os in 10908 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10909 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10910 esac 10911 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10912else 10913 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10914fi 10915library_names_spec= 10916libname_spec='lib$name' 10917soname_spec= 10918shrext_cmds=.so 10919postinstall_cmds= 10920postuninstall_cmds= 10921finish_cmds= 10922finish_eval= 10923shlibpath_var= 10924shlibpath_overrides_runpath=unknown 10925version_type=none 10926dynamic_linker="$host_os ld.so" 10927sys_lib_dlsearch_path_spec="/lib /usr/lib" 10928need_lib_prefix=unknown 10929hardcode_into_libs=no 10930 10931# when you set need_version to no, make sure it does not cause -set_version 10932# flags to be left without arguments 10933need_version=unknown 10934 10935 10936 10937case $host_os in 10938aix3*) 10939 version_type=linux # correct to gnu/linux during the next big refactor 10940 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10941 shlibpath_var=LIBPATH 10942 10943 # AIX 3 has no versioning support, so we append a major version to the name. 10944 soname_spec='$libname$release$shared_ext$major' 10945 ;; 10946 10947aix[4-9]*) 10948 version_type=linux # correct to gnu/linux during the next big refactor 10949 need_lib_prefix=no 10950 need_version=no 10951 hardcode_into_libs=yes 10952 if test ia64 = "$host_cpu"; then 10953 # AIX 5 supports IA64 10954 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10955 shlibpath_var=LD_LIBRARY_PATH 10956 else 10957 # With GCC up to 2.95.x, collect2 would create an import file 10958 # for dependence libraries. The import file would start with 10959 # the line '#! .'. This would cause the generated library to 10960 # depend on '.', always an invalid library. This was fixed in 10961 # development snapshots of GCC prior to 3.0. 10962 case $host_os in 10963 aix4 | aix4.[01] | aix4.[01].*) 10964 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10965 echo ' yes ' 10966 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10967 : 10968 else 10969 can_build_shared=no 10970 fi 10971 ;; 10972 esac 10973 # Using Import Files as archive members, it is possible to support 10974 # filename-based versioning of shared library archives on AIX. While 10975 # this would work for both with and without runtime linking, it will 10976 # prevent static linking of such archives. So we do filename-based 10977 # shared library versioning with .so extension only, which is used 10978 # when both runtime linking and shared linking is enabled. 10979 # Unfortunately, runtime linking may impact performance, so we do 10980 # not want this to be the default eventually. Also, we use the 10981 # versioned .so libs for executables only if there is the -brtl 10982 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10983 # To allow for filename-based versioning support, we need to create 10984 # libNAME.so.V as an archive file, containing: 10985 # *) an Import File, referring to the versioned filename of the 10986 # archive as well as the shared archive member, telling the 10987 # bitwidth (32 or 64) of that shared object, and providing the 10988 # list of exported symbols of that shared object, eventually 10989 # decorated with the 'weak' keyword 10990 # *) the shared object with the F_LOADONLY flag set, to really avoid 10991 # it being seen by the linker. 10992 # At run time we better use the real file rather than another symlink, 10993 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10994 10995 case $with_aix_soname,$aix_use_runtimelinking in 10996 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10997 # soname into executable. Probably we can add versioning support to 10998 # collect2, so additional links can be useful in future. 10999 aix,yes) # traditional libtool 11000 dynamic_linker='AIX unversionable lib.so' 11001 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11002 # instead of lib<name>.a to let people know that these are not 11003 # typical AIX shared libraries. 11004 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11005 ;; 11006 aix,no) # traditional AIX only 11007 dynamic_linker='AIX lib.a(lib.so.V)' 11008 # We preserve .a as extension for shared libraries through AIX4.2 11009 # and later when we are not doing run time linking. 11010 library_names_spec='$libname$release.a $libname.a' 11011 soname_spec='$libname$release$shared_ext$major' 11012 ;; 11013 svr4,*) # full svr4 only 11014 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11015 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11016 # We do not specify a path in Import Files, so LIBPATH fires. 11017 shlibpath_overrides_runpath=yes 11018 ;; 11019 *,yes) # both, prefer svr4 11020 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11021 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11022 # unpreferred sharedlib libNAME.a needs extra handling 11023 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 11024 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 11025 # We do not specify a path in Import Files, so LIBPATH fires. 11026 shlibpath_overrides_runpath=yes 11027 ;; 11028 *,no) # both, prefer aix 11029 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11030 library_names_spec='$libname$release.a $libname.a' 11031 soname_spec='$libname$release$shared_ext$major' 11032 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11033 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 11034 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 11035 ;; 11036 esac 11037 shlibpath_var=LIBPATH 11038 fi 11039 ;; 11040 11041amigaos*) 11042 case $host_cpu in 11043 powerpc) 11044 # Since July 2007 AmigaOS4 officially supports .so libraries. 11045 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11046 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11047 ;; 11048 m68k) 11049 library_names_spec='$libname.ixlibrary $libname.a' 11050 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11051 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 11052 ;; 11053 esac 11054 ;; 11055 11056beos*) 11057 library_names_spec='$libname$shared_ext' 11058 dynamic_linker="$host_os ld.so" 11059 shlibpath_var=LIBRARY_PATH 11060 ;; 11061 11062bsdi[45]*) 11063 version_type=linux # correct to gnu/linux during the next big refactor 11064 need_version=no 11065 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11066 soname_spec='$libname$release$shared_ext$major' 11067 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11068 shlibpath_var=LD_LIBRARY_PATH 11069 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11070 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11071 # the default ld.so.conf also contains /usr/contrib/lib and 11072 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11073 # libtool to hard-code these into programs 11074 ;; 11075 11076cygwin* | mingw* | pw32* | cegcc*) 11077 version_type=windows 11078 shrext_cmds=.dll 11079 need_version=no 11080 need_lib_prefix=no 11081 11082 case $GCC,$cc_basename in 11083 yes,*) 11084 # gcc 11085 library_names_spec='$libname.dll.a' 11086 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11087 postinstall_cmds='base_file=`basename \$file`~ 11088 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11089 dldir=$destdir/`dirname \$dlpath`~ 11090 test -d \$dldir || mkdir -p \$dldir~ 11091 $install_prog $dir/$dlname \$dldir/$dlname~ 11092 chmod a+x \$dldir/$dlname~ 11093 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11094 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11095 fi' 11096 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11097 dlpath=$dir/\$dldll~ 11098 $RM \$dlpath' 11099 shlibpath_overrides_runpath=yes 11100 11101 case $host_os in 11102 cygwin*) 11103 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11104 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11105 11106 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11107 ;; 11108 mingw* | cegcc*) 11109 # MinGW DLLs use traditional 'lib' prefix 11110 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11111 ;; 11112 pw32*) 11113 # pw32 DLLs use 'pw' prefix rather than 'lib' 11114 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11115 ;; 11116 esac 11117 dynamic_linker='Win32 ld.exe' 11118 ;; 11119 11120 *,cl*) 11121 # Native MSVC 11122 libname_spec='$name' 11123 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11124 library_names_spec='$libname.dll.lib' 11125 11126 case $build_os in 11127 mingw*) 11128 sys_lib_search_path_spec= 11129 lt_save_ifs=$IFS 11130 IFS=';' 11131 for lt_path in $LIB 11132 do 11133 IFS=$lt_save_ifs 11134 # Let DOS variable expansion print the short 8.3 style file name. 11135 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11136 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11137 done 11138 IFS=$lt_save_ifs 11139 # Convert to MSYS style. 11140 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11141 ;; 11142 cygwin*) 11143 # Convert to unix form, then to dos form, then back to unix form 11144 # but this time dos style (no spaces!) so that the unix form looks 11145 # like /cygdrive/c/PROGRA~1:/cygdr... 11146 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11147 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11148 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11149 ;; 11150 *) 11151 sys_lib_search_path_spec=$LIB 11152 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11153 # It is most probably a Windows format PATH. 11154 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11155 else 11156 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11157 fi 11158 # FIXME: find the short name or the path components, as spaces are 11159 # common. (e.g. "Program Files" -> "PROGRA~1") 11160 ;; 11161 esac 11162 11163 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11164 postinstall_cmds='base_file=`basename \$file`~ 11165 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11166 dldir=$destdir/`dirname \$dlpath`~ 11167 test -d \$dldir || mkdir -p \$dldir~ 11168 $install_prog $dir/$dlname \$dldir/$dlname' 11169 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11170 dlpath=$dir/\$dldll~ 11171 $RM \$dlpath' 11172 shlibpath_overrides_runpath=yes 11173 dynamic_linker='Win32 link.exe' 11174 ;; 11175 11176 *) 11177 # Assume MSVC wrapper 11178 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11179 dynamic_linker='Win32 ld.exe' 11180 ;; 11181 esac 11182 # FIXME: first we should search . and the directory the executable is in 11183 shlibpath_var=PATH 11184 ;; 11185 11186darwin* | rhapsody*) 11187 dynamic_linker="$host_os dyld" 11188 version_type=darwin 11189 need_lib_prefix=no 11190 need_version=no 11191 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11192 soname_spec='$libname$release$major$shared_ext' 11193 shlibpath_overrides_runpath=yes 11194 shlibpath_var=DYLD_LIBRARY_PATH 11195 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11196 11197 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11198 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11199 ;; 11200 11201dgux*) 11202 version_type=linux # correct to gnu/linux during the next big refactor 11203 need_lib_prefix=no 11204 need_version=no 11205 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11206 soname_spec='$libname$release$shared_ext$major' 11207 shlibpath_var=LD_LIBRARY_PATH 11208 ;; 11209 11210freebsd* | dragonfly*) 11211 # DragonFly does not have aout. When/if they implement a new 11212 # versioning mechanism, adjust this. 11213 if test -x /usr/bin/objformat; then 11214 objformat=`/usr/bin/objformat` 11215 else 11216 case $host_os in 11217 freebsd[23].*) objformat=aout ;; 11218 *) objformat=elf ;; 11219 esac 11220 fi 11221 version_type=freebsd-$objformat 11222 case $version_type in 11223 freebsd-elf*) 11224 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11225 soname_spec='$libname$release$shared_ext$major' 11226 need_version=no 11227 need_lib_prefix=no 11228 ;; 11229 freebsd-*) 11230 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11231 need_version=yes 11232 ;; 11233 esac 11234 shlibpath_var=LD_LIBRARY_PATH 11235 case $host_os in 11236 freebsd2.*) 11237 shlibpath_overrides_runpath=yes 11238 ;; 11239 freebsd3.[01]* | freebsdelf3.[01]*) 11240 shlibpath_overrides_runpath=yes 11241 hardcode_into_libs=yes 11242 ;; 11243 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11244 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11245 shlibpath_overrides_runpath=no 11246 hardcode_into_libs=yes 11247 ;; 11248 *) # from 4.6 on, and DragonFly 11249 shlibpath_overrides_runpath=yes 11250 hardcode_into_libs=yes 11251 ;; 11252 esac 11253 ;; 11254 11255haiku*) 11256 version_type=linux # correct to gnu/linux during the next big refactor 11257 need_lib_prefix=no 11258 need_version=no 11259 dynamic_linker="$host_os runtime_loader" 11260 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11261 soname_spec='$libname$release$shared_ext$major' 11262 shlibpath_var=LIBRARY_PATH 11263 shlibpath_overrides_runpath=no 11264 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11265 hardcode_into_libs=yes 11266 ;; 11267 11268hpux9* | hpux10* | hpux11*) 11269 # Give a soname corresponding to the major version so that dld.sl refuses to 11270 # link against other versions. 11271 version_type=sunos 11272 need_lib_prefix=no 11273 need_version=no 11274 case $host_cpu in 11275 ia64*) 11276 shrext_cmds='.so' 11277 hardcode_into_libs=yes 11278 dynamic_linker="$host_os dld.so" 11279 shlibpath_var=LD_LIBRARY_PATH 11280 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11281 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11282 soname_spec='$libname$release$shared_ext$major' 11283 if test 32 = "$HPUX_IA64_MODE"; then 11284 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11285 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11286 else 11287 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11288 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11289 fi 11290 ;; 11291 hppa*64*) 11292 shrext_cmds='.sl' 11293 hardcode_into_libs=yes 11294 dynamic_linker="$host_os dld.sl" 11295 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11296 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11297 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11298 soname_spec='$libname$release$shared_ext$major' 11299 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11300 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11301 ;; 11302 *) 11303 shrext_cmds='.sl' 11304 dynamic_linker="$host_os dld.sl" 11305 shlibpath_var=SHLIB_PATH 11306 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11307 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11308 soname_spec='$libname$release$shared_ext$major' 11309 ;; 11310 esac 11311 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11312 postinstall_cmds='chmod 555 $lib' 11313 # or fails outright, so override atomically: 11314 install_override_mode=555 11315 ;; 11316 11317interix[3-9]*) 11318 version_type=linux # correct to gnu/linux during the next big refactor 11319 need_lib_prefix=no 11320 need_version=no 11321 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11322 soname_spec='$libname$release$shared_ext$major' 11323 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11324 shlibpath_var=LD_LIBRARY_PATH 11325 shlibpath_overrides_runpath=no 11326 hardcode_into_libs=yes 11327 ;; 11328 11329irix5* | irix6* | nonstopux*) 11330 case $host_os in 11331 nonstopux*) version_type=nonstopux ;; 11332 *) 11333 if test yes = "$lt_cv_prog_gnu_ld"; then 11334 version_type=linux # correct to gnu/linux during the next big refactor 11335 else 11336 version_type=irix 11337 fi ;; 11338 esac 11339 need_lib_prefix=no 11340 need_version=no 11341 soname_spec='$libname$release$shared_ext$major' 11342 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11343 case $host_os in 11344 irix5* | nonstopux*) 11345 libsuff= shlibsuff= 11346 ;; 11347 *) 11348 case $LD in # libtool.m4 will add one of these switches to LD 11349 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11350 libsuff= shlibsuff= libmagic=32-bit;; 11351 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11352 libsuff=32 shlibsuff=N32 libmagic=N32;; 11353 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11354 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11355 *) libsuff= shlibsuff= libmagic=never-match;; 11356 esac 11357 ;; 11358 esac 11359 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11360 shlibpath_overrides_runpath=no 11361 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11362 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11363 hardcode_into_libs=yes 11364 ;; 11365 11366# No shared lib support for Linux oldld, aout, or coff. 11367linux*oldld* | linux*aout* | linux*coff*) 11368 dynamic_linker=no 11369 ;; 11370 11371linux*android*) 11372 version_type=none # Android doesn't support versioned libraries. 11373 need_lib_prefix=no 11374 need_version=no 11375 library_names_spec='$libname$release$shared_ext' 11376 soname_spec='$libname$release$shared_ext' 11377 finish_cmds= 11378 shlibpath_var=LD_LIBRARY_PATH 11379 shlibpath_overrides_runpath=yes 11380 11381 # This implies no fast_install, which is unacceptable. 11382 # Some rework will be needed to allow for fast_install 11383 # before this can be enabled. 11384 hardcode_into_libs=yes 11385 11386 dynamic_linker='Android linker' 11387 # Don't embed -rpath directories since the linker doesn't support them. 11388 hardcode_libdir_flag_spec='-L$libdir' 11389 ;; 11390 11391# This must be glibc/ELF. 11392linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11393 version_type=linux # correct to gnu/linux during the next big refactor 11394 need_lib_prefix=no 11395 need_version=no 11396 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11397 soname_spec='$libname$release$shared_ext$major' 11398 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11399 shlibpath_var=LD_LIBRARY_PATH 11400 shlibpath_overrides_runpath=no 11401 11402 # Some binutils ld are patched to set DT_RUNPATH 11403 if test ${lt_cv_shlibpath_overrides_runpath+y} 11404then : 11405 printf %s "(cached) " >&6 11406else $as_nop 11407 lt_cv_shlibpath_overrides_runpath=no 11408 save_LDFLAGS=$LDFLAGS 11409 save_libdir=$libdir 11410 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11411 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11413/* end confdefs.h. */ 11414 11415int 11416main (void) 11417{ 11418 11419 ; 11420 return 0; 11421} 11422_ACEOF 11423if ac_fn_c_try_link "$LINENO" 11424then : 11425 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null 11426then : 11427 lt_cv_shlibpath_overrides_runpath=yes 11428fi 11429fi 11430rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11431 conftest$ac_exeext conftest.$ac_ext 11432 LDFLAGS=$save_LDFLAGS 11433 libdir=$save_libdir 11434 11435fi 11436 11437 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11438 11439 # This implies no fast_install, which is unacceptable. 11440 # Some rework will be needed to allow for fast_install 11441 # before this can be enabled. 11442 hardcode_into_libs=yes 11443 11444 # Ideally, we could use ldconfig to report *all* directores which are 11445 # searched for libraries, however this is still not possible. Aside from not 11446 # being certain /sbin/ldconfig is available, command 11447 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11448 # even though it is searched at run-time. Try to do the best guess by 11449 # appending ld.so.conf contents (and includes) to the search path. 11450 if test -f /etc/ld.so.conf; then 11451 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 11452 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11453 fi 11454 11455 # We used to test for /lib/ld.so.1 and disable shared libraries on 11456 # powerpc, because MkLinux only supported shared libraries with the 11457 # GNU dynamic linker. Since this was broken with cross compilers, 11458 # most powerpc-linux boxes support dynamic linking these days and 11459 # people can always --disable-shared, the test was removed, and we 11460 # assume the GNU/Linux dynamic linker is in use. 11461 dynamic_linker='GNU/Linux ld.so' 11462 ;; 11463 11464netbsdelf*-gnu) 11465 version_type=linux 11466 need_lib_prefix=no 11467 need_version=no 11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11469 soname_spec='${libname}${release}${shared_ext}$major' 11470 shlibpath_var=LD_LIBRARY_PATH 11471 shlibpath_overrides_runpath=no 11472 hardcode_into_libs=yes 11473 dynamic_linker='NetBSD ld.elf_so' 11474 ;; 11475 11476netbsd*) 11477 version_type=sunos 11478 need_lib_prefix=no 11479 need_version=no 11480 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11481 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11482 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11483 dynamic_linker='NetBSD (a.out) ld.so' 11484 else 11485 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11486 soname_spec='$libname$release$shared_ext$major' 11487 dynamic_linker='NetBSD ld.elf_so' 11488 fi 11489 shlibpath_var=LD_LIBRARY_PATH 11490 shlibpath_overrides_runpath=yes 11491 hardcode_into_libs=yes 11492 ;; 11493 11494newsos6) 11495 version_type=linux # correct to gnu/linux during the next big refactor 11496 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11497 shlibpath_var=LD_LIBRARY_PATH 11498 shlibpath_overrides_runpath=yes 11499 ;; 11500 11501*nto* | *qnx*) 11502 version_type=qnx 11503 need_lib_prefix=no 11504 need_version=no 11505 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11506 soname_spec='$libname$release$shared_ext$major' 11507 shlibpath_var=LD_LIBRARY_PATH 11508 shlibpath_overrides_runpath=no 11509 hardcode_into_libs=yes 11510 dynamic_linker='ldqnx.so' 11511 ;; 11512 11513openbsd* | bitrig*) 11514 version_type=sunos 11515 sys_lib_dlsearch_path_spec=/usr/lib 11516 need_lib_prefix=no 11517 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11518 need_version=no 11519 else 11520 need_version=yes 11521 fi 11522 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11523 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11524 shlibpath_var=LD_LIBRARY_PATH 11525 shlibpath_overrides_runpath=yes 11526 ;; 11527 11528os2*) 11529 libname_spec='$name' 11530 version_type=windows 11531 shrext_cmds=.dll 11532 need_version=no 11533 need_lib_prefix=no 11534 # OS/2 can only load a DLL with a base name of 8 characters or less. 11535 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11536 v=$($ECHO $release$versuffix | tr -d .-); 11537 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11538 $ECHO $n$v`$shared_ext' 11539 library_names_spec='${libname}_dll.$libext' 11540 dynamic_linker='OS/2 ld.exe' 11541 shlibpath_var=BEGINLIBPATH 11542 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11543 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11544 postinstall_cmds='base_file=`basename \$file`~ 11545 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11546 dldir=$destdir/`dirname \$dlpath`~ 11547 test -d \$dldir || mkdir -p \$dldir~ 11548 $install_prog $dir/$dlname \$dldir/$dlname~ 11549 chmod a+x \$dldir/$dlname~ 11550 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11551 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11552 fi' 11553 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11554 dlpath=$dir/\$dldll~ 11555 $RM \$dlpath' 11556 ;; 11557 11558osf3* | osf4* | osf5*) 11559 version_type=osf 11560 need_lib_prefix=no 11561 need_version=no 11562 soname_spec='$libname$release$shared_ext$major' 11563 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11564 shlibpath_var=LD_LIBRARY_PATH 11565 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11566 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11567 ;; 11568 11569rdos*) 11570 dynamic_linker=no 11571 ;; 11572 11573solaris*) 11574 version_type=linux # correct to gnu/linux during the next big refactor 11575 need_lib_prefix=no 11576 need_version=no 11577 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11578 soname_spec='$libname$release$shared_ext$major' 11579 shlibpath_var=LD_LIBRARY_PATH 11580 shlibpath_overrides_runpath=yes 11581 hardcode_into_libs=yes 11582 # ldd complains unless libraries are executable 11583 postinstall_cmds='chmod +x $lib' 11584 ;; 11585 11586sunos4*) 11587 version_type=sunos 11588 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11589 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11590 shlibpath_var=LD_LIBRARY_PATH 11591 shlibpath_overrides_runpath=yes 11592 if test yes = "$with_gnu_ld"; then 11593 need_lib_prefix=no 11594 fi 11595 need_version=yes 11596 ;; 11597 11598sysv4 | sysv4.3*) 11599 version_type=linux # correct to gnu/linux during the next big refactor 11600 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11601 soname_spec='$libname$release$shared_ext$major' 11602 shlibpath_var=LD_LIBRARY_PATH 11603 case $host_vendor in 11604 sni) 11605 shlibpath_overrides_runpath=no 11606 need_lib_prefix=no 11607 runpath_var=LD_RUN_PATH 11608 ;; 11609 siemens) 11610 need_lib_prefix=no 11611 ;; 11612 motorola) 11613 need_lib_prefix=no 11614 need_version=no 11615 shlibpath_overrides_runpath=no 11616 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11617 ;; 11618 esac 11619 ;; 11620 11621sysv4*MP*) 11622 if test -d /usr/nec; then 11623 version_type=linux # correct to gnu/linux during the next big refactor 11624 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11625 soname_spec='$libname$shared_ext.$major' 11626 shlibpath_var=LD_LIBRARY_PATH 11627 fi 11628 ;; 11629 11630sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11631 version_type=sco 11632 need_lib_prefix=no 11633 need_version=no 11634 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11635 soname_spec='$libname$release$shared_ext$major' 11636 shlibpath_var=LD_LIBRARY_PATH 11637 shlibpath_overrides_runpath=yes 11638 hardcode_into_libs=yes 11639 if test yes = "$with_gnu_ld"; then 11640 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11641 else 11642 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11643 case $host_os in 11644 sco3.2v5*) 11645 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11646 ;; 11647 esac 11648 fi 11649 sys_lib_dlsearch_path_spec='/usr/lib' 11650 ;; 11651 11652tpf*) 11653 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11654 version_type=linux # correct to gnu/linux during the next big refactor 11655 need_lib_prefix=no 11656 need_version=no 11657 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11658 shlibpath_var=LD_LIBRARY_PATH 11659 shlibpath_overrides_runpath=no 11660 hardcode_into_libs=yes 11661 ;; 11662 11663uts4*) 11664 version_type=linux # correct to gnu/linux during the next big refactor 11665 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11666 soname_spec='$libname$release$shared_ext$major' 11667 shlibpath_var=LD_LIBRARY_PATH 11668 ;; 11669 11670*) 11671 dynamic_linker=no 11672 ;; 11673esac 11674{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11675printf "%s\n" "$dynamic_linker" >&6; } 11676test no = "$dynamic_linker" && can_build_shared=no 11677 11678variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11679if test yes = "$GCC"; then 11680 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11681fi 11682 11683if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11684 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11685fi 11686 11687if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11688 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11689fi 11690 11691# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11692configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11693 11694# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11695func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11696 11697# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11698configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11797printf %s "checking how to hardcode library paths into programs... " >&6; } 11798hardcode_action= 11799if test -n "$hardcode_libdir_flag_spec" || 11800 test -n "$runpath_var" || 11801 test yes = "$hardcode_automatic"; then 11802 11803 # We can hardcode non-existent directories. 11804 if test no != "$hardcode_direct" && 11805 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11806 # have to relink, otherwise we might link with an installed library 11807 # when we should be linking with a yet-to-be-installed one 11808 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11809 test no != "$hardcode_minus_L"; then 11810 # Linking always hardcodes the temporary library directory. 11811 hardcode_action=relink 11812 else 11813 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11814 hardcode_action=immediate 11815 fi 11816else 11817 # We cannot hardcode anything, or else we can only hardcode existing 11818 # directories. 11819 hardcode_action=unsupported 11820fi 11821{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11822printf "%s\n" "$hardcode_action" >&6; } 11823 11824if test relink = "$hardcode_action" || 11825 test yes = "$inherit_rpath"; then 11826 # Fast installation is not supported 11827 enable_fast_install=no 11828elif test yes = "$shlibpath_overrides_runpath" || 11829 test no = "$enable_shared"; then 11830 # Fast installation is not necessary 11831 enable_fast_install=needless 11832fi 11833 11834 11835 11836 11837 11838 11839 if test yes != "$enable_dlopen"; then 11840 enable_dlopen=unknown 11841 enable_dlopen_self=unknown 11842 enable_dlopen_self_static=unknown 11843else 11844 lt_cv_dlopen=no 11845 lt_cv_dlopen_libs= 11846 11847 case $host_os in 11848 beos*) 11849 lt_cv_dlopen=load_add_on 11850 lt_cv_dlopen_libs= 11851 lt_cv_dlopen_self=yes 11852 ;; 11853 11854 mingw* | pw32* | cegcc*) 11855 lt_cv_dlopen=LoadLibrary 11856 lt_cv_dlopen_libs= 11857 ;; 11858 11859 cygwin*) 11860 lt_cv_dlopen=dlopen 11861 lt_cv_dlopen_libs= 11862 ;; 11863 11864 darwin*) 11865 # if libdl is installed we need to link against it 11866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11867printf %s "checking for dlopen in -ldl... " >&6; } 11868if test ${ac_cv_lib_dl_dlopen+y} 11869then : 11870 printf %s "(cached) " >&6 11871else $as_nop 11872 ac_check_lib_save_LIBS=$LIBS 11873LIBS="-ldl $LIBS" 11874cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11875/* end confdefs.h. */ 11876 11877/* Override any GCC internal prototype to avoid an error. 11878 Use char because int might match the return type of a GCC 11879 builtin and then its argument prototype would still apply. */ 11880char dlopen (); 11881int 11882main (void) 11883{ 11884return dlopen (); 11885 ; 11886 return 0; 11887} 11888_ACEOF 11889if ac_fn_c_try_link "$LINENO" 11890then : 11891 ac_cv_lib_dl_dlopen=yes 11892else $as_nop 11893 ac_cv_lib_dl_dlopen=no 11894fi 11895rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11896 conftest$ac_exeext conftest.$ac_ext 11897LIBS=$ac_check_lib_save_LIBS 11898fi 11899{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11900printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 11901if test "x$ac_cv_lib_dl_dlopen" = xyes 11902then : 11903 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11904else $as_nop 11905 11906 lt_cv_dlopen=dyld 11907 lt_cv_dlopen_libs= 11908 lt_cv_dlopen_self=yes 11909 11910fi 11911 11912 ;; 11913 11914 tpf*) 11915 # Don't try to run any link tests for TPF. We know it's impossible 11916 # because TPF is a cross-compiler, and we know how we open DSOs. 11917 lt_cv_dlopen=dlopen 11918 lt_cv_dlopen_libs= 11919 lt_cv_dlopen_self=no 11920 ;; 11921 11922 *) 11923 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11924if test "x$ac_cv_func_shl_load" = xyes 11925then : 11926 lt_cv_dlopen=shl_load 11927else $as_nop 11928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11929printf %s "checking for shl_load in -ldld... " >&6; } 11930if test ${ac_cv_lib_dld_shl_load+y} 11931then : 11932 printf %s "(cached) " >&6 11933else $as_nop 11934 ac_check_lib_save_LIBS=$LIBS 11935LIBS="-ldld $LIBS" 11936cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11937/* end confdefs.h. */ 11938 11939/* Override any GCC internal prototype to avoid an error. 11940 Use char because int might match the return type of a GCC 11941 builtin and then its argument prototype would still apply. */ 11942char shl_load (); 11943int 11944main (void) 11945{ 11946return shl_load (); 11947 ; 11948 return 0; 11949} 11950_ACEOF 11951if ac_fn_c_try_link "$LINENO" 11952then : 11953 ac_cv_lib_dld_shl_load=yes 11954else $as_nop 11955 ac_cv_lib_dld_shl_load=no 11956fi 11957rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11958 conftest$ac_exeext conftest.$ac_ext 11959LIBS=$ac_check_lib_save_LIBS 11960fi 11961{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11962printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } 11963if test "x$ac_cv_lib_dld_shl_load" = xyes 11964then : 11965 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11966else $as_nop 11967 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11968if test "x$ac_cv_func_dlopen" = xyes 11969then : 11970 lt_cv_dlopen=dlopen 11971else $as_nop 11972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11973printf %s "checking for dlopen in -ldl... " >&6; } 11974if test ${ac_cv_lib_dl_dlopen+y} 11975then : 11976 printf %s "(cached) " >&6 11977else $as_nop 11978 ac_check_lib_save_LIBS=$LIBS 11979LIBS="-ldl $LIBS" 11980cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11981/* end confdefs.h. */ 11982 11983/* Override any GCC internal prototype to avoid an error. 11984 Use char because int might match the return type of a GCC 11985 builtin and then its argument prototype would still apply. */ 11986char dlopen (); 11987int 11988main (void) 11989{ 11990return dlopen (); 11991 ; 11992 return 0; 11993} 11994_ACEOF 11995if ac_fn_c_try_link "$LINENO" 11996then : 11997 ac_cv_lib_dl_dlopen=yes 11998else $as_nop 11999 ac_cv_lib_dl_dlopen=no 12000fi 12001rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12002 conftest$ac_exeext conftest.$ac_ext 12003LIBS=$ac_check_lib_save_LIBS 12004fi 12005{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12006printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 12007if test "x$ac_cv_lib_dl_dlopen" = xyes 12008then : 12009 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12010else $as_nop 12011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12012printf %s "checking for dlopen in -lsvld... " >&6; } 12013if test ${ac_cv_lib_svld_dlopen+y} 12014then : 12015 printf %s "(cached) " >&6 12016else $as_nop 12017 ac_check_lib_save_LIBS=$LIBS 12018LIBS="-lsvld $LIBS" 12019cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12020/* end confdefs.h. */ 12021 12022/* Override any GCC internal prototype to avoid an error. 12023 Use char because int might match the return type of a GCC 12024 builtin and then its argument prototype would still apply. */ 12025char dlopen (); 12026int 12027main (void) 12028{ 12029return dlopen (); 12030 ; 12031 return 0; 12032} 12033_ACEOF 12034if ac_fn_c_try_link "$LINENO" 12035then : 12036 ac_cv_lib_svld_dlopen=yes 12037else $as_nop 12038 ac_cv_lib_svld_dlopen=no 12039fi 12040rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12041 conftest$ac_exeext conftest.$ac_ext 12042LIBS=$ac_check_lib_save_LIBS 12043fi 12044{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12045printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } 12046if test "x$ac_cv_lib_svld_dlopen" = xyes 12047then : 12048 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12049else $as_nop 12050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12051printf %s "checking for dld_link in -ldld... " >&6; } 12052if test ${ac_cv_lib_dld_dld_link+y} 12053then : 12054 printf %s "(cached) " >&6 12055else $as_nop 12056 ac_check_lib_save_LIBS=$LIBS 12057LIBS="-ldld $LIBS" 12058cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12059/* end confdefs.h. */ 12060 12061/* Override any GCC internal prototype to avoid an error. 12062 Use char because int might match the return type of a GCC 12063 builtin and then its argument prototype would still apply. */ 12064char dld_link (); 12065int 12066main (void) 12067{ 12068return dld_link (); 12069 ; 12070 return 0; 12071} 12072_ACEOF 12073if ac_fn_c_try_link "$LINENO" 12074then : 12075 ac_cv_lib_dld_dld_link=yes 12076else $as_nop 12077 ac_cv_lib_dld_dld_link=no 12078fi 12079rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12080 conftest$ac_exeext conftest.$ac_ext 12081LIBS=$ac_check_lib_save_LIBS 12082fi 12083{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12084printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } 12085if test "x$ac_cv_lib_dld_dld_link" = xyes 12086then : 12087 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12088fi 12089 12090 12091fi 12092 12093 12094fi 12095 12096 12097fi 12098 12099 12100fi 12101 12102 12103fi 12104 12105 ;; 12106 esac 12107 12108 if test no = "$lt_cv_dlopen"; then 12109 enable_dlopen=no 12110 else 12111 enable_dlopen=yes 12112 fi 12113 12114 case $lt_cv_dlopen in 12115 dlopen) 12116 save_CPPFLAGS=$CPPFLAGS 12117 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12118 12119 save_LDFLAGS=$LDFLAGS 12120 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12121 12122 save_LIBS=$LIBS 12123 LIBS="$lt_cv_dlopen_libs $LIBS" 12124 12125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12126printf %s "checking whether a program can dlopen itself... " >&6; } 12127if test ${lt_cv_dlopen_self+y} 12128then : 12129 printf %s "(cached) " >&6 12130else $as_nop 12131 if test yes = "$cross_compiling"; then : 12132 lt_cv_dlopen_self=cross 12133else 12134 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12135 lt_status=$lt_dlunknown 12136 cat > conftest.$ac_ext <<_LT_EOF 12137#line $LINENO "configure" 12138#include "confdefs.h" 12139 12140#if HAVE_DLFCN_H 12141#include <dlfcn.h> 12142#endif 12143 12144#include <stdio.h> 12145 12146#ifdef RTLD_GLOBAL 12147# define LT_DLGLOBAL RTLD_GLOBAL 12148#else 12149# ifdef DL_GLOBAL 12150# define LT_DLGLOBAL DL_GLOBAL 12151# else 12152# define LT_DLGLOBAL 0 12153# endif 12154#endif 12155 12156/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12157 find out it does not work in some platform. */ 12158#ifndef LT_DLLAZY_OR_NOW 12159# ifdef RTLD_LAZY 12160# define LT_DLLAZY_OR_NOW RTLD_LAZY 12161# else 12162# ifdef DL_LAZY 12163# define LT_DLLAZY_OR_NOW DL_LAZY 12164# else 12165# ifdef RTLD_NOW 12166# define LT_DLLAZY_OR_NOW RTLD_NOW 12167# else 12168# ifdef DL_NOW 12169# define LT_DLLAZY_OR_NOW DL_NOW 12170# else 12171# define LT_DLLAZY_OR_NOW 0 12172# endif 12173# endif 12174# endif 12175# endif 12176#endif 12177 12178/* When -fvisibility=hidden is used, assume the code has been annotated 12179 correspondingly for the symbols needed. */ 12180#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12181int fnord () __attribute__((visibility("default"))); 12182#endif 12183 12184int fnord () { return 42; } 12185int main () 12186{ 12187 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12188 int status = $lt_dlunknown; 12189 12190 if (self) 12191 { 12192 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12193 else 12194 { 12195 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12196 else puts (dlerror ()); 12197 } 12198 /* dlclose (self); */ 12199 } 12200 else 12201 puts (dlerror ()); 12202 12203 return status; 12204} 12205_LT_EOF 12206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12207 (eval $ac_link) 2>&5 12208 ac_status=$? 12209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12210 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12211 (./conftest; exit; ) >&5 2>/dev/null 12212 lt_status=$? 12213 case x$lt_status in 12214 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12215 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12216 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12217 esac 12218 else : 12219 # compilation failed 12220 lt_cv_dlopen_self=no 12221 fi 12222fi 12223rm -fr conftest* 12224 12225 12226fi 12227{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12228printf "%s\n" "$lt_cv_dlopen_self" >&6; } 12229 12230 if test yes = "$lt_cv_dlopen_self"; then 12231 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12233printf %s "checking whether a statically linked program can dlopen itself... " >&6; } 12234if test ${lt_cv_dlopen_self_static+y} 12235then : 12236 printf %s "(cached) " >&6 12237else $as_nop 12238 if test yes = "$cross_compiling"; then : 12239 lt_cv_dlopen_self_static=cross 12240else 12241 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12242 lt_status=$lt_dlunknown 12243 cat > conftest.$ac_ext <<_LT_EOF 12244#line $LINENO "configure" 12245#include "confdefs.h" 12246 12247#if HAVE_DLFCN_H 12248#include <dlfcn.h> 12249#endif 12250 12251#include <stdio.h> 12252 12253#ifdef RTLD_GLOBAL 12254# define LT_DLGLOBAL RTLD_GLOBAL 12255#else 12256# ifdef DL_GLOBAL 12257# define LT_DLGLOBAL DL_GLOBAL 12258# else 12259# define LT_DLGLOBAL 0 12260# endif 12261#endif 12262 12263/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12264 find out it does not work in some platform. */ 12265#ifndef LT_DLLAZY_OR_NOW 12266# ifdef RTLD_LAZY 12267# define LT_DLLAZY_OR_NOW RTLD_LAZY 12268# else 12269# ifdef DL_LAZY 12270# define LT_DLLAZY_OR_NOW DL_LAZY 12271# else 12272# ifdef RTLD_NOW 12273# define LT_DLLAZY_OR_NOW RTLD_NOW 12274# else 12275# ifdef DL_NOW 12276# define LT_DLLAZY_OR_NOW DL_NOW 12277# else 12278# define LT_DLLAZY_OR_NOW 0 12279# endif 12280# endif 12281# endif 12282# endif 12283#endif 12284 12285/* When -fvisibility=hidden is used, assume the code has been annotated 12286 correspondingly for the symbols needed. */ 12287#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12288int fnord () __attribute__((visibility("default"))); 12289#endif 12290 12291int fnord () { return 42; } 12292int main () 12293{ 12294 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12295 int status = $lt_dlunknown; 12296 12297 if (self) 12298 { 12299 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12300 else 12301 { 12302 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12303 else puts (dlerror ()); 12304 } 12305 /* dlclose (self); */ 12306 } 12307 else 12308 puts (dlerror ()); 12309 12310 return status; 12311} 12312_LT_EOF 12313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12314 (eval $ac_link) 2>&5 12315 ac_status=$? 12316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12317 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12318 (./conftest; exit; ) >&5 2>/dev/null 12319 lt_status=$? 12320 case x$lt_status in 12321 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12322 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12323 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12324 esac 12325 else : 12326 # compilation failed 12327 lt_cv_dlopen_self_static=no 12328 fi 12329fi 12330rm -fr conftest* 12331 12332 12333fi 12334{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12335printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } 12336 fi 12337 12338 CPPFLAGS=$save_CPPFLAGS 12339 LDFLAGS=$save_LDFLAGS 12340 LIBS=$save_LIBS 12341 ;; 12342 esac 12343 12344 case $lt_cv_dlopen_self in 12345 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12346 *) enable_dlopen_self=unknown ;; 12347 esac 12348 12349 case $lt_cv_dlopen_self_static in 12350 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12351 *) enable_dlopen_self_static=unknown ;; 12352 esac 12353fi 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371striplib= 12372old_striplib= 12373{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12374printf %s "checking whether stripping libraries is possible... " >&6; } 12375if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12376 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12377 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12379printf "%s\n" "yes" >&6; } 12380else 12381# FIXME - insert some real tests, host_os isn't really good enough 12382 case $host_os in 12383 darwin*) 12384 if test -n "$STRIP"; then 12385 striplib="$STRIP -x" 12386 old_striplib="$STRIP -S" 12387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12388printf "%s\n" "yes" >&6; } 12389 else 12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12391printf "%s\n" "no" >&6; } 12392 fi 12393 ;; 12394 *) 12395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12396printf "%s\n" "no" >&6; } 12397 ;; 12398 esac 12399fi 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 # Report what library types will actually be built 12413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12414printf %s "checking if libtool supports shared libraries... " >&6; } 12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12416printf "%s\n" "$can_build_shared" >&6; } 12417 12418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12419printf %s "checking whether to build shared libraries... " >&6; } 12420 test no = "$can_build_shared" && enable_shared=no 12421 12422 # On AIX, shared libraries and static libraries use the same namespace, and 12423 # are all built from PIC. 12424 case $host_os in 12425 aix3*) 12426 test yes = "$enable_shared" && enable_static=no 12427 if test -n "$RANLIB"; then 12428 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12429 postinstall_cmds='$RANLIB $lib' 12430 fi 12431 ;; 12432 12433 aix[4-9]*) 12434 if test ia64 != "$host_cpu"; then 12435 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12436 yes,aix,yes) ;; # shared object as lib.so file only 12437 yes,svr4,*) ;; # shared object as lib.so archive member only 12438 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12439 esac 12440 fi 12441 ;; 12442 esac 12443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12444printf "%s\n" "$enable_shared" >&6; } 12445 12446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12447printf %s "checking whether to build static libraries... " >&6; } 12448 # Make sure either enable_shared or enable_static is yes. 12449 test yes = "$enable_shared" || enable_static=yes 12450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12451printf "%s\n" "$enable_static" >&6; } 12452 12453 12454 12455 12456fi 12457ac_ext=c 12458ac_cpp='$CPP $CPPFLAGS' 12459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12461ac_compiler_gnu=$ac_cv_c_compiler_gnu 12462 12463CC=$lt_save_CC 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 ac_config_commands="$ac_config_commands libtool" 12480 12481 12482 12483 12484# Only expand once: 12485 12486 12487ac_ext=c 12488ac_cpp='$CPP $CPPFLAGS' 12489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12491ac_compiler_gnu=$ac_cv_c_compiler_gnu 12492if test -n "$ac_tool_prefix"; then 12493 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 12494set dummy ${ac_tool_prefix}gcc; ac_word=$2 12495{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12496printf %s "checking for $ac_word... " >&6; } 12497if test ${ac_cv_prog_CC+y} 12498then : 12499 printf %s "(cached) " >&6 12500else $as_nop 12501 if test -n "$CC"; then 12502 ac_cv_prog_CC="$CC" # Let the user override the test. 12503else 12504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12505for as_dir in $PATH 12506do 12507 IFS=$as_save_IFS 12508 case $as_dir in #((( 12509 '') as_dir=./ ;; 12510 */) ;; 12511 *) as_dir=$as_dir/ ;; 12512 esac 12513 for ac_exec_ext in '' $ac_executable_extensions; do 12514 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12515 ac_cv_prog_CC="${ac_tool_prefix}gcc" 12516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 12517 break 2 12518 fi 12519done 12520 done 12521IFS=$as_save_IFS 12522 12523fi 12524fi 12525CC=$ac_cv_prog_CC 12526if test -n "$CC"; then 12527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12528printf "%s\n" "$CC" >&6; } 12529else 12530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12531printf "%s\n" "no" >&6; } 12532fi 12533 12534 12535fi 12536if test -z "$ac_cv_prog_CC"; then 12537 ac_ct_CC=$CC 12538 # Extract the first word of "gcc", so it can be a program name with args. 12539set dummy gcc; ac_word=$2 12540{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12541printf %s "checking for $ac_word... " >&6; } 12542if test ${ac_cv_prog_ac_ct_CC+y} 12543then : 12544 printf %s "(cached) " >&6 12545else $as_nop 12546 if test -n "$ac_ct_CC"; then 12547 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12548else 12549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12550for as_dir in $PATH 12551do 12552 IFS=$as_save_IFS 12553 case $as_dir in #((( 12554 '') as_dir=./ ;; 12555 */) ;; 12556 *) as_dir=$as_dir/ ;; 12557 esac 12558 for ac_exec_ext in '' $ac_executable_extensions; do 12559 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12560 ac_cv_prog_ac_ct_CC="gcc" 12561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 12562 break 2 12563 fi 12564done 12565 done 12566IFS=$as_save_IFS 12567 12568fi 12569fi 12570ac_ct_CC=$ac_cv_prog_ac_ct_CC 12571if test -n "$ac_ct_CC"; then 12572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12573printf "%s\n" "$ac_ct_CC" >&6; } 12574else 12575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12576printf "%s\n" "no" >&6; } 12577fi 12578 12579 if test "x$ac_ct_CC" = x; then 12580 CC="" 12581 else 12582 case $cross_compiling:$ac_tool_warned in 12583yes:) 12584{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12585printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12586ac_tool_warned=yes ;; 12587esac 12588 CC=$ac_ct_CC 12589 fi 12590else 12591 CC="$ac_cv_prog_CC" 12592fi 12593 12594if test -z "$CC"; then 12595 if test -n "$ac_tool_prefix"; then 12596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 12597set dummy ${ac_tool_prefix}cc; ac_word=$2 12598{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12599printf %s "checking for $ac_word... " >&6; } 12600if test ${ac_cv_prog_CC+y} 12601then : 12602 printf %s "(cached) " >&6 12603else $as_nop 12604 if test -n "$CC"; then 12605 ac_cv_prog_CC="$CC" # Let the user override the test. 12606else 12607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12608for as_dir in $PATH 12609do 12610 IFS=$as_save_IFS 12611 case $as_dir in #((( 12612 '') as_dir=./ ;; 12613 */) ;; 12614 *) as_dir=$as_dir/ ;; 12615 esac 12616 for ac_exec_ext in '' $ac_executable_extensions; do 12617 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12618 ac_cv_prog_CC="${ac_tool_prefix}cc" 12619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 12620 break 2 12621 fi 12622done 12623 done 12624IFS=$as_save_IFS 12625 12626fi 12627fi 12628CC=$ac_cv_prog_CC 12629if test -n "$CC"; then 12630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12631printf "%s\n" "$CC" >&6; } 12632else 12633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12634printf "%s\n" "no" >&6; } 12635fi 12636 12637 12638 fi 12639fi 12640if test -z "$CC"; then 12641 # Extract the first word of "cc", so it can be a program name with args. 12642set dummy cc; ac_word=$2 12643{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12644printf %s "checking for $ac_word... " >&6; } 12645if test ${ac_cv_prog_CC+y} 12646then : 12647 printf %s "(cached) " >&6 12648else $as_nop 12649 if test -n "$CC"; then 12650 ac_cv_prog_CC="$CC" # Let the user override the test. 12651else 12652 ac_prog_rejected=no 12653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12654for as_dir in $PATH 12655do 12656 IFS=$as_save_IFS 12657 case $as_dir in #((( 12658 '') as_dir=./ ;; 12659 */) ;; 12660 *) as_dir=$as_dir/ ;; 12661 esac 12662 for ac_exec_ext in '' $ac_executable_extensions; do 12663 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12664 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 12665 ac_prog_rejected=yes 12666 continue 12667 fi 12668 ac_cv_prog_CC="cc" 12669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 12670 break 2 12671 fi 12672done 12673 done 12674IFS=$as_save_IFS 12675 12676if test $ac_prog_rejected = yes; then 12677 # We found a bogon in the path, so make sure we never use it. 12678 set dummy $ac_cv_prog_CC 12679 shift 12680 if test $# != 0; then 12681 # We chose a different compiler from the bogus one. 12682 # However, it has the same basename, so the bogon will be chosen 12683 # first if we set CC to just the basename; use the full file name. 12684 shift 12685 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 12686 fi 12687fi 12688fi 12689fi 12690CC=$ac_cv_prog_CC 12691if test -n "$CC"; then 12692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12693printf "%s\n" "$CC" >&6; } 12694else 12695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12696printf "%s\n" "no" >&6; } 12697fi 12698 12699 12700fi 12701if test -z "$CC"; then 12702 if test -n "$ac_tool_prefix"; then 12703 for ac_prog in cl.exe 12704 do 12705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12706set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12707{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12708printf %s "checking for $ac_word... " >&6; } 12709if test ${ac_cv_prog_CC+y} 12710then : 12711 printf %s "(cached) " >&6 12712else $as_nop 12713 if test -n "$CC"; then 12714 ac_cv_prog_CC="$CC" # Let the user override the test. 12715else 12716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12717for as_dir in $PATH 12718do 12719 IFS=$as_save_IFS 12720 case $as_dir in #((( 12721 '') as_dir=./ ;; 12722 */) ;; 12723 *) as_dir=$as_dir/ ;; 12724 esac 12725 for ac_exec_ext in '' $ac_executable_extensions; do 12726 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12727 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 12728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 12729 break 2 12730 fi 12731done 12732 done 12733IFS=$as_save_IFS 12734 12735fi 12736fi 12737CC=$ac_cv_prog_CC 12738if test -n "$CC"; then 12739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12740printf "%s\n" "$CC" >&6; } 12741else 12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12743printf "%s\n" "no" >&6; } 12744fi 12745 12746 12747 test -n "$CC" && break 12748 done 12749fi 12750if test -z "$CC"; then 12751 ac_ct_CC=$CC 12752 for ac_prog in cl.exe 12753do 12754 # Extract the first word of "$ac_prog", so it can be a program name with args. 12755set dummy $ac_prog; ac_word=$2 12756{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12757printf %s "checking for $ac_word... " >&6; } 12758if test ${ac_cv_prog_ac_ct_CC+y} 12759then : 12760 printf %s "(cached) " >&6 12761else $as_nop 12762 if test -n "$ac_ct_CC"; then 12763 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12764else 12765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12766for as_dir in $PATH 12767do 12768 IFS=$as_save_IFS 12769 case $as_dir in #((( 12770 '') as_dir=./ ;; 12771 */) ;; 12772 *) as_dir=$as_dir/ ;; 12773 esac 12774 for ac_exec_ext in '' $ac_executable_extensions; do 12775 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12776 ac_cv_prog_ac_ct_CC="$ac_prog" 12777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 12778 break 2 12779 fi 12780done 12781 done 12782IFS=$as_save_IFS 12783 12784fi 12785fi 12786ac_ct_CC=$ac_cv_prog_ac_ct_CC 12787if test -n "$ac_ct_CC"; then 12788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12789printf "%s\n" "$ac_ct_CC" >&6; } 12790else 12791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12792printf "%s\n" "no" >&6; } 12793fi 12794 12795 12796 test -n "$ac_ct_CC" && break 12797done 12798 12799 if test "x$ac_ct_CC" = x; then 12800 CC="" 12801 else 12802 case $cross_compiling:$ac_tool_warned in 12803yes:) 12804{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12805printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12806ac_tool_warned=yes ;; 12807esac 12808 CC=$ac_ct_CC 12809 fi 12810fi 12811 12812fi 12813if test -z "$CC"; then 12814 if test -n "$ac_tool_prefix"; then 12815 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 12816set dummy ${ac_tool_prefix}clang; ac_word=$2 12817{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12818printf %s "checking for $ac_word... " >&6; } 12819if test ${ac_cv_prog_CC+y} 12820then : 12821 printf %s "(cached) " >&6 12822else $as_nop 12823 if test -n "$CC"; then 12824 ac_cv_prog_CC="$CC" # Let the user override the test. 12825else 12826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12827for as_dir in $PATH 12828do 12829 IFS=$as_save_IFS 12830 case $as_dir in #((( 12831 '') as_dir=./ ;; 12832 */) ;; 12833 *) as_dir=$as_dir/ ;; 12834 esac 12835 for ac_exec_ext in '' $ac_executable_extensions; do 12836 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12837 ac_cv_prog_CC="${ac_tool_prefix}clang" 12838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 12839 break 2 12840 fi 12841done 12842 done 12843IFS=$as_save_IFS 12844 12845fi 12846fi 12847CC=$ac_cv_prog_CC 12848if test -n "$CC"; then 12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12850printf "%s\n" "$CC" >&6; } 12851else 12852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12853printf "%s\n" "no" >&6; } 12854fi 12855 12856 12857fi 12858if test -z "$ac_cv_prog_CC"; then 12859 ac_ct_CC=$CC 12860 # Extract the first word of "clang", so it can be a program name with args. 12861set dummy clang; ac_word=$2 12862{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12863printf %s "checking for $ac_word... " >&6; } 12864if test ${ac_cv_prog_ac_ct_CC+y} 12865then : 12866 printf %s "(cached) " >&6 12867else $as_nop 12868 if test -n "$ac_ct_CC"; then 12869 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12870else 12871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12872for as_dir in $PATH 12873do 12874 IFS=$as_save_IFS 12875 case $as_dir in #((( 12876 '') as_dir=./ ;; 12877 */) ;; 12878 *) as_dir=$as_dir/ ;; 12879 esac 12880 for ac_exec_ext in '' $ac_executable_extensions; do 12881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12882 ac_cv_prog_ac_ct_CC="clang" 12883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 12884 break 2 12885 fi 12886done 12887 done 12888IFS=$as_save_IFS 12889 12890fi 12891fi 12892ac_ct_CC=$ac_cv_prog_ac_ct_CC 12893if test -n "$ac_ct_CC"; then 12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12895printf "%s\n" "$ac_ct_CC" >&6; } 12896else 12897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12898printf "%s\n" "no" >&6; } 12899fi 12900 12901 if test "x$ac_ct_CC" = x; then 12902 CC="" 12903 else 12904 case $cross_compiling:$ac_tool_warned in 12905yes:) 12906{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12907printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12908ac_tool_warned=yes ;; 12909esac 12910 CC=$ac_ct_CC 12911 fi 12912else 12913 CC="$ac_cv_prog_CC" 12914fi 12915 12916fi 12917 12918 12919test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12920printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 12921as_fn_error $? "no acceptable C compiler found in \$PATH 12922See \`config.log' for more details" "$LINENO" 5; } 12923 12924# Provide some information about the compiler. 12925printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 12926set X $ac_compile 12927ac_compiler=$2 12928for ac_option in --version -v -V -qversion -version; do 12929 { { ac_try="$ac_compiler $ac_option >&5" 12930case "(($ac_try" in 12931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12932 *) ac_try_echo=$ac_try;; 12933esac 12934eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 12935printf "%s\n" "$ac_try_echo"; } >&5 12936 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 12937 ac_status=$? 12938 if test -s conftest.err; then 12939 sed '10a\ 12940... rest of stderr output deleted ... 12941 10q' conftest.err >conftest.er1 12942 cat conftest.er1 >&5 12943 fi 12944 rm -f conftest.er1 conftest.err 12945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12946 test $ac_status = 0; } 12947done 12948 12949{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 12950printf %s "checking whether the compiler supports GNU C... " >&6; } 12951if test ${ac_cv_c_compiler_gnu+y} 12952then : 12953 printf %s "(cached) " >&6 12954else $as_nop 12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12956/* end confdefs.h. */ 12957 12958int 12959main (void) 12960{ 12961#ifndef __GNUC__ 12962 choke me 12963#endif 12964 12965 ; 12966 return 0; 12967} 12968_ACEOF 12969if ac_fn_c_try_compile "$LINENO" 12970then : 12971 ac_compiler_gnu=yes 12972else $as_nop 12973 ac_compiler_gnu=no 12974fi 12975rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12976ac_cv_c_compiler_gnu=$ac_compiler_gnu 12977 12978fi 12979{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 12980printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 12981ac_compiler_gnu=$ac_cv_c_compiler_gnu 12982 12983if test $ac_compiler_gnu = yes; then 12984 GCC=yes 12985else 12986 GCC= 12987fi 12988ac_test_CFLAGS=${CFLAGS+y} 12989ac_save_CFLAGS=$CFLAGS 12990{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 12991printf %s "checking whether $CC accepts -g... " >&6; } 12992if test ${ac_cv_prog_cc_g+y} 12993then : 12994 printf %s "(cached) " >&6 12995else $as_nop 12996 ac_save_c_werror_flag=$ac_c_werror_flag 12997 ac_c_werror_flag=yes 12998 ac_cv_prog_cc_g=no 12999 CFLAGS="-g" 13000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13001/* end confdefs.h. */ 13002 13003int 13004main (void) 13005{ 13006 13007 ; 13008 return 0; 13009} 13010_ACEOF 13011if ac_fn_c_try_compile "$LINENO" 13012then : 13013 ac_cv_prog_cc_g=yes 13014else $as_nop 13015 CFLAGS="" 13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13017/* end confdefs.h. */ 13018 13019int 13020main (void) 13021{ 13022 13023 ; 13024 return 0; 13025} 13026_ACEOF 13027if ac_fn_c_try_compile "$LINENO" 13028then : 13029 13030else $as_nop 13031 ac_c_werror_flag=$ac_save_c_werror_flag 13032 CFLAGS="-g" 13033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13034/* end confdefs.h. */ 13035 13036int 13037main (void) 13038{ 13039 13040 ; 13041 return 0; 13042} 13043_ACEOF 13044if ac_fn_c_try_compile "$LINENO" 13045then : 13046 ac_cv_prog_cc_g=yes 13047fi 13048rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13049fi 13050rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13051fi 13052rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13053 ac_c_werror_flag=$ac_save_c_werror_flag 13054fi 13055{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 13056printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 13057if test $ac_test_CFLAGS; then 13058 CFLAGS=$ac_save_CFLAGS 13059elif test $ac_cv_prog_cc_g = yes; then 13060 if test "$GCC" = yes; then 13061 CFLAGS="-g -O2" 13062 else 13063 CFLAGS="-g" 13064 fi 13065else 13066 if test "$GCC" = yes; then 13067 CFLAGS="-O2" 13068 else 13069 CFLAGS= 13070 fi 13071fi 13072ac_prog_cc_stdc=no 13073if test x$ac_prog_cc_stdc = xno 13074then : 13075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 13076printf %s "checking for $CC option to enable C11 features... " >&6; } 13077if test ${ac_cv_prog_cc_c11+y} 13078then : 13079 printf %s "(cached) " >&6 13080else $as_nop 13081 ac_cv_prog_cc_c11=no 13082ac_save_CC=$CC 13083cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13084/* end confdefs.h. */ 13085$ac_c_conftest_c11_program 13086_ACEOF 13087for ac_arg in '' -std=gnu11 13088do 13089 CC="$ac_save_CC $ac_arg" 13090 if ac_fn_c_try_compile "$LINENO" 13091then : 13092 ac_cv_prog_cc_c11=$ac_arg 13093fi 13094rm -f core conftest.err conftest.$ac_objext conftest.beam 13095 test "x$ac_cv_prog_cc_c11" != "xno" && break 13096done 13097rm -f conftest.$ac_ext 13098CC=$ac_save_CC 13099fi 13100 13101if test "x$ac_cv_prog_cc_c11" = xno 13102then : 13103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13104printf "%s\n" "unsupported" >&6; } 13105else $as_nop 13106 if test "x$ac_cv_prog_cc_c11" = x 13107then : 13108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13109printf "%s\n" "none needed" >&6; } 13110else $as_nop 13111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 13112printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 13113 CC="$CC $ac_cv_prog_cc_c11" 13114fi 13115 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 13116 ac_prog_cc_stdc=c11 13117fi 13118fi 13119if test x$ac_prog_cc_stdc = xno 13120then : 13121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 13122printf %s "checking for $CC option to enable C99 features... " >&6; } 13123if test ${ac_cv_prog_cc_c99+y} 13124then : 13125 printf %s "(cached) " >&6 13126else $as_nop 13127 ac_cv_prog_cc_c99=no 13128ac_save_CC=$CC 13129cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13130/* end confdefs.h. */ 13131$ac_c_conftest_c99_program 13132_ACEOF 13133for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 13134do 13135 CC="$ac_save_CC $ac_arg" 13136 if ac_fn_c_try_compile "$LINENO" 13137then : 13138 ac_cv_prog_cc_c99=$ac_arg 13139fi 13140rm -f core conftest.err conftest.$ac_objext conftest.beam 13141 test "x$ac_cv_prog_cc_c99" != "xno" && break 13142done 13143rm -f conftest.$ac_ext 13144CC=$ac_save_CC 13145fi 13146 13147if test "x$ac_cv_prog_cc_c99" = xno 13148then : 13149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13150printf "%s\n" "unsupported" >&6; } 13151else $as_nop 13152 if test "x$ac_cv_prog_cc_c99" = x 13153then : 13154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13155printf "%s\n" "none needed" >&6; } 13156else $as_nop 13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 13158printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 13159 CC="$CC $ac_cv_prog_cc_c99" 13160fi 13161 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 13162 ac_prog_cc_stdc=c99 13163fi 13164fi 13165if test x$ac_prog_cc_stdc = xno 13166then : 13167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 13168printf %s "checking for $CC option to enable C89 features... " >&6; } 13169if test ${ac_cv_prog_cc_c89+y} 13170then : 13171 printf %s "(cached) " >&6 13172else $as_nop 13173 ac_cv_prog_cc_c89=no 13174ac_save_CC=$CC 13175cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13176/* end confdefs.h. */ 13177$ac_c_conftest_c89_program 13178_ACEOF 13179for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 13180do 13181 CC="$ac_save_CC $ac_arg" 13182 if ac_fn_c_try_compile "$LINENO" 13183then : 13184 ac_cv_prog_cc_c89=$ac_arg 13185fi 13186rm -f core conftest.err conftest.$ac_objext conftest.beam 13187 test "x$ac_cv_prog_cc_c89" != "xno" && break 13188done 13189rm -f conftest.$ac_ext 13190CC=$ac_save_CC 13191fi 13192 13193if test "x$ac_cv_prog_cc_c89" = xno 13194then : 13195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13196printf "%s\n" "unsupported" >&6; } 13197else $as_nop 13198 if test "x$ac_cv_prog_cc_c89" = x 13199then : 13200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13201printf "%s\n" "none needed" >&6; } 13202else $as_nop 13203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 13204printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 13205 CC="$CC $ac_cv_prog_cc_c89" 13206fi 13207 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 13208 ac_prog_cc_stdc=c89 13209fi 13210fi 13211 13212ac_ext=c 13213ac_cpp='$CPP $CPPFLAGS' 13214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13216ac_compiler_gnu=$ac_cv_c_compiler_gnu 13217 13218 13219 ac_ext=c 13220ac_cpp='$CPP $CPPFLAGS' 13221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13223ac_compiler_gnu=$ac_cv_c_compiler_gnu 13224{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 13225printf %s "checking whether $CC understands -c and -o together... " >&6; } 13226if test ${am_cv_prog_cc_c_o+y} 13227then : 13228 printf %s "(cached) " >&6 13229else $as_nop 13230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13231/* end confdefs.h. */ 13232 13233int 13234main (void) 13235{ 13236 13237 ; 13238 return 0; 13239} 13240_ACEOF 13241 # Make sure it works both with $CC and with simple cc. 13242 # Following AC_PROG_CC_C_O, we do the test twice because some 13243 # compilers refuse to overwrite an existing .o file with -o, 13244 # though they will create one. 13245 am_cv_prog_cc_c_o=yes 13246 for am_i in 1 2; do 13247 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 13248 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 13249 ac_status=$? 13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13251 (exit $ac_status); } \ 13252 && test -f conftest2.$ac_objext; then 13253 : OK 13254 else 13255 am_cv_prog_cc_c_o=no 13256 break 13257 fi 13258 done 13259 rm -f core conftest* 13260 unset am_i 13261fi 13262{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 13263printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } 13264if test "$am_cv_prog_cc_c_o" != yes; then 13265 # Losing compiler, so override with the script. 13266 # FIXME: It is wrong to rewrite CC. 13267 # But if we don't then we get into trouble of one sort or another. 13268 # A longer-term fix would be to have automake use am__CC in this case, 13269 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 13270 CC="$am_aux_dir/compile $CC" 13271fi 13272ac_ext=c 13273ac_cpp='$CPP $CPPFLAGS' 13274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13276ac_compiler_gnu=$ac_cv_c_compiler_gnu 13277 13278 13279depcc="$CC" am_compiler_list= 13280 13281{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 13282printf %s "checking dependency style of $depcc... " >&6; } 13283if test ${am_cv_CC_dependencies_compiler_type+y} 13284then : 13285 printf %s "(cached) " >&6 13286else $as_nop 13287 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13288 # We make a subdir and do the tests there. Otherwise we can end up 13289 # making bogus files that we don't know about and never remove. For 13290 # instance it was reported that on HP-UX the gcc test will end up 13291 # making a dummy file named 'D' -- because '-MD' means "put the output 13292 # in D". 13293 rm -rf conftest.dir 13294 mkdir conftest.dir 13295 # Copy depcomp to subdir because otherwise we won't find it if we're 13296 # using a relative directory. 13297 cp "$am_depcomp" conftest.dir 13298 cd conftest.dir 13299 # We will build objects and dependencies in a subdirectory because 13300 # it helps to detect inapplicable dependency modes. For instance 13301 # both Tru64's cc and ICC support -MD to output dependencies as a 13302 # side effect of compilation, but ICC will put the dependencies in 13303 # the current directory while Tru64 will put them in the object 13304 # directory. 13305 mkdir sub 13306 13307 am_cv_CC_dependencies_compiler_type=none 13308 if test "$am_compiler_list" = ""; then 13309 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13310 fi 13311 am__universal=false 13312 case " $depcc " in #( 13313 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13314 esac 13315 13316 for depmode in $am_compiler_list; do 13317 # Setup a source with many dependencies, because some compilers 13318 # like to wrap large dependency lists on column 80 (with \), and 13319 # we should not choose a depcomp mode which is confused by this. 13320 # 13321 # We need to recreate these files for each test, as the compiler may 13322 # overwrite some of them when testing with obscure command lines. 13323 # This happens at least with the AIX C compiler. 13324 : > sub/conftest.c 13325 for i in 1 2 3 4 5 6; do 13326 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13327 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 13328 # Solaris 10 /bin/sh. 13329 echo '/* dummy */' > sub/conftst$i.h 13330 done 13331 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13332 13333 # We check with '-c' and '-o' for the sake of the "dashmstdout" 13334 # mode. It turns out that the SunPro C++ compiler does not properly 13335 # handle '-M -o', and we need to detect this. Also, some Intel 13336 # versions had trouble with output in subdirs. 13337 am__obj=sub/conftest.${OBJEXT-o} 13338 am__minus_obj="-o $am__obj" 13339 case $depmode in 13340 gcc) 13341 # This depmode causes a compiler race in universal mode. 13342 test "$am__universal" = false || continue 13343 ;; 13344 nosideeffect) 13345 # After this tag, mechanisms are not by side-effect, so they'll 13346 # only be used when explicitly requested. 13347 if test "x$enable_dependency_tracking" = xyes; then 13348 continue 13349 else 13350 break 13351 fi 13352 ;; 13353 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 13354 # This compiler won't grok '-c -o', but also, the minuso test has 13355 # not run yet. These depmodes are late enough in the game, and 13356 # so weak that their functioning should not be impacted. 13357 am__obj=conftest.${OBJEXT-o} 13358 am__minus_obj= 13359 ;; 13360 none) break ;; 13361 esac 13362 if depmode=$depmode \ 13363 source=sub/conftest.c object=$am__obj \ 13364 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13365 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13366 >/dev/null 2>conftest.err && 13367 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13368 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13369 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13370 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13371 # icc doesn't choke on unknown options, it will just issue warnings 13372 # or remarks (even with -Werror). So we grep stderr for any message 13373 # that says an option was ignored or not supported. 13374 # When given -MP, icc 7.0 and 7.1 complain thusly: 13375 # icc: Command line warning: ignoring option '-M'; no argument required 13376 # The diagnosis changed in icc 8.0: 13377 # icc: Command line remark: option '-MP' not supported 13378 if (grep 'ignoring option' conftest.err || 13379 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13380 am_cv_CC_dependencies_compiler_type=$depmode 13381 break 13382 fi 13383 fi 13384 done 13385 13386 cd .. 13387 rm -rf conftest.dir 13388else 13389 am_cv_CC_dependencies_compiler_type=none 13390fi 13391 13392fi 13393{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 13394printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 13395CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 13396 13397 if 13398 test "x$enable_dependency_tracking" != xno \ 13399 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 13400 am__fastdepCC_TRUE= 13401 am__fastdepCC_FALSE='#' 13402else 13403 am__fastdepCC_TRUE='#' 13404 am__fastdepCC_FALSE= 13405fi 13406 13407 13408 13409# Build with -Wall. 13410CFLAGS="$CFLAGS -Wall" 13411 13412# Check the host operating system type: posix or win32. 13413{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host operating system type" >&5 13414printf %s "checking host operating system type... " >&6; } 13415cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13416/* end confdefs.h. */ 13417#include <unistd.h> 13418 #ifndef _POSIX_VERSION 13419 #error not POSIX 13420 #endif 13421 13422_ACEOF 13423if ac_fn_c_try_compile "$LINENO" 13424then : 13425 ac_cv_host_system=posix 13426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: posix" >&5 13427printf "%s\n" "posix" >&6; } 13428else $as_nop 13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13430/* end confdefs.h. */ 13431#ifndef _WIN32 13432 #error not WIN32 13433 #endif 13434 13435_ACEOF 13436if ac_fn_c_try_compile "$LINENO" 13437then : 13438 ac_cv_host_system=win32 13439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: win32" >&5 13440printf "%s\n" "win32" >&6; } 13441else $as_nop 13442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 13443printf "%s\n" "unknown" >&6; } 13444 as_fn_error $? "Can't determine host system type." "$LINENO" 5 13445fi 13446rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13447fi 13448rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13449 13450if test $ac_cv_host_system = posix 13451then 13452 13453# OS-specific preprocessor defines. 13454case $host_os in 13455hpux*) 13456 # 13457 # On HP-UX, we need -D_XOPEN_SOURCE=500 so that the 13458 # Berkeley socket API uses 'socklen_t' instead of int. 13459 # 13460 CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500" 13461 ;; 13462osf*) 13463 # 13464 # On Tru64, we need -D_POSIX_PII_SOCKET so that 13465 # sys/socket.h defines 'socklen_t'. 13466 # 13467 CFLAGS="$CFLAGS -D_POSIX_PII_SOCKET" 13468 ;; 13469esac 13470 13471# 13472# Check for pthreads support. 13473# 13474# At least Tru64 needs -pthread, to avoid the following error when 13475# including pthread.h: 13476# 13477# pthread.h:339:4: error: #error "Please compile the module 13478# including pthread.h with -pthread" 13479# 13480ac_save_CFLAGS=$CFLAGS 13481ac_save_c_werror_flag=$ac_c_werror_flag 13482ac_c_werror_flag=yes 13483{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5 13484printf %s "checking whether $CC accepts -pthread... " >&6; } 13485if test ${ac_cv_prog_cc_pthread+y} 13486then : 13487 printf %s "(cached) " >&6 13488else $as_nop 13489 ac_cv_prog_cc_pthread=no 13490 CFLAGS="-pthread" 13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13492/* end confdefs.h. */ 13493 13494int 13495main (void) 13496{ 13497 13498 ; 13499 return 0; 13500} 13501_ACEOF 13502if ac_fn_c_try_compile "$LINENO" 13503then : 13504 ac_cv_prog_cc_pthread=yes 13505fi 13506rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13507 13508fi 13509{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_pthread" >&5 13510printf "%s\n" "$ac_cv_prog_cc_pthread" >&6; } 13511if test $ac_cv_prog_cc_pthread = yes 13512then 13513 CFLAGS="$ac_save_CFLAGS -pthread" 13514else 13515 CFLAGS=$ac_save_CFLAGS 13516fi 13517ac_c_werror_flag=$ac_save_c_werror_flag 13518 13519# 13520# At least Solaris 11 for x86 needs building with -pthreads to 13521# avoid run-time breakage in multithreaded applications. 13522# 13523ac_save_CFLAGS=$CFLAGS 13524ac_save_c_werror_flag=$ac_c_werror_flag 13525ac_c_werror_flag=yes 13526{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthreads" >&5 13527printf %s "checking whether $CC accepts -pthreads... " >&6; } 13528if test ${ac_cv_prog_cc_pthreads+y} 13529then : 13530 printf %s "(cached) " >&6 13531else $as_nop 13532 ac_cv_prog_cc_pthreads=no 13533 CFLAGS="-pthreads" 13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13535/* end confdefs.h. */ 13536 13537int 13538main (void) 13539{ 13540 13541 ; 13542 return 0; 13543} 13544_ACEOF 13545if ac_fn_c_try_compile "$LINENO" 13546then : 13547 ac_cv_prog_cc_pthreads=yes 13548fi 13549rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13550 13551fi 13552{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_pthreads" >&5 13553printf "%s\n" "$ac_cv_prog_cc_pthreads" >&6; } 13554if test $ac_cv_prog_cc_pthreads = yes 13555then 13556 CFLAGS="$ac_save_CFLAGS -pthreads" 13557else 13558 CFLAGS=$ac_save_CFLAGS 13559fi 13560ac_c_werror_flag=$ac_save_c_werror_flag 13561 13562# 13563# We cannot use pthread_atfork() for our AC_SEARCH_LIBS() test, as on 13564# Linux is it provided by a library that does not provide the rest of 13565# the pthread functions (libpthread_nonshared.a), and on FreeBSD it is 13566# provided by libc.so itself. Search for pthread_create() instead. 13567# 13568# On SCO OpenServer Release 6 and SCO UnixWare 7.1.4, the pthread 13569# functions appear to live in libthread, so check for that in 13570# addition to checking for libpthread. 13571# 13572# Tru64 uses mangled symbol names in its libpthread, and has some 13573# preprocessor magic in its pthread.h to do the same mangling, and 13574# so, testing for pthreads symbols without including pthread.h 13575# doesn't work. Since AC_SEARCH_LIBS() doesn't allow specifying a 13576# header file to be included for tests (and on Tru64, we can't 13577# include pthread.h without additionally specifying -pthread), we'll 13578# check for __pthread_create if pthread_create does not exist. 13579# 13580# On HP-UX, libpthread uses mangled symbol names like on Tru64, but 13581# what's worse, the HP-UX C library provides stub versions of almost 13582# all libpthread functions that return errors instead of doing what 13583# they are supposed to, and there's no way to detect this at compile 13584# time. However, there are a number of symbols in libpthread that 13585# the C library doesn't define stubs for, and we can test for one of 13586# those (pthread_trace_notify_np is one of those symbols). 13587# 13588{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 13589printf %s "checking for library containing pthread_create... " >&6; } 13590if test ${ac_cv_search_pthread_create+y} 13591then : 13592 printf %s "(cached) " >&6 13593else $as_nop 13594 ac_func_search_save_LIBS=$LIBS 13595cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13596/* end confdefs.h. */ 13597 13598/* Override any GCC internal prototype to avoid an error. 13599 Use char because int might match the return type of a GCC 13600 builtin and then its argument prototype would still apply. */ 13601char pthread_create (); 13602int 13603main (void) 13604{ 13605return pthread_create (); 13606 ; 13607 return 0; 13608} 13609_ACEOF 13610for ac_lib in '' pthread thread 13611do 13612 if test -z "$ac_lib"; then 13613 ac_res="none required" 13614 else 13615 ac_res=-l$ac_lib 13616 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13617 fi 13618 if ac_fn_c_try_link "$LINENO" 13619then : 13620 ac_cv_search_pthread_create=$ac_res 13621fi 13622rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13623 conftest$ac_exeext 13624 if test ${ac_cv_search_pthread_create+y} 13625then : 13626 break 13627fi 13628done 13629if test ${ac_cv_search_pthread_create+y} 13630then : 13631 13632else $as_nop 13633 ac_cv_search_pthread_create=no 13634fi 13635rm conftest.$ac_ext 13636LIBS=$ac_func_search_save_LIBS 13637fi 13638{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 13639printf "%s\n" "$ac_cv_search_pthread_create" >&6; } 13640ac_res=$ac_cv_search_pthread_create 13641if test "$ac_res" != no 13642then : 13643 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13644 13645else $as_nop 13646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing __pthread_create" >&5 13647printf %s "checking for library containing __pthread_create... " >&6; } 13648if test ${ac_cv_search___pthread_create+y} 13649then : 13650 printf %s "(cached) " >&6 13651else $as_nop 13652 ac_func_search_save_LIBS=$LIBS 13653cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13654/* end confdefs.h. */ 13655 13656/* Override any GCC internal prototype to avoid an error. 13657 Use char because int might match the return type of a GCC 13658 builtin and then its argument prototype would still apply. */ 13659char __pthread_create (); 13660int 13661main (void) 13662{ 13663return __pthread_create (); 13664 ; 13665 return 0; 13666} 13667_ACEOF 13668for ac_lib in '' pthread 13669do 13670 if test -z "$ac_lib"; then 13671 ac_res="none required" 13672 else 13673 ac_res=-l$ac_lib 13674 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13675 fi 13676 if ac_fn_c_try_link "$LINENO" 13677then : 13678 ac_cv_search___pthread_create=$ac_res 13679fi 13680rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13681 conftest$ac_exeext 13682 if test ${ac_cv_search___pthread_create+y} 13683then : 13684 break 13685fi 13686done 13687if test ${ac_cv_search___pthread_create+y} 13688then : 13689 13690else $as_nop 13691 ac_cv_search___pthread_create=no 13692fi 13693rm conftest.$ac_ext 13694LIBS=$ac_func_search_save_LIBS 13695fi 13696{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___pthread_create" >&5 13697printf "%s\n" "$ac_cv_search___pthread_create" >&6; } 13698ac_res=$ac_cv_search___pthread_create 13699if test "$ac_res" != no 13700then : 13701 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13702 13703else $as_nop 13704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_trace_notify_np" >&5 13705printf %s "checking for library containing pthread_trace_notify_np... " >&6; } 13706if test ${ac_cv_search_pthread_trace_notify_np+y} 13707then : 13708 printf %s "(cached) " >&6 13709else $as_nop 13710 ac_func_search_save_LIBS=$LIBS 13711cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13712/* end confdefs.h. */ 13713 13714/* Override any GCC internal prototype to avoid an error. 13715 Use char because int might match the return type of a GCC 13716 builtin and then its argument prototype would still apply. */ 13717char pthread_trace_notify_np (); 13718int 13719main (void) 13720{ 13721return pthread_trace_notify_np (); 13722 ; 13723 return 0; 13724} 13725_ACEOF 13726for ac_lib in '' pthread 13727do 13728 if test -z "$ac_lib"; then 13729 ac_res="none required" 13730 else 13731 ac_res=-l$ac_lib 13732 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13733 fi 13734 if ac_fn_c_try_link "$LINENO" 13735then : 13736 ac_cv_search_pthread_trace_notify_np=$ac_res 13737fi 13738rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13739 conftest$ac_exeext 13740 if test ${ac_cv_search_pthread_trace_notify_np+y} 13741then : 13742 break 13743fi 13744done 13745if test ${ac_cv_search_pthread_trace_notify_np+y} 13746then : 13747 13748else $as_nop 13749 ac_cv_search_pthread_trace_notify_np=no 13750fi 13751rm conftest.$ac_ext 13752LIBS=$ac_func_search_save_LIBS 13753fi 13754{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_trace_notify_np" >&5 13755printf "%s\n" "$ac_cv_search_pthread_trace_notify_np" >&6; } 13756ac_res=$ac_cv_search_pthread_trace_notify_np 13757if test "$ac_res" != no 13758then : 13759 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13760 13761else $as_nop 13762 as_fn_error $? "pthreads support is required to build ivykis." "$LINENO" 5 13763fi 13764 13765fi 13766 13767fi 13768 13769 13770# Checks for libraries. 13771{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 13772printf %s "checking for library containing socket... " >&6; } 13773if test ${ac_cv_search_socket+y} 13774then : 13775 printf %s "(cached) " >&6 13776else $as_nop 13777 ac_func_search_save_LIBS=$LIBS 13778cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13779/* end confdefs.h. */ 13780 13781/* Override any GCC internal prototype to avoid an error. 13782 Use char because int might match the return type of a GCC 13783 builtin and then its argument prototype would still apply. */ 13784char socket (); 13785int 13786main (void) 13787{ 13788return socket (); 13789 ; 13790 return 0; 13791} 13792_ACEOF 13793for ac_lib in '' socket 13794do 13795 if test -z "$ac_lib"; then 13796 ac_res="none required" 13797 else 13798 ac_res=-l$ac_lib 13799 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13800 fi 13801 if ac_fn_c_try_link "$LINENO" 13802then : 13803 ac_cv_search_socket=$ac_res 13804fi 13805rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13806 conftest$ac_exeext 13807 if test ${ac_cv_search_socket+y} 13808then : 13809 break 13810fi 13811done 13812if test ${ac_cv_search_socket+y} 13813then : 13814 13815else $as_nop 13816 ac_cv_search_socket=no 13817fi 13818rm conftest.$ac_ext 13819LIBS=$ac_func_search_save_LIBS 13820fi 13821{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 13822printf "%s\n" "$ac_cv_search_socket" >&6; } 13823ac_res=$ac_cv_search_socket 13824if test "$ac_res" != no 13825then : 13826 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13827 13828fi 13829 13830 13831# Checks for library functions. 13832ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init" 13833if test "x$ac_cv_func_inotify_init" = xyes 13834then : 13835 printf "%s\n" "#define HAVE_INOTIFY_INIT 1" >>confdefs.h 13836 13837fi 13838 13839 13840fi 13841 13842 13843# Conditionals for OS type. 13844 if test $ac_cv_host_system = posix; then 13845 HAVE_POSIX_TRUE= 13846 HAVE_POSIX_FALSE='#' 13847else 13848 HAVE_POSIX_TRUE='#' 13849 HAVE_POSIX_FALSE= 13850fi 13851 13852 if test $ac_cv_host_system = win32; then 13853 HAVE_WIN32_TRUE= 13854 HAVE_WIN32_FALSE='#' 13855else 13856 HAVE_WIN32_TRUE='#' 13857 HAVE_WIN32_FALSE= 13858fi 13859 13860 13861# Other conditionals. 13862 if test x$ac_cv_func_inotify_init = xyes; then 13863 HAVE_INOTIFY_TRUE= 13864 HAVE_INOTIFY_FALSE='#' 13865else 13866 HAVE_INOTIFY_TRUE='#' 13867 HAVE_INOTIFY_FALSE= 13868fi 13869 13870 13871ac_config_files="$ac_config_files Makefile" 13872 13873cat >confcache <<\_ACEOF 13874# This file is a shell script that caches the results of configure 13875# tests run on this system so they can be shared between configure 13876# scripts and configure runs, see configure's option --config-cache. 13877# It is not useful on other systems. If it contains results you don't 13878# want to keep, you may remove or edit it. 13879# 13880# config.status only pays attention to the cache file if you give it 13881# the --recheck option to rerun configure. 13882# 13883# `ac_cv_env_foo' variables (set or unset) will be overridden when 13884# loading this file, other *unset* `ac_cv_foo' will be assigned the 13885# following values. 13886 13887_ACEOF 13888 13889# The following way of writing the cache mishandles newlines in values, 13890# but we know of no workaround that is simple, portable, and efficient. 13891# So, we kill variables containing newlines. 13892# Ultrix sh set writes to stderr and can't be redirected directly, 13893# and sets the high bit in the cache file unless we assign to the vars. 13894( 13895 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13896 eval ac_val=\$$ac_var 13897 case $ac_val in #( 13898 *${as_nl}*) 13899 case $ac_var in #( 13900 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13901printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13902 esac 13903 case $ac_var in #( 13904 _ | IFS | as_nl) ;; #( 13905 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13906 *) { eval $ac_var=; unset $ac_var;} ;; 13907 esac ;; 13908 esac 13909 done 13910 13911 (set) 2>&1 | 13912 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13913 *${as_nl}ac_space=\ *) 13914 # `set' does not quote correctly, so add quotes: double-quote 13915 # substitution turns \\\\ into \\, and sed turns \\ into \. 13916 sed -n \ 13917 "s/'/'\\\\''/g; 13918 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13919 ;; #( 13920 *) 13921 # `set' quotes correctly as required by POSIX, so do not add quotes. 13922 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13923 ;; 13924 esac | 13925 sort 13926) | 13927 sed ' 13928 /^ac_cv_env_/b end 13929 t clear 13930 :clear 13931 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 13932 t end 13933 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13934 :end' >>confcache 13935if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13936 if test -w "$cache_file"; then 13937 if test "x$cache_file" != "x/dev/null"; then 13938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13939printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 13940 if test ! -f "$cache_file" || test -h "$cache_file"; then 13941 cat confcache >"$cache_file" 13942 else 13943 case $cache_file in #( 13944 */* | ?:*) 13945 mv -f confcache "$cache_file"$$ && 13946 mv -f "$cache_file"$$ "$cache_file" ;; #( 13947 *) 13948 mv -f confcache "$cache_file" ;; 13949 esac 13950 fi 13951 fi 13952 else 13953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13954printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 13955 fi 13956fi 13957rm -f confcache 13958 13959test "x$prefix" = xNONE && prefix=$ac_default_prefix 13960# Let make expand exec_prefix. 13961test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13962 13963DEFS=-DHAVE_CONFIG_H 13964 13965ac_libobjs= 13966ac_ltlibobjs= 13967U= 13968for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13969 # 1. Remove the extension, and $U if already installed. 13970 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13971 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 13972 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13973 # will be set to the directory where LIBOBJS objects are built. 13974 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13975 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13976done 13977LIBOBJS=$ac_libobjs 13978 13979LTLIBOBJS=$ac_ltlibobjs 13980 13981 13982{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 13983printf %s "checking that generated files are newer than configure... " >&6; } 13984 if test -n "$am_sleep_pid"; then 13985 # Hide warnings about reused PIDs. 13986 wait $am_sleep_pid 2>/dev/null 13987 fi 13988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 13989printf "%s\n" "done" >&6; } 13990 if test -n "$EXEEXT"; then 13991 am__EXEEXT_TRUE= 13992 am__EXEEXT_FALSE='#' 13993else 13994 am__EXEEXT_TRUE='#' 13995 am__EXEEXT_FALSE= 13996fi 13997 13998if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13999 as_fn_error $? "conditional \"AMDEP\" was never defined. 14000Usually this means the macro was only invoked conditionally." "$LINENO" 5 14001fi 14002if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14003 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 14004Usually this means the macro was only invoked conditionally." "$LINENO" 5 14005fi 14006if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14007 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 14008Usually this means the macro was only invoked conditionally." "$LINENO" 5 14009fi 14010if test -z "${HAVE_POSIX_TRUE}" && test -z "${HAVE_POSIX_FALSE}"; then 14011 as_fn_error $? "conditional \"HAVE_POSIX\" was never defined. 14012Usually this means the macro was only invoked conditionally." "$LINENO" 5 14013fi 14014if test -z "${HAVE_WIN32_TRUE}" && test -z "${HAVE_WIN32_FALSE}"; then 14015 as_fn_error $? "conditional \"HAVE_WIN32\" was never defined. 14016Usually this means the macro was only invoked conditionally." "$LINENO" 5 14017fi 14018if test -z "${HAVE_INOTIFY_TRUE}" && test -z "${HAVE_INOTIFY_FALSE}"; then 14019 as_fn_error $? "conditional \"HAVE_INOTIFY\" was never defined. 14020Usually this means the macro was only invoked conditionally." "$LINENO" 5 14021fi 14022 14023: "${CONFIG_STATUS=./config.status}" 14024ac_write_fail=0 14025ac_clean_files_save=$ac_clean_files 14026ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14027{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 14028printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 14029as_write_fail=0 14030cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 14031#! $SHELL 14032# Generated by $as_me. 14033# Run this file to recreate the current configuration. 14034# Compiler output produced by configure, useful for debugging 14035# configure, is in config.log if it exists. 14036 14037debug=false 14038ac_cs_recheck=false 14039ac_cs_silent=false 14040 14041SHELL=\${CONFIG_SHELL-$SHELL} 14042export SHELL 14043_ASEOF 14044cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 14045## -------------------- ## 14046## M4sh Initialization. ## 14047## -------------------- ## 14048 14049# Be more Bourne compatible 14050DUALCASE=1; export DUALCASE # for MKS sh 14051as_nop=: 14052if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 14053then : 14054 emulate sh 14055 NULLCMD=: 14056 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14057 # is contrary to our usage. Disable this feature. 14058 alias -g '${1+"$@"}'='"$@"' 14059 setopt NO_GLOB_SUBST 14060else $as_nop 14061 case `(set -o) 2>/dev/null` in #( 14062 *posix*) : 14063 set -o posix ;; #( 14064 *) : 14065 ;; 14066esac 14067fi 14068 14069 14070 14071# Reset variables that may have inherited troublesome values from 14072# the environment. 14073 14074# IFS needs to be set, to space, tab, and newline, in precisely that order. 14075# (If _AS_PATH_WALK were called with IFS unset, it would have the 14076# side effect of setting IFS to empty, thus disabling word splitting.) 14077# Quoting is to prevent editors from complaining about space-tab. 14078as_nl=' 14079' 14080export as_nl 14081IFS=" "" $as_nl" 14082 14083PS1='$ ' 14084PS2='> ' 14085PS4='+ ' 14086 14087# Ensure predictable behavior from utilities with locale-dependent output. 14088LC_ALL=C 14089export LC_ALL 14090LANGUAGE=C 14091export LANGUAGE 14092 14093# We cannot yet rely on "unset" to work, but we need these variables 14094# to be unset--not just set to an empty or harmless value--now, to 14095# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 14096# also avoids known problems related to "unset" and subshell syntax 14097# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 14098for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 14099do eval test \${$as_var+y} \ 14100 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 14101done 14102 14103# Ensure that fds 0, 1, and 2 are open. 14104if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 14105if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 14106if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 14107 14108# The user is always right. 14109if ${PATH_SEPARATOR+false} :; then 14110 PATH_SEPARATOR=: 14111 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 14112 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 14113 PATH_SEPARATOR=';' 14114 } 14115fi 14116 14117 14118# Find who we are. Look in the path if we contain no directory separator. 14119as_myself= 14120case $0 in #(( 14121 *[\\/]* ) as_myself=$0 ;; 14122 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14123for as_dir in $PATH 14124do 14125 IFS=$as_save_IFS 14126 case $as_dir in #((( 14127 '') as_dir=./ ;; 14128 */) ;; 14129 *) as_dir=$as_dir/ ;; 14130 esac 14131 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 14132 done 14133IFS=$as_save_IFS 14134 14135 ;; 14136esac 14137# We did not find ourselves, most probably we were run as `sh COMMAND' 14138# in which case we are not to be found in the path. 14139if test "x$as_myself" = x; then 14140 as_myself=$0 14141fi 14142if test ! -f "$as_myself"; then 14143 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14144 exit 1 14145fi 14146 14147 14148 14149# as_fn_error STATUS ERROR [LINENO LOG_FD] 14150# ---------------------------------------- 14151# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14152# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14153# script with STATUS, using 1 if that was 0. 14154as_fn_error () 14155{ 14156 as_status=$1; test $as_status -eq 0 && as_status=1 14157 if test "$4"; then 14158 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14160 fi 14161 printf "%s\n" "$as_me: error: $2" >&2 14162 as_fn_exit $as_status 14163} # as_fn_error 14164 14165 14166 14167# as_fn_set_status STATUS 14168# ----------------------- 14169# Set $? to STATUS, without forking. 14170as_fn_set_status () 14171{ 14172 return $1 14173} # as_fn_set_status 14174 14175# as_fn_exit STATUS 14176# ----------------- 14177# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14178as_fn_exit () 14179{ 14180 set +e 14181 as_fn_set_status $1 14182 exit $1 14183} # as_fn_exit 14184 14185# as_fn_unset VAR 14186# --------------- 14187# Portably unset VAR. 14188as_fn_unset () 14189{ 14190 { eval $1=; unset $1;} 14191} 14192as_unset=as_fn_unset 14193 14194# as_fn_append VAR VALUE 14195# ---------------------- 14196# Append the text in VALUE to the end of the definition contained in VAR. Take 14197# advantage of any shell optimizations that allow amortized linear growth over 14198# repeated appends, instead of the typical quadratic growth present in naive 14199# implementations. 14200if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 14201then : 14202 eval 'as_fn_append () 14203 { 14204 eval $1+=\$2 14205 }' 14206else $as_nop 14207 as_fn_append () 14208 { 14209 eval $1=\$$1\$2 14210 } 14211fi # as_fn_append 14212 14213# as_fn_arith ARG... 14214# ------------------ 14215# Perform arithmetic evaluation on the ARGs, and store the result in the 14216# global $as_val. Take advantage of shells that can avoid forks. The arguments 14217# must be portable across $(()) and expr. 14218if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 14219then : 14220 eval 'as_fn_arith () 14221 { 14222 as_val=$(( $* )) 14223 }' 14224else $as_nop 14225 as_fn_arith () 14226 { 14227 as_val=`expr "$@" || test $? -eq 1` 14228 } 14229fi # as_fn_arith 14230 14231 14232if expr a : '\(a\)' >/dev/null 2>&1 && 14233 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14234 as_expr=expr 14235else 14236 as_expr=false 14237fi 14238 14239if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14240 as_basename=basename 14241else 14242 as_basename=false 14243fi 14244 14245if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14246 as_dirname=dirname 14247else 14248 as_dirname=false 14249fi 14250 14251as_me=`$as_basename -- "$0" || 14252$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14253 X"$0" : 'X\(//\)$' \| \ 14254 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14255printf "%s\n" X/"$0" | 14256 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14257 s//\1/ 14258 q 14259 } 14260 /^X\/\(\/\/\)$/{ 14261 s//\1/ 14262 q 14263 } 14264 /^X\/\(\/\).*/{ 14265 s//\1/ 14266 q 14267 } 14268 s/.*/./; q'` 14269 14270# Avoid depending upon Character Ranges. 14271as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14272as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14273as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14274as_cr_digits='0123456789' 14275as_cr_alnum=$as_cr_Letters$as_cr_digits 14276 14277 14278# Determine whether it's possible to make 'echo' print without a newline. 14279# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 14280# for compatibility with existing Makefiles. 14281ECHO_C= ECHO_N= ECHO_T= 14282case `echo -n x` in #((((( 14283-n*) 14284 case `echo 'xy\c'` in 14285 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14286 xy) ECHO_C='\c';; 14287 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14288 ECHO_T=' ';; 14289 esac;; 14290*) 14291 ECHO_N='-n';; 14292esac 14293 14294# For backward compatibility with old third-party macros, we provide 14295# the shell variables $as_echo and $as_echo_n. New code should use 14296# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 14297as_echo='printf %s\n' 14298as_echo_n='printf %s' 14299 14300rm -f conf$$ conf$$.exe conf$$.file 14301if test -d conf$$.dir; then 14302 rm -f conf$$.dir/conf$$.file 14303else 14304 rm -f conf$$.dir 14305 mkdir conf$$.dir 2>/dev/null 14306fi 14307if (echo >conf$$.file) 2>/dev/null; then 14308 if ln -s conf$$.file conf$$ 2>/dev/null; then 14309 as_ln_s='ln -s' 14310 # ... but there are two gotchas: 14311 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14312 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14313 # In both cases, we have to default to `cp -pR'. 14314 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14315 as_ln_s='cp -pR' 14316 elif ln conf$$.file conf$$ 2>/dev/null; then 14317 as_ln_s=ln 14318 else 14319 as_ln_s='cp -pR' 14320 fi 14321else 14322 as_ln_s='cp -pR' 14323fi 14324rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14325rmdir conf$$.dir 2>/dev/null 14326 14327 14328# as_fn_mkdir_p 14329# ------------- 14330# Create "$as_dir" as a directory, including parents if necessary. 14331as_fn_mkdir_p () 14332{ 14333 14334 case $as_dir in #( 14335 -*) as_dir=./$as_dir;; 14336 esac 14337 test -d "$as_dir" || eval $as_mkdir_p || { 14338 as_dirs= 14339 while :; do 14340 case $as_dir in #( 14341 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14342 *) as_qdir=$as_dir;; 14343 esac 14344 as_dirs="'$as_qdir' $as_dirs" 14345 as_dir=`$as_dirname -- "$as_dir" || 14346$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14347 X"$as_dir" : 'X\(//\)[^/]' \| \ 14348 X"$as_dir" : 'X\(//\)$' \| \ 14349 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14350printf "%s\n" X"$as_dir" | 14351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14352 s//\1/ 14353 q 14354 } 14355 /^X\(\/\/\)[^/].*/{ 14356 s//\1/ 14357 q 14358 } 14359 /^X\(\/\/\)$/{ 14360 s//\1/ 14361 q 14362 } 14363 /^X\(\/\).*/{ 14364 s//\1/ 14365 q 14366 } 14367 s/.*/./; q'` 14368 test -d "$as_dir" && break 14369 done 14370 test -z "$as_dirs" || eval "mkdir $as_dirs" 14371 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14372 14373 14374} # as_fn_mkdir_p 14375if mkdir -p . 2>/dev/null; then 14376 as_mkdir_p='mkdir -p "$as_dir"' 14377else 14378 test -d ./-p && rmdir ./-p 14379 as_mkdir_p=false 14380fi 14381 14382 14383# as_fn_executable_p FILE 14384# ----------------------- 14385# Test if FILE is an executable regular file. 14386as_fn_executable_p () 14387{ 14388 test -f "$1" && test -x "$1" 14389} # as_fn_executable_p 14390as_test_x='test -x' 14391as_executable_p=as_fn_executable_p 14392 14393# Sed expression to map a string onto a valid CPP name. 14394as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14395 14396# Sed expression to map a string onto a valid variable name. 14397as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14398 14399 14400exec 6>&1 14401## ----------------------------------- ## 14402## Main body of $CONFIG_STATUS script. ## 14403## ----------------------------------- ## 14404_ASEOF 14405test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14406 14407cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14408# Save the log message, to keep $0 and so on meaningful, and to 14409# report actual input values of CONFIG_FILES etc. instead of their 14410# values after options handling. 14411ac_log=" 14412This file was extended by ivykis-test-mt $as_me 0.1, which was 14413generated by GNU Autoconf 2.71. Invocation command line was 14414 14415 CONFIG_FILES = $CONFIG_FILES 14416 CONFIG_HEADERS = $CONFIG_HEADERS 14417 CONFIG_LINKS = $CONFIG_LINKS 14418 CONFIG_COMMANDS = $CONFIG_COMMANDS 14419 $ $0 $@ 14420 14421on `(hostname || uname -n) 2>/dev/null | sed 1q` 14422" 14423 14424_ACEOF 14425 14426case $ac_config_files in *" 14427"*) set x $ac_config_files; shift; ac_config_files=$*;; 14428esac 14429 14430case $ac_config_headers in *" 14431"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14432esac 14433 14434 14435cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14436# Files that config.status was made for. 14437config_files="$ac_config_files" 14438config_headers="$ac_config_headers" 14439config_commands="$ac_config_commands" 14440 14441_ACEOF 14442 14443cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14444ac_cs_usage="\ 14445\`$as_me' instantiates files and other configuration actions 14446from templates according to the current configuration. Unless the files 14447and actions are specified as TAGs, all are instantiated by default. 14448 14449Usage: $0 [OPTION]... [TAG]... 14450 14451 -h, --help print this help, then exit 14452 -V, --version print version number and configuration settings, then exit 14453 --config print configuration, then exit 14454 -q, --quiet, --silent 14455 do not print progress messages 14456 -d, --debug don't remove temporary files 14457 --recheck update $as_me by reconfiguring in the same conditions 14458 --file=FILE[:TEMPLATE] 14459 instantiate the configuration file FILE 14460 --header=FILE[:TEMPLATE] 14461 instantiate the configuration header FILE 14462 14463Configuration files: 14464$config_files 14465 14466Configuration headers: 14467$config_headers 14468 14469Configuration commands: 14470$config_commands 14471 14472Report bugs to <libivykis-discuss@lists.sourceforge.net>." 14473 14474_ACEOF 14475ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 14476ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 14477cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14478ac_cs_config='$ac_cs_config_escaped' 14479ac_cs_version="\\ 14480ivykis-test-mt config.status 0.1 14481configured by $0, generated by GNU Autoconf 2.71, 14482 with options \\"\$ac_cs_config\\" 14483 14484Copyright (C) 2021 Free Software Foundation, Inc. 14485This config.status script is free software; the Free Software Foundation 14486gives unlimited permission to copy, distribute and modify it." 14487 14488ac_pwd='$ac_pwd' 14489srcdir='$srcdir' 14490INSTALL='$INSTALL' 14491MKDIR_P='$MKDIR_P' 14492AWK='$AWK' 14493test -n "\$AWK" || AWK=awk 14494_ACEOF 14495 14496cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14497# The default lists apply if the user does not specify any file. 14498ac_need_defaults=: 14499while test $# != 0 14500do 14501 case $1 in 14502 --*=?*) 14503 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14504 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14505 ac_shift=: 14506 ;; 14507 --*=) 14508 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14509 ac_optarg= 14510 ac_shift=: 14511 ;; 14512 *) 14513 ac_option=$1 14514 ac_optarg=$2 14515 ac_shift=shift 14516 ;; 14517 esac 14518 14519 case $ac_option in 14520 # Handling of the options. 14521 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14522 ac_cs_recheck=: ;; 14523 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14524 printf "%s\n" "$ac_cs_version"; exit ;; 14525 --config | --confi | --conf | --con | --co | --c ) 14526 printf "%s\n" "$ac_cs_config"; exit ;; 14527 --debug | --debu | --deb | --de | --d | -d ) 14528 debug=: ;; 14529 --file | --fil | --fi | --f ) 14530 $ac_shift 14531 case $ac_optarg in 14532 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14533 '') as_fn_error $? "missing file argument" ;; 14534 esac 14535 as_fn_append CONFIG_FILES " '$ac_optarg'" 14536 ac_need_defaults=false;; 14537 --header | --heade | --head | --hea ) 14538 $ac_shift 14539 case $ac_optarg in 14540 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14541 esac 14542 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14543 ac_need_defaults=false;; 14544 --he | --h) 14545 # Conflict between --help and --header 14546 as_fn_error $? "ambiguous option: \`$1' 14547Try \`$0 --help' for more information.";; 14548 --help | --hel | -h ) 14549 printf "%s\n" "$ac_cs_usage"; exit ;; 14550 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14551 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14552 ac_cs_silent=: ;; 14553 14554 # This is an error. 14555 -*) as_fn_error $? "unrecognized option: \`$1' 14556Try \`$0 --help' for more information." ;; 14557 14558 *) as_fn_append ac_config_targets " $1" 14559 ac_need_defaults=false ;; 14560 14561 esac 14562 shift 14563done 14564 14565ac_configure_extra_args= 14566 14567if $ac_cs_silent; then 14568 exec 6>/dev/null 14569 ac_configure_extra_args="$ac_configure_extra_args --silent" 14570fi 14571 14572_ACEOF 14573cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14574if \$ac_cs_recheck; then 14575 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14576 shift 14577 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 14578 CONFIG_SHELL='$SHELL' 14579 export CONFIG_SHELL 14580 exec "\$@" 14581fi 14582 14583_ACEOF 14584cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14585exec 5>>config.log 14586{ 14587 echo 14588 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14589## Running $as_me. ## 14590_ASBOX 14591 printf "%s\n" "$ac_log" 14592} >&5 14593 14594_ACEOF 14595cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14596# 14597# INIT-COMMANDS 14598# 14599AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 14600 14601 14602# The HP-UX ksh and POSIX shell print the target directory to stdout 14603# if CDPATH is set. 14604(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14605 14606sed_quote_subst='$sed_quote_subst' 14607double_quote_subst='$double_quote_subst' 14608delay_variable_subst='$delay_variable_subst' 14609macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14610macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14611enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14612enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14613pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14614enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14615shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 14616SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14617ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14618PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14619host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14620host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14621host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14622build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14623build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14624build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14625SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14626Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14627GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14628EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14629FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14630LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14631NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14632LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14633max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14634ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14635exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14636lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14637lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14638lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14639lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14640lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14641reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14642reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14643OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14644deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14645file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14646file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14647want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14648DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14649sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14650AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14651AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14652archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14653STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14654RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14655old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14656old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14657old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14658lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14659CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14660CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14661compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14662GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14663lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14664lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14665lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 14666lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14667lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 14668lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 14669nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14670lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14671lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 14672objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14673MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14674lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14675lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14676lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14677lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14678lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14679need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14680MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14681DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14682NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14683LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14684OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14685OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14686libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14687shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14688extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14689archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14690enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14691export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14692whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14693compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14694old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14695old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14696archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14697archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14698module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14699module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14700with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14701allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14702no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14703hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14704hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14705hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14706hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14707hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14708hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14709hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14710inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14711link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14712always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14713export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14714exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14715include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14716prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14717postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14718file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14719variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14720need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14721need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14722version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14723runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14724shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14725shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14726libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14727library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14728soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14729install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14730postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14731postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14732finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14733finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14734hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14735sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14736configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 14737configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 14738hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14739enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14740enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14741enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14742old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14743striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14744 14745LTCC='$LTCC' 14746LTCFLAGS='$LTCFLAGS' 14747compiler='$compiler_DEFAULT' 14748 14749# A function that is used when there is no print builtin or printf. 14750func_fallback_echo () 14751{ 14752 eval 'cat <<_LTECHO_EOF 14753\$1 14754_LTECHO_EOF' 14755} 14756 14757# Quote evaled strings. 14758for var in SHELL \ 14759ECHO \ 14760PATH_SEPARATOR \ 14761SED \ 14762GREP \ 14763EGREP \ 14764FGREP \ 14765LD \ 14766NM \ 14767LN_S \ 14768lt_SP2NL \ 14769lt_NL2SP \ 14770reload_flag \ 14771OBJDUMP \ 14772deplibs_check_method \ 14773file_magic_cmd \ 14774file_magic_glob \ 14775want_nocaseglob \ 14776DLLTOOL \ 14777sharedlib_from_linklib_cmd \ 14778AR \ 14779AR_FLAGS \ 14780archiver_list_spec \ 14781STRIP \ 14782RANLIB \ 14783CC \ 14784CFLAGS \ 14785compiler \ 14786lt_cv_sys_global_symbol_pipe \ 14787lt_cv_sys_global_symbol_to_cdecl \ 14788lt_cv_sys_global_symbol_to_import \ 14789lt_cv_sys_global_symbol_to_c_name_address \ 14790lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14791lt_cv_nm_interface \ 14792nm_file_list_spec \ 14793lt_cv_truncate_bin \ 14794lt_prog_compiler_no_builtin_flag \ 14795lt_prog_compiler_pic \ 14796lt_prog_compiler_wl \ 14797lt_prog_compiler_static \ 14798lt_cv_prog_compiler_c_o \ 14799need_locks \ 14800MANIFEST_TOOL \ 14801DSYMUTIL \ 14802NMEDIT \ 14803LIPO \ 14804OTOOL \ 14805OTOOL64 \ 14806shrext_cmds \ 14807export_dynamic_flag_spec \ 14808whole_archive_flag_spec \ 14809compiler_needs_object \ 14810with_gnu_ld \ 14811allow_undefined_flag \ 14812no_undefined_flag \ 14813hardcode_libdir_flag_spec \ 14814hardcode_libdir_separator \ 14815exclude_expsyms \ 14816include_expsyms \ 14817file_list_spec \ 14818variables_saved_for_relink \ 14819libname_spec \ 14820library_names_spec \ 14821soname_spec \ 14822install_override_mode \ 14823finish_eval \ 14824old_striplib \ 14825striplib; do 14826 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14827 *[\\\\\\\`\\"\\\$]*) 14828 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14829 ;; 14830 *) 14831 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14832 ;; 14833 esac 14834done 14835 14836# Double-quote double-evaled strings. 14837for var in reload_cmds \ 14838old_postinstall_cmds \ 14839old_postuninstall_cmds \ 14840old_archive_cmds \ 14841extract_expsyms_cmds \ 14842old_archive_from_new_cmds \ 14843old_archive_from_expsyms_cmds \ 14844archive_cmds \ 14845archive_expsym_cmds \ 14846module_cmds \ 14847module_expsym_cmds \ 14848export_symbols_cmds \ 14849prelink_cmds \ 14850postlink_cmds \ 14851postinstall_cmds \ 14852postuninstall_cmds \ 14853finish_cmds \ 14854sys_lib_search_path_spec \ 14855configure_time_dlsearch_path \ 14856configure_time_lt_sys_library_path; do 14857 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14858 *[\\\\\\\`\\"\\\$]*) 14859 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14860 ;; 14861 *) 14862 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14863 ;; 14864 esac 14865done 14866 14867ac_aux_dir='$ac_aux_dir' 14868 14869# See if we are running on zsh, and set the options that allow our 14870# commands through without removal of \ escapes INIT. 14871if test -n "\${ZSH_VERSION+set}"; then 14872 setopt NO_GLOB_SUBST 14873fi 14874 14875 14876 PACKAGE='$PACKAGE' 14877 VERSION='$VERSION' 14878 RM='$RM' 14879 ofile='$ofile' 14880 14881 14882 14883 14884_ACEOF 14885 14886cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14887 14888# Handling of arguments. 14889for ac_config_target in $ac_config_targets 14890do 14891 case $ac_config_target in 14892 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14893 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14894 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14895 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14896 14897 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14898 esac 14899done 14900 14901 14902# If the user did not use the arguments to specify the items to instantiate, 14903# then the envvar interface is used. Set only those that are not. 14904# We use the long form for the default assignment because of an extremely 14905# bizarre bug on SunOS 4.1.3. 14906if $ac_need_defaults; then 14907 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 14908 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 14909 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 14910fi 14911 14912# Have a temporary directory for convenience. Make it in the build tree 14913# simply because there is no reason against having it here, and in addition, 14914# creating and moving files from /tmp can sometimes cause problems. 14915# Hook for its removal unless debugging. 14916# Note that there is a small window in which the directory will not be cleaned: 14917# after its creation but before its name has been assigned to `$tmp'. 14918$debug || 14919{ 14920 tmp= ac_tmp= 14921 trap 'exit_status=$? 14922 : "${ac_tmp:=$tmp}" 14923 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14924' 0 14925 trap 'as_fn_exit 1' 1 2 13 15 14926} 14927# Create a (secure) tmp directory for tmp files. 14928 14929{ 14930 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14931 test -d "$tmp" 14932} || 14933{ 14934 tmp=./conf$$-$RANDOM 14935 (umask 077 && mkdir "$tmp") 14936} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14937ac_tmp=$tmp 14938 14939# Set up the scripts for CONFIG_FILES section. 14940# No need to generate them if there are no CONFIG_FILES. 14941# This happens for instance with `./config.status config.h'. 14942if test -n "$CONFIG_FILES"; then 14943 14944 14945ac_cr=`echo X | tr X '\015'` 14946# On cygwin, bash can eat \r inside `` if the user requested igncr. 14947# But we know of no other shell where ac_cr would be empty at this 14948# point, so we can use a bashism as a fallback. 14949if test "x$ac_cr" = x; then 14950 eval ac_cr=\$\'\\r\' 14951fi 14952ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14953if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14954 ac_cs_awk_cr='\\r' 14955else 14956 ac_cs_awk_cr=$ac_cr 14957fi 14958 14959echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14960_ACEOF 14961 14962 14963{ 14964 echo "cat >conf$$subs.awk <<_ACEOF" && 14965 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14966 echo "_ACEOF" 14967} >conf$$subs.sh || 14968 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14969ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14970ac_delim='%!_!# ' 14971for ac_last_try in false false false false false :; do 14972 . ./conf$$subs.sh || 14973 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14974 14975 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14976 if test $ac_delim_n = $ac_delim_num; then 14977 break 14978 elif $ac_last_try; then 14979 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14980 else 14981 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14982 fi 14983done 14984rm -f conf$$subs.sh 14985 14986cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14987cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14988_ACEOF 14989sed -n ' 14990h 14991s/^/S["/; s/!.*/"]=/ 14992p 14993g 14994s/^[^!]*!// 14995:repl 14996t repl 14997s/'"$ac_delim"'$// 14998t delim 14999:nl 15000h 15001s/\(.\{148\}\)..*/\1/ 15002t more1 15003s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15004p 15005n 15006b repl 15007:more1 15008s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15009p 15010g 15011s/.\{148\}// 15012t nl 15013:delim 15014h 15015s/\(.\{148\}\)..*/\1/ 15016t more2 15017s/["\\]/\\&/g; s/^/"/; s/$/"/ 15018p 15019b 15020:more2 15021s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15022p 15023g 15024s/.\{148\}// 15025t delim 15026' <conf$$subs.awk | sed ' 15027/^[^""]/{ 15028 N 15029 s/\n// 15030} 15031' >>$CONFIG_STATUS || ac_write_fail=1 15032rm -f conf$$subs.awk 15033cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15034_ACAWK 15035cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 15036 for (key in S) S_is_set[key] = 1 15037 FS = "" 15038 15039} 15040{ 15041 line = $ 0 15042 nfields = split(line, field, "@") 15043 substed = 0 15044 len = length(field[1]) 15045 for (i = 2; i < nfields; i++) { 15046 key = field[i] 15047 keylen = length(key) 15048 if (S_is_set[key]) { 15049 value = S[key] 15050 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15051 len += length(value) + length(field[++i]) 15052 substed = 1 15053 } else 15054 len += 1 + keylen 15055 } 15056 15057 print line 15058} 15059 15060_ACAWK 15061_ACEOF 15062cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15063if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15064 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15065else 15066 cat 15067fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 15068 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15069_ACEOF 15070 15071# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15072# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15073# trailing colons and then remove the whole line if VPATH becomes empty 15074# (actually we leave an empty line to preserve line numbers). 15075if test "x$srcdir" = x.; then 15076 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15077h 15078s/// 15079s/^/:/ 15080s/[ ]*$/:/ 15081s/:\$(srcdir):/:/g 15082s/:\${srcdir}:/:/g 15083s/:@srcdir@:/:/g 15084s/^:*// 15085s/:*$// 15086x 15087s/\(=[ ]*\).*/\1/ 15088G 15089s/\n// 15090s/^[^=]*=[ ]*$// 15091}' 15092fi 15093 15094cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15095fi # test -n "$CONFIG_FILES" 15096 15097# Set up the scripts for CONFIG_HEADERS section. 15098# No need to generate them if there are no CONFIG_HEADERS. 15099# This happens for instance with `./config.status Makefile'. 15100if test -n "$CONFIG_HEADERS"; then 15101cat >"$ac_tmp/defines.awk" <<\_ACAWK || 15102BEGIN { 15103_ACEOF 15104 15105# Transform confdefs.h into an awk script `defines.awk', embedded as 15106# here-document in config.status, that substitutes the proper values into 15107# config.h.in to produce config.h. 15108 15109# Create a delimiter string that does not exist in confdefs.h, to ease 15110# handling of long lines. 15111ac_delim='%!_!# ' 15112for ac_last_try in false false :; do 15113 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 15114 if test -z "$ac_tt"; then 15115 break 15116 elif $ac_last_try; then 15117 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15118 else 15119 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15120 fi 15121done 15122 15123# For the awk script, D is an array of macro values keyed by name, 15124# likewise P contains macro parameters if any. Preserve backslash 15125# newline sequences. 15126 15127ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15128sed -n ' 15129s/.\{148\}/&'"$ac_delim"'/g 15130t rset 15131:rset 15132s/^[ ]*#[ ]*define[ ][ ]*/ / 15133t def 15134d 15135:def 15136s/\\$// 15137t bsnl 15138s/["\\]/\\&/g 15139s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15140D["\1"]=" \3"/p 15141s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 15142d 15143:bsnl 15144s/["\\]/\\&/g 15145s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15146D["\1"]=" \3\\\\\\n"\\/p 15147t cont 15148s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 15149t cont 15150d 15151:cont 15152n 15153s/.\{148\}/&'"$ac_delim"'/g 15154t clear 15155:clear 15156s/\\$// 15157t bsnlc 15158s/["\\]/\\&/g; s/^/"/; s/$/"/p 15159d 15160:bsnlc 15161s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 15162b cont 15163' <confdefs.h | sed ' 15164s/'"$ac_delim"'/"\\\ 15165"/g' >>$CONFIG_STATUS || ac_write_fail=1 15166 15167cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15168 for (key in D) D_is_set[key] = 1 15169 FS = "" 15170} 15171/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 15172 line = \$ 0 15173 split(line, arg, " ") 15174 if (arg[1] == "#") { 15175 defundef = arg[2] 15176 mac1 = arg[3] 15177 } else { 15178 defundef = substr(arg[1], 2) 15179 mac1 = arg[2] 15180 } 15181 split(mac1, mac2, "(") #) 15182 macro = mac2[1] 15183 prefix = substr(line, 1, index(line, defundef) - 1) 15184 if (D_is_set[macro]) { 15185 # Preserve the white space surrounding the "#". 15186 print prefix "define", macro P[macro] D[macro] 15187 next 15188 } else { 15189 # Replace #undef with comments. This is necessary, for example, 15190 # in the case of _POSIX_SOURCE, which is predefined and required 15191 # on some systems where configure will not decide to define it. 15192 if (defundef == "undef") { 15193 print "/*", prefix defundef, macro, "*/" 15194 next 15195 } 15196 } 15197} 15198{ print } 15199_ACAWK 15200_ACEOF 15201cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15202 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 15203fi # test -n "$CONFIG_HEADERS" 15204 15205 15206eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 15207shift 15208for ac_tag 15209do 15210 case $ac_tag in 15211 :[FHLC]) ac_mode=$ac_tag; continue;; 15212 esac 15213 case $ac_mode$ac_tag in 15214 :[FHL]*:*);; 15215 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 15216 :[FH]-) ac_tag=-:-;; 15217 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15218 esac 15219 ac_save_IFS=$IFS 15220 IFS=: 15221 set x $ac_tag 15222 IFS=$ac_save_IFS 15223 shift 15224 ac_file=$1 15225 shift 15226 15227 case $ac_mode in 15228 :L) ac_source=$1;; 15229 :[FH]) 15230 ac_file_inputs= 15231 for ac_f 15232 do 15233 case $ac_f in 15234 -) ac_f="$ac_tmp/stdin";; 15235 *) # Look for the file first in the build tree, then in the source tree 15236 # (if the path is not absolute). The absolute path cannot be DOS-style, 15237 # because $ac_f cannot contain `:'. 15238 test -f "$ac_f" || 15239 case $ac_f in 15240 [\\/$]*) false;; 15241 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15242 esac || 15243 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15244 esac 15245 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15246 as_fn_append ac_file_inputs " '$ac_f'" 15247 done 15248 15249 # Let's still pretend it is `configure' which instantiates (i.e., don't 15250 # use $as_me), people would be surprised to read: 15251 # /* config.h. Generated by config.status. */ 15252 configure_input='Generated from '` 15253 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15254 `' by configure.' 15255 if test x"$ac_file" != x-; then 15256 configure_input="$ac_file. $configure_input" 15257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 15258printf "%s\n" "$as_me: creating $ac_file" >&6;} 15259 fi 15260 # Neutralize special characters interpreted by sed in replacement strings. 15261 case $configure_input in #( 15262 *\&* | *\|* | *\\* ) 15263 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 15264 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15265 *) ac_sed_conf_input=$configure_input;; 15266 esac 15267 15268 case $ac_tag in 15269 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 15270 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 15271 esac 15272 ;; 15273 esac 15274 15275 ac_dir=`$as_dirname -- "$ac_file" || 15276$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15277 X"$ac_file" : 'X\(//\)[^/]' \| \ 15278 X"$ac_file" : 'X\(//\)$' \| \ 15279 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15280printf "%s\n" X"$ac_file" | 15281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15282 s//\1/ 15283 q 15284 } 15285 /^X\(\/\/\)[^/].*/{ 15286 s//\1/ 15287 q 15288 } 15289 /^X\(\/\/\)$/{ 15290 s//\1/ 15291 q 15292 } 15293 /^X\(\/\).*/{ 15294 s//\1/ 15295 q 15296 } 15297 s/.*/./; q'` 15298 as_dir="$ac_dir"; as_fn_mkdir_p 15299 ac_builddir=. 15300 15301case "$ac_dir" in 15302.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15303*) 15304 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 15305 # A ".." for each directory in $ac_dir_suffix. 15306 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15307 case $ac_top_builddir_sub in 15308 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15309 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15310 esac ;; 15311esac 15312ac_abs_top_builddir=$ac_pwd 15313ac_abs_builddir=$ac_pwd$ac_dir_suffix 15314# for backward compatibility: 15315ac_top_builddir=$ac_top_build_prefix 15316 15317case $srcdir in 15318 .) # We are building in place. 15319 ac_srcdir=. 15320 ac_top_srcdir=$ac_top_builddir_sub 15321 ac_abs_top_srcdir=$ac_pwd ;; 15322 [\\/]* | ?:[\\/]* ) # Absolute name. 15323 ac_srcdir=$srcdir$ac_dir_suffix; 15324 ac_top_srcdir=$srcdir 15325 ac_abs_top_srcdir=$srcdir ;; 15326 *) # Relative name. 15327 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15328 ac_top_srcdir=$ac_top_build_prefix$srcdir 15329 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15330esac 15331ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15332 15333 15334 case $ac_mode in 15335 :F) 15336 # 15337 # CONFIG_FILE 15338 # 15339 15340 case $INSTALL in 15341 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15342 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15343 esac 15344 ac_MKDIR_P=$MKDIR_P 15345 case $MKDIR_P in 15346 [\\/$]* | ?:[\\/]* ) ;; 15347 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15348 esac 15349_ACEOF 15350 15351cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15352# If the template does not know about datarootdir, expand it. 15353# FIXME: This hack should be removed a few years after 2.60. 15354ac_datarootdir_hack=; ac_datarootdir_seen= 15355ac_sed_dataroot=' 15356/datarootdir/ { 15357 p 15358 q 15359} 15360/@datadir@/p 15361/@docdir@/p 15362/@infodir@/p 15363/@localedir@/p 15364/@mandir@/p' 15365case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15366*datarootdir*) ac_datarootdir_seen=yes;; 15367*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15369printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15370_ACEOF 15371cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15372 ac_datarootdir_hack=' 15373 s&@datadir@&$datadir&g 15374 s&@docdir@&$docdir&g 15375 s&@infodir@&$infodir&g 15376 s&@localedir@&$localedir&g 15377 s&@mandir@&$mandir&g 15378 s&\\\${datarootdir}&$datarootdir&g' ;; 15379esac 15380_ACEOF 15381 15382# Neutralize VPATH when `$srcdir' = `.'. 15383# Shell code in configure.ac might set extrasub. 15384# FIXME: do we really want to maintain this feature? 15385cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15386ac_sed_extra="$ac_vpsub 15387$extrasub 15388_ACEOF 15389cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15390:t 15391/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15392s|@configure_input@|$ac_sed_conf_input|;t t 15393s&@top_builddir@&$ac_top_builddir_sub&;t t 15394s&@top_build_prefix@&$ac_top_build_prefix&;t t 15395s&@srcdir@&$ac_srcdir&;t t 15396s&@abs_srcdir@&$ac_abs_srcdir&;t t 15397s&@top_srcdir@&$ac_top_srcdir&;t t 15398s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15399s&@builddir@&$ac_builddir&;t t 15400s&@abs_builddir@&$ac_abs_builddir&;t t 15401s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15402s&@INSTALL@&$ac_INSTALL&;t t 15403s&@MKDIR_P@&$ac_MKDIR_P&;t t 15404$ac_datarootdir_hack 15405" 15406eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 15407 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15408 15409test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15410 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 15411 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 15412 "$ac_tmp/out"`; test -z "$ac_out"; } && 15413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15414which seems to be undefined. Please make sure it is defined" >&5 15415printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15416which seems to be undefined. Please make sure it is defined" >&2;} 15417 15418 rm -f "$ac_tmp/stdin" 15419 case $ac_file in 15420 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 15421 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 15422 esac \ 15423 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15424 ;; 15425 :H) 15426 # 15427 # CONFIG_HEADER 15428 # 15429 if test x"$ac_file" != x-; then 15430 { 15431 printf "%s\n" "/* $configure_input */" >&1 \ 15432 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 15433 } >"$ac_tmp/config.h" \ 15434 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15435 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 15436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15437printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 15438 else 15439 rm -f "$ac_file" 15440 mv "$ac_tmp/config.h" "$ac_file" \ 15441 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15442 fi 15443 else 15444 printf "%s\n" "/* $configure_input */" >&1 \ 15445 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 15446 || as_fn_error $? "could not create -" "$LINENO" 5 15447 fi 15448# Compute "$ac_file"'s index in $config_headers. 15449_am_arg="$ac_file" 15450_am_stamp_count=1 15451for _am_header in $config_headers :; do 15452 case $_am_header in 15453 $_am_arg | $_am_arg:* ) 15454 break ;; 15455 * ) 15456 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15457 esac 15458done 15459echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 15460$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15461 X"$_am_arg" : 'X\(//\)[^/]' \| \ 15462 X"$_am_arg" : 'X\(//\)$' \| \ 15463 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15464printf "%s\n" X"$_am_arg" | 15465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15466 s//\1/ 15467 q 15468 } 15469 /^X\(\/\/\)[^/].*/{ 15470 s//\1/ 15471 q 15472 } 15473 /^X\(\/\/\)$/{ 15474 s//\1/ 15475 q 15476 } 15477 /^X\(\/\).*/{ 15478 s//\1/ 15479 q 15480 } 15481 s/.*/./; q'`/stamp-h$_am_stamp_count 15482 ;; 15483 15484 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15485printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 15486 ;; 15487 esac 15488 15489 15490 case $ac_file$ac_mode in 15491 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15492 # Older Autoconf quotes --file arguments for eval, but not when files 15493 # are listed without --file. Let's play safe and only enable the eval 15494 # if we detect the quoting. 15495 # TODO: see whether this extra hack can be removed once we start 15496 # requiring Autoconf 2.70 or later. 15497 case $CONFIG_FILES in #( 15498 *\'*) : 15499 eval set x "$CONFIG_FILES" ;; #( 15500 *) : 15501 set x $CONFIG_FILES ;; #( 15502 *) : 15503 ;; 15504esac 15505 shift 15506 # Used to flag and report bootstrapping failures. 15507 am_rc=0 15508 for am_mf 15509 do 15510 # Strip MF so we end up with the name of the file. 15511 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` 15512 # Check whether this is an Automake generated Makefile which includes 15513 # dependency-tracking related rules and includes. 15514 # Grep'ing the whole file directly is not great: AIX grep has a line 15515 # limit of 2048, but all sed's we know have understand at least 4000. 15516 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 15517 || continue 15518 am_dirpart=`$as_dirname -- "$am_mf" || 15519$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15520 X"$am_mf" : 'X\(//\)[^/]' \| \ 15521 X"$am_mf" : 'X\(//\)$' \| \ 15522 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 15523printf "%s\n" X"$am_mf" | 15524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15525 s//\1/ 15526 q 15527 } 15528 /^X\(\/\/\)[^/].*/{ 15529 s//\1/ 15530 q 15531 } 15532 /^X\(\/\/\)$/{ 15533 s//\1/ 15534 q 15535 } 15536 /^X\(\/\).*/{ 15537 s//\1/ 15538 q 15539 } 15540 s/.*/./; q'` 15541 am_filepart=`$as_basename -- "$am_mf" || 15542$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 15543 X"$am_mf" : 'X\(//\)$' \| \ 15544 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 15545printf "%s\n" X/"$am_mf" | 15546 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15547 s//\1/ 15548 q 15549 } 15550 /^X\/\(\/\/\)$/{ 15551 s//\1/ 15552 q 15553 } 15554 /^X\/\(\/\).*/{ 15555 s//\1/ 15556 q 15557 } 15558 s/.*/./; q'` 15559 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 15560 && sed -e '/# am--include-marker/d' "$am_filepart" \ 15561 | $MAKE -f - am--depfiles" >&5 15562 (cd "$am_dirpart" \ 15563 && sed -e '/# am--include-marker/d' "$am_filepart" \ 15564 | $MAKE -f - am--depfiles) >&5 2>&5 15565 ac_status=$? 15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15567 (exit $ac_status); } || am_rc=$? 15568 done 15569 if test $am_rc -ne 0; then 15570 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15571printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 15572as_fn_error $? "Something went wrong bootstrapping makefile fragments 15573 for automatic dependency tracking. If GNU make was not used, consider 15574 re-running the configure script with MAKE=\"gmake\" (or whatever is 15575 necessary). You can also try re-running configure with the 15576 '--disable-dependency-tracking' option to at least be able to build 15577 the package (albeit without support for automatic dependency tracking). 15578See \`config.log' for more details" "$LINENO" 5; } 15579 fi 15580 { am_dirpart=; unset am_dirpart;} 15581 { am_filepart=; unset am_filepart;} 15582 { am_mf=; unset am_mf;} 15583 { am_rc=; unset am_rc;} 15584 rm -f conftest-deps.mk 15585} 15586 ;; 15587 "libtool":C) 15588 15589 # See if we are running on zsh, and set the options that allow our 15590 # commands through without removal of \ escapes. 15591 if test -n "${ZSH_VERSION+set}"; then 15592 setopt NO_GLOB_SUBST 15593 fi 15594 15595 cfgfile=${ofile}T 15596 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15597 $RM "$cfgfile" 15598 15599 cat <<_LT_EOF >> "$cfgfile" 15600#! $SHELL 15601# Generated automatically by $as_me ($PACKAGE) $VERSION 15602# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15603 15604# Provide generalized library-building support services. 15605# Written by Gordon Matzigkeit, 1996 15606 15607# Copyright (C) 2014 Free Software Foundation, Inc. 15608# This is free software; see the source for copying conditions. There is NO 15609# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15610 15611# GNU Libtool is free software; you can redistribute it and/or modify 15612# it under the terms of the GNU General Public License as published by 15613# the Free Software Foundation; either version 2 of of the License, or 15614# (at your option) any later version. 15615# 15616# As a special exception to the GNU General Public License, if you 15617# distribute this file as part of a program or library that is built 15618# using GNU Libtool, you may include this file under the same 15619# distribution terms that you use for the rest of that program. 15620# 15621# GNU Libtool is distributed in the hope that it will be useful, but 15622# WITHOUT ANY WARRANTY; without even the implied warranty of 15623# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15624# GNU General Public License for more details. 15625# 15626# You should have received a copy of the GNU General Public License 15627# along with this program. If not, see <http://www.gnu.org/licenses/>. 15628 15629 15630# The names of the tagged configurations supported by this script. 15631available_tags='' 15632 15633# Configured defaults for sys_lib_dlsearch_path munging. 15634: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 15635 15636# ### BEGIN LIBTOOL CONFIG 15637 15638# Which release of libtool.m4 was used? 15639macro_version=$macro_version 15640macro_revision=$macro_revision 15641 15642# Whether or not to build shared libraries. 15643build_libtool_libs=$enable_shared 15644 15645# Whether or not to build static libraries. 15646build_old_libs=$enable_static 15647 15648# What type of objects to build. 15649pic_mode=$pic_mode 15650 15651# Whether or not to optimize for fast installation. 15652fast_install=$enable_fast_install 15653 15654# Shared archive member basename,for filename based shared library versioning on AIX. 15655shared_archive_member_spec=$shared_archive_member_spec 15656 15657# Shell to use when invoking shell scripts. 15658SHELL=$lt_SHELL 15659 15660# An echo program that protects backslashes. 15661ECHO=$lt_ECHO 15662 15663# The PATH separator for the build system. 15664PATH_SEPARATOR=$lt_PATH_SEPARATOR 15665 15666# The host system. 15667host_alias=$host_alias 15668host=$host 15669host_os=$host_os 15670 15671# The build system. 15672build_alias=$build_alias 15673build=$build 15674build_os=$build_os 15675 15676# A sed program that does not truncate output. 15677SED=$lt_SED 15678 15679# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15680Xsed="\$SED -e 1s/^X//" 15681 15682# A grep program that handles long lines. 15683GREP=$lt_GREP 15684 15685# An ERE matcher. 15686EGREP=$lt_EGREP 15687 15688# A literal string matcher. 15689FGREP=$lt_FGREP 15690 15691# A BSD- or MS-compatible name lister. 15692NM=$lt_NM 15693 15694# Whether we need soft or hard links. 15695LN_S=$lt_LN_S 15696 15697# What is the maximum length of a command? 15698max_cmd_len=$max_cmd_len 15699 15700# Object file suffix (normally "o"). 15701objext=$ac_objext 15702 15703# Executable file suffix (normally ""). 15704exeext=$exeext 15705 15706# whether the shell understands "unset". 15707lt_unset=$lt_unset 15708 15709# turn spaces into newlines. 15710SP2NL=$lt_lt_SP2NL 15711 15712# turn newlines into spaces. 15713NL2SP=$lt_lt_NL2SP 15714 15715# convert \$build file names to \$host format. 15716to_host_file_cmd=$lt_cv_to_host_file_cmd 15717 15718# convert \$build files to toolchain format. 15719to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15720 15721# An object symbol dumper. 15722OBJDUMP=$lt_OBJDUMP 15723 15724# Method to check whether dependent libraries are shared objects. 15725deplibs_check_method=$lt_deplibs_check_method 15726 15727# Command to use when deplibs_check_method = "file_magic". 15728file_magic_cmd=$lt_file_magic_cmd 15729 15730# How to find potential files when deplibs_check_method = "file_magic". 15731file_magic_glob=$lt_file_magic_glob 15732 15733# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15734want_nocaseglob=$lt_want_nocaseglob 15735 15736# DLL creation program. 15737DLLTOOL=$lt_DLLTOOL 15738 15739# Command to associate shared and link libraries. 15740sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15741 15742# The archiver. 15743AR=$lt_AR 15744 15745# Flags to create an archive. 15746AR_FLAGS=$lt_AR_FLAGS 15747 15748# How to feed a file listing to the archiver. 15749archiver_list_spec=$lt_archiver_list_spec 15750 15751# A symbol stripping program. 15752STRIP=$lt_STRIP 15753 15754# Commands used to install an old-style archive. 15755RANLIB=$lt_RANLIB 15756old_postinstall_cmds=$lt_old_postinstall_cmds 15757old_postuninstall_cmds=$lt_old_postuninstall_cmds 15758 15759# Whether to use a lock for old archive extraction. 15760lock_old_archive_extraction=$lock_old_archive_extraction 15761 15762# A C compiler. 15763LTCC=$lt_CC 15764 15765# LTCC compiler flags. 15766LTCFLAGS=$lt_CFLAGS 15767 15768# Take the output of nm and produce a listing of raw symbols and C names. 15769global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15770 15771# Transform the output of nm in a proper C declaration. 15772global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15773 15774# Transform the output of nm into a list of symbols to manually relocate. 15775global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 15776 15777# Transform the output of nm in a C name address pair. 15778global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15779 15780# Transform the output of nm in a C name address pair when lib prefix is needed. 15781global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15782 15783# The name lister interface. 15784nm_interface=$lt_lt_cv_nm_interface 15785 15786# Specify filename containing input files for \$NM. 15787nm_file_list_spec=$lt_nm_file_list_spec 15788 15789# The root where to search for dependent libraries,and where our libraries should be installed. 15790lt_sysroot=$lt_sysroot 15791 15792# Command to truncate a binary pipe. 15793lt_truncate_bin=$lt_lt_cv_truncate_bin 15794 15795# The name of the directory that contains temporary libtool files. 15796objdir=$objdir 15797 15798# Used to examine libraries when file_magic_cmd begins with "file". 15799MAGIC_CMD=$MAGIC_CMD 15800 15801# Must we lock files when doing compilation? 15802need_locks=$lt_need_locks 15803 15804# Manifest tool. 15805MANIFEST_TOOL=$lt_MANIFEST_TOOL 15806 15807# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15808DSYMUTIL=$lt_DSYMUTIL 15809 15810# Tool to change global to local symbols on Mac OS X. 15811NMEDIT=$lt_NMEDIT 15812 15813# Tool to manipulate fat objects and archives on Mac OS X. 15814LIPO=$lt_LIPO 15815 15816# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15817OTOOL=$lt_OTOOL 15818 15819# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15820OTOOL64=$lt_OTOOL64 15821 15822# Old archive suffix (normally "a"). 15823libext=$libext 15824 15825# Shared library suffix (normally ".so"). 15826shrext_cmds=$lt_shrext_cmds 15827 15828# The commands to extract the exported symbol list from a shared archive. 15829extract_expsyms_cmds=$lt_extract_expsyms_cmds 15830 15831# Variables whose values should be saved in libtool wrapper scripts and 15832# restored at link time. 15833variables_saved_for_relink=$lt_variables_saved_for_relink 15834 15835# Do we need the "lib" prefix for modules? 15836need_lib_prefix=$need_lib_prefix 15837 15838# Do we need a version for libraries? 15839need_version=$need_version 15840 15841# Library versioning type. 15842version_type=$version_type 15843 15844# Shared library runtime path variable. 15845runpath_var=$runpath_var 15846 15847# Shared library path variable. 15848shlibpath_var=$shlibpath_var 15849 15850# Is shlibpath searched before the hard-coded library search path? 15851shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15852 15853# Format of library name prefix. 15854libname_spec=$lt_libname_spec 15855 15856# List of archive names. First name is the real one, the rest are links. 15857# The last name is the one that the linker finds with -lNAME 15858library_names_spec=$lt_library_names_spec 15859 15860# The coded name of the library, if different from the real name. 15861soname_spec=$lt_soname_spec 15862 15863# Permission mode override for installation of shared libraries. 15864install_override_mode=$lt_install_override_mode 15865 15866# Command to use after installation of a shared archive. 15867postinstall_cmds=$lt_postinstall_cmds 15868 15869# Command to use after uninstallation of a shared archive. 15870postuninstall_cmds=$lt_postuninstall_cmds 15871 15872# Commands used to finish a libtool library installation in a directory. 15873finish_cmds=$lt_finish_cmds 15874 15875# As "finish_cmds", except a single script fragment to be evaled but 15876# not shown. 15877finish_eval=$lt_finish_eval 15878 15879# Whether we should hardcode library paths into libraries. 15880hardcode_into_libs=$hardcode_into_libs 15881 15882# Compile-time system search path for libraries. 15883sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15884 15885# Detected run-time system search path for libraries. 15886sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 15887 15888# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 15889configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 15890 15891# Whether dlopen is supported. 15892dlopen_support=$enable_dlopen 15893 15894# Whether dlopen of programs is supported. 15895dlopen_self=$enable_dlopen_self 15896 15897# Whether dlopen of statically linked programs is supported. 15898dlopen_self_static=$enable_dlopen_self_static 15899 15900# Commands to strip libraries. 15901old_striplib=$lt_old_striplib 15902striplib=$lt_striplib 15903 15904 15905# The linker used to build libraries. 15906LD=$lt_LD 15907 15908# How to create reloadable object files. 15909reload_flag=$lt_reload_flag 15910reload_cmds=$lt_reload_cmds 15911 15912# Commands used to build an old-style archive. 15913old_archive_cmds=$lt_old_archive_cmds 15914 15915# A language specific compiler. 15916CC=$lt_compiler 15917 15918# Is the compiler the GNU compiler? 15919with_gcc=$GCC 15920 15921# Compiler flag to turn off builtin functions. 15922no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15923 15924# Additional compiler flags for building library objects. 15925pic_flag=$lt_lt_prog_compiler_pic 15926 15927# How to pass a linker flag through the compiler. 15928wl=$lt_lt_prog_compiler_wl 15929 15930# Compiler flag to prevent dynamic linking. 15931link_static_flag=$lt_lt_prog_compiler_static 15932 15933# Does compiler simultaneously support -c and -o options? 15934compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15935 15936# Whether or not to add -lc for building shared libraries. 15937build_libtool_need_lc=$archive_cmds_need_lc 15938 15939# Whether or not to disallow shared libs when runtime libs are static. 15940allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15941 15942# Compiler flag to allow reflexive dlopens. 15943export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15944 15945# Compiler flag to generate shared objects directly from archives. 15946whole_archive_flag_spec=$lt_whole_archive_flag_spec 15947 15948# Whether the compiler copes with passing no objects directly. 15949compiler_needs_object=$lt_compiler_needs_object 15950 15951# Create an old-style archive from a shared archive. 15952old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15953 15954# Create a temporary old-style archive to link instead of a shared archive. 15955old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15956 15957# Commands used to build a shared archive. 15958archive_cmds=$lt_archive_cmds 15959archive_expsym_cmds=$lt_archive_expsym_cmds 15960 15961# Commands used to build a loadable module if different from building 15962# a shared archive. 15963module_cmds=$lt_module_cmds 15964module_expsym_cmds=$lt_module_expsym_cmds 15965 15966# Whether we are building with GNU ld or not. 15967with_gnu_ld=$lt_with_gnu_ld 15968 15969# Flag that allows shared libraries with undefined symbols to be built. 15970allow_undefined_flag=$lt_allow_undefined_flag 15971 15972# Flag that enforces no undefined symbols. 15973no_undefined_flag=$lt_no_undefined_flag 15974 15975# Flag to hardcode \$libdir into a binary during linking. 15976# This must work even if \$libdir does not exist 15977hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15978 15979# Whether we need a single "-rpath" flag with a separated argument. 15980hardcode_libdir_separator=$lt_hardcode_libdir_separator 15981 15982# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 15983# DIR into the resulting binary. 15984hardcode_direct=$hardcode_direct 15985 15986# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 15987# DIR into the resulting binary and the resulting library dependency is 15988# "absolute",i.e impossible to change by setting \$shlibpath_var if the 15989# library is relocated. 15990hardcode_direct_absolute=$hardcode_direct_absolute 15991 15992# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15993# into the resulting binary. 15994hardcode_minus_L=$hardcode_minus_L 15995 15996# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15997# into the resulting binary. 15998hardcode_shlibpath_var=$hardcode_shlibpath_var 15999 16000# Set to "yes" if building a shared library automatically hardcodes DIR 16001# into the library and all subsequent libraries and executables linked 16002# against it. 16003hardcode_automatic=$hardcode_automatic 16004 16005# Set to yes if linker adds runtime paths of dependent libraries 16006# to runtime path list. 16007inherit_rpath=$inherit_rpath 16008 16009# Whether libtool must link a program against all its dependency libraries. 16010link_all_deplibs=$link_all_deplibs 16011 16012# Set to "yes" if exported symbols are required. 16013always_export_symbols=$always_export_symbols 16014 16015# The commands to list exported symbols. 16016export_symbols_cmds=$lt_export_symbols_cmds 16017 16018# Symbols that should not be listed in the preloaded symbols. 16019exclude_expsyms=$lt_exclude_expsyms 16020 16021# Symbols that must always be exported. 16022include_expsyms=$lt_include_expsyms 16023 16024# Commands necessary for linking programs (against libraries) with templates. 16025prelink_cmds=$lt_prelink_cmds 16026 16027# Commands necessary for finishing linking programs. 16028postlink_cmds=$lt_postlink_cmds 16029 16030# Specify filename containing input files. 16031file_list_spec=$lt_file_list_spec 16032 16033# How to hardcode a shared library path into an executable. 16034hardcode_action=$hardcode_action 16035 16036# ### END LIBTOOL CONFIG 16037 16038_LT_EOF 16039 16040 cat <<'_LT_EOF' >> "$cfgfile" 16041 16042# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 16043 16044# func_munge_path_list VARIABLE PATH 16045# ----------------------------------- 16046# VARIABLE is name of variable containing _space_ separated list of 16047# directories to be munged by the contents of PATH, which is string 16048# having a format: 16049# "DIR[:DIR]:" 16050# string "DIR[ DIR]" will be prepended to VARIABLE 16051# ":DIR[:DIR]" 16052# string "DIR[ DIR]" will be appended to VARIABLE 16053# "DIRP[:DIRP]::[DIRA:]DIRA" 16054# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 16055# "DIRA[ DIRA]" will be appended to VARIABLE 16056# "DIR[:DIR]" 16057# VARIABLE will be replaced by "DIR[ DIR]" 16058func_munge_path_list () 16059{ 16060 case x$2 in 16061 x) 16062 ;; 16063 *:) 16064 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 16065 ;; 16066 x:*) 16067 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 16068 ;; 16069 *::*) 16070 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 16071 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 16072 ;; 16073 *) 16074 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 16075 ;; 16076 esac 16077} 16078 16079 16080# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 16081func_cc_basename () 16082{ 16083 for cc_temp in $*""; do 16084 case $cc_temp in 16085 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 16086 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 16087 \-*) ;; 16088 *) break;; 16089 esac 16090 done 16091 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 16092} 16093 16094 16095# ### END FUNCTIONS SHARED WITH CONFIGURE 16096 16097_LT_EOF 16098 16099 case $host_os in 16100 aix3*) 16101 cat <<\_LT_EOF >> "$cfgfile" 16102# AIX sometimes has problems with the GCC collect2 program. For some 16103# reason, if we set the COLLECT_NAMES environment variable, the problems 16104# vanish in a puff of smoke. 16105if test set != "${COLLECT_NAMES+set}"; then 16106 COLLECT_NAMES= 16107 export COLLECT_NAMES 16108fi 16109_LT_EOF 16110 ;; 16111 esac 16112 16113 16114 16115ltmain=$ac_aux_dir/ltmain.sh 16116 16117 16118 # We use sed instead of cat because bash on DJGPP gets confused if 16119 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16120 # text mode, it properly converts lines to CR/LF. This bash problem 16121 # is reportedly fixed, but why not run on old versions too? 16122 sed '$q' "$ltmain" >> "$cfgfile" \ 16123 || (rm -f "$cfgfile"; exit 1) 16124 16125 mv -f "$cfgfile" "$ofile" || 16126 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16127 chmod +x "$ofile" 16128 16129 ;; 16130 16131 esac 16132done # for ac_tag 16133 16134 16135as_fn_exit 0 16136_ACEOF 16137ac_clean_files=$ac_clean_files_save 16138 16139test $ac_write_fail = 0 || 16140 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16141 16142 16143# configure is writing to config.log, and then calls config.status. 16144# config.status does its own redirection, appending to config.log. 16145# Unfortunately, on DOS this fails, as config.log is still kept open 16146# by configure, so config.status won't be able to write to it; its 16147# output is simply discarded. So we exec the FD to /dev/null, 16148# effectively closing config.log, so it can be properly (re)opened and 16149# appended to by config.status. When coming back to configure, we 16150# need to make the FD available again. 16151if test "$no_create" != yes; then 16152 ac_cs_success=: 16153 ac_config_status_args= 16154 test "$silent" = yes && 16155 ac_config_status_args="$ac_config_status_args --quiet" 16156 exec 5>/dev/null 16157 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16158 exec 5>>config.log 16159 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16160 # would make configure fail if this is the last instruction. 16161 $ac_cs_success || as_fn_exit 1 16162fi 16163if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16165printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16166fi 16167 16168 16169