1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.72a.18-fbdf for librsb 1.2.0.10. 4# 5# Report bugs to <michelemartone_AT_users_DOT_sourceforge_DOT_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# Copyright (c) 2008-2021, Michele Martone 16## -------------------- ## 17## M4sh Initialization. ## 18## -------------------- ## 19 20# Be more Bourne compatible 21DUALCASE=1; export DUALCASE # for MKS sh 22as_nop=: 23if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 24then : 25 emulate sh 26 NULLCMD=: 27 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 28 # is contrary to our usage. Disable this feature. 29 alias -g '${1+"$@"}'='"$@"' 30 setopt NO_GLOB_SUBST 31else $as_nop 32 case `(set -o) 2>/dev/null` in #( 33 *posix*) : 34 set -o posix ;; #( 35 *) : 36 ;; 37esac 38fi 39 40 41 42# Reset variables that may have inherited troublesome values from 43# the environment. 44 45# IFS needs to be set, to space, tab, and newline, in precisely that order. 46# (If _AS_PATH_WALK were called with IFS unset, it would have the 47# side effect of setting IFS to empty, thus disabling word splitting.) 48# Quoting is to prevent editors from complaining about space-tab. 49as_nl=' 50' 51export as_nl 52IFS=" "" $as_nl" 53 54PS1='$ ' 55PS2='> ' 56PS4='+ ' 57 58# Ensure predictable behavior from utilities with locale-dependent output. 59LC_ALL=C 60export LC_ALL 61LANGUAGE=C 62export LANGUAGE 63 64# We cannot yet rely on "unset" to work, but we need these variables 65# to be unset--not just set to an empty or harmless value--now, to 66# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 67# also avoids known problems related to "unset" and subshell syntax 68# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 69for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 70do eval test \${$as_var+y} \ 71 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 72done 73 74# Ensure that fds 0, 1, and 2 are open. 75if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 76if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 77if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 78 79# The user is always right. 80if ${PATH_SEPARATOR+false} :; then 81 PATH_SEPARATOR=: 82 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 83 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 84 PATH_SEPARATOR=';' 85 } 86fi 87 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 case $as_dir in #((( 98 '') as_dir=./ ;; 99 */) ;; 100 *) as_dir=$as_dir/ ;; 101 esac 102 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 103 done 104IFS=$as_save_IFS 105 106 ;; 107esac 108# We did not find ourselves, most probably we were run as 'sh COMMAND' 109# in which case we are not to be found in the path. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 117 118 119# Use a proper internal environment variable to ensure we don't fall 120 # into an infinite loop, continuously re-executing ourselves. 121 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 122 _as_can_reexec=no; export _as_can_reexec; 123 # We cannot yet assume a decent shell, so we have to provide a 124# neutralization value for shells without unset; and this also 125# works around shells that cannot unset nonexistent variables. 126# Preserve -v and -x to the replacement shell. 127BASH_ENV=/dev/null 128ENV=/dev/null 129(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 130case $- in # (((( 131 *v*x* | *x*v* ) as_opts=-vx ;; 132 *v* ) as_opts=-v ;; 133 *x* ) as_opts=-x ;; 134 * ) as_opts= ;; 135esac 136exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 137# Admittedly, this is quite paranoid, since all the known shells bail 138# out after a failed 'exec'. 139printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 140exit 255 141 fi 142 # We don't want this to propagate to other subprocesses. 143 { _as_can_reexec=; unset _as_can_reexec;} 144if test "x$CONFIG_SHELL" = x; then 145 as_bourne_compatible="as_nop=: 146if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 147then : 148 emulate sh 149 NULLCMD=: 150 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 151 # is contrary to our usage. Disable this feature. 152 alias -g '\${1+\"\$@\"}'='\"\$@\"' 153 setopt NO_GLOB_SUBST 154else \$as_nop 155 case \`(set -o) 2>/dev/null\` in #( 156 *posix*) : 157 set -o posix ;; #( 158 *) : 159 ;; 160esac 161fi 162" 163 as_required="as_fn_return () { (exit \$1); } 164as_fn_success () { as_fn_return 0; } 165as_fn_failure () { as_fn_return 1; } 166as_fn_ret_success () { return 0; } 167as_fn_ret_failure () { return 1; } 168 169exitcode=0 170as_fn_success || { exitcode=1; echo as_fn_success failed.; } 171as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 172as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 173as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 174if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 175then : 176 177else \$as_nop 178 exitcode=1; echo positional parameters were not saved. 179fi 180test x\$exitcode = x0 || exit 1 181blah=\$(echo \$(echo blah)) 182test x\"\$blah\" = xblah || exit 1 183test -x / || exit 1" 184 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 185 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 186 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 187 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 188 189 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 190 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 191 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 192 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 193 PATH=/empty FPATH=/empty; export PATH FPATH 194 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 195 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 196test \$(( 1 + 1 )) = 2 || exit 1" 197 if (eval "$as_required") 2>/dev/null 198then : 199 as_have_required=yes 200else $as_nop 201 as_have_required=no 202fi 203 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 204then : 205 206else $as_nop 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208as_found=false 209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 210do 211 IFS=$as_save_IFS 212 case $as_dir in #((( 213 '') as_dir=./ ;; 214 */) ;; 215 *) as_dir=$as_dir/ ;; 216 esac 217 as_found=: 218 case $as_dir in #( 219 /*) 220 for as_base in sh bash ksh sh5; do 221 # Try only shells that exist, to save several forks. 222 as_shell=$as_dir$as_base 223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 224 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 225then : 226 CONFIG_SHELL=$as_shell as_have_required=yes 227 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 228then : 229 break 2 230fi 231fi 232 done;; 233 esac 234 as_found=false 235done 236IFS=$as_save_IFS 237if $as_found 238then : 239 240else $as_nop 241 if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 243then : 244 CONFIG_SHELL=$SHELL as_have_required=yes 245fi 246fi 247 248 249 if test "x$CONFIG_SHELL" != x 250then : 251 export CONFIG_SHELL 252 # We cannot yet assume a decent shell, so we have to provide a 253# neutralization value for shells without unset; and this also 254# works around shells that cannot unset nonexistent variables. 255# Preserve -v and -x to the replacement shell. 256BASH_ENV=/dev/null 257ENV=/dev/null 258(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 259case $- in # (((( 260 *v*x* | *x*v* ) as_opts=-vx ;; 261 *v* ) as_opts=-v ;; 262 *x* ) as_opts=-x ;; 263 * ) as_opts= ;; 264esac 265exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 266# Admittedly, this is quite paranoid, since all the known shells bail 267# out after a failed 'exec'. 268printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 269exit 255 270fi 271 272 if test x$as_have_required = xno 273then : 274 printf "%s\n" "$0: This script requires a shell more modern than all" 275 printf "%s\n" "$0: the shells that I found on your system." 276 if test ${ZSH_VERSION+y} ; then 277 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 278 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 279 else 280 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 281$0: michelemartone_AT_users_DOT_sourceforge_DOT_net about 282$0: your system, including any error possibly output before 283$0: this message. Then install a modern shell, or manually 284$0: run the script under such a shell if you do have one." 285 fi 286 exit 1 287fi 288fi 289fi 290SHELL=${CONFIG_SHELL-/bin/sh} 291export SHELL 292# Unset more variables known to interfere with behavior of common tools. 293CLICOLOR_FORCE= GREP_OPTIONS= 294unset CLICOLOR_FORCE GREP_OPTIONS 295 296## --------------------- ## 297## M4sh Shell Functions. ## 298## --------------------- ## 299# as_fn_unset VAR 300# --------------- 301# Portably unset VAR. 302as_fn_unset () 303{ 304 { eval $1=; unset $1;} 305} 306as_unset=as_fn_unset 307 308 309# as_fn_set_status STATUS 310# ----------------------- 311# Set $? to STATUS, without forking. 312as_fn_set_status () 313{ 314 return $1 315} # as_fn_set_status 316 317# as_fn_exit STATUS 318# ----------------- 319# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 320as_fn_exit () 321{ 322 set +e 323 as_fn_set_status $1 324 exit $1 325} # as_fn_exit 326# as_fn_nop 327# --------- 328# Do nothing but, unlike ":", preserve the value of $?. 329as_fn_nop () 330{ 331 return $? 332} 333as_nop=as_fn_nop 334 335# as_fn_mkdir_p 336# ------------- 337# Create "$as_dir" as a directory, including parents if necessary. 338as_fn_mkdir_p () 339{ 340 341 case $as_dir in #( 342 -*) as_dir=./$as_dir;; 343 esac 344 test -d "$as_dir" || eval $as_mkdir_p || { 345 as_dirs= 346 while :; do 347 case $as_dir in #( 348 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 349 *) as_qdir=$as_dir;; 350 esac 351 as_dirs="'$as_qdir' $as_dirs" 352 as_dir=`$as_dirname -- "$as_dir" || 353$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 354 X"$as_dir" : 'X\(//\)[^/]' \| \ 355 X"$as_dir" : 'X\(//\)$' \| \ 356 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 357printf "%s\n" X"$as_dir" | 358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 359 s//\1/ 360 q 361 } 362 /^X\(\/\/\)[^/].*/{ 363 s//\1/ 364 q 365 } 366 /^X\(\/\/\)$/{ 367 s//\1/ 368 q 369 } 370 /^X\(\/\).*/{ 371 s//\1/ 372 q 373 } 374 s/.*/./; q'` 375 test -d "$as_dir" && break 376 done 377 test -z "$as_dirs" || eval "mkdir $as_dirs" 378 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 379 380 381} # as_fn_mkdir_p 382 383# as_fn_executable_p FILE 384# ----------------------- 385# Test if FILE is an executable regular file. 386as_fn_executable_p () 387{ 388 test -f "$1" && test -x "$1" 389} # as_fn_executable_p 390# as_fn_append VAR VALUE 391# ---------------------- 392# Append the text in VALUE to the end of the definition contained in VAR. Take 393# advantage of any shell optimizations that allow amortized linear growth over 394# repeated appends, instead of the typical quadratic growth present in naive 395# implementations. 396if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 397then : 398 eval 'as_fn_append () 399 { 400 eval $1+=\$2 401 }' 402else $as_nop 403 as_fn_append () 404 { 405 eval $1=\$$1\$2 406 } 407fi # as_fn_append 408 409# as_fn_arith ARG... 410# ------------------ 411# Perform arithmetic evaluation on the ARGs, and store the result in the 412# global $as_val. Take advantage of shells that can avoid forks. The arguments 413# must be portable across $(()) and expr. 414if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 415then : 416 eval 'as_fn_arith () 417 { 418 as_val=$(( $* )) 419 }' 420else $as_nop 421 as_fn_arith () 422 { 423 as_val=`expr "$@" || test $? -eq 1` 424 } 425fi # as_fn_arith 426 427# as_fn_nop 428# --------- 429# Do nothing but, unlike ":", preserve the value of $?. 430as_fn_nop () 431{ 432 return $? 433} 434as_nop=as_fn_nop 435 436# as_fn_error STATUS ERROR [LINENO LOG_FD] 437# ---------------------------------------- 438# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 439# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 440# script with STATUS, using 1 if that was 0. 441as_fn_error () 442{ 443 as_status=$1; test $as_status -eq 0 && as_status=1 444 if test "$4"; then 445 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 447 fi 448 printf "%s\n" "$as_me: error: $2" >&2 449 as_fn_exit $as_status 450} # as_fn_error 451 452if expr a : '\(a\)' >/dev/null 2>&1 && 453 test "X`expr 00001 : '.*\(...\)'`" = X001; then 454 as_expr=expr 455else 456 as_expr=false 457fi 458 459if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 460 as_basename=basename 461else 462 as_basename=false 463fi 464 465if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 466 as_dirname=dirname 467else 468 as_dirname=false 469fi 470 471as_me=`$as_basename -- "$0" || 472$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 473 X"$0" : 'X\(//\)$' \| \ 474 X"$0" : 'X\(/\)' \| . 2>/dev/null || 475printf "%s\n" X/"$0" | 476 sed '/^.*\/\([^/][^/]*\)\/*$/{ 477 s//\1/ 478 q 479 } 480 /^X\/\(\/\/\)$/{ 481 s//\1/ 482 q 483 } 484 /^X\/\(\/\).*/{ 485 s//\1/ 486 q 487 } 488 s/.*/./; q'` 489 490# Avoid depending upon Character Ranges. 491as_cr_letters='abcdefghijklmnopqrstuvwxyz' 492as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 493as_cr_Letters=$as_cr_letters$as_cr_LETTERS 494as_cr_digits='0123456789' 495as_cr_alnum=$as_cr_Letters$as_cr_digits 496 497 498 as_lineno_1=$LINENO as_lineno_1a=$LINENO 499 as_lineno_2=$LINENO as_lineno_2a=$LINENO 500 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 501 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 502 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 503 sed -n ' 504 p 505 /[$]LINENO/= 506 ' <$as_myself | 507 sed ' 508 s/[$]LINENO.*/&-/ 509 t lineno 510 b 511 :lineno 512 N 513 :loop 514 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 515 t loop 516 s/-\n.*// 517 ' >$as_me.lineno && 518 chmod +x "$as_me.lineno" || 519 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 520 521 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 522 # already done that, so ensure we don't try to do so again and fall 523 # in an infinite loop. This has already happened in practice. 524 _as_can_reexec=no; export _as_can_reexec 525 # Don't try to exec as it changes $[0], causing all sort of problems 526 # (the dirname of $[0] is not the place where we might find the 527 # original and so on. Autoconf is especially sensitive to this). 528 . "./$as_me.lineno" 529 # Exit status is that of the last command. 530 exit 531} 532 533 534# Determine whether it's possible to make 'echo' print without a newline. 535# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 536# for compatibility with existing Makefiles. 537ECHO_C= ECHO_N= ECHO_T= 538case `echo -n x` in #((((( 539-n*) 540 case `echo 'xy\c'` in 541 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 542 xy) ECHO_C='\c';; 543 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 544 ECHO_T=' ';; 545 esac;; 546*) 547 ECHO_N='-n';; 548esac 549 550# For backward compatibility with old third-party macros, we provide 551# the shell variables $as_echo and $as_echo_n. New code should use 552# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 553as_echo='printf %s\n' 554as_echo_n='printf %s' 555 556 557rm -f conf$$ conf$$.exe conf$$.file 558if test -d conf$$.dir; then 559 rm -f conf$$.dir/conf$$.file 560else 561 rm -f conf$$.dir 562 mkdir conf$$.dir 2>/dev/null 563fi 564if (echo >conf$$.file) 2>/dev/null; then 565 if ln -s conf$$.file conf$$ 2>/dev/null; then 566 as_ln_s='ln -s' 567 # ... but there are two gotchas: 568 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. 569 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. 570 # In both cases, we have to default to 'cp -pR'. 571 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 572 as_ln_s='cp -pR' 573 elif ln conf$$.file conf$$ 2>/dev/null; then 574 as_ln_s=ln 575 else 576 as_ln_s='cp -pR' 577 fi 578else 579 as_ln_s='cp -pR' 580fi 581rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 582rmdir conf$$.dir 2>/dev/null 583 584if mkdir -p . 2>/dev/null; then 585 as_mkdir_p='mkdir -p "$as_dir"' 586else 587 test -d ./-p && rmdir ./-p 588 as_mkdir_p=false 589fi 590 591as_test_x='test -x' 592as_executable_p=as_fn_executable_p 593 594# Sed expression to map a string onto a valid CPP name. 595as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 596 597# Sed expression to map a string onto a valid variable name. 598as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 599 600SHELL=${CONFIG_SHELL-/bin/sh} 601 602 603test -n "$DJDIR" || exec 7<&0 </dev/null 604exec 6>&1 605 606# Name of the host. 607# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 608# so uname gets run too. 609ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 610 611# 612# Initializations. 613# 614ac_default_prefix=/usr/local 615ac_clean_files= 616ac_config_libobj_dir=. 617LIBOBJS= 618cross_compiling=no 619subdirs= 620MFLAGS= 621MAKEFLAGS= 622 623# Identity of this package. 624PACKAGE_NAME='librsb' 625PACKAGE_TARNAME='librsb' 626PACKAGE_VERSION='1.2.0.10' 627PACKAGE_STRING='librsb 1.2.0.10' 628PACKAGE_BUGREPORT='michelemartone_AT_users_DOT_sourceforge_DOT_net' 629PACKAGE_URL='' 630 631# Factoring default headers for most tests. 632ac_includes_default="\ 633#include <stddef.h> 634#ifdef HAVE_STDIO_H 635# include <stdio.h> 636#endif 637#ifdef HAVE_STDLIB_H 638# include <stdlib.h> 639#endif 640#ifdef HAVE_STRING_H 641# include <string.h> 642#endif 643#ifdef HAVE_INTTYPES_H 644# include <inttypes.h> 645#endif 646#ifdef HAVE_STDINT_H 647# include <stdint.h> 648#endif 649#ifdef HAVE_STRINGS_H 650# include <strings.h> 651#endif 652#ifdef HAVE_SYS_TYPES_H 653# include <sys/types.h> 654#endif 655#ifdef HAVE_SYS_STAT_H 656# include <sys/stat.h> 657#endif 658#ifdef HAVE_UNISTD_H 659# include <unistd.h> 660#endif" 661 662ac_header_c_list= 663ac_func_c_list= 664ac_subst_vars='am__EXEEXT_FALSE 665am__EXEEXT_TRUE 666LTLIBOBJS 667LIBOBJS 668OCTAVE_FLAGS 669WANT_OMPIO_SUPPORT_FALSE 670WANT_OMPIO_SUPPORT_TRUE 671WANT_INTERNAL_HEADERS_INSTALL_FALSE 672WANT_INTERNAL_HEADERS_INSTALL_TRUE 673HAVE_SPARSE_BLAS_INTERFACE_FALSE 674HAVE_SPARSE_BLAS_INTERFACE_TRUE 675HAVE_FC_FALSE 676HAVE_FC_TRUE 677HAVE_M4_FALSE 678HAVE_M4_TRUE 679HAVE_HELP2MAN_FALSE 680HAVE_HELP2MAN_TRUE 681HAVE_PKGCONFIG_INSTALL_FALSE 682HAVE_PKGCONFIG_INSTALL_TRUE 683WANT_BUILD_DOC_FALSE 684WANT_BUILD_DOC_TRUE 685HAVE_DOXYGEN_FALSE 686HAVE_DOXYGEN_TRUE 687WANT_BLAS_SPARSE_MOD_INSTALL_FALSE 688WANT_BLAS_SPARSE_MOD_INSTALL_TRUE 689WANT_OCTAVE_TESTING_AND_INT_FALSE 690WANT_OCTAVE_TESTING_AND_INT_TRUE 691WANT_OCTAVE_TESTING_FALSE 692WANT_OCTAVE_TESTING_TRUE 693HAVE_OCTAVE_FALSE 694HAVE_OCTAVE_TRUE 695HAVE_C_EXAMPLES_FALSE 696HAVE_C_EXAMPLES_TRUE 697HAVE_FORTRAN_EXAMPLES_FALSE 698HAVE_FORTRAN_EXAMPLES_TRUE 699HAVE_FORTRAN_EXAMPLES 700EOL 701WANT_MATRIX_ALL_TYPES 702WANT_MATRIX_ALL_OPS 703WANT_MATRIX_ALL_META_OPS 704WANT_MATRIX_OPS 705WANT_MATRIX_STORAGE 706WANT_MATRIX_VB_STORAGE 707WANT_MATRIX_LINKED_STORAGE 708WANT_MATRIX_BCOO_STORAGE 709WANT_MATRIX_BCSS_STORAGE 710WANT_TYPES 711WANT_SPSM_DIAG_CHECK 712WANT_HALFWORD_INDICES 713WANT_SIMPLE_LOOP_UNROLL_DEFAULT_FACTOR 714WANT_COLUMN_UNLOOP_FACTORS 715WANT_LOOPING_KERNELS 716WANT_ROW_UNLOOP_FACTORS 717RSB_RSBENCH_CFLAGS 718RSB_RSBENCH_LIBS 719HIDDEN_VISIBILITY_CFLAGS 720NOUNROLLCFLAGS 721enable_openmp 722enable_restrict 723RSB_CONST_MAX_SUPPORTED_THREADS 724RSB_DETECTED_MEM_HIERARCHY_INFO 725OPENMP_FCFLAGS 726RSB_USER_SET_MEM_HIERARCHY_INFO 727ARFLAGS 728NPROC 729CUT 730M4 731HELP2MAN 732DOXYGEN 733OCTAVE 734have_sed 735have_grep 736am__fastdepCCAS_FALSE 737am__fastdepCCAS_TRUE 738CCASDEPMODE 739CCASFLAGS 740CCAS 741OPENMP_CFLAGS 742ac_ct_FC 743FCFLAGS 744FC 745LT_SYS_LIBRARY_PATH 746OTOOL64 747OTOOL 748LIPO 749NMEDIT 750DSYMUTIL 751MANIFEST_TOOL 752RANLIB 753ac_ct_AR 754AR 755DLLTOOL 756OBJDUMP 757LN_S 758NM 759ac_ct_DUMPBIN 760DUMPBIN 761LD 762FGREP 763EGREP 764GREP 765SED 766am__fastdepCC_FALSE 767am__fastdepCC_TRUE 768CCDEPMODE 769am__nodep 770AMDEPBACKSLASH 771AMDEP_FALSE 772AMDEP_TRUE 773am__include 774DEPDIR 775OBJEXT 776EXEEXT 777ac_ct_CC 778CPPFLAGS 779LDFLAGS 780CFLAGS 781CC 782host_os 783host_vendor 784host_cpu 785host 786build_os 787build_vendor 788build_cpu 789build 790LIBTOOL 791AM_BACKSLASH 792AM_DEFAULT_VERBOSITY 793AM_DEFAULT_V 794AM_V 795am__untar 796am__tar 797AMTAR 798am__leading_dot 799SET_MAKE 800AWK 801mkdir_p 802MKDIR_P 803INSTALL_STRIP_PROGRAM 804STRIP 805install_sh 806MAKEINFO 807AUTOHEADER 808AUTOMAKE 809AUTOCONF 810ACLOCAL 811VERSION 812PACKAGE 813CYGPATH_W 814am__isrc 815INSTALL_DATA 816INSTALL_SCRIPT 817INSTALL_PROGRAM 818SVN_REVISION 819LIBRSB_ABI_VERSION 820LIBRSB_MAIN_RELEASE 821LIBRSB_VERSION 822LIBRSB_LIBRSB_VER 823LIBRSB_VER_PRERS 824LIBRSB_VER_DATE 825LIBRSB_VER_PATCH 826LIBRSB_VER_MINOR 827LIBRSB_VER_MAJOR 828target_alias 829host_alias 830build_alias 831LIBS 832ECHO_T 833ECHO_N 834ECHO_C 835DEFS 836mandir 837localedir 838libdir 839psdir 840pdfdir 841dvidir 842htmldir 843infodir 844docdir 845oldincludedir 846includedir 847runstatedir 848localstatedir 849sharedstatedir 850sysconfdir 851datadir 852datarootdir 853libexecdir 854sbindir 855bindir 856program_transform_name 857prefix 858exec_prefix 859PACKAGE_URL 860PACKAGE_BUGREPORT 861PACKAGE_STRING 862PACKAGE_VERSION 863PACKAGE_TARNAME 864PACKAGE_NAME 865PATH_SEPARATOR 866SHELL 867am__quote' 868ac_subst_files='' 869ac_user_opts=' 870enable_option_checking 871enable_silent_rules 872enable_shared 873enable_static 874with_pic 875enable_fast_install 876with_aix_soname 877enable_dependency_tracking 878with_gnu_ld 879with_sysroot 880enable_libtool_lock 881enable_openmp 882with_math 883with_xdr 884with_hwloc 885with_dmalloc 886with_mkl_include 887with_mkl 888with_zlib 889with_ompio 890with_nounroll_cflag 891enable_internals_error_verbosity 892enable_interface_error_verbosity 893enable_io_level 894with_max_threads 895with_memhinfo 896with_ar 897with_arflags 898with_m4 899enable_matrix_types 900enable_matrix_ops 901enable_vector_utils_loop_unrolls 902enable_octave_testing 903enable_sparse_blas_interface 904with_oski 905with_likwid 906enable_allocator_wrapper 907enable_alignment 908enable_librsb_stats 909enable_rsb_num_threads 910enable_fortran_module_install 911enable_pkg_config_install 912enable_doc_build 913enable_shlib_linked_examples 914enable_c_examples 915enable_fortran_examples 916enable_restrict 917with_c99_flag 918enable_zero_division_checks_on_solve 919enable_sigaction_interruptible_rsbench 920enable_internal_headers_install 921enable_debug_getenvs 922enable_debug 923with_papi 924' 925 ac_precious_vars='build_alias 926host_alias 927target_alias 928CC 929CFLAGS 930LDFLAGS 931LIBS 932CPPFLAGS 933LT_SYS_LIBRARY_PATH 934FC 935FCFLAGS 936CCAS 937CCASFLAGS 938M4 939OCTAVE 940AR 941ARFLAGS 942LD 943DOXYGEN 944HELP2MAN 945RSB_USER_SET_MEM_HIERARCHY_INFO 946OPENMP_CFLAGS 947OPENMP_FCFLAGS' 948 949 950# Initialize some variables set by options. 951ac_init_help= 952ac_init_version=false 953ac_unrecognized_opts= 954ac_unrecognized_sep= 955# The variables have the same names as the options, with 956# dashes changed to underlines. 957cache_file=/dev/null 958exec_prefix=NONE 959no_create= 960no_recursion= 961prefix=NONE 962program_prefix=NONE 963program_suffix=NONE 964program_transform_name=s,x,x, 965silent= 966site= 967srcdir= 968verbose= 969x_includes=NONE 970x_libraries=NONE 971 972# Installation directory options. 973# These are left unexpanded so users can "make install exec_prefix=/foo" 974# and all the variables that are supposed to be based on exec_prefix 975# by default will actually change. 976# Use braces instead of parens because sh, perl, etc. also accept them. 977# (The list follows the same order as the GNU Coding Standards.) 978bindir='${exec_prefix}/bin' 979sbindir='${exec_prefix}/sbin' 980libexecdir='${exec_prefix}/libexec' 981datarootdir='${prefix}/share' 982datadir='${datarootdir}' 983sysconfdir='${prefix}/etc' 984sharedstatedir='${prefix}/com' 985localstatedir='${prefix}/var' 986runstatedir='${localstatedir}/run' 987includedir='${prefix}/include' 988oldincludedir='/usr/include' 989docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 990infodir='${datarootdir}/info' 991htmldir='${docdir}' 992dvidir='${docdir}' 993pdfdir='${docdir}' 994psdir='${docdir}' 995libdir='${exec_prefix}/lib' 996localedir='${datarootdir}/locale' 997mandir='${datarootdir}/man' 998 999ac_prev= 1000ac_dashdash= 1001for ac_option 1002do 1003 # If the previous option needs an argument, assign it. 1004 if test -n "$ac_prev"; then 1005 eval $ac_prev=\$ac_option 1006 ac_prev= 1007 continue 1008 fi 1009 1010 case $ac_option in 1011 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1012 *=) ac_optarg= ;; 1013 *) ac_optarg=yes ;; 1014 esac 1015 1016 case $ac_dashdash$ac_option in 1017 --) 1018 ac_dashdash=yes ;; 1019 1020 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1021 ac_prev=bindir ;; 1022 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1023 bindir=$ac_optarg ;; 1024 1025 -build | --build | --buil | --bui | --bu) 1026 ac_prev=build_alias ;; 1027 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1028 build_alias=$ac_optarg ;; 1029 1030 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1031 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1032 ac_prev=cache_file ;; 1033 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1034 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1035 cache_file=$ac_optarg ;; 1036 1037 --config-cache | -C) 1038 cache_file=config.cache ;; 1039 1040 -datadir | --datadir | --datadi | --datad) 1041 ac_prev=datadir ;; 1042 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1043 datadir=$ac_optarg ;; 1044 1045 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1046 | --dataroo | --dataro | --datar) 1047 ac_prev=datarootdir ;; 1048 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1049 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1050 datarootdir=$ac_optarg ;; 1051 1052 -disable-* | --disable-*) 1053 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1054 # Reject names that are not valid shell variable names. 1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1056 as_fn_error $? "invalid feature name: '$ac_useropt'" 1057 ac_useropt_orig=$ac_useropt 1058 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1059 case $ac_user_opts in 1060 *" 1061"enable_$ac_useropt" 1062"*) ;; 1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1064 ac_unrecognized_sep=', ';; 1065 esac 1066 eval enable_$ac_useropt=no ;; 1067 1068 -docdir | --docdir | --docdi | --doc | --do) 1069 ac_prev=docdir ;; 1070 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1071 docdir=$ac_optarg ;; 1072 1073 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1074 ac_prev=dvidir ;; 1075 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1076 dvidir=$ac_optarg ;; 1077 1078 -enable-* | --enable-*) 1079 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1080 # Reject names that are not valid shell variable names. 1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1082 as_fn_error $? "invalid feature name: '$ac_useropt'" 1083 ac_useropt_orig=$ac_useropt 1084 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1085 case $ac_user_opts in 1086 *" 1087"enable_$ac_useropt" 1088"*) ;; 1089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1090 ac_unrecognized_sep=', ';; 1091 esac 1092 eval enable_$ac_useropt=\$ac_optarg ;; 1093 1094 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1095 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1096 | --exec | --exe | --ex) 1097 ac_prev=exec_prefix ;; 1098 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1099 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1100 | --exec=* | --exe=* | --ex=*) 1101 exec_prefix=$ac_optarg ;; 1102 1103 -gas | --gas | --ga | --g) 1104 # Obsolete; use --with-gas. 1105 with_gas=yes ;; 1106 1107 -help | --help | --hel | --he | -h) 1108 ac_init_help=long ;; 1109 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1110 ac_init_help=recursive ;; 1111 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1112 ac_init_help=short ;; 1113 1114 -host | --host | --hos | --ho) 1115 ac_prev=host_alias ;; 1116 -host=* | --host=* | --hos=* | --ho=*) 1117 host_alias=$ac_optarg ;; 1118 1119 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1120 ac_prev=htmldir ;; 1121 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1122 | --ht=*) 1123 htmldir=$ac_optarg ;; 1124 1125 -includedir | --includedir | --includedi | --included | --include \ 1126 | --includ | --inclu | --incl | --inc) 1127 ac_prev=includedir ;; 1128 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1129 | --includ=* | --inclu=* | --incl=* | --inc=*) 1130 includedir=$ac_optarg ;; 1131 1132 -infodir | --infodir | --infodi | --infod | --info | --inf) 1133 ac_prev=infodir ;; 1134 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1135 infodir=$ac_optarg ;; 1136 1137 -libdir | --libdir | --libdi | --libd) 1138 ac_prev=libdir ;; 1139 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1140 libdir=$ac_optarg ;; 1141 1142 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1143 | --libexe | --libex | --libe) 1144 ac_prev=libexecdir ;; 1145 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1146 | --libexe=* | --libex=* | --libe=*) 1147 libexecdir=$ac_optarg ;; 1148 1149 -localedir | --localedir | --localedi | --localed | --locale) 1150 ac_prev=localedir ;; 1151 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1152 localedir=$ac_optarg ;; 1153 1154 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1155 | --localstate | --localstat | --localsta | --localst | --locals) 1156 ac_prev=localstatedir ;; 1157 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1158 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1159 localstatedir=$ac_optarg ;; 1160 1161 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1162 ac_prev=mandir ;; 1163 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1164 mandir=$ac_optarg ;; 1165 1166 -nfp | --nfp | --nf) 1167 # Obsolete; use --without-fp. 1168 with_fp=no ;; 1169 1170 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1171 | --no-cr | --no-c | -n) 1172 no_create=yes ;; 1173 1174 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1175 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1176 no_recursion=yes ;; 1177 1178 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1179 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1180 | --oldin | --oldi | --old | --ol | --o) 1181 ac_prev=oldincludedir ;; 1182 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1183 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1184 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1185 oldincludedir=$ac_optarg ;; 1186 1187 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1188 ac_prev=prefix ;; 1189 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1190 prefix=$ac_optarg ;; 1191 1192 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1193 | --program-pre | --program-pr | --program-p) 1194 ac_prev=program_prefix ;; 1195 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1196 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1197 program_prefix=$ac_optarg ;; 1198 1199 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1200 | --program-suf | --program-su | --program-s) 1201 ac_prev=program_suffix ;; 1202 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1203 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1204 program_suffix=$ac_optarg ;; 1205 1206 -program-transform-name | --program-transform-name \ 1207 | --program-transform-nam | --program-transform-na \ 1208 | --program-transform-n | --program-transform- \ 1209 | --program-transform | --program-transfor \ 1210 | --program-transfo | --program-transf \ 1211 | --program-trans | --program-tran \ 1212 | --progr-tra | --program-tr | --program-t) 1213 ac_prev=program_transform_name ;; 1214 -program-transform-name=* | --program-transform-name=* \ 1215 | --program-transform-nam=* | --program-transform-na=* \ 1216 | --program-transform-n=* | --program-transform-=* \ 1217 | --program-transform=* | --program-transfor=* \ 1218 | --program-transfo=* | --program-transf=* \ 1219 | --program-trans=* | --program-tran=* \ 1220 | --progr-tra=* | --program-tr=* | --program-t=*) 1221 program_transform_name=$ac_optarg ;; 1222 1223 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1224 ac_prev=pdfdir ;; 1225 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1226 pdfdir=$ac_optarg ;; 1227 1228 -psdir | --psdir | --psdi | --psd | --ps) 1229 ac_prev=psdir ;; 1230 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1231 psdir=$ac_optarg ;; 1232 1233 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1234 | -silent | --silent | --silen | --sile | --sil) 1235 silent=yes ;; 1236 1237 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1238 | --runstate | --runstat | --runsta | --runst | --runs \ 1239 | --run | --ru | --r) 1240 ac_prev=runstatedir ;; 1241 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1242 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1243 | --run=* | --ru=* | --r=*) 1244 runstatedir=$ac_optarg ;; 1245 1246 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1247 ac_prev=sbindir ;; 1248 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1249 | --sbi=* | --sb=*) 1250 sbindir=$ac_optarg ;; 1251 1252 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1253 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1254 | --sharedst | --shareds | --shared | --share | --shar \ 1255 | --sha | --sh) 1256 ac_prev=sharedstatedir ;; 1257 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1258 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1259 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1260 | --sha=* | --sh=*) 1261 sharedstatedir=$ac_optarg ;; 1262 1263 -site | --site | --sit) 1264 ac_prev=site ;; 1265 -site=* | --site=* | --sit=*) 1266 site=$ac_optarg ;; 1267 1268 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1269 ac_prev=srcdir ;; 1270 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1271 srcdir=$ac_optarg ;; 1272 1273 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1274 | --syscon | --sysco | --sysc | --sys | --sy) 1275 ac_prev=sysconfdir ;; 1276 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1277 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1278 sysconfdir=$ac_optarg ;; 1279 1280 -target | --target | --targe | --targ | --tar | --ta | --t) 1281 ac_prev=target_alias ;; 1282 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1283 target_alias=$ac_optarg ;; 1284 1285 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1286 verbose=yes ;; 1287 1288 -version | --version | --versio | --versi | --vers | -V) 1289 ac_init_version=: ;; 1290 1291 -with-* | --with-*) 1292 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1293 # Reject names that are not valid shell variable names. 1294 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1295 as_fn_error $? "invalid package name: '$ac_useropt'" 1296 ac_useropt_orig=$ac_useropt 1297 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1298 case $ac_user_opts in 1299 *" 1300"with_$ac_useropt" 1301"*) ;; 1302 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1303 ac_unrecognized_sep=', ';; 1304 esac 1305 eval with_$ac_useropt=\$ac_optarg ;; 1306 1307 -without-* | --without-*) 1308 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1309 # Reject names that are not valid shell variable names. 1310 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1311 as_fn_error $? "invalid package name: '$ac_useropt'" 1312 ac_useropt_orig=$ac_useropt 1313 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1314 case $ac_user_opts in 1315 *" 1316"with_$ac_useropt" 1317"*) ;; 1318 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1319 ac_unrecognized_sep=', ';; 1320 esac 1321 eval with_$ac_useropt=no ;; 1322 1323 --x) 1324 # Obsolete; use --with-x. 1325 with_x=yes ;; 1326 1327 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1328 | --x-incl | --x-inc | --x-in | --x-i) 1329 ac_prev=x_includes ;; 1330 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1331 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1332 x_includes=$ac_optarg ;; 1333 1334 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1335 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1336 ac_prev=x_libraries ;; 1337 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1338 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1339 x_libraries=$ac_optarg ;; 1340 1341 -*) as_fn_error $? "unrecognized option: '$ac_option' 1342Try '$0 --help' for more information" 1343 ;; 1344 1345 *=*) 1346 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1347 # Reject names that are not valid shell variable names. 1348 case $ac_envvar in #( 1349 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1350 as_fn_error $? "invalid variable name: '$ac_envvar'" ;; 1351 esac 1352 eval $ac_envvar=\$ac_optarg 1353 export $ac_envvar ;; 1354 1355 *) 1356 # FIXME: should be removed in autoconf 3.0. 1357 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1358 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1359 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1360 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1361 ;; 1362 1363 esac 1364done 1365 1366if test -n "$ac_prev"; then 1367 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1368 as_fn_error $? "missing argument to $ac_option" 1369fi 1370 1371if test -n "$ac_unrecognized_opts"; then 1372 case $enable_option_checking in 1373 no) ;; 1374 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1375 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1376 esac 1377fi 1378 1379# Check all directory arguments for consistency. 1380for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1381 datadir sysconfdir sharedstatedir localstatedir includedir \ 1382 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1383 libdir localedir mandir runstatedir 1384do 1385 eval ac_val=\$$ac_var 1386 # Remove trailing slashes. 1387 case $ac_val in 1388 */ ) 1389 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1390 eval $ac_var=\$ac_val;; 1391 esac 1392 # Be sure to have absolute directory names. 1393 case $ac_val in 1394 [\\/$]* | ?:[\\/]* ) continue;; 1395 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1396 esac 1397 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1398done 1399 1400# There might be people who depend on the old broken behavior: '$host' 1401# used to hold the argument of --host etc. 1402# FIXME: To remove some day. 1403build=$build_alias 1404host=$host_alias 1405target=$target_alias 1406 1407# FIXME: To remove some day. 1408if test "x$host_alias" != x; then 1409 if test "x$build_alias" = x; then 1410 cross_compiling=maybe 1411 elif test "x$build_alias" != "x$host_alias"; then 1412 cross_compiling=yes 1413 fi 1414fi 1415 1416ac_tool_prefix= 1417test -n "$host_alias" && ac_tool_prefix=$host_alias- 1418 1419test "$silent" = yes && exec 6>/dev/null 1420 1421 1422ac_pwd=`pwd` && test -n "$ac_pwd" && 1423ac_ls_di=`ls -di .` && 1424ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1425 as_fn_error $? "working directory cannot be determined" 1426test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1427 as_fn_error $? "pwd does not report name of working directory" 1428 1429 1430# Find the source files, if location was not specified. 1431if test -z "$srcdir"; then 1432 ac_srcdir_defaulted=yes 1433 # Try the directory containing this script, then the parent directory. 1434 ac_confdir=`$as_dirname -- "$as_myself" || 1435$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1436 X"$as_myself" : 'X\(//\)[^/]' \| \ 1437 X"$as_myself" : 'X\(//\)$' \| \ 1438 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1439printf "%s\n" X"$as_myself" | 1440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1441 s//\1/ 1442 q 1443 } 1444 /^X\(\/\/\)[^/].*/{ 1445 s//\1/ 1446 q 1447 } 1448 /^X\(\/\/\)$/{ 1449 s//\1/ 1450 q 1451 } 1452 /^X\(\/\).*/{ 1453 s//\1/ 1454 q 1455 } 1456 s/.*/./; q'` 1457 srcdir=$ac_confdir 1458 if test ! -r "$srcdir/$ac_unique_file"; then 1459 srcdir=.. 1460 fi 1461else 1462 ac_srcdir_defaulted=no 1463fi 1464if test ! -r "$srcdir/$ac_unique_file"; then 1465 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1466 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1467fi 1468ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" 1469ac_abs_confdir=`( 1470 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1471 pwd)` 1472# When building in place, set srcdir=. 1473if test "$ac_abs_confdir" = "$ac_pwd"; then 1474 srcdir=. 1475fi 1476# Remove unnecessary trailing slashes from srcdir. 1477# Double slashes in file names in object file debugging info 1478# mess up M-x gdb in Emacs. 1479case $srcdir in 1480*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1481esac 1482for ac_var in $ac_precious_vars; do 1483 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1484 eval ac_env_${ac_var}_value=\$${ac_var} 1485 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1486 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1487done 1488 1489# 1490# Report the --help message. 1491# 1492if test "$ac_init_help" = "long"; then 1493 # Omit some internal or obsolete options to make the list less imposing. 1494 # This message is too long to be a string in the A/UX 3.1 sh. 1495 cat <<_ACEOF 1496'configure' configures librsb 1.2.0.10 to adapt to many kinds of systems. 1497 1498Usage: $0 [OPTION]... [VAR=VALUE]... 1499 1500To assign environment variables (e.g., CC, CFLAGS...), specify them as 1501VAR=VALUE. See below for descriptions of some of the useful variables. 1502 1503Defaults for the options are specified in brackets. 1504 1505Configuration: 1506 -h, --help display this help and exit 1507 --help=short display options specific to this package 1508 --help=recursive display the short help of all the included packages 1509 -V, --version display version information and exit 1510 -q, --quiet, --silent do not print 'checking ...' messages 1511 --cache-file=FILE cache test results in FILE [disabled] 1512 -C, --config-cache alias for '--cache-file=config.cache' 1513 -n, --no-create do not create output files 1514 --srcdir=DIR find the sources in DIR [configure dir or '..'] 1515 1516Installation directories: 1517 --prefix=PREFIX install architecture-independent files in PREFIX 1518 [$ac_default_prefix] 1519 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1520 [PREFIX] 1521 1522By default, 'make install' will install all the files in 1523'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify 1524an installation prefix other than '$ac_default_prefix' using '--prefix', 1525for instance '--prefix=\$HOME'. 1526 1527For better control, use the options below. 1528 1529Fine tuning of the installation directories: 1530 --bindir=DIR user executables [EPREFIX/bin] 1531 --sbindir=DIR system admin executables [EPREFIX/sbin] 1532 --libexecdir=DIR program executables [EPREFIX/libexec] 1533 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1534 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1535 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1536 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1537 --libdir=DIR object code libraries [EPREFIX/lib] 1538 --includedir=DIR C header files [PREFIX/include] 1539 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1540 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1541 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1542 --infodir=DIR info documentation [DATAROOTDIR/info] 1543 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1544 --mandir=DIR man documentation [DATAROOTDIR/man] 1545 --docdir=DIR documentation root [DATAROOTDIR/doc/librsb] 1546 --htmldir=DIR html documentation [DOCDIR] 1547 --dvidir=DIR dvi documentation [DOCDIR] 1548 --pdfdir=DIR pdf documentation [DOCDIR] 1549 --psdir=DIR ps documentation [DOCDIR] 1550_ACEOF 1551 1552 cat <<\_ACEOF 1553 1554Program names: 1555 --program-prefix=PREFIX prepend PREFIX to installed program names 1556 --program-suffix=SUFFIX append SUFFIX to installed program names 1557 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1558 1559System types: 1560 --build=BUILD configure for building on BUILD [guessed] 1561 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1562_ACEOF 1563fi 1564 1565if test -n "$ac_init_help"; then 1566 case $ac_init_help in 1567 short | recursive ) echo "Configuration of librsb 1.2.0.10:";; 1568 esac 1569 cat <<\_ACEOF 1570 1571Optional Features: 1572 --disable-option-checking ignore unrecognized --enable/--with options 1573 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1574 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1575 --enable-silent-rules less verbose build output (undo: "make V=1") 1576 --disable-silent-rules verbose build output (undo: "make V=0") 1577 --enable-shared[=PKGS] build shared libraries [default=yes] 1578 --enable-static[=PKGS] build static libraries [default=yes] 1579 --enable-fast-install[=PKGS] 1580 optimize for fast installation [default=yes] 1581 --enable-dependency-tracking 1582 do not reject slow dependency extractors 1583 --disable-dependency-tracking 1584 speeds up one-time build 1585 --disable-libtool-lock avoid locking (might break parallel builds) 1586 --disable-openmp do not use OpenMP 1587 --enable-internals-error-verbosity 1588 Set error verbosity level of library internal 1589 functions (RSB_INT_ERR_VERBOSITY): can be 0 (no 1590 printout at all, never), 1 (on error). Use this to 1591 debug the library itself. Experimental. 1592 --enable-interface-error-verbosity 1593 Set error verbosity level of library interface 1594 functions (RSB_OUT_ERR_VERBOSITY): can be 0 (no 1595 printout), 1 (printout on error, if requested), 2 1596 (printout on error), 99 (exit on error). Use this to 1597 debug your program or to better understand the 1598 library usage. 1599 --enable-io-level Set input/output functionality level 1600 (RSB_WANT_IO_LEVEL), a number between 0 and 7, as 1601 any sum combination of 1 (standard input/output), 2 1602 (standard error), 4 (arbitrary descriptors). 1603 (experimental). 1604 --enable-matrix-types Generate kernels for specified types 1605 (default:"double,float,float complex,double complex") (you can specify 'all' to 1606 get all of them, or 'blas' for Sparse BLAS ones) 1607 --enable-matrix-ops Generate kernels for specified matrix operations 1608 (default:spmv_uaua,spmv_uauz,spmv_uxua,spmv_unua,spmv_sasa,spsv_uxua,spmv_sxsa,spsv_sxsx,infty_norm,rowssums,scale) (you can specify 'all' 1609 to get all of them, or 'blas' for only ones for 1610 Sparse BLAS, or 'psblas' for only ones for PSBLAS) 1611 (Experimental, the default "all" is recommended.) 1612 --enable-vector-utils-loop-unrolls 1613 Loop unrolling of generated vector utility functions 1614 (default:16) 1615 --enable-octave-testing Enabling GNU Octave based testing. 1616 --disable-sparse-blas-interface 1617 Build a Sparse BLAS interface to librsb. 1618 --enable-allocator-wrapper 1619 If enabled, librsb will keep count of internal 1620 memory allocations via a allocator functions 1621 wrappers. 1622 --disable-alignment By default, we allocate aligned memory. This can be 1623 disabled. 1624 --enable-librsb-stats If enabled, will allow collection of time statistics 1625 in librsb operations. 1626 --enable-rsb-num-threads 1627 RSB_NUM_THREADS environment variable to control 1628 number of threads (Experimental, with effect on 1629 rsb_spmv/rsb_spmm). 1630 --enable-fortran-module-install 1631 Install (compiler specific) Fortran module 1632 (blas_sparse.mod) (experimental). 1633 --enable-pkg-config-install 1634 Install pkg-config file (librsb.pc) installation. 1635 --enable-doc-build If doxygen is detected or supplied (DOXYGEN 1636 environment variable), documentation will be 1637 rebuilt. If 'help2man' (HELP2MAN) is also present, 1638 it will be used to build additional man pages. 1639 --enable-shlib-linked-examples 1640 Shared library based examples (experimental: 1641 developer only). 1642 --disable-c-examples C example programs building. 1643 --disable-fortran-examples 1644 Fortran test and example programs generation and 1645 building. (experimental) 1646 --disable-restrict Use the restrict keyword. 1647 --enable-zero-division-checks-on-solve 1648 Prevents zero-division when performing triangular 1649 solution. 1650 --enable-sigaction-interruptible-rsbench 1651 rsbench will be interruptible using sigaction 1652 (breaks the standard: may break the build.). 1653 --enable-internal-headers-install 1654 Install internal headers (only for debugging / 1655 inspection purposes, not for ordinary users). 1656 --enable-debug-getenvs Enable (undocumented) developer oriented 1657 getenv-based controls. 1658 --enable-debug Compile with debug flags and enable assertions and 1659 other internals. This will slow down the code 1660 considerably. 1661 1662Optional Packages: 1663 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1664 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1665 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1666 both] 1667 --with-aix-soname=aix|svr4|both 1668 shared library versioning (aka "SONAME") variant to 1669 provide on AIX, [default=aix]. 1670 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1671 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1672 compiler's sysroot if not specified). 1673 --with-math Specify the math library 1674 --with-xdr Specify XDR library. e.g.: --with-xdr="..." 1675 --with-hwloc Specify the hwloc library (EXPERIMENTAL) 1676 --with-dmalloc With dmalloc (experimental). 1677 --with-mkl-include Specify the MKL (Intel Math Kernel Library) library 1678 headers path. e.g.: 1679 --with-mkl-include="/opt/intel/mkl/include". 1680 --with-mkl Specify the MKL (Intel Math Kernel Library) library 1681 to be used with the benchmarking program. E.g.: 1682 --with-mkl="...". Include options should be 1683 specified in the MKL_INCLUDE environment variable. 1684 --with-zlib Specify Z library. e.g.: --with-zlib="..." for 1685 reading gzip-compressed matrix files. 1686 --with-ompio Use OpenMP and fgets_unlocked() for parallel I/O 1687 --with-nounroll-cflag Specify the no unroll compiler flag (if unset, will 1688 be guessed). 1689 --with-max-threads Maximal number of supported threads (default 160). 1690 --with-memhinfo Compile with user specified memory hierarchy 1691 information, which can be overridden by runtime 1692 detection and runtime read of 1693 RSB_USER_SET_MEM_HIERARCHY_INFO environment 1694 variable. 1695 --with-ar Specify the library archiver program explicitly. 1696 --with-arflags Specify the library archiver program flags 1697 explicitly. 1698 --with-m4 Specify the M4 preprocessor program explicitly. 1699 --with-oski OSKI comparative benchmarking (WARNING: be sure to 1700 set OSKI_INCLUDE, OSKI_LUA_PATH, OSKI_PATH 1701 environment variables first). UNFINISHED. 1702 --with-likwid LIKWID support (will add the LIKWID_LIBS variable to 1703 LIBS and LIKWID_CFLAGS to CFLAGS). UNFINISHED. 1704 --with-c99-flag Add the -std=c99 compilation flag to CFLAGS. 1705 --with-papi Specify the PAPI library (UNFINISHED) 1706 1707Some influential environment variables: 1708 CC C compiler command 1709 CFLAGS C compiler flags 1710 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1711 nonstandard directory <lib dir> 1712 LIBS libraries to pass to the linker, e.g. -l<library> 1713 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1714 you have headers in a nonstandard directory <include dir> 1715 LT_SYS_LIBRARY_PATH 1716 User-defined run-time library search path. 1717 FC Fortran compiler command 1718 FCFLAGS Fortran compiler flags 1719 CCAS assembler compiler command (defaults to CC) 1720 CCASFLAGS assembler compiler flags (defaults to CFLAGS) 1721 M4 M4 macro preprocessor 1722 OCTAVE GNU Octave executable 1723 AR Library archiver program 1724 ARFLAGS Library archiver program flags 1725 LD Linker program 1726 DOXYGEN Doxygen program for generating documentation from librsb source 1727 code 1728 HELP2MAN Help2man is a program for generating man pages from program help 1729 output 1730 RSB_USER_SET_MEM_HIERARCHY_INFO 1731 Memory hierarchy info string for librsb; e.g.: 1732 L2:4/64/512K,L1:8/64/24K 1733 OPENMP_CFLAGS 1734 C compilation flags for OpenMP 1735 OPENMP_FCFLAGS 1736 Fortran compilation flags for OpenMP 1737 1738Use these variables to override the choices made by 'configure' or to help 1739it to find libraries and programs with nonstandard names/locations. 1740 1741Report bugs to <michelemartone_AT_users_DOT_sourceforge_DOT_net>. 1742_ACEOF 1743ac_status=$? 1744fi 1745 1746if test "$ac_init_help" = "recursive"; then 1747 # If there are subdirs, report their specific --help. 1748 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1749 test -d "$ac_dir" || 1750 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1751 continue 1752 ac_builddir=. 1753 1754case "$ac_dir" in 1755.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1756*) 1757 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1758 # A ".." for each directory in $ac_dir_suffix. 1759 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1760 case $ac_top_builddir_sub in 1761 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1762 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1763 esac ;; 1764esac 1765ac_abs_top_builddir=$ac_pwd 1766ac_abs_builddir=$ac_pwd$ac_dir_suffix 1767# for backward compatibility: 1768ac_top_builddir=$ac_top_build_prefix 1769 1770case $srcdir in 1771 .) # We are building in place. 1772 ac_srcdir=. 1773 ac_top_srcdir=$ac_top_builddir_sub 1774 ac_abs_top_srcdir=$ac_pwd ;; 1775 [\\/]* | ?:[\\/]* ) # Absolute name. 1776 ac_srcdir=$srcdir$ac_dir_suffix; 1777 ac_top_srcdir=$srcdir 1778 ac_abs_top_srcdir=$srcdir ;; 1779 *) # Relative name. 1780 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1781 ac_top_srcdir=$ac_top_build_prefix$srcdir 1782 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1783esac 1784ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1785 1786 cd "$ac_dir" || { ac_status=$?; continue; } 1787 # Check for configure.gnu first; this name is used for a wrapper for 1788 # Metaconfig's "Configure" on case-insensitive file systems. 1789 if test -f "$ac_srcdir/configure.gnu"; then 1790 echo && 1791 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1792 elif test -f "$ac_srcdir/configure"; then 1793 echo && 1794 $SHELL "$ac_srcdir/configure" --help=recursive 1795 else 1796 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1797 fi || ac_status=$? 1798 cd "$ac_pwd" || { ac_status=$?; break; } 1799 done 1800fi 1801 1802test -n "$ac_init_help" && exit $ac_status 1803if $ac_init_version; then 1804 cat <<\_ACEOF 1805librsb configure 1.2.0.10 1806generated by GNU Autoconf 2.72a.18-fbdf 1807 1808Copyright (C) 2021 Free Software Foundation, Inc. 1809This configure script is free software; the Free Software Foundation 1810gives unlimited permission to copy, distribute and modify it. 1811 1812Copyright (c) 2008-2021, Michele Martone 1813_ACEOF 1814 exit 1815fi 1816 1817## ------------------------ ## 1818## Autoconf initialization. ## 1819## ------------------------ ## 1820 1821# ac_fn_c_try_compile LINENO 1822# -------------------------- 1823# Try to compile conftest.$ac_ext, and return whether this succeeded. 1824ac_fn_c_try_compile () 1825{ 1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1827 rm -f conftest.$ac_objext conftest.beam 1828 if { { ac_try="$ac_compile" 1829case "(($ac_try" in 1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1831 *) ac_try_echo=$ac_try;; 1832esac 1833eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1834printf "%s\n" "$ac_try_echo"; } >&5 1835 (eval "$ac_compile") 2>conftest.err 1836 ac_status=$? 1837 if test -s conftest.err; then 1838 grep -v '^ *+' conftest.err >conftest.er1 1839 cat conftest.er1 >&5 1840 mv -f conftest.er1 conftest.err 1841 fi 1842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1843 test $ac_status = 0; } && { 1844 test -z "$ac_c_werror_flag" || 1845 test ! -s conftest.err 1846 } && test -s conftest.$ac_objext 1847then : 1848 ac_retval=0 1849else $as_nop 1850 printf "%s\n" "$as_me: failed program was:" >&5 1851sed 's/^/| /' conftest.$ac_ext >&5 1852 1853 ac_retval=1 1854fi 1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1856 as_fn_set_status $ac_retval 1857 1858} # ac_fn_c_try_compile 1859 1860# ac_fn_c_try_link LINENO 1861# ----------------------- 1862# Try to link conftest.$ac_ext, and return whether this succeeded. 1863ac_fn_c_try_link () 1864{ 1865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1866 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1867 if { { ac_try="$ac_link" 1868case "(($ac_try" in 1869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1870 *) ac_try_echo=$ac_try;; 1871esac 1872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1873printf "%s\n" "$ac_try_echo"; } >&5 1874 (eval "$ac_link") 2>conftest.err 1875 ac_status=$? 1876 if test -s conftest.err; then 1877 grep -v '^ *+' conftest.err >conftest.er1 1878 cat conftest.er1 >&5 1879 mv -f conftest.er1 conftest.err 1880 fi 1881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1882 test $ac_status = 0; } && { 1883 test -z "$ac_c_werror_flag" || 1884 test ! -s conftest.err 1885 } && test -s conftest$ac_exeext && { 1886 test "$cross_compiling" = yes || 1887 test -x conftest$ac_exeext 1888 } 1889then : 1890 ac_retval=0 1891else $as_nop 1892 printf "%s\n" "$as_me: failed program was:" >&5 1893sed 's/^/| /' conftest.$ac_ext >&5 1894 1895 ac_retval=1 1896fi 1897 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1898 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1899 # interfere with the next link command; also delete a directory that is 1900 # left behind by Apple's compiler. We do this before executing the actions. 1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1903 as_fn_set_status $ac_retval 1904 1905} # ac_fn_c_try_link 1906 1907# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1908# ------------------------------------------------------- 1909# Tests whether HEADER exists and can be compiled using the include files in 1910# INCLUDES, setting the cache variable VAR accordingly. 1911ac_fn_c_check_header_compile () 1912{ 1913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1915printf %s "checking for $2... " >&6; } 1916if eval test \${$3+y} 1917then : 1918 printf %s "(cached) " >&6 1919else $as_nop 1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1921/* end confdefs.h. */ 1922$4 1923#include <$2> 1924_ACEOF 1925if ac_fn_c_try_compile "$LINENO" 1926then : 1927 eval "$3=yes" 1928else $as_nop 1929 eval "$3=no" 1930fi 1931rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1932fi 1933eval ac_res=\$$3 1934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1935printf "%s\n" "$ac_res" >&6; } 1936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1937 1938} # ac_fn_c_check_header_compile 1939 1940# ac_fn_c_check_func LINENO FUNC VAR 1941# ---------------------------------- 1942# Tests whether FUNC exists, setting the cache variable VAR accordingly 1943ac_fn_c_check_func () 1944{ 1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1947printf %s "checking for $2... " >&6; } 1948if eval test \${$3+y} 1949then : 1950 printf %s "(cached) " >&6 1951else $as_nop 1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1953/* end confdefs.h. */ 1954/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1955 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1956#define $2 innocuous_$2 1957 1958/* System header to define __stub macros and hopefully few prototypes, 1959 which can conflict with char $2 (); below. */ 1960 1961#include <limits.h> 1962#undef $2 1963 1964/* Override any GCC internal prototype to avoid an error. 1965 Use char because int might match the return type of a GCC 1966 builtin and then its argument prototype would still apply. */ 1967#ifdef __cplusplus 1968extern "C" 1969#endif 1970char $2 (); 1971/* The GNU C library defines this for functions which it implements 1972 to always fail with ENOSYS. Some functions are actually named 1973 something starting with __ and the normal name is an alias. */ 1974#if defined __stub_$2 || defined __stub___$2 1975choke me 1976#endif 1977 1978int 1979main (void) 1980{ 1981return $2 (); 1982 ; 1983 return 0; 1984} 1985_ACEOF 1986if ac_fn_c_try_link "$LINENO" 1987then : 1988 eval "$3=yes" 1989else $as_nop 1990 eval "$3=no" 1991fi 1992rm -f core conftest.err conftest.$ac_objext conftest.beam \ 1993 conftest$ac_exeext conftest.$ac_ext 1994fi 1995eval ac_res=\$$3 1996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1997printf "%s\n" "$ac_res" >&6; } 1998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1999 2000} # ac_fn_c_check_func 2001 2002# ac_fn_fc_try_compile LINENO 2003# --------------------------- 2004# Try to compile conftest.$ac_ext, and return whether this succeeded. 2005ac_fn_fc_try_compile () 2006{ 2007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2008 rm -f conftest.$ac_objext conftest.beam 2009 if { { ac_try="$ac_compile" 2010case "(($ac_try" in 2011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2012 *) ac_try_echo=$ac_try;; 2013esac 2014eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2015printf "%s\n" "$ac_try_echo"; } >&5 2016 (eval "$ac_compile") 2>conftest.err 2017 ac_status=$? 2018 if test -s conftest.err; then 2019 grep -v '^ *+' conftest.err >conftest.er1 2020 cat conftest.er1 >&5 2021 mv -f conftest.er1 conftest.err 2022 fi 2023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2024 test $ac_status = 0; } && { 2025 test -z "$ac_fc_werror_flag" || 2026 test ! -s conftest.err 2027 } && test -s conftest.$ac_objext 2028then : 2029 ac_retval=0 2030else $as_nop 2031 printf "%s\n" "$as_me: failed program was:" >&5 2032sed 's/^/| /' conftest.$ac_ext >&5 2033 2034 ac_retval=1 2035fi 2036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2037 as_fn_set_status $ac_retval 2038 2039} # ac_fn_fc_try_compile 2040 2041# ac_fn_fc_try_link LINENO 2042# ------------------------ 2043# Try to link conftest.$ac_ext, and return whether this succeeded. 2044ac_fn_fc_try_link () 2045{ 2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2047 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 2048 if { { ac_try="$ac_link" 2049case "(($ac_try" in 2050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2051 *) ac_try_echo=$ac_try;; 2052esac 2053eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2054printf "%s\n" "$ac_try_echo"; } >&5 2055 (eval "$ac_link") 2>conftest.err 2056 ac_status=$? 2057 if test -s conftest.err; then 2058 grep -v '^ *+' conftest.err >conftest.er1 2059 cat conftest.er1 >&5 2060 mv -f conftest.er1 conftest.err 2061 fi 2062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2063 test $ac_status = 0; } && { 2064 test -z "$ac_fc_werror_flag" || 2065 test ! -s conftest.err 2066 } && test -s conftest$ac_exeext && { 2067 test "$cross_compiling" = yes || 2068 test -x conftest$ac_exeext 2069 } 2070then : 2071 ac_retval=0 2072else $as_nop 2073 printf "%s\n" "$as_me: failed program was:" >&5 2074sed 's/^/| /' conftest.$ac_ext >&5 2075 2076 ac_retval=1 2077fi 2078 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2079 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2080 # interfere with the next link command; also delete a directory that is 2081 # left behind by Apple's compiler. We do this before executing the actions. 2082 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2084 as_fn_set_status $ac_retval 2085 2086} # ac_fn_fc_try_link 2087 2088# ac_fn_c_try_run LINENO 2089# ---------------------- 2090# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that 2091# executables *can* be run. 2092ac_fn_c_try_run () 2093{ 2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2095 if { { ac_try="$ac_link" 2096case "(($ac_try" in 2097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2098 *) ac_try_echo=$ac_try;; 2099esac 2100eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2101printf "%s\n" "$ac_try_echo"; } >&5 2102 (eval "$ac_link") 2>&5 2103 ac_status=$? 2104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2105 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2106 { { case "(($ac_try" in 2107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2108 *) ac_try_echo=$ac_try;; 2109esac 2110eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2111printf "%s\n" "$ac_try_echo"; } >&5 2112 (eval "$ac_try") 2>&5 2113 ac_status=$? 2114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2115 test $ac_status = 0; }; } 2116then : 2117 ac_retval=0 2118else $as_nop 2119 printf "%s\n" "$as_me: program exited with status $ac_status" >&5 2120 printf "%s\n" "$as_me: failed program was:" >&5 2121sed 's/^/| /' conftest.$ac_ext >&5 2122 2123 ac_retval=$ac_status 2124fi 2125 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2127 as_fn_set_status $ac_retval 2128 2129} # ac_fn_c_try_run 2130 2131# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2132# -------------------------------------------- 2133# Tries to find the compile-time value of EXPR in a program that includes 2134# INCLUDES, setting VAR accordingly. Returns whether the value could be 2135# computed 2136ac_fn_c_compute_int () 2137{ 2138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2139 if test "$cross_compiling" = yes; then 2140 # Depending upon the size, compute the lo and hi bounds. 2141cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2142/* end confdefs.h. */ 2143$4 2144int 2145main (void) 2146{ 2147static int test_array [1 - 2 * !(($2) >= 0)]; 2148test_array [0] = 0; 2149return test_array [0]; 2150 2151 ; 2152 return 0; 2153} 2154_ACEOF 2155if ac_fn_c_try_compile "$LINENO" 2156then : 2157 ac_lo=0 ac_mid=0 2158 while :; do 2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2160/* end confdefs.h. */ 2161$4 2162int 2163main (void) 2164{ 2165static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2166test_array [0] = 0; 2167return test_array [0]; 2168 2169 ; 2170 return 0; 2171} 2172_ACEOF 2173if ac_fn_c_try_compile "$LINENO" 2174then : 2175 ac_hi=$ac_mid; break 2176else $as_nop 2177 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2178 if test $ac_lo -le $ac_mid; then 2179 ac_lo= ac_hi= 2180 break 2181 fi 2182 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2183fi 2184rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 2185 done 2186else $as_nop 2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2188/* end confdefs.h. */ 2189$4 2190int 2191main (void) 2192{ 2193static int test_array [1 - 2 * !(($2) < 0)]; 2194test_array [0] = 0; 2195return test_array [0]; 2196 2197 ; 2198 return 0; 2199} 2200_ACEOF 2201if ac_fn_c_try_compile "$LINENO" 2202then : 2203 ac_hi=-1 ac_mid=-1 2204 while :; do 2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2206/* end confdefs.h. */ 2207$4 2208int 2209main (void) 2210{ 2211static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2212test_array [0] = 0; 2213return test_array [0]; 2214 2215 ; 2216 return 0; 2217} 2218_ACEOF 2219if ac_fn_c_try_compile "$LINENO" 2220then : 2221 ac_lo=$ac_mid; break 2222else $as_nop 2223 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2224 if test $ac_mid -le $ac_hi; then 2225 ac_lo= ac_hi= 2226 break 2227 fi 2228 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2229fi 2230rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 2231 done 2232else $as_nop 2233 ac_lo= ac_hi= 2234fi 2235rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 2236fi 2237rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 2238# Binary search between lo and hi bounds. 2239while test "x$ac_lo" != "x$ac_hi"; do 2240 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2242/* end confdefs.h. */ 2243$4 2244int 2245main (void) 2246{ 2247static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2248test_array [0] = 0; 2249return test_array [0]; 2250 2251 ; 2252 return 0; 2253} 2254_ACEOF 2255if ac_fn_c_try_compile "$LINENO" 2256then : 2257 ac_hi=$ac_mid 2258else $as_nop 2259 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2260fi 2261rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 2262done 2263case $ac_lo in #(( 2264?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2265'') ac_retval=1 ;; 2266esac 2267 else 2268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2269/* end confdefs.h. */ 2270$4 2271static long int longval (void) { return $2; } 2272static unsigned long int ulongval (void) { return $2; } 2273#include <stdio.h> 2274#include <stdlib.h> 2275int 2276main (void) 2277{ 2278 2279 FILE *f = fopen ("conftest.val", "w"); 2280 if (! f) 2281 return 1; 2282 if (($2) < 0) 2283 { 2284 long int i = longval (); 2285 if (i != ($2)) 2286 return 1; 2287 fprintf (f, "%ld", i); 2288 } 2289 else 2290 { 2291 unsigned long int i = ulongval (); 2292 if (i != ($2)) 2293 return 1; 2294 fprintf (f, "%lu", i); 2295 } 2296 /* Do not output a trailing newline, as this causes \r\n confusion 2297 on some platforms. */ 2298 return ferror (f) || fclose (f) != 0; 2299 2300 ; 2301 return 0; 2302} 2303_ACEOF 2304if ac_fn_c_try_run "$LINENO" 2305then : 2306 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2307else $as_nop 2308 ac_retval=1 2309fi 2310rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2311 conftest.$ac_objext conftest.beam conftest.$ac_ext 2312rm -f conftest.val 2313 2314 fi 2315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2316 as_fn_set_status $ac_retval 2317 2318} # ac_fn_c_compute_int 2319 2320# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2321# ------------------------------------------- 2322# Tests whether TYPE exists after having included INCLUDES, setting cache 2323# variable VAR accordingly. 2324ac_fn_c_check_type () 2325{ 2326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2328printf %s "checking for $2... " >&6; } 2329if eval test \${$3+y} 2330then : 2331 printf %s "(cached) " >&6 2332else $as_nop 2333 eval "$3=no" 2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2335/* end confdefs.h. */ 2336$4 2337int 2338main (void) 2339{ 2340if (sizeof ($2)) 2341 return 0; 2342 ; 2343 return 0; 2344} 2345_ACEOF 2346if ac_fn_c_try_compile "$LINENO" 2347then : 2348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2349/* end confdefs.h. */ 2350$4 2351int 2352main (void) 2353{ 2354if (sizeof (($2))) 2355 return 0; 2356 ; 2357 return 0; 2358} 2359_ACEOF 2360if ac_fn_c_try_compile "$LINENO" 2361then : 2362 2363else $as_nop 2364 eval "$3=yes" 2365fi 2366rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 2367fi 2368rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 2369fi 2370eval ac_res=\$$3 2371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2372printf "%s\n" "$ac_res" >&6; } 2373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2374 2375} # ac_fn_c_check_type 2376ac_configure_args_raw= 2377for ac_arg 2378do 2379 case $ac_arg in 2380 *\'*) 2381 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2382 esac 2383 as_fn_append ac_configure_args_raw " '$ac_arg'" 2384done 2385 2386case $ac_configure_args_raw in 2387 *$as_nl*) 2388 ac_safe_unquote= ;; 2389 *) 2390 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 2391 ac_unsafe_a="$ac_unsafe_z#~" 2392 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 2393 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 2394esac 2395 2396cat >config.log <<_ACEOF 2397This file contains any messages produced by compilers while 2398running configure, to aid debugging if configure makes a mistake. 2399 2400It was created by librsb $as_me 1.2.0.10, which was 2401generated by GNU Autoconf 2.72a.18-fbdf. Invocation command line was 2402 2403 $ $0$ac_configure_args_raw 2404 2405_ACEOF 2406exec 5>>config.log 2407{ 2408cat <<_ASUNAME 2409## --------- ## 2410## Platform. ## 2411## --------- ## 2412 2413hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2414uname -m = `(uname -m) 2>/dev/null || echo unknown` 2415uname -r = `(uname -r) 2>/dev/null || echo unknown` 2416uname -s = `(uname -s) 2>/dev/null || echo unknown` 2417uname -v = `(uname -v) 2>/dev/null || echo unknown` 2418 2419/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2420/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2421 2422/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2423/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2424/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2425/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2426/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2427/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2428/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2429 2430_ASUNAME 2431 2432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2433for as_dir in $PATH 2434do 2435 IFS=$as_save_IFS 2436 case $as_dir in #((( 2437 '') as_dir=./ ;; 2438 */) ;; 2439 *) as_dir=$as_dir/ ;; 2440 esac 2441 printf "%s\n" "PATH: $as_dir" 2442 done 2443IFS=$as_save_IFS 2444 2445} >&5 2446 2447cat >&5 <<_ACEOF 2448 2449 2450## ----------- ## 2451## Core tests. ## 2452## ----------- ## 2453 2454_ACEOF 2455 2456 2457# Keep a trace of the command line. 2458# Strip out --no-create and --no-recursion so they do not pile up. 2459# Strip out --silent because we don't want to record it for future runs. 2460# Also quote any args containing shell meta-characters. 2461# Make two passes to allow for proper duplicate-argument suppression. 2462ac_configure_args= 2463ac_configure_args0= 2464ac_configure_args1= 2465ac_must_keep_next=false 2466for ac_pass in 1 2 2467do 2468 for ac_arg 2469 do 2470 case $ac_arg in 2471 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2473 | -silent | --silent | --silen | --sile | --sil) 2474 continue ;; 2475 *\'*) 2476 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2477 esac 2478 case $ac_pass in 2479 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2480 2) 2481 as_fn_append ac_configure_args1 " '$ac_arg'" 2482 if test $ac_must_keep_next = true; then 2483 ac_must_keep_next=false # Got value, back to normal. 2484 else 2485 case $ac_arg in 2486 *=* | --config-cache | -C | -disable-* | --disable-* \ 2487 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2488 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2489 | -with-* | --with-* | -without-* | --without-* | --x) 2490 case "$ac_configure_args0 " in 2491 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2492 esac 2493 ;; 2494 -* ) ac_must_keep_next=true ;; 2495 esac 2496 fi 2497 as_fn_append ac_configure_args " '$ac_arg'" 2498 ;; 2499 esac 2500 done 2501done 2502{ ac_configure_args0=; unset ac_configure_args0;} 2503{ ac_configure_args1=; unset ac_configure_args1;} 2504 2505# When interrupted or exit'd, cleanup temporary files, and complete 2506# config.log. We remove comments because anyway the quotes in there 2507# would cause problems or look ugly. 2508# WARNING: Use '\'' to represent an apostrophe within the trap. 2509# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2510trap 'exit_status=$? 2511 # Sanitize IFS. 2512 IFS=" "" $as_nl" 2513 # Save into config.log some information that might help in debugging. 2514 { 2515 echo 2516 2517 printf "%s\n" "## ---------------- ## 2518## Cache variables. ## 2519## ---------------- ##" 2520 echo 2521 # The following way of writing the cache mishandles newlines in values, 2522( 2523 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2524 eval ac_val=\$$ac_var 2525 case $ac_val in #( 2526 *${as_nl}*) 2527 case $ac_var in #( 2528 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2529printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2530 esac 2531 case $ac_var in #( 2532 _ | IFS | as_nl) ;; #( 2533 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2534 *) { eval $ac_var=; unset $ac_var;} ;; 2535 esac ;; 2536 esac 2537 done 2538 (set) 2>&1 | 2539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2540 *${as_nl}ac_space=\ *) 2541 sed -n \ 2542 "s/'\''/'\''\\\\'\'''\''/g; 2543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2544 ;; #( 2545 *) 2546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2547 ;; 2548 esac | 2549 sort 2550) 2551 echo 2552 2553 printf "%s\n" "## ----------------- ## 2554## Output variables. ## 2555## ----------------- ##" 2556 echo 2557 for ac_var in $ac_subst_vars 2558 do 2559 eval ac_val=\$$ac_var 2560 case $ac_val in 2561 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2562 esac 2563 printf "%s\n" "$ac_var='\''$ac_val'\''" 2564 done | sort 2565 echo 2566 2567 if test -n "$ac_subst_files"; then 2568 printf "%s\n" "## ------------------- ## 2569## File substitutions. ## 2570## ------------------- ##" 2571 echo 2572 for ac_var in $ac_subst_files 2573 do 2574 eval ac_val=\$$ac_var 2575 case $ac_val in 2576 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2577 esac 2578 printf "%s\n" "$ac_var='\''$ac_val'\''" 2579 done | sort 2580 echo 2581 fi 2582 2583 if test -s confdefs.h; then 2584 printf "%s\n" "## ----------- ## 2585## confdefs.h. ## 2586## ----------- ##" 2587 echo 2588 cat confdefs.h 2589 echo 2590 fi 2591 test "$ac_signal" != 0 && 2592 printf "%s\n" "$as_me: caught signal $ac_signal" 2593 printf "%s\n" "$as_me: exit $exit_status" 2594 } >&5 2595 rm -f core *.core core.conftest.* && 2596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2597 exit $exit_status 2598' 0 2599for ac_signal in 1 2 13 15; do 2600 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2601done 2602ac_signal=0 2603 2604# confdefs.h avoids OS command line length limits that DEFS can exceed. 2605rm -f -r conftest* confdefs.h 2606 2607printf "%s\n" "/* confdefs.h */" > confdefs.h 2608 2609# Predefined preprocessor variables. 2610 2611printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2612 2613printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2614 2615printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2616 2617printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2618 2619printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2620 2621printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2622 2623 2624# Let the site file select an alternate cache file if it wants to. 2625# Prefer an explicitly selected file to automatically selected ones. 2626if test -n "$CONFIG_SITE"; then 2627 ac_site_files="$CONFIG_SITE" 2628elif test "x$prefix" != xNONE; then 2629 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2630else 2631 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2632fi 2633 2634for ac_site_file in $ac_site_files 2635do 2636 case $ac_site_file in #( 2637 */*) : 2638 ;; #( 2639 *) : 2640 ac_site_file=./$ac_site_file ;; 2641esac 2642 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2644printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2645 sed 's/^/| /' "$ac_site_file" >&5 2646 . "$ac_site_file" \ 2647 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 2648printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 2649as_fn_error $? "failed to load site script $ac_site_file 2650See 'config.log' for more details" "$LINENO" 5; } 2651 fi 2652done 2653 2654if test -r "$cache_file"; then 2655 # Some versions of bash will fail to source /dev/null (special files 2656 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2657 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2659printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2660 case $cache_file in 2661 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2662 *) . "./$cache_file";; 2663 esac 2664 fi 2665else 2666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2667printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2668 >$cache_file 2669fi 2670 2671# Test code for whether the C compiler supports C89 (global declarations) 2672ac_c_conftest_c89_globals=' 2673/* Does the compiler advertise C89 conformance? 2674 Do not test the value of __STDC__, because some compilers set it to 0 2675 while being otherwise adequately conformant. */ 2676#if !defined __STDC__ 2677# error "Compiler does not advertise C89 conformance" 2678#endif 2679 2680#include <stddef.h> 2681#include <stdarg.h> 2682struct stat; 2683/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2684struct buf { int x; }; 2685struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2686static char *e (p, i) 2687 char **p; 2688 int i; 2689{ 2690 return p[i]; 2691} 2692static char *f (char * (*g) (char **, int), char **p, ...) 2693{ 2694 char *s; 2695 va_list v; 2696 va_start (v,p); 2697 s = g (p, va_arg (v,int)); 2698 va_end (v); 2699 return s; 2700} 2701 2702/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2703 function prototypes and stuff, but not \xHH hex character constants. 2704 These do not provoke an error unfortunately, instead are silently treated 2705 as an "x". The following induces an error, until -std is added to get 2706 proper ANSI mode. Curiously \x00 != x always comes out true, for an 2707 array size at least. It is necessary to write \x00 == 0 to get something 2708 that is true only with -std. */ 2709int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2710 2711/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2712 inside strings and character constants. */ 2713#define FOO(x) '\''x'\'' 2714int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2715 2716int test (int i, double x); 2717struct s1 {int (*f) (int a);}; 2718struct s2 {int (*f) (double a);}; 2719int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2720 int, int);' 2721 2722# Test code for whether the C compiler supports C89 (body of main). 2723ac_c_conftest_c89_main=' 2724ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2725' 2726 2727# Test code for whether the C compiler supports C99 (global declarations) 2728ac_c_conftest_c99_globals=' 2729// Does the compiler advertise C99 conformance? 2730#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2731# error "Compiler does not advertise C99 conformance" 2732#endif 2733 2734#include <stdbool.h> 2735extern int puts (const char *); 2736extern int printf (const char *, ...); 2737extern int dprintf (int, const char *, ...); 2738extern void *malloc (size_t); 2739 2740// Check varargs macros. These examples are taken from C99 6.10.3.5. 2741// dprintf is used instead of fprintf to avoid needing to declare 2742// FILE and stderr. 2743#define debug(...) dprintf (2, __VA_ARGS__) 2744#define showlist(...) puts (#__VA_ARGS__) 2745#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2746static void 2747test_varargs_macros (void) 2748{ 2749 int x = 1234; 2750 int y = 5678; 2751 debug ("Flag"); 2752 debug ("X = %d\n", x); 2753 showlist (The first, second, and third items.); 2754 report (x>y, "x is %d but y is %d", x, y); 2755} 2756 2757// Check long long types. 2758#define BIG64 18446744073709551615ull 2759#define BIG32 4294967295ul 2760#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2761#if !BIG_OK 2762 #error "your preprocessor is broken" 2763#endif 2764#if BIG_OK 2765#else 2766 #error "your preprocessor is broken" 2767#endif 2768static long long int bignum = -9223372036854775807LL; 2769static unsigned long long int ubignum = BIG64; 2770 2771struct incomplete_array 2772{ 2773 int datasize; 2774 double data[]; 2775}; 2776 2777struct named_init { 2778 int number; 2779 const wchar_t *name; 2780 double average; 2781}; 2782 2783typedef const char *ccp; 2784 2785static inline int 2786test_restrict (ccp restrict text) 2787{ 2788 // See if C++-style comments work. 2789 // Iterate through items via the restricted pointer. 2790 // Also check for declarations in for loops. 2791 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2792 continue; 2793 return 0; 2794} 2795 2796// Check varargs and va_copy. 2797static bool 2798test_varargs (const char *format, ...) 2799{ 2800 va_list args; 2801 va_start (args, format); 2802 va_list args_copy; 2803 va_copy (args_copy, args); 2804 2805 const char *str = ""; 2806 int number = 0; 2807 float fnumber = 0; 2808 2809 while (*format) 2810 { 2811 switch (*format++) 2812 { 2813 case '\''s'\'': // string 2814 str = va_arg (args_copy, const char *); 2815 break; 2816 case '\''d'\'': // int 2817 number = va_arg (args_copy, int); 2818 break; 2819 case '\''f'\'': // float 2820 fnumber = va_arg (args_copy, double); 2821 break; 2822 default: 2823 break; 2824 } 2825 } 2826 va_end (args_copy); 2827 va_end (args); 2828 2829 return *str && number && fnumber; 2830} 2831' 2832 2833# Test code for whether the C compiler supports C99 (body of main). 2834ac_c_conftest_c99_main=' 2835 // Check bool. 2836 _Bool success = false; 2837 success |= (argc != 0); 2838 2839 // Check restrict. 2840 if (test_restrict ("String literal") == 0) 2841 success = true; 2842 char *restrict newvar = "Another string"; 2843 2844 // Check varargs. 2845 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2846 test_varargs_macros (); 2847 2848 // Check flexible array members. 2849 struct incomplete_array *ia = 2850 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2851 ia->datasize = 10; 2852 for (int i = 0; i < ia->datasize; ++i) 2853 ia->data[i] = i * 1.234; 2854 2855 // Check named initializers. 2856 struct named_init ni = { 2857 .number = 34, 2858 .name = L"Test wide string", 2859 .average = 543.34343, 2860 }; 2861 2862 ni.number = 58; 2863 2864 int dynamic_array[ni.number]; 2865 dynamic_array[0] = argv[0][0]; 2866 dynamic_array[ni.number - 1] = 543; 2867 2868 // work around unused variable warnings 2869 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2870 || dynamic_array[ni.number - 1] != 543); 2871' 2872 2873# Test code for whether the C compiler supports C11 (global declarations) 2874ac_c_conftest_c11_globals=' 2875// Does the compiler advertise C11 conformance? 2876#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2877# error "Compiler does not advertise C11 conformance" 2878#endif 2879 2880// Check _Alignas. 2881char _Alignas (double) aligned_as_double; 2882char _Alignas (0) no_special_alignment; 2883extern char aligned_as_int; 2884char _Alignas (0) _Alignas (int) aligned_as_int; 2885 2886// Check _Alignof. 2887enum 2888{ 2889 int_alignment = _Alignof (int), 2890 int_array_alignment = _Alignof (int[100]), 2891 char_alignment = _Alignof (char) 2892}; 2893_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2894 2895// Check _Noreturn. 2896int _Noreturn does_not_return (void) { for (;;) continue; } 2897 2898// Check _Static_assert. 2899struct test_static_assert 2900{ 2901 int x; 2902 _Static_assert (sizeof (int) <= sizeof (long int), 2903 "_Static_assert does not work in struct"); 2904 long int y; 2905}; 2906 2907// Check UTF-8 literals. 2908#define u8 syntax error! 2909char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2910 2911// Check duplicate typedefs. 2912typedef long *long_ptr; 2913typedef long int *long_ptr; 2914typedef long_ptr long_ptr; 2915 2916// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2917struct anonymous 2918{ 2919 union { 2920 struct { int i; int j; }; 2921 struct { int k; long int l; } w; 2922 }; 2923 int m; 2924} v1; 2925' 2926 2927# Test code for whether the C compiler supports C11 (body of main). 2928ac_c_conftest_c11_main=' 2929 _Static_assert ((offsetof (struct anonymous, i) 2930 == offsetof (struct anonymous, w.k)), 2931 "Anonymous union alignment botch"); 2932 v1.i = 2; 2933 v1.w.k = 5; 2934 ok |= v1.i != 5; 2935' 2936 2937# Test code for whether the C compiler supports C11 (complete). 2938ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2939${ac_c_conftest_c99_globals} 2940${ac_c_conftest_c11_globals} 2941 2942int 2943main (int argc, char **argv) 2944{ 2945 int ok = 0; 2946 ${ac_c_conftest_c89_main} 2947 ${ac_c_conftest_c99_main} 2948 ${ac_c_conftest_c11_main} 2949 return ok; 2950} 2951" 2952 2953# Test code for whether the C compiler supports C99 (complete). 2954ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2955${ac_c_conftest_c99_globals} 2956 2957int 2958main (int argc, char **argv) 2959{ 2960 int ok = 0; 2961 ${ac_c_conftest_c89_main} 2962 ${ac_c_conftest_c99_main} 2963 return ok; 2964} 2965" 2966 2967# Test code for whether the C compiler supports C89 (complete). 2968ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2969 2970int 2971main (int argc, char **argv) 2972{ 2973 int ok = 0; 2974 ${ac_c_conftest_c89_main} 2975 return ok; 2976} 2977" 2978 2979as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2980as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2981as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2982as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2983as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2984as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2985as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2986as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2987as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2988as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF" 2989 2990# Auxiliary files required by this configure script. 2991ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh" 2992 2993# Locations in which to look for auxiliary files. 2994ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2995 2996# Search for a directory containing all of the required auxiliary files, 2997# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2998# If we don't find one directory that contains all the files we need, 2999# we report the set of missing files from the *first* directory in 3000# $ac_aux_dir_candidates and give up. 3001ac_missing_aux_files="" 3002ac_first_candidate=: 3003printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 3004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3005as_found=false 3006for as_dir in $ac_aux_dir_candidates 3007do 3008 IFS=$as_save_IFS 3009 case $as_dir in #((( 3010 '') as_dir=./ ;; 3011 */) ;; 3012 *) as_dir=$as_dir/ ;; 3013 esac 3014 as_found=: 3015 3016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 3017 ac_aux_dir_found=yes 3018 ac_install_sh= 3019 for ac_aux in $ac_aux_files 3020 do 3021 # As a special case, if "install-sh" is required, that requirement 3022 # can be satisfied by any of "install-sh", "install.sh", or "shtool", 3023 # and $ac_install_sh is set appropriately for whichever one is found. 3024 if test x"$ac_aux" = x"install-sh" 3025 then 3026 if test -f "${as_dir}install-sh"; then 3027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 3028 ac_install_sh="${as_dir}install-sh -c" 3029 elif test -f "${as_dir}install.sh"; then 3030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 3031 ac_install_sh="${as_dir}install.sh -c" 3032 elif test -f "${as_dir}shtool"; then 3033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 3034 ac_install_sh="${as_dir}shtool install -c" 3035 else 3036 ac_aux_dir_found=no 3037 if $ac_first_candidate; then 3038 ac_missing_aux_files="${ac_missing_aux_files} install-sh" 3039 else 3040 break 3041 fi 3042 fi 3043 else 3044 if test -f "${as_dir}${ac_aux}"; then 3045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 3046 else 3047 ac_aux_dir_found=no 3048 if $ac_first_candidate; then 3049 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 3050 else 3051 break 3052 fi 3053 fi 3054 fi 3055 done 3056 if test "$ac_aux_dir_found" = yes; then 3057 ac_aux_dir="$as_dir" 3058 break 3059 fi 3060 ac_first_candidate=false 3061 3062 as_found=false 3063done 3064IFS=$as_save_IFS 3065if $as_found 3066then : 3067 3068else $as_nop 3069 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 3070fi 3071 3072 3073# These three variables are undocumented and unsupported, 3074# and are intended to be withdrawn in a future Autoconf release. 3075# They can cause serious problems if a builder's source tree is in a directory 3076# whose full name contains unusual characters. 3077if test -f "${ac_aux_dir}config.guess"; then 3078 ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 3079fi 3080if test -f "${ac_aux_dir}config.sub"; then 3081 ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 3082fi 3083if test -f "$ac_aux_dir/configure"; then 3084 ac_configure="$SHELL ${ac_aux_dir}configure" 3085fi 3086 3087# Check that the precious variables saved in the cache have kept the same 3088# value. 3089ac_cache_corrupted=false 3090for ac_var in $ac_precious_vars; do 3091 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3092 eval ac_new_set=\$ac_env_${ac_var}_set 3093 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3094 eval ac_new_val=\$ac_env_${ac_var}_value 3095 case $ac_old_set,$ac_new_set in 3096 set,) 3097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 3098printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} 3099 ac_cache_corrupted=: ;; 3100 ,set) 3101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 3102printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;} 3103 ac_cache_corrupted=: ;; 3104 ,);; 3105 *) 3106 if test "x$ac_old_val" != "x$ac_new_val"; then 3107 # differences in whitespace do not lead to failure. 3108 ac_old_val_w=`echo x $ac_old_val` 3109 ac_new_val_w=`echo x $ac_new_val` 3110 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 3112printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} 3113 ac_cache_corrupted=: 3114 else 3115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 3116printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} 3117 eval $ac_var=\$ac_old_val 3118 fi 3119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 3120printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;} 3121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 3122printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;} 3123 fi;; 3124 esac 3125 # Pass precious variables to config.status. 3126 if test "$ac_new_set" = set; then 3127 case $ac_new_val in 3128 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3129 *) ac_arg=$ac_var=$ac_new_val ;; 3130 esac 3131 case " $ac_configure_args " in 3132 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3133 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3134 esac 3135 fi 3136done 3137if $ac_cache_corrupted; then 3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 3139printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 3140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3141printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 3142 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' 3143 and start over" "$LINENO" 5 3144fi 3145## -------------------- ## 3146## Main body of script. ## 3147## -------------------- ## 3148 3149ac_ext=c 3150ac_cpp='$CPP $CPPFLAGS' 3151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3153ac_compiler_gnu=$ac_cv_c_compiler_gnu 3154 3155 3156# The following are valid for both trunk and release version. 3157# It indicates the version this trunk is loosely related to. 3158LIBRSB_VER_MAJOR=1 3159LIBRSB_VER_MINOR=2 3160LIBRSB_VER_PATCH=0 3161LIBRSB_LIBRSB_VER=1"0"2"01" 3162if test x"librsbsvnversion" = x"trunk" ; then 3163LIBRSB_VER_PRERS="-trunk" 3164else 3165LIBRSB_VER_PRERS=."10" 3166fi 3167LIBRSB_VER_DATE="202109162114" 3168LIBRSB_VERSION="1.2.0.10" 3169LIBRSB_MAIN_RELEASE="1.2.0" 3170LIBRSB_ABI_VERSION="0:0:0" 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180################################################################################ 3181SVN_REVISION="Unversioned directory" 3182 3183 3184printf "%s\n" "#define SVN_REVISION \"Unversioned directory\"" >>confdefs.h 3185 3186 3187 3188printf "%s\n" "#define COPYRIGHT_STRING \"Copyright (c) 2008-2021 Michele Martone\"" >>confdefs.h 3189 3190 3191################################################################################ 3192am__api_version='1.16' 3193 3194 3195 3196 # Find a good install program. We prefer a C program (faster), 3197# so one script is as good as another. But avoid the broken or 3198# incompatible versions: 3199# SysV /etc/install, /usr/sbin/install 3200# SunOS /usr/etc/install 3201# IRIX /sbin/install 3202# AIX /bin/install 3203# AmigaOS /C/install, which installs bootblocks on floppy discs 3204# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3205# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3206# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3207# OS/2's system install, which has a completely different semantic 3208# ./install, which can be erroneously created by make from ./install.sh. 3209# Reject install programs that cannot install multiple files. 3210{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3211printf %s "checking for a BSD-compatible install... " >&6; } 3212if test -z "$INSTALL"; then 3213if test ${ac_cv_path_install+y} 3214then : 3215 printf %s "(cached) " >&6 3216else $as_nop 3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3218for as_dir in $PATH 3219do 3220 IFS=$as_save_IFS 3221 case $as_dir in #((( 3222 '') as_dir=./ ;; 3223 */) ;; 3224 *) as_dir=$as_dir/ ;; 3225 esac 3226 # Account for fact that we put trailing slashes in our PATH walk. 3227case $as_dir in #(( 3228 ./ | /[cC]/* | \ 3229 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3230 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3231 /usr/ucb/* ) ;; 3232 *) 3233 # OSF1 and SCO ODT 3.0 have their own names for install. 3234 # Don't use installbsd from OSF since it installs stuff as root 3235 # by default. 3236 for ac_prog in ginstall scoinst install; do 3237 for ac_exec_ext in '' $ac_executable_extensions; do 3238 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 3239 if test $ac_prog = install && 3240 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3241 # AIX install. It has an incompatible calling convention. 3242 : 3243 elif test $ac_prog = install && 3244 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3245 # program-specific install script used by HP pwplus--don't use. 3246 : 3247 else 3248 rm -rf conftest.one conftest.two conftest.dir 3249 echo one > conftest.one 3250 echo two > conftest.two 3251 mkdir conftest.dir 3252 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 3253 test -s conftest.one && test -s conftest.two && 3254 test -s conftest.dir/conftest.one && 3255 test -s conftest.dir/conftest.two 3256 then 3257 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 3258 break 3 3259 fi 3260 fi 3261 fi 3262 done 3263 done 3264 ;; 3265esac 3266 3267 done 3268IFS=$as_save_IFS 3269 3270rm -rf conftest.one conftest.two conftest.dir 3271 3272fi 3273 if test ${ac_cv_path_install+y}; then 3274 INSTALL=$ac_cv_path_install 3275 else 3276 # As a last resort, use the slow shell script. Don't cache a 3277 # value for INSTALL within a source directory, because that will 3278 # break other packages using the cache if that directory is 3279 # removed, or if the value is a relative name. 3280 INSTALL=$ac_install_sh 3281 fi 3282fi 3283{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3284printf "%s\n" "$INSTALL" >&6; } 3285 3286# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3287# It thinks the first close brace ends the variable substitution. 3288test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3289 3290test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3291 3292test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3293 3294{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3295printf %s "checking whether build environment is sane... " >&6; } 3296# Reject unsafe characters in $srcdir or the absolute working directory 3297# name. Accept space and tab only in the latter. 3298am_lf=' 3299' 3300case `pwd` in 3301 *[\\\"\#\$\&\'\`$am_lf]*) 3302 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3303esac 3304case $srcdir in 3305 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3306 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3307esac 3308 3309# Do 'set' in a subshell so we don't clobber the current shell's 3310# arguments. Must try -L first in case configure is actually a 3311# symlink; some systems play weird games with the mod time of symlinks 3312# (eg FreeBSD returns the mod time of the symlink's containing 3313# directory). 3314if ( 3315 am_has_slept=no 3316 for am_try in 1 2; do 3317 echo "timestamp, slept: $am_has_slept" > conftest.file 3318 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3319 if test "$*" = "X"; then 3320 # -L didn't work. 3321 set X `ls -t "$srcdir/configure" conftest.file` 3322 fi 3323 if test "$*" != "X $srcdir/configure conftest.file" \ 3324 && test "$*" != "X conftest.file $srcdir/configure"; then 3325 3326 # If neither matched, then we have a broken ls. This can happen 3327 # if, for instance, CONFIG_SHELL is bash and it inherits a 3328 # broken ls alias from the environment. This has actually 3329 # happened. Such a system could not be considered "sane". 3330 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3331 alias in your environment" "$LINENO" 5 3332 fi 3333 if test "$2" = conftest.file || test $am_try -eq 2; then 3334 break 3335 fi 3336 # Just in case. 3337 sleep 1 3338 am_has_slept=yes 3339 done 3340 test "$2" = conftest.file 3341 ) 3342then 3343 # Ok. 3344 : 3345else 3346 as_fn_error $? "newly created file is older than distributed files! 3347Check your system clock" "$LINENO" 5 3348fi 3349{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3350printf "%s\n" "yes" >&6; } 3351# If we didn't sleep, we still need to ensure time stamps of config.status and 3352# generated files are strictly newer. 3353am_sleep_pid= 3354if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3355 ( sleep 1 ) & 3356 am_sleep_pid=$! 3357fi 3358 3359rm -f conftest.file 3360 3361test "$program_prefix" != NONE && 3362 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3363# Use a double $ so make ignores it. 3364test "$program_suffix" != NONE && 3365 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3366# Double any \ or $. 3367# By default was 's,x,x', remove it if useless. 3368ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3369program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 3370 3371 3372# Expand $ac_aux_dir to an absolute path. 3373am_aux_dir=`cd "$ac_aux_dir" && pwd` 3374 3375 3376 if test x"${MISSING+set}" != xset; then 3377 case $am_aux_dir in 3378 *\ * | *\ *) 3379 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3380 *) 3381 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3382 esac 3383fi 3384# Use eval to expand $SHELL 3385if eval "$MISSING --is-lightweight"; then 3386 am_missing_run="$MISSING " 3387else 3388 am_missing_run= 3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3390printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3391fi 3392 3393if test x"${install_sh+set}" != xset; then 3394 case $am_aux_dir in 3395 *\ * | *\ *) 3396 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3397 *) 3398 install_sh="\${SHELL} $am_aux_dir/install-sh" 3399 esac 3400fi 3401 3402# Installed binaries are usually stripped using 'strip' when the user 3403# run "make install-strip". However 'strip' might not be the right 3404# tool to use in cross-compilation environments, therefore Automake 3405# will honor the 'STRIP' environment variable to overrule this program. 3406if test "$cross_compiling" != no; then 3407 if test -n "$ac_tool_prefix"; then 3408 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3409set dummy ${ac_tool_prefix}strip; ac_word=$2 3410{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3411printf %s "checking for $ac_word... " >&6; } 3412if test ${ac_cv_prog_STRIP+y} 3413then : 3414 printf %s "(cached) " >&6 3415else $as_nop 3416 if test -n "$STRIP"; then 3417 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3418else 3419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3420for as_dir in $PATH 3421do 3422 IFS=$as_save_IFS 3423 case $as_dir in #((( 3424 '') as_dir=./ ;; 3425 */) ;; 3426 *) as_dir=$as_dir/ ;; 3427 esac 3428 for ac_exec_ext in '' $ac_executable_extensions; do 3429 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3430 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3432 break 2 3433 fi 3434done 3435 done 3436IFS=$as_save_IFS 3437 3438fi 3439fi 3440STRIP=$ac_cv_prog_STRIP 3441if test -n "$STRIP"; then 3442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3443printf "%s\n" "$STRIP" >&6; } 3444else 3445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3446printf "%s\n" "no" >&6; } 3447fi 3448 3449 3450fi 3451if test -z "$ac_cv_prog_STRIP"; then 3452 ac_ct_STRIP=$STRIP 3453 # Extract the first word of "strip", so it can be a program name with args. 3454set dummy strip; ac_word=$2 3455{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3456printf %s "checking for $ac_word... " >&6; } 3457if test ${ac_cv_prog_ac_ct_STRIP+y} 3458then : 3459 printf %s "(cached) " >&6 3460else $as_nop 3461 if test -n "$ac_ct_STRIP"; then 3462 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3463else 3464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3465for as_dir in $PATH 3466do 3467 IFS=$as_save_IFS 3468 case $as_dir in #((( 3469 '') as_dir=./ ;; 3470 */) ;; 3471 *) as_dir=$as_dir/ ;; 3472 esac 3473 for ac_exec_ext in '' $ac_executable_extensions; do 3474 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3475 ac_cv_prog_ac_ct_STRIP="strip" 3476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3477 break 2 3478 fi 3479done 3480 done 3481IFS=$as_save_IFS 3482 3483fi 3484fi 3485ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3486if test -n "$ac_ct_STRIP"; then 3487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3488printf "%s\n" "$ac_ct_STRIP" >&6; } 3489else 3490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3491printf "%s\n" "no" >&6; } 3492fi 3493 3494 if test "x$ac_ct_STRIP" = x; then 3495 STRIP=":" 3496 else 3497 case $cross_compiling:$ac_tool_warned in 3498yes:) 3499{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3500printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3501ac_tool_warned=yes ;; 3502esac 3503 STRIP=$ac_ct_STRIP 3504 fi 3505else 3506 STRIP="$ac_cv_prog_STRIP" 3507fi 3508 3509fi 3510INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3511 3512 3513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 3514printf %s "checking for a race-free mkdir -p... " >&6; } 3515if test -z "$MKDIR_P"; then 3516 if test ${ac_cv_path_mkdir+y} 3517then : 3518 printf %s "(cached) " >&6 3519else $as_nop 3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3521for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3522do 3523 IFS=$as_save_IFS 3524 case $as_dir in #((( 3525 '') as_dir=./ ;; 3526 */) ;; 3527 *) as_dir=$as_dir/ ;; 3528 esac 3529 for ac_prog in mkdir gmkdir; do 3530 for ac_exec_ext in '' $ac_executable_extensions; do 3531 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 3532 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 3533 'mkdir ('*'coreutils) '* | \ 3534 'BusyBox '* | \ 3535 'mkdir (fileutils) '4.1*) 3536 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 3537 break 3;; 3538 esac 3539 done 3540 done 3541 done 3542IFS=$as_save_IFS 3543 3544fi 3545 3546 test -d ./--version && rmdir ./--version 3547 if test ${ac_cv_path_mkdir+y}; then 3548 MKDIR_P="$ac_cv_path_mkdir -p" 3549 else 3550 # As a last resort, use the slow shell script. Don't cache a 3551 # value for MKDIR_P within a source directory, because that will 3552 # break other packages using the cache if that directory is 3553 # removed, or if the value is a relative name. 3554 MKDIR_P="$ac_install_sh -d" 3555 fi 3556fi 3557{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3558printf "%s\n" "$MKDIR_P" >&6; } 3559 3560for ac_prog in gawk mawk nawk awk 3561do 3562 # Extract the first word of "$ac_prog", so it can be a program name with args. 3563set dummy $ac_prog; ac_word=$2 3564{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3565printf %s "checking for $ac_word... " >&6; } 3566if test ${ac_cv_prog_AWK+y} 3567then : 3568 printf %s "(cached) " >&6 3569else $as_nop 3570 if test -n "$AWK"; then 3571 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3572else 3573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3574for as_dir in $PATH 3575do 3576 IFS=$as_save_IFS 3577 case $as_dir in #((( 3578 '') as_dir=./ ;; 3579 */) ;; 3580 *) as_dir=$as_dir/ ;; 3581 esac 3582 for ac_exec_ext in '' $ac_executable_extensions; do 3583 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3584 ac_cv_prog_AWK="$ac_prog" 3585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3586 break 2 3587 fi 3588done 3589 done 3590IFS=$as_save_IFS 3591 3592fi 3593fi 3594AWK=$ac_cv_prog_AWK 3595if test -n "$AWK"; then 3596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3597printf "%s\n" "$AWK" >&6; } 3598else 3599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3600printf "%s\n" "no" >&6; } 3601fi 3602 3603 3604 test -n "$AWK" && break 3605done 3606 3607{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3608printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3609set x ${MAKE-make} 3610ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3611if eval test \${ac_cv_prog_make_${ac_make}_set+y} 3612then : 3613 printf %s "(cached) " >&6 3614else $as_nop 3615 cat >conftest.make <<\_ACEOF 3616SHELL = /bin/sh 3617all: 3618 @echo '@@@%%%=$(MAKE)=@@@%%%' 3619_ACEOF 3620# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3621case `${MAKE-make} -f conftest.make 2>/dev/null` in 3622 *@@@%%%=?*=@@@%%%*) 3623 eval ac_cv_prog_make_${ac_make}_set=yes;; 3624 *) 3625 eval ac_cv_prog_make_${ac_make}_set=no;; 3626esac 3627rm -f conftest.make 3628fi 3629if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3631printf "%s\n" "yes" >&6; } 3632 SET_MAKE= 3633else 3634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3635printf "%s\n" "no" >&6; } 3636 SET_MAKE="MAKE=${MAKE-make}" 3637fi 3638 3639rm -rf .tst 2>/dev/null 3640mkdir .tst 2>/dev/null 3641if test -d .tst; then 3642 am__leading_dot=. 3643else 3644 am__leading_dot=_ 3645fi 3646rmdir .tst 2>/dev/null 3647 3648# Check whether --enable-silent-rules was given. 3649if test ${enable_silent_rules+y} 3650then : 3651 enableval=$enable_silent_rules; 3652fi 3653 3654case $enable_silent_rules in # ((( 3655 yes) AM_DEFAULT_VERBOSITY=0;; 3656 no) AM_DEFAULT_VERBOSITY=1;; 3657 *) AM_DEFAULT_VERBOSITY=1;; 3658esac 3659am_make=${MAKE-make} 3660{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3661printf %s "checking whether $am_make supports nested variables... " >&6; } 3662if test ${am_cv_make_support_nested_variables+y} 3663then : 3664 printf %s "(cached) " >&6 3665else $as_nop 3666 if printf "%s\n" 'TRUE=$(BAR$(V)) 3667BAR0=false 3668BAR1=true 3669V=1 3670am__doit: 3671 @$(TRUE) 3672.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3673 am_cv_make_support_nested_variables=yes 3674else 3675 am_cv_make_support_nested_variables=no 3676fi 3677fi 3678{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3679printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 3680if test $am_cv_make_support_nested_variables = yes; then 3681 AM_V='$(V)' 3682 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3683else 3684 AM_V=$AM_DEFAULT_VERBOSITY 3685 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3686fi 3687AM_BACKSLASH='\' 3688 3689if test "`cd $srcdir && pwd`" != "`pwd`"; then 3690 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3691 # is not polluted with repeated "-I." 3692 am__isrc=' -I$(srcdir)' 3693 # test to see if srcdir already configured 3694 if test -f $srcdir/config.status; then 3695 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3696 fi 3697fi 3698 3699# test whether we have cygpath 3700if test -z "$CYGPATH_W"; then 3701 if (cygpath --version) >/dev/null 2>/dev/null; then 3702 CYGPATH_W='cygpath -w' 3703 else 3704 CYGPATH_W=echo 3705 fi 3706fi 3707 3708 3709# Define the identity of the package. 3710 PACKAGE='librsb' 3711 VERSION='1.2.0.10' 3712 3713 3714printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 3715 3716 3717printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 3718 3719# Some tools Automake needs. 3720 3721ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3722 3723 3724AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3725 3726 3727AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3728 3729 3730AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3731 3732 3733MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3734 3735# For better backward compatibility. To be removed once Automake 1.9.x 3736# dies out for good. For more background, see: 3737# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3738# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3739mkdir_p='$(MKDIR_P)' 3740 3741# We need awk for the "check" target (and possibly the TAP driver). The 3742# system "awk" is bad on some platforms. 3743# Always define AMTAR for backward compatibility. Yes, it's still used 3744# in the wild :-( We should find a proper way to deprecate it ... 3745AMTAR='$${TAR-tar}' 3746 3747 3748# We'll loop over all known methods to create a tar archive until one works. 3749_am_tools='gnutar pax cpio none' 3750 3751am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3752 3753 3754 3755 3756 3757 3758# POSIX will say in a future version that running "rm -f" with no argument 3759# is OK; and we want to be able to make that assumption in our Makefile 3760# recipes. So use an aggressive probe to check that the usage we want is 3761# actually supported "in the wild" to an acceptable degree. 3762# See automake bug#10828. 3763# To make any issue more visible, cause the running configure to be aborted 3764# by default if the 'rm' program in use doesn't match our expectations; the 3765# user can still override this though. 3766if rm -f && rm -fr && rm -rf; then : OK; else 3767 cat >&2 <<'END' 3768Oops! 3769 3770Your 'rm' program seems unable to run without file operands specified 3771on the command line, even when the '-f' option is present. This is contrary 3772to the behaviour of most rm programs out there, and not conforming with 3773the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3774 3775Please tell bug-automake@gnu.org about your system, including the value 3776of your $PATH and any error possibly output before this message. This 3777can help us improve future automake versions. 3778 3779END 3780 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3781 echo 'Configuration will proceed anyway, since you have set the' >&2 3782 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3783 echo >&2 3784 else 3785 cat >&2 <<'END' 3786Aborting the configuration process, to ensure you take notice of the issue. 3787 3788You can download and install GNU coreutils to get an 'rm' implementation 3789that behaves properly: <https://www.gnu.org/software/coreutils/>. 3790 3791If you want to complete the configuration process using your problematic 3792'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3793to "yes", and re-run configure. 3794 3795END 3796 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3797 fi 3798fi 3799 3800case `pwd` in 3801 *\ * | *\ *) 3802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3803printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3804esac 3805 3806 3807 3808macro_version='2.4.6' 3809macro_revision='2.4.6' 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824ltmain=$ac_aux_dir/ltmain.sh 3825 3826 3827 3828 # Make sure we can run config.sub. 3829$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 3830 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 3831 3832{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3833printf %s "checking build system type... " >&6; } 3834if test ${ac_cv_build+y} 3835then : 3836 printf %s "(cached) " >&6 3837else $as_nop 3838 ac_build_alias=$build_alias 3839test "x$ac_build_alias" = x && 3840 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 3841test "x$ac_build_alias" = x && 3842 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3843ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 3844 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 3845 3846fi 3847{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3848printf "%s\n" "$ac_cv_build" >&6; } 3849case $ac_cv_build in 3850*-*-*) ;; 3851*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3852esac 3853build=$ac_cv_build 3854ac_save_IFS=$IFS; IFS='-' 3855set x $ac_cv_build 3856shift 3857build_cpu=$1 3858build_vendor=$2 3859shift; shift 3860# Remember, the first character of IFS is used to create $*, 3861# except with old shells: 3862build_os=$* 3863IFS=$ac_save_IFS 3864case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3865 3866 3867{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3868printf %s "checking host system type... " >&6; } 3869if test ${ac_cv_host+y} 3870then : 3871 printf %s "(cached) " >&6 3872else $as_nop 3873 if test "x$host_alias" = x; then 3874 ac_cv_host=$ac_cv_build 3875else 3876 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 3877 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 3878fi 3879 3880fi 3881{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3882printf "%s\n" "$ac_cv_host" >&6; } 3883case $ac_cv_host in 3884*-*-*) ;; 3885*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3886esac 3887host=$ac_cv_host 3888ac_save_IFS=$IFS; IFS='-' 3889set x $ac_cv_host 3890shift 3891host_cpu=$1 3892host_vendor=$2 3893shift; shift 3894# Remember, the first character of IFS is used to create $*, 3895# except with old shells: 3896host_os=$* 3897IFS=$ac_save_IFS 3898case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3899 3900 3901# Backslashify metacharacters that are still active within 3902# double-quoted strings. 3903sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3904 3905# Same as above, but do not quote variable references. 3906double_quote_subst='s/\(["`\\]\)/\\\1/g' 3907 3908# Sed substitution to delay expansion of an escaped shell variable in a 3909# double_quote_subst'ed string. 3910delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3911 3912# Sed substitution to delay expansion of an escaped single quote. 3913delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3914 3915# Sed substitution to avoid accidental globbing in evaled expressions 3916no_glob_subst='s/\*/\\\*/g' 3917 3918ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3919ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3920ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3921 3922{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3923printf %s "checking how to print strings... " >&6; } 3924# Test print first, because it will be a builtin if present. 3925if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3926 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3927 ECHO='print -r --' 3928elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3929 ECHO='printf %s\n' 3930else 3931 # Use this function as a fallback that always works. 3932 func_fallback_echo () 3933 { 3934 eval 'cat <<_LTECHO_EOF 3935$1 3936_LTECHO_EOF' 3937 } 3938 ECHO='func_fallback_echo' 3939fi 3940 3941# func_echo_all arg... 3942# Invoke $ECHO with all args, space-separated. 3943func_echo_all () 3944{ 3945 $ECHO "" 3946} 3947 3948case $ECHO in 3949 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3950printf "%s\n" "printf" >&6; } ;; 3951 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3952printf "%s\n" "print -r" >&6; } ;; 3953 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3954printf "%s\n" "cat" >&6; } ;; 3955esac 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979DEPDIR="${am__leading_dot}deps" 3980 3981ac_config_commands="$ac_config_commands depfiles" 3982 3983{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3984printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } 3985cat > confinc.mk << 'END' 3986am__doit: 3987 @echo this is the am__doit target >confinc.out 3988.PHONY: am__doit 3989END 3990am__include="#" 3991am__quote= 3992# BSD make does it like this. 3993echo '.include "confinc.mk" # ignored' > confmf.BSD 3994# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3995echo 'include confinc.mk # ignored' > confmf.GNU 3996_am_result=no 3997for s in GNU BSD; do 3998 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3999 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 4000 ac_status=$? 4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4002 (exit $ac_status); } 4003 case $?:`cat confinc.out 2>/dev/null` in #( 4004 '0:this is the am__doit target') : 4005 case $s in #( 4006 BSD) : 4007 am__include='.include' am__quote='"' ;; #( 4008 *) : 4009 am__include='include' am__quote='' ;; 4010esac ;; #( 4011 *) : 4012 ;; 4013esac 4014 if test "$am__include" != "#"; then 4015 _am_result="yes ($s style)" 4016 break 4017 fi 4018done 4019rm -f confinc.* confmf.* 4020{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 4021printf "%s\n" "${_am_result}" >&6; } 4022 4023# Check whether --enable-dependency-tracking was given. 4024if test ${enable_dependency_tracking+y} 4025then : 4026 enableval=$enable_dependency_tracking; 4027fi 4028 4029if test "x$enable_dependency_tracking" != xno; then 4030 am_depcomp="$ac_aux_dir/depcomp" 4031 AMDEPBACKSLASH='\' 4032 am__nodep='_no' 4033fi 4034 if test "x$enable_dependency_tracking" != xno; then 4035 AMDEP_TRUE= 4036 AMDEP_FALSE='#' 4037else 4038 AMDEP_TRUE='#' 4039 AMDEP_FALSE= 4040fi 4041 4042 4043ac_ext=c 4044ac_cpp='$CPP $CPPFLAGS' 4045ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4046ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4047ac_compiler_gnu=$ac_cv_c_compiler_gnu 4048if test -n "$ac_tool_prefix"; then 4049 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4050set dummy ${ac_tool_prefix}gcc; ac_word=$2 4051{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4052printf %s "checking for $ac_word... " >&6; } 4053if test ${ac_cv_prog_CC+y} 4054then : 4055 printf %s "(cached) " >&6 4056else $as_nop 4057 if test -n "$CC"; then 4058 ac_cv_prog_CC="$CC" # Let the user override the test. 4059else 4060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4061for as_dir in $PATH 4062do 4063 IFS=$as_save_IFS 4064 case $as_dir in #((( 4065 '') as_dir=./ ;; 4066 */) ;; 4067 *) as_dir=$as_dir/ ;; 4068 esac 4069 for ac_exec_ext in '' $ac_executable_extensions; do 4070 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4071 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4073 break 2 4074 fi 4075done 4076 done 4077IFS=$as_save_IFS 4078 4079fi 4080fi 4081CC=$ac_cv_prog_CC 4082if test -n "$CC"; then 4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4084printf "%s\n" "$CC" >&6; } 4085else 4086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4087printf "%s\n" "no" >&6; } 4088fi 4089 4090 4091fi 4092if test -z "$ac_cv_prog_CC"; then 4093 ac_ct_CC=$CC 4094 # Extract the first word of "gcc", so it can be a program name with args. 4095set dummy gcc; ac_word=$2 4096{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4097printf %s "checking for $ac_word... " >&6; } 4098if test ${ac_cv_prog_ac_ct_CC+y} 4099then : 4100 printf %s "(cached) " >&6 4101else $as_nop 4102 if test -n "$ac_ct_CC"; then 4103 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4104else 4105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4106for as_dir in $PATH 4107do 4108 IFS=$as_save_IFS 4109 case $as_dir in #((( 4110 '') as_dir=./ ;; 4111 */) ;; 4112 *) as_dir=$as_dir/ ;; 4113 esac 4114 for ac_exec_ext in '' $ac_executable_extensions; do 4115 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4116 ac_cv_prog_ac_ct_CC="gcc" 4117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4118 break 2 4119 fi 4120done 4121 done 4122IFS=$as_save_IFS 4123 4124fi 4125fi 4126ac_ct_CC=$ac_cv_prog_ac_ct_CC 4127if test -n "$ac_ct_CC"; then 4128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4129printf "%s\n" "$ac_ct_CC" >&6; } 4130else 4131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4132printf "%s\n" "no" >&6; } 4133fi 4134 4135 if test "x$ac_ct_CC" = x; then 4136 CC="" 4137 else 4138 case $cross_compiling:$ac_tool_warned in 4139yes:) 4140{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4141printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4142ac_tool_warned=yes ;; 4143esac 4144 CC=$ac_ct_CC 4145 fi 4146else 4147 CC="$ac_cv_prog_CC" 4148fi 4149 4150if test -z "$CC"; then 4151 if test -n "$ac_tool_prefix"; then 4152 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4153set dummy ${ac_tool_prefix}cc; ac_word=$2 4154{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4155printf %s "checking for $ac_word... " >&6; } 4156if test ${ac_cv_prog_CC+y} 4157then : 4158 printf %s "(cached) " >&6 4159else $as_nop 4160 if test -n "$CC"; then 4161 ac_cv_prog_CC="$CC" # Let the user override the test. 4162else 4163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4164for as_dir in $PATH 4165do 4166 IFS=$as_save_IFS 4167 case $as_dir in #((( 4168 '') as_dir=./ ;; 4169 */) ;; 4170 *) as_dir=$as_dir/ ;; 4171 esac 4172 for ac_exec_ext in '' $ac_executable_extensions; do 4173 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4174 ac_cv_prog_CC="${ac_tool_prefix}cc" 4175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4176 break 2 4177 fi 4178done 4179 done 4180IFS=$as_save_IFS 4181 4182fi 4183fi 4184CC=$ac_cv_prog_CC 4185if test -n "$CC"; then 4186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4187printf "%s\n" "$CC" >&6; } 4188else 4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4190printf "%s\n" "no" >&6; } 4191fi 4192 4193 4194 fi 4195fi 4196if test -z "$CC"; then 4197 # Extract the first word of "cc", so it can be a program name with args. 4198set dummy cc; ac_word=$2 4199{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4200printf %s "checking for $ac_word... " >&6; } 4201if test ${ac_cv_prog_CC+y} 4202then : 4203 printf %s "(cached) " >&6 4204else $as_nop 4205 if test -n "$CC"; then 4206 ac_cv_prog_CC="$CC" # Let the user override the test. 4207else 4208 ac_prog_rejected=no 4209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4210for as_dir in $PATH 4211do 4212 IFS=$as_save_IFS 4213 case $as_dir in #((( 4214 '') as_dir=./ ;; 4215 */) ;; 4216 *) as_dir=$as_dir/ ;; 4217 esac 4218 for ac_exec_ext in '' $ac_executable_extensions; do 4219 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4220 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4221 ac_prog_rejected=yes 4222 continue 4223 fi 4224 ac_cv_prog_CC="cc" 4225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4226 break 2 4227 fi 4228done 4229 done 4230IFS=$as_save_IFS 4231 4232if test $ac_prog_rejected = yes; then 4233 # We found a bogon in the path, so make sure we never use it. 4234 set dummy $ac_cv_prog_CC 4235 shift 4236 if test $# != 0; then 4237 # We chose a different compiler from the bogus one. 4238 # However, it has the same basename, so the bogon will be chosen 4239 # first if we set CC to just the basename; use the full file name. 4240 shift 4241 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 4242 fi 4243fi 4244fi 4245fi 4246CC=$ac_cv_prog_CC 4247if test -n "$CC"; then 4248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4249printf "%s\n" "$CC" >&6; } 4250else 4251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4252printf "%s\n" "no" >&6; } 4253fi 4254 4255 4256fi 4257if test -z "$CC"; then 4258 if test -n "$ac_tool_prefix"; then 4259 for ac_prog in cl.exe 4260 do 4261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4262set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4263{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4264printf %s "checking for $ac_word... " >&6; } 4265if test ${ac_cv_prog_CC+y} 4266then : 4267 printf %s "(cached) " >&6 4268else $as_nop 4269 if test -n "$CC"; then 4270 ac_cv_prog_CC="$CC" # Let the user override the test. 4271else 4272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4273for as_dir in $PATH 4274do 4275 IFS=$as_save_IFS 4276 case $as_dir in #((( 4277 '') as_dir=./ ;; 4278 */) ;; 4279 *) as_dir=$as_dir/ ;; 4280 esac 4281 for ac_exec_ext in '' $ac_executable_extensions; do 4282 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4283 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4285 break 2 4286 fi 4287done 4288 done 4289IFS=$as_save_IFS 4290 4291fi 4292fi 4293CC=$ac_cv_prog_CC 4294if test -n "$CC"; then 4295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4296printf "%s\n" "$CC" >&6; } 4297else 4298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4299printf "%s\n" "no" >&6; } 4300fi 4301 4302 4303 test -n "$CC" && break 4304 done 4305fi 4306if test -z "$CC"; then 4307 ac_ct_CC=$CC 4308 for ac_prog in cl.exe 4309do 4310 # Extract the first word of "$ac_prog", so it can be a program name with args. 4311set dummy $ac_prog; ac_word=$2 4312{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4313printf %s "checking for $ac_word... " >&6; } 4314if test ${ac_cv_prog_ac_ct_CC+y} 4315then : 4316 printf %s "(cached) " >&6 4317else $as_nop 4318 if test -n "$ac_ct_CC"; then 4319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4320else 4321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4322for as_dir in $PATH 4323do 4324 IFS=$as_save_IFS 4325 case $as_dir in #((( 4326 '') as_dir=./ ;; 4327 */) ;; 4328 *) as_dir=$as_dir/ ;; 4329 esac 4330 for ac_exec_ext in '' $ac_executable_extensions; do 4331 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4332 ac_cv_prog_ac_ct_CC="$ac_prog" 4333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4334 break 2 4335 fi 4336done 4337 done 4338IFS=$as_save_IFS 4339 4340fi 4341fi 4342ac_ct_CC=$ac_cv_prog_ac_ct_CC 4343if test -n "$ac_ct_CC"; then 4344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4345printf "%s\n" "$ac_ct_CC" >&6; } 4346else 4347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4348printf "%s\n" "no" >&6; } 4349fi 4350 4351 4352 test -n "$ac_ct_CC" && break 4353done 4354 4355 if test "x$ac_ct_CC" = x; then 4356 CC="" 4357 else 4358 case $cross_compiling:$ac_tool_warned in 4359yes:) 4360{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4361printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4362ac_tool_warned=yes ;; 4363esac 4364 CC=$ac_ct_CC 4365 fi 4366fi 4367 4368fi 4369if test -z "$CC"; then 4370 if test -n "$ac_tool_prefix"; then 4371 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 4372set dummy ${ac_tool_prefix}clang; ac_word=$2 4373{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4374printf %s "checking for $ac_word... " >&6; } 4375if test ${ac_cv_prog_CC+y} 4376then : 4377 printf %s "(cached) " >&6 4378else $as_nop 4379 if test -n "$CC"; then 4380 ac_cv_prog_CC="$CC" # Let the user override the test. 4381else 4382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4383for as_dir in $PATH 4384do 4385 IFS=$as_save_IFS 4386 case $as_dir in #((( 4387 '') as_dir=./ ;; 4388 */) ;; 4389 *) as_dir=$as_dir/ ;; 4390 esac 4391 for ac_exec_ext in '' $ac_executable_extensions; do 4392 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4393 ac_cv_prog_CC="${ac_tool_prefix}clang" 4394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4395 break 2 4396 fi 4397done 4398 done 4399IFS=$as_save_IFS 4400 4401fi 4402fi 4403CC=$ac_cv_prog_CC 4404if test -n "$CC"; then 4405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4406printf "%s\n" "$CC" >&6; } 4407else 4408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4409printf "%s\n" "no" >&6; } 4410fi 4411 4412 4413fi 4414if test -z "$ac_cv_prog_CC"; then 4415 ac_ct_CC=$CC 4416 # Extract the first word of "clang", so it can be a program name with args. 4417set dummy clang; ac_word=$2 4418{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4419printf %s "checking for $ac_word... " >&6; } 4420if test ${ac_cv_prog_ac_ct_CC+y} 4421then : 4422 printf %s "(cached) " >&6 4423else $as_nop 4424 if test -n "$ac_ct_CC"; then 4425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4426else 4427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4428for as_dir in $PATH 4429do 4430 IFS=$as_save_IFS 4431 case $as_dir in #((( 4432 '') as_dir=./ ;; 4433 */) ;; 4434 *) as_dir=$as_dir/ ;; 4435 esac 4436 for ac_exec_ext in '' $ac_executable_extensions; do 4437 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4438 ac_cv_prog_ac_ct_CC="clang" 4439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4440 break 2 4441 fi 4442done 4443 done 4444IFS=$as_save_IFS 4445 4446fi 4447fi 4448ac_ct_CC=$ac_cv_prog_ac_ct_CC 4449if test -n "$ac_ct_CC"; then 4450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4451printf "%s\n" "$ac_ct_CC" >&6; } 4452else 4453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4454printf "%s\n" "no" >&6; } 4455fi 4456 4457 if test "x$ac_ct_CC" = x; then 4458 CC="" 4459 else 4460 case $cross_compiling:$ac_tool_warned in 4461yes:) 4462{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4463printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4464ac_tool_warned=yes ;; 4465esac 4466 CC=$ac_ct_CC 4467 fi 4468else 4469 CC="$ac_cv_prog_CC" 4470fi 4471 4472fi 4473 4474 4475test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 4476printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 4477as_fn_error $? "no acceptable C compiler found in \$PATH 4478See 'config.log' for more details" "$LINENO" 5; } 4479 4480# Provide some information about the compiler. 4481printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4482set X $ac_compile 4483ac_compiler=$2 4484for ac_option in --version -v -V -qversion -version; do 4485 { { ac_try="$ac_compiler $ac_option >&5" 4486case "(($ac_try" in 4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4488 *) ac_try_echo=$ac_try;; 4489esac 4490eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4491printf "%s\n" "$ac_try_echo"; } >&5 4492 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4493 ac_status=$? 4494 if test -s conftest.err; then 4495 sed '10a\ 4496... rest of stderr output deleted ... 4497 10q' conftest.err >conftest.er1 4498 cat conftest.er1 >&5 4499 fi 4500 rm -f conftest.er1 conftest.err 4501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4502 test $ac_status = 0; } 4503done 4504 4505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4506/* end confdefs.h. */ 4507 4508int 4509main (void) 4510{ 4511 4512 ; 4513 return 0; 4514} 4515_ACEOF 4516ac_clean_files_save=$ac_clean_files 4517ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4518# Try to create an executable without -o first, disregard a.out. 4519# It will help us diagnose broken compilers, and finding out an intuition 4520# of exeext. 4521{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4522printf %s "checking whether the C compiler works... " >&6; } 4523ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4524 4525# The possible output files: 4526ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4527 4528ac_rmfiles= 4529for ac_file in $ac_files 4530do 4531 case $ac_file in 4532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4533 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4534 esac 4535done 4536rm -f $ac_rmfiles 4537 4538if { { ac_try="$ac_link_default" 4539case "(($ac_try" in 4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4541 *) ac_try_echo=$ac_try;; 4542esac 4543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4544printf "%s\n" "$ac_try_echo"; } >&5 4545 (eval "$ac_link_default") 2>&5 4546 ac_status=$? 4547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4548 test $ac_status = 0; } 4549then : 4550 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. 4551# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' 4552# in a Makefile. We should not override ac_cv_exeext if it was cached, 4553# so that the user can short-circuit this test for compilers unknown to 4554# Autoconf. 4555for ac_file in $ac_files '' 4556do 4557 test -f "$ac_file" || continue 4558 case $ac_file in 4559 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4560 ;; 4561 [ab].out ) 4562 # We found the default executable, but exeext='' is most 4563 # certainly right. 4564 break;; 4565 *.* ) 4566 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 4567 then :; else 4568 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4569 fi 4570 # We set ac_cv_exeext here because the later test for it is not 4571 # safe: cross compilers may not add the suffix if given an '-o' 4572 # argument, so we may need to know it at that point already. 4573 # Even if this section looks crufty: it has the advantage of 4574 # actually working. 4575 break;; 4576 * ) 4577 break;; 4578 esac 4579done 4580test "$ac_cv_exeext" = no && ac_cv_exeext= 4581 4582else $as_nop 4583 ac_file='' 4584fi 4585if test -z "$ac_file" 4586then : 4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4588printf "%s\n" "no" >&6; } 4589printf "%s\n" "$as_me: failed program was:" >&5 4590sed 's/^/| /' conftest.$ac_ext >&5 4591 4592{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 4593printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 4594as_fn_error 77 "C compiler cannot create executables 4595See 'config.log' for more details" "$LINENO" 5; } 4596else $as_nop 4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4598printf "%s\n" "yes" >&6; } 4599fi 4600{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4601printf %s "checking for C compiler default output file name... " >&6; } 4602{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4603printf "%s\n" "$ac_file" >&6; } 4604ac_exeext=$ac_cv_exeext 4605 4606rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4607ac_clean_files=$ac_clean_files_save 4608{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4609printf %s "checking for suffix of executables... " >&6; } 4610if { { ac_try="$ac_link" 4611case "(($ac_try" in 4612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4613 *) ac_try_echo=$ac_try;; 4614esac 4615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4616printf "%s\n" "$ac_try_echo"; } >&5 4617 (eval "$ac_link") 2>&5 4618 ac_status=$? 4619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4620 test $ac_status = 0; } 4621then : 4622 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) 4623# catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will 4624# work properly (i.e., refer to 'conftest.exe'), while it won't with 4625# 'rm'. 4626for ac_file in conftest.exe conftest conftest.*; do 4627 test -f "$ac_file" || continue 4628 case $ac_file in 4629 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4630 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4631 break;; 4632 * ) break;; 4633 esac 4634done 4635else $as_nop 4636 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 4637printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 4638as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4639See 'config.log' for more details" "$LINENO" 5; } 4640fi 4641rm -f conftest conftest$ac_cv_exeext 4642{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4643printf "%s\n" "$ac_cv_exeext" >&6; } 4644 4645rm -f conftest.$ac_ext 4646EXEEXT=$ac_cv_exeext 4647ac_exeext=$EXEEXT 4648cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4649/* end confdefs.h. */ 4650#include <stdio.h> 4651int 4652main (void) 4653{ 4654FILE *f = fopen ("conftest.out", "w"); 4655 return ferror (f) || fclose (f) != 0; 4656 4657 ; 4658 return 0; 4659} 4660_ACEOF 4661ac_clean_files="$ac_clean_files conftest.out" 4662# Check that the compiler produces executables we can run. If not, either 4663# the compiler is broken, or we cross compile. 4664{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4665printf %s "checking whether we are cross compiling... " >&6; } 4666if test "$cross_compiling" != yes; then 4667 { { ac_try="$ac_link" 4668case "(($ac_try" in 4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4670 *) ac_try_echo=$ac_try;; 4671esac 4672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4673printf "%s\n" "$ac_try_echo"; } >&5 4674 (eval "$ac_link") 2>&5 4675 ac_status=$? 4676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4677 test $ac_status = 0; } 4678 if { ac_try='./conftest$ac_cv_exeext' 4679 { { case "(($ac_try" in 4680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4681 *) ac_try_echo=$ac_try;; 4682esac 4683eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4684printf "%s\n" "$ac_try_echo"; } >&5 4685 (eval "$ac_try") 2>&5 4686 ac_status=$? 4687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4688 test $ac_status = 0; }; }; then 4689 cross_compiling=no 4690 else 4691 if test "$cross_compiling" = maybe; then 4692 cross_compiling=yes 4693 else 4694 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 4695printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 4696as_fn_error 77 "cannot run C compiled programs. 4697If you meant to cross compile, use '--host'. 4698See 'config.log' for more details" "$LINENO" 5; } 4699 fi 4700 fi 4701fi 4702{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4703printf "%s\n" "$cross_compiling" >&6; } 4704 4705rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4706ac_clean_files=$ac_clean_files_save 4707{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4708printf %s "checking for suffix of object files... " >&6; } 4709if test ${ac_cv_objext+y} 4710then : 4711 printf %s "(cached) " >&6 4712else $as_nop 4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4714/* end confdefs.h. */ 4715 4716int 4717main (void) 4718{ 4719 4720 ; 4721 return 0; 4722} 4723_ACEOF 4724rm -f conftest.o conftest.obj 4725if { { ac_try="$ac_compile" 4726case "(($ac_try" in 4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4728 *) ac_try_echo=$ac_try;; 4729esac 4730eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4731printf "%s\n" "$ac_try_echo"; } >&5 4732 (eval "$ac_compile") 2>&5 4733 ac_status=$? 4734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4735 test $ac_status = 0; } 4736then : 4737 for ac_file in conftest.o conftest.obj conftest.*; do 4738 test -f "$ac_file" || continue; 4739 case $ac_file in 4740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4741 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4742 break;; 4743 esac 4744done 4745else $as_nop 4746 printf "%s\n" "$as_me: failed program was:" >&5 4747sed 's/^/| /' conftest.$ac_ext >&5 4748 4749{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 4750printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 4751as_fn_error $? "cannot compute suffix of object files: cannot compile 4752See 'config.log' for more details" "$LINENO" 5; } 4753fi 4754rm -f conftest.$ac_cv_objext conftest.$ac_ext 4755fi 4756{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4757printf "%s\n" "$ac_cv_objext" >&6; } 4758OBJEXT=$ac_cv_objext 4759ac_objext=$OBJEXT 4760{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 4761printf %s "checking whether the compiler supports GNU C... " >&6; } 4762if test ${ac_cv_c_compiler_gnu+y} 4763then : 4764 printf %s "(cached) " >&6 4765else $as_nop 4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4767/* end confdefs.h. */ 4768 4769int 4770main (void) 4771{ 4772#ifndef __GNUC__ 4773 choke me 4774#endif 4775 4776 ; 4777 return 0; 4778} 4779_ACEOF 4780if ac_fn_c_try_compile "$LINENO" 4781then : 4782 ac_compiler_gnu=yes 4783else $as_nop 4784 ac_compiler_gnu=no 4785fi 4786rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4787ac_cv_c_compiler_gnu=$ac_compiler_gnu 4788 4789fi 4790{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4791printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 4792ac_compiler_gnu=$ac_cv_c_compiler_gnu 4793 4794if test $ac_compiler_gnu = yes; then 4795 GCC=yes 4796else 4797 GCC= 4798fi 4799ac_test_CFLAGS=${CFLAGS+y} 4800ac_save_CFLAGS=$CFLAGS 4801{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4802printf %s "checking whether $CC accepts -g... " >&6; } 4803if test ${ac_cv_prog_cc_g+y} 4804then : 4805 printf %s "(cached) " >&6 4806else $as_nop 4807 ac_save_c_werror_flag=$ac_c_werror_flag 4808 ac_c_werror_flag=yes 4809 ac_cv_prog_cc_g=no 4810 CFLAGS="-g" 4811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4812/* end confdefs.h. */ 4813 4814int 4815main (void) 4816{ 4817 4818 ; 4819 return 0; 4820} 4821_ACEOF 4822if ac_fn_c_try_compile "$LINENO" 4823then : 4824 ac_cv_prog_cc_g=yes 4825else $as_nop 4826 CFLAGS="" 4827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4828/* end confdefs.h. */ 4829 4830int 4831main (void) 4832{ 4833 4834 ; 4835 return 0; 4836} 4837_ACEOF 4838if ac_fn_c_try_compile "$LINENO" 4839then : 4840 4841else $as_nop 4842 ac_c_werror_flag=$ac_save_c_werror_flag 4843 CFLAGS="-g" 4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4845/* end confdefs.h. */ 4846 4847int 4848main (void) 4849{ 4850 4851 ; 4852 return 0; 4853} 4854_ACEOF 4855if ac_fn_c_try_compile "$LINENO" 4856then : 4857 ac_cv_prog_cc_g=yes 4858fi 4859rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4860fi 4861rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4862fi 4863rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4864 ac_c_werror_flag=$ac_save_c_werror_flag 4865fi 4866{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4867printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 4868if test $ac_test_CFLAGS; then 4869 CFLAGS=$ac_save_CFLAGS 4870elif test $ac_cv_prog_cc_g = yes; then 4871 if test "$GCC" = yes; then 4872 CFLAGS="-g -O2" 4873 else 4874 CFLAGS="-g" 4875 fi 4876else 4877 if test "$GCC" = yes; then 4878 CFLAGS="-O2" 4879 else 4880 CFLAGS= 4881 fi 4882fi 4883ac_prog_cc_stdc=no 4884if test x$ac_prog_cc_stdc = xno 4885then : 4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 4887printf %s "checking for $CC option to enable C11 features... " >&6; } 4888if test ${ac_cv_prog_cc_c11+y} 4889then : 4890 printf %s "(cached) " >&6 4891else $as_nop 4892 ac_cv_prog_cc_c11=no 4893ac_save_CC=$CC 4894cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4895/* end confdefs.h. */ 4896$ac_c_conftest_c11_program 4897_ACEOF 4898for ac_arg in '' -std=gnu11 4899do 4900 CC="$ac_save_CC $ac_arg" 4901 if ac_fn_c_try_compile "$LINENO" 4902then : 4903 ac_cv_prog_cc_c11=$ac_arg 4904fi 4905rm -f core conftest.err conftest.$ac_objext conftest.beam 4906 test "x$ac_cv_prog_cc_c11" != "xno" && break 4907done 4908rm -f conftest.$ac_ext 4909CC=$ac_save_CC 4910fi 4911 4912if test "x$ac_cv_prog_cc_c11" = xno 4913then : 4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4915printf "%s\n" "unsupported" >&6; } 4916else $as_nop 4917 if test "x$ac_cv_prog_cc_c11" = x 4918then : 4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4920printf "%s\n" "none needed" >&6; } 4921else $as_nop 4922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4923printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4924 CC="$CC $ac_cv_prog_cc_c11" 4925fi 4926 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4927 ac_prog_cc_stdc=c11 4928fi 4929fi 4930if test x$ac_prog_cc_stdc = xno 4931then : 4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4933printf %s "checking for $CC option to enable C99 features... " >&6; } 4934if test ${ac_cv_prog_cc_c99+y} 4935then : 4936 printf %s "(cached) " >&6 4937else $as_nop 4938 ac_cv_prog_cc_c99=no 4939ac_save_CC=$CC 4940cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4941/* end confdefs.h. */ 4942$ac_c_conftest_c99_program 4943_ACEOF 4944for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4945do 4946 CC="$ac_save_CC $ac_arg" 4947 if ac_fn_c_try_compile "$LINENO" 4948then : 4949 ac_cv_prog_cc_c99=$ac_arg 4950fi 4951rm -f core conftest.err conftest.$ac_objext conftest.beam 4952 test "x$ac_cv_prog_cc_c99" != "xno" && break 4953done 4954rm -f conftest.$ac_ext 4955CC=$ac_save_CC 4956fi 4957 4958if test "x$ac_cv_prog_cc_c99" = xno 4959then : 4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4961printf "%s\n" "unsupported" >&6; } 4962else $as_nop 4963 if test "x$ac_cv_prog_cc_c99" = x 4964then : 4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4966printf "%s\n" "none needed" >&6; } 4967else $as_nop 4968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4969printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4970 CC="$CC $ac_cv_prog_cc_c99" 4971fi 4972 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4973 ac_prog_cc_stdc=c99 4974fi 4975fi 4976if test x$ac_prog_cc_stdc = xno 4977then : 4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4979printf %s "checking for $CC option to enable C89 features... " >&6; } 4980if test ${ac_cv_prog_cc_c89+y} 4981then : 4982 printf %s "(cached) " >&6 4983else $as_nop 4984 ac_cv_prog_cc_c89=no 4985ac_save_CC=$CC 4986cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4987/* end confdefs.h. */ 4988$ac_c_conftest_c89_program 4989_ACEOF 4990for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4991do 4992 CC="$ac_save_CC $ac_arg" 4993 if ac_fn_c_try_compile "$LINENO" 4994then : 4995 ac_cv_prog_cc_c89=$ac_arg 4996fi 4997rm -f core conftest.err conftest.$ac_objext conftest.beam 4998 test "x$ac_cv_prog_cc_c89" != "xno" && break 4999done 5000rm -f conftest.$ac_ext 5001CC=$ac_save_CC 5002fi 5003 5004if test "x$ac_cv_prog_cc_c89" = xno 5005then : 5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5007printf "%s\n" "unsupported" >&6; } 5008else $as_nop 5009 if test "x$ac_cv_prog_cc_c89" = x 5010then : 5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5012printf "%s\n" "none needed" >&6; } 5013else $as_nop 5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5015printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 5016 CC="$CC $ac_cv_prog_cc_c89" 5017fi 5018 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 5019 ac_prog_cc_stdc=c89 5020fi 5021fi 5022 5023ac_ext=c 5024ac_cpp='$CPP $CPPFLAGS' 5025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5027ac_compiler_gnu=$ac_cv_c_compiler_gnu 5028 5029 5030 ac_ext=c 5031ac_cpp='$CPP $CPPFLAGS' 5032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5034ac_compiler_gnu=$ac_cv_c_compiler_gnu 5035{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5036printf %s "checking whether $CC understands -c and -o together... " >&6; } 5037if test ${am_cv_prog_cc_c_o+y} 5038then : 5039 printf %s "(cached) " >&6 5040else $as_nop 5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5042/* end confdefs.h. */ 5043 5044int 5045main (void) 5046{ 5047 5048 ; 5049 return 0; 5050} 5051_ACEOF 5052 # Make sure it works both with $CC and with simple cc. 5053 # Following AC_PROG_CC_C_O, we do the test twice because some 5054 # compilers refuse to overwrite an existing .o file with -o, 5055 # though they will create one. 5056 am_cv_prog_cc_c_o=yes 5057 for am_i in 1 2; do 5058 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5059 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5060 ac_status=$? 5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5062 (exit $ac_status); } \ 5063 && test -f conftest2.$ac_objext; then 5064 : OK 5065 else 5066 am_cv_prog_cc_c_o=no 5067 break 5068 fi 5069 done 5070 rm -f core conftest* 5071 unset am_i 5072fi 5073{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5074printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } 5075if test "$am_cv_prog_cc_c_o" != yes; then 5076 # Losing compiler, so override with the script. 5077 # FIXME: It is wrong to rewrite CC. 5078 # But if we don't then we get into trouble of one sort or another. 5079 # A longer-term fix would be to have automake use am__CC in this case, 5080 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5081 CC="$am_aux_dir/compile $CC" 5082fi 5083ac_ext=c 5084ac_cpp='$CPP $CPPFLAGS' 5085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5087ac_compiler_gnu=$ac_cv_c_compiler_gnu 5088 5089 5090depcc="$CC" am_compiler_list= 5091 5092{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5093printf %s "checking dependency style of $depcc... " >&6; } 5094if test ${am_cv_CC_dependencies_compiler_type+y} 5095then : 5096 printf %s "(cached) " >&6 5097else $as_nop 5098 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5099 # We make a subdir and do the tests there. Otherwise we can end up 5100 # making bogus files that we don't know about and never remove. For 5101 # instance it was reported that on HP-UX the gcc test will end up 5102 # making a dummy file named 'D' -- because '-MD' means "put the output 5103 # in D". 5104 rm -rf conftest.dir 5105 mkdir conftest.dir 5106 # Copy depcomp to subdir because otherwise we won't find it if we're 5107 # using a relative directory. 5108 cp "$am_depcomp" conftest.dir 5109 cd conftest.dir 5110 # We will build objects and dependencies in a subdirectory because 5111 # it helps to detect inapplicable dependency modes. For instance 5112 # both Tru64's cc and ICC support -MD to output dependencies as a 5113 # side effect of compilation, but ICC will put the dependencies in 5114 # the current directory while Tru64 will put them in the object 5115 # directory. 5116 mkdir sub 5117 5118 am_cv_CC_dependencies_compiler_type=none 5119 if test "$am_compiler_list" = ""; then 5120 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5121 fi 5122 am__universal=false 5123 case " $depcc " in #( 5124 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5125 esac 5126 5127 for depmode in $am_compiler_list; do 5128 # Setup a source with many dependencies, because some compilers 5129 # like to wrap large dependency lists on column 80 (with \), and 5130 # we should not choose a depcomp mode which is confused by this. 5131 # 5132 # We need to recreate these files for each test, as the compiler may 5133 # overwrite some of them when testing with obscure command lines. 5134 # This happens at least with the AIX C compiler. 5135 : > sub/conftest.c 5136 for i in 1 2 3 4 5 6; do 5137 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5138 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5139 # Solaris 10 /bin/sh. 5140 echo '/* dummy */' > sub/conftst$i.h 5141 done 5142 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5143 5144 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5145 # mode. It turns out that the SunPro C++ compiler does not properly 5146 # handle '-M -o', and we need to detect this. Also, some Intel 5147 # versions had trouble with output in subdirs. 5148 am__obj=sub/conftest.${OBJEXT-o} 5149 am__minus_obj="-o $am__obj" 5150 case $depmode in 5151 gcc) 5152 # This depmode causes a compiler race in universal mode. 5153 test "$am__universal" = false || continue 5154 ;; 5155 nosideeffect) 5156 # After this tag, mechanisms are not by side-effect, so they'll 5157 # only be used when explicitly requested. 5158 if test "x$enable_dependency_tracking" = xyes; then 5159 continue 5160 else 5161 break 5162 fi 5163 ;; 5164 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5165 # This compiler won't grok '-c -o', but also, the minuso test has 5166 # not run yet. These depmodes are late enough in the game, and 5167 # so weak that their functioning should not be impacted. 5168 am__obj=conftest.${OBJEXT-o} 5169 am__minus_obj= 5170 ;; 5171 none) break ;; 5172 esac 5173 if depmode=$depmode \ 5174 source=sub/conftest.c object=$am__obj \ 5175 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5176 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5177 >/dev/null 2>conftest.err && 5178 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5179 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5180 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5181 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5182 # icc doesn't choke on unknown options, it will just issue warnings 5183 # or remarks (even with -Werror). So we grep stderr for any message 5184 # that says an option was ignored or not supported. 5185 # When given -MP, icc 7.0 and 7.1 complain thusly: 5186 # icc: Command line warning: ignoring option '-M'; no argument required 5187 # The diagnosis changed in icc 8.0: 5188 # icc: Command line remark: option '-MP' not supported 5189 if (grep 'ignoring option' conftest.err || 5190 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5191 am_cv_CC_dependencies_compiler_type=$depmode 5192 break 5193 fi 5194 fi 5195 done 5196 5197 cd .. 5198 rm -rf conftest.dir 5199else 5200 am_cv_CC_dependencies_compiler_type=none 5201fi 5202 5203fi 5204{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5205printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 5206CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5207 5208 if 5209 test "x$enable_dependency_tracking" != xno \ 5210 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5211 am__fastdepCC_TRUE= 5212 am__fastdepCC_FALSE='#' 5213else 5214 am__fastdepCC_TRUE='#' 5215 am__fastdepCC_FALSE= 5216fi 5217 5218 5219{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5220printf %s "checking for a sed that does not truncate output... " >&6; } 5221if test ${ac_cv_path_SED+y} 5222then : 5223 printf %s "(cached) " >&6 5224else $as_nop 5225 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5226 for ac_i in 1 2 3 4 5 6 7; do 5227 ac_script="$ac_script$as_nl$ac_script" 5228 done 5229 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5230 { ac_script=; unset ac_script;} 5231 if test -z "$SED"; then 5232 ac_path_SED_found=false 5233 # Loop through the user's path and test for each of PROGNAME-LIST 5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5235for as_dir in $PATH 5236do 5237 IFS=$as_save_IFS 5238 case $as_dir in #((( 5239 '') as_dir=./ ;; 5240 */) ;; 5241 *) as_dir=$as_dir/ ;; 5242 esac 5243 for ac_prog in sed gsed 5244 do 5245 for ac_exec_ext in '' $ac_executable_extensions; do 5246 ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 5247 as_fn_executable_p "$ac_path_SED" || continue 5248# Check for GNU ac_path_SED and select it if it is found. 5249 # Check for GNU $ac_path_SED 5250case `"$ac_path_SED" --version 2>&1` in 5251*GNU*) 5252 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5253*) 5254 ac_count=0 5255 printf %s 0123456789 >"conftest.in" 5256 while : 5257 do 5258 cat "conftest.in" "conftest.in" >"conftest.tmp" 5259 mv "conftest.tmp" "conftest.in" 5260 cp "conftest.in" "conftest.nl" 5261 printf "%s\n" '' >> "conftest.nl" 5262 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5263 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5264 as_fn_arith $ac_count + 1 && ac_count=$as_val 5265 if test $ac_count -gt ${ac_path_SED_max-0}; then 5266 # Best one so far, save it but keep looking for a better one 5267 ac_cv_path_SED="$ac_path_SED" 5268 ac_path_SED_max=$ac_count 5269 fi 5270 # 10*(2^10) chars as input seems more than enough 5271 test $ac_count -gt 10 && break 5272 done 5273 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5274esac 5275 5276 $ac_path_SED_found && break 3 5277 done 5278 done 5279 done 5280IFS=$as_save_IFS 5281 if test -z "$ac_cv_path_SED"; then 5282 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5283 fi 5284else 5285 ac_cv_path_SED=$SED 5286fi 5287 5288fi 5289{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5290printf "%s\n" "$ac_cv_path_SED" >&6; } 5291 SED="$ac_cv_path_SED" 5292 rm -f conftest.sed 5293 5294test -z "$SED" && SED=sed 5295Xsed="$SED -e 1s/^X//" 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5308printf %s "checking for grep that handles long lines and -e... " >&6; } 5309if test ${ac_cv_path_GREP+y} 5310then : 5311 printf %s "(cached) " >&6 5312else $as_nop 5313 if test -z "$GREP"; then 5314 ac_path_GREP_found=false 5315 # Loop through the user's path and test for each of PROGNAME-LIST 5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5317for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5318do 5319 IFS=$as_save_IFS 5320 case $as_dir in #((( 5321 '') as_dir=./ ;; 5322 */) ;; 5323 *) as_dir=$as_dir/ ;; 5324 esac 5325 for ac_prog in grep ggrep 5326 do 5327 for ac_exec_ext in '' $ac_executable_extensions; do 5328 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 5329 as_fn_executable_p "$ac_path_GREP" || continue 5330# Check for GNU ac_path_GREP and select it if it is found. 5331 # Check for GNU $ac_path_GREP 5332case `"$ac_path_GREP" --version 2>&1` in 5333*GNU*) 5334 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5335*) 5336 ac_count=0 5337 printf %s 0123456789 >"conftest.in" 5338 while : 5339 do 5340 cat "conftest.in" "conftest.in" >"conftest.tmp" 5341 mv "conftest.tmp" "conftest.in" 5342 cp "conftest.in" "conftest.nl" 5343 printf "%s\n" 'GREP' >> "conftest.nl" 5344 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5346 as_fn_arith $ac_count + 1 && ac_count=$as_val 5347 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5348 # Best one so far, save it but keep looking for a better one 5349 ac_cv_path_GREP="$ac_path_GREP" 5350 ac_path_GREP_max=$ac_count 5351 fi 5352 # 10*(2^10) chars as input seems more than enough 5353 test $ac_count -gt 10 && break 5354 done 5355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5356esac 5357 5358 $ac_path_GREP_found && break 3 5359 done 5360 done 5361 done 5362IFS=$as_save_IFS 5363 if test -z "$ac_cv_path_GREP"; then 5364 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5365 fi 5366else 5367 ac_cv_path_GREP=$GREP 5368fi 5369 5370fi 5371{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5372printf "%s\n" "$ac_cv_path_GREP" >&6; } 5373 GREP="$ac_cv_path_GREP" 5374 5375 5376{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5377printf %s "checking for egrep... " >&6; } 5378if test ${ac_cv_path_EGREP+y} 5379then : 5380 printf %s "(cached) " >&6 5381else $as_nop 5382 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5383 then ac_cv_path_EGREP="$GREP -E" 5384 else 5385 if test -z "$EGREP"; then 5386 ac_path_EGREP_found=false 5387 # Loop through the user's path and test for each of PROGNAME-LIST 5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5389for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5390do 5391 IFS=$as_save_IFS 5392 case $as_dir in #((( 5393 '') as_dir=./ ;; 5394 */) ;; 5395 *) as_dir=$as_dir/ ;; 5396 esac 5397 for ac_prog in egrep 5398 do 5399 for ac_exec_ext in '' $ac_executable_extensions; do 5400 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 5401 as_fn_executable_p "$ac_path_EGREP" || continue 5402# Check for GNU ac_path_EGREP and select it if it is found. 5403 # Check for GNU $ac_path_EGREP 5404case `"$ac_path_EGREP" --version 2>&1` in 5405*GNU*) 5406 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5407*) 5408 ac_count=0 5409 printf %s 0123456789 >"conftest.in" 5410 while : 5411 do 5412 cat "conftest.in" "conftest.in" >"conftest.tmp" 5413 mv "conftest.tmp" "conftest.in" 5414 cp "conftest.in" "conftest.nl" 5415 printf "%s\n" 'EGREP' >> "conftest.nl" 5416 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5418 as_fn_arith $ac_count + 1 && ac_count=$as_val 5419 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5420 # Best one so far, save it but keep looking for a better one 5421 ac_cv_path_EGREP="$ac_path_EGREP" 5422 ac_path_EGREP_max=$ac_count 5423 fi 5424 # 10*(2^10) chars as input seems more than enough 5425 test $ac_count -gt 10 && break 5426 done 5427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5428esac 5429 5430 $ac_path_EGREP_found && break 3 5431 done 5432 done 5433 done 5434IFS=$as_save_IFS 5435 if test -z "$ac_cv_path_EGREP"; then 5436 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5437 fi 5438else 5439 ac_cv_path_EGREP=$EGREP 5440fi 5441 5442 fi 5443fi 5444{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5445printf "%s\n" "$ac_cv_path_EGREP" >&6; } 5446 EGREP="$ac_cv_path_EGREP" 5447 5448 5449{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5450printf %s "checking for fgrep... " >&6; } 5451if test ${ac_cv_path_FGREP+y} 5452then : 5453 printf %s "(cached) " >&6 5454else $as_nop 5455 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5456 then ac_cv_path_FGREP="$GREP -F" 5457 else 5458 if test -z "$FGREP"; then 5459 ac_path_FGREP_found=false 5460 # Loop through the user's path and test for each of PROGNAME-LIST 5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5462for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5463do 5464 IFS=$as_save_IFS 5465 case $as_dir in #((( 5466 '') as_dir=./ ;; 5467 */) ;; 5468 *) as_dir=$as_dir/ ;; 5469 esac 5470 for ac_prog in fgrep 5471 do 5472 for ac_exec_ext in '' $ac_executable_extensions; do 5473 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" 5474 as_fn_executable_p "$ac_path_FGREP" || continue 5475# Check for GNU ac_path_FGREP and select it if it is found. 5476 # Check for GNU $ac_path_FGREP 5477case `"$ac_path_FGREP" --version 2>&1` in 5478*GNU*) 5479 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5480*) 5481 ac_count=0 5482 printf %s 0123456789 >"conftest.in" 5483 while : 5484 do 5485 cat "conftest.in" "conftest.in" >"conftest.tmp" 5486 mv "conftest.tmp" "conftest.in" 5487 cp "conftest.in" "conftest.nl" 5488 printf "%s\n" 'FGREP' >> "conftest.nl" 5489 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5490 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5491 as_fn_arith $ac_count + 1 && ac_count=$as_val 5492 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5493 # Best one so far, save it but keep looking for a better one 5494 ac_cv_path_FGREP="$ac_path_FGREP" 5495 ac_path_FGREP_max=$ac_count 5496 fi 5497 # 10*(2^10) chars as input seems more than enough 5498 test $ac_count -gt 10 && break 5499 done 5500 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5501esac 5502 5503 $ac_path_FGREP_found && break 3 5504 done 5505 done 5506 done 5507IFS=$as_save_IFS 5508 if test -z "$ac_cv_path_FGREP"; then 5509 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5510 fi 5511else 5512 ac_cv_path_FGREP=$FGREP 5513fi 5514 5515 fi 5516fi 5517{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5518printf "%s\n" "$ac_cv_path_FGREP" >&6; } 5519 FGREP="$ac_cv_path_FGREP" 5520 5521 5522test -z "$GREP" && GREP=grep 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542# Check whether --with-gnu-ld was given. 5543if test ${with_gnu_ld+y} 5544then : 5545 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5546else $as_nop 5547 with_gnu_ld=no 5548fi 5549 5550ac_prog=ld 5551if test yes = "$GCC"; then 5552 # Check if gcc -print-prog-name=ld gives a path. 5553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5554printf %s "checking for ld used by $CC... " >&6; } 5555 case $host in 5556 *-*-mingw*) 5557 # gcc leaves a trailing carriage return, which upsets mingw 5558 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5559 *) 5560 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5561 esac 5562 case $ac_prog in 5563 # Accept absolute paths. 5564 [\\/]* | ?:[\\/]*) 5565 re_direlt='/[^/][^/]*/\.\./' 5566 # Canonicalize the pathname of ld 5567 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5568 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5569 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5570 done 5571 test -z "$LD" && LD=$ac_prog 5572 ;; 5573 "") 5574 # If it fails, then pretend we aren't using GCC. 5575 ac_prog=ld 5576 ;; 5577 *) 5578 # If it is relative, then search for the first ld in PATH. 5579 with_gnu_ld=unknown 5580 ;; 5581 esac 5582elif test yes = "$with_gnu_ld"; then 5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5584printf %s "checking for GNU ld... " >&6; } 5585else 5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5587printf %s "checking for non-GNU ld... " >&6; } 5588fi 5589if test ${lt_cv_path_LD+y} 5590then : 5591 printf %s "(cached) " >&6 5592else $as_nop 5593 if test -z "$LD"; then 5594 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5595 for ac_dir in $PATH; do 5596 IFS=$lt_save_ifs 5597 test -z "$ac_dir" && ac_dir=. 5598 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5599 lt_cv_path_LD=$ac_dir/$ac_prog 5600 # Check to see if the program is GNU ld. I'd rather use --version, 5601 # but apparently some variants of GNU ld only accept -v. 5602 # Break only if it was the GNU/non-GNU ld that we prefer. 5603 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5604 *GNU* | *'with BFD'*) 5605 test no != "$with_gnu_ld" && break 5606 ;; 5607 *) 5608 test yes != "$with_gnu_ld" && break 5609 ;; 5610 esac 5611 fi 5612 done 5613 IFS=$lt_save_ifs 5614else 5615 lt_cv_path_LD=$LD # Let the user override the test with a path. 5616fi 5617fi 5618 5619LD=$lt_cv_path_LD 5620if test -n "$LD"; then 5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5622printf "%s\n" "$LD" >&6; } 5623else 5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5625printf "%s\n" "no" >&6; } 5626fi 5627test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5628{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5629printf %s "checking if the linker ($LD) is GNU ld... " >&6; } 5630if test ${lt_cv_prog_gnu_ld+y} 5631then : 5632 printf %s "(cached) " >&6 5633else $as_nop 5634 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5635case `$LD -v 2>&1 </dev/null` in 5636*GNU* | *'with BFD'*) 5637 lt_cv_prog_gnu_ld=yes 5638 ;; 5639*) 5640 lt_cv_prog_gnu_ld=no 5641 ;; 5642esac 5643fi 5644{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5645printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } 5646with_gnu_ld=$lt_cv_prog_gnu_ld 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5657printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5658if test ${lt_cv_path_NM+y} 5659then : 5660 printf %s "(cached) " >&6 5661else $as_nop 5662 if test -n "$NM"; then 5663 # Let the user override the test. 5664 lt_cv_path_NM=$NM 5665else 5666 lt_nm_to_check=${ac_tool_prefix}nm 5667 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5668 lt_nm_to_check="$lt_nm_to_check nm" 5669 fi 5670 for lt_tmp_nm in $lt_nm_to_check; do 5671 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5672 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5673 IFS=$lt_save_ifs 5674 test -z "$ac_dir" && ac_dir=. 5675 tmp_nm=$ac_dir/$lt_tmp_nm 5676 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5677 # Check to see if the nm accepts a BSD-compat flag. 5678 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5679 # nm: unknown option "B" ignored 5680 # Tru64's nm complains that /dev/null is an invalid object file 5681 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5682 case $build_os in 5683 mingw*) lt_bad_file=conftest.nm/nofile ;; 5684 *) lt_bad_file=/dev/null ;; 5685 esac 5686 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5687 *$lt_bad_file* | *'Invalid file or object type'*) 5688 lt_cv_path_NM="$tmp_nm -B" 5689 break 2 5690 ;; 5691 *) 5692 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5693 */dev/null*) 5694 lt_cv_path_NM="$tmp_nm -p" 5695 break 2 5696 ;; 5697 *) 5698 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5699 continue # so that we can try to find one that supports BSD flags 5700 ;; 5701 esac 5702 ;; 5703 esac 5704 fi 5705 done 5706 IFS=$lt_save_ifs 5707 done 5708 : ${lt_cv_path_NM=no} 5709fi 5710fi 5711{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5712printf "%s\n" "$lt_cv_path_NM" >&6; } 5713if test no != "$lt_cv_path_NM"; then 5714 NM=$lt_cv_path_NM 5715else 5716 # Didn't find any BSD compatible name lister, look for dumpbin. 5717 if test -n "$DUMPBIN"; then : 5718 # Let the user override the test. 5719 else 5720 if test -n "$ac_tool_prefix"; then 5721 for ac_prog in dumpbin "link -dump" 5722 do 5723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5724set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5725{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5726printf %s "checking for $ac_word... " >&6; } 5727if test ${ac_cv_prog_DUMPBIN+y} 5728then : 5729 printf %s "(cached) " >&6 5730else $as_nop 5731 if test -n "$DUMPBIN"; then 5732 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5733else 5734as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5735for as_dir in $PATH 5736do 5737 IFS=$as_save_IFS 5738 case $as_dir in #((( 5739 '') as_dir=./ ;; 5740 */) ;; 5741 *) as_dir=$as_dir/ ;; 5742 esac 5743 for ac_exec_ext in '' $ac_executable_extensions; do 5744 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5745 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5747 break 2 5748 fi 5749done 5750 done 5751IFS=$as_save_IFS 5752 5753fi 5754fi 5755DUMPBIN=$ac_cv_prog_DUMPBIN 5756if test -n "$DUMPBIN"; then 5757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5758printf "%s\n" "$DUMPBIN" >&6; } 5759else 5760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5761printf "%s\n" "no" >&6; } 5762fi 5763 5764 5765 test -n "$DUMPBIN" && break 5766 done 5767fi 5768if test -z "$DUMPBIN"; then 5769 ac_ct_DUMPBIN=$DUMPBIN 5770 for ac_prog in dumpbin "link -dump" 5771do 5772 # Extract the first word of "$ac_prog", so it can be a program name with args. 5773set dummy $ac_prog; ac_word=$2 5774{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5775printf %s "checking for $ac_word... " >&6; } 5776if test ${ac_cv_prog_ac_ct_DUMPBIN+y} 5777then : 5778 printf %s "(cached) " >&6 5779else $as_nop 5780 if test -n "$ac_ct_DUMPBIN"; then 5781 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5782else 5783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5784for as_dir in $PATH 5785do 5786 IFS=$as_save_IFS 5787 case $as_dir in #((( 5788 '') as_dir=./ ;; 5789 */) ;; 5790 *) as_dir=$as_dir/ ;; 5791 esac 5792 for ac_exec_ext in '' $ac_executable_extensions; do 5793 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5794 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5796 break 2 5797 fi 5798done 5799 done 5800IFS=$as_save_IFS 5801 5802fi 5803fi 5804ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5805if test -n "$ac_ct_DUMPBIN"; then 5806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5807printf "%s\n" "$ac_ct_DUMPBIN" >&6; } 5808else 5809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5810printf "%s\n" "no" >&6; } 5811fi 5812 5813 5814 test -n "$ac_ct_DUMPBIN" && break 5815done 5816 5817 if test "x$ac_ct_DUMPBIN" = x; then 5818 DUMPBIN=":" 5819 else 5820 case $cross_compiling:$ac_tool_warned in 5821yes:) 5822{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5823printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5824ac_tool_warned=yes ;; 5825esac 5826 DUMPBIN=$ac_ct_DUMPBIN 5827 fi 5828fi 5829 5830 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5831 *COFF*) 5832 DUMPBIN="$DUMPBIN -symbols -headers" 5833 ;; 5834 *) 5835 DUMPBIN=: 5836 ;; 5837 esac 5838 fi 5839 5840 if test : != "$DUMPBIN"; then 5841 NM=$DUMPBIN 5842 fi 5843fi 5844test -z "$NM" && NM=nm 5845 5846 5847 5848 5849 5850 5851{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5852printf %s "checking the name lister ($NM) interface... " >&6; } 5853if test ${lt_cv_nm_interface+y} 5854then : 5855 printf %s "(cached) " >&6 5856else $as_nop 5857 lt_cv_nm_interface="BSD nm" 5858 echo "int some_variable = 0;" > conftest.$ac_ext 5859 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5860 (eval "$ac_compile" 2>conftest.err) 5861 cat conftest.err >&5 5862 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5863 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5864 cat conftest.err >&5 5865 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5866 cat conftest.out >&5 5867 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5868 lt_cv_nm_interface="MS dumpbin" 5869 fi 5870 rm -f conftest* 5871fi 5872{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5873printf "%s\n" "$lt_cv_nm_interface" >&6; } 5874 5875{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5876printf %s "checking whether ln -s works... " >&6; } 5877LN_S=$as_ln_s 5878if test "$LN_S" = "ln -s"; then 5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5880printf "%s\n" "yes" >&6; } 5881else 5882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5883printf "%s\n" "no, using $LN_S" >&6; } 5884fi 5885 5886# find the maximum length of command line arguments 5887{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5888printf %s "checking the maximum length of command line arguments... " >&6; } 5889if test ${lt_cv_sys_max_cmd_len+y} 5890then : 5891 printf %s "(cached) " >&6 5892else $as_nop 5893 i=0 5894 teststring=ABCD 5895 5896 case $build_os in 5897 msdosdjgpp*) 5898 # On DJGPP, this test can blow up pretty badly due to problems in libc 5899 # (any single argument exceeding 2000 bytes causes a buffer overrun 5900 # during glob expansion). Even if it were fixed, the result of this 5901 # check would be larger than it should be. 5902 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5903 ;; 5904 5905 gnu*) 5906 # Under GNU Hurd, this test is not required because there is 5907 # no limit to the length of command line arguments. 5908 # Libtool will interpret -1 as no limit whatsoever 5909 lt_cv_sys_max_cmd_len=-1; 5910 ;; 5911 5912 cygwin* | mingw* | cegcc*) 5913 # On Win9x/ME, this test blows up -- it succeeds, but takes 5914 # about 5 minutes as the teststring grows exponentially. 5915 # Worse, since 9x/ME are not pre-emptively multitasking, 5916 # you end up with a "frozen" computer, even though with patience 5917 # the test eventually succeeds (with a max line length of 256k). 5918 # Instead, let's just punt: use the minimum linelength reported by 5919 # all of the supported platforms: 8192 (on NT/2K/XP). 5920 lt_cv_sys_max_cmd_len=8192; 5921 ;; 5922 5923 mint*) 5924 # On MiNT this can take a long time and run out of memory. 5925 lt_cv_sys_max_cmd_len=8192; 5926 ;; 5927 5928 amigaos*) 5929 # On AmigaOS with pdksh, this test takes hours, literally. 5930 # So we just punt and use a minimum line length of 8192. 5931 lt_cv_sys_max_cmd_len=8192; 5932 ;; 5933 5934 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5935 # This has been around since 386BSD, at least. Likely further. 5936 if test -x /sbin/sysctl; then 5937 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5938 elif test -x /usr/sbin/sysctl; then 5939 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5940 else 5941 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5942 fi 5943 # And add a safety zone 5944 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5946 ;; 5947 5948 interix*) 5949 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5950 lt_cv_sys_max_cmd_len=196608 5951 ;; 5952 5953 os2*) 5954 # The test takes a long time on OS/2. 5955 lt_cv_sys_max_cmd_len=8192 5956 ;; 5957 5958 osf*) 5959 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5960 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5961 # nice to cause kernel panics so lets avoid the loop below. 5962 # First set a reasonable default. 5963 lt_cv_sys_max_cmd_len=16384 5964 # 5965 if test -x /sbin/sysconfig; then 5966 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5967 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5968 esac 5969 fi 5970 ;; 5971 sco3.2v5*) 5972 lt_cv_sys_max_cmd_len=102400 5973 ;; 5974 sysv5* | sco5v6* | sysv4.2uw2*) 5975 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5976 if test -n "$kargmax"; then 5977 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5978 else 5979 lt_cv_sys_max_cmd_len=32768 5980 fi 5981 ;; 5982 *) 5983 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5984 if test -n "$lt_cv_sys_max_cmd_len" && \ 5985 test undefined != "$lt_cv_sys_max_cmd_len"; then 5986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5988 else 5989 # Make teststring a little bigger before we do anything with it. 5990 # a 1K string should be a reasonable start. 5991 for i in 1 2 3 4 5 6 7 8; do 5992 teststring=$teststring$teststring 5993 done 5994 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5995 # If test is not a shell built-in, we'll probably end up computing a 5996 # maximum length that is only half of the actual maximum length, but 5997 # we can't tell. 5998 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5999 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6000 test 17 != "$i" # 1/2 MB should be enough 6001 do 6002 i=`expr $i + 1` 6003 teststring=$teststring$teststring 6004 done 6005 # Only check the string length outside the loop. 6006 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6007 teststring= 6008 # Add a significant safety factor because C++ compilers can tack on 6009 # massive amounts of additional arguments before passing them to the 6010 # linker. It appears as though 1/2 is a usable value. 6011 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6012 fi 6013 ;; 6014 esac 6015 6016fi 6017 6018if test -n "$lt_cv_sys_max_cmd_len"; then 6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6020printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } 6021else 6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 6023printf "%s\n" "none" >&6; } 6024fi 6025max_cmd_len=$lt_cv_sys_max_cmd_len 6026 6027 6028 6029 6030 6031 6032: ${CP="cp -f"} 6033: ${MV="mv -f"} 6034: ${RM="rm -f"} 6035 6036if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6037 lt_unset=unset 6038else 6039 lt_unset=false 6040fi 6041 6042 6043 6044 6045 6046# test EBCDIC or ASCII 6047case `echo X|tr X '\101'` in 6048 A) # ASCII based system 6049 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6050 lt_SP2NL='tr \040 \012' 6051 lt_NL2SP='tr \015\012 \040\040' 6052 ;; 6053 *) # EBCDIC based system 6054 lt_SP2NL='tr \100 \n' 6055 lt_NL2SP='tr \r\n \100\100' 6056 ;; 6057esac 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6068printf %s "checking how to convert $build file names to $host format... " >&6; } 6069if test ${lt_cv_to_host_file_cmd+y} 6070then : 6071 printf %s "(cached) " >&6 6072else $as_nop 6073 case $host in 6074 *-*-mingw* ) 6075 case $build in 6076 *-*-mingw* ) # actually msys 6077 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6078 ;; 6079 *-*-cygwin* ) 6080 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6081 ;; 6082 * ) # otherwise, assume *nix 6083 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6084 ;; 6085 esac 6086 ;; 6087 *-*-cygwin* ) 6088 case $build in 6089 *-*-mingw* ) # actually msys 6090 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6091 ;; 6092 *-*-cygwin* ) 6093 lt_cv_to_host_file_cmd=func_convert_file_noop 6094 ;; 6095 * ) # otherwise, assume *nix 6096 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6097 ;; 6098 esac 6099 ;; 6100 * ) # unhandled hosts (and "normal" native builds) 6101 lt_cv_to_host_file_cmd=func_convert_file_noop 6102 ;; 6103esac 6104 6105fi 6106 6107to_host_file_cmd=$lt_cv_to_host_file_cmd 6108{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6109printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } 6110 6111 6112 6113 6114 6115{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6116printf %s "checking how to convert $build file names to toolchain format... " >&6; } 6117if test ${lt_cv_to_tool_file_cmd+y} 6118then : 6119 printf %s "(cached) " >&6 6120else $as_nop 6121 #assume ordinary cross tools, or native build. 6122lt_cv_to_tool_file_cmd=func_convert_file_noop 6123case $host in 6124 *-*-mingw* ) 6125 case $build in 6126 *-*-mingw* ) # actually msys 6127 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6128 ;; 6129 esac 6130 ;; 6131esac 6132 6133fi 6134 6135to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6136{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6137printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } 6138 6139 6140 6141 6142 6143{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6144printf %s "checking for $LD option to reload object files... " >&6; } 6145if test ${lt_cv_ld_reload_flag+y} 6146then : 6147 printf %s "(cached) " >&6 6148else $as_nop 6149 lt_cv_ld_reload_flag='-r' 6150fi 6151{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6152printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } 6153reload_flag=$lt_cv_ld_reload_flag 6154case $reload_flag in 6155"" | " "*) ;; 6156*) reload_flag=" $reload_flag" ;; 6157esac 6158reload_cmds='$LD$reload_flag -o $output$reload_objs' 6159case $host_os in 6160 cygwin* | mingw* | pw32* | cegcc*) 6161 if test yes != "$GCC"; then 6162 reload_cmds=false 6163 fi 6164 ;; 6165 darwin*) 6166 if test yes = "$GCC"; then 6167 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6168 else 6169 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6170 fi 6171 ;; 6172esac 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182if test -n "$ac_tool_prefix"; then 6183 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6184set dummy ${ac_tool_prefix}objdump; ac_word=$2 6185{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6186printf %s "checking for $ac_word... " >&6; } 6187if test ${ac_cv_prog_OBJDUMP+y} 6188then : 6189 printf %s "(cached) " >&6 6190else $as_nop 6191 if test -n "$OBJDUMP"; then 6192 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6193else 6194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6195for as_dir in $PATH 6196do 6197 IFS=$as_save_IFS 6198 case $as_dir in #((( 6199 '') as_dir=./ ;; 6200 */) ;; 6201 *) as_dir=$as_dir/ ;; 6202 esac 6203 for ac_exec_ext in '' $ac_executable_extensions; do 6204 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6205 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6207 break 2 6208 fi 6209done 6210 done 6211IFS=$as_save_IFS 6212 6213fi 6214fi 6215OBJDUMP=$ac_cv_prog_OBJDUMP 6216if test -n "$OBJDUMP"; then 6217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6218printf "%s\n" "$OBJDUMP" >&6; } 6219else 6220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6221printf "%s\n" "no" >&6; } 6222fi 6223 6224 6225fi 6226if test -z "$ac_cv_prog_OBJDUMP"; then 6227 ac_ct_OBJDUMP=$OBJDUMP 6228 # Extract the first word of "objdump", so it can be a program name with args. 6229set dummy objdump; ac_word=$2 6230{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6231printf %s "checking for $ac_word... " >&6; } 6232if test ${ac_cv_prog_ac_ct_OBJDUMP+y} 6233then : 6234 printf %s "(cached) " >&6 6235else $as_nop 6236 if test -n "$ac_ct_OBJDUMP"; then 6237 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6238else 6239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6240for as_dir in $PATH 6241do 6242 IFS=$as_save_IFS 6243 case $as_dir in #((( 6244 '') as_dir=./ ;; 6245 */) ;; 6246 *) as_dir=$as_dir/ ;; 6247 esac 6248 for ac_exec_ext in '' $ac_executable_extensions; do 6249 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6250 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6252 break 2 6253 fi 6254done 6255 done 6256IFS=$as_save_IFS 6257 6258fi 6259fi 6260ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6261if test -n "$ac_ct_OBJDUMP"; then 6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6263printf "%s\n" "$ac_ct_OBJDUMP" >&6; } 6264else 6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6266printf "%s\n" "no" >&6; } 6267fi 6268 6269 if test "x$ac_ct_OBJDUMP" = x; then 6270 OBJDUMP="false" 6271 else 6272 case $cross_compiling:$ac_tool_warned in 6273yes:) 6274{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6275printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6276ac_tool_warned=yes ;; 6277esac 6278 OBJDUMP=$ac_ct_OBJDUMP 6279 fi 6280else 6281 OBJDUMP="$ac_cv_prog_OBJDUMP" 6282fi 6283 6284test -z "$OBJDUMP" && OBJDUMP=objdump 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6295printf %s "checking how to recognize dependent libraries... " >&6; } 6296if test ${lt_cv_deplibs_check_method+y} 6297then : 6298 printf %s "(cached) " >&6 6299else $as_nop 6300 lt_cv_file_magic_cmd='$MAGIC_CMD' 6301lt_cv_file_magic_test_file= 6302lt_cv_deplibs_check_method='unknown' 6303# Need to set the preceding variable on all platforms that support 6304# interlibrary dependencies. 6305# 'none' -- dependencies not supported. 6306# 'unknown' -- same as none, but documents that we really don't know. 6307# 'pass_all' -- all dependencies passed with no checks. 6308# 'test_compile' -- check by making test program. 6309# 'file_magic [[regex]]' -- check by looking for files in library path 6310# that responds to the $file_magic_cmd with a given extended regex. 6311# If you have 'file' or equivalent on your system and you're not sure 6312# whether 'pass_all' will *always* work, you probably want this one. 6313 6314case $host_os in 6315aix[4-9]*) 6316 lt_cv_deplibs_check_method=pass_all 6317 ;; 6318 6319beos*) 6320 lt_cv_deplibs_check_method=pass_all 6321 ;; 6322 6323bsdi[45]*) 6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6325 lt_cv_file_magic_cmd='/usr/bin/file -L' 6326 lt_cv_file_magic_test_file=/shlib/libc.so 6327 ;; 6328 6329cygwin*) 6330 # func_win32_libid is a shell function defined in ltmain.sh 6331 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6332 lt_cv_file_magic_cmd='func_win32_libid' 6333 ;; 6334 6335mingw* | pw32*) 6336 # Base MSYS/MinGW do not provide the 'file' command needed by 6337 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6338 # unless we find 'file', for example because we are cross-compiling. 6339 if ( file / ) >/dev/null 2>&1; then 6340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6341 lt_cv_file_magic_cmd='func_win32_libid' 6342 else 6343 # Keep this pattern in sync with the one in func_win32_libid. 6344 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6345 lt_cv_file_magic_cmd='$OBJDUMP -f' 6346 fi 6347 ;; 6348 6349cegcc*) 6350 # use the weaker test based on 'objdump'. See mingw*. 6351 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6352 lt_cv_file_magic_cmd='$OBJDUMP -f' 6353 ;; 6354 6355darwin* | rhapsody*) 6356 lt_cv_deplibs_check_method=pass_all 6357 ;; 6358 6359freebsd* | dragonfly*) 6360 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6361 case $host_cpu in 6362 i*86 ) 6363 # Not sure whether the presence of OpenBSD here was a mistake. 6364 # Let's accept both of them until this is cleared up. 6365 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6366 lt_cv_file_magic_cmd=/usr/bin/file 6367 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6368 ;; 6369 esac 6370 else 6371 lt_cv_deplibs_check_method=pass_all 6372 fi 6373 ;; 6374 6375haiku*) 6376 lt_cv_deplibs_check_method=pass_all 6377 ;; 6378 6379hpux10.20* | hpux11*) 6380 lt_cv_file_magic_cmd=/usr/bin/file 6381 case $host_cpu in 6382 ia64*) 6383 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6384 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6385 ;; 6386 hppa*64*) 6387 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]' 6388 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6389 ;; 6390 *) 6391 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6392 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6393 ;; 6394 esac 6395 ;; 6396 6397interix[3-9]*) 6398 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6399 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6400 ;; 6401 6402irix5* | irix6* | nonstopux*) 6403 case $LD in 6404 *-32|*"-32 ") libmagic=32-bit;; 6405 *-n32|*"-n32 ") libmagic=N32;; 6406 *-64|*"-64 ") libmagic=64-bit;; 6407 *) libmagic=never-match;; 6408 esac 6409 lt_cv_deplibs_check_method=pass_all 6410 ;; 6411 6412# This must be glibc/ELF. 6413linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6414 lt_cv_deplibs_check_method=pass_all 6415 ;; 6416 6417netbsd* | netbsdelf*-gnu) 6418 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6419 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6420 else 6421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6422 fi 6423 ;; 6424 6425newos6*) 6426 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6427 lt_cv_file_magic_cmd=/usr/bin/file 6428 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6429 ;; 6430 6431*nto* | *qnx*) 6432 lt_cv_deplibs_check_method=pass_all 6433 ;; 6434 6435openbsd* | bitrig*) 6436 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6437 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6438 else 6439 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6440 fi 6441 ;; 6442 6443osf3* | osf4* | osf5*) 6444 lt_cv_deplibs_check_method=pass_all 6445 ;; 6446 6447rdos*) 6448 lt_cv_deplibs_check_method=pass_all 6449 ;; 6450 6451solaris*) 6452 lt_cv_deplibs_check_method=pass_all 6453 ;; 6454 6455sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6456 lt_cv_deplibs_check_method=pass_all 6457 ;; 6458 6459sysv4 | sysv4.3*) 6460 case $host_vendor in 6461 motorola) 6462 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]' 6463 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6464 ;; 6465 ncr) 6466 lt_cv_deplibs_check_method=pass_all 6467 ;; 6468 sequent) 6469 lt_cv_file_magic_cmd='/bin/file' 6470 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6471 ;; 6472 sni) 6473 lt_cv_file_magic_cmd='/bin/file' 6474 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6475 lt_cv_file_magic_test_file=/lib/libc.so 6476 ;; 6477 siemens) 6478 lt_cv_deplibs_check_method=pass_all 6479 ;; 6480 pc) 6481 lt_cv_deplibs_check_method=pass_all 6482 ;; 6483 esac 6484 ;; 6485 6486tpf*) 6487 lt_cv_deplibs_check_method=pass_all 6488 ;; 6489os2*) 6490 lt_cv_deplibs_check_method=pass_all 6491 ;; 6492esac 6493 6494fi 6495{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6496printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } 6497 6498file_magic_glob= 6499want_nocaseglob=no 6500if test "$build" = "$host"; then 6501 case $host_os in 6502 mingw* | pw32*) 6503 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6504 want_nocaseglob=yes 6505 else 6506 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6507 fi 6508 ;; 6509 esac 6510fi 6511 6512file_magic_cmd=$lt_cv_file_magic_cmd 6513deplibs_check_method=$lt_cv_deplibs_check_method 6514test -z "$deplibs_check_method" && deplibs_check_method=unknown 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537if test -n "$ac_tool_prefix"; then 6538 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6539set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6540{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6541printf %s "checking for $ac_word... " >&6; } 6542if test ${ac_cv_prog_DLLTOOL+y} 6543then : 6544 printf %s "(cached) " >&6 6545else $as_nop 6546 if test -n "$DLLTOOL"; then 6547 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6548else 6549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6550for as_dir in $PATH 6551do 6552 IFS=$as_save_IFS 6553 case $as_dir in #((( 6554 '') as_dir=./ ;; 6555 */) ;; 6556 *) as_dir=$as_dir/ ;; 6557 esac 6558 for ac_exec_ext in '' $ac_executable_extensions; do 6559 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6560 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6562 break 2 6563 fi 6564done 6565 done 6566IFS=$as_save_IFS 6567 6568fi 6569fi 6570DLLTOOL=$ac_cv_prog_DLLTOOL 6571if test -n "$DLLTOOL"; then 6572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6573printf "%s\n" "$DLLTOOL" >&6; } 6574else 6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6576printf "%s\n" "no" >&6; } 6577fi 6578 6579 6580fi 6581if test -z "$ac_cv_prog_DLLTOOL"; then 6582 ac_ct_DLLTOOL=$DLLTOOL 6583 # Extract the first word of "dlltool", so it can be a program name with args. 6584set dummy dlltool; ac_word=$2 6585{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6586printf %s "checking for $ac_word... " >&6; } 6587if test ${ac_cv_prog_ac_ct_DLLTOOL+y} 6588then : 6589 printf %s "(cached) " >&6 6590else $as_nop 6591 if test -n "$ac_ct_DLLTOOL"; then 6592 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6593else 6594as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6595for as_dir in $PATH 6596do 6597 IFS=$as_save_IFS 6598 case $as_dir in #((( 6599 '') as_dir=./ ;; 6600 */) ;; 6601 *) as_dir=$as_dir/ ;; 6602 esac 6603 for ac_exec_ext in '' $ac_executable_extensions; do 6604 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6605 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6607 break 2 6608 fi 6609done 6610 done 6611IFS=$as_save_IFS 6612 6613fi 6614fi 6615ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6616if test -n "$ac_ct_DLLTOOL"; then 6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6618printf "%s\n" "$ac_ct_DLLTOOL" >&6; } 6619else 6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6621printf "%s\n" "no" >&6; } 6622fi 6623 6624 if test "x$ac_ct_DLLTOOL" = x; then 6625 DLLTOOL="false" 6626 else 6627 case $cross_compiling:$ac_tool_warned in 6628yes:) 6629{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6630printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6631ac_tool_warned=yes ;; 6632esac 6633 DLLTOOL=$ac_ct_DLLTOOL 6634 fi 6635else 6636 DLLTOOL="$ac_cv_prog_DLLTOOL" 6637fi 6638 6639test -z "$DLLTOOL" && DLLTOOL=dlltool 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6651printf %s "checking how to associate runtime and link libraries... " >&6; } 6652if test ${lt_cv_sharedlib_from_linklib_cmd+y} 6653then : 6654 printf %s "(cached) " >&6 6655else $as_nop 6656 lt_cv_sharedlib_from_linklib_cmd='unknown' 6657 6658case $host_os in 6659cygwin* | mingw* | pw32* | cegcc*) 6660 # two different shell functions defined in ltmain.sh; 6661 # decide which one to use based on capabilities of $DLLTOOL 6662 case `$DLLTOOL --help 2>&1` in 6663 *--identify-strict*) 6664 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6665 ;; 6666 *) 6667 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6668 ;; 6669 esac 6670 ;; 6671*) 6672 # fallback: assume linklib IS sharedlib 6673 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6674 ;; 6675esac 6676 6677fi 6678{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6679printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6680sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6681test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6682 6683 6684 6685 6686 6687 6688 6689 6690if test -n "$ac_tool_prefix"; then 6691 for ac_prog in ar 6692 do 6693 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6694set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6695{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6696printf %s "checking for $ac_word... " >&6; } 6697if test ${ac_cv_prog_AR+y} 6698then : 6699 printf %s "(cached) " >&6 6700else $as_nop 6701 if test -n "$AR"; then 6702 ac_cv_prog_AR="$AR" # Let the user override the test. 6703else 6704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6705for as_dir in $PATH 6706do 6707 IFS=$as_save_IFS 6708 case $as_dir in #((( 6709 '') as_dir=./ ;; 6710 */) ;; 6711 *) as_dir=$as_dir/ ;; 6712 esac 6713 for ac_exec_ext in '' $ac_executable_extensions; do 6714 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6715 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6717 break 2 6718 fi 6719done 6720 done 6721IFS=$as_save_IFS 6722 6723fi 6724fi 6725AR=$ac_cv_prog_AR 6726if test -n "$AR"; then 6727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6728printf "%s\n" "$AR" >&6; } 6729else 6730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6731printf "%s\n" "no" >&6; } 6732fi 6733 6734 6735 test -n "$AR" && break 6736 done 6737fi 6738if test -z "$AR"; then 6739 ac_ct_AR=$AR 6740 for ac_prog in ar 6741do 6742 # Extract the first word of "$ac_prog", so it can be a program name with args. 6743set dummy $ac_prog; ac_word=$2 6744{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6745printf %s "checking for $ac_word... " >&6; } 6746if test ${ac_cv_prog_ac_ct_AR+y} 6747then : 6748 printf %s "(cached) " >&6 6749else $as_nop 6750 if test -n "$ac_ct_AR"; then 6751 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6752else 6753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6754for as_dir in $PATH 6755do 6756 IFS=$as_save_IFS 6757 case $as_dir in #((( 6758 '') as_dir=./ ;; 6759 */) ;; 6760 *) as_dir=$as_dir/ ;; 6761 esac 6762 for ac_exec_ext in '' $ac_executable_extensions; do 6763 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6764 ac_cv_prog_ac_ct_AR="$ac_prog" 6765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6766 break 2 6767 fi 6768done 6769 done 6770IFS=$as_save_IFS 6771 6772fi 6773fi 6774ac_ct_AR=$ac_cv_prog_ac_ct_AR 6775if test -n "$ac_ct_AR"; then 6776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6777printf "%s\n" "$ac_ct_AR" >&6; } 6778else 6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6780printf "%s\n" "no" >&6; } 6781fi 6782 6783 6784 test -n "$ac_ct_AR" && break 6785done 6786 6787 if test "x$ac_ct_AR" = x; then 6788 AR="false" 6789 else 6790 case $cross_compiling:$ac_tool_warned in 6791yes:) 6792{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6793printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6794ac_tool_warned=yes ;; 6795esac 6796 AR=$ac_ct_AR 6797 fi 6798fi 6799 6800: ${AR=ar} 6801: ${AR_FLAGS=cru} 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6814printf %s "checking for archiver @FILE support... " >&6; } 6815if test ${lt_cv_ar_at_file+y} 6816then : 6817 printf %s "(cached) " >&6 6818else $as_nop 6819 lt_cv_ar_at_file=no 6820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6821/* end confdefs.h. */ 6822 6823int 6824main (void) 6825{ 6826 6827 ; 6828 return 0; 6829} 6830_ACEOF 6831if ac_fn_c_try_compile "$LINENO" 6832then : 6833 echo conftest.$ac_objext > conftest.lst 6834 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6835 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6836 (eval $lt_ar_try) 2>&5 6837 ac_status=$? 6838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6839 test $ac_status = 0; } 6840 if test 0 -eq "$ac_status"; then 6841 # Ensure the archiver fails upon bogus file names. 6842 rm -f conftest.$ac_objext libconftest.a 6843 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6844 (eval $lt_ar_try) 2>&5 6845 ac_status=$? 6846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6847 test $ac_status = 0; } 6848 if test 0 -ne "$ac_status"; then 6849 lt_cv_ar_at_file=@ 6850 fi 6851 fi 6852 rm -f conftest.* libconftest.a 6853 6854fi 6855rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6856 6857fi 6858{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6859printf "%s\n" "$lt_cv_ar_at_file" >&6; } 6860 6861if test no = "$lt_cv_ar_at_file"; then 6862 archiver_list_spec= 6863else 6864 archiver_list_spec=$lt_cv_ar_at_file 6865fi 6866 6867 6868 6869 6870 6871 6872 6873if test -n "$ac_tool_prefix"; then 6874 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6875set dummy ${ac_tool_prefix}strip; ac_word=$2 6876{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6877printf %s "checking for $ac_word... " >&6; } 6878if test ${ac_cv_prog_STRIP+y} 6879then : 6880 printf %s "(cached) " >&6 6881else $as_nop 6882 if test -n "$STRIP"; then 6883 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6884else 6885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6886for as_dir in $PATH 6887do 6888 IFS=$as_save_IFS 6889 case $as_dir in #((( 6890 '') as_dir=./ ;; 6891 */) ;; 6892 *) as_dir=$as_dir/ ;; 6893 esac 6894 for ac_exec_ext in '' $ac_executable_extensions; do 6895 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6896 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6898 break 2 6899 fi 6900done 6901 done 6902IFS=$as_save_IFS 6903 6904fi 6905fi 6906STRIP=$ac_cv_prog_STRIP 6907if test -n "$STRIP"; then 6908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6909printf "%s\n" "$STRIP" >&6; } 6910else 6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6912printf "%s\n" "no" >&6; } 6913fi 6914 6915 6916fi 6917if test -z "$ac_cv_prog_STRIP"; then 6918 ac_ct_STRIP=$STRIP 6919 # Extract the first word of "strip", so it can be a program name with args. 6920set dummy strip; ac_word=$2 6921{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6922printf %s "checking for $ac_word... " >&6; } 6923if test ${ac_cv_prog_ac_ct_STRIP+y} 6924then : 6925 printf %s "(cached) " >&6 6926else $as_nop 6927 if test -n "$ac_ct_STRIP"; then 6928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6929else 6930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6931for as_dir in $PATH 6932do 6933 IFS=$as_save_IFS 6934 case $as_dir in #((( 6935 '') as_dir=./ ;; 6936 */) ;; 6937 *) as_dir=$as_dir/ ;; 6938 esac 6939 for ac_exec_ext in '' $ac_executable_extensions; do 6940 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6941 ac_cv_prog_ac_ct_STRIP="strip" 6942 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6943 break 2 6944 fi 6945done 6946 done 6947IFS=$as_save_IFS 6948 6949fi 6950fi 6951ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6952if test -n "$ac_ct_STRIP"; then 6953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6954printf "%s\n" "$ac_ct_STRIP" >&6; } 6955else 6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6957printf "%s\n" "no" >&6; } 6958fi 6959 6960 if test "x$ac_ct_STRIP" = x; then 6961 STRIP=":" 6962 else 6963 case $cross_compiling:$ac_tool_warned in 6964yes:) 6965{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6966printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6967ac_tool_warned=yes ;; 6968esac 6969 STRIP=$ac_ct_STRIP 6970 fi 6971else 6972 STRIP="$ac_cv_prog_STRIP" 6973fi 6974 6975test -z "$STRIP" && STRIP=: 6976 6977 6978 6979 6980 6981 6982if test -n "$ac_tool_prefix"; then 6983 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6984set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6985{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6986printf %s "checking for $ac_word... " >&6; } 6987if test ${ac_cv_prog_RANLIB+y} 6988then : 6989 printf %s "(cached) " >&6 6990else $as_nop 6991 if test -n "$RANLIB"; then 6992 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6993else 6994as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6995for as_dir in $PATH 6996do 6997 IFS=$as_save_IFS 6998 case $as_dir in #((( 6999 '') as_dir=./ ;; 7000 */) ;; 7001 *) as_dir=$as_dir/ ;; 7002 esac 7003 for ac_exec_ext in '' $ac_executable_extensions; do 7004 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7005 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7007 break 2 7008 fi 7009done 7010 done 7011IFS=$as_save_IFS 7012 7013fi 7014fi 7015RANLIB=$ac_cv_prog_RANLIB 7016if test -n "$RANLIB"; then 7017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7018printf "%s\n" "$RANLIB" >&6; } 7019else 7020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7021printf "%s\n" "no" >&6; } 7022fi 7023 7024 7025fi 7026if test -z "$ac_cv_prog_RANLIB"; then 7027 ac_ct_RANLIB=$RANLIB 7028 # Extract the first word of "ranlib", so it can be a program name with args. 7029set dummy ranlib; ac_word=$2 7030{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7031printf %s "checking for $ac_word... " >&6; } 7032if test ${ac_cv_prog_ac_ct_RANLIB+y} 7033then : 7034 printf %s "(cached) " >&6 7035else $as_nop 7036 if test -n "$ac_ct_RANLIB"; then 7037 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7038else 7039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7040for as_dir in $PATH 7041do 7042 IFS=$as_save_IFS 7043 case $as_dir in #((( 7044 '') as_dir=./ ;; 7045 */) ;; 7046 *) as_dir=$as_dir/ ;; 7047 esac 7048 for ac_exec_ext in '' $ac_executable_extensions; do 7049 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7050 ac_cv_prog_ac_ct_RANLIB="ranlib" 7051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7052 break 2 7053 fi 7054done 7055 done 7056IFS=$as_save_IFS 7057 7058fi 7059fi 7060ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7061if test -n "$ac_ct_RANLIB"; then 7062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7063printf "%s\n" "$ac_ct_RANLIB" >&6; } 7064else 7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7066printf "%s\n" "no" >&6; } 7067fi 7068 7069 if test "x$ac_ct_RANLIB" = x; then 7070 RANLIB=":" 7071 else 7072 case $cross_compiling:$ac_tool_warned in 7073yes:) 7074{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7075printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7076ac_tool_warned=yes ;; 7077esac 7078 RANLIB=$ac_ct_RANLIB 7079 fi 7080else 7081 RANLIB="$ac_cv_prog_RANLIB" 7082fi 7083 7084test -z "$RANLIB" && RANLIB=: 7085 7086 7087 7088 7089 7090 7091# Determine commands to create old-style static archives. 7092old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7093old_postinstall_cmds='chmod 644 $oldlib' 7094old_postuninstall_cmds= 7095 7096if test -n "$RANLIB"; then 7097 case $host_os in 7098 bitrig* | openbsd*) 7099 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7100 ;; 7101 *) 7102 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7103 ;; 7104 esac 7105 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7106fi 7107 7108case $host_os in 7109 darwin*) 7110 lock_old_archive_extraction=yes ;; 7111 *) 7112 lock_old_archive_extraction=no ;; 7113esac 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153# If no C compiler was specified, use CC. 7154LTCC=${LTCC-"$CC"} 7155 7156# If no C compiler flags were specified, use CFLAGS. 7157LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7158 7159# Allow CC to be a program name with arguments. 7160compiler=$CC 7161 7162 7163# Check for command to grab the raw symbol name followed by C symbol from nm. 7164{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7165printf %s "checking command to parse $NM output from $compiler object... " >&6; } 7166if test ${lt_cv_sys_global_symbol_pipe+y} 7167then : 7168 printf %s "(cached) " >&6 7169else $as_nop 7170 7171# These are sane defaults that work on at least a few old systems. 7172# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7173 7174# Character class describing NM global symbol codes. 7175symcode='[BCDEGRST]' 7176 7177# Regexp to match symbols that can be accessed directly from C. 7178sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7179 7180# Define system-specific variables. 7181case $host_os in 7182aix*) 7183 symcode='[BCDT]' 7184 ;; 7185cygwin* | mingw* | pw32* | cegcc*) 7186 symcode='[ABCDGISTW]' 7187 ;; 7188hpux*) 7189 if test ia64 = "$host_cpu"; then 7190 symcode='[ABCDEGRST]' 7191 fi 7192 ;; 7193irix* | nonstopux*) 7194 symcode='[BCDEGRST]' 7195 ;; 7196osf*) 7197 symcode='[BCDEGQRST]' 7198 ;; 7199solaris*) 7200 symcode='[BDRT]' 7201 ;; 7202sco3.2v5*) 7203 symcode='[DT]' 7204 ;; 7205sysv4.2uw2*) 7206 symcode='[DT]' 7207 ;; 7208sysv5* | sco5v6* | unixware* | OpenUNIX*) 7209 symcode='[ABDT]' 7210 ;; 7211sysv4) 7212 symcode='[DFNSTU]' 7213 ;; 7214esac 7215 7216# If we're using GNU nm, then use its standard symbol codes. 7217case `$NM -V 2>&1` in 7218*GNU* | *'with BFD'*) 7219 symcode='[ABCDGIRSTW]' ;; 7220esac 7221 7222if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7223 # Gets list of data symbols to import. 7224 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7225 # Adjust the below global symbol transforms to fixup imported variables. 7226 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7227 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7228 lt_c_name_lib_hook="\ 7229 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7230 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7231else 7232 # Disable hooks by default. 7233 lt_cv_sys_global_symbol_to_import= 7234 lt_cdecl_hook= 7235 lt_c_name_hook= 7236 lt_c_name_lib_hook= 7237fi 7238 7239# Transform an extracted symbol line into a proper C declaration. 7240# Some systems (esp. on ia64) link data and code symbols differently, 7241# so use this general approach. 7242lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7243$lt_cdecl_hook\ 7244" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7245" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7246 7247# Transform an extracted symbol line into symbol name and symbol address 7248lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7249$lt_c_name_hook\ 7250" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7251" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7252 7253# Transform an extracted symbol line into symbol name with lib prefix and 7254# symbol address. 7255lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7256$lt_c_name_lib_hook\ 7257" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7258" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7259" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7260 7261# Handle CRLF in mingw tool chain 7262opt_cr= 7263case $build_os in 7264mingw*) 7265 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7266 ;; 7267esac 7268 7269# Try without a prefix underscore, then with it. 7270for ac_symprfx in "" "_"; do 7271 7272 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7273 symxfrm="\\1 $ac_symprfx\\2 \\2" 7274 7275 # Write the raw and C identifiers. 7276 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7277 # Fake it for dumpbin and say T for any non-static function, 7278 # D for any global variable and I for any imported variable. 7279 # Also find C++ and __fastcall symbols from MSVC++, 7280 # which start with @ or ?. 7281 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7282" {last_section=section; section=\$ 3};"\ 7283" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7284" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7285" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7286" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7287" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7288" \$ 0!~/External *\|/{next};"\ 7289" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7290" {if(hide[section]) next};"\ 7291" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7292" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7293" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7294" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7295" ' prfx=^$ac_symprfx" 7296 else 7297 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7298 fi 7299 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7300 7301 # Check to see that the pipe works correctly. 7302 pipe_works=no 7303 7304 rm -f conftest* 7305 cat > conftest.$ac_ext <<_LT_EOF 7306#ifdef __cplusplus 7307extern "C" { 7308#endif 7309char nm_test_var; 7310void nm_test_func(void); 7311void nm_test_func(void){} 7312#ifdef __cplusplus 7313} 7314#endif 7315int main(){nm_test_var='a';nm_test_func();return(0);} 7316_LT_EOF 7317 7318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7319 (eval $ac_compile) 2>&5 7320 ac_status=$? 7321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7322 test $ac_status = 0; }; then 7323 # Now try to grab the symbols. 7324 nlist=conftest.nm 7325 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 7326 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 7327 # Try sorting and uniquifying the output. 7328 if sort "$nlist" | uniq > "$nlist"T; then 7329 mv -f "$nlist"T "$nlist" 7330 else 7331 rm -f "$nlist"T 7332 fi 7333 7334 # Make sure that we snagged all the symbols we need. 7335 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7336 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7337 cat <<_LT_EOF > conftest.$ac_ext 7338/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7339#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7340/* DATA imports from DLLs on WIN32 can't be const, because runtime 7341 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7342# define LT_DLSYM_CONST 7343#elif defined __osf__ 7344/* This system does not cope well with relocations in const data. */ 7345# define LT_DLSYM_CONST 7346#else 7347# define LT_DLSYM_CONST const 7348#endif 7349 7350#ifdef __cplusplus 7351extern "C" { 7352#endif 7353 7354_LT_EOF 7355 # Now generate the symbol file. 7356 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7357 7358 cat <<_LT_EOF >> conftest.$ac_ext 7359 7360/* The mapping between symbol names and symbols. */ 7361LT_DLSYM_CONST struct { 7362 const char *name; 7363 void *address; 7364} 7365lt__PROGRAM__LTX_preloaded_symbols[] = 7366{ 7367 { "@PROGRAM@", (void *) 0 }, 7368_LT_EOF 7369 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7370 cat <<\_LT_EOF >> conftest.$ac_ext 7371 {0, (void *) 0} 7372}; 7373 7374/* This works around a problem in FreeBSD linker */ 7375#ifdef FREEBSD_WORKAROUND 7376static const void *lt_preloaded_setup() { 7377 return lt__PROGRAM__LTX_preloaded_symbols; 7378} 7379#endif 7380 7381#ifdef __cplusplus 7382} 7383#endif 7384_LT_EOF 7385 # Now try linking the two files. 7386 mv conftest.$ac_objext conftstm.$ac_objext 7387 lt_globsym_save_LIBS=$LIBS 7388 lt_globsym_save_CFLAGS=$CFLAGS 7389 LIBS=conftstm.$ac_objext 7390 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7392 (eval $ac_link) 2>&5 7393 ac_status=$? 7394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7395 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7396 pipe_works=yes 7397 fi 7398 LIBS=$lt_globsym_save_LIBS 7399 CFLAGS=$lt_globsym_save_CFLAGS 7400 else 7401 echo "cannot find nm_test_func in $nlist" >&5 7402 fi 7403 else 7404 echo "cannot find nm_test_var in $nlist" >&5 7405 fi 7406 else 7407 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7408 fi 7409 else 7410 echo "$progname: failed program was:" >&5 7411 cat conftest.$ac_ext >&5 7412 fi 7413 rm -rf conftest* conftst* 7414 7415 # Do not use the global_symbol_pipe unless it works. 7416 if test yes = "$pipe_works"; then 7417 break 7418 else 7419 lt_cv_sys_global_symbol_pipe= 7420 fi 7421done 7422 7423fi 7424 7425if test -z "$lt_cv_sys_global_symbol_pipe"; then 7426 lt_cv_sys_global_symbol_to_cdecl= 7427fi 7428if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7430printf "%s\n" "failed" >&6; } 7431else 7432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7433printf "%s\n" "ok" >&6; } 7434fi 7435 7436# Response file support. 7437if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7438 nm_file_list_spec='@' 7439elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7440 nm_file_list_spec='@' 7441fi 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7480printf %s "checking for sysroot... " >&6; } 7481 7482# Check whether --with-sysroot was given. 7483if test ${with_sysroot+y} 7484then : 7485 withval=$with_sysroot; 7486else $as_nop 7487 with_sysroot=no 7488fi 7489 7490 7491lt_sysroot= 7492case $with_sysroot in #( 7493 yes) 7494 if test yes = "$GCC"; then 7495 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7496 fi 7497 ;; #( 7498 /*) 7499 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7500 ;; #( 7501 no|'') 7502 ;; #( 7503 *) 7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7505printf "%s\n" "$with_sysroot" >&6; } 7506 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7507 ;; 7508esac 7509 7510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7511printf "%s\n" "${lt_sysroot:-no}" >&6; } 7512 7513 7514 7515 7516 7517{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7518printf %s "checking for a working dd... " >&6; } 7519if test ${ac_cv_path_lt_DD+y} 7520then : 7521 printf %s "(cached) " >&6 7522else $as_nop 7523 printf 0123456789abcdef0123456789abcdef >conftest.i 7524cat conftest.i conftest.i >conftest2.i 7525: ${lt_DD:=$DD} 7526if test -z "$lt_DD"; then 7527 ac_path_lt_DD_found=false 7528 # Loop through the user's path and test for each of PROGNAME-LIST 7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7530for as_dir in $PATH 7531do 7532 IFS=$as_save_IFS 7533 case $as_dir in #((( 7534 '') as_dir=./ ;; 7535 */) ;; 7536 *) as_dir=$as_dir/ ;; 7537 esac 7538 for ac_prog in dd 7539 do 7540 for ac_exec_ext in '' $ac_executable_extensions; do 7541 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" 7542 as_fn_executable_p "$ac_path_lt_DD" || continue 7543if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7544 cmp -s conftest.i conftest.out \ 7545 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7546fi 7547 $ac_path_lt_DD_found && break 3 7548 done 7549 done 7550 done 7551IFS=$as_save_IFS 7552 if test -z "$ac_cv_path_lt_DD"; then 7553 : 7554 fi 7555else 7556 ac_cv_path_lt_DD=$lt_DD 7557fi 7558 7559rm -f conftest.i conftest2.i conftest.out 7560fi 7561{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7562printf "%s\n" "$ac_cv_path_lt_DD" >&6; } 7563 7564 7565{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7566printf %s "checking how to truncate binary pipes... " >&6; } 7567if test ${lt_cv_truncate_bin+y} 7568then : 7569 printf %s "(cached) " >&6 7570else $as_nop 7571 printf 0123456789abcdef0123456789abcdef >conftest.i 7572cat conftest.i conftest.i >conftest2.i 7573lt_cv_truncate_bin= 7574if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7575 cmp -s conftest.i conftest.out \ 7576 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7577fi 7578rm -f conftest.i conftest2.i conftest.out 7579test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7580fi 7581{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7582printf "%s\n" "$lt_cv_truncate_bin" >&6; } 7583 7584 7585 7586 7587 7588 7589 7590# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7591func_cc_basename () 7592{ 7593 for cc_temp in $*""; do 7594 case $cc_temp in 7595 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7596 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7597 \-*) ;; 7598 *) break;; 7599 esac 7600 done 7601 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7602} 7603 7604# Check whether --enable-libtool-lock was given. 7605if test ${enable_libtool_lock+y} 7606then : 7607 enableval=$enable_libtool_lock; 7608fi 7609 7610test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7611 7612# Some flags need to be propagated to the compiler or linker for good 7613# libtool support. 7614case $host in 7615ia64-*-hpux*) 7616 # Find out what ABI is being produced by ac_compile, and set mode 7617 # options accordingly. 7618 echo 'int i;' > conftest.$ac_ext 7619 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7620 (eval $ac_compile) 2>&5 7621 ac_status=$? 7622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7623 test $ac_status = 0; }; then 7624 case `/usr/bin/file conftest.$ac_objext` in 7625 *ELF-32*) 7626 HPUX_IA64_MODE=32 7627 ;; 7628 *ELF-64*) 7629 HPUX_IA64_MODE=64 7630 ;; 7631 esac 7632 fi 7633 rm -rf conftest* 7634 ;; 7635*-*-irix6*) 7636 # Find out what ABI is being produced by ac_compile, and set linker 7637 # options accordingly. 7638 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7640 (eval $ac_compile) 2>&5 7641 ac_status=$? 7642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7643 test $ac_status = 0; }; then 7644 if test yes = "$lt_cv_prog_gnu_ld"; then 7645 case `/usr/bin/file conftest.$ac_objext` in 7646 *32-bit*) 7647 LD="${LD-ld} -melf32bsmip" 7648 ;; 7649 *N32*) 7650 LD="${LD-ld} -melf32bmipn32" 7651 ;; 7652 *64-bit*) 7653 LD="${LD-ld} -melf64bmip" 7654 ;; 7655 esac 7656 else 7657 case `/usr/bin/file conftest.$ac_objext` in 7658 *32-bit*) 7659 LD="${LD-ld} -32" 7660 ;; 7661 *N32*) 7662 LD="${LD-ld} -n32" 7663 ;; 7664 *64-bit*) 7665 LD="${LD-ld} -64" 7666 ;; 7667 esac 7668 fi 7669 fi 7670 rm -rf conftest* 7671 ;; 7672 7673mips64*-*linux*) 7674 # Find out what ABI is being produced by ac_compile, and set linker 7675 # options accordingly. 7676 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7678 (eval $ac_compile) 2>&5 7679 ac_status=$? 7680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7681 test $ac_status = 0; }; then 7682 emul=elf 7683 case `/usr/bin/file conftest.$ac_objext` in 7684 *32-bit*) 7685 emul="${emul}32" 7686 ;; 7687 *64-bit*) 7688 emul="${emul}64" 7689 ;; 7690 esac 7691 case `/usr/bin/file conftest.$ac_objext` in 7692 *MSB*) 7693 emul="${emul}btsmip" 7694 ;; 7695 *LSB*) 7696 emul="${emul}ltsmip" 7697 ;; 7698 esac 7699 case `/usr/bin/file conftest.$ac_objext` in 7700 *N32*) 7701 emul="${emul}n32" 7702 ;; 7703 esac 7704 LD="${LD-ld} -m $emul" 7705 fi 7706 rm -rf conftest* 7707 ;; 7708 7709x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7710s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7711 # Find out what ABI is being produced by ac_compile, and set linker 7712 # options accordingly. Note that the listed cases only cover the 7713 # situations where additional linker options are needed (such as when 7714 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7715 # vice versa); the common cases where no linker options are needed do 7716 # not appear in the list. 7717 echo 'int i;' > conftest.$ac_ext 7718 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7719 (eval $ac_compile) 2>&5 7720 ac_status=$? 7721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7722 test $ac_status = 0; }; then 7723 case `/usr/bin/file conftest.o` in 7724 *32-bit*) 7725 case $host in 7726 x86_64-*kfreebsd*-gnu) 7727 LD="${LD-ld} -m elf_i386_fbsd" 7728 ;; 7729 x86_64-*linux*) 7730 case `/usr/bin/file conftest.o` in 7731 *x86-64*) 7732 LD="${LD-ld} -m elf32_x86_64" 7733 ;; 7734 *) 7735 LD="${LD-ld} -m elf_i386" 7736 ;; 7737 esac 7738 ;; 7739 powerpc64le-*linux*) 7740 LD="${LD-ld} -m elf32lppclinux" 7741 ;; 7742 powerpc64-*linux*) 7743 LD="${LD-ld} -m elf32ppclinux" 7744 ;; 7745 s390x-*linux*) 7746 LD="${LD-ld} -m elf_s390" 7747 ;; 7748 sparc64-*linux*) 7749 LD="${LD-ld} -m elf32_sparc" 7750 ;; 7751 esac 7752 ;; 7753 *64-bit*) 7754 case $host in 7755 x86_64-*kfreebsd*-gnu) 7756 LD="${LD-ld} -m elf_x86_64_fbsd" 7757 ;; 7758 x86_64-*linux*) 7759 LD="${LD-ld} -m elf_x86_64" 7760 ;; 7761 powerpcle-*linux*) 7762 LD="${LD-ld} -m elf64lppc" 7763 ;; 7764 powerpc-*linux*) 7765 LD="${LD-ld} -m elf64ppc" 7766 ;; 7767 s390*-*linux*|s390*-*tpf*) 7768 LD="${LD-ld} -m elf64_s390" 7769 ;; 7770 sparc*-*linux*) 7771 LD="${LD-ld} -m elf64_sparc" 7772 ;; 7773 esac 7774 ;; 7775 esac 7776 fi 7777 rm -rf conftest* 7778 ;; 7779 7780*-*-sco3.2v5*) 7781 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7782 SAVE_CFLAGS=$CFLAGS 7783 CFLAGS="$CFLAGS -belf" 7784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7785printf %s "checking whether the C compiler needs -belf... " >&6; } 7786if test ${lt_cv_cc_needs_belf+y} 7787then : 7788 printf %s "(cached) " >&6 7789else $as_nop 7790 ac_ext=c 7791ac_cpp='$CPP $CPPFLAGS' 7792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7794ac_compiler_gnu=$ac_cv_c_compiler_gnu 7795 7796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7797/* end confdefs.h. */ 7798 7799int 7800main (void) 7801{ 7802 7803 ; 7804 return 0; 7805} 7806_ACEOF 7807if ac_fn_c_try_link "$LINENO" 7808then : 7809 lt_cv_cc_needs_belf=yes 7810else $as_nop 7811 lt_cv_cc_needs_belf=no 7812fi 7813rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7814 conftest$ac_exeext conftest.$ac_ext 7815 ac_ext=c 7816ac_cpp='$CPP $CPPFLAGS' 7817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7819ac_compiler_gnu=$ac_cv_c_compiler_gnu 7820 7821fi 7822{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7823printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } 7824 if test yes != "$lt_cv_cc_needs_belf"; then 7825 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7826 CFLAGS=$SAVE_CFLAGS 7827 fi 7828 ;; 7829*-*solaris*) 7830 # Find out what ABI is being produced by ac_compile, and set linker 7831 # options accordingly. 7832 echo 'int i;' > conftest.$ac_ext 7833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7834 (eval $ac_compile) 2>&5 7835 ac_status=$? 7836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7837 test $ac_status = 0; }; then 7838 case `/usr/bin/file conftest.o` in 7839 *64-bit*) 7840 case $lt_cv_prog_gnu_ld in 7841 yes*) 7842 case $host in 7843 i?86-*-solaris*|x86_64-*-solaris*) 7844 LD="${LD-ld} -m elf_x86_64" 7845 ;; 7846 sparc*-*-solaris*) 7847 LD="${LD-ld} -m elf64_sparc" 7848 ;; 7849 esac 7850 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7851 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7852 LD=${LD-ld}_sol2 7853 fi 7854 ;; 7855 *) 7856 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7857 LD="${LD-ld} -64" 7858 fi 7859 ;; 7860 esac 7861 ;; 7862 esac 7863 fi 7864 rm -rf conftest* 7865 ;; 7866esac 7867 7868need_locks=$enable_libtool_lock 7869 7870if test -n "$ac_tool_prefix"; then 7871 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7872set dummy ${ac_tool_prefix}mt; ac_word=$2 7873{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7874printf %s "checking for $ac_word... " >&6; } 7875if test ${ac_cv_prog_MANIFEST_TOOL+y} 7876then : 7877 printf %s "(cached) " >&6 7878else $as_nop 7879 if test -n "$MANIFEST_TOOL"; then 7880 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7881else 7882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7883for as_dir in $PATH 7884do 7885 IFS=$as_save_IFS 7886 case $as_dir in #((( 7887 '') as_dir=./ ;; 7888 */) ;; 7889 *) as_dir=$as_dir/ ;; 7890 esac 7891 for ac_exec_ext in '' $ac_executable_extensions; do 7892 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7893 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7895 break 2 7896 fi 7897done 7898 done 7899IFS=$as_save_IFS 7900 7901fi 7902fi 7903MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7904if test -n "$MANIFEST_TOOL"; then 7905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7906printf "%s\n" "$MANIFEST_TOOL" >&6; } 7907else 7908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7909printf "%s\n" "no" >&6; } 7910fi 7911 7912 7913fi 7914if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7915 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7916 # Extract the first word of "mt", so it can be a program name with args. 7917set dummy mt; ac_word=$2 7918{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7919printf %s "checking for $ac_word... " >&6; } 7920if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} 7921then : 7922 printf %s "(cached) " >&6 7923else $as_nop 7924 if test -n "$ac_ct_MANIFEST_TOOL"; then 7925 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7926else 7927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7928for as_dir in $PATH 7929do 7930 IFS=$as_save_IFS 7931 case $as_dir in #((( 7932 '') as_dir=./ ;; 7933 */) ;; 7934 *) as_dir=$as_dir/ ;; 7935 esac 7936 for ac_exec_ext in '' $ac_executable_extensions; do 7937 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7938 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7940 break 2 7941 fi 7942done 7943 done 7944IFS=$as_save_IFS 7945 7946fi 7947fi 7948ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7949if test -n "$ac_ct_MANIFEST_TOOL"; then 7950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7951printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } 7952else 7953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7954printf "%s\n" "no" >&6; } 7955fi 7956 7957 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7958 MANIFEST_TOOL=":" 7959 else 7960 case $cross_compiling:$ac_tool_warned in 7961yes:) 7962{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7963printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7964ac_tool_warned=yes ;; 7965esac 7966 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7967 fi 7968else 7969 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7970fi 7971 7972test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7973{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7974printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7975if test ${lt_cv_path_mainfest_tool+y} 7976then : 7977 printf %s "(cached) " >&6 7978else $as_nop 7979 lt_cv_path_mainfest_tool=no 7980 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7981 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7982 cat conftest.err >&5 7983 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7984 lt_cv_path_mainfest_tool=yes 7985 fi 7986 rm -f conftest* 7987fi 7988{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7989printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } 7990if test yes != "$lt_cv_path_mainfest_tool"; then 7991 MANIFEST_TOOL=: 7992fi 7993 7994 7995 7996 7997 7998 7999 case $host_os in 8000 rhapsody* | darwin*) 8001 if test -n "$ac_tool_prefix"; then 8002 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8003set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8004{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8005printf %s "checking for $ac_word... " >&6; } 8006if test ${ac_cv_prog_DSYMUTIL+y} 8007then : 8008 printf %s "(cached) " >&6 8009else $as_nop 8010 if test -n "$DSYMUTIL"; then 8011 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8012else 8013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8014for as_dir in $PATH 8015do 8016 IFS=$as_save_IFS 8017 case $as_dir in #((( 8018 '') as_dir=./ ;; 8019 */) ;; 8020 *) as_dir=$as_dir/ ;; 8021 esac 8022 for ac_exec_ext in '' $ac_executable_extensions; do 8023 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8024 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8026 break 2 8027 fi 8028done 8029 done 8030IFS=$as_save_IFS 8031 8032fi 8033fi 8034DSYMUTIL=$ac_cv_prog_DSYMUTIL 8035if test -n "$DSYMUTIL"; then 8036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8037printf "%s\n" "$DSYMUTIL" >&6; } 8038else 8039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8040printf "%s\n" "no" >&6; } 8041fi 8042 8043 8044fi 8045if test -z "$ac_cv_prog_DSYMUTIL"; then 8046 ac_ct_DSYMUTIL=$DSYMUTIL 8047 # Extract the first word of "dsymutil", so it can be a program name with args. 8048set dummy dsymutil; ac_word=$2 8049{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8050printf %s "checking for $ac_word... " >&6; } 8051if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} 8052then : 8053 printf %s "(cached) " >&6 8054else $as_nop 8055 if test -n "$ac_ct_DSYMUTIL"; then 8056 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8057else 8058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8059for as_dir in $PATH 8060do 8061 IFS=$as_save_IFS 8062 case $as_dir in #((( 8063 '') as_dir=./ ;; 8064 */) ;; 8065 *) as_dir=$as_dir/ ;; 8066 esac 8067 for ac_exec_ext in '' $ac_executable_extensions; do 8068 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8069 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8071 break 2 8072 fi 8073done 8074 done 8075IFS=$as_save_IFS 8076 8077fi 8078fi 8079ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8080if test -n "$ac_ct_DSYMUTIL"; then 8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8082printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } 8083else 8084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8085printf "%s\n" "no" >&6; } 8086fi 8087 8088 if test "x$ac_ct_DSYMUTIL" = x; then 8089 DSYMUTIL=":" 8090 else 8091 case $cross_compiling:$ac_tool_warned in 8092yes:) 8093{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8094printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8095ac_tool_warned=yes ;; 8096esac 8097 DSYMUTIL=$ac_ct_DSYMUTIL 8098 fi 8099else 8100 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8101fi 8102 8103 if test -n "$ac_tool_prefix"; then 8104 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8105set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8106{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8107printf %s "checking for $ac_word... " >&6; } 8108if test ${ac_cv_prog_NMEDIT+y} 8109then : 8110 printf %s "(cached) " >&6 8111else $as_nop 8112 if test -n "$NMEDIT"; then 8113 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8114else 8115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8116for as_dir in $PATH 8117do 8118 IFS=$as_save_IFS 8119 case $as_dir in #((( 8120 '') as_dir=./ ;; 8121 */) ;; 8122 *) as_dir=$as_dir/ ;; 8123 esac 8124 for ac_exec_ext in '' $ac_executable_extensions; do 8125 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8126 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8128 break 2 8129 fi 8130done 8131 done 8132IFS=$as_save_IFS 8133 8134fi 8135fi 8136NMEDIT=$ac_cv_prog_NMEDIT 8137if test -n "$NMEDIT"; then 8138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8139printf "%s\n" "$NMEDIT" >&6; } 8140else 8141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8142printf "%s\n" "no" >&6; } 8143fi 8144 8145 8146fi 8147if test -z "$ac_cv_prog_NMEDIT"; then 8148 ac_ct_NMEDIT=$NMEDIT 8149 # Extract the first word of "nmedit", so it can be a program name with args. 8150set dummy nmedit; ac_word=$2 8151{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8152printf %s "checking for $ac_word... " >&6; } 8153if test ${ac_cv_prog_ac_ct_NMEDIT+y} 8154then : 8155 printf %s "(cached) " >&6 8156else $as_nop 8157 if test -n "$ac_ct_NMEDIT"; then 8158 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8159else 8160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8161for as_dir in $PATH 8162do 8163 IFS=$as_save_IFS 8164 case $as_dir in #((( 8165 '') as_dir=./ ;; 8166 */) ;; 8167 *) as_dir=$as_dir/ ;; 8168 esac 8169 for ac_exec_ext in '' $ac_executable_extensions; do 8170 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8171 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8173 break 2 8174 fi 8175done 8176 done 8177IFS=$as_save_IFS 8178 8179fi 8180fi 8181ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8182if test -n "$ac_ct_NMEDIT"; then 8183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8184printf "%s\n" "$ac_ct_NMEDIT" >&6; } 8185else 8186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8187printf "%s\n" "no" >&6; } 8188fi 8189 8190 if test "x$ac_ct_NMEDIT" = x; then 8191 NMEDIT=":" 8192 else 8193 case $cross_compiling:$ac_tool_warned in 8194yes:) 8195{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8196printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8197ac_tool_warned=yes ;; 8198esac 8199 NMEDIT=$ac_ct_NMEDIT 8200 fi 8201else 8202 NMEDIT="$ac_cv_prog_NMEDIT" 8203fi 8204 8205 if test -n "$ac_tool_prefix"; then 8206 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8207set dummy ${ac_tool_prefix}lipo; ac_word=$2 8208{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8209printf %s "checking for $ac_word... " >&6; } 8210if test ${ac_cv_prog_LIPO+y} 8211then : 8212 printf %s "(cached) " >&6 8213else $as_nop 8214 if test -n "$LIPO"; then 8215 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8216else 8217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8218for as_dir in $PATH 8219do 8220 IFS=$as_save_IFS 8221 case $as_dir in #((( 8222 '') as_dir=./ ;; 8223 */) ;; 8224 *) as_dir=$as_dir/ ;; 8225 esac 8226 for ac_exec_ext in '' $ac_executable_extensions; do 8227 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8228 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8230 break 2 8231 fi 8232done 8233 done 8234IFS=$as_save_IFS 8235 8236fi 8237fi 8238LIPO=$ac_cv_prog_LIPO 8239if test -n "$LIPO"; then 8240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8241printf "%s\n" "$LIPO" >&6; } 8242else 8243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8244printf "%s\n" "no" >&6; } 8245fi 8246 8247 8248fi 8249if test -z "$ac_cv_prog_LIPO"; then 8250 ac_ct_LIPO=$LIPO 8251 # Extract the first word of "lipo", so it can be a program name with args. 8252set dummy lipo; ac_word=$2 8253{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8254printf %s "checking for $ac_word... " >&6; } 8255if test ${ac_cv_prog_ac_ct_LIPO+y} 8256then : 8257 printf %s "(cached) " >&6 8258else $as_nop 8259 if test -n "$ac_ct_LIPO"; then 8260 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8261else 8262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8263for as_dir in $PATH 8264do 8265 IFS=$as_save_IFS 8266 case $as_dir in #((( 8267 '') as_dir=./ ;; 8268 */) ;; 8269 *) as_dir=$as_dir/ ;; 8270 esac 8271 for ac_exec_ext in '' $ac_executable_extensions; do 8272 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8273 ac_cv_prog_ac_ct_LIPO="lipo" 8274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8275 break 2 8276 fi 8277done 8278 done 8279IFS=$as_save_IFS 8280 8281fi 8282fi 8283ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8284if test -n "$ac_ct_LIPO"; then 8285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8286printf "%s\n" "$ac_ct_LIPO" >&6; } 8287else 8288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8289printf "%s\n" "no" >&6; } 8290fi 8291 8292 if test "x$ac_ct_LIPO" = x; then 8293 LIPO=":" 8294 else 8295 case $cross_compiling:$ac_tool_warned in 8296yes:) 8297{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8298printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8299ac_tool_warned=yes ;; 8300esac 8301 LIPO=$ac_ct_LIPO 8302 fi 8303else 8304 LIPO="$ac_cv_prog_LIPO" 8305fi 8306 8307 if test -n "$ac_tool_prefix"; then 8308 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8309set dummy ${ac_tool_prefix}otool; ac_word=$2 8310{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8311printf %s "checking for $ac_word... " >&6; } 8312if test ${ac_cv_prog_OTOOL+y} 8313then : 8314 printf %s "(cached) " >&6 8315else $as_nop 8316 if test -n "$OTOOL"; then 8317 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8318else 8319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8320for as_dir in $PATH 8321do 8322 IFS=$as_save_IFS 8323 case $as_dir in #((( 8324 '') as_dir=./ ;; 8325 */) ;; 8326 *) as_dir=$as_dir/ ;; 8327 esac 8328 for ac_exec_ext in '' $ac_executable_extensions; do 8329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8330 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8332 break 2 8333 fi 8334done 8335 done 8336IFS=$as_save_IFS 8337 8338fi 8339fi 8340OTOOL=$ac_cv_prog_OTOOL 8341if test -n "$OTOOL"; then 8342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8343printf "%s\n" "$OTOOL" >&6; } 8344else 8345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8346printf "%s\n" "no" >&6; } 8347fi 8348 8349 8350fi 8351if test -z "$ac_cv_prog_OTOOL"; then 8352 ac_ct_OTOOL=$OTOOL 8353 # Extract the first word of "otool", so it can be a program name with args. 8354set dummy otool; ac_word=$2 8355{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8356printf %s "checking for $ac_word... " >&6; } 8357if test ${ac_cv_prog_ac_ct_OTOOL+y} 8358then : 8359 printf %s "(cached) " >&6 8360else $as_nop 8361 if test -n "$ac_ct_OTOOL"; then 8362 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8363else 8364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8365for as_dir in $PATH 8366do 8367 IFS=$as_save_IFS 8368 case $as_dir in #((( 8369 '') as_dir=./ ;; 8370 */) ;; 8371 *) as_dir=$as_dir/ ;; 8372 esac 8373 for ac_exec_ext in '' $ac_executable_extensions; do 8374 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8375 ac_cv_prog_ac_ct_OTOOL="otool" 8376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8377 break 2 8378 fi 8379done 8380 done 8381IFS=$as_save_IFS 8382 8383fi 8384fi 8385ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8386if test -n "$ac_ct_OTOOL"; then 8387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8388printf "%s\n" "$ac_ct_OTOOL" >&6; } 8389else 8390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8391printf "%s\n" "no" >&6; } 8392fi 8393 8394 if test "x$ac_ct_OTOOL" = x; then 8395 OTOOL=":" 8396 else 8397 case $cross_compiling:$ac_tool_warned in 8398yes:) 8399{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8400printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8401ac_tool_warned=yes ;; 8402esac 8403 OTOOL=$ac_ct_OTOOL 8404 fi 8405else 8406 OTOOL="$ac_cv_prog_OTOOL" 8407fi 8408 8409 if test -n "$ac_tool_prefix"; then 8410 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8411set dummy ${ac_tool_prefix}otool64; ac_word=$2 8412{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8413printf %s "checking for $ac_word... " >&6; } 8414if test ${ac_cv_prog_OTOOL64+y} 8415then : 8416 printf %s "(cached) " >&6 8417else $as_nop 8418 if test -n "$OTOOL64"; then 8419 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8420else 8421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8422for as_dir in $PATH 8423do 8424 IFS=$as_save_IFS 8425 case $as_dir in #((( 8426 '') as_dir=./ ;; 8427 */) ;; 8428 *) as_dir=$as_dir/ ;; 8429 esac 8430 for ac_exec_ext in '' $ac_executable_extensions; do 8431 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8432 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8434 break 2 8435 fi 8436done 8437 done 8438IFS=$as_save_IFS 8439 8440fi 8441fi 8442OTOOL64=$ac_cv_prog_OTOOL64 8443if test -n "$OTOOL64"; then 8444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8445printf "%s\n" "$OTOOL64" >&6; } 8446else 8447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8448printf "%s\n" "no" >&6; } 8449fi 8450 8451 8452fi 8453if test -z "$ac_cv_prog_OTOOL64"; then 8454 ac_ct_OTOOL64=$OTOOL64 8455 # Extract the first word of "otool64", so it can be a program name with args. 8456set dummy otool64; ac_word=$2 8457{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8458printf %s "checking for $ac_word... " >&6; } 8459if test ${ac_cv_prog_ac_ct_OTOOL64+y} 8460then : 8461 printf %s "(cached) " >&6 8462else $as_nop 8463 if test -n "$ac_ct_OTOOL64"; then 8464 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8465else 8466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8467for as_dir in $PATH 8468do 8469 IFS=$as_save_IFS 8470 case $as_dir in #((( 8471 '') as_dir=./ ;; 8472 */) ;; 8473 *) as_dir=$as_dir/ ;; 8474 esac 8475 for ac_exec_ext in '' $ac_executable_extensions; do 8476 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 8477 ac_cv_prog_ac_ct_OTOOL64="otool64" 8478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 8479 break 2 8480 fi 8481done 8482 done 8483IFS=$as_save_IFS 8484 8485fi 8486fi 8487ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8488if test -n "$ac_ct_OTOOL64"; then 8489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8490printf "%s\n" "$ac_ct_OTOOL64" >&6; } 8491else 8492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8493printf "%s\n" "no" >&6; } 8494fi 8495 8496 if test "x$ac_ct_OTOOL64" = x; then 8497 OTOOL64=":" 8498 else 8499 case $cross_compiling:$ac_tool_warned in 8500yes:) 8501{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8502printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8503ac_tool_warned=yes ;; 8504esac 8505 OTOOL64=$ac_ct_OTOOL64 8506 fi 8507else 8508 OTOOL64="$ac_cv_prog_OTOOL64" 8509fi 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8538printf %s "checking for -single_module linker flag... " >&6; } 8539if test ${lt_cv_apple_cc_single_mod+y} 8540then : 8541 printf %s "(cached) " >&6 8542else $as_nop 8543 lt_cv_apple_cc_single_mod=no 8544 if test -z "$LT_MULTI_MODULE"; then 8545 # By default we will add the -single_module flag. You can override 8546 # by either setting the environment variable LT_MULTI_MODULE 8547 # non-empty at configure time, or by adding -multi_module to the 8548 # link flags. 8549 rm -rf libconftest.dylib* 8550 echo "int foo(void){return 1;}" > conftest.c 8551 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8552-dynamiclib -Wl,-single_module conftest.c" >&5 8553 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8554 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8555 _lt_result=$? 8556 # If there is a non-empty error log, and "single_module" 8557 # appears in it, assume the flag caused a linker warning 8558 if test -s conftest.err && $GREP single_module conftest.err; then 8559 cat conftest.err >&5 8560 # Otherwise, if the output was created with a 0 exit code from 8561 # the compiler, it worked. 8562 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8563 lt_cv_apple_cc_single_mod=yes 8564 else 8565 cat conftest.err >&5 8566 fi 8567 rm -rf libconftest.dylib* 8568 rm -f conftest.* 8569 fi 8570fi 8571{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8572printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } 8573 8574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8575printf %s "checking for -exported_symbols_list linker flag... " >&6; } 8576if test ${lt_cv_ld_exported_symbols_list+y} 8577then : 8578 printf %s "(cached) " >&6 8579else $as_nop 8580 lt_cv_ld_exported_symbols_list=no 8581 save_LDFLAGS=$LDFLAGS 8582 echo "_main" > conftest.sym 8583 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8585/* end confdefs.h. */ 8586 8587int 8588main (void) 8589{ 8590 8591 ; 8592 return 0; 8593} 8594_ACEOF 8595if ac_fn_c_try_link "$LINENO" 8596then : 8597 lt_cv_ld_exported_symbols_list=yes 8598else $as_nop 8599 lt_cv_ld_exported_symbols_list=no 8600fi 8601rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8602 conftest$ac_exeext conftest.$ac_ext 8603 LDFLAGS=$save_LDFLAGS 8604 8605fi 8606{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8607printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } 8608 8609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8610printf %s "checking for -force_load linker flag... " >&6; } 8611if test ${lt_cv_ld_force_load+y} 8612then : 8613 printf %s "(cached) " >&6 8614else $as_nop 8615 lt_cv_ld_force_load=no 8616 cat > conftest.c << _LT_EOF 8617int forced_loaded() { return 2;} 8618_LT_EOF 8619 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8620 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8621 echo "$AR cru libconftest.a conftest.o" >&5 8622 $AR cru libconftest.a conftest.o 2>&5 8623 echo "$RANLIB libconftest.a" >&5 8624 $RANLIB libconftest.a 2>&5 8625 cat > conftest.c << _LT_EOF 8626int main() { return 0;} 8627_LT_EOF 8628 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8629 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8630 _lt_result=$? 8631 if test -s conftest.err && $GREP force_load conftest.err; then 8632 cat conftest.err >&5 8633 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8634 lt_cv_ld_force_load=yes 8635 else 8636 cat conftest.err >&5 8637 fi 8638 rm -f conftest.err libconftest.a conftest conftest.c 8639 rm -rf conftest.dSYM 8640 8641fi 8642{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8643printf "%s\n" "$lt_cv_ld_force_load" >&6; } 8644 case $host_os in 8645 rhapsody* | darwin1.[012]) 8646 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8647 darwin1.*) 8648 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8649 darwin*) # darwin 5.x on 8650 # if running on 10.5 or later, the deployment target defaults 8651 # to the OS version, if on x86, and 10.4, the deployment 8652 # target defaults to 10.4. Don't you love it? 8653 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8654 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8655 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8656 10.[012][,.]*) 8657 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8658 10.*) 8659 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8660 esac 8661 ;; 8662 esac 8663 if test yes = "$lt_cv_apple_cc_single_mod"; then 8664 _lt_dar_single_mod='$single_module' 8665 fi 8666 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8667 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8668 else 8669 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8670 fi 8671 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8672 _lt_dsymutil='~$DSYMUTIL $lib || :' 8673 else 8674 _lt_dsymutil= 8675 fi 8676 ;; 8677 esac 8678 8679# func_munge_path_list VARIABLE PATH 8680# ----------------------------------- 8681# VARIABLE is name of variable containing _space_ separated list of 8682# directories to be munged by the contents of PATH, which is string 8683# having a format: 8684# "DIR[:DIR]:" 8685# string "DIR[ DIR]" will be prepended to VARIABLE 8686# ":DIR[:DIR]" 8687# string "DIR[ DIR]" will be appended to VARIABLE 8688# "DIRP[:DIRP]::[DIRA:]DIRA" 8689# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8690# "DIRA[ DIRA]" will be appended to VARIABLE 8691# "DIR[:DIR]" 8692# VARIABLE will be replaced by "DIR[ DIR]" 8693func_munge_path_list () 8694{ 8695 case x$2 in 8696 x) 8697 ;; 8698 *:) 8699 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8700 ;; 8701 x:*) 8702 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8703 ;; 8704 *::*) 8705 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8706 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8707 ;; 8708 *) 8709 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8710 ;; 8711 esac 8712} 8713 8714ac_header= ac_cache= 8715for ac_item in $ac_header_c_list 8716do 8717 if test $ac_cache; then 8718 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 8719 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 8720 printf "%s\n" "#define $ac_item 1" >> confdefs.h 8721 fi 8722 ac_header= ac_cache= 8723 elif test $ac_header; then 8724 ac_cache=$ac_item 8725 else 8726 ac_header=$ac_item 8727 fi 8728done 8729 8730 8731 8732 8733 8734 8735 8736 8737if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 8738then : 8739 8740printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 8741 8742fi 8743ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8744" 8745if test "x$ac_cv_header_dlfcn_h" = xyes 8746then : 8747 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h 8748 8749fi 8750 8751 8752 8753 8754 8755# Set options 8756 8757 8758 8759 enable_dlopen=no 8760 8761 8762 enable_win32_dll=no 8763 8764 8765 # Check whether --enable-shared was given. 8766if test ${enable_shared+y} 8767then : 8768 enableval=$enable_shared; p=${PACKAGE-default} 8769 case $enableval in 8770 yes) enable_shared=yes ;; 8771 no) enable_shared=no ;; 8772 *) 8773 enable_shared=no 8774 # Look at the argument we got. We use all the common list separators. 8775 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8776 for pkg in $enableval; do 8777 IFS=$lt_save_ifs 8778 if test "X$pkg" = "X$p"; then 8779 enable_shared=yes 8780 fi 8781 done 8782 IFS=$lt_save_ifs 8783 ;; 8784 esac 8785else $as_nop 8786 enable_shared=yes 8787fi 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 # Check whether --enable-static was given. 8798if test ${enable_static+y} 8799then : 8800 enableval=$enable_static; p=${PACKAGE-default} 8801 case $enableval in 8802 yes) enable_static=yes ;; 8803 no) enable_static=no ;; 8804 *) 8805 enable_static=no 8806 # Look at the argument we got. We use all the common list separators. 8807 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8808 for pkg in $enableval; do 8809 IFS=$lt_save_ifs 8810 if test "X$pkg" = "X$p"; then 8811 enable_static=yes 8812 fi 8813 done 8814 IFS=$lt_save_ifs 8815 ;; 8816 esac 8817else $as_nop 8818 enable_static=yes 8819fi 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830# Check whether --with-pic was given. 8831if test ${with_pic+y} 8832then : 8833 withval=$with_pic; lt_p=${PACKAGE-default} 8834 case $withval in 8835 yes|no) pic_mode=$withval ;; 8836 *) 8837 pic_mode=default 8838 # Look at the argument we got. We use all the common list separators. 8839 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8840 for lt_pkg in $withval; do 8841 IFS=$lt_save_ifs 8842 if test "X$lt_pkg" = "X$lt_p"; then 8843 pic_mode=yes 8844 fi 8845 done 8846 IFS=$lt_save_ifs 8847 ;; 8848 esac 8849else $as_nop 8850 pic_mode=default 8851fi 8852 8853 8854 8855 8856 8857 8858 8859 8860 # Check whether --enable-fast-install was given. 8861if test ${enable_fast_install+y} 8862then : 8863 enableval=$enable_fast_install; p=${PACKAGE-default} 8864 case $enableval in 8865 yes) enable_fast_install=yes ;; 8866 no) enable_fast_install=no ;; 8867 *) 8868 enable_fast_install=no 8869 # Look at the argument we got. We use all the common list separators. 8870 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8871 for pkg in $enableval; do 8872 IFS=$lt_save_ifs 8873 if test "X$pkg" = "X$p"; then 8874 enable_fast_install=yes 8875 fi 8876 done 8877 IFS=$lt_save_ifs 8878 ;; 8879 esac 8880else $as_nop 8881 enable_fast_install=yes 8882fi 8883 8884 8885 8886 8887 8888 8889 8890 8891 shared_archive_member_spec= 8892case $host,$enable_shared in 8893power*-*-aix[5-9]*,yes) 8894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8895printf %s "checking which variant of shared library versioning to provide... " >&6; } 8896 8897# Check whether --with-aix-soname was given. 8898if test ${with_aix_soname+y} 8899then : 8900 withval=$with_aix_soname; case $withval in 8901 aix|svr4|both) 8902 ;; 8903 *) 8904 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8905 ;; 8906 esac 8907 lt_cv_with_aix_soname=$with_aix_soname 8908else $as_nop 8909 if test ${lt_cv_with_aix_soname+y} 8910then : 8911 printf %s "(cached) " >&6 8912else $as_nop 8913 lt_cv_with_aix_soname=aix 8914fi 8915 8916 with_aix_soname=$lt_cv_with_aix_soname 8917fi 8918 8919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8920printf "%s\n" "$with_aix_soname" >&6; } 8921 if test aix != "$with_aix_soname"; then 8922 # For the AIX way of multilib, we name the shared archive member 8923 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8924 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8925 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8926 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8927 if test 64 = "${OBJECT_MODE-32}"; then 8928 shared_archive_member_spec=shr_64 8929 else 8930 shared_archive_member_spec=shr 8931 fi 8932 fi 8933 ;; 8934*) 8935 with_aix_soname=aix 8936 ;; 8937esac 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948# This can be used to rebuild libtool when needed 8949LIBTOOL_DEPS=$ltmain 8950 8951# Always use our own libtool. 8952LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983test -z "$LN_S" && LN_S="ln -s" 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998if test -n "${ZSH_VERSION+set}"; then 8999 setopt NO_GLOB_SUBST 9000fi 9001 9002{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9003printf %s "checking for objdir... " >&6; } 9004if test ${lt_cv_objdir+y} 9005then : 9006 printf %s "(cached) " >&6 9007else $as_nop 9008 rm -f .libs 2>/dev/null 9009mkdir .libs 2>/dev/null 9010if test -d .libs; then 9011 lt_cv_objdir=.libs 9012else 9013 # MS-DOS does not allow filenames that begin with a dot. 9014 lt_cv_objdir=_libs 9015fi 9016rmdir .libs 2>/dev/null 9017fi 9018{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9019printf "%s\n" "$lt_cv_objdir" >&6; } 9020objdir=$lt_cv_objdir 9021 9022 9023 9024 9025 9026printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h 9027 9028 9029 9030 9031case $host_os in 9032aix3*) 9033 # AIX sometimes has problems with the GCC collect2 program. For some 9034 # reason, if we set the COLLECT_NAMES environment variable, the problems 9035 # vanish in a puff of smoke. 9036 if test set != "${COLLECT_NAMES+set}"; then 9037 COLLECT_NAMES= 9038 export COLLECT_NAMES 9039 fi 9040 ;; 9041esac 9042 9043# Global variables: 9044ofile=libtool 9045can_build_shared=yes 9046 9047# All known linkers require a '.a' archive for static linking (except MSVC, 9048# which needs '.lib'). 9049libext=a 9050 9051with_gnu_ld=$lt_cv_prog_gnu_ld 9052 9053old_CC=$CC 9054old_CFLAGS=$CFLAGS 9055 9056# Set sane defaults for various variables 9057test -z "$CC" && CC=cc 9058test -z "$LTCC" && LTCC=$CC 9059test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9060test -z "$LD" && LD=ld 9061test -z "$ac_objext" && ac_objext=o 9062 9063func_cc_basename $compiler 9064cc_basename=$func_cc_basename_result 9065 9066 9067# Only perform the check for file, if the check method requires it 9068test -z "$MAGIC_CMD" && MAGIC_CMD=file 9069case $deplibs_check_method in 9070file_magic*) 9071 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9073printf %s "checking for ${ac_tool_prefix}file... " >&6; } 9074if test ${lt_cv_path_MAGIC_CMD+y} 9075then : 9076 printf %s "(cached) " >&6 9077else $as_nop 9078 case $MAGIC_CMD in 9079[\\/*] | ?:[\\/]*) 9080 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9081 ;; 9082*) 9083 lt_save_MAGIC_CMD=$MAGIC_CMD 9084 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9085 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9086 for ac_dir in $ac_dummy; do 9087 IFS=$lt_save_ifs 9088 test -z "$ac_dir" && ac_dir=. 9089 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9090 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9091 if test -n "$file_magic_test_file"; then 9092 case $deplibs_check_method in 9093 "file_magic "*) 9094 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9095 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9096 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9097 $EGREP "$file_magic_regex" > /dev/null; then 9098 : 9099 else 9100 cat <<_LT_EOF 1>&2 9101 9102*** Warning: the command libtool uses to detect shared libraries, 9103*** $file_magic_cmd, produces output that libtool cannot recognize. 9104*** The result is that libtool may fail to recognize shared libraries 9105*** as such. This will affect the creation of libtool libraries that 9106*** depend on shared libraries, but programs linked with such libtool 9107*** libraries will work regardless of this problem. Nevertheless, you 9108*** may want to report the problem to your system manager and/or to 9109*** bug-libtool@gnu.org 9110 9111_LT_EOF 9112 fi ;; 9113 esac 9114 fi 9115 break 9116 fi 9117 done 9118 IFS=$lt_save_ifs 9119 MAGIC_CMD=$lt_save_MAGIC_CMD 9120 ;; 9121esac 9122fi 9123 9124MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9125if test -n "$MAGIC_CMD"; then 9126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9127printf "%s\n" "$MAGIC_CMD" >&6; } 9128else 9129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9130printf "%s\n" "no" >&6; } 9131fi 9132 9133 9134 9135 9136 9137if test -z "$lt_cv_path_MAGIC_CMD"; then 9138 if test -n "$ac_tool_prefix"; then 9139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9140printf %s "checking for file... " >&6; } 9141if test ${lt_cv_path_MAGIC_CMD+y} 9142then : 9143 printf %s "(cached) " >&6 9144else $as_nop 9145 case $MAGIC_CMD in 9146[\\/*] | ?:[\\/]*) 9147 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9148 ;; 9149*) 9150 lt_save_MAGIC_CMD=$MAGIC_CMD 9151 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9152 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9153 for ac_dir in $ac_dummy; do 9154 IFS=$lt_save_ifs 9155 test -z "$ac_dir" && ac_dir=. 9156 if test -f "$ac_dir/file"; then 9157 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9158 if test -n "$file_magic_test_file"; then 9159 case $deplibs_check_method in 9160 "file_magic "*) 9161 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9162 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9163 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9164 $EGREP "$file_magic_regex" > /dev/null; then 9165 : 9166 else 9167 cat <<_LT_EOF 1>&2 9168 9169*** Warning: the command libtool uses to detect shared libraries, 9170*** $file_magic_cmd, produces output that libtool cannot recognize. 9171*** The result is that libtool may fail to recognize shared libraries 9172*** as such. This will affect the creation of libtool libraries that 9173*** depend on shared libraries, but programs linked with such libtool 9174*** libraries will work regardless of this problem. Nevertheless, you 9175*** may want to report the problem to your system manager and/or to 9176*** bug-libtool@gnu.org 9177 9178_LT_EOF 9179 fi ;; 9180 esac 9181 fi 9182 break 9183 fi 9184 done 9185 IFS=$lt_save_ifs 9186 MAGIC_CMD=$lt_save_MAGIC_CMD 9187 ;; 9188esac 9189fi 9190 9191MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9192if test -n "$MAGIC_CMD"; then 9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9194printf "%s\n" "$MAGIC_CMD" >&6; } 9195else 9196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9197printf "%s\n" "no" >&6; } 9198fi 9199 9200 9201 else 9202 MAGIC_CMD=: 9203 fi 9204fi 9205 9206 fi 9207 ;; 9208esac 9209 9210# Use C for the default configuration in the libtool script 9211 9212lt_save_CC=$CC 9213ac_ext=c 9214ac_cpp='$CPP $CPPFLAGS' 9215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9217ac_compiler_gnu=$ac_cv_c_compiler_gnu 9218 9219 9220# Source file extension for C test sources. 9221ac_ext=c 9222 9223# Object file extension for compiled C test sources. 9224objext=o 9225objext=$objext 9226 9227# Code to be used in simple compile tests 9228lt_simple_compile_test_code="int some_variable = 0;" 9229 9230# Code to be used in simple link tests 9231lt_simple_link_test_code='int main(){return(0);}' 9232 9233 9234 9235 9236 9237 9238 9239# If no C compiler was specified, use CC. 9240LTCC=${LTCC-"$CC"} 9241 9242# If no C compiler flags were specified, use CFLAGS. 9243LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9244 9245# Allow CC to be a program name with arguments. 9246compiler=$CC 9247 9248# Save the default compiler, since it gets overwritten when the other 9249# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9250compiler_DEFAULT=$CC 9251 9252# save warnings/boilerplate of simple test code 9253ac_outfile=conftest.$ac_objext 9254echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9255eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9256_lt_compiler_boilerplate=`cat conftest.err` 9257$RM conftest* 9258 9259ac_outfile=conftest.$ac_objext 9260echo "$lt_simple_link_test_code" >conftest.$ac_ext 9261eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9262_lt_linker_boilerplate=`cat conftest.err` 9263$RM -r conftest* 9264 9265 9266## CAVEAT EMPTOR: 9267## There is no encapsulation within the following macros, do not change 9268## the running order or otherwise move them around unless you know exactly 9269## what you are doing... 9270if test -n "$compiler"; then 9271 9272lt_prog_compiler_no_builtin_flag= 9273 9274if test yes = "$GCC"; then 9275 case $cc_basename in 9276 nvcc*) 9277 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9278 *) 9279 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9280 esac 9281 9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9283printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9284if test ${lt_cv_prog_compiler_rtti_exceptions+y} 9285then : 9286 printf %s "(cached) " >&6 9287else $as_nop 9288 lt_cv_prog_compiler_rtti_exceptions=no 9289 ac_outfile=conftest.$ac_objext 9290 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9291 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9292 # Insert the option either (1) after the last *FLAGS variable, or 9293 # (2) before a word containing "conftest.", or (3) at the end. 9294 # Note that $ac_compile itself does not contain backslashes and begins 9295 # with a dollar sign (not a hyphen), so the echo should work correctly. 9296 # The option is referenced via a variable to avoid confusing sed. 9297 lt_compile=`echo "$ac_compile" | $SED \ 9298 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9299 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9300 -e 's:$: $lt_compiler_flag:'` 9301 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9302 (eval "$lt_compile" 2>conftest.err) 9303 ac_status=$? 9304 cat conftest.err >&5 9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9306 if (exit $ac_status) && test -s "$ac_outfile"; then 9307 # The compiler can only warn and ignore the option if not recognized 9308 # So say no if there are warnings other than the usual output. 9309 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9310 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9311 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9312 lt_cv_prog_compiler_rtti_exceptions=yes 9313 fi 9314 fi 9315 $RM conftest* 9316 9317fi 9318{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9319printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9320 9321if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9322 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9323else 9324 : 9325fi 9326 9327fi 9328 9329 9330 9331 9332 9333 9334 lt_prog_compiler_wl= 9335lt_prog_compiler_pic= 9336lt_prog_compiler_static= 9337 9338 9339 if test yes = "$GCC"; then 9340 lt_prog_compiler_wl='-Wl,' 9341 lt_prog_compiler_static='-static' 9342 9343 case $host_os in 9344 aix*) 9345 # All AIX code is PIC. 9346 if test ia64 = "$host_cpu"; then 9347 # AIX 5 now supports IA64 processor 9348 lt_prog_compiler_static='-Bstatic' 9349 fi 9350 lt_prog_compiler_pic='-fPIC' 9351 ;; 9352 9353 amigaos*) 9354 case $host_cpu in 9355 powerpc) 9356 # see comment about AmigaOS4 .so support 9357 lt_prog_compiler_pic='-fPIC' 9358 ;; 9359 m68k) 9360 # FIXME: we need at least 68020 code to build shared libraries, but 9361 # adding the '-m68020' flag to GCC prevents building anything better, 9362 # like '-m68040'. 9363 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9364 ;; 9365 esac 9366 ;; 9367 9368 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9369 # PIC is the default for these OSes. 9370 ;; 9371 9372 mingw* | cygwin* | pw32* | os2* | cegcc*) 9373 # This hack is so that the source file can tell whether it is being 9374 # built for inclusion in a dll (and should export symbols for example). 9375 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9376 # (--disable-auto-import) libraries 9377 lt_prog_compiler_pic='-DDLL_EXPORT' 9378 case $host_os in 9379 os2*) 9380 lt_prog_compiler_static='$wl-static' 9381 ;; 9382 esac 9383 ;; 9384 9385 darwin* | rhapsody*) 9386 # PIC is the default on this platform 9387 # Common symbols not allowed in MH_DYLIB files 9388 lt_prog_compiler_pic='-fno-common' 9389 ;; 9390 9391 haiku*) 9392 # PIC is the default for Haiku. 9393 # The "-static" flag exists, but is broken. 9394 lt_prog_compiler_static= 9395 ;; 9396 9397 hpux*) 9398 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9399 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9400 # sets the default TLS model and affects inlining. 9401 case $host_cpu in 9402 hppa*64*) 9403 # +Z the default 9404 ;; 9405 *) 9406 lt_prog_compiler_pic='-fPIC' 9407 ;; 9408 esac 9409 ;; 9410 9411 interix[3-9]*) 9412 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9413 # Instead, we relocate shared libraries at runtime. 9414 ;; 9415 9416 msdosdjgpp*) 9417 # Just because we use GCC doesn't mean we suddenly get shared libraries 9418 # on systems that don't support them. 9419 lt_prog_compiler_can_build_shared=no 9420 enable_shared=no 9421 ;; 9422 9423 *nto* | *qnx*) 9424 # QNX uses GNU C++, but need to define -shared option too, otherwise 9425 # it will coredump. 9426 lt_prog_compiler_pic='-fPIC -shared' 9427 ;; 9428 9429 sysv4*MP*) 9430 if test -d /usr/nec; then 9431 lt_prog_compiler_pic=-Kconform_pic 9432 fi 9433 ;; 9434 9435 *) 9436 lt_prog_compiler_pic='-fPIC' 9437 ;; 9438 esac 9439 9440 case $cc_basename in 9441 nvcc*) # Cuda Compiler Driver 2.2 9442 lt_prog_compiler_wl='-Xlinker ' 9443 if test -n "$lt_prog_compiler_pic"; then 9444 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9445 fi 9446 ;; 9447 esac 9448 else 9449 # PORTME Check for flag to pass linker flags through the system compiler. 9450 case $host_os in 9451 aix*) 9452 lt_prog_compiler_wl='-Wl,' 9453 if test ia64 = "$host_cpu"; then 9454 # AIX 5 now supports IA64 processor 9455 lt_prog_compiler_static='-Bstatic' 9456 else 9457 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9458 fi 9459 ;; 9460 9461 darwin* | rhapsody*) 9462 # PIC is the default on this platform 9463 # Common symbols not allowed in MH_DYLIB files 9464 lt_prog_compiler_pic='-fno-common' 9465 case $cc_basename in 9466 nagfor*) 9467 # NAG Fortran compiler 9468 lt_prog_compiler_wl='-Wl,-Wl,,' 9469 lt_prog_compiler_pic='-PIC' 9470 lt_prog_compiler_static='-Bstatic' 9471 ;; 9472 esac 9473 ;; 9474 9475 mingw* | cygwin* | pw32* | os2* | cegcc*) 9476 # This hack is so that the source file can tell whether it is being 9477 # built for inclusion in a dll (and should export symbols for example). 9478 lt_prog_compiler_pic='-DDLL_EXPORT' 9479 case $host_os in 9480 os2*) 9481 lt_prog_compiler_static='$wl-static' 9482 ;; 9483 esac 9484 ;; 9485 9486 hpux9* | hpux10* | hpux11*) 9487 lt_prog_compiler_wl='-Wl,' 9488 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9489 # not for PA HP-UX. 9490 case $host_cpu in 9491 hppa*64*|ia64*) 9492 # +Z the default 9493 ;; 9494 *) 9495 lt_prog_compiler_pic='+Z' 9496 ;; 9497 esac 9498 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9499 lt_prog_compiler_static='$wl-a ${wl}archive' 9500 ;; 9501 9502 irix5* | irix6* | nonstopux*) 9503 lt_prog_compiler_wl='-Wl,' 9504 # PIC (with -KPIC) is the default. 9505 lt_prog_compiler_static='-non_shared' 9506 ;; 9507 9508 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9509 case $cc_basename in 9510 # old Intel for x86_64, which still supported -KPIC. 9511 ecc*) 9512 lt_prog_compiler_wl='-Wl,' 9513 lt_prog_compiler_pic='-KPIC' 9514 lt_prog_compiler_static='-static' 9515 ;; 9516 # icc used to be incompatible with GCC. 9517 # ICC 10 doesn't accept -KPIC any more. 9518 icc* | ifort*) 9519 lt_prog_compiler_wl='-Wl,' 9520 lt_prog_compiler_pic='-fPIC' 9521 lt_prog_compiler_static='-static' 9522 ;; 9523 # Lahey Fortran 8.1. 9524 lf95*) 9525 lt_prog_compiler_wl='-Wl,' 9526 lt_prog_compiler_pic='--shared' 9527 lt_prog_compiler_static='--static' 9528 ;; 9529 nagfor*) 9530 # NAG Fortran compiler 9531 lt_prog_compiler_wl='-Wl,-Wl,,' 9532 lt_prog_compiler_pic='-PIC' 9533 lt_prog_compiler_static='-Bstatic' 9534 ;; 9535 tcc*) 9536 # Fabrice Bellard et al's Tiny C Compiler 9537 lt_prog_compiler_wl='-Wl,' 9538 lt_prog_compiler_pic='-fPIC' 9539 lt_prog_compiler_static='-static' 9540 ;; 9541 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9542 # Portland Group compilers (*not* the Pentium gcc compiler, 9543 # which looks to be a dead project) 9544 lt_prog_compiler_wl='-Wl,' 9545 lt_prog_compiler_pic='-fpic' 9546 lt_prog_compiler_static='-Bstatic' 9547 ;; 9548 ccc*) 9549 lt_prog_compiler_wl='-Wl,' 9550 # All Alpha code is PIC. 9551 lt_prog_compiler_static='-non_shared' 9552 ;; 9553 xl* | bgxl* | bgf* | mpixl*) 9554 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9555 lt_prog_compiler_wl='-Wl,' 9556 lt_prog_compiler_pic='-qpic' 9557 lt_prog_compiler_static='-qstaticlink' 9558 ;; 9559 *) 9560 case `$CC -V 2>&1 | sed 5q` in 9561 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9562 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9563 lt_prog_compiler_pic='-KPIC' 9564 lt_prog_compiler_static='-Bstatic' 9565 lt_prog_compiler_wl='' 9566 ;; 9567 *Sun\ F* | *Sun*Fortran*) 9568 lt_prog_compiler_pic='-KPIC' 9569 lt_prog_compiler_static='-Bstatic' 9570 lt_prog_compiler_wl='-Qoption ld ' 9571 ;; 9572 *Sun\ C*) 9573 # Sun C 5.9 9574 lt_prog_compiler_pic='-KPIC' 9575 lt_prog_compiler_static='-Bstatic' 9576 lt_prog_compiler_wl='-Wl,' 9577 ;; 9578 *Intel*\ [CF]*Compiler*) 9579 lt_prog_compiler_wl='-Wl,' 9580 lt_prog_compiler_pic='-fPIC' 9581 lt_prog_compiler_static='-static' 9582 ;; 9583 *Portland\ Group*) 9584 lt_prog_compiler_wl='-Wl,' 9585 lt_prog_compiler_pic='-fpic' 9586 lt_prog_compiler_static='-Bstatic' 9587 ;; 9588 esac 9589 ;; 9590 esac 9591 ;; 9592 9593 newsos6) 9594 lt_prog_compiler_pic='-KPIC' 9595 lt_prog_compiler_static='-Bstatic' 9596 ;; 9597 9598 *nto* | *qnx*) 9599 # QNX uses GNU C++, but need to define -shared option too, otherwise 9600 # it will coredump. 9601 lt_prog_compiler_pic='-fPIC -shared' 9602 ;; 9603 9604 osf3* | osf4* | osf5*) 9605 lt_prog_compiler_wl='-Wl,' 9606 # All OSF/1 code is PIC. 9607 lt_prog_compiler_static='-non_shared' 9608 ;; 9609 9610 rdos*) 9611 lt_prog_compiler_static='-non_shared' 9612 ;; 9613 9614 solaris*) 9615 lt_prog_compiler_pic='-KPIC' 9616 lt_prog_compiler_static='-Bstatic' 9617 case $cc_basename in 9618 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9619 lt_prog_compiler_wl='-Qoption ld ';; 9620 *) 9621 lt_prog_compiler_wl='-Wl,';; 9622 esac 9623 ;; 9624 9625 sunos4*) 9626 lt_prog_compiler_wl='-Qoption ld ' 9627 lt_prog_compiler_pic='-PIC' 9628 lt_prog_compiler_static='-Bstatic' 9629 ;; 9630 9631 sysv4 | sysv4.2uw2* | sysv4.3*) 9632 lt_prog_compiler_wl='-Wl,' 9633 lt_prog_compiler_pic='-KPIC' 9634 lt_prog_compiler_static='-Bstatic' 9635 ;; 9636 9637 sysv4*MP*) 9638 if test -d /usr/nec; then 9639 lt_prog_compiler_pic='-Kconform_pic' 9640 lt_prog_compiler_static='-Bstatic' 9641 fi 9642 ;; 9643 9644 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9645 lt_prog_compiler_wl='-Wl,' 9646 lt_prog_compiler_pic='-KPIC' 9647 lt_prog_compiler_static='-Bstatic' 9648 ;; 9649 9650 unicos*) 9651 lt_prog_compiler_wl='-Wl,' 9652 lt_prog_compiler_can_build_shared=no 9653 ;; 9654 9655 uts4*) 9656 lt_prog_compiler_pic='-pic' 9657 lt_prog_compiler_static='-Bstatic' 9658 ;; 9659 9660 *) 9661 lt_prog_compiler_can_build_shared=no 9662 ;; 9663 esac 9664 fi 9665 9666case $host_os in 9667 # For platforms that do not support PIC, -DPIC is meaningless: 9668 *djgpp*) 9669 lt_prog_compiler_pic= 9670 ;; 9671 *) 9672 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9673 ;; 9674esac 9675 9676{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9677printf %s "checking for $compiler option to produce PIC... " >&6; } 9678if test ${lt_cv_prog_compiler_pic+y} 9679then : 9680 printf %s "(cached) " >&6 9681else $as_nop 9682 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9683fi 9684{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9685printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } 9686lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9687 9688# 9689# Check to make sure the PIC flag actually works. 9690# 9691if test -n "$lt_prog_compiler_pic"; then 9692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9693printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9694if test ${lt_cv_prog_compiler_pic_works+y} 9695then : 9696 printf %s "(cached) " >&6 9697else $as_nop 9698 lt_cv_prog_compiler_pic_works=no 9699 ac_outfile=conftest.$ac_objext 9700 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9701 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9702 # Insert the option either (1) after the last *FLAGS variable, or 9703 # (2) before a word containing "conftest.", or (3) at the end. 9704 # Note that $ac_compile itself does not contain backslashes and begins 9705 # with a dollar sign (not a hyphen), so the echo should work correctly. 9706 # The option is referenced via a variable to avoid confusing sed. 9707 lt_compile=`echo "$ac_compile" | $SED \ 9708 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9709 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9710 -e 's:$: $lt_compiler_flag:'` 9711 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9712 (eval "$lt_compile" 2>conftest.err) 9713 ac_status=$? 9714 cat conftest.err >&5 9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9716 if (exit $ac_status) && test -s "$ac_outfile"; then 9717 # The compiler can only warn and ignore the option if not recognized 9718 # So say no if there are warnings other than the usual output. 9719 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9720 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9721 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9722 lt_cv_prog_compiler_pic_works=yes 9723 fi 9724 fi 9725 $RM conftest* 9726 9727fi 9728{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9729printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } 9730 9731if test yes = "$lt_cv_prog_compiler_pic_works"; then 9732 case $lt_prog_compiler_pic in 9733 "" | " "*) ;; 9734 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9735 esac 9736else 9737 lt_prog_compiler_pic= 9738 lt_prog_compiler_can_build_shared=no 9739fi 9740 9741fi 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753# 9754# Check to make sure the static flag actually works. 9755# 9756wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9757{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9758printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9759if test ${lt_cv_prog_compiler_static_works+y} 9760then : 9761 printf %s "(cached) " >&6 9762else $as_nop 9763 lt_cv_prog_compiler_static_works=no 9764 save_LDFLAGS=$LDFLAGS 9765 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9766 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9767 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9768 # The linker can only warn and ignore the option if not recognized 9769 # So say no if there are warnings 9770 if test -s conftest.err; then 9771 # Append any errors to the config.log. 9772 cat conftest.err 1>&5 9773 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9774 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9775 if diff conftest.exp conftest.er2 >/dev/null; then 9776 lt_cv_prog_compiler_static_works=yes 9777 fi 9778 else 9779 lt_cv_prog_compiler_static_works=yes 9780 fi 9781 fi 9782 $RM -r conftest* 9783 LDFLAGS=$save_LDFLAGS 9784 9785fi 9786{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9787printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } 9788 9789if test yes = "$lt_cv_prog_compiler_static_works"; then 9790 : 9791else 9792 lt_prog_compiler_static= 9793fi 9794 9795 9796 9797 9798 9799 9800 9801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9802printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9803if test ${lt_cv_prog_compiler_c_o+y} 9804then : 9805 printf %s "(cached) " >&6 9806else $as_nop 9807 lt_cv_prog_compiler_c_o=no 9808 $RM -r conftest 2>/dev/null 9809 mkdir conftest 9810 cd conftest 9811 mkdir out 9812 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9813 9814 lt_compiler_flag="-o out/conftest2.$ac_objext" 9815 # Insert the option either (1) after the last *FLAGS variable, or 9816 # (2) before a word containing "conftest.", or (3) at the end. 9817 # Note that $ac_compile itself does not contain backslashes and begins 9818 # with a dollar sign (not a hyphen), so the echo should work correctly. 9819 lt_compile=`echo "$ac_compile" | $SED \ 9820 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9822 -e 's:$: $lt_compiler_flag:'` 9823 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9824 (eval "$lt_compile" 2>out/conftest.err) 9825 ac_status=$? 9826 cat out/conftest.err >&5 9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9828 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9829 then 9830 # The compiler can only warn and ignore the option if not recognized 9831 # So say no if there are warnings 9832 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9833 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9834 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9835 lt_cv_prog_compiler_c_o=yes 9836 fi 9837 fi 9838 chmod u+w . 2>&5 9839 $RM conftest* 9840 # SGI C++ compiler will create directory out/ii_files/ for 9841 # template instantiation 9842 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9843 $RM out/* && rmdir out 9844 cd .. 9845 $RM -r conftest 9846 $RM conftest* 9847 9848fi 9849{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9850printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 9851 9852 9853 9854 9855 9856 9857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9858printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9859if test ${lt_cv_prog_compiler_c_o+y} 9860then : 9861 printf %s "(cached) " >&6 9862else $as_nop 9863 lt_cv_prog_compiler_c_o=no 9864 $RM -r conftest 2>/dev/null 9865 mkdir conftest 9866 cd conftest 9867 mkdir out 9868 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9869 9870 lt_compiler_flag="-o out/conftest2.$ac_objext" 9871 # Insert the option either (1) after the last *FLAGS variable, or 9872 # (2) before a word containing "conftest.", or (3) at the end. 9873 # Note that $ac_compile itself does not contain backslashes and begins 9874 # with a dollar sign (not a hyphen), so the echo should work correctly. 9875 lt_compile=`echo "$ac_compile" | $SED \ 9876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9878 -e 's:$: $lt_compiler_flag:'` 9879 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9880 (eval "$lt_compile" 2>out/conftest.err) 9881 ac_status=$? 9882 cat out/conftest.err >&5 9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9884 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9885 then 9886 # The compiler can only warn and ignore the option if not recognized 9887 # So say no if there are warnings 9888 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9889 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9890 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9891 lt_cv_prog_compiler_c_o=yes 9892 fi 9893 fi 9894 chmod u+w . 2>&5 9895 $RM conftest* 9896 # SGI C++ compiler will create directory out/ii_files/ for 9897 # template instantiation 9898 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9899 $RM out/* && rmdir out 9900 cd .. 9901 $RM -r conftest 9902 $RM conftest* 9903 9904fi 9905{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9906printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 9907 9908 9909 9910 9911hard_links=nottested 9912if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9913 # do not overwrite the value of need_locks provided by the user 9914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9915printf %s "checking if we can lock with hard links... " >&6; } 9916 hard_links=yes 9917 $RM conftest* 9918 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9919 touch conftest.a 9920 ln conftest.a conftest.b 2>&5 || hard_links=no 9921 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9923printf "%s\n" "$hard_links" >&6; } 9924 if test no = "$hard_links"; then 9925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9926printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9927 need_locks=warn 9928 fi 9929else 9930 need_locks=no 9931fi 9932 9933 9934 9935 9936 9937 9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9939printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9940 9941 runpath_var= 9942 allow_undefined_flag= 9943 always_export_symbols=no 9944 archive_cmds= 9945 archive_expsym_cmds= 9946 compiler_needs_object=no 9947 enable_shared_with_static_runtimes=no 9948 export_dynamic_flag_spec= 9949 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9950 hardcode_automatic=no 9951 hardcode_direct=no 9952 hardcode_direct_absolute=no 9953 hardcode_libdir_flag_spec= 9954 hardcode_libdir_separator= 9955 hardcode_minus_L=no 9956 hardcode_shlibpath_var=unsupported 9957 inherit_rpath=no 9958 link_all_deplibs=unknown 9959 module_cmds= 9960 module_expsym_cmds= 9961 old_archive_from_new_cmds= 9962 old_archive_from_expsyms_cmds= 9963 thread_safe_flag_spec= 9964 whole_archive_flag_spec= 9965 # include_expsyms should be a list of space-separated symbols to be *always* 9966 # included in the symbol list 9967 include_expsyms= 9968 # exclude_expsyms can be an extended regexp of symbols to exclude 9969 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9970 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9971 # as well as any symbol that contains 'd'. 9972 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9973 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9974 # platforms (ab)use it in PIC code, but their linkers get confused if 9975 # the symbol is explicitly referenced. Since portable code cannot 9976 # rely on this symbol name, it's probably fine to never include it in 9977 # preloaded symbol tables. 9978 # Exclude shared library initialization/finalization symbols. 9979 extract_expsyms_cmds= 9980 9981 case $host_os in 9982 cygwin* | mingw* | pw32* | cegcc*) 9983 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9984 # When not using gcc, we currently assume that we are using 9985 # Microsoft Visual C++. 9986 if test yes != "$GCC"; then 9987 with_gnu_ld=no 9988 fi 9989 ;; 9990 interix*) 9991 # we just hope/assume this is gcc and not c89 (= MSVC++) 9992 with_gnu_ld=yes 9993 ;; 9994 openbsd* | bitrig*) 9995 with_gnu_ld=no 9996 ;; 9997 linux* | k*bsd*-gnu | gnu*) 9998 link_all_deplibs=no 9999 ;; 10000 esac 10001 10002 ld_shlibs=yes 10003 10004 # On some targets, GNU ld is compatible enough with the native linker 10005 # that we're better off using the native interface for both. 10006 lt_use_gnu_ld_interface=no 10007 if test yes = "$with_gnu_ld"; then 10008 case $host_os in 10009 aix*) 10010 # The AIX port of GNU ld has always aspired to compatibility 10011 # with the native linker. However, as the warning in the GNU ld 10012 # block says, versions before 2.19.5* couldn't really create working 10013 # shared libraries, regardless of the interface used. 10014 case `$LD -v 2>&1` in 10015 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10016 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10017 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10018 *) 10019 lt_use_gnu_ld_interface=yes 10020 ;; 10021 esac 10022 ;; 10023 *) 10024 lt_use_gnu_ld_interface=yes 10025 ;; 10026 esac 10027 fi 10028 10029 if test yes = "$lt_use_gnu_ld_interface"; then 10030 # If archive_cmds runs LD, not CC, wlarc should be empty 10031 wlarc='$wl' 10032 10033 # Set some defaults for GNU ld with shared library support. These 10034 # are reset later if shared libraries are not supported. Putting them 10035 # here allows them to be overridden if necessary. 10036 runpath_var=LD_RUN_PATH 10037 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10038 export_dynamic_flag_spec='$wl--export-dynamic' 10039 # ancient GNU ld didn't support --whole-archive et. al. 10040 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10041 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10042 else 10043 whole_archive_flag_spec= 10044 fi 10045 supports_anon_versioning=no 10046 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10047 *GNU\ gold*) supports_anon_versioning=yes ;; 10048 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10049 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10050 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10051 *\ 2.11.*) ;; # other 2.11 versions 10052 *) supports_anon_versioning=yes ;; 10053 esac 10054 10055 # See if GNU ld supports shared libraries. 10056 case $host_os in 10057 aix[3-9]*) 10058 # On AIX/PPC, the GNU linker is very broken 10059 if test ia64 != "$host_cpu"; then 10060 ld_shlibs=no 10061 cat <<_LT_EOF 1>&2 10062 10063*** Warning: the GNU linker, at least up to release 2.19, is reported 10064*** to be unable to reliably create shared libraries on AIX. 10065*** Therefore, libtool is disabling shared libraries support. If you 10066*** really care for shared libraries, you may want to install binutils 10067*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10068*** You will then need to restart the configuration process. 10069 10070_LT_EOF 10071 fi 10072 ;; 10073 10074 amigaos*) 10075 case $host_cpu in 10076 powerpc) 10077 # see comment about AmigaOS4 .so support 10078 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10079 archive_expsym_cmds='' 10080 ;; 10081 m68k) 10082 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)' 10083 hardcode_libdir_flag_spec='-L$libdir' 10084 hardcode_minus_L=yes 10085 ;; 10086 esac 10087 ;; 10088 10089 beos*) 10090 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10091 allow_undefined_flag=unsupported 10092 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10093 # support --undefined. This deserves some investigation. FIXME 10094 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10095 else 10096 ld_shlibs=no 10097 fi 10098 ;; 10099 10100 cygwin* | mingw* | pw32* | cegcc*) 10101 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10102 # as there is no search path for DLLs. 10103 hardcode_libdir_flag_spec='-L$libdir' 10104 export_dynamic_flag_spec='$wl--export-all-symbols' 10105 allow_undefined_flag=unsupported 10106 always_export_symbols=no 10107 enable_shared_with_static_runtimes=yes 10108 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' 10109 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10110 10111 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10112 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10113 # If the export-symbols file already is a .def file, use it as 10114 # is; otherwise, prepend EXPORTS... 10115 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10116 cp $export_symbols $output_objdir/$soname.def; 10117 else 10118 echo EXPORTS > $output_objdir/$soname.def; 10119 cat $export_symbols >> $output_objdir/$soname.def; 10120 fi~ 10121 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10122 else 10123 ld_shlibs=no 10124 fi 10125 ;; 10126 10127 haiku*) 10128 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10129 link_all_deplibs=yes 10130 ;; 10131 10132 os2*) 10133 hardcode_libdir_flag_spec='-L$libdir' 10134 hardcode_minus_L=yes 10135 allow_undefined_flag=unsupported 10136 shrext_cmds=.dll 10137 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10138 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10139 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10140 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10141 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10142 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10143 emximp -o $lib $output_objdir/$libname.def' 10144 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10145 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10146 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10147 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10148 prefix_cmds="$SED"~ 10149 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10150 prefix_cmds="$prefix_cmds -e 1d"; 10151 fi~ 10152 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10153 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10154 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10155 emximp -o $lib $output_objdir/$libname.def' 10156 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10157 enable_shared_with_static_runtimes=yes 10158 ;; 10159 10160 interix[3-9]*) 10161 hardcode_direct=no 10162 hardcode_shlibpath_var=no 10163 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10164 export_dynamic_flag_spec='$wl-E' 10165 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10166 # Instead, shared libraries are loaded at an image base (0x10000000 by 10167 # default) and relocated if they conflict, which is a slow very memory 10168 # consuming and fragmenting process. To avoid this, we pick a random, 10169 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10170 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10171 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10172 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' 10173 ;; 10174 10175 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10176 tmp_diet=no 10177 if test linux-dietlibc = "$host_os"; then 10178 case $cc_basename in 10179 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10180 esac 10181 fi 10182 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10183 && test no = "$tmp_diet" 10184 then 10185 tmp_addflag=' $pic_flag' 10186 tmp_sharedflag='-shared' 10187 case $cc_basename,$host_cpu in 10188 pgcc*) # Portland Group C compiler 10189 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' 10190 tmp_addflag=' $pic_flag' 10191 ;; 10192 pgf77* | pgf90* | pgf95* | pgfortran*) 10193 # Portland Group f77 and f90 compilers 10194 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' 10195 tmp_addflag=' $pic_flag -Mnomain' ;; 10196 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10197 tmp_addflag=' -i_dynamic' ;; 10198 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10199 tmp_addflag=' -i_dynamic -nofor_main' ;; 10200 ifc* | ifort*) # Intel Fortran compiler 10201 tmp_addflag=' -nofor_main' ;; 10202 lf95*) # Lahey Fortran 8.1 10203 whole_archive_flag_spec= 10204 tmp_sharedflag='--shared' ;; 10205 nagfor*) # NAGFOR 5.3 10206 tmp_sharedflag='-Wl,-shared' ;; 10207 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10208 tmp_sharedflag='-qmkshrobj' 10209 tmp_addflag= ;; 10210 nvcc*) # Cuda Compiler Driver 2.2 10211 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' 10212 compiler_needs_object=yes 10213 ;; 10214 esac 10215 case `$CC -V 2>&1 | sed 5q` in 10216 *Sun\ C*) # Sun C 5.9 10217 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' 10218 compiler_needs_object=yes 10219 tmp_sharedflag='-G' ;; 10220 *Sun\ F*) # Sun Fortran 8.3 10221 tmp_sharedflag='-G' ;; 10222 esac 10223 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10224 10225 if test yes = "$supports_anon_versioning"; then 10226 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10227 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10228 echo "local: *; };" >> $output_objdir/$libname.ver~ 10229 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10230 fi 10231 10232 case $cc_basename in 10233 tcc*) 10234 export_dynamic_flag_spec='-rdynamic' 10235 ;; 10236 xlf* | bgf* | bgxlf* | mpixlf*) 10237 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10238 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10239 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10240 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10241 if test yes = "$supports_anon_versioning"; then 10242 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10243 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10244 echo "local: *; };" >> $output_objdir/$libname.ver~ 10245 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10246 fi 10247 ;; 10248 esac 10249 else 10250 ld_shlibs=no 10251 fi 10252 ;; 10253 10254 netbsd* | netbsdelf*-gnu) 10255 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10256 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10257 wlarc= 10258 else 10259 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10260 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10261 fi 10262 ;; 10263 10264 solaris*) 10265 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10266 ld_shlibs=no 10267 cat <<_LT_EOF 1>&2 10268 10269*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10270*** create shared libraries on Solaris systems. Therefore, libtool 10271*** is disabling shared libraries support. We urge you to upgrade GNU 10272*** binutils to release 2.9.1 or newer. Another option is to modify 10273*** your PATH or compiler configuration so that the native linker is 10274*** used, and then restart. 10275 10276_LT_EOF 10277 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10278 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10279 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10280 else 10281 ld_shlibs=no 10282 fi 10283 ;; 10284 10285 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10286 case `$LD -v 2>&1` in 10287 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10288 ld_shlibs=no 10289 cat <<_LT_EOF 1>&2 10290 10291*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10292*** reliably create shared libraries on SCO systems. Therefore, libtool 10293*** is disabling shared libraries support. We urge you to upgrade GNU 10294*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10295*** your PATH or compiler configuration so that the native linker is 10296*** used, and then restart. 10297 10298_LT_EOF 10299 ;; 10300 *) 10301 # For security reasons, it is highly recommended that you always 10302 # use absolute paths for naming shared libraries, and exclude the 10303 # DT_RUNPATH tag from executables and libraries. But doing so 10304 # requires that you compile everything twice, which is a pain. 10305 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10306 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10307 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10308 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10309 else 10310 ld_shlibs=no 10311 fi 10312 ;; 10313 esac 10314 ;; 10315 10316 sunos4*) 10317 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10318 wlarc= 10319 hardcode_direct=yes 10320 hardcode_shlibpath_var=no 10321 ;; 10322 10323 *) 10324 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10325 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10326 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10327 else 10328 ld_shlibs=no 10329 fi 10330 ;; 10331 esac 10332 10333 if test no = "$ld_shlibs"; then 10334 runpath_var= 10335 hardcode_libdir_flag_spec= 10336 export_dynamic_flag_spec= 10337 whole_archive_flag_spec= 10338 fi 10339 else 10340 # PORTME fill in a description of your system's linker (not GNU ld) 10341 case $host_os in 10342 aix3*) 10343 allow_undefined_flag=unsupported 10344 always_export_symbols=yes 10345 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' 10346 # Note: this linker hardcodes the directories in LIBPATH if there 10347 # are no directories specified by -L. 10348 hardcode_minus_L=yes 10349 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10350 # Neither direct hardcoding nor static linking is supported with a 10351 # broken collect2. 10352 hardcode_direct=unsupported 10353 fi 10354 ;; 10355 10356 aix[4-9]*) 10357 if test ia64 = "$host_cpu"; then 10358 # On IA64, the linker does run time linking by default, so we don't 10359 # have to do anything special. 10360 aix_use_runtimelinking=no 10361 exp_sym_flag='-Bexport' 10362 no_entry_flag= 10363 else 10364 # If we're using GNU nm, then we don't want the "-C" option. 10365 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10366 # Without the "-l" option, or with the "-B" option, AIX nm treats 10367 # weak defined symbols like other global defined symbols, whereas 10368 # GNU nm marks them as "W". 10369 # While the 'weak' keyword is ignored in the Export File, we need 10370 # it in the Import File for the 'aix-soname' feature, so we have 10371 # to replace the "-B" option with "-P" for AIX nm. 10372 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10373 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' 10374 else 10375 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' 10376 fi 10377 aix_use_runtimelinking=no 10378 10379 # Test if we are trying to use run time linking or normal 10380 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10381 # have runtime linking enabled, and use it for executables. 10382 # For shared libraries, we enable/disable runtime linking 10383 # depending on the kind of the shared library created - 10384 # when "with_aix_soname,aix_use_runtimelinking" is: 10385 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10386 # "aix,yes" lib.so shared, rtl:yes, for executables 10387 # lib.a static archive 10388 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10389 # lib.a(lib.so.V) shared, rtl:no, for executables 10390 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10391 # lib.a(lib.so.V) shared, rtl:no 10392 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10393 # lib.a static archive 10394 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10395 for ld_flag in $LDFLAGS; do 10396 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10397 aix_use_runtimelinking=yes 10398 break 10399 fi 10400 done 10401 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10402 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10403 # so we don't have lib.a shared libs to link our executables. 10404 # We have to force runtime linking in this case. 10405 aix_use_runtimelinking=yes 10406 LDFLAGS="$LDFLAGS -Wl,-brtl" 10407 fi 10408 ;; 10409 esac 10410 10411 exp_sym_flag='-bexport' 10412 no_entry_flag='-bnoentry' 10413 fi 10414 10415 # When large executables or shared objects are built, AIX ld can 10416 # have problems creating the table of contents. If linking a library 10417 # or program results in "error TOC overflow" add -mminimal-toc to 10418 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10419 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10420 10421 archive_cmds='' 10422 hardcode_direct=yes 10423 hardcode_direct_absolute=yes 10424 hardcode_libdir_separator=':' 10425 link_all_deplibs=yes 10426 file_list_spec='$wl-f,' 10427 case $with_aix_soname,$aix_use_runtimelinking in 10428 aix,*) ;; # traditional, no import file 10429 svr4,* | *,yes) # use import file 10430 # The Import File defines what to hardcode. 10431 hardcode_direct=no 10432 hardcode_direct_absolute=no 10433 ;; 10434 esac 10435 10436 if test yes = "$GCC"; then 10437 case $host_os in aix4.[012]|aix4.[012].*) 10438 # We only want to do this on AIX 4.2 and lower, the check 10439 # below for broken collect2 doesn't work under 4.3+ 10440 collect2name=`$CC -print-prog-name=collect2` 10441 if test -f "$collect2name" && 10442 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10443 then 10444 # We have reworked collect2 10445 : 10446 else 10447 # We have old collect2 10448 hardcode_direct=unsupported 10449 # It fails to find uninstalled libraries when the uninstalled 10450 # path is not listed in the libpath. Setting hardcode_minus_L 10451 # to unsupported forces relinking 10452 hardcode_minus_L=yes 10453 hardcode_libdir_flag_spec='-L$libdir' 10454 hardcode_libdir_separator= 10455 fi 10456 ;; 10457 esac 10458 shared_flag='-shared' 10459 if test yes = "$aix_use_runtimelinking"; then 10460 shared_flag="$shared_flag "'$wl-G' 10461 fi 10462 # Need to ensure runtime linking is disabled for the traditional 10463 # shared library, or the linker may eventually find shared libraries 10464 # /with/ Import File - we do not want to mix them. 10465 shared_flag_aix='-shared' 10466 shared_flag_svr4='-shared $wl-G' 10467 else 10468 # not using gcc 10469 if test ia64 = "$host_cpu"; then 10470 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10471 # chokes on -Wl,-G. The following line is correct: 10472 shared_flag='-G' 10473 else 10474 if test yes = "$aix_use_runtimelinking"; then 10475 shared_flag='$wl-G' 10476 else 10477 shared_flag='$wl-bM:SRE' 10478 fi 10479 shared_flag_aix='$wl-bM:SRE' 10480 shared_flag_svr4='$wl-G' 10481 fi 10482 fi 10483 10484 export_dynamic_flag_spec='$wl-bexpall' 10485 # It seems that -bexpall does not export symbols beginning with 10486 # underscore (_), so it is better to generate a list of symbols to export. 10487 always_export_symbols=yes 10488 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10489 # Warning - without using the other runtime loading flags (-brtl), 10490 # -berok will link without error, but may produce a broken library. 10491 allow_undefined_flag='-berok' 10492 # Determine the default libpath from the value encoded in an 10493 # empty executable. 10494 if test set = "${lt_cv_aix_libpath+set}"; then 10495 aix_libpath=$lt_cv_aix_libpath 10496else 10497 if test ${lt_cv_aix_libpath_+y} 10498then : 10499 printf %s "(cached) " >&6 10500else $as_nop 10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10502/* end confdefs.h. */ 10503 10504int 10505main (void) 10506{ 10507 10508 ; 10509 return 0; 10510} 10511_ACEOF 10512if ac_fn_c_try_link "$LINENO" 10513then : 10514 10515 lt_aix_libpath_sed=' 10516 /Import File Strings/,/^$/ { 10517 /^0/ { 10518 s/^0 *\([^ ]*\) *$/\1/ 10519 p 10520 } 10521 }' 10522 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10523 # Check for a 64-bit object if we didn't find anything. 10524 if test -z "$lt_cv_aix_libpath_"; then 10525 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10526 fi 10527fi 10528rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10529 conftest$ac_exeext conftest.$ac_ext 10530 if test -z "$lt_cv_aix_libpath_"; then 10531 lt_cv_aix_libpath_=/usr/lib:/lib 10532 fi 10533 10534fi 10535 10536 aix_libpath=$lt_cv_aix_libpath_ 10537fi 10538 10539 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10540 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 10541 else 10542 if test ia64 = "$host_cpu"; then 10543 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10544 allow_undefined_flag="-z nodefs" 10545 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" 10546 else 10547 # Determine the default libpath from the value encoded in an 10548 # empty executable. 10549 if test set = "${lt_cv_aix_libpath+set}"; then 10550 aix_libpath=$lt_cv_aix_libpath 10551else 10552 if test ${lt_cv_aix_libpath_+y} 10553then : 10554 printf %s "(cached) " >&6 10555else $as_nop 10556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10557/* end confdefs.h. */ 10558 10559int 10560main (void) 10561{ 10562 10563 ; 10564 return 0; 10565} 10566_ACEOF 10567if ac_fn_c_try_link "$LINENO" 10568then : 10569 10570 lt_aix_libpath_sed=' 10571 /Import File Strings/,/^$/ { 10572 /^0/ { 10573 s/^0 *\([^ ]*\) *$/\1/ 10574 p 10575 } 10576 }' 10577 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10578 # Check for a 64-bit object if we didn't find anything. 10579 if test -z "$lt_cv_aix_libpath_"; then 10580 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10581 fi 10582fi 10583rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10584 conftest$ac_exeext conftest.$ac_ext 10585 if test -z "$lt_cv_aix_libpath_"; then 10586 lt_cv_aix_libpath_=/usr/lib:/lib 10587 fi 10588 10589fi 10590 10591 aix_libpath=$lt_cv_aix_libpath_ 10592fi 10593 10594 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10595 # Warning - without using the other run time loading flags, 10596 # -berok will link without error, but may produce a broken library. 10597 no_undefined_flag=' $wl-bernotok' 10598 allow_undefined_flag=' $wl-berok' 10599 if test yes = "$with_gnu_ld"; then 10600 # We only use this code for GNU lds that support --whole-archive. 10601 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10602 else 10603 # Exported symbols can be pulled into shared objects from archives 10604 whole_archive_flag_spec='$convenience' 10605 fi 10606 archive_cmds_need_lc=yes 10607 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10608 # -brtl affects multiple linker settings, -berok does not and is overridden later 10609 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10610 if test svr4 != "$with_aix_soname"; then 10611 # This is similar to how AIX traditionally builds its shared libraries. 10612 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' 10613 fi 10614 if test aix != "$with_aix_soname"; then 10615 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' 10616 else 10617 # used by -dlpreopen to get the symbols 10618 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10619 fi 10620 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10621 fi 10622 fi 10623 ;; 10624 10625 amigaos*) 10626 case $host_cpu in 10627 powerpc) 10628 # see comment about AmigaOS4 .so support 10629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10630 archive_expsym_cmds='' 10631 ;; 10632 m68k) 10633 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)' 10634 hardcode_libdir_flag_spec='-L$libdir' 10635 hardcode_minus_L=yes 10636 ;; 10637 esac 10638 ;; 10639 10640 bsdi[45]*) 10641 export_dynamic_flag_spec=-rdynamic 10642 ;; 10643 10644 cygwin* | mingw* | pw32* | cegcc*) 10645 # When not using gcc, we currently assume that we are using 10646 # Microsoft Visual C++. 10647 # hardcode_libdir_flag_spec is actually meaningless, as there is 10648 # no search path for DLLs. 10649 case $cc_basename in 10650 cl*) 10651 # Native MSVC 10652 hardcode_libdir_flag_spec=' ' 10653 allow_undefined_flag=unsupported 10654 always_export_symbols=yes 10655 file_list_spec='@' 10656 # Tell ltmain to make .lib files, not .a files. 10657 libext=lib 10658 # Tell ltmain to make .dll files, not .so files. 10659 shrext_cmds=.dll 10660 # FIXME: Setting linknames here is a bad hack. 10661 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10662 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10663 cp "$export_symbols" "$output_objdir/$soname.def"; 10664 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10665 else 10666 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10667 fi~ 10668 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10669 linknames=' 10670 # The linker will not automatically build a static lib if we build a DLL. 10671 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10672 enable_shared_with_static_runtimes=yes 10673 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10674 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10675 # Don't use ranlib 10676 old_postinstall_cmds='chmod 644 $oldlib' 10677 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10678 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10679 case $lt_outputfile in 10680 *.exe|*.EXE) ;; 10681 *) 10682 lt_outputfile=$lt_outputfile.exe 10683 lt_tool_outputfile=$lt_tool_outputfile.exe 10684 ;; 10685 esac~ 10686 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10687 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10688 $RM "$lt_outputfile.manifest"; 10689 fi' 10690 ;; 10691 *) 10692 # Assume MSVC wrapper 10693 hardcode_libdir_flag_spec=' ' 10694 allow_undefined_flag=unsupported 10695 # Tell ltmain to make .lib files, not .a files. 10696 libext=lib 10697 # Tell ltmain to make .dll files, not .so files. 10698 shrext_cmds=.dll 10699 # FIXME: Setting linknames here is a bad hack. 10700 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10701 # The linker will automatically build a .lib file if we build a DLL. 10702 old_archive_from_new_cmds='true' 10703 # FIXME: Should let the user specify the lib program. 10704 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10705 enable_shared_with_static_runtimes=yes 10706 ;; 10707 esac 10708 ;; 10709 10710 darwin* | rhapsody*) 10711 10712 10713 archive_cmds_need_lc=no 10714 hardcode_direct=no 10715 hardcode_automatic=yes 10716 hardcode_shlibpath_var=unsupported 10717 if test yes = "$lt_cv_ld_force_load"; then 10718 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\"`' 10719 10720 else 10721 whole_archive_flag_spec='' 10722 fi 10723 link_all_deplibs=yes 10724 allow_undefined_flag=$_lt_dar_allow_undefined 10725 case $cc_basename in 10726 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10727 *) _lt_dar_can_shared=$GCC ;; 10728 esac 10729 if test yes = "$_lt_dar_can_shared"; then 10730 output_verbose_link_cmd=func_echo_all 10731 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10732 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10733 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" 10734 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" 10735 10736 else 10737 ld_shlibs=no 10738 fi 10739 10740 ;; 10741 10742 dgux*) 10743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10744 hardcode_libdir_flag_spec='-L$libdir' 10745 hardcode_shlibpath_var=no 10746 ;; 10747 10748 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10749 # support. Future versions do this automatically, but an explicit c++rt0.o 10750 # does not break anything, and helps significantly (at the cost of a little 10751 # extra space). 10752 freebsd2.2*) 10753 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10754 hardcode_libdir_flag_spec='-R$libdir' 10755 hardcode_direct=yes 10756 hardcode_shlibpath_var=no 10757 ;; 10758 10759 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10760 freebsd2.*) 10761 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10762 hardcode_direct=yes 10763 hardcode_minus_L=yes 10764 hardcode_shlibpath_var=no 10765 ;; 10766 10767 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10768 freebsd* | dragonfly*) 10769 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10770 hardcode_libdir_flag_spec='-R$libdir' 10771 hardcode_direct=yes 10772 hardcode_shlibpath_var=no 10773 ;; 10774 10775 hpux9*) 10776 if test yes = "$GCC"; then 10777 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' 10778 else 10779 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' 10780 fi 10781 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10782 hardcode_libdir_separator=: 10783 hardcode_direct=yes 10784 10785 # hardcode_minus_L: Not really in the search PATH, 10786 # but as the default location of the library. 10787 hardcode_minus_L=yes 10788 export_dynamic_flag_spec='$wl-E' 10789 ;; 10790 10791 hpux10*) 10792 if test yes,no = "$GCC,$with_gnu_ld"; then 10793 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10794 else 10795 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10796 fi 10797 if test no = "$with_gnu_ld"; then 10798 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10799 hardcode_libdir_separator=: 10800 hardcode_direct=yes 10801 hardcode_direct_absolute=yes 10802 export_dynamic_flag_spec='$wl-E' 10803 # hardcode_minus_L: Not really in the search PATH, 10804 # but as the default location of the library. 10805 hardcode_minus_L=yes 10806 fi 10807 ;; 10808 10809 hpux11*) 10810 if test yes,no = "$GCC,$with_gnu_ld"; then 10811 case $host_cpu in 10812 hppa*64*) 10813 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10814 ;; 10815 ia64*) 10816 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10817 ;; 10818 *) 10819 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10820 ;; 10821 esac 10822 else 10823 case $host_cpu in 10824 hppa*64*) 10825 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10826 ;; 10827 ia64*) 10828 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10829 ;; 10830 *) 10831 10832 # Older versions of the 11.00 compiler do not understand -b yet 10833 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10835printf %s "checking if $CC understands -b... " >&6; } 10836if test ${lt_cv_prog_compiler__b+y} 10837then : 10838 printf %s "(cached) " >&6 10839else $as_nop 10840 lt_cv_prog_compiler__b=no 10841 save_LDFLAGS=$LDFLAGS 10842 LDFLAGS="$LDFLAGS -b" 10843 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10844 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10845 # The linker can only warn and ignore the option if not recognized 10846 # So say no if there are warnings 10847 if test -s conftest.err; then 10848 # Append any errors to the config.log. 10849 cat conftest.err 1>&5 10850 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10851 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10852 if diff conftest.exp conftest.er2 >/dev/null; then 10853 lt_cv_prog_compiler__b=yes 10854 fi 10855 else 10856 lt_cv_prog_compiler__b=yes 10857 fi 10858 fi 10859 $RM -r conftest* 10860 LDFLAGS=$save_LDFLAGS 10861 10862fi 10863{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10864printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } 10865 10866if test yes = "$lt_cv_prog_compiler__b"; then 10867 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10868else 10869 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10870fi 10871 10872 ;; 10873 esac 10874 fi 10875 if test no = "$with_gnu_ld"; then 10876 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10877 hardcode_libdir_separator=: 10878 10879 case $host_cpu in 10880 hppa*64*|ia64*) 10881 hardcode_direct=no 10882 hardcode_shlibpath_var=no 10883 ;; 10884 *) 10885 hardcode_direct=yes 10886 hardcode_direct_absolute=yes 10887 export_dynamic_flag_spec='$wl-E' 10888 10889 # hardcode_minus_L: Not really in the search PATH, 10890 # but as the default location of the library. 10891 hardcode_minus_L=yes 10892 ;; 10893 esac 10894 fi 10895 ;; 10896 10897 irix5* | irix6* | nonstopux*) 10898 if test yes = "$GCC"; then 10899 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' 10900 # Try to use the -exported_symbol ld option, if it does not 10901 # work, assume that -exports_file does not work either and 10902 # implicitly export all symbols. 10903 # This should be the same for all languages, so no per-tag cache variable. 10904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10905printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10906if test ${lt_cv_irix_exported_symbol+y} 10907then : 10908 printf %s "(cached) " >&6 10909else $as_nop 10910 save_LDFLAGS=$LDFLAGS 10911 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10913/* end confdefs.h. */ 10914int foo (void) { return 0; } 10915_ACEOF 10916if ac_fn_c_try_link "$LINENO" 10917then : 10918 lt_cv_irix_exported_symbol=yes 10919else $as_nop 10920 lt_cv_irix_exported_symbol=no 10921fi 10922rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10923 conftest$ac_exeext conftest.$ac_ext 10924 LDFLAGS=$save_LDFLAGS 10925fi 10926{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10927printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } 10928 if test yes = "$lt_cv_irix_exported_symbol"; then 10929 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' 10930 fi 10931 link_all_deplibs=no 10932 else 10933 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' 10934 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' 10935 fi 10936 archive_cmds_need_lc='no' 10937 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10938 hardcode_libdir_separator=: 10939 inherit_rpath=yes 10940 link_all_deplibs=yes 10941 ;; 10942 10943 linux*) 10944 case $cc_basename in 10945 tcc*) 10946 # Fabrice Bellard et al's Tiny C Compiler 10947 ld_shlibs=yes 10948 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10949 ;; 10950 esac 10951 ;; 10952 10953 netbsd* | netbsdelf*-gnu) 10954 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10955 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10956 else 10957 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10958 fi 10959 hardcode_libdir_flag_spec='-R$libdir' 10960 hardcode_direct=yes 10961 hardcode_shlibpath_var=no 10962 ;; 10963 10964 newsos6) 10965 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10966 hardcode_direct=yes 10967 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10968 hardcode_libdir_separator=: 10969 hardcode_shlibpath_var=no 10970 ;; 10971 10972 *nto* | *qnx*) 10973 ;; 10974 10975 openbsd* | bitrig*) 10976 if test -f /usr/libexec/ld.so; then 10977 hardcode_direct=yes 10978 hardcode_shlibpath_var=no 10979 hardcode_direct_absolute=yes 10980 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10981 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10982 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10983 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10984 export_dynamic_flag_spec='$wl-E' 10985 else 10986 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10987 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10988 fi 10989 else 10990 ld_shlibs=no 10991 fi 10992 ;; 10993 10994 os2*) 10995 hardcode_libdir_flag_spec='-L$libdir' 10996 hardcode_minus_L=yes 10997 allow_undefined_flag=unsupported 10998 shrext_cmds=.dll 10999 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11000 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11001 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11002 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11003 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11004 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11005 emximp -o $lib $output_objdir/$libname.def' 11006 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11007 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11008 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11009 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11010 prefix_cmds="$SED"~ 11011 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11012 prefix_cmds="$prefix_cmds -e 1d"; 11013 fi~ 11014 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11015 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11016 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11017 emximp -o $lib $output_objdir/$libname.def' 11018 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11019 enable_shared_with_static_runtimes=yes 11020 ;; 11021 11022 osf3*) 11023 if test yes = "$GCC"; then 11024 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11025 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' 11026 else 11027 allow_undefined_flag=' -expect_unresolved \*' 11028 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' 11029 fi 11030 archive_cmds_need_lc='no' 11031 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11032 hardcode_libdir_separator=: 11033 ;; 11034 11035 osf4* | osf5*) # as osf3* with the addition of -msym flag 11036 if test yes = "$GCC"; then 11037 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11038 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' 11039 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11040 else 11041 allow_undefined_flag=' -expect_unresolved \*' 11042 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' 11043 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~ 11044 $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' 11045 11046 # Both c and cxx compiler support -rpath directly 11047 hardcode_libdir_flag_spec='-rpath $libdir' 11048 fi 11049 archive_cmds_need_lc='no' 11050 hardcode_libdir_separator=: 11051 ;; 11052 11053 solaris*) 11054 no_undefined_flag=' -z defs' 11055 if test yes = "$GCC"; then 11056 wlarc='$wl' 11057 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11058 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11059 $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' 11060 else 11061 case `$CC -V 2>&1` in 11062 *"Compilers 5.0"*) 11063 wlarc='' 11064 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11065 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11066 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11067 ;; 11068 *) 11069 wlarc='$wl' 11070 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11071 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11072 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11073 ;; 11074 esac 11075 fi 11076 hardcode_libdir_flag_spec='-R$libdir' 11077 hardcode_shlibpath_var=no 11078 case $host_os in 11079 solaris2.[0-5] | solaris2.[0-5].*) ;; 11080 *) 11081 # The compiler driver will combine and reorder linker options, 11082 # but understands '-z linker_flag'. GCC discards it without '$wl', 11083 # but is careful enough not to reorder. 11084 # Supported since Solaris 2.6 (maybe 2.5.1?) 11085 if test yes = "$GCC"; then 11086 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11087 else 11088 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11089 fi 11090 ;; 11091 esac 11092 link_all_deplibs=yes 11093 ;; 11094 11095 sunos4*) 11096 if test sequent = "$host_vendor"; then 11097 # Use $CC to link under sequent, because it throws in some extra .o 11098 # files that make .init and .fini sections work. 11099 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11100 else 11101 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11102 fi 11103 hardcode_libdir_flag_spec='-L$libdir' 11104 hardcode_direct=yes 11105 hardcode_minus_L=yes 11106 hardcode_shlibpath_var=no 11107 ;; 11108 11109 sysv4) 11110 case $host_vendor in 11111 sni) 11112 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11113 hardcode_direct=yes # is this really true??? 11114 ;; 11115 siemens) 11116 ## LD is ld it makes a PLAMLIB 11117 ## CC just makes a GrossModule. 11118 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11119 reload_cmds='$CC -r -o $output$reload_objs' 11120 hardcode_direct=no 11121 ;; 11122 motorola) 11123 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11124 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11125 ;; 11126 esac 11127 runpath_var='LD_RUN_PATH' 11128 hardcode_shlibpath_var=no 11129 ;; 11130 11131 sysv4.3*) 11132 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11133 hardcode_shlibpath_var=no 11134 export_dynamic_flag_spec='-Bexport' 11135 ;; 11136 11137 sysv4*MP*) 11138 if test -d /usr/nec; then 11139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11140 hardcode_shlibpath_var=no 11141 runpath_var=LD_RUN_PATH 11142 hardcode_runpath_var=yes 11143 ld_shlibs=yes 11144 fi 11145 ;; 11146 11147 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11148 no_undefined_flag='$wl-z,text' 11149 archive_cmds_need_lc=no 11150 hardcode_shlibpath_var=no 11151 runpath_var='LD_RUN_PATH' 11152 11153 if test yes = "$GCC"; then 11154 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11155 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11156 else 11157 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11158 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11159 fi 11160 ;; 11161 11162 sysv5* | sco3.2v5* | sco5v6*) 11163 # Note: We CANNOT use -z defs as we might desire, because we do not 11164 # link with -lc, and that would cause any symbols used from libc to 11165 # always be unresolved, which means just about no library would 11166 # ever link correctly. If we're not using GNU ld we use -z text 11167 # though, which does catch some bad symbols but isn't as heavy-handed 11168 # as -z defs. 11169 no_undefined_flag='$wl-z,text' 11170 allow_undefined_flag='$wl-z,nodefs' 11171 archive_cmds_need_lc=no 11172 hardcode_shlibpath_var=no 11173 hardcode_libdir_flag_spec='$wl-R,$libdir' 11174 hardcode_libdir_separator=':' 11175 link_all_deplibs=yes 11176 export_dynamic_flag_spec='$wl-Bexport' 11177 runpath_var='LD_RUN_PATH' 11178 11179 if test yes = "$GCC"; then 11180 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11181 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11182 else 11183 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11184 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11185 fi 11186 ;; 11187 11188 uts4*) 11189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11190 hardcode_libdir_flag_spec='-L$libdir' 11191 hardcode_shlibpath_var=no 11192 ;; 11193 11194 *) 11195 ld_shlibs=no 11196 ;; 11197 esac 11198 11199 if test sni = "$host_vendor"; then 11200 case $host in 11201 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11202 export_dynamic_flag_spec='$wl-Blargedynsym' 11203 ;; 11204 esac 11205 fi 11206 fi 11207 11208{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11209printf "%s\n" "$ld_shlibs" >&6; } 11210test no = "$ld_shlibs" && can_build_shared=no 11211 11212with_gnu_ld=$with_gnu_ld 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228# 11229# Do we need to explicitly link libc? 11230# 11231case "x$archive_cmds_need_lc" in 11232x|xyes) 11233 # Assume -lc should be added 11234 archive_cmds_need_lc=yes 11235 11236 if test yes,yes = "$GCC,$enable_shared"; then 11237 case $archive_cmds in 11238 *'~'*) 11239 # FIXME: we may have to deal with multi-command sequences. 11240 ;; 11241 '$CC '*) 11242 # Test whether the compiler implicitly links with -lc since on some 11243 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11244 # to ld, don't add -lc before -lgcc. 11245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11246printf %s "checking whether -lc should be explicitly linked in... " >&6; } 11247if test ${lt_cv_archive_cmds_need_lc+y} 11248then : 11249 printf %s "(cached) " >&6 11250else $as_nop 11251 $RM conftest* 11252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11253 11254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11255 (eval $ac_compile) 2>&5 11256 ac_status=$? 11257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11258 test $ac_status = 0; } 2>conftest.err; then 11259 soname=conftest 11260 lib=conftest 11261 libobjs=conftest.$ac_objext 11262 deplibs= 11263 wl=$lt_prog_compiler_wl 11264 pic_flag=$lt_prog_compiler_pic 11265 compiler_flags=-v 11266 linker_flags=-v 11267 verstring= 11268 output_objdir=. 11269 libname=conftest 11270 lt_save_allow_undefined_flag=$allow_undefined_flag 11271 allow_undefined_flag= 11272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11273 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11274 ac_status=$? 11275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11276 test $ac_status = 0; } 11277 then 11278 lt_cv_archive_cmds_need_lc=no 11279 else 11280 lt_cv_archive_cmds_need_lc=yes 11281 fi 11282 allow_undefined_flag=$lt_save_allow_undefined_flag 11283 else 11284 cat conftest.err 1>&5 11285 fi 11286 $RM conftest* 11287 11288fi 11289{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11290printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } 11291 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11292 ;; 11293 esac 11294 fi 11295 ;; 11296esac 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11450printf %s "checking dynamic linker characteristics... " >&6; } 11451 11452if test yes = "$GCC"; then 11453 case $host_os in 11454 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11455 *) lt_awk_arg='/^libraries:/' ;; 11456 esac 11457 case $host_os in 11458 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11459 *) lt_sed_strip_eq='s|=/|/|g' ;; 11460 esac 11461 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11462 case $lt_search_path_spec in 11463 *\;*) 11464 # if the path contains ";" then we assume it to be the separator 11465 # otherwise default to the standard path separator (i.e. ":") - it is 11466 # assumed that no part of a normal pathname contains ";" but that should 11467 # okay in the real world where ";" in dirpaths is itself problematic. 11468 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11469 ;; 11470 *) 11471 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11472 ;; 11473 esac 11474 # Ok, now we have the path, separated by spaces, we can step through it 11475 # and add multilib dir if necessary... 11476 lt_tmp_lt_search_path_spec= 11477 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11478 # ...but if some path component already ends with the multilib dir we assume 11479 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11480 case "$lt_multi_os_dir; $lt_search_path_spec " in 11481 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11482 lt_multi_os_dir= 11483 ;; 11484 esac 11485 for lt_sys_path in $lt_search_path_spec; do 11486 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11487 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11488 elif test -n "$lt_multi_os_dir"; then 11489 test -d "$lt_sys_path" && \ 11490 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11491 fi 11492 done 11493 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11494BEGIN {RS = " "; FS = "/|\n";} { 11495 lt_foo = ""; 11496 lt_count = 0; 11497 for (lt_i = NF; lt_i > 0; lt_i--) { 11498 if ($lt_i != "" && $lt_i != ".") { 11499 if ($lt_i == "..") { 11500 lt_count++; 11501 } else { 11502 if (lt_count == 0) { 11503 lt_foo = "/" $lt_i lt_foo; 11504 } else { 11505 lt_count--; 11506 } 11507 } 11508 } 11509 } 11510 if (lt_foo != "") { lt_freq[lt_foo]++; } 11511 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11512}'` 11513 # AWK program above erroneously prepends '/' to C:/dos/paths 11514 # for these hosts. 11515 case $host_os in 11516 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11517 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11518 esac 11519 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11520else 11521 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11522fi 11523library_names_spec= 11524libname_spec='lib$name' 11525soname_spec= 11526shrext_cmds=.so 11527postinstall_cmds= 11528postuninstall_cmds= 11529finish_cmds= 11530finish_eval= 11531shlibpath_var= 11532shlibpath_overrides_runpath=unknown 11533version_type=none 11534dynamic_linker="$host_os ld.so" 11535sys_lib_dlsearch_path_spec="/lib /usr/lib" 11536need_lib_prefix=unknown 11537hardcode_into_libs=no 11538 11539# when you set need_version to no, make sure it does not cause -set_version 11540# flags to be left without arguments 11541need_version=unknown 11542 11543 11544 11545case $host_os in 11546aix3*) 11547 version_type=linux # correct to gnu/linux during the next big refactor 11548 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11549 shlibpath_var=LIBPATH 11550 11551 # AIX 3 has no versioning support, so we append a major version to the name. 11552 soname_spec='$libname$release$shared_ext$major' 11553 ;; 11554 11555aix[4-9]*) 11556 version_type=linux # correct to gnu/linux during the next big refactor 11557 need_lib_prefix=no 11558 need_version=no 11559 hardcode_into_libs=yes 11560 if test ia64 = "$host_cpu"; then 11561 # AIX 5 supports IA64 11562 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11563 shlibpath_var=LD_LIBRARY_PATH 11564 else 11565 # With GCC up to 2.95.x, collect2 would create an import file 11566 # for dependence libraries. The import file would start with 11567 # the line '#! .'. This would cause the generated library to 11568 # depend on '.', always an invalid library. This was fixed in 11569 # development snapshots of GCC prior to 3.0. 11570 case $host_os in 11571 aix4 | aix4.[01] | aix4.[01].*) 11572 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11573 echo ' yes ' 11574 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11575 : 11576 else 11577 can_build_shared=no 11578 fi 11579 ;; 11580 esac 11581 # Using Import Files as archive members, it is possible to support 11582 # filename-based versioning of shared library archives on AIX. While 11583 # this would work for both with and without runtime linking, it will 11584 # prevent static linking of such archives. So we do filename-based 11585 # shared library versioning with .so extension only, which is used 11586 # when both runtime linking and shared linking is enabled. 11587 # Unfortunately, runtime linking may impact performance, so we do 11588 # not want this to be the default eventually. Also, we use the 11589 # versioned .so libs for executables only if there is the -brtl 11590 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11591 # To allow for filename-based versioning support, we need to create 11592 # libNAME.so.V as an archive file, containing: 11593 # *) an Import File, referring to the versioned filename of the 11594 # archive as well as the shared archive member, telling the 11595 # bitwidth (32 or 64) of that shared object, and providing the 11596 # list of exported symbols of that shared object, eventually 11597 # decorated with the 'weak' keyword 11598 # *) the shared object with the F_LOADONLY flag set, to really avoid 11599 # it being seen by the linker. 11600 # At run time we better use the real file rather than another symlink, 11601 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11602 11603 case $with_aix_soname,$aix_use_runtimelinking in 11604 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11605 # soname into executable. Probably we can add versioning support to 11606 # collect2, so additional links can be useful in future. 11607 aix,yes) # traditional libtool 11608 dynamic_linker='AIX unversionable lib.so' 11609 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11610 # instead of lib<name>.a to let people know that these are not 11611 # typical AIX shared libraries. 11612 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11613 ;; 11614 aix,no) # traditional AIX only 11615 dynamic_linker='AIX lib.a(lib.so.V)' 11616 # We preserve .a as extension for shared libraries through AIX4.2 11617 # and later when we are not doing run time linking. 11618 library_names_spec='$libname$release.a $libname.a' 11619 soname_spec='$libname$release$shared_ext$major' 11620 ;; 11621 svr4,*) # full svr4 only 11622 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11623 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11624 # We do not specify a path in Import Files, so LIBPATH fires. 11625 shlibpath_overrides_runpath=yes 11626 ;; 11627 *,yes) # both, prefer svr4 11628 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11629 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11630 # unpreferred sharedlib libNAME.a needs extra handling 11631 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"' 11632 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"' 11633 # We do not specify a path in Import Files, so LIBPATH fires. 11634 shlibpath_overrides_runpath=yes 11635 ;; 11636 *,no) # both, prefer aix 11637 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11638 library_names_spec='$libname$release.a $libname.a' 11639 soname_spec='$libname$release$shared_ext$major' 11640 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11641 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)' 11642 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"' 11643 ;; 11644 esac 11645 shlibpath_var=LIBPATH 11646 fi 11647 ;; 11648 11649amigaos*) 11650 case $host_cpu in 11651 powerpc) 11652 # Since July 2007 AmigaOS4 officially supports .so libraries. 11653 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11654 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11655 ;; 11656 m68k) 11657 library_names_spec='$libname.ixlibrary $libname.a' 11658 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11659 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' 11660 ;; 11661 esac 11662 ;; 11663 11664beos*) 11665 library_names_spec='$libname$shared_ext' 11666 dynamic_linker="$host_os ld.so" 11667 shlibpath_var=LIBRARY_PATH 11668 ;; 11669 11670bsdi[45]*) 11671 version_type=linux # correct to gnu/linux during the next big refactor 11672 need_version=no 11673 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11674 soname_spec='$libname$release$shared_ext$major' 11675 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11676 shlibpath_var=LD_LIBRARY_PATH 11677 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11678 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11679 # the default ld.so.conf also contains /usr/contrib/lib and 11680 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11681 # libtool to hard-code these into programs 11682 ;; 11683 11684cygwin* | mingw* | pw32* | cegcc*) 11685 version_type=windows 11686 shrext_cmds=.dll 11687 need_version=no 11688 need_lib_prefix=no 11689 11690 case $GCC,$cc_basename in 11691 yes,*) 11692 # gcc 11693 library_names_spec='$libname.dll.a' 11694 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11695 postinstall_cmds='base_file=`basename \$file`~ 11696 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11697 dldir=$destdir/`dirname \$dlpath`~ 11698 test -d \$dldir || mkdir -p \$dldir~ 11699 $install_prog $dir/$dlname \$dldir/$dlname~ 11700 chmod a+x \$dldir/$dlname~ 11701 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11702 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11703 fi' 11704 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11705 dlpath=$dir/\$dldll~ 11706 $RM \$dlpath' 11707 shlibpath_overrides_runpath=yes 11708 11709 case $host_os in 11710 cygwin*) 11711 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11712 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11713 11714 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11715 ;; 11716 mingw* | cegcc*) 11717 # MinGW DLLs use traditional 'lib' prefix 11718 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11719 ;; 11720 pw32*) 11721 # pw32 DLLs use 'pw' prefix rather than 'lib' 11722 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11723 ;; 11724 esac 11725 dynamic_linker='Win32 ld.exe' 11726 ;; 11727 11728 *,cl*) 11729 # Native MSVC 11730 libname_spec='$name' 11731 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11732 library_names_spec='$libname.dll.lib' 11733 11734 case $build_os in 11735 mingw*) 11736 sys_lib_search_path_spec= 11737 lt_save_ifs=$IFS 11738 IFS=';' 11739 for lt_path in $LIB 11740 do 11741 IFS=$lt_save_ifs 11742 # Let DOS variable expansion print the short 8.3 style file name. 11743 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11744 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11745 done 11746 IFS=$lt_save_ifs 11747 # Convert to MSYS style. 11748 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11749 ;; 11750 cygwin*) 11751 # Convert to unix form, then to dos form, then back to unix form 11752 # but this time dos style (no spaces!) so that the unix form looks 11753 # like /cygdrive/c/PROGRA~1:/cygdr... 11754 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11755 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11756 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11757 ;; 11758 *) 11759 sys_lib_search_path_spec=$LIB 11760 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11761 # It is most probably a Windows format PATH. 11762 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11763 else 11764 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11765 fi 11766 # FIXME: find the short name or the path components, as spaces are 11767 # common. (e.g. "Program Files" -> "PROGRA~1") 11768 ;; 11769 esac 11770 11771 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11772 postinstall_cmds='base_file=`basename \$file`~ 11773 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11774 dldir=$destdir/`dirname \$dlpath`~ 11775 test -d \$dldir || mkdir -p \$dldir~ 11776 $install_prog $dir/$dlname \$dldir/$dlname' 11777 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11778 dlpath=$dir/\$dldll~ 11779 $RM \$dlpath' 11780 shlibpath_overrides_runpath=yes 11781 dynamic_linker='Win32 link.exe' 11782 ;; 11783 11784 *) 11785 # Assume MSVC wrapper 11786 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11787 dynamic_linker='Win32 ld.exe' 11788 ;; 11789 esac 11790 # FIXME: first we should search . and the directory the executable is in 11791 shlibpath_var=PATH 11792 ;; 11793 11794darwin* | rhapsody*) 11795 dynamic_linker="$host_os dyld" 11796 version_type=darwin 11797 need_lib_prefix=no 11798 need_version=no 11799 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11800 soname_spec='$libname$release$major$shared_ext' 11801 shlibpath_overrides_runpath=yes 11802 shlibpath_var=DYLD_LIBRARY_PATH 11803 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11804 11805 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11806 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11807 ;; 11808 11809dgux*) 11810 version_type=linux # correct to gnu/linux during the next big refactor 11811 need_lib_prefix=no 11812 need_version=no 11813 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11814 soname_spec='$libname$release$shared_ext$major' 11815 shlibpath_var=LD_LIBRARY_PATH 11816 ;; 11817 11818freebsd* | dragonfly*) 11819 # DragonFly does not have aout. When/if they implement a new 11820 # versioning mechanism, adjust this. 11821 if test -x /usr/bin/objformat; then 11822 objformat=`/usr/bin/objformat` 11823 else 11824 case $host_os in 11825 freebsd[23].*) objformat=aout ;; 11826 *) objformat=elf ;; 11827 esac 11828 fi 11829 version_type=freebsd-$objformat 11830 case $version_type in 11831 freebsd-elf*) 11832 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11833 soname_spec='$libname$release$shared_ext$major' 11834 need_version=no 11835 need_lib_prefix=no 11836 ;; 11837 freebsd-*) 11838 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11839 need_version=yes 11840 ;; 11841 esac 11842 shlibpath_var=LD_LIBRARY_PATH 11843 case $host_os in 11844 freebsd2.*) 11845 shlibpath_overrides_runpath=yes 11846 ;; 11847 freebsd3.[01]* | freebsdelf3.[01]*) 11848 shlibpath_overrides_runpath=yes 11849 hardcode_into_libs=yes 11850 ;; 11851 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11852 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11853 shlibpath_overrides_runpath=no 11854 hardcode_into_libs=yes 11855 ;; 11856 *) # from 4.6 on, and DragonFly 11857 shlibpath_overrides_runpath=yes 11858 hardcode_into_libs=yes 11859 ;; 11860 esac 11861 ;; 11862 11863haiku*) 11864 version_type=linux # correct to gnu/linux during the next big refactor 11865 need_lib_prefix=no 11866 need_version=no 11867 dynamic_linker="$host_os runtime_loader" 11868 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11869 soname_spec='$libname$release$shared_ext$major' 11870 shlibpath_var=LIBRARY_PATH 11871 shlibpath_overrides_runpath=no 11872 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11873 hardcode_into_libs=yes 11874 ;; 11875 11876hpux9* | hpux10* | hpux11*) 11877 # Give a soname corresponding to the major version so that dld.sl refuses to 11878 # link against other versions. 11879 version_type=sunos 11880 need_lib_prefix=no 11881 need_version=no 11882 case $host_cpu in 11883 ia64*) 11884 shrext_cmds='.so' 11885 hardcode_into_libs=yes 11886 dynamic_linker="$host_os dld.so" 11887 shlibpath_var=LD_LIBRARY_PATH 11888 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11889 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11890 soname_spec='$libname$release$shared_ext$major' 11891 if test 32 = "$HPUX_IA64_MODE"; then 11892 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11893 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11894 else 11895 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11896 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11897 fi 11898 ;; 11899 hppa*64*) 11900 shrext_cmds='.sl' 11901 hardcode_into_libs=yes 11902 dynamic_linker="$host_os dld.sl" 11903 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11904 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11905 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11906 soname_spec='$libname$release$shared_ext$major' 11907 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11908 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11909 ;; 11910 *) 11911 shrext_cmds='.sl' 11912 dynamic_linker="$host_os dld.sl" 11913 shlibpath_var=SHLIB_PATH 11914 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11915 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11916 soname_spec='$libname$release$shared_ext$major' 11917 ;; 11918 esac 11919 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11920 postinstall_cmds='chmod 555 $lib' 11921 # or fails outright, so override atomically: 11922 install_override_mode=555 11923 ;; 11924 11925interix[3-9]*) 11926 version_type=linux # correct to gnu/linux during the next big refactor 11927 need_lib_prefix=no 11928 need_version=no 11929 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11930 soname_spec='$libname$release$shared_ext$major' 11931 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11932 shlibpath_var=LD_LIBRARY_PATH 11933 shlibpath_overrides_runpath=no 11934 hardcode_into_libs=yes 11935 ;; 11936 11937irix5* | irix6* | nonstopux*) 11938 case $host_os in 11939 nonstopux*) version_type=nonstopux ;; 11940 *) 11941 if test yes = "$lt_cv_prog_gnu_ld"; then 11942 version_type=linux # correct to gnu/linux during the next big refactor 11943 else 11944 version_type=irix 11945 fi ;; 11946 esac 11947 need_lib_prefix=no 11948 need_version=no 11949 soname_spec='$libname$release$shared_ext$major' 11950 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11951 case $host_os in 11952 irix5* | nonstopux*) 11953 libsuff= shlibsuff= 11954 ;; 11955 *) 11956 case $LD in # libtool.m4 will add one of these switches to LD 11957 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11958 libsuff= shlibsuff= libmagic=32-bit;; 11959 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11960 libsuff=32 shlibsuff=N32 libmagic=N32;; 11961 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11962 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11963 *) libsuff= shlibsuff= libmagic=never-match;; 11964 esac 11965 ;; 11966 esac 11967 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11968 shlibpath_overrides_runpath=no 11969 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11970 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11971 hardcode_into_libs=yes 11972 ;; 11973 11974# No shared lib support for Linux oldld, aout, or coff. 11975linux*oldld* | linux*aout* | linux*coff*) 11976 dynamic_linker=no 11977 ;; 11978 11979linux*android*) 11980 version_type=none # Android doesn't support versioned libraries. 11981 need_lib_prefix=no 11982 need_version=no 11983 library_names_spec='$libname$release$shared_ext' 11984 soname_spec='$libname$release$shared_ext' 11985 finish_cmds= 11986 shlibpath_var=LD_LIBRARY_PATH 11987 shlibpath_overrides_runpath=yes 11988 11989 # This implies no fast_install, which is unacceptable. 11990 # Some rework will be needed to allow for fast_install 11991 # before this can be enabled. 11992 hardcode_into_libs=yes 11993 11994 dynamic_linker='Android linker' 11995 # Don't embed -rpath directories since the linker doesn't support them. 11996 hardcode_libdir_flag_spec='-L$libdir' 11997 ;; 11998 11999# This must be glibc/ELF. 12000linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12001 version_type=linux # correct to gnu/linux during the next big refactor 12002 need_lib_prefix=no 12003 need_version=no 12004 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12005 soname_spec='$libname$release$shared_ext$major' 12006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12007 shlibpath_var=LD_LIBRARY_PATH 12008 shlibpath_overrides_runpath=no 12009 12010 # Some binutils ld are patched to set DT_RUNPATH 12011 if test ${lt_cv_shlibpath_overrides_runpath+y} 12012then : 12013 printf %s "(cached) " >&6 12014else $as_nop 12015 lt_cv_shlibpath_overrides_runpath=no 12016 save_LDFLAGS=$LDFLAGS 12017 save_libdir=$libdir 12018 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12019 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12021/* end confdefs.h. */ 12022 12023int 12024main (void) 12025{ 12026 12027 ; 12028 return 0; 12029} 12030_ACEOF 12031if ac_fn_c_try_link "$LINENO" 12032then : 12033 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null 12034then : 12035 lt_cv_shlibpath_overrides_runpath=yes 12036fi 12037fi 12038rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12039 conftest$ac_exeext conftest.$ac_ext 12040 LDFLAGS=$save_LDFLAGS 12041 libdir=$save_libdir 12042 12043fi 12044 12045 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12046 12047 # This implies no fast_install, which is unacceptable. 12048 # Some rework will be needed to allow for fast_install 12049 # before this can be enabled. 12050 hardcode_into_libs=yes 12051 12052 # Ideally, we could use ldconfig to report *all* directores which are 12053 # searched for libraries, however this is still not possible. Aside from not 12054 # being certain /sbin/ldconfig is available, command 12055 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12056 # even though it is searched at run-time. Try to do the best guess by 12057 # appending ld.so.conf contents (and includes) to the search path. 12058 if test -f /etc/ld.so.conf; then 12059 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' ' '` 12060 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12061 fi 12062 12063 # We used to test for /lib/ld.so.1 and disable shared libraries on 12064 # powerpc, because MkLinux only supported shared libraries with the 12065 # GNU dynamic linker. Since this was broken with cross compilers, 12066 # most powerpc-linux boxes support dynamic linking these days and 12067 # people can always --disable-shared, the test was removed, and we 12068 # assume the GNU/Linux dynamic linker is in use. 12069 dynamic_linker='GNU/Linux ld.so' 12070 ;; 12071 12072netbsdelf*-gnu) 12073 version_type=linux 12074 need_lib_prefix=no 12075 need_version=no 12076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12077 soname_spec='${libname}${release}${shared_ext}$major' 12078 shlibpath_var=LD_LIBRARY_PATH 12079 shlibpath_overrides_runpath=no 12080 hardcode_into_libs=yes 12081 dynamic_linker='NetBSD ld.elf_so' 12082 ;; 12083 12084netbsd*) 12085 version_type=sunos 12086 need_lib_prefix=no 12087 need_version=no 12088 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12089 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12090 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12091 dynamic_linker='NetBSD (a.out) ld.so' 12092 else 12093 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12094 soname_spec='$libname$release$shared_ext$major' 12095 dynamic_linker='NetBSD ld.elf_so' 12096 fi 12097 shlibpath_var=LD_LIBRARY_PATH 12098 shlibpath_overrides_runpath=yes 12099 hardcode_into_libs=yes 12100 ;; 12101 12102newsos6) 12103 version_type=linux # correct to gnu/linux during the next big refactor 12104 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12105 shlibpath_var=LD_LIBRARY_PATH 12106 shlibpath_overrides_runpath=yes 12107 ;; 12108 12109*nto* | *qnx*) 12110 version_type=qnx 12111 need_lib_prefix=no 12112 need_version=no 12113 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12114 soname_spec='$libname$release$shared_ext$major' 12115 shlibpath_var=LD_LIBRARY_PATH 12116 shlibpath_overrides_runpath=no 12117 hardcode_into_libs=yes 12118 dynamic_linker='ldqnx.so' 12119 ;; 12120 12121openbsd* | bitrig*) 12122 version_type=sunos 12123 sys_lib_dlsearch_path_spec=/usr/lib 12124 need_lib_prefix=no 12125 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12126 need_version=no 12127 else 12128 need_version=yes 12129 fi 12130 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12131 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12132 shlibpath_var=LD_LIBRARY_PATH 12133 shlibpath_overrides_runpath=yes 12134 ;; 12135 12136os2*) 12137 libname_spec='$name' 12138 version_type=windows 12139 shrext_cmds=.dll 12140 need_version=no 12141 need_lib_prefix=no 12142 # OS/2 can only load a DLL with a base name of 8 characters or less. 12143 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12144 v=$($ECHO $release$versuffix | tr -d .-); 12145 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12146 $ECHO $n$v`$shared_ext' 12147 library_names_spec='${libname}_dll.$libext' 12148 dynamic_linker='OS/2 ld.exe' 12149 shlibpath_var=BEGINLIBPATH 12150 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12151 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12152 postinstall_cmds='base_file=`basename \$file`~ 12153 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12154 dldir=$destdir/`dirname \$dlpath`~ 12155 test -d \$dldir || mkdir -p \$dldir~ 12156 $install_prog $dir/$dlname \$dldir/$dlname~ 12157 chmod a+x \$dldir/$dlname~ 12158 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12159 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12160 fi' 12161 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12162 dlpath=$dir/\$dldll~ 12163 $RM \$dlpath' 12164 ;; 12165 12166osf3* | osf4* | osf5*) 12167 version_type=osf 12168 need_lib_prefix=no 12169 need_version=no 12170 soname_spec='$libname$release$shared_ext$major' 12171 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12172 shlibpath_var=LD_LIBRARY_PATH 12173 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12174 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12175 ;; 12176 12177rdos*) 12178 dynamic_linker=no 12179 ;; 12180 12181solaris*) 12182 version_type=linux # correct to gnu/linux during the next big refactor 12183 need_lib_prefix=no 12184 need_version=no 12185 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12186 soname_spec='$libname$release$shared_ext$major' 12187 shlibpath_var=LD_LIBRARY_PATH 12188 shlibpath_overrides_runpath=yes 12189 hardcode_into_libs=yes 12190 # ldd complains unless libraries are executable 12191 postinstall_cmds='chmod +x $lib' 12192 ;; 12193 12194sunos4*) 12195 version_type=sunos 12196 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12197 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12198 shlibpath_var=LD_LIBRARY_PATH 12199 shlibpath_overrides_runpath=yes 12200 if test yes = "$with_gnu_ld"; then 12201 need_lib_prefix=no 12202 fi 12203 need_version=yes 12204 ;; 12205 12206sysv4 | sysv4.3*) 12207 version_type=linux # correct to gnu/linux during the next big refactor 12208 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12209 soname_spec='$libname$release$shared_ext$major' 12210 shlibpath_var=LD_LIBRARY_PATH 12211 case $host_vendor in 12212 sni) 12213 shlibpath_overrides_runpath=no 12214 need_lib_prefix=no 12215 runpath_var=LD_RUN_PATH 12216 ;; 12217 siemens) 12218 need_lib_prefix=no 12219 ;; 12220 motorola) 12221 need_lib_prefix=no 12222 need_version=no 12223 shlibpath_overrides_runpath=no 12224 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12225 ;; 12226 esac 12227 ;; 12228 12229sysv4*MP*) 12230 if test -d /usr/nec; then 12231 version_type=linux # correct to gnu/linux during the next big refactor 12232 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12233 soname_spec='$libname$shared_ext.$major' 12234 shlibpath_var=LD_LIBRARY_PATH 12235 fi 12236 ;; 12237 12238sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12239 version_type=sco 12240 need_lib_prefix=no 12241 need_version=no 12242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12243 soname_spec='$libname$release$shared_ext$major' 12244 shlibpath_var=LD_LIBRARY_PATH 12245 shlibpath_overrides_runpath=yes 12246 hardcode_into_libs=yes 12247 if test yes = "$with_gnu_ld"; then 12248 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12249 else 12250 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12251 case $host_os in 12252 sco3.2v5*) 12253 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12254 ;; 12255 esac 12256 fi 12257 sys_lib_dlsearch_path_spec='/usr/lib' 12258 ;; 12259 12260tpf*) 12261 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12262 version_type=linux # correct to gnu/linux during the next big refactor 12263 need_lib_prefix=no 12264 need_version=no 12265 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12266 shlibpath_var=LD_LIBRARY_PATH 12267 shlibpath_overrides_runpath=no 12268 hardcode_into_libs=yes 12269 ;; 12270 12271uts4*) 12272 version_type=linux # correct to gnu/linux during the next big refactor 12273 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12274 soname_spec='$libname$release$shared_ext$major' 12275 shlibpath_var=LD_LIBRARY_PATH 12276 ;; 12277 12278*) 12279 dynamic_linker=no 12280 ;; 12281esac 12282{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12283printf "%s\n" "$dynamic_linker" >&6; } 12284test no = "$dynamic_linker" && can_build_shared=no 12285 12286variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12287if test yes = "$GCC"; then 12288 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12289fi 12290 12291if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12292 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12293fi 12294 12295if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12296 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12297fi 12298 12299# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12300configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12301 12302# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12303func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12304 12305# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12306configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12405printf %s "checking how to hardcode library paths into programs... " >&6; } 12406hardcode_action= 12407if test -n "$hardcode_libdir_flag_spec" || 12408 test -n "$runpath_var" || 12409 test yes = "$hardcode_automatic"; then 12410 12411 # We can hardcode non-existent directories. 12412 if test no != "$hardcode_direct" && 12413 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12414 # have to relink, otherwise we might link with an installed library 12415 # when we should be linking with a yet-to-be-installed one 12416 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12417 test no != "$hardcode_minus_L"; then 12418 # Linking always hardcodes the temporary library directory. 12419 hardcode_action=relink 12420 else 12421 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12422 hardcode_action=immediate 12423 fi 12424else 12425 # We cannot hardcode anything, or else we can only hardcode existing 12426 # directories. 12427 hardcode_action=unsupported 12428fi 12429{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12430printf "%s\n" "$hardcode_action" >&6; } 12431 12432if test relink = "$hardcode_action" || 12433 test yes = "$inherit_rpath"; then 12434 # Fast installation is not supported 12435 enable_fast_install=no 12436elif test yes = "$shlibpath_overrides_runpath" || 12437 test no = "$enable_shared"; then 12438 # Fast installation is not necessary 12439 enable_fast_install=needless 12440fi 12441 12442 12443 12444 12445 12446 12447 if test yes != "$enable_dlopen"; then 12448 enable_dlopen=unknown 12449 enable_dlopen_self=unknown 12450 enable_dlopen_self_static=unknown 12451else 12452 lt_cv_dlopen=no 12453 lt_cv_dlopen_libs= 12454 12455 case $host_os in 12456 beos*) 12457 lt_cv_dlopen=load_add_on 12458 lt_cv_dlopen_libs= 12459 lt_cv_dlopen_self=yes 12460 ;; 12461 12462 mingw* | pw32* | cegcc*) 12463 lt_cv_dlopen=LoadLibrary 12464 lt_cv_dlopen_libs= 12465 ;; 12466 12467 cygwin*) 12468 lt_cv_dlopen=dlopen 12469 lt_cv_dlopen_libs= 12470 ;; 12471 12472 darwin*) 12473 # if libdl is installed we need to link against it 12474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12475printf %s "checking for dlopen in -ldl... " >&6; } 12476if test ${ac_cv_lib_dl_dlopen+y} 12477then : 12478 printf %s "(cached) " >&6 12479else $as_nop 12480 ac_check_lib_save_LIBS=$LIBS 12481LIBS="-ldl $LIBS" 12482cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12483/* end confdefs.h. */ 12484 12485/* Override any GCC internal prototype to avoid an error. 12486 Use char because int might match the return type of a GCC 12487 builtin and then its argument prototype would still apply. 12488 The 'extern "C"' is for builds by C++ compilers; 12489 although this is not generally supported in C code, supporting it here 12490 has little cost and some practical benefit (sr 110532). */ 12491#ifdef __cplusplus 12492extern "C" 12493#endif 12494char dlopen (); 12495int 12496main (void) 12497{ 12498return dlopen (); 12499 ; 12500 return 0; 12501} 12502_ACEOF 12503if ac_fn_c_try_link "$LINENO" 12504then : 12505 ac_cv_lib_dl_dlopen=yes 12506else $as_nop 12507 ac_cv_lib_dl_dlopen=no 12508fi 12509rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12510 conftest$ac_exeext conftest.$ac_ext 12511LIBS=$ac_check_lib_save_LIBS 12512fi 12513{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12514printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 12515if test "x$ac_cv_lib_dl_dlopen" = xyes 12516then : 12517 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12518else $as_nop 12519 12520 lt_cv_dlopen=dyld 12521 lt_cv_dlopen_libs= 12522 lt_cv_dlopen_self=yes 12523 12524fi 12525 12526 ;; 12527 12528 tpf*) 12529 # Don't try to run any link tests for TPF. We know it's impossible 12530 # because TPF is a cross-compiler, and we know how we open DSOs. 12531 lt_cv_dlopen=dlopen 12532 lt_cv_dlopen_libs= 12533 lt_cv_dlopen_self=no 12534 ;; 12535 12536 *) 12537 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12538if test "x$ac_cv_func_shl_load" = xyes 12539then : 12540 lt_cv_dlopen=shl_load 12541else $as_nop 12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12543printf %s "checking for shl_load in -ldld... " >&6; } 12544if test ${ac_cv_lib_dld_shl_load+y} 12545then : 12546 printf %s "(cached) " >&6 12547else $as_nop 12548 ac_check_lib_save_LIBS=$LIBS 12549LIBS="-ldld $LIBS" 12550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12551/* end confdefs.h. */ 12552 12553/* Override any GCC internal prototype to avoid an error. 12554 Use char because int might match the return type of a GCC 12555 builtin and then its argument prototype would still apply. 12556 The 'extern "C"' is for builds by C++ compilers; 12557 although this is not generally supported in C code, supporting it here 12558 has little cost and some practical benefit (sr 110532). */ 12559#ifdef __cplusplus 12560extern "C" 12561#endif 12562char shl_load (); 12563int 12564main (void) 12565{ 12566return shl_load (); 12567 ; 12568 return 0; 12569} 12570_ACEOF 12571if ac_fn_c_try_link "$LINENO" 12572then : 12573 ac_cv_lib_dld_shl_load=yes 12574else $as_nop 12575 ac_cv_lib_dld_shl_load=no 12576fi 12577rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12578 conftest$ac_exeext conftest.$ac_ext 12579LIBS=$ac_check_lib_save_LIBS 12580fi 12581{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12582printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } 12583if test "x$ac_cv_lib_dld_shl_load" = xyes 12584then : 12585 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12586else $as_nop 12587 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12588if test "x$ac_cv_func_dlopen" = xyes 12589then : 12590 lt_cv_dlopen=dlopen 12591else $as_nop 12592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12593printf %s "checking for dlopen in -ldl... " >&6; } 12594if test ${ac_cv_lib_dl_dlopen+y} 12595then : 12596 printf %s "(cached) " >&6 12597else $as_nop 12598 ac_check_lib_save_LIBS=$LIBS 12599LIBS="-ldl $LIBS" 12600cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12601/* end confdefs.h. */ 12602 12603/* Override any GCC internal prototype to avoid an error. 12604 Use char because int might match the return type of a GCC 12605 builtin and then its argument prototype would still apply. 12606 The 'extern "C"' is for builds by C++ compilers; 12607 although this is not generally supported in C code, supporting it here 12608 has little cost and some practical benefit (sr 110532). */ 12609#ifdef __cplusplus 12610extern "C" 12611#endif 12612char dlopen (); 12613int 12614main (void) 12615{ 12616return dlopen (); 12617 ; 12618 return 0; 12619} 12620_ACEOF 12621if ac_fn_c_try_link "$LINENO" 12622then : 12623 ac_cv_lib_dl_dlopen=yes 12624else $as_nop 12625 ac_cv_lib_dl_dlopen=no 12626fi 12627rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12628 conftest$ac_exeext conftest.$ac_ext 12629LIBS=$ac_check_lib_save_LIBS 12630fi 12631{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12632printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 12633if test "x$ac_cv_lib_dl_dlopen" = xyes 12634then : 12635 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12636else $as_nop 12637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12638printf %s "checking for dlopen in -lsvld... " >&6; } 12639if test ${ac_cv_lib_svld_dlopen+y} 12640then : 12641 printf %s "(cached) " >&6 12642else $as_nop 12643 ac_check_lib_save_LIBS=$LIBS 12644LIBS="-lsvld $LIBS" 12645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12646/* end confdefs.h. */ 12647 12648/* Override any GCC internal prototype to avoid an error. 12649 Use char because int might match the return type of a GCC 12650 builtin and then its argument prototype would still apply. 12651 The 'extern "C"' is for builds by C++ compilers; 12652 although this is not generally supported in C code, supporting it here 12653 has little cost and some practical benefit (sr 110532). */ 12654#ifdef __cplusplus 12655extern "C" 12656#endif 12657char dlopen (); 12658int 12659main (void) 12660{ 12661return dlopen (); 12662 ; 12663 return 0; 12664} 12665_ACEOF 12666if ac_fn_c_try_link "$LINENO" 12667then : 12668 ac_cv_lib_svld_dlopen=yes 12669else $as_nop 12670 ac_cv_lib_svld_dlopen=no 12671fi 12672rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12673 conftest$ac_exeext conftest.$ac_ext 12674LIBS=$ac_check_lib_save_LIBS 12675fi 12676{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12677printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } 12678if test "x$ac_cv_lib_svld_dlopen" = xyes 12679then : 12680 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12681else $as_nop 12682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12683printf %s "checking for dld_link in -ldld... " >&6; } 12684if test ${ac_cv_lib_dld_dld_link+y} 12685then : 12686 printf %s "(cached) " >&6 12687else $as_nop 12688 ac_check_lib_save_LIBS=$LIBS 12689LIBS="-ldld $LIBS" 12690cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12691/* end confdefs.h. */ 12692 12693/* Override any GCC internal prototype to avoid an error. 12694 Use char because int might match the return type of a GCC 12695 builtin and then its argument prototype would still apply. 12696 The 'extern "C"' is for builds by C++ compilers; 12697 although this is not generally supported in C code, supporting it here 12698 has little cost and some practical benefit (sr 110532). */ 12699#ifdef __cplusplus 12700extern "C" 12701#endif 12702char dld_link (); 12703int 12704main (void) 12705{ 12706return dld_link (); 12707 ; 12708 return 0; 12709} 12710_ACEOF 12711if ac_fn_c_try_link "$LINENO" 12712then : 12713 ac_cv_lib_dld_dld_link=yes 12714else $as_nop 12715 ac_cv_lib_dld_dld_link=no 12716fi 12717rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12718 conftest$ac_exeext conftest.$ac_ext 12719LIBS=$ac_check_lib_save_LIBS 12720fi 12721{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12722printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } 12723if test "x$ac_cv_lib_dld_dld_link" = xyes 12724then : 12725 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12726fi 12727 12728 12729fi 12730 12731 12732fi 12733 12734 12735fi 12736 12737 12738fi 12739 12740 12741fi 12742 12743 ;; 12744 esac 12745 12746 if test no = "$lt_cv_dlopen"; then 12747 enable_dlopen=no 12748 else 12749 enable_dlopen=yes 12750 fi 12751 12752 case $lt_cv_dlopen in 12753 dlopen) 12754 save_CPPFLAGS=$CPPFLAGS 12755 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12756 12757 save_LDFLAGS=$LDFLAGS 12758 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12759 12760 save_LIBS=$LIBS 12761 LIBS="$lt_cv_dlopen_libs $LIBS" 12762 12763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12764printf %s "checking whether a program can dlopen itself... " >&6; } 12765if test ${lt_cv_dlopen_self+y} 12766then : 12767 printf %s "(cached) " >&6 12768else $as_nop 12769 if test yes = "$cross_compiling"; then : 12770 lt_cv_dlopen_self=cross 12771else 12772 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12773 lt_status=$lt_dlunknown 12774 cat > conftest.$ac_ext <<_LT_EOF 12775#line $LINENO "configure" 12776#include "confdefs.h" 12777 12778#if HAVE_DLFCN_H 12779#include <dlfcn.h> 12780#endif 12781 12782#include <stdio.h> 12783 12784#ifdef RTLD_GLOBAL 12785# define LT_DLGLOBAL RTLD_GLOBAL 12786#else 12787# ifdef DL_GLOBAL 12788# define LT_DLGLOBAL DL_GLOBAL 12789# else 12790# define LT_DLGLOBAL 0 12791# endif 12792#endif 12793 12794/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12795 find out it does not work in some platform. */ 12796#ifndef LT_DLLAZY_OR_NOW 12797# ifdef RTLD_LAZY 12798# define LT_DLLAZY_OR_NOW RTLD_LAZY 12799# else 12800# ifdef DL_LAZY 12801# define LT_DLLAZY_OR_NOW DL_LAZY 12802# else 12803# ifdef RTLD_NOW 12804# define LT_DLLAZY_OR_NOW RTLD_NOW 12805# else 12806# ifdef DL_NOW 12807# define LT_DLLAZY_OR_NOW DL_NOW 12808# else 12809# define LT_DLLAZY_OR_NOW 0 12810# endif 12811# endif 12812# endif 12813# endif 12814#endif 12815 12816/* When -fvisibility=hidden is used, assume the code has been annotated 12817 correspondingly for the symbols needed. */ 12818#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12819int fnord () __attribute__((visibility("default"))); 12820#endif 12821 12822int fnord () { return 42; } 12823int main () 12824{ 12825 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12826 int status = $lt_dlunknown; 12827 12828 if (self) 12829 { 12830 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12831 else 12832 { 12833 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12834 else puts (dlerror ()); 12835 } 12836 /* dlclose (self); */ 12837 } 12838 else 12839 puts (dlerror ()); 12840 12841 return status; 12842} 12843_LT_EOF 12844 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12845 (eval $ac_link) 2>&5 12846 ac_status=$? 12847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12848 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12849 (./conftest; exit; ) >&5 2>/dev/null 12850 lt_status=$? 12851 case x$lt_status in 12852 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12853 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12854 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12855 esac 12856 else : 12857 # compilation failed 12858 lt_cv_dlopen_self=no 12859 fi 12860fi 12861rm -fr conftest* 12862 12863 12864fi 12865{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12866printf "%s\n" "$lt_cv_dlopen_self" >&6; } 12867 12868 if test yes = "$lt_cv_dlopen_self"; then 12869 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12871printf %s "checking whether a statically linked program can dlopen itself... " >&6; } 12872if test ${lt_cv_dlopen_self_static+y} 12873then : 12874 printf %s "(cached) " >&6 12875else $as_nop 12876 if test yes = "$cross_compiling"; then : 12877 lt_cv_dlopen_self_static=cross 12878else 12879 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12880 lt_status=$lt_dlunknown 12881 cat > conftest.$ac_ext <<_LT_EOF 12882#line $LINENO "configure" 12883#include "confdefs.h" 12884 12885#if HAVE_DLFCN_H 12886#include <dlfcn.h> 12887#endif 12888 12889#include <stdio.h> 12890 12891#ifdef RTLD_GLOBAL 12892# define LT_DLGLOBAL RTLD_GLOBAL 12893#else 12894# ifdef DL_GLOBAL 12895# define LT_DLGLOBAL DL_GLOBAL 12896# else 12897# define LT_DLGLOBAL 0 12898# endif 12899#endif 12900 12901/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12902 find out it does not work in some platform. */ 12903#ifndef LT_DLLAZY_OR_NOW 12904# ifdef RTLD_LAZY 12905# define LT_DLLAZY_OR_NOW RTLD_LAZY 12906# else 12907# ifdef DL_LAZY 12908# define LT_DLLAZY_OR_NOW DL_LAZY 12909# else 12910# ifdef RTLD_NOW 12911# define LT_DLLAZY_OR_NOW RTLD_NOW 12912# else 12913# ifdef DL_NOW 12914# define LT_DLLAZY_OR_NOW DL_NOW 12915# else 12916# define LT_DLLAZY_OR_NOW 0 12917# endif 12918# endif 12919# endif 12920# endif 12921#endif 12922 12923/* When -fvisibility=hidden is used, assume the code has been annotated 12924 correspondingly for the symbols needed. */ 12925#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12926int fnord () __attribute__((visibility("default"))); 12927#endif 12928 12929int fnord () { return 42; } 12930int main () 12931{ 12932 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12933 int status = $lt_dlunknown; 12934 12935 if (self) 12936 { 12937 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12938 else 12939 { 12940 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12941 else puts (dlerror ()); 12942 } 12943 /* dlclose (self); */ 12944 } 12945 else 12946 puts (dlerror ()); 12947 12948 return status; 12949} 12950_LT_EOF 12951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12952 (eval $ac_link) 2>&5 12953 ac_status=$? 12954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12955 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12956 (./conftest; exit; ) >&5 2>/dev/null 12957 lt_status=$? 12958 case x$lt_status in 12959 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12960 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12961 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12962 esac 12963 else : 12964 # compilation failed 12965 lt_cv_dlopen_self_static=no 12966 fi 12967fi 12968rm -fr conftest* 12969 12970 12971fi 12972{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12973printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } 12974 fi 12975 12976 CPPFLAGS=$save_CPPFLAGS 12977 LDFLAGS=$save_LDFLAGS 12978 LIBS=$save_LIBS 12979 ;; 12980 esac 12981 12982 case $lt_cv_dlopen_self in 12983 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12984 *) enable_dlopen_self=unknown ;; 12985 esac 12986 12987 case $lt_cv_dlopen_self_static in 12988 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12989 *) enable_dlopen_self_static=unknown ;; 12990 esac 12991fi 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009striplib= 13010old_striplib= 13011{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13012printf %s "checking whether stripping libraries is possible... " >&6; } 13013if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13014 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13015 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13017printf "%s\n" "yes" >&6; } 13018else 13019# FIXME - insert some real tests, host_os isn't really good enough 13020 case $host_os in 13021 darwin*) 13022 if test -n "$STRIP"; then 13023 striplib="$STRIP -x" 13024 old_striplib="$STRIP -S" 13025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13026printf "%s\n" "yes" >&6; } 13027 else 13028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 13029printf "%s\n" "no" >&6; } 13030 fi 13031 ;; 13032 *) 13033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 13034printf "%s\n" "no" >&6; } 13035 ;; 13036 esac 13037fi 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 # Report what library types will actually be built 13051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13052printf %s "checking if libtool supports shared libraries... " >&6; } 13053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13054printf "%s\n" "$can_build_shared" >&6; } 13055 13056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13057printf %s "checking whether to build shared libraries... " >&6; } 13058 test no = "$can_build_shared" && enable_shared=no 13059 13060 # On AIX, shared libraries and static libraries use the same namespace, and 13061 # are all built from PIC. 13062 case $host_os in 13063 aix3*) 13064 test yes = "$enable_shared" && enable_static=no 13065 if test -n "$RANLIB"; then 13066 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13067 postinstall_cmds='$RANLIB $lib' 13068 fi 13069 ;; 13070 13071 aix[4-9]*) 13072 if test ia64 != "$host_cpu"; then 13073 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13074 yes,aix,yes) ;; # shared object as lib.so file only 13075 yes,svr4,*) ;; # shared object as lib.so archive member only 13076 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13077 esac 13078 fi 13079 ;; 13080 esac 13081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13082printf "%s\n" "$enable_shared" >&6; } 13083 13084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13085printf %s "checking whether to build static libraries... " >&6; } 13086 # Make sure either enable_shared or enable_static is yes. 13087 test yes = "$enable_shared" || enable_static=yes 13088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13089printf "%s\n" "$enable_static" >&6; } 13090 13091 13092 13093 13094fi 13095ac_ext=c 13096ac_cpp='$CPP $CPPFLAGS' 13097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13099ac_compiler_gnu=$ac_cv_c_compiler_gnu 13100 13101CC=$lt_save_CC 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 ac_config_commands="$ac_config_commands libtool" 13118 13119 13120 13121 13122# Only expand once: 13123 13124 13125 13126ac_ext=${ac_fc_srcext-f} 13127ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' 13128ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' 13129ac_compiler_gnu=$ac_cv_fc_compiler_gnu 13130if test -n "$ac_tool_prefix"; then 13131 for ac_prog in xlf2003 xlf2003_r ifort gfortran 13132 do 13133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13134set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13135{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13136printf %s "checking for $ac_word... " >&6; } 13137if test ${ac_cv_prog_FC+y} 13138then : 13139 printf %s "(cached) " >&6 13140else $as_nop 13141 if test -n "$FC"; then 13142 ac_cv_prog_FC="$FC" # Let the user override the test. 13143else 13144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13145for as_dir in $PATH 13146do 13147 IFS=$as_save_IFS 13148 case $as_dir in #((( 13149 '') as_dir=./ ;; 13150 */) ;; 13151 *) as_dir=$as_dir/ ;; 13152 esac 13153 for ac_exec_ext in '' $ac_executable_extensions; do 13154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 13155 ac_cv_prog_FC="$ac_tool_prefix$ac_prog" 13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 13157 break 2 13158 fi 13159done 13160 done 13161IFS=$as_save_IFS 13162 13163fi 13164fi 13165FC=$ac_cv_prog_FC 13166if test -n "$FC"; then 13167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FC" >&5 13168printf "%s\n" "$FC" >&6; } 13169else 13170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 13171printf "%s\n" "no" >&6; } 13172fi 13173 13174 13175 test -n "$FC" && break 13176 done 13177fi 13178if test -z "$FC"; then 13179 ac_ct_FC=$FC 13180 for ac_prog in xlf2003 xlf2003_r ifort gfortran 13181do 13182 # Extract the first word of "$ac_prog", so it can be a program name with args. 13183set dummy $ac_prog; ac_word=$2 13184{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13185printf %s "checking for $ac_word... " >&6; } 13186if test ${ac_cv_prog_ac_ct_FC+y} 13187then : 13188 printf %s "(cached) " >&6 13189else $as_nop 13190 if test -n "$ac_ct_FC"; then 13191 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. 13192else 13193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13194for as_dir in $PATH 13195do 13196 IFS=$as_save_IFS 13197 case $as_dir in #((( 13198 '') as_dir=./ ;; 13199 */) ;; 13200 *) as_dir=$as_dir/ ;; 13201 esac 13202 for ac_exec_ext in '' $ac_executable_extensions; do 13203 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 13204 ac_cv_prog_ac_ct_FC="$ac_prog" 13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 13206 break 2 13207 fi 13208done 13209 done 13210IFS=$as_save_IFS 13211 13212fi 13213fi 13214ac_ct_FC=$ac_cv_prog_ac_ct_FC 13215if test -n "$ac_ct_FC"; then 13216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5 13217printf "%s\n" "$ac_ct_FC" >&6; } 13218else 13219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 13220printf "%s\n" "no" >&6; } 13221fi 13222 13223 13224 test -n "$ac_ct_FC" && break 13225done 13226 13227 if test "x$ac_ct_FC" = x; then 13228 FC="" 13229 else 13230 case $cross_compiling:$ac_tool_warned in 13231yes:) 13232{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13233printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13234ac_tool_warned=yes ;; 13235esac 13236 FC=$ac_ct_FC 13237 fi 13238fi 13239 13240 13241# Provide some information about the compiler. 13242printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5 13243set X $ac_compile 13244ac_compiler=$2 13245for ac_option in --version -v -V -qversion; do 13246 { { ac_try="$ac_compiler $ac_option >&5" 13247case "(($ac_try" in 13248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13249 *) ac_try_echo=$ac_try;; 13250esac 13251eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13252printf "%s\n" "$ac_try_echo"; } >&5 13253 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13254 ac_status=$? 13255 if test -s conftest.err; then 13256 sed '10a\ 13257... rest of stderr output deleted ... 13258 10q' conftest.err >conftest.er1 13259 cat conftest.er1 >&5 13260 fi 13261 rm -f conftest.er1 conftest.err 13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13263 test $ac_status = 0; } 13264done 13265rm -f a.out 13266 13267# If we don't use '.F' as extension, the preprocessor is not run on the 13268# input file. (Note that this only needs to work for GNU compilers.) 13269ac_save_ext=$ac_ext 13270ac_ext=F 13271{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Fortran" >&5 13272printf %s "checking whether the compiler supports GNU Fortran... " >&6; } 13273if test ${ac_cv_fc_compiler_gnu+y} 13274then : 13275 printf %s "(cached) " >&6 13276else $as_nop 13277 cat > conftest.$ac_ext <<_ACEOF 13278 program main 13279#ifndef __GNUC__ 13280 choke me 13281#endif 13282 13283 end 13284_ACEOF 13285if ac_fn_fc_try_compile "$LINENO" 13286then : 13287 ac_compiler_gnu=yes 13288else $as_nop 13289 ac_compiler_gnu=no 13290fi 13291rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13292ac_cv_fc_compiler_gnu=$ac_compiler_gnu 13293 13294fi 13295{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5 13296printf "%s\n" "$ac_cv_fc_compiler_gnu" >&6; } 13297ac_compiler_gnu=$ac_cv_fc_compiler_gnu 13298 13299ac_ext=$ac_save_ext 13300ac_test_FCFLAGS=${FCFLAGS+y} 13301ac_save_FCFLAGS=$FCFLAGS 13302FCFLAGS= 13303{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5 13304printf %s "checking whether $FC accepts -g... " >&6; } 13305if test ${ac_cv_prog_fc_g+y} 13306then : 13307 printf %s "(cached) " >&6 13308else $as_nop 13309 FCFLAGS=-g 13310cat > conftest.$ac_ext <<_ACEOF 13311 program main 13312 13313 end 13314_ACEOF 13315if ac_fn_fc_try_compile "$LINENO" 13316then : 13317 ac_cv_prog_fc_g=yes 13318else $as_nop 13319 ac_cv_prog_fc_g=no 13320fi 13321rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13322 13323fi 13324{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5 13325printf "%s\n" "$ac_cv_prog_fc_g" >&6; } 13326if test $ac_test_FCFLAGS; then 13327 FCFLAGS=$ac_save_FCFLAGS 13328elif test $ac_cv_prog_fc_g = yes; then 13329 if test "x$ac_cv_fc_compiler_gnu" = xyes; then 13330 FCFLAGS="-g -O2" 13331 else 13332 FCFLAGS="-g" 13333 fi 13334else 13335 if test "x$ac_cv_fc_compiler_gnu" = xyes; then 13336 FCFLAGS="-O2" 13337 else 13338 FCFLAGS= 13339 fi 13340fi 13341 13342if test $ac_compiler_gnu = yes; then 13343 GFC=yes 13344else 13345 GFC= 13346fi 13347ac_ext=c 13348ac_cpp='$CPP $CPPFLAGS' 13349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13351ac_compiler_gnu=$ac_cv_c_compiler_gnu 13352 13353 13354func_stripname_cnf () 13355{ 13356 case $2 in 13357 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 13358 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 13359 esac 13360} # func_stripname_cnf 13361 13362 13363 ac_ext=${ac_fc_srcext-f} 13364ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' 13365ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' 13366ac_compiler_gnu=$ac_cv_fc_compiler_gnu 13367 13368 13369if test -z "$FC" || test no = "$FC"; then 13370 _lt_disable_FC=yes 13371fi 13372 13373archive_cmds_need_lc_FC=no 13374allow_undefined_flag_FC= 13375always_export_symbols_FC=no 13376archive_expsym_cmds_FC= 13377export_dynamic_flag_spec_FC= 13378hardcode_direct_FC=no 13379hardcode_direct_absolute_FC=no 13380hardcode_libdir_flag_spec_FC= 13381hardcode_libdir_separator_FC= 13382hardcode_minus_L_FC=no 13383hardcode_automatic_FC=no 13384inherit_rpath_FC=no 13385module_cmds_FC= 13386module_expsym_cmds_FC= 13387link_all_deplibs_FC=unknown 13388old_archive_cmds_FC=$old_archive_cmds 13389reload_flag_FC=$reload_flag 13390reload_cmds_FC=$reload_cmds 13391no_undefined_flag_FC= 13392whole_archive_flag_spec_FC= 13393enable_shared_with_static_runtimes_FC=no 13394 13395# Source file extension for fc test sources. 13396ac_ext=${ac_fc_srcext-f} 13397 13398# Object file extension for compiled fc test sources. 13399objext=o 13400objext_FC=$objext 13401 13402# No sense in running all these tests if we already determined that 13403# the FC compiler isn't working. Some variables (like enable_shared) 13404# are currently assumed to apply to all compilers on this platform, 13405# and will be corrupted by setting them based on a non-working compiler. 13406if test yes != "$_lt_disable_FC"; then 13407 # Code to be used in simple compile tests 13408 lt_simple_compile_test_code="\ 13409 subroutine t 13410 return 13411 end 13412" 13413 13414 # Code to be used in simple link tests 13415 lt_simple_link_test_code="\ 13416 program t 13417 end 13418" 13419 13420 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13421 13422 13423 13424 13425 13426 13427# If no C compiler was specified, use CC. 13428LTCC=${LTCC-"$CC"} 13429 13430# If no C compiler flags were specified, use CFLAGS. 13431LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13432 13433# Allow CC to be a program name with arguments. 13434compiler=$CC 13435 13436 13437 # save warnings/boilerplate of simple test code 13438 ac_outfile=conftest.$ac_objext 13439echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13440eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13441_lt_compiler_boilerplate=`cat conftest.err` 13442$RM conftest* 13443 13444 ac_outfile=conftest.$ac_objext 13445echo "$lt_simple_link_test_code" >conftest.$ac_ext 13446eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13447_lt_linker_boilerplate=`cat conftest.err` 13448$RM -r conftest* 13449 13450 13451 # Allow CC to be a program name with arguments. 13452 lt_save_CC=$CC 13453 lt_save_GCC=$GCC 13454 lt_save_CFLAGS=$CFLAGS 13455 CC=${FC-"f95"} 13456 CFLAGS=$FCFLAGS 13457 compiler=$CC 13458 GCC=$ac_cv_fc_compiler_gnu 13459 13460 compiler_FC=$CC 13461 func_cc_basename $compiler 13462cc_basename=$func_cc_basename_result 13463 13464 13465 if test -n "$compiler"; then 13466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13467printf %s "checking if libtool supports shared libraries... " >&6; } 13468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13469printf "%s\n" "$can_build_shared" >&6; } 13470 13471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13472printf %s "checking whether to build shared libraries... " >&6; } 13473 test no = "$can_build_shared" && enable_shared=no 13474 13475 # On AIX, shared libraries and static libraries use the same namespace, and 13476 # are all built from PIC. 13477 case $host_os in 13478 aix3*) 13479 test yes = "$enable_shared" && enable_static=no 13480 if test -n "$RANLIB"; then 13481 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13482 postinstall_cmds='$RANLIB $lib' 13483 fi 13484 ;; 13485 aix[4-9]*) 13486 if test ia64 != "$host_cpu"; then 13487 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13488 yes,aix,yes) ;; # shared object as lib.so file only 13489 yes,svr4,*) ;; # shared object as lib.so archive member only 13490 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13491 esac 13492 fi 13493 ;; 13494 esac 13495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13496printf "%s\n" "$enable_shared" >&6; } 13497 13498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13499printf %s "checking whether to build static libraries... " >&6; } 13500 # Make sure either enable_shared or enable_static is yes. 13501 test yes = "$enable_shared" || enable_static=yes 13502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13503printf "%s\n" "$enable_static" >&6; } 13504 13505 GCC_FC=$ac_cv_fc_compiler_gnu 13506 LD_FC=$LD 13507 13508 ## CAVEAT EMPTOR: 13509 ## There is no encapsulation within the following macros, do not change 13510 ## the running order or otherwise move them around unless you know exactly 13511 ## what you are doing... 13512 # Dependencies to place before and after the object being linked: 13513predep_objects_FC= 13514postdep_objects_FC= 13515predeps_FC= 13516postdeps_FC= 13517compiler_lib_search_path_FC= 13518 13519cat > conftest.$ac_ext <<_LT_EOF 13520 subroutine foo 13521 implicit none 13522 integer a 13523 a=0 13524 return 13525 end 13526_LT_EOF 13527 13528 13529_lt_libdeps_save_CFLAGS=$CFLAGS 13530case "$CC $CFLAGS " in #( 13531*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 13532*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 13533*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 13534esac 13535 13536if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13537 (eval $ac_compile) 2>&5 13538 ac_status=$? 13539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13540 test $ac_status = 0; }; then 13541 # Parse the compiler output and extract the necessary 13542 # objects, libraries and library flags. 13543 13544 # Sentinel used to keep track of whether or not we are before 13545 # the conftest object file. 13546 pre_test_object_deps_done=no 13547 13548 for p in `eval "$output_verbose_link_cmd"`; do 13549 case $prev$p in 13550 13551 -L* | -R* | -l*) 13552 # Some compilers place space between "-{L,R}" and the path. 13553 # Remove the space. 13554 if test x-L = "$p" || 13555 test x-R = "$p"; then 13556 prev=$p 13557 continue 13558 fi 13559 13560 # Expand the sysroot to ease extracting the directories later. 13561 if test -z "$prev"; then 13562 case $p in 13563 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 13564 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 13565 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 13566 esac 13567 fi 13568 case $p in 13569 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 13570 esac 13571 if test no = "$pre_test_object_deps_done"; then 13572 case $prev in 13573 -L | -R) 13574 # Internal compiler library paths should come after those 13575 # provided the user. The postdeps already come after the 13576 # user supplied libs so there is no need to process them. 13577 if test -z "$compiler_lib_search_path_FC"; then 13578 compiler_lib_search_path_FC=$prev$p 13579 else 13580 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} $prev$p" 13581 fi 13582 ;; 13583 # The "-l" case would never come before the object being 13584 # linked, so don't bother handling this case. 13585 esac 13586 else 13587 if test -z "$postdeps_FC"; then 13588 postdeps_FC=$prev$p 13589 else 13590 postdeps_FC="${postdeps_FC} $prev$p" 13591 fi 13592 fi 13593 prev= 13594 ;; 13595 13596 *.lto.$objext) ;; # Ignore GCC LTO objects 13597 *.$objext) 13598 # This assumes that the test object file only shows up 13599 # once in the compiler output. 13600 if test "$p" = "conftest.$objext"; then 13601 pre_test_object_deps_done=yes 13602 continue 13603 fi 13604 13605 if test no = "$pre_test_object_deps_done"; then 13606 if test -z "$predep_objects_FC"; then 13607 predep_objects_FC=$p 13608 else 13609 predep_objects_FC="$predep_objects_FC $p" 13610 fi 13611 else 13612 if test -z "$postdep_objects_FC"; then 13613 postdep_objects_FC=$p 13614 else 13615 postdep_objects_FC="$postdep_objects_FC $p" 13616 fi 13617 fi 13618 ;; 13619 13620 *) ;; # Ignore the rest. 13621 13622 esac 13623 done 13624 13625 # Clean up. 13626 rm -f a.out a.exe 13627else 13628 echo "libtool.m4: error: problem compiling FC test program" 13629fi 13630 13631$RM -f confest.$objext 13632CFLAGS=$_lt_libdeps_save_CFLAGS 13633 13634# PORTME: override above test on systems where it is broken 13635 13636 13637case " $postdeps_FC " in 13638*" -lc "*) archive_cmds_need_lc_FC=no ;; 13639esac 13640 compiler_lib_search_dirs_FC= 13641if test -n "${compiler_lib_search_path_FC}"; then 13642 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | $SED -e 's! -L! !g' -e 's!^ !!'` 13643fi 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 lt_prog_compiler_wl_FC= 13676lt_prog_compiler_pic_FC= 13677lt_prog_compiler_static_FC= 13678 13679 13680 if test yes = "$GCC"; then 13681 lt_prog_compiler_wl_FC='-Wl,' 13682 lt_prog_compiler_static_FC='-static' 13683 13684 case $host_os in 13685 aix*) 13686 # All AIX code is PIC. 13687 if test ia64 = "$host_cpu"; then 13688 # AIX 5 now supports IA64 processor 13689 lt_prog_compiler_static_FC='-Bstatic' 13690 fi 13691 lt_prog_compiler_pic_FC='-fPIC' 13692 ;; 13693 13694 amigaos*) 13695 case $host_cpu in 13696 powerpc) 13697 # see comment about AmigaOS4 .so support 13698 lt_prog_compiler_pic_FC='-fPIC' 13699 ;; 13700 m68k) 13701 # FIXME: we need at least 68020 code to build shared libraries, but 13702 # adding the '-m68020' flag to GCC prevents building anything better, 13703 # like '-m68040'. 13704 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4' 13705 ;; 13706 esac 13707 ;; 13708 13709 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 13710 # PIC is the default for these OSes. 13711 ;; 13712 13713 mingw* | cygwin* | pw32* | os2* | cegcc*) 13714 # This hack is so that the source file can tell whether it is being 13715 # built for inclusion in a dll (and should export symbols for example). 13716 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13717 # (--disable-auto-import) libraries 13718 lt_prog_compiler_pic_FC='-DDLL_EXPORT' 13719 case $host_os in 13720 os2*) 13721 lt_prog_compiler_static_FC='$wl-static' 13722 ;; 13723 esac 13724 ;; 13725 13726 darwin* | rhapsody*) 13727 # PIC is the default on this platform 13728 # Common symbols not allowed in MH_DYLIB files 13729 lt_prog_compiler_pic_FC='-fno-common' 13730 ;; 13731 13732 haiku*) 13733 # PIC is the default for Haiku. 13734 # The "-static" flag exists, but is broken. 13735 lt_prog_compiler_static_FC= 13736 ;; 13737 13738 hpux*) 13739 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 13740 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 13741 # sets the default TLS model and affects inlining. 13742 case $host_cpu in 13743 hppa*64*) 13744 # +Z the default 13745 ;; 13746 *) 13747 lt_prog_compiler_pic_FC='-fPIC' 13748 ;; 13749 esac 13750 ;; 13751 13752 interix[3-9]*) 13753 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13754 # Instead, we relocate shared libraries at runtime. 13755 ;; 13756 13757 msdosdjgpp*) 13758 # Just because we use GCC doesn't mean we suddenly get shared libraries 13759 # on systems that don't support them. 13760 lt_prog_compiler_can_build_shared_FC=no 13761 enable_shared=no 13762 ;; 13763 13764 *nto* | *qnx*) 13765 # QNX uses GNU C++, but need to define -shared option too, otherwise 13766 # it will coredump. 13767 lt_prog_compiler_pic_FC='-fPIC -shared' 13768 ;; 13769 13770 sysv4*MP*) 13771 if test -d /usr/nec; then 13772 lt_prog_compiler_pic_FC=-Kconform_pic 13773 fi 13774 ;; 13775 13776 *) 13777 lt_prog_compiler_pic_FC='-fPIC' 13778 ;; 13779 esac 13780 13781 case $cc_basename in 13782 nvcc*) # Cuda Compiler Driver 2.2 13783 lt_prog_compiler_wl_FC='-Xlinker ' 13784 if test -n "$lt_prog_compiler_pic_FC"; then 13785 lt_prog_compiler_pic_FC="-Xcompiler $lt_prog_compiler_pic_FC" 13786 fi 13787 ;; 13788 esac 13789 else 13790 # PORTME Check for flag to pass linker flags through the system compiler. 13791 case $host_os in 13792 aix*) 13793 lt_prog_compiler_wl_FC='-Wl,' 13794 if test ia64 = "$host_cpu"; then 13795 # AIX 5 now supports IA64 processor 13796 lt_prog_compiler_static_FC='-Bstatic' 13797 else 13798 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp' 13799 fi 13800 ;; 13801 13802 darwin* | rhapsody*) 13803 # PIC is the default on this platform 13804 # Common symbols not allowed in MH_DYLIB files 13805 lt_prog_compiler_pic_FC='-fno-common' 13806 case $cc_basename in 13807 nagfor*) 13808 # NAG Fortran compiler 13809 lt_prog_compiler_wl_FC='-Wl,-Wl,,' 13810 lt_prog_compiler_pic_FC='-PIC' 13811 lt_prog_compiler_static_FC='-Bstatic' 13812 ;; 13813 esac 13814 ;; 13815 13816 mingw* | cygwin* | pw32* | os2* | cegcc*) 13817 # This hack is so that the source file can tell whether it is being 13818 # built for inclusion in a dll (and should export symbols for example). 13819 lt_prog_compiler_pic_FC='-DDLL_EXPORT' 13820 case $host_os in 13821 os2*) 13822 lt_prog_compiler_static_FC='$wl-static' 13823 ;; 13824 esac 13825 ;; 13826 13827 hpux9* | hpux10* | hpux11*) 13828 lt_prog_compiler_wl_FC='-Wl,' 13829 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 13830 # not for PA HP-UX. 13831 case $host_cpu in 13832 hppa*64*|ia64*) 13833 # +Z the default 13834 ;; 13835 *) 13836 lt_prog_compiler_pic_FC='+Z' 13837 ;; 13838 esac 13839 # Is there a better lt_prog_compiler_static that works with the bundled CC? 13840 lt_prog_compiler_static_FC='$wl-a ${wl}archive' 13841 ;; 13842 13843 irix5* | irix6* | nonstopux*) 13844 lt_prog_compiler_wl_FC='-Wl,' 13845 # PIC (with -KPIC) is the default. 13846 lt_prog_compiler_static_FC='-non_shared' 13847 ;; 13848 13849 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 13850 case $cc_basename in 13851 # old Intel for x86_64, which still supported -KPIC. 13852 ecc*) 13853 lt_prog_compiler_wl_FC='-Wl,' 13854 lt_prog_compiler_pic_FC='-KPIC' 13855 lt_prog_compiler_static_FC='-static' 13856 ;; 13857 # icc used to be incompatible with GCC. 13858 # ICC 10 doesn't accept -KPIC any more. 13859 icc* | ifort*) 13860 lt_prog_compiler_wl_FC='-Wl,' 13861 lt_prog_compiler_pic_FC='-fPIC' 13862 lt_prog_compiler_static_FC='-static' 13863 ;; 13864 # Lahey Fortran 8.1. 13865 lf95*) 13866 lt_prog_compiler_wl_FC='-Wl,' 13867 lt_prog_compiler_pic_FC='--shared' 13868 lt_prog_compiler_static_FC='--static' 13869 ;; 13870 nagfor*) 13871 # NAG Fortran compiler 13872 lt_prog_compiler_wl_FC='-Wl,-Wl,,' 13873 lt_prog_compiler_pic_FC='-PIC' 13874 lt_prog_compiler_static_FC='-Bstatic' 13875 ;; 13876 tcc*) 13877 # Fabrice Bellard et al's Tiny C Compiler 13878 lt_prog_compiler_wl_FC='-Wl,' 13879 lt_prog_compiler_pic_FC='-fPIC' 13880 lt_prog_compiler_static_FC='-static' 13881 ;; 13882 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 13883 # Portland Group compilers (*not* the Pentium gcc compiler, 13884 # which looks to be a dead project) 13885 lt_prog_compiler_wl_FC='-Wl,' 13886 lt_prog_compiler_pic_FC='-fpic' 13887 lt_prog_compiler_static_FC='-Bstatic' 13888 ;; 13889 ccc*) 13890 lt_prog_compiler_wl_FC='-Wl,' 13891 # All Alpha code is PIC. 13892 lt_prog_compiler_static_FC='-non_shared' 13893 ;; 13894 xl* | bgxl* | bgf* | mpixl*) 13895 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 13896 lt_prog_compiler_wl_FC='-Wl,' 13897 lt_prog_compiler_pic_FC='-qpic' 13898 lt_prog_compiler_static_FC='-qstaticlink' 13899 ;; 13900 *) 13901 case `$CC -V 2>&1 | sed 5q` in 13902 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 13903 # Sun Fortran 8.3 passes all unrecognized flags to the linker 13904 lt_prog_compiler_pic_FC='-KPIC' 13905 lt_prog_compiler_static_FC='-Bstatic' 13906 lt_prog_compiler_wl_FC='' 13907 ;; 13908 *Sun\ F* | *Sun*Fortran*) 13909 lt_prog_compiler_pic_FC='-KPIC' 13910 lt_prog_compiler_static_FC='-Bstatic' 13911 lt_prog_compiler_wl_FC='-Qoption ld ' 13912 ;; 13913 *Sun\ C*) 13914 # Sun C 5.9 13915 lt_prog_compiler_pic_FC='-KPIC' 13916 lt_prog_compiler_static_FC='-Bstatic' 13917 lt_prog_compiler_wl_FC='-Wl,' 13918 ;; 13919 *Intel*\ [CF]*Compiler*) 13920 lt_prog_compiler_wl_FC='-Wl,' 13921 lt_prog_compiler_pic_FC='-fPIC' 13922 lt_prog_compiler_static_FC='-static' 13923 ;; 13924 *Portland\ Group*) 13925 lt_prog_compiler_wl_FC='-Wl,' 13926 lt_prog_compiler_pic_FC='-fpic' 13927 lt_prog_compiler_static_FC='-Bstatic' 13928 ;; 13929 esac 13930 ;; 13931 esac 13932 ;; 13933 13934 newsos6) 13935 lt_prog_compiler_pic_FC='-KPIC' 13936 lt_prog_compiler_static_FC='-Bstatic' 13937 ;; 13938 13939 *nto* | *qnx*) 13940 # QNX uses GNU C++, but need to define -shared option too, otherwise 13941 # it will coredump. 13942 lt_prog_compiler_pic_FC='-fPIC -shared' 13943 ;; 13944 13945 osf3* | osf4* | osf5*) 13946 lt_prog_compiler_wl_FC='-Wl,' 13947 # All OSF/1 code is PIC. 13948 lt_prog_compiler_static_FC='-non_shared' 13949 ;; 13950 13951 rdos*) 13952 lt_prog_compiler_static_FC='-non_shared' 13953 ;; 13954 13955 solaris*) 13956 lt_prog_compiler_pic_FC='-KPIC' 13957 lt_prog_compiler_static_FC='-Bstatic' 13958 case $cc_basename in 13959 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 13960 lt_prog_compiler_wl_FC='-Qoption ld ';; 13961 *) 13962 lt_prog_compiler_wl_FC='-Wl,';; 13963 esac 13964 ;; 13965 13966 sunos4*) 13967 lt_prog_compiler_wl_FC='-Qoption ld ' 13968 lt_prog_compiler_pic_FC='-PIC' 13969 lt_prog_compiler_static_FC='-Bstatic' 13970 ;; 13971 13972 sysv4 | sysv4.2uw2* | sysv4.3*) 13973 lt_prog_compiler_wl_FC='-Wl,' 13974 lt_prog_compiler_pic_FC='-KPIC' 13975 lt_prog_compiler_static_FC='-Bstatic' 13976 ;; 13977 13978 sysv4*MP*) 13979 if test -d /usr/nec; then 13980 lt_prog_compiler_pic_FC='-Kconform_pic' 13981 lt_prog_compiler_static_FC='-Bstatic' 13982 fi 13983 ;; 13984 13985 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 13986 lt_prog_compiler_wl_FC='-Wl,' 13987 lt_prog_compiler_pic_FC='-KPIC' 13988 lt_prog_compiler_static_FC='-Bstatic' 13989 ;; 13990 13991 unicos*) 13992 lt_prog_compiler_wl_FC='-Wl,' 13993 lt_prog_compiler_can_build_shared_FC=no 13994 ;; 13995 13996 uts4*) 13997 lt_prog_compiler_pic_FC='-pic' 13998 lt_prog_compiler_static_FC='-Bstatic' 13999 ;; 14000 14001 *) 14002 lt_prog_compiler_can_build_shared_FC=no 14003 ;; 14004 esac 14005 fi 14006 14007case $host_os in 14008 # For platforms that do not support PIC, -DPIC is meaningless: 14009 *djgpp*) 14010 lt_prog_compiler_pic_FC= 14011 ;; 14012 *) 14013 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC" 14014 ;; 14015esac 14016 14017{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 14018printf %s "checking for $compiler option to produce PIC... " >&6; } 14019if test ${lt_cv_prog_compiler_pic_FC+y} 14020then : 14021 printf %s "(cached) " >&6 14022else $as_nop 14023 lt_cv_prog_compiler_pic_FC=$lt_prog_compiler_pic_FC 14024fi 14025{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_FC" >&5 14026printf "%s\n" "$lt_cv_prog_compiler_pic_FC" >&6; } 14027lt_prog_compiler_pic_FC=$lt_cv_prog_compiler_pic_FC 14028 14029# 14030# Check to make sure the PIC flag actually works. 14031# 14032if test -n "$lt_prog_compiler_pic_FC"; then 14033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5 14034printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; } 14035if test ${lt_cv_prog_compiler_pic_works_FC+y} 14036then : 14037 printf %s "(cached) " >&6 14038else $as_nop 14039 lt_cv_prog_compiler_pic_works_FC=no 14040 ac_outfile=conftest.$ac_objext 14041 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14042 lt_compiler_flag="$lt_prog_compiler_pic_FC" ## exclude from sc_useless_quotes_in_assignment 14043 # Insert the option either (1) after the last *FLAGS variable, or 14044 # (2) before a word containing "conftest.", or (3) at the end. 14045 # Note that $ac_compile itself does not contain backslashes and begins 14046 # with a dollar sign (not a hyphen), so the echo should work correctly. 14047 # The option is referenced via a variable to avoid confusing sed. 14048 lt_compile=`echo "$ac_compile" | $SED \ 14049 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14051 -e 's:$: $lt_compiler_flag:'` 14052 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14053 (eval "$lt_compile" 2>conftest.err) 14054 ac_status=$? 14055 cat conftest.err >&5 14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14057 if (exit $ac_status) && test -s "$ac_outfile"; then 14058 # The compiler can only warn and ignore the option if not recognized 14059 # So say no if there are warnings other than the usual output. 14060 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 14061 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14062 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14063 lt_cv_prog_compiler_pic_works_FC=yes 14064 fi 14065 fi 14066 $RM conftest* 14067 14068fi 14069{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5 14070printf "%s\n" "$lt_cv_prog_compiler_pic_works_FC" >&6; } 14071 14072if test yes = "$lt_cv_prog_compiler_pic_works_FC"; then 14073 case $lt_prog_compiler_pic_FC in 14074 "" | " "*) ;; 14075 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;; 14076 esac 14077else 14078 lt_prog_compiler_pic_FC= 14079 lt_prog_compiler_can_build_shared_FC=no 14080fi 14081 14082fi 14083 14084 14085 14086 14087 14088# 14089# Check to make sure the static flag actually works. 14090# 14091wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\" 14092{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14093printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14094if test ${lt_cv_prog_compiler_static_works_FC+y} 14095then : 14096 printf %s "(cached) " >&6 14097else $as_nop 14098 lt_cv_prog_compiler_static_works_FC=no 14099 save_LDFLAGS=$LDFLAGS 14100 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14101 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14102 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14103 # The linker can only warn and ignore the option if not recognized 14104 # So say no if there are warnings 14105 if test -s conftest.err; then 14106 # Append any errors to the config.log. 14107 cat conftest.err 1>&5 14108 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14109 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14110 if diff conftest.exp conftest.er2 >/dev/null; then 14111 lt_cv_prog_compiler_static_works_FC=yes 14112 fi 14113 else 14114 lt_cv_prog_compiler_static_works_FC=yes 14115 fi 14116 fi 14117 $RM -r conftest* 14118 LDFLAGS=$save_LDFLAGS 14119 14120fi 14121{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5 14122printf "%s\n" "$lt_cv_prog_compiler_static_works_FC" >&6; } 14123 14124if test yes = "$lt_cv_prog_compiler_static_works_FC"; then 14125 : 14126else 14127 lt_prog_compiler_static_FC= 14128fi 14129 14130 14131 14132 14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14134printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14135if test ${lt_cv_prog_compiler_c_o_FC+y} 14136then : 14137 printf %s "(cached) " >&6 14138else $as_nop 14139 lt_cv_prog_compiler_c_o_FC=no 14140 $RM -r conftest 2>/dev/null 14141 mkdir conftest 14142 cd conftest 14143 mkdir out 14144 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14145 14146 lt_compiler_flag="-o out/conftest2.$ac_objext" 14147 # Insert the option either (1) after the last *FLAGS variable, or 14148 # (2) before a word containing "conftest.", or (3) at the end. 14149 # Note that $ac_compile itself does not contain backslashes and begins 14150 # with a dollar sign (not a hyphen), so the echo should work correctly. 14151 lt_compile=`echo "$ac_compile" | $SED \ 14152 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14153 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14154 -e 's:$: $lt_compiler_flag:'` 14155 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14156 (eval "$lt_compile" 2>out/conftest.err) 14157 ac_status=$? 14158 cat out/conftest.err >&5 14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14160 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14161 then 14162 # The compiler can only warn and ignore the option if not recognized 14163 # So say no if there are warnings 14164 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14165 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14166 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14167 lt_cv_prog_compiler_c_o_FC=yes 14168 fi 14169 fi 14170 chmod u+w . 2>&5 14171 $RM conftest* 14172 # SGI C++ compiler will create directory out/ii_files/ for 14173 # template instantiation 14174 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14175 $RM out/* && rmdir out 14176 cd .. 14177 $RM -r conftest 14178 $RM conftest* 14179 14180fi 14181{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5 14182printf "%s\n" "$lt_cv_prog_compiler_c_o_FC" >&6; } 14183 14184 14185 14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14187printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14188if test ${lt_cv_prog_compiler_c_o_FC+y} 14189then : 14190 printf %s "(cached) " >&6 14191else $as_nop 14192 lt_cv_prog_compiler_c_o_FC=no 14193 $RM -r conftest 2>/dev/null 14194 mkdir conftest 14195 cd conftest 14196 mkdir out 14197 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14198 14199 lt_compiler_flag="-o out/conftest2.$ac_objext" 14200 # Insert the option either (1) after the last *FLAGS variable, or 14201 # (2) before a word containing "conftest.", or (3) at the end. 14202 # Note that $ac_compile itself does not contain backslashes and begins 14203 # with a dollar sign (not a hyphen), so the echo should work correctly. 14204 lt_compile=`echo "$ac_compile" | $SED \ 14205 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14207 -e 's:$: $lt_compiler_flag:'` 14208 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14209 (eval "$lt_compile" 2>out/conftest.err) 14210 ac_status=$? 14211 cat out/conftest.err >&5 14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14213 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14214 then 14215 # The compiler can only warn and ignore the option if not recognized 14216 # So say no if there are warnings 14217 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14218 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14219 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14220 lt_cv_prog_compiler_c_o_FC=yes 14221 fi 14222 fi 14223 chmod u+w . 2>&5 14224 $RM conftest* 14225 # SGI C++ compiler will create directory out/ii_files/ for 14226 # template instantiation 14227 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14228 $RM out/* && rmdir out 14229 cd .. 14230 $RM -r conftest 14231 $RM conftest* 14232 14233fi 14234{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5 14235printf "%s\n" "$lt_cv_prog_compiler_c_o_FC" >&6; } 14236 14237 14238 14239 14240hard_links=nottested 14241if test no = "$lt_cv_prog_compiler_c_o_FC" && test no != "$need_locks"; then 14242 # do not overwrite the value of need_locks provided by the user 14243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14244printf %s "checking if we can lock with hard links... " >&6; } 14245 hard_links=yes 14246 $RM conftest* 14247 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14248 touch conftest.a 14249 ln conftest.a conftest.b 2>&5 || hard_links=no 14250 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14252printf "%s\n" "$hard_links" >&6; } 14253 if test no = "$hard_links"; then 14254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 14255printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 14256 need_locks=warn 14257 fi 14258else 14259 need_locks=no 14260fi 14261 14262 14263 14264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14265printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14266 14267 runpath_var= 14268 allow_undefined_flag_FC= 14269 always_export_symbols_FC=no 14270 archive_cmds_FC= 14271 archive_expsym_cmds_FC= 14272 compiler_needs_object_FC=no 14273 enable_shared_with_static_runtimes_FC=no 14274 export_dynamic_flag_spec_FC= 14275 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14276 hardcode_automatic_FC=no 14277 hardcode_direct_FC=no 14278 hardcode_direct_absolute_FC=no 14279 hardcode_libdir_flag_spec_FC= 14280 hardcode_libdir_separator_FC= 14281 hardcode_minus_L_FC=no 14282 hardcode_shlibpath_var_FC=unsupported 14283 inherit_rpath_FC=no 14284 link_all_deplibs_FC=unknown 14285 module_cmds_FC= 14286 module_expsym_cmds_FC= 14287 old_archive_from_new_cmds_FC= 14288 old_archive_from_expsyms_cmds_FC= 14289 thread_safe_flag_spec_FC= 14290 whole_archive_flag_spec_FC= 14291 # include_expsyms should be a list of space-separated symbols to be *always* 14292 # included in the symbol list 14293 include_expsyms_FC= 14294 # exclude_expsyms can be an extended regexp of symbols to exclude 14295 # it will be wrapped by ' (' and ')$', so one must not match beginning or 14296 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 14297 # as well as any symbol that contains 'd'. 14298 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14299 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 14300 # platforms (ab)use it in PIC code, but their linkers get confused if 14301 # the symbol is explicitly referenced. Since portable code cannot 14302 # rely on this symbol name, it's probably fine to never include it in 14303 # preloaded symbol tables. 14304 # Exclude shared library initialization/finalization symbols. 14305 extract_expsyms_cmds= 14306 14307 case $host_os in 14308 cygwin* | mingw* | pw32* | cegcc*) 14309 # FIXME: the MSVC++ port hasn't been tested in a loooong time 14310 # When not using gcc, we currently assume that we are using 14311 # Microsoft Visual C++. 14312 if test yes != "$GCC"; then 14313 with_gnu_ld=no 14314 fi 14315 ;; 14316 interix*) 14317 # we just hope/assume this is gcc and not c89 (= MSVC++) 14318 with_gnu_ld=yes 14319 ;; 14320 openbsd* | bitrig*) 14321 with_gnu_ld=no 14322 ;; 14323 linux* | k*bsd*-gnu | gnu*) 14324 link_all_deplibs_FC=no 14325 ;; 14326 esac 14327 14328 ld_shlibs_FC=yes 14329 14330 # On some targets, GNU ld is compatible enough with the native linker 14331 # that we're better off using the native interface for both. 14332 lt_use_gnu_ld_interface=no 14333 if test yes = "$with_gnu_ld"; then 14334 case $host_os in 14335 aix*) 14336 # The AIX port of GNU ld has always aspired to compatibility 14337 # with the native linker. However, as the warning in the GNU ld 14338 # block says, versions before 2.19.5* couldn't really create working 14339 # shared libraries, regardless of the interface used. 14340 case `$LD -v 2>&1` in 14341 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 14342 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 14343 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 14344 *) 14345 lt_use_gnu_ld_interface=yes 14346 ;; 14347 esac 14348 ;; 14349 *) 14350 lt_use_gnu_ld_interface=yes 14351 ;; 14352 esac 14353 fi 14354 14355 if test yes = "$lt_use_gnu_ld_interface"; then 14356 # If archive_cmds runs LD, not CC, wlarc should be empty 14357 wlarc='$wl' 14358 14359 # Set some defaults for GNU ld with shared library support. These 14360 # are reset later if shared libraries are not supported. Putting them 14361 # here allows them to be overridden if necessary. 14362 runpath_var=LD_RUN_PATH 14363 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir' 14364 export_dynamic_flag_spec_FC='$wl--export-dynamic' 14365 # ancient GNU ld didn't support --whole-archive et. al. 14366 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 14367 whole_archive_flag_spec_FC=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14368 else 14369 whole_archive_flag_spec_FC= 14370 fi 14371 supports_anon_versioning=no 14372 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 14373 *GNU\ gold*) supports_anon_versioning=yes ;; 14374 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 14375 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 14376 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 14377 *\ 2.11.*) ;; # other 2.11 versions 14378 *) supports_anon_versioning=yes ;; 14379 esac 14380 14381 # See if GNU ld supports shared libraries. 14382 case $host_os in 14383 aix[3-9]*) 14384 # On AIX/PPC, the GNU linker is very broken 14385 if test ia64 != "$host_cpu"; then 14386 ld_shlibs_FC=no 14387 cat <<_LT_EOF 1>&2 14388 14389*** Warning: the GNU linker, at least up to release 2.19, is reported 14390*** to be unable to reliably create shared libraries on AIX. 14391*** Therefore, libtool is disabling shared libraries support. If you 14392*** really care for shared libraries, you may want to install binutils 14393*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 14394*** You will then need to restart the configuration process. 14395 14396_LT_EOF 14397 fi 14398 ;; 14399 14400 amigaos*) 14401 case $host_cpu in 14402 powerpc) 14403 # see comment about AmigaOS4 .so support 14404 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14405 archive_expsym_cmds_FC='' 14406 ;; 14407 m68k) 14408 archive_cmds_FC='$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)' 14409 hardcode_libdir_flag_spec_FC='-L$libdir' 14410 hardcode_minus_L_FC=yes 14411 ;; 14412 esac 14413 ;; 14414 14415 beos*) 14416 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14417 allow_undefined_flag_FC=unsupported 14418 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14419 # support --undefined. This deserves some investigation. FIXME 14420 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14421 else 14422 ld_shlibs_FC=no 14423 fi 14424 ;; 14425 14426 cygwin* | mingw* | pw32* | cegcc*) 14427 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless, 14428 # as there is no search path for DLLs. 14429 hardcode_libdir_flag_spec_FC='-L$libdir' 14430 export_dynamic_flag_spec_FC='$wl--export-all-symbols' 14431 allow_undefined_flag_FC=unsupported 14432 always_export_symbols_FC=no 14433 enable_shared_with_static_runtimes_FC=yes 14434 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 14435 exclude_expsyms_FC='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 14436 14437 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14438 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14439 # If the export-symbols file already is a .def file, use it as 14440 # is; otherwise, prepend EXPORTS... 14441 archive_expsym_cmds_FC='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14442 cp $export_symbols $output_objdir/$soname.def; 14443 else 14444 echo EXPORTS > $output_objdir/$soname.def; 14445 cat $export_symbols >> $output_objdir/$soname.def; 14446 fi~ 14447 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14448 else 14449 ld_shlibs_FC=no 14450 fi 14451 ;; 14452 14453 haiku*) 14454 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14455 link_all_deplibs_FC=yes 14456 ;; 14457 14458 os2*) 14459 hardcode_libdir_flag_spec_FC='-L$libdir' 14460 hardcode_minus_L_FC=yes 14461 allow_undefined_flag_FC=unsupported 14462 shrext_cmds=.dll 14463 archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14464 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14465 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14466 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14467 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14468 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14469 emximp -o $lib $output_objdir/$libname.def' 14470 archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14471 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14472 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14473 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14474 prefix_cmds="$SED"~ 14475 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14476 prefix_cmds="$prefix_cmds -e 1d"; 14477 fi~ 14478 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14479 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14480 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14481 emximp -o $lib $output_objdir/$libname.def' 14482 old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14483 enable_shared_with_static_runtimes_FC=yes 14484 ;; 14485 14486 interix[3-9]*) 14487 hardcode_direct_FC=no 14488 hardcode_shlibpath_var_FC=no 14489 hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir' 14490 export_dynamic_flag_spec_FC='$wl-E' 14491 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14492 # Instead, shared libraries are loaded at an image base (0x10000000 by 14493 # default) and relocated if they conflict, which is a slow very memory 14494 # consuming and fragmenting process. To avoid this, we pick a random, 14495 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14496 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14497 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14498 archive_expsym_cmds_FC='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' 14499 ;; 14500 14501 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 14502 tmp_diet=no 14503 if test linux-dietlibc = "$host_os"; then 14504 case $cc_basename in 14505 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 14506 esac 14507 fi 14508 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 14509 && test no = "$tmp_diet" 14510 then 14511 tmp_addflag=' $pic_flag' 14512 tmp_sharedflag='-shared' 14513 case $cc_basename,$host_cpu in 14514 pgcc*) # Portland Group C compiler 14515 whole_archive_flag_spec_FC='$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' 14516 tmp_addflag=' $pic_flag' 14517 ;; 14518 pgf77* | pgf90* | pgf95* | pgfortran*) 14519 # Portland Group f77 and f90 compilers 14520 whole_archive_flag_spec_FC='$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' 14521 tmp_addflag=' $pic_flag -Mnomain' ;; 14522 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 14523 tmp_addflag=' -i_dynamic' ;; 14524 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 14525 tmp_addflag=' -i_dynamic -nofor_main' ;; 14526 ifc* | ifort*) # Intel Fortran compiler 14527 tmp_addflag=' -nofor_main' ;; 14528 lf95*) # Lahey Fortran 8.1 14529 whole_archive_flag_spec_FC= 14530 tmp_sharedflag='--shared' ;; 14531 nagfor*) # NAGFOR 5.3 14532 tmp_sharedflag='-Wl,-shared' ;; 14533 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 14534 tmp_sharedflag='-qmkshrobj' 14535 tmp_addflag= ;; 14536 nvcc*) # Cuda Compiler Driver 2.2 14537 whole_archive_flag_spec_FC='$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' 14538 compiler_needs_object_FC=yes 14539 ;; 14540 esac 14541 case `$CC -V 2>&1 | sed 5q` in 14542 *Sun\ C*) # Sun C 5.9 14543 whole_archive_flag_spec_FC='$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' 14544 compiler_needs_object_FC=yes 14545 tmp_sharedflag='-G' ;; 14546 *Sun\ F*) # Sun Fortran 8.3 14547 tmp_sharedflag='-G' ;; 14548 esac 14549 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14550 14551 if test yes = "$supports_anon_versioning"; then 14552 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~ 14553 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14554 echo "local: *; };" >> $output_objdir/$libname.ver~ 14555 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14556 fi 14557 14558 case $cc_basename in 14559 tcc*) 14560 export_dynamic_flag_spec_FC='-rdynamic' 14561 ;; 14562 xlf* | bgf* | bgxlf* | mpixlf*) 14563 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 14564 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive' 14565 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir' 14566 archive_cmds_FC='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 14567 if test yes = "$supports_anon_versioning"; then 14568 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~ 14569 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14570 echo "local: *; };" >> $output_objdir/$libname.ver~ 14571 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 14572 fi 14573 ;; 14574 esac 14575 else 14576 ld_shlibs_FC=no 14577 fi 14578 ;; 14579 14580 netbsd* | netbsdelf*-gnu) 14581 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14582 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 14583 wlarc= 14584 else 14585 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14586 archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14587 fi 14588 ;; 14589 14590 solaris*) 14591 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 14592 ld_shlibs_FC=no 14593 cat <<_LT_EOF 1>&2 14594 14595*** Warning: The releases 2.8.* of the GNU linker cannot reliably 14596*** create shared libraries on Solaris systems. Therefore, libtool 14597*** is disabling shared libraries support. We urge you to upgrade GNU 14598*** binutils to release 2.9.1 or newer. Another option is to modify 14599*** your PATH or compiler configuration so that the native linker is 14600*** used, and then restart. 14601 14602_LT_EOF 14603 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14604 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14605 archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14606 else 14607 ld_shlibs_FC=no 14608 fi 14609 ;; 14610 14611 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 14612 case `$LD -v 2>&1` in 14613 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 14614 ld_shlibs_FC=no 14615 cat <<_LT_EOF 1>&2 14616 14617*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 14618*** reliably create shared libraries on SCO systems. Therefore, libtool 14619*** is disabling shared libraries support. We urge you to upgrade GNU 14620*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 14621*** your PATH or compiler configuration so that the native linker is 14622*** used, and then restart. 14623 14624_LT_EOF 14625 ;; 14626 *) 14627 # For security reasons, it is highly recommended that you always 14628 # use absolute paths for naming shared libraries, and exclude the 14629 # DT_RUNPATH tag from executables and libraries. But doing so 14630 # requires that you compile everything twice, which is a pain. 14631 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14632 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir' 14633 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14634 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14635 else 14636 ld_shlibs_FC=no 14637 fi 14638 ;; 14639 esac 14640 ;; 14641 14642 sunos4*) 14643 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14644 wlarc= 14645 hardcode_direct_FC=yes 14646 hardcode_shlibpath_var_FC=no 14647 ;; 14648 14649 *) 14650 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14651 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14652 archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14653 else 14654 ld_shlibs_FC=no 14655 fi 14656 ;; 14657 esac 14658 14659 if test no = "$ld_shlibs_FC"; then 14660 runpath_var= 14661 hardcode_libdir_flag_spec_FC= 14662 export_dynamic_flag_spec_FC= 14663 whole_archive_flag_spec_FC= 14664 fi 14665 else 14666 # PORTME fill in a description of your system's linker (not GNU ld) 14667 case $host_os in 14668 aix3*) 14669 allow_undefined_flag_FC=unsupported 14670 always_export_symbols_FC=yes 14671 archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 14672 # Note: this linker hardcodes the directories in LIBPATH if there 14673 # are no directories specified by -L. 14674 hardcode_minus_L_FC=yes 14675 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 14676 # Neither direct hardcoding nor static linking is supported with a 14677 # broken collect2. 14678 hardcode_direct_FC=unsupported 14679 fi 14680 ;; 14681 14682 aix[4-9]*) 14683 if test ia64 = "$host_cpu"; then 14684 # On IA64, the linker does run time linking by default, so we don't 14685 # have to do anything special. 14686 aix_use_runtimelinking=no 14687 exp_sym_flag='-Bexport' 14688 no_entry_flag= 14689 else 14690 # If we're using GNU nm, then we don't want the "-C" option. 14691 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 14692 # Without the "-l" option, or with the "-B" option, AIX nm treats 14693 # weak defined symbols like other global defined symbols, whereas 14694 # GNU nm marks them as "W". 14695 # While the 'weak' keyword is ignored in the Export File, we need 14696 # it in the Import File for the 'aix-soname' feature, so we have 14697 # to replace the "-B" option with "-P" for AIX nm. 14698 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14699 export_symbols_cmds_FC='$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' 14700 else 14701 export_symbols_cmds_FC='`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' 14702 fi 14703 aix_use_runtimelinking=no 14704 14705 # Test if we are trying to use run time linking or normal 14706 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14707 # have runtime linking enabled, and use it for executables. 14708 # For shared libraries, we enable/disable runtime linking 14709 # depending on the kind of the shared library created - 14710 # when "with_aix_soname,aix_use_runtimelinking" is: 14711 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14712 # "aix,yes" lib.so shared, rtl:yes, for executables 14713 # lib.a static archive 14714 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14715 # lib.a(lib.so.V) shared, rtl:no, for executables 14716 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14717 # lib.a(lib.so.V) shared, rtl:no 14718 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14719 # lib.a static archive 14720 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14721 for ld_flag in $LDFLAGS; do 14722 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 14723 aix_use_runtimelinking=yes 14724 break 14725 fi 14726 done 14727 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14728 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14729 # so we don't have lib.a shared libs to link our executables. 14730 # We have to force runtime linking in this case. 14731 aix_use_runtimelinking=yes 14732 LDFLAGS="$LDFLAGS -Wl,-brtl" 14733 fi 14734 ;; 14735 esac 14736 14737 exp_sym_flag='-bexport' 14738 no_entry_flag='-bnoentry' 14739 fi 14740 14741 # When large executables or shared objects are built, AIX ld can 14742 # have problems creating the table of contents. If linking a library 14743 # or program results in "error TOC overflow" add -mminimal-toc to 14744 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14745 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14746 14747 archive_cmds_FC='' 14748 hardcode_direct_FC=yes 14749 hardcode_direct_absolute_FC=yes 14750 hardcode_libdir_separator_FC=':' 14751 link_all_deplibs_FC=yes 14752 file_list_spec_FC='$wl-f,' 14753 case $with_aix_soname,$aix_use_runtimelinking in 14754 aix,*) ;; # traditional, no import file 14755 svr4,* | *,yes) # use import file 14756 # The Import File defines what to hardcode. 14757 hardcode_direct_FC=no 14758 hardcode_direct_absolute_FC=no 14759 ;; 14760 esac 14761 14762 if test yes = "$GCC"; then 14763 case $host_os in aix4.[012]|aix4.[012].*) 14764 # We only want to do this on AIX 4.2 and lower, the check 14765 # below for broken collect2 doesn't work under 4.3+ 14766 collect2name=`$CC -print-prog-name=collect2` 14767 if test -f "$collect2name" && 14768 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14769 then 14770 # We have reworked collect2 14771 : 14772 else 14773 # We have old collect2 14774 hardcode_direct_FC=unsupported 14775 # It fails to find uninstalled libraries when the uninstalled 14776 # path is not listed in the libpath. Setting hardcode_minus_L 14777 # to unsupported forces relinking 14778 hardcode_minus_L_FC=yes 14779 hardcode_libdir_flag_spec_FC='-L$libdir' 14780 hardcode_libdir_separator_FC= 14781 fi 14782 ;; 14783 esac 14784 shared_flag='-shared' 14785 if test yes = "$aix_use_runtimelinking"; then 14786 shared_flag="$shared_flag "'$wl-G' 14787 fi 14788 # Need to ensure runtime linking is disabled for the traditional 14789 # shared library, or the linker may eventually find shared libraries 14790 # /with/ Import File - we do not want to mix them. 14791 shared_flag_aix='-shared' 14792 shared_flag_svr4='-shared $wl-G' 14793 else 14794 # not using gcc 14795 if test ia64 = "$host_cpu"; then 14796 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14797 # chokes on -Wl,-G. The following line is correct: 14798 shared_flag='-G' 14799 else 14800 if test yes = "$aix_use_runtimelinking"; then 14801 shared_flag='$wl-G' 14802 else 14803 shared_flag='$wl-bM:SRE' 14804 fi 14805 shared_flag_aix='$wl-bM:SRE' 14806 shared_flag_svr4='$wl-G' 14807 fi 14808 fi 14809 14810 export_dynamic_flag_spec_FC='$wl-bexpall' 14811 # It seems that -bexpall does not export symbols beginning with 14812 # underscore (_), so it is better to generate a list of symbols to export. 14813 always_export_symbols_FC=yes 14814 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14815 # Warning - without using the other runtime loading flags (-brtl), 14816 # -berok will link without error, but may produce a broken library. 14817 allow_undefined_flag_FC='-berok' 14818 # Determine the default libpath from the value encoded in an 14819 # empty executable. 14820 if test set = "${lt_cv_aix_libpath+set}"; then 14821 aix_libpath=$lt_cv_aix_libpath 14822else 14823 if test ${lt_cv_aix_libpath__FC+y} 14824then : 14825 printf %s "(cached) " >&6 14826else $as_nop 14827 cat > conftest.$ac_ext <<_ACEOF 14828 program main 14829 14830 end 14831_ACEOF 14832if ac_fn_fc_try_link "$LINENO" 14833then : 14834 14835 lt_aix_libpath_sed=' 14836 /Import File Strings/,/^$/ { 14837 /^0/ { 14838 s/^0 *\([^ ]*\) *$/\1/ 14839 p 14840 } 14841 }' 14842 lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14843 # Check for a 64-bit object if we didn't find anything. 14844 if test -z "$lt_cv_aix_libpath__FC"; then 14845 lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14846 fi 14847fi 14848rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14849 conftest$ac_exeext conftest.$ac_ext 14850 if test -z "$lt_cv_aix_libpath__FC"; then 14851 lt_cv_aix_libpath__FC=/usr/lib:/lib 14852 fi 14853 14854fi 14855 14856 aix_libpath=$lt_cv_aix_libpath__FC 14857fi 14858 14859 hardcode_libdir_flag_spec_FC='$wl-blibpath:$libdir:'"$aix_libpath" 14860 archive_expsym_cmds_FC='$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 14861 else 14862 if test ia64 = "$host_cpu"; then 14863 hardcode_libdir_flag_spec_FC='$wl-R $libdir:/usr/lib:/lib' 14864 allow_undefined_flag_FC="-z nodefs" 14865 archive_expsym_cmds_FC="\$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" 14866 else 14867 # Determine the default libpath from the value encoded in an 14868 # empty executable. 14869 if test set = "${lt_cv_aix_libpath+set}"; then 14870 aix_libpath=$lt_cv_aix_libpath 14871else 14872 if test ${lt_cv_aix_libpath__FC+y} 14873then : 14874 printf %s "(cached) " >&6 14875else $as_nop 14876 cat > conftest.$ac_ext <<_ACEOF 14877 program main 14878 14879 end 14880_ACEOF 14881if ac_fn_fc_try_link "$LINENO" 14882then : 14883 14884 lt_aix_libpath_sed=' 14885 /Import File Strings/,/^$/ { 14886 /^0/ { 14887 s/^0 *\([^ ]*\) *$/\1/ 14888 p 14889 } 14890 }' 14891 lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14892 # Check for a 64-bit object if we didn't find anything. 14893 if test -z "$lt_cv_aix_libpath__FC"; then 14894 lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14895 fi 14896fi 14897rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14898 conftest$ac_exeext conftest.$ac_ext 14899 if test -z "$lt_cv_aix_libpath__FC"; then 14900 lt_cv_aix_libpath__FC=/usr/lib:/lib 14901 fi 14902 14903fi 14904 14905 aix_libpath=$lt_cv_aix_libpath__FC 14906fi 14907 14908 hardcode_libdir_flag_spec_FC='$wl-blibpath:$libdir:'"$aix_libpath" 14909 # Warning - without using the other run time loading flags, 14910 # -berok will link without error, but may produce a broken library. 14911 no_undefined_flag_FC=' $wl-bernotok' 14912 allow_undefined_flag_FC=' $wl-berok' 14913 if test yes = "$with_gnu_ld"; then 14914 # We only use this code for GNU lds that support --whole-archive. 14915 whole_archive_flag_spec_FC='$wl--whole-archive$convenience $wl--no-whole-archive' 14916 else 14917 # Exported symbols can be pulled into shared objects from archives 14918 whole_archive_flag_spec_FC='$convenience' 14919 fi 14920 archive_cmds_need_lc_FC=yes 14921 archive_expsym_cmds_FC='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14922 # -brtl affects multiple linker settings, -berok does not and is overridden later 14923 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14924 if test svr4 != "$with_aix_soname"; then 14925 # This is similar to how AIX traditionally builds its shared libraries. 14926 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$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' 14927 fi 14928 if test aix != "$with_aix_soname"; then 14929 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$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' 14930 else 14931 # used by -dlpreopen to get the symbols 14932 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14933 fi 14934 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$RM -r $output_objdir/$realname.d' 14935 fi 14936 fi 14937 ;; 14938 14939 amigaos*) 14940 case $host_cpu in 14941 powerpc) 14942 # see comment about AmigaOS4 .so support 14943 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14944 archive_expsym_cmds_FC='' 14945 ;; 14946 m68k) 14947 archive_cmds_FC='$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)' 14948 hardcode_libdir_flag_spec_FC='-L$libdir' 14949 hardcode_minus_L_FC=yes 14950 ;; 14951 esac 14952 ;; 14953 14954 bsdi[45]*) 14955 export_dynamic_flag_spec_FC=-rdynamic 14956 ;; 14957 14958 cygwin* | mingw* | pw32* | cegcc*) 14959 # When not using gcc, we currently assume that we are using 14960 # Microsoft Visual C++. 14961 # hardcode_libdir_flag_spec is actually meaningless, as there is 14962 # no search path for DLLs. 14963 case $cc_basename in 14964 cl*) 14965 # Native MSVC 14966 hardcode_libdir_flag_spec_FC=' ' 14967 allow_undefined_flag_FC=unsupported 14968 always_export_symbols_FC=yes 14969 file_list_spec_FC='@' 14970 # Tell ltmain to make .lib files, not .a files. 14971 libext=lib 14972 # Tell ltmain to make .dll files, not .so files. 14973 shrext_cmds=.dll 14974 # FIXME: Setting linknames here is a bad hack. 14975 archive_cmds_FC='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14976 archive_expsym_cmds_FC='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14977 cp "$export_symbols" "$output_objdir/$soname.def"; 14978 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14979 else 14980 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14981 fi~ 14982 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14983 linknames=' 14984 # The linker will not automatically build a static lib if we build a DLL. 14985 # _LT_TAGVAR(old_archive_from_new_cmds, FC)='true' 14986 enable_shared_with_static_runtimes_FC=yes 14987 exclude_expsyms_FC='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 14988 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 14989 # Don't use ranlib 14990 old_postinstall_cmds_FC='chmod 644 $oldlib' 14991 postlink_cmds_FC='lt_outputfile="@OUTPUT@"~ 14992 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14993 case $lt_outputfile in 14994 *.exe|*.EXE) ;; 14995 *) 14996 lt_outputfile=$lt_outputfile.exe 14997 lt_tool_outputfile=$lt_tool_outputfile.exe 14998 ;; 14999 esac~ 15000 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 15001 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 15002 $RM "$lt_outputfile.manifest"; 15003 fi' 15004 ;; 15005 *) 15006 # Assume MSVC wrapper 15007 hardcode_libdir_flag_spec_FC=' ' 15008 allow_undefined_flag_FC=unsupported 15009 # Tell ltmain to make .lib files, not .a files. 15010 libext=lib 15011 # Tell ltmain to make .dll files, not .so files. 15012 shrext_cmds=.dll 15013 # FIXME: Setting linknames here is a bad hack. 15014 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 15015 # The linker will automatically build a .lib file if we build a DLL. 15016 old_archive_from_new_cmds_FC='true' 15017 # FIXME: Should let the user specify the lib program. 15018 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs' 15019 enable_shared_with_static_runtimes_FC=yes 15020 ;; 15021 esac 15022 ;; 15023 15024 darwin* | rhapsody*) 15025 15026 15027 archive_cmds_need_lc_FC=no 15028 hardcode_direct_FC=no 15029 hardcode_automatic_FC=yes 15030 hardcode_shlibpath_var_FC=unsupported 15031 if test yes = "$lt_cv_ld_force_load"; then 15032 whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 15033 compiler_needs_object_FC=yes 15034 else 15035 whole_archive_flag_spec_FC='' 15036 fi 15037 link_all_deplibs_FC=yes 15038 allow_undefined_flag_FC=$_lt_dar_allow_undefined 15039 case $cc_basename in 15040 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 15041 *) _lt_dar_can_shared=$GCC ;; 15042 esac 15043 if test yes = "$_lt_dar_can_shared"; then 15044 output_verbose_link_cmd=func_echo_all 15045 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 15046 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 15047 archive_expsym_cmds_FC="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" 15048 module_expsym_cmds_FC="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" 15049 15050 else 15051 ld_shlibs_FC=no 15052 fi 15053 15054 ;; 15055 15056 dgux*) 15057 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15058 hardcode_libdir_flag_spec_FC='-L$libdir' 15059 hardcode_shlibpath_var_FC=no 15060 ;; 15061 15062 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 15063 # support. Future versions do this automatically, but an explicit c++rt0.o 15064 # does not break anything, and helps significantly (at the cost of a little 15065 # extra space). 15066 freebsd2.2*) 15067 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 15068 hardcode_libdir_flag_spec_FC='-R$libdir' 15069 hardcode_direct_FC=yes 15070 hardcode_shlibpath_var_FC=no 15071 ;; 15072 15073 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 15074 freebsd2.*) 15075 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15076 hardcode_direct_FC=yes 15077 hardcode_minus_L_FC=yes 15078 hardcode_shlibpath_var_FC=no 15079 ;; 15080 15081 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 15082 freebsd* | dragonfly*) 15083 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15084 hardcode_libdir_flag_spec_FC='-R$libdir' 15085 hardcode_direct_FC=yes 15086 hardcode_shlibpath_var_FC=no 15087 ;; 15088 15089 hpux9*) 15090 if test yes = "$GCC"; then 15091 archive_cmds_FC='$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' 15092 else 15093 archive_cmds_FC='$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' 15094 fi 15095 hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir' 15096 hardcode_libdir_separator_FC=: 15097 hardcode_direct_FC=yes 15098 15099 # hardcode_minus_L: Not really in the search PATH, 15100 # but as the default location of the library. 15101 hardcode_minus_L_FC=yes 15102 export_dynamic_flag_spec_FC='$wl-E' 15103 ;; 15104 15105 hpux10*) 15106 if test yes,no = "$GCC,$with_gnu_ld"; then 15107 archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15108 else 15109 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15110 fi 15111 if test no = "$with_gnu_ld"; then 15112 hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir' 15113 hardcode_libdir_separator_FC=: 15114 hardcode_direct_FC=yes 15115 hardcode_direct_absolute_FC=yes 15116 export_dynamic_flag_spec_FC='$wl-E' 15117 # hardcode_minus_L: Not really in the search PATH, 15118 # but as the default location of the library. 15119 hardcode_minus_L_FC=yes 15120 fi 15121 ;; 15122 15123 hpux11*) 15124 if test yes,no = "$GCC,$with_gnu_ld"; then 15125 case $host_cpu in 15126 hppa*64*) 15127 archive_cmds_FC='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 15128 ;; 15129 ia64*) 15130 archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15131 ;; 15132 *) 15133 archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15134 ;; 15135 esac 15136 else 15137 case $host_cpu in 15138 hppa*64*) 15139 archive_cmds_FC='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 15140 ;; 15141 ia64*) 15142 archive_cmds_FC='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15143 ;; 15144 *) 15145 archive_cmds_FC='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15146 ;; 15147 esac 15148 fi 15149 if test no = "$with_gnu_ld"; then 15150 hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir' 15151 hardcode_libdir_separator_FC=: 15152 15153 case $host_cpu in 15154 hppa*64*|ia64*) 15155 hardcode_direct_FC=no 15156 hardcode_shlibpath_var_FC=no 15157 ;; 15158 *) 15159 hardcode_direct_FC=yes 15160 hardcode_direct_absolute_FC=yes 15161 export_dynamic_flag_spec_FC='$wl-E' 15162 15163 # hardcode_minus_L: Not really in the search PATH, 15164 # but as the default location of the library. 15165 hardcode_minus_L_FC=yes 15166 ;; 15167 esac 15168 fi 15169 ;; 15170 15171 irix5* | irix6* | nonstopux*) 15172 if test yes = "$GCC"; then 15173 archive_cmds_FC='$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' 15174 # Try to use the -exported_symbol ld option, if it does not 15175 # work, assume that -exports_file does not work either and 15176 # implicitly export all symbols. 15177 # This should be the same for all languages, so no per-tag cache variable. 15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 15179printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 15180if test ${lt_cv_irix_exported_symbol+y} 15181then : 15182 printf %s "(cached) " >&6 15183else $as_nop 15184 save_LDFLAGS=$LDFLAGS 15185 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 15186 cat > conftest.$ac_ext <<_ACEOF 15187 15188 subroutine foo 15189 end 15190_ACEOF 15191if ac_fn_fc_try_link "$LINENO" 15192then : 15193 lt_cv_irix_exported_symbol=yes 15194else $as_nop 15195 lt_cv_irix_exported_symbol=no 15196fi 15197rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15198 conftest$ac_exeext conftest.$ac_ext 15199 LDFLAGS=$save_LDFLAGS 15200fi 15201{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 15202printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } 15203 if test yes = "$lt_cv_irix_exported_symbol"; then 15204 archive_expsym_cmds_FC='$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' 15205 fi 15206 link_all_deplibs_FC=no 15207 else 15208 archive_cmds_FC='$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' 15209 archive_expsym_cmds_FC='$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' 15210 fi 15211 archive_cmds_need_lc_FC='no' 15212 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir' 15213 hardcode_libdir_separator_FC=: 15214 inherit_rpath_FC=yes 15215 link_all_deplibs_FC=yes 15216 ;; 15217 15218 linux*) 15219 case $cc_basename in 15220 tcc*) 15221 # Fabrice Bellard et al's Tiny C Compiler 15222 ld_shlibs_FC=yes 15223 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15224 ;; 15225 esac 15226 ;; 15227 15228 netbsd* | netbsdelf*-gnu) 15229 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15230 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 15231 else 15232 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 15233 fi 15234 hardcode_libdir_flag_spec_FC='-R$libdir' 15235 hardcode_direct_FC=yes 15236 hardcode_shlibpath_var_FC=no 15237 ;; 15238 15239 newsos6) 15240 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15241 hardcode_direct_FC=yes 15242 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir' 15243 hardcode_libdir_separator_FC=: 15244 hardcode_shlibpath_var_FC=no 15245 ;; 15246 15247 *nto* | *qnx*) 15248 ;; 15249 15250 openbsd* | bitrig*) 15251 if test -f /usr/libexec/ld.so; then 15252 hardcode_direct_FC=yes 15253 hardcode_shlibpath_var_FC=no 15254 hardcode_direct_absolute_FC=yes 15255 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 15256 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15257 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 15258 hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir' 15259 export_dynamic_flag_spec_FC='$wl-E' 15260 else 15261 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15262 hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir' 15263 fi 15264 else 15265 ld_shlibs_FC=no 15266 fi 15267 ;; 15268 15269 os2*) 15270 hardcode_libdir_flag_spec_FC='-L$libdir' 15271 hardcode_minus_L_FC=yes 15272 allow_undefined_flag_FC=unsupported 15273 shrext_cmds=.dll 15274 archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 15275 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 15276 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 15277 $ECHO EXPORTS >> $output_objdir/$libname.def~ 15278 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 15279 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 15280 emximp -o $lib $output_objdir/$libname.def' 15281 archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 15282 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 15283 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 15284 $ECHO EXPORTS >> $output_objdir/$libname.def~ 15285 prefix_cmds="$SED"~ 15286 if test EXPORTS = "`$SED 1q $export_symbols`"; then 15287 prefix_cmds="$prefix_cmds -e 1d"; 15288 fi~ 15289 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 15290 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 15291 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 15292 emximp -o $lib $output_objdir/$libname.def' 15293 old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 15294 enable_shared_with_static_runtimes_FC=yes 15295 ;; 15296 15297 osf3*) 15298 if test yes = "$GCC"; then 15299 allow_undefined_flag_FC=' $wl-expect_unresolved $wl\*' 15300 archive_cmds_FC='$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' 15301 else 15302 allow_undefined_flag_FC=' -expect_unresolved \*' 15303 archive_cmds_FC='$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' 15304 fi 15305 archive_cmds_need_lc_FC='no' 15306 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir' 15307 hardcode_libdir_separator_FC=: 15308 ;; 15309 15310 osf4* | osf5*) # as osf3* with the addition of -msym flag 15311 if test yes = "$GCC"; then 15312 allow_undefined_flag_FC=' $wl-expect_unresolved $wl\*' 15313 archive_cmds_FC='$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' 15314 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir' 15315 else 15316 allow_undefined_flag_FC=' -expect_unresolved \*' 15317 archive_cmds_FC='$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' 15318 archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 15319 $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' 15320 15321 # Both c and cxx compiler support -rpath directly 15322 hardcode_libdir_flag_spec_FC='-rpath $libdir' 15323 fi 15324 archive_cmds_need_lc_FC='no' 15325 hardcode_libdir_separator_FC=: 15326 ;; 15327 15328 solaris*) 15329 no_undefined_flag_FC=' -z defs' 15330 if test yes = "$GCC"; then 15331 wlarc='$wl' 15332 archive_cmds_FC='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 15333 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15334 $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' 15335 else 15336 case `$CC -V 2>&1` in 15337 *"Compilers 5.0"*) 15338 wlarc='' 15339 archive_cmds_FC='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 15340 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15341 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 15342 ;; 15343 *) 15344 wlarc='$wl' 15345 archive_cmds_FC='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 15346 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15347 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 15348 ;; 15349 esac 15350 fi 15351 hardcode_libdir_flag_spec_FC='-R$libdir' 15352 hardcode_shlibpath_var_FC=no 15353 case $host_os in 15354 solaris2.[0-5] | solaris2.[0-5].*) ;; 15355 *) 15356 # The compiler driver will combine and reorder linker options, 15357 # but understands '-z linker_flag'. GCC discards it without '$wl', 15358 # but is careful enough not to reorder. 15359 # Supported since Solaris 2.6 (maybe 2.5.1?) 15360 if test yes = "$GCC"; then 15361 whole_archive_flag_spec_FC='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15362 else 15363 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract' 15364 fi 15365 ;; 15366 esac 15367 link_all_deplibs_FC=yes 15368 ;; 15369 15370 sunos4*) 15371 if test sequent = "$host_vendor"; then 15372 # Use $CC to link under sequent, because it throws in some extra .o 15373 # files that make .init and .fini sections work. 15374 archive_cmds_FC='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 15375 else 15376 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 15377 fi 15378 hardcode_libdir_flag_spec_FC='-L$libdir' 15379 hardcode_direct_FC=yes 15380 hardcode_minus_L_FC=yes 15381 hardcode_shlibpath_var_FC=no 15382 ;; 15383 15384 sysv4) 15385 case $host_vendor in 15386 sni) 15387 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15388 hardcode_direct_FC=yes # is this really true??? 15389 ;; 15390 siemens) 15391 ## LD is ld it makes a PLAMLIB 15392 ## CC just makes a GrossModule. 15393 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags' 15394 reload_cmds_FC='$CC -r -o $output$reload_objs' 15395 hardcode_direct_FC=no 15396 ;; 15397 motorola) 15398 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15399 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie 15400 ;; 15401 esac 15402 runpath_var='LD_RUN_PATH' 15403 hardcode_shlibpath_var_FC=no 15404 ;; 15405 15406 sysv4.3*) 15407 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15408 hardcode_shlibpath_var_FC=no 15409 export_dynamic_flag_spec_FC='-Bexport' 15410 ;; 15411 15412 sysv4*MP*) 15413 if test -d /usr/nec; then 15414 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15415 hardcode_shlibpath_var_FC=no 15416 runpath_var=LD_RUN_PATH 15417 hardcode_runpath_var=yes 15418 ld_shlibs_FC=yes 15419 fi 15420 ;; 15421 15422 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15423 no_undefined_flag_FC='$wl-z,text' 15424 archive_cmds_need_lc_FC=no 15425 hardcode_shlibpath_var_FC=no 15426 runpath_var='LD_RUN_PATH' 15427 15428 if test yes = "$GCC"; then 15429 archive_cmds_FC='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15430 archive_expsym_cmds_FC='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15431 else 15432 archive_cmds_FC='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15433 archive_expsym_cmds_FC='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15434 fi 15435 ;; 15436 15437 sysv5* | sco3.2v5* | sco5v6*) 15438 # Note: We CANNOT use -z defs as we might desire, because we do not 15439 # link with -lc, and that would cause any symbols used from libc to 15440 # always be unresolved, which means just about no library would 15441 # ever link correctly. If we're not using GNU ld we use -z text 15442 # though, which does catch some bad symbols but isn't as heavy-handed 15443 # as -z defs. 15444 no_undefined_flag_FC='$wl-z,text' 15445 allow_undefined_flag_FC='$wl-z,nodefs' 15446 archive_cmds_need_lc_FC=no 15447 hardcode_shlibpath_var_FC=no 15448 hardcode_libdir_flag_spec_FC='$wl-R,$libdir' 15449 hardcode_libdir_separator_FC=':' 15450 link_all_deplibs_FC=yes 15451 export_dynamic_flag_spec_FC='$wl-Bexport' 15452 runpath_var='LD_RUN_PATH' 15453 15454 if test yes = "$GCC"; then 15455 archive_cmds_FC='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15456 archive_expsym_cmds_FC='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15457 else 15458 archive_cmds_FC='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15459 archive_expsym_cmds_FC='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15460 fi 15461 ;; 15462 15463 uts4*) 15464 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15465 hardcode_libdir_flag_spec_FC='-L$libdir' 15466 hardcode_shlibpath_var_FC=no 15467 ;; 15468 15469 *) 15470 ld_shlibs_FC=no 15471 ;; 15472 esac 15473 15474 if test sni = "$host_vendor"; then 15475 case $host in 15476 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 15477 export_dynamic_flag_spec_FC='$wl-Blargedynsym' 15478 ;; 15479 esac 15480 fi 15481 fi 15482 15483{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5 15484printf "%s\n" "$ld_shlibs_FC" >&6; } 15485test no = "$ld_shlibs_FC" && can_build_shared=no 15486 15487with_gnu_ld_FC=$with_gnu_ld 15488 15489 15490 15491 15492 15493 15494# 15495# Do we need to explicitly link libc? 15496# 15497case "x$archive_cmds_need_lc_FC" in 15498x|xyes) 15499 # Assume -lc should be added 15500 archive_cmds_need_lc_FC=yes 15501 15502 if test yes,yes = "$GCC,$enable_shared"; then 15503 case $archive_cmds_FC in 15504 *'~'*) 15505 # FIXME: we may have to deal with multi-command sequences. 15506 ;; 15507 '$CC '*) 15508 # Test whether the compiler implicitly links with -lc since on some 15509 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15510 # to ld, don't add -lc before -lgcc. 15511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15512printf %s "checking whether -lc should be explicitly linked in... " >&6; } 15513if test ${lt_cv_archive_cmds_need_lc_FC+y} 15514then : 15515 printf %s "(cached) " >&6 15516else $as_nop 15517 $RM conftest* 15518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15519 15520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15521 (eval $ac_compile) 2>&5 15522 ac_status=$? 15523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15524 test $ac_status = 0; } 2>conftest.err; then 15525 soname=conftest 15526 lib=conftest 15527 libobjs=conftest.$ac_objext 15528 deplibs= 15529 wl=$lt_prog_compiler_wl_FC 15530 pic_flag=$lt_prog_compiler_pic_FC 15531 compiler_flags=-v 15532 linker_flags=-v 15533 verstring= 15534 output_objdir=. 15535 libname=conftest 15536 lt_save_allow_undefined_flag=$allow_undefined_flag_FC 15537 allow_undefined_flag_FC= 15538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15539 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15540 ac_status=$? 15541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15542 test $ac_status = 0; } 15543 then 15544 lt_cv_archive_cmds_need_lc_FC=no 15545 else 15546 lt_cv_archive_cmds_need_lc_FC=yes 15547 fi 15548 allow_undefined_flag_FC=$lt_save_allow_undefined_flag 15549 else 15550 cat conftest.err 1>&5 15551 fi 15552 $RM conftest* 15553 15554fi 15555{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5 15556printf "%s\n" "$lt_cv_archive_cmds_need_lc_FC" >&6; } 15557 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC 15558 ;; 15559 esac 15560 fi 15561 ;; 15562esac 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15626printf %s "checking dynamic linker characteristics... " >&6; } 15627 15628library_names_spec= 15629libname_spec='lib$name' 15630soname_spec= 15631shrext_cmds=.so 15632postinstall_cmds= 15633postuninstall_cmds= 15634finish_cmds= 15635finish_eval= 15636shlibpath_var= 15637shlibpath_overrides_runpath=unknown 15638version_type=none 15639dynamic_linker="$host_os ld.so" 15640sys_lib_dlsearch_path_spec="/lib /usr/lib" 15641need_lib_prefix=unknown 15642hardcode_into_libs=no 15643 15644# when you set need_version to no, make sure it does not cause -set_version 15645# flags to be left without arguments 15646need_version=unknown 15647 15648 15649 15650case $host_os in 15651aix3*) 15652 version_type=linux # correct to gnu/linux during the next big refactor 15653 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 15654 shlibpath_var=LIBPATH 15655 15656 # AIX 3 has no versioning support, so we append a major version to the name. 15657 soname_spec='$libname$release$shared_ext$major' 15658 ;; 15659 15660aix[4-9]*) 15661 version_type=linux # correct to gnu/linux during the next big refactor 15662 need_lib_prefix=no 15663 need_version=no 15664 hardcode_into_libs=yes 15665 if test ia64 = "$host_cpu"; then 15666 # AIX 5 supports IA64 15667 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 15668 shlibpath_var=LD_LIBRARY_PATH 15669 else 15670 # With GCC up to 2.95.x, collect2 would create an import file 15671 # for dependence libraries. The import file would start with 15672 # the line '#! .'. This would cause the generated library to 15673 # depend on '.', always an invalid library. This was fixed in 15674 # development snapshots of GCC prior to 3.0. 15675 case $host_os in 15676 aix4 | aix4.[01] | aix4.[01].*) 15677 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15678 echo ' yes ' 15679 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 15680 : 15681 else 15682 can_build_shared=no 15683 fi 15684 ;; 15685 esac 15686 # Using Import Files as archive members, it is possible to support 15687 # filename-based versioning of shared library archives on AIX. While 15688 # this would work for both with and without runtime linking, it will 15689 # prevent static linking of such archives. So we do filename-based 15690 # shared library versioning with .so extension only, which is used 15691 # when both runtime linking and shared linking is enabled. 15692 # Unfortunately, runtime linking may impact performance, so we do 15693 # not want this to be the default eventually. Also, we use the 15694 # versioned .so libs for executables only if there is the -brtl 15695 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 15696 # To allow for filename-based versioning support, we need to create 15697 # libNAME.so.V as an archive file, containing: 15698 # *) an Import File, referring to the versioned filename of the 15699 # archive as well as the shared archive member, telling the 15700 # bitwidth (32 or 64) of that shared object, and providing the 15701 # list of exported symbols of that shared object, eventually 15702 # decorated with the 'weak' keyword 15703 # *) the shared object with the F_LOADONLY flag set, to really avoid 15704 # it being seen by the linker. 15705 # At run time we better use the real file rather than another symlink, 15706 # but for link time we create the symlink libNAME.so -> libNAME.so.V 15707 15708 case $with_aix_soname,$aix_use_runtimelinking in 15709 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 15710 # soname into executable. Probably we can add versioning support to 15711 # collect2, so additional links can be useful in future. 15712 aix,yes) # traditional libtool 15713 dynamic_linker='AIX unversionable lib.so' 15714 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15715 # instead of lib<name>.a to let people know that these are not 15716 # typical AIX shared libraries. 15717 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15718 ;; 15719 aix,no) # traditional AIX only 15720 dynamic_linker='AIX lib.a(lib.so.V)' 15721 # We preserve .a as extension for shared libraries through AIX4.2 15722 # and later when we are not doing run time linking. 15723 library_names_spec='$libname$release.a $libname.a' 15724 soname_spec='$libname$release$shared_ext$major' 15725 ;; 15726 svr4,*) # full svr4 only 15727 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 15728 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15729 # We do not specify a path in Import Files, so LIBPATH fires. 15730 shlibpath_overrides_runpath=yes 15731 ;; 15732 *,yes) # both, prefer svr4 15733 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 15734 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15735 # unpreferred sharedlib libNAME.a needs extra handling 15736 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"' 15737 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"' 15738 # We do not specify a path in Import Files, so LIBPATH fires. 15739 shlibpath_overrides_runpath=yes 15740 ;; 15741 *,no) # both, prefer aix 15742 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 15743 library_names_spec='$libname$release.a $libname.a' 15744 soname_spec='$libname$release$shared_ext$major' 15745 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 15746 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)' 15747 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"' 15748 ;; 15749 esac 15750 shlibpath_var=LIBPATH 15751 fi 15752 ;; 15753 15754amigaos*) 15755 case $host_cpu in 15756 powerpc) 15757 # Since July 2007 AmigaOS4 officially supports .so libraries. 15758 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15759 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15760 ;; 15761 m68k) 15762 library_names_spec='$libname.ixlibrary $libname.a' 15763 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15764 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' 15765 ;; 15766 esac 15767 ;; 15768 15769beos*) 15770 library_names_spec='$libname$shared_ext' 15771 dynamic_linker="$host_os ld.so" 15772 shlibpath_var=LIBRARY_PATH 15773 ;; 15774 15775bsdi[45]*) 15776 version_type=linux # correct to gnu/linux during the next big refactor 15777 need_version=no 15778 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15779 soname_spec='$libname$release$shared_ext$major' 15780 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15781 shlibpath_var=LD_LIBRARY_PATH 15782 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15783 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15784 # the default ld.so.conf also contains /usr/contrib/lib and 15785 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15786 # libtool to hard-code these into programs 15787 ;; 15788 15789cygwin* | mingw* | pw32* | cegcc*) 15790 version_type=windows 15791 shrext_cmds=.dll 15792 need_version=no 15793 need_lib_prefix=no 15794 15795 case $GCC,$cc_basename in 15796 yes,*) 15797 # gcc 15798 library_names_spec='$libname.dll.a' 15799 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15800 postinstall_cmds='base_file=`basename \$file`~ 15801 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15802 dldir=$destdir/`dirname \$dlpath`~ 15803 test -d \$dldir || mkdir -p \$dldir~ 15804 $install_prog $dir/$dlname \$dldir/$dlname~ 15805 chmod a+x \$dldir/$dlname~ 15806 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15807 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15808 fi' 15809 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15810 dlpath=$dir/\$dldll~ 15811 $RM \$dlpath' 15812 shlibpath_overrides_runpath=yes 15813 15814 case $host_os in 15815 cygwin*) 15816 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15817 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15818 15819 ;; 15820 mingw* | cegcc*) 15821 # MinGW DLLs use traditional 'lib' prefix 15822 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15823 ;; 15824 pw32*) 15825 # pw32 DLLs use 'pw' prefix rather than 'lib' 15826 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15827 ;; 15828 esac 15829 dynamic_linker='Win32 ld.exe' 15830 ;; 15831 15832 *,cl*) 15833 # Native MSVC 15834 libname_spec='$name' 15835 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15836 library_names_spec='$libname.dll.lib' 15837 15838 case $build_os in 15839 mingw*) 15840 sys_lib_search_path_spec= 15841 lt_save_ifs=$IFS 15842 IFS=';' 15843 for lt_path in $LIB 15844 do 15845 IFS=$lt_save_ifs 15846 # Let DOS variable expansion print the short 8.3 style file name. 15847 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15848 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15849 done 15850 IFS=$lt_save_ifs 15851 # Convert to MSYS style. 15852 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15853 ;; 15854 cygwin*) 15855 # Convert to unix form, then to dos form, then back to unix form 15856 # but this time dos style (no spaces!) so that the unix form looks 15857 # like /cygdrive/c/PROGRA~1:/cygdr... 15858 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15859 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15860 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15861 ;; 15862 *) 15863 sys_lib_search_path_spec=$LIB 15864 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15865 # It is most probably a Windows format PATH. 15866 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15867 else 15868 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15869 fi 15870 # FIXME: find the short name or the path components, as spaces are 15871 # common. (e.g. "Program Files" -> "PROGRA~1") 15872 ;; 15873 esac 15874 15875 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15876 postinstall_cmds='base_file=`basename \$file`~ 15877 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15878 dldir=$destdir/`dirname \$dlpath`~ 15879 test -d \$dldir || mkdir -p \$dldir~ 15880 $install_prog $dir/$dlname \$dldir/$dlname' 15881 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15882 dlpath=$dir/\$dldll~ 15883 $RM \$dlpath' 15884 shlibpath_overrides_runpath=yes 15885 dynamic_linker='Win32 link.exe' 15886 ;; 15887 15888 *) 15889 # Assume MSVC wrapper 15890 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 15891 dynamic_linker='Win32 ld.exe' 15892 ;; 15893 esac 15894 # FIXME: first we should search . and the directory the executable is in 15895 shlibpath_var=PATH 15896 ;; 15897 15898darwin* | rhapsody*) 15899 dynamic_linker="$host_os dyld" 15900 version_type=darwin 15901 need_lib_prefix=no 15902 need_version=no 15903 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 15904 soname_spec='$libname$release$major$shared_ext' 15905 shlibpath_overrides_runpath=yes 15906 shlibpath_var=DYLD_LIBRARY_PATH 15907 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15908 15909 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15910 ;; 15911 15912dgux*) 15913 version_type=linux # correct to gnu/linux during the next big refactor 15914 need_lib_prefix=no 15915 need_version=no 15916 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15917 soname_spec='$libname$release$shared_ext$major' 15918 shlibpath_var=LD_LIBRARY_PATH 15919 ;; 15920 15921freebsd* | dragonfly*) 15922 # DragonFly does not have aout. When/if they implement a new 15923 # versioning mechanism, adjust this. 15924 if test -x /usr/bin/objformat; then 15925 objformat=`/usr/bin/objformat` 15926 else 15927 case $host_os in 15928 freebsd[23].*) objformat=aout ;; 15929 *) objformat=elf ;; 15930 esac 15931 fi 15932 version_type=freebsd-$objformat 15933 case $version_type in 15934 freebsd-elf*) 15935 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15936 soname_spec='$libname$release$shared_ext$major' 15937 need_version=no 15938 need_lib_prefix=no 15939 ;; 15940 freebsd-*) 15941 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15942 need_version=yes 15943 ;; 15944 esac 15945 shlibpath_var=LD_LIBRARY_PATH 15946 case $host_os in 15947 freebsd2.*) 15948 shlibpath_overrides_runpath=yes 15949 ;; 15950 freebsd3.[01]* | freebsdelf3.[01]*) 15951 shlibpath_overrides_runpath=yes 15952 hardcode_into_libs=yes 15953 ;; 15954 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15955 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15956 shlibpath_overrides_runpath=no 15957 hardcode_into_libs=yes 15958 ;; 15959 *) # from 4.6 on, and DragonFly 15960 shlibpath_overrides_runpath=yes 15961 hardcode_into_libs=yes 15962 ;; 15963 esac 15964 ;; 15965 15966haiku*) 15967 version_type=linux # correct to gnu/linux during the next big refactor 15968 need_lib_prefix=no 15969 need_version=no 15970 dynamic_linker="$host_os runtime_loader" 15971 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15972 soname_spec='$libname$release$shared_ext$major' 15973 shlibpath_var=LIBRARY_PATH 15974 shlibpath_overrides_runpath=no 15975 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15976 hardcode_into_libs=yes 15977 ;; 15978 15979hpux9* | hpux10* | hpux11*) 15980 # Give a soname corresponding to the major version so that dld.sl refuses to 15981 # link against other versions. 15982 version_type=sunos 15983 need_lib_prefix=no 15984 need_version=no 15985 case $host_cpu in 15986 ia64*) 15987 shrext_cmds='.so' 15988 hardcode_into_libs=yes 15989 dynamic_linker="$host_os dld.so" 15990 shlibpath_var=LD_LIBRARY_PATH 15991 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15992 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15993 soname_spec='$libname$release$shared_ext$major' 15994 if test 32 = "$HPUX_IA64_MODE"; then 15995 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15996 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 15997 else 15998 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15999 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16000 fi 16001 ;; 16002 hppa*64*) 16003 shrext_cmds='.sl' 16004 hardcode_into_libs=yes 16005 dynamic_linker="$host_os dld.sl" 16006 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16007 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16008 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16009 soname_spec='$libname$release$shared_ext$major' 16010 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16011 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16012 ;; 16013 *) 16014 shrext_cmds='.sl' 16015 dynamic_linker="$host_os dld.sl" 16016 shlibpath_var=SHLIB_PATH 16017 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16018 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16019 soname_spec='$libname$release$shared_ext$major' 16020 ;; 16021 esac 16022 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16023 postinstall_cmds='chmod 555 $lib' 16024 # or fails outright, so override atomically: 16025 install_override_mode=555 16026 ;; 16027 16028interix[3-9]*) 16029 version_type=linux # correct to gnu/linux during the next big refactor 16030 need_lib_prefix=no 16031 need_version=no 16032 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16033 soname_spec='$libname$release$shared_ext$major' 16034 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16035 shlibpath_var=LD_LIBRARY_PATH 16036 shlibpath_overrides_runpath=no 16037 hardcode_into_libs=yes 16038 ;; 16039 16040irix5* | irix6* | nonstopux*) 16041 case $host_os in 16042 nonstopux*) version_type=nonstopux ;; 16043 *) 16044 if test yes = "$lt_cv_prog_gnu_ld"; then 16045 version_type=linux # correct to gnu/linux during the next big refactor 16046 else 16047 version_type=irix 16048 fi ;; 16049 esac 16050 need_lib_prefix=no 16051 need_version=no 16052 soname_spec='$libname$release$shared_ext$major' 16053 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16054 case $host_os in 16055 irix5* | nonstopux*) 16056 libsuff= shlibsuff= 16057 ;; 16058 *) 16059 case $LD in # libtool.m4 will add one of these switches to LD 16060 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16061 libsuff= shlibsuff= libmagic=32-bit;; 16062 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16063 libsuff=32 shlibsuff=N32 libmagic=N32;; 16064 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16065 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16066 *) libsuff= shlibsuff= libmagic=never-match;; 16067 esac 16068 ;; 16069 esac 16070 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16071 shlibpath_overrides_runpath=no 16072 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16073 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16074 hardcode_into_libs=yes 16075 ;; 16076 16077# No shared lib support for Linux oldld, aout, or coff. 16078linux*oldld* | linux*aout* | linux*coff*) 16079 dynamic_linker=no 16080 ;; 16081 16082linux*android*) 16083 version_type=none # Android doesn't support versioned libraries. 16084 need_lib_prefix=no 16085 need_version=no 16086 library_names_spec='$libname$release$shared_ext' 16087 soname_spec='$libname$release$shared_ext' 16088 finish_cmds= 16089 shlibpath_var=LD_LIBRARY_PATH 16090 shlibpath_overrides_runpath=yes 16091 16092 # This implies no fast_install, which is unacceptable. 16093 # Some rework will be needed to allow for fast_install 16094 # before this can be enabled. 16095 hardcode_into_libs=yes 16096 16097 dynamic_linker='Android linker' 16098 # Don't embed -rpath directories since the linker doesn't support them. 16099 hardcode_libdir_flag_spec_FC='-L$libdir' 16100 ;; 16101 16102# This must be glibc/ELF. 16103linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16104 version_type=linux # correct to gnu/linux during the next big refactor 16105 need_lib_prefix=no 16106 need_version=no 16107 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16108 soname_spec='$libname$release$shared_ext$major' 16109 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16110 shlibpath_var=LD_LIBRARY_PATH 16111 shlibpath_overrides_runpath=no 16112 16113 # Some binutils ld are patched to set DT_RUNPATH 16114 if test ${lt_cv_shlibpath_overrides_runpath+y} 16115then : 16116 printf %s "(cached) " >&6 16117else $as_nop 16118 lt_cv_shlibpath_overrides_runpath=no 16119 save_LDFLAGS=$LDFLAGS 16120 save_libdir=$libdir 16121 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \ 16122 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\"" 16123 cat > conftest.$ac_ext <<_ACEOF 16124 program main 16125 16126 end 16127_ACEOF 16128if ac_fn_fc_try_link "$LINENO" 16129then : 16130 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null 16131then : 16132 lt_cv_shlibpath_overrides_runpath=yes 16133fi 16134fi 16135rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16136 conftest$ac_exeext conftest.$ac_ext 16137 LDFLAGS=$save_LDFLAGS 16138 libdir=$save_libdir 16139 16140fi 16141 16142 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16143 16144 # This implies no fast_install, which is unacceptable. 16145 # Some rework will be needed to allow for fast_install 16146 # before this can be enabled. 16147 hardcode_into_libs=yes 16148 16149 # Ideally, we could use ldconfig to report *all* directores which are 16150 # searched for libraries, however this is still not possible. Aside from not 16151 # being certain /sbin/ldconfig is available, command 16152 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16153 # even though it is searched at run-time. Try to do the best guess by 16154 # appending ld.so.conf contents (and includes) to the search path. 16155 if test -f /etc/ld.so.conf; then 16156 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' ' '` 16157 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 16158 fi 16159 16160 # We used to test for /lib/ld.so.1 and disable shared libraries on 16161 # powerpc, because MkLinux only supported shared libraries with the 16162 # GNU dynamic linker. Since this was broken with cross compilers, 16163 # most powerpc-linux boxes support dynamic linking these days and 16164 # people can always --disable-shared, the test was removed, and we 16165 # assume the GNU/Linux dynamic linker is in use. 16166 dynamic_linker='GNU/Linux ld.so' 16167 ;; 16168 16169netbsdelf*-gnu) 16170 version_type=linux 16171 need_lib_prefix=no 16172 need_version=no 16173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16174 soname_spec='${libname}${release}${shared_ext}$major' 16175 shlibpath_var=LD_LIBRARY_PATH 16176 shlibpath_overrides_runpath=no 16177 hardcode_into_libs=yes 16178 dynamic_linker='NetBSD ld.elf_so' 16179 ;; 16180 16181netbsd*) 16182 version_type=sunos 16183 need_lib_prefix=no 16184 need_version=no 16185 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16186 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16187 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16188 dynamic_linker='NetBSD (a.out) ld.so' 16189 else 16190 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16191 soname_spec='$libname$release$shared_ext$major' 16192 dynamic_linker='NetBSD ld.elf_so' 16193 fi 16194 shlibpath_var=LD_LIBRARY_PATH 16195 shlibpath_overrides_runpath=yes 16196 hardcode_into_libs=yes 16197 ;; 16198 16199newsos6) 16200 version_type=linux # correct to gnu/linux during the next big refactor 16201 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16202 shlibpath_var=LD_LIBRARY_PATH 16203 shlibpath_overrides_runpath=yes 16204 ;; 16205 16206*nto* | *qnx*) 16207 version_type=qnx 16208 need_lib_prefix=no 16209 need_version=no 16210 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16211 soname_spec='$libname$release$shared_ext$major' 16212 shlibpath_var=LD_LIBRARY_PATH 16213 shlibpath_overrides_runpath=no 16214 hardcode_into_libs=yes 16215 dynamic_linker='ldqnx.so' 16216 ;; 16217 16218openbsd* | bitrig*) 16219 version_type=sunos 16220 sys_lib_dlsearch_path_spec=/usr/lib 16221 need_lib_prefix=no 16222 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16223 need_version=no 16224 else 16225 need_version=yes 16226 fi 16227 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16228 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16229 shlibpath_var=LD_LIBRARY_PATH 16230 shlibpath_overrides_runpath=yes 16231 ;; 16232 16233os2*) 16234 libname_spec='$name' 16235 version_type=windows 16236 shrext_cmds=.dll 16237 need_version=no 16238 need_lib_prefix=no 16239 # OS/2 can only load a DLL with a base name of 8 characters or less. 16240 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16241 v=$($ECHO $release$versuffix | tr -d .-); 16242 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16243 $ECHO $n$v`$shared_ext' 16244 library_names_spec='${libname}_dll.$libext' 16245 dynamic_linker='OS/2 ld.exe' 16246 shlibpath_var=BEGINLIBPATH 16247 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16248 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16249 postinstall_cmds='base_file=`basename \$file`~ 16250 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16251 dldir=$destdir/`dirname \$dlpath`~ 16252 test -d \$dldir || mkdir -p \$dldir~ 16253 $install_prog $dir/$dlname \$dldir/$dlname~ 16254 chmod a+x \$dldir/$dlname~ 16255 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16256 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16257 fi' 16258 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16259 dlpath=$dir/\$dldll~ 16260 $RM \$dlpath' 16261 ;; 16262 16263osf3* | osf4* | osf5*) 16264 version_type=osf 16265 need_lib_prefix=no 16266 need_version=no 16267 soname_spec='$libname$release$shared_ext$major' 16268 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16269 shlibpath_var=LD_LIBRARY_PATH 16270 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16271 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16272 ;; 16273 16274rdos*) 16275 dynamic_linker=no 16276 ;; 16277 16278solaris*) 16279 version_type=linux # correct to gnu/linux during the next big refactor 16280 need_lib_prefix=no 16281 need_version=no 16282 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16283 soname_spec='$libname$release$shared_ext$major' 16284 shlibpath_var=LD_LIBRARY_PATH 16285 shlibpath_overrides_runpath=yes 16286 hardcode_into_libs=yes 16287 # ldd complains unless libraries are executable 16288 postinstall_cmds='chmod +x $lib' 16289 ;; 16290 16291sunos4*) 16292 version_type=sunos 16293 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16294 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16295 shlibpath_var=LD_LIBRARY_PATH 16296 shlibpath_overrides_runpath=yes 16297 if test yes = "$with_gnu_ld"; then 16298 need_lib_prefix=no 16299 fi 16300 need_version=yes 16301 ;; 16302 16303sysv4 | sysv4.3*) 16304 version_type=linux # correct to gnu/linux during the next big refactor 16305 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16306 soname_spec='$libname$release$shared_ext$major' 16307 shlibpath_var=LD_LIBRARY_PATH 16308 case $host_vendor in 16309 sni) 16310 shlibpath_overrides_runpath=no 16311 need_lib_prefix=no 16312 runpath_var=LD_RUN_PATH 16313 ;; 16314 siemens) 16315 need_lib_prefix=no 16316 ;; 16317 motorola) 16318 need_lib_prefix=no 16319 need_version=no 16320 shlibpath_overrides_runpath=no 16321 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16322 ;; 16323 esac 16324 ;; 16325 16326sysv4*MP*) 16327 if test -d /usr/nec; then 16328 version_type=linux # correct to gnu/linux during the next big refactor 16329 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16330 soname_spec='$libname$shared_ext.$major' 16331 shlibpath_var=LD_LIBRARY_PATH 16332 fi 16333 ;; 16334 16335sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16336 version_type=sco 16337 need_lib_prefix=no 16338 need_version=no 16339 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16340 soname_spec='$libname$release$shared_ext$major' 16341 shlibpath_var=LD_LIBRARY_PATH 16342 shlibpath_overrides_runpath=yes 16343 hardcode_into_libs=yes 16344 if test yes = "$with_gnu_ld"; then 16345 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16346 else 16347 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16348 case $host_os in 16349 sco3.2v5*) 16350 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16351 ;; 16352 esac 16353 fi 16354 sys_lib_dlsearch_path_spec='/usr/lib' 16355 ;; 16356 16357tpf*) 16358 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16359 version_type=linux # correct to gnu/linux during the next big refactor 16360 need_lib_prefix=no 16361 need_version=no 16362 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16363 shlibpath_var=LD_LIBRARY_PATH 16364 shlibpath_overrides_runpath=no 16365 hardcode_into_libs=yes 16366 ;; 16367 16368uts4*) 16369 version_type=linux # correct to gnu/linux during the next big refactor 16370 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16371 soname_spec='$libname$release$shared_ext$major' 16372 shlibpath_var=LD_LIBRARY_PATH 16373 ;; 16374 16375*) 16376 dynamic_linker=no 16377 ;; 16378esac 16379{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16380printf "%s\n" "$dynamic_linker" >&6; } 16381test no = "$dynamic_linker" && can_build_shared=no 16382 16383variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16384if test yes = "$GCC"; then 16385 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16386fi 16387 16388if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16389 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16390fi 16391 16392if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16393 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16394fi 16395 16396# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16397configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16398 16399# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16400func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16401 16402# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16403configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16445printf %s "checking how to hardcode library paths into programs... " >&6; } 16446hardcode_action_FC= 16447if test -n "$hardcode_libdir_flag_spec_FC" || 16448 test -n "$runpath_var_FC" || 16449 test yes = "$hardcode_automatic_FC"; then 16450 16451 # We can hardcode non-existent directories. 16452 if test no != "$hardcode_direct_FC" && 16453 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16454 # have to relink, otherwise we might link with an installed library 16455 # when we should be linking with a yet-to-be-installed one 16456 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" && 16457 test no != "$hardcode_minus_L_FC"; then 16458 # Linking always hardcodes the temporary library directory. 16459 hardcode_action_FC=relink 16460 else 16461 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16462 hardcode_action_FC=immediate 16463 fi 16464else 16465 # We cannot hardcode anything, or else we can only hardcode existing 16466 # directories. 16467 hardcode_action_FC=unsupported 16468fi 16469{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5 16470printf "%s\n" "$hardcode_action_FC" >&6; } 16471 16472if test relink = "$hardcode_action_FC" || 16473 test yes = "$inherit_rpath_FC"; then 16474 # Fast installation is not supported 16475 enable_fast_install=no 16476elif test yes = "$shlibpath_overrides_runpath" || 16477 test no = "$enable_shared"; then 16478 # Fast installation is not necessary 16479 enable_fast_install=needless 16480fi 16481 16482 16483 16484 16485 16486 16487 16488 fi # test -n "$compiler" 16489 16490 GCC=$lt_save_GCC 16491 CC=$lt_save_CC 16492 CFLAGS=$lt_save_CFLAGS 16493fi # test yes != "$_lt_disable_FC" 16494 16495ac_ext=c 16496ac_cpp='$CPP $CPPFLAGS' 16497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16499ac_compiler_gnu=$ac_cv_c_compiler_gnu 16500 16501 16502if test -e penmp || test -e mp; then 16503 as_fn_error $? "AC_OPENMP clobbers files named 'mp' and 'penmp'. Aborting configure because one of these files already exists." "$LINENO" 5 16504fi 16505# Check whether --enable-openmp was given. 16506if test ${enable_openmp+y} 16507then : 16508 enableval=$enable_openmp; 16509fi 16510 16511 OPENMP_CFLAGS= 16512 if test "$enable_openmp" != no; then 16513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to support OpenMP" >&5 16514printf %s "checking for $CC option to support OpenMP... " >&6; } 16515if test ${ac_cv_prog_c_openmp+y} 16516then : 16517 printf %s "(cached) " >&6 16518else $as_nop 16519 ac_cv_prog_c_openmp='not found' 16520 for ac_option in '' -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp -homp \ 16521 -Popenmp --openmp; do 16522 16523 ac_save_CFLAGS=$CFLAGS 16524 CFLAGS="$CFLAGS $ac_option" 16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16526/* end confdefs.h. */ 16527 16528#ifndef _OPENMP 16529#error "OpenMP not supported" 16530#endif 16531#include <omp.h> 16532int main (void) { return omp_get_num_threads (); } 16533 16534_ACEOF 16535if ac_fn_c_try_compile "$LINENO" 16536then : 16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16538/* end confdefs.h. */ 16539 16540#ifndef _OPENMP 16541#error "OpenMP not supported" 16542#endif 16543#include <omp.h> 16544int main (void) { return omp_get_num_threads (); } 16545 16546_ACEOF 16547if ac_fn_c_try_link "$LINENO" 16548then : 16549 ac_cv_prog_c_openmp=$ac_option 16550else $as_nop 16551 ac_cv_prog_c_openmp='unsupported' 16552fi 16553rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16554 conftest$ac_exeext conftest.$ac_ext 16555fi 16556rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16557 CFLAGS=$ac_save_CFLAGS 16558 16559 if test "$ac_cv_prog_c_openmp" != 'not found'; then 16560 break 16561 fi 16562 done 16563 if test "$ac_cv_prog_c_openmp" = 'not found'; then 16564 ac_cv_prog_c_openmp='unsupported' 16565 elif test "$ac_cv_prog_c_openmp" = ''; then 16566 ac_cv_prog_c_openmp='none needed' 16567 fi 16568 rm -f penmp mp 16569fi 16570{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_c_openmp" >&5 16571printf "%s\n" "$ac_cv_prog_c_openmp" >&6; } 16572 if test "$ac_cv_prog_c_openmp" != 'unsupported' && \ 16573 test "$ac_cv_prog_c_openmp" != 'none needed'; then 16574 OPENMP_CFLAGS="$ac_cv_prog_c_openmp" 16575 fi 16576 fi 16577 16578 16579# on epsilon cc is not reloaded with modules 16580ac_ext=c 16581ac_cpp='$CPP $CPPFLAGS' 16582ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16583ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16584ac_compiler_gnu=$ac_cv_c_compiler_gnu 16585if test -n "$ac_tool_prefix"; then 16586 for ac_prog in xlc_r xlc icc pgcc gcc cc 16587 do 16588 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 16589set dummy $ac_tool_prefix$ac_prog; ac_word=$2 16590{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16591printf %s "checking for $ac_word... " >&6; } 16592if test ${ac_cv_prog_CC+y} 16593then : 16594 printf %s "(cached) " >&6 16595else $as_nop 16596 if test -n "$CC"; then 16597 ac_cv_prog_CC="$CC" # Let the user override the test. 16598else 16599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16600for as_dir in $PATH 16601do 16602 IFS=$as_save_IFS 16603 case $as_dir in #((( 16604 '') as_dir=./ ;; 16605 */) ;; 16606 *) as_dir=$as_dir/ ;; 16607 esac 16608 for ac_exec_ext in '' $ac_executable_extensions; do 16609 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 16610 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 16611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 16612 break 2 16613 fi 16614done 16615 done 16616IFS=$as_save_IFS 16617 16618fi 16619fi 16620CC=$ac_cv_prog_CC 16621if test -n "$CC"; then 16622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 16623printf "%s\n" "$CC" >&6; } 16624else 16625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 16626printf "%s\n" "no" >&6; } 16627fi 16628 16629 16630 test -n "$CC" && break 16631 done 16632fi 16633if test -z "$CC"; then 16634 ac_ct_CC=$CC 16635 for ac_prog in xlc_r xlc icc pgcc gcc cc 16636do 16637 # Extract the first word of "$ac_prog", so it can be a program name with args. 16638set dummy $ac_prog; ac_word=$2 16639{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16640printf %s "checking for $ac_word... " >&6; } 16641if test ${ac_cv_prog_ac_ct_CC+y} 16642then : 16643 printf %s "(cached) " >&6 16644else $as_nop 16645 if test -n "$ac_ct_CC"; then 16646 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 16647else 16648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16649for as_dir in $PATH 16650do 16651 IFS=$as_save_IFS 16652 case $as_dir in #((( 16653 '') as_dir=./ ;; 16654 */) ;; 16655 *) as_dir=$as_dir/ ;; 16656 esac 16657 for ac_exec_ext in '' $ac_executable_extensions; do 16658 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 16659 ac_cv_prog_ac_ct_CC="$ac_prog" 16660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 16661 break 2 16662 fi 16663done 16664 done 16665IFS=$as_save_IFS 16666 16667fi 16668fi 16669ac_ct_CC=$ac_cv_prog_ac_ct_CC 16670if test -n "$ac_ct_CC"; then 16671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 16672printf "%s\n" "$ac_ct_CC" >&6; } 16673else 16674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 16675printf "%s\n" "no" >&6; } 16676fi 16677 16678 16679 test -n "$ac_ct_CC" && break 16680done 16681 16682 if test "x$ac_ct_CC" = x; then 16683 CC="" 16684 else 16685 case $cross_compiling:$ac_tool_warned in 16686yes:) 16687{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16688printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16689ac_tool_warned=yes ;; 16690esac 16691 CC=$ac_ct_CC 16692 fi 16693fi 16694 16695 16696test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 16697printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 16698as_fn_error $? "no acceptable C compiler found in \$PATH 16699See 'config.log' for more details" "$LINENO" 5; } 16700 16701# Provide some information about the compiler. 16702printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 16703set X $ac_compile 16704ac_compiler=$2 16705for ac_option in --version -v -V -qversion -version; do 16706 { { ac_try="$ac_compiler $ac_option >&5" 16707case "(($ac_try" in 16708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16709 *) ac_try_echo=$ac_try;; 16710esac 16711eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16712printf "%s\n" "$ac_try_echo"; } >&5 16713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 16714 ac_status=$? 16715 if test -s conftest.err; then 16716 sed '10a\ 16717... rest of stderr output deleted ... 16718 10q' conftest.err >conftest.er1 16719 cat conftest.er1 >&5 16720 fi 16721 rm -f conftest.er1 conftest.err 16722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16723 test $ac_status = 0; } 16724done 16725 16726{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 16727printf %s "checking whether the compiler supports GNU C... " >&6; } 16728if test ${ac_cv_c_compiler_gnu+y} 16729then : 16730 printf %s "(cached) " >&6 16731else $as_nop 16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16733/* end confdefs.h. */ 16734 16735int 16736main (void) 16737{ 16738#ifndef __GNUC__ 16739 choke me 16740#endif 16741 16742 ; 16743 return 0; 16744} 16745_ACEOF 16746if ac_fn_c_try_compile "$LINENO" 16747then : 16748 ac_compiler_gnu=yes 16749else $as_nop 16750 ac_compiler_gnu=no 16751fi 16752rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16753ac_cv_c_compiler_gnu=$ac_compiler_gnu 16754 16755fi 16756{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 16757printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 16758ac_compiler_gnu=$ac_cv_c_compiler_gnu 16759 16760if test $ac_compiler_gnu = yes; then 16761 GCC=yes 16762else 16763 GCC= 16764fi 16765ac_test_CFLAGS=${CFLAGS+y} 16766ac_save_CFLAGS=$CFLAGS 16767{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 16768printf %s "checking whether $CC accepts -g... " >&6; } 16769if test ${ac_cv_prog_cc_g+y} 16770then : 16771 printf %s "(cached) " >&6 16772else $as_nop 16773 ac_save_c_werror_flag=$ac_c_werror_flag 16774 ac_c_werror_flag=yes 16775 ac_cv_prog_cc_g=no 16776 CFLAGS="-g" 16777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16778/* end confdefs.h. */ 16779 16780int 16781main (void) 16782{ 16783 16784 ; 16785 return 0; 16786} 16787_ACEOF 16788if ac_fn_c_try_compile "$LINENO" 16789then : 16790 ac_cv_prog_cc_g=yes 16791else $as_nop 16792 CFLAGS="" 16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16794/* end confdefs.h. */ 16795 16796int 16797main (void) 16798{ 16799 16800 ; 16801 return 0; 16802} 16803_ACEOF 16804if ac_fn_c_try_compile "$LINENO" 16805then : 16806 16807else $as_nop 16808 ac_c_werror_flag=$ac_save_c_werror_flag 16809 CFLAGS="-g" 16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16811/* end confdefs.h. */ 16812 16813int 16814main (void) 16815{ 16816 16817 ; 16818 return 0; 16819} 16820_ACEOF 16821if ac_fn_c_try_compile "$LINENO" 16822then : 16823 ac_cv_prog_cc_g=yes 16824fi 16825rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16826fi 16827rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16828fi 16829rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16830 ac_c_werror_flag=$ac_save_c_werror_flag 16831fi 16832{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 16833printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 16834if test $ac_test_CFLAGS; then 16835 CFLAGS=$ac_save_CFLAGS 16836elif test $ac_cv_prog_cc_g = yes; then 16837 if test "$GCC" = yes; then 16838 CFLAGS="-g -O2" 16839 else 16840 CFLAGS="-g" 16841 fi 16842else 16843 if test "$GCC" = yes; then 16844 CFLAGS="-O2" 16845 else 16846 CFLAGS= 16847 fi 16848fi 16849ac_prog_cc_stdc=no 16850if test x$ac_prog_cc_stdc = xno 16851then : 16852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 16853printf %s "checking for $CC option to enable C11 features... " >&6; } 16854if test ${ac_cv_prog_cc_c11+y} 16855then : 16856 printf %s "(cached) " >&6 16857else $as_nop 16858 ac_cv_prog_cc_c11=no 16859ac_save_CC=$CC 16860cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16861/* end confdefs.h. */ 16862$ac_c_conftest_c11_program 16863_ACEOF 16864for ac_arg in '' -std=gnu11 16865do 16866 CC="$ac_save_CC $ac_arg" 16867 if ac_fn_c_try_compile "$LINENO" 16868then : 16869 ac_cv_prog_cc_c11=$ac_arg 16870fi 16871rm -f core conftest.err conftest.$ac_objext conftest.beam 16872 test "x$ac_cv_prog_cc_c11" != "xno" && break 16873done 16874rm -f conftest.$ac_ext 16875CC=$ac_save_CC 16876fi 16877 16878if test "x$ac_cv_prog_cc_c11" = xno 16879then : 16880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 16881printf "%s\n" "unsupported" >&6; } 16882else $as_nop 16883 if test "x$ac_cv_prog_cc_c11" = x 16884then : 16885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 16886printf "%s\n" "none needed" >&6; } 16887else $as_nop 16888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 16889printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 16890 CC="$CC $ac_cv_prog_cc_c11" 16891fi 16892 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 16893 ac_prog_cc_stdc=c11 16894fi 16895fi 16896if test x$ac_prog_cc_stdc = xno 16897then : 16898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 16899printf %s "checking for $CC option to enable C99 features... " >&6; } 16900if test ${ac_cv_prog_cc_c99+y} 16901then : 16902 printf %s "(cached) " >&6 16903else $as_nop 16904 ac_cv_prog_cc_c99=no 16905ac_save_CC=$CC 16906cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16907/* end confdefs.h. */ 16908$ac_c_conftest_c99_program 16909_ACEOF 16910for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 16911do 16912 CC="$ac_save_CC $ac_arg" 16913 if ac_fn_c_try_compile "$LINENO" 16914then : 16915 ac_cv_prog_cc_c99=$ac_arg 16916fi 16917rm -f core conftest.err conftest.$ac_objext conftest.beam 16918 test "x$ac_cv_prog_cc_c99" != "xno" && break 16919done 16920rm -f conftest.$ac_ext 16921CC=$ac_save_CC 16922fi 16923 16924if test "x$ac_cv_prog_cc_c99" = xno 16925then : 16926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 16927printf "%s\n" "unsupported" >&6; } 16928else $as_nop 16929 if test "x$ac_cv_prog_cc_c99" = x 16930then : 16931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 16932printf "%s\n" "none needed" >&6; } 16933else $as_nop 16934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 16935printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 16936 CC="$CC $ac_cv_prog_cc_c99" 16937fi 16938 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 16939 ac_prog_cc_stdc=c99 16940fi 16941fi 16942if test x$ac_prog_cc_stdc = xno 16943then : 16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 16945printf %s "checking for $CC option to enable C89 features... " >&6; } 16946if test ${ac_cv_prog_cc_c89+y} 16947then : 16948 printf %s "(cached) " >&6 16949else $as_nop 16950 ac_cv_prog_cc_c89=no 16951ac_save_CC=$CC 16952cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16953/* end confdefs.h. */ 16954$ac_c_conftest_c89_program 16955_ACEOF 16956for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 16957do 16958 CC="$ac_save_CC $ac_arg" 16959 if ac_fn_c_try_compile "$LINENO" 16960then : 16961 ac_cv_prog_cc_c89=$ac_arg 16962fi 16963rm -f core conftest.err conftest.$ac_objext conftest.beam 16964 test "x$ac_cv_prog_cc_c89" != "xno" && break 16965done 16966rm -f conftest.$ac_ext 16967CC=$ac_save_CC 16968fi 16969 16970if test "x$ac_cv_prog_cc_c89" = xno 16971then : 16972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 16973printf "%s\n" "unsupported" >&6; } 16974else $as_nop 16975 if test "x$ac_cv_prog_cc_c89" = x 16976then : 16977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 16978printf "%s\n" "none needed" >&6; } 16979else $as_nop 16980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 16981printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 16982 CC="$CC $ac_cv_prog_cc_c89" 16983fi 16984 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 16985 ac_prog_cc_stdc=c89 16986fi 16987fi 16988 16989ac_ext=c 16990ac_cpp='$CPP $CPPFLAGS' 16991ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16992ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16993ac_compiler_gnu=$ac_cv_c_compiler_gnu 16994 16995 16996 ac_ext=c 16997ac_cpp='$CPP $CPPFLAGS' 16998ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16999ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17000ac_compiler_gnu=$ac_cv_c_compiler_gnu 17001{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 17002printf %s "checking whether $CC understands -c and -o together... " >&6; } 17003if test ${am_cv_prog_cc_c_o+y} 17004then : 17005 printf %s "(cached) " >&6 17006else $as_nop 17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17008/* end confdefs.h. */ 17009 17010int 17011main (void) 17012{ 17013 17014 ; 17015 return 0; 17016} 17017_ACEOF 17018 # Make sure it works both with $CC and with simple cc. 17019 # Following AC_PROG_CC_C_O, we do the test twice because some 17020 # compilers refuse to overwrite an existing .o file with -o, 17021 # though they will create one. 17022 am_cv_prog_cc_c_o=yes 17023 for am_i in 1 2; do 17024 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 17025 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 17026 ac_status=$? 17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17028 (exit $ac_status); } \ 17029 && test -f conftest2.$ac_objext; then 17030 : OK 17031 else 17032 am_cv_prog_cc_c_o=no 17033 break 17034 fi 17035 done 17036 rm -f core conftest* 17037 unset am_i 17038fi 17039{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 17040printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } 17041if test "$am_cv_prog_cc_c_o" != yes; then 17042 # Losing compiler, so override with the script. 17043 # FIXME: It is wrong to rewrite CC. 17044 # But if we don't then we get into trouble of one sort or another. 17045 # A longer-term fix would be to have automake use am__CC in this case, 17046 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 17047 CC="$am_aux_dir/compile $CC" 17048fi 17049ac_ext=c 17050ac_cpp='$CPP $CPPFLAGS' 17051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17053ac_compiler_gnu=$ac_cv_c_compiler_gnu 17054 17055 17056depcc="$CC" am_compiler_list= 17057 17058{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 17059printf %s "checking dependency style of $depcc... " >&6; } 17060if test ${am_cv_CC_dependencies_compiler_type+y} 17061then : 17062 printf %s "(cached) " >&6 17063else $as_nop 17064 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 17065 # We make a subdir and do the tests there. Otherwise we can end up 17066 # making bogus files that we don't know about and never remove. For 17067 # instance it was reported that on HP-UX the gcc test will end up 17068 # making a dummy file named 'D' -- because '-MD' means "put the output 17069 # in D". 17070 rm -rf conftest.dir 17071 mkdir conftest.dir 17072 # Copy depcomp to subdir because otherwise we won't find it if we're 17073 # using a relative directory. 17074 cp "$am_depcomp" conftest.dir 17075 cd conftest.dir 17076 # We will build objects and dependencies in a subdirectory because 17077 # it helps to detect inapplicable dependency modes. For instance 17078 # both Tru64's cc and ICC support -MD to output dependencies as a 17079 # side effect of compilation, but ICC will put the dependencies in 17080 # the current directory while Tru64 will put them in the object 17081 # directory. 17082 mkdir sub 17083 17084 am_cv_CC_dependencies_compiler_type=none 17085 if test "$am_compiler_list" = ""; then 17086 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 17087 fi 17088 am__universal=false 17089 case " $depcc " in #( 17090 *\ -arch\ *\ -arch\ *) am__universal=true ;; 17091 esac 17092 17093 for depmode in $am_compiler_list; do 17094 # Setup a source with many dependencies, because some compilers 17095 # like to wrap large dependency lists on column 80 (with \), and 17096 # we should not choose a depcomp mode which is confused by this. 17097 # 17098 # We need to recreate these files for each test, as the compiler may 17099 # overwrite some of them when testing with obscure command lines. 17100 # This happens at least with the AIX C compiler. 17101 : > sub/conftest.c 17102 for i in 1 2 3 4 5 6; do 17103 echo '#include "conftst'$i'.h"' >> sub/conftest.c 17104 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 17105 # Solaris 10 /bin/sh. 17106 echo '/* dummy */' > sub/conftst$i.h 17107 done 17108 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 17109 17110 # We check with '-c' and '-o' for the sake of the "dashmstdout" 17111 # mode. It turns out that the SunPro C++ compiler does not properly 17112 # handle '-M -o', and we need to detect this. Also, some Intel 17113 # versions had trouble with output in subdirs. 17114 am__obj=sub/conftest.${OBJEXT-o} 17115 am__minus_obj="-o $am__obj" 17116 case $depmode in 17117 gcc) 17118 # This depmode causes a compiler race in universal mode. 17119 test "$am__universal" = false || continue 17120 ;; 17121 nosideeffect) 17122 # After this tag, mechanisms are not by side-effect, so they'll 17123 # only be used when explicitly requested. 17124 if test "x$enable_dependency_tracking" = xyes; then 17125 continue 17126 else 17127 break 17128 fi 17129 ;; 17130 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 17131 # This compiler won't grok '-c -o', but also, the minuso test has 17132 # not run yet. These depmodes are late enough in the game, and 17133 # so weak that their functioning should not be impacted. 17134 am__obj=conftest.${OBJEXT-o} 17135 am__minus_obj= 17136 ;; 17137 none) break ;; 17138 esac 17139 if depmode=$depmode \ 17140 source=sub/conftest.c object=$am__obj \ 17141 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 17142 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 17143 >/dev/null 2>conftest.err && 17144 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 17145 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 17146 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 17147 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 17148 # icc doesn't choke on unknown options, it will just issue warnings 17149 # or remarks (even with -Werror). So we grep stderr for any message 17150 # that says an option was ignored or not supported. 17151 # When given -MP, icc 7.0 and 7.1 complain thusly: 17152 # icc: Command line warning: ignoring option '-M'; no argument required 17153 # The diagnosis changed in icc 8.0: 17154 # icc: Command line remark: option '-MP' not supported 17155 if (grep 'ignoring option' conftest.err || 17156 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 17157 am_cv_CC_dependencies_compiler_type=$depmode 17158 break 17159 fi 17160 fi 17161 done 17162 17163 cd .. 17164 rm -rf conftest.dir 17165else 17166 am_cv_CC_dependencies_compiler_type=none 17167fi 17168 17169fi 17170{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 17171printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 17172CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 17173 17174 if 17175 test "x$enable_dependency_tracking" != xno \ 17176 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 17177 am__fastdepCC_TRUE= 17178 am__fastdepCC_FALSE='#' 17179else 17180 am__fastdepCC_TRUE='#' 17181 am__fastdepCC_FALSE= 17182fi 17183 17184 17185# ... Makefile.am:45: compiling `unroll.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac' 17186 17187# libtoolize if autoconf complains for the following 17188# By default we simply use the C compiler to build assembly code. 17189 17190test "${CCAS+set}" = set || CCAS=$CC 17191test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS 17192 17193 17194 17195depcc="$CCAS" am_compiler_list= 17196 17197{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 17198printf %s "checking dependency style of $depcc... " >&6; } 17199if test ${am_cv_CCAS_dependencies_compiler_type+y} 17200then : 17201 printf %s "(cached) " >&6 17202else $as_nop 17203 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 17204 # We make a subdir and do the tests there. Otherwise we can end up 17205 # making bogus files that we don't know about and never remove. For 17206 # instance it was reported that on HP-UX the gcc test will end up 17207 # making a dummy file named 'D' -- because '-MD' means "put the output 17208 # in D". 17209 rm -rf conftest.dir 17210 mkdir conftest.dir 17211 # Copy depcomp to subdir because otherwise we won't find it if we're 17212 # using a relative directory. 17213 cp "$am_depcomp" conftest.dir 17214 cd conftest.dir 17215 # We will build objects and dependencies in a subdirectory because 17216 # it helps to detect inapplicable dependency modes. For instance 17217 # both Tru64's cc and ICC support -MD to output dependencies as a 17218 # side effect of compilation, but ICC will put the dependencies in 17219 # the current directory while Tru64 will put them in the object 17220 # directory. 17221 mkdir sub 17222 17223 am_cv_CCAS_dependencies_compiler_type=none 17224 if test "$am_compiler_list" = ""; then 17225 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 17226 fi 17227 am__universal=false 17228 17229 17230 for depmode in $am_compiler_list; do 17231 # Setup a source with many dependencies, because some compilers 17232 # like to wrap large dependency lists on column 80 (with \), and 17233 # we should not choose a depcomp mode which is confused by this. 17234 # 17235 # We need to recreate these files for each test, as the compiler may 17236 # overwrite some of them when testing with obscure command lines. 17237 # This happens at least with the AIX C compiler. 17238 : > sub/conftest.c 17239 for i in 1 2 3 4 5 6; do 17240 echo '#include "conftst'$i'.h"' >> sub/conftest.c 17241 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 17242 # Solaris 10 /bin/sh. 17243 echo '/* dummy */' > sub/conftst$i.h 17244 done 17245 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 17246 17247 # We check with '-c' and '-o' for the sake of the "dashmstdout" 17248 # mode. It turns out that the SunPro C++ compiler does not properly 17249 # handle '-M -o', and we need to detect this. Also, some Intel 17250 # versions had trouble with output in subdirs. 17251 am__obj=sub/conftest.${OBJEXT-o} 17252 am__minus_obj="-o $am__obj" 17253 case $depmode in 17254 gcc) 17255 # This depmode causes a compiler race in universal mode. 17256 test "$am__universal" = false || continue 17257 ;; 17258 nosideeffect) 17259 # After this tag, mechanisms are not by side-effect, so they'll 17260 # only be used when explicitly requested. 17261 if test "x$enable_dependency_tracking" = xyes; then 17262 continue 17263 else 17264 break 17265 fi 17266 ;; 17267 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 17268 # This compiler won't grok '-c -o', but also, the minuso test has 17269 # not run yet. These depmodes are late enough in the game, and 17270 # so weak that their functioning should not be impacted. 17271 am__obj=conftest.${OBJEXT-o} 17272 am__minus_obj= 17273 ;; 17274 none) break ;; 17275 esac 17276 if depmode=$depmode \ 17277 source=sub/conftest.c object=$am__obj \ 17278 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 17279 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 17280 >/dev/null 2>conftest.err && 17281 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 17282 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 17283 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 17284 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 17285 # icc doesn't choke on unknown options, it will just issue warnings 17286 # or remarks (even with -Werror). So we grep stderr for any message 17287 # that says an option was ignored or not supported. 17288 # When given -MP, icc 7.0 and 7.1 complain thusly: 17289 # icc: Command line warning: ignoring option '-M'; no argument required 17290 # The diagnosis changed in icc 8.0: 17291 # icc: Command line remark: option '-MP' not supported 17292 if (grep 'ignoring option' conftest.err || 17293 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 17294 am_cv_CCAS_dependencies_compiler_type=$depmode 17295 break 17296 fi 17297 fi 17298 done 17299 17300 cd .. 17301 rm -rf conftest.dir 17302else 17303 am_cv_CCAS_dependencies_compiler_type=none 17304fi 17305 17306fi 17307{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 17308printf "%s\n" "$am_cv_CCAS_dependencies_compiler_type" >&6; } 17309CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type 17310 17311 if 17312 test "x$enable_dependency_tracking" != xno \ 17313 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then 17314 am__fastdepCCAS_TRUE= 17315 am__fastdepCCAS_FALSE='#' 17316else 17317 am__fastdepCCAS_TRUE='#' 17318 am__fastdepCCAS_FALSE= 17319fi 17320 17321 17322#AC_USE_SYSTEM_EXTENSIONS 17323#AC_PROG_C 17324#AC_PROG_INSTALL 17325for ac_prog in gawk mawk nawk awk 17326do 17327 # Extract the first word of "$ac_prog", so it can be a program name with args. 17328set dummy $ac_prog; ac_word=$2 17329{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17330printf %s "checking for $ac_word... " >&6; } 17331if test ${ac_cv_prog_AWK+y} 17332then : 17333 printf %s "(cached) " >&6 17334else $as_nop 17335 if test -n "$AWK"; then 17336 ac_cv_prog_AWK="$AWK" # Let the user override the test. 17337else 17338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17339for as_dir in $PATH 17340do 17341 IFS=$as_save_IFS 17342 case $as_dir in #((( 17343 '') as_dir=./ ;; 17344 */) ;; 17345 *) as_dir=$as_dir/ ;; 17346 esac 17347 for ac_exec_ext in '' $ac_executable_extensions; do 17348 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 17349 ac_cv_prog_AWK="$ac_prog" 17350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 17351 break 2 17352 fi 17353done 17354 done 17355IFS=$as_save_IFS 17356 17357fi 17358fi 17359AWK=$ac_cv_prog_AWK 17360if test -n "$AWK"; then 17361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 17362printf "%s\n" "$AWK" >&6; } 17363else 17364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 17365printf "%s\n" "no" >&6; } 17366fi 17367 17368 17369 test -n "$AWK" && break 17370done 17371 17372{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 17373printf %s "checking for grep that handles long lines and -e... " >&6; } 17374if test ${ac_cv_path_GREP+y} 17375then : 17376 printf %s "(cached) " >&6 17377else $as_nop 17378 if test -z "$GREP"; then 17379 ac_path_GREP_found=false 17380 # Loop through the user's path and test for each of PROGNAME-LIST 17381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17382for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 17383do 17384 IFS=$as_save_IFS 17385 case $as_dir in #((( 17386 '') as_dir=./ ;; 17387 */) ;; 17388 *) as_dir=$as_dir/ ;; 17389 esac 17390 for ac_prog in grep ggrep 17391 do 17392 for ac_exec_ext in '' $ac_executable_extensions; do 17393 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 17394 as_fn_executable_p "$ac_path_GREP" || continue 17395# Check for GNU ac_path_GREP and select it if it is found. 17396 # Check for GNU $ac_path_GREP 17397case `"$ac_path_GREP" --version 2>&1` in 17398*GNU*) 17399 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 17400*) 17401 ac_count=0 17402 printf %s 0123456789 >"conftest.in" 17403 while : 17404 do 17405 cat "conftest.in" "conftest.in" >"conftest.tmp" 17406 mv "conftest.tmp" "conftest.in" 17407 cp "conftest.in" "conftest.nl" 17408 printf "%s\n" 'GREP' >> "conftest.nl" 17409 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 17410 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 17411 as_fn_arith $ac_count + 1 && ac_count=$as_val 17412 if test $ac_count -gt ${ac_path_GREP_max-0}; then 17413 # Best one so far, save it but keep looking for a better one 17414 ac_cv_path_GREP="$ac_path_GREP" 17415 ac_path_GREP_max=$ac_count 17416 fi 17417 # 10*(2^10) chars as input seems more than enough 17418 test $ac_count -gt 10 && break 17419 done 17420 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 17421esac 17422 17423 $ac_path_GREP_found && break 3 17424 done 17425 done 17426 done 17427IFS=$as_save_IFS 17428 if test -z "$ac_cv_path_GREP"; then 17429 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 17430 fi 17431else 17432 ac_cv_path_GREP=$GREP 17433fi 17434 17435fi 17436{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 17437printf "%s\n" "$ac_cv_path_GREP" >&6; } 17438 GREP="$ac_cv_path_GREP" 17439 17440 17441# The cast to long int works around a bug in the HP C Compiler 17442# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17443# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17444# This bug is HP SR number 8606223364. 17445{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 17446printf %s "checking size of void *... " >&6; } 17447if test ${ac_cv_sizeof_void_p+y} 17448then : 17449 printf %s "(cached) " >&6 17450else $as_nop 17451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default" 17452then : 17453 17454else $as_nop 17455 if test "$ac_cv_type_void_p" = yes; then 17456 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17457printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17458as_fn_error 77 "cannot compute sizeof (void *) 17459See 'config.log' for more details" "$LINENO" 5; } 17460 else 17461 ac_cv_sizeof_void_p=0 17462 fi 17463fi 17464 17465fi 17466{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 17467printf "%s\n" "$ac_cv_sizeof_void_p" >&6; } 17468 17469 17470 17471printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h 17472 17473 17474# The cast to long int works around a bug in the HP C Compiler 17475# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17476# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17477# This bug is HP SR number 8606223364. 17478{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 17479printf %s "checking size of char... " >&6; } 17480if test ${ac_cv_sizeof_char+y} 17481then : 17482 printf %s "(cached) " >&6 17483else $as_nop 17484 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default" 17485then : 17486 17487else $as_nop 17488 if test "$ac_cv_type_char" = yes; then 17489 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17490printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17491as_fn_error 77 "cannot compute sizeof (char) 17492See 'config.log' for more details" "$LINENO" 5; } 17493 else 17494 ac_cv_sizeof_char=0 17495 fi 17496fi 17497 17498fi 17499{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 17500printf "%s\n" "$ac_cv_sizeof_char" >&6; } 17501 17502 17503 17504printf "%s\n" "#define SIZEOF_CHAR $ac_cv_sizeof_char" >>confdefs.h 17505 17506 17507# The cast to long int works around a bug in the HP C Compiler 17508# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17509# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17510# This bug is HP SR number 8606223364. 17511{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 17512printf %s "checking size of int... " >&6; } 17513if test ${ac_cv_sizeof_int+y} 17514then : 17515 printf %s "(cached) " >&6 17516else $as_nop 17517 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default" 17518then : 17519 17520else $as_nop 17521 if test "$ac_cv_type_int" = yes; then 17522 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17523printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17524as_fn_error 77 "cannot compute sizeof (int) 17525See 'config.log' for more details" "$LINENO" 5; } 17526 else 17527 ac_cv_sizeof_int=0 17528 fi 17529fi 17530 17531fi 17532{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 17533printf "%s\n" "$ac_cv_sizeof_int" >&6; } 17534 17535 17536 17537printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h 17538 17539 17540# The cast to long int works around a bug in the HP C Compiler 17541# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17542# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17543# This bug is HP SR number 8606223364. 17544{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5 17545printf %s "checking size of short int... " >&6; } 17546if test ${ac_cv_sizeof_short_int+y} 17547then : 17548 printf %s "(cached) " >&6 17549else $as_nop 17550 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default" 17551then : 17552 17553else $as_nop 17554 if test "$ac_cv_type_short_int" = yes; then 17555 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17556printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17557as_fn_error 77 "cannot compute sizeof (short int) 17558See 'config.log' for more details" "$LINENO" 5; } 17559 else 17560 ac_cv_sizeof_short_int=0 17561 fi 17562fi 17563 17564fi 17565{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5 17566printf "%s\n" "$ac_cv_sizeof_short_int" >&6; } 17567 17568 17569 17570printf "%s\n" "#define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int" >>confdefs.h 17571 17572 17573# The cast to long int works around a bug in the HP C Compiler 17574# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17575# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17576# This bug is HP SR number 8606223364. 17577{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 17578printf %s "checking size of long... " >&6; } 17579if test ${ac_cv_sizeof_long+y} 17580then : 17581 printf %s "(cached) " >&6 17582else $as_nop 17583 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" 17584then : 17585 17586else $as_nop 17587 if test "$ac_cv_type_long" = yes; then 17588 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17589printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17590as_fn_error 77 "cannot compute sizeof (long) 17591See 'config.log' for more details" "$LINENO" 5; } 17592 else 17593 ac_cv_sizeof_long=0 17594 fi 17595fi 17596 17597fi 17598{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 17599printf "%s\n" "$ac_cv_sizeof_long" >&6; } 17600 17601 17602 17603printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h 17604 17605 17606# The cast to long int works around a bug in the HP C Compiler 17607# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17608# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17609# This bug is HP SR number 8606223364. 17610{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5 17611printf %s "checking size of long int... " >&6; } 17612if test ${ac_cv_sizeof_long_int+y} 17613then : 17614 printf %s "(cached) " >&6 17615else $as_nop 17616 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default" 17617then : 17618 17619else $as_nop 17620 if test "$ac_cv_type_long_int" = yes; then 17621 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17622printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17623as_fn_error 77 "cannot compute sizeof (long int) 17624See 'config.log' for more details" "$LINENO" 5; } 17625 else 17626 ac_cv_sizeof_long_int=0 17627 fi 17628fi 17629 17630fi 17631{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5 17632printf "%s\n" "$ac_cv_sizeof_long_int" >&6; } 17633 17634 17635 17636printf "%s\n" "#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int" >>confdefs.h 17637 17638 17639# The cast to long int works around a bug in the HP C Compiler 17640# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17641# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17642# This bug is HP SR number 8606223364. 17643{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5 17644printf %s "checking size of long long int... " >&6; } 17645if test ${ac_cv_sizeof_long_long_int+y} 17646then : 17647 printf %s "(cached) " >&6 17648else $as_nop 17649 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default" 17650then : 17651 17652else $as_nop 17653 if test "$ac_cv_type_long_long_int" = yes; then 17654 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17655printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17656as_fn_error 77 "cannot compute sizeof (long long int) 17657See 'config.log' for more details" "$LINENO" 5; } 17658 else 17659 ac_cv_sizeof_long_long_int=0 17660 fi 17661fi 17662 17663fi 17664{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5 17665printf "%s\n" "$ac_cv_sizeof_long_long_int" >&6; } 17666 17667 17668 17669printf "%s\n" "#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int" >>confdefs.h 17670 17671 17672# The cast to long int works around a bug in the HP C Compiler 17673# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17674# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17675# This bug is HP SR number 8606223364. 17676{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 17677printf %s "checking size of size_t... " >&6; } 17678if test ${ac_cv_sizeof_size_t+y} 17679then : 17680 printf %s "(cached) " >&6 17681else $as_nop 17682 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default" 17683then : 17684 17685else $as_nop 17686 if test "$ac_cv_type_size_t" = yes; then 17687 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17688printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17689as_fn_error 77 "cannot compute sizeof (size_t) 17690See 'config.log' for more details" "$LINENO" 5; } 17691 else 17692 ac_cv_sizeof_size_t=0 17693 fi 17694fi 17695 17696fi 17697{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 17698printf "%s\n" "$ac_cv_sizeof_size_t" >&6; } 17699 17700 17701 17702printf "%s\n" "#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t" >>confdefs.h 17703 17704 17705# The cast to long int works around a bug in the HP C Compiler 17706# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17707# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17708# This bug is HP SR number 8606223364. 17709{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 17710printf %s "checking size of float... " >&6; } 17711if test ${ac_cv_sizeof_float+y} 17712then : 17713 printf %s "(cached) " >&6 17714else $as_nop 17715 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default" 17716then : 17717 17718else $as_nop 17719 if test "$ac_cv_type_float" = yes; then 17720 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17721printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17722as_fn_error 77 "cannot compute sizeof (float) 17723See 'config.log' for more details" "$LINENO" 5; } 17724 else 17725 ac_cv_sizeof_float=0 17726 fi 17727fi 17728 17729fi 17730{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 17731printf "%s\n" "$ac_cv_sizeof_float" >&6; } 17732 17733 17734 17735printf "%s\n" "#define SIZEOF_FLOAT $ac_cv_sizeof_float" >>confdefs.h 17736 17737 17738# The cast to long int works around a bug in the HP C Compiler 17739# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17740# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17741# This bug is HP SR number 8606223364. 17742{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 17743printf %s "checking size of double... " >&6; } 17744if test ${ac_cv_sizeof_double+y} 17745then : 17746 printf %s "(cached) " >&6 17747else $as_nop 17748 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default" 17749then : 17750 17751else $as_nop 17752 if test "$ac_cv_type_double" = yes; then 17753 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17754printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17755as_fn_error 77 "cannot compute sizeof (double) 17756See 'config.log' for more details" "$LINENO" 5; } 17757 else 17758 ac_cv_sizeof_double=0 17759 fi 17760fi 17761 17762fi 17763{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5 17764printf "%s\n" "$ac_cv_sizeof_double" >&6; } 17765 17766 17767 17768printf "%s\n" "#define SIZEOF_DOUBLE $ac_cv_sizeof_double" >>confdefs.h 17769 17770 17771# The cast to long int works around a bug in the HP C Compiler 17772# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17773# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17774# This bug is HP SR number 8606223364. 17775{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5 17776printf %s "checking size of long double... " >&6; } 17777if test ${ac_cv_sizeof_long_double+y} 17778then : 17779 printf %s "(cached) " >&6 17780else $as_nop 17781 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default" 17782then : 17783 17784else $as_nop 17785 if test "$ac_cv_type_long_double" = yes; then 17786 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17787printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17788as_fn_error 77 "cannot compute sizeof (long double) 17789See 'config.log' for more details" "$LINENO" 5; } 17790 else 17791 ac_cv_sizeof_long_double=0 17792 fi 17793fi 17794 17795fi 17796{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5 17797printf "%s\n" "$ac_cv_sizeof_long_double" >&6; } 17798 17799 17800 17801printf "%s\n" "#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double" >>confdefs.h 17802 17803 17804# to use complex we need a specialized header 17805# The cast to long int works around a bug in the HP C Compiler 17806# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17807# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17808# This bug is HP SR number 8606223364. 17809{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of complex" >&5 17810printf %s "checking size of complex... " >&6; } 17811if test ${ac_cv_sizeof_complex+y} 17812then : 17813 printf %s "(cached) " >&6 17814else $as_nop 17815 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (complex))" "ac_cv_sizeof_complex" "$ac_includes_default" 17816then : 17817 17818else $as_nop 17819 if test "$ac_cv_type_complex" = yes; then 17820 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17821printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17822as_fn_error 77 "cannot compute sizeof (complex) 17823See 'config.log' for more details" "$LINENO" 5; } 17824 else 17825 ac_cv_sizeof_complex=0 17826 fi 17827fi 17828 17829fi 17830{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_complex" >&5 17831printf "%s\n" "$ac_cv_sizeof_complex" >&6; } 17832 17833 17834 17835printf "%s\n" "#define SIZEOF_COMPLEX $ac_cv_sizeof_complex" >>confdefs.h 17836 17837 17838# The cast to long int works around a bug in the HP C Compiler 17839# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17840# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17841# This bug is HP SR number 8606223364. 17842{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of float complex" >&5 17843printf %s "checking size of float complex... " >&6; } 17844if test ${ac_cv_sizeof_float_complex+y} 17845then : 17846 printf %s "(cached) " >&6 17847else $as_nop 17848 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float complex))" "ac_cv_sizeof_float_complex" "$ac_includes_default" 17849then : 17850 17851else $as_nop 17852 if test "$ac_cv_type_float_complex" = yes; then 17853 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17854printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17855as_fn_error 77 "cannot compute sizeof (float complex) 17856See 'config.log' for more details" "$LINENO" 5; } 17857 else 17858 ac_cv_sizeof_float_complex=0 17859 fi 17860fi 17861 17862fi 17863{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float_complex" >&5 17864printf "%s\n" "$ac_cv_sizeof_float_complex" >&6; } 17865 17866 17867 17868printf "%s\n" "#define SIZEOF_FLOAT_COMPLEX $ac_cv_sizeof_float_complex" >>confdefs.h 17869 17870 17871# The cast to long int works around a bug in the HP C Compiler 17872# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 17873# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. 17874# This bug is HP SR number 8606223364. 17875{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of double complex" >&5 17876printf %s "checking size of double complex... " >&6; } 17877if test ${ac_cv_sizeof_double_complex+y} 17878then : 17879 printf %s "(cached) " >&6 17880else $as_nop 17881 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double complex))" "ac_cv_sizeof_double_complex" "$ac_includes_default" 17882then : 17883 17884else $as_nop 17885 if test "$ac_cv_type_double_complex" = yes; then 17886 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 17887printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 17888as_fn_error 77 "cannot compute sizeof (double complex) 17889See 'config.log' for more details" "$LINENO" 5; } 17890 else 17891 ac_cv_sizeof_double_complex=0 17892 fi 17893fi 17894 17895fi 17896{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double_complex" >&5 17897printf "%s\n" "$ac_cv_sizeof_double_complex" >&6; } 17898 17899 17900 17901printf "%s\n" "#define SIZEOF_DOUBLE_COMPLEX $ac_cv_sizeof_double_complex" >>confdefs.h 17902 17903 17904# 17905# Check whether --enable-openmp was given. 17906if test ${enable_openmp+y} 17907then : 17908 enableval=$enable_openmp; 17909fi 17910 17911 OPENMP_CFLAGS= 17912 if test "$enable_openmp" != no; then 17913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to support OpenMP" >&5 17914printf %s "checking for $CC option to support OpenMP... " >&6; } 17915if test ${ac_cv_prog_c_openmp+y} 17916then : 17917 printf %s "(cached) " >&6 17918else $as_nop 17919 ac_cv_prog_c_openmp='not found' 17920 for ac_option in '' -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp -homp \ 17921 -Popenmp --openmp; do 17922 17923 ac_save_CFLAGS=$CFLAGS 17924 CFLAGS="$CFLAGS $ac_option" 17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17926/* end confdefs.h. */ 17927 17928#ifndef _OPENMP 17929#error "OpenMP not supported" 17930#endif 17931#include <omp.h> 17932int main (void) { return omp_get_num_threads (); } 17933 17934_ACEOF 17935if ac_fn_c_try_compile "$LINENO" 17936then : 17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17938/* end confdefs.h. */ 17939 17940#ifndef _OPENMP 17941#error "OpenMP not supported" 17942#endif 17943#include <omp.h> 17944int main (void) { return omp_get_num_threads (); } 17945 17946_ACEOF 17947if ac_fn_c_try_link "$LINENO" 17948then : 17949 ac_cv_prog_c_openmp=$ac_option 17950else $as_nop 17951 ac_cv_prog_c_openmp='unsupported' 17952fi 17953rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17954 conftest$ac_exeext conftest.$ac_ext 17955fi 17956rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17957 CFLAGS=$ac_save_CFLAGS 17958 17959 if test "$ac_cv_prog_c_openmp" != 'not found'; then 17960 break 17961 fi 17962 done 17963 if test "$ac_cv_prog_c_openmp" = 'not found'; then 17964 ac_cv_prog_c_openmp='unsupported' 17965 elif test "$ac_cv_prog_c_openmp" = ''; then 17966 ac_cv_prog_c_openmp='none needed' 17967 fi 17968 rm -f penmp mp 17969fi 17970{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_c_openmp" >&5 17971printf "%s\n" "$ac_cv_prog_c_openmp" >&6; } 17972 if test "$ac_cv_prog_c_openmp" != 'unsupported' && \ 17973 test "$ac_cv_prog_c_openmp" != 'none needed'; then 17974 OPENMP_CFLAGS="$ac_cv_prog_c_openmp" 17975 fi 17976 fi 17977 17978 17979# 17980# Extract the first word of "grep", so it can be a program name with args. 17981set dummy grep; ac_word=$2 17982{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17983printf %s "checking for $ac_word... " >&6; } 17984if test ${ac_cv_prog_have_grep+y} 17985then : 17986 printf %s "(cached) " >&6 17987else $as_nop 17988 if test -n "$have_grep"; then 17989 ac_cv_prog_have_grep="$have_grep" # Let the user override the test. 17990else 17991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17992for as_dir in $PATH 17993do 17994 IFS=$as_save_IFS 17995 case $as_dir in #((( 17996 '') as_dir=./ ;; 17997 */) ;; 17998 *) as_dir=$as_dir/ ;; 17999 esac 18000 for ac_exec_ext in '' $ac_executable_extensions; do 18001 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18002 ac_cv_prog_have_grep="yes" 18003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18004 break 2 18005 fi 18006done 18007 done 18008IFS=$as_save_IFS 18009 18010 test -z "$ac_cv_prog_have_grep" && ac_cv_prog_have_grep="no" 18011fi 18012fi 18013have_grep=$ac_cv_prog_have_grep 18014if test -n "$have_grep"; then 18015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_grep" >&5 18016printf "%s\n" "$have_grep" >&6; } 18017else 18018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18019printf "%s\n" "no" >&6; } 18020fi 18021 18022 18023# Extract the first word of "sed", so it can be a program name with args. 18024set dummy sed; ac_word=$2 18025{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18026printf %s "checking for $ac_word... " >&6; } 18027if test ${ac_cv_prog_have_sed+y} 18028then : 18029 printf %s "(cached) " >&6 18030else $as_nop 18031 if test -n "$have_sed"; then 18032 ac_cv_prog_have_sed="$have_sed" # Let the user override the test. 18033else 18034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18035for as_dir in $PATH 18036do 18037 IFS=$as_save_IFS 18038 case $as_dir in #((( 18039 '') as_dir=./ ;; 18040 */) ;; 18041 *) as_dir=$as_dir/ ;; 18042 esac 18043 for ac_exec_ext in '' $ac_executable_extensions; do 18044 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18045 ac_cv_prog_have_sed="yes" 18046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18047 break 2 18048 fi 18049done 18050 done 18051IFS=$as_save_IFS 18052 18053 test -z "$ac_cv_prog_have_sed" && ac_cv_prog_have_sed="no" 18054fi 18055fi 18056have_sed=$ac_cv_prog_have_sed 18057if test -n "$have_sed"; then 18058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_sed" >&5 18059printf "%s\n" "$have_sed" >&6; } 18060else 18061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18062printf "%s\n" "no" >&6; } 18063fi 18064 18065 18066for ac_prog in $OCTAVE octave 18067do 18068 # Extract the first word of "$ac_prog", so it can be a program name with args. 18069set dummy $ac_prog; ac_word=$2 18070{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18071printf %s "checking for $ac_word... " >&6; } 18072if test ${ac_cv_prog_OCTAVE+y} 18073then : 18074 printf %s "(cached) " >&6 18075else $as_nop 18076 if test -n "$OCTAVE"; then 18077 ac_cv_prog_OCTAVE="$OCTAVE" # Let the user override the test. 18078else 18079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18080for as_dir in $PATH 18081do 18082 IFS=$as_save_IFS 18083 case $as_dir in #((( 18084 '') as_dir=./ ;; 18085 */) ;; 18086 *) as_dir=$as_dir/ ;; 18087 esac 18088 for ac_exec_ext in '' $ac_executable_extensions; do 18089 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18090 ac_cv_prog_OCTAVE="$ac_prog" 18091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18092 break 2 18093 fi 18094done 18095 done 18096IFS=$as_save_IFS 18097 18098fi 18099fi 18100OCTAVE=$ac_cv_prog_OCTAVE 18101if test -n "$OCTAVE"; then 18102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5 18103printf "%s\n" "$OCTAVE" >&6; } 18104else 18105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18106printf "%s\n" "no" >&6; } 18107fi 18108 18109 18110 test -n "$OCTAVE" && break 18111done 18112test -n "$OCTAVE" || OCTAVE="false" 18113 18114for ac_prog in $DOXYGEN doxygen 18115do 18116 # Extract the first word of "$ac_prog", so it can be a program name with args. 18117set dummy $ac_prog; ac_word=$2 18118{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18119printf %s "checking for $ac_word... " >&6; } 18120if test ${ac_cv_prog_DOXYGEN+y} 18121then : 18122 printf %s "(cached) " >&6 18123else $as_nop 18124 if test -n "$DOXYGEN"; then 18125 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test. 18126else 18127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18128for as_dir in $PATH 18129do 18130 IFS=$as_save_IFS 18131 case $as_dir in #((( 18132 '') as_dir=./ ;; 18133 */) ;; 18134 *) as_dir=$as_dir/ ;; 18135 esac 18136 for ac_exec_ext in '' $ac_executable_extensions; do 18137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18138 ac_cv_prog_DOXYGEN="$ac_prog" 18139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18140 break 2 18141 fi 18142done 18143 done 18144IFS=$as_save_IFS 18145 18146fi 18147fi 18148DOXYGEN=$ac_cv_prog_DOXYGEN 18149if test -n "$DOXYGEN"; then 18150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 18151printf "%s\n" "$DOXYGEN" >&6; } 18152else 18153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18154printf "%s\n" "no" >&6; } 18155fi 18156 18157 18158 test -n "$DOXYGEN" && break 18159done 18160test -n "$DOXYGEN" || DOXYGEN="false" 18161 18162for ac_prog in $HELP2MAN help2man 18163do 18164 # Extract the first word of "$ac_prog", so it can be a program name with args. 18165set dummy $ac_prog; ac_word=$2 18166{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18167printf %s "checking for $ac_word... " >&6; } 18168if test ${ac_cv_prog_HELP2MAN+y} 18169then : 18170 printf %s "(cached) " >&6 18171else $as_nop 18172 if test -n "$HELP2MAN"; then 18173 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test. 18174else 18175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18176for as_dir in $PATH 18177do 18178 IFS=$as_save_IFS 18179 case $as_dir in #((( 18180 '') as_dir=./ ;; 18181 */) ;; 18182 *) as_dir=$as_dir/ ;; 18183 esac 18184 for ac_exec_ext in '' $ac_executable_extensions; do 18185 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18186 ac_cv_prog_HELP2MAN="$ac_prog" 18187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18188 break 2 18189 fi 18190done 18191 done 18192IFS=$as_save_IFS 18193 18194fi 18195fi 18196HELP2MAN=$ac_cv_prog_HELP2MAN 18197if test -n "$HELP2MAN"; then 18198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5 18199printf "%s\n" "$HELP2MAN" >&6; } 18200else 18201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18202printf "%s\n" "no" >&6; } 18203fi 18204 18205 18206 test -n "$HELP2MAN" && break 18207done 18208test -n "$HELP2MAN" || HELP2MAN="false" 18209 18210for ac_prog in $M4 gm4 m4 /opt/freeware/bin/m4 18211do 18212 # Extract the first word of "$ac_prog", so it can be a program name with args. 18213set dummy $ac_prog; ac_word=$2 18214{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18215printf %s "checking for $ac_word... " >&6; } 18216if test ${ac_cv_prog_M4+y} 18217then : 18218 printf %s "(cached) " >&6 18219else $as_nop 18220 if test -n "$M4"; then 18221 ac_cv_prog_M4="$M4" # Let the user override the test. 18222else 18223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18224for as_dir in $PATH 18225do 18226 IFS=$as_save_IFS 18227 case $as_dir in #((( 18228 '') as_dir=./ ;; 18229 */) ;; 18230 *) as_dir=$as_dir/ ;; 18231 esac 18232 for ac_exec_ext in '' $ac_executable_extensions; do 18233 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18234 ac_cv_prog_M4="$ac_prog" 18235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18236 break 2 18237 fi 18238done 18239 done 18240IFS=$as_save_IFS 18241 18242fi 18243fi 18244M4=$ac_cv_prog_M4 18245if test -n "$M4"; then 18246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $M4" >&5 18247printf "%s\n" "$M4" >&6; } 18248else 18249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18250printf "%s\n" "no" >&6; } 18251fi 18252 18253 18254 test -n "$M4" && break 18255done 18256test -n "$M4" || M4="false" 18257 18258for ac_prog in $GREP ggrep grep 18259do 18260 # Extract the first word of "$ac_prog", so it can be a program name with args. 18261set dummy $ac_prog; ac_word=$2 18262{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18263printf %s "checking for $ac_word... " >&6; } 18264if test ${ac_cv_prog_GREP+y} 18265then : 18266 printf %s "(cached) " >&6 18267else $as_nop 18268 if test -n "$GREP"; then 18269 ac_cv_prog_GREP="$GREP" # Let the user override the test. 18270else 18271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18272for as_dir in $PATH 18273do 18274 IFS=$as_save_IFS 18275 case $as_dir in #((( 18276 '') as_dir=./ ;; 18277 */) ;; 18278 *) as_dir=$as_dir/ ;; 18279 esac 18280 for ac_exec_ext in '' $ac_executable_extensions; do 18281 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18282 ac_cv_prog_GREP="$ac_prog" 18283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18284 break 2 18285 fi 18286done 18287 done 18288IFS=$as_save_IFS 18289 18290fi 18291fi 18292GREP=$ac_cv_prog_GREP 18293if test -n "$GREP"; then 18294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5 18295printf "%s\n" "$GREP" >&6; } 18296else 18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18298printf "%s\n" "no" >&6; } 18299fi 18300 18301 18302 test -n "$GREP" && break 18303done 18304test -n "$GREP" || GREP="false" 18305 18306for ac_prog in $SED gsed sed 18307do 18308 # Extract the first word of "$ac_prog", so it can be a program name with args. 18309set dummy $ac_prog; ac_word=$2 18310{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18311printf %s "checking for $ac_word... " >&6; } 18312if test ${ac_cv_prog_SED+y} 18313then : 18314 printf %s "(cached) " >&6 18315else $as_nop 18316 if test -n "$SED"; then 18317 ac_cv_prog_SED="$SED" # Let the user override the test. 18318else 18319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18320for as_dir in $PATH 18321do 18322 IFS=$as_save_IFS 18323 case $as_dir in #((( 18324 '') as_dir=./ ;; 18325 */) ;; 18326 *) as_dir=$as_dir/ ;; 18327 esac 18328 for ac_exec_ext in '' $ac_executable_extensions; do 18329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18330 ac_cv_prog_SED="$ac_prog" 18331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18332 break 2 18333 fi 18334done 18335 done 18336IFS=$as_save_IFS 18337 18338fi 18339fi 18340SED=$ac_cv_prog_SED 18341if test -n "$SED"; then 18342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 18343printf "%s\n" "$SED" >&6; } 18344else 18345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18346printf "%s\n" "no" >&6; } 18347fi 18348 18349 18350 test -n "$SED" && break 18351done 18352test -n "$SED" || SED="false" 18353 18354for ac_prog in $CUT gcut cut 18355do 18356 # Extract the first word of "$ac_prog", so it can be a program name with args. 18357set dummy $ac_prog; ac_word=$2 18358{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18359printf %s "checking for $ac_word... " >&6; } 18360if test ${ac_cv_prog_CUT+y} 18361then : 18362 printf %s "(cached) " >&6 18363else $as_nop 18364 if test -n "$CUT"; then 18365 ac_cv_prog_CUT="$CUT" # Let the user override the test. 18366else 18367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18368for as_dir in $PATH 18369do 18370 IFS=$as_save_IFS 18371 case $as_dir in #((( 18372 '') as_dir=./ ;; 18373 */) ;; 18374 *) as_dir=$as_dir/ ;; 18375 esac 18376 for ac_exec_ext in '' $ac_executable_extensions; do 18377 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18378 ac_cv_prog_CUT="$ac_prog" 18379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18380 break 2 18381 fi 18382done 18383 done 18384IFS=$as_save_IFS 18385 18386fi 18387fi 18388CUT=$ac_cv_prog_CUT 18389if test -n "$CUT"; then 18390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CUT" >&5 18391printf "%s\n" "$CUT" >&6; } 18392else 18393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18394printf "%s\n" "no" >&6; } 18395fi 18396 18397 18398 test -n "$CUT" && break 18399done 18400test -n "$CUT" || CUT="false" 18401 18402for ac_prog in $NPROC nproc 18403do 18404 # Extract the first word of "$ac_prog", so it can be a program name with args. 18405set dummy $ac_prog; ac_word=$2 18406{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18407printf %s "checking for $ac_word... " >&6; } 18408if test ${ac_cv_prog_NPROC+y} 18409then : 18410 printf %s "(cached) " >&6 18411else $as_nop 18412 if test -n "$NPROC"; then 18413 ac_cv_prog_NPROC="$NPROC" # Let the user override the test. 18414else 18415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18416for as_dir in $PATH 18417do 18418 IFS=$as_save_IFS 18419 case $as_dir in #((( 18420 '') as_dir=./ ;; 18421 */) ;; 18422 *) as_dir=$as_dir/ ;; 18423 esac 18424 for ac_exec_ext in '' $ac_executable_extensions; do 18425 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18426 ac_cv_prog_NPROC="$ac_prog" 18427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 18428 break 2 18429 fi 18430done 18431 done 18432IFS=$as_save_IFS 18433 18434fi 18435fi 18436NPROC=$ac_cv_prog_NPROC 18437if test -n "$NPROC"; then 18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NPROC" >&5 18439printf "%s\n" "$NPROC" >&6; } 18440else 18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18442printf "%s\n" "no" >&6; } 18443fi 18444 18445 18446 test -n "$NPROC" && break 18447done 18448test -n "$NPROC" || NPROC="false" 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460# 18461ac_config_headers="$ac_config_headers rsb-config.h" 18462 18463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 18464printf %s "checking whether byte ordering is bigendian... " >&6; } 18465if test ${ac_cv_c_bigendian+y} 18466then : 18467 printf %s "(cached) " >&6 18468else $as_nop 18469 ac_cv_c_bigendian=unknown 18470 # See if we're dealing with a universal compiler. 18471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18472/* end confdefs.h. */ 18473#ifndef __APPLE_CC__ 18474 not a universal capable compiler 18475 #endif 18476 typedef int dummy; 18477 18478_ACEOF 18479if ac_fn_c_try_compile "$LINENO" 18480then : 18481 18482 # Check for potential -arch flags. It is not universal unless 18483 # there are at least two -arch flags with different values. 18484 ac_arch= 18485 ac_prev= 18486 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 18487 if test -n "$ac_prev"; then 18488 case $ac_word in 18489 i?86 | x86_64 | ppc | ppc64) 18490 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 18491 ac_arch=$ac_word 18492 else 18493 ac_cv_c_bigendian=universal 18494 break 18495 fi 18496 ;; 18497 esac 18498 ac_prev= 18499 elif test "x$ac_word" = "x-arch"; then 18500 ac_prev=arch 18501 fi 18502 done 18503fi 18504rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 18505 if test $ac_cv_c_bigendian = unknown; then 18506 # See if sys/param.h defines the BYTE_ORDER macro. 18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18508/* end confdefs.h. */ 18509#include <sys/types.h> 18510 #include <sys/param.h> 18511 18512int 18513main (void) 18514{ 18515#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ 18516 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ 18517 && LITTLE_ENDIAN) 18518 bogus endian macros 18519 #endif 18520 18521 ; 18522 return 0; 18523} 18524_ACEOF 18525if ac_fn_c_try_compile "$LINENO" 18526then : 18527 # It does; now see whether it defined to BIG_ENDIAN or not. 18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18529/* end confdefs.h. */ 18530#include <sys/types.h> 18531 #include <sys/param.h> 18532 18533int 18534main (void) 18535{ 18536#if BYTE_ORDER != BIG_ENDIAN 18537 not big endian 18538 #endif 18539 18540 ; 18541 return 0; 18542} 18543_ACEOF 18544if ac_fn_c_try_compile "$LINENO" 18545then : 18546 ac_cv_c_bigendian=yes 18547else $as_nop 18548 ac_cv_c_bigendian=no 18549fi 18550rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 18551fi 18552rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 18553 fi 18554 if test $ac_cv_c_bigendian = unknown; then 18555 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18557/* end confdefs.h. */ 18558#include <limits.h> 18559 18560int 18561main (void) 18562{ 18563#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 18564 bogus endian macros 18565 #endif 18566 18567 ; 18568 return 0; 18569} 18570_ACEOF 18571if ac_fn_c_try_compile "$LINENO" 18572then : 18573 # It does; now see whether it defined to _BIG_ENDIAN or not. 18574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18575/* end confdefs.h. */ 18576#include <limits.h> 18577 18578int 18579main (void) 18580{ 18581#ifndef _BIG_ENDIAN 18582 not big endian 18583 #endif 18584 18585 ; 18586 return 0; 18587} 18588_ACEOF 18589if ac_fn_c_try_compile "$LINENO" 18590then : 18591 ac_cv_c_bigendian=yes 18592else $as_nop 18593 ac_cv_c_bigendian=no 18594fi 18595rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 18596fi 18597rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 18598 fi 18599 if test $ac_cv_c_bigendian = unknown; then 18600 # Compile a test program. 18601 if test "$cross_compiling" = yes 18602then : 18603 # Try to guess by grepping values from an object file. 18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18605/* end confdefs.h. */ 18606unsigned short int ascii_mm[] = 18607 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 18608 unsigned short int ascii_ii[] = 18609 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 18610 int use_ascii (int i) { 18611 return ascii_mm[i] + ascii_ii[i]; 18612 } 18613 unsigned short int ebcdic_ii[] = 18614 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 18615 unsigned short int ebcdic_mm[] = 18616 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 18617 int use_ebcdic (int i) { 18618 return ebcdic_mm[i] + ebcdic_ii[i]; 18619 } 18620 extern int foo; 18621 18622int 18623main (void) 18624{ 18625return use_ascii (foo) == use_ebcdic (foo); 18626 ; 18627 return 0; 18628} 18629_ACEOF 18630if ac_fn_c_try_compile "$LINENO" 18631then : 18632 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 18633 ac_cv_c_bigendian=yes 18634 fi 18635 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 18636 if test "$ac_cv_c_bigendian" = unknown; then 18637 ac_cv_c_bigendian=no 18638 else 18639 # finding both strings is unlikely to happen, but who knows? 18640 ac_cv_c_bigendian=unknown 18641 fi 18642 fi 18643fi 18644rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 18645else $as_nop 18646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18647/* end confdefs.h. */ 18648$ac_includes_default 18649int 18650main (void) 18651{ 18652 18653 /* Are we little or big endian? From Harbison&Steele. */ 18654 union 18655 { 18656 long int l; 18657 char c[sizeof (long int)]; 18658 } u; 18659 u.l = 1; 18660 return u.c[sizeof (long int) - 1] == 1; 18661 18662 ; 18663 return 0; 18664} 18665_ACEOF 18666if ac_fn_c_try_run "$LINENO" 18667then : 18668 ac_cv_c_bigendian=no 18669else $as_nop 18670 ac_cv_c_bigendian=yes 18671fi 18672rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18673 conftest.$ac_objext conftest.beam conftest.$ac_ext 18674fi 18675 18676 fi 18677fi 18678{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 18679printf "%s\n" "$ac_cv_c_bigendian" >&6; } 18680 case $ac_cv_c_bigendian in #( 18681 yes) 18682 printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h 18683;; #( 18684 no) 18685 ;; #( 18686 universal) 18687 18688printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 18689 18690 ;; #( 18691 *) 18692 as_fn_error $? "unknown endianness 18693 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 18694 esac 18695 18696ac_func= 18697for ac_item in $ac_func_c_list 18698do 18699 if test $ac_func; then 18700 ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func 18701 if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then 18702 echo "#define $ac_item 1" >> confdefs.h 18703 fi 18704 ac_func= 18705 else 18706 ac_func=$ac_item 18707 fi 18708done 18709 18710if test "x$ac_cv_func_vprintf" = xno 18711then : 18712 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 18713if test "x$ac_cv_func__doprnt" = xyes 18714then : 18715 18716printf "%s\n" "#define HAVE_DOPRNT 1" >>confdefs.h 18717 18718fi 18719 18720fi 18721{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 18722printf %s "checking for an ANSI C-conforming const... " >&6; } 18723if test ${ac_cv_c_const+y} 18724then : 18725 printf %s "(cached) " >&6 18726else $as_nop 18727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18728/* end confdefs.h. */ 18729 18730int 18731main (void) 18732{ 18733 18734#ifndef __cplusplus 18735 /* Ultrix mips cc rejects this sort of thing. */ 18736 typedef int charset[2]; 18737 const charset cs = { 0, 0 }; 18738 /* SunOS 4.1.1 cc rejects this. */ 18739 char const *const *pcpcc; 18740 char **ppc; 18741 /* NEC SVR4.0.2 mips cc rejects this. */ 18742 struct point {int x, y;}; 18743 static struct point const zero = {0,0}; 18744 /* IBM XL C 1.02.0.0 rejects this. 18745 It does not let you subtract one const X* pointer from another in 18746 an arm of an if-expression whose if-part is not a constant 18747 expression */ 18748 const char *g = "string"; 18749 pcpcc = &g + (g ? g-g : 0); 18750 /* HPUX 7.0 cc rejects these. */ 18751 ++pcpcc; 18752 ppc = (char**) pcpcc; 18753 pcpcc = (char const *const *) ppc; 18754 { /* SCO 3.2v4 cc rejects this sort of thing. */ 18755 char tx; 18756 char *t = &tx; 18757 char const *s = 0 ? (char *) 0 : (char const *) 0; 18758 18759 *t++ = 0; 18760 if (s) return 0; 18761 } 18762 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 18763 int x[] = {25, 17}; 18764 const int *foo = &x[0]; 18765 ++foo; 18766 } 18767 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 18768 typedef const int *iptr; 18769 iptr p = 0; 18770 ++p; 18771 } 18772 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying 18773 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 18774 struct s { int j; const int *ap[3]; } bx; 18775 struct s *b = &bx; b->j = 5; 18776 } 18777 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 18778 const int foo = 10; 18779 if (!foo) return 0; 18780 } 18781 return !cs[0] && !zero.x; 18782#endif 18783 18784 ; 18785 return 0; 18786} 18787_ACEOF 18788if ac_fn_c_try_compile "$LINENO" 18789then : 18790 ac_cv_c_const=yes 18791else $as_nop 18792 ac_cv_c_const=no 18793fi 18794rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 18795fi 18796{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 18797printf "%s\n" "$ac_cv_c_const" >&6; } 18798if test $ac_cv_c_const = no; then 18799 18800printf "%s\n" "#define const /**/" >>confdefs.h 18801 18802fi 18803 18804{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 18805printf %s "checking for inline... " >&6; } 18806if test ${ac_cv_c_inline+y} 18807then : 18808 printf %s "(cached) " >&6 18809else $as_nop 18810 ac_cv_c_inline=no 18811for ac_kw in inline __inline__ __inline; do 18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18813/* end confdefs.h. */ 18814#ifndef __cplusplus 18815typedef int foo_t; 18816static $ac_kw foo_t static_foo (void) {return 0; } 18817$ac_kw foo_t foo (void) {return 0; } 18818#endif 18819 18820_ACEOF 18821if ac_fn_c_try_compile "$LINENO" 18822then : 18823 ac_cv_c_inline=$ac_kw 18824fi 18825rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 18826 test "$ac_cv_c_inline" != no && break 18827done 18828 18829fi 18830{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 18831printf "%s\n" "$ac_cv_c_inline" >&6; } 18832 18833case $ac_cv_c_inline in 18834 inline | yes) ;; 18835 *) 18836 case $ac_cv_c_inline in 18837 no) ac_val=;; 18838 *) ac_val=$ac_cv_c_inline;; 18839 esac 18840 cat >>confdefs.h <<_ACEOF 18841#ifndef __cplusplus 18842#define inline $ac_val 18843#endif 18844_ACEOF 18845 ;; 18846esac 18847 18848ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 18849if test "x$ac_cv_type_size_t" = xyes 18850then : 18851 18852else $as_nop 18853 18854printf "%s\n" "#define size_t unsigned int" >>confdefs.h 18855 18856fi 18857 18858# 18859ac_fn_c_check_func "$LINENO" "mlockall" "ac_cv_func_mlockall" 18860if test "x$ac_cv_func_mlockall" = xyes 18861then : 18862 18863printf "%s\n" "#define HAVE_MLOCKALL 1" >>confdefs.h 18864 18865fi 18866 18867ac_fn_c_check_func "$LINENO" "sysconf" "ac_cv_func_sysconf" 18868if test "x$ac_cv_func_sysconf" = xyes 18869then : 18870 18871printf "%s\n" "#define HAVE_SYSCONF 1" >>confdefs.h 18872 18873fi 18874 18875ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname" 18876if test "x$ac_cv_func_gethostname" = xyes 18877then : 18878 18879printf "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h 18880 18881fi 18882 18883ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign" 18884if test "x$ac_cv_func_posix_memalign" = xyes 18885then : 18886 18887printf "%s\n" "#define HAVE_POSIX_MEMALIGN 1" >>confdefs.h 18888 18889fi 18890 18891ac_fn_c_check_func "$LINENO" "memalign" "ac_cv_func_memalign" 18892if test "x$ac_cv_func_memalign" = xyes 18893then : 18894 18895printf "%s\n" "#define HAVE_MEMALIGN 1" >>confdefs.h 18896 18897fi 18898 18899ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 18900if test "x$ac_cv_func_getenv" = xyes 18901then : 18902 18903printf "%s\n" "#define HAVE_GETENV 1" >>confdefs.h 18904 18905fi 18906 18907ac_fn_c_check_func "$LINENO" "fileno" "ac_cv_func_fileno" 18908if test "x$ac_cv_func_fileno" = xyes 18909then : 18910 18911printf "%s\n" "#define HAVE_FILENO 1" >>confdefs.h 18912 18913fi 18914 18915 18916ac_fn_c_check_func "$LINENO" "rand" "ac_cv_func_rand" 18917if test "x$ac_cv_func_rand" = xyes 18918then : 18919 printf "%s\n" "#define HAVE_RAND 1" >>confdefs.h 18920 18921fi 18922ac_fn_c_check_func "$LINENO" "isatty" "ac_cv_func_isatty" 18923if test "x$ac_cv_func_isatty" = xyes 18924then : 18925 printf "%s\n" "#define HAVE_ISATTY 1" >>confdefs.h 18926 18927fi 18928 18929ac_fn_c_check_func "$LINENO" "sched_getaffinity" "ac_cv_func_sched_getaffinity" 18930if test "x$ac_cv_func_sched_getaffinity" = xyes 18931then : 18932 printf "%s\n" "#define HAVE_SCHED_GETAFFINITY 1" >>confdefs.h 18933 18934fi 18935 18936ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset" 18937if test "x$ac_cv_func_memset" = xyes 18938then : 18939 printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h 18940 18941fi 18942ac_fn_c_check_func "$LINENO" "strncmp" "ac_cv_func_strncmp" 18943if test "x$ac_cv_func_strncmp" = xyes 18944then : 18945 printf "%s\n" "#define HAVE_STRNCMP 1" >>confdefs.h 18946 18947fi 18948 18949ac_fn_c_check_func "$LINENO" "dup" "ac_cv_func_dup" 18950if test "x$ac_cv_func_dup" = xyes 18951then : 18952 printf "%s\n" "#define HAVE_DUP 1" >>confdefs.h 18953 18954fi 18955 18956ac_fn_c_check_func "$LINENO" "fread" "ac_cv_func_fread" 18957if test "x$ac_cv_func_fread" = xyes 18958then : 18959 printf "%s\n" "#define HAVE_FREAD 1" >>confdefs.h 18960 18961fi 18962ac_fn_c_check_func "$LINENO" "fwrite" "ac_cv_func_fwrite" 18963if test "x$ac_cv_func_fwrite" = xyes 18964then : 18965 printf "%s\n" "#define HAVE_FWRITE 1" >>confdefs.h 18966 18967fi 18968 18969#dnl *********************************************************************** 18970#dnl THESE ARE ESSENTIAL 18971#dnl *********************************************************************** 18972ac_fn_c_check_header_compile "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default" 18973if test "x$ac_cv_header_libgen_h" = xyes 18974then : 18975 printf "%s\n" "#define HAVE_LIBGEN_H 1" >>confdefs.h 18976 18977fi 18978 18979ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default" 18980if test "x$ac_cv_header_sched_h" = xyes 18981then : 18982 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h 18983 18984fi 18985 18986ac_fn_c_check_header_compile "$LINENO" "dmalloc.h" "ac_cv_header_dmalloc_h" "$ac_includes_default" 18987if test "x$ac_cv_header_dmalloc_h" = xyes 18988then : 18989 printf "%s\n" "#define HAVE_DMALLOC_H 1" >>confdefs.h 18990 18991fi 18992 18993ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" 18994if test "x$ac_cv_func_getopt_long" = xyes 18995then : 18996 18997printf "%s\n" "#define HAVE_GETOPT_LONG 1" >>confdefs.h 18998 18999fi 19000 19001ac_fn_c_check_func "$LINENO" "times" "ac_cv_func_times" 19002if test "x$ac_cv_func_times" = xyes 19003then : 19004 19005printf "%s\n" "#define HAVE_TIMES 1" >>confdefs.h 19006 19007fi 19008 19009ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 19010if test "x$ac_cv_func_gettimeofday" = xyes 19011then : 19012 19013printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h 19014 19015fi 19016 19017ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv" 19018if test "x$ac_cv_func_setenv" = xyes 19019then : 19020 19021printf "%s\n" "#define HAVE_SETENV 1" >>confdefs.h 19022 19023fi 19024 19025ac_fn_c_check_header_compile "$LINENO" "omp.h" "ac_cv_header_omp_h" "$ac_includes_default" 19026if test "x$ac_cv_header_omp_h" = xyes 19027then : 19028 printf "%s\n" "#define HAVE_OMP_H 1" >>confdefs.h 19029 19030fi 19031 19032ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 19033if test "x$ac_cv_header_getopt_h" = xyes 19034then : 19035 printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h 19036 19037fi 19038 19039ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 19040if test "x$ac_cv_header_malloc_h" = xyes 19041then : 19042 printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h 19043 19044fi 19045ac_fn_c_check_header_compile "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" 19046if test "x$ac_cv_header_memory_h" = xyes 19047then : 19048 printf "%s\n" "#define HAVE_MEMORY_H 1" >>confdefs.h 19049 19050fi 19051 19052ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 19053if test "x$ac_cv_header_pthread_h" = xyes 19054then : 19055 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h 19056 19057fi 19058 ac_fn_c_check_header_compile "$LINENO" "papi.h" "ac_cv_header_papi_h" "$ac_includes_default" 19059if test "x$ac_cv_header_papi_h" = xyes 19060then : 19061 printf "%s\n" "#define HAVE_PAPI_H 1" >>confdefs.h 19062 19063fi 19064 19065ac_fn_c_check_header_compile "$LINENO" "gsl/gsl_sort.h" "ac_cv_header_gsl_gsl_sort_h" "$ac_includes_default" 19066if test "x$ac_cv_header_gsl_gsl_sort_h" = xyes 19067then : 19068 printf "%s\n" "#define HAVE_GSL_GSL_SORT_H 1" >>confdefs.h 19069 19070fi 19071 19072ac_fn_c_check_header_compile "$LINENO" "times.h" "ac_cv_header_times_h" "$ac_includes_default" 19073if test "x$ac_cv_header_times_h" = xyes 19074then : 19075 printf "%s\n" "#define HAVE_TIMES_H 1" >>confdefs.h 19076 19077fi 19078 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 19079if test "x$ac_cv_header_sys_utsname_h" = xyes 19080then : 19081 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h 19082 19083fi 19084 19085ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default" 19086if test "x$ac_cv_header_sys_resource_h" = xyes 19087then : 19088 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h 19089 19090fi 19091 ac_fn_c_check_header_compile "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default" 19092if test "x$ac_cv_header_complex_h" = xyes 19093then : 19094 printf "%s\n" "#define HAVE_COMPLEX_H 1" >>confdefs.h 19095 19096fi 19097 19098ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 19099if test "x$ac_cv_header_assert_h" = xyes 19100then : 19101 printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h 19102 19103fi 19104 19105ac_fn_c_check_header_compile "$LINENO" "rpc/xdr.h" "ac_cv_header_rpc_xdr_h" "$ac_includes_default" 19106if test "x$ac_cv_header_rpc_xdr_h" = xyes 19107then : 19108 printf "%s\n" "#define HAVE_RPC_XDR_H 1" >>confdefs.h 19109 19110fi 19111 19112ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" 19113if test "x$ac_cv_header_sys_mman_h" = xyes 19114then : 19115 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h 19116 19117fi 19118 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 19119if test "x$ac_cv_header_stdint_h" = xyes 19120then : 19121 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h 19122 19123fi 19124 19125ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 19126if test "x$ac_cv_header_unistd_h" = xyes 19127then : 19128 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h 19129 19130fi 19131 ac_fn_c_check_header_compile "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 19132if test "x$ac_cv_header_stdio_h" = xyes 19133then : 19134 printf "%s\n" "#define HAVE_STDIO_H 1" >>confdefs.h 19135 19136fi 19137 ac_fn_c_check_header_compile "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 19138if test "x$ac_cv_header_stdarg_h" = xyes 19139then : 19140 printf "%s\n" "#define HAVE_STDARG_H 1" >>confdefs.h 19141 19142fi 19143 ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 19144if test "x$ac_cv_header_time_h" = xyes 19145then : 19146 printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h 19147 19148fi 19149 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default" 19150if test "x$ac_cv_header_regex_h" = xyes 19151then : 19152 printf "%s\n" "#define HAVE_REGEX_H 1" >>confdefs.h 19153 19154fi 19155 ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 19156if test "x$ac_cv_header_string_h" = xyes 19157then : 19158 printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h 19159 19160fi 19161ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" 19162if test "x$ac_cv_header_strings_h" = xyes 19163then : 19164 printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h 19165 19166fi 19167ac_fn_c_check_header_compile "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 19168if test "x$ac_cv_header_ctype_h" = xyes 19169then : 19170 printf "%s\n" "#define HAVE_CTYPE_H 1" >>confdefs.h 19171 19172fi 19173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19174/* end confdefs.h. */ 19175 19176int 19177main (void) 19178{ 19179 19180#ifdef __MINGW32__ 19181#error "You are likely using MINGW (Minimalist GNU for Windows)." 19182#else 19183 /* "You are likely not using MINGW (Minimalist GNU for Windows)." */ 19184#endif 19185 19186 ; 19187 return 0; 19188} 19189_ACEOF 19190if ac_fn_c_try_compile "$LINENO" 19191then : 19192 ac_cv_we_use_mingw=no 19193else $as_nop 19194 ac_cv_we_use_mingw=yes 19195fi 19196rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 19197if test "x$ac_cv_we_use_mingw" = xyes; then 19198 ac_cv_mingw_add="-D__USE_MINGW_ANSI_STDIO=1" 19199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: You are likely using MINGW (Minimalist GNU for Windows). Adding ${ac_cv_mingw_add} to compilation flags to avoid broken C99 support." >&5 19200printf "%s\n" "$as_me: You are likely using MINGW (Minimalist GNU for Windows). Adding ${ac_cv_mingw_add} to compilation flags to avoid broken C99 support." >&6;} 19201 CFLAGS="${CFLAGS} ${ac_cv_mingw_add}" 19202fi 19203# rsbench-only LIBS and CFLAGS: 19204RSB_RSBENCH_LIBS= 19205RSB_RSBENCH_CFLAGS= 19206 19207# Check whether --with-math was given. 19208if test ${with_math+y} 19209then : 19210 withval=$with_math; if test "x$withval" = xno; then want_math_libs= ; else want_math_libs="$withval" ; fi 19211else $as_nop 19212 want_math_libs="-lm" 19213fi 19214 19215 for ac_header in math.h 19216do : 19217 ac_fn_c_check_header_compile "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" 19218if test "x$ac_cv_header_math_h" = xyes 19219then : 19220 printf "%s\n" "#define HAVE_MATH_H 1" >>confdefs.h 19221 LIBS="${LIBS} $want_math_libs" 19222else $as_nop 19223 break 19224fi 19225 19226done 19227 19228 19229# Check whether --with-xdr was given. 19230if test ${with_xdr+y} 19231then : 19232 withval=$with_xdr; if test "x$withval" = xno; then want_xdr_libs= ; else want_xdr_libs="$withval" ; fi 19233else $as_nop 19234 want_xdr_libs=" " 19235fi 19236 19237ac_fn_c_check_header_compile "$LINENO" "rpc/xdr.h" "ac_cv_header_rpc_xdr_h" "$ac_includes_default" 19238if test "x$ac_cv_header_rpc_xdr_h" = xyes 19239then : 19240 printf "%s\n" "#define HAVE_RPC_XDR_H 1" >>confdefs.h 19241 19242fi 19243 19244 19245 19246 19247# Check whether --with-hwloc was given. 19248if test ${with_hwloc+y} 19249then : 19250 withval=$with_hwloc; if test "x$withval" = xno; then want_hwloc_libs= ; else want_hwloc_libs="$withval"; if test "x$want_hwloc_libs" = x"yes" ; then want_hwloc_libs="-lhwloc" ; fi; enable_hwloc=yes ; fi 19251else $as_nop 19252 want_hwloc_libs=" " 19253fi 19254 19255 for ac_header in hwloc.h 19256do : 19257 ac_fn_c_check_header_compile "$LINENO" "hwloc.h" "ac_cv_header_hwloc_h" "$ac_includes_default" 19258if test "x$ac_cv_header_hwloc_h" = xyes 19259then : 19260 printf "%s\n" "#define HAVE_HWLOC_H 1" >>confdefs.h 19261 if test "x$enable_hwloc" != x -a "x$want_hwloc_libs" != x ; then LIBS="${LIBS} $want_hwloc_libs"; fi; 19262else $as_nop 19263 break 19264fi 19265 19266done 19267 19268if test "x${CC}" = x"xlc" -o "x${CC}" = x"xlc_r" ; then 19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Disabling XDR support: our API was only tested on Linux." >&5 19270printf "%s\n" "$as_me: Disabling XDR support: our API was only tested on Linux." >&6;} 19271 want_xdr_libs= 19272 ac_cv_header_rpc_xdr_h=no 19273fi 19274 19275if test x"$want_xdr_libs" != x"" && test "x$ac_cv_header_rpc_xdr_h" = xyes ; then 19276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling xdr support." >&5 19277printf "%s\n" "$as_me: Enabling xdr support." >&6;} 19278 19279printf "%s\n" "#define RSB_WANT_XDR_SUPPORT 1" >>confdefs.h 19280 19281 LIBS="${LIBS} $want_xdr_libs" 19282 else 19283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No xdr headers found." >&5 19284printf "%s\n" "$as_me: WARNING: No xdr headers found." >&2;} 19285 19286printf "%s\n" "#define RSB_WANT_XDR_SUPPORT 0" >>confdefs.h 19287 19288fi 19289 19290 19291# Check whether --with-dmalloc was given. 19292if test ${with_dmalloc+y} 19293then : 19294 withval=$with_dmalloc; if test "x$withval" = xyes; then 19295 enable_dmalloc=1; 19296 if test x"$ac_cv_header_dmalloc_h" = xyes ; then 19297 LIBS="${LIBS} -ldmalloc" 19298 DMALLOC_CFLAGS="-DDMALLOC" 19299 fi 19300 else 19301 enable_dmalloc=0 19302 fi 19303else $as_nop 19304 enable_dmalloc=0 19305fi 19306 19307printf "%s\n" "#define RSB_WANT_DMALLOC $enable_dmalloc" >>confdefs.h 19308 19309 19310 19311# Check whether --with-mkl-include was given. 19312if test ${with_mkl_include+y} 19313then : 19314 withval=$with_mkl_include; if test "x$withval" = xno; then MKL_INCLUDE= ; else if test "x$withval" = xyes; then MKL_INCLUDE="" ; else MKL_INCLUDE="$withval" ; fi ; fi 19315else $as_nop 19316 true 19317fi 19318 19319 19320 19321# Check whether --with-mkl was given. 19322if test ${with_mkl+y} 19323then : 19324 withval=$with_mkl; if test "x$withval" = xno; then want_mkl_libs= ; else if test "x$withval" = xyes; then want_mkl_libs="-static -L/opt/intel/mkl/lib/ia32/ -lmkl_solver -Wl,--start-group -lmkl_intel -lmkl_gnu_thread -lmkl_core -Wl,--end-group -fopenmp -lpthread" ; else want_mkl_libs="$withval" ; fi ; fi 19325else $as_nop 19326 true 19327fi 19328 19329 19330 19331# Check whether --with-zlib was given. 19332if test ${with_zlib+y} 19333then : 19334 withval=$with_zlib; if test "x$withval" = xno; then want_zlib_libs="" ; else want_zlib_libs="$withval" ; fi 19335else $as_nop 19336 want_zlib_libs="" 19337fi 19338 19339ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 19340if test "x$ac_cv_header_zlib_h" = xyes 19341then : 19342 printf "%s\n" "#define HAVE_ZLIB_H 1" >>confdefs.h 19343 19344fi 19345 19346want_zlib_support="no" 19347if test x"$want_zlib_libs" != x"" && test "x$ac_cv_header_zlib_h" = xyes ; then 19348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling zlib support." >&5 19349printf "%s\n" "$as_me: Enabling zlib support." >&6;} 19350 19351printf "%s\n" "#define RSB_WANT_ZLIB_SUPPORT 1" >>confdefs.h 19352 19353 if test x"$want_zlib_libs" = x"yes" ; then want_zlib_libs=-lz; fi 19354 LIBS="${LIBS} $want_zlib_libs" 19355 want_zlib_support="yes" 19356 else 19357 19358printf "%s\n" "#define RSB_WANT_ZLIB_SUPPORT 0" >>confdefs.h 19359 19360 want_zlib_support="no" 19361fi 19362 19363# Check whether --with-ompio was given. 19364if test ${with_ompio+y} 19365then : 19366 withval=$with_ompio; if test "x$withval" = xno; then want_ompio="no" ; else want_ompio="yes" ; fi 19367else $as_nop 19368 want_ompio="no" 19369fi 19370 19371 19372if test x"$want_ompio" = x"yes" ; then 19373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling OpenMP + fgets_unlocked() IO support." >&5 19374printf "%s\n" "$as_me: Enabling OpenMP + fgets_unlocked() IO support." >&6;} 19375 19376printf "%s\n" "#define RSB_WANT_OMPIO_SUPPORT 1" >>confdefs.h 19377 19378 else 19379 19380printf "%s\n" "#define RSB_WANT_OMPIO_SUPPORT 0" >>confdefs.h 19381 19382fi 19383 for ac_header in limits.h 19384do : 19385 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 19386if test "x$ac_cv_header_limits_h" = xyes 19387then : 19388 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h 19389 break 19390else $as_nop 19391 break 19392fi 19393 19394done 19395 for ac_header in signal.h 19396do : 19397 ac_fn_c_check_header_compile "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default" 19398if test "x$ac_cv_header_signal_h" = xyes 19399then : 19400 printf "%s\n" "#define HAVE_SIGNAL_H 1" >>confdefs.h 19401 break 19402else $as_nop 19403 break 19404fi 19405 19406done 19407# an AIX specific check 19408 for ac_header in sys/systemcfg.h 19409do : 19410 ac_fn_c_check_header_compile "$LINENO" "sys/systemcfg.h" "ac_cv_header_sys_systemcfg_h" "$ac_includes_default" 19411if test "x$ac_cv_header_sys_systemcfg_h" = xyes 19412then : 19413 printf "%s\n" "#define HAVE_SYS_SYSTEMCFG_H 1" >>confdefs.h 19414 break 19415else $as_nop 19416 break 19417fi 19418 19419done 19420 19421printf "%s\n" "#define RSB_WANT_VERBOSE_MESSAGES 0" >>confdefs.h 19422 19423 19424printf "%s\n" "#define RSB_WANT_KERNELS_DEBUG 1" >>confdefs.h 19425 19426 19427printf "%s\n" "#define RSB_SORT_IN_PLACE 0" >>confdefs.h 19428 19429 19430printf "%s\n" "#define RSB_BLOCK_SMALL_INDICES 1" >>confdefs.h 19431 19432detected_memhinfo=`$srcdir/scripts/linux-sys-cache.sh`; 19433 19434# Check whether --with-nounroll-cflag was given. 19435if test ${with_nounroll_cflag+y} 19436then : 19437 withval=$with_nounroll_cflag; if test "x$withval" = xno; then userset_nounroll_cflag="" ; else userset_nounroll_cflag="$withval" ; fi 19438else $as_nop 19439 userset_nounroll_cflag=""; 19440fi 19441 19442default_want_int_verrbosity="0"; 19443# Check whether --enable-internals-error-verbosity was given. 19444if test ${enable_internals_error_verbosity+y} 19445then : 19446 enableval=$enable_internals_error_verbosity; if test "x$enableval" = xno; then want_int_verrbosity="${default_want_int_verrbosity}" ; else want_int_verrbosity="$enableval" ; fi 19447else $as_nop 19448 want_int_verrbosity="${default_want_int_verrbosity}"; 19449fi 19450 19451default_want_ext_verrbosity="0"; 19452# Check whether --enable-interface-error-verbosity was given. 19453if test ${enable_interface_error_verbosity+y} 19454then : 19455 enableval=$enable_interface_error_verbosity; if test "xenableval" = xno; then want_ext_verrbosity="${default_want_ext_verrbosity}" ; else want_ext_verrbosity="$enableval" ; fi 19456else $as_nop 19457 want_ext_verrbosity="${default_want_ext_verrbosity}"; 19458fi 19459 19460default_want_io_level=0; 19461# Check whether --enable-io-level was given. 19462if test ${enable_io_level+y} 19463then : 19464 enableval=$enable_io_level; if test "x$enableval" = xno; then want_io_level="${default_want_io_level}" ; else want_io_level="$enableval" ; fi 19465else $as_nop 19466 want_io_level="7"; 19467fi 19468 19469default_want_max_threads="160" 19470if test x"${NPROC}" != xfalse -a "`${NPROC}`" -gt $default_want_max_threads; then default_want_max_threads="`${NPROC}`"; fi 19471 19472# Check whether --with-max-threads was given. 19473if test ${with_max_threads+y} 19474then : 19475 withval=$with_max_threads; if test "x$withval" = xno; then want_max_threads="$default_want_max_threads" ; else want_max_threads="$withval" ; fi 19476else $as_nop 19477 want_max_threads="$default_want_max_threads"; 19478fi 19479 19480 19481# Check whether --with-memhinfo was given. 19482if test ${with_memhinfo+y} 19483then : 19484 withval=$with_memhinfo; if test "x$withval" = xno; then memhinfo="" ; openmp_flags= ; else memhinfo="$withval" ; fi 19485else $as_nop 19486 memhinfo=""; 19487fi 19488 19489if test "x${detected_memhinfo}" = x -a "x${memhinfo}" = x; then 19490 FALLBACK_MEM_HIERARCHY_INFO='L2:4/64/512K,L1:8/64/24K' 19491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Failed detecting memory hierarchy info: setting to fallback value of ${FALLBACK_MEM_HIERARCHY_INFO}. If you know it, consider setting it via e.g. --with-memhinfo=${FALLBACK_MEM_HIERARCHY_INFO} .\"" >&5 19492printf "%s\n" "$as_me: WARNING: Failed detecting memory hierarchy info: setting to fallback value of ${FALLBACK_MEM_HIERARCHY_INFO}. If you know it, consider setting it via e.g. --with-memhinfo=${FALLBACK_MEM_HIERARCHY_INFO} .\"" >&2;} 19493 memhinfo="${FALLBACK_MEM_HIERARCHY_INFO}" 19494fi 19495RSB_USER_SET_MEM_HIERARCHY_INFO="${memhinfo}" 19496 19497RSB_DETECTED_MEM_HIERARCHY_INFO="${detected_memhinfo}" 19498 19499 19500# Check whether --with-ar was given. 19501if test ${with_ar+y} 19502then : 19503 withval=$with_ar; if test "x$withval" = xno; then true ; else AR="$withval" ; fi 19504else $as_nop 19505 AR="$AR" 19506fi 19507 19508 19509# Check whether --with-arflags was given. 19510if test ${with_arflags+y} 19511then : 19512 withval=$with_arflags; if test "x$withval" = xno; then true ; else ARFLAGS="$withval" ; fi 19513else $as_nop 19514 ARFLAGS="$ARFLAGS" 19515fi 19516 19517 19518# Check whether --with-m4 was given. 19519if test ${with_m4+y} 19520then : 19521 withval=$with_m4; if test "x$withval" = xno; then true ; else M4="$withval" ; fi 19522else $as_nop 19523 true; 19524fi 19525 19526 19527if test "x$enable_openmp" = x ; then 19528 enable_openmp=yes 19529fi 19530if test "x$enable_openmp" != x"yes" && test "x$want_ompio" = x"yes"; then 19531 as_fn_error $? "You must enable OpenMP if you want OpenMP-backed I/O!" "$LINENO" 5 19532fi 19533#dnl *********************************************************************** 19534 19535 19536 19537 19538#dnl *********************************************************************** 19539# the default block unrolls 19540default_unrolls=1 19541default_util_unrolls=16 19542# the default types for macro-generated code 19543blas_matrix_types="double,float,float complex,double complex" 19544psblas_matrix_types="${blas_matrix_types}" 19545non_blas_matrix_types="int" 19546all_matrix_types="$non_blas_matrix_types,$blas_matrix_types" 19547#default_types=int,double,float,float complex, double complex 19548# float complex and double complex are c99 types 19549default_types="double,float,float complex,double complex" 19550# the default matrix operations 19551blas_matrix_ops=spmv_uaua,spmv_uauz,spmv_uxua,spmv_unua,spmv_sasa,spsv_uxua,spmv_sxsa,spsv_sxsx 19552psblas_matrix_ops="${blas_matrix_ops}",infty_norm,rowssums,scale 19553extra_blas_matrix_ops= # 20140719 these kernels are not active at the moment 19554# 19555non_blas_matrix_ops=infty_norm,rowssums,scale 19556all_matrix_ops="$blas_matrix_ops,$non_blas_matrix_ops$extra_blas_matrix_ops" 19557# 19558default_matrix_ops=spmv_uaua,spmv_uauz,spmv_uxua,spmv_unua,spmv_sasa,spsv_uxua,spmv_sxsa,spsv_sxsx,infty_norm,rowssums,scale 19559#dnl *********************************************************************** 19560#dnl *********************************************************************** 19561row_unrolls="$default_unrolls" 19562#dnl *********************************************************************** 19563column_unrolls="$default_unrolls" 19564#dnl *********************************************************************** 19565 19566printf "%s\n" "#define RSB_WANT_SPARSE_BLAS_LEVEL_1 1" >>confdefs.h 19567 19568#dnl *********************************************************************** 19569# Check whether --enable-matrix-types was given. 19570if test ${enable_matrix_types+y} 19571then : 19572 enableval=$enable_matrix_types; want_matrix_types="$enableval" 19573else $as_nop 19574 want_matrix_types="$default_types" 19575fi 19576 19577#dnl *********************************************************************** 19578# Check whether --enable-matrix-ops was given. 19579if test ${enable_matrix_ops+y} 19580then : 19581 enableval=$enable_matrix_ops; want_matrix_ops="$enableval" 19582else $as_nop 19583 want_matrix_ops="$default_matrix_ops" 19584fi 19585 19586#dnl *********************************************************************** 19587# Check whether --enable-vector-utils-loop-unrolls was given. 19588if test ${enable_vector_utils_loop_unrolls+y} 19589then : 19590 enableval=$enable_vector_utils_loop_unrolls; util_unrolls="$enableval" 19591else $as_nop 19592 util_unrolls="$default_util_unrolls" 19593fi 19594 19595#dnl *********************************************************************** 19596# Check whether --enable-octave-testing was given. 19597if test ${enable_octave_testing+y} 19598then : 19599 enableval=$enable_octave_testing; if test "x$enableval" = xno; then 19600 enable_octave_testing=no 19601 else 19602 enable_octave_testing=yes 19603 fi 19604else $as_nop 19605 enable_octave_testing=yes 19606fi 19607 19608#dnl *********************************************************************** 19609if test "x$want_matrix_types" = xall; then 19610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling all matrix types." >&5 19611printf "%s\n" "$as_me: Enabling all matrix types." >&6;} 19612 want_matrix_types="${all_matrix_types}"; 19613else 19614 true; 19615 if test "x$want_matrix_types" = x"blas"; then 19616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling all matrix types for Sparse BLAS (S,C,D,Z)." >&5 19617printf "%s\n" "$as_me: Enabling all matrix types for Sparse BLAS (S,C,D,Z)." >&6;} 19618 want_matrix_types="${blas_matrix_types}"; 19619 #if test "x$enable_octave_testing" = xyes; then want_matrix_types=${want_matrix_types},int ; fi 19620 else 19621 if test "x$want_matrix_types" = x"psblas"; then 19622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling matrix types for Parallel Sparse BLAS (PSBLAS)." >&5 19623printf "%s\n" "$as_me: Enabling matrix types for Parallel Sparse BLAS (PSBLAS)." >&6;} 19624 want_matrix_types="${psblas_matrix_types}"; 19625 #if test "x$enable_octave_testing" = xyes; then want_matrix_types=${want_matrix_types},int ; fi 19626 else 19627 true; 19628 fi 19629 fi 19630fi 19631#dnl *********************************************************************** 19632if test "x$want_matrix_ops" = xall; then 19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling all of the matrix ops." >&5 19634printf "%s\n" "$as_me: Enabling all of the matrix ops." >&6;} 19635 want_matrix_ops="${all_matrix_ops}"; 19636else 19637 if test "x$want_matrix_ops" = xblas; then 19638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling matrix ops for Sparse BLAS." >&5 19639printf "%s\n" "$as_me: Enabling matrix ops for Sparse BLAS." >&6;} 19640 want_matrix_ops="${blas_matrix_ops}"; 19641 else 19642 if test "x$want_matrix_ops" = xpsblas; then 19643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling matrix ops for Parallel Sparse BLAS (PSBLAS)." >&5 19644printf "%s\n" "$as_me: Enabling matrix ops for Parallel Sparse BLAS (PSBLAS)." >&6;} 19645 want_matrix_ops="${psblas_matrix_ops}"; 19646 else 19647 true; 19648 fi 19649 fi 19650fi 19651#dnl *********************************************************************** 19652if test x"$want_matrix_types" != x"$default_types" -o x"$want_matrix_ops" != x"$default_matrix_ops" -o x"$util_unrolls" != x"$default_util_unrolls"; then 19653if test x"$M4" = x"false"; then 19654 as_fn_error $? "Did not specify an m4 processor, so code generation from m4 files is disabled (and so configure time specification of non default types, operations, unrolls) !" "$LINENO" 5 19655fi 19656fi 19657#dnl *********************************************************************** 19658sparse_blas_interface_default=yes 19659# Check whether --enable-sparse-blas-interface was given. 19660if test ${enable_sparse_blas_interface+y} 19661then : 19662 enableval=$enable_sparse_blas_interface; if test "x$enableval" = xno; then 19663 sparse_blas_interface=no 19664 else 19665 sparse_blas_interface=yes 19666 fi 19667else $as_nop 19668 sparse_blas_interface="${sparse_blas_interface_default}" 19669fi 19670 19671#dnl *********************************************************************** 19672enable_looping_kernels=no 19673 19674#dnl *********************************************************************** 19675 19676# Check whether --with-oski was given. 19677if test ${with_oski+y} 19678then : 19679 withval=$with_oski; if test "x$withval" = xno; then 19680 enable_oski=no 19681 else 19682 enable_oski=yes 19683 fi 19684else $as_nop 19685 enable_oski=no 19686fi 19687 19688#dnl *********************************************************************** 19689#AC_ARG_WITH(papi, AS_HELP_STRING([--with-papi],[PAPI (Performance Application Programming Interface). UNFINISHED.]), 19690#[if test "x$withval" = xno; then 19691# enable_papi=no 19692# else 19693# enable_papi=yes 19694# fi],[enable_papi=no]) 19695#dnl *********************************************************************** 19696 19697 19698# Check whether --with-likwid was given. 19699if test ${with_likwid+y} 19700then : 19701 withval=$with_likwid; if test "x$withval" = xno; then 19702 enable_likwid=no 19703 else 19704 enable_likwid=yes 19705 fi 19706else $as_nop 19707 enable_likwid=no 19708fi 19709 19710#dnl *********************************************************************** 19711# Check whether --enable-allocator-wrapper was given. 19712if test ${enable_allocator_wrapper+y} 19713then : 19714 enableval=$enable_allocator_wrapper; if test "x$enableval" = xno; then 19715 disable_allocator_wrapper=yes 19716 else 19717 disable_allocator_wrapper=no 19718 fi 19719else $as_nop 19720 disable_allocator_wrapper=yes 19721fi 19722 19723#dnl *********************************************************************** 19724# Check whether --enable-alignment was given. 19725if test ${enable_alignment+y} 19726then : 19727 enableval=$enable_alignment; if test "x$enableval" = xno; then 19728 enable_alignment=no 19729 else 19730 enable_alignment=yes 19731 fi 19732else $as_nop 19733 enable_alignment=yes 19734fi 19735 19736enable_b=yes 19737enable_c=yes 19738#dnl *********************************************************************** 19739# Check whether --enable-librsb-stats was given. 19740if test ${enable_librsb_stats+y} 19741then : 19742 enableval=$enable_librsb_stats; if test "x$enableval" = xno; then 19743 enable_librsb_stats=no 19744 else 19745 enable_librsb_stats=yes 19746 fi 19747else $as_nop 19748 enable_librsb_stats=no 19749fi 19750 19751#dnl *********************************************************************** 19752# Check whether --enable-rsb-num-threads was given. 19753if test ${enable_rsb_num_threads+y} 19754then : 19755 enableval=$enable_rsb_num_threads; if test "x$enableval" = xno; then 19756 enable_rsb_num_threads=no 19757 else 19758 enable_rsb_num_threads=yes 19759 fi 19760else $as_nop 19761 enable_rsb_num_threads=no 19762fi 19763 19764#dnl *********************************************************************** 19765#dnl *********************************************************************** 19766# Check whether --enable-fortran-module-install was given. 19767if test ${enable_fortran_module_install+y} 19768then : 19769 enableval=$enable_fortran_module_install; if test "x$enableval" = xno; then 19770 want_blas_sparse_mod_install=no 19771 else 19772 want_blas_sparse_mod_install=yes 19773 fi 19774else $as_nop 19775 want_blas_sparse_mod_install=no 19776fi 19777 19778#dnl *********************************************************************** 19779want_install_pkg_config_default=no 19780# Check whether --enable-pkg-config-install was given. 19781if test ${enable_pkg_config_install+y} 19782then : 19783 enableval=$enable_pkg_config_install; if test "x$enableval" = x"yes"; then 19784 want_install_pkg_config=yes 19785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will install pkg-config librsb.pc file." >&5 19786printf "%s\n" "$as_me: Will install pkg-config librsb.pc file." >&6;} 19787 else 19788 want_install_pkg_config=yes 19789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will not install pkg-config librsb.pc file (--enable-pkg-config-install to change)." >&5 19790printf "%s\n" "$as_me: Will not install pkg-config librsb.pc file (--enable-pkg-config-install to change)." >&6;} 19791 fi 19792else $as_nop 19793 want_install_pkg_config="${want_install_pkg_config_default}" 19794fi 19795 19796#dnl *********************************************************************** 19797#dnl *********************************************************************** 19798# Check whether --enable-doc-build was given. 19799if test ${enable_doc_build+y} 19800then : 19801 enableval=$enable_doc_build; if test "x$enableval" = xno; then 19802 want_build_doc=no 19803 else 19804 want_build_doc=yes 19805 fi 19806else $as_nop 19807 want_build_doc=no 19808fi 19809 19810#dnl *********************************************************************** 19811# Check whether --enable-shlib-linked-examples was given. 19812if test ${enable_shlib_linked_examples+y} 19813then : 19814 enableval=$enable_shlib_linked_examples; if test "x$enableval" = xno; then 19815 want_rsb_dl=no 19816 else 19817 want_rsb_dl=yes 19818 fi 19819else $as_nop 19820 want_rsb_dl=no 19821fi 19822 19823#dnl *********************************************************************** 19824# Check whether --enable-c-examples was given. 19825if test ${enable_c_examples+y} 19826then : 19827 enableval=$enable_c_examples; if test "x$enableval" = xno; then 19828 enable_c_examples=no 19829 else 19830 enable_c_examples=yes 19831 fi 19832else $as_nop 19833 enable_c_examples=yes 19834fi 19835 19836#dnl *********************************************************************** 19837# Check whether --enable-fortran-examples was given. 19838if test ${enable_fortran_examples+y} 19839then : 19840 enableval=$enable_fortran_examples; if test "x$enableval" = xno; then 19841 enable_fortran_examples=no 19842 else 19843 enable_fortran_examples=yes 19844 fi 19845else $as_nop 19846 enable_fortran_examples=yes 19847fi 19848 19849#dnl *********************************************************************** 19850{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 19851printf %s "checking for C/C++ restrict keyword... " >&6; } 19852if test ${ac_cv_c_restrict+y} 19853then : 19854 printf %s "(cached) " >&6 19855else $as_nop 19856 ac_cv_c_restrict=no 19857 # Put '__restrict__' first, to avoid problems with glibc and non-GCC; see: 19858 # https://lists.gnu.org/archive/html/bug-autoconf/2016-02/msg00006.html 19859 # Put 'restrict' last, because C++ lacks it. 19860 for ac_kw in __restrict__ __restrict _Restrict restrict; do 19861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19862/* end confdefs.h. */ 19863typedef int *int_ptr; 19864 int foo (int_ptr $ac_kw ip) { return ip[0]; } 19865 int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ 19866 int bar (int ip[$ac_kw]) { return ip[0]; } 19867 19868int 19869main (void) 19870{ 19871int s[1]; 19872 int *$ac_kw t = s; 19873 t[0] = 0; 19874 return foo (t) + bar (t); 19875 19876 ; 19877 return 0; 19878} 19879_ACEOF 19880if ac_fn_c_try_compile "$LINENO" 19881then : 19882 ac_cv_c_restrict=$ac_kw 19883fi 19884rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 19885 test "$ac_cv_c_restrict" != no && break 19886 done 19887 19888fi 19889{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 19890printf "%s\n" "$ac_cv_c_restrict" >&6; } 19891 19892 case $ac_cv_c_restrict in 19893 restrict) ;; 19894 no) printf "%s\n" "#define restrict /**/" >>confdefs.h 19895 ;; 19896 *) printf "%s\n" "#define restrict $ac_cv_c_restrict" >>confdefs.h 19897 ;; 19898 esac 19899 19900# Check whether --enable-restrict was given. 19901if test ${enable_restrict+y} 19902then : 19903 enableval=$enable_restrict; if test "x$enableval" = xno; then 19904 enable_restrict=no 19905 else 19906 enable_restrict=yes 19907 fi 19908else $as_nop 19909 enable_restrict=yes 19910fi 19911 19912#dnl *********************************************************************** 19913 19914# Check whether --with-c99-flag was given. 19915if test ${with_c99_flag+y} 19916then : 19917 withval=$with_c99_flag; if test "x$withval" = xno; then 19918 enable_c99=no 19919 else 19920 enable_c99=yes 19921 fi 19922else $as_nop 19923 enable_c99=yes 19924fi 19925 19926#dnl *********************************************************************** 19927want_spsm_diagonal_check_default=yes 19928# Check whether --enable-zero-division-checks-on-solve was given. 19929if test ${enable_zero_division_checks_on_solve+y} 19930then : 19931 enableval=$enable_zero_division_checks_on_solve; if test "x$enableval" = xyes; then 19932 want_spsm_diagonal_check=yes 19933 else 19934 want_spsm_diagonal_check=no 19935 fi 19936else $as_nop 19937 want_spsm_diagonal_check="${want_spsm_diagonal_check_default}" 19938fi 19939 19940#dnl *********************************************************************** 19941want_sigaction_in_rsbench=no 19942# Check whether --enable-sigaction-interruptible-rsbench was given. 19943if test ${enable_sigaction_interruptible_rsbench+y} 19944then : 19945 enableval=$enable_sigaction_interruptible_rsbench; if test "x$enableval" = xyes; then 19946 want_sigaction_in_rsbench=yes; 19947 else 19948 want_sigaction_in_rsbench=no; 19949 fi 19950else $as_nop 19951 want_sigaction_in_rsbench=no; 19952fi 19953 19954if test x$want_sigaction_in_rsbench = xno ; then 19955 19956printf "%s\n" "#define RSB_WANT_ACTION_SIGNAL 1" >>confdefs.h 19957 19958fi 19959#dnl *********************************************************************** 19960enable_optimize=yes 19961#dnl *********************************************************************** 19962# Check whether --enable-internal-headers-install was given. 19963if test ${enable_internal_headers_install+y} 19964then : 19965 enableval=$enable_internal_headers_install; if test "x$enableval" = xyes; then 19966 enable_ihi=yes; 19967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will install also internal headers." >&5 19968printf "%s\n" "$as_me: Will install also internal headers." >&6;} 19969else 19970 enable_ihi=no; 19971fi 19972else $as_nop 19973 enable_ihi=no 19974fi 19975 19976#dnl *********************************************************************** 19977RSB_USE_ASSERT=""; 19978# Check whether --enable-debug-getenvs was given. 19979if test ${enable_debug_getenvs+y} 19980then : 19981 enableval=$enable_debug_getenvs; if test "x$enableval" = xyes; then 19982 19983printf "%s\n" "#define RSB_ALLOW_INTERNAL_GETENVS 1" >>confdefs.h 19984 19985else 19986 19987printf "%s\n" "#define RSB_ALLOW_INTERNAL_GETENVS 0" >>confdefs.h 19988 19989fi 19990else $as_nop 19991 true; 19992fi 19993 19994#dnl *********************************************************************** 19995RSB_USE_ASSERT=""; 19996# Check whether --enable-debug was given. 19997if test ${enable_debug+y} 19998then : 19999 enableval=$enable_debug; if test "x$enableval" = xyes; then 20000 enable_debug=yes; 20001 RSB_USE_ASSERT=1; 20002 want_int_verrbosity=1; # FIXME: this shall be removed from here, once the library gets stable for release! 20003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: With the debug switch enabled, also setting internal error verbosity level at value 1." >&5 20004printf "%s\n" "$as_me: With the debug switch enabled, also setting internal error verbosity level at value 1." >&6;} 20005else 20006 enable_debug=no 20007fi 20008else $as_nop 20009 enable_debug=no 20010fi 20011 20012#dnl *********************************************************************** 20013 20014if test "x$sparse_blas_interface" = xyes; then 20015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will build a Sparse BLAS interface to librsb." >&5 20016printf "%s\n" "$as_me: Will build a Sparse BLAS interface to librsb." >&6;} 20017 20018printf "%s\n" "#define RSB_WITH_SPARSE_BLAS_INTERFACE 1" >>confdefs.h 20019 20020else 20021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will not build a Sparse BLAS interface to librsb." >&5 20022printf "%s\n" "$as_me: Will not build a Sparse BLAS interface to librsb." >&6;} 20023fi 20024#dnl *********************************************************************** 20025want_looping_kernels=0; 20026if test "x$enable_looping_kernels" = xyes; then 20027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling looping kernels." >&5 20028printf "%s\n" "$as_me: Enabling looping kernels." >&6;} 20029 want_looping_kernels=1; 20030 20031printf "%s\n" "#define RSB_WANT_LOOPING_KERNELS 1" >>confdefs.h 20032 20033 20034 20035else 20036 true 20037fi 20038#dnl *********************************************************************** 20039 20040# Check whether --with-papi was given. 20041if test ${with_papi+y} 20042then : 20043 withval=$with_papi; if test "x$withval" = xno; then want_papi_libs= ; else enable_papi=yes; want_papi_libs="$withval" ; fi 20044else $as_nop 20045 want_papi_libs="-lpapi" 20046fi 20047 20048#dnl *********************************************************************** 20049if test "x$enable_papi" = xyes; then 20050 if test "x$ac_cv_header_papi_h" != xyes; then 20051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Header file <papi.h> not found, therefore we will not use it!" >&5 20052printf "%s\n" "$as_me: WARNING: Header file <papi.h> not found, therefore we will not use it!" >&2;} 20053 else 20054 if test "$want_papi_libs" = yes ; then want_papi_libs=-lpapi ; fi 20055 RSB_RSBENCH_LIBS="${RSB_RSBENCH_LIBS} $want_papi_libs" 20056 # TODO : set CFLAGS ! 20057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling PAPI (Performance Application Programming Interface)." >&5 20058printf "%s\n" "$as_me: Enabling PAPI (Performance Application Programming Interface)." >&6;} 20059 # FIXME: should differentiate RSB_WANT_PERFORMANCE_COUNTERS from RSB_HAVE_PAPI 20060 20061printf "%s\n" "#define RSB_WANT_PERFORMANCE_COUNTERS 1" >>confdefs.h 20062 20063 20064printf "%s\n" "#define RSB_HAVE_PAPI 1" >>confdefs.h 20065 20066 fi 20067else 20068 true 20069fi 20070#dnl *********************************************************************** 20071if test "x$enable_likwid" = xyes; then 20072 if test "x$LIKWID_LIBS" = x; then 20073 LIKWID_LIBS="-llikwid" 20074 fi 20075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling support for LIKWID (LIKWID_CFLAGS=${LIKWID_CFLAGS}) (LIKWID_LIBS=${LIKWID_LIBS})." >&5 20076printf "%s\n" "$as_me: Enabling support for LIKWID (LIKWID_CFLAGS=${LIKWID_CFLAGS}) (LIKWID_LIBS=${LIKWID_LIBS})." >&6;} 20077 RSB_RSBENCH_LIBS="${RSB_RSBENCH_LIBS} ${LIKWID_LIBS}" 20078 RSB_RSBENCH_CFLAGS="${RSB_RSBENCH_CFLAGS} ${LIKWID_CFLAGS}" 20079 20080printf "%s\n" "#define RSB_WITH_LIKWID 1" >>confdefs.h 20081 20082else 20083 20084printf "%s\n" "#define RSB_WITH_LIKWID 0" >>confdefs.h 20085 20086fi 20087#dnl *********************************************************************** 20088if test "x$enable_hwloc" = xyes; then 20089 if test "x$want_hwloc_libs" != x; then 20090 HWLOC_LIBS="$want_hwloc_libs" 20091 fi 20092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling support for HWLOC (HWLOC_CFLAGS=${HWLOC_CFLAGS}) (HWLOC_LIBS=${HWLOC_LIBS})." >&5 20093printf "%s\n" "$as_me: Enabling support for HWLOC (HWLOC_CFLAGS=${HWLOC_CFLAGS}) (HWLOC_LIBS=${HWLOC_LIBS})." >&6;} 20094 RSB_RSBENCH_LIBS="${RSB_RSBENCH_LIBS} ${HWLOC_LIBS}" 20095 RSB_RSBENCH_CFLAGS="${RSB_RSBENCH_CFLAGS} ${HWLOC_CFLAGS}" 20096 20097printf "%s\n" "#define RSB_WITH_HWLOC 1" >>confdefs.h 20098 20099else 20100 20101printf "%s\n" "#define RSB_WITH_HWLOC 0" >>confdefs.h 20102 20103fi 20104#dnl *********************************************************************** 20105if test "x$disable_allocator_wrapper" = xyes; then 20106 20107printf "%s\n" "#define RSB_DISABLE_ALLOCATOR_WRAPPER 1" >>confdefs.h 20108 20109 20110printf "%s\n" "#define RSB_WANT_ALLOCATOR_LIMITS 0" >>confdefs.h 20111 20112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will disable memory allocators wrappers." >&5 20113printf "%s\n" "$as_me: Will disable memory allocators wrappers." >&6;} 20114else 20115 20116printf "%s\n" "#define RSB_WANT_ALLOCATOR_LIMITS 1" >>confdefs.h 20117 20118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling memory allocators wrappers." >&5 20119printf "%s\n" "$as_me: Enabling memory allocators wrappers." >&6;} 20120fi 20121#dnl *********************************************************************** 20122#dnl *********************************************************************** 20123if test "x$enable_alignment" = xno; then 20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will not enforce aligned memory chunks allocation." >&5 20125printf "%s\n" "$as_me: Will not enforce aligned memory chunks allocation." >&6;} 20126else 20127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will enforce aligned memory chunks allocation." >&5 20128printf "%s\n" "$as_me: Will enforce aligned memory chunks allocation." >&6;} 20129 20130printf "%s\n" "#define RSB_WANT_DOUBLE_ALIGNED 1" >>confdefs.h 20131 20132fi 20133#dnl *********************************************************************** 20134if test "x$enable_librsb_stats" = xyes; then 20135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling collection of time statistics in librsb operations (this introduces an overhead)." >&5 20136printf "%s\n" "$as_me: Enabling collection of time statistics in librsb operations (this introduces an overhead)." >&6;} 20137 20138printf "%s\n" "#define RSB_WANT_LIBRSB_STATS 1" >>confdefs.h 20139 20140fi 20141#dnl *********************************************************************** 20142if test "x$enable_rsb_num_threads" = xyes; then 20143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling experimental RSB_NUM_THREADS environment variable." >&5 20144printf "%s\n" "$as_me: Enabling experimental RSB_NUM_THREADS environment variable." >&6;} 20145 20146printf "%s\n" "#define RSB_WANT_RSB_NUM_THREADS 1" >>confdefs.h 20147 20148fi 20149#dnl *********************************************************************** 20150#dnl *********************************************************************** 20151if test "x$enable_c_examples" = xno; then 20152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will not build C examples." >&5 20153printf "%s\n" "$as_me: Will not build C examples." >&6;} 20154else 20155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will build C examples." >&5 20156printf "%s\n" "$as_me: Will build C examples." >&6;} 20157fi 20158#dnl *********************************************************************** 20159if test "x$enable_fortran_examples" = xno; then 20160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will not build Fortran examples." >&5 20161printf "%s\n" "$as_me: Will not build Fortran examples." >&6;} 20162else 20163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will build (experimental) Fortran examples." >&5 20164printf "%s\n" "$as_me: Will build (experimental) Fortran examples." >&6;} 20165fi 20166#dnl *********************************************************************** 20167if test "x$enable_restrict" = xyes; then 20168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will use the C99 restrict keyword." >&5 20169printf "%s\n" "$as_me: Will use the C99 restrict keyword." >&6;} 20170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will also add the -std=c99 flag." >&5 20171printf "%s\n" "$as_me: Will also add the -std=c99 flag." >&6;} 20172 enable_c99=yes 20173else 20174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will not use the C99 restrict keyword " >&5 20175printf "%s\n" "$as_me: Will not use the C99 restrict keyword " >&6;} 20176fi 20177#dnl *********************************************************************** 20178if test "x$want_build_doc" = xyes ; then 20179 if test x"$DOXYGEN" = x"false"; then 20180 as_fn_error $? "Doxygen not detected ! Please --disable-doc-build or supply a valid DOXYGEN variable." "$LINENO" 5 20181 want_build_doc=no 20182 else 20183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will rebuild the documentation using \"$DOXYGEN\" as Doxygen executable." >&5 20184printf "%s\n" "$as_me: Will rebuild the documentation using \"$DOXYGEN\" as Doxygen executable." >&6;} 20185 if test x"$HELP2MAN" = x"false"; then 20186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Program man pages will not generated: HELPMAN not detected." >&5 20187printf "%s\n" "$as_me: Program man pages will not generated: HELPMAN not detected." >&6;} 20188 fi 20189 fi 20190else 20191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Will not use Doxygen to build documentation (--enable-doc-build to change)." >&5 20192printf "%s\n" "$as_me: Will not use Doxygen to build documentation (--enable-doc-build to change)." >&6;} 20193fi 20194#dnl *********************************************************************** 20195no_unroll_flags="" 20196#dnl *********************************************************************** 20197if test xyes = xyes; then # we need a new flag here for this : FIXME 20198 # I am not sure whether these flags are optimal, but among these they are 20199 20200 if test "x${CC}" = x"xlc" -o "x${CC}" = x"xlc_r" && test "x$spigni_forte" = "x" ; then 20201 # use -qnostrict to turn off aggressive optimization (debug cases) 20202 # use -q64 to enable 64 bit compilation and ar -X 64 cru ... for linking (FIXME) 20203 # -qfdpr 20204 # The compiler generates additional symbol information for use by the AIX "fdprpro" code optimizer. 20205 # /opt/freeware/bin path is harmful with autotools on the ENEA grid environment, as it is the default one! 20206 PATH="/bin/:$PATH" 20207 20208 # the following should only be used along with -q64. not without! (FIXME) 20209 ARFLAGS="-X 64 cru" 20210 SPCFLAGS="-q 64" 20211 20212 #spigni_forte="-O3 -lmass -lessl" 20213 spigni_forte="-O3 -lmass -lessl -q64 -bmaxdata:0x1000000000" 20214 #spigni_forte="-O3 -lmass -lessl -q64 -bmaxdata:0x70000000" 20215 # FIXME : configure is not smart enough to add -X64 to ARFLAGS 20216 # FIXME : CXXFLAGS too 20217# spigni_forte="-O3 -lmass -lessl" 20218 restrict_flags="-qkeyword=restrict" 20219 c99_flags="-qlanglvl=extc99 $restrict_flags" 20220 debug_flags="-O0 -g" 20221 openmp_flags="-qsmp=omp" 20222 if test -f /bin/uname ; then 20223 # some AFS systems (e.g.: ENEA.it grid) need this fix 20224 uname_M="`/bin/uname -M`" 20225 else 20226 uname_M="`uname -M`" 20227 fi 20228 if test "x${uname_M}" = x"IBM,9118-575" ; then 20229 spigni_forte="$spigni_forte -qarch=pwr5 -qtune=pwr5" 20230 fi 20231 if test "x${uname_M}" = x"IBM,7040-681" ; then 20232 spigni_forte="$spigni_forte -qarch=pwr4 -qtune=pwr4" 20233 fi 20234 # verbose : 0-3 20235 # profiling info: -pga 20236 # -qbrowse 20237 no_unroll_flags="-qunroll=no" 20238 # xlc has #pragma unroll ! 20239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Guessing the compiler is xlc." >&5 20240printf "%s\n" "$as_me: Guessing the compiler is xlc." >&6;} 20241 fi 20242 20243 have_icc=no; # a fix to set correctly openmp_flags 20244 if test "x${CC}" = x"icc" || ${CC} -V 2>&1 | grep Intel ; then have_icc=yes ; fi 20245 20246 if test "x${have_icc}" = x"yes" && test "x$spigni_forte" = "x" ; then 20247# if test "x${CC}" = x"icc" && test "x$spigni_forte" = "x" ; then 20248 spigni_forte="-O3 -xSSE3 -no-alias-const -no-multibyte-chars -pipe " 20249 # note: -tpp6 & -tpp7 and so on are old icc flags (version 11 does not support them) 20250 # ipo seems to break autotools 20251 # -xS ? 20252 # TODO : '-ax:SSE2' .. generate multiple paths .. 20253 20254 # -ax turns on the vectorizer (MMX, SSEx, ...) 20255 # -mtune=.. 20256 restrict_flags="-restrict" # ! 20257 c99_flags="$restrict_flags" 20258 debug_flags="-O0 -g" 20259 #no_unroll_flags="-fno-unroll" 20260 #20110608 icc v12 wants -unroll=0 20261 no_unroll_flags="-unroll=0" 20262 #openmp_flags="-openmp" # -parallel 20263 #openmp_flags="-qopenmp" # -parallel 20264 openmp_flags="-fopenmp" # -parallel 20265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Guessing the compiler is icc." >&5 20266printf "%s\n" "$as_me: Guessing the compiler is icc." >&6;} 20267 walls="-Wall" 20268 fi 20269 20270 if test "x${CC}" = x"pgcc" && test "x$spigni_forte" = "x" ; then 20271 spigni_forte="-O3 -Mvect=cachesize:automatic,fuse,prefetch,sse -Mquad -Mscalarsse -Mnoframe -Minfo=all" # O3 is same as 4 20272 c99_flags="-c99 -Xa" 20273 restrict_flags="$c99_flags" # ! 20274 debug_flags="-O0 -g" 20275 no_unroll_flags="-Mnounroll" 20276 openmp_flags="-mp" 20277 # -Mconcur is VERY interesting .. !! 20278 # -Mlist (creates a listing file) 20279 # -Mprof=hwcts Use PAPI-based profiling with hardware counters (linux86-64 only). 20280 # -pg exists, -g too 20281 # -Mnovect disables the vectorizer, and is the default 20282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Guessing the compiler is pgcc." >&5 20283printf "%s\n" "$as_me: Guessing the compiler is pgcc." >&6;} 20284 fi 20285 20286 if test "x$ac_cv_c_compiler_gnu" = xyes && test "x$spigni_forte" = "x" ; then 20287 # note that CC=icc will not imply ac_cv_c_compiler_gnu=yes ! 20288 # -malign-double does not make sense on 64 bit archs and triggers errors 20289 #spigni_forte="-O3 -fomit-frame-pointer -ffast-math" 20290 spigni_forte="-O3 -fomit-frame-pointer -mtune=native" 20291 c99_flags="-std=c99" # ? 20292 restrict_flags="$c99_flags" # ! 20293 debug_flags="-O0 -ggdb" 20294 no_unroll_flags="-fno-unroll-loops" 20295 hidden_visibility_flags="-fvisibility=hidden" 20296 openmp_flags="-fopenmp" 20297 if test x != x"${OPENMP_CFLAGS}" ; then 20298 openmp_flags="${OPENMP_CFLAGS}" 20299 fi 20300 # NOTE: -ffast-math disables math functions specifications, and therefore is EVIL 20301 spigni_nativo="-pipe" 20302 cpuinfomn=`cat /proc/cpuinfo| grep model.name | sed s/^.*://g` 20303 # FIXME : the following will fail on tcsh 20304# if test x"` $CC -v 2>&1| grep -i red.*hat`" != x ; then 20305 gcc_v=`$CC --version` # will be catched on tcsh 20306 if test x"` $CC -v 2>&1 | grep -i red.*hat`" != x -o x"`echo $gcc_v` | grep -i red.hat" != x; then 20307 # uhm.. 20308# if test x"` echo $cpuinfomn | grep Athlon `" != x ; then 20309# # fails for a 20310# # model name : AMD Athlon(tm) 7750 Dual-Core Processor 20311# spigni_nativo="$spigni_nativo -march=athlon -mtune=athlon" 20312# fi 20313 if test x"` echo $cpuinfomn | grep 'AMD Opteron.*2216\>'`" != x ; then 20314 # model name : Dual-Core AMD Opteron(tm) Processor 2216 20315 spigni_nativo="$spigni_nativo -march=opteron -mtune=opteron" 20316 fi 20317 if test x"` echo $cpuinfomn | grep 'AMD Opteron.*2352\>'`" != x ; then 20318 # Opteron barcelona are 2344-2350, but the instruction set is ok 20319 # model name : AMD Athlon(tm) 7750 Dual-Core Processor 20320 spigni_nativo="$spigni_nativo -march=barcelona -mtune=barcelona" 20321 fi 20322 if test x"` echo $cpuinfomn | grep 'AMD Athlon.*7750'`" != x ; then 20323 # this is Phenom, not Opteron arcelona, but same instruction set 20324 # model name : AMD Athlon(tm) 7750 Dual-Core Processor 20325 spigni_nativo="$spigni_nativo -march=barcelona -mtune=barcelona" 20326 fi 20327 if test x"` echo $cpuinfomn | grep 'AMD Athlon.*64.*X2.*Dual Core Processor 6000.'`" != x ; then 20328 # K9 microarchitecture 20329 # this is Windsor, released May 24, 2006 20330 # rossini.ibspan.waw.pl 20331 # model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ 20332 spigni_nativo="$spigni_nativo -march=amdfam10 -mtune=amdfam10" 20333 fi 20334 if test x"` echo $cpuinfomn | grep 'Xeon.*EXWL3...\>'`" != x ; then 20335 # Wolfdale 31.. 20336 # Kentsfield 32.. 20337 # Yorkfield 33.. 20338 # Lynnfield 34.. 20339 # Bloomfield 35.. 20340 spigni_nativo="$spigni_nativo -march=core2 -mtune=core2" 20341 fi 20342 if test x"` echo $cpuinfomn | grep 'Xeon.*X7...'`" != x ; then 20343 # Tigerton series, d.c. 72.. 20344 # Tigerton series, q.c. 73.. 1066MT/s 20345 # cresco1x .. portici.enea.it 20346 # model name : Intel(R) Xeon(R) CPU X7350 @ 2.93GHz 20347 # Tulsa series 71.. 20348 # crescobf.brindisi.enea.it: 20349 # model name : Intel(R) Xeon(R) CPU X7350 @ 2.93GHz 20350 spigni_nativo="$spigni_nativo -march=core2 -mtune=core2" 20351 fi 20352 if test x"` echo $cpuinfomn | grep 'Xeon.*EXWL70..\>'`" != x ; then 20353 # Paxville (Netburst) 20354 spigni_nativo="$spigni_nativo -march=pentium4 -mtune=pentium4" 20355 fi 20356 if test x"` echo $cpuinfomn | grep 'Xeon.*EXWL50..\>'`" != x ; then 20357 # Dempsey (Netburst) 20358 spigni_nativo="$spigni_nativo -march=pentium4 -mtune=pentium4" 20359 fi 20360 if test x"` echo $cpuinfomn | grep 'Core(TM)2 Quad CPU'`" != x ; then 20361 # Conroe/Allendale 20362 spigni_nativo="$spigni_nativo -march=core2 -mtune=core2" 20363 fi 20364 if test x"` echo $cpuinfomn | grep 'Xeon.*EXWL51..\>'`" != x ; then 20365 # Woodcrest (Core2) 20366 spigni_nativo="$spigni_nativo -march=core2 -mtune=core2" 20367 fi 20368 if test x"` echo $cpuinfomn | grep 'Xeon.*EXWL52..\>'`" != x ; then 20369 # Wolfdale DP 20370 spigni_nativo="$spigni_nativo -march=core2 -mtune=core2" 20371 fi 20372 if test x"` echo $cpuinfomn | grep 'Xeon.*EXWL53..\>'`" != x ; then 20373 # Clovertown series, 1333MT/s, 2x4MB L2 20374 # ce1-cresco.portici.enea.it 20375 # model name : Intel(R) Xeon(R) CPU E5335 @ 2.00GHz 20376 # Clovertown series, 1333MT/s 20377 # cresco2-f3.portici.enea.it 20378 # model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz 20379 # Harpertown series 54.. , 12 MB L2 20380 # Gainestown (Nehalem)s.55.. 4x256kB L2, 8MB L3 20381 spigni_nativo="$spigni_nativo -march=core2 -mtune=core2" 20382 fi 20383# if test x"` echo $cpuinfomn | grep Opteron `" != x ; then 20384# spigni_nativo="$spigni_nativo -march=opteron -mtune=opteron" 20385# fi 20386 if test x"` echo $cpuinfomn | grep 'Pentium(R).4' `" != x ; then 20387 spigni_nativo="$spigni_nativo -march=pentium4 -mtune=pentium4" 20388 fi 20389 if test x"` echo $cpuinfomn | grep 'Pentium III (Coppermine)' `" != x ; then 20390 spigni_nativo="$spigni_nativo -march=pentium3 -mtune=pentium3 -msse" 20391 fi 20392# if test x"` echo $cpuinfomn | grep 'Xeon'`" != x ; then 20393# Intel(R) Xeon(TM) CPU 3.00GHz 20394# spigni_nativo="$spigni_nativo -march=pentium4 -mtune=pentium4" 20395# fi 20396 else 20397 spigni_nativo="-march=native -mtune=native $spigni_nativo" 20398 fi 20399 # NOTE : compilers like gcc version 3.4.6 20060404 (Red Hat 3.4.6-10) do not accept native switch 20400 # -march=pentium3 20401 # on p4: --malign=double -march=pentium4 -mfpmath=sse -msse2 - 20402 walls="-Wall -Wredundant-decls -Wno-switch -Wdisabled-optimization -Wdeclaration-after-statement "" -Wpointer-arith -Wstrict-prototypes " 20403 #" -pedantic" 20404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Guessing the C compiler is gcc." >&5 20405printf "%s\n" "$as_me: Guessing the C compiler is gcc." >&6;} 20406 fi 20407else 20408 true 20409fi 20410 20411#dnl *********************************************************************** 20412#dnl GNU FORTRAN runtime 20413#dnl *********************************************************************** 20414if test "x$ac_cv_fc_compiler_gnu" = xyes ; then 20415 LIBS="${LIBS} -lgfortran" 20416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Guessing the Fortran compiler is gfortran and adding -lgfortran to LIBS (invoke with ac_cv_fc_compiler_gnu=no to prevent this)." >&5 20417printf "%s\n" "$as_me: Guessing the Fortran compiler is gfortran and adding -lgfortran to LIBS (invoke with ac_cv_fc_compiler_gnu=no to prevent this)." >&6;} 20418fi 20419#dnl *********************************************************************** 20420#dnl CFLAGS handling starts here 20421#dnl *********************************************************************** 20422if test "x$CFLAGS" = x ; then 20423if test "x$enable_optimize" = xyes && test x$enable_debug != xyes ; then 20424 if test "x$mio_spigni_forte" = "x" ; then 20425 true; 20426 else 20427 spigni_forte="$mio_spigni_forte"; 20428 spigni_nativo=""; 20429 fi 20430 if test "x$spigni_forte" = "x" ; then 20431 spigni="-O3 -malign-double $spigni_nativo" 20432 #spigni="-O3 -fomit-frame-pointer -malign-double $spigni_nativo" 20433 else 20434 spigni="$spigni_forte $spigni_nativo" 20435 fi 20436 20437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Adding ${spigni} to CFLAGS." >&5 20438printf "%s\n" "$as_me: Adding ${spigni} to CFLAGS." >&6;} 20439 #CFLAGS="${CFLAGS} ${spigni}" 20440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Overriding CFLAGS=\"$CFLAGS\".. " >&5 20441printf "%s\n" "$as_me: Overriding CFLAGS=\"$CFLAGS\".. " >&6;} 20442 CFLAGS="${spigni}" 20443else 20444 if test "x$enable_debug" = xyes; then 20445 if test "x$debug_flags" = "x" ; then 20446 CFLAGS="-O0 -g" 20447 else 20448 CFLAGS="${debug_flags}" 20449 fi 20450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Optimization turned off. Debugging enabled. (CFLAGS overwritten)" >&5 20451printf "%s\n" "$as_me: Optimization turned off. Debugging enabled. (CFLAGS overwritten)" >&6;} 20452 # since we are allowed to suggest flags, we do so 20453 CFLAGS="${CFLAGS} ${SPCFLAGS}" 20454 else 20455 true; 20456 fi 20457 true; 20458fi 20459# 20460fi 20461#dnl *********************************************************************** 20462# fix just for SP 20463if test x"${SPCFLAGS}" != x ; then 20464 CFLAGS="${CFLAGS} ${SPCFLAGS}" 20465fi 20466#dnl *********************************************************************** 20467if test x"$enable_dmalloc" == x"1" ; then 20468 CFLAGS="$CFLAGS $DMALLOC_CFLAGS" 20469fi 20470#dnl *********************************************************************** 20471if test x"$want_mkl_libs" != x"" ; then 20472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling MKL support in the benchmarking program (will add \"$MKL_INCLUDE\" to compilation flags; will link to \"$want_mkl_libs\")." >&5 20473printf "%s\n" "$as_me: Enabling MKL support in the benchmarking program (will add \"$MKL_INCLUDE\" to compilation flags; will link to \"$want_mkl_libs\")." >&6;} 20474 20475printf "%s\n" "#define RSB_WANT_MKL 1" >>confdefs.h 20476 20477 RSB_RSBENCH_LIBS="${RSB_RSBENCH_LIBS} $want_mkl_libs" 20478 if test -n "$MKL_INCLUDE" ; then 20479 RSB_RSBENCH_CFLAGS="$RSB_RSBENCH_CFLAGS -I $MKL_INCLUDE" 20480 fi 20481 else 20482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Disabling MKL support in the benchmarking program." >&5 20483printf "%s\n" "$as_me: Disabling MKL support in the benchmarking program." >&6;} 20484 20485printf "%s\n" "#define RSB_WANT_MKL 0" >>confdefs.h 20486 20487fi 20488#dnl *********************************************************************** 20489if test x"$enable_openmp" = x"yes"; then 20490 20491printf "%s\n" "#define RSB_WANT_OMP_RECURSIVE_KERNELS 1" >>confdefs.h 20492 20493 if test x"$openmp_flags" != "x" ; then 20494 CFLAGS="${CFLAGS} $openmp_flags" 20495 if test "x$OPENMP_FCFLAGS" = "x" ; then 20496 OPENMP_FCFLAGS="$openmp_flags" 20497 fi 20498 FCFLAGS="${FCFLAGS} ${OPENMP_FCFLAGS}" 20499 else 20500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: We do not know an appropriate OpenMP-enabling flag but assume OpenMP is active." >&5 20501printf "%s\n" "$as_me: We do not know an appropriate OpenMP-enabling flag but assume OpenMP is active." >&6;} 20502 CFLAGS="${CFLAGS}" 20503 fi 20504else 20505 20506printf "%s\n" "#define RSB_WANT_OMP_RECURSIVE_KERNELS 0" >>confdefs.h 20507 20508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenMP code disabled: 1 thread at most is allowed." >&5 20509printf "%s\n" "$as_me: OpenMP code disabled: 1 thread at most is allowed." >&6;} 20510 want_max_threads="1" 20511 true; 20512fi 20513#dnl *********************************************************************** 20514if test "x$enable_c99" = xyes; then 20515 if test "x$c99_flags" = "x" ; then 20516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: We do not know an appropriate c99-enabling flag.." >&5 20517printf "%s\n" "$as_me: We do not know an appropriate c99-enabling flag.." >&6;} 20518 CFLAGS="${CFLAGS}" 20519 else 20520 CFLAGS="${CFLAGS} $c99_flags" 20521 fi 20522else 20523 true; 20524fi 20525#dnl *********************************************************************** 20526 20527if test "x$enable_oski" = xyes; then 20528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Looking for user set OSKI_INCLUDE, OSKI_LUA_PATH, OSKI_PATH environment variables.." >&5 20529printf "%s\n" "$as_me: Looking for user set OSKI_INCLUDE, OSKI_LUA_PATH, OSKI_PATH environment variables.." >&6;} 20530 save_CFLAGS="$CFLAGS" 20531 if test -n "$OSKI_INCLUDE" ; then 20532 CFLAGS="$CFLAGS -I $OSKI_INCLUDE" 20533 fi 20534 for ac_header in oski/oski.h 20535do : 20536 ac_fn_c_check_header_compile "$LINENO" "oski/oski.h" "ac_cv_header_oski_oski_h" "$ac_includes_default" 20537if test "x$ac_cv_header_oski_oski_h" = xyes 20538then : 20539 printf "%s\n" "#define HAVE_OSKI_OSKI_H 1" >>confdefs.h 20540 true 20541fi 20542 20543done 20544 CFLAGS="$save_CFLAGS" 20545 if test "x$ac_cv_header_oski_oski_h" != xyes; then 20546 as_fn_error $? "Header file <oski/oski.h> not found, therefore we will not use it!" "$LINENO" 5 20547 else 20548 # FIXME: this is temporary, for my own machines 20549 if test -d "~/usr/local/include/" ; then 20550 CFLAGS="$CFLAGS -I ~/usr/local/include/" 20551 fi 20552 20553 if test -n "$OSKI_INCLUDE" ; then 20554 CFLAGS="$CFLAGS -I $OSKI_INCLUDE" 20555 fi 20556 20557 if test x"$OSKI_PATH" = x && test -d "/usr/local/lib/oski" ; then 20558 OSKI_PATH=/usr/local/lib/oski 20559 fi 20560 if test x"$OSKI_LUA_PATH" = x ; then 20561 OSKI_LUA_PATH="$OSKI_PATH/?.lua" 20562 else 20563 true; 20564 fi 20565 if test x"$OSKI_LIBS" = x ; then 20566 # oski-1.0.1h works in this way 20567 #OSKI_LIBS=`cat $OSKI_PATH/site-modules-static.txt | tr '\n' ' '` 20568 OSKI_LIBS=`cat $OSKI_PATH/site-modules-shared.txt | tr '\n' ' '` 20569 # the following often fail due to the incorrect order of libs: 20570 #OSKI_LIBS=`cat $OSKI_PATH/site-modules-static.txt|sed 's/^\/.*\///g;s/^'/"$OSKI_PATH\/"/g | tr '\n' ' '` 20571 fi 20572 if test x"$OSKI_LIBS" = x ; then 20573 as_fn_error $? "No linkable libraries for OSKI ? Disable OSKI support ot try setting OSKI_LIBS by hand." "$LINENO" 5 20574 fi 20575 if test x"${OSKI_CFLAGS}" = x && test -d "~/usr/local/include/"; then 20576 OSKI_CFLAGS="$OSKI_CFLAGS -I /usr/local/include/" 20577 OSKI_CFLAGS="$OSKI_CFLAGS -I ~/usr/local/include/" 20578 fi 20579 # 20580 RSB_RSBENCH_LIBS="${RSB_RSBENCH_LIBS} -L${OSKI_PATH} ${OSKI_LIBS}" 20581 20582 # FIXME: this is temporary, for my own machines 20583 if test -d "~/usr/local/lib/oski/" ; then 20584 RSB_RSBENCH_LIBS="${RSB_RSBENCH_LIBS} -L ~/usr/local/lib/oski/" 20585 fi 20586 20587 RSB_RSBENCH_CFLAGS="${RSB_RSBENCH_CFLAGS} $OSKI_CFLAGS" 20588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling comparative OSKI benchmarking." >&5 20589printf "%s\n" "$as_me: Enabling comparative OSKI benchmarking." >&6;} 20590 20591printf "%s\n" "#define RSB_WANT_OSKI_BENCHMARKING 1" >>confdefs.h 20592 20593 20594printf "%s\n" "#define OSKI_LUA_PATH \"$OSKI_LUA_PATH\"" >>confdefs.h 20595 20596 fi 20597else 20598 true; 20599fi 20600#dnl 20601RSB_CONST_MAX_SUPPORTED_THREADS="${want_max_threads}" 20602 20603#dnl *********************************************************************** 20604 20605printf "%s\n" "#define RSB_INT_ERR_VERBOSITY $want_int_verrbosity" >>confdefs.h 20606 20607 20608printf "%s\n" "#define RSB_OUT_ERR_VERBOSITY $want_ext_verrbosity" >>confdefs.h 20609 20610 20611printf "%s\n" "#define RSB_WANT_IO_LEVEL $want_io_level" >>confdefs.h 20612 20613 20614printf "%s\n" "#define RSB_USER_SET_MEM_HIERARCHY_INFO \"$RSB_USER_SET_MEM_HIERARCHY_INFO\"" >>confdefs.h 20615 20616 20617printf "%s\n" "#define RSB_DETECTED_MEM_HIERARCHY_INFO \"$RSB_DETECTED_MEM_HIERARCHY_INFO\"" >>confdefs.h 20618 20619 20620printf "%s\n" "#define RSB_CONST_MAX_SUPPORTED_THREADS $RSB_CONST_MAX_SUPPORTED_THREADS" >>confdefs.h 20621 20622 20623printf "%s\n" "#define CFLAGS \"$CFLAGS\"" >>confdefs.h 20624 20625 20626printf "%s\n" "#define CC \"$CC\"" >>confdefs.h 20627 20628if test x"$RSB_USE_ASSERT" != x ; then 20629 20630printf "%s\n" "#define RSB_USE_ASSERT \"$RSB_USE_ASSERT\"" >>confdefs.h 20631 20632fi 20633#dnl *********************************************************************** 20634WANT_MATRIX_STORAGE="" 20635if test x"$enable_c" = xyes ; then 20636 WANT_MATRIX_BCOO_STORAGE=BCOR 20637# WANT_MATRIX_BCOO_STORAGE=BCOR,BCOC 20638 WANT_MATRIX_STORAGE="$WANT_MATRIX_STORAGE,$WANT_MATRIX_BCOO_STORAGE" 20639fi 20640if test x"$enable_b" = xyes ; then 20641 WANT_MATRIX_BCSS_STORAGE=BCSR 20642# WANT_MATRIX_BCSS_STORAGE=BCSR,BCSC 20643 WANT_MATRIX_STORAGE="$WANT_MATRIX_STORAGE,$WANT_MATRIX_BCSS_STORAGE" 20644fi 20645# we get rid of the comma 20646WANT_MATRIX_STORAGE="`echo $WANT_MATRIX_STORAGE| sed 's/^,//g'`" 20647#dnl *********************************************************************** 20648if test "x${userset_nounroll_cflag}" != x ; then 20649 no_unroll_flags="${userset_nounroll_cflag}" 20650fi 20651# for rsb_config.m4.in 20652 20653 20654 20655 20656NOUNROLLCFLAGS="$no_unroll_flags" 20657 20658HIDDEN_VISIBILITY_CFLAGS="$hidden_visibility_flags" 20659 20660RSB_RSBENCH_LIBS="$RSB_RSBENCH_LIBS" 20661 20662RSB_RSBENCH_CFLAGS="$RSB_RSBENCH_CFLAGS" 20663 20664WANT_ROW_UNLOOP_FACTORS="$row_unrolls" 20665 20666WANT_LOOPING_KERNELS="$want_looping_kernels" 20667 20668WANT_COLUMN_UNLOOP_FACTORS="$column_unrolls" 20669 20670WANT_SIMPLE_LOOP_UNROLL_DEFAULT_FACTOR="$util_unrolls" 20671 20672WANT_HALFWORD_INDICES="yes" 20673 20674WANT_SPSM_DIAG_CHECK="$want_spsm_diagonal_check" 20675 20676WANT_TYPES="$want_matrix_types" 20677 20678WANT_MATRIX_BCSS_STORAGE="$WANT_MATRIX_BCSS_STORAGE" 20679 20680WANT_MATRIX_BCOO_STORAGE="$WANT_MATRIX_BCOO_STORAGE" 20681 20682WANT_MATRIX_LINKED_STORAGE="$WANT_MATRIX_LINKED_STORAGE" 20683 20684WANT_MATRIX_VB_STORAGE="$WANT_MATRIX_VB_STORAGE" 20685 20686WANT_MATRIX_STORAGE="$WANT_MATRIX_STORAGE" 20687 20688WANT_MATRIX_OPS="$want_matrix_ops" 20689 20690WANT_MATRIX_ALL_META_OPS="spmv,spsv" 20691 20692WANT_MATRIX_ALL_OPS="$all_matrix_ops" 20693 20694WANT_MATRIX_ALL_TYPES="$all_matrix_types" 20695 20696#dnl *********************************************************************** 20697if test x = x"$ARFLAGS" ; then ARFLAGS="cru" ; fi # damn AIX ar 20698ARFLAGS="$ARFLAGS" 20699 20700#dnl *********************************************************************** 20701EOL="\\n" 20702if test x"$DOXYGEN" != x"false" ; then 20703 doxygen_version="$($DOXYGEN --version)" 20704 test "$(echo -e "1.8.14\n$doxygen_version" | sort -V | head -n1)" = 1.8.14 && EOL="^^" 20705fi 20706EOL=$EOL 20707 20708#dnl *********************************************************************** 20709 20710if test x"${enable_fortran_examples}" = x"yes" -a x"${FC}" = x"" ; then 20711 enable_fortran_examples=no 20712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No Fortran compiler detected (FC environment variable). Will not build the Fortran examples." >&5 20713printf "%s\n" "$as_me: WARNING: No Fortran compiler detected (FC environment variable). Will not build the Fortran examples." >&2;} 20714fi 20715HAVE_FORTRAN_EXAMPLES="$enable_fortran_examples" 20716 20717 if test x"$enable_fortran_examples" = xyes ; then 20718 HAVE_FORTRAN_EXAMPLES_TRUE= 20719 HAVE_FORTRAN_EXAMPLES_FALSE='#' 20720else 20721 HAVE_FORTRAN_EXAMPLES_TRUE='#' 20722 HAVE_FORTRAN_EXAMPLES_FALSE= 20723fi 20724 20725 if test x"$enable_c_examples" = xyes ; then 20726 HAVE_C_EXAMPLES_TRUE= 20727 HAVE_C_EXAMPLES_FALSE='#' 20728else 20729 HAVE_C_EXAMPLES_TRUE='#' 20730 HAVE_C_EXAMPLES_FALSE= 20731fi 20732 20733 if test x"$OCTAVE" != xfalse ; then 20734 HAVE_OCTAVE_TRUE= 20735 HAVE_OCTAVE_FALSE='#' 20736else 20737 HAVE_OCTAVE_TRUE='#' 20738 HAVE_OCTAVE_FALSE= 20739fi 20740 20741want_int=`echo "$want_matrix_types" | grep '\<int\>'` 20742if test x"$OCTAVE" != xfalse -a x"$enable_octave_testing" = xyes ; then want_octave_testing=yes; else want_octave_testing=no; fi 20743 if test x"$want_octave_testing" = x"yes" ; then 20744 WANT_OCTAVE_TESTING_TRUE= 20745 WANT_OCTAVE_TESTING_FALSE='#' 20746else 20747 WANT_OCTAVE_TESTING_TRUE='#' 20748 WANT_OCTAVE_TESTING_FALSE= 20749fi 20750 20751if test x"$OCTAVE" != xfalse -a x"$want_int" != x -a x"$enable_octave_testing" = xyes ; then want_octave_testing_and_int=yes; else want_octave_testing_and_int=no ; fi 20752 if test x"$want_octave_testing_and_int" = x"yes" ; then 20753 WANT_OCTAVE_TESTING_AND_INT_TRUE= 20754 WANT_OCTAVE_TESTING_AND_INT_FALSE='#' 20755else 20756 WANT_OCTAVE_TESTING_AND_INT_TRUE='#' 20757 WANT_OCTAVE_TESTING_AND_INT_FALSE= 20758fi 20759 20760if test x"${FC}" = x"" ; then 20761if test x"${want_blas_sparse_mod_install}" = x"yes" -o x"${sparse_blas_interface}" = x"yes" ; then 20762 want_blas_sparse_mod_install=no; 20763 sparse_blas_interface=no; 20764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No Fortran compiler detected (FC environment variable). Will not build the BLAS interface." >&5 20765printf "%s\n" "$as_me: WARNING: No Fortran compiler detected (FC environment variable). Will not build the BLAS interface." >&2;} 20766fi 20767fi 20768 if test x"$want_blas_sparse_mod_install" = x"yes"; then 20769 WANT_BLAS_SPARSE_MOD_INSTALL_TRUE= 20770 WANT_BLAS_SPARSE_MOD_INSTALL_FALSE='#' 20771else 20772 WANT_BLAS_SPARSE_MOD_INSTALL_TRUE='#' 20773 WANT_BLAS_SPARSE_MOD_INSTALL_FALSE= 20774fi 20775 20776 if test x"$DOXYGEN" != x"false" ; then 20777 HAVE_DOXYGEN_TRUE= 20778 HAVE_DOXYGEN_FALSE='#' 20779else 20780 HAVE_DOXYGEN_TRUE='#' 20781 HAVE_DOXYGEN_FALSE= 20782fi 20783 20784 if test x"$want_build_doc" = x"yes" ; then 20785 WANT_BUILD_DOC_TRUE= 20786 WANT_BUILD_DOC_FALSE='#' 20787else 20788 WANT_BUILD_DOC_TRUE='#' 20789 WANT_BUILD_DOC_FALSE= 20790fi 20791 20792 if test x"$want_install_pkg_config" = x"yes" ; then 20793 HAVE_PKGCONFIG_INSTALL_TRUE= 20794 HAVE_PKGCONFIG_INSTALL_FALSE='#' 20795else 20796 HAVE_PKGCONFIG_INSTALL_TRUE='#' 20797 HAVE_PKGCONFIG_INSTALL_FALSE= 20798fi 20799 20800 if test x"$HELP2MAN" != x"false" ; then 20801 HAVE_HELP2MAN_TRUE= 20802 HAVE_HELP2MAN_FALSE='#' 20803else 20804 HAVE_HELP2MAN_TRUE='#' 20805 HAVE_HELP2MAN_FALSE= 20806fi 20807 20808 if test x"$M4" != xfalse ; then 20809 HAVE_M4_TRUE= 20810 HAVE_M4_FALSE='#' 20811else 20812 HAVE_M4_TRUE='#' 20813 HAVE_M4_FALSE= 20814fi 20815 20816 if test x"$FC" != x ; then 20817 HAVE_FC_TRUE= 20818 HAVE_FC_FALSE='#' 20819else 20820 HAVE_FC_TRUE='#' 20821 HAVE_FC_FALSE= 20822fi 20823 20824 if test x"$sparse_blas_interface" = xyes ; then 20825 HAVE_SPARSE_BLAS_INTERFACE_TRUE= 20826 HAVE_SPARSE_BLAS_INTERFACE_FALSE='#' 20827else 20828 HAVE_SPARSE_BLAS_INTERFACE_TRUE='#' 20829 HAVE_SPARSE_BLAS_INTERFACE_FALSE= 20830fi 20831 20832 if test x"$enable_ihi" = xyes ; then 20833 WANT_INTERNAL_HEADERS_INSTALL_TRUE= 20834 WANT_INTERNAL_HEADERS_INSTALL_FALSE='#' 20835else 20836 WANT_INTERNAL_HEADERS_INSTALL_TRUE='#' 20837 WANT_INTERNAL_HEADERS_INSTALL_FALSE= 20838fi 20839 20840 if test x"$want_ompio" = x"yes" && test x"$enable_openmp" = x"yes" ; then 20841 WANT_OMPIO_SUPPORT_TRUE= 20842 WANT_OMPIO_SUPPORT_FALSE='#' 20843else 20844 WANT_OMPIO_SUPPORT_TRUE='#' 20845 WANT_OMPIO_SUPPORT_FALSE= 20846fi 20847 20848OCTAVE_FLAGS="--no-history --no-line-editing --no-site-file --norc --silent" 20849 20850#dnl *********************************************************************** 20851#dnl *********************************************************************** 20852ac_config_files="$ac_config_files librsb-config:librsb-config.in" 20853 20854ac_config_files="$ac_config_files librsb.pc:librsb.pc.in" 20855 20856ac_config_files="$ac_config_files examples/make.sh:examples/make.sh.in" 20857 20858ac_config_files="$ac_config_files rsb_config.m4 Makefile bench/Makefile doc/Makefile doc/Doxyfile examples/Makefile scripts/Makefile m4/Makefile blas_sparse/Makefile" 20859 20860cat >confcache <<\_ACEOF 20861# This file is a shell script that caches the results of configure 20862# tests run on this system so they can be shared between configure 20863# scripts and configure runs, see configure's option --config-cache. 20864# It is not useful on other systems. If it contains results you don't 20865# want to keep, you may remove or edit it. 20866# 20867# config.status only pays attention to the cache file if you give it 20868# the --recheck option to rerun configure. 20869# 20870# 'ac_cv_env_foo' variables (set or unset) will be overridden when 20871# loading this file, other *unset* 'ac_cv_foo' will be assigned the 20872# following values. 20873 20874_ACEOF 20875 20876# The following way of writing the cache mishandles newlines in values, 20877# but we know of no workaround that is simple, portable, and efficient. 20878# So, we kill variables containing newlines. 20879# Ultrix sh set writes to stderr and can't be redirected directly, 20880# and sets the high bit in the cache file unless we assign to the vars. 20881( 20882 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 20883 eval ac_val=\$$ac_var 20884 case $ac_val in #( 20885 *${as_nl}*) 20886 case $ac_var in #( 20887 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 20888printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 20889 esac 20890 case $ac_var in #( 20891 _ | IFS | as_nl) ;; #( 20892 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 20893 *) { eval $ac_var=; unset $ac_var;} ;; 20894 esac ;; 20895 esac 20896 done 20897 20898 (set) 2>&1 | 20899 case $as_nl`(ac_space=' '; set) 2>&1` in #( 20900 *${as_nl}ac_space=\ *) 20901 # 'set' does not quote correctly, so add quotes: double-quote 20902 # substitution turns \\\\ into \\, and sed turns \\ into \. 20903 sed -n \ 20904 "s/'/'\\\\''/g; 20905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 20906 ;; #( 20907 *) 20908 # 'set' quotes correctly as required by POSIX, so do not add quotes. 20909 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 20910 ;; 20911 esac | 20912 sort 20913) | 20914 sed ' 20915 /^ac_cv_env_/b end 20916 t clear 20917 :clear 20918 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 20919 t end 20920 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 20921 :end' >>confcache 20922if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 20923 if test -w "$cache_file"; then 20924 if test "x$cache_file" != "x/dev/null"; then 20925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 20926printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 20927 if test ! -f "$cache_file" || test -h "$cache_file"; then 20928 cat confcache >"$cache_file" 20929 else 20930 case $cache_file in #( 20931 */* | ?:*) 20932 mv -f confcache "$cache_file"$$ && 20933 mv -f "$cache_file"$$ "$cache_file" ;; #( 20934 *) 20935 mv -f confcache "$cache_file" ;; 20936 esac 20937 fi 20938 fi 20939 else 20940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 20941printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 20942 fi 20943fi 20944rm -f confcache 20945 20946test "x$prefix" = xNONE && prefix=$ac_default_prefix 20947# Let make expand exec_prefix. 20948test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 20949 20950DEFS=-DHAVE_CONFIG_H 20951 20952ac_libobjs= 20953ac_ltlibobjs= 20954U= 20955for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 20956 # 1. Remove the extension, and $U if already installed. 20957 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 20958 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 20959 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 20960 # will be set to the directory where LIBOBJS objects are built. 20961 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 20962 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 20963done 20964LIBOBJS=$ac_libobjs 20965 20966LTLIBOBJS=$ac_ltlibobjs 20967 20968 20969{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 20970printf %s "checking that generated files are newer than configure... " >&6; } 20971 if test -n "$am_sleep_pid"; then 20972 # Hide warnings about reused PIDs. 20973 wait $am_sleep_pid 2>/dev/null 20974 fi 20975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 20976printf "%s\n" "done" >&6; } 20977 if test -n "$EXEEXT"; then 20978 am__EXEEXT_TRUE= 20979 am__EXEEXT_FALSE='#' 20980else 20981 am__EXEEXT_TRUE='#' 20982 am__EXEEXT_FALSE= 20983fi 20984 20985if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 20986 as_fn_error $? "conditional \"AMDEP\" was never defined. 20987Usually this means the macro was only invoked conditionally." "$LINENO" 5 20988fi 20989if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 20990 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 20991Usually this means the macro was only invoked conditionally." "$LINENO" 5 20992fi 20993if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 20994 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 20995Usually this means the macro was only invoked conditionally." "$LINENO" 5 20996fi 20997if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then 20998 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. 20999Usually this means the macro was only invoked conditionally." "$LINENO" 5 21000fi 21001 21002if test -z "${HAVE_FORTRAN_EXAMPLES_TRUE}" && test -z "${HAVE_FORTRAN_EXAMPLES_FALSE}"; then 21003 as_fn_error $? "conditional \"HAVE_FORTRAN_EXAMPLES\" was never defined. 21004Usually this means the macro was only invoked conditionally." "$LINENO" 5 21005fi 21006if test -z "${HAVE_C_EXAMPLES_TRUE}" && test -z "${HAVE_C_EXAMPLES_FALSE}"; then 21007 as_fn_error $? "conditional \"HAVE_C_EXAMPLES\" was never defined. 21008Usually this means the macro was only invoked conditionally." "$LINENO" 5 21009fi 21010if test -z "${HAVE_OCTAVE_TRUE}" && test -z "${HAVE_OCTAVE_FALSE}"; then 21011 as_fn_error $? "conditional \"HAVE_OCTAVE\" was never defined. 21012Usually this means the macro was only invoked conditionally." "$LINENO" 5 21013fi 21014if test -z "${WANT_OCTAVE_TESTING_TRUE}" && test -z "${WANT_OCTAVE_TESTING_FALSE}"; then 21015 as_fn_error $? "conditional \"WANT_OCTAVE_TESTING\" was never defined. 21016Usually this means the macro was only invoked conditionally." "$LINENO" 5 21017fi 21018if test -z "${WANT_OCTAVE_TESTING_AND_INT_TRUE}" && test -z "${WANT_OCTAVE_TESTING_AND_INT_FALSE}"; then 21019 as_fn_error $? "conditional \"WANT_OCTAVE_TESTING_AND_INT\" was never defined. 21020Usually this means the macro was only invoked conditionally." "$LINENO" 5 21021fi 21022if test -z "${WANT_BLAS_SPARSE_MOD_INSTALL_TRUE}" && test -z "${WANT_BLAS_SPARSE_MOD_INSTALL_FALSE}"; then 21023 as_fn_error $? "conditional \"WANT_BLAS_SPARSE_MOD_INSTALL\" was never defined. 21024Usually this means the macro was only invoked conditionally." "$LINENO" 5 21025fi 21026if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then 21027 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined. 21028Usually this means the macro was only invoked conditionally." "$LINENO" 5 21029fi 21030if test -z "${WANT_BUILD_DOC_TRUE}" && test -z "${WANT_BUILD_DOC_FALSE}"; then 21031 as_fn_error $? "conditional \"WANT_BUILD_DOC\" was never defined. 21032Usually this means the macro was only invoked conditionally." "$LINENO" 5 21033fi 21034if test -z "${HAVE_PKGCONFIG_INSTALL_TRUE}" && test -z "${HAVE_PKGCONFIG_INSTALL_FALSE}"; then 21035 as_fn_error $? "conditional \"HAVE_PKGCONFIG_INSTALL\" was never defined. 21036Usually this means the macro was only invoked conditionally." "$LINENO" 5 21037fi 21038if test -z "${HAVE_HELP2MAN_TRUE}" && test -z "${HAVE_HELP2MAN_FALSE}"; then 21039 as_fn_error $? "conditional \"HAVE_HELP2MAN\" was never defined. 21040Usually this means the macro was only invoked conditionally." "$LINENO" 5 21041fi 21042if test -z "${HAVE_M4_TRUE}" && test -z "${HAVE_M4_FALSE}"; then 21043 as_fn_error $? "conditional \"HAVE_M4\" was never defined. 21044Usually this means the macro was only invoked conditionally." "$LINENO" 5 21045fi 21046if test -z "${HAVE_FC_TRUE}" && test -z "${HAVE_FC_FALSE}"; then 21047 as_fn_error $? "conditional \"HAVE_FC\" was never defined. 21048Usually this means the macro was only invoked conditionally." "$LINENO" 5 21049fi 21050if test -z "${HAVE_SPARSE_BLAS_INTERFACE_TRUE}" && test -z "${HAVE_SPARSE_BLAS_INTERFACE_FALSE}"; then 21051 as_fn_error $? "conditional \"HAVE_SPARSE_BLAS_INTERFACE\" was never defined. 21052Usually this means the macro was only invoked conditionally." "$LINENO" 5 21053fi 21054if test -z "${WANT_INTERNAL_HEADERS_INSTALL_TRUE}" && test -z "${WANT_INTERNAL_HEADERS_INSTALL_FALSE}"; then 21055 as_fn_error $? "conditional \"WANT_INTERNAL_HEADERS_INSTALL\" was never defined. 21056Usually this means the macro was only invoked conditionally." "$LINENO" 5 21057fi 21058if test -z "${WANT_OMPIO_SUPPORT_TRUE}" && test -z "${WANT_OMPIO_SUPPORT_FALSE}"; then 21059 as_fn_error $? "conditional \"WANT_OMPIO_SUPPORT\" was never defined. 21060Usually this means the macro was only invoked conditionally." "$LINENO" 5 21061fi 21062 21063: "${CONFIG_STATUS=./config.status}" 21064ac_write_fail=0 21065ac_clean_files_save=$ac_clean_files 21066ac_clean_files="$ac_clean_files $CONFIG_STATUS" 21067{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 21068printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 21069as_write_fail=0 21070cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 21071#! $SHELL 21072# Generated by $as_me. 21073# Run this file to recreate the current configuration. 21074# Compiler output produced by configure, useful for debugging 21075# configure, is in config.log if it exists. 21076 21077debug=false 21078ac_cs_recheck=false 21079ac_cs_silent=false 21080 21081SHELL=\${CONFIG_SHELL-$SHELL} 21082export SHELL 21083_ASEOF 21084cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 21085## -------------------- ## 21086## M4sh Initialization. ## 21087## -------------------- ## 21088 21089# Be more Bourne compatible 21090DUALCASE=1; export DUALCASE # for MKS sh 21091as_nop=: 21092if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 21093then : 21094 emulate sh 21095 NULLCMD=: 21096 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21097 # is contrary to our usage. Disable this feature. 21098 alias -g '${1+"$@"}'='"$@"' 21099 setopt NO_GLOB_SUBST 21100else $as_nop 21101 case `(set -o) 2>/dev/null` in #( 21102 *posix*) : 21103 set -o posix ;; #( 21104 *) : 21105 ;; 21106esac 21107fi 21108 21109 21110 21111# Reset variables that may have inherited troublesome values from 21112# the environment. 21113 21114# IFS needs to be set, to space, tab, and newline, in precisely that order. 21115# (If _AS_PATH_WALK were called with IFS unset, it would have the 21116# side effect of setting IFS to empty, thus disabling word splitting.) 21117# Quoting is to prevent editors from complaining about space-tab. 21118as_nl=' 21119' 21120export as_nl 21121IFS=" "" $as_nl" 21122 21123PS1='$ ' 21124PS2='> ' 21125PS4='+ ' 21126 21127# Ensure predictable behavior from utilities with locale-dependent output. 21128LC_ALL=C 21129export LC_ALL 21130LANGUAGE=C 21131export LANGUAGE 21132 21133# We cannot yet rely on "unset" to work, but we need these variables 21134# to be unset--not just set to an empty or harmless value--now, to 21135# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 21136# also avoids known problems related to "unset" and subshell syntax 21137# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 21138for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 21139do eval test \${$as_var+y} \ 21140 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 21141done 21142 21143# Ensure that fds 0, 1, and 2 are open. 21144if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 21145if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 21146if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 21147 21148# The user is always right. 21149if ${PATH_SEPARATOR+false} :; then 21150 PATH_SEPARATOR=: 21151 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 21152 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 21153 PATH_SEPARATOR=';' 21154 } 21155fi 21156 21157 21158# Find who we are. Look in the path if we contain no directory separator. 21159as_myself= 21160case $0 in #(( 21161 *[\\/]* ) as_myself=$0 ;; 21162 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21163for as_dir in $PATH 21164do 21165 IFS=$as_save_IFS 21166 case $as_dir in #((( 21167 '') as_dir=./ ;; 21168 */) ;; 21169 *) as_dir=$as_dir/ ;; 21170 esac 21171 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 21172 done 21173IFS=$as_save_IFS 21174 21175 ;; 21176esac 21177# We did not find ourselves, most probably we were run as 'sh COMMAND' 21178# in which case we are not to be found in the path. 21179if test "x$as_myself" = x; then 21180 as_myself=$0 21181fi 21182if test ! -f "$as_myself"; then 21183 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 21184 exit 1 21185fi 21186 21187 21188 21189# as_fn_error STATUS ERROR [LINENO LOG_FD] 21190# ---------------------------------------- 21191# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 21192# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 21193# script with STATUS, using 1 if that was 0. 21194as_fn_error () 21195{ 21196 as_status=$1; test $as_status -eq 0 && as_status=1 21197 if test "$4"; then 21198 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 21199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 21200 fi 21201 printf "%s\n" "$as_me: error: $2" >&2 21202 as_fn_exit $as_status 21203} # as_fn_error 21204 21205 21206 21207# as_fn_set_status STATUS 21208# ----------------------- 21209# Set $? to STATUS, without forking. 21210as_fn_set_status () 21211{ 21212 return $1 21213} # as_fn_set_status 21214 21215# as_fn_exit STATUS 21216# ----------------- 21217# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 21218as_fn_exit () 21219{ 21220 set +e 21221 as_fn_set_status $1 21222 exit $1 21223} # as_fn_exit 21224 21225# as_fn_unset VAR 21226# --------------- 21227# Portably unset VAR. 21228as_fn_unset () 21229{ 21230 { eval $1=; unset $1;} 21231} 21232as_unset=as_fn_unset 21233 21234# as_fn_append VAR VALUE 21235# ---------------------- 21236# Append the text in VALUE to the end of the definition contained in VAR. Take 21237# advantage of any shell optimizations that allow amortized linear growth over 21238# repeated appends, instead of the typical quadratic growth present in naive 21239# implementations. 21240if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 21241then : 21242 eval 'as_fn_append () 21243 { 21244 eval $1+=\$2 21245 }' 21246else $as_nop 21247 as_fn_append () 21248 { 21249 eval $1=\$$1\$2 21250 } 21251fi # as_fn_append 21252 21253# as_fn_arith ARG... 21254# ------------------ 21255# Perform arithmetic evaluation on the ARGs, and store the result in the 21256# global $as_val. Take advantage of shells that can avoid forks. The arguments 21257# must be portable across $(()) and expr. 21258if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 21259then : 21260 eval 'as_fn_arith () 21261 { 21262 as_val=$(( $* )) 21263 }' 21264else $as_nop 21265 as_fn_arith () 21266 { 21267 as_val=`expr "$@" || test $? -eq 1` 21268 } 21269fi # as_fn_arith 21270 21271 21272if expr a : '\(a\)' >/dev/null 2>&1 && 21273 test "X`expr 00001 : '.*\(...\)'`" = X001; then 21274 as_expr=expr 21275else 21276 as_expr=false 21277fi 21278 21279if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 21280 as_basename=basename 21281else 21282 as_basename=false 21283fi 21284 21285if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 21286 as_dirname=dirname 21287else 21288 as_dirname=false 21289fi 21290 21291as_me=`$as_basename -- "$0" || 21292$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 21293 X"$0" : 'X\(//\)$' \| \ 21294 X"$0" : 'X\(/\)' \| . 2>/dev/null || 21295printf "%s\n" X/"$0" | 21296 sed '/^.*\/\([^/][^/]*\)\/*$/{ 21297 s//\1/ 21298 q 21299 } 21300 /^X\/\(\/\/\)$/{ 21301 s//\1/ 21302 q 21303 } 21304 /^X\/\(\/\).*/{ 21305 s//\1/ 21306 q 21307 } 21308 s/.*/./; q'` 21309 21310# Avoid depending upon Character Ranges. 21311as_cr_letters='abcdefghijklmnopqrstuvwxyz' 21312as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 21313as_cr_Letters=$as_cr_letters$as_cr_LETTERS 21314as_cr_digits='0123456789' 21315as_cr_alnum=$as_cr_Letters$as_cr_digits 21316 21317 21318# Determine whether it's possible to make 'echo' print without a newline. 21319# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 21320# for compatibility with existing Makefiles. 21321ECHO_C= ECHO_N= ECHO_T= 21322case `echo -n x` in #((((( 21323-n*) 21324 case `echo 'xy\c'` in 21325 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 21326 xy) ECHO_C='\c';; 21327 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 21328 ECHO_T=' ';; 21329 esac;; 21330*) 21331 ECHO_N='-n';; 21332esac 21333 21334# For backward compatibility with old third-party macros, we provide 21335# the shell variables $as_echo and $as_echo_n. New code should use 21336# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 21337as_echo='printf %s\n' 21338as_echo_n='printf %s' 21339 21340rm -f conf$$ conf$$.exe conf$$.file 21341if test -d conf$$.dir; then 21342 rm -f conf$$.dir/conf$$.file 21343else 21344 rm -f conf$$.dir 21345 mkdir conf$$.dir 2>/dev/null 21346fi 21347if (echo >conf$$.file) 2>/dev/null; then 21348 if ln -s conf$$.file conf$$ 2>/dev/null; then 21349 as_ln_s='ln -s' 21350 # ... but there are two gotchas: 21351 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. 21352 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. 21353 # In both cases, we have to default to 'cp -pR'. 21354 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 21355 as_ln_s='cp -pR' 21356 elif ln conf$$.file conf$$ 2>/dev/null; then 21357 as_ln_s=ln 21358 else 21359 as_ln_s='cp -pR' 21360 fi 21361else 21362 as_ln_s='cp -pR' 21363fi 21364rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 21365rmdir conf$$.dir 2>/dev/null 21366 21367 21368# as_fn_mkdir_p 21369# ------------- 21370# Create "$as_dir" as a directory, including parents if necessary. 21371as_fn_mkdir_p () 21372{ 21373 21374 case $as_dir in #( 21375 -*) as_dir=./$as_dir;; 21376 esac 21377 test -d "$as_dir" || eval $as_mkdir_p || { 21378 as_dirs= 21379 while :; do 21380 case $as_dir in #( 21381 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 21382 *) as_qdir=$as_dir;; 21383 esac 21384 as_dirs="'$as_qdir' $as_dirs" 21385 as_dir=`$as_dirname -- "$as_dir" || 21386$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21387 X"$as_dir" : 'X\(//\)[^/]' \| \ 21388 X"$as_dir" : 'X\(//\)$' \| \ 21389 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 21390printf "%s\n" X"$as_dir" | 21391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21392 s//\1/ 21393 q 21394 } 21395 /^X\(\/\/\)[^/].*/{ 21396 s//\1/ 21397 q 21398 } 21399 /^X\(\/\/\)$/{ 21400 s//\1/ 21401 q 21402 } 21403 /^X\(\/\).*/{ 21404 s//\1/ 21405 q 21406 } 21407 s/.*/./; q'` 21408 test -d "$as_dir" && break 21409 done 21410 test -z "$as_dirs" || eval "mkdir $as_dirs" 21411 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 21412 21413 21414} # as_fn_mkdir_p 21415if mkdir -p . 2>/dev/null; then 21416 as_mkdir_p='mkdir -p "$as_dir"' 21417else 21418 test -d ./-p && rmdir ./-p 21419 as_mkdir_p=false 21420fi 21421 21422 21423# as_fn_executable_p FILE 21424# ----------------------- 21425# Test if FILE is an executable regular file. 21426as_fn_executable_p () 21427{ 21428 test -f "$1" && test -x "$1" 21429} # as_fn_executable_p 21430as_test_x='test -x' 21431as_executable_p=as_fn_executable_p 21432 21433# Sed expression to map a string onto a valid CPP name. 21434as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 21435 21436# Sed expression to map a string onto a valid variable name. 21437as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 21438 21439 21440exec 6>&1 21441## ----------------------------------- ## 21442## Main body of $CONFIG_STATUS script. ## 21443## ----------------------------------- ## 21444_ASEOF 21445test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 21446 21447cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21448# Save the log message, to keep $0 and so on meaningful, and to 21449# report actual input values of CONFIG_FILES etc. instead of their 21450# values after options handling. 21451ac_log=" 21452This file was extended by librsb $as_me 1.2.0.10, which was 21453generated by GNU Autoconf 2.72a.18-fbdf. Invocation command line was 21454 21455 CONFIG_FILES = $CONFIG_FILES 21456 CONFIG_HEADERS = $CONFIG_HEADERS 21457 CONFIG_LINKS = $CONFIG_LINKS 21458 CONFIG_COMMANDS = $CONFIG_COMMANDS 21459 $ $0 $@ 21460 21461on `(hostname || uname -n) 2>/dev/null | sed 1q` 21462" 21463 21464_ACEOF 21465 21466case $ac_config_files in *" 21467"*) set x $ac_config_files; shift; ac_config_files=$*;; 21468esac 21469 21470case $ac_config_headers in *" 21471"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 21472esac 21473 21474 21475cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21476# Files that config.status was made for. 21477config_files="$ac_config_files" 21478config_headers="$ac_config_headers" 21479config_commands="$ac_config_commands" 21480 21481_ACEOF 21482 21483cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21484ac_cs_usage="\ 21485'$as_me' instantiates files and other configuration actions 21486from templates according to the current configuration. Unless the files 21487and actions are specified as TAGs, all are instantiated by default. 21488 21489Usage: $0 [OPTION]... [TAG]... 21490 21491 -h, --help print this help, then exit 21492 -V, --version print version number and configuration settings, then exit 21493 --config print configuration, then exit 21494 -q, --quiet, --silent 21495 do not print progress messages 21496 -d, --debug don't remove temporary files 21497 --recheck update $as_me by reconfiguring in the same conditions 21498 --file=FILE[:TEMPLATE] 21499 instantiate the configuration file FILE 21500 --header=FILE[:TEMPLATE] 21501 instantiate the configuration header FILE 21502 21503Configuration files: 21504$config_files 21505 21506Configuration headers: 21507$config_headers 21508 21509Configuration commands: 21510$config_commands 21511 21512Report bugs to <michelemartone_AT_users_DOT_sourceforge_DOT_net>." 21513 21514_ACEOF 21515ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 21516ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 21517cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21518ac_cs_config='$ac_cs_config_escaped' 21519ac_cs_version="\\ 21520librsb config.status 1.2.0.10 21521configured by $0, generated by GNU Autoconf 2.72a.18-fbdf, 21522 with options \\"\$ac_cs_config\\" 21523 21524Copyright (C) 2021 Free Software Foundation, Inc. 21525This config.status script is free software; the Free Software Foundation 21526gives unlimited permission to copy, distribute and modify it." 21527 21528ac_pwd='$ac_pwd' 21529srcdir='$srcdir' 21530INSTALL='$INSTALL' 21531MKDIR_P='$MKDIR_P' 21532AWK='$AWK' 21533test -n "\$AWK" || AWK=awk 21534_ACEOF 21535 21536cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21537# The default lists apply if the user does not specify any file. 21538ac_need_defaults=: 21539while test $# != 0 21540do 21541 case $1 in 21542 --*=?*) 21543 ac_option=`expr "X$1" : 'X\([^=]*\)='` 21544 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 21545 ac_shift=: 21546 ;; 21547 --*=) 21548 ac_option=`expr "X$1" : 'X\([^=]*\)='` 21549 ac_optarg= 21550 ac_shift=: 21551 ;; 21552 *) 21553 ac_option=$1 21554 ac_optarg=$2 21555 ac_shift=shift 21556 ;; 21557 esac 21558 21559 case $ac_option in 21560 # Handling of the options. 21561 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 21562 ac_cs_recheck=: ;; 21563 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 21564 printf "%s\n" "$ac_cs_version"; exit ;; 21565 --config | --confi | --conf | --con | --co | --c ) 21566 printf "%s\n" "$ac_cs_config"; exit ;; 21567 --debug | --debu | --deb | --de | --d | -d ) 21568 debug=: ;; 21569 --file | --fil | --fi | --f ) 21570 $ac_shift 21571 case $ac_optarg in 21572 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 21573 '') as_fn_error $? "missing file argument" ;; 21574 esac 21575 as_fn_append CONFIG_FILES " '$ac_optarg'" 21576 ac_need_defaults=false;; 21577 --header | --heade | --head | --hea ) 21578 $ac_shift 21579 case $ac_optarg in 21580 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 21581 esac 21582 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 21583 ac_need_defaults=false;; 21584 --he | --h) 21585 # Conflict between --help and --header 21586 as_fn_error $? "ambiguous option: '$1' 21587Try '$0 --help' for more information.";; 21588 --help | --hel | -h ) 21589 printf "%s\n" "$ac_cs_usage"; exit ;; 21590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 21591 | -silent | --silent | --silen | --sile | --sil | --si | --s) 21592 ac_cs_silent=: ;; 21593 21594 # This is an error. 21595 -*) as_fn_error $? "unrecognized option: '$1' 21596Try '$0 --help' for more information." ;; 21597 21598 *) as_fn_append ac_config_targets " $1" 21599 ac_need_defaults=false ;; 21600 21601 esac 21602 shift 21603done 21604 21605ac_configure_extra_args= 21606 21607if $ac_cs_silent; then 21608 exec 6>/dev/null 21609 ac_configure_extra_args="$ac_configure_extra_args --silent" 21610fi 21611 21612_ACEOF 21613cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21614if \$ac_cs_recheck; then 21615 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 21616 shift 21617 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 21618 CONFIG_SHELL='$SHELL' 21619 export CONFIG_SHELL 21620 exec "\$@" 21621fi 21622 21623_ACEOF 21624cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21625exec 5>>config.log 21626{ 21627 echo 21628 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 21629## Running $as_me. ## 21630_ASBOX 21631 printf "%s\n" "$ac_log" 21632} >&5 21633 21634_ACEOF 21635cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21636# 21637# INIT-COMMANDS 21638# 21639AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 21640 21641 21642# The HP-UX ksh and POSIX shell print the target directory to stdout 21643# if CDPATH is set. 21644(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 21645 21646sed_quote_subst='$sed_quote_subst' 21647double_quote_subst='$double_quote_subst' 21648delay_variable_subst='$delay_variable_subst' 21649macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 21650macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 21651enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 21652enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 21653pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 21654enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 21655shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 21656SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 21657ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 21658PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 21659host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 21660host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 21661host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 21662build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 21663build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 21664build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 21665SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 21666Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 21667GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 21668EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 21669FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 21670LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 21671NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 21672LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 21673max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 21674ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 21675exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 21676lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 21677lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 21678lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 21679lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 21680lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 21681reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 21682reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 21683OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 21684deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 21685file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 21686file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 21687want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 21688DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 21689sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 21690AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 21691AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 21692archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 21693STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 21694RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 21695old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 21696old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 21697old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 21698lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 21699CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 21700CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 21701compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 21702GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 21703lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 21704lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 21705lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 21706lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 21707lt_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"`' 21708lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 21709nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 21710lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 21711lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 21712objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 21713MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 21714lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 21715lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 21716lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 21717lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 21718lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 21719need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 21720MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 21721DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 21722NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 21723LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 21724OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 21725OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 21726libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 21727shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 21728extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 21729archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 21730enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 21731export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 21732whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 21733compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 21734old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 21735old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 21736archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 21737archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 21738module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 21739module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 21740with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 21741allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 21742no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 21743hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 21744hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 21745hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 21746hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 21747hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 21748hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 21749hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 21750inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 21751link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 21752always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 21753export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 21754exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 21755include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 21756prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 21757postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 21758file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 21759variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 21760need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 21761need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 21762version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 21763runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 21764shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 21765shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 21766libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 21767library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 21768soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 21769install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 21770postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 21771postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 21772finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 21773finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 21774hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 21775sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 21776configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 21777configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 21778hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 21779enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 21780enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 21781enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 21782old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 21783striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 21784compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 21785predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 21786postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 21787predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 21788postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 21789compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 21790LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`' 21791reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`' 21792reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`' 21793old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`' 21794compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`' 21795GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`' 21796lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`' 21797lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`' 21798lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`' 21799lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`' 21800lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`' 21801archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`' 21802enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`' 21803export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`' 21804whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`' 21805compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`' 21806old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`' 21807old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`' 21808archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`' 21809archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`' 21810module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`' 21811module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`' 21812with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`' 21813allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`' 21814no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`' 21815hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`' 21816hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`' 21817hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`' 21818hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`' 21819hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`' 21820hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`' 21821hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`' 21822inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`' 21823link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`' 21824always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`' 21825export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`' 21826exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`' 21827include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`' 21828prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`' 21829postlink_cmds_FC='`$ECHO "$postlink_cmds_FC" | $SED "$delay_single_quote_subst"`' 21830file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`' 21831hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`' 21832compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`' 21833predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`' 21834postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`' 21835predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`' 21836postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`' 21837compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`' 21838 21839LTCC='$LTCC' 21840LTCFLAGS='$LTCFLAGS' 21841compiler='$compiler_DEFAULT' 21842 21843# A function that is used when there is no print builtin or printf. 21844func_fallback_echo () 21845{ 21846 eval 'cat <<_LTECHO_EOF 21847\$1 21848_LTECHO_EOF' 21849} 21850 21851# Quote evaled strings. 21852for var in SHELL \ 21853ECHO \ 21854PATH_SEPARATOR \ 21855SED \ 21856GREP \ 21857EGREP \ 21858FGREP \ 21859LD \ 21860NM \ 21861LN_S \ 21862lt_SP2NL \ 21863lt_NL2SP \ 21864reload_flag \ 21865OBJDUMP \ 21866deplibs_check_method \ 21867file_magic_cmd \ 21868file_magic_glob \ 21869want_nocaseglob \ 21870DLLTOOL \ 21871sharedlib_from_linklib_cmd \ 21872AR \ 21873AR_FLAGS \ 21874archiver_list_spec \ 21875STRIP \ 21876RANLIB \ 21877CC \ 21878CFLAGS \ 21879compiler \ 21880lt_cv_sys_global_symbol_pipe \ 21881lt_cv_sys_global_symbol_to_cdecl \ 21882lt_cv_sys_global_symbol_to_import \ 21883lt_cv_sys_global_symbol_to_c_name_address \ 21884lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 21885lt_cv_nm_interface \ 21886nm_file_list_spec \ 21887lt_cv_truncate_bin \ 21888lt_prog_compiler_no_builtin_flag \ 21889lt_prog_compiler_pic \ 21890lt_prog_compiler_wl \ 21891lt_prog_compiler_static \ 21892lt_cv_prog_compiler_c_o \ 21893need_locks \ 21894MANIFEST_TOOL \ 21895DSYMUTIL \ 21896NMEDIT \ 21897LIPO \ 21898OTOOL \ 21899OTOOL64 \ 21900shrext_cmds \ 21901export_dynamic_flag_spec \ 21902whole_archive_flag_spec \ 21903compiler_needs_object \ 21904with_gnu_ld \ 21905allow_undefined_flag \ 21906no_undefined_flag \ 21907hardcode_libdir_flag_spec \ 21908hardcode_libdir_separator \ 21909exclude_expsyms \ 21910include_expsyms \ 21911file_list_spec \ 21912variables_saved_for_relink \ 21913libname_spec \ 21914library_names_spec \ 21915soname_spec \ 21916install_override_mode \ 21917finish_eval \ 21918old_striplib \ 21919striplib \ 21920compiler_lib_search_dirs \ 21921predep_objects \ 21922postdep_objects \ 21923predeps \ 21924postdeps \ 21925compiler_lib_search_path \ 21926LD_FC \ 21927reload_flag_FC \ 21928compiler_FC \ 21929lt_prog_compiler_no_builtin_flag_FC \ 21930lt_prog_compiler_pic_FC \ 21931lt_prog_compiler_wl_FC \ 21932lt_prog_compiler_static_FC \ 21933lt_cv_prog_compiler_c_o_FC \ 21934export_dynamic_flag_spec_FC \ 21935whole_archive_flag_spec_FC \ 21936compiler_needs_object_FC \ 21937with_gnu_ld_FC \ 21938allow_undefined_flag_FC \ 21939no_undefined_flag_FC \ 21940hardcode_libdir_flag_spec_FC \ 21941hardcode_libdir_separator_FC \ 21942exclude_expsyms_FC \ 21943include_expsyms_FC \ 21944file_list_spec_FC \ 21945compiler_lib_search_dirs_FC \ 21946predep_objects_FC \ 21947postdep_objects_FC \ 21948predeps_FC \ 21949postdeps_FC \ 21950compiler_lib_search_path_FC; do 21951 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 21952 *[\\\\\\\`\\"\\\$]*) 21953 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 21954 ;; 21955 *) 21956 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 21957 ;; 21958 esac 21959done 21960 21961# Double-quote double-evaled strings. 21962for var in reload_cmds \ 21963old_postinstall_cmds \ 21964old_postuninstall_cmds \ 21965old_archive_cmds \ 21966extract_expsyms_cmds \ 21967old_archive_from_new_cmds \ 21968old_archive_from_expsyms_cmds \ 21969archive_cmds \ 21970archive_expsym_cmds \ 21971module_cmds \ 21972module_expsym_cmds \ 21973export_symbols_cmds \ 21974prelink_cmds \ 21975postlink_cmds \ 21976postinstall_cmds \ 21977postuninstall_cmds \ 21978finish_cmds \ 21979sys_lib_search_path_spec \ 21980configure_time_dlsearch_path \ 21981configure_time_lt_sys_library_path \ 21982reload_cmds_FC \ 21983old_archive_cmds_FC \ 21984old_archive_from_new_cmds_FC \ 21985old_archive_from_expsyms_cmds_FC \ 21986archive_cmds_FC \ 21987archive_expsym_cmds_FC \ 21988module_cmds_FC \ 21989module_expsym_cmds_FC \ 21990export_symbols_cmds_FC \ 21991prelink_cmds_FC \ 21992postlink_cmds_FC; do 21993 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 21994 *[\\\\\\\`\\"\\\$]*) 21995 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 21996 ;; 21997 *) 21998 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 21999 ;; 22000 esac 22001done 22002 22003ac_aux_dir='$ac_aux_dir' 22004 22005# See if we are running on zsh, and set the options that allow our 22006# commands through without removal of \ escapes INIT. 22007if test -n "\${ZSH_VERSION+set}"; then 22008 setopt NO_GLOB_SUBST 22009fi 22010 22011 22012 PACKAGE='$PACKAGE' 22013 VERSION='$VERSION' 22014 RM='$RM' 22015 ofile='$ofile' 22016 22017 22018 22019 22020 22021 22022_ACEOF 22023 22024cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22025 22026# Handling of arguments. 22027for ac_config_target in $ac_config_targets 22028do 22029 case $ac_config_target in 22030 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 22031 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 22032 "rsb-config.h") CONFIG_HEADERS="$CONFIG_HEADERS rsb-config.h" ;; 22033 "librsb-config") CONFIG_FILES="$CONFIG_FILES librsb-config:librsb-config.in" ;; 22034 "librsb.pc") CONFIG_FILES="$CONFIG_FILES librsb.pc:librsb.pc.in" ;; 22035 "examples/make.sh") CONFIG_FILES="$CONFIG_FILES examples/make.sh:examples/make.sh.in" ;; 22036 "rsb_config.m4") CONFIG_FILES="$CONFIG_FILES rsb_config.m4" ;; 22037 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 22038 "bench/Makefile") CONFIG_FILES="$CONFIG_FILES bench/Makefile" ;; 22039 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 22040 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; 22041 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 22042 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; 22043 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 22044 "blas_sparse/Makefile") CONFIG_FILES="$CONFIG_FILES blas_sparse/Makefile" ;; 22045 22046 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; 22047 esac 22048done 22049 22050 22051# If the user did not use the arguments to specify the items to instantiate, 22052# then the envvar interface is used. Set only those that are not. 22053# We use the long form for the default assignment because of an extremely 22054# bizarre bug on SunOS 4.1.3. 22055if $ac_need_defaults; then 22056 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 22057 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 22058 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 22059fi 22060 22061# Have a temporary directory for convenience. Make it in the build tree 22062# simply because there is no reason against having it here, and in addition, 22063# creating and moving files from /tmp can sometimes cause problems. 22064# Hook for its removal unless debugging. 22065# Note that there is a small window in which the directory will not be cleaned: 22066# after its creation but before its name has been assigned to '$tmp'. 22067$debug || 22068{ 22069 tmp= ac_tmp= 22070 trap 'exit_status=$? 22071 : "${ac_tmp:=$tmp}" 22072 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 22073' 0 22074 trap 'as_fn_exit 1' 1 2 13 15 22075} 22076# Create a (secure) tmp directory for tmp files. 22077 22078{ 22079 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 22080 test -d "$tmp" 22081} || 22082{ 22083 tmp=./conf$$-$RANDOM 22084 (umask 077 && mkdir "$tmp") 22085} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 22086ac_tmp=$tmp 22087 22088# Set up the scripts for CONFIG_FILES section. 22089# No need to generate them if there are no CONFIG_FILES. 22090# This happens for instance with './config.status config.h'. 22091if test -n "$CONFIG_FILES"; then 22092 22093 22094ac_cr=`echo X | tr X '\015'` 22095# On cygwin, bash can eat \r inside `` if the user requested igncr. 22096# But we know of no other shell where ac_cr would be empty at this 22097# point, so we can use a bashism as a fallback. 22098if test "x$ac_cr" = x; then 22099 eval ac_cr=\$\'\\r\' 22100fi 22101ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 22102if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 22103 ac_cs_awk_cr='\\r' 22104else 22105 ac_cs_awk_cr=$ac_cr 22106fi 22107 22108echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 22109_ACEOF 22110 22111 22112{ 22113 echo "cat >conf$$subs.awk <<_ACEOF" && 22114 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 22115 echo "_ACEOF" 22116} >conf$$subs.sh || 22117 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 22118ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 22119ac_delim='%!_!# ' 22120for ac_last_try in false false false false false :; do 22121 . ./conf$$subs.sh || 22122 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 22123 22124 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 22125 if test $ac_delim_n = $ac_delim_num; then 22126 break 22127 elif $ac_last_try; then 22128 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 22129 else 22130 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22131 fi 22132done 22133rm -f conf$$subs.sh 22134 22135cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22136cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 22137_ACEOF 22138sed -n ' 22139h 22140s/^/S["/; s/!.*/"]=/ 22141p 22142g 22143s/^[^!]*!// 22144:repl 22145t repl 22146s/'"$ac_delim"'$// 22147t delim 22148:nl 22149h 22150s/\(.\{148\}\)..*/\1/ 22151t more1 22152s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 22153p 22154n 22155b repl 22156:more1 22157s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 22158p 22159g 22160s/.\{148\}// 22161t nl 22162:delim 22163h 22164s/\(.\{148\}\)..*/\1/ 22165t more2 22166s/["\\]/\\&/g; s/^/"/; s/$/"/ 22167p 22168b 22169:more2 22170s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 22171p 22172g 22173s/.\{148\}// 22174t delim 22175' <conf$$subs.awk | sed ' 22176/^[^""]/{ 22177 N 22178 s/\n// 22179} 22180' >>$CONFIG_STATUS || ac_write_fail=1 22181rm -f conf$$subs.awk 22182cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22183_ACAWK 22184cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 22185 for (key in S) S_is_set[key] = 1 22186 FS = "" 22187 22188} 22189{ 22190 line = $ 0 22191 nfields = split(line, field, "@") 22192 substed = 0 22193 len = length(field[1]) 22194 for (i = 2; i < nfields; i++) { 22195 key = field[i] 22196 keylen = length(key) 22197 if (S_is_set[key]) { 22198 value = S[key] 22199 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 22200 len += length(value) + length(field[++i]) 22201 substed = 1 22202 } else 22203 len += 1 + keylen 22204 } 22205 22206 print line 22207} 22208 22209_ACAWK 22210_ACEOF 22211cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22212if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 22213 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 22214else 22215 cat 22216fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 22217 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 22218_ACEOF 22219 22220# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 22221# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 22222# trailing colons and then remove the whole line if VPATH becomes empty 22223# (actually we leave an empty line to preserve line numbers). 22224if test "x$srcdir" = x.; then 22225 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 22226h 22227s/// 22228s/^/:/ 22229s/[ ]*$/:/ 22230s/:\$(srcdir):/:/g 22231s/:\${srcdir}:/:/g 22232s/:@srcdir@:/:/g 22233s/^:*// 22234s/:*$// 22235x 22236s/\(=[ ]*\).*/\1/ 22237G 22238s/\n// 22239s/^[^=]*=[ ]*$// 22240}' 22241fi 22242 22243cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22244fi # test -n "$CONFIG_FILES" 22245 22246# Set up the scripts for CONFIG_HEADERS section. 22247# No need to generate them if there are no CONFIG_HEADERS. 22248# This happens for instance with './config.status Makefile'. 22249if test -n "$CONFIG_HEADERS"; then 22250cat >"$ac_tmp/defines.awk" <<\_ACAWK || 22251BEGIN { 22252_ACEOF 22253 22254# Transform confdefs.h into an awk script 'defines.awk', embedded as 22255# here-document in config.status, that substitutes the proper values into 22256# config.h.in to produce config.h. 22257 22258# Create a delimiter string that does not exist in confdefs.h, to ease 22259# handling of long lines. 22260ac_delim='%!_!# ' 22261for ac_last_try in false false :; do 22262 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 22263 if test -z "$ac_tt"; then 22264 break 22265 elif $ac_last_try; then 22266 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 22267 else 22268 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22269 fi 22270done 22271 22272# For the awk script, D is an array of macro values keyed by name, 22273# likewise P contains macro parameters if any. Preserve backslash 22274# newline sequences. 22275 22276ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 22277sed -n ' 22278s/.\{148\}/&'"$ac_delim"'/g 22279t rset 22280:rset 22281s/^[ ]*#[ ]*define[ ][ ]*/ / 22282t def 22283d 22284:def 22285s/\\$// 22286t bsnl 22287s/["\\]/\\&/g 22288s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 22289D["\1"]=" \3"/p 22290s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 22291d 22292:bsnl 22293s/["\\]/\\&/g 22294s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 22295D["\1"]=" \3\\\\\\n"\\/p 22296t cont 22297s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 22298t cont 22299d 22300:cont 22301n 22302s/.\{148\}/&'"$ac_delim"'/g 22303t clear 22304:clear 22305s/\\$// 22306t bsnlc 22307s/["\\]/\\&/g; s/^/"/; s/$/"/p 22308d 22309:bsnlc 22310s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 22311b cont 22312' <confdefs.h | sed ' 22313s/'"$ac_delim"'/"\\\ 22314"/g' >>$CONFIG_STATUS || ac_write_fail=1 22315 22316cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22317 for (key in D) D_is_set[key] = 1 22318 FS = "" 22319} 22320/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 22321 line = \$ 0 22322 split(line, arg, " ") 22323 if (arg[1] == "#") { 22324 defundef = arg[2] 22325 mac1 = arg[3] 22326 } else { 22327 defundef = substr(arg[1], 2) 22328 mac1 = arg[2] 22329 } 22330 split(mac1, mac2, "(") #) 22331 macro = mac2[1] 22332 prefix = substr(line, 1, index(line, defundef) - 1) 22333 if (D_is_set[macro]) { 22334 # Preserve the white space surrounding the "#". 22335 print prefix "define", macro P[macro] D[macro] 22336 next 22337 } else { 22338 # Replace #undef with comments. This is necessary, for example, 22339 # in the case of _POSIX_SOURCE, which is predefined and required 22340 # on some systems where configure will not decide to define it. 22341 if (defundef == "undef") { 22342 print "/*", prefix defundef, macro, "*/" 22343 next 22344 } 22345 } 22346} 22347{ print } 22348_ACAWK 22349_ACEOF 22350cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22351 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 22352fi # test -n "$CONFIG_HEADERS" 22353 22354 22355eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 22356shift 22357for ac_tag 22358do 22359 case $ac_tag in 22360 :[FHLC]) ac_mode=$ac_tag; continue;; 22361 esac 22362 case $ac_mode$ac_tag in 22363 :[FHL]*:*);; 22364 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; 22365 :[FH]-) ac_tag=-:-;; 22366 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 22367 esac 22368 ac_save_IFS=$IFS 22369 IFS=: 22370 set x $ac_tag 22371 IFS=$ac_save_IFS 22372 shift 22373 ac_file=$1 22374 shift 22375 22376 case $ac_mode in 22377 :L) ac_source=$1;; 22378 :[FH]) 22379 ac_file_inputs= 22380 for ac_f 22381 do 22382 case $ac_f in 22383 -) ac_f="$ac_tmp/stdin";; 22384 *) # Look for the file first in the build tree, then in the source tree 22385 # (if the path is not absolute). The absolute path cannot be DOS-style, 22386 # because $ac_f cannot contain ':'. 22387 test -f "$ac_f" || 22388 case $ac_f in 22389 [\\/$]*) false;; 22390 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 22391 esac || 22392 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; 22393 esac 22394 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 22395 as_fn_append ac_file_inputs " '$ac_f'" 22396 done 22397 22398 # Let's still pretend it is 'configure' which instantiates (i.e., don't 22399 # use $as_me), people would be surprised to read: 22400 # /* config.h. Generated by config.status. */ 22401 configure_input='Generated from '` 22402 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 22403 `' by configure.' 22404 if test x"$ac_file" != x-; then 22405 configure_input="$ac_file. $configure_input" 22406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 22407printf "%s\n" "$as_me: creating $ac_file" >&6;} 22408 fi 22409 # Neutralize special characters interpreted by sed in replacement strings. 22410 case $configure_input in #( 22411 *\&* | *\|* | *\\* ) 22412 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 22413 sed 's/[\\\\&|]/\\\\&/g'`;; #( 22414 *) ac_sed_conf_input=$configure_input;; 22415 esac 22416 22417 case $ac_tag in 22418 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 22419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 22420 esac 22421 ;; 22422 esac 22423 22424 ac_dir=`$as_dirname -- "$ac_file" || 22425$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22426 X"$ac_file" : 'X\(//\)[^/]' \| \ 22427 X"$ac_file" : 'X\(//\)$' \| \ 22428 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 22429printf "%s\n" X"$ac_file" | 22430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22431 s//\1/ 22432 q 22433 } 22434 /^X\(\/\/\)[^/].*/{ 22435 s//\1/ 22436 q 22437 } 22438 /^X\(\/\/\)$/{ 22439 s//\1/ 22440 q 22441 } 22442 /^X\(\/\).*/{ 22443 s//\1/ 22444 q 22445 } 22446 s/.*/./; q'` 22447 as_dir="$ac_dir"; as_fn_mkdir_p 22448 ac_builddir=. 22449 22450case "$ac_dir" in 22451.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 22452*) 22453 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 22454 # A ".." for each directory in $ac_dir_suffix. 22455 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 22456 case $ac_top_builddir_sub in 22457 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 22458 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 22459 esac ;; 22460esac 22461ac_abs_top_builddir=$ac_pwd 22462ac_abs_builddir=$ac_pwd$ac_dir_suffix 22463# for backward compatibility: 22464ac_top_builddir=$ac_top_build_prefix 22465 22466case $srcdir in 22467 .) # We are building in place. 22468 ac_srcdir=. 22469 ac_top_srcdir=$ac_top_builddir_sub 22470 ac_abs_top_srcdir=$ac_pwd ;; 22471 [\\/]* | ?:[\\/]* ) # Absolute name. 22472 ac_srcdir=$srcdir$ac_dir_suffix; 22473 ac_top_srcdir=$srcdir 22474 ac_abs_top_srcdir=$srcdir ;; 22475 *) # Relative name. 22476 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 22477 ac_top_srcdir=$ac_top_build_prefix$srcdir 22478 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 22479esac 22480ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 22481 22482 22483 case $ac_mode in 22484 :F) 22485 # 22486 # CONFIG_FILE 22487 # 22488 22489 case $INSTALL in 22490 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 22491 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 22492 esac 22493 ac_MKDIR_P=$MKDIR_P 22494 case $MKDIR_P in 22495 [\\/$]* | ?:[\\/]* ) ;; 22496 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 22497 esac 22498_ACEOF 22499 22500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22501# If the template does not know about datarootdir, expand it. 22502# FIXME: This hack should be removed a few years after 2.60. 22503ac_datarootdir_hack=; ac_datarootdir_seen= 22504ac_sed_dataroot=' 22505/datarootdir/ { 22506 p 22507 q 22508} 22509/@datadir@/p 22510/@docdir@/p 22511/@infodir@/p 22512/@localedir@/p 22513/@mandir@/p' 22514case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 22515*datarootdir*) ac_datarootdir_seen=yes;; 22516*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 22517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 22518printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 22519_ACEOF 22520cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22521 ac_datarootdir_hack=' 22522 s&@datadir@&$datadir&g 22523 s&@docdir@&$docdir&g 22524 s&@infodir@&$infodir&g 22525 s&@localedir@&$localedir&g 22526 s&@mandir@&$mandir&g 22527 s&\\\${datarootdir}&$datarootdir&g' ;; 22528esac 22529_ACEOF 22530 22531# Neutralize VPATH when '$srcdir' = '.'. 22532# Shell code in configure.ac might set extrasub. 22533# FIXME: do we really want to maintain this feature? 22534cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22535ac_sed_extra="$ac_vpsub 22536$extrasub 22537_ACEOF 22538cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22539:t 22540/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 22541s|@configure_input@|$ac_sed_conf_input|;t t 22542s&@top_builddir@&$ac_top_builddir_sub&;t t 22543s&@top_build_prefix@&$ac_top_build_prefix&;t t 22544s&@srcdir@&$ac_srcdir&;t t 22545s&@abs_srcdir@&$ac_abs_srcdir&;t t 22546s&@top_srcdir@&$ac_top_srcdir&;t t 22547s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 22548s&@builddir@&$ac_builddir&;t t 22549s&@abs_builddir@&$ac_abs_builddir&;t t 22550s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 22551s&@INSTALL@&$ac_INSTALL&;t t 22552s&@MKDIR_P@&$ac_MKDIR_P&;t t 22553$ac_datarootdir_hack 22554" 22555eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 22556 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 22557 22558test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 22559 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 22560 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 22561 "$ac_tmp/out"`; test -z "$ac_out"; } && 22562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' 22563which seems to be undefined. Please make sure it is defined" >&5 22564printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' 22565which seems to be undefined. Please make sure it is defined" >&2;} 22566 22567 rm -f "$ac_tmp/stdin" 22568 case $ac_file in 22569 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 22570 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 22571 esac \ 22572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 22573 ;; 22574 :H) 22575 # 22576 # CONFIG_HEADER 22577 # 22578 if test x"$ac_file" != x-; then 22579 { 22580 printf "%s\n" "/* $configure_input */" >&1 \ 22581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 22582 } >"$ac_tmp/config.h" \ 22583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 22584 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 22585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 22586printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 22587 else 22588 rm -f "$ac_file" 22589 mv "$ac_tmp/config.h" "$ac_file" \ 22590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 22591 fi 22592 else 22593 printf "%s\n" "/* $configure_input */" >&1 \ 22594 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 22595 || as_fn_error $? "could not create -" "$LINENO" 5 22596 fi 22597# Compute "$ac_file"'s index in $config_headers. 22598_am_arg="$ac_file" 22599_am_stamp_count=1 22600for _am_header in $config_headers :; do 22601 case $_am_header in 22602 $_am_arg | $_am_arg:* ) 22603 break ;; 22604 * ) 22605 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 22606 esac 22607done 22608echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 22609$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22610 X"$_am_arg" : 'X\(//\)[^/]' \| \ 22611 X"$_am_arg" : 'X\(//\)$' \| \ 22612 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 22613printf "%s\n" X"$_am_arg" | 22614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22615 s//\1/ 22616 q 22617 } 22618 /^X\(\/\/\)[^/].*/{ 22619 s//\1/ 22620 q 22621 } 22622 /^X\(\/\/\)$/{ 22623 s//\1/ 22624 q 22625 } 22626 /^X\(\/\).*/{ 22627 s//\1/ 22628 q 22629 } 22630 s/.*/./; q'`/stamp-h$_am_stamp_count 22631 ;; 22632 22633 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 22634printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 22635 ;; 22636 esac 22637 22638 22639 case $ac_file$ac_mode in 22640 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 22641 # Older Autoconf quotes --file arguments for eval, but not when files 22642 # are listed without --file. Let's play safe and only enable the eval 22643 # if we detect the quoting. 22644 # TODO: see whether this extra hack can be removed once we start 22645 # requiring Autoconf 2.70 or later. 22646 case $CONFIG_FILES in #( 22647 *\'*) : 22648 eval set x "$CONFIG_FILES" ;; #( 22649 *) : 22650 set x $CONFIG_FILES ;; #( 22651 *) : 22652 ;; 22653esac 22654 shift 22655 # Used to flag and report bootstrapping failures. 22656 am_rc=0 22657 for am_mf 22658 do 22659 # Strip MF so we end up with the name of the file. 22660 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` 22661 # Check whether this is an Automake generated Makefile which includes 22662 # dependency-tracking related rules and includes. 22663 # Grep'ing the whole file directly is not great: AIX grep has a line 22664 # limit of 2048, but all sed's we know have understand at least 4000. 22665 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 22666 || continue 22667 am_dirpart=`$as_dirname -- "$am_mf" || 22668$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22669 X"$am_mf" : 'X\(//\)[^/]' \| \ 22670 X"$am_mf" : 'X\(//\)$' \| \ 22671 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 22672printf "%s\n" X"$am_mf" | 22673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22674 s//\1/ 22675 q 22676 } 22677 /^X\(\/\/\)[^/].*/{ 22678 s//\1/ 22679 q 22680 } 22681 /^X\(\/\/\)$/{ 22682 s//\1/ 22683 q 22684 } 22685 /^X\(\/\).*/{ 22686 s//\1/ 22687 q 22688 } 22689 s/.*/./; q'` 22690 am_filepart=`$as_basename -- "$am_mf" || 22691$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 22692 X"$am_mf" : 'X\(//\)$' \| \ 22693 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 22694printf "%s\n" X/"$am_mf" | 22695 sed '/^.*\/\([^/][^/]*\)\/*$/{ 22696 s//\1/ 22697 q 22698 } 22699 /^X\/\(\/\/\)$/{ 22700 s//\1/ 22701 q 22702 } 22703 /^X\/\(\/\).*/{ 22704 s//\1/ 22705 q 22706 } 22707 s/.*/./; q'` 22708 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 22709 && sed -e '/# am--include-marker/d' "$am_filepart" \ 22710 | $MAKE -f - am--depfiles" >&5 22711 (cd "$am_dirpart" \ 22712 && sed -e '/# am--include-marker/d' "$am_filepart" \ 22713 | $MAKE -f - am--depfiles) >&5 2>&5 22714 ac_status=$? 22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22716 (exit $ac_status); } || am_rc=$? 22717 done 22718 if test $am_rc -ne 0; then 22719 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 22720printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 22721as_fn_error $? "Something went wrong bootstrapping makefile fragments 22722 for automatic dependency tracking. Try re-running configure with the 22723 '--disable-dependency-tracking' option to at least be able to build 22724 the package (albeit without support for automatic dependency tracking). 22725See 'config.log' for more details" "$LINENO" 5; } 22726 fi 22727 { am_dirpart=; unset am_dirpart;} 22728 { am_filepart=; unset am_filepart;} 22729 { am_mf=; unset am_mf;} 22730 { am_rc=; unset am_rc;} 22731 rm -f conftest-deps.mk 22732} 22733 ;; 22734 "libtool":C) 22735 22736 # See if we are running on zsh, and set the options that allow our 22737 # commands through without removal of \ escapes. 22738 if test -n "${ZSH_VERSION+set}"; then 22739 setopt NO_GLOB_SUBST 22740 fi 22741 22742 cfgfile=${ofile}T 22743 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 22744 $RM "$cfgfile" 22745 22746 cat <<_LT_EOF >> "$cfgfile" 22747#! $SHELL 22748# Generated automatically by $as_me ($PACKAGE) $VERSION 22749# NOTE: Changes made to this file will be lost: look at ltmain.sh. 22750 22751# Provide generalized library-building support services. 22752# Written by Gordon Matzigkeit, 1996 22753 22754# Copyright (C) 2014 Free Software Foundation, Inc. 22755# This is free software; see the source for copying conditions. There is NO 22756# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 22757 22758# GNU Libtool is free software; you can redistribute it and/or modify 22759# it under the terms of the GNU General Public License as published by 22760# the Free Software Foundation; either version 2 of of the License, or 22761# (at your option) any later version. 22762# 22763# As a special exception to the GNU General Public License, if you 22764# distribute this file as part of a program or library that is built 22765# using GNU Libtool, you may include this file under the same 22766# distribution terms that you use for the rest of that program. 22767# 22768# GNU Libtool is distributed in the hope that it will be useful, but 22769# WITHOUT ANY WARRANTY; without even the implied warranty of 22770# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22771# GNU General Public License for more details. 22772# 22773# You should have received a copy of the GNU General Public License 22774# along with this program. If not, see <http://www.gnu.org/licenses/>. 22775 22776 22777# The names of the tagged configurations supported by this script. 22778available_tags='FC ' 22779 22780# Configured defaults for sys_lib_dlsearch_path munging. 22781: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 22782 22783# ### BEGIN LIBTOOL CONFIG 22784 22785# Which release of libtool.m4 was used? 22786macro_version=$macro_version 22787macro_revision=$macro_revision 22788 22789# Whether or not to build shared libraries. 22790build_libtool_libs=$enable_shared 22791 22792# Whether or not to build static libraries. 22793build_old_libs=$enable_static 22794 22795# What type of objects to build. 22796pic_mode=$pic_mode 22797 22798# Whether or not to optimize for fast installation. 22799fast_install=$enable_fast_install 22800 22801# Shared archive member basename,for filename based shared library versioning on AIX. 22802shared_archive_member_spec=$shared_archive_member_spec 22803 22804# Shell to use when invoking shell scripts. 22805SHELL=$lt_SHELL 22806 22807# An echo program that protects backslashes. 22808ECHO=$lt_ECHO 22809 22810# The PATH separator for the build system. 22811PATH_SEPARATOR=$lt_PATH_SEPARATOR 22812 22813# The host system. 22814host_alias=$host_alias 22815host=$host 22816host_os=$host_os 22817 22818# The build system. 22819build_alias=$build_alias 22820build=$build 22821build_os=$build_os 22822 22823# A sed program that does not truncate output. 22824SED=$lt_SED 22825 22826# Sed that helps us avoid accidentally triggering echo(1) options like -n. 22827Xsed="\$SED -e 1s/^X//" 22828 22829# A grep program that handles long lines. 22830GREP=$lt_GREP 22831 22832# An ERE matcher. 22833EGREP=$lt_EGREP 22834 22835# A literal string matcher. 22836FGREP=$lt_FGREP 22837 22838# A BSD- or MS-compatible name lister. 22839NM=$lt_NM 22840 22841# Whether we need soft or hard links. 22842LN_S=$lt_LN_S 22843 22844# What is the maximum length of a command? 22845max_cmd_len=$max_cmd_len 22846 22847# Object file suffix (normally "o"). 22848objext=$ac_objext 22849 22850# Executable file suffix (normally ""). 22851exeext=$exeext 22852 22853# whether the shell understands "unset". 22854lt_unset=$lt_unset 22855 22856# turn spaces into newlines. 22857SP2NL=$lt_lt_SP2NL 22858 22859# turn newlines into spaces. 22860NL2SP=$lt_lt_NL2SP 22861 22862# convert \$build file names to \$host format. 22863to_host_file_cmd=$lt_cv_to_host_file_cmd 22864 22865# convert \$build files to toolchain format. 22866to_tool_file_cmd=$lt_cv_to_tool_file_cmd 22867 22868# An object symbol dumper. 22869OBJDUMP=$lt_OBJDUMP 22870 22871# Method to check whether dependent libraries are shared objects. 22872deplibs_check_method=$lt_deplibs_check_method 22873 22874# Command to use when deplibs_check_method = "file_magic". 22875file_magic_cmd=$lt_file_magic_cmd 22876 22877# How to find potential files when deplibs_check_method = "file_magic". 22878file_magic_glob=$lt_file_magic_glob 22879 22880# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 22881want_nocaseglob=$lt_want_nocaseglob 22882 22883# DLL creation program. 22884DLLTOOL=$lt_DLLTOOL 22885 22886# Command to associate shared and link libraries. 22887sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 22888 22889# The archiver. 22890AR=$lt_AR 22891 22892# Flags to create an archive. 22893AR_FLAGS=$lt_AR_FLAGS 22894 22895# How to feed a file listing to the archiver. 22896archiver_list_spec=$lt_archiver_list_spec 22897 22898# A symbol stripping program. 22899STRIP=$lt_STRIP 22900 22901# Commands used to install an old-style archive. 22902RANLIB=$lt_RANLIB 22903old_postinstall_cmds=$lt_old_postinstall_cmds 22904old_postuninstall_cmds=$lt_old_postuninstall_cmds 22905 22906# Whether to use a lock for old archive extraction. 22907lock_old_archive_extraction=$lock_old_archive_extraction 22908 22909# A C compiler. 22910LTCC=$lt_CC 22911 22912# LTCC compiler flags. 22913LTCFLAGS=$lt_CFLAGS 22914 22915# Take the output of nm and produce a listing of raw symbols and C names. 22916global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 22917 22918# Transform the output of nm in a proper C declaration. 22919global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 22920 22921# Transform the output of nm into a list of symbols to manually relocate. 22922global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 22923 22924# Transform the output of nm in a C name address pair. 22925global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 22926 22927# Transform the output of nm in a C name address pair when lib prefix is needed. 22928global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 22929 22930# The name lister interface. 22931nm_interface=$lt_lt_cv_nm_interface 22932 22933# Specify filename containing input files for \$NM. 22934nm_file_list_spec=$lt_nm_file_list_spec 22935 22936# The root where to search for dependent libraries,and where our libraries should be installed. 22937lt_sysroot=$lt_sysroot 22938 22939# Command to truncate a binary pipe. 22940lt_truncate_bin=$lt_lt_cv_truncate_bin 22941 22942# The name of the directory that contains temporary libtool files. 22943objdir=$objdir 22944 22945# Used to examine libraries when file_magic_cmd begins with "file". 22946MAGIC_CMD=$MAGIC_CMD 22947 22948# Must we lock files when doing compilation? 22949need_locks=$lt_need_locks 22950 22951# Manifest tool. 22952MANIFEST_TOOL=$lt_MANIFEST_TOOL 22953 22954# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 22955DSYMUTIL=$lt_DSYMUTIL 22956 22957# Tool to change global to local symbols on Mac OS X. 22958NMEDIT=$lt_NMEDIT 22959 22960# Tool to manipulate fat objects and archives on Mac OS X. 22961LIPO=$lt_LIPO 22962 22963# ldd/readelf like tool for Mach-O binaries on Mac OS X. 22964OTOOL=$lt_OTOOL 22965 22966# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 22967OTOOL64=$lt_OTOOL64 22968 22969# Old archive suffix (normally "a"). 22970libext=$libext 22971 22972# Shared library suffix (normally ".so"). 22973shrext_cmds=$lt_shrext_cmds 22974 22975# The commands to extract the exported symbol list from a shared archive. 22976extract_expsyms_cmds=$lt_extract_expsyms_cmds 22977 22978# Variables whose values should be saved in libtool wrapper scripts and 22979# restored at link time. 22980variables_saved_for_relink=$lt_variables_saved_for_relink 22981 22982# Do we need the "lib" prefix for modules? 22983need_lib_prefix=$need_lib_prefix 22984 22985# Do we need a version for libraries? 22986need_version=$need_version 22987 22988# Library versioning type. 22989version_type=$version_type 22990 22991# Shared library runtime path variable. 22992runpath_var=$runpath_var 22993 22994# Shared library path variable. 22995shlibpath_var=$shlibpath_var 22996 22997# Is shlibpath searched before the hard-coded library search path? 22998shlibpath_overrides_runpath=$shlibpath_overrides_runpath 22999 23000# Format of library name prefix. 23001libname_spec=$lt_libname_spec 23002 23003# List of archive names. First name is the real one, the rest are links. 23004# The last name is the one that the linker finds with -lNAME 23005library_names_spec=$lt_library_names_spec 23006 23007# The coded name of the library, if different from the real name. 23008soname_spec=$lt_soname_spec 23009 23010# Permission mode override for installation of shared libraries. 23011install_override_mode=$lt_install_override_mode 23012 23013# Command to use after installation of a shared archive. 23014postinstall_cmds=$lt_postinstall_cmds 23015 23016# Command to use after uninstallation of a shared archive. 23017postuninstall_cmds=$lt_postuninstall_cmds 23018 23019# Commands used to finish a libtool library installation in a directory. 23020finish_cmds=$lt_finish_cmds 23021 23022# As "finish_cmds", except a single script fragment to be evaled but 23023# not shown. 23024finish_eval=$lt_finish_eval 23025 23026# Whether we should hardcode library paths into libraries. 23027hardcode_into_libs=$hardcode_into_libs 23028 23029# Compile-time system search path for libraries. 23030sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 23031 23032# Detected run-time system search path for libraries. 23033sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 23034 23035# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 23036configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 23037 23038# Whether dlopen is supported. 23039dlopen_support=$enable_dlopen 23040 23041# Whether dlopen of programs is supported. 23042dlopen_self=$enable_dlopen_self 23043 23044# Whether dlopen of statically linked programs is supported. 23045dlopen_self_static=$enable_dlopen_self_static 23046 23047# Commands to strip libraries. 23048old_striplib=$lt_old_striplib 23049striplib=$lt_striplib 23050 23051 23052# The linker used to build libraries. 23053LD=$lt_LD 23054 23055# How to create reloadable object files. 23056reload_flag=$lt_reload_flag 23057reload_cmds=$lt_reload_cmds 23058 23059# Commands used to build an old-style archive. 23060old_archive_cmds=$lt_old_archive_cmds 23061 23062# A language specific compiler. 23063CC=$lt_compiler 23064 23065# Is the compiler the GNU compiler? 23066with_gcc=$GCC 23067 23068# Compiler flag to turn off builtin functions. 23069no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 23070 23071# Additional compiler flags for building library objects. 23072pic_flag=$lt_lt_prog_compiler_pic 23073 23074# How to pass a linker flag through the compiler. 23075wl=$lt_lt_prog_compiler_wl 23076 23077# Compiler flag to prevent dynamic linking. 23078link_static_flag=$lt_lt_prog_compiler_static 23079 23080# Does compiler simultaneously support -c and -o options? 23081compiler_c_o=$lt_lt_cv_prog_compiler_c_o 23082 23083# Whether or not to add -lc for building shared libraries. 23084build_libtool_need_lc=$archive_cmds_need_lc 23085 23086# Whether or not to disallow shared libs when runtime libs are static. 23087allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 23088 23089# Compiler flag to allow reflexive dlopens. 23090export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 23091 23092# Compiler flag to generate shared objects directly from archives. 23093whole_archive_flag_spec=$lt_whole_archive_flag_spec 23094 23095# Whether the compiler copes with passing no objects directly. 23096compiler_needs_object=$lt_compiler_needs_object 23097 23098# Create an old-style archive from a shared archive. 23099old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 23100 23101# Create a temporary old-style archive to link instead of a shared archive. 23102old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 23103 23104# Commands used to build a shared archive. 23105archive_cmds=$lt_archive_cmds 23106archive_expsym_cmds=$lt_archive_expsym_cmds 23107 23108# Commands used to build a loadable module if different from building 23109# a shared archive. 23110module_cmds=$lt_module_cmds 23111module_expsym_cmds=$lt_module_expsym_cmds 23112 23113# Whether we are building with GNU ld or not. 23114with_gnu_ld=$lt_with_gnu_ld 23115 23116# Flag that allows shared libraries with undefined symbols to be built. 23117allow_undefined_flag=$lt_allow_undefined_flag 23118 23119# Flag that enforces no undefined symbols. 23120no_undefined_flag=$lt_no_undefined_flag 23121 23122# Flag to hardcode \$libdir into a binary during linking. 23123# This must work even if \$libdir does not exist 23124hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 23125 23126# Whether we need a single "-rpath" flag with a separated argument. 23127hardcode_libdir_separator=$lt_hardcode_libdir_separator 23128 23129# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23130# DIR into the resulting binary. 23131hardcode_direct=$hardcode_direct 23132 23133# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23134# DIR into the resulting binary and the resulting library dependency is 23135# "absolute",i.e impossible to change by setting \$shlibpath_var if the 23136# library is relocated. 23137hardcode_direct_absolute=$hardcode_direct_absolute 23138 23139# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 23140# into the resulting binary. 23141hardcode_minus_L=$hardcode_minus_L 23142 23143# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 23144# into the resulting binary. 23145hardcode_shlibpath_var=$hardcode_shlibpath_var 23146 23147# Set to "yes" if building a shared library automatically hardcodes DIR 23148# into the library and all subsequent libraries and executables linked 23149# against it. 23150hardcode_automatic=$hardcode_automatic 23151 23152# Set to yes if linker adds runtime paths of dependent libraries 23153# to runtime path list. 23154inherit_rpath=$inherit_rpath 23155 23156# Whether libtool must link a program against all its dependency libraries. 23157link_all_deplibs=$link_all_deplibs 23158 23159# Set to "yes" if exported symbols are required. 23160always_export_symbols=$always_export_symbols 23161 23162# The commands to list exported symbols. 23163export_symbols_cmds=$lt_export_symbols_cmds 23164 23165# Symbols that should not be listed in the preloaded symbols. 23166exclude_expsyms=$lt_exclude_expsyms 23167 23168# Symbols that must always be exported. 23169include_expsyms=$lt_include_expsyms 23170 23171# Commands necessary for linking programs (against libraries) with templates. 23172prelink_cmds=$lt_prelink_cmds 23173 23174# Commands necessary for finishing linking programs. 23175postlink_cmds=$lt_postlink_cmds 23176 23177# Specify filename containing input files. 23178file_list_spec=$lt_file_list_spec 23179 23180# How to hardcode a shared library path into an executable. 23181hardcode_action=$hardcode_action 23182 23183# The directories searched by this compiler when creating a shared library. 23184compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 23185 23186# Dependencies to place before and after the objects being linked to 23187# create a shared library. 23188predep_objects=$lt_predep_objects 23189postdep_objects=$lt_postdep_objects 23190predeps=$lt_predeps 23191postdeps=$lt_postdeps 23192 23193# The library search path used internally by the compiler when linking 23194# a shared library. 23195compiler_lib_search_path=$lt_compiler_lib_search_path 23196 23197# ### END LIBTOOL CONFIG 23198 23199_LT_EOF 23200 23201 cat <<'_LT_EOF' >> "$cfgfile" 23202 23203# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 23204 23205# func_munge_path_list VARIABLE PATH 23206# ----------------------------------- 23207# VARIABLE is name of variable containing _space_ separated list of 23208# directories to be munged by the contents of PATH, which is string 23209# having a format: 23210# "DIR[:DIR]:" 23211# string "DIR[ DIR]" will be prepended to VARIABLE 23212# ":DIR[:DIR]" 23213# string "DIR[ DIR]" will be appended to VARIABLE 23214# "DIRP[:DIRP]::[DIRA:]DIRA" 23215# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 23216# "DIRA[ DIRA]" will be appended to VARIABLE 23217# "DIR[:DIR]" 23218# VARIABLE will be replaced by "DIR[ DIR]" 23219func_munge_path_list () 23220{ 23221 case x$2 in 23222 x) 23223 ;; 23224 *:) 23225 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 23226 ;; 23227 x:*) 23228 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 23229 ;; 23230 *::*) 23231 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 23232 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 23233 ;; 23234 *) 23235 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 23236 ;; 23237 esac 23238} 23239 23240 23241# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 23242func_cc_basename () 23243{ 23244 for cc_temp in $*""; do 23245 case $cc_temp in 23246 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 23247 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 23248 \-*) ;; 23249 *) break;; 23250 esac 23251 done 23252 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 23253} 23254 23255 23256# ### END FUNCTIONS SHARED WITH CONFIGURE 23257 23258_LT_EOF 23259 23260 case $host_os in 23261 aix3*) 23262 cat <<\_LT_EOF >> "$cfgfile" 23263# AIX sometimes has problems with the GCC collect2 program. For some 23264# reason, if we set the COLLECT_NAMES environment variable, the problems 23265# vanish in a puff of smoke. 23266if test set != "${COLLECT_NAMES+set}"; then 23267 COLLECT_NAMES= 23268 export COLLECT_NAMES 23269fi 23270_LT_EOF 23271 ;; 23272 esac 23273 23274 23275 23276ltmain=$ac_aux_dir/ltmain.sh 23277 23278 23279 # We use sed instead of cat because bash on DJGPP gets confused if 23280 # if finds mixed CR/LF and LF-only lines. Since sed operates in 23281 # text mode, it properly converts lines to CR/LF. This bash problem 23282 # is reportedly fixed, but why not run on old versions too? 23283 sed '$q' "$ltmain" >> "$cfgfile" \ 23284 || (rm -f "$cfgfile"; exit 1) 23285 23286 mv -f "$cfgfile" "$ofile" || 23287 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 23288 chmod +x "$ofile" 23289 23290 23291 cat <<_LT_EOF >> "$ofile" 23292 23293# ### BEGIN LIBTOOL TAG CONFIG: FC 23294 23295# The linker used to build libraries. 23296LD=$lt_LD_FC 23297 23298# How to create reloadable object files. 23299reload_flag=$lt_reload_flag_FC 23300reload_cmds=$lt_reload_cmds_FC 23301 23302# Commands used to build an old-style archive. 23303old_archive_cmds=$lt_old_archive_cmds_FC 23304 23305# A language specific compiler. 23306CC=$lt_compiler_FC 23307 23308# Is the compiler the GNU compiler? 23309with_gcc=$GCC_FC 23310 23311# Compiler flag to turn off builtin functions. 23312no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC 23313 23314# Additional compiler flags for building library objects. 23315pic_flag=$lt_lt_prog_compiler_pic_FC 23316 23317# How to pass a linker flag through the compiler. 23318wl=$lt_lt_prog_compiler_wl_FC 23319 23320# Compiler flag to prevent dynamic linking. 23321link_static_flag=$lt_lt_prog_compiler_static_FC 23322 23323# Does compiler simultaneously support -c and -o options? 23324compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC 23325 23326# Whether or not to add -lc for building shared libraries. 23327build_libtool_need_lc=$archive_cmds_need_lc_FC 23328 23329# Whether or not to disallow shared libs when runtime libs are static. 23330allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC 23331 23332# Compiler flag to allow reflexive dlopens. 23333export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC 23334 23335# Compiler flag to generate shared objects directly from archives. 23336whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC 23337 23338# Whether the compiler copes with passing no objects directly. 23339compiler_needs_object=$lt_compiler_needs_object_FC 23340 23341# Create an old-style archive from a shared archive. 23342old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC 23343 23344# Create a temporary old-style archive to link instead of a shared archive. 23345old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC 23346 23347# Commands used to build a shared archive. 23348archive_cmds=$lt_archive_cmds_FC 23349archive_expsym_cmds=$lt_archive_expsym_cmds_FC 23350 23351# Commands used to build a loadable module if different from building 23352# a shared archive. 23353module_cmds=$lt_module_cmds_FC 23354module_expsym_cmds=$lt_module_expsym_cmds_FC 23355 23356# Whether we are building with GNU ld or not. 23357with_gnu_ld=$lt_with_gnu_ld_FC 23358 23359# Flag that allows shared libraries with undefined symbols to be built. 23360allow_undefined_flag=$lt_allow_undefined_flag_FC 23361 23362# Flag that enforces no undefined symbols. 23363no_undefined_flag=$lt_no_undefined_flag_FC 23364 23365# Flag to hardcode \$libdir into a binary during linking. 23366# This must work even if \$libdir does not exist 23367hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC 23368 23369# Whether we need a single "-rpath" flag with a separated argument. 23370hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC 23371 23372# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23373# DIR into the resulting binary. 23374hardcode_direct=$hardcode_direct_FC 23375 23376# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23377# DIR into the resulting binary and the resulting library dependency is 23378# "absolute",i.e impossible to change by setting \$shlibpath_var if the 23379# library is relocated. 23380hardcode_direct_absolute=$hardcode_direct_absolute_FC 23381 23382# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 23383# into the resulting binary. 23384hardcode_minus_L=$hardcode_minus_L_FC 23385 23386# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 23387# into the resulting binary. 23388hardcode_shlibpath_var=$hardcode_shlibpath_var_FC 23389 23390# Set to "yes" if building a shared library automatically hardcodes DIR 23391# into the library and all subsequent libraries and executables linked 23392# against it. 23393hardcode_automatic=$hardcode_automatic_FC 23394 23395# Set to yes if linker adds runtime paths of dependent libraries 23396# to runtime path list. 23397inherit_rpath=$inherit_rpath_FC 23398 23399# Whether libtool must link a program against all its dependency libraries. 23400link_all_deplibs=$link_all_deplibs_FC 23401 23402# Set to "yes" if exported symbols are required. 23403always_export_symbols=$always_export_symbols_FC 23404 23405# The commands to list exported symbols. 23406export_symbols_cmds=$lt_export_symbols_cmds_FC 23407 23408# Symbols that should not be listed in the preloaded symbols. 23409exclude_expsyms=$lt_exclude_expsyms_FC 23410 23411# Symbols that must always be exported. 23412include_expsyms=$lt_include_expsyms_FC 23413 23414# Commands necessary for linking programs (against libraries) with templates. 23415prelink_cmds=$lt_prelink_cmds_FC 23416 23417# Commands necessary for finishing linking programs. 23418postlink_cmds=$lt_postlink_cmds_FC 23419 23420# Specify filename containing input files. 23421file_list_spec=$lt_file_list_spec_FC 23422 23423# How to hardcode a shared library path into an executable. 23424hardcode_action=$hardcode_action_FC 23425 23426# The directories searched by this compiler when creating a shared library. 23427compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC 23428 23429# Dependencies to place before and after the objects being linked to 23430# create a shared library. 23431predep_objects=$lt_predep_objects_FC 23432postdep_objects=$lt_postdep_objects_FC 23433predeps=$lt_predeps_FC 23434postdeps=$lt_postdeps_FC 23435 23436# The library search path used internally by the compiler when linking 23437# a shared library. 23438compiler_lib_search_path=$lt_compiler_lib_search_path_FC 23439 23440# ### END LIBTOOL TAG CONFIG: FC 23441_LT_EOF 23442 23443 ;; 23444 "rsb-config.h":H) sed 's/^#define /#define RSB_/g;s/ RSB_RSB_/ RSB_/g' rsb-config.h > rsb-config.h.tmp ; echo '#endif /* RSB_CONFIG_H_INCLUDED */' >> rsb-config.h.tmp ; cat $srcdir/rsb_license_header.inc $srcdir/rsb-config.h.hin rsb-config.h.tmp > rsb-config.h ; rm rsb-config.h.tmp ;; 23445 "librsb-config":F) chmod +x librsb-config ;; 23446 "examples/make.sh":F) chmod +x examples/make.sh ;; 23447 23448 esac 23449done # for ac_tag 23450 23451 23452as_fn_exit 0 23453_ACEOF 23454ac_clean_files=$ac_clean_files_save 23455 23456test $ac_write_fail = 0 || 23457 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 23458 23459 23460# configure is writing to config.log, and then calls config.status. 23461# config.status does its own redirection, appending to config.log. 23462# Unfortunately, on DOS this fails, as config.log is still kept open 23463# by configure, so config.status won't be able to write to it; its 23464# output is simply discarded. So we exec the FD to /dev/null, 23465# effectively closing config.log, so it can be properly (re)opened and 23466# appended to by config.status. When coming back to configure, we 23467# need to make the FD available again. 23468if test "$no_create" != yes; then 23469 ac_cs_success=: 23470 ac_config_status_args= 23471 test "$silent" = yes && 23472 ac_config_status_args="$ac_config_status_args --quiet" 23473 exec 5>/dev/null 23474 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 23475 exec 5>>config.log 23476 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 23477 # would make configure fail if this is the last instruction. 23478 $ac_cs_success || as_fn_exit 1 23479fi 23480if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 23481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 23482printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 23483fi 23484 23485#dnl *********************************************************************** 23486{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: =============== Build Programs and Flags =============================== 23487(you can override these at build time; e.g.: 'make CC=cc') 23488 CC : ${CC} 23489 CFLAGS : ${CFLAGS} 23490 NOUNROLLCFLAGS : ${NOUNROLLCFLAGS} 23491 FC (to disable, FC='') : ${FC} 23492 FCFLAGS : ${FCFLAGS} 23493 LD : ${LD} 23494 LDFLAGS : ${LDFLAGS} 23495 LIBS : ${LIBS} 23496 AR : ${AR} 23497 ARFLAGS : ${ARFLAGS} 23498 M4 : ${M4} 23499 OCTAVE : ${OCTAVE} 23500 DOXYGEN : ${DOXYGEN} 23501 HELP2MAN : ${HELP2MAN} 23502=== Additional flags affecting only the benchmark program (rsbench): === 23503 RSB_RSBENCH_LIBS : ${RSB_RSBENCH_LIBS} 23504 RSB_RSBENCH_CFLAGS : ${RSB_RSBENCH_CFLAGS} 23505========= Main code generator values, this build vs defaults =========== 23506(if these differ from the defaults, you need to have M4 and run 'make cleanall' and 'make') 23507 All Numerical types : \"${all_matrix_types}\" 23508 Numerical types : \"${want_matrix_types}\" vs \"${default_types}\" 23509 Build Sparse BLAS Interface : \"${sparse_blas_interface}\" vs \"${sparse_blas_interface_default}\" 23510 Util. Kernels Unroll : \"${util_unrolls}\" vs \"${default_util_unrolls}\" 23511 Triangular solve zero check : \"${want_spsm_diagonal_check}\" vs \"${want_spsm_diagonal_check_default}\" 23512============== Build Configuration, this build vs defaults ============= 23513(if you reconfigure and change these, you need to run 'make clean' and 'make') 23514 Supported I/O functionality level : \"${want_io_level}\" vs \"${default_want_io_level}\" 23515 Interface Error Verbosity : \"${want_ext_verrbosity}\" vs \"${default_want_ext_verrbosity}\" 23516 Internals Error Verbosity : \"${want_int_verrbosity}\" vs \"${default_want_int_verrbosity}\" 23517 Memory hierarchy info, detected : \"${RSB_DETECTED_MEM_HIERARCHY_INFO}\" 23518 Memory hierarchy info, selected : \"${RSB_USER_SET_MEM_HIERARCHY_INFO}\" 23519 Maximum of Supported threads : \"${RSB_CONST_MAX_SUPPORTED_THREADS}\" 23520 Build Fortran examples : \"$enable_fortran_examples\" 23521 Build C examples : \"$enable_c_examples\" 23522 Install Sparse BLAS Fortran modules : \"$want_blas_sparse_mod_install\" 23523 Install pkg-config \"librsb.pc\" file : \"$want_install_pkg_config\" 23524 Build Octave generated tester : \"$want_octave_testing\" 23525 Build Octave generated tester (int) : \"$want_octave_testing_and_int\" 23526 Build HTML and man documentation : \"$want_build_doc\" 23527 gzipped matrices support via zlib : \"${want_zlib_support}\" 23528 gather elapsed time in librsb : \"${enable_librsb_stats}\" 23529" >&5 23530printf "%s\n" "$as_me: =============== Build Programs and Flags =============================== 23531(you can override these at build time; e.g.: 'make CC=cc') 23532 CC : ${CC} 23533 CFLAGS : ${CFLAGS} 23534 NOUNROLLCFLAGS : ${NOUNROLLCFLAGS} 23535 FC (to disable, FC='') : ${FC} 23536 FCFLAGS : ${FCFLAGS} 23537 LD : ${LD} 23538 LDFLAGS : ${LDFLAGS} 23539 LIBS : ${LIBS} 23540 AR : ${AR} 23541 ARFLAGS : ${ARFLAGS} 23542 M4 : ${M4} 23543 OCTAVE : ${OCTAVE} 23544 DOXYGEN : ${DOXYGEN} 23545 HELP2MAN : ${HELP2MAN} 23546=== Additional flags affecting only the benchmark program (rsbench): === 23547 RSB_RSBENCH_LIBS : ${RSB_RSBENCH_LIBS} 23548 RSB_RSBENCH_CFLAGS : ${RSB_RSBENCH_CFLAGS} 23549========= Main code generator values, this build vs defaults =========== 23550(if these differ from the defaults, you need to have M4 and run 'make cleanall' and 'make') 23551 All Numerical types : \"${all_matrix_types}\" 23552 Numerical types : \"${want_matrix_types}\" vs \"${default_types}\" 23553 Build Sparse BLAS Interface : \"${sparse_blas_interface}\" vs \"${sparse_blas_interface_default}\" 23554 Util. Kernels Unroll : \"${util_unrolls}\" vs \"${default_util_unrolls}\" 23555 Triangular solve zero check : \"${want_spsm_diagonal_check}\" vs \"${want_spsm_diagonal_check_default}\" 23556============== Build Configuration, this build vs defaults ============= 23557(if you reconfigure and change these, you need to run 'make clean' and 'make') 23558 Supported I/O functionality level : \"${want_io_level}\" vs \"${default_want_io_level}\" 23559 Interface Error Verbosity : \"${want_ext_verrbosity}\" vs \"${default_want_ext_verrbosity}\" 23560 Internals Error Verbosity : \"${want_int_verrbosity}\" vs \"${default_want_int_verrbosity}\" 23561 Memory hierarchy info, detected : \"${RSB_DETECTED_MEM_HIERARCHY_INFO}\" 23562 Memory hierarchy info, selected : \"${RSB_USER_SET_MEM_HIERARCHY_INFO}\" 23563 Maximum of Supported threads : \"${RSB_CONST_MAX_SUPPORTED_THREADS}\" 23564 Build Fortran examples : \"$enable_fortran_examples\" 23565 Build C examples : \"$enable_c_examples\" 23566 Install Sparse BLAS Fortran modules : \"$want_blas_sparse_mod_install\" 23567 Install pkg-config \"librsb.pc\" file : \"$want_install_pkg_config\" 23568 Build Octave generated tester : \"$want_octave_testing\" 23569 Build Octave generated tester (int) : \"$want_octave_testing_and_int\" 23570 Build HTML and man documentation : \"$want_build_doc\" 23571 gzipped matrices support via zlib : \"${want_zlib_support}\" 23572 gather elapsed time in librsb : \"${enable_librsb_stats}\" 23573" >&6;} 23574 23575if test x"$OCTAVE" != xfalse && test x"$want_int" != x ; then 23576{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: You seem to have GNU Octave and enabled 'int' type. This will allow an additional part of the test suite to be generated." >&5 23577printf "%s\n" "$as_me: You seem to have GNU Octave and enabled 'int' type. This will allow an additional part of the test suite to be generated." >&6;} 23578else 23579{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: You seem to not have GNU Octave or have disabled 'int' type. Part of the test suite will not be generated. If you want more testing capabilities, you should enable the 'int' type as well." >&5 23580printf "%s\n" "$as_me: You seem to not have GNU Octave or have disabled 'int' type. Part of the test suite will not be generated. If you want more testing capabilities, you should enable the 'int' type as well." >&6;} 23581fi 23582if test x"$M4" = x ; then 23583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No m4 implementation detected. You will not be able to generate code." >&5 23584printf "%s\n" "$as_me: WARNING: No m4 implementation detected. You will not be able to generate code." >&2;} 23585else 23586 true 23587fi 23588# FIXME : should warn the user in the case of opting out the 'int' type, as in this case there would be no GNU/octave based testing. 23589 23590if test x"$default_types" != x"$want_matrix_types" ; then 23591{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You chose a custom matrix types selection. If you just unpacked from archive, you should issue \"make cleanall\" to delete the shipped code and then \"make\" will regenerate it by using m4." >&5 23592printf "%s\n" "$as_me: WARNING: You chose a custom matrix types selection. If you just unpacked from archive, you should issue \"make cleanall\" to delete the shipped code and then \"make\" will regenerate it by using m4." >&2;} 23593fi 23594if test x"$want_rsb_dl" = x"yes" ; then 23595{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You chose an obsolete switch (--enable-shlib-linked-examples), which now on is disabled." >&5 23596printf "%s\n" "$as_me: WARNING: You chose an obsolete switch (--enable-shlib-linked-examples), which now on is disabled." >&2;} 23597fi 23598{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Successfully configured librsb version \"$LIBRSB_VERSION\"." >&5 23599printf "%s\n" "$as_me: Successfully configured librsb version \"$LIBRSB_VERSION\"." >&6;} 23600 23601