1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 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 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1 200 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 PATH=/empty FPATH=/empty; export PATH FPATH 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='GNU Fortran Runtime Library' 589PACKAGE_TARNAME='libgfortran' 590PACKAGE_VERSION='0.3' 591PACKAGE_STRING='GNU Fortran Runtime Library 0.3' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='http://www.gnu.org/software/libgfortran/' 594 595# Factoring default headers for most tests. 596ac_includes_default="\ 597#include <stdio.h> 598#ifdef HAVE_SYS_TYPES_H 599# include <sys/types.h> 600#endif 601#ifdef HAVE_SYS_STAT_H 602# include <sys/stat.h> 603#endif 604#ifdef STDC_HEADERS 605# include <stdlib.h> 606# include <stddef.h> 607#else 608# ifdef HAVE_STDLIB_H 609# include <stdlib.h> 610# endif 611#endif 612#ifdef HAVE_STRING_H 613# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 614# include <memory.h> 615# endif 616# include <string.h> 617#endif 618#ifdef HAVE_STRINGS_H 619# include <strings.h> 620#endif 621#ifdef HAVE_INTTYPES_H 622# include <inttypes.h> 623#endif 624#ifdef HAVE_STDINT_H 625# include <stdint.h> 626#endif 627#ifdef HAVE_UNISTD_H 628# include <unistd.h> 629#endif" 630 631ac_header_list= 632ac_func_list= 633ac_c_werror_flag= 634ac_c_werror_flag= 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639get_gcc_base_ver 640HAVE_AVX128_FALSE 641HAVE_AVX128_TRUE 642tmake_file 643IEEE_FLAGS 644IEEE_SUPPORT 645IEEE_SUPPORT_FALSE 646IEEE_SUPPORT_TRUE 647FPU_HOST_HEADER 648LIBGFOR_BUILD_QUAD_FALSE 649LIBGFOR_BUILD_QUAD_TRUE 650LIBQUADINCLUDE 651LIBQUADLIB_DEP 652LIBQUADLIB 653LIBQUADSPEC 654extra_ldflags_libgfortran 655ac_ct_FC 656FCFLAGS 657FC 658enable_static 659enable_shared 660lt_host_flags 661LIBM 662OTOOL64 663OTOOL 664LIPO 665NMEDIT 666DSYMUTIL 667OBJDUMP 668LN_S 669NM 670ac_ct_DUMPBIN 671DUMPBIN 672LIBTOOL 673RANLIB 674AR 675AS 676HAVE_HWCAP_FALSE 677HAVE_HWCAP_TRUE 678HWCAP_LDFLAGS 679LD 680FGREP 681SED 682SECTION_FLAGS 683LIBGOMP_CHECKED_REAL_KINDS 684LIBGOMP_CHECKED_INT_KINDS 685LIBGFOR_MINIMAL_FALSE 686LIBGFOR_MINIMAL_TRUE 687LIBGFOR_USE_SYMVER_SUN_FALSE 688LIBGFOR_USE_SYMVER_SUN_TRUE 689LIBGFOR_USE_SYMVER_GNU_FALSE 690LIBGFOR_USE_SYMVER_GNU_TRUE 691LIBGFOR_USE_SYMVER_FALSE 692LIBGFOR_USE_SYMVER_TRUE 693AM_CFLAGS 694AM_FCFLAGS 695HAVE_REAL_17_FALSE 696HAVE_REAL_17_TRUE 697toolexeclibdir 698toolexecdir 699EGREP 700GREP 701CPP 702am__fastdepCC_FALSE 703am__fastdepCC_TRUE 704CCDEPMODE 705am__nodep 706AMDEPBACKSLASH 707AMDEP_FALSE 708AMDEP_TRUE 709am__quote 710am__include 711DEPDIR 712OBJEXT 713EXEEXT 714ac_ct_CC 715CPPFLAGS 716LDFLAGS 717CFLAGS 718CC 719multi_basedir 720MAINT 721MAINTAINER_MODE_FALSE 722MAINTAINER_MODE_TRUE 723AM_BACKSLASH 724AM_DEFAULT_VERBOSITY 725AM_DEFAULT_V 726AM_V 727am__untar 728am__tar 729AMTAR 730am__leading_dot 731SET_MAKE 732AWK 733mkdir_p 734MKDIR_P 735INSTALL_STRIP_PROGRAM 736STRIP 737install_sh 738MAKEINFO 739AUTOHEADER 740AUTOMAKE 741AUTOCONF 742ACLOCAL 743VERSION 744PACKAGE 745CYGPATH_W 746am__isrc 747INSTALL_DATA 748INSTALL_SCRIPT 749INSTALL_PROGRAM 750target_noncanonical 751target_os 752target_vendor 753target_cpu 754target 755host_os 756host_vendor 757host_cpu 758host 759onestep 760onestep_FALSE 761onestep_TRUE 762target_subdir 763host_subdir 764build_subdir 765build_libsubdir 766build_os 767build_vendor 768build_cpu 769build 770target_alias 771host_alias 772build_alias 773LIBS 774ECHO_T 775ECHO_N 776ECHO_C 777DEFS 778mandir 779localedir 780libdir 781psdir 782pdfdir 783dvidir 784htmldir 785infodir 786docdir 787oldincludedir 788includedir 789localstatedir 790sharedstatedir 791sysconfdir 792datadir 793datarootdir 794libexecdir 795sbindir 796bindir 797program_transform_name 798prefix 799exec_prefix 800PACKAGE_URL 801PACKAGE_BUGREPORT 802PACKAGE_STRING 803PACKAGE_VERSION 804PACKAGE_TARNAME 805PACKAGE_NAME 806PATH_SEPARATOR 807SHELL' 808ac_subst_files='' 809ac_user_opts=' 810enable_option_checking 811with_build_libsubdir 812enable_version_specific_runtime_libs 813enable_intermodule 814enable_silent_rules 815enable_maintainer_mode 816enable_multilib 817enable_dependency_tracking 818with_toolexeclibdir 819enable_cet 820enable_symvers 821with_gnu_ld 822enable_shared 823enable_static 824with_pic 825enable_fast_install 826enable_libtool_lock 827enable_largefile 828enable_libquadmath_support 829with_gcc_major_version_only 830' 831 ac_precious_vars='build_alias 832host_alias 833target_alias 834CC 835CFLAGS 836LDFLAGS 837LIBS 838CPPFLAGS 839CPP 840FC 841FCFLAGS' 842 843 844# Initialize some variables set by options. 845ac_init_help= 846ac_init_version=false 847ac_unrecognized_opts= 848ac_unrecognized_sep= 849# The variables have the same names as the options, with 850# dashes changed to underlines. 851cache_file=/dev/null 852exec_prefix=NONE 853no_create= 854no_recursion= 855prefix=NONE 856program_prefix=NONE 857program_suffix=NONE 858program_transform_name=s,x,x, 859silent= 860site= 861srcdir= 862verbose= 863x_includes=NONE 864x_libraries=NONE 865 866# Installation directory options. 867# These are left unexpanded so users can "make install exec_prefix=/foo" 868# and all the variables that are supposed to be based on exec_prefix 869# by default will actually change. 870# Use braces instead of parens because sh, perl, etc. also accept them. 871# (The list follows the same order as the GNU Coding Standards.) 872bindir='${exec_prefix}/bin' 873sbindir='${exec_prefix}/sbin' 874libexecdir='${exec_prefix}/libexec' 875datarootdir='${prefix}/share' 876datadir='${datarootdir}' 877sysconfdir='${prefix}/etc' 878sharedstatedir='${prefix}/com' 879localstatedir='${prefix}/var' 880includedir='${prefix}/include' 881oldincludedir='/usr/include' 882docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 883infodir='${datarootdir}/info' 884htmldir='${docdir}' 885dvidir='${docdir}' 886pdfdir='${docdir}' 887psdir='${docdir}' 888libdir='${exec_prefix}/lib' 889localedir='${datarootdir}/locale' 890mandir='${datarootdir}/man' 891 892ac_prev= 893ac_dashdash= 894for ac_option 895do 896 # If the previous option needs an argument, assign it. 897 if test -n "$ac_prev"; then 898 eval $ac_prev=\$ac_option 899 ac_prev= 900 continue 901 fi 902 903 case $ac_option in 904 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 905 *=) ac_optarg= ;; 906 *) ac_optarg=yes ;; 907 esac 908 909 # Accept the important Cygnus configure options, so we can diagnose typos. 910 911 case $ac_dashdash$ac_option in 912 --) 913 ac_dashdash=yes ;; 914 915 -bindir | --bindir | --bindi | --bind | --bin | --bi) 916 ac_prev=bindir ;; 917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 918 bindir=$ac_optarg ;; 919 920 -build | --build | --buil | --bui | --bu) 921 ac_prev=build_alias ;; 922 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 923 build_alias=$ac_optarg ;; 924 925 -cache-file | --cache-file | --cache-fil | --cache-fi \ 926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 927 ac_prev=cache_file ;; 928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 930 cache_file=$ac_optarg ;; 931 932 --config-cache | -C) 933 cache_file=config.cache ;; 934 935 -datadir | --datadir | --datadi | --datad) 936 ac_prev=datadir ;; 937 -datadir=* | --datadir=* | --datadi=* | --datad=*) 938 datadir=$ac_optarg ;; 939 940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 941 | --dataroo | --dataro | --datar) 942 ac_prev=datarootdir ;; 943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 945 datarootdir=$ac_optarg ;; 946 947 -disable-* | --disable-*) 948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 949 # Reject names that are not valid shell variable names. 950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 951 as_fn_error $? "invalid feature name: $ac_useropt" 952 ac_useropt_orig=$ac_useropt 953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 954 case $ac_user_opts in 955 *" 956"enable_$ac_useropt" 957"*) ;; 958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 959 ac_unrecognized_sep=', ';; 960 esac 961 eval enable_$ac_useropt=no ;; 962 963 -docdir | --docdir | --docdi | --doc | --do) 964 ac_prev=docdir ;; 965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 966 docdir=$ac_optarg ;; 967 968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 969 ac_prev=dvidir ;; 970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 971 dvidir=$ac_optarg ;; 972 973 -enable-* | --enable-*) 974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 975 # Reject names that are not valid shell variable names. 976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 977 as_fn_error $? "invalid feature name: $ac_useropt" 978 ac_useropt_orig=$ac_useropt 979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 980 case $ac_user_opts in 981 *" 982"enable_$ac_useropt" 983"*) ;; 984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 985 ac_unrecognized_sep=', ';; 986 esac 987 eval enable_$ac_useropt=\$ac_optarg ;; 988 989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 991 | --exec | --exe | --ex) 992 ac_prev=exec_prefix ;; 993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 995 | --exec=* | --exe=* | --ex=*) 996 exec_prefix=$ac_optarg ;; 997 998 -gas | --gas | --ga | --g) 999 # Obsolete; use --with-gas. 1000 with_gas=yes ;; 1001 1002 -help | --help | --hel | --he | -h) 1003 ac_init_help=long ;; 1004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1005 ac_init_help=recursive ;; 1006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1007 ac_init_help=short ;; 1008 1009 -host | --host | --hos | --ho) 1010 ac_prev=host_alias ;; 1011 -host=* | --host=* | --hos=* | --ho=*) 1012 host_alias=$ac_optarg ;; 1013 1014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1015 ac_prev=htmldir ;; 1016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1017 | --ht=*) 1018 htmldir=$ac_optarg ;; 1019 1020 -includedir | --includedir | --includedi | --included | --include \ 1021 | --includ | --inclu | --incl | --inc) 1022 ac_prev=includedir ;; 1023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1024 | --includ=* | --inclu=* | --incl=* | --inc=*) 1025 includedir=$ac_optarg ;; 1026 1027 -infodir | --infodir | --infodi | --infod | --info | --inf) 1028 ac_prev=infodir ;; 1029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1030 infodir=$ac_optarg ;; 1031 1032 -libdir | --libdir | --libdi | --libd) 1033 ac_prev=libdir ;; 1034 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1035 libdir=$ac_optarg ;; 1036 1037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1038 | --libexe | --libex | --libe) 1039 ac_prev=libexecdir ;; 1040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1041 | --libexe=* | --libex=* | --libe=*) 1042 libexecdir=$ac_optarg ;; 1043 1044 -localedir | --localedir | --localedi | --localed | --locale) 1045 ac_prev=localedir ;; 1046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1047 localedir=$ac_optarg ;; 1048 1049 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1050 | --localstate | --localstat | --localsta | --localst | --locals) 1051 ac_prev=localstatedir ;; 1052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1054 localstatedir=$ac_optarg ;; 1055 1056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1057 ac_prev=mandir ;; 1058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1059 mandir=$ac_optarg ;; 1060 1061 -nfp | --nfp | --nf) 1062 # Obsolete; use --without-fp. 1063 with_fp=no ;; 1064 1065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1066 | --no-cr | --no-c | -n) 1067 no_create=yes ;; 1068 1069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1071 no_recursion=yes ;; 1072 1073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1075 | --oldin | --oldi | --old | --ol | --o) 1076 ac_prev=oldincludedir ;; 1077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1080 oldincludedir=$ac_optarg ;; 1081 1082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1083 ac_prev=prefix ;; 1084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1085 prefix=$ac_optarg ;; 1086 1087 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1088 | --program-pre | --program-pr | --program-p) 1089 ac_prev=program_prefix ;; 1090 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1092 program_prefix=$ac_optarg ;; 1093 1094 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1095 | --program-suf | --program-su | --program-s) 1096 ac_prev=program_suffix ;; 1097 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1099 program_suffix=$ac_optarg ;; 1100 1101 -program-transform-name | --program-transform-name \ 1102 | --program-transform-nam | --program-transform-na \ 1103 | --program-transform-n | --program-transform- \ 1104 | --program-transform | --program-transfor \ 1105 | --program-transfo | --program-transf \ 1106 | --program-trans | --program-tran \ 1107 | --progr-tra | --program-tr | --program-t) 1108 ac_prev=program_transform_name ;; 1109 -program-transform-name=* | --program-transform-name=* \ 1110 | --program-transform-nam=* | --program-transform-na=* \ 1111 | --program-transform-n=* | --program-transform-=* \ 1112 | --program-transform=* | --program-transfor=* \ 1113 | --program-transfo=* | --program-transf=* \ 1114 | --program-trans=* | --program-tran=* \ 1115 | --progr-tra=* | --program-tr=* | --program-t=*) 1116 program_transform_name=$ac_optarg ;; 1117 1118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1119 ac_prev=pdfdir ;; 1120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1121 pdfdir=$ac_optarg ;; 1122 1123 -psdir | --psdir | --psdi | --psd | --ps) 1124 ac_prev=psdir ;; 1125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1126 psdir=$ac_optarg ;; 1127 1128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1129 | -silent | --silent | --silen | --sile | --sil) 1130 silent=yes ;; 1131 1132 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1133 ac_prev=sbindir ;; 1134 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1135 | --sbi=* | --sb=*) 1136 sbindir=$ac_optarg ;; 1137 1138 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1139 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1140 | --sharedst | --shareds | --shared | --share | --shar \ 1141 | --sha | --sh) 1142 ac_prev=sharedstatedir ;; 1143 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1144 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1145 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1146 | --sha=* | --sh=*) 1147 sharedstatedir=$ac_optarg ;; 1148 1149 -site | --site | --sit) 1150 ac_prev=site ;; 1151 -site=* | --site=* | --sit=*) 1152 site=$ac_optarg ;; 1153 1154 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1155 ac_prev=srcdir ;; 1156 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1157 srcdir=$ac_optarg ;; 1158 1159 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1160 | --syscon | --sysco | --sysc | --sys | --sy) 1161 ac_prev=sysconfdir ;; 1162 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1163 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1164 sysconfdir=$ac_optarg ;; 1165 1166 -target | --target | --targe | --targ | --tar | --ta | --t) 1167 ac_prev=target_alias ;; 1168 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1169 target_alias=$ac_optarg ;; 1170 1171 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1172 verbose=yes ;; 1173 1174 -version | --version | --versio | --versi | --vers | -V) 1175 ac_init_version=: ;; 1176 1177 -with-* | --with-*) 1178 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1179 # Reject names that are not valid shell variable names. 1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1181 as_fn_error $? "invalid package name: $ac_useropt" 1182 ac_useropt_orig=$ac_useropt 1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1184 case $ac_user_opts in 1185 *" 1186"with_$ac_useropt" 1187"*) ;; 1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1189 ac_unrecognized_sep=', ';; 1190 esac 1191 eval with_$ac_useropt=\$ac_optarg ;; 1192 1193 -without-* | --without-*) 1194 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1195 # Reject names that are not valid shell variable names. 1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1197 as_fn_error $? "invalid package name: $ac_useropt" 1198 ac_useropt_orig=$ac_useropt 1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1200 case $ac_user_opts in 1201 *" 1202"with_$ac_useropt" 1203"*) ;; 1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1205 ac_unrecognized_sep=', ';; 1206 esac 1207 eval with_$ac_useropt=no ;; 1208 1209 --x) 1210 # Obsolete; use --with-x. 1211 with_x=yes ;; 1212 1213 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1214 | --x-incl | --x-inc | --x-in | --x-i) 1215 ac_prev=x_includes ;; 1216 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1217 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1218 x_includes=$ac_optarg ;; 1219 1220 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1221 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1222 ac_prev=x_libraries ;; 1223 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1224 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1225 x_libraries=$ac_optarg ;; 1226 1227 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1228Try \`$0 --help' for more information" 1229 ;; 1230 1231 *=*) 1232 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1233 # Reject names that are not valid shell variable names. 1234 case $ac_envvar in #( 1235 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1236 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1237 esac 1238 eval $ac_envvar=\$ac_optarg 1239 export $ac_envvar ;; 1240 1241 *) 1242 # FIXME: should be removed in autoconf 3.0. 1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1246 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1247 ;; 1248 1249 esac 1250done 1251 1252if test -n "$ac_prev"; then 1253 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1254 as_fn_error $? "missing argument to $ac_option" 1255fi 1256 1257if test -n "$ac_unrecognized_opts"; then 1258 case $enable_option_checking in 1259 no) ;; 1260 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1261 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1262 esac 1263fi 1264 1265# Check all directory arguments for consistency. 1266for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1267 datadir sysconfdir sharedstatedir localstatedir includedir \ 1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1269 libdir localedir mandir 1270do 1271 eval ac_val=\$$ac_var 1272 # Remove trailing slashes. 1273 case $ac_val in 1274 */ ) 1275 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1276 eval $ac_var=\$ac_val;; 1277 esac 1278 # Be sure to have absolute directory names. 1279 case $ac_val in 1280 [\\/$]* | ?:[\\/]* ) continue;; 1281 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1282 esac 1283 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1284done 1285 1286# There might be people who depend on the old broken behavior: `$host' 1287# used to hold the argument of --host etc. 1288# FIXME: To remove some day. 1289build=$build_alias 1290host=$host_alias 1291target=$target_alias 1292 1293# FIXME: To remove some day. 1294if test "x$host_alias" != x; then 1295 if test "x$build_alias" = x; then 1296 cross_compiling=maybe 1297 elif test "x$build_alias" != "x$host_alias"; then 1298 cross_compiling=yes 1299 fi 1300fi 1301 1302ac_tool_prefix= 1303test -n "$host_alias" && ac_tool_prefix=$host_alias- 1304 1305test "$silent" = yes && exec 6>/dev/null 1306 1307 1308ac_pwd=`pwd` && test -n "$ac_pwd" && 1309ac_ls_di=`ls -di .` && 1310ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1311 as_fn_error $? "working directory cannot be determined" 1312test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1313 as_fn_error $? "pwd does not report name of working directory" 1314 1315 1316# Find the source files, if location was not specified. 1317if test -z "$srcdir"; then 1318 ac_srcdir_defaulted=yes 1319 # Try the directory containing this script, then the parent directory. 1320 ac_confdir=`$as_dirname -- "$as_myself" || 1321$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1322 X"$as_myself" : 'X\(//\)[^/]' \| \ 1323 X"$as_myself" : 'X\(//\)$' \| \ 1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1325$as_echo X"$as_myself" | 1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1327 s//\1/ 1328 q 1329 } 1330 /^X\(\/\/\)[^/].*/{ 1331 s//\1/ 1332 q 1333 } 1334 /^X\(\/\/\)$/{ 1335 s//\1/ 1336 q 1337 } 1338 /^X\(\/\).*/{ 1339 s//\1/ 1340 q 1341 } 1342 s/.*/./; q'` 1343 srcdir=$ac_confdir 1344 if test ! -r "$srcdir/$ac_unique_file"; then 1345 srcdir=.. 1346 fi 1347else 1348 ac_srcdir_defaulted=no 1349fi 1350if test ! -r "$srcdir/$ac_unique_file"; then 1351 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1352 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1353fi 1354ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1355ac_abs_confdir=`( 1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1357 pwd)` 1358# When building in place, set srcdir=. 1359if test "$ac_abs_confdir" = "$ac_pwd"; then 1360 srcdir=. 1361fi 1362# Remove unnecessary trailing slashes from srcdir. 1363# Double slashes in file names in object file debugging info 1364# mess up M-x gdb in Emacs. 1365case $srcdir in 1366*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1367esac 1368for ac_var in $ac_precious_vars; do 1369 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1370 eval ac_env_${ac_var}_value=\$${ac_var} 1371 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1372 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1373done 1374 1375# 1376# Report the --help message. 1377# 1378if test "$ac_init_help" = "long"; then 1379 # Omit some internal or obsolete options to make the list less imposing. 1380 # This message is too long to be a string in the A/UX 3.1 sh. 1381 cat <<_ACEOF 1382\`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems. 1383 1384Usage: $0 [OPTION]... [VAR=VALUE]... 1385 1386To assign environment variables (e.g., CC, CFLAGS...), specify them as 1387VAR=VALUE. See below for descriptions of some of the useful variables. 1388 1389Defaults for the options are specified in brackets. 1390 1391Configuration: 1392 -h, --help display this help and exit 1393 --help=short display options specific to this package 1394 --help=recursive display the short help of all the included packages 1395 -V, --version display version information and exit 1396 -q, --quiet, --silent do not print \`checking ...' messages 1397 --cache-file=FILE cache test results in FILE [disabled] 1398 -C, --config-cache alias for \`--cache-file=config.cache' 1399 -n, --no-create do not create output files 1400 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1401 1402Installation directories: 1403 --prefix=PREFIX install architecture-independent files in PREFIX 1404 [$ac_default_prefix] 1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1406 [PREFIX] 1407 1408By default, \`make install' will install all the files in 1409\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1410an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1411for instance \`--prefix=\$HOME'. 1412 1413For better control, use the options below. 1414 1415Fine tuning of the installation directories: 1416 --bindir=DIR user executables [EPREFIX/bin] 1417 --sbindir=DIR system admin executables [EPREFIX/sbin] 1418 --libexecdir=DIR program executables [EPREFIX/libexec] 1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1422 --libdir=DIR object code libraries [EPREFIX/lib] 1423 --includedir=DIR C header files [PREFIX/include] 1424 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1427 --infodir=DIR info documentation [DATAROOTDIR/info] 1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1429 --mandir=DIR man documentation [DATAROOTDIR/man] 1430 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran] 1431 --htmldir=DIR html documentation [DOCDIR] 1432 --dvidir=DIR dvi documentation [DOCDIR] 1433 --pdfdir=DIR pdf documentation [DOCDIR] 1434 --psdir=DIR ps documentation [DOCDIR] 1435_ACEOF 1436 1437 cat <<\_ACEOF 1438 1439Program names: 1440 --program-prefix=PREFIX prepend PREFIX to installed program names 1441 --program-suffix=SUFFIX append SUFFIX to installed program names 1442 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1443 1444System types: 1445 --build=BUILD configure for building on BUILD [guessed] 1446 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1447 --target=TARGET configure for building compilers for TARGET [HOST] 1448_ACEOF 1449fi 1450 1451if test -n "$ac_init_help"; then 1452 case $ac_init_help in 1453 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";; 1454 esac 1455 cat <<\_ACEOF 1456 1457Optional Features: 1458 --disable-option-checking ignore unrecognized --enable/--with options 1459 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1460 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1461 --enable-version-specific-runtime-libs 1462 specify that runtime libraries should be installed 1463 in a compiler-specific directory 1464 --enable-intermodule build the library in one step 1465 --enable-silent-rules less verbose build output (undo: "make V=1") 1466 --disable-silent-rules verbose build output (undo: "make V=0") 1467 --enable-maintainer-mode 1468 enable make rules and dependencies not useful (and 1469 sometimes confusing) to the casual installer 1470 --enable-multilib build many library versions (default) 1471 --enable-dependency-tracking 1472 do not reject slow dependency extractors 1473 --disable-dependency-tracking 1474 speeds up one-time build 1475 --enable-cet enable Intel CET in target libraries [default=auto] 1476 --disable-symvers disable symbol versioning for libgfortran 1477 --enable-shared[=PKGS] build shared libraries [default=yes] 1478 --enable-static[=PKGS] build static libraries [default=yes] 1479 --enable-fast-install[=PKGS] 1480 optimize for fast installation [default=yes] 1481 --disable-libtool-lock avoid locking (might break parallel builds) 1482 --disable-largefile omit support for large files 1483 --disable-libquadmath-support 1484 disable libquadmath support for Fortran 1485 1486Optional Packages: 1487 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1488 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1489 --with-build-libsubdir=DIR Directory where to find libraries for build system 1490 --with-toolexeclibdir=DIR 1491 install libraries built with a cross compiler within 1492 DIR 1493 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1494 --with-pic try to use only PIC/non-PIC objects [default=use 1495 both] 1496 --with-gcc-major-version-only 1497 use only GCC major number in filesystem paths 1498 1499Some influential environment variables: 1500 CC C compiler command 1501 CFLAGS C compiler flags 1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1503 nonstandard directory <lib dir> 1504 LIBS libraries to pass to the linker, e.g. -l<library> 1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1506 you have headers in a nonstandard directory <include dir> 1507 CPP C preprocessor 1508 FC Fortran compiler command 1509 FCFLAGS Fortran compiler flags 1510 1511Use these variables to override the choices made by `configure' or to help 1512it to find libraries and programs with nonstandard names/locations. 1513 1514Report bugs to the package provider. 1515GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>. 1516General help using GNU software: <http://www.gnu.org/gethelp/>. 1517_ACEOF 1518ac_status=$? 1519fi 1520 1521if test "$ac_init_help" = "recursive"; then 1522 # If there are subdirs, report their specific --help. 1523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1524 test -d "$ac_dir" || 1525 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1526 continue 1527 ac_builddir=. 1528 1529case "$ac_dir" in 1530.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1531*) 1532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1533 # A ".." for each directory in $ac_dir_suffix. 1534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1535 case $ac_top_builddir_sub in 1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1538 esac ;; 1539esac 1540ac_abs_top_builddir=$ac_pwd 1541ac_abs_builddir=$ac_pwd$ac_dir_suffix 1542# for backward compatibility: 1543ac_top_builddir=$ac_top_build_prefix 1544 1545case $srcdir in 1546 .) # We are building in place. 1547 ac_srcdir=. 1548 ac_top_srcdir=$ac_top_builddir_sub 1549 ac_abs_top_srcdir=$ac_pwd ;; 1550 [\\/]* | ?:[\\/]* ) # Absolute name. 1551 ac_srcdir=$srcdir$ac_dir_suffix; 1552 ac_top_srcdir=$srcdir 1553 ac_abs_top_srcdir=$srcdir ;; 1554 *) # Relative name. 1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1556 ac_top_srcdir=$ac_top_build_prefix$srcdir 1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1558esac 1559ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1560 1561 cd "$ac_dir" || { ac_status=$?; continue; } 1562 # Check for guested configure. 1563 if test -f "$ac_srcdir/configure.gnu"; then 1564 echo && 1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1566 elif test -f "$ac_srcdir/configure"; then 1567 echo && 1568 $SHELL "$ac_srcdir/configure" --help=recursive 1569 else 1570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1571 fi || ac_status=$? 1572 cd "$ac_pwd" || { ac_status=$?; break; } 1573 done 1574fi 1575 1576test -n "$ac_init_help" && exit $ac_status 1577if $ac_init_version; then 1578 cat <<\_ACEOF 1579GNU Fortran Runtime Library configure 0.3 1580generated by GNU Autoconf 2.69 1581 1582Copyright (C) 2012 Free Software Foundation, Inc. 1583This configure script is free software; the Free Software Foundation 1584gives unlimited permission to copy, distribute and modify it. 1585_ACEOF 1586 exit 1587fi 1588 1589## ------------------------ ## 1590## Autoconf initialization. ## 1591## ------------------------ ## 1592 1593# ac_fn_c_try_compile LINENO 1594# -------------------------- 1595# Try to compile conftest.$ac_ext, and return whether this succeeded. 1596ac_fn_c_try_compile () 1597{ 1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1599 rm -f conftest.$ac_objext 1600 if { { ac_try="$ac_compile" 1601case "(($ac_try" in 1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1603 *) ac_try_echo=$ac_try;; 1604esac 1605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1606$as_echo "$ac_try_echo"; } >&5 1607 (eval "$ac_compile") 2>conftest.err 1608 ac_status=$? 1609 if test -s conftest.err; then 1610 grep -v '^ *+' conftest.err >conftest.er1 1611 cat conftest.er1 >&5 1612 mv -f conftest.er1 conftest.err 1613 fi 1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1615 test $ac_status = 0; } && { 1616 test -z "$ac_c_werror_flag" || 1617 test ! -s conftest.err 1618 } && test -s conftest.$ac_objext; then : 1619 ac_retval=0 1620else 1621 $as_echo "$as_me: failed program was:" >&5 1622sed 's/^/| /' conftest.$ac_ext >&5 1623 1624 ac_retval=1 1625fi 1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1627 as_fn_set_status $ac_retval 1628 1629} # ac_fn_c_try_compile 1630 1631# ac_fn_c_try_cpp LINENO 1632# ---------------------- 1633# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1634ac_fn_c_try_cpp () 1635{ 1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1637 if { { ac_try="$ac_cpp conftest.$ac_ext" 1638case "(($ac_try" in 1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1640 *) ac_try_echo=$ac_try;; 1641esac 1642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1643$as_echo "$ac_try_echo"; } >&5 1644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1645 ac_status=$? 1646 if test -s conftest.err; then 1647 grep -v '^ *+' conftest.err >conftest.er1 1648 cat conftest.er1 >&5 1649 mv -f conftest.er1 conftest.err 1650 fi 1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1652 test $ac_status = 0; } > conftest.i && { 1653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1654 test ! -s conftest.err 1655 }; then : 1656 ac_retval=0 1657else 1658 $as_echo "$as_me: failed program was:" >&5 1659sed 's/^/| /' conftest.$ac_ext >&5 1660 1661 ac_retval=1 1662fi 1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1664 as_fn_set_status $ac_retval 1665 1666} # ac_fn_c_try_cpp 1667 1668# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1669# ------------------------------------------------------- 1670# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1671# the include files in INCLUDES and setting the cache variable VAR 1672# accordingly. 1673ac_fn_c_check_header_mongrel () 1674{ 1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1676 if eval \${$3+:} false; then : 1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1678$as_echo_n "checking for $2... " >&6; } 1679if eval \${$3+:} false; then : 1680 $as_echo_n "(cached) " >&6 1681fi 1682eval ac_res=\$$3 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1684$as_echo "$ac_res" >&6; } 1685else 1686 # Is the header compilable? 1687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1688$as_echo_n "checking $2 usability... " >&6; } 1689cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1690/* end confdefs.h. */ 1691$4 1692#include <$2> 1693_ACEOF 1694if ac_fn_c_try_compile "$LINENO"; then : 1695 ac_header_compiler=yes 1696else 1697 ac_header_compiler=no 1698fi 1699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1701$as_echo "$ac_header_compiler" >&6; } 1702 1703# Is the header present? 1704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1705$as_echo_n "checking $2 presence... " >&6; } 1706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1707/* end confdefs.h. */ 1708#include <$2> 1709_ACEOF 1710if ac_fn_c_try_cpp "$LINENO"; then : 1711 ac_header_preproc=yes 1712else 1713 ac_header_preproc=no 1714fi 1715rm -f conftest.err conftest.i conftest.$ac_ext 1716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1717$as_echo "$ac_header_preproc" >&6; } 1718 1719# So? What about this header? 1720case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1721 yes:no: ) 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1723$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1725$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1726 ;; 1727 no:yes:* ) 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1729$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1731$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1733$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1735$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1737$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1738 ;; 1739esac 1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1741$as_echo_n "checking for $2... " >&6; } 1742if eval \${$3+:} false; then : 1743 $as_echo_n "(cached) " >&6 1744else 1745 eval "$3=\$ac_header_compiler" 1746fi 1747eval ac_res=\$$3 1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1749$as_echo "$ac_res" >&6; } 1750fi 1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1752 1753} # ac_fn_c_check_header_mongrel 1754 1755# ac_fn_c_try_run LINENO 1756# ---------------------- 1757# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1758# that executables *can* be run. 1759ac_fn_c_try_run () 1760{ 1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1762 if { { ac_try="$ac_link" 1763case "(($ac_try" in 1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1765 *) ac_try_echo=$ac_try;; 1766esac 1767eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1768$as_echo "$ac_try_echo"; } >&5 1769 (eval "$ac_link") 2>&5 1770 ac_status=$? 1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1772 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1773 { { case "(($ac_try" in 1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1775 *) ac_try_echo=$ac_try;; 1776esac 1777eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1778$as_echo "$ac_try_echo"; } >&5 1779 (eval "$ac_try") 2>&5 1780 ac_status=$? 1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1782 test $ac_status = 0; }; }; then : 1783 ac_retval=0 1784else 1785 $as_echo "$as_me: program exited with status $ac_status" >&5 1786 $as_echo "$as_me: failed program was:" >&5 1787sed 's/^/| /' conftest.$ac_ext >&5 1788 1789 ac_retval=$ac_status 1790fi 1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1793 as_fn_set_status $ac_retval 1794 1795} # ac_fn_c_try_run 1796 1797# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1798# ------------------------------------------------------- 1799# Tests whether HEADER exists and can be compiled using the include files in 1800# INCLUDES, setting the cache variable VAR accordingly. 1801ac_fn_c_check_header_compile () 1802{ 1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1805$as_echo_n "checking for $2... " >&6; } 1806if eval \${$3+:} false; then : 1807 $as_echo_n "(cached) " >&6 1808else 1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1810/* end confdefs.h. */ 1811$4 1812#include <$2> 1813_ACEOF 1814if ac_fn_c_try_compile "$LINENO"; then : 1815 eval "$3=yes" 1816else 1817 eval "$3=no" 1818fi 1819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1820fi 1821eval ac_res=\$$3 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1823$as_echo "$ac_res" >&6; } 1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1825 1826} # ac_fn_c_check_header_compile 1827 1828# ac_fn_c_try_link LINENO 1829# ----------------------- 1830# Try to link conftest.$ac_ext, and return whether this succeeded. 1831ac_fn_c_try_link () 1832{ 1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1834 rm -f conftest.$ac_objext conftest$ac_exeext 1835 if { { ac_try="$ac_link" 1836case "(($ac_try" in 1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1838 *) ac_try_echo=$ac_try;; 1839esac 1840eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1841$as_echo "$ac_try_echo"; } >&5 1842 (eval "$ac_link") 2>conftest.err 1843 ac_status=$? 1844 if test -s conftest.err; then 1845 grep -v '^ *+' conftest.err >conftest.er1 1846 cat conftest.er1 >&5 1847 mv -f conftest.er1 conftest.err 1848 fi 1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1850 test $ac_status = 0; } && { 1851 test -z "$ac_c_werror_flag" || 1852 test ! -s conftest.err 1853 } && test -s conftest$ac_exeext && { 1854 test "$cross_compiling" = yes || 1855 test -x conftest$ac_exeext 1856 }; then : 1857 ac_retval=0 1858else 1859 $as_echo "$as_me: failed program was:" >&5 1860sed 's/^/| /' conftest.$ac_ext >&5 1861 1862 ac_retval=1 1863fi 1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1866 # interfere with the next link command; also delete a directory that is 1867 # left behind by Apple's compiler. We do this before executing the actions. 1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1870 as_fn_set_status $ac_retval 1871 1872} # ac_fn_c_try_link 1873 1874# ac_fn_c_check_func LINENO FUNC VAR 1875# ---------------------------------- 1876# Tests whether FUNC exists, setting the cache variable VAR accordingly 1877ac_fn_c_check_func () 1878{ 1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1881$as_echo_n "checking for $2... " >&6; } 1882if eval \${$3+:} false; then : 1883 $as_echo_n "(cached) " >&6 1884else 1885 if test x$gcc_no_link = xyes; then 1886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 1887fi 1888cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1889/* end confdefs.h. */ 1890/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1891 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1892#define $2 innocuous_$2 1893 1894/* System header to define __stub macros and hopefully few prototypes, 1895 which can conflict with char $2 (); below. 1896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1897 <limits.h> exists even on freestanding compilers. */ 1898 1899#ifdef __STDC__ 1900# include <limits.h> 1901#else 1902# include <assert.h> 1903#endif 1904 1905#undef $2 1906 1907/* Override any GCC internal prototype to avoid an error. 1908 Use char because int might match the return type of a GCC 1909 builtin and then its argument prototype would still apply. */ 1910#ifdef __cplusplus 1911extern "C" 1912#endif 1913char $2 (); 1914/* The GNU C library defines this for functions which it implements 1915 to always fail with ENOSYS. Some functions are actually named 1916 something starting with __ and the normal name is an alias. */ 1917#if defined __stub_$2 || defined __stub___$2 1918choke me 1919#endif 1920 1921int 1922main () 1923{ 1924return $2 (); 1925 ; 1926 return 0; 1927} 1928_ACEOF 1929if ac_fn_c_try_link "$LINENO"; then : 1930 eval "$3=yes" 1931else 1932 eval "$3=no" 1933fi 1934rm -f core conftest.err conftest.$ac_objext \ 1935 conftest$ac_exeext conftest.$ac_ext 1936fi 1937eval ac_res=\$$3 1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1939$as_echo "$ac_res" >&6; } 1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1941 1942} # ac_fn_c_check_func 1943 1944# ac_fn_fc_try_compile LINENO 1945# --------------------------- 1946# Try to compile conftest.$ac_ext, and return whether this succeeded. 1947ac_fn_fc_try_compile () 1948{ 1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1950 rm -f conftest.$ac_objext 1951 if { { ac_try="$ac_compile" 1952case "(($ac_try" in 1953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1954 *) ac_try_echo=$ac_try;; 1955esac 1956eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1957$as_echo "$ac_try_echo"; } >&5 1958 (eval "$ac_compile") 2>conftest.err 1959 ac_status=$? 1960 if test -s conftest.err; then 1961 grep -v '^ *+' conftest.err >conftest.er1 1962 cat conftest.er1 >&5 1963 mv -f conftest.er1 conftest.err 1964 fi 1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1966 test $ac_status = 0; } && { 1967 test -z "$ac_fc_werror_flag" || 1968 test ! -s conftest.err 1969 } && test -s conftest.$ac_objext; then : 1970 ac_retval=0 1971else 1972 $as_echo "$as_me: failed program was:" >&5 1973sed 's/^/| /' conftest.$ac_ext >&5 1974 1975 ac_retval=1 1976fi 1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1978 as_fn_set_status $ac_retval 1979 1980} # ac_fn_fc_try_compile 1981 1982# ac_fn_fc_try_link LINENO 1983# ------------------------ 1984# Try to link conftest.$ac_ext, and return whether this succeeded. 1985ac_fn_fc_try_link () 1986{ 1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1988 rm -f conftest.$ac_objext conftest$ac_exeext 1989 if { { ac_try="$ac_link" 1990case "(($ac_try" in 1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1992 *) ac_try_echo=$ac_try;; 1993esac 1994eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1995$as_echo "$ac_try_echo"; } >&5 1996 (eval "$ac_link") 2>conftest.err 1997 ac_status=$? 1998 if test -s conftest.err; then 1999 grep -v '^ *+' conftest.err >conftest.er1 2000 cat conftest.er1 >&5 2001 mv -f conftest.er1 conftest.err 2002 fi 2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2004 test $ac_status = 0; } && { 2005 test -z "$ac_fc_werror_flag" || 2006 test ! -s conftest.err 2007 } && test -s conftest$ac_exeext && { 2008 test "$cross_compiling" = yes || 2009 test -x conftest$ac_exeext 2010 }; then : 2011 ac_retval=0 2012else 2013 $as_echo "$as_me: failed program was:" >&5 2014sed 's/^/| /' conftest.$ac_ext >&5 2015 2016 ac_retval=1 2017fi 2018 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2019 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2020 # interfere with the next link command; also delete a directory that is 2021 # left behind by Apple's compiler. We do this before executing the actions. 2022 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2024 as_fn_set_status $ac_retval 2025 2026} # ac_fn_fc_try_link 2027 2028# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2029# ------------------------------------------- 2030# Tests whether TYPE exists after having included INCLUDES, setting cache 2031# variable VAR accordingly. 2032ac_fn_c_check_type () 2033{ 2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2036$as_echo_n "checking for $2... " >&6; } 2037if eval \${$3+:} false; then : 2038 $as_echo_n "(cached) " >&6 2039else 2040 eval "$3=no" 2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2042/* end confdefs.h. */ 2043$4 2044int 2045main () 2046{ 2047if (sizeof ($2)) 2048 return 0; 2049 ; 2050 return 0; 2051} 2052_ACEOF 2053if ac_fn_c_try_compile "$LINENO"; then : 2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2055/* end confdefs.h. */ 2056$4 2057int 2058main () 2059{ 2060if (sizeof (($2))) 2061 return 0; 2062 ; 2063 return 0; 2064} 2065_ACEOF 2066if ac_fn_c_try_compile "$LINENO"; then : 2067 2068else 2069 eval "$3=yes" 2070fi 2071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2072fi 2073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2074fi 2075eval ac_res=\$$3 2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2077$as_echo "$ac_res" >&6; } 2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2079 2080} # ac_fn_c_check_type 2081 2082# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2083# -------------------------------------------- 2084# Tries to find the compile-time value of EXPR in a program that includes 2085# INCLUDES, setting VAR accordingly. Returns whether the value could be 2086# computed 2087ac_fn_c_compute_int () 2088{ 2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2090 if test "$cross_compiling" = yes; then 2091 # Depending upon the size, compute the lo and hi bounds. 2092cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2093/* end confdefs.h. */ 2094$4 2095int 2096main () 2097{ 2098static int test_array [1 - 2 * !(($2) >= 0)]; 2099test_array [0] = 0; 2100return test_array [0]; 2101 2102 ; 2103 return 0; 2104} 2105_ACEOF 2106if ac_fn_c_try_compile "$LINENO"; then : 2107 ac_lo=0 ac_mid=0 2108 while :; do 2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2110/* end confdefs.h. */ 2111$4 2112int 2113main () 2114{ 2115static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2116test_array [0] = 0; 2117return test_array [0]; 2118 2119 ; 2120 return 0; 2121} 2122_ACEOF 2123if ac_fn_c_try_compile "$LINENO"; then : 2124 ac_hi=$ac_mid; break 2125else 2126 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2127 if test $ac_lo -le $ac_mid; then 2128 ac_lo= ac_hi= 2129 break 2130 fi 2131 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2132fi 2133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2134 done 2135else 2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2137/* end confdefs.h. */ 2138$4 2139int 2140main () 2141{ 2142static int test_array [1 - 2 * !(($2) < 0)]; 2143test_array [0] = 0; 2144return test_array [0]; 2145 2146 ; 2147 return 0; 2148} 2149_ACEOF 2150if ac_fn_c_try_compile "$LINENO"; then : 2151 ac_hi=-1 ac_mid=-1 2152 while :; do 2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2154/* end confdefs.h. */ 2155$4 2156int 2157main () 2158{ 2159static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2160test_array [0] = 0; 2161return test_array [0]; 2162 2163 ; 2164 return 0; 2165} 2166_ACEOF 2167if ac_fn_c_try_compile "$LINENO"; then : 2168 ac_lo=$ac_mid; break 2169else 2170 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2171 if test $ac_mid -le $ac_hi; then 2172 ac_lo= ac_hi= 2173 break 2174 fi 2175 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2176fi 2177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2178 done 2179else 2180 ac_lo= ac_hi= 2181fi 2182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2183fi 2184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2185# Binary search between lo and hi bounds. 2186while test "x$ac_lo" != "x$ac_hi"; do 2187 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2189/* end confdefs.h. */ 2190$4 2191int 2192main () 2193{ 2194static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2195test_array [0] = 0; 2196return test_array [0]; 2197 2198 ; 2199 return 0; 2200} 2201_ACEOF 2202if ac_fn_c_try_compile "$LINENO"; then : 2203 ac_hi=$ac_mid 2204else 2205 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2206fi 2207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2208done 2209case $ac_lo in #(( 2210?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2211'') ac_retval=1 ;; 2212esac 2213 else 2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2215/* end confdefs.h. */ 2216$4 2217static long int longval () { return $2; } 2218static unsigned long int ulongval () { return $2; } 2219#include <stdio.h> 2220#include <stdlib.h> 2221int 2222main () 2223{ 2224 2225 FILE *f = fopen ("conftest.val", "w"); 2226 if (! f) 2227 return 1; 2228 if (($2) < 0) 2229 { 2230 long int i = longval (); 2231 if (i != ($2)) 2232 return 1; 2233 fprintf (f, "%ld", i); 2234 } 2235 else 2236 { 2237 unsigned long int i = ulongval (); 2238 if (i != ($2)) 2239 return 1; 2240 fprintf (f, "%lu", i); 2241 } 2242 /* Do not output a trailing newline, as this causes \r\n confusion 2243 on some platforms. */ 2244 return ferror (f) || fclose (f) != 0; 2245 2246 ; 2247 return 0; 2248} 2249_ACEOF 2250if ac_fn_c_try_run "$LINENO"; then : 2251 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2252else 2253 ac_retval=1 2254fi 2255rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2256 conftest.$ac_objext conftest.beam conftest.$ac_ext 2257rm -f conftest.val 2258 2259 fi 2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2261 as_fn_set_status $ac_retval 2262 2263} # ac_fn_c_compute_int 2264 2265# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2266# ---------------------------------------------------- 2267# Tries to find if the field MEMBER exists in type AGGR, after including 2268# INCLUDES, setting cache variable VAR accordingly. 2269ac_fn_c_check_member () 2270{ 2271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2273$as_echo_n "checking for $2.$3... " >&6; } 2274if eval \${$4+:} false; then : 2275 $as_echo_n "(cached) " >&6 2276else 2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2278/* end confdefs.h. */ 2279$5 2280int 2281main () 2282{ 2283static $2 ac_aggr; 2284if (ac_aggr.$3) 2285return 0; 2286 ; 2287 return 0; 2288} 2289_ACEOF 2290if ac_fn_c_try_compile "$LINENO"; then : 2291 eval "$4=yes" 2292else 2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2294/* end confdefs.h. */ 2295$5 2296int 2297main () 2298{ 2299static $2 ac_aggr; 2300if (sizeof ac_aggr.$3) 2301return 0; 2302 ; 2303 return 0; 2304} 2305_ACEOF 2306if ac_fn_c_try_compile "$LINENO"; then : 2307 eval "$4=yes" 2308else 2309 eval "$4=no" 2310fi 2311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2312fi 2313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2314fi 2315eval ac_res=\$$4 2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2317$as_echo "$ac_res" >&6; } 2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2319 2320} # ac_fn_c_check_member 2321cat >config.log <<_ACEOF 2322This file contains any messages produced by compilers while 2323running configure, to aid debugging if configure makes a mistake. 2324 2325It was created by GNU Fortran Runtime Library $as_me 0.3, which was 2326generated by GNU Autoconf 2.69. Invocation command line was 2327 2328 $ $0 $@ 2329 2330_ACEOF 2331exec 5>>config.log 2332{ 2333cat <<_ASUNAME 2334## --------- ## 2335## Platform. ## 2336## --------- ## 2337 2338hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2339uname -m = `(uname -m) 2>/dev/null || echo unknown` 2340uname -r = `(uname -r) 2>/dev/null || echo unknown` 2341uname -s = `(uname -s) 2>/dev/null || echo unknown` 2342uname -v = `(uname -v) 2>/dev/null || echo unknown` 2343 2344/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2345/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2346 2347/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2348/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2349/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2350/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2351/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2352/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2353/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2354 2355_ASUNAME 2356 2357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2358for as_dir in $PATH 2359do 2360 IFS=$as_save_IFS 2361 test -z "$as_dir" && as_dir=. 2362 $as_echo "PATH: $as_dir" 2363 done 2364IFS=$as_save_IFS 2365 2366} >&5 2367 2368cat >&5 <<_ACEOF 2369 2370 2371## ----------- ## 2372## Core tests. ## 2373## ----------- ## 2374 2375_ACEOF 2376 2377 2378# Keep a trace of the command line. 2379# Strip out --no-create and --no-recursion so they do not pile up. 2380# Strip out --silent because we don't want to record it for future runs. 2381# Also quote any args containing shell meta-characters. 2382# Make two passes to allow for proper duplicate-argument suppression. 2383ac_configure_args= 2384ac_configure_args0= 2385ac_configure_args1= 2386ac_must_keep_next=false 2387for ac_pass in 1 2 2388do 2389 for ac_arg 2390 do 2391 case $ac_arg in 2392 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2394 | -silent | --silent | --silen | --sile | --sil) 2395 continue ;; 2396 *\'*) 2397 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2398 esac 2399 case $ac_pass in 2400 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2401 2) 2402 as_fn_append ac_configure_args1 " '$ac_arg'" 2403 if test $ac_must_keep_next = true; then 2404 ac_must_keep_next=false # Got value, back to normal. 2405 else 2406 case $ac_arg in 2407 *=* | --config-cache | -C | -disable-* | --disable-* \ 2408 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2409 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2410 | -with-* | --with-* | -without-* | --without-* | --x) 2411 case "$ac_configure_args0 " in 2412 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2413 esac 2414 ;; 2415 -* ) ac_must_keep_next=true ;; 2416 esac 2417 fi 2418 as_fn_append ac_configure_args " '$ac_arg'" 2419 ;; 2420 esac 2421 done 2422done 2423{ ac_configure_args0=; unset ac_configure_args0;} 2424{ ac_configure_args1=; unset ac_configure_args1;} 2425 2426# When interrupted or exit'd, cleanup temporary files, and complete 2427# config.log. We remove comments because anyway the quotes in there 2428# would cause problems or look ugly. 2429# WARNING: Use '\'' to represent an apostrophe within the trap. 2430# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2431trap 'exit_status=$? 2432 # Save into config.log some information that might help in debugging. 2433 { 2434 echo 2435 2436 $as_echo "## ---------------- ## 2437## Cache variables. ## 2438## ---------------- ##" 2439 echo 2440 # The following way of writing the cache mishandles newlines in values, 2441( 2442 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2443 eval ac_val=\$$ac_var 2444 case $ac_val in #( 2445 *${as_nl}*) 2446 case $ac_var in #( 2447 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2448$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2449 esac 2450 case $ac_var in #( 2451 _ | IFS | as_nl) ;; #( 2452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2453 *) { eval $ac_var=; unset $ac_var;} ;; 2454 esac ;; 2455 esac 2456 done 2457 (set) 2>&1 | 2458 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2459 *${as_nl}ac_space=\ *) 2460 sed -n \ 2461 "s/'\''/'\''\\\\'\'''\''/g; 2462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2463 ;; #( 2464 *) 2465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2466 ;; 2467 esac | 2468 sort 2469) 2470 echo 2471 2472 $as_echo "## ----------------- ## 2473## Output variables. ## 2474## ----------------- ##" 2475 echo 2476 for ac_var in $ac_subst_vars 2477 do 2478 eval ac_val=\$$ac_var 2479 case $ac_val in 2480 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2481 esac 2482 $as_echo "$ac_var='\''$ac_val'\''" 2483 done | sort 2484 echo 2485 2486 if test -n "$ac_subst_files"; then 2487 $as_echo "## ------------------- ## 2488## File substitutions. ## 2489## ------------------- ##" 2490 echo 2491 for ac_var in $ac_subst_files 2492 do 2493 eval ac_val=\$$ac_var 2494 case $ac_val in 2495 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2496 esac 2497 $as_echo "$ac_var='\''$ac_val'\''" 2498 done | sort 2499 echo 2500 fi 2501 2502 if test -s confdefs.h; then 2503 $as_echo "## ----------- ## 2504## confdefs.h. ## 2505## ----------- ##" 2506 echo 2507 cat confdefs.h 2508 echo 2509 fi 2510 test "$ac_signal" != 0 && 2511 $as_echo "$as_me: caught signal $ac_signal" 2512 $as_echo "$as_me: exit $exit_status" 2513 } >&5 2514 rm -f core *.core core.conftest.* && 2515 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2516 exit $exit_status 2517' 0 2518for ac_signal in 1 2 13 15; do 2519 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2520done 2521ac_signal=0 2522 2523# confdefs.h avoids OS command line length limits that DEFS can exceed. 2524rm -f -r conftest* confdefs.h 2525 2526$as_echo "/* confdefs.h */" > confdefs.h 2527 2528# Predefined preprocessor variables. 2529 2530cat >>confdefs.h <<_ACEOF 2531#define PACKAGE_NAME "$PACKAGE_NAME" 2532_ACEOF 2533 2534cat >>confdefs.h <<_ACEOF 2535#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2536_ACEOF 2537 2538cat >>confdefs.h <<_ACEOF 2539#define PACKAGE_VERSION "$PACKAGE_VERSION" 2540_ACEOF 2541 2542cat >>confdefs.h <<_ACEOF 2543#define PACKAGE_STRING "$PACKAGE_STRING" 2544_ACEOF 2545 2546cat >>confdefs.h <<_ACEOF 2547#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2548_ACEOF 2549 2550cat >>confdefs.h <<_ACEOF 2551#define PACKAGE_URL "$PACKAGE_URL" 2552_ACEOF 2553 2554 2555# Let the site file select an alternate cache file if it wants to. 2556# Prefer an explicitly selected file to automatically selected ones. 2557ac_site_file1=NONE 2558ac_site_file2=NONE 2559if test -n "$CONFIG_SITE"; then 2560 # We do not want a PATH search for config.site. 2561 case $CONFIG_SITE in #(( 2562 -*) ac_site_file1=./$CONFIG_SITE;; 2563 */*) ac_site_file1=$CONFIG_SITE;; 2564 *) ac_site_file1=./$CONFIG_SITE;; 2565 esac 2566elif test "x$prefix" != xNONE; then 2567 ac_site_file1=$prefix/share/config.site 2568 ac_site_file2=$prefix/etc/config.site 2569else 2570 ac_site_file1=$ac_default_prefix/share/config.site 2571 ac_site_file2=$ac_default_prefix/etc/config.site 2572fi 2573for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2574do 2575 test "x$ac_site_file" = xNONE && continue 2576 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2578$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2579 sed 's/^/| /' "$ac_site_file" >&5 2580 . "$ac_site_file" \ 2581 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2582$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2583as_fn_error $? "failed to load site script $ac_site_file 2584See \`config.log' for more details" "$LINENO" 5; } 2585 fi 2586done 2587 2588if test -r "$cache_file"; then 2589 # Some versions of bash will fail to source /dev/null (special files 2590 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2591 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2593$as_echo "$as_me: loading cache $cache_file" >&6;} 2594 case $cache_file in 2595 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2596 *) . "./$cache_file";; 2597 esac 2598 fi 2599else 2600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2601$as_echo "$as_me: creating cache $cache_file" >&6;} 2602 >$cache_file 2603fi 2604 2605as_fn_append ac_header_list " unistd.h" 2606as_fn_append ac_header_list " sys/random.h" 2607as_fn_append ac_header_list " sys/time.h" 2608as_fn_append ac_header_list " sys/times.h" 2609as_fn_append ac_header_list " sys/resource.h" 2610as_fn_append ac_header_list " sys/types.h" 2611as_fn_append ac_header_list " sys/stat.h" 2612as_fn_append ac_header_list " sys/uio.h" 2613as_fn_append ac_header_list " sys/wait.h" 2614as_fn_append ac_header_list " floatingpoint.h" 2615as_fn_append ac_header_list " ieeefp.h" 2616as_fn_append ac_header_list " fenv.h" 2617as_fn_append ac_header_list " fptrap.h" 2618as_fn_append ac_header_list " fpxcp.h" 2619as_fn_append ac_header_list " pwd.h" 2620as_fn_append ac_header_list " complex.h" 2621as_fn_append ac_header_list " xlocale.h" 2622as_fn_append ac_func_list " getrusage" 2623as_fn_append ac_func_list " times" 2624as_fn_append ac_func_list " mkstemp" 2625as_fn_append ac_func_list " strtof" 2626as_fn_append ac_func_list " strtold" 2627as_fn_append ac_func_list " snprintf" 2628as_fn_append ac_func_list " ftruncate" 2629as_fn_append ac_func_list " chsize" 2630as_fn_append ac_func_list " chdir" 2631as_fn_append ac_func_list " getentropy" 2632as_fn_append ac_func_list " getlogin" 2633as_fn_append ac_func_list " gethostname" 2634as_fn_append ac_func_list " kill" 2635as_fn_append ac_func_list " link" 2636as_fn_append ac_func_list " symlink" 2637as_fn_append ac_func_list " sleep" 2638as_fn_append ac_func_list " ttyname" 2639as_fn_append ac_func_list " sigaction" 2640as_fn_append ac_func_list " waitpid" 2641as_fn_append ac_func_list " alarm" 2642as_fn_append ac_func_list " access" 2643as_fn_append ac_func_list " fork" 2644as_fn_append ac_func_list " posix_spawn" 2645as_fn_append ac_func_list " setmode" 2646as_fn_append ac_func_list " fcntl" 2647as_fn_append ac_func_list " writev" 2648as_fn_append ac_func_list " gettimeofday" 2649as_fn_append ac_func_list " stat" 2650as_fn_append ac_func_list " fstat" 2651as_fn_append ac_func_list " lstat" 2652as_fn_append ac_func_list " getpwuid" 2653as_fn_append ac_func_list " vsnprintf" 2654as_fn_append ac_func_list " dup" 2655as_fn_append ac_func_list " getcwd" 2656as_fn_append ac_func_list " localtime_r" 2657as_fn_append ac_func_list " gmtime_r" 2658as_fn_append ac_func_list " getpwuid_r" 2659as_fn_append ac_func_list " ttyname_r" 2660as_fn_append ac_func_list " clock_gettime" 2661as_fn_append ac_func_list " getgid" 2662as_fn_append ac_func_list " getpid" 2663as_fn_append ac_func_list " getuid" 2664as_fn_append ac_func_list " geteuid" 2665as_fn_append ac_func_list " umask" 2666as_fn_append ac_func_list " getegid" 2667as_fn_append ac_func_list " secure_getenv" 2668as_fn_append ac_func_list " __secure_getenv" 2669as_fn_append ac_func_list " mkostemp" 2670as_fn_append ac_func_list " strnlen" 2671as_fn_append ac_func_list " strndup" 2672as_fn_append ac_func_list " newlocale" 2673as_fn_append ac_func_list " freelocale" 2674as_fn_append ac_func_list " uselocale" 2675as_fn_append ac_func_list " strerror_l" 2676as_fn_append ac_header_list " math.h" 2677# Check that the precious variables saved in the cache have kept the same 2678# value. 2679ac_cache_corrupted=false 2680for ac_var in $ac_precious_vars; do 2681 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2682 eval ac_new_set=\$ac_env_${ac_var}_set 2683 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2684 eval ac_new_val=\$ac_env_${ac_var}_value 2685 case $ac_old_set,$ac_new_set in 2686 set,) 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2688$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2689 ac_cache_corrupted=: ;; 2690 ,set) 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2692$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2693 ac_cache_corrupted=: ;; 2694 ,);; 2695 *) 2696 if test "x$ac_old_val" != "x$ac_new_val"; then 2697 # differences in whitespace do not lead to failure. 2698 ac_old_val_w=`echo x $ac_old_val` 2699 ac_new_val_w=`echo x $ac_new_val` 2700 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2702$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2703 ac_cache_corrupted=: 2704 else 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2706$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2707 eval $ac_var=\$ac_old_val 2708 fi 2709 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2710$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2711 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2712$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2713 fi;; 2714 esac 2715 # Pass precious variables to config.status. 2716 if test "$ac_new_set" = set; then 2717 case $ac_new_val in 2718 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2719 *) ac_arg=$ac_var=$ac_new_val ;; 2720 esac 2721 case " $ac_configure_args " in 2722 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2723 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2724 esac 2725 fi 2726done 2727if $ac_cache_corrupted; then 2728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2729$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2731$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2732 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2733fi 2734## -------------------- ## 2735## Main body of script. ## 2736## -------------------- ## 2737 2738ac_ext=c 2739ac_cpp='$CPP $CPPFLAGS' 2740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2742ac_compiler_gnu=$ac_cv_c_compiler_gnu 2743 2744 2745 2746 2747 2748ac_config_headers="$ac_config_headers config.h" 2749 2750ac_aux_dir= 2751for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2752 if test -f "$ac_dir/install-sh"; then 2753 ac_aux_dir=$ac_dir 2754 ac_install_sh="$ac_aux_dir/install-sh -c" 2755 break 2756 elif test -f "$ac_dir/install.sh"; then 2757 ac_aux_dir=$ac_dir 2758 ac_install_sh="$ac_aux_dir/install.sh -c" 2759 break 2760 elif test -f "$ac_dir/shtool"; then 2761 ac_aux_dir=$ac_dir 2762 ac_install_sh="$ac_aux_dir/shtool install -c" 2763 break 2764 fi 2765done 2766if test -z "$ac_aux_dir"; then 2767 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2768fi 2769 2770# These three variables are undocumented and unsupported, 2771# and are intended to be withdrawn in a future Autoconf release. 2772# They can cause serious problems if a builder's source tree is in a directory 2773# whose full name contains unusual characters. 2774ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2775ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2776ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2777 2778 2779# Make sure we can run config.sub. 2780$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2781 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2782 2783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2784$as_echo_n "checking build system type... " >&6; } 2785if ${ac_cv_build+:} false; then : 2786 $as_echo_n "(cached) " >&6 2787else 2788 ac_build_alias=$build_alias 2789test "x$ac_build_alias" = x && 2790 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2791test "x$ac_build_alias" = x && 2792 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2793ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2794 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2795 2796fi 2797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2798$as_echo "$ac_cv_build" >&6; } 2799case $ac_cv_build in 2800*-*-*) ;; 2801*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2802esac 2803build=$ac_cv_build 2804ac_save_IFS=$IFS; IFS='-' 2805set x $ac_cv_build 2806shift 2807build_cpu=$1 2808build_vendor=$2 2809shift; shift 2810# Remember, the first character of IFS is used to create $*, 2811# except with old shells: 2812build_os=$* 2813IFS=$ac_save_IFS 2814case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2815 2816 2817 case ${build_alias} in 2818 "") build_noncanonical=${build} ;; 2819 *) build_noncanonical=${build_alias} ;; 2820esac 2821 2822 case ${host_alias} in 2823 "") host_noncanonical=${build_noncanonical} ;; 2824 *) host_noncanonical=${host_alias} ;; 2825esac 2826 2827 case ${target_alias} in 2828 "") target_noncanonical=${host_noncanonical} ;; 2829 *) target_noncanonical=${target_alias} ;; 2830esac 2831 2832 2833# post-stage1 host modules use a different CC_FOR_BUILD so, in order to 2834# have matching libraries, they should use host libraries: Makefile.tpl 2835# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR). 2836# However, they still use the build modules, because the corresponding 2837# host modules (e.g. bison) are only built for the host when bootstrap 2838# finishes. So: 2839# - build_subdir is where we find build modules, and never changes. 2840# - build_libsubdir is where we find build libraries, and can be overridden. 2841 2842# Prefix 'build-' so this never conflicts with target_subdir. 2843build_subdir="build-${build_noncanonical}" 2844 2845# Check whether --with-build-libsubdir was given. 2846if test "${with_build_libsubdir+set}" = set; then : 2847 withval=$with_build_libsubdir; build_libsubdir="$withval" 2848else 2849 build_libsubdir="$build_subdir" 2850fi 2851 2852# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories 2853if ( test $srcdir = . && test -d gcc ) \ 2854 || test -d $srcdir/../host-${host_noncanonical}; then 2855 host_subdir="host-${host_noncanonical}" 2856else 2857 host_subdir=. 2858fi 2859# No prefix. 2860target_subdir=${target_noncanonical} 2861 2862 2863# ------- 2864# Options 2865# ------- 2866 2867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5 2868$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; } 2869# Check whether --enable-version-specific-runtime-libs was given. 2870if test "${enable_version_specific_runtime_libs+set}" = set; then : 2871 enableval=$enable_version_specific_runtime_libs; case "$enableval" in 2872 yes) version_specific_libs=yes ;; 2873 no) version_specific_libs=no ;; 2874 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;; 2875 esac 2876else 2877 version_specific_libs=no 2878fi 2879 2880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5 2881$as_echo "$version_specific_libs" >&6; } 2882 2883# Build with intermodule optimisations 2884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5 2885$as_echo_n "checking for --enable-intermodule... " >&6; } 2886# Check whether --enable-intermodule was given. 2887if test "${enable_intermodule+set}" = set; then : 2888 enableval=$enable_intermodule; case "$enable_intermodule" in 2889 yes) onestep="-onestep";; 2890 *) onestep="";; 2891esac 2892else 2893 onestep="" 2894fi 2895 2896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5 2897$as_echo "$enable_intermodule" >&6; } 2898 if test x$onestep = x-onestep; then 2899 onestep_TRUE= 2900 onestep_FALSE='#' 2901else 2902 onestep_TRUE='#' 2903 onestep_FALSE= 2904fi 2905 2906 2907 2908# Gets build, host, target, *_vendor, *_cpu, *_os, etc. 2909# 2910# You will slowly go insane if you do not grok the following fact: when 2911# building this library, the top-level /target/ becomes the library's /host/. 2912# 2913# configure then causes --target to default to --host, exactly like any 2914# other package using autoconf. Therefore, 'target' and 'host' will 2915# always be the same. This makes sense both for native and cross compilers 2916# just think about it for a little while. :-) 2917# 2918# Also, if this library is being configured as part of a cross compiler, the 2919# top-level configure script will pass the "real" host as $with_cross_host. 2920# 2921# Do not delete or change the following two lines. For why, see 2922# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html 2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2924$as_echo_n "checking host system type... " >&6; } 2925if ${ac_cv_host+:} false; then : 2926 $as_echo_n "(cached) " >&6 2927else 2928 if test "x$host_alias" = x; then 2929 ac_cv_host=$ac_cv_build 2930else 2931 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2932 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2933fi 2934 2935fi 2936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2937$as_echo "$ac_cv_host" >&6; } 2938case $ac_cv_host in 2939*-*-*) ;; 2940*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2941esac 2942host=$ac_cv_host 2943ac_save_IFS=$IFS; IFS='-' 2944set x $ac_cv_host 2945shift 2946host_cpu=$1 2947host_vendor=$2 2948shift; shift 2949# Remember, the first character of IFS is used to create $*, 2950# except with old shells: 2951host_os=$* 2952IFS=$ac_save_IFS 2953case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2954 2955 2956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2957$as_echo_n "checking target system type... " >&6; } 2958if ${ac_cv_target+:} false; then : 2959 $as_echo_n "(cached) " >&6 2960else 2961 if test "x$target_alias" = x; then 2962 ac_cv_target=$ac_cv_host 2963else 2964 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2965 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2966fi 2967 2968fi 2969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2970$as_echo "$ac_cv_target" >&6; } 2971case $ac_cv_target in 2972*-*-*) ;; 2973*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2974esac 2975target=$ac_cv_target 2976ac_save_IFS=$IFS; IFS='-' 2977set x $ac_cv_target 2978shift 2979target_cpu=$1 2980target_vendor=$2 2981shift; shift 2982# Remember, the first character of IFS is used to create $*, 2983# except with old shells: 2984target_os=$* 2985IFS=$ac_save_IFS 2986case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2987 2988 2989# The aliases save the names the user supplied, while $host etc. 2990# will get canonicalized. 2991test -n "$target_alias" && 2992 test "$program_prefix$program_suffix$program_transform_name" = \ 2993 NONENONEs,x,x, && 2994 program_prefix=${target_alias}- 2995 2996 2997 2998 2999target_alias=${target_alias-$host_alias} 3000 3001 3002# Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the 3003# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am. 3004# 1.9.6: minimum required version 3005# no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch 3006# of other PACKAGE_* variables will, however, and there's nothing 3007# we can do about that; they come from AC_INIT). 3008# foreign: we don't follow the normal rules for GNU packages (no COPYING 3009# file in the top srcdir, etc, etc), so stop complaining. 3010# no-dist: we don't want 'dist' and related rules. 3011# -Wall: turns on all automake warnings... 3012# -Wno-portability: ...except this one, since GNU make is required. 3013am__api_version='1.15' 3014 3015# Find a good install program. We prefer a C program (faster), 3016# so one script is as good as another. But avoid the broken or 3017# incompatible versions: 3018# SysV /etc/install, /usr/sbin/install 3019# SunOS /usr/etc/install 3020# IRIX /sbin/install 3021# AIX /bin/install 3022# AmigaOS /C/install, which installs bootblocks on floppy discs 3023# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3024# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3025# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3026# OS/2's system install, which has a completely different semantic 3027# ./install, which can be erroneously created by make from ./install.sh. 3028# Reject install programs that cannot install multiple files. 3029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3030$as_echo_n "checking for a BSD-compatible install... " >&6; } 3031if test -z "$INSTALL"; then 3032if ${ac_cv_path_install+:} false; then : 3033 $as_echo_n "(cached) " >&6 3034else 3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3036for as_dir in $PATH 3037do 3038 IFS=$as_save_IFS 3039 test -z "$as_dir" && as_dir=. 3040 # Account for people who put trailing slashes in PATH elements. 3041case $as_dir/ in #(( 3042 ./ | .// | /[cC]/* | \ 3043 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3044 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3045 /usr/ucb/* ) ;; 3046 *) 3047 # OSF1 and SCO ODT 3.0 have their own names for install. 3048 # Don't use installbsd from OSF since it installs stuff as root 3049 # by default. 3050 for ac_prog in ginstall scoinst install; do 3051 for ac_exec_ext in '' $ac_executable_extensions; do 3052 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3053 if test $ac_prog = install && 3054 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3055 # AIX install. It has an incompatible calling convention. 3056 : 3057 elif test $ac_prog = install && 3058 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3059 # program-specific install script used by HP pwplus--don't use. 3060 : 3061 else 3062 rm -rf conftest.one conftest.two conftest.dir 3063 echo one > conftest.one 3064 echo two > conftest.two 3065 mkdir conftest.dir 3066 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3067 test -s conftest.one && test -s conftest.two && 3068 test -s conftest.dir/conftest.one && 3069 test -s conftest.dir/conftest.two 3070 then 3071 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3072 break 3 3073 fi 3074 fi 3075 fi 3076 done 3077 done 3078 ;; 3079esac 3080 3081 done 3082IFS=$as_save_IFS 3083 3084rm -rf conftest.one conftest.two conftest.dir 3085 3086fi 3087 if test "${ac_cv_path_install+set}" = set; then 3088 INSTALL=$ac_cv_path_install 3089 else 3090 # As a last resort, use the slow shell script. Don't cache a 3091 # value for INSTALL within a source directory, because that will 3092 # break other packages using the cache if that directory is 3093 # removed, or if the value is a relative name. 3094 INSTALL=$ac_install_sh 3095 fi 3096fi 3097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3098$as_echo "$INSTALL" >&6; } 3099 3100# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3101# It thinks the first close brace ends the variable substitution. 3102test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3103 3104test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3105 3106test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3107 3108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3109$as_echo_n "checking whether build environment is sane... " >&6; } 3110# Reject unsafe characters in $srcdir or the absolute working directory 3111# name. Accept space and tab only in the latter. 3112am_lf=' 3113' 3114case `pwd` in 3115 *[\\\"\#\$\&\'\`$am_lf]*) 3116 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3117esac 3118case $srcdir in 3119 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3120 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3121esac 3122 3123# Do 'set' in a subshell so we don't clobber the current shell's 3124# arguments. Must try -L first in case configure is actually a 3125# symlink; some systems play weird games with the mod time of symlinks 3126# (eg FreeBSD returns the mod time of the symlink's containing 3127# directory). 3128if ( 3129 am_has_slept=no 3130 for am_try in 1 2; do 3131 echo "timestamp, slept: $am_has_slept" > conftest.file 3132 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3133 if test "$*" = "X"; then 3134 # -L didn't work. 3135 set X `ls -t "$srcdir/configure" conftest.file` 3136 fi 3137 if test "$*" != "X $srcdir/configure conftest.file" \ 3138 && test "$*" != "X conftest.file $srcdir/configure"; then 3139 3140 # If neither matched, then we have a broken ls. This can happen 3141 # if, for instance, CONFIG_SHELL is bash and it inherits a 3142 # broken ls alias from the environment. This has actually 3143 # happened. Such a system could not be considered "sane". 3144 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3145 alias in your environment" "$LINENO" 5 3146 fi 3147 if test "$2" = conftest.file || test $am_try -eq 2; then 3148 break 3149 fi 3150 # Just in case. 3151 sleep 1 3152 am_has_slept=yes 3153 done 3154 test "$2" = conftest.file 3155 ) 3156then 3157 # Ok. 3158 : 3159else 3160 as_fn_error $? "newly created file is older than distributed files! 3161Check your system clock" "$LINENO" 5 3162fi 3163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3164$as_echo "yes" >&6; } 3165# If we didn't sleep, we still need to ensure time stamps of config.status and 3166# generated files are strictly newer. 3167am_sleep_pid= 3168if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3169 ( sleep 1 ) & 3170 am_sleep_pid=$! 3171fi 3172 3173rm -f conftest.file 3174 3175test "$program_prefix" != NONE && 3176 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3177# Use a double $ so make ignores it. 3178test "$program_suffix" != NONE && 3179 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3180# Double any \ or $. 3181# By default was `s,x,x', remove it if useless. 3182ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3183program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3184 3185# Expand $ac_aux_dir to an absolute path. 3186am_aux_dir=`cd "$ac_aux_dir" && pwd` 3187 3188if test x"${MISSING+set}" != xset; then 3189 case $am_aux_dir in 3190 *\ * | *\ *) 3191 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3192 *) 3193 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3194 esac 3195fi 3196# Use eval to expand $SHELL 3197if eval "$MISSING --is-lightweight"; then 3198 am_missing_run="$MISSING " 3199else 3200 am_missing_run= 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3202$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3203fi 3204 3205if test x"${install_sh+set}" != xset; then 3206 case $am_aux_dir in 3207 *\ * | *\ *) 3208 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3209 *) 3210 install_sh="\${SHELL} $am_aux_dir/install-sh" 3211 esac 3212fi 3213 3214# Installed binaries are usually stripped using 'strip' when the user 3215# run "make install-strip". However 'strip' might not be the right 3216# tool to use in cross-compilation environments, therefore Automake 3217# will honor the 'STRIP' environment variable to overrule this program. 3218if test "$cross_compiling" != no; then 3219 if test -n "$ac_tool_prefix"; then 3220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3221set dummy ${ac_tool_prefix}strip; ac_word=$2 3222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3223$as_echo_n "checking for $ac_word... " >&6; } 3224if ${ac_cv_prog_STRIP+:} false; then : 3225 $as_echo_n "(cached) " >&6 3226else 3227 if test -n "$STRIP"; then 3228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3229else 3230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3231for as_dir in $PATH 3232do 3233 IFS=$as_save_IFS 3234 test -z "$as_dir" && as_dir=. 3235 for ac_exec_ext in '' $ac_executable_extensions; do 3236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3237 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3239 break 2 3240 fi 3241done 3242 done 3243IFS=$as_save_IFS 3244 3245fi 3246fi 3247STRIP=$ac_cv_prog_STRIP 3248if test -n "$STRIP"; then 3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3250$as_echo "$STRIP" >&6; } 3251else 3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3253$as_echo "no" >&6; } 3254fi 3255 3256 3257fi 3258if test -z "$ac_cv_prog_STRIP"; then 3259 ac_ct_STRIP=$STRIP 3260 # Extract the first word of "strip", so it can be a program name with args. 3261set dummy strip; ac_word=$2 3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3263$as_echo_n "checking for $ac_word... " >&6; } 3264if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3265 $as_echo_n "(cached) " >&6 3266else 3267 if test -n "$ac_ct_STRIP"; then 3268 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3269else 3270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3271for as_dir in $PATH 3272do 3273 IFS=$as_save_IFS 3274 test -z "$as_dir" && as_dir=. 3275 for ac_exec_ext in '' $ac_executable_extensions; do 3276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3277 ac_cv_prog_ac_ct_STRIP="strip" 3278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3279 break 2 3280 fi 3281done 3282 done 3283IFS=$as_save_IFS 3284 3285fi 3286fi 3287ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3288if test -n "$ac_ct_STRIP"; then 3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3290$as_echo "$ac_ct_STRIP" >&6; } 3291else 3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3293$as_echo "no" >&6; } 3294fi 3295 3296 if test "x$ac_ct_STRIP" = x; then 3297 STRIP=":" 3298 else 3299 case $cross_compiling:$ac_tool_warned in 3300yes:) 3301{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3302$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3303ac_tool_warned=yes ;; 3304esac 3305 STRIP=$ac_ct_STRIP 3306 fi 3307else 3308 STRIP="$ac_cv_prog_STRIP" 3309fi 3310 3311fi 3312INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3313 3314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3315$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3316if test -z "$MKDIR_P"; then 3317 if ${ac_cv_path_mkdir+:} false; then : 3318 $as_echo_n "(cached) " >&6 3319else 3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3321for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3322do 3323 IFS=$as_save_IFS 3324 test -z "$as_dir" && as_dir=. 3325 for ac_prog in mkdir gmkdir; do 3326 for ac_exec_ext in '' $ac_executable_extensions; do 3327 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3328 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3329 'mkdir (GNU coreutils) '* | \ 3330 'mkdir (coreutils) '* | \ 3331 'mkdir (fileutils) '4.1*) 3332 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3333 break 3;; 3334 esac 3335 done 3336 done 3337 done 3338IFS=$as_save_IFS 3339 3340fi 3341 3342 test -d ./--version && rmdir ./--version 3343 if test "${ac_cv_path_mkdir+set}" = set; then 3344 MKDIR_P="$ac_cv_path_mkdir -p" 3345 else 3346 # As a last resort, use the slow shell script. Don't cache a 3347 # value for MKDIR_P within a source directory, because that will 3348 # break other packages using the cache if that directory is 3349 # removed, or if the value is a relative name. 3350 MKDIR_P="$ac_install_sh -d" 3351 fi 3352fi 3353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3354$as_echo "$MKDIR_P" >&6; } 3355 3356for ac_prog in gawk mawk nawk awk 3357do 3358 # Extract the first word of "$ac_prog", so it can be a program name with args. 3359set dummy $ac_prog; ac_word=$2 3360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3361$as_echo_n "checking for $ac_word... " >&6; } 3362if ${ac_cv_prog_AWK+:} false; then : 3363 $as_echo_n "(cached) " >&6 3364else 3365 if test -n "$AWK"; then 3366 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3367else 3368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3369for as_dir in $PATH 3370do 3371 IFS=$as_save_IFS 3372 test -z "$as_dir" && as_dir=. 3373 for ac_exec_ext in '' $ac_executable_extensions; do 3374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3375 ac_cv_prog_AWK="$ac_prog" 3376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3377 break 2 3378 fi 3379done 3380 done 3381IFS=$as_save_IFS 3382 3383fi 3384fi 3385AWK=$ac_cv_prog_AWK 3386if test -n "$AWK"; then 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3388$as_echo "$AWK" >&6; } 3389else 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3391$as_echo "no" >&6; } 3392fi 3393 3394 3395 test -n "$AWK" && break 3396done 3397 3398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3399$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3400set x ${MAKE-make} 3401ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3402if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3403 $as_echo_n "(cached) " >&6 3404else 3405 cat >conftest.make <<\_ACEOF 3406SHELL = /bin/sh 3407all: 3408 @echo '@@@%%%=$(MAKE)=@@@%%%' 3409_ACEOF 3410# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3411case `${MAKE-make} -f conftest.make 2>/dev/null` in 3412 *@@@%%%=?*=@@@%%%*) 3413 eval ac_cv_prog_make_${ac_make}_set=yes;; 3414 *) 3415 eval ac_cv_prog_make_${ac_make}_set=no;; 3416esac 3417rm -f conftest.make 3418fi 3419if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3421$as_echo "yes" >&6; } 3422 SET_MAKE= 3423else 3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3425$as_echo "no" >&6; } 3426 SET_MAKE="MAKE=${MAKE-make}" 3427fi 3428 3429rm -rf .tst 2>/dev/null 3430mkdir .tst 2>/dev/null 3431if test -d .tst; then 3432 am__leading_dot=. 3433else 3434 am__leading_dot=_ 3435fi 3436rmdir .tst 2>/dev/null 3437 3438# Check whether --enable-silent-rules was given. 3439if test "${enable_silent_rules+set}" = set; then : 3440 enableval=$enable_silent_rules; 3441fi 3442 3443case $enable_silent_rules in # ((( 3444 yes) AM_DEFAULT_VERBOSITY=0;; 3445 no) AM_DEFAULT_VERBOSITY=1;; 3446 *) AM_DEFAULT_VERBOSITY=1;; 3447esac 3448am_make=${MAKE-make} 3449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3450$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3451if ${am_cv_make_support_nested_variables+:} false; then : 3452 $as_echo_n "(cached) " >&6 3453else 3454 if $as_echo 'TRUE=$(BAR$(V)) 3455BAR0=false 3456BAR1=true 3457V=1 3458am__doit: 3459 @$(TRUE) 3460.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3461 am_cv_make_support_nested_variables=yes 3462else 3463 am_cv_make_support_nested_variables=no 3464fi 3465fi 3466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3467$as_echo "$am_cv_make_support_nested_variables" >&6; } 3468if test $am_cv_make_support_nested_variables = yes; then 3469 AM_V='$(V)' 3470 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3471else 3472 AM_V=$AM_DEFAULT_VERBOSITY 3473 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3474fi 3475AM_BACKSLASH='\' 3476 3477if test "`cd $srcdir && pwd`" != "`pwd`"; then 3478 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3479 # is not polluted with repeated "-I." 3480 am__isrc=' -I$(srcdir)' 3481 # test to see if srcdir already configured 3482 if test -f $srcdir/config.status; then 3483 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3484 fi 3485fi 3486 3487# test whether we have cygpath 3488if test -z "$CYGPATH_W"; then 3489 if (cygpath --version) >/dev/null 2>/dev/null; then 3490 CYGPATH_W='cygpath -w' 3491 else 3492 CYGPATH_W=echo 3493 fi 3494fi 3495 3496 3497# Define the identity of the package. 3498 PACKAGE='libgfortran' 3499 VERSION='0.3' 3500 3501 3502# Some tools Automake needs. 3503 3504ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3505 3506 3507AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3508 3509 3510AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3511 3512 3513AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3514 3515 3516MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3517 3518# For better backward compatibility. To be removed once Automake 1.9.x 3519# dies out for good. For more background, see: 3520# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3521# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3522mkdir_p='$(MKDIR_P)' 3523 3524# We need awk for the "check" target (and possibly the TAP driver). The 3525# system "awk" is bad on some platforms. 3526# Always define AMTAR for backward compatibility. Yes, it's still used 3527# in the wild :-( We should find a proper way to deprecate it ... 3528AMTAR='$${TAR-tar}' 3529 3530 3531# We'll loop over all known methods to create a tar archive until one works. 3532_am_tools='gnutar pax cpio none' 3533 3534am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3535 3536 3537 3538 3539 3540 3541# POSIX will say in a future version that running "rm -f" with no argument 3542# is OK; and we want to be able to make that assumption in our Makefile 3543# recipes. So use an aggressive probe to check that the usage we want is 3544# actually supported "in the wild" to an acceptable degree. 3545# See automake bug#10828. 3546# To make any issue more visible, cause the running configure to be aborted 3547# by default if the 'rm' program in use doesn't match our expectations; the 3548# user can still override this though. 3549if rm -f && rm -fr && rm -rf; then : OK; else 3550 cat >&2 <<'END' 3551Oops! 3552 3553Your 'rm' program seems unable to run without file operands specified 3554on the command line, even when the '-f' option is present. This is contrary 3555to the behaviour of most rm programs out there, and not conforming with 3556the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3557 3558Please tell bug-automake@gnu.org about your system, including the value 3559of your $PATH and any error possibly output before this message. This 3560can help us improve future automake versions. 3561 3562END 3563 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3564 echo 'Configuration will proceed anyway, since you have set the' >&2 3565 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3566 echo >&2 3567 else 3568 cat >&2 <<'END' 3569Aborting the configuration process, to ensure you take notice of the issue. 3570 3571You can download and install GNU coreutils to get an 'rm' implementation 3572that behaves properly: <http://www.gnu.org/software/coreutils/>. 3573 3574If you want to complete the configuration process using your problematic 3575'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3576to "yes", and re-run configure. 3577 3578END 3579 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3580 fi 3581fi 3582 3583 3584 3585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3586$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3587 # Check whether --enable-maintainer-mode was given. 3588if test "${enable_maintainer_mode+set}" = set; then : 3589 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3590else 3591 USE_MAINTAINER_MODE=no 3592fi 3593 3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3595$as_echo "$USE_MAINTAINER_MODE" >&6; } 3596 if test $USE_MAINTAINER_MODE = yes; then 3597 MAINTAINER_MODE_TRUE= 3598 MAINTAINER_MODE_FALSE='#' 3599else 3600 MAINTAINER_MODE_TRUE='#' 3601 MAINTAINER_MODE_FALSE= 3602fi 3603 3604 MAINT=$MAINTAINER_MODE_TRUE 3605 3606 3607# Default to --enable-multilib 3608# Check whether --enable-multilib was given. 3609if test "${enable_multilib+set}" = set; then : 3610 enableval=$enable_multilib; case "$enableval" in 3611 yes) multilib=yes ;; 3612 no) multilib=no ;; 3613 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;; 3614 esac 3615else 3616 multilib=yes 3617fi 3618 3619 3620# We may get other options which we leave undocumented: 3621# --with-target-subdir, --with-multisrctop, --with-multisubdir 3622# See config-ml.in if you want the gory details. 3623 3624if test "$srcdir" = "."; then 3625 if test "$with_target_subdir" != "."; then 3626 multi_basedir="$srcdir/$with_multisrctop../.." 3627 else 3628 multi_basedir="$srcdir/$with_multisrctop.." 3629 fi 3630else 3631 multi_basedir="$srcdir/.." 3632fi 3633 3634 3635# Even if the default multilib is not a cross compilation, 3636# it may be that some of the other multilibs are. 3637if test $cross_compiling = no && test $multilib = yes \ 3638 && test "x${with_multisubdir}" != x ; then 3639 cross_compiling=maybe 3640fi 3641 3642ac_config_commands="$ac_config_commands default-1" 3643 3644 3645# Handy for debugging: 3646#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5 3647 3648# Are we being configured with some form of cross compiler? 3649# NB: We don't actually need to know this just now, but when, say, a test 3650# suite is included, we'll have to know. 3651if test "$build" != "$host"; then 3652 LIBGFOR_IS_NATIVE=false 3653 3654else 3655 LIBGFOR_IS_NATIVE=true 3656fi 3657 3658DEPDIR="${am__leading_dot}deps" 3659 3660ac_config_commands="$ac_config_commands depfiles" 3661 3662 3663am_make=${MAKE-make} 3664cat > confinc << 'END' 3665am__doit: 3666 @echo this is the am__doit target 3667.PHONY: am__doit 3668END 3669# If we don't find an include directive, just comment out the code. 3670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3671$as_echo_n "checking for style of include used by $am_make... " >&6; } 3672am__include="#" 3673am__quote= 3674_am_result=none 3675# First try GNU make style include. 3676echo "include confinc" > confmf 3677# Ignore all kinds of additional output from 'make'. 3678case `$am_make -s -f confmf 2> /dev/null` in #( 3679*the\ am__doit\ target*) 3680 am__include=include 3681 am__quote= 3682 _am_result=GNU 3683 ;; 3684esac 3685# Now try BSD make style include. 3686if test "$am__include" = "#"; then 3687 echo '.include "confinc"' > confmf 3688 case `$am_make -s -f confmf 2> /dev/null` in #( 3689 *the\ am__doit\ target*) 3690 am__include=.include 3691 am__quote="\"" 3692 _am_result=BSD 3693 ;; 3694 esac 3695fi 3696 3697 3698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3699$as_echo "$_am_result" >&6; } 3700rm -f confinc confmf 3701 3702# Check whether --enable-dependency-tracking was given. 3703if test "${enable_dependency_tracking+set}" = set; then : 3704 enableval=$enable_dependency_tracking; 3705fi 3706 3707if test "x$enable_dependency_tracking" != xno; then 3708 am_depcomp="$ac_aux_dir/depcomp" 3709 AMDEPBACKSLASH='\' 3710 am__nodep='_no' 3711fi 3712 if test "x$enable_dependency_tracking" != xno; then 3713 AMDEP_TRUE= 3714 AMDEP_FALSE='#' 3715else 3716 AMDEP_TRUE='#' 3717 AMDEP_FALSE= 3718fi 3719 3720 3721ac_ext=c 3722ac_cpp='$CPP $CPPFLAGS' 3723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3725ac_compiler_gnu=$ac_cv_c_compiler_gnu 3726if test -n "$ac_tool_prefix"; then 3727 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3728set dummy ${ac_tool_prefix}gcc; ac_word=$2 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3730$as_echo_n "checking for $ac_word... " >&6; } 3731if ${ac_cv_prog_CC+:} false; then : 3732 $as_echo_n "(cached) " >&6 3733else 3734 if test -n "$CC"; then 3735 ac_cv_prog_CC="$CC" # Let the user override the test. 3736else 3737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3738for as_dir in $PATH 3739do 3740 IFS=$as_save_IFS 3741 test -z "$as_dir" && as_dir=. 3742 for ac_exec_ext in '' $ac_executable_extensions; do 3743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3744 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3746 break 2 3747 fi 3748done 3749 done 3750IFS=$as_save_IFS 3751 3752fi 3753fi 3754CC=$ac_cv_prog_CC 3755if test -n "$CC"; then 3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3757$as_echo "$CC" >&6; } 3758else 3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3760$as_echo "no" >&6; } 3761fi 3762 3763 3764fi 3765if test -z "$ac_cv_prog_CC"; then 3766 ac_ct_CC=$CC 3767 # Extract the first word of "gcc", so it can be a program name with args. 3768set dummy gcc; ac_word=$2 3769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3770$as_echo_n "checking for $ac_word... " >&6; } 3771if ${ac_cv_prog_ac_ct_CC+:} false; then : 3772 $as_echo_n "(cached) " >&6 3773else 3774 if test -n "$ac_ct_CC"; then 3775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3776else 3777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3778for as_dir in $PATH 3779do 3780 IFS=$as_save_IFS 3781 test -z "$as_dir" && as_dir=. 3782 for ac_exec_ext in '' $ac_executable_extensions; do 3783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3784 ac_cv_prog_ac_ct_CC="gcc" 3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3786 break 2 3787 fi 3788done 3789 done 3790IFS=$as_save_IFS 3791 3792fi 3793fi 3794ac_ct_CC=$ac_cv_prog_ac_ct_CC 3795if test -n "$ac_ct_CC"; then 3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3797$as_echo "$ac_ct_CC" >&6; } 3798else 3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3800$as_echo "no" >&6; } 3801fi 3802 3803 if test "x$ac_ct_CC" = x; then 3804 CC="" 3805 else 3806 case $cross_compiling:$ac_tool_warned in 3807yes:) 3808{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3809$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3810ac_tool_warned=yes ;; 3811esac 3812 CC=$ac_ct_CC 3813 fi 3814else 3815 CC="$ac_cv_prog_CC" 3816fi 3817 3818if test -z "$CC"; then 3819 if test -n "$ac_tool_prefix"; then 3820 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3821set dummy ${ac_tool_prefix}cc; ac_word=$2 3822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3823$as_echo_n "checking for $ac_word... " >&6; } 3824if ${ac_cv_prog_CC+:} false; then : 3825 $as_echo_n "(cached) " >&6 3826else 3827 if test -n "$CC"; then 3828 ac_cv_prog_CC="$CC" # Let the user override the test. 3829else 3830as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3831for as_dir in $PATH 3832do 3833 IFS=$as_save_IFS 3834 test -z "$as_dir" && as_dir=. 3835 for ac_exec_ext in '' $ac_executable_extensions; do 3836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3837 ac_cv_prog_CC="${ac_tool_prefix}cc" 3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3839 break 2 3840 fi 3841done 3842 done 3843IFS=$as_save_IFS 3844 3845fi 3846fi 3847CC=$ac_cv_prog_CC 3848if test -n "$CC"; then 3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3850$as_echo "$CC" >&6; } 3851else 3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3853$as_echo "no" >&6; } 3854fi 3855 3856 3857 fi 3858fi 3859if test -z "$CC"; then 3860 # Extract the first word of "cc", so it can be a program name with args. 3861set dummy cc; ac_word=$2 3862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3863$as_echo_n "checking for $ac_word... " >&6; } 3864if ${ac_cv_prog_CC+:} false; then : 3865 $as_echo_n "(cached) " >&6 3866else 3867 if test -n "$CC"; then 3868 ac_cv_prog_CC="$CC" # Let the user override the test. 3869else 3870 ac_prog_rejected=no 3871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3872for as_dir in $PATH 3873do 3874 IFS=$as_save_IFS 3875 test -z "$as_dir" && as_dir=. 3876 for ac_exec_ext in '' $ac_executable_extensions; do 3877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3878 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3879 ac_prog_rejected=yes 3880 continue 3881 fi 3882 ac_cv_prog_CC="cc" 3883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3884 break 2 3885 fi 3886done 3887 done 3888IFS=$as_save_IFS 3889 3890if test $ac_prog_rejected = yes; then 3891 # We found a bogon in the path, so make sure we never use it. 3892 set dummy $ac_cv_prog_CC 3893 shift 3894 if test $# != 0; then 3895 # We chose a different compiler from the bogus one. 3896 # However, it has the same basename, so the bogon will be chosen 3897 # first if we set CC to just the basename; use the full file name. 3898 shift 3899 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3900 fi 3901fi 3902fi 3903fi 3904CC=$ac_cv_prog_CC 3905if test -n "$CC"; then 3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3907$as_echo "$CC" >&6; } 3908else 3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3910$as_echo "no" >&6; } 3911fi 3912 3913 3914fi 3915if test -z "$CC"; then 3916 if test -n "$ac_tool_prefix"; then 3917 for ac_prog in cl.exe 3918 do 3919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3920set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3922$as_echo_n "checking for $ac_word... " >&6; } 3923if ${ac_cv_prog_CC+:} false; then : 3924 $as_echo_n "(cached) " >&6 3925else 3926 if test -n "$CC"; then 3927 ac_cv_prog_CC="$CC" # Let the user override the test. 3928else 3929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3930for as_dir in $PATH 3931do 3932 IFS=$as_save_IFS 3933 test -z "$as_dir" && as_dir=. 3934 for ac_exec_ext in '' $ac_executable_extensions; do 3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3936 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3938 break 2 3939 fi 3940done 3941 done 3942IFS=$as_save_IFS 3943 3944fi 3945fi 3946CC=$ac_cv_prog_CC 3947if test -n "$CC"; then 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3949$as_echo "$CC" >&6; } 3950else 3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3952$as_echo "no" >&6; } 3953fi 3954 3955 3956 test -n "$CC" && break 3957 done 3958fi 3959if test -z "$CC"; then 3960 ac_ct_CC=$CC 3961 for ac_prog in cl.exe 3962do 3963 # Extract the first word of "$ac_prog", so it can be a program name with args. 3964set dummy $ac_prog; ac_word=$2 3965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3966$as_echo_n "checking for $ac_word... " >&6; } 3967if ${ac_cv_prog_ac_ct_CC+:} false; then : 3968 $as_echo_n "(cached) " >&6 3969else 3970 if test -n "$ac_ct_CC"; then 3971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3972else 3973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3974for as_dir in $PATH 3975do 3976 IFS=$as_save_IFS 3977 test -z "$as_dir" && as_dir=. 3978 for ac_exec_ext in '' $ac_executable_extensions; do 3979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3980 ac_cv_prog_ac_ct_CC="$ac_prog" 3981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3982 break 2 3983 fi 3984done 3985 done 3986IFS=$as_save_IFS 3987 3988fi 3989fi 3990ac_ct_CC=$ac_cv_prog_ac_ct_CC 3991if test -n "$ac_ct_CC"; then 3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3993$as_echo "$ac_ct_CC" >&6; } 3994else 3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3996$as_echo "no" >&6; } 3997fi 3998 3999 4000 test -n "$ac_ct_CC" && break 4001done 4002 4003 if test "x$ac_ct_CC" = x; then 4004 CC="" 4005 else 4006 case $cross_compiling:$ac_tool_warned in 4007yes:) 4008{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4009$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4010ac_tool_warned=yes ;; 4011esac 4012 CC=$ac_ct_CC 4013 fi 4014fi 4015 4016fi 4017 4018 4019test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4020$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4021as_fn_error $? "no acceptable C compiler found in \$PATH 4022See \`config.log' for more details" "$LINENO" 5; } 4023 4024# Provide some information about the compiler. 4025$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4026set X $ac_compile 4027ac_compiler=$2 4028for ac_option in --version -v -V -qversion; do 4029 { { ac_try="$ac_compiler $ac_option >&5" 4030case "(($ac_try" in 4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4032 *) ac_try_echo=$ac_try;; 4033esac 4034eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4035$as_echo "$ac_try_echo"; } >&5 4036 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4037 ac_status=$? 4038 if test -s conftest.err; then 4039 sed '10a\ 4040... rest of stderr output deleted ... 4041 10q' conftest.err >conftest.er1 4042 cat conftest.er1 >&5 4043 fi 4044 rm -f conftest.er1 conftest.err 4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4046 test $ac_status = 0; } 4047done 4048 4049cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4050/* end confdefs.h. */ 4051#include <stdio.h> 4052int 4053main () 4054{ 4055printf ("hello world\n"); 4056 ; 4057 return 0; 4058} 4059_ACEOF 4060# FIXME: Cleanup? 4061if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 4062 (eval $ac_link) 2>&5 4063 ac_status=$? 4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4065 test $ac_status = 0; }; then : 4066 gcc_no_link=no 4067else 4068 gcc_no_link=yes 4069fi 4070if test x$gcc_no_link = xyes; then 4071 # Setting cross_compile will disable run tests; it will 4072 # also disable AC_CHECK_FILE but that's generally 4073 # correct if we can't link. 4074 cross_compiling=yes 4075 EXEEXT= 4076else 4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4078/* end confdefs.h. */ 4079 4080int 4081main () 4082{ 4083 4084 ; 4085 return 0; 4086} 4087_ACEOF 4088ac_clean_files_save=$ac_clean_files 4089ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4090# Try to create an executable without -o first, disregard a.out. 4091# It will help us diagnose broken compilers, and finding out an intuition 4092# of exeext. 4093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4094$as_echo_n "checking whether the C compiler works... " >&6; } 4095ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4096 4097# The possible output files: 4098ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4099 4100ac_rmfiles= 4101for ac_file in $ac_files 4102do 4103 case $ac_file in 4104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4105 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4106 esac 4107done 4108rm -f $ac_rmfiles 4109 4110if { { ac_try="$ac_link_default" 4111case "(($ac_try" in 4112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4113 *) ac_try_echo=$ac_try;; 4114esac 4115eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4116$as_echo "$ac_try_echo"; } >&5 4117 (eval "$ac_link_default") 2>&5 4118 ac_status=$? 4119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4120 test $ac_status = 0; }; then : 4121 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4122# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4123# in a Makefile. We should not override ac_cv_exeext if it was cached, 4124# so that the user can short-circuit this test for compilers unknown to 4125# Autoconf. 4126for ac_file in $ac_files '' 4127do 4128 test -f "$ac_file" || continue 4129 case $ac_file in 4130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4131 ;; 4132 [ab].out ) 4133 # We found the default executable, but exeext='' is most 4134 # certainly right. 4135 break;; 4136 *.* ) 4137 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4138 then :; else 4139 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4140 fi 4141 # We set ac_cv_exeext here because the later test for it is not 4142 # safe: cross compilers may not add the suffix if given an `-o' 4143 # argument, so we may need to know it at that point already. 4144 # Even if this section looks crufty: it has the advantage of 4145 # actually working. 4146 break;; 4147 * ) 4148 break;; 4149 esac 4150done 4151test "$ac_cv_exeext" = no && ac_cv_exeext= 4152 4153else 4154 ac_file='' 4155fi 4156if test -z "$ac_file"; then : 4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4158$as_echo "no" >&6; } 4159$as_echo "$as_me: failed program was:" >&5 4160sed 's/^/| /' conftest.$ac_ext >&5 4161 4162{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4163$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4164as_fn_error 77 "C compiler cannot create executables 4165See \`config.log' for more details" "$LINENO" 5; } 4166else 4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4168$as_echo "yes" >&6; } 4169fi 4170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4171$as_echo_n "checking for C compiler default output file name... " >&6; } 4172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4173$as_echo "$ac_file" >&6; } 4174ac_exeext=$ac_cv_exeext 4175 4176rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4177ac_clean_files=$ac_clean_files_save 4178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4179$as_echo_n "checking for suffix of executables... " >&6; } 4180if { { ac_try="$ac_link" 4181case "(($ac_try" in 4182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4183 *) ac_try_echo=$ac_try;; 4184esac 4185eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4186$as_echo "$ac_try_echo"; } >&5 4187 (eval "$ac_link") 2>&5 4188 ac_status=$? 4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4190 test $ac_status = 0; }; then : 4191 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4192# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4193# work properly (i.e., refer to `conftest.exe'), while it won't with 4194# `rm'. 4195for ac_file in conftest.exe conftest conftest.*; do 4196 test -f "$ac_file" || continue 4197 case $ac_file in 4198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4199 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4200 break;; 4201 * ) break;; 4202 esac 4203done 4204else 4205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4206$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4207as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4208See \`config.log' for more details" "$LINENO" 5; } 4209fi 4210rm -f conftest conftest$ac_cv_exeext 4211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4212$as_echo "$ac_cv_exeext" >&6; } 4213 4214rm -f conftest.$ac_ext 4215EXEEXT=$ac_cv_exeext 4216ac_exeext=$EXEEXT 4217cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4218/* end confdefs.h. */ 4219#include <stdio.h> 4220int 4221main () 4222{ 4223FILE *f = fopen ("conftest.out", "w"); 4224 return ferror (f) || fclose (f) != 0; 4225 4226 ; 4227 return 0; 4228} 4229_ACEOF 4230ac_clean_files="$ac_clean_files conftest.out" 4231# Check that the compiler produces executables we can run. If not, either 4232# the compiler is broken, or we cross compile. 4233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4234$as_echo_n "checking whether we are cross compiling... " >&6; } 4235if test "$cross_compiling" != yes; then 4236 { { ac_try="$ac_link" 4237case "(($ac_try" in 4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4239 *) ac_try_echo=$ac_try;; 4240esac 4241eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4242$as_echo "$ac_try_echo"; } >&5 4243 (eval "$ac_link") 2>&5 4244 ac_status=$? 4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4246 test $ac_status = 0; } 4247 if { ac_try='./conftest$ac_cv_exeext' 4248 { { case "(($ac_try" in 4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4250 *) ac_try_echo=$ac_try;; 4251esac 4252eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4253$as_echo "$ac_try_echo"; } >&5 4254 (eval "$ac_try") 2>&5 4255 ac_status=$? 4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4257 test $ac_status = 0; }; }; then 4258 cross_compiling=no 4259 else 4260 if test "$cross_compiling" = maybe; then 4261 cross_compiling=yes 4262 else 4263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4264$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4265as_fn_error $? "cannot run C compiled programs. 4266If you meant to cross compile, use \`--host'. 4267See \`config.log' for more details" "$LINENO" 5; } 4268 fi 4269 fi 4270fi 4271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4272$as_echo "$cross_compiling" >&6; } 4273 4274rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4275ac_clean_files=$ac_clean_files_save 4276fi 4277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4278$as_echo_n "checking for suffix of object files... " >&6; } 4279if ${ac_cv_objext+:} false; then : 4280 $as_echo_n "(cached) " >&6 4281else 4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4283/* end confdefs.h. */ 4284 4285int 4286main () 4287{ 4288 4289 ; 4290 return 0; 4291} 4292_ACEOF 4293rm -f conftest.o conftest.obj 4294if { { ac_try="$ac_compile" 4295case "(($ac_try" in 4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4297 *) ac_try_echo=$ac_try;; 4298esac 4299eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4300$as_echo "$ac_try_echo"; } >&5 4301 (eval "$ac_compile") 2>&5 4302 ac_status=$? 4303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4304 test $ac_status = 0; }; then : 4305 for ac_file in conftest.o conftest.obj conftest.*; do 4306 test -f "$ac_file" || continue; 4307 case $ac_file in 4308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4309 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4310 break;; 4311 esac 4312done 4313else 4314 $as_echo "$as_me: failed program was:" >&5 4315sed 's/^/| /' conftest.$ac_ext >&5 4316 4317{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4318$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4319as_fn_error $? "cannot compute suffix of object files: cannot compile 4320See \`config.log' for more details" "$LINENO" 5; } 4321fi 4322rm -f conftest.$ac_cv_objext conftest.$ac_ext 4323fi 4324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4325$as_echo "$ac_cv_objext" >&6; } 4326OBJEXT=$ac_cv_objext 4327ac_objext=$OBJEXT 4328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4329$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4330if ${ac_cv_c_compiler_gnu+:} false; then : 4331 $as_echo_n "(cached) " >&6 4332else 4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4334/* end confdefs.h. */ 4335 4336int 4337main () 4338{ 4339#ifndef __GNUC__ 4340 choke me 4341#endif 4342 4343 ; 4344 return 0; 4345} 4346_ACEOF 4347if ac_fn_c_try_compile "$LINENO"; then : 4348 ac_compiler_gnu=yes 4349else 4350 ac_compiler_gnu=no 4351fi 4352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4353ac_cv_c_compiler_gnu=$ac_compiler_gnu 4354 4355fi 4356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4357$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4358if test $ac_compiler_gnu = yes; then 4359 GCC=yes 4360else 4361 GCC= 4362fi 4363ac_test_CFLAGS=${CFLAGS+set} 4364ac_save_CFLAGS=$CFLAGS 4365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4366$as_echo_n "checking whether $CC accepts -g... " >&6; } 4367if ${ac_cv_prog_cc_g+:} false; then : 4368 $as_echo_n "(cached) " >&6 4369else 4370 ac_save_c_werror_flag=$ac_c_werror_flag 4371 ac_c_werror_flag=yes 4372 ac_cv_prog_cc_g=no 4373 CFLAGS="-g" 4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4375/* end confdefs.h. */ 4376 4377int 4378main () 4379{ 4380 4381 ; 4382 return 0; 4383} 4384_ACEOF 4385if ac_fn_c_try_compile "$LINENO"; then : 4386 ac_cv_prog_cc_g=yes 4387else 4388 CFLAGS="" 4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4390/* end confdefs.h. */ 4391 4392int 4393main () 4394{ 4395 4396 ; 4397 return 0; 4398} 4399_ACEOF 4400if ac_fn_c_try_compile "$LINENO"; then : 4401 4402else 4403 ac_c_werror_flag=$ac_save_c_werror_flag 4404 CFLAGS="-g" 4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4406/* end confdefs.h. */ 4407 4408int 4409main () 4410{ 4411 4412 ; 4413 return 0; 4414} 4415_ACEOF 4416if ac_fn_c_try_compile "$LINENO"; then : 4417 ac_cv_prog_cc_g=yes 4418fi 4419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4420fi 4421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4422fi 4423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4424 ac_c_werror_flag=$ac_save_c_werror_flag 4425fi 4426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4427$as_echo "$ac_cv_prog_cc_g" >&6; } 4428if test "$ac_test_CFLAGS" = set; then 4429 CFLAGS=$ac_save_CFLAGS 4430elif test $ac_cv_prog_cc_g = yes; then 4431 if test "$GCC" = yes; then 4432 CFLAGS="-g -O2" 4433 else 4434 CFLAGS="-g" 4435 fi 4436else 4437 if test "$GCC" = yes; then 4438 CFLAGS="-O2" 4439 else 4440 CFLAGS= 4441 fi 4442fi 4443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4444$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4445if ${ac_cv_prog_cc_c89+:} false; then : 4446 $as_echo_n "(cached) " >&6 4447else 4448 ac_cv_prog_cc_c89=no 4449ac_save_CC=$CC 4450cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4451/* end confdefs.h. */ 4452#include <stdarg.h> 4453#include <stdio.h> 4454struct stat; 4455/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4456struct buf { int x; }; 4457FILE * (*rcsopen) (struct buf *, struct stat *, int); 4458static char *e (p, i) 4459 char **p; 4460 int i; 4461{ 4462 return p[i]; 4463} 4464static char *f (char * (*g) (char **, int), char **p, ...) 4465{ 4466 char *s; 4467 va_list v; 4468 va_start (v,p); 4469 s = g (p, va_arg (v,int)); 4470 va_end (v); 4471 return s; 4472} 4473 4474/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4475 function prototypes and stuff, but not '\xHH' hex character constants. 4476 These don't provoke an error unfortunately, instead are silently treated 4477 as 'x'. The following induces an error, until -std is added to get 4478 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4479 array size at least. It's necessary to write '\x00'==0 to get something 4480 that's true only with -std. */ 4481int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4482 4483/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4484 inside strings and character constants. */ 4485#define FOO(x) 'x' 4486int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4487 4488int test (int i, double x); 4489struct s1 {int (*f) (int a);}; 4490struct s2 {int (*f) (double a);}; 4491int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4492int argc; 4493char **argv; 4494int 4495main () 4496{ 4497return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4498 ; 4499 return 0; 4500} 4501_ACEOF 4502for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4503 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4504do 4505 CC="$ac_save_CC $ac_arg" 4506 if ac_fn_c_try_compile "$LINENO"; then : 4507 ac_cv_prog_cc_c89=$ac_arg 4508fi 4509rm -f core conftest.err conftest.$ac_objext 4510 test "x$ac_cv_prog_cc_c89" != "xno" && break 4511done 4512rm -f conftest.$ac_ext 4513CC=$ac_save_CC 4514 4515fi 4516# AC_CACHE_VAL 4517case "x$ac_cv_prog_cc_c89" in 4518 x) 4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4520$as_echo "none needed" >&6; } ;; 4521 xno) 4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4523$as_echo "unsupported" >&6; } ;; 4524 *) 4525 CC="$CC $ac_cv_prog_cc_c89" 4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4527$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4528esac 4529if test "x$ac_cv_prog_cc_c89" != xno; then : 4530 4531fi 4532 4533ac_ext=c 4534ac_cpp='$CPP $CPPFLAGS' 4535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4537ac_compiler_gnu=$ac_cv_c_compiler_gnu 4538 4539ac_ext=c 4540ac_cpp='$CPP $CPPFLAGS' 4541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4543ac_compiler_gnu=$ac_cv_c_compiler_gnu 4544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4545$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4546if ${am_cv_prog_cc_c_o+:} false; then : 4547 $as_echo_n "(cached) " >&6 4548else 4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4550/* end confdefs.h. */ 4551 4552int 4553main () 4554{ 4555 4556 ; 4557 return 0; 4558} 4559_ACEOF 4560 # Make sure it works both with $CC and with simple cc. 4561 # Following AC_PROG_CC_C_O, we do the test twice because some 4562 # compilers refuse to overwrite an existing .o file with -o, 4563 # though they will create one. 4564 am_cv_prog_cc_c_o=yes 4565 for am_i in 1 2; do 4566 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4567 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4568 ac_status=$? 4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4570 (exit $ac_status); } \ 4571 && test -f conftest2.$ac_objext; then 4572 : OK 4573 else 4574 am_cv_prog_cc_c_o=no 4575 break 4576 fi 4577 done 4578 rm -f core conftest* 4579 unset am_i 4580fi 4581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4582$as_echo "$am_cv_prog_cc_c_o" >&6; } 4583if test "$am_cv_prog_cc_c_o" != yes; then 4584 # Losing compiler, so override with the script. 4585 # FIXME: It is wrong to rewrite CC. 4586 # But if we don't then we get into trouble of one sort or another. 4587 # A longer-term fix would be to have automake use am__CC in this case, 4588 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4589 CC="$am_aux_dir/compile $CC" 4590fi 4591ac_ext=c 4592ac_cpp='$CPP $CPPFLAGS' 4593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4595ac_compiler_gnu=$ac_cv_c_compiler_gnu 4596 4597 4598depcc="$CC" am_compiler_list= 4599 4600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4601$as_echo_n "checking dependency style of $depcc... " >&6; } 4602if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4603 $as_echo_n "(cached) " >&6 4604else 4605 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4606 # We make a subdir and do the tests there. Otherwise we can end up 4607 # making bogus files that we don't know about and never remove. For 4608 # instance it was reported that on HP-UX the gcc test will end up 4609 # making a dummy file named 'D' -- because '-MD' means "put the output 4610 # in D". 4611 rm -rf conftest.dir 4612 mkdir conftest.dir 4613 # Copy depcomp to subdir because otherwise we won't find it if we're 4614 # using a relative directory. 4615 cp "$am_depcomp" conftest.dir 4616 cd conftest.dir 4617 # We will build objects and dependencies in a subdirectory because 4618 # it helps to detect inapplicable dependency modes. For instance 4619 # both Tru64's cc and ICC support -MD to output dependencies as a 4620 # side effect of compilation, but ICC will put the dependencies in 4621 # the current directory while Tru64 will put them in the object 4622 # directory. 4623 mkdir sub 4624 4625 am_cv_CC_dependencies_compiler_type=none 4626 if test "$am_compiler_list" = ""; then 4627 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4628 fi 4629 am__universal=false 4630 case " $depcc " in #( 4631 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4632 esac 4633 4634 for depmode in $am_compiler_list; do 4635 # Setup a source with many dependencies, because some compilers 4636 # like to wrap large dependency lists on column 80 (with \), and 4637 # we should not choose a depcomp mode which is confused by this. 4638 # 4639 # We need to recreate these files for each test, as the compiler may 4640 # overwrite some of them when testing with obscure command lines. 4641 # This happens at least with the AIX C compiler. 4642 : > sub/conftest.c 4643 for i in 1 2 3 4 5 6; do 4644 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4645 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4646 # Solaris 10 /bin/sh. 4647 echo '/* dummy */' > sub/conftst$i.h 4648 done 4649 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4650 4651 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4652 # mode. It turns out that the SunPro C++ compiler does not properly 4653 # handle '-M -o', and we need to detect this. Also, some Intel 4654 # versions had trouble with output in subdirs. 4655 am__obj=sub/conftest.${OBJEXT-o} 4656 am__minus_obj="-o $am__obj" 4657 case $depmode in 4658 gcc) 4659 # This depmode causes a compiler race in universal mode. 4660 test "$am__universal" = false || continue 4661 ;; 4662 nosideeffect) 4663 # After this tag, mechanisms are not by side-effect, so they'll 4664 # only be used when explicitly requested. 4665 if test "x$enable_dependency_tracking" = xyes; then 4666 continue 4667 else 4668 break 4669 fi 4670 ;; 4671 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4672 # This compiler won't grok '-c -o', but also, the minuso test has 4673 # not run yet. These depmodes are late enough in the game, and 4674 # so weak that their functioning should not be impacted. 4675 am__obj=conftest.${OBJEXT-o} 4676 am__minus_obj= 4677 ;; 4678 none) break ;; 4679 esac 4680 if depmode=$depmode \ 4681 source=sub/conftest.c object=$am__obj \ 4682 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4683 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4684 >/dev/null 2>conftest.err && 4685 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4686 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4687 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4688 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4689 # icc doesn't choke on unknown options, it will just issue warnings 4690 # or remarks (even with -Werror). So we grep stderr for any message 4691 # that says an option was ignored or not supported. 4692 # When given -MP, icc 7.0 and 7.1 complain thusly: 4693 # icc: Command line warning: ignoring option '-M'; no argument required 4694 # The diagnosis changed in icc 8.0: 4695 # icc: Command line remark: option '-MP' not supported 4696 if (grep 'ignoring option' conftest.err || 4697 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4698 am_cv_CC_dependencies_compiler_type=$depmode 4699 break 4700 fi 4701 fi 4702 done 4703 4704 cd .. 4705 rm -rf conftest.dir 4706else 4707 am_cv_CC_dependencies_compiler_type=none 4708fi 4709 4710fi 4711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4712$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4713CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4714 4715 if 4716 test "x$enable_dependency_tracking" != xno \ 4717 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4718 am__fastdepCC_TRUE= 4719 am__fastdepCC_FALSE='#' 4720else 4721 am__fastdepCC_TRUE='#' 4722 am__fastdepCC_FALSE= 4723fi 4724 4725 4726 4727ac_ext=c 4728ac_cpp='$CPP $CPPFLAGS' 4729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4731ac_compiler_gnu=$ac_cv_c_compiler_gnu 4732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4733$as_echo_n "checking how to run the C preprocessor... " >&6; } 4734# On Suns, sometimes $CPP names a directory. 4735if test -n "$CPP" && test -d "$CPP"; then 4736 CPP= 4737fi 4738if test -z "$CPP"; then 4739 if ${ac_cv_prog_CPP+:} false; then : 4740 $as_echo_n "(cached) " >&6 4741else 4742 # Double quotes because CPP needs to be expanded 4743 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4744 do 4745 ac_preproc_ok=false 4746for ac_c_preproc_warn_flag in '' yes 4747do 4748 # Use a header file that comes with gcc, so configuring glibc 4749 # with a fresh cross-compiler works. 4750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4751 # <limits.h> exists even on freestanding compilers. 4752 # On the NeXT, cc -E runs the code through the compiler's parser, 4753 # not just through cpp. "Syntax error" is here to catch this case. 4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4755/* end confdefs.h. */ 4756#ifdef __STDC__ 4757# include <limits.h> 4758#else 4759# include <assert.h> 4760#endif 4761 Syntax error 4762_ACEOF 4763if ac_fn_c_try_cpp "$LINENO"; then : 4764 4765else 4766 # Broken: fails on valid input. 4767continue 4768fi 4769rm -f conftest.err conftest.i conftest.$ac_ext 4770 4771 # OK, works on sane cases. Now check whether nonexistent headers 4772 # can be detected and how. 4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4774/* end confdefs.h. */ 4775#include <ac_nonexistent.h> 4776_ACEOF 4777if ac_fn_c_try_cpp "$LINENO"; then : 4778 # Broken: success on invalid input. 4779continue 4780else 4781 # Passes both tests. 4782ac_preproc_ok=: 4783break 4784fi 4785rm -f conftest.err conftest.i conftest.$ac_ext 4786 4787done 4788# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4789rm -f conftest.i conftest.err conftest.$ac_ext 4790if $ac_preproc_ok; then : 4791 break 4792fi 4793 4794 done 4795 ac_cv_prog_CPP=$CPP 4796 4797fi 4798 CPP=$ac_cv_prog_CPP 4799else 4800 ac_cv_prog_CPP=$CPP 4801fi 4802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4803$as_echo "$CPP" >&6; } 4804ac_preproc_ok=false 4805for ac_c_preproc_warn_flag in '' yes 4806do 4807 # Use a header file that comes with gcc, so configuring glibc 4808 # with a fresh cross-compiler works. 4809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4810 # <limits.h> exists even on freestanding compilers. 4811 # On the NeXT, cc -E runs the code through the compiler's parser, 4812 # not just through cpp. "Syntax error" is here to catch this case. 4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4814/* end confdefs.h. */ 4815#ifdef __STDC__ 4816# include <limits.h> 4817#else 4818# include <assert.h> 4819#endif 4820 Syntax error 4821_ACEOF 4822if ac_fn_c_try_cpp "$LINENO"; then : 4823 4824else 4825 # Broken: fails on valid input. 4826continue 4827fi 4828rm -f conftest.err conftest.i conftest.$ac_ext 4829 4830 # OK, works on sane cases. Now check whether nonexistent headers 4831 # can be detected and how. 4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4833/* end confdefs.h. */ 4834#include <ac_nonexistent.h> 4835_ACEOF 4836if ac_fn_c_try_cpp "$LINENO"; then : 4837 # Broken: success on invalid input. 4838continue 4839else 4840 # Passes both tests. 4841ac_preproc_ok=: 4842break 4843fi 4844rm -f conftest.err conftest.i conftest.$ac_ext 4845 4846done 4847# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4848rm -f conftest.i conftest.err conftest.$ac_ext 4849if $ac_preproc_ok; then : 4850 4851else 4852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4853$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4854as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4855See \`config.log' for more details" "$LINENO" 5; } 4856fi 4857 4858ac_ext=c 4859ac_cpp='$CPP $CPPFLAGS' 4860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4862ac_compiler_gnu=$ac_cv_c_compiler_gnu 4863 4864 4865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4866$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4867if ${ac_cv_path_GREP+:} false; then : 4868 $as_echo_n "(cached) " >&6 4869else 4870 if test -z "$GREP"; then 4871 ac_path_GREP_found=false 4872 # Loop through the user's path and test for each of PROGNAME-LIST 4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4874for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4875do 4876 IFS=$as_save_IFS 4877 test -z "$as_dir" && as_dir=. 4878 for ac_prog in grep ggrep; do 4879 for ac_exec_ext in '' $ac_executable_extensions; do 4880 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4881 as_fn_executable_p "$ac_path_GREP" || continue 4882# Check for GNU ac_path_GREP and select it if it is found. 4883 # Check for GNU $ac_path_GREP 4884case `"$ac_path_GREP" --version 2>&1` in 4885*GNU*) 4886 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4887*) 4888 ac_count=0 4889 $as_echo_n 0123456789 >"conftest.in" 4890 while : 4891 do 4892 cat "conftest.in" "conftest.in" >"conftest.tmp" 4893 mv "conftest.tmp" "conftest.in" 4894 cp "conftest.in" "conftest.nl" 4895 $as_echo 'GREP' >> "conftest.nl" 4896 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4897 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4898 as_fn_arith $ac_count + 1 && ac_count=$as_val 4899 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4900 # Best one so far, save it but keep looking for a better one 4901 ac_cv_path_GREP="$ac_path_GREP" 4902 ac_path_GREP_max=$ac_count 4903 fi 4904 # 10*(2^10) chars as input seems more than enough 4905 test $ac_count -gt 10 && break 4906 done 4907 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4908esac 4909 4910 $ac_path_GREP_found && break 3 4911 done 4912 done 4913 done 4914IFS=$as_save_IFS 4915 if test -z "$ac_cv_path_GREP"; then 4916 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4917 fi 4918else 4919 ac_cv_path_GREP=$GREP 4920fi 4921 4922fi 4923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4924$as_echo "$ac_cv_path_GREP" >&6; } 4925 GREP="$ac_cv_path_GREP" 4926 4927 4928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4929$as_echo_n "checking for egrep... " >&6; } 4930if ${ac_cv_path_EGREP+:} false; then : 4931 $as_echo_n "(cached) " >&6 4932else 4933 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4934 then ac_cv_path_EGREP="$GREP -E" 4935 else 4936 if test -z "$EGREP"; then 4937 ac_path_EGREP_found=false 4938 # Loop through the user's path and test for each of PROGNAME-LIST 4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4940for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4941do 4942 IFS=$as_save_IFS 4943 test -z "$as_dir" && as_dir=. 4944 for ac_prog in egrep; do 4945 for ac_exec_ext in '' $ac_executable_extensions; do 4946 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4947 as_fn_executable_p "$ac_path_EGREP" || continue 4948# Check for GNU ac_path_EGREP and select it if it is found. 4949 # Check for GNU $ac_path_EGREP 4950case `"$ac_path_EGREP" --version 2>&1` in 4951*GNU*) 4952 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4953*) 4954 ac_count=0 4955 $as_echo_n 0123456789 >"conftest.in" 4956 while : 4957 do 4958 cat "conftest.in" "conftest.in" >"conftest.tmp" 4959 mv "conftest.tmp" "conftest.in" 4960 cp "conftest.in" "conftest.nl" 4961 $as_echo 'EGREP' >> "conftest.nl" 4962 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4963 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4964 as_fn_arith $ac_count + 1 && ac_count=$as_val 4965 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4966 # Best one so far, save it but keep looking for a better one 4967 ac_cv_path_EGREP="$ac_path_EGREP" 4968 ac_path_EGREP_max=$ac_count 4969 fi 4970 # 10*(2^10) chars as input seems more than enough 4971 test $ac_count -gt 10 && break 4972 done 4973 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4974esac 4975 4976 $ac_path_EGREP_found && break 3 4977 done 4978 done 4979 done 4980IFS=$as_save_IFS 4981 if test -z "$ac_cv_path_EGREP"; then 4982 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4983 fi 4984else 4985 ac_cv_path_EGREP=$EGREP 4986fi 4987 4988 fi 4989fi 4990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4991$as_echo "$ac_cv_path_EGREP" >&6; } 4992 EGREP="$ac_cv_path_EGREP" 4993 4994 4995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4996$as_echo_n "checking for ANSI C header files... " >&6; } 4997if ${ac_cv_header_stdc+:} false; then : 4998 $as_echo_n "(cached) " >&6 4999else 5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5001/* end confdefs.h. */ 5002#include <stdlib.h> 5003#include <stdarg.h> 5004#include <string.h> 5005#include <float.h> 5006 5007int 5008main () 5009{ 5010 5011 ; 5012 return 0; 5013} 5014_ACEOF 5015if ac_fn_c_try_compile "$LINENO"; then : 5016 ac_cv_header_stdc=yes 5017else 5018 ac_cv_header_stdc=no 5019fi 5020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5021 5022if test $ac_cv_header_stdc = yes; then 5023 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5025/* end confdefs.h. */ 5026#include <string.h> 5027 5028_ACEOF 5029if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5030 $EGREP "memchr" >/dev/null 2>&1; then : 5031 5032else 5033 ac_cv_header_stdc=no 5034fi 5035rm -f conftest* 5036 5037fi 5038 5039if test $ac_cv_header_stdc = yes; then 5040 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5042/* end confdefs.h. */ 5043#include <stdlib.h> 5044 5045_ACEOF 5046if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5047 $EGREP "free" >/dev/null 2>&1; then : 5048 5049else 5050 ac_cv_header_stdc=no 5051fi 5052rm -f conftest* 5053 5054fi 5055 5056if test $ac_cv_header_stdc = yes; then 5057 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5058 if test "$cross_compiling" = yes; then : 5059 : 5060else 5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5062/* end confdefs.h. */ 5063#include <ctype.h> 5064#include <stdlib.h> 5065#if ((' ' & 0x0FF) == 0x020) 5066# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5067# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5068#else 5069# define ISLOWER(c) \ 5070 (('a' <= (c) && (c) <= 'i') \ 5071 || ('j' <= (c) && (c) <= 'r') \ 5072 || ('s' <= (c) && (c) <= 'z')) 5073# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5074#endif 5075 5076#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5077int 5078main () 5079{ 5080 int i; 5081 for (i = 0; i < 256; i++) 5082 if (XOR (islower (i), ISLOWER (i)) 5083 || toupper (i) != TOUPPER (i)) 5084 return 2; 5085 return 0; 5086} 5087_ACEOF 5088if ac_fn_c_try_run "$LINENO"; then : 5089 5090else 5091 ac_cv_header_stdc=no 5092fi 5093rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5094 conftest.$ac_objext conftest.beam conftest.$ac_ext 5095fi 5096 5097fi 5098fi 5099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5100$as_echo "$ac_cv_header_stdc" >&6; } 5101if test $ac_cv_header_stdc = yes; then 5102 5103$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5104 5105fi 5106 5107# On IRIX 5.3, sys/types and inttypes.h are conflicting. 5108for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5109 inttypes.h stdint.h unistd.h 5110do : 5111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5112ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5113" 5114if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5115 cat >>confdefs.h <<_ACEOF 5116#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5117_ACEOF 5118 5119fi 5120 5121done 5122 5123 5124 5125 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5126if test "x$ac_cv_header_minix_config_h" = xyes; then : 5127 MINIX=yes 5128else 5129 MINIX= 5130fi 5131 5132 5133 if test "$MINIX" = yes; then 5134 5135$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5136 5137 5138$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5139 5140 5141$as_echo "#define _MINIX 1" >>confdefs.h 5142 5143 fi 5144 5145 5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5147$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5148if ${ac_cv_safe_to_define___extensions__+:} false; then : 5149 $as_echo_n "(cached) " >&6 5150else 5151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5152/* end confdefs.h. */ 5153 5154# define __EXTENSIONS__ 1 5155 $ac_includes_default 5156int 5157main () 5158{ 5159 5160 ; 5161 return 0; 5162} 5163_ACEOF 5164if ac_fn_c_try_compile "$LINENO"; then : 5165 ac_cv_safe_to_define___extensions__=yes 5166else 5167 ac_cv_safe_to_define___extensions__=no 5168fi 5169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5170fi 5171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5172$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5173 test $ac_cv_safe_to_define___extensions__ = yes && 5174 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5175 5176 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5177 5178 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5179 5180 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5181 5182 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5183 5184 5185 5186 5187# Check whether --with-toolexeclibdir was given. 5188if test "${with_toolexeclibdir+set}" = set; then : 5189 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in 5190 /) 5191 ;; 5192 */) 5193 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'` 5194 ;; 5195esac 5196else 5197 with_toolexeclibdir=no 5198fi 5199 5200 5201 5202# Calculate toolexeclibdir 5203# Also toolexecdir, though it's only used in toolexeclibdir 5204case ${version_specific_libs} in 5205 yes) 5206 # Need the gcc compiler version to know where to install libraries 5207 # and header files if --enable-version-specific-runtime-libs option 5208 # is selected. 5209 toolexecdir='$(libdir)/gcc/$(target_alias)' 5210 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)' 5211 ;; 5212 no) 5213 if test -n "$with_cross_host" && 5214 test x"$with_cross_host" != x"no"; then 5215 # Install a library built with a cross compiler in tooldir, not libdir. 5216 toolexecdir='$(exec_prefix)/$(target_alias)' 5217 case ${with_toolexeclibdir} in 5218 no) 5219 toolexeclibdir='$(toolexecdir)/lib' 5220 ;; 5221 *) 5222 toolexeclibdir=${with_toolexeclibdir} 5223 ;; 5224 esac 5225 else 5226 toolexecdir='$(libdir)/gcc-lib/$(target_alias)' 5227 toolexeclibdir='$(libdir)' 5228 fi 5229 multi_os_directory=`$CC -print-multi-os-directory` 5230 case $multi_os_directory in 5231 .) ;; # Avoid trailing /. 5232 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; 5233 esac 5234 ;; 5235esac 5236 5237 5238 5239# Create a spec file, so that compile/link tests don't fail 5240test -f libgfortran.spec || touch libgfortran.spec 5241 5242ac_ext=c 5243ac_cpp='$CPP $CPPFLAGS' 5244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5246ac_compiler_gnu=$ac_cv_c_compiler_gnu 5247 5248# Check the compiler. 5249# The same as in boehm-gc and libstdc++. Have to borrow it from there. 5250# We must force CC to /not/ be precious variables; otherwise 5251# the wrong, non-multilib-adjusted value will be used in multilibs. 5252# As a side effect, we have to subst CFLAGS ourselves. 5253 5254 5255 5256ac_ext=c 5257ac_cpp='$CPP $CPPFLAGS' 5258ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5259ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5260ac_compiler_gnu=$ac_cv_c_compiler_gnu 5261if test -n "$ac_tool_prefix"; then 5262 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5263set dummy ${ac_tool_prefix}gcc; ac_word=$2 5264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5265$as_echo_n "checking for $ac_word... " >&6; } 5266if ${ac_cv_prog_CC+:} false; then : 5267 $as_echo_n "(cached) " >&6 5268else 5269 if test -n "$CC"; then 5270 ac_cv_prog_CC="$CC" # Let the user override the test. 5271else 5272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5273for as_dir in $PATH 5274do 5275 IFS=$as_save_IFS 5276 test -z "$as_dir" && as_dir=. 5277 for ac_exec_ext in '' $ac_executable_extensions; do 5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5279 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5281 break 2 5282 fi 5283done 5284 done 5285IFS=$as_save_IFS 5286 5287fi 5288fi 5289CC=$ac_cv_prog_CC 5290if test -n "$CC"; then 5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5292$as_echo "$CC" >&6; } 5293else 5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5295$as_echo "no" >&6; } 5296fi 5297 5298 5299fi 5300if test -z "$ac_cv_prog_CC"; then 5301 ac_ct_CC=$CC 5302 # Extract the first word of "gcc", so it can be a program name with args. 5303set dummy gcc; ac_word=$2 5304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5305$as_echo_n "checking for $ac_word... " >&6; } 5306if ${ac_cv_prog_ac_ct_CC+:} false; then : 5307 $as_echo_n "(cached) " >&6 5308else 5309 if test -n "$ac_ct_CC"; then 5310 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5311else 5312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5313for as_dir in $PATH 5314do 5315 IFS=$as_save_IFS 5316 test -z "$as_dir" && as_dir=. 5317 for ac_exec_ext in '' $ac_executable_extensions; do 5318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5319 ac_cv_prog_ac_ct_CC="gcc" 5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5321 break 2 5322 fi 5323done 5324 done 5325IFS=$as_save_IFS 5326 5327fi 5328fi 5329ac_ct_CC=$ac_cv_prog_ac_ct_CC 5330if test -n "$ac_ct_CC"; then 5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5332$as_echo "$ac_ct_CC" >&6; } 5333else 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5335$as_echo "no" >&6; } 5336fi 5337 5338 if test "x$ac_ct_CC" = x; then 5339 CC="" 5340 else 5341 case $cross_compiling:$ac_tool_warned in 5342yes:) 5343{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5344$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5345ac_tool_warned=yes ;; 5346esac 5347 CC=$ac_ct_CC 5348 fi 5349else 5350 CC="$ac_cv_prog_CC" 5351fi 5352 5353if test -z "$CC"; then 5354 if test -n "$ac_tool_prefix"; then 5355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5356set dummy ${ac_tool_prefix}cc; ac_word=$2 5357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5358$as_echo_n "checking for $ac_word... " >&6; } 5359if ${ac_cv_prog_CC+:} false; then : 5360 $as_echo_n "(cached) " >&6 5361else 5362 if test -n "$CC"; then 5363 ac_cv_prog_CC="$CC" # Let the user override the test. 5364else 5365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5366for as_dir in $PATH 5367do 5368 IFS=$as_save_IFS 5369 test -z "$as_dir" && as_dir=. 5370 for ac_exec_ext in '' $ac_executable_extensions; do 5371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5372 ac_cv_prog_CC="${ac_tool_prefix}cc" 5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5374 break 2 5375 fi 5376done 5377 done 5378IFS=$as_save_IFS 5379 5380fi 5381fi 5382CC=$ac_cv_prog_CC 5383if test -n "$CC"; then 5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5385$as_echo "$CC" >&6; } 5386else 5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5388$as_echo "no" >&6; } 5389fi 5390 5391 5392 fi 5393fi 5394if test -z "$CC"; then 5395 # Extract the first word of "cc", so it can be a program name with args. 5396set dummy cc; ac_word=$2 5397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5398$as_echo_n "checking for $ac_word... " >&6; } 5399if ${ac_cv_prog_CC+:} false; then : 5400 $as_echo_n "(cached) " >&6 5401else 5402 if test -n "$CC"; then 5403 ac_cv_prog_CC="$CC" # Let the user override the test. 5404else 5405 ac_prog_rejected=no 5406as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5407for as_dir in $PATH 5408do 5409 IFS=$as_save_IFS 5410 test -z "$as_dir" && as_dir=. 5411 for ac_exec_ext in '' $ac_executable_extensions; do 5412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5413 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5414 ac_prog_rejected=yes 5415 continue 5416 fi 5417 ac_cv_prog_CC="cc" 5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5419 break 2 5420 fi 5421done 5422 done 5423IFS=$as_save_IFS 5424 5425if test $ac_prog_rejected = yes; then 5426 # We found a bogon in the path, so make sure we never use it. 5427 set dummy $ac_cv_prog_CC 5428 shift 5429 if test $# != 0; then 5430 # We chose a different compiler from the bogus one. 5431 # However, it has the same basename, so the bogon will be chosen 5432 # first if we set CC to just the basename; use the full file name. 5433 shift 5434 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5435 fi 5436fi 5437fi 5438fi 5439CC=$ac_cv_prog_CC 5440if test -n "$CC"; then 5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5442$as_echo "$CC" >&6; } 5443else 5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5445$as_echo "no" >&6; } 5446fi 5447 5448 5449fi 5450if test -z "$CC"; then 5451 if test -n "$ac_tool_prefix"; then 5452 for ac_prog in cl.exe 5453 do 5454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5455set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5457$as_echo_n "checking for $ac_word... " >&6; } 5458if ${ac_cv_prog_CC+:} false; then : 5459 $as_echo_n "(cached) " >&6 5460else 5461 if test -n "$CC"; then 5462 ac_cv_prog_CC="$CC" # Let the user override the test. 5463else 5464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5465for as_dir in $PATH 5466do 5467 IFS=$as_save_IFS 5468 test -z "$as_dir" && as_dir=. 5469 for ac_exec_ext in '' $ac_executable_extensions; do 5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5471 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5473 break 2 5474 fi 5475done 5476 done 5477IFS=$as_save_IFS 5478 5479fi 5480fi 5481CC=$ac_cv_prog_CC 5482if test -n "$CC"; then 5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5484$as_echo "$CC" >&6; } 5485else 5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5487$as_echo "no" >&6; } 5488fi 5489 5490 5491 test -n "$CC" && break 5492 done 5493fi 5494if test -z "$CC"; then 5495 ac_ct_CC=$CC 5496 for ac_prog in cl.exe 5497do 5498 # Extract the first word of "$ac_prog", so it can be a program name with args. 5499set dummy $ac_prog; ac_word=$2 5500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5501$as_echo_n "checking for $ac_word... " >&6; } 5502if ${ac_cv_prog_ac_ct_CC+:} false; then : 5503 $as_echo_n "(cached) " >&6 5504else 5505 if test -n "$ac_ct_CC"; then 5506 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5507else 5508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5509for as_dir in $PATH 5510do 5511 IFS=$as_save_IFS 5512 test -z "$as_dir" && as_dir=. 5513 for ac_exec_ext in '' $ac_executable_extensions; do 5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5515 ac_cv_prog_ac_ct_CC="$ac_prog" 5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5517 break 2 5518 fi 5519done 5520 done 5521IFS=$as_save_IFS 5522 5523fi 5524fi 5525ac_ct_CC=$ac_cv_prog_ac_ct_CC 5526if test -n "$ac_ct_CC"; then 5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5528$as_echo "$ac_ct_CC" >&6; } 5529else 5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5531$as_echo "no" >&6; } 5532fi 5533 5534 5535 test -n "$ac_ct_CC" && break 5536done 5537 5538 if test "x$ac_ct_CC" = x; then 5539 CC="" 5540 else 5541 case $cross_compiling:$ac_tool_warned in 5542yes:) 5543{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5544$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5545ac_tool_warned=yes ;; 5546esac 5547 CC=$ac_ct_CC 5548 fi 5549fi 5550 5551fi 5552 5553 5554test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5555$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5556as_fn_error $? "no acceptable C compiler found in \$PATH 5557See \`config.log' for more details" "$LINENO" 5; } 5558 5559# Provide some information about the compiler. 5560$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5561set X $ac_compile 5562ac_compiler=$2 5563for ac_option in --version -v -V -qversion; do 5564 { { ac_try="$ac_compiler $ac_option >&5" 5565case "(($ac_try" in 5566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5567 *) ac_try_echo=$ac_try;; 5568esac 5569eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5570$as_echo "$ac_try_echo"; } >&5 5571 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5572 ac_status=$? 5573 if test -s conftest.err; then 5574 sed '10a\ 5575... rest of stderr output deleted ... 5576 10q' conftest.err >conftest.er1 5577 cat conftest.er1 >&5 5578 fi 5579 rm -f conftest.er1 conftest.err 5580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5581 test $ac_status = 0; } 5582done 5583 5584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5585$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5586if ${ac_cv_c_compiler_gnu+:} false; then : 5587 $as_echo_n "(cached) " >&6 5588else 5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5590/* end confdefs.h. */ 5591 5592int 5593main () 5594{ 5595#ifndef __GNUC__ 5596 choke me 5597#endif 5598 5599 ; 5600 return 0; 5601} 5602_ACEOF 5603if ac_fn_c_try_compile "$LINENO"; then : 5604 ac_compiler_gnu=yes 5605else 5606 ac_compiler_gnu=no 5607fi 5608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5609ac_cv_c_compiler_gnu=$ac_compiler_gnu 5610 5611fi 5612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5613$as_echo "$ac_cv_c_compiler_gnu" >&6; } 5614if test $ac_compiler_gnu = yes; then 5615 GCC=yes 5616else 5617 GCC= 5618fi 5619ac_test_CFLAGS=${CFLAGS+set} 5620ac_save_CFLAGS=$CFLAGS 5621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5622$as_echo_n "checking whether $CC accepts -g... " >&6; } 5623if ${ac_cv_prog_cc_g+:} false; then : 5624 $as_echo_n "(cached) " >&6 5625else 5626 ac_save_c_werror_flag=$ac_c_werror_flag 5627 ac_c_werror_flag=yes 5628 ac_cv_prog_cc_g=no 5629 CFLAGS="-g" 5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5631/* end confdefs.h. */ 5632 5633int 5634main () 5635{ 5636 5637 ; 5638 return 0; 5639} 5640_ACEOF 5641if ac_fn_c_try_compile "$LINENO"; then : 5642 ac_cv_prog_cc_g=yes 5643else 5644 CFLAGS="" 5645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5646/* end confdefs.h. */ 5647 5648int 5649main () 5650{ 5651 5652 ; 5653 return 0; 5654} 5655_ACEOF 5656if ac_fn_c_try_compile "$LINENO"; then : 5657 5658else 5659 ac_c_werror_flag=$ac_save_c_werror_flag 5660 CFLAGS="-g" 5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5662/* end confdefs.h. */ 5663 5664int 5665main () 5666{ 5667 5668 ; 5669 return 0; 5670} 5671_ACEOF 5672if ac_fn_c_try_compile "$LINENO"; then : 5673 ac_cv_prog_cc_g=yes 5674fi 5675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5676fi 5677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5678fi 5679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5680 ac_c_werror_flag=$ac_save_c_werror_flag 5681fi 5682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5683$as_echo "$ac_cv_prog_cc_g" >&6; } 5684if test "$ac_test_CFLAGS" = set; then 5685 CFLAGS=$ac_save_CFLAGS 5686elif test $ac_cv_prog_cc_g = yes; then 5687 if test "$GCC" = yes; then 5688 CFLAGS="-g -O2" 5689 else 5690 CFLAGS="-g" 5691 fi 5692else 5693 if test "$GCC" = yes; then 5694 CFLAGS="-O2" 5695 else 5696 CFLAGS= 5697 fi 5698fi 5699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5700$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5701if ${ac_cv_prog_cc_c89+:} false; then : 5702 $as_echo_n "(cached) " >&6 5703else 5704 ac_cv_prog_cc_c89=no 5705ac_save_CC=$CC 5706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5707/* end confdefs.h. */ 5708#include <stdarg.h> 5709#include <stdio.h> 5710struct stat; 5711/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5712struct buf { int x; }; 5713FILE * (*rcsopen) (struct buf *, struct stat *, int); 5714static char *e (p, i) 5715 char **p; 5716 int i; 5717{ 5718 return p[i]; 5719} 5720static char *f (char * (*g) (char **, int), char **p, ...) 5721{ 5722 char *s; 5723 va_list v; 5724 va_start (v,p); 5725 s = g (p, va_arg (v,int)); 5726 va_end (v); 5727 return s; 5728} 5729 5730/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5731 function prototypes and stuff, but not '\xHH' hex character constants. 5732 These don't provoke an error unfortunately, instead are silently treated 5733 as 'x'. The following induces an error, until -std is added to get 5734 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5735 array size at least. It's necessary to write '\x00'==0 to get something 5736 that's true only with -std. */ 5737int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5738 5739/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5740 inside strings and character constants. */ 5741#define FOO(x) 'x' 5742int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5743 5744int test (int i, double x); 5745struct s1 {int (*f) (int a);}; 5746struct s2 {int (*f) (double a);}; 5747int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5748int argc; 5749char **argv; 5750int 5751main () 5752{ 5753return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5754 ; 5755 return 0; 5756} 5757_ACEOF 5758for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5760do 5761 CC="$ac_save_CC $ac_arg" 5762 if ac_fn_c_try_compile "$LINENO"; then : 5763 ac_cv_prog_cc_c89=$ac_arg 5764fi 5765rm -f core conftest.err conftest.$ac_objext 5766 test "x$ac_cv_prog_cc_c89" != "xno" && break 5767done 5768rm -f conftest.$ac_ext 5769CC=$ac_save_CC 5770 5771fi 5772# AC_CACHE_VAL 5773case "x$ac_cv_prog_cc_c89" in 5774 x) 5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5776$as_echo "none needed" >&6; } ;; 5777 xno) 5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5779$as_echo "unsupported" >&6; } ;; 5780 *) 5781 CC="$CC $ac_cv_prog_cc_c89" 5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5783$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5784esac 5785if test "x$ac_cv_prog_cc_c89" != xno; then : 5786 5787fi 5788 5789ac_ext=c 5790ac_cpp='$CPP $CPPFLAGS' 5791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5793ac_compiler_gnu=$ac_cv_c_compiler_gnu 5794 5795ac_ext=c 5796ac_cpp='$CPP $CPPFLAGS' 5797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5799ac_compiler_gnu=$ac_cv_c_compiler_gnu 5800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5801$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5802if ${am_cv_prog_cc_c_o+:} false; then : 5803 $as_echo_n "(cached) " >&6 5804else 5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5806/* end confdefs.h. */ 5807 5808int 5809main () 5810{ 5811 5812 ; 5813 return 0; 5814} 5815_ACEOF 5816 # Make sure it works both with $CC and with simple cc. 5817 # Following AC_PROG_CC_C_O, we do the test twice because some 5818 # compilers refuse to overwrite an existing .o file with -o, 5819 # though they will create one. 5820 am_cv_prog_cc_c_o=yes 5821 for am_i in 1 2; do 5822 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5823 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5824 ac_status=$? 5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5826 (exit $ac_status); } \ 5827 && test -f conftest2.$ac_objext; then 5828 : OK 5829 else 5830 am_cv_prog_cc_c_o=no 5831 break 5832 fi 5833 done 5834 rm -f core conftest* 5835 unset am_i 5836fi 5837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5838$as_echo "$am_cv_prog_cc_c_o" >&6; } 5839if test "$am_cv_prog_cc_c_o" != yes; then 5840 # Losing compiler, so override with the script. 5841 # FIXME: It is wrong to rewrite CC. 5842 # But if we don't then we get into trouble of one sort or another. 5843 # A longer-term fix would be to have automake use am__CC in this case, 5844 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5845 CC="$am_aux_dir/compile $CC" 5846fi 5847ac_ext=c 5848ac_cpp='$CPP $CPPFLAGS' 5849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5851ac_compiler_gnu=$ac_cv_c_compiler_gnu 5852 5853 5854depcc="$CC" am_compiler_list= 5855 5856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5857$as_echo_n "checking dependency style of $depcc... " >&6; } 5858if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5859 $as_echo_n "(cached) " >&6 5860else 5861 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5862 # We make a subdir and do the tests there. Otherwise we can end up 5863 # making bogus files that we don't know about and never remove. For 5864 # instance it was reported that on HP-UX the gcc test will end up 5865 # making a dummy file named 'D' -- because '-MD' means "put the output 5866 # in D". 5867 rm -rf conftest.dir 5868 mkdir conftest.dir 5869 # Copy depcomp to subdir because otherwise we won't find it if we're 5870 # using a relative directory. 5871 cp "$am_depcomp" conftest.dir 5872 cd conftest.dir 5873 # We will build objects and dependencies in a subdirectory because 5874 # it helps to detect inapplicable dependency modes. For instance 5875 # both Tru64's cc and ICC support -MD to output dependencies as a 5876 # side effect of compilation, but ICC will put the dependencies in 5877 # the current directory while Tru64 will put them in the object 5878 # directory. 5879 mkdir sub 5880 5881 am_cv_CC_dependencies_compiler_type=none 5882 if test "$am_compiler_list" = ""; then 5883 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5884 fi 5885 am__universal=false 5886 case " $depcc " in #( 5887 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5888 esac 5889 5890 for depmode in $am_compiler_list; do 5891 # Setup a source with many dependencies, because some compilers 5892 # like to wrap large dependency lists on column 80 (with \), and 5893 # we should not choose a depcomp mode which is confused by this. 5894 # 5895 # We need to recreate these files for each test, as the compiler may 5896 # overwrite some of them when testing with obscure command lines. 5897 # This happens at least with the AIX C compiler. 5898 : > sub/conftest.c 5899 for i in 1 2 3 4 5 6; do 5900 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5901 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5902 # Solaris 10 /bin/sh. 5903 echo '/* dummy */' > sub/conftst$i.h 5904 done 5905 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5906 5907 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5908 # mode. It turns out that the SunPro C++ compiler does not properly 5909 # handle '-M -o', and we need to detect this. Also, some Intel 5910 # versions had trouble with output in subdirs. 5911 am__obj=sub/conftest.${OBJEXT-o} 5912 am__minus_obj="-o $am__obj" 5913 case $depmode in 5914 gcc) 5915 # This depmode causes a compiler race in universal mode. 5916 test "$am__universal" = false || continue 5917 ;; 5918 nosideeffect) 5919 # After this tag, mechanisms are not by side-effect, so they'll 5920 # only be used when explicitly requested. 5921 if test "x$enable_dependency_tracking" = xyes; then 5922 continue 5923 else 5924 break 5925 fi 5926 ;; 5927 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5928 # This compiler won't grok '-c -o', but also, the minuso test has 5929 # not run yet. These depmodes are late enough in the game, and 5930 # so weak that their functioning should not be impacted. 5931 am__obj=conftest.${OBJEXT-o} 5932 am__minus_obj= 5933 ;; 5934 none) break ;; 5935 esac 5936 if depmode=$depmode \ 5937 source=sub/conftest.c object=$am__obj \ 5938 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5939 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5940 >/dev/null 2>conftest.err && 5941 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5942 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5943 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5944 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5945 # icc doesn't choke on unknown options, it will just issue warnings 5946 # or remarks (even with -Werror). So we grep stderr for any message 5947 # that says an option was ignored or not supported. 5948 # When given -MP, icc 7.0 and 7.1 complain thusly: 5949 # icc: Command line warning: ignoring option '-M'; no argument required 5950 # The diagnosis changed in icc 8.0: 5951 # icc: Command line remark: option '-MP' not supported 5952 if (grep 'ignoring option' conftest.err || 5953 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5954 am_cv_CC_dependencies_compiler_type=$depmode 5955 break 5956 fi 5957 fi 5958 done 5959 5960 cd .. 5961 rm -rf conftest.dir 5962else 5963 am_cv_CC_dependencies_compiler_type=none 5964fi 5965 5966fi 5967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5968$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5969CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5970 5971 if 5972 test "x$enable_dependency_tracking" != xno \ 5973 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5974 am__fastdepCC_TRUE= 5975 am__fastdepCC_FALSE='#' 5976else 5977 am__fastdepCC_TRUE='#' 5978 am__fastdepCC_FALSE= 5979fi 5980 5981 5982 5983 5984 5985 5986 5987 5988# Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC. 5989have_real_17=no 5990if test "x$GCC" = "xyes"; then 5991 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring" 5992 ## We like to use C11 and C99 routines when available. This makes 5993 ## sure that 5994 ## __STDC_VERSION__ is set such that libc includes make them available. 5995 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla" 5996 ## Compile the following tests with the same system header contents 5997 ## that we'll encounter when compiling our own source files. 5998 CFLAGS="-std=gnu11 $CFLAGS" 5999 6000 case x$target in 6001 xpowerpc64le*-linux*) 6002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6003/* end confdefs.h. */ 6004#if __SIZEOF_LONG_DOUBLE__ != 16 6005 #error long double is double 6006 #endif 6007int 6008main () 6009{ 6010(void) 0; 6011 ; 6012 return 0; 6013} 6014_ACEOF 6015if ac_fn_c_try_cpp "$LINENO"; then : 6016 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute"; 6017 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute"; 6018 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute"; 6019 have_real_17=yes 6020fi 6021rm -f conftest.err conftest.i conftest.$ac_ext 6022 ;; 6023 *) 6024 ;; 6025 esac 6026fi 6027 if test "x$have_real_17" != xno; then 6028 HAVE_REAL_17_TRUE= 6029 HAVE_REAL_17_FALSE='#' 6030else 6031 HAVE_REAL_17_TRUE='#' 6032 HAVE_REAL_17_FALSE= 6033fi 6034 6035 6036# Add CET specific flags if CET is enabled 6037 # Check whether --enable-cet was given. 6038if test "${enable_cet+set}" = set; then : 6039 enableval=$enable_cet; 6040 case "$enableval" in 6041 yes|no|auto) ;; 6042 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;; 6043 esac 6044 6045else 6046 enable_cet=auto 6047fi 6048 6049 6050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5 6051$as_echo_n "checking for CET support... " >&6; } 6052 6053# NB: Avoid nested save_CFLAGS and save_LDFLAGS. 6054case "$host" in 6055 i[34567]86-*-linux* | x86_64-*-linux*) 6056 case "$enable_cet" in 6057 auto) 6058 # Check if target supports multi-byte NOPs 6059 # and if compiler and assembler support CET insn. 6060 cet_save_CFLAGS="$CFLAGS" 6061 CFLAGS="$CFLAGS -fcf-protection" 6062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6063/* end confdefs.h. */ 6064 6065int 6066main () 6067{ 6068 6069#if !defined(__SSE2__) 6070#error target does not support multi-byte NOPs 6071#else 6072asm ("setssbsy"); 6073#endif 6074 6075 ; 6076 return 0; 6077} 6078_ACEOF 6079if ac_fn_c_try_compile "$LINENO"; then : 6080 enable_cet=yes 6081else 6082 enable_cet=no 6083fi 6084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6085 CFLAGS="$cet_save_CFLAGS" 6086 ;; 6087 yes) 6088 # Check if assembler supports CET. 6089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6090/* end confdefs.h. */ 6091 6092int 6093main () 6094{ 6095asm ("setssbsy"); 6096 ; 6097 return 0; 6098} 6099_ACEOF 6100if ac_fn_c_try_compile "$LINENO"; then : 6101 6102else 6103 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5 6104fi 6105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6106 ;; 6107 esac 6108 ;; 6109 *) 6110 enable_cet=no 6111 ;; 6112esac 6113if test x$enable_cet = xyes; then 6114 CET_FLAGS="-fcf-protection -mshstk" 6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6116$as_echo "yes" >&6; } 6117else 6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6119$as_echo "no" >&6; } 6120fi 6121 6122AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS" 6123AM_CFLAGS="$AM_CFLAGS $CET_FLAGS" 6124CFLAGS="$CFLAGS $CET_FLAGS" 6125 6126 6127 6128 6129 6130# Check for symbol versioning (copied from libssp). 6131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5 6132$as_echo_n "checking whether symbol versioning is supported... " >&6; } 6133# Check whether --enable-symvers was given. 6134if test "${enable_symvers+set}" = set; then : 6135 enableval=$enable_symvers; gfortran_use_symver=$enableval 6136else 6137 gfortran_use_symver=yes 6138fi 6139 6140if test "x$gfortran_use_symver" != xno; then 6141 save_LDFLAGS="$LDFLAGS" 6142 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map" 6143 cat > conftest.map <<EOF 6144FOO_1.0 { 6145 global: *foo*; bar; local: *; 6146}; 6147EOF 6148 if test x$gcc_no_link = xyes; then 6149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 6150fi 6151cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6152/* end confdefs.h. */ 6153int foo; 6154int 6155main () 6156{ 6157 6158 ; 6159 return 0; 6160} 6161_ACEOF 6162if ac_fn_c_try_link "$LINENO"; then : 6163 gfortran_use_symver=gnu 6164else 6165 gfortran_use_symver=no 6166fi 6167rm -f core conftest.err conftest.$ac_objext \ 6168 conftest$ac_exeext conftest.$ac_ext 6169 if test x$gfortran_use_symver = xno; then 6170 case "$target_os" in 6171 solaris2*) 6172 LDFLAGS="$save_LDFLAGS" 6173 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map" 6174 # Sun ld cannot handle wildcards and treats all entries as undefined. 6175 cat > conftest.map <<EOF 6176FOO_1.0 { 6177 global: foo; local: *; 6178}; 6179EOF 6180 if test x$gcc_no_link = xyes; then 6181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 6182fi 6183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6184/* end confdefs.h. */ 6185int foo; 6186int 6187main () 6188{ 6189 6190 ; 6191 return 0; 6192} 6193_ACEOF 6194if ac_fn_c_try_link "$LINENO"; then : 6195 gfortran_use_symver=sun 6196else 6197 gfortran_use_symver=no 6198fi 6199rm -f core conftest.err conftest.$ac_objext \ 6200 conftest$ac_exeext conftest.$ac_ext 6201 ;; 6202 esac 6203 fi 6204 LDFLAGS="$save_LDFLAGS" 6205fi 6206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5 6207$as_echo "$gfortran_use_symver" >&6; } 6208 if test "x$gfortran_use_symver" != xno; then 6209 LIBGFOR_USE_SYMVER_TRUE= 6210 LIBGFOR_USE_SYMVER_FALSE='#' 6211else 6212 LIBGFOR_USE_SYMVER_TRUE='#' 6213 LIBGFOR_USE_SYMVER_FALSE= 6214fi 6215 6216 if test "x$gfortran_use_symver" = xgnu; then 6217 LIBGFOR_USE_SYMVER_GNU_TRUE= 6218 LIBGFOR_USE_SYMVER_GNU_FALSE='#' 6219else 6220 LIBGFOR_USE_SYMVER_GNU_TRUE='#' 6221 LIBGFOR_USE_SYMVER_GNU_FALSE= 6222fi 6223 6224 if test "x$gfortran_use_symver" = xsun; then 6225 LIBGFOR_USE_SYMVER_SUN_TRUE= 6226 LIBGFOR_USE_SYMVER_SUN_FALSE='#' 6227else 6228 LIBGFOR_USE_SYMVER_SUN_TRUE='#' 6229 LIBGFOR_USE_SYMVER_SUN_FALSE= 6230fi 6231 6232 6233# For GPU offloading, not everything in libfortran can be supported. 6234# Currently, the only target that has this problem is nvptx. The 6235# following is a (partial) list of features that are unsupportable on 6236# this particular target: 6237# * Constructors 6238# * alloca 6239# * C library support for I/O, with printf as the one notable exception 6240# * C library support for other features such as signal, environment 6241# variables, time functions 6242 6243 if test "x${target_cpu}" = xnvptx; then 6244 LIBGFOR_MINIMAL_TRUE= 6245 LIBGFOR_MINIMAL_FALSE='#' 6246else 6247 LIBGFOR_MINIMAL_TRUE='#' 6248 LIBGFOR_MINIMAL_FALSE= 6249fi 6250 6251 6252# Some compiler target support may have limited support for integer 6253# or floating point numbers ��� or may want to reduce the libgfortran size 6254# although they do have the support. 6255LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16" 6256LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16" 6257 6258 6259 6260 6261# Figure out whether the compiler supports "-ffunction-sections -fdata-sections", 6262# similarly to how libstdc++ does it 6263ac_test_CFLAGS="${CFLAGS+set}" 6264ac_save_CFLAGS="$CFLAGS" 6265 6266# Check for -ffunction-sections -fdata-sections 6267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5 6268$as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; } 6269CFLAGS='-Werror -ffunction-sections -fdata-sections' 6270cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6271/* end confdefs.h. */ 6272 6273int 6274main () 6275{ 6276int foo; 6277 ; 6278 return 0; 6279} 6280_ACEOF 6281if ac_fn_c_try_compile "$LINENO"; then : 6282 ac_fdsections=yes 6283else 6284 ac_fdsections=no 6285fi 6286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6287if test "$ac_test_CFLAGS" = set; then 6288 CFLAGS="$ac_save_CFLAGS" 6289else 6290 # this is the suspicious part 6291 CFLAGS="" 6292fi 6293if test x"$ac_fdsections" = x"yes"; then 6294 SECTION_FLAGS='-ffunction-sections -fdata-sections' 6295fi 6296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5 6297$as_echo "$ac_fdsections" >&6; } 6298 6299 6300# Check linker hardware capability support. 6301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6302$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6303if ${ac_cv_path_SED+:} false; then : 6304 $as_echo_n "(cached) " >&6 6305else 6306 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6307 for ac_i in 1 2 3 4 5 6 7; do 6308 ac_script="$ac_script$as_nl$ac_script" 6309 done 6310 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6311 { ac_script=; unset ac_script;} 6312 if test -z "$SED"; then 6313 ac_path_SED_found=false 6314 # Loop through the user's path and test for each of PROGNAME-LIST 6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6316for as_dir in $PATH 6317do 6318 IFS=$as_save_IFS 6319 test -z "$as_dir" && as_dir=. 6320 for ac_prog in sed gsed; do 6321 for ac_exec_ext in '' $ac_executable_extensions; do 6322 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6323 as_fn_executable_p "$ac_path_SED" || continue 6324# Check for GNU ac_path_SED and select it if it is found. 6325 # Check for GNU $ac_path_SED 6326case `"$ac_path_SED" --version 2>&1` in 6327*GNU*) 6328 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6329*) 6330 ac_count=0 6331 $as_echo_n 0123456789 >"conftest.in" 6332 while : 6333 do 6334 cat "conftest.in" "conftest.in" >"conftest.tmp" 6335 mv "conftest.tmp" "conftest.in" 6336 cp "conftest.in" "conftest.nl" 6337 $as_echo '' >> "conftest.nl" 6338 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6340 as_fn_arith $ac_count + 1 && ac_count=$as_val 6341 if test $ac_count -gt ${ac_path_SED_max-0}; then 6342 # Best one so far, save it but keep looking for a better one 6343 ac_cv_path_SED="$ac_path_SED" 6344 ac_path_SED_max=$ac_count 6345 fi 6346 # 10*(2^10) chars as input seems more than enough 6347 test $ac_count -gt 10 && break 6348 done 6349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6350esac 6351 6352 $ac_path_SED_found && break 3 6353 done 6354 done 6355 done 6356IFS=$as_save_IFS 6357 if test -z "$ac_cv_path_SED"; then 6358 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6359 fi 6360else 6361 ac_cv_path_SED=$SED 6362fi 6363 6364fi 6365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6366$as_echo "$ac_cv_path_SED" >&6; } 6367 SED="$ac_cv_path_SED" 6368 rm -f conftest.sed 6369 6370test -z "$SED" && SED=sed 6371Xsed="$SED -e 1s/^X//" 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6384$as_echo_n "checking for fgrep... " >&6; } 6385if ${ac_cv_path_FGREP+:} false; then : 6386 $as_echo_n "(cached) " >&6 6387else 6388 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6389 then ac_cv_path_FGREP="$GREP -F" 6390 else 6391 if test -z "$FGREP"; then 6392 ac_path_FGREP_found=false 6393 # Loop through the user's path and test for each of PROGNAME-LIST 6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6395for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6396do 6397 IFS=$as_save_IFS 6398 test -z "$as_dir" && as_dir=. 6399 for ac_prog in fgrep; do 6400 for ac_exec_ext in '' $ac_executable_extensions; do 6401 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6402 as_fn_executable_p "$ac_path_FGREP" || continue 6403# Check for GNU ac_path_FGREP and select it if it is found. 6404 # Check for GNU $ac_path_FGREP 6405case `"$ac_path_FGREP" --version 2>&1` in 6406*GNU*) 6407 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6408*) 6409 ac_count=0 6410 $as_echo_n 0123456789 >"conftest.in" 6411 while : 6412 do 6413 cat "conftest.in" "conftest.in" >"conftest.tmp" 6414 mv "conftest.tmp" "conftest.in" 6415 cp "conftest.in" "conftest.nl" 6416 $as_echo 'FGREP' >> "conftest.nl" 6417 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6418 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6419 as_fn_arith $ac_count + 1 && ac_count=$as_val 6420 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6421 # Best one so far, save it but keep looking for a better one 6422 ac_cv_path_FGREP="$ac_path_FGREP" 6423 ac_path_FGREP_max=$ac_count 6424 fi 6425 # 10*(2^10) chars as input seems more than enough 6426 test $ac_count -gt 10 && break 6427 done 6428 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6429esac 6430 6431 $ac_path_FGREP_found && break 3 6432 done 6433 done 6434 done 6435IFS=$as_save_IFS 6436 if test -z "$ac_cv_path_FGREP"; then 6437 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6438 fi 6439else 6440 ac_cv_path_FGREP=$FGREP 6441fi 6442 6443 fi 6444fi 6445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6446$as_echo "$ac_cv_path_FGREP" >&6; } 6447 FGREP="$ac_cv_path_FGREP" 6448 6449 6450test -z "$GREP" && GREP=grep 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6469ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6470ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6471 6472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6473$as_echo_n "checking how to print strings... " >&6; } 6474# Test print first, because it will be a builtin if present. 6475if test "X`print -r -- -n 2>/dev/null`" = X-n && \ 6476 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6477 ECHO='print -r --' 6478elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6479 ECHO='printf %s\n' 6480else 6481 # Use this function as a fallback that always works. 6482 func_fallback_echo () 6483 { 6484 eval 'cat <<_LTECHO_EOF 6485$1 6486_LTECHO_EOF' 6487 } 6488 ECHO='func_fallback_echo' 6489fi 6490 6491# func_echo_all arg... 6492# Invoke $ECHO with all args, space-separated. 6493func_echo_all () 6494{ 6495 $ECHO "" 6496} 6497 6498case "$ECHO" in 6499 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6500$as_echo "printf" >&6; } ;; 6501 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6502$as_echo "print -r" >&6; } ;; 6503 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6504$as_echo "cat" >&6; } ;; 6505esac 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522# Check whether --with-gnu-ld was given. 6523if test "${with_gnu_ld+set}" = set; then : 6524 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 6525else 6526 with_gnu_ld=no 6527fi 6528 6529ac_prog=ld 6530if test "$GCC" = yes; then 6531 # Check if gcc -print-prog-name=ld gives a path. 6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6533$as_echo_n "checking for ld used by $CC... " >&6; } 6534 case $host in 6535 *-*-mingw*) 6536 # gcc leaves a trailing carriage return which upsets mingw 6537 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6538 *) 6539 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6540 esac 6541 case $ac_prog in 6542 # Accept absolute paths. 6543 [\\/]* | ?:[\\/]*) 6544 re_direlt='/[^/][^/]*/\.\./' 6545 # Canonicalize the pathname of ld 6546 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6547 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6548 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6549 done 6550 test -z "$LD" && LD="$ac_prog" 6551 ;; 6552 "") 6553 # If it fails, then pretend we aren't using GCC. 6554 ac_prog=ld 6555 ;; 6556 *) 6557 # If it is relative, then search for the first ld in PATH. 6558 with_gnu_ld=unknown 6559 ;; 6560 esac 6561elif test "$with_gnu_ld" = yes; then 6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6563$as_echo_n "checking for GNU ld... " >&6; } 6564else 6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6566$as_echo_n "checking for non-GNU ld... " >&6; } 6567fi 6568if ${lt_cv_path_LD+:} false; then : 6569 $as_echo_n "(cached) " >&6 6570else 6571 if test -z "$LD"; then 6572 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6573 for ac_dir in $PATH; do 6574 IFS="$lt_save_ifs" 6575 test -z "$ac_dir" && ac_dir=. 6576 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6577 lt_cv_path_LD="$ac_dir/$ac_prog" 6578 # Check to see if the program is GNU ld. I'd rather use --version, 6579 # but apparently some variants of GNU ld only accept -v. 6580 # Break only if it was the GNU/non-GNU ld that we prefer. 6581 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6582 *GNU* | *'with BFD'*) 6583 test "$with_gnu_ld" != no && break 6584 ;; 6585 *) 6586 test "$with_gnu_ld" != yes && break 6587 ;; 6588 esac 6589 fi 6590 done 6591 IFS="$lt_save_ifs" 6592else 6593 lt_cv_path_LD="$LD" # Let the user override the test with a path. 6594fi 6595fi 6596 6597LD="$lt_cv_path_LD" 6598if test -n "$LD"; then 6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6600$as_echo "$LD" >&6; } 6601else 6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6603$as_echo "no" >&6; } 6604fi 6605test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6607$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6608if ${lt_cv_prog_gnu_ld+:} false; then : 6609 $as_echo_n "(cached) " >&6 6610else 6611 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6612case `$LD -v 2>&1 </dev/null` in 6613*GNU* | *'with BFD'*) 6614 lt_cv_prog_gnu_ld=yes 6615 ;; 6616*) 6617 lt_cv_prog_gnu_ld=no 6618 ;; 6619esac 6620fi 6621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6622$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6623with_gnu_ld=$lt_cv_prog_gnu_ld 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS='' 6635 6636 6637 ac_save_LDFLAGS="$LDFLAGS" 6638 LDFLAGS="$LFLAGS -mclear-hwcap" 6639 6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5 6641$as_echo_n "checking for -mclear-hwcap... " >&6; } 6642 if test x$gcc_no_link = xyes; then 6643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 6644fi 6645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6646/* end confdefs.h. */ 6647 6648int 6649main () 6650{ 6651return 0; 6652 ; 6653 return 0; 6654} 6655_ACEOF 6656if ac_fn_c_try_link "$LINENO"; then : 6657 ac_hwcap_ldflags=yes 6658else 6659 ac_hwcap_ldflags=no 6660fi 6661rm -f core conftest.err conftest.$ac_objext \ 6662 conftest$ac_exeext conftest.$ac_ext 6663 if test "$ac_hwcap_ldflags" = "yes"; then 6664 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS" 6665 fi 6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5 6667$as_echo "$ac_hwcap_ldflags" >&6; } 6668 6669 LDFLAGS="$ac_save_LDFLAGS" 6670 6671 6672 6673 if test $ac_hwcap_ldflags != no; then 6674 HAVE_HWCAP_TRUE= 6675 HAVE_HWCAP_FALSE='#' 6676else 6677 HAVE_HWCAP_TRUE='#' 6678 HAVE_HWCAP_FALSE= 6679fi 6680 6681 6682 6683# Find other programs we need. 6684if test -n "$ac_tool_prefix"; then 6685 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 6686set dummy ${ac_tool_prefix}as; ac_word=$2 6687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6688$as_echo_n "checking for $ac_word... " >&6; } 6689if ${ac_cv_prog_AS+:} false; then : 6690 $as_echo_n "(cached) " >&6 6691else 6692 if test -n "$AS"; then 6693 ac_cv_prog_AS="$AS" # Let the user override the test. 6694else 6695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6696for as_dir in $PATH 6697do 6698 IFS=$as_save_IFS 6699 test -z "$as_dir" && as_dir=. 6700 for ac_exec_ext in '' $ac_executable_extensions; do 6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6702 ac_cv_prog_AS="${ac_tool_prefix}as" 6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6704 break 2 6705 fi 6706done 6707 done 6708IFS=$as_save_IFS 6709 6710fi 6711fi 6712AS=$ac_cv_prog_AS 6713if test -n "$AS"; then 6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 6715$as_echo "$AS" >&6; } 6716else 6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6718$as_echo "no" >&6; } 6719fi 6720 6721 6722fi 6723if test -z "$ac_cv_prog_AS"; then 6724 ac_ct_AS=$AS 6725 # Extract the first word of "as", so it can be a program name with args. 6726set dummy as; ac_word=$2 6727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6728$as_echo_n "checking for $ac_word... " >&6; } 6729if ${ac_cv_prog_ac_ct_AS+:} false; then : 6730 $as_echo_n "(cached) " >&6 6731else 6732 if test -n "$ac_ct_AS"; then 6733 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 6734else 6735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6736for as_dir in $PATH 6737do 6738 IFS=$as_save_IFS 6739 test -z "$as_dir" && as_dir=. 6740 for ac_exec_ext in '' $ac_executable_extensions; do 6741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6742 ac_cv_prog_ac_ct_AS="as" 6743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6744 break 2 6745 fi 6746done 6747 done 6748IFS=$as_save_IFS 6749 6750fi 6751fi 6752ac_ct_AS=$ac_cv_prog_ac_ct_AS 6753if test -n "$ac_ct_AS"; then 6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 6755$as_echo "$ac_ct_AS" >&6; } 6756else 6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6758$as_echo "no" >&6; } 6759fi 6760 6761 if test "x$ac_ct_AS" = x; then 6762 AS="" 6763 else 6764 case $cross_compiling:$ac_tool_warned in 6765yes:) 6766{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6767$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6768ac_tool_warned=yes ;; 6769esac 6770 AS=$ac_ct_AS 6771 fi 6772else 6773 AS="$ac_cv_prog_AS" 6774fi 6775 6776if test -n "$ac_tool_prefix"; then 6777 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6778set dummy ${ac_tool_prefix}ar; ac_word=$2 6779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6780$as_echo_n "checking for $ac_word... " >&6; } 6781if ${ac_cv_prog_AR+:} false; then : 6782 $as_echo_n "(cached) " >&6 6783else 6784 if test -n "$AR"; then 6785 ac_cv_prog_AR="$AR" # Let the user override the test. 6786else 6787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6788for as_dir in $PATH 6789do 6790 IFS=$as_save_IFS 6791 test -z "$as_dir" && as_dir=. 6792 for ac_exec_ext in '' $ac_executable_extensions; do 6793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6794 ac_cv_prog_AR="${ac_tool_prefix}ar" 6795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6796 break 2 6797 fi 6798done 6799 done 6800IFS=$as_save_IFS 6801 6802fi 6803fi 6804AR=$ac_cv_prog_AR 6805if test -n "$AR"; then 6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6807$as_echo "$AR" >&6; } 6808else 6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6810$as_echo "no" >&6; } 6811fi 6812 6813 6814fi 6815if test -z "$ac_cv_prog_AR"; then 6816 ac_ct_AR=$AR 6817 # Extract the first word of "ar", so it can be a program name with args. 6818set dummy ar; ac_word=$2 6819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6820$as_echo_n "checking for $ac_word... " >&6; } 6821if ${ac_cv_prog_ac_ct_AR+:} false; then : 6822 $as_echo_n "(cached) " >&6 6823else 6824 if test -n "$ac_ct_AR"; then 6825 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6826else 6827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6828for as_dir in $PATH 6829do 6830 IFS=$as_save_IFS 6831 test -z "$as_dir" && as_dir=. 6832 for ac_exec_ext in '' $ac_executable_extensions; do 6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6834 ac_cv_prog_ac_ct_AR="ar" 6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6836 break 2 6837 fi 6838done 6839 done 6840IFS=$as_save_IFS 6841 6842fi 6843fi 6844ac_ct_AR=$ac_cv_prog_ac_ct_AR 6845if test -n "$ac_ct_AR"; then 6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6847$as_echo "$ac_ct_AR" >&6; } 6848else 6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6850$as_echo "no" >&6; } 6851fi 6852 6853 if test "x$ac_ct_AR" = x; then 6854 AR="" 6855 else 6856 case $cross_compiling:$ac_tool_warned in 6857yes:) 6858{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6859$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6860ac_tool_warned=yes ;; 6861esac 6862 AR=$ac_ct_AR 6863 fi 6864else 6865 AR="$ac_cv_prog_AR" 6866fi 6867 6868if test -n "$ac_tool_prefix"; then 6869 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6870set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6872$as_echo_n "checking for $ac_word... " >&6; } 6873if ${ac_cv_prog_RANLIB+:} false; then : 6874 $as_echo_n "(cached) " >&6 6875else 6876 if test -n "$RANLIB"; then 6877 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6878else 6879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6880for as_dir in $PATH 6881do 6882 IFS=$as_save_IFS 6883 test -z "$as_dir" && as_dir=. 6884 for ac_exec_ext in '' $ac_executable_extensions; do 6885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6886 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6888 break 2 6889 fi 6890done 6891 done 6892IFS=$as_save_IFS 6893 6894fi 6895fi 6896RANLIB=$ac_cv_prog_RANLIB 6897if test -n "$RANLIB"; then 6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6899$as_echo "$RANLIB" >&6; } 6900else 6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6902$as_echo "no" >&6; } 6903fi 6904 6905 6906fi 6907if test -z "$ac_cv_prog_RANLIB"; then 6908 ac_ct_RANLIB=$RANLIB 6909 # Extract the first word of "ranlib", so it can be a program name with args. 6910set dummy ranlib; ac_word=$2 6911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6912$as_echo_n "checking for $ac_word... " >&6; } 6913if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6914 $as_echo_n "(cached) " >&6 6915else 6916 if test -n "$ac_ct_RANLIB"; then 6917 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6918else 6919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6920for as_dir in $PATH 6921do 6922 IFS=$as_save_IFS 6923 test -z "$as_dir" && as_dir=. 6924 for ac_exec_ext in '' $ac_executable_extensions; do 6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6926 ac_cv_prog_ac_ct_RANLIB="ranlib" 6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6928 break 2 6929 fi 6930done 6931 done 6932IFS=$as_save_IFS 6933 6934fi 6935fi 6936ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6937if test -n "$ac_ct_RANLIB"; then 6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6939$as_echo "$ac_ct_RANLIB" >&6; } 6940else 6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6942$as_echo "no" >&6; } 6943fi 6944 6945 if test "x$ac_ct_RANLIB" = x; then 6946 RANLIB="ranlib-not-found-in-path-error" 6947 else 6948 case $cross_compiling:$ac_tool_warned in 6949yes:) 6950{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6951$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6952ac_tool_warned=yes ;; 6953esac 6954 RANLIB=$ac_ct_RANLIB 6955 fi 6956else 6957 RANLIB="$ac_cv_prog_RANLIB" 6958fi 6959 6960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6961$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6962set x ${MAKE-make} 6963ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6964if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 6965 $as_echo_n "(cached) " >&6 6966else 6967 cat >conftest.make <<\_ACEOF 6968SHELL = /bin/sh 6969all: 6970 @echo '@@@%%%=$(MAKE)=@@@%%%' 6971_ACEOF 6972# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 6973case `${MAKE-make} -f conftest.make 2>/dev/null` in 6974 *@@@%%%=?*=@@@%%%*) 6975 eval ac_cv_prog_make_${ac_make}_set=yes;; 6976 *) 6977 eval ac_cv_prog_make_${ac_make}_set=no;; 6978esac 6979rm -f conftest.make 6980fi 6981if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6983$as_echo "yes" >&6; } 6984 SET_MAKE= 6985else 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6987$as_echo "no" >&6; } 6988 SET_MAKE="MAKE=${MAKE-make}" 6989fi 6990 6991 6992 6993# Configure libtool 6994#AC_MSG_NOTICE([====== Starting libtool configuration]) 6995enable_dlopen=yes 6996 6997 6998 6999case `pwd` in 7000 *\ * | *\ *) 7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 7002$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 7003esac 7004 7005 7006 7007macro_version='2.2.7a' 7008macro_revision='1.3134' 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022ltmain="$ac_aux_dir/ltmain.sh" 7023 7024# Backslashify metacharacters that are still active within 7025# double-quoted strings. 7026sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7027 7028# Same as above, but do not quote variable references. 7029double_quote_subst='s/\(["`\\]\)/\\\1/g' 7030 7031# Sed substitution to delay expansion of an escaped shell variable in a 7032# double_quote_subst'ed string. 7033delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7034 7035# Sed substitution to delay expansion of an escaped single quote. 7036delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7037 7038# Sed substitution to avoid accidental globbing in evaled expressions 7039no_glob_subst='s/\*/\\\*/g' 7040 7041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 7042$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 7043if ${lt_cv_path_NM+:} false; then : 7044 $as_echo_n "(cached) " >&6 7045else 7046 if test -n "$NM"; then 7047 # Let the user override the test. 7048 lt_cv_path_NM="$NM" 7049else 7050 lt_nm_to_check="${ac_tool_prefix}nm" 7051 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 7052 lt_nm_to_check="$lt_nm_to_check nm" 7053 fi 7054 for lt_tmp_nm in $lt_nm_to_check; do 7055 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7056 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 7057 IFS="$lt_save_ifs" 7058 test -z "$ac_dir" && ac_dir=. 7059 tmp_nm="$ac_dir/$lt_tmp_nm" 7060 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 7061 # Check to see if the nm accepts a BSD-compat flag. 7062 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 7063 # nm: unknown option "B" ignored 7064 # Tru64's nm complains that /dev/null is an invalid object file 7065 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 7066 */dev/null* | *'Invalid file or object type'*) 7067 lt_cv_path_NM="$tmp_nm -B" 7068 break 7069 ;; 7070 *) 7071 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 7072 */dev/null*) 7073 lt_cv_path_NM="$tmp_nm -p" 7074 break 7075 ;; 7076 *) 7077 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 7078 continue # so that we can try to find one that supports BSD flags 7079 ;; 7080 esac 7081 ;; 7082 esac 7083 fi 7084 done 7085 IFS="$lt_save_ifs" 7086 done 7087 : ${lt_cv_path_NM=no} 7088fi 7089fi 7090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 7091$as_echo "$lt_cv_path_NM" >&6; } 7092if test "$lt_cv_path_NM" != "no"; then 7093 NM="$lt_cv_path_NM" 7094else 7095 # Didn't find any BSD compatible name lister, look for dumpbin. 7096 if test -n "$DUMPBIN"; then : 7097 # Let the user override the test. 7098 else 7099 if test -n "$ac_tool_prefix"; then 7100 for ac_prog in dumpbin "link -dump" 7101 do 7102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7103set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7105$as_echo_n "checking for $ac_word... " >&6; } 7106if ${ac_cv_prog_DUMPBIN+:} false; then : 7107 $as_echo_n "(cached) " >&6 7108else 7109 if test -n "$DUMPBIN"; then 7110 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 7111else 7112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7113for as_dir in $PATH 7114do 7115 IFS=$as_save_IFS 7116 test -z "$as_dir" && as_dir=. 7117 for ac_exec_ext in '' $ac_executable_extensions; do 7118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7119 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 7120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7121 break 2 7122 fi 7123done 7124 done 7125IFS=$as_save_IFS 7126 7127fi 7128fi 7129DUMPBIN=$ac_cv_prog_DUMPBIN 7130if test -n "$DUMPBIN"; then 7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 7132$as_echo "$DUMPBIN" >&6; } 7133else 7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7135$as_echo "no" >&6; } 7136fi 7137 7138 7139 test -n "$DUMPBIN" && break 7140 done 7141fi 7142if test -z "$DUMPBIN"; then 7143 ac_ct_DUMPBIN=$DUMPBIN 7144 for ac_prog in dumpbin "link -dump" 7145do 7146 # Extract the first word of "$ac_prog", so it can be a program name with args. 7147set dummy $ac_prog; ac_word=$2 7148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7149$as_echo_n "checking for $ac_word... " >&6; } 7150if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 7151 $as_echo_n "(cached) " >&6 7152else 7153 if test -n "$ac_ct_DUMPBIN"; then 7154 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 7155else 7156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7157for as_dir in $PATH 7158do 7159 IFS=$as_save_IFS 7160 test -z "$as_dir" && as_dir=. 7161 for ac_exec_ext in '' $ac_executable_extensions; do 7162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7163 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 7164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7165 break 2 7166 fi 7167done 7168 done 7169IFS=$as_save_IFS 7170 7171fi 7172fi 7173ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 7174if test -n "$ac_ct_DUMPBIN"; then 7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 7176$as_echo "$ac_ct_DUMPBIN" >&6; } 7177else 7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7179$as_echo "no" >&6; } 7180fi 7181 7182 7183 test -n "$ac_ct_DUMPBIN" && break 7184done 7185 7186 if test "x$ac_ct_DUMPBIN" = x; then 7187 DUMPBIN=":" 7188 else 7189 case $cross_compiling:$ac_tool_warned in 7190yes:) 7191{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7192$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7193ac_tool_warned=yes ;; 7194esac 7195 DUMPBIN=$ac_ct_DUMPBIN 7196 fi 7197fi 7198 7199 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 7200 *COFF*) 7201 DUMPBIN="$DUMPBIN -symbols" 7202 ;; 7203 *) 7204 DUMPBIN=: 7205 ;; 7206 esac 7207 fi 7208 7209 if test "$DUMPBIN" != ":"; then 7210 NM="$DUMPBIN" 7211 fi 7212fi 7213test -z "$NM" && NM=nm 7214 7215 7216 7217 7218 7219 7220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 7221$as_echo_n "checking the name lister ($NM) interface... " >&6; } 7222if ${lt_cv_nm_interface+:} false; then : 7223 $as_echo_n "(cached) " >&6 7224else 7225 lt_cv_nm_interface="BSD nm" 7226 echo "int some_variable = 0;" > conftest.$ac_ext 7227 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 7228 (eval "$ac_compile" 2>conftest.err) 7229 cat conftest.err >&5 7230 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 7231 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 7232 cat conftest.err >&5 7233 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 7234 cat conftest.out >&5 7235 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 7236 lt_cv_nm_interface="MS dumpbin" 7237 fi 7238 rm -f conftest* 7239fi 7240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 7241$as_echo "$lt_cv_nm_interface" >&6; } 7242 7243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 7244$as_echo_n "checking whether ln -s works... " >&6; } 7245LN_S=$as_ln_s 7246if test "$LN_S" = "ln -s"; then 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7248$as_echo "yes" >&6; } 7249else 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 7251$as_echo "no, using $LN_S" >&6; } 7252fi 7253 7254# find the maximum length of command line arguments 7255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 7256$as_echo_n "checking the maximum length of command line arguments... " >&6; } 7257if ${lt_cv_sys_max_cmd_len+:} false; then : 7258 $as_echo_n "(cached) " >&6 7259else 7260 i=0 7261 teststring="ABCD" 7262 7263 case $build_os in 7264 msdosdjgpp*) 7265 # On DJGPP, this test can blow up pretty badly due to problems in libc 7266 # (any single argument exceeding 2000 bytes causes a buffer overrun 7267 # during glob expansion). Even if it were fixed, the result of this 7268 # check would be larger than it should be. 7269 lt_cv_sys_max_cmd_len=12288; # 12K is about right 7270 ;; 7271 7272 gnu*) 7273 # Under GNU Hurd, this test is not required because there is 7274 # no limit to the length of command line arguments. 7275 # Libtool will interpret -1 as no limit whatsoever 7276 lt_cv_sys_max_cmd_len=-1; 7277 ;; 7278 7279 cygwin* | mingw* | cegcc*) 7280 # On Win9x/ME, this test blows up -- it succeeds, but takes 7281 # about 5 minutes as the teststring grows exponentially. 7282 # Worse, since 9x/ME are not pre-emptively multitasking, 7283 # you end up with a "frozen" computer, even though with patience 7284 # the test eventually succeeds (with a max line length of 256k). 7285 # Instead, let's just punt: use the minimum linelength reported by 7286 # all of the supported platforms: 8192 (on NT/2K/XP). 7287 lt_cv_sys_max_cmd_len=8192; 7288 ;; 7289 7290 mint*) 7291 # On MiNT this can take a long time and run out of memory. 7292 lt_cv_sys_max_cmd_len=8192; 7293 ;; 7294 7295 amigaos*) 7296 # On AmigaOS with pdksh, this test takes hours, literally. 7297 # So we just punt and use a minimum line length of 8192. 7298 lt_cv_sys_max_cmd_len=8192; 7299 ;; 7300 7301 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 7302 # This has been around since 386BSD, at least. Likely further. 7303 if test -x /sbin/sysctl; then 7304 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 7305 elif test -x /usr/sbin/sysctl; then 7306 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 7307 else 7308 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 7309 fi 7310 # And add a safety zone 7311 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7312 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7313 ;; 7314 7315 interix*) 7316 # We know the value 262144 and hardcode it with a safety zone (like BSD) 7317 lt_cv_sys_max_cmd_len=196608 7318 ;; 7319 7320 osf*) 7321 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 7322 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 7323 # nice to cause kernel panics so lets avoid the loop below. 7324 # First set a reasonable default. 7325 lt_cv_sys_max_cmd_len=16384 7326 # 7327 if test -x /sbin/sysconfig; then 7328 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 7329 *1*) lt_cv_sys_max_cmd_len=-1 ;; 7330 esac 7331 fi 7332 ;; 7333 sco3.2v5*) 7334 lt_cv_sys_max_cmd_len=102400 7335 ;; 7336 sysv5* | sco5v6* | sysv4.2uw2*) 7337 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 7338 if test -n "$kargmax"; then 7339 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 7340 else 7341 lt_cv_sys_max_cmd_len=32768 7342 fi 7343 ;; 7344 *) 7345 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 7346 if test -n "$lt_cv_sys_max_cmd_len"; then 7347 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7349 else 7350 # Make teststring a little bigger before we do anything with it. 7351 # a 1K string should be a reasonable start. 7352 for i in 1 2 3 4 5 6 7 8 ; do 7353 teststring=$teststring$teststring 7354 done 7355 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 7356 # If test is not a shell built-in, we'll probably end up computing a 7357 # maximum length that is only half of the actual maximum length, but 7358 # we can't tell. 7359 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ 7360 = "X$teststring$teststring"; } >/dev/null 2>&1 && 7361 test $i != 17 # 1/2 MB should be enough 7362 do 7363 i=`expr $i + 1` 7364 teststring=$teststring$teststring 7365 done 7366 # Only check the string length outside the loop. 7367 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 7368 teststring= 7369 # Add a significant safety factor because C++ compilers can tack on 7370 # massive amounts of additional arguments before passing them to the 7371 # linker. It appears as though 1/2 is a usable value. 7372 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 7373 fi 7374 ;; 7375 esac 7376 7377fi 7378 7379if test -n $lt_cv_sys_max_cmd_len ; then 7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 7381$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 7382else 7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 7384$as_echo "none" >&6; } 7385fi 7386max_cmd_len=$lt_cv_sys_max_cmd_len 7387 7388 7389 7390 7391 7392 7393: ${CP="cp -f"} 7394: ${MV="mv -f"} 7395: ${RM="rm -f"} 7396 7397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 7398$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 7399# Try some XSI features 7400xsi_shell=no 7401( _lt_dummy="a/b/c" 7402 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 7403 = c,a/b,, \ 7404 && eval 'test $(( 1 + 1 )) -eq 2 \ 7405 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 7406 && xsi_shell=yes 7407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 7408$as_echo "$xsi_shell" >&6; } 7409 7410 7411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 7412$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 7413lt_shell_append=no 7414( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 7415 >/dev/null 2>&1 \ 7416 && lt_shell_append=yes 7417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 7418$as_echo "$lt_shell_append" >&6; } 7419 7420 7421if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7422 lt_unset=unset 7423else 7424 lt_unset=false 7425fi 7426 7427 7428 7429 7430 7431# test EBCDIC or ASCII 7432case `echo X|tr X '\101'` in 7433 A) # ASCII based system 7434 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 7435 lt_SP2NL='tr \040 \012' 7436 lt_NL2SP='tr \015\012 \040\040' 7437 ;; 7438 *) # EBCDIC based system 7439 lt_SP2NL='tr \100 \n' 7440 lt_NL2SP='tr \r\n \100\100' 7441 ;; 7442esac 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7453$as_echo_n "checking for $LD option to reload object files... " >&6; } 7454if ${lt_cv_ld_reload_flag+:} false; then : 7455 $as_echo_n "(cached) " >&6 7456else 7457 lt_cv_ld_reload_flag='-r' 7458fi 7459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 7460$as_echo "$lt_cv_ld_reload_flag" >&6; } 7461reload_flag=$lt_cv_ld_reload_flag 7462case $reload_flag in 7463"" | " "*) ;; 7464*) reload_flag=" $reload_flag" ;; 7465esac 7466reload_cmds='$LD$reload_flag -o $output$reload_objs' 7467case $host_os in 7468 darwin*) 7469 if test "$GCC" = yes; then 7470 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 7471 else 7472 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7473 fi 7474 ;; 7475esac 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485if test -n "$ac_tool_prefix"; then 7486 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 7487set dummy ${ac_tool_prefix}objdump; ac_word=$2 7488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7489$as_echo_n "checking for $ac_word... " >&6; } 7490if ${ac_cv_prog_OBJDUMP+:} false; then : 7491 $as_echo_n "(cached) " >&6 7492else 7493 if test -n "$OBJDUMP"; then 7494 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 7495else 7496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7497for as_dir in $PATH 7498do 7499 IFS=$as_save_IFS 7500 test -z "$as_dir" && as_dir=. 7501 for ac_exec_ext in '' $ac_executable_extensions; do 7502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7503 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7505 break 2 7506 fi 7507done 7508 done 7509IFS=$as_save_IFS 7510 7511fi 7512fi 7513OBJDUMP=$ac_cv_prog_OBJDUMP 7514if test -n "$OBJDUMP"; then 7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 7516$as_echo "$OBJDUMP" >&6; } 7517else 7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7519$as_echo "no" >&6; } 7520fi 7521 7522 7523fi 7524if test -z "$ac_cv_prog_OBJDUMP"; then 7525 ac_ct_OBJDUMP=$OBJDUMP 7526 # Extract the first word of "objdump", so it can be a program name with args. 7527set dummy objdump; ac_word=$2 7528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7529$as_echo_n "checking for $ac_word... " >&6; } 7530if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 7531 $as_echo_n "(cached) " >&6 7532else 7533 if test -n "$ac_ct_OBJDUMP"; then 7534 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 7535else 7536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7537for as_dir in $PATH 7538do 7539 IFS=$as_save_IFS 7540 test -z "$as_dir" && as_dir=. 7541 for ac_exec_ext in '' $ac_executable_extensions; do 7542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7543 ac_cv_prog_ac_ct_OBJDUMP="objdump" 7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7545 break 2 7546 fi 7547done 7548 done 7549IFS=$as_save_IFS 7550 7551fi 7552fi 7553ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 7554if test -n "$ac_ct_OBJDUMP"; then 7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 7556$as_echo "$ac_ct_OBJDUMP" >&6; } 7557else 7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7559$as_echo "no" >&6; } 7560fi 7561 7562 if test "x$ac_ct_OBJDUMP" = x; then 7563 OBJDUMP="false" 7564 else 7565 case $cross_compiling:$ac_tool_warned in 7566yes:) 7567{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7568$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7569ac_tool_warned=yes ;; 7570esac 7571 OBJDUMP=$ac_ct_OBJDUMP 7572 fi 7573else 7574 OBJDUMP="$ac_cv_prog_OBJDUMP" 7575fi 7576 7577test -z "$OBJDUMP" && OBJDUMP=objdump 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 7588$as_echo_n "checking how to recognize dependent libraries... " >&6; } 7589if ${lt_cv_deplibs_check_method+:} false; then : 7590 $as_echo_n "(cached) " >&6 7591else 7592 lt_cv_file_magic_cmd='$MAGIC_CMD' 7593lt_cv_file_magic_test_file= 7594lt_cv_deplibs_check_method='unknown' 7595# Need to set the preceding variable on all platforms that support 7596# interlibrary dependencies. 7597# 'none' -- dependencies not supported. 7598# `unknown' -- same as none, but documents that we really don't know. 7599# 'pass_all' -- all dependencies passed with no checks. 7600# 'test_compile' -- check by making test program. 7601# 'file_magic [[regex]]' -- check by looking for files in library path 7602# which responds to the $file_magic_cmd with a given extended regex. 7603# If you have `file' or equivalent on your system and you're not sure 7604# whether `pass_all' will *always* work, you probably want this one. 7605 7606case $host_os in 7607aix[4-9]*) 7608 lt_cv_deplibs_check_method=pass_all 7609 ;; 7610 7611beos*) 7612 lt_cv_deplibs_check_method=pass_all 7613 ;; 7614 7615bsdi[45]*) 7616 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7617 lt_cv_file_magic_cmd='/usr/bin/file -L' 7618 lt_cv_file_magic_test_file=/shlib/libc.so 7619 ;; 7620 7621cygwin*) 7622 # func_win32_libid is a shell function defined in ltmain.sh 7623 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7624 lt_cv_file_magic_cmd='func_win32_libid' 7625 ;; 7626 7627mingw* | pw32*) 7628 # Base MSYS/MinGW do not provide the 'file' command needed by 7629 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7630 # unless we find 'file', for example because we are cross-compiling. 7631 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 7632 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 7633 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7634 lt_cv_file_magic_cmd='func_win32_libid' 7635 else 7636 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 7637 lt_cv_file_magic_cmd='$OBJDUMP -f' 7638 fi 7639 ;; 7640 7641cegcc*) 7642 # use the weaker test based on 'objdump'. See mingw*. 7643 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7644 lt_cv_file_magic_cmd='$OBJDUMP -f' 7645 ;; 7646 7647darwin* | rhapsody*) 7648 lt_cv_deplibs_check_method=pass_all 7649 ;; 7650 7651freebsd* | dragonfly*) 7652 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7653 case $host_cpu in 7654 i*86 ) 7655 # Not sure whether the presence of OpenBSD here was a mistake. 7656 # Let's accept both of them until this is cleared up. 7657 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7658 lt_cv_file_magic_cmd=/usr/bin/file 7659 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7660 ;; 7661 esac 7662 else 7663 lt_cv_deplibs_check_method=pass_all 7664 fi 7665 ;; 7666 7667gnu*) 7668 lt_cv_deplibs_check_method=pass_all 7669 ;; 7670 7671haiku*) 7672 lt_cv_deplibs_check_method=pass_all 7673 ;; 7674 7675hpux10.20* | hpux11*) 7676 lt_cv_file_magic_cmd=/usr/bin/file 7677 case $host_cpu in 7678 ia64*) 7679 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7680 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7681 ;; 7682 hppa*64*) 7683 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]' 7684 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7685 ;; 7686 *) 7687 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7688 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7689 ;; 7690 esac 7691 ;; 7692 7693interix[3-9]*) 7694 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7695 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7696 ;; 7697 7698irix5* | irix6* | nonstopux*) 7699 case $LD in 7700 *-32|*"-32 ") libmagic=32-bit;; 7701 *-n32|*"-n32 ") libmagic=N32;; 7702 *-64|*"-64 ") libmagic=64-bit;; 7703 *) libmagic=never-match;; 7704 esac 7705 lt_cv_deplibs_check_method=pass_all 7706 ;; 7707 7708# This must be Linux ELF. 7709linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) 7710 lt_cv_deplibs_check_method=pass_all 7711 ;; 7712 7713netbsd*) 7714 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7715 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7716 else 7717 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7718 fi 7719 ;; 7720 7721newos6*) 7722 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7723 lt_cv_file_magic_cmd=/usr/bin/file 7724 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7725 ;; 7726 7727*nto* | *qnx*) 7728 lt_cv_deplibs_check_method=pass_all 7729 ;; 7730 7731openbsd*) 7732 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 7733 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7734 else 7735 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7736 fi 7737 ;; 7738 7739osf3* | osf4* | osf5*) 7740 lt_cv_deplibs_check_method=pass_all 7741 ;; 7742 7743rdos*) 7744 lt_cv_deplibs_check_method=pass_all 7745 ;; 7746 7747solaris*) 7748 lt_cv_deplibs_check_method=pass_all 7749 ;; 7750 7751sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7752 lt_cv_deplibs_check_method=pass_all 7753 ;; 7754 7755sysv4 | sysv4.3*) 7756 case $host_vendor in 7757 motorola) 7758 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]' 7759 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7760 ;; 7761 ncr) 7762 lt_cv_deplibs_check_method=pass_all 7763 ;; 7764 sequent) 7765 lt_cv_file_magic_cmd='/bin/file' 7766 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7767 ;; 7768 sni) 7769 lt_cv_file_magic_cmd='/bin/file' 7770 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7771 lt_cv_file_magic_test_file=/lib/libc.so 7772 ;; 7773 siemens) 7774 lt_cv_deplibs_check_method=pass_all 7775 ;; 7776 pc) 7777 lt_cv_deplibs_check_method=pass_all 7778 ;; 7779 esac 7780 ;; 7781 7782tpf*) 7783 lt_cv_deplibs_check_method=pass_all 7784 ;; 7785esac 7786 7787fi 7788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7789$as_echo "$lt_cv_deplibs_check_method" >&6; } 7790file_magic_cmd=$lt_cv_file_magic_cmd 7791deplibs_check_method=$lt_cv_deplibs_check_method 7792test -z "$deplibs_check_method" && deplibs_check_method=unknown 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805if test -n "$ac_tool_prefix"; then 7806 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 7807set dummy ${ac_tool_prefix}ar; ac_word=$2 7808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7809$as_echo_n "checking for $ac_word... " >&6; } 7810if ${ac_cv_prog_AR+:} false; then : 7811 $as_echo_n "(cached) " >&6 7812else 7813 if test -n "$AR"; then 7814 ac_cv_prog_AR="$AR" # Let the user override the test. 7815else 7816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7817for as_dir in $PATH 7818do 7819 IFS=$as_save_IFS 7820 test -z "$as_dir" && as_dir=. 7821 for ac_exec_ext in '' $ac_executable_extensions; do 7822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7823 ac_cv_prog_AR="${ac_tool_prefix}ar" 7824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7825 break 2 7826 fi 7827done 7828 done 7829IFS=$as_save_IFS 7830 7831fi 7832fi 7833AR=$ac_cv_prog_AR 7834if test -n "$AR"; then 7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7836$as_echo "$AR" >&6; } 7837else 7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7839$as_echo "no" >&6; } 7840fi 7841 7842 7843fi 7844if test -z "$ac_cv_prog_AR"; then 7845 ac_ct_AR=$AR 7846 # Extract the first word of "ar", so it can be a program name with args. 7847set dummy ar; ac_word=$2 7848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7849$as_echo_n "checking for $ac_word... " >&6; } 7850if ${ac_cv_prog_ac_ct_AR+:} false; then : 7851 $as_echo_n "(cached) " >&6 7852else 7853 if test -n "$ac_ct_AR"; then 7854 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7855else 7856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7857for as_dir in $PATH 7858do 7859 IFS=$as_save_IFS 7860 test -z "$as_dir" && as_dir=. 7861 for ac_exec_ext in '' $ac_executable_extensions; do 7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7863 ac_cv_prog_ac_ct_AR="ar" 7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7865 break 2 7866 fi 7867done 7868 done 7869IFS=$as_save_IFS 7870 7871fi 7872fi 7873ac_ct_AR=$ac_cv_prog_ac_ct_AR 7874if test -n "$ac_ct_AR"; then 7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7876$as_echo "$ac_ct_AR" >&6; } 7877else 7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7879$as_echo "no" >&6; } 7880fi 7881 7882 if test "x$ac_ct_AR" = x; then 7883 AR="false" 7884 else 7885 case $cross_compiling:$ac_tool_warned in 7886yes:) 7887{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7888$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7889ac_tool_warned=yes ;; 7890esac 7891 AR=$ac_ct_AR 7892 fi 7893else 7894 AR="$ac_cv_prog_AR" 7895fi 7896 7897test -z "$AR" && AR=ar 7898test -z "$AR_FLAGS" && AR_FLAGS=cru 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910if test -n "$ac_tool_prefix"; then 7911 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7912set dummy ${ac_tool_prefix}strip; ac_word=$2 7913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7914$as_echo_n "checking for $ac_word... " >&6; } 7915if ${ac_cv_prog_STRIP+:} false; then : 7916 $as_echo_n "(cached) " >&6 7917else 7918 if test -n "$STRIP"; then 7919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7920else 7921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7922for as_dir in $PATH 7923do 7924 IFS=$as_save_IFS 7925 test -z "$as_dir" && as_dir=. 7926 for ac_exec_ext in '' $ac_executable_extensions; do 7927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7928 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7930 break 2 7931 fi 7932done 7933 done 7934IFS=$as_save_IFS 7935 7936fi 7937fi 7938STRIP=$ac_cv_prog_STRIP 7939if test -n "$STRIP"; then 7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7941$as_echo "$STRIP" >&6; } 7942else 7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7944$as_echo "no" >&6; } 7945fi 7946 7947 7948fi 7949if test -z "$ac_cv_prog_STRIP"; then 7950 ac_ct_STRIP=$STRIP 7951 # Extract the first word of "strip", so it can be a program name with args. 7952set dummy strip; ac_word=$2 7953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7954$as_echo_n "checking for $ac_word... " >&6; } 7955if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7956 $as_echo_n "(cached) " >&6 7957else 7958 if test -n "$ac_ct_STRIP"; then 7959 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7960else 7961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7962for as_dir in $PATH 7963do 7964 IFS=$as_save_IFS 7965 test -z "$as_dir" && as_dir=. 7966 for ac_exec_ext in '' $ac_executable_extensions; do 7967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7968 ac_cv_prog_ac_ct_STRIP="strip" 7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7970 break 2 7971 fi 7972done 7973 done 7974IFS=$as_save_IFS 7975 7976fi 7977fi 7978ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7979if test -n "$ac_ct_STRIP"; then 7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7981$as_echo "$ac_ct_STRIP" >&6; } 7982else 7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7984$as_echo "no" >&6; } 7985fi 7986 7987 if test "x$ac_ct_STRIP" = x; then 7988 STRIP=":" 7989 else 7990 case $cross_compiling:$ac_tool_warned in 7991yes:) 7992{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7993$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7994ac_tool_warned=yes ;; 7995esac 7996 STRIP=$ac_ct_STRIP 7997 fi 7998else 7999 STRIP="$ac_cv_prog_STRIP" 8000fi 8001 8002test -z "$STRIP" && STRIP=: 8003 8004 8005 8006 8007 8008 8009if test -n "$ac_tool_prefix"; then 8010 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 8011set dummy ${ac_tool_prefix}ranlib; ac_word=$2 8012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8013$as_echo_n "checking for $ac_word... " >&6; } 8014if ${ac_cv_prog_RANLIB+:} false; then : 8015 $as_echo_n "(cached) " >&6 8016else 8017 if test -n "$RANLIB"; then 8018 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8019else 8020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8021for as_dir in $PATH 8022do 8023 IFS=$as_save_IFS 8024 test -z "$as_dir" && as_dir=. 8025 for ac_exec_ext in '' $ac_executable_extensions; do 8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8027 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8029 break 2 8030 fi 8031done 8032 done 8033IFS=$as_save_IFS 8034 8035fi 8036fi 8037RANLIB=$ac_cv_prog_RANLIB 8038if test -n "$RANLIB"; then 8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8040$as_echo "$RANLIB" >&6; } 8041else 8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8043$as_echo "no" >&6; } 8044fi 8045 8046 8047fi 8048if test -z "$ac_cv_prog_RANLIB"; then 8049 ac_ct_RANLIB=$RANLIB 8050 # Extract the first word of "ranlib", so it can be a program name with args. 8051set dummy ranlib; ac_word=$2 8052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8053$as_echo_n "checking for $ac_word... " >&6; } 8054if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 8055 $as_echo_n "(cached) " >&6 8056else 8057 if test -n "$ac_ct_RANLIB"; then 8058 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 8059else 8060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8061for as_dir in $PATH 8062do 8063 IFS=$as_save_IFS 8064 test -z "$as_dir" && as_dir=. 8065 for ac_exec_ext in '' $ac_executable_extensions; do 8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8067 ac_cv_prog_ac_ct_RANLIB="ranlib" 8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8069 break 2 8070 fi 8071done 8072 done 8073IFS=$as_save_IFS 8074 8075fi 8076fi 8077ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 8078if test -n "$ac_ct_RANLIB"; then 8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 8080$as_echo "$ac_ct_RANLIB" >&6; } 8081else 8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8083$as_echo "no" >&6; } 8084fi 8085 8086 if test "x$ac_ct_RANLIB" = x; then 8087 RANLIB=":" 8088 else 8089 case $cross_compiling:$ac_tool_warned in 8090yes:) 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8092$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8093ac_tool_warned=yes ;; 8094esac 8095 RANLIB=$ac_ct_RANLIB 8096 fi 8097else 8098 RANLIB="$ac_cv_prog_RANLIB" 8099fi 8100 8101test -z "$RANLIB" && RANLIB=: 8102 8103 8104 8105 8106 8107 8108# Determine commands to create old-style static archives. 8109old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 8110old_postinstall_cmds='chmod 644 $oldlib' 8111old_postuninstall_cmds= 8112 8113if test -n "$RANLIB"; then 8114 case $host_os in 8115 openbsd*) 8116 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 8117 ;; 8118 *) 8119 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 8120 ;; 8121 esac 8122 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 8123fi 8124 8125case $host_os in 8126 darwin*) 8127 lock_old_archive_extraction=yes ;; 8128 *) 8129 lock_old_archive_extraction=no ;; 8130esac 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170# If no C compiler was specified, use CC. 8171LTCC=${LTCC-"$CC"} 8172 8173# If no C compiler flags were specified, use CFLAGS. 8174LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8175 8176# Allow CC to be a program name with arguments. 8177compiler=$CC 8178 8179 8180# Check for command to grab the raw symbol name followed by C symbol from nm. 8181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 8182$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 8183if ${lt_cv_sys_global_symbol_pipe+:} false; then : 8184 $as_echo_n "(cached) " >&6 8185else 8186 8187# These are sane defaults that work on at least a few old systems. 8188# [They come from Ultrix. What could be older than Ultrix?!! ;)] 8189 8190# Character class describing NM global symbol codes. 8191symcode='[BCDEGRST]' 8192 8193# Regexp to match symbols that can be accessed directly from C. 8194sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 8195 8196# Define system-specific variables. 8197case $host_os in 8198aix*) 8199 symcode='[BCDT]' 8200 ;; 8201cygwin* | mingw* | pw32* | cegcc*) 8202 symcode='[ABCDGISTW]' 8203 ;; 8204hpux*) 8205 if test "$host_cpu" = ia64; then 8206 symcode='[ABCDEGRST]' 8207 fi 8208 ;; 8209irix* | nonstopux*) 8210 symcode='[BCDEGRST]' 8211 ;; 8212osf*) 8213 symcode='[BCDEGQRST]' 8214 ;; 8215solaris*) 8216 symcode='[BDRT]' 8217 ;; 8218sco3.2v5*) 8219 symcode='[DT]' 8220 ;; 8221sysv4.2uw2*) 8222 symcode='[DT]' 8223 ;; 8224sysv5* | sco5v6* | unixware* | OpenUNIX*) 8225 symcode='[ABDT]' 8226 ;; 8227sysv4) 8228 symcode='[DFNSTU]' 8229 ;; 8230esac 8231 8232# If we're using GNU nm, then use its standard symbol codes. 8233case `$NM -V 2>&1` in 8234*GNU* | *'with BFD'*) 8235 symcode='[ABCDGIRSTW]' ;; 8236esac 8237 8238# Transform an extracted symbol line into a proper C declaration. 8239# Some systems (esp. on ia64) link data and code symbols differently, 8240# so use this general approach. 8241lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 8242 8243# Transform an extracted symbol line into symbol name and symbol address 8244lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 8245lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 8246 8247# Handle CRLF in mingw tool chain 8248opt_cr= 8249case $build_os in 8250mingw*) 8251 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 8252 ;; 8253esac 8254 8255# Try without a prefix underscore, then with it. 8256for ac_symprfx in "" "_"; do 8257 8258 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 8259 symxfrm="\\1 $ac_symprfx\\2 \\2" 8260 8261 # Write the raw and C identifiers. 8262 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8263 # Fake it for dumpbin and say T for any non-static function 8264 # and D for any global variable. 8265 # Also find C++ and __fastcall symbols from MSVC++, 8266 # which start with @ or ?. 8267 lt_cv_sys_global_symbol_pipe="$AWK '"\ 8268" {last_section=section; section=\$ 3};"\ 8269" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 8270" \$ 0!~/External *\|/{next};"\ 8271" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 8272" {if(hide[section]) next};"\ 8273" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 8274" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 8275" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 8276" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 8277" ' prfx=^$ac_symprfx" 8278 else 8279 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 8280 fi 8281 8282 # Check to see that the pipe works correctly. 8283 pipe_works=no 8284 8285 rm -f conftest* 8286 cat > conftest.$ac_ext <<_LT_EOF 8287#ifdef __cplusplus 8288extern "C" { 8289#endif 8290char nm_test_var; 8291void nm_test_func(void); 8292void nm_test_func(void){} 8293#ifdef __cplusplus 8294} 8295#endif 8296int main(){nm_test_var='a';nm_test_func();return(0);} 8297_LT_EOF 8298 8299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8300 (eval $ac_compile) 2>&5 8301 ac_status=$? 8302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8303 test $ac_status = 0; }; then 8304 # Now try to grab the symbols. 8305 nlist=conftest.nm 8306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 8307 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 8308 ac_status=$? 8309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8310 test $ac_status = 0; } && test -s "$nlist"; then 8311 # Try sorting and uniquifying the output. 8312 if sort "$nlist" | uniq > "$nlist"T; then 8313 mv -f "$nlist"T "$nlist" 8314 else 8315 rm -f "$nlist"T 8316 fi 8317 8318 # Make sure that we snagged all the symbols we need. 8319 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 8320 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 8321 cat <<_LT_EOF > conftest.$ac_ext 8322#ifdef __cplusplus 8323extern "C" { 8324#endif 8325 8326_LT_EOF 8327 # Now generate the symbol file. 8328 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 8329 8330 cat <<_LT_EOF >> conftest.$ac_ext 8331 8332/* The mapping between symbol names and symbols. */ 8333const struct { 8334 const char *name; 8335 void *address; 8336} 8337lt__PROGRAM__LTX_preloaded_symbols[] = 8338{ 8339 { "@PROGRAM@", (void *) 0 }, 8340_LT_EOF 8341 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 8342 cat <<\_LT_EOF >> conftest.$ac_ext 8343 {0, (void *) 0} 8344}; 8345 8346/* This works around a problem in FreeBSD linker */ 8347#ifdef FREEBSD_WORKAROUND 8348static const void *lt_preloaded_setup() { 8349 return lt__PROGRAM__LTX_preloaded_symbols; 8350} 8351#endif 8352 8353#ifdef __cplusplus 8354} 8355#endif 8356_LT_EOF 8357 # Now try linking the two files. 8358 mv conftest.$ac_objext conftstm.$ac_objext 8359 lt_save_LIBS="$LIBS" 8360 lt_save_CFLAGS="$CFLAGS" 8361 LIBS="conftstm.$ac_objext" 8362 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8364 (eval $ac_link) 2>&5 8365 ac_status=$? 8366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8367 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 8368 pipe_works=yes 8369 fi 8370 LIBS="$lt_save_LIBS" 8371 CFLAGS="$lt_save_CFLAGS" 8372 else 8373 echo "cannot find nm_test_func in $nlist" >&5 8374 fi 8375 else 8376 echo "cannot find nm_test_var in $nlist" >&5 8377 fi 8378 else 8379 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8380 fi 8381 else 8382 echo "$progname: failed program was:" >&5 8383 cat conftest.$ac_ext >&5 8384 fi 8385 rm -rf conftest* conftst* 8386 8387 # Do not use the global_symbol_pipe unless it works. 8388 if test "$pipe_works" = yes; then 8389 break 8390 else 8391 lt_cv_sys_global_symbol_pipe= 8392 fi 8393done 8394 8395fi 8396 8397if test -z "$lt_cv_sys_global_symbol_pipe"; then 8398 lt_cv_sys_global_symbol_to_cdecl= 8399fi 8400if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8402$as_echo "failed" >&6; } 8403else 8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8405$as_echo "ok" >&6; } 8406fi 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429# Check whether --enable-libtool-lock was given. 8430if test "${enable_libtool_lock+set}" = set; then : 8431 enableval=$enable_libtool_lock; 8432fi 8433 8434test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 8435 8436# Some flags need to be propagated to the compiler or linker for good 8437# libtool support. 8438case $host in 8439ia64-*-hpux*) 8440 # Find out which ABI we are using. 8441 echo 'int i;' > conftest.$ac_ext 8442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8443 (eval $ac_compile) 2>&5 8444 ac_status=$? 8445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8446 test $ac_status = 0; }; then 8447 case `/usr/bin/file conftest.$ac_objext` in 8448 *ELF-32*) 8449 HPUX_IA64_MODE="32" 8450 ;; 8451 *ELF-64*) 8452 HPUX_IA64_MODE="64" 8453 ;; 8454 esac 8455 fi 8456 rm -rf conftest* 8457 ;; 8458*-*-irix6*) 8459 # Find out which ABI we are using. 8460 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8462 (eval $ac_compile) 2>&5 8463 ac_status=$? 8464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8465 test $ac_status = 0; }; then 8466 if test "$lt_cv_prog_gnu_ld" = yes; then 8467 case `/usr/bin/file conftest.$ac_objext` in 8468 *32-bit*) 8469 LD="${LD-ld} -melf32bsmip" 8470 ;; 8471 *N32*) 8472 LD="${LD-ld} -melf32bmipn32" 8473 ;; 8474 *64-bit*) 8475 LD="${LD-ld} -melf64bmip" 8476 ;; 8477 esac 8478 else 8479 case `/usr/bin/file conftest.$ac_objext` in 8480 *32-bit*) 8481 LD="${LD-ld} -32" 8482 ;; 8483 *N32*) 8484 LD="${LD-ld} -n32" 8485 ;; 8486 *64-bit*) 8487 LD="${LD-ld} -64" 8488 ;; 8489 esac 8490 fi 8491 fi 8492 rm -rf conftest* 8493 ;; 8494 8495x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8496s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8497 # Find out which ABI we are using. 8498 echo 'int i;' > conftest.$ac_ext 8499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8500 (eval $ac_compile) 2>&5 8501 ac_status=$? 8502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8503 test $ac_status = 0; }; then 8504 case `/usr/bin/file conftest.o` in 8505 *32-bit*) 8506 case $host in 8507 x86_64-*kfreebsd*-gnu) 8508 LD="${LD-ld} -m elf_i386_fbsd" 8509 ;; 8510 x86_64-*linux*) 8511 case `/usr/bin/file conftest.o` in 8512 *x86-64*) 8513 LD="${LD-ld} -m elf32_x86_64" 8514 ;; 8515 *) 8516 LD="${LD-ld} -m elf_i386" 8517 ;; 8518 esac 8519 ;; 8520 powerpc64le-*linux*) 8521 LD="${LD-ld} -m elf32lppclinux" 8522 ;; 8523 powerpc64-*linux*) 8524 LD="${LD-ld} -m elf32ppclinux" 8525 ;; 8526 s390x-*linux*) 8527 LD="${LD-ld} -m elf_s390" 8528 ;; 8529 sparc64-*linux*) 8530 LD="${LD-ld} -m elf32_sparc" 8531 ;; 8532 esac 8533 ;; 8534 *64-bit*) 8535 case $host in 8536 x86_64-*kfreebsd*-gnu) 8537 LD="${LD-ld} -m elf_x86_64_fbsd" 8538 ;; 8539 x86_64-*linux*) 8540 LD="${LD-ld} -m elf_x86_64" 8541 ;; 8542 powerpcle-*linux*) 8543 LD="${LD-ld} -m elf64lppc" 8544 ;; 8545 powerpc-*linux*) 8546 LD="${LD-ld} -m elf64ppc" 8547 ;; 8548 s390*-*linux*|s390*-*tpf*) 8549 LD="${LD-ld} -m elf64_s390" 8550 ;; 8551 sparc*-*linux*) 8552 LD="${LD-ld} -m elf64_sparc" 8553 ;; 8554 esac 8555 ;; 8556 esac 8557 fi 8558 rm -rf conftest* 8559 ;; 8560 8561*-*-sco3.2v5*) 8562 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8563 SAVE_CFLAGS="$CFLAGS" 8564 CFLAGS="$CFLAGS -belf" 8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8566$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8567if ${lt_cv_cc_needs_belf+:} false; then : 8568 $as_echo_n "(cached) " >&6 8569else 8570 ac_ext=c 8571ac_cpp='$CPP $CPPFLAGS' 8572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8574ac_compiler_gnu=$ac_cv_c_compiler_gnu 8575 8576 if test x$gcc_no_link = xyes; then 8577 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 8578fi 8579cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8580/* end confdefs.h. */ 8581 8582int 8583main () 8584{ 8585 8586 ; 8587 return 0; 8588} 8589_ACEOF 8590if ac_fn_c_try_link "$LINENO"; then : 8591 lt_cv_cc_needs_belf=yes 8592else 8593 lt_cv_cc_needs_belf=no 8594fi 8595rm -f core conftest.err conftest.$ac_objext \ 8596 conftest$ac_exeext conftest.$ac_ext 8597 ac_ext=c 8598ac_cpp='$CPP $CPPFLAGS' 8599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8601ac_compiler_gnu=$ac_cv_c_compiler_gnu 8602 8603fi 8604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8605$as_echo "$lt_cv_cc_needs_belf" >&6; } 8606 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 8607 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8608 CFLAGS="$SAVE_CFLAGS" 8609 fi 8610 ;; 8611sparc*-*solaris*) 8612 # Find out which ABI we are using. 8613 echo 'int i;' > conftest.$ac_ext 8614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8615 (eval $ac_compile) 2>&5 8616 ac_status=$? 8617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8618 test $ac_status = 0; }; then 8619 case `/usr/bin/file conftest.o` in 8620 *64-bit*) 8621 case $lt_cv_prog_gnu_ld in 8622 yes*) LD="${LD-ld} -m elf64_sparc" ;; 8623 *) 8624 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8625 LD="${LD-ld} -64" 8626 fi 8627 ;; 8628 esac 8629 ;; 8630 esac 8631 fi 8632 rm -rf conftest* 8633 ;; 8634esac 8635 8636need_locks="$enable_libtool_lock" 8637 8638 8639 case $host_os in 8640 rhapsody* | darwin*) 8641 if test -n "$ac_tool_prefix"; then 8642 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8643set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8645$as_echo_n "checking for $ac_word... " >&6; } 8646if ${ac_cv_prog_DSYMUTIL+:} false; then : 8647 $as_echo_n "(cached) " >&6 8648else 8649 if test -n "$DSYMUTIL"; then 8650 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8651else 8652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8653for as_dir in $PATH 8654do 8655 IFS=$as_save_IFS 8656 test -z "$as_dir" && as_dir=. 8657 for ac_exec_ext in '' $ac_executable_extensions; do 8658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8659 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8661 break 2 8662 fi 8663done 8664 done 8665IFS=$as_save_IFS 8666 8667fi 8668fi 8669DSYMUTIL=$ac_cv_prog_DSYMUTIL 8670if test -n "$DSYMUTIL"; then 8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8672$as_echo "$DSYMUTIL" >&6; } 8673else 8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8675$as_echo "no" >&6; } 8676fi 8677 8678 8679fi 8680if test -z "$ac_cv_prog_DSYMUTIL"; then 8681 ac_ct_DSYMUTIL=$DSYMUTIL 8682 # Extract the first word of "dsymutil", so it can be a program name with args. 8683set dummy dsymutil; ac_word=$2 8684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8685$as_echo_n "checking for $ac_word... " >&6; } 8686if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8687 $as_echo_n "(cached) " >&6 8688else 8689 if test -n "$ac_ct_DSYMUTIL"; then 8690 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8691else 8692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8693for as_dir in $PATH 8694do 8695 IFS=$as_save_IFS 8696 test -z "$as_dir" && as_dir=. 8697 for ac_exec_ext in '' $ac_executable_extensions; do 8698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8699 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8701 break 2 8702 fi 8703done 8704 done 8705IFS=$as_save_IFS 8706 8707fi 8708fi 8709ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8710if test -n "$ac_ct_DSYMUTIL"; then 8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8712$as_echo "$ac_ct_DSYMUTIL" >&6; } 8713else 8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8715$as_echo "no" >&6; } 8716fi 8717 8718 if test "x$ac_ct_DSYMUTIL" = x; then 8719 DSYMUTIL=":" 8720 else 8721 case $cross_compiling:$ac_tool_warned in 8722yes:) 8723{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8724$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8725ac_tool_warned=yes ;; 8726esac 8727 DSYMUTIL=$ac_ct_DSYMUTIL 8728 fi 8729else 8730 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8731fi 8732 8733 if test -n "$ac_tool_prefix"; then 8734 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8735set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8737$as_echo_n "checking for $ac_word... " >&6; } 8738if ${ac_cv_prog_NMEDIT+:} false; then : 8739 $as_echo_n "(cached) " >&6 8740else 8741 if test -n "$NMEDIT"; then 8742 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8743else 8744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8745for as_dir in $PATH 8746do 8747 IFS=$as_save_IFS 8748 test -z "$as_dir" && as_dir=. 8749 for ac_exec_ext in '' $ac_executable_extensions; do 8750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8751 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8753 break 2 8754 fi 8755done 8756 done 8757IFS=$as_save_IFS 8758 8759fi 8760fi 8761NMEDIT=$ac_cv_prog_NMEDIT 8762if test -n "$NMEDIT"; then 8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8764$as_echo "$NMEDIT" >&6; } 8765else 8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8767$as_echo "no" >&6; } 8768fi 8769 8770 8771fi 8772if test -z "$ac_cv_prog_NMEDIT"; then 8773 ac_ct_NMEDIT=$NMEDIT 8774 # Extract the first word of "nmedit", so it can be a program name with args. 8775set dummy nmedit; ac_word=$2 8776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8777$as_echo_n "checking for $ac_word... " >&6; } 8778if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8779 $as_echo_n "(cached) " >&6 8780else 8781 if test -n "$ac_ct_NMEDIT"; then 8782 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8783else 8784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8785for as_dir in $PATH 8786do 8787 IFS=$as_save_IFS 8788 test -z "$as_dir" && as_dir=. 8789 for ac_exec_ext in '' $ac_executable_extensions; do 8790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8791 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8793 break 2 8794 fi 8795done 8796 done 8797IFS=$as_save_IFS 8798 8799fi 8800fi 8801ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8802if test -n "$ac_ct_NMEDIT"; then 8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8804$as_echo "$ac_ct_NMEDIT" >&6; } 8805else 8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8807$as_echo "no" >&6; } 8808fi 8809 8810 if test "x$ac_ct_NMEDIT" = x; then 8811 NMEDIT=":" 8812 else 8813 case $cross_compiling:$ac_tool_warned in 8814yes:) 8815{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8816$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8817ac_tool_warned=yes ;; 8818esac 8819 NMEDIT=$ac_ct_NMEDIT 8820 fi 8821else 8822 NMEDIT="$ac_cv_prog_NMEDIT" 8823fi 8824 8825 if test -n "$ac_tool_prefix"; then 8826 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8827set dummy ${ac_tool_prefix}lipo; ac_word=$2 8828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8829$as_echo_n "checking for $ac_word... " >&6; } 8830if ${ac_cv_prog_LIPO+:} false; then : 8831 $as_echo_n "(cached) " >&6 8832else 8833 if test -n "$LIPO"; then 8834 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8835else 8836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8837for as_dir in $PATH 8838do 8839 IFS=$as_save_IFS 8840 test -z "$as_dir" && as_dir=. 8841 for ac_exec_ext in '' $ac_executable_extensions; do 8842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8843 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8845 break 2 8846 fi 8847done 8848 done 8849IFS=$as_save_IFS 8850 8851fi 8852fi 8853LIPO=$ac_cv_prog_LIPO 8854if test -n "$LIPO"; then 8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8856$as_echo "$LIPO" >&6; } 8857else 8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8859$as_echo "no" >&6; } 8860fi 8861 8862 8863fi 8864if test -z "$ac_cv_prog_LIPO"; then 8865 ac_ct_LIPO=$LIPO 8866 # Extract the first word of "lipo", so it can be a program name with args. 8867set dummy lipo; ac_word=$2 8868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8869$as_echo_n "checking for $ac_word... " >&6; } 8870if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8871 $as_echo_n "(cached) " >&6 8872else 8873 if test -n "$ac_ct_LIPO"; then 8874 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8875else 8876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8877for as_dir in $PATH 8878do 8879 IFS=$as_save_IFS 8880 test -z "$as_dir" && as_dir=. 8881 for ac_exec_ext in '' $ac_executable_extensions; do 8882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8883 ac_cv_prog_ac_ct_LIPO="lipo" 8884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8885 break 2 8886 fi 8887done 8888 done 8889IFS=$as_save_IFS 8890 8891fi 8892fi 8893ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8894if test -n "$ac_ct_LIPO"; then 8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8896$as_echo "$ac_ct_LIPO" >&6; } 8897else 8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8899$as_echo "no" >&6; } 8900fi 8901 8902 if test "x$ac_ct_LIPO" = x; then 8903 LIPO=":" 8904 else 8905 case $cross_compiling:$ac_tool_warned in 8906yes:) 8907{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8908$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8909ac_tool_warned=yes ;; 8910esac 8911 LIPO=$ac_ct_LIPO 8912 fi 8913else 8914 LIPO="$ac_cv_prog_LIPO" 8915fi 8916 8917 if test -n "$ac_tool_prefix"; then 8918 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8919set dummy ${ac_tool_prefix}otool; ac_word=$2 8920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8921$as_echo_n "checking for $ac_word... " >&6; } 8922if ${ac_cv_prog_OTOOL+:} false; then : 8923 $as_echo_n "(cached) " >&6 8924else 8925 if test -n "$OTOOL"; then 8926 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8927else 8928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8929for as_dir in $PATH 8930do 8931 IFS=$as_save_IFS 8932 test -z "$as_dir" && as_dir=. 8933 for ac_exec_ext in '' $ac_executable_extensions; do 8934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8935 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8937 break 2 8938 fi 8939done 8940 done 8941IFS=$as_save_IFS 8942 8943fi 8944fi 8945OTOOL=$ac_cv_prog_OTOOL 8946if test -n "$OTOOL"; then 8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8948$as_echo "$OTOOL" >&6; } 8949else 8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8951$as_echo "no" >&6; } 8952fi 8953 8954 8955fi 8956if test -z "$ac_cv_prog_OTOOL"; then 8957 ac_ct_OTOOL=$OTOOL 8958 # Extract the first word of "otool", so it can be a program name with args. 8959set dummy otool; ac_word=$2 8960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8961$as_echo_n "checking for $ac_word... " >&6; } 8962if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8963 $as_echo_n "(cached) " >&6 8964else 8965 if test -n "$ac_ct_OTOOL"; then 8966 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8967else 8968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8969for as_dir in $PATH 8970do 8971 IFS=$as_save_IFS 8972 test -z "$as_dir" && as_dir=. 8973 for ac_exec_ext in '' $ac_executable_extensions; do 8974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8975 ac_cv_prog_ac_ct_OTOOL="otool" 8976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8977 break 2 8978 fi 8979done 8980 done 8981IFS=$as_save_IFS 8982 8983fi 8984fi 8985ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8986if test -n "$ac_ct_OTOOL"; then 8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8988$as_echo "$ac_ct_OTOOL" >&6; } 8989else 8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8991$as_echo "no" >&6; } 8992fi 8993 8994 if test "x$ac_ct_OTOOL" = x; then 8995 OTOOL=":" 8996 else 8997 case $cross_compiling:$ac_tool_warned in 8998yes:) 8999{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9000$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9001ac_tool_warned=yes ;; 9002esac 9003 OTOOL=$ac_ct_OTOOL 9004 fi 9005else 9006 OTOOL="$ac_cv_prog_OTOOL" 9007fi 9008 9009 if test -n "$ac_tool_prefix"; then 9010 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 9011set dummy ${ac_tool_prefix}otool64; ac_word=$2 9012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9013$as_echo_n "checking for $ac_word... " >&6; } 9014if ${ac_cv_prog_OTOOL64+:} false; then : 9015 $as_echo_n "(cached) " >&6 9016else 9017 if test -n "$OTOOL64"; then 9018 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 9019else 9020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9021for as_dir in $PATH 9022do 9023 IFS=$as_save_IFS 9024 test -z "$as_dir" && as_dir=. 9025 for ac_exec_ext in '' $ac_executable_extensions; do 9026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9027 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 9028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9029 break 2 9030 fi 9031done 9032 done 9033IFS=$as_save_IFS 9034 9035fi 9036fi 9037OTOOL64=$ac_cv_prog_OTOOL64 9038if test -n "$OTOOL64"; then 9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9040$as_echo "$OTOOL64" >&6; } 9041else 9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9043$as_echo "no" >&6; } 9044fi 9045 9046 9047fi 9048if test -z "$ac_cv_prog_OTOOL64"; then 9049 ac_ct_OTOOL64=$OTOOL64 9050 # Extract the first word of "otool64", so it can be a program name with args. 9051set dummy otool64; ac_word=$2 9052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9053$as_echo_n "checking for $ac_word... " >&6; } 9054if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9055 $as_echo_n "(cached) " >&6 9056else 9057 if test -n "$ac_ct_OTOOL64"; then 9058 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9059else 9060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9061for as_dir in $PATH 9062do 9063 IFS=$as_save_IFS 9064 test -z "$as_dir" && as_dir=. 9065 for ac_exec_ext in '' $ac_executable_extensions; do 9066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9067 ac_cv_prog_ac_ct_OTOOL64="otool64" 9068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9069 break 2 9070 fi 9071done 9072 done 9073IFS=$as_save_IFS 9074 9075fi 9076fi 9077ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9078if test -n "$ac_ct_OTOOL64"; then 9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9080$as_echo "$ac_ct_OTOOL64" >&6; } 9081else 9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9083$as_echo "no" >&6; } 9084fi 9085 9086 if test "x$ac_ct_OTOOL64" = x; then 9087 OTOOL64=":" 9088 else 9089 case $cross_compiling:$ac_tool_warned in 9090yes:) 9091{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9092$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9093ac_tool_warned=yes ;; 9094esac 9095 OTOOL64=$ac_ct_OTOOL64 9096 fi 9097else 9098 OTOOL64="$ac_cv_prog_OTOOL64" 9099fi 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9128$as_echo_n "checking for -single_module linker flag... " >&6; } 9129if ${lt_cv_apple_cc_single_mod+:} false; then : 9130 $as_echo_n "(cached) " >&6 9131else 9132 lt_cv_apple_cc_single_mod=no 9133 if test -z "${LT_MULTI_MODULE}"; then 9134 # By default we will add the -single_module flag. You can override 9135 # by either setting the environment variable LT_MULTI_MODULE 9136 # non-empty at configure time, or by adding -multi_module to the 9137 # link flags. 9138 rm -rf libconftest.dylib* 9139 echo "int foo(void){return 1;}" > conftest.c 9140 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9141-dynamiclib -Wl,-single_module conftest.c" >&5 9142 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9143 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9144 _lt_result=$? 9145 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 9146 lt_cv_apple_cc_single_mod=yes 9147 else 9148 cat conftest.err >&5 9149 fi 9150 rm -rf libconftest.dylib* 9151 rm -f conftest.* 9152 fi 9153fi 9154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9155$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9157$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9158if ${lt_cv_ld_exported_symbols_list+:} false; then : 9159 $as_echo_n "(cached) " >&6 9160else 9161 lt_cv_ld_exported_symbols_list=no 9162 save_LDFLAGS=$LDFLAGS 9163 echo "_main" > conftest.sym 9164 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9165 if test x$gcc_no_link = xyes; then 9166 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 9167fi 9168cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9169/* end confdefs.h. */ 9170 9171int 9172main () 9173{ 9174 9175 ; 9176 return 0; 9177} 9178_ACEOF 9179if ac_fn_c_try_link "$LINENO"; then : 9180 lt_cv_ld_exported_symbols_list=yes 9181else 9182 lt_cv_ld_exported_symbols_list=no 9183fi 9184rm -f core conftest.err conftest.$ac_objext \ 9185 conftest$ac_exeext conftest.$ac_ext 9186 LDFLAGS="$save_LDFLAGS" 9187 9188fi 9189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9190$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9192$as_echo_n "checking for -force_load linker flag... " >&6; } 9193if ${lt_cv_ld_force_load+:} false; then : 9194 $as_echo_n "(cached) " >&6 9195else 9196 lt_cv_ld_force_load=no 9197 cat > conftest.c << _LT_EOF 9198int forced_loaded() { return 2;} 9199_LT_EOF 9200 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9201 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9202 echo "$AR cru libconftest.a conftest.o" >&5 9203 $AR cru libconftest.a conftest.o 2>&5 9204 cat > conftest.c << _LT_EOF 9205int main() { return 0;} 9206_LT_EOF 9207 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9208 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9209 _lt_result=$? 9210 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then 9211 lt_cv_ld_force_load=yes 9212 else 9213 cat conftest.err >&5 9214 fi 9215 rm -f conftest.err libconftest.a conftest conftest.c 9216 rm -rf conftest.dSYM 9217 9218fi 9219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9220$as_echo "$lt_cv_ld_force_load" >&6; } 9221 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to 9222 # build without first building modern cctools / linker. 9223 case $host_cpu-$host_os in 9224 *-rhapsody* | *-darwin1.[012]) 9225 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 9226 *-darwin1.*) 9227 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 9228 *-darwin*) 9229 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the 9230 # deployment target is forced to an earlier version. 9231 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in 9232 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*) 9233 ;; 9234 10.[012][,.]*) 9235 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 9236 ;; 9237 *) 9238 ;; 9239 esac 9240 ;; 9241 esac 9242 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 9243 _lt_dar_single_mod='$single_module' 9244 fi 9245 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 9246 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 9247 else 9248 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 9249 fi 9250 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 9251 _lt_dsymutil='~$DSYMUTIL $lib || :' 9252 else 9253 _lt_dsymutil= 9254 fi 9255 ;; 9256 esac 9257 9258for ac_header in dlfcn.h 9259do : 9260 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9261" 9262if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9263 cat >>confdefs.h <<_ACEOF 9264#define HAVE_DLFCN_H 1 9265_ACEOF 9266 9267fi 9268 9269done 9270 9271 9272 9273 9274 9275# Set options 9276 9277 9278 9279 9280 enable_win32_dll=no 9281 9282 9283 # Check whether --enable-shared was given. 9284if test "${enable_shared+set}" = set; then : 9285 enableval=$enable_shared; p=${PACKAGE-default} 9286 case $enableval in 9287 yes) enable_shared=yes ;; 9288 no) enable_shared=no ;; 9289 *) 9290 enable_shared=no 9291 # Look at the argument we got. We use all the common list separators. 9292 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9293 for pkg in $enableval; do 9294 IFS="$lt_save_ifs" 9295 if test "X$pkg" = "X$p"; then 9296 enable_shared=yes 9297 fi 9298 done 9299 IFS="$lt_save_ifs" 9300 ;; 9301 esac 9302else 9303 enable_shared=yes 9304fi 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 # Check whether --enable-static was given. 9315if test "${enable_static+set}" = set; then : 9316 enableval=$enable_static; p=${PACKAGE-default} 9317 case $enableval in 9318 yes) enable_static=yes ;; 9319 no) enable_static=no ;; 9320 *) 9321 enable_static=no 9322 # Look at the argument we got. We use all the common list separators. 9323 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9324 for pkg in $enableval; do 9325 IFS="$lt_save_ifs" 9326 if test "X$pkg" = "X$p"; then 9327 enable_static=yes 9328 fi 9329 done 9330 IFS="$lt_save_ifs" 9331 ;; 9332 esac 9333else 9334 enable_static=yes 9335fi 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346# Check whether --with-pic was given. 9347if test "${with_pic+set}" = set; then : 9348 withval=$with_pic; pic_mode="$withval" 9349else 9350 pic_mode=default 9351fi 9352 9353 9354test -z "$pic_mode" && pic_mode=default 9355 9356 9357 9358 9359 9360 9361 9362 # Check whether --enable-fast-install was given. 9363if test "${enable_fast_install+set}" = set; then : 9364 enableval=$enable_fast_install; p=${PACKAGE-default} 9365 case $enableval in 9366 yes) enable_fast_install=yes ;; 9367 no) enable_fast_install=no ;; 9368 *) 9369 enable_fast_install=no 9370 # Look at the argument we got. We use all the common list separators. 9371 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9372 for pkg in $enableval; do 9373 IFS="$lt_save_ifs" 9374 if test "X$pkg" = "X$p"; then 9375 enable_fast_install=yes 9376 fi 9377 done 9378 IFS="$lt_save_ifs" 9379 ;; 9380 esac 9381else 9382 enable_fast_install=yes 9383fi 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395# This can be used to rebuild libtool when needed 9396LIBTOOL_DEPS="$ltmain" 9397 9398# Always use our own libtool. 9399LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426test -z "$LN_S" && LN_S="ln -s" 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441if test -n "${ZSH_VERSION+set}" ; then 9442 setopt NO_GLOB_SUBST 9443fi 9444 9445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9446$as_echo_n "checking for objdir... " >&6; } 9447if ${lt_cv_objdir+:} false; then : 9448 $as_echo_n "(cached) " >&6 9449else 9450 rm -f .libs 2>/dev/null 9451mkdir .libs 2>/dev/null 9452if test -d .libs; then 9453 lt_cv_objdir=.libs 9454else 9455 # MS-DOS does not allow filenames that begin with a dot. 9456 lt_cv_objdir=_libs 9457fi 9458rmdir .libs 2>/dev/null 9459fi 9460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9461$as_echo "$lt_cv_objdir" >&6; } 9462objdir=$lt_cv_objdir 9463 9464 9465 9466 9467 9468cat >>confdefs.h <<_ACEOF 9469#define LT_OBJDIR "$lt_cv_objdir/" 9470_ACEOF 9471 9472 9473 9474 9475case $host_os in 9476aix3*) 9477 # AIX sometimes has problems with the GCC collect2 program. For some 9478 # reason, if we set the COLLECT_NAMES environment variable, the problems 9479 # vanish in a puff of smoke. 9480 if test "X${COLLECT_NAMES+set}" != Xset; then 9481 COLLECT_NAMES= 9482 export COLLECT_NAMES 9483 fi 9484 ;; 9485esac 9486 9487# Global variables: 9488ofile=libtool 9489can_build_shared=yes 9490 9491# All known linkers require a `.a' archive for static linking (except MSVC, 9492# which needs '.lib'). 9493libext=a 9494 9495with_gnu_ld="$lt_cv_prog_gnu_ld" 9496 9497old_CC="$CC" 9498old_CFLAGS="$CFLAGS" 9499 9500# Set sane defaults for various variables 9501test -z "$CC" && CC=cc 9502test -z "$LTCC" && LTCC=$CC 9503test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9504test -z "$LD" && LD=ld 9505test -z "$ac_objext" && ac_objext=o 9506 9507for cc_temp in $compiler""; do 9508 case $cc_temp in 9509 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9510 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9511 \-*) ;; 9512 *) break;; 9513 esac 9514done 9515cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 9516 9517 9518# Only perform the check for file, if the check method requires it 9519test -z "$MAGIC_CMD" && MAGIC_CMD=file 9520case $deplibs_check_method in 9521file_magic*) 9522 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9524$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9525if ${lt_cv_path_MAGIC_CMD+:} false; then : 9526 $as_echo_n "(cached) " >&6 9527else 9528 case $MAGIC_CMD in 9529[\\/*] | ?:[\\/]*) 9530 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9531 ;; 9532*) 9533 lt_save_MAGIC_CMD="$MAGIC_CMD" 9534 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9535 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9536 for ac_dir in $ac_dummy; do 9537 IFS="$lt_save_ifs" 9538 test -z "$ac_dir" && ac_dir=. 9539 if test -f $ac_dir/${ac_tool_prefix}file; then 9540 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 9541 if test -n "$file_magic_test_file"; then 9542 case $deplibs_check_method in 9543 "file_magic "*) 9544 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9545 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9546 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9547 $EGREP "$file_magic_regex" > /dev/null; then 9548 : 9549 else 9550 cat <<_LT_EOF 1>&2 9551 9552*** Warning: the command libtool uses to detect shared libraries, 9553*** $file_magic_cmd, produces output that libtool cannot recognize. 9554*** The result is that libtool may fail to recognize shared libraries 9555*** as such. This will affect the creation of libtool libraries that 9556*** depend on shared libraries, but programs linked with such libtool 9557*** libraries will work regardless of this problem. Nevertheless, you 9558*** may want to report the problem to your system manager and/or to 9559*** bug-libtool@gnu.org 9560 9561_LT_EOF 9562 fi ;; 9563 esac 9564 fi 9565 break 9566 fi 9567 done 9568 IFS="$lt_save_ifs" 9569 MAGIC_CMD="$lt_save_MAGIC_CMD" 9570 ;; 9571esac 9572fi 9573 9574MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9575if test -n "$MAGIC_CMD"; then 9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9577$as_echo "$MAGIC_CMD" >&6; } 9578else 9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9580$as_echo "no" >&6; } 9581fi 9582 9583 9584 9585 9586 9587if test -z "$lt_cv_path_MAGIC_CMD"; then 9588 if test -n "$ac_tool_prefix"; then 9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9590$as_echo_n "checking for file... " >&6; } 9591if ${lt_cv_path_MAGIC_CMD+:} false; then : 9592 $as_echo_n "(cached) " >&6 9593else 9594 case $MAGIC_CMD in 9595[\\/*] | ?:[\\/]*) 9596 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9597 ;; 9598*) 9599 lt_save_MAGIC_CMD="$MAGIC_CMD" 9600 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9601 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9602 for ac_dir in $ac_dummy; do 9603 IFS="$lt_save_ifs" 9604 test -z "$ac_dir" && ac_dir=. 9605 if test -f $ac_dir/file; then 9606 lt_cv_path_MAGIC_CMD="$ac_dir/file" 9607 if test -n "$file_magic_test_file"; then 9608 case $deplibs_check_method in 9609 "file_magic "*) 9610 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9611 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9612 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9613 $EGREP "$file_magic_regex" > /dev/null; then 9614 : 9615 else 9616 cat <<_LT_EOF 1>&2 9617 9618*** Warning: the command libtool uses to detect shared libraries, 9619*** $file_magic_cmd, produces output that libtool cannot recognize. 9620*** The result is that libtool may fail to recognize shared libraries 9621*** as such. This will affect the creation of libtool libraries that 9622*** depend on shared libraries, but programs linked with such libtool 9623*** libraries will work regardless of this problem. Nevertheless, you 9624*** may want to report the problem to your system manager and/or to 9625*** bug-libtool@gnu.org 9626 9627_LT_EOF 9628 fi ;; 9629 esac 9630 fi 9631 break 9632 fi 9633 done 9634 IFS="$lt_save_ifs" 9635 MAGIC_CMD="$lt_save_MAGIC_CMD" 9636 ;; 9637esac 9638fi 9639 9640MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9641if test -n "$MAGIC_CMD"; then 9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9643$as_echo "$MAGIC_CMD" >&6; } 9644else 9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9646$as_echo "no" >&6; } 9647fi 9648 9649 9650 else 9651 MAGIC_CMD=: 9652 fi 9653fi 9654 9655 fi 9656 ;; 9657esac 9658 9659# Use C for the default configuration in the libtool script 9660 9661lt_save_CC="$CC" 9662ac_ext=c 9663ac_cpp='$CPP $CPPFLAGS' 9664ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9665ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9666ac_compiler_gnu=$ac_cv_c_compiler_gnu 9667 9668 9669# Source file extension for C test sources. 9670ac_ext=c 9671 9672# Object file extension for compiled C test sources. 9673objext=o 9674objext=$objext 9675 9676# Code to be used in simple compile tests 9677lt_simple_compile_test_code="int some_variable = 0;" 9678 9679# Code to be used in simple link tests 9680lt_simple_link_test_code='int main(){return(0);}' 9681 9682 9683 9684 9685 9686 9687 9688# If no C compiler was specified, use CC. 9689LTCC=${LTCC-"$CC"} 9690 9691# If no C compiler flags were specified, use CFLAGS. 9692LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9693 9694# Allow CC to be a program name with arguments. 9695compiler=$CC 9696 9697# Save the default compiler, since it gets overwritten when the other 9698# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9699compiler_DEFAULT=$CC 9700 9701# save warnings/boilerplate of simple test code 9702ac_outfile=conftest.$ac_objext 9703echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9704eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9705_lt_compiler_boilerplate=`cat conftest.err` 9706$RM conftest* 9707 9708ac_outfile=conftest.$ac_objext 9709echo "$lt_simple_link_test_code" >conftest.$ac_ext 9710eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9711_lt_linker_boilerplate=`cat conftest.err` 9712$RM -r conftest* 9713 9714 9715## CAVEAT EMPTOR: 9716## There is no encapsulation within the following macros, do not change 9717## the running order or otherwise move them around unless you know exactly 9718## what you are doing... 9719if test -n "$compiler"; then 9720 9721lt_prog_compiler_no_builtin_flag= 9722 9723if test "$GCC" = yes; then 9724 case $cc_basename in 9725 nvcc*) 9726 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9727 *) 9728 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9729 esac 9730 9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9732$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9733if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9734 $as_echo_n "(cached) " >&6 9735else 9736 lt_cv_prog_compiler_rtti_exceptions=no 9737 ac_outfile=conftest.$ac_objext 9738 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9739 lt_compiler_flag="-fno-rtti -fno-exceptions" 9740 # Insert the option either (1) after the last *FLAGS variable, or 9741 # (2) before a word containing "conftest.", or (3) at the end. 9742 # Note that $ac_compile itself does not contain backslashes and begins 9743 # with a dollar sign (not a hyphen), so the echo should work correctly. 9744 # The option is referenced via a variable to avoid confusing sed. 9745 lt_compile=`echo "$ac_compile" | $SED \ 9746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9748 -e 's:$: $lt_compiler_flag:'` 9749 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9750 (eval "$lt_compile" 2>conftest.err) 9751 ac_status=$? 9752 cat conftest.err >&5 9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9754 if (exit $ac_status) && test -s "$ac_outfile"; then 9755 # The compiler can only warn and ignore the option if not recognized 9756 # So say no if there are warnings other than the usual output. 9757 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9758 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9759 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9760 lt_cv_prog_compiler_rtti_exceptions=yes 9761 fi 9762 fi 9763 $RM conftest* 9764 9765fi 9766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9767$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9768 9769if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9770 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9771else 9772 : 9773fi 9774 9775fi 9776 9777 9778 9779 9780 9781 9782 lt_prog_compiler_wl= 9783lt_prog_compiler_pic= 9784lt_prog_compiler_static= 9785 9786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9787$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9788 9789 if test "$GCC" = yes; then 9790 lt_prog_compiler_wl='-Wl,' 9791 lt_prog_compiler_static='-static' 9792 9793 case $host_os in 9794 aix*) 9795 # All AIX code is PIC. 9796 if test "$host_cpu" = ia64; then 9797 # AIX 5 now supports IA64 processor 9798 lt_prog_compiler_static='-Bstatic' 9799 fi 9800 lt_prog_compiler_pic='-fPIC' 9801 ;; 9802 9803 amigaos*) 9804 case $host_cpu in 9805 powerpc) 9806 # see comment about AmigaOS4 .so support 9807 lt_prog_compiler_pic='-fPIC' 9808 ;; 9809 m68k) 9810 # FIXME: we need at least 68020 code to build shared libraries, but 9811 # adding the `-m68020' flag to GCC prevents building anything better, 9812 # like `-m68040'. 9813 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9814 ;; 9815 esac 9816 ;; 9817 9818 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9819 # PIC is the default for these OSes. 9820 ;; 9821 9822 mingw* | cygwin* | pw32* | os2* | cegcc*) 9823 # This hack is so that the source file can tell whether it is being 9824 # built for inclusion in a dll (and should export symbols for example). 9825 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9826 # (--disable-auto-import) libraries 9827 lt_prog_compiler_pic='-DDLL_EXPORT' 9828 ;; 9829 9830 darwin* | rhapsody*) 9831 # PIC is the default on this platform 9832 # Common symbols not allowed in MH_DYLIB files 9833 lt_prog_compiler_pic='-fno-common' 9834 ;; 9835 9836 haiku*) 9837 # PIC is the default for Haiku. 9838 # The "-static" flag exists, but is broken. 9839 lt_prog_compiler_static= 9840 ;; 9841 9842 hpux*) 9843 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9844 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9845 # sets the default TLS model and affects inlining. 9846 case $host_cpu in 9847 hppa*64*) 9848 # +Z the default 9849 ;; 9850 *) 9851 lt_prog_compiler_pic='-fPIC' 9852 ;; 9853 esac 9854 ;; 9855 9856 interix[3-9]*) 9857 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9858 # Instead, we relocate shared libraries at runtime. 9859 ;; 9860 9861 msdosdjgpp*) 9862 # Just because we use GCC doesn't mean we suddenly get shared libraries 9863 # on systems that don't support them. 9864 lt_prog_compiler_can_build_shared=no 9865 enable_shared=no 9866 ;; 9867 9868 *nto* | *qnx*) 9869 # QNX uses GNU C++, but need to define -shared option too, otherwise 9870 # it will coredump. 9871 lt_prog_compiler_pic='-fPIC -shared' 9872 ;; 9873 9874 sysv4*MP*) 9875 if test -d /usr/nec; then 9876 lt_prog_compiler_pic=-Kconform_pic 9877 fi 9878 ;; 9879 9880 *) 9881 lt_prog_compiler_pic='-fPIC' 9882 ;; 9883 esac 9884 9885 case $cc_basename in 9886 nvcc*) # Cuda Compiler Driver 2.2 9887 lt_prog_compiler_wl='-Xlinker ' 9888 lt_prog_compiler_pic='-Xcompiler -fPIC' 9889 ;; 9890 esac 9891 else 9892 # PORTME Check for flag to pass linker flags through the system compiler. 9893 case $host_os in 9894 aix*) 9895 lt_prog_compiler_wl='-Wl,' 9896 if test "$host_cpu" = ia64; then 9897 # AIX 5 now supports IA64 processor 9898 lt_prog_compiler_static='-Bstatic' 9899 else 9900 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9901 fi 9902 ;; 9903 9904 mingw* | cygwin* | pw32* | os2* | cegcc*) 9905 # This hack is so that the source file can tell whether it is being 9906 # built for inclusion in a dll (and should export symbols for example). 9907 lt_prog_compiler_pic='-DDLL_EXPORT' 9908 ;; 9909 9910 hpux9* | hpux10* | hpux11*) 9911 lt_prog_compiler_wl='-Wl,' 9912 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9913 # not for PA HP-UX. 9914 case $host_cpu in 9915 hppa*64*|ia64*) 9916 # +Z the default 9917 ;; 9918 *) 9919 lt_prog_compiler_pic='+Z' 9920 ;; 9921 esac 9922 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9923 lt_prog_compiler_static='${wl}-a ${wl}archive' 9924 ;; 9925 9926 irix5* | irix6* | nonstopux*) 9927 lt_prog_compiler_wl='-Wl,' 9928 # PIC (with -KPIC) is the default. 9929 lt_prog_compiler_static='-non_shared' 9930 ;; 9931 9932 linux* | k*bsd*-gnu | kopensolaris*-gnu) 9933 case $cc_basename in 9934 # old Intel for x86_64 which still supported -KPIC. 9935 ecc*) 9936 lt_prog_compiler_wl='-Wl,' 9937 lt_prog_compiler_pic='-KPIC' 9938 lt_prog_compiler_static='-static' 9939 ;; 9940 # icc used to be incompatible with GCC. 9941 # ICC 10 doesn't accept -KPIC any more. 9942 icc* | ifort*) 9943 lt_prog_compiler_wl='-Wl,' 9944 lt_prog_compiler_pic='-fPIC' 9945 lt_prog_compiler_static='-static' 9946 ;; 9947 # Lahey Fortran 8.1. 9948 lf95*) 9949 lt_prog_compiler_wl='-Wl,' 9950 lt_prog_compiler_pic='--shared' 9951 lt_prog_compiler_static='--static' 9952 ;; 9953 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9954 # Portland Group compilers (*not* the Pentium gcc compiler, 9955 # which looks to be a dead project) 9956 lt_prog_compiler_wl='-Wl,' 9957 lt_prog_compiler_pic='-fpic' 9958 lt_prog_compiler_static='-Bstatic' 9959 ;; 9960 ccc*) 9961 lt_prog_compiler_wl='-Wl,' 9962 # All Alpha code is PIC. 9963 lt_prog_compiler_static='-non_shared' 9964 ;; 9965 xl* | bgxl* | bgf* | mpixl*) 9966 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9967 lt_prog_compiler_wl='-Wl,' 9968 lt_prog_compiler_pic='-qpic' 9969 lt_prog_compiler_static='-qstaticlink' 9970 ;; 9971 *) 9972 case `$CC -V 2>&1 | sed 5q` in 9973 *Sun\ F* | *Sun*Fortran*) 9974 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9975 lt_prog_compiler_pic='-KPIC' 9976 lt_prog_compiler_static='-Bstatic' 9977 lt_prog_compiler_wl='' 9978 ;; 9979 *Sun\ C*) 9980 # Sun C 5.9 9981 lt_prog_compiler_pic='-KPIC' 9982 lt_prog_compiler_static='-Bstatic' 9983 lt_prog_compiler_wl='-Wl,' 9984 ;; 9985 esac 9986 ;; 9987 esac 9988 ;; 9989 9990 newsos6) 9991 lt_prog_compiler_pic='-KPIC' 9992 lt_prog_compiler_static='-Bstatic' 9993 ;; 9994 9995 *nto* | *qnx*) 9996 # QNX uses GNU C++, but need to define -shared option too, otherwise 9997 # it will coredump. 9998 lt_prog_compiler_pic='-fPIC -shared' 9999 ;; 10000 10001 osf3* | osf4* | osf5*) 10002 lt_prog_compiler_wl='-Wl,' 10003 # All OSF/1 code is PIC. 10004 lt_prog_compiler_static='-non_shared' 10005 ;; 10006 10007 rdos*) 10008 lt_prog_compiler_static='-non_shared' 10009 ;; 10010 10011 solaris*) 10012 lt_prog_compiler_pic='-KPIC' 10013 lt_prog_compiler_static='-Bstatic' 10014 case $cc_basename in 10015 f77* | f90* | f95*) 10016 lt_prog_compiler_wl='-Qoption ld ';; 10017 *) 10018 lt_prog_compiler_wl='-Wl,';; 10019 esac 10020 ;; 10021 10022 sunos4*) 10023 lt_prog_compiler_wl='-Qoption ld ' 10024 lt_prog_compiler_pic='-PIC' 10025 lt_prog_compiler_static='-Bstatic' 10026 ;; 10027 10028 sysv4 | sysv4.2uw2* | sysv4.3*) 10029 lt_prog_compiler_wl='-Wl,' 10030 lt_prog_compiler_pic='-KPIC' 10031 lt_prog_compiler_static='-Bstatic' 10032 ;; 10033 10034 sysv4*MP*) 10035 if test -d /usr/nec ;then 10036 lt_prog_compiler_pic='-Kconform_pic' 10037 lt_prog_compiler_static='-Bstatic' 10038 fi 10039 ;; 10040 10041 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10042 lt_prog_compiler_wl='-Wl,' 10043 lt_prog_compiler_pic='-KPIC' 10044 lt_prog_compiler_static='-Bstatic' 10045 ;; 10046 10047 unicos*) 10048 lt_prog_compiler_wl='-Wl,' 10049 lt_prog_compiler_can_build_shared=no 10050 ;; 10051 10052 uts4*) 10053 lt_prog_compiler_pic='-pic' 10054 lt_prog_compiler_static='-Bstatic' 10055 ;; 10056 10057 *) 10058 lt_prog_compiler_can_build_shared=no 10059 ;; 10060 esac 10061 fi 10062 10063case $host_os in 10064 # For platforms which do not support PIC, -DPIC is meaningless: 10065 *djgpp*) 10066 lt_prog_compiler_pic= 10067 ;; 10068 *) 10069 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10070 ;; 10071esac 10072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 10073$as_echo "$lt_prog_compiler_pic" >&6; } 10074 10075 10076 10077 10078 10079 10080# 10081# Check to make sure the PIC flag actually works. 10082# 10083if test -n "$lt_prog_compiler_pic"; then 10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10085$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10086if ${lt_cv_prog_compiler_pic_works+:} false; then : 10087 $as_echo_n "(cached) " >&6 10088else 10089 lt_cv_prog_compiler_pic_works=no 10090 ac_outfile=conftest.$ac_objext 10091 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10092 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 10093 # Insert the option either (1) after the last *FLAGS variable, or 10094 # (2) before a word containing "conftest.", or (3) at the end. 10095 # Note that $ac_compile itself does not contain backslashes and begins 10096 # with a dollar sign (not a hyphen), so the echo should work correctly. 10097 # The option is referenced via a variable to avoid confusing sed. 10098 lt_compile=`echo "$ac_compile" | $SED \ 10099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10101 -e 's:$: $lt_compiler_flag:'` 10102 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10103 (eval "$lt_compile" 2>conftest.err) 10104 ac_status=$? 10105 cat conftest.err >&5 10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10107 if (exit $ac_status) && test -s "$ac_outfile"; then 10108 # The compiler can only warn and ignore the option if not recognized 10109 # So say no if there are warnings other than the usual output. 10110 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10111 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10112 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10113 lt_cv_prog_compiler_pic_works=yes 10114 fi 10115 fi 10116 $RM conftest* 10117 10118fi 10119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10120$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10121 10122if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 10123 case $lt_prog_compiler_pic in 10124 "" | " "*) ;; 10125 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10126 esac 10127else 10128 lt_prog_compiler_pic= 10129 lt_prog_compiler_can_build_shared=no 10130fi 10131 10132fi 10133 10134 10135 10136 10137 10138 10139# 10140# Check to make sure the static flag actually works. 10141# 10142wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10144$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10145if ${lt_cv_prog_compiler_static_works+:} false; then : 10146 $as_echo_n "(cached) " >&6 10147else 10148 lt_cv_prog_compiler_static_works=no 10149 save_LDFLAGS="$LDFLAGS" 10150 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10151 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10152 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10153 # The linker can only warn and ignore the option if not recognized 10154 # So say no if there are warnings 10155 if test -s conftest.err; then 10156 # Append any errors to the config.log. 10157 cat conftest.err 1>&5 10158 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10159 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10160 if diff conftest.exp conftest.er2 >/dev/null; then 10161 lt_cv_prog_compiler_static_works=yes 10162 fi 10163 else 10164 lt_cv_prog_compiler_static_works=yes 10165 fi 10166 fi 10167 $RM -r conftest* 10168 LDFLAGS="$save_LDFLAGS" 10169 10170fi 10171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10172$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10173 10174if test x"$lt_cv_prog_compiler_static_works" = xyes; then 10175 : 10176else 10177 lt_prog_compiler_static= 10178fi 10179 10180 10181 10182 10183 10184 10185 10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10187$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10188if ${lt_cv_prog_compiler_c_o+:} false; then : 10189 $as_echo_n "(cached) " >&6 10190else 10191 lt_cv_prog_compiler_c_o=no 10192 $RM -r conftest 2>/dev/null 10193 mkdir conftest 10194 cd conftest 10195 mkdir out 10196 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10197 10198 lt_compiler_flag="-o out/conftest2.$ac_objext" 10199 # Insert the option either (1) after the last *FLAGS variable, or 10200 # (2) before a word containing "conftest.", or (3) at the end. 10201 # Note that $ac_compile itself does not contain backslashes and begins 10202 # with a dollar sign (not a hyphen), so the echo should work correctly. 10203 lt_compile=`echo "$ac_compile" | $SED \ 10204 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10205 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10206 -e 's:$: $lt_compiler_flag:'` 10207 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10208 (eval "$lt_compile" 2>out/conftest.err) 10209 ac_status=$? 10210 cat out/conftest.err >&5 10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10212 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10213 then 10214 # The compiler can only warn and ignore the option if not recognized 10215 # So say no if there are warnings 10216 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10217 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10218 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10219 lt_cv_prog_compiler_c_o=yes 10220 fi 10221 fi 10222 chmod u+w . 2>&5 10223 $RM conftest* 10224 # SGI C++ compiler will create directory out/ii_files/ for 10225 # template instantiation 10226 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10227 $RM out/* && rmdir out 10228 cd .. 10229 $RM -r conftest 10230 $RM conftest* 10231 10232fi 10233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10234$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10235 10236 10237 10238 10239 10240 10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10242$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10243if ${lt_cv_prog_compiler_c_o+:} false; then : 10244 $as_echo_n "(cached) " >&6 10245else 10246 lt_cv_prog_compiler_c_o=no 10247 $RM -r conftest 2>/dev/null 10248 mkdir conftest 10249 cd conftest 10250 mkdir out 10251 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10252 10253 lt_compiler_flag="-o out/conftest2.$ac_objext" 10254 # Insert the option either (1) after the last *FLAGS variable, or 10255 # (2) before a word containing "conftest.", or (3) at the end. 10256 # Note that $ac_compile itself does not contain backslashes and begins 10257 # with a dollar sign (not a hyphen), so the echo should work correctly. 10258 lt_compile=`echo "$ac_compile" | $SED \ 10259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10261 -e 's:$: $lt_compiler_flag:'` 10262 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10263 (eval "$lt_compile" 2>out/conftest.err) 10264 ac_status=$? 10265 cat out/conftest.err >&5 10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10267 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10268 then 10269 # The compiler can only warn and ignore the option if not recognized 10270 # So say no if there are warnings 10271 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10272 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10273 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10274 lt_cv_prog_compiler_c_o=yes 10275 fi 10276 fi 10277 chmod u+w . 2>&5 10278 $RM conftest* 10279 # SGI C++ compiler will create directory out/ii_files/ for 10280 # template instantiation 10281 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10282 $RM out/* && rmdir out 10283 cd .. 10284 $RM -r conftest 10285 $RM conftest* 10286 10287fi 10288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10289$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10290 10291 10292 10293 10294hard_links="nottested" 10295if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 10296 # do not overwrite the value of need_locks provided by the user 10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10298$as_echo_n "checking if we can lock with hard links... " >&6; } 10299 hard_links=yes 10300 $RM conftest* 10301 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10302 touch conftest.a 10303 ln conftest.a conftest.b 2>&5 || hard_links=no 10304 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10306$as_echo "$hard_links" >&6; } 10307 if test "$hard_links" = no; then 10308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 10309$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 10310 need_locks=warn 10311 fi 10312else 10313 need_locks=no 10314fi 10315 10316 10317 10318 10319 10320 10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10322$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10323 10324 runpath_var= 10325 allow_undefined_flag= 10326 always_export_symbols=no 10327 archive_cmds= 10328 archive_expsym_cmds= 10329 compiler_needs_object=no 10330 enable_shared_with_static_runtimes=no 10331 export_dynamic_flag_spec= 10332 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10333 hardcode_automatic=no 10334 hardcode_direct=no 10335 hardcode_direct_absolute=no 10336 hardcode_libdir_flag_spec= 10337 hardcode_libdir_flag_spec_ld= 10338 hardcode_libdir_separator= 10339 hardcode_minus_L=no 10340 hardcode_shlibpath_var=unsupported 10341 inherit_rpath=no 10342 link_all_deplibs=unknown 10343 module_cmds= 10344 module_expsym_cmds= 10345 old_archive_from_new_cmds= 10346 old_archive_from_expsyms_cmds= 10347 thread_safe_flag_spec= 10348 whole_archive_flag_spec= 10349 # include_expsyms should be a list of space-separated symbols to be *always* 10350 # included in the symbol list 10351 include_expsyms= 10352 # exclude_expsyms can be an extended regexp of symbols to exclude 10353 # it will be wrapped by ` (' and `)$', so one must not match beginning or 10354 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 10355 # as well as any symbol that contains `d'. 10356 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10357 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10358 # platforms (ab)use it in PIC code, but their linkers get confused if 10359 # the symbol is explicitly referenced. Since portable code cannot 10360 # rely on this symbol name, it's probably fine to never include it in 10361 # preloaded symbol tables. 10362 # Exclude shared library initialization/finalization symbols. 10363 extract_expsyms_cmds= 10364 10365 case $host_os in 10366 cygwin* | mingw* | pw32* | cegcc*) 10367 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10368 # When not using gcc, we currently assume that we are using 10369 # Microsoft Visual C++. 10370 if test "$GCC" != yes; then 10371 with_gnu_ld=no 10372 fi 10373 ;; 10374 interix*) 10375 # we just hope/assume this is gcc and not c89 (= MSVC++) 10376 with_gnu_ld=yes 10377 ;; 10378 openbsd*) 10379 with_gnu_ld=no 10380 ;; 10381 esac 10382 10383 ld_shlibs=yes 10384 10385 # On some targets, GNU ld is compatible enough with the native linker 10386 # that we're better off using the native interface for both. 10387 lt_use_gnu_ld_interface=no 10388 if test "$with_gnu_ld" = yes; then 10389 case $host_os in 10390 aix*) 10391 # The AIX port of GNU ld has always aspired to compatibility 10392 # with the native linker. However, as the warning in the GNU ld 10393 # block says, versions before 2.19.5* couldn't really create working 10394 # shared libraries, regardless of the interface used. 10395 case `$LD -v 2>&1` in 10396 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10397 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10398 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10399 *) 10400 lt_use_gnu_ld_interface=yes 10401 ;; 10402 esac 10403 ;; 10404 *) 10405 lt_use_gnu_ld_interface=yes 10406 ;; 10407 esac 10408 fi 10409 10410 if test "$lt_use_gnu_ld_interface" = yes; then 10411 # If archive_cmds runs LD, not CC, wlarc should be empty 10412 wlarc='${wl}' 10413 10414 # Set some defaults for GNU ld with shared library support. These 10415 # are reset later if shared libraries are not supported. Putting them 10416 # here allows them to be overridden if necessary. 10417 runpath_var=LD_RUN_PATH 10418 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10419 export_dynamic_flag_spec='${wl}--export-dynamic' 10420 # ancient GNU ld didn't support --whole-archive et. al. 10421 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10422 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 10423 else 10424 whole_archive_flag_spec= 10425 fi 10426 supports_anon_versioning=no 10427 case `$LD -v 2>&1` in 10428 *GNU\ gold*) supports_anon_versioning=yes ;; 10429 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10430 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10431 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10432 *\ 2.11.*) ;; # other 2.11 versions 10433 *) supports_anon_versioning=yes ;; 10434 esac 10435 10436 # See if GNU ld supports shared libraries. 10437 case $host_os in 10438 aix[3-9]*) 10439 # On AIX/PPC, the GNU linker is very broken 10440 if test "$host_cpu" != ia64; then 10441 ld_shlibs=no 10442 cat <<_LT_EOF 1>&2 10443 10444*** Warning: the GNU linker, at least up to release 2.19, is reported 10445*** to be unable to reliably create shared libraries on AIX. 10446*** Therefore, libtool is disabling shared libraries support. If you 10447*** really care for shared libraries, you may want to install binutils 10448*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10449*** You will then need to restart the configuration process. 10450 10451_LT_EOF 10452 fi 10453 ;; 10454 10455 amigaos*) 10456 case $host_cpu in 10457 powerpc) 10458 # see comment about AmigaOS4 .so support 10459 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10460 archive_expsym_cmds='' 10461 ;; 10462 m68k) 10463 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)' 10464 hardcode_libdir_flag_spec='-L$libdir' 10465 hardcode_minus_L=yes 10466 ;; 10467 esac 10468 ;; 10469 10470 beos*) 10471 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10472 allow_undefined_flag=unsupported 10473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10474 # support --undefined. This deserves some investigation. FIXME 10475 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10476 else 10477 ld_shlibs=no 10478 fi 10479 ;; 10480 10481 cygwin* | mingw* | pw32* | cegcc*) 10482 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10483 # as there is no search path for DLLs. 10484 hardcode_libdir_flag_spec='-L$libdir' 10485 export_dynamic_flag_spec='${wl}--export-all-symbols' 10486 allow_undefined_flag=unsupported 10487 always_export_symbols=no 10488 enable_shared_with_static_runtimes=yes 10489 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10490 10491 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10492 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10493 # If the export-symbols file already is a .def file (1st line 10494 # is EXPORTS), use it as is; otherwise, prepend... 10495 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10496 cp $export_symbols $output_objdir/$soname.def; 10497 else 10498 echo EXPORTS > $output_objdir/$soname.def; 10499 cat $export_symbols >> $output_objdir/$soname.def; 10500 fi~ 10501 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10502 else 10503 ld_shlibs=no 10504 fi 10505 ;; 10506 10507 haiku*) 10508 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10509 link_all_deplibs=yes 10510 ;; 10511 10512 interix[3-9]*) 10513 hardcode_direct=no 10514 hardcode_shlibpath_var=no 10515 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10516 export_dynamic_flag_spec='${wl}-E' 10517 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10518 # Instead, shared libraries are loaded at an image base (0x10000000 by 10519 # default) and relocated if they conflict, which is a slow very memory 10520 # consuming and fragmenting process. To avoid this, we pick a random, 10521 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10522 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10523 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10524 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' 10525 ;; 10526 10527 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) 10528 tmp_diet=no 10529 if test "$host_os" = linux-dietlibc; then 10530 case $cc_basename in 10531 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10532 esac 10533 fi 10534 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10535 && test "$tmp_diet" = no 10536 then 10537 tmp_addflag=' $pic_flag' 10538 tmp_sharedflag='-shared' 10539 case $cc_basename,$host_cpu in 10540 pgcc*) # Portland Group C compiler 10541 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' 10542 tmp_addflag=' $pic_flag' 10543 ;; 10544 pgf77* | pgf90* | pgf95* | pgfortran*) 10545 # Portland Group f77 and f90 compilers 10546 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' 10547 tmp_addflag=' $pic_flag -Mnomain' ;; 10548 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10549 tmp_addflag=' -i_dynamic' ;; 10550 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10551 tmp_addflag=' -i_dynamic -nofor_main' ;; 10552 ifc* | ifort*) # Intel Fortran compiler 10553 tmp_addflag=' -nofor_main' ;; 10554 lf95*) # Lahey Fortran 8.1 10555 whole_archive_flag_spec= 10556 tmp_sharedflag='--shared' ;; 10557 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10558 tmp_sharedflag='-qmkshrobj' 10559 tmp_addflag= ;; 10560 nvcc*) # Cuda Compiler Driver 2.2 10561 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' 10562 compiler_needs_object=yes 10563 ;; 10564 esac 10565 case `$CC -V 2>&1 | sed 5q` in 10566 *Sun\ C*) # Sun C 5.9 10567 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' 10568 compiler_needs_object=yes 10569 tmp_sharedflag='-G' ;; 10570 *Sun\ F*) # Sun Fortran 8.3 10571 tmp_sharedflag='-G' ;; 10572 esac 10573 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10574 10575 if test "x$supports_anon_versioning" = xyes; then 10576 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10577 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10578 echo "local: *; };" >> $output_objdir/$libname.ver~ 10579 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 10580 fi 10581 10582 case $cc_basename in 10583 xlf* | bgf* | bgxlf* | mpixlf*) 10584 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10585 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10586 hardcode_libdir_flag_spec= 10587 hardcode_libdir_flag_spec_ld='-rpath $libdir' 10588 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 10589 if test "x$supports_anon_versioning" = xyes; then 10590 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10591 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10592 echo "local: *; };" >> $output_objdir/$libname.ver~ 10593 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10594 fi 10595 ;; 10596 esac 10597 else 10598 ld_shlibs=no 10599 fi 10600 ;; 10601 10602 netbsd*) 10603 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10604 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10605 wlarc= 10606 else 10607 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10608 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10609 fi 10610 ;; 10611 10612 solaris*) 10613 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10614 ld_shlibs=no 10615 cat <<_LT_EOF 1>&2 10616 10617*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10618*** create shared libraries on Solaris systems. Therefore, libtool 10619*** is disabling shared libraries support. We urge you to upgrade GNU 10620*** binutils to release 2.9.1 or newer. Another option is to modify 10621*** your PATH or compiler configuration so that the native linker is 10622*** used, and then restart. 10623 10624_LT_EOF 10625 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10626 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10627 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10628 else 10629 ld_shlibs=no 10630 fi 10631 ;; 10632 10633 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10634 case `$LD -v 2>&1` in 10635 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10636 ld_shlibs=no 10637 cat <<_LT_EOF 1>&2 10638 10639*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 10640*** reliably create shared libraries on SCO systems. Therefore, libtool 10641*** is disabling shared libraries support. We urge you to upgrade GNU 10642*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10643*** your PATH or compiler configuration so that the native linker is 10644*** used, and then restart. 10645 10646_LT_EOF 10647 ;; 10648 *) 10649 # For security reasons, it is highly recommended that you always 10650 # use absolute paths for naming shared libraries, and exclude the 10651 # DT_RUNPATH tag from executables and libraries. But doing so 10652 # requires that you compile everything twice, which is a pain. 10653 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10654 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10655 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10656 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10657 else 10658 ld_shlibs=no 10659 fi 10660 ;; 10661 esac 10662 ;; 10663 10664 sunos4*) 10665 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10666 wlarc= 10667 hardcode_direct=yes 10668 hardcode_shlibpath_var=no 10669 ;; 10670 10671 *) 10672 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10673 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10674 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10675 else 10676 ld_shlibs=no 10677 fi 10678 ;; 10679 esac 10680 10681 if test "$ld_shlibs" = no; then 10682 runpath_var= 10683 hardcode_libdir_flag_spec= 10684 export_dynamic_flag_spec= 10685 whole_archive_flag_spec= 10686 fi 10687 else 10688 # PORTME fill in a description of your system's linker (not GNU ld) 10689 case $host_os in 10690 aix3*) 10691 allow_undefined_flag=unsupported 10692 always_export_symbols=yes 10693 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' 10694 # Note: this linker hardcodes the directories in LIBPATH if there 10695 # are no directories specified by -L. 10696 hardcode_minus_L=yes 10697 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 10698 # Neither direct hardcoding nor static linking is supported with a 10699 # broken collect2. 10700 hardcode_direct=unsupported 10701 fi 10702 ;; 10703 10704 aix[4-9]*) 10705 if test "$host_cpu" = ia64; then 10706 # On IA64, the linker does run time linking by default, so we don't 10707 # have to do anything special. 10708 aix_use_runtimelinking=no 10709 exp_sym_flag='-Bexport' 10710 no_entry_flag="" 10711 else 10712 # If we're using GNU nm, then we don't want the "-C" option. 10713 # -C means demangle to AIX nm, but means don't demangle with GNU nm 10714 # Also, AIX nm treats weak defined symbols like other global 10715 # defined symbols, whereas GNU nm marks them as "W". 10716 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10717 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 10718 else 10719 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 10720 fi 10721 aix_use_runtimelinking=no 10722 10723 # Test if we are trying to use run time linking or normal 10724 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10725 # need to do runtime linking. 10726 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10727 for ld_flag in $LDFLAGS; do 10728 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 10729 aix_use_runtimelinking=yes 10730 break 10731 fi 10732 done 10733 ;; 10734 esac 10735 10736 exp_sym_flag='-bexport' 10737 no_entry_flag='-bnoentry' 10738 fi 10739 10740 # When large executables or shared objects are built, AIX ld can 10741 # have problems creating the table of contents. If linking a library 10742 # or program results in "error TOC overflow" add -mminimal-toc to 10743 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10744 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10745 10746 archive_cmds='' 10747 hardcode_direct=yes 10748 hardcode_direct_absolute=yes 10749 hardcode_libdir_separator=':' 10750 link_all_deplibs=yes 10751 file_list_spec='${wl}-f,' 10752 10753 if test "$GCC" = yes; then 10754 case $host_os in aix4.[012]|aix4.[012].*) 10755 # We only want to do this on AIX 4.2 and lower, the check 10756 # below for broken collect2 doesn't work under 4.3+ 10757 collect2name=`${CC} -print-prog-name=collect2` 10758 if test -f "$collect2name" && 10759 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10760 then 10761 # We have reworked collect2 10762 : 10763 else 10764 # We have old collect2 10765 hardcode_direct=unsupported 10766 # It fails to find uninstalled libraries when the uninstalled 10767 # path is not listed in the libpath. Setting hardcode_minus_L 10768 # to unsupported forces relinking 10769 hardcode_minus_L=yes 10770 hardcode_libdir_flag_spec='-L$libdir' 10771 hardcode_libdir_separator= 10772 fi 10773 ;; 10774 esac 10775 shared_flag='-shared' 10776 if test "$aix_use_runtimelinking" = yes; then 10777 shared_flag="$shared_flag "'${wl}-G' 10778 fi 10779 else 10780 # not using gcc 10781 if test "$host_cpu" = ia64; then 10782 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10783 # chokes on -Wl,-G. The following line is correct: 10784 shared_flag='-G' 10785 else 10786 if test "$aix_use_runtimelinking" = yes; then 10787 shared_flag='${wl}-G' 10788 else 10789 shared_flag='${wl}-bM:SRE' 10790 fi 10791 fi 10792 fi 10793 10794 export_dynamic_flag_spec='${wl}-bexpall' 10795 # It seems that -bexpall does not export symbols beginning with 10796 # underscore (_), so it is better to generate a list of symbols to export. 10797 always_export_symbols=yes 10798 if test "$aix_use_runtimelinking" = yes; then 10799 # Warning - without using the other runtime loading flags (-brtl), 10800 # -berok will link without error, but may produce a broken library. 10801 allow_undefined_flag='-berok' 10802 # Determine the default libpath from the value encoded in an 10803 # empty executable. 10804 if test x$gcc_no_link = xyes; then 10805 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 10806fi 10807cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10808/* end confdefs.h. */ 10809 10810int 10811main () 10812{ 10813 10814 ; 10815 return 0; 10816} 10817_ACEOF 10818if ac_fn_c_try_link "$LINENO"; then : 10819 10820lt_aix_libpath_sed=' 10821 /Import File Strings/,/^$/ { 10822 /^0/ { 10823 s/^0 *\(.*\)$/\1/ 10824 p 10825 } 10826 }' 10827aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10828# Check for a 64-bit object if we didn't find anything. 10829if test -z "$aix_libpath"; then 10830 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10831fi 10832fi 10833rm -f core conftest.err conftest.$ac_objext \ 10834 conftest$ac_exeext conftest.$ac_ext 10835if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10836 10837 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10838 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 10839 else 10840 if test "$host_cpu" = ia64; then 10841 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10842 allow_undefined_flag="-z nodefs" 10843 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" 10844 else 10845 # Determine the default libpath from the value encoded in an 10846 # empty executable. 10847 if test x$gcc_no_link = xyes; then 10848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 10849fi 10850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10851/* end confdefs.h. */ 10852 10853int 10854main () 10855{ 10856 10857 ; 10858 return 0; 10859} 10860_ACEOF 10861if ac_fn_c_try_link "$LINENO"; then : 10862 10863lt_aix_libpath_sed=' 10864 /Import File Strings/,/^$/ { 10865 /^0/ { 10866 s/^0 *\(.*\)$/\1/ 10867 p 10868 } 10869 }' 10870aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10871# Check for a 64-bit object if we didn't find anything. 10872if test -z "$aix_libpath"; then 10873 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10874fi 10875fi 10876rm -f core conftest.err conftest.$ac_objext \ 10877 conftest$ac_exeext conftest.$ac_ext 10878if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10879 10880 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10881 # Warning - without using the other run time loading flags, 10882 # -berok will link without error, but may produce a broken library. 10883 no_undefined_flag=' ${wl}-bernotok' 10884 allow_undefined_flag=' ${wl}-berok' 10885 if test "$with_gnu_ld" = yes; then 10886 # We only use this code for GNU lds that support --whole-archive. 10887 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 10888 else 10889 # Exported symbols can be pulled into shared objects from archives 10890 whole_archive_flag_spec='$convenience' 10891 fi 10892 archive_cmds_need_lc=yes 10893 # This is similar to how AIX traditionally builds its shared libraries. 10894 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 10895 fi 10896 fi 10897 ;; 10898 10899 amigaos*) 10900 case $host_cpu in 10901 powerpc) 10902 # see comment about AmigaOS4 .so support 10903 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10904 archive_expsym_cmds='' 10905 ;; 10906 m68k) 10907 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)' 10908 hardcode_libdir_flag_spec='-L$libdir' 10909 hardcode_minus_L=yes 10910 ;; 10911 esac 10912 ;; 10913 10914 bsdi[45]*) 10915 export_dynamic_flag_spec=-rdynamic 10916 ;; 10917 10918 cygwin* | mingw* | pw32* | cegcc*) 10919 # When not using gcc, we currently assume that we are using 10920 # Microsoft Visual C++. 10921 # hardcode_libdir_flag_spec is actually meaningless, as there is 10922 # no search path for DLLs. 10923 hardcode_libdir_flag_spec=' ' 10924 allow_undefined_flag=unsupported 10925 # Tell ltmain to make .lib files, not .a files. 10926 libext=lib 10927 # Tell ltmain to make .dll files, not .so files. 10928 shrext_cmds=".dll" 10929 # FIXME: Setting linknames here is a bad hack. 10930 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10931 # The linker will automatically build a .lib file if we build a DLL. 10932 old_archive_from_new_cmds='true' 10933 # FIXME: Should let the user specify the lib program. 10934 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10935 fix_srcfile_path='`cygpath -w "$srcfile"`' 10936 enable_shared_with_static_runtimes=yes 10937 ;; 10938 10939 darwin* | rhapsody*) 10940 10941 10942 archive_cmds_need_lc=no 10943 hardcode_direct=no 10944 hardcode_automatic=yes 10945 hardcode_shlibpath_var=unsupported 10946 if test "$lt_cv_ld_force_load" = "yes"; then 10947 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\"`' 10948 else 10949 whole_archive_flag_spec='' 10950 fi 10951 link_all_deplibs=yes 10952 allow_undefined_flag="$_lt_dar_allow_undefined" 10953 case $cc_basename in 10954 ifort*) _lt_dar_can_shared=yes ;; 10955 *) _lt_dar_can_shared=$GCC ;; 10956 esac 10957 if test "$_lt_dar_can_shared" = "yes"; then 10958 output_verbose_link_cmd=func_echo_all 10959 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10960 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10961 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}" 10962 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}" 10963 10964 else 10965 ld_shlibs=no 10966 fi 10967 10968 ;; 10969 10970 dgux*) 10971 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10972 hardcode_libdir_flag_spec='-L$libdir' 10973 hardcode_shlibpath_var=no 10974 ;; 10975 10976 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10977 # support. Future versions do this automatically, but an explicit c++rt0.o 10978 # does not break anything, and helps significantly (at the cost of a little 10979 # extra space). 10980 freebsd2.2*) 10981 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10982 hardcode_libdir_flag_spec='-R$libdir' 10983 hardcode_direct=yes 10984 hardcode_shlibpath_var=no 10985 ;; 10986 10987 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10988 freebsd2.*) 10989 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10990 hardcode_direct=yes 10991 hardcode_minus_L=yes 10992 hardcode_shlibpath_var=no 10993 ;; 10994 10995 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10996 freebsd* | dragonfly*) 10997 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 10998 hardcode_libdir_flag_spec='-R$libdir' 10999 hardcode_direct=yes 11000 hardcode_shlibpath_var=no 11001 ;; 11002 11003 hpux9*) 11004 if test "$GCC" = yes; then 11005 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 11006 else 11007 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 11008 fi 11009 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11010 hardcode_libdir_separator=: 11011 hardcode_direct=yes 11012 11013 # hardcode_minus_L: Not really in the search PATH, 11014 # but as the default location of the library. 11015 hardcode_minus_L=yes 11016 export_dynamic_flag_spec='${wl}-E' 11017 ;; 11018 11019 hpux10*) 11020 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11021 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11022 else 11023 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11024 fi 11025 if test "$with_gnu_ld" = no; then 11026 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11027 hardcode_libdir_flag_spec_ld='+b $libdir' 11028 hardcode_libdir_separator=: 11029 hardcode_direct=yes 11030 hardcode_direct_absolute=yes 11031 export_dynamic_flag_spec='${wl}-E' 11032 # hardcode_minus_L: Not really in the search PATH, 11033 # but as the default location of the library. 11034 hardcode_minus_L=yes 11035 fi 11036 ;; 11037 11038 hpux11*) 11039 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11040 case $host_cpu in 11041 hppa*64*) 11042 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11043 ;; 11044 ia64*) 11045 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11046 ;; 11047 *) 11048 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11049 ;; 11050 esac 11051 else 11052 case $host_cpu in 11053 hppa*64*) 11054 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11055 ;; 11056 ia64*) 11057 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11058 ;; 11059 *) 11060 11061 # Older versions of the 11.00 compiler do not understand -b yet 11062 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11064$as_echo_n "checking if $CC understands -b... " >&6; } 11065if ${lt_cv_prog_compiler__b+:} false; then : 11066 $as_echo_n "(cached) " >&6 11067else 11068 lt_cv_prog_compiler__b=no 11069 save_LDFLAGS="$LDFLAGS" 11070 LDFLAGS="$LDFLAGS -b" 11071 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11072 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11073 # The linker can only warn and ignore the option if not recognized 11074 # So say no if there are warnings 11075 if test -s conftest.err; then 11076 # Append any errors to the config.log. 11077 cat conftest.err 1>&5 11078 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11079 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11080 if diff conftest.exp conftest.er2 >/dev/null; then 11081 lt_cv_prog_compiler__b=yes 11082 fi 11083 else 11084 lt_cv_prog_compiler__b=yes 11085 fi 11086 fi 11087 $RM -r conftest* 11088 LDFLAGS="$save_LDFLAGS" 11089 11090fi 11091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11092$as_echo "$lt_cv_prog_compiler__b" >&6; } 11093 11094if test x"$lt_cv_prog_compiler__b" = xyes; then 11095 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11096else 11097 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11098fi 11099 11100 ;; 11101 esac 11102 fi 11103 if test "$with_gnu_ld" = no; then 11104 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11105 hardcode_libdir_separator=: 11106 11107 case $host_cpu in 11108 hppa*64*|ia64*) 11109 hardcode_direct=no 11110 hardcode_shlibpath_var=no 11111 ;; 11112 *) 11113 hardcode_direct=yes 11114 hardcode_direct_absolute=yes 11115 export_dynamic_flag_spec='${wl}-E' 11116 11117 # hardcode_minus_L: Not really in the search PATH, 11118 # but as the default location of the library. 11119 hardcode_minus_L=yes 11120 ;; 11121 esac 11122 fi 11123 ;; 11124 11125 irix5* | irix6* | nonstopux*) 11126 if test "$GCC" = yes; then 11127 archive_cmds='$CC -shared $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' 11128 # Try to use the -exported_symbol ld option, if it does not 11129 # work, assume that -exports_file does not work either and 11130 # implicitly export all symbols. 11131 save_LDFLAGS="$LDFLAGS" 11132 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 11133 if test x$gcc_no_link = xyes; then 11134 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 11135fi 11136cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11137/* end confdefs.h. */ 11138int foo(void) {} 11139_ACEOF 11140if ac_fn_c_try_link "$LINENO"; then : 11141 archive_expsym_cmds='$CC -shared $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' 11142 11143fi 11144rm -f core conftest.err conftest.$ac_objext \ 11145 conftest$ac_exeext conftest.$ac_ext 11146 LDFLAGS="$save_LDFLAGS" 11147 else 11148 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' 11149 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' 11150 fi 11151 archive_cmds_need_lc='no' 11152 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11153 hardcode_libdir_separator=: 11154 inherit_rpath=yes 11155 link_all_deplibs=yes 11156 ;; 11157 11158 netbsd*) 11159 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11160 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11161 else 11162 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11163 fi 11164 hardcode_libdir_flag_spec='-R$libdir' 11165 hardcode_direct=yes 11166 hardcode_shlibpath_var=no 11167 ;; 11168 11169 newsos6) 11170 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11171 hardcode_direct=yes 11172 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11173 hardcode_libdir_separator=: 11174 hardcode_shlibpath_var=no 11175 ;; 11176 11177 *nto* | *qnx*) 11178 ;; 11179 11180 openbsd*) 11181 if test -f /usr/libexec/ld.so; then 11182 hardcode_direct=yes 11183 hardcode_shlibpath_var=no 11184 hardcode_direct_absolute=yes 11185 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11186 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11187 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 11188 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11189 export_dynamic_flag_spec='${wl}-E' 11190 else 11191 case $host_os in 11192 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 11193 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11194 hardcode_libdir_flag_spec='-R$libdir' 11195 ;; 11196 *) 11197 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11198 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11199 ;; 11200 esac 11201 fi 11202 else 11203 ld_shlibs=no 11204 fi 11205 ;; 11206 11207 os2*) 11208 hardcode_libdir_flag_spec='-L$libdir' 11209 hardcode_minus_L=yes 11210 allow_undefined_flag=unsupported 11211 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 11212 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 11213 ;; 11214 11215 osf3*) 11216 if test "$GCC" = yes; then 11217 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11218 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' 11219 else 11220 allow_undefined_flag=' -expect_unresolved \*' 11221 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' 11222 fi 11223 archive_cmds_need_lc='no' 11224 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11225 hardcode_libdir_separator=: 11226 ;; 11227 11228 osf4* | osf5*) # as osf3* with the addition of -msym flag 11229 if test "$GCC" = yes; then 11230 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11231 archive_cmds='$CC -shared${allow_undefined_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' 11232 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11233 else 11234 allow_undefined_flag=' -expect_unresolved \*' 11235 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' 11236 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~ 11237 $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' 11238 11239 # Both c and cxx compiler support -rpath directly 11240 hardcode_libdir_flag_spec='-rpath $libdir' 11241 fi 11242 archive_cmds_need_lc='no' 11243 hardcode_libdir_separator=: 11244 ;; 11245 11246 solaris*) 11247 no_undefined_flag=' -z defs' 11248 if test "$GCC" = yes; then 11249 wlarc='${wl}' 11250 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11251 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11252 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11253 else 11254 case `$CC -V 2>&1` in 11255 *"Compilers 5.0"*) 11256 wlarc='' 11257 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 11258 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11259 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11260 ;; 11261 *) 11262 wlarc='${wl}' 11263 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11264 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11265 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11266 ;; 11267 esac 11268 fi 11269 hardcode_libdir_flag_spec='-R$libdir' 11270 hardcode_shlibpath_var=no 11271 case $host_os in 11272 solaris2.[0-5] | solaris2.[0-5].*) ;; 11273 *) 11274 # The compiler driver will combine and reorder linker options, 11275 # but understands `-z linker_flag'. GCC discards it without `$wl', 11276 # but is careful enough not to reorder. 11277 # Supported since Solaris 2.6 (maybe 2.5.1?) 11278 if test "$GCC" = yes; then 11279 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 11280 else 11281 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11282 fi 11283 ;; 11284 esac 11285 link_all_deplibs=yes 11286 ;; 11287 11288 sunos4*) 11289 if test "x$host_vendor" = xsequent; then 11290 # Use $CC to link under sequent, because it throws in some extra .o 11291 # files that make .init and .fini sections work. 11292 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11293 else 11294 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11295 fi 11296 hardcode_libdir_flag_spec='-L$libdir' 11297 hardcode_direct=yes 11298 hardcode_minus_L=yes 11299 hardcode_shlibpath_var=no 11300 ;; 11301 11302 sysv4) 11303 case $host_vendor in 11304 sni) 11305 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11306 hardcode_direct=yes # is this really true??? 11307 ;; 11308 siemens) 11309 ## LD is ld it makes a PLAMLIB 11310 ## CC just makes a GrossModule. 11311 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11312 reload_cmds='$CC -r -o $output$reload_objs' 11313 hardcode_direct=no 11314 ;; 11315 motorola) 11316 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11317 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11318 ;; 11319 esac 11320 runpath_var='LD_RUN_PATH' 11321 hardcode_shlibpath_var=no 11322 ;; 11323 11324 sysv4.3*) 11325 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11326 hardcode_shlibpath_var=no 11327 export_dynamic_flag_spec='-Bexport' 11328 ;; 11329 11330 sysv4*MP*) 11331 if test -d /usr/nec; then 11332 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11333 hardcode_shlibpath_var=no 11334 runpath_var=LD_RUN_PATH 11335 hardcode_runpath_var=yes 11336 ld_shlibs=yes 11337 fi 11338 ;; 11339 11340 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11341 no_undefined_flag='${wl}-z,text' 11342 archive_cmds_need_lc=no 11343 hardcode_shlibpath_var=no 11344 runpath_var='LD_RUN_PATH' 11345 11346 if test "$GCC" = yes; then 11347 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11348 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11349 else 11350 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11351 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11352 fi 11353 ;; 11354 11355 sysv5* | sco3.2v5* | sco5v6*) 11356 # Note: We can NOT use -z defs as we might desire, because we do not 11357 # link with -lc, and that would cause any symbols used from libc to 11358 # always be unresolved, which means just about no library would 11359 # ever link correctly. If we're not using GNU ld we use -z text 11360 # though, which does catch some bad symbols but isn't as heavy-handed 11361 # as -z defs. 11362 no_undefined_flag='${wl}-z,text' 11363 allow_undefined_flag='${wl}-z,nodefs' 11364 archive_cmds_need_lc=no 11365 hardcode_shlibpath_var=no 11366 hardcode_libdir_flag_spec='${wl}-R,$libdir' 11367 hardcode_libdir_separator=':' 11368 link_all_deplibs=yes 11369 export_dynamic_flag_spec='${wl}-Bexport' 11370 runpath_var='LD_RUN_PATH' 11371 11372 if test "$GCC" = yes; then 11373 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11374 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11375 else 11376 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11377 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11378 fi 11379 ;; 11380 11381 uts4*) 11382 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11383 hardcode_libdir_flag_spec='-L$libdir' 11384 hardcode_shlibpath_var=no 11385 ;; 11386 11387 *) 11388 ld_shlibs=no 11389 ;; 11390 esac 11391 11392 if test x$host_vendor = xsni; then 11393 case $host in 11394 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11395 export_dynamic_flag_spec='${wl}-Blargedynsym' 11396 ;; 11397 esac 11398 fi 11399 fi 11400 11401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11402$as_echo "$ld_shlibs" >&6; } 11403test "$ld_shlibs" = no && can_build_shared=no 11404 11405with_gnu_ld=$with_gnu_ld 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421# 11422# Do we need to explicitly link libc? 11423# 11424case "x$archive_cmds_need_lc" in 11425x|xyes) 11426 # Assume -lc should be added 11427 archive_cmds_need_lc=yes 11428 11429 if test "$enable_shared" = yes && test "$GCC" = yes; then 11430 case $archive_cmds in 11431 *'~'*) 11432 # FIXME: we may have to deal with multi-command sequences. 11433 ;; 11434 '$CC '*) 11435 # Test whether the compiler implicitly links with -lc since on some 11436 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11437 # to ld, don't add -lc before -lgcc. 11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11439$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11440if ${lt_cv_archive_cmds_need_lc+:} false; then : 11441 $as_echo_n "(cached) " >&6 11442else 11443 $RM conftest* 11444 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11445 11446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11447 (eval $ac_compile) 2>&5 11448 ac_status=$? 11449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11450 test $ac_status = 0; } 2>conftest.err; then 11451 soname=conftest 11452 lib=conftest 11453 libobjs=conftest.$ac_objext 11454 deplibs= 11455 wl=$lt_prog_compiler_wl 11456 pic_flag=$lt_prog_compiler_pic 11457 compiler_flags=-v 11458 linker_flags=-v 11459 verstring= 11460 output_objdir=. 11461 libname=conftest 11462 lt_save_allow_undefined_flag=$allow_undefined_flag 11463 allow_undefined_flag= 11464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11465 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11466 ac_status=$? 11467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11468 test $ac_status = 0; } 11469 then 11470 lt_cv_archive_cmds_need_lc=no 11471 else 11472 lt_cv_archive_cmds_need_lc=yes 11473 fi 11474 allow_undefined_flag=$lt_save_allow_undefined_flag 11475 else 11476 cat conftest.err 1>&5 11477 fi 11478 $RM conftest* 11479 11480fi 11481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11482$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11483 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11484 ;; 11485 esac 11486 fi 11487 ;; 11488esac 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11647$as_echo_n "checking dynamic linker characteristics... " >&6; } 11648 11649if test "$GCC" = yes; then 11650 case $host_os in 11651 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 11652 *) lt_awk_arg="/^libraries:/" ;; 11653 esac 11654 case $host_os in 11655 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 11656 *) lt_sed_strip_eq="s,=/,/,g" ;; 11657 esac 11658 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11659 case $lt_search_path_spec in 11660 *\;*) 11661 # if the path contains ";" then we assume it to be the separator 11662 # otherwise default to the standard path separator (i.e. ":") - it is 11663 # assumed that no part of a normal pathname contains ";" but that should 11664 # okay in the real world where ";" in dirpaths is itself problematic. 11665 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11666 ;; 11667 *) 11668 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11669 ;; 11670 esac 11671 # Ok, now we have the path, separated by spaces, we can step through it 11672 # and add multilib dir if necessary. 11673 lt_tmp_lt_search_path_spec= 11674 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11675 for lt_sys_path in $lt_search_path_spec; do 11676 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11677 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 11678 else 11679 test -d "$lt_sys_path" && \ 11680 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11681 fi 11682 done 11683 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11684BEGIN {RS=" "; FS="/|\n";} { 11685 lt_foo=""; 11686 lt_count=0; 11687 for (lt_i = NF; lt_i > 0; lt_i--) { 11688 if ($lt_i != "" && $lt_i != ".") { 11689 if ($lt_i == "..") { 11690 lt_count++; 11691 } else { 11692 if (lt_count == 0) { 11693 lt_foo="/" $lt_i lt_foo; 11694 } else { 11695 lt_count--; 11696 } 11697 } 11698 } 11699 } 11700 if (lt_foo != "") { lt_freq[lt_foo]++; } 11701 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11702}'` 11703 # AWK program above erroneously prepends '/' to C:/dos/paths 11704 # for these hosts. 11705 case $host_os in 11706 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11707 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 11708 esac 11709 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11710else 11711 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11712fi 11713library_names_spec= 11714libname_spec='lib$name' 11715soname_spec= 11716shrext_cmds=".so" 11717postinstall_cmds= 11718postuninstall_cmds= 11719finish_cmds= 11720finish_eval= 11721shlibpath_var= 11722shlibpath_overrides_runpath=unknown 11723version_type=none 11724dynamic_linker="$host_os ld.so" 11725sys_lib_dlsearch_path_spec="/lib /usr/lib" 11726need_lib_prefix=unknown 11727hardcode_into_libs=no 11728 11729# when you set need_version to no, make sure it does not cause -set_version 11730# flags to be left without arguments 11731need_version=unknown 11732 11733case $host_os in 11734aix3*) 11735 version_type=linux 11736 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11737 shlibpath_var=LIBPATH 11738 11739 # AIX 3 has no versioning support, so we append a major version to the name. 11740 soname_spec='${libname}${release}${shared_ext}$major' 11741 ;; 11742 11743aix[4-9]*) 11744 version_type=linux 11745 need_lib_prefix=no 11746 need_version=no 11747 hardcode_into_libs=yes 11748 if test "$host_cpu" = ia64; then 11749 # AIX 5 supports IA64 11750 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11751 shlibpath_var=LD_LIBRARY_PATH 11752 else 11753 # With GCC up to 2.95.x, collect2 would create an import file 11754 # for dependence libraries. The import file would start with 11755 # the line `#! .'. This would cause the generated library to 11756 # depend on `.', always an invalid library. This was fixed in 11757 # development snapshots of GCC prior to 3.0. 11758 case $host_os in 11759 aix4 | aix4.[01] | aix4.[01].*) 11760 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11761 echo ' yes ' 11762 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11763 : 11764 else 11765 can_build_shared=no 11766 fi 11767 ;; 11768 esac 11769 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11770 # soname into executable. Probably we can add versioning support to 11771 # collect2, so additional links can be useful in future. 11772 if test "$aix_use_runtimelinking" = yes; then 11773 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11774 # instead of lib<name>.a to let people know that these are not 11775 # typical AIX shared libraries. 11776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11777 else 11778 # We preserve .a as extension for shared libraries through AIX4.2 11779 # and later when we are not doing run time linking. 11780 library_names_spec='${libname}${release}.a $libname.a' 11781 soname_spec='${libname}${release}${shared_ext}$major' 11782 fi 11783 shlibpath_var=LIBPATH 11784 fi 11785 ;; 11786 11787amigaos*) 11788 case $host_cpu in 11789 powerpc) 11790 # Since July 2007 AmigaOS4 officially supports .so libraries. 11791 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11793 ;; 11794 m68k) 11795 library_names_spec='$libname.ixlibrary $libname.a' 11796 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11797 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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' 11798 ;; 11799 esac 11800 ;; 11801 11802beos*) 11803 library_names_spec='${libname}${shared_ext}' 11804 dynamic_linker="$host_os ld.so" 11805 shlibpath_var=LIBRARY_PATH 11806 ;; 11807 11808bsdi[45]*) 11809 version_type=linux 11810 need_version=no 11811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11812 soname_spec='${libname}${release}${shared_ext}$major' 11813 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11814 shlibpath_var=LD_LIBRARY_PATH 11815 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11816 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11817 # the default ld.so.conf also contains /usr/contrib/lib and 11818 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11819 # libtool to hard-code these into programs 11820 ;; 11821 11822cygwin* | mingw* | pw32* | cegcc*) 11823 version_type=windows 11824 shrext_cmds=".dll" 11825 need_version=no 11826 need_lib_prefix=no 11827 11828 case $GCC,$host_os in 11829 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 11830 library_names_spec='$libname.dll.a' 11831 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11832 postinstall_cmds='base_file=`basename \${file}`~ 11833 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11834 dldir=$destdir/`dirname \$dlpath`~ 11835 test -d \$dldir || mkdir -p \$dldir~ 11836 $install_prog $dir/$dlname \$dldir/$dlname~ 11837 chmod a+x \$dldir/$dlname~ 11838 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11839 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11840 fi' 11841 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11842 dlpath=$dir/\$dldll~ 11843 $RM \$dlpath' 11844 shlibpath_overrides_runpath=yes 11845 11846 case $host_os in 11847 cygwin*) 11848 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11849 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11850 11851 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11852 ;; 11853 mingw* | cegcc*) 11854 # MinGW DLLs use traditional 'lib' prefix 11855 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11856 ;; 11857 pw32*) 11858 # pw32 DLLs use 'pw' prefix rather than 'lib' 11859 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11860 ;; 11861 esac 11862 ;; 11863 11864 *) 11865 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11866 ;; 11867 esac 11868 dynamic_linker='Win32 ld.exe' 11869 # FIXME: first we should search . and the directory the executable is in 11870 shlibpath_var=PATH 11871 ;; 11872 11873darwin* | rhapsody*) 11874 dynamic_linker="$host_os dyld" 11875 version_type=darwin 11876 need_lib_prefix=no 11877 need_version=no 11878 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11879 soname_spec='${libname}${release}${major}$shared_ext' 11880 shlibpath_overrides_runpath=yes 11881 shlibpath_var=DYLD_LIBRARY_PATH 11882 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11883 11884 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11885 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11886 ;; 11887 11888dgux*) 11889 version_type=linux 11890 need_lib_prefix=no 11891 need_version=no 11892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11893 soname_spec='${libname}${release}${shared_ext}$major' 11894 shlibpath_var=LD_LIBRARY_PATH 11895 ;; 11896 11897freebsd* | dragonfly*) 11898 # DragonFly does not have aout. When/if they implement a new 11899 # versioning mechanism, adjust this. 11900 if test -x /usr/bin/objformat; then 11901 objformat=`/usr/bin/objformat` 11902 else 11903 case $host_os in 11904 freebsd[23].*) objformat=aout ;; 11905 *) objformat=elf ;; 11906 esac 11907 fi 11908 version_type=freebsd-$objformat 11909 case $version_type in 11910 freebsd-elf*) 11911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11912 need_version=no 11913 need_lib_prefix=no 11914 ;; 11915 freebsd-*) 11916 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11917 need_version=yes 11918 ;; 11919 esac 11920 shlibpath_var=LD_LIBRARY_PATH 11921 case $host_os in 11922 freebsd2.*) 11923 shlibpath_overrides_runpath=yes 11924 ;; 11925 freebsd3.[01]* | freebsdelf3.[01]*) 11926 shlibpath_overrides_runpath=yes 11927 hardcode_into_libs=yes 11928 ;; 11929 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11930 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11931 shlibpath_overrides_runpath=no 11932 hardcode_into_libs=yes 11933 ;; 11934 *) # from 4.6 on, and DragonFly 11935 shlibpath_overrides_runpath=yes 11936 hardcode_into_libs=yes 11937 ;; 11938 esac 11939 ;; 11940 11941haiku*) 11942 version_type=linux 11943 need_lib_prefix=no 11944 need_version=no 11945 dynamic_linker="$host_os runtime_loader" 11946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11947 soname_spec='${libname}${release}${shared_ext}$major' 11948 shlibpath_var=LIBRARY_PATH 11949 shlibpath_overrides_runpath=yes 11950 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib' 11951 hardcode_into_libs=yes 11952 ;; 11953 11954hpux9* | hpux10* | hpux11*) 11955 # Give a soname corresponding to the major version so that dld.sl refuses to 11956 # link against other versions. 11957 version_type=sunos 11958 need_lib_prefix=no 11959 need_version=no 11960 case $host_cpu in 11961 ia64*) 11962 shrext_cmds='.so' 11963 hardcode_into_libs=yes 11964 dynamic_linker="$host_os dld.so" 11965 shlibpath_var=LD_LIBRARY_PATH 11966 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11968 soname_spec='${libname}${release}${shared_ext}$major' 11969 if test "X$HPUX_IA64_MODE" = X32; then 11970 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11971 else 11972 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11973 fi 11974 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11975 ;; 11976 hppa*64*) 11977 shrext_cmds='.sl' 11978 hardcode_into_libs=yes 11979 dynamic_linker="$host_os dld.sl" 11980 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11981 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11983 soname_spec='${libname}${release}${shared_ext}$major' 11984 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11985 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11986 ;; 11987 *) 11988 shrext_cmds='.sl' 11989 dynamic_linker="$host_os dld.sl" 11990 shlibpath_var=SHLIB_PATH 11991 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11993 soname_spec='${libname}${release}${shared_ext}$major' 11994 ;; 11995 esac 11996 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11997 postinstall_cmds='chmod 555 $lib' 11998 # or fails outright, so override atomically: 11999 install_override_mode=555 12000 ;; 12001 12002interix[3-9]*) 12003 version_type=linux 12004 need_lib_prefix=no 12005 need_version=no 12006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12007 soname_spec='${libname}${release}${shared_ext}$major' 12008 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12009 shlibpath_var=LD_LIBRARY_PATH 12010 shlibpath_overrides_runpath=no 12011 hardcode_into_libs=yes 12012 ;; 12013 12014irix5* | irix6* | nonstopux*) 12015 case $host_os in 12016 nonstopux*) version_type=nonstopux ;; 12017 *) 12018 if test "$lt_cv_prog_gnu_ld" = yes; then 12019 version_type=linux 12020 else 12021 version_type=irix 12022 fi ;; 12023 esac 12024 need_lib_prefix=no 12025 need_version=no 12026 soname_spec='${libname}${release}${shared_ext}$major' 12027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 12028 case $host_os in 12029 irix5* | nonstopux*) 12030 libsuff= shlibsuff= 12031 ;; 12032 *) 12033 case $LD in # libtool.m4 will add one of these switches to LD 12034 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12035 libsuff= shlibsuff= libmagic=32-bit;; 12036 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12037 libsuff=32 shlibsuff=N32 libmagic=N32;; 12038 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12039 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12040 *) libsuff= shlibsuff= libmagic=never-match;; 12041 esac 12042 ;; 12043 esac 12044 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12045 shlibpath_overrides_runpath=no 12046 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 12047 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 12048 hardcode_into_libs=yes 12049 ;; 12050 12051# No shared lib support for Linux oldld, aout, or coff. 12052linux*oldld* | linux*aout* | linux*coff*) 12053 dynamic_linker=no 12054 ;; 12055 12056# This must be Linux ELF. 12057 12058# uclinux* changes (here and below) have been submitted to the libtool 12059# project, but have not yet been accepted: they are GCC-local changes 12060# for the time being. (See 12061# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) 12062linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) 12063 version_type=linux 12064 need_lib_prefix=no 12065 need_version=no 12066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12067 soname_spec='${libname}${release}${shared_ext}$major' 12068 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12069 shlibpath_var=LD_LIBRARY_PATH 12070 shlibpath_overrides_runpath=no 12071 12072 # Some binutils ld are patched to set DT_RUNPATH 12073 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12074 $as_echo_n "(cached) " >&6 12075else 12076 lt_cv_shlibpath_overrides_runpath=no 12077 save_LDFLAGS=$LDFLAGS 12078 save_libdir=$libdir 12079 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12080 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12081 if test x$gcc_no_link = xyes; then 12082 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 12083fi 12084cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12085/* end confdefs.h. */ 12086 12087int 12088main () 12089{ 12090 12091 ; 12092 return 0; 12093} 12094_ACEOF 12095if ac_fn_c_try_link "$LINENO"; then : 12096 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12097 lt_cv_shlibpath_overrides_runpath=yes 12098fi 12099fi 12100rm -f core conftest.err conftest.$ac_objext \ 12101 conftest$ac_exeext conftest.$ac_ext 12102 LDFLAGS=$save_LDFLAGS 12103 libdir=$save_libdir 12104 12105fi 12106 12107 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12108 12109 # This implies no fast_install, which is unacceptable. 12110 # Some rework will be needed to allow for fast_install 12111 # before this can be enabled. 12112 hardcode_into_libs=yes 12113 12114 # Append ld.so.conf contents to the search path 12115 if test -f /etc/ld.so.conf; then 12116 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' ' '` 12117 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12118 fi 12119 12120 # We used to test for /lib/ld.so.1 and disable shared libraries on 12121 # powerpc, because MkLinux only supported shared libraries with the 12122 # GNU dynamic linker. Since this was broken with cross compilers, 12123 # most powerpc-linux boxes support dynamic linking these days and 12124 # people can always --disable-shared, the test was removed, and we 12125 # assume the GNU/Linux dynamic linker is in use. 12126 dynamic_linker='GNU/Linux ld.so' 12127 ;; 12128 12129netbsd*) 12130 version_type=sunos 12131 need_lib_prefix=no 12132 need_version=no 12133 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12135 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12136 dynamic_linker='NetBSD (a.out) ld.so' 12137 else 12138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12139 soname_spec='${libname}${release}${shared_ext}$major' 12140 dynamic_linker='NetBSD ld.elf_so' 12141 fi 12142 shlibpath_var=LD_LIBRARY_PATH 12143 shlibpath_overrides_runpath=yes 12144 hardcode_into_libs=yes 12145 ;; 12146 12147newsos6) 12148 version_type=linux 12149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12150 shlibpath_var=LD_LIBRARY_PATH 12151 shlibpath_overrides_runpath=yes 12152 ;; 12153 12154*nto* | *qnx*) 12155 version_type=qnx 12156 need_lib_prefix=no 12157 need_version=no 12158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12159 soname_spec='${libname}${release}${shared_ext}$major' 12160 shlibpath_var=LD_LIBRARY_PATH 12161 shlibpath_overrides_runpath=no 12162 hardcode_into_libs=yes 12163 dynamic_linker='ldqnx.so' 12164 ;; 12165 12166openbsd*) 12167 version_type=sunos 12168 sys_lib_dlsearch_path_spec="/usr/lib" 12169 need_lib_prefix=no 12170 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 12171 case $host_os in 12172 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 12173 *) need_version=no ;; 12174 esac 12175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12176 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12177 shlibpath_var=LD_LIBRARY_PATH 12178 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 12179 case $host_os in 12180 openbsd2.[89] | openbsd2.[89].*) 12181 shlibpath_overrides_runpath=no 12182 ;; 12183 *) 12184 shlibpath_overrides_runpath=yes 12185 ;; 12186 esac 12187 else 12188 shlibpath_overrides_runpath=yes 12189 fi 12190 ;; 12191 12192os2*) 12193 libname_spec='$name' 12194 shrext_cmds=".dll" 12195 need_lib_prefix=no 12196 library_names_spec='$libname${shared_ext} $libname.a' 12197 dynamic_linker='OS/2 ld.exe' 12198 shlibpath_var=LIBPATH 12199 ;; 12200 12201osf3* | osf4* | osf5*) 12202 version_type=osf 12203 need_lib_prefix=no 12204 need_version=no 12205 soname_spec='${libname}${release}${shared_ext}$major' 12206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12207 shlibpath_var=LD_LIBRARY_PATH 12208 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12209 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 12210 ;; 12211 12212rdos*) 12213 dynamic_linker=no 12214 ;; 12215 12216solaris*) 12217 version_type=linux 12218 need_lib_prefix=no 12219 need_version=no 12220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12221 soname_spec='${libname}${release}${shared_ext}$major' 12222 shlibpath_var=LD_LIBRARY_PATH 12223 shlibpath_overrides_runpath=yes 12224 hardcode_into_libs=yes 12225 # ldd complains unless libraries are executable 12226 postinstall_cmds='chmod +x $lib' 12227 ;; 12228 12229sunos4*) 12230 version_type=sunos 12231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12232 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12233 shlibpath_var=LD_LIBRARY_PATH 12234 shlibpath_overrides_runpath=yes 12235 if test "$with_gnu_ld" = yes; then 12236 need_lib_prefix=no 12237 fi 12238 need_version=yes 12239 ;; 12240 12241sysv4 | sysv4.3*) 12242 version_type=linux 12243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12244 soname_spec='${libname}${release}${shared_ext}$major' 12245 shlibpath_var=LD_LIBRARY_PATH 12246 case $host_vendor in 12247 sni) 12248 shlibpath_overrides_runpath=no 12249 need_lib_prefix=no 12250 runpath_var=LD_RUN_PATH 12251 ;; 12252 siemens) 12253 need_lib_prefix=no 12254 ;; 12255 motorola) 12256 need_lib_prefix=no 12257 need_version=no 12258 shlibpath_overrides_runpath=no 12259 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12260 ;; 12261 esac 12262 ;; 12263 12264sysv4*MP*) 12265 if test -d /usr/nec ;then 12266 version_type=linux 12267 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 12268 soname_spec='$libname${shared_ext}.$major' 12269 shlibpath_var=LD_LIBRARY_PATH 12270 fi 12271 ;; 12272 12273sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12274 version_type=freebsd-elf 12275 need_lib_prefix=no 12276 need_version=no 12277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12278 soname_spec='${libname}${release}${shared_ext}$major' 12279 shlibpath_var=LD_LIBRARY_PATH 12280 shlibpath_overrides_runpath=yes 12281 hardcode_into_libs=yes 12282 if test "$with_gnu_ld" = yes; then 12283 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12284 else 12285 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12286 case $host_os in 12287 sco3.2v5*) 12288 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12289 ;; 12290 esac 12291 fi 12292 sys_lib_dlsearch_path_spec='/usr/lib' 12293 ;; 12294 12295tpf*) 12296 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12297 version_type=linux 12298 need_lib_prefix=no 12299 need_version=no 12300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12301 shlibpath_var=LD_LIBRARY_PATH 12302 shlibpath_overrides_runpath=no 12303 hardcode_into_libs=yes 12304 ;; 12305 12306uts4*) 12307 version_type=linux 12308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12309 soname_spec='${libname}${release}${shared_ext}$major' 12310 shlibpath_var=LD_LIBRARY_PATH 12311 ;; 12312 12313*) 12314 dynamic_linker=no 12315 ;; 12316esac 12317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12318$as_echo "$dynamic_linker" >&6; } 12319test "$dynamic_linker" = no && can_build_shared=no 12320 12321variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12322if test "$GCC" = yes; then 12323 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12324fi 12325 12326if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 12327 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 12328fi 12329if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 12330 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 12331fi 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 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12425$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12426hardcode_action= 12427if test -n "$hardcode_libdir_flag_spec" || 12428 test -n "$runpath_var" || 12429 test "X$hardcode_automatic" = "Xyes" ; then 12430 12431 # We can hardcode non-existent directories. 12432 if test "$hardcode_direct" != no && 12433 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12434 # have to relink, otherwise we might link with an installed library 12435 # when we should be linking with a yet-to-be-installed one 12436 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 12437 test "$hardcode_minus_L" != no; then 12438 # Linking always hardcodes the temporary library directory. 12439 hardcode_action=relink 12440 else 12441 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12442 hardcode_action=immediate 12443 fi 12444else 12445 # We cannot hardcode anything, or else we can only hardcode existing 12446 # directories. 12447 hardcode_action=unsupported 12448fi 12449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12450$as_echo "$hardcode_action" >&6; } 12451 12452if test "$hardcode_action" = relink || 12453 test "$inherit_rpath" = yes; then 12454 # Fast installation is not supported 12455 enable_fast_install=no 12456elif test "$shlibpath_overrides_runpath" = yes || 12457 test "$enable_shared" = no; then 12458 # Fast installation is not necessary 12459 enable_fast_install=needless 12460fi 12461 12462 12463 12464 12465 12466 12467 if test "x$enable_dlopen" != xyes; then 12468 enable_dlopen=unknown 12469 enable_dlopen_self=unknown 12470 enable_dlopen_self_static=unknown 12471else 12472 lt_cv_dlopen=no 12473 lt_cv_dlopen_libs= 12474 12475 case $host_os in 12476 beos*) 12477 lt_cv_dlopen="load_add_on" 12478 lt_cv_dlopen_libs= 12479 lt_cv_dlopen_self=yes 12480 ;; 12481 12482 mingw* | pw32* | cegcc*) 12483 lt_cv_dlopen="LoadLibrary" 12484 lt_cv_dlopen_libs= 12485 ;; 12486 12487 cygwin*) 12488 lt_cv_dlopen="dlopen" 12489 lt_cv_dlopen_libs= 12490 ;; 12491 12492 darwin*) 12493 # if libdl is installed we need to link against it 12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12495$as_echo_n "checking for dlopen in -ldl... " >&6; } 12496if ${ac_cv_lib_dl_dlopen+:} false; then : 12497 $as_echo_n "(cached) " >&6 12498else 12499 ac_check_lib_save_LIBS=$LIBS 12500LIBS="-ldl $LIBS" 12501if test x$gcc_no_link = xyes; then 12502 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 12503fi 12504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12505/* end confdefs.h. */ 12506 12507/* Override any GCC internal prototype to avoid an error. 12508 Use char because int might match the return type of a GCC 12509 builtin and then its argument prototype would still apply. */ 12510#ifdef __cplusplus 12511extern "C" 12512#endif 12513char dlopen (); 12514int 12515main () 12516{ 12517return dlopen (); 12518 ; 12519 return 0; 12520} 12521_ACEOF 12522if ac_fn_c_try_link "$LINENO"; then : 12523 ac_cv_lib_dl_dlopen=yes 12524else 12525 ac_cv_lib_dl_dlopen=no 12526fi 12527rm -f core conftest.err conftest.$ac_objext \ 12528 conftest$ac_exeext conftest.$ac_ext 12529LIBS=$ac_check_lib_save_LIBS 12530fi 12531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12532$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12533if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12534 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12535else 12536 12537 lt_cv_dlopen="dyld" 12538 lt_cv_dlopen_libs= 12539 lt_cv_dlopen_self=yes 12540 12541fi 12542 12543 ;; 12544 12545 *) 12546 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12547if test "x$ac_cv_func_shl_load" = xyes; then : 12548 lt_cv_dlopen="shl_load" 12549else 12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12551$as_echo_n "checking for shl_load in -ldld... " >&6; } 12552if ${ac_cv_lib_dld_shl_load+:} false; then : 12553 $as_echo_n "(cached) " >&6 12554else 12555 ac_check_lib_save_LIBS=$LIBS 12556LIBS="-ldld $LIBS" 12557if test x$gcc_no_link = xyes; then 12558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 12559fi 12560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12561/* end confdefs.h. */ 12562 12563/* Override any GCC internal prototype to avoid an error. 12564 Use char because int might match the return type of a GCC 12565 builtin and then its argument prototype would still apply. */ 12566#ifdef __cplusplus 12567extern "C" 12568#endif 12569char shl_load (); 12570int 12571main () 12572{ 12573return shl_load (); 12574 ; 12575 return 0; 12576} 12577_ACEOF 12578if ac_fn_c_try_link "$LINENO"; then : 12579 ac_cv_lib_dld_shl_load=yes 12580else 12581 ac_cv_lib_dld_shl_load=no 12582fi 12583rm -f core conftest.err conftest.$ac_objext \ 12584 conftest$ac_exeext conftest.$ac_ext 12585LIBS=$ac_check_lib_save_LIBS 12586fi 12587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12588$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12589if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12590 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 12591else 12592 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12593if test "x$ac_cv_func_dlopen" = xyes; then : 12594 lt_cv_dlopen="dlopen" 12595else 12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12597$as_echo_n "checking for dlopen in -ldl... " >&6; } 12598if ${ac_cv_lib_dl_dlopen+:} false; then : 12599 $as_echo_n "(cached) " >&6 12600else 12601 ac_check_lib_save_LIBS=$LIBS 12602LIBS="-ldl $LIBS" 12603if test x$gcc_no_link = xyes; then 12604 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 12605fi 12606cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12607/* end confdefs.h. */ 12608 12609/* Override any GCC internal prototype to avoid an error. 12610 Use char because int might match the return type of a GCC 12611 builtin and then its argument prototype would still apply. */ 12612#ifdef __cplusplus 12613extern "C" 12614#endif 12615char dlopen (); 12616int 12617main () 12618{ 12619return dlopen (); 12620 ; 12621 return 0; 12622} 12623_ACEOF 12624if ac_fn_c_try_link "$LINENO"; then : 12625 ac_cv_lib_dl_dlopen=yes 12626else 12627 ac_cv_lib_dl_dlopen=no 12628fi 12629rm -f core conftest.err conftest.$ac_objext \ 12630 conftest$ac_exeext conftest.$ac_ext 12631LIBS=$ac_check_lib_save_LIBS 12632fi 12633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12634$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12635if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12636 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12637else 12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12639$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12640if ${ac_cv_lib_svld_dlopen+:} false; then : 12641 $as_echo_n "(cached) " >&6 12642else 12643 ac_check_lib_save_LIBS=$LIBS 12644LIBS="-lsvld $LIBS" 12645if test x$gcc_no_link = xyes; then 12646 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 12647fi 12648cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12649/* end confdefs.h. */ 12650 12651/* Override any GCC internal prototype to avoid an error. 12652 Use char because int might match the return type of a GCC 12653 builtin and then its argument prototype would still apply. */ 12654#ifdef __cplusplus 12655extern "C" 12656#endif 12657char dlopen (); 12658int 12659main () 12660{ 12661return dlopen (); 12662 ; 12663 return 0; 12664} 12665_ACEOF 12666if ac_fn_c_try_link "$LINENO"; then : 12667 ac_cv_lib_svld_dlopen=yes 12668else 12669 ac_cv_lib_svld_dlopen=no 12670fi 12671rm -f core conftest.err conftest.$ac_objext \ 12672 conftest$ac_exeext conftest.$ac_ext 12673LIBS=$ac_check_lib_save_LIBS 12674fi 12675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12676$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12677if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12678 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12679else 12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12681$as_echo_n "checking for dld_link in -ldld... " >&6; } 12682if ${ac_cv_lib_dld_dld_link+:} false; then : 12683 $as_echo_n "(cached) " >&6 12684else 12685 ac_check_lib_save_LIBS=$LIBS 12686LIBS="-ldld $LIBS" 12687if test x$gcc_no_link = xyes; then 12688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 12689fi 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#ifdef __cplusplus 12697extern "C" 12698#endif 12699char dld_link (); 12700int 12701main () 12702{ 12703return dld_link (); 12704 ; 12705 return 0; 12706} 12707_ACEOF 12708if ac_fn_c_try_link "$LINENO"; then : 12709 ac_cv_lib_dld_dld_link=yes 12710else 12711 ac_cv_lib_dld_dld_link=no 12712fi 12713rm -f core conftest.err conftest.$ac_objext \ 12714 conftest$ac_exeext conftest.$ac_ext 12715LIBS=$ac_check_lib_save_LIBS 12716fi 12717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12718$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12719if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12720 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12721fi 12722 12723 12724fi 12725 12726 12727fi 12728 12729 12730fi 12731 12732 12733fi 12734 12735 12736fi 12737 12738 ;; 12739 esac 12740 12741 if test "x$lt_cv_dlopen" != xno; then 12742 enable_dlopen=yes 12743 else 12744 enable_dlopen=no 12745 fi 12746 12747 case $lt_cv_dlopen in 12748 dlopen) 12749 save_CPPFLAGS="$CPPFLAGS" 12750 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12751 12752 save_LDFLAGS="$LDFLAGS" 12753 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12754 12755 save_LIBS="$LIBS" 12756 LIBS="$lt_cv_dlopen_libs $LIBS" 12757 12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12759$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12760if ${lt_cv_dlopen_self+:} false; then : 12761 $as_echo_n "(cached) " >&6 12762else 12763 if test "$cross_compiling" = yes; then : 12764 lt_cv_dlopen_self=cross 12765else 12766 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12767 lt_status=$lt_dlunknown 12768 cat > conftest.$ac_ext <<_LT_EOF 12769#line 12769 "configure" 12770#include "confdefs.h" 12771 12772#if HAVE_DLFCN_H 12773#include <dlfcn.h> 12774#endif 12775 12776#include <stdio.h> 12777 12778#ifdef RTLD_GLOBAL 12779# define LT_DLGLOBAL RTLD_GLOBAL 12780#else 12781# ifdef DL_GLOBAL 12782# define LT_DLGLOBAL DL_GLOBAL 12783# else 12784# define LT_DLGLOBAL 0 12785# endif 12786#endif 12787 12788/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12789 find out it does not work in some platform. */ 12790#ifndef LT_DLLAZY_OR_NOW 12791# ifdef RTLD_LAZY 12792# define LT_DLLAZY_OR_NOW RTLD_LAZY 12793# else 12794# ifdef DL_LAZY 12795# define LT_DLLAZY_OR_NOW DL_LAZY 12796# else 12797# ifdef RTLD_NOW 12798# define LT_DLLAZY_OR_NOW RTLD_NOW 12799# else 12800# ifdef DL_NOW 12801# define LT_DLLAZY_OR_NOW DL_NOW 12802# else 12803# define LT_DLLAZY_OR_NOW 0 12804# endif 12805# endif 12806# endif 12807# endif 12808#endif 12809 12810/* When -fvisbility=hidden is used, assume the code has been annotated 12811 correspondingly for the symbols needed. */ 12812#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12813void fnord () __attribute__((visibility("default"))); 12814#endif 12815 12816void fnord () { int i=42; } 12817int main () 12818{ 12819 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12820 int status = $lt_dlunknown; 12821 12822 if (self) 12823 { 12824 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12825 else 12826 { 12827 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12828 else puts (dlerror ()); 12829 } 12830 /* dlclose (self); */ 12831 } 12832 else 12833 puts (dlerror ()); 12834 12835 return status; 12836} 12837_LT_EOF 12838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12839 (eval $ac_link) 2>&5 12840 ac_status=$? 12841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12842 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12843 (./conftest; exit; ) >&5 2>/dev/null 12844 lt_status=$? 12845 case x$lt_status in 12846 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12847 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12848 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12849 esac 12850 else : 12851 # compilation failed 12852 lt_cv_dlopen_self=no 12853 fi 12854fi 12855rm -fr conftest* 12856 12857 12858fi 12859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12860$as_echo "$lt_cv_dlopen_self" >&6; } 12861 12862 if test "x$lt_cv_dlopen_self" = xyes; then 12863 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12865$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12866if ${lt_cv_dlopen_self_static+:} false; then : 12867 $as_echo_n "(cached) " >&6 12868else 12869 if test "$cross_compiling" = yes; then : 12870 lt_cv_dlopen_self_static=cross 12871else 12872 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12873 lt_status=$lt_dlunknown 12874 cat > conftest.$ac_ext <<_LT_EOF 12875#line 12875 "configure" 12876#include "confdefs.h" 12877 12878#if HAVE_DLFCN_H 12879#include <dlfcn.h> 12880#endif 12881 12882#include <stdio.h> 12883 12884#ifdef RTLD_GLOBAL 12885# define LT_DLGLOBAL RTLD_GLOBAL 12886#else 12887# ifdef DL_GLOBAL 12888# define LT_DLGLOBAL DL_GLOBAL 12889# else 12890# define LT_DLGLOBAL 0 12891# endif 12892#endif 12893 12894/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12895 find out it does not work in some platform. */ 12896#ifndef LT_DLLAZY_OR_NOW 12897# ifdef RTLD_LAZY 12898# define LT_DLLAZY_OR_NOW RTLD_LAZY 12899# else 12900# ifdef DL_LAZY 12901# define LT_DLLAZY_OR_NOW DL_LAZY 12902# else 12903# ifdef RTLD_NOW 12904# define LT_DLLAZY_OR_NOW RTLD_NOW 12905# else 12906# ifdef DL_NOW 12907# define LT_DLLAZY_OR_NOW DL_NOW 12908# else 12909# define LT_DLLAZY_OR_NOW 0 12910# endif 12911# endif 12912# endif 12913# endif 12914#endif 12915 12916/* When -fvisbility=hidden is used, assume the code has been annotated 12917 correspondingly for the symbols needed. */ 12918#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12919void fnord () __attribute__((visibility("default"))); 12920#endif 12921 12922void fnord () { int i=42; } 12923int main () 12924{ 12925 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12926 int status = $lt_dlunknown; 12927 12928 if (self) 12929 { 12930 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12931 else 12932 { 12933 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12934 else puts (dlerror ()); 12935 } 12936 /* dlclose (self); */ 12937 } 12938 else 12939 puts (dlerror ()); 12940 12941 return status; 12942} 12943_LT_EOF 12944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12945 (eval $ac_link) 2>&5 12946 ac_status=$? 12947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12948 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12949 (./conftest; exit; ) >&5 2>/dev/null 12950 lt_status=$? 12951 case x$lt_status in 12952 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12953 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12954 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12955 esac 12956 else : 12957 # compilation failed 12958 lt_cv_dlopen_self_static=no 12959 fi 12960fi 12961rm -fr conftest* 12962 12963 12964fi 12965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12966$as_echo "$lt_cv_dlopen_self_static" >&6; } 12967 fi 12968 12969 CPPFLAGS="$save_CPPFLAGS" 12970 LDFLAGS="$save_LDFLAGS" 12971 LIBS="$save_LIBS" 12972 ;; 12973 esac 12974 12975 case $lt_cv_dlopen_self in 12976 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12977 *) enable_dlopen_self=unknown ;; 12978 esac 12979 12980 case $lt_cv_dlopen_self_static in 12981 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12982 *) enable_dlopen_self_static=unknown ;; 12983 esac 12984fi 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002striplib= 13003old_striplib= 13004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13005$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13006if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13007 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13008 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13010$as_echo "yes" >&6; } 13011else 13012# FIXME - insert some real tests, host_os isn't really good enough 13013 case $host_os in 13014 darwin*) 13015 if test -n "$STRIP" ; then 13016 striplib="$STRIP -x" 13017 old_striplib="$STRIP -S" 13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13019$as_echo "yes" >&6; } 13020 else 13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13022$as_echo "no" >&6; } 13023 fi 13024 ;; 13025 *) 13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13027$as_echo "no" >&6; } 13028 ;; 13029 esac 13030fi 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 # Report which library types will actually be built 13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13045$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13047$as_echo "$can_build_shared" >&6; } 13048 13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13050$as_echo_n "checking whether to build shared libraries... " >&6; } 13051 test "$can_build_shared" = "no" && enable_shared=no 13052 13053 # On AIX, shared libraries and static libraries use the same namespace, and 13054 # are all built from PIC. 13055 case $host_os in 13056 aix3*) 13057 test "$enable_shared" = yes && enable_static=no 13058 if test -n "$RANLIB"; then 13059 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13060 postinstall_cmds='$RANLIB $lib' 13061 fi 13062 ;; 13063 13064 aix[4-9]*) 13065 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 13066 test "$enable_shared" = yes && enable_static=no 13067 fi 13068 ;; 13069 esac 13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13071$as_echo "$enable_shared" >&6; } 13072 13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13074$as_echo_n "checking whether to build static libraries... " >&6; } 13075 # Make sure either enable_shared or enable_static is yes. 13076 test "$enable_shared" = yes || enable_static=yes 13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13078$as_echo "$enable_static" >&6; } 13079 13080 13081 13082 13083fi 13084ac_ext=c 13085ac_cpp='$CPP $CPPFLAGS' 13086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13088ac_compiler_gnu=$ac_cv_c_compiler_gnu 13089 13090CC="$lt_save_CC" 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 ac_config_commands="$ac_config_commands libtool" 13105 13106 13107 13108 13109# Only expand once: 13110 13111 13112LIBM= 13113case $host in 13114*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) 13115 # These system don't have libm, or don't need it 13116 ;; 13117*-ncr-sysv4.3*) 13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 13119$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; } 13120if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then : 13121 $as_echo_n "(cached) " >&6 13122else 13123 ac_check_lib_save_LIBS=$LIBS 13124LIBS="-lmw $LIBS" 13125if test x$gcc_no_link = xyes; then 13126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 13127fi 13128cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13129/* end confdefs.h. */ 13130 13131/* Override any GCC internal prototype to avoid an error. 13132 Use char because int might match the return type of a GCC 13133 builtin and then its argument prototype would still apply. */ 13134#ifdef __cplusplus 13135extern "C" 13136#endif 13137char _mwvalidcheckl (); 13138int 13139main () 13140{ 13141return _mwvalidcheckl (); 13142 ; 13143 return 0; 13144} 13145_ACEOF 13146if ac_fn_c_try_link "$LINENO"; then : 13147 ac_cv_lib_mw__mwvalidcheckl=yes 13148else 13149 ac_cv_lib_mw__mwvalidcheckl=no 13150fi 13151rm -f core conftest.err conftest.$ac_objext \ 13152 conftest$ac_exeext conftest.$ac_ext 13153LIBS=$ac_check_lib_save_LIBS 13154fi 13155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 13156$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; } 13157if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then : 13158 LIBM="-lmw" 13159fi 13160 13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 13162$as_echo_n "checking for cos in -lm... " >&6; } 13163if ${ac_cv_lib_m_cos+:} false; then : 13164 $as_echo_n "(cached) " >&6 13165else 13166 ac_check_lib_save_LIBS=$LIBS 13167LIBS="-lm $LIBS" 13168if test x$gcc_no_link = xyes; then 13169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 13170fi 13171cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13172/* end confdefs.h. */ 13173 13174/* Override any GCC internal prototype to avoid an error. 13175 Use char because int might match the return type of a GCC 13176 builtin and then its argument prototype would still apply. */ 13177#ifdef __cplusplus 13178extern "C" 13179#endif 13180char cos (); 13181int 13182main () 13183{ 13184return cos (); 13185 ; 13186 return 0; 13187} 13188_ACEOF 13189if ac_fn_c_try_link "$LINENO"; then : 13190 ac_cv_lib_m_cos=yes 13191else 13192 ac_cv_lib_m_cos=no 13193fi 13194rm -f core conftest.err conftest.$ac_objext \ 13195 conftest$ac_exeext conftest.$ac_ext 13196LIBS=$ac_check_lib_save_LIBS 13197fi 13198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 13199$as_echo "$ac_cv_lib_m_cos" >&6; } 13200if test "x$ac_cv_lib_m_cos" = xyes; then : 13201 LIBM="$LIBM -lm" 13202fi 13203 13204 ;; 13205*) 13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 13207$as_echo_n "checking for cos in -lm... " >&6; } 13208if ${ac_cv_lib_m_cos+:} false; then : 13209 $as_echo_n "(cached) " >&6 13210else 13211 ac_check_lib_save_LIBS=$LIBS 13212LIBS="-lm $LIBS" 13213if test x$gcc_no_link = xyes; then 13214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 13215fi 13216cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13217/* end confdefs.h. */ 13218 13219/* Override any GCC internal prototype to avoid an error. 13220 Use char because int might match the return type of a GCC 13221 builtin and then its argument prototype would still apply. */ 13222#ifdef __cplusplus 13223extern "C" 13224#endif 13225char cos (); 13226int 13227main () 13228{ 13229return cos (); 13230 ; 13231 return 0; 13232} 13233_ACEOF 13234if ac_fn_c_try_link "$LINENO"; then : 13235 ac_cv_lib_m_cos=yes 13236else 13237 ac_cv_lib_m_cos=no 13238fi 13239rm -f core conftest.err conftest.$ac_objext \ 13240 conftest$ac_exeext conftest.$ac_ext 13241LIBS=$ac_check_lib_save_LIBS 13242fi 13243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 13244$as_echo "$ac_cv_lib_m_cos" >&6; } 13245if test "x$ac_cv_lib_m_cos" = xyes; then : 13246 LIBM="-lm" 13247fi 13248 13249 ;; 13250esac 13251 13252 13253 13254 13255 13256case $host in 13257 *-cygwin* | *-mingw*) 13258 # 'host' will be top-level target in the case of a target lib, 13259 # we must compare to with_cross_host to decide if this is a native 13260 # or cross-compiler and select where to install dlls appropriately. 13261 if test -n "$with_cross_host" && 13262 test x"$with_cross_host" != x"no"; then 13263 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"'; 13264 else 13265 lt_host_flags='-no-undefined -bindir "$(bindir)"'; 13266 fi 13267 ;; 13268 *) 13269 lt_host_flags= 13270 ;; 13271esac 13272 13273 13274 13275 13276 13277#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10 13278 13279# We need gfortran to compile parts of the library 13280#AC_PROG_FC(gfortran) 13281FC="$GFORTRAN" 13282ac_ext=${ac_fc_srcext-f} 13283ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' 13284ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' 13285ac_compiler_gnu=$ac_cv_fc_compiler_gnu 13286if test -n "$ac_tool_prefix"; then 13287 for ac_prog in gfortran 13288 do 13289 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13290set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13292$as_echo_n "checking for $ac_word... " >&6; } 13293if ${ac_cv_prog_FC+:} false; then : 13294 $as_echo_n "(cached) " >&6 13295else 13296 if test -n "$FC"; then 13297 ac_cv_prog_FC="$FC" # Let the user override the test. 13298else 13299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13300for as_dir in $PATH 13301do 13302 IFS=$as_save_IFS 13303 test -z "$as_dir" && as_dir=. 13304 for ac_exec_ext in '' $ac_executable_extensions; do 13305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13306 ac_cv_prog_FC="$ac_tool_prefix$ac_prog" 13307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13308 break 2 13309 fi 13310done 13311 done 13312IFS=$as_save_IFS 13313 13314fi 13315fi 13316FC=$ac_cv_prog_FC 13317if test -n "$FC"; then 13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5 13319$as_echo "$FC" >&6; } 13320else 13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13322$as_echo "no" >&6; } 13323fi 13324 13325 13326 test -n "$FC" && break 13327 done 13328fi 13329if test -z "$FC"; then 13330 ac_ct_FC=$FC 13331 for ac_prog in gfortran 13332do 13333 # Extract the first word of "$ac_prog", so it can be a program name with args. 13334set dummy $ac_prog; ac_word=$2 13335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13336$as_echo_n "checking for $ac_word... " >&6; } 13337if ${ac_cv_prog_ac_ct_FC+:} false; then : 13338 $as_echo_n "(cached) " >&6 13339else 13340 if test -n "$ac_ct_FC"; then 13341 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. 13342else 13343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13344for as_dir in $PATH 13345do 13346 IFS=$as_save_IFS 13347 test -z "$as_dir" && as_dir=. 13348 for ac_exec_ext in '' $ac_executable_extensions; do 13349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13350 ac_cv_prog_ac_ct_FC="$ac_prog" 13351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13352 break 2 13353 fi 13354done 13355 done 13356IFS=$as_save_IFS 13357 13358fi 13359fi 13360ac_ct_FC=$ac_cv_prog_ac_ct_FC 13361if test -n "$ac_ct_FC"; then 13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5 13363$as_echo "$ac_ct_FC" >&6; } 13364else 13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13366$as_echo "no" >&6; } 13367fi 13368 13369 13370 test -n "$ac_ct_FC" && break 13371done 13372 13373 if test "x$ac_ct_FC" = x; then 13374 FC="" 13375 else 13376 case $cross_compiling:$ac_tool_warned in 13377yes:) 13378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13380ac_tool_warned=yes ;; 13381esac 13382 FC=$ac_ct_FC 13383 fi 13384fi 13385 13386 13387# Provide some information about the compiler. 13388$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5 13389set X $ac_compile 13390ac_compiler=$2 13391for ac_option in --version -v -V -qversion; do 13392 { { ac_try="$ac_compiler $ac_option >&5" 13393case "(($ac_try" in 13394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13395 *) ac_try_echo=$ac_try;; 13396esac 13397eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13398$as_echo "$ac_try_echo"; } >&5 13399 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13400 ac_status=$? 13401 if test -s conftest.err; then 13402 sed '10a\ 13403... rest of stderr output deleted ... 13404 10q' conftest.err >conftest.er1 13405 cat conftest.er1 >&5 13406 fi 13407 rm -f conftest.er1 conftest.err 13408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13409 test $ac_status = 0; } 13410done 13411rm -f a.out 13412 13413# If we don't use `.F' as extension, the preprocessor is not run on the 13414# input file. (Note that this only needs to work for GNU compilers.) 13415ac_save_ext=$ac_ext 13416ac_ext=F 13417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5 13418$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; } 13419if ${ac_cv_fc_compiler_gnu+:} false; then : 13420 $as_echo_n "(cached) " >&6 13421else 13422 cat > conftest.$ac_ext <<_ACEOF 13423 program main 13424#ifndef __GNUC__ 13425 choke me 13426#endif 13427 13428 end 13429_ACEOF 13430if ac_fn_fc_try_compile "$LINENO"; then : 13431 ac_compiler_gnu=yes 13432else 13433 ac_compiler_gnu=no 13434fi 13435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13436ac_cv_fc_compiler_gnu=$ac_compiler_gnu 13437 13438fi 13439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5 13440$as_echo "$ac_cv_fc_compiler_gnu" >&6; } 13441ac_ext=$ac_save_ext 13442ac_test_FCFLAGS=${FCFLAGS+set} 13443ac_save_FCFLAGS=$FCFLAGS 13444FCFLAGS= 13445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5 13446$as_echo_n "checking whether $FC accepts -g... " >&6; } 13447if ${ac_cv_prog_fc_g+:} false; then : 13448 $as_echo_n "(cached) " >&6 13449else 13450 FCFLAGS=-g 13451cat > conftest.$ac_ext <<_ACEOF 13452 program main 13453 13454 end 13455_ACEOF 13456if ac_fn_fc_try_compile "$LINENO"; then : 13457 ac_cv_prog_fc_g=yes 13458else 13459 ac_cv_prog_fc_g=no 13460fi 13461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13462 13463fi 13464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5 13465$as_echo "$ac_cv_prog_fc_g" >&6; } 13466if test "$ac_test_FCFLAGS" = set; then 13467 FCFLAGS=$ac_save_FCFLAGS 13468elif test $ac_cv_prog_fc_g = yes; then 13469 if test "x$ac_cv_fc_compiler_gnu" = xyes; then 13470 FCFLAGS="-g -O2" 13471 else 13472 FCFLAGS="-g" 13473 fi 13474else 13475 if test "x$ac_cv_fc_compiler_gnu" = xyes; then 13476 FCFLAGS="-O2" 13477 else 13478 FCFLAGS= 13479 fi 13480fi 13481 13482if test $ac_compiler_gnu = yes; then 13483 GFC=yes 13484else 13485 GFC= 13486fi 13487ac_ext=c 13488ac_cpp='$CPP $CPPFLAGS' 13489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13491ac_compiler_gnu=$ac_cv_c_compiler_gnu 13492 13493 ac_ext=${ac_fc_srcext-f} 13494ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' 13495ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' 13496ac_compiler_gnu=$ac_cv_fc_compiler_gnu 13497 13498 13499if test -z "$FC" || test "X$FC" = "Xno"; then 13500 _lt_disable_FC=yes 13501fi 13502 13503archive_cmds_need_lc_FC=no 13504allow_undefined_flag_FC= 13505always_export_symbols_FC=no 13506archive_expsym_cmds_FC= 13507export_dynamic_flag_spec_FC= 13508hardcode_direct_FC=no 13509hardcode_direct_absolute_FC=no 13510hardcode_libdir_flag_spec_FC= 13511hardcode_libdir_flag_spec_ld_FC= 13512hardcode_libdir_separator_FC= 13513hardcode_minus_L_FC=no 13514hardcode_automatic_FC=no 13515inherit_rpath_FC=no 13516module_cmds_FC= 13517module_expsym_cmds_FC= 13518link_all_deplibs_FC=unknown 13519old_archive_cmds_FC=$old_archive_cmds 13520reload_flag_FC=$reload_flag 13521reload_cmds_FC=$reload_cmds 13522no_undefined_flag_FC= 13523whole_archive_flag_spec_FC= 13524enable_shared_with_static_runtimes_FC=no 13525 13526# Source file extension for fc test sources. 13527ac_ext=${ac_fc_srcext-f} 13528 13529# Object file extension for compiled fc test sources. 13530objext=o 13531objext_FC=$objext 13532 13533# No sense in running all these tests if we already determined that 13534# the FC compiler isn't working. Some variables (like enable_shared) 13535# are currently assumed to apply to all compilers on this platform, 13536# and will be corrupted by setting them based on a non-working compiler. 13537if test "$_lt_disable_FC" != yes; then 13538 # Code to be used in simple compile tests 13539 lt_simple_compile_test_code="\ 13540 subroutine t 13541 return 13542 end 13543" 13544 13545 # Code to be used in simple link tests 13546 lt_simple_link_test_code="\ 13547 program t 13548 end 13549" 13550 13551 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13552 13553 13554 13555 13556 13557 13558# If no C compiler was specified, use CC. 13559LTCC=${LTCC-"$CC"} 13560 13561# If no C compiler flags were specified, use CFLAGS. 13562LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13563 13564# Allow CC to be a program name with arguments. 13565compiler=$CC 13566 13567 13568 # save warnings/boilerplate of simple test code 13569 ac_outfile=conftest.$ac_objext 13570echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13571eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13572_lt_compiler_boilerplate=`cat conftest.err` 13573$RM conftest* 13574 13575 ac_outfile=conftest.$ac_objext 13576echo "$lt_simple_link_test_code" >conftest.$ac_ext 13577eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13578_lt_linker_boilerplate=`cat conftest.err` 13579$RM -r conftest* 13580 13581 13582 # Allow CC to be a program name with arguments. 13583 lt_save_CC="$CC" 13584 lt_save_GCC=$GCC 13585 CC=${FC-"f95"} 13586 compiler=$CC 13587 GCC=$ac_cv_fc_compiler_gnu 13588 13589 compiler_FC=$CC 13590 for cc_temp in $compiler""; do 13591 case $cc_temp in 13592 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 13593 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 13594 \-*) ;; 13595 *) break;; 13596 esac 13597done 13598cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 13599 13600 13601 if test -n "$compiler"; then 13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13603$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13605$as_echo "$can_build_shared" >&6; } 13606 13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13608$as_echo_n "checking whether to build shared libraries... " >&6; } 13609 test "$can_build_shared" = "no" && enable_shared=no 13610 13611 # On AIX, shared libraries and static libraries use the same namespace, and 13612 # are all built from PIC. 13613 case $host_os in 13614 aix3*) 13615 test "$enable_shared" = yes && enable_static=no 13616 if test -n "$RANLIB"; then 13617 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13618 postinstall_cmds='$RANLIB $lib' 13619 fi 13620 ;; 13621 aix[4-9]*) 13622 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 13623 test "$enable_shared" = yes && enable_static=no 13624 fi 13625 ;; 13626 esac 13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13628$as_echo "$enable_shared" >&6; } 13629 13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13631$as_echo_n "checking whether to build static libraries... " >&6; } 13632 # Make sure either enable_shared or enable_static is yes. 13633 test "$enable_shared" = yes || enable_static=yes 13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13635$as_echo "$enable_static" >&6; } 13636 13637 GCC_FC="$ac_cv_fc_compiler_gnu" 13638 LD_FC="$LD" 13639 13640 ## CAVEAT EMPTOR: 13641 ## There is no encapsulation within the following macros, do not change 13642 ## the running order or otherwise move them around unless you know exactly 13643 ## what you are doing... 13644 # Dependencies to place before and after the object being linked: 13645predep_objects_FC= 13646postdep_objects_FC= 13647predeps_FC= 13648postdeps_FC= 13649compiler_lib_search_path_FC= 13650 13651cat > conftest.$ac_ext <<_LT_EOF 13652 subroutine foo 13653 implicit none 13654 integer a 13655 a=0 13656 return 13657 end 13658_LT_EOF 13659 13660if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13661 (eval $ac_compile) 2>&5 13662 ac_status=$? 13663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13664 test $ac_status = 0; }; then 13665 # Parse the compiler output and extract the necessary 13666 # objects, libraries and library flags. 13667 13668 # Sentinel used to keep track of whether or not we are before 13669 # the conftest object file. 13670 pre_test_object_deps_done=no 13671 13672 for p in `eval "$output_verbose_link_cmd"`; do 13673 case $p in 13674 13675 -L* | -R* | -l*) 13676 # Some compilers place space between "-{L,R}" and the path. 13677 # Remove the space. 13678 if test $p = "-L" || 13679 test $p = "-R"; then 13680 prev=$p 13681 continue 13682 else 13683 prev= 13684 fi 13685 13686 if test "$pre_test_object_deps_done" = no; then 13687 case $p in 13688 -L* | -R*) 13689 # Internal compiler library paths should come after those 13690 # provided the user. The postdeps already come after the 13691 # user supplied libs so there is no need to process them. 13692 if test -z "$compiler_lib_search_path_FC"; then 13693 compiler_lib_search_path_FC="${prev}${p}" 13694 else 13695 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}" 13696 fi 13697 ;; 13698 # The "-l" case would never come before the object being 13699 # linked, so don't bother handling this case. 13700 esac 13701 else 13702 if test -z "$postdeps_FC"; then 13703 postdeps_FC="${prev}${p}" 13704 else 13705 postdeps_FC="${postdeps_FC} ${prev}${p}" 13706 fi 13707 fi 13708 ;; 13709 13710 *.$objext) 13711 # This assumes that the test object file only shows up 13712 # once in the compiler output. 13713 if test "$p" = "conftest.$objext"; then 13714 pre_test_object_deps_done=yes 13715 continue 13716 fi 13717 13718 if test "$pre_test_object_deps_done" = no; then 13719 if test -z "$predep_objects_FC"; then 13720 predep_objects_FC="$p" 13721 else 13722 predep_objects_FC="$predep_objects_FC $p" 13723 fi 13724 else 13725 if test -z "$postdep_objects_FC"; then 13726 postdep_objects_FC="$p" 13727 else 13728 postdep_objects_FC="$postdep_objects_FC $p" 13729 fi 13730 fi 13731 ;; 13732 13733 *) ;; # Ignore the rest. 13734 13735 esac 13736 done 13737 13738 # Clean up. 13739 rm -f a.out a.exe 13740else 13741 echo "libtool.m4: error: problem compiling FC test program" 13742fi 13743 13744$RM -f confest.$objext 13745 13746# PORTME: override above test on systems where it is broken 13747 13748 13749case " $postdeps_FC " in 13750*" -lc "*) archive_cmds_need_lc_FC=no ;; 13751esac 13752 compiler_lib_search_dirs_FC= 13753if test -n "${compiler_lib_search_path_FC}"; then 13754 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 13755fi 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 lt_prog_compiler_wl_FC= 13788lt_prog_compiler_pic_FC= 13789lt_prog_compiler_static_FC= 13790 13791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 13792$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 13793 13794 if test "$GCC" = yes; then 13795 lt_prog_compiler_wl_FC='-Wl,' 13796 lt_prog_compiler_static_FC='-static' 13797 13798 case $host_os in 13799 aix*) 13800 # All AIX code is PIC. 13801 if test "$host_cpu" = ia64; then 13802 # AIX 5 now supports IA64 processor 13803 lt_prog_compiler_static_FC='-Bstatic' 13804 fi 13805 lt_prog_compiler_pic_FC='-fPIC' 13806 ;; 13807 13808 amigaos*) 13809 case $host_cpu in 13810 powerpc) 13811 # see comment about AmigaOS4 .so support 13812 lt_prog_compiler_pic_FC='-fPIC' 13813 ;; 13814 m68k) 13815 # FIXME: we need at least 68020 code to build shared libraries, but 13816 # adding the `-m68020' flag to GCC prevents building anything better, 13817 # like `-m68040'. 13818 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4' 13819 ;; 13820 esac 13821 ;; 13822 13823 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 13824 # PIC is the default for these OSes. 13825 ;; 13826 13827 mingw* | cygwin* | pw32* | os2* | cegcc*) 13828 # This hack is so that the source file can tell whether it is being 13829 # built for inclusion in a dll (and should export symbols for example). 13830 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13831 # (--disable-auto-import) libraries 13832 lt_prog_compiler_pic_FC='-DDLL_EXPORT' 13833 ;; 13834 13835 darwin* | rhapsody*) 13836 # PIC is the default on this platform 13837 # Common symbols not allowed in MH_DYLIB files 13838 lt_prog_compiler_pic_FC='-fno-common' 13839 ;; 13840 13841 haiku*) 13842 # PIC is the default for Haiku. 13843 # The "-static" flag exists, but is broken. 13844 lt_prog_compiler_static_FC= 13845 ;; 13846 13847 hpux*) 13848 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 13849 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 13850 # sets the default TLS model and affects inlining. 13851 case $host_cpu in 13852 hppa*64*) 13853 # +Z the default 13854 ;; 13855 *) 13856 lt_prog_compiler_pic_FC='-fPIC' 13857 ;; 13858 esac 13859 ;; 13860 13861 interix[3-9]*) 13862 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13863 # Instead, we relocate shared libraries at runtime. 13864 ;; 13865 13866 msdosdjgpp*) 13867 # Just because we use GCC doesn't mean we suddenly get shared libraries 13868 # on systems that don't support them. 13869 lt_prog_compiler_can_build_shared_FC=no 13870 enable_shared=no 13871 ;; 13872 13873 *nto* | *qnx*) 13874 # QNX uses GNU C++, but need to define -shared option too, otherwise 13875 # it will coredump. 13876 lt_prog_compiler_pic_FC='-fPIC -shared' 13877 ;; 13878 13879 sysv4*MP*) 13880 if test -d /usr/nec; then 13881 lt_prog_compiler_pic_FC=-Kconform_pic 13882 fi 13883 ;; 13884 13885 *) 13886 lt_prog_compiler_pic_FC='-fPIC' 13887 ;; 13888 esac 13889 13890 case $cc_basename in 13891 nvcc*) # Cuda Compiler Driver 2.2 13892 lt_prog_compiler_wl_FC='-Xlinker ' 13893 lt_prog_compiler_pic_FC='-Xcompiler -fPIC' 13894 ;; 13895 esac 13896 else 13897 # PORTME Check for flag to pass linker flags through the system compiler. 13898 case $host_os in 13899 aix*) 13900 lt_prog_compiler_wl_FC='-Wl,' 13901 if test "$host_cpu" = ia64; then 13902 # AIX 5 now supports IA64 processor 13903 lt_prog_compiler_static_FC='-Bstatic' 13904 else 13905 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp' 13906 fi 13907 ;; 13908 13909 mingw* | cygwin* | pw32* | os2* | cegcc*) 13910 # This hack is so that the source file can tell whether it is being 13911 # built for inclusion in a dll (and should export symbols for example). 13912 lt_prog_compiler_pic_FC='-DDLL_EXPORT' 13913 ;; 13914 13915 hpux9* | hpux10* | hpux11*) 13916 lt_prog_compiler_wl_FC='-Wl,' 13917 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 13918 # not for PA HP-UX. 13919 case $host_cpu in 13920 hppa*64*|ia64*) 13921 # +Z the default 13922 ;; 13923 *) 13924 lt_prog_compiler_pic_FC='+Z' 13925 ;; 13926 esac 13927 # Is there a better lt_prog_compiler_static that works with the bundled CC? 13928 lt_prog_compiler_static_FC='${wl}-a ${wl}archive' 13929 ;; 13930 13931 irix5* | irix6* | nonstopux*) 13932 lt_prog_compiler_wl_FC='-Wl,' 13933 # PIC (with -KPIC) is the default. 13934 lt_prog_compiler_static_FC='-non_shared' 13935 ;; 13936 13937 linux* | k*bsd*-gnu | kopensolaris*-gnu) 13938 case $cc_basename in 13939 # old Intel for x86_64 which still supported -KPIC. 13940 ecc*) 13941 lt_prog_compiler_wl_FC='-Wl,' 13942 lt_prog_compiler_pic_FC='-KPIC' 13943 lt_prog_compiler_static_FC='-static' 13944 ;; 13945 # icc used to be incompatible with GCC. 13946 # ICC 10 doesn't accept -KPIC any more. 13947 icc* | ifort*) 13948 lt_prog_compiler_wl_FC='-Wl,' 13949 lt_prog_compiler_pic_FC='-fPIC' 13950 lt_prog_compiler_static_FC='-static' 13951 ;; 13952 # Lahey Fortran 8.1. 13953 lf95*) 13954 lt_prog_compiler_wl_FC='-Wl,' 13955 lt_prog_compiler_pic_FC='--shared' 13956 lt_prog_compiler_static_FC='--static' 13957 ;; 13958 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 13959 # Portland Group compilers (*not* the Pentium gcc compiler, 13960 # which looks to be a dead project) 13961 lt_prog_compiler_wl_FC='-Wl,' 13962 lt_prog_compiler_pic_FC='-fpic' 13963 lt_prog_compiler_static_FC='-Bstatic' 13964 ;; 13965 ccc*) 13966 lt_prog_compiler_wl_FC='-Wl,' 13967 # All Alpha code is PIC. 13968 lt_prog_compiler_static_FC='-non_shared' 13969 ;; 13970 xl* | bgxl* | bgf* | mpixl*) 13971 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 13972 lt_prog_compiler_wl_FC='-Wl,' 13973 lt_prog_compiler_pic_FC='-qpic' 13974 lt_prog_compiler_static_FC='-qstaticlink' 13975 ;; 13976 *) 13977 case `$CC -V 2>&1 | sed 5q` in 13978 *Sun\ F* | *Sun*Fortran*) 13979 # Sun Fortran 8.3 passes all unrecognized flags to the linker 13980 lt_prog_compiler_pic_FC='-KPIC' 13981 lt_prog_compiler_static_FC='-Bstatic' 13982 lt_prog_compiler_wl_FC='' 13983 ;; 13984 *Sun\ C*) 13985 # Sun C 5.9 13986 lt_prog_compiler_pic_FC='-KPIC' 13987 lt_prog_compiler_static_FC='-Bstatic' 13988 lt_prog_compiler_wl_FC='-Wl,' 13989 ;; 13990 esac 13991 ;; 13992 esac 13993 ;; 13994 13995 newsos6) 13996 lt_prog_compiler_pic_FC='-KPIC' 13997 lt_prog_compiler_static_FC='-Bstatic' 13998 ;; 13999 14000 *nto* | *qnx*) 14001 # QNX uses GNU C++, but need to define -shared option too, otherwise 14002 # it will coredump. 14003 lt_prog_compiler_pic_FC='-fPIC -shared' 14004 ;; 14005 14006 osf3* | osf4* | osf5*) 14007 lt_prog_compiler_wl_FC='-Wl,' 14008 # All OSF/1 code is PIC. 14009 lt_prog_compiler_static_FC='-non_shared' 14010 ;; 14011 14012 rdos*) 14013 lt_prog_compiler_static_FC='-non_shared' 14014 ;; 14015 14016 solaris*) 14017 lt_prog_compiler_pic_FC='-KPIC' 14018 lt_prog_compiler_static_FC='-Bstatic' 14019 case $cc_basename in 14020 f77* | f90* | f95*) 14021 lt_prog_compiler_wl_FC='-Qoption ld ';; 14022 *) 14023 lt_prog_compiler_wl_FC='-Wl,';; 14024 esac 14025 ;; 14026 14027 sunos4*) 14028 lt_prog_compiler_wl_FC='-Qoption ld ' 14029 lt_prog_compiler_pic_FC='-PIC' 14030 lt_prog_compiler_static_FC='-Bstatic' 14031 ;; 14032 14033 sysv4 | sysv4.2uw2* | sysv4.3*) 14034 lt_prog_compiler_wl_FC='-Wl,' 14035 lt_prog_compiler_pic_FC='-KPIC' 14036 lt_prog_compiler_static_FC='-Bstatic' 14037 ;; 14038 14039 sysv4*MP*) 14040 if test -d /usr/nec ;then 14041 lt_prog_compiler_pic_FC='-Kconform_pic' 14042 lt_prog_compiler_static_FC='-Bstatic' 14043 fi 14044 ;; 14045 14046 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14047 lt_prog_compiler_wl_FC='-Wl,' 14048 lt_prog_compiler_pic_FC='-KPIC' 14049 lt_prog_compiler_static_FC='-Bstatic' 14050 ;; 14051 14052 unicos*) 14053 lt_prog_compiler_wl_FC='-Wl,' 14054 lt_prog_compiler_can_build_shared_FC=no 14055 ;; 14056 14057 uts4*) 14058 lt_prog_compiler_pic_FC='-pic' 14059 lt_prog_compiler_static_FC='-Bstatic' 14060 ;; 14061 14062 *) 14063 lt_prog_compiler_can_build_shared_FC=no 14064 ;; 14065 esac 14066 fi 14067 14068case $host_os in 14069 # For platforms which do not support PIC, -DPIC is meaningless: 14070 *djgpp*) 14071 lt_prog_compiler_pic_FC= 14072 ;; 14073 *) 14074 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC" 14075 ;; 14076esac 14077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5 14078$as_echo "$lt_prog_compiler_pic_FC" >&6; } 14079 14080 14081 14082# 14083# Check to make sure the PIC flag actually works. 14084# 14085if test -n "$lt_prog_compiler_pic_FC"; then 14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5 14087$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; } 14088if ${lt_cv_prog_compiler_pic_works_FC+:} false; then : 14089 $as_echo_n "(cached) " >&6 14090else 14091 lt_cv_prog_compiler_pic_works_FC=no 14092 ac_outfile=conftest.$ac_objext 14093 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14094 lt_compiler_flag="$lt_prog_compiler_pic_FC" 14095 # Insert the option either (1) after the last *FLAGS variable, or 14096 # (2) before a word containing "conftest.", or (3) at the end. 14097 # Note that $ac_compile itself does not contain backslashes and begins 14098 # with a dollar sign (not a hyphen), so the echo should work correctly. 14099 # The option is referenced via a variable to avoid confusing sed. 14100 lt_compile=`echo "$ac_compile" | $SED \ 14101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14103 -e 's:$: $lt_compiler_flag:'` 14104 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14105 (eval "$lt_compile" 2>conftest.err) 14106 ac_status=$? 14107 cat conftest.err >&5 14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14109 if (exit $ac_status) && test -s "$ac_outfile"; then 14110 # The compiler can only warn and ignore the option if not recognized 14111 # So say no if there are warnings other than the usual output. 14112 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 14113 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14114 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14115 lt_cv_prog_compiler_pic_works_FC=yes 14116 fi 14117 fi 14118 $RM conftest* 14119 14120fi 14121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5 14122$as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; } 14123 14124if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then 14125 case $lt_prog_compiler_pic_FC in 14126 "" | " "*) ;; 14127 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;; 14128 esac 14129else 14130 lt_prog_compiler_pic_FC= 14131 lt_prog_compiler_can_build_shared_FC=no 14132fi 14133 14134fi 14135 14136 14137 14138# 14139# Check to make sure the static flag actually works. 14140# 14141wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\" 14142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14143$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14144if ${lt_cv_prog_compiler_static_works_FC+:} false; then : 14145 $as_echo_n "(cached) " >&6 14146else 14147 lt_cv_prog_compiler_static_works_FC=no 14148 save_LDFLAGS="$LDFLAGS" 14149 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14150 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14151 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14152 # The linker can only warn and ignore the option if not recognized 14153 # So say no if there are warnings 14154 if test -s conftest.err; then 14155 # Append any errors to the config.log. 14156 cat conftest.err 1>&5 14157 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14158 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14159 if diff conftest.exp conftest.er2 >/dev/null; then 14160 lt_cv_prog_compiler_static_works_FC=yes 14161 fi 14162 else 14163 lt_cv_prog_compiler_static_works_FC=yes 14164 fi 14165 fi 14166 $RM -r conftest* 14167 LDFLAGS="$save_LDFLAGS" 14168 14169fi 14170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5 14171$as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; } 14172 14173if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then 14174 : 14175else 14176 lt_prog_compiler_static_FC= 14177fi 14178 14179 14180 14181 14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14183$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14184if ${lt_cv_prog_compiler_c_o_FC+:} false; then : 14185 $as_echo_n "(cached) " >&6 14186else 14187 lt_cv_prog_compiler_c_o_FC=no 14188 $RM -r conftest 2>/dev/null 14189 mkdir conftest 14190 cd conftest 14191 mkdir out 14192 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14193 14194 lt_compiler_flag="-o out/conftest2.$ac_objext" 14195 # Insert the option either (1) after the last *FLAGS variable, or 14196 # (2) before a word containing "conftest.", or (3) at the end. 14197 # Note that $ac_compile itself does not contain backslashes and begins 14198 # with a dollar sign (not a hyphen), so the echo should work correctly. 14199 lt_compile=`echo "$ac_compile" | $SED \ 14200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14202 -e 's:$: $lt_compiler_flag:'` 14203 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14204 (eval "$lt_compile" 2>out/conftest.err) 14205 ac_status=$? 14206 cat out/conftest.err >&5 14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14208 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14209 then 14210 # The compiler can only warn and ignore the option if not recognized 14211 # So say no if there are warnings 14212 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14213 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14214 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14215 lt_cv_prog_compiler_c_o_FC=yes 14216 fi 14217 fi 14218 chmod u+w . 2>&5 14219 $RM conftest* 14220 # SGI C++ compiler will create directory out/ii_files/ for 14221 # template instantiation 14222 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14223 $RM out/* && rmdir out 14224 cd .. 14225 $RM -r conftest 14226 $RM conftest* 14227 14228fi 14229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5 14230$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; } 14231 14232 14233 14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14235$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14236if ${lt_cv_prog_compiler_c_o_FC+:} false; then : 14237 $as_echo_n "(cached) " >&6 14238else 14239 lt_cv_prog_compiler_c_o_FC=no 14240 $RM -r conftest 2>/dev/null 14241 mkdir conftest 14242 cd conftest 14243 mkdir out 14244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14245 14246 lt_compiler_flag="-o out/conftest2.$ac_objext" 14247 # Insert the option either (1) after the last *FLAGS variable, or 14248 # (2) before a word containing "conftest.", or (3) at the end. 14249 # Note that $ac_compile itself does not contain backslashes and begins 14250 # with a dollar sign (not a hyphen), so the echo should work correctly. 14251 lt_compile=`echo "$ac_compile" | $SED \ 14252 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14254 -e 's:$: $lt_compiler_flag:'` 14255 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14256 (eval "$lt_compile" 2>out/conftest.err) 14257 ac_status=$? 14258 cat out/conftest.err >&5 14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14260 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14261 then 14262 # The compiler can only warn and ignore the option if not recognized 14263 # So say no if there are warnings 14264 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14265 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14266 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14267 lt_cv_prog_compiler_c_o_FC=yes 14268 fi 14269 fi 14270 chmod u+w . 2>&5 14271 $RM conftest* 14272 # SGI C++ compiler will create directory out/ii_files/ for 14273 # template instantiation 14274 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14275 $RM out/* && rmdir out 14276 cd .. 14277 $RM -r conftest 14278 $RM conftest* 14279 14280fi 14281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5 14282$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; } 14283 14284 14285 14286 14287hard_links="nottested" 14288if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then 14289 # do not overwrite the value of need_locks provided by the user 14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14291$as_echo_n "checking if we can lock with hard links... " >&6; } 14292 hard_links=yes 14293 $RM conftest* 14294 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14295 touch conftest.a 14296 ln conftest.a conftest.b 2>&5 || hard_links=no 14297 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14299$as_echo "$hard_links" >&6; } 14300 if test "$hard_links" = no; then 14301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 14302$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 14303 need_locks=warn 14304 fi 14305else 14306 need_locks=no 14307fi 14308 14309 14310 14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14312$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14313 14314 runpath_var= 14315 allow_undefined_flag_FC= 14316 always_export_symbols_FC=no 14317 archive_cmds_FC= 14318 archive_expsym_cmds_FC= 14319 compiler_needs_object_FC=no 14320 enable_shared_with_static_runtimes_FC=no 14321 export_dynamic_flag_spec_FC= 14322 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14323 hardcode_automatic_FC=no 14324 hardcode_direct_FC=no 14325 hardcode_direct_absolute_FC=no 14326 hardcode_libdir_flag_spec_FC= 14327 hardcode_libdir_flag_spec_ld_FC= 14328 hardcode_libdir_separator_FC= 14329 hardcode_minus_L_FC=no 14330 hardcode_shlibpath_var_FC=unsupported 14331 inherit_rpath_FC=no 14332 link_all_deplibs_FC=unknown 14333 module_cmds_FC= 14334 module_expsym_cmds_FC= 14335 old_archive_from_new_cmds_FC= 14336 old_archive_from_expsyms_cmds_FC= 14337 thread_safe_flag_spec_FC= 14338 whole_archive_flag_spec_FC= 14339 # include_expsyms should be a list of space-separated symbols to be *always* 14340 # included in the symbol list 14341 include_expsyms_FC= 14342 # exclude_expsyms can be an extended regexp of symbols to exclude 14343 # it will be wrapped by ` (' and `)$', so one must not match beginning or 14344 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 14345 # as well as any symbol that contains `d'. 14346 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14347 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 14348 # platforms (ab)use it in PIC code, but their linkers get confused if 14349 # the symbol is explicitly referenced. Since portable code cannot 14350 # rely on this symbol name, it's probably fine to never include it in 14351 # preloaded symbol tables. 14352 # Exclude shared library initialization/finalization symbols. 14353 extract_expsyms_cmds= 14354 14355 case $host_os in 14356 cygwin* | mingw* | pw32* | cegcc*) 14357 # FIXME: the MSVC++ port hasn't been tested in a loooong time 14358 # When not using gcc, we currently assume that we are using 14359 # Microsoft Visual C++. 14360 if test "$GCC" != yes; then 14361 with_gnu_ld=no 14362 fi 14363 ;; 14364 interix*) 14365 # we just hope/assume this is gcc and not c89 (= MSVC++) 14366 with_gnu_ld=yes 14367 ;; 14368 openbsd*) 14369 with_gnu_ld=no 14370 ;; 14371 esac 14372 14373 ld_shlibs_FC=yes 14374 14375 # On some targets, GNU ld is compatible enough with the native linker 14376 # that we're better off using the native interface for both. 14377 lt_use_gnu_ld_interface=no 14378 if test "$with_gnu_ld" = yes; then 14379 case $host_os in 14380 aix*) 14381 # The AIX port of GNU ld has always aspired to compatibility 14382 # with the native linker. However, as the warning in the GNU ld 14383 # block says, versions before 2.19.5* couldn't really create working 14384 # shared libraries, regardless of the interface used. 14385 case `$LD -v 2>&1` in 14386 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 14387 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 14388 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 14389 *) 14390 lt_use_gnu_ld_interface=yes 14391 ;; 14392 esac 14393 ;; 14394 *) 14395 lt_use_gnu_ld_interface=yes 14396 ;; 14397 esac 14398 fi 14399 14400 if test "$lt_use_gnu_ld_interface" = yes; then 14401 # If archive_cmds runs LD, not CC, wlarc should be empty 14402 wlarc='${wl}' 14403 14404 # Set some defaults for GNU ld with shared library support. These 14405 # are reset later if shared libraries are not supported. Putting them 14406 # here allows them to be overridden if necessary. 14407 runpath_var=LD_RUN_PATH 14408 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' 14409 export_dynamic_flag_spec_FC='${wl}--export-dynamic' 14410 # ancient GNU ld didn't support --whole-archive et. al. 14411 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 14412 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 14413 else 14414 whole_archive_flag_spec_FC= 14415 fi 14416 supports_anon_versioning=no 14417 case `$LD -v 2>&1` in 14418 *GNU\ gold*) supports_anon_versioning=yes ;; 14419 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 14420 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 14421 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 14422 *\ 2.11.*) ;; # other 2.11 versions 14423 *) supports_anon_versioning=yes ;; 14424 esac 14425 14426 # See if GNU ld supports shared libraries. 14427 case $host_os in 14428 aix[3-9]*) 14429 # On AIX/PPC, the GNU linker is very broken 14430 if test "$host_cpu" != ia64; then 14431 ld_shlibs_FC=no 14432 cat <<_LT_EOF 1>&2 14433 14434*** Warning: the GNU linker, at least up to release 2.19, is reported 14435*** to be unable to reliably create shared libraries on AIX. 14436*** Therefore, libtool is disabling shared libraries support. If you 14437*** really care for shared libraries, you may want to install binutils 14438*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 14439*** You will then need to restart the configuration process. 14440 14441_LT_EOF 14442 fi 14443 ;; 14444 14445 amigaos*) 14446 case $host_cpu in 14447 powerpc) 14448 # see comment about AmigaOS4 .so support 14449 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14450 archive_expsym_cmds_FC='' 14451 ;; 14452 m68k) 14453 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)' 14454 hardcode_libdir_flag_spec_FC='-L$libdir' 14455 hardcode_minus_L_FC=yes 14456 ;; 14457 esac 14458 ;; 14459 14460 beos*) 14461 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14462 allow_undefined_flag_FC=unsupported 14463 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14464 # support --undefined. This deserves some investigation. FIXME 14465 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14466 else 14467 ld_shlibs_FC=no 14468 fi 14469 ;; 14470 14471 cygwin* | mingw* | pw32* | cegcc*) 14472 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless, 14473 # as there is no search path for DLLs. 14474 hardcode_libdir_flag_spec_FC='-L$libdir' 14475 export_dynamic_flag_spec_FC='${wl}--export-all-symbols' 14476 allow_undefined_flag_FC=unsupported 14477 always_export_symbols_FC=no 14478 enable_shared_with_static_runtimes_FC=yes 14479 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 14480 14481 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14482 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14483 # If the export-symbols file already is a .def file (1st line 14484 # is EXPORTS), use it as is; otherwise, prepend... 14485 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14486 cp $export_symbols $output_objdir/$soname.def; 14487 else 14488 echo EXPORTS > $output_objdir/$soname.def; 14489 cat $export_symbols >> $output_objdir/$soname.def; 14490 fi~ 14491 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14492 else 14493 ld_shlibs_FC=no 14494 fi 14495 ;; 14496 14497 haiku*) 14498 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14499 link_all_deplibs_FC=yes 14500 ;; 14501 14502 interix[3-9]*) 14503 hardcode_direct_FC=no 14504 hardcode_shlibpath_var_FC=no 14505 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' 14506 export_dynamic_flag_spec_FC='${wl}-E' 14507 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14508 # Instead, shared libraries are loaded at an image base (0x10000000 by 14509 # default) and relocated if they conflict, which is a slow very memory 14510 # consuming and fragmenting process. To avoid this, we pick a random, 14511 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14512 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14513 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' 14514 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' 14515 ;; 14516 14517 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) 14518 tmp_diet=no 14519 if test "$host_os" = linux-dietlibc; then 14520 case $cc_basename in 14521 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 14522 esac 14523 fi 14524 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 14525 && test "$tmp_diet" = no 14526 then 14527 tmp_addflag=' $pic_flag' 14528 tmp_sharedflag='-shared' 14529 case $cc_basename,$host_cpu in 14530 pgcc*) # Portland Group C compiler 14531 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' 14532 tmp_addflag=' $pic_flag' 14533 ;; 14534 pgf77* | pgf90* | pgf95* | pgfortran*) 14535 # Portland Group f77 and f90 compilers 14536 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' 14537 tmp_addflag=' $pic_flag -Mnomain' ;; 14538 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 14539 tmp_addflag=' -i_dynamic' ;; 14540 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 14541 tmp_addflag=' -i_dynamic -nofor_main' ;; 14542 ifc* | ifort*) # Intel Fortran compiler 14543 tmp_addflag=' -nofor_main' ;; 14544 lf95*) # Lahey Fortran 8.1 14545 whole_archive_flag_spec_FC= 14546 tmp_sharedflag='--shared' ;; 14547 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 14548 tmp_sharedflag='-qmkshrobj' 14549 tmp_addflag= ;; 14550 nvcc*) # Cuda Compiler Driver 2.2 14551 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' 14552 compiler_needs_object_FC=yes 14553 ;; 14554 esac 14555 case `$CC -V 2>&1 | sed 5q` in 14556 *Sun\ C*) # Sun C 5.9 14557 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' 14558 compiler_needs_object_FC=yes 14559 tmp_sharedflag='-G' ;; 14560 *Sun\ F*) # Sun Fortran 8.3 14561 tmp_sharedflag='-G' ;; 14562 esac 14563 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14564 14565 if test "x$supports_anon_versioning" = xyes; then 14566 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~ 14567 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14568 echo "local: *; };" >> $output_objdir/$libname.ver~ 14569 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 14570 fi 14571 14572 case $cc_basename in 14573 xlf* | bgf* | bgxlf* | mpixlf*) 14574 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 14575 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive' 14576 hardcode_libdir_flag_spec_FC= 14577 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir' 14578 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 14579 if test "x$supports_anon_versioning" = xyes; then 14580 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~ 14581 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14582 echo "local: *; };" >> $output_objdir/$libname.ver~ 14583 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 14584 fi 14585 ;; 14586 esac 14587 else 14588 ld_shlibs_FC=no 14589 fi 14590 ;; 14591 14592 netbsd*) 14593 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14594 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 14595 wlarc= 14596 else 14597 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14598 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14599 fi 14600 ;; 14601 14602 solaris*) 14603 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 14604 ld_shlibs_FC=no 14605 cat <<_LT_EOF 1>&2 14606 14607*** Warning: The releases 2.8.* of the GNU linker cannot reliably 14608*** create shared libraries on Solaris systems. Therefore, libtool 14609*** is disabling shared libraries support. We urge you to upgrade GNU 14610*** binutils to release 2.9.1 or newer. Another option is to modify 14611*** your PATH or compiler configuration so that the native linker is 14612*** used, and then restart. 14613 14614_LT_EOF 14615 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14616 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14617 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14618 else 14619 ld_shlibs_FC=no 14620 fi 14621 ;; 14622 14623 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 14624 case `$LD -v 2>&1` in 14625 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 14626 ld_shlibs_FC=no 14627 cat <<_LT_EOF 1>&2 14628 14629*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 14630*** reliably create shared libraries on SCO systems. Therefore, libtool 14631*** is disabling shared libraries support. We urge you to upgrade GNU 14632*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 14633*** your PATH or compiler configuration so that the native linker is 14634*** used, and then restart. 14635 14636_LT_EOF 14637 ;; 14638 *) 14639 # For security reasons, it is highly recommended that you always 14640 # use absolute paths for naming shared libraries, and exclude the 14641 # DT_RUNPATH tag from executables and libraries. But doing so 14642 # requires that you compile everything twice, which is a pain. 14643 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14644 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' 14645 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14646 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14647 else 14648 ld_shlibs_FC=no 14649 fi 14650 ;; 14651 esac 14652 ;; 14653 14654 sunos4*) 14655 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14656 wlarc= 14657 hardcode_direct_FC=yes 14658 hardcode_shlibpath_var_FC=no 14659 ;; 14660 14661 *) 14662 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14663 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14664 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14665 else 14666 ld_shlibs_FC=no 14667 fi 14668 ;; 14669 esac 14670 14671 if test "$ld_shlibs_FC" = no; then 14672 runpath_var= 14673 hardcode_libdir_flag_spec_FC= 14674 export_dynamic_flag_spec_FC= 14675 whole_archive_flag_spec_FC= 14676 fi 14677 else 14678 # PORTME fill in a description of your system's linker (not GNU ld) 14679 case $host_os in 14680 aix3*) 14681 allow_undefined_flag_FC=unsupported 14682 always_export_symbols_FC=yes 14683 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' 14684 # Note: this linker hardcodes the directories in LIBPATH if there 14685 # are no directories specified by -L. 14686 hardcode_minus_L_FC=yes 14687 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 14688 # Neither direct hardcoding nor static linking is supported with a 14689 # broken collect2. 14690 hardcode_direct_FC=unsupported 14691 fi 14692 ;; 14693 14694 aix[4-9]*) 14695 if test "$host_cpu" = ia64; then 14696 # On IA64, the linker does run time linking by default, so we don't 14697 # have to do anything special. 14698 aix_use_runtimelinking=no 14699 exp_sym_flag='-Bexport' 14700 no_entry_flag="" 14701 else 14702 # If we're using GNU nm, then we don't want the "-C" option. 14703 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14704 # Also, AIX nm treats weak defined symbols like other global 14705 # defined symbols, whereas GNU nm marks them as "W". 14706 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14707 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 14708 else 14709 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 14710 fi 14711 aix_use_runtimelinking=no 14712 14713 # Test if we are trying to use run time linking or normal 14714 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14715 # need to do runtime linking. 14716 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14717 for ld_flag in $LDFLAGS; do 14718 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 14719 aix_use_runtimelinking=yes 14720 break 14721 fi 14722 done 14723 ;; 14724 esac 14725 14726 exp_sym_flag='-bexport' 14727 no_entry_flag='-bnoentry' 14728 fi 14729 14730 # When large executables or shared objects are built, AIX ld can 14731 # have problems creating the table of contents. If linking a library 14732 # or program results in "error TOC overflow" add -mminimal-toc to 14733 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14734 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14735 14736 archive_cmds_FC='' 14737 hardcode_direct_FC=yes 14738 hardcode_direct_absolute_FC=yes 14739 hardcode_libdir_separator_FC=':' 14740 link_all_deplibs_FC=yes 14741 file_list_spec_FC='${wl}-f,' 14742 14743 if test "$GCC" = yes; then 14744 case $host_os in aix4.[012]|aix4.[012].*) 14745 # We only want to do this on AIX 4.2 and lower, the check 14746 # below for broken collect2 doesn't work under 4.3+ 14747 collect2name=`${CC} -print-prog-name=collect2` 14748 if test -f "$collect2name" && 14749 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14750 then 14751 # We have reworked collect2 14752 : 14753 else 14754 # We have old collect2 14755 hardcode_direct_FC=unsupported 14756 # It fails to find uninstalled libraries when the uninstalled 14757 # path is not listed in the libpath. Setting hardcode_minus_L 14758 # to unsupported forces relinking 14759 hardcode_minus_L_FC=yes 14760 hardcode_libdir_flag_spec_FC='-L$libdir' 14761 hardcode_libdir_separator_FC= 14762 fi 14763 ;; 14764 esac 14765 shared_flag='-shared' 14766 if test "$aix_use_runtimelinking" = yes; then 14767 shared_flag="$shared_flag "'${wl}-G' 14768 fi 14769 else 14770 # not using gcc 14771 if test "$host_cpu" = ia64; then 14772 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14773 # chokes on -Wl,-G. The following line is correct: 14774 shared_flag='-G' 14775 else 14776 if test "$aix_use_runtimelinking" = yes; then 14777 shared_flag='${wl}-G' 14778 else 14779 shared_flag='${wl}-bM:SRE' 14780 fi 14781 fi 14782 fi 14783 14784 export_dynamic_flag_spec_FC='${wl}-bexpall' 14785 # It seems that -bexpall does not export symbols beginning with 14786 # underscore (_), so it is better to generate a list of symbols to export. 14787 always_export_symbols_FC=yes 14788 if test "$aix_use_runtimelinking" = yes; then 14789 # Warning - without using the other runtime loading flags (-brtl), 14790 # -berok will link without error, but may produce a broken library. 14791 allow_undefined_flag_FC='-berok' 14792 # Determine the default libpath from the value encoded in an 14793 # empty executable. 14794 if test x$gcc_no_link = xyes; then 14795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 14796fi 14797cat > conftest.$ac_ext <<_ACEOF 14798 program main 14799 14800 end 14801_ACEOF 14802if ac_fn_fc_try_link "$LINENO"; then : 14803 14804lt_aix_libpath_sed=' 14805 /Import File Strings/,/^$/ { 14806 /^0/ { 14807 s/^0 *\(.*\)$/\1/ 14808 p 14809 } 14810 }' 14811aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14812# Check for a 64-bit object if we didn't find anything. 14813if test -z "$aix_libpath"; then 14814 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14815fi 14816fi 14817rm -f core conftest.err conftest.$ac_objext \ 14818 conftest$ac_exeext conftest.$ac_ext 14819if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14820 14821 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath" 14822 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 14823 else 14824 if test "$host_cpu" = ia64; then 14825 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib' 14826 allow_undefined_flag_FC="-z nodefs" 14827 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" 14828 else 14829 # Determine the default libpath from the value encoded in an 14830 # empty executable. 14831 if test x$gcc_no_link = xyes; then 14832 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 14833fi 14834cat > conftest.$ac_ext <<_ACEOF 14835 program main 14836 14837 end 14838_ACEOF 14839if ac_fn_fc_try_link "$LINENO"; then : 14840 14841lt_aix_libpath_sed=' 14842 /Import File Strings/,/^$/ { 14843 /^0/ { 14844 s/^0 *\(.*\)$/\1/ 14845 p 14846 } 14847 }' 14848aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14849# Check for a 64-bit object if we didn't find anything. 14850if test -z "$aix_libpath"; then 14851 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14852fi 14853fi 14854rm -f core conftest.err conftest.$ac_objext \ 14855 conftest$ac_exeext conftest.$ac_ext 14856if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14857 14858 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath" 14859 # Warning - without using the other run time loading flags, 14860 # -berok will link without error, but may produce a broken library. 14861 no_undefined_flag_FC=' ${wl}-bernotok' 14862 allow_undefined_flag_FC=' ${wl}-berok' 14863 if test "$with_gnu_ld" = yes; then 14864 # We only use this code for GNU lds that support --whole-archive. 14865 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 14866 else 14867 # Exported symbols can be pulled into shared objects from archives 14868 whole_archive_flag_spec_FC='$convenience' 14869 fi 14870 archive_cmds_need_lc_FC=yes 14871 # This is similar to how AIX traditionally builds its shared libraries. 14872 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 14873 fi 14874 fi 14875 ;; 14876 14877 amigaos*) 14878 case $host_cpu in 14879 powerpc) 14880 # see comment about AmigaOS4 .so support 14881 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14882 archive_expsym_cmds_FC='' 14883 ;; 14884 m68k) 14885 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)' 14886 hardcode_libdir_flag_spec_FC='-L$libdir' 14887 hardcode_minus_L_FC=yes 14888 ;; 14889 esac 14890 ;; 14891 14892 bsdi[45]*) 14893 export_dynamic_flag_spec_FC=-rdynamic 14894 ;; 14895 14896 cygwin* | mingw* | pw32* | cegcc*) 14897 # When not using gcc, we currently assume that we are using 14898 # Microsoft Visual C++. 14899 # hardcode_libdir_flag_spec is actually meaningless, as there is 14900 # no search path for DLLs. 14901 hardcode_libdir_flag_spec_FC=' ' 14902 allow_undefined_flag_FC=unsupported 14903 # Tell ltmain to make .lib files, not .a files. 14904 libext=lib 14905 # Tell ltmain to make .dll files, not .so files. 14906 shrext_cmds=".dll" 14907 # FIXME: Setting linknames here is a bad hack. 14908 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 14909 # The linker will automatically build a .lib file if we build a DLL. 14910 old_archive_from_new_cmds_FC='true' 14911 # FIXME: Should let the user specify the lib program. 14912 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs' 14913 fix_srcfile_path_FC='`cygpath -w "$srcfile"`' 14914 enable_shared_with_static_runtimes_FC=yes 14915 ;; 14916 14917 darwin* | rhapsody*) 14918 14919 14920 archive_cmds_need_lc_FC=no 14921 hardcode_direct_FC=no 14922 hardcode_automatic_FC=yes 14923 hardcode_shlibpath_var_FC=unsupported 14924 if test "$lt_cv_ld_force_load" = "yes"; then 14925 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\"`' 14926 else 14927 whole_archive_flag_spec_FC='' 14928 fi 14929 link_all_deplibs_FC=yes 14930 allow_undefined_flag_FC="$_lt_dar_allow_undefined" 14931 case $cc_basename in 14932 ifort*) _lt_dar_can_shared=yes ;; 14933 *) _lt_dar_can_shared=$GCC ;; 14934 esac 14935 if test "$_lt_dar_can_shared" = "yes"; then 14936 output_verbose_link_cmd=func_echo_all 14937 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}" 14938 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 14939 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}" 14940 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}" 14941 14942 else 14943 ld_shlibs_FC=no 14944 fi 14945 14946 ;; 14947 14948 dgux*) 14949 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 14950 hardcode_libdir_flag_spec_FC='-L$libdir' 14951 hardcode_shlibpath_var_FC=no 14952 ;; 14953 14954 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 14955 # support. Future versions do this automatically, but an explicit c++rt0.o 14956 # does not break anything, and helps significantly (at the cost of a little 14957 # extra space). 14958 freebsd2.2*) 14959 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 14960 hardcode_libdir_flag_spec_FC='-R$libdir' 14961 hardcode_direct_FC=yes 14962 hardcode_shlibpath_var_FC=no 14963 ;; 14964 14965 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 14966 freebsd2.*) 14967 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14968 hardcode_direct_FC=yes 14969 hardcode_minus_L_FC=yes 14970 hardcode_shlibpath_var_FC=no 14971 ;; 14972 14973 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 14974 freebsd* | dragonfly*) 14975 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 14976 hardcode_libdir_flag_spec_FC='-R$libdir' 14977 hardcode_direct_FC=yes 14978 hardcode_shlibpath_var_FC=no 14979 ;; 14980 14981 hpux9*) 14982 if test "$GCC" = yes; then 14983 archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 14984 else 14985 archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 14986 fi 14987 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir' 14988 hardcode_libdir_separator_FC=: 14989 hardcode_direct_FC=yes 14990 14991 # hardcode_minus_L: Not really in the search PATH, 14992 # but as the default location of the library. 14993 hardcode_minus_L_FC=yes 14994 export_dynamic_flag_spec_FC='${wl}-E' 14995 ;; 14996 14997 hpux10*) 14998 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 14999 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15000 else 15001 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15002 fi 15003 if test "$with_gnu_ld" = no; then 15004 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir' 15005 hardcode_libdir_flag_spec_ld_FC='+b $libdir' 15006 hardcode_libdir_separator_FC=: 15007 hardcode_direct_FC=yes 15008 hardcode_direct_absolute_FC=yes 15009 export_dynamic_flag_spec_FC='${wl}-E' 15010 # hardcode_minus_L: Not really in the search PATH, 15011 # but as the default location of the library. 15012 hardcode_minus_L_FC=yes 15013 fi 15014 ;; 15015 15016 hpux11*) 15017 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 15018 case $host_cpu in 15019 hppa*64*) 15020 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15021 ;; 15022 ia64*) 15023 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15024 ;; 15025 *) 15026 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15027 ;; 15028 esac 15029 else 15030 case $host_cpu in 15031 hppa*64*) 15032 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15033 ;; 15034 ia64*) 15035 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15036 ;; 15037 *) 15038 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15039 ;; 15040 esac 15041 fi 15042 if test "$with_gnu_ld" = no; then 15043 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir' 15044 hardcode_libdir_separator_FC=: 15045 15046 case $host_cpu in 15047 hppa*64*|ia64*) 15048 hardcode_direct_FC=no 15049 hardcode_shlibpath_var_FC=no 15050 ;; 15051 *) 15052 hardcode_direct_FC=yes 15053 hardcode_direct_absolute_FC=yes 15054 export_dynamic_flag_spec_FC='${wl}-E' 15055 15056 # hardcode_minus_L: Not really in the search PATH, 15057 # but as the default location of the library. 15058 hardcode_minus_L_FC=yes 15059 ;; 15060 esac 15061 fi 15062 ;; 15063 15064 irix5* | irix6* | nonstopux*) 15065 if test "$GCC" = yes; then 15066 archive_cmds_FC='$CC -shared $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' 15067 # Try to use the -exported_symbol ld option, if it does not 15068 # work, assume that -exports_file does not work either and 15069 # implicitly export all symbols. 15070 save_LDFLAGS="$LDFLAGS" 15071 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 15072 if test x$gcc_no_link = xyes; then 15073 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 15074fi 15075cat > conftest.$ac_ext <<_ACEOF 15076int foo(void) {} 15077_ACEOF 15078if ac_fn_fc_try_link "$LINENO"; then : 15079 archive_expsym_cmds_FC='$CC -shared $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' 15080 15081fi 15082rm -f core conftest.err conftest.$ac_objext \ 15083 conftest$ac_exeext conftest.$ac_ext 15084 LDFLAGS="$save_LDFLAGS" 15085 else 15086 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' 15087 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' 15088 fi 15089 archive_cmds_need_lc_FC='no' 15090 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' 15091 hardcode_libdir_separator_FC=: 15092 inherit_rpath_FC=yes 15093 link_all_deplibs_FC=yes 15094 ;; 15095 15096 netbsd*) 15097 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15098 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 15099 else 15100 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 15101 fi 15102 hardcode_libdir_flag_spec_FC='-R$libdir' 15103 hardcode_direct_FC=yes 15104 hardcode_shlibpath_var_FC=no 15105 ;; 15106 15107 newsos6) 15108 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15109 hardcode_direct_FC=yes 15110 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' 15111 hardcode_libdir_separator_FC=: 15112 hardcode_shlibpath_var_FC=no 15113 ;; 15114 15115 *nto* | *qnx*) 15116 ;; 15117 15118 openbsd*) 15119 if test -f /usr/libexec/ld.so; then 15120 hardcode_direct_FC=yes 15121 hardcode_shlibpath_var_FC=no 15122 hardcode_direct_absolute_FC=yes 15123 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15124 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15125 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 15126 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' 15127 export_dynamic_flag_spec_FC='${wl}-E' 15128 else 15129 case $host_os in 15130 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 15131 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15132 hardcode_libdir_flag_spec_FC='-R$libdir' 15133 ;; 15134 *) 15135 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15136 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' 15137 ;; 15138 esac 15139 fi 15140 else 15141 ld_shlibs_FC=no 15142 fi 15143 ;; 15144 15145 os2*) 15146 hardcode_libdir_flag_spec_FC='-L$libdir' 15147 hardcode_minus_L_FC=yes 15148 allow_undefined_flag_FC=unsupported 15149 archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 15150 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 15151 ;; 15152 15153 osf3*) 15154 if test "$GCC" = yes; then 15155 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*' 15156 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' 15157 else 15158 allow_undefined_flag_FC=' -expect_unresolved \*' 15159 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' 15160 fi 15161 archive_cmds_need_lc_FC='no' 15162 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' 15163 hardcode_libdir_separator_FC=: 15164 ;; 15165 15166 osf4* | osf5*) # as osf3* with the addition of -msym flag 15167 if test "$GCC" = yes; then 15168 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*' 15169 archive_cmds_FC='$CC -shared${allow_undefined_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' 15170 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' 15171 else 15172 allow_undefined_flag_FC=' -expect_unresolved \*' 15173 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' 15174 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~ 15175 $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' 15176 15177 # Both c and cxx compiler support -rpath directly 15178 hardcode_libdir_flag_spec_FC='-rpath $libdir' 15179 fi 15180 archive_cmds_need_lc_FC='no' 15181 hardcode_libdir_separator_FC=: 15182 ;; 15183 15184 solaris*) 15185 no_undefined_flag_FC=' -z defs' 15186 if test "$GCC" = yes; then 15187 wlarc='${wl}' 15188 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15189 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15190 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 15191 else 15192 case `$CC -V 2>&1` in 15193 *"Compilers 5.0"*) 15194 wlarc='' 15195 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 15196 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15197 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 15198 ;; 15199 *) 15200 wlarc='${wl}' 15201 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 15202 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15203 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 15204 ;; 15205 esac 15206 fi 15207 hardcode_libdir_flag_spec_FC='-R$libdir' 15208 hardcode_shlibpath_var_FC=no 15209 case $host_os in 15210 solaris2.[0-5] | solaris2.[0-5].*) ;; 15211 *) 15212 # The compiler driver will combine and reorder linker options, 15213 # but understands `-z linker_flag'. GCC discards it without `$wl', 15214 # but is careful enough not to reorder. 15215 # Supported since Solaris 2.6 (maybe 2.5.1?) 15216 if test "$GCC" = yes; then 15217 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 15218 else 15219 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract' 15220 fi 15221 ;; 15222 esac 15223 link_all_deplibs_FC=yes 15224 ;; 15225 15226 sunos4*) 15227 if test "x$host_vendor" = xsequent; then 15228 # Use $CC to link under sequent, because it throws in some extra .o 15229 # files that make .init and .fini sections work. 15230 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 15231 else 15232 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 15233 fi 15234 hardcode_libdir_flag_spec_FC='-L$libdir' 15235 hardcode_direct_FC=yes 15236 hardcode_minus_L_FC=yes 15237 hardcode_shlibpath_var_FC=no 15238 ;; 15239 15240 sysv4) 15241 case $host_vendor in 15242 sni) 15243 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15244 hardcode_direct_FC=yes # is this really true??? 15245 ;; 15246 siemens) 15247 ## LD is ld it makes a PLAMLIB 15248 ## CC just makes a GrossModule. 15249 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags' 15250 reload_cmds_FC='$CC -r -o $output$reload_objs' 15251 hardcode_direct_FC=no 15252 ;; 15253 motorola) 15254 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15255 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie 15256 ;; 15257 esac 15258 runpath_var='LD_RUN_PATH' 15259 hardcode_shlibpath_var_FC=no 15260 ;; 15261 15262 sysv4.3*) 15263 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15264 hardcode_shlibpath_var_FC=no 15265 export_dynamic_flag_spec_FC='-Bexport' 15266 ;; 15267 15268 sysv4*MP*) 15269 if test -d /usr/nec; then 15270 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15271 hardcode_shlibpath_var_FC=no 15272 runpath_var=LD_RUN_PATH 15273 hardcode_runpath_var=yes 15274 ld_shlibs_FC=yes 15275 fi 15276 ;; 15277 15278 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15279 no_undefined_flag_FC='${wl}-z,text' 15280 archive_cmds_need_lc_FC=no 15281 hardcode_shlibpath_var_FC=no 15282 runpath_var='LD_RUN_PATH' 15283 15284 if test "$GCC" = yes; then 15285 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15286 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15287 else 15288 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15289 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15290 fi 15291 ;; 15292 15293 sysv5* | sco3.2v5* | sco5v6*) 15294 # Note: We can NOT use -z defs as we might desire, because we do not 15295 # link with -lc, and that would cause any symbols used from libc to 15296 # always be unresolved, which means just about no library would 15297 # ever link correctly. If we're not using GNU ld we use -z text 15298 # though, which does catch some bad symbols but isn't as heavy-handed 15299 # as -z defs. 15300 no_undefined_flag_FC='${wl}-z,text' 15301 allow_undefined_flag_FC='${wl}-z,nodefs' 15302 archive_cmds_need_lc_FC=no 15303 hardcode_shlibpath_var_FC=no 15304 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir' 15305 hardcode_libdir_separator_FC=':' 15306 link_all_deplibs_FC=yes 15307 export_dynamic_flag_spec_FC='${wl}-Bexport' 15308 runpath_var='LD_RUN_PATH' 15309 15310 if test "$GCC" = yes; then 15311 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15312 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15313 else 15314 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15315 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15316 fi 15317 ;; 15318 15319 uts4*) 15320 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15321 hardcode_libdir_flag_spec_FC='-L$libdir' 15322 hardcode_shlibpath_var_FC=no 15323 ;; 15324 15325 *) 15326 ld_shlibs_FC=no 15327 ;; 15328 esac 15329 15330 if test x$host_vendor = xsni; then 15331 case $host in 15332 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 15333 export_dynamic_flag_spec_FC='${wl}-Blargedynsym' 15334 ;; 15335 esac 15336 fi 15337 fi 15338 15339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5 15340$as_echo "$ld_shlibs_FC" >&6; } 15341test "$ld_shlibs_FC" = no && can_build_shared=no 15342 15343with_gnu_ld_FC=$with_gnu_ld 15344 15345 15346 15347 15348 15349 15350# 15351# Do we need to explicitly link libc? 15352# 15353case "x$archive_cmds_need_lc_FC" in 15354x|xyes) 15355 # Assume -lc should be added 15356 archive_cmds_need_lc_FC=yes 15357 15358 if test "$enable_shared" = yes && test "$GCC" = yes; then 15359 case $archive_cmds_FC in 15360 *'~'*) 15361 # FIXME: we may have to deal with multi-command sequences. 15362 ;; 15363 '$CC '*) 15364 # Test whether the compiler implicitly links with -lc since on some 15365 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15366 # to ld, don't add -lc before -lgcc. 15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15368$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15369if ${lt_cv_archive_cmds_need_lc_FC+:} false; then : 15370 $as_echo_n "(cached) " >&6 15371else 15372 $RM conftest* 15373 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15374 15375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15376 (eval $ac_compile) 2>&5 15377 ac_status=$? 15378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15379 test $ac_status = 0; } 2>conftest.err; then 15380 soname=conftest 15381 lib=conftest 15382 libobjs=conftest.$ac_objext 15383 deplibs= 15384 wl=$lt_prog_compiler_wl_FC 15385 pic_flag=$lt_prog_compiler_pic_FC 15386 compiler_flags=-v 15387 linker_flags=-v 15388 verstring= 15389 output_objdir=. 15390 libname=conftest 15391 lt_save_allow_undefined_flag=$allow_undefined_flag_FC 15392 allow_undefined_flag_FC= 15393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15394 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15395 ac_status=$? 15396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15397 test $ac_status = 0; } 15398 then 15399 lt_cv_archive_cmds_need_lc_FC=no 15400 else 15401 lt_cv_archive_cmds_need_lc_FC=yes 15402 fi 15403 allow_undefined_flag_FC=$lt_save_allow_undefined_flag 15404 else 15405 cat conftest.err 1>&5 15406 fi 15407 $RM conftest* 15408 15409fi 15410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5 15411$as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; } 15412 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC 15413 ;; 15414 esac 15415 fi 15416 ;; 15417esac 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15483$as_echo_n "checking dynamic linker characteristics... " >&6; } 15484 15485library_names_spec= 15486libname_spec='lib$name' 15487soname_spec= 15488shrext_cmds=".so" 15489postinstall_cmds= 15490postuninstall_cmds= 15491finish_cmds= 15492finish_eval= 15493shlibpath_var= 15494shlibpath_overrides_runpath=unknown 15495version_type=none 15496dynamic_linker="$host_os ld.so" 15497sys_lib_dlsearch_path_spec="/lib /usr/lib" 15498need_lib_prefix=unknown 15499hardcode_into_libs=no 15500 15501# when you set need_version to no, make sure it does not cause -set_version 15502# flags to be left without arguments 15503need_version=unknown 15504 15505case $host_os in 15506aix3*) 15507 version_type=linux 15508 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 15509 shlibpath_var=LIBPATH 15510 15511 # AIX 3 has no versioning support, so we append a major version to the name. 15512 soname_spec='${libname}${release}${shared_ext}$major' 15513 ;; 15514 15515aix[4-9]*) 15516 version_type=linux 15517 need_lib_prefix=no 15518 need_version=no 15519 hardcode_into_libs=yes 15520 if test "$host_cpu" = ia64; then 15521 # AIX 5 supports IA64 15522 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 15523 shlibpath_var=LD_LIBRARY_PATH 15524 else 15525 # With GCC up to 2.95.x, collect2 would create an import file 15526 # for dependence libraries. The import file would start with 15527 # the line `#! .'. This would cause the generated library to 15528 # depend on `.', always an invalid library. This was fixed in 15529 # development snapshots of GCC prior to 3.0. 15530 case $host_os in 15531 aix4 | aix4.[01] | aix4.[01].*) 15532 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15533 echo ' yes ' 15534 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 15535 : 15536 else 15537 can_build_shared=no 15538 fi 15539 ;; 15540 esac 15541 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 15542 # soname into executable. Probably we can add versioning support to 15543 # collect2, so additional links can be useful in future. 15544 if test "$aix_use_runtimelinking" = yes; then 15545 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15546 # instead of lib<name>.a to let people know that these are not 15547 # typical AIX shared libraries. 15548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15549 else 15550 # We preserve .a as extension for shared libraries through AIX4.2 15551 # and later when we are not doing run time linking. 15552 library_names_spec='${libname}${release}.a $libname.a' 15553 soname_spec='${libname}${release}${shared_ext}$major' 15554 fi 15555 shlibpath_var=LIBPATH 15556 fi 15557 ;; 15558 15559amigaos*) 15560 case $host_cpu in 15561 powerpc) 15562 # Since July 2007 AmigaOS4 officially supports .so libraries. 15563 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15565 ;; 15566 m68k) 15567 library_names_spec='$libname.ixlibrary $libname.a' 15568 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15569 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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' 15570 ;; 15571 esac 15572 ;; 15573 15574beos*) 15575 library_names_spec='${libname}${shared_ext}' 15576 dynamic_linker="$host_os ld.so" 15577 shlibpath_var=LIBRARY_PATH 15578 ;; 15579 15580bsdi[45]*) 15581 version_type=linux 15582 need_version=no 15583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15584 soname_spec='${libname}${release}${shared_ext}$major' 15585 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15586 shlibpath_var=LD_LIBRARY_PATH 15587 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15588 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15589 # the default ld.so.conf also contains /usr/contrib/lib and 15590 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15591 # libtool to hard-code these into programs 15592 ;; 15593 15594cygwin* | mingw* | pw32* | cegcc*) 15595 version_type=windows 15596 shrext_cmds=".dll" 15597 need_version=no 15598 need_lib_prefix=no 15599 15600 case $GCC,$host_os in 15601 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 15602 library_names_spec='$libname.dll.a' 15603 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15604 postinstall_cmds='base_file=`basename \${file}`~ 15605 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 15606 dldir=$destdir/`dirname \$dlpath`~ 15607 test -d \$dldir || mkdir -p \$dldir~ 15608 $install_prog $dir/$dlname \$dldir/$dlname~ 15609 chmod a+x \$dldir/$dlname~ 15610 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15611 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15612 fi' 15613 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15614 dlpath=$dir/\$dldll~ 15615 $RM \$dlpath' 15616 shlibpath_overrides_runpath=yes 15617 15618 case $host_os in 15619 cygwin*) 15620 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15621 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15622 15623 ;; 15624 mingw* | cegcc*) 15625 # MinGW DLLs use traditional 'lib' prefix 15626 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15627 ;; 15628 pw32*) 15629 # pw32 DLLs use 'pw' prefix rather than 'lib' 15630 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15631 ;; 15632 esac 15633 ;; 15634 15635 *) 15636 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 15637 ;; 15638 esac 15639 dynamic_linker='Win32 ld.exe' 15640 # FIXME: first we should search . and the directory the executable is in 15641 shlibpath_var=PATH 15642 ;; 15643 15644darwin* | rhapsody*) 15645 dynamic_linker="$host_os dyld" 15646 version_type=darwin 15647 need_lib_prefix=no 15648 need_version=no 15649 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 15650 soname_spec='${libname}${release}${major}$shared_ext' 15651 shlibpath_overrides_runpath=yes 15652 shlibpath_var=DYLD_LIBRARY_PATH 15653 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15654 15655 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15656 ;; 15657 15658dgux*) 15659 version_type=linux 15660 need_lib_prefix=no 15661 need_version=no 15662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 15663 soname_spec='${libname}${release}${shared_ext}$major' 15664 shlibpath_var=LD_LIBRARY_PATH 15665 ;; 15666 15667freebsd* | dragonfly*) 15668 # DragonFly does not have aout. When/if they implement a new 15669 # versioning mechanism, adjust this. 15670 if test -x /usr/bin/objformat; then 15671 objformat=`/usr/bin/objformat` 15672 else 15673 case $host_os in 15674 freebsd[23].*) objformat=aout ;; 15675 *) objformat=elf ;; 15676 esac 15677 fi 15678 version_type=freebsd-$objformat 15679 case $version_type in 15680 freebsd-elf*) 15681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15682 need_version=no 15683 need_lib_prefix=no 15684 ;; 15685 freebsd-*) 15686 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 15687 need_version=yes 15688 ;; 15689 esac 15690 shlibpath_var=LD_LIBRARY_PATH 15691 case $host_os in 15692 freebsd2.*) 15693 shlibpath_overrides_runpath=yes 15694 ;; 15695 freebsd3.[01]* | freebsdelf3.[01]*) 15696 shlibpath_overrides_runpath=yes 15697 hardcode_into_libs=yes 15698 ;; 15699 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15700 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15701 shlibpath_overrides_runpath=no 15702 hardcode_into_libs=yes 15703 ;; 15704 *) # from 4.6 on, and DragonFly 15705 shlibpath_overrides_runpath=yes 15706 hardcode_into_libs=yes 15707 ;; 15708 esac 15709 ;; 15710 15711haiku*) 15712 version_type=linux 15713 need_lib_prefix=no 15714 need_version=no 15715 dynamic_linker="$host_os runtime_loader" 15716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15717 soname_spec='${libname}${release}${shared_ext}$major' 15718 shlibpath_var=LIBRARY_PATH 15719 shlibpath_overrides_runpath=yes 15720 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib' 15721 hardcode_into_libs=yes 15722 ;; 15723 15724hpux9* | hpux10* | hpux11*) 15725 # Give a soname corresponding to the major version so that dld.sl refuses to 15726 # link against other versions. 15727 version_type=sunos 15728 need_lib_prefix=no 15729 need_version=no 15730 case $host_cpu in 15731 ia64*) 15732 shrext_cmds='.so' 15733 hardcode_into_libs=yes 15734 dynamic_linker="$host_os dld.so" 15735 shlibpath_var=LD_LIBRARY_PATH 15736 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15738 soname_spec='${libname}${release}${shared_ext}$major' 15739 if test "X$HPUX_IA64_MODE" = X32; then 15740 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15741 else 15742 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15743 fi 15744 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15745 ;; 15746 hppa*64*) 15747 shrext_cmds='.sl' 15748 hardcode_into_libs=yes 15749 dynamic_linker="$host_os dld.sl" 15750 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15751 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15753 soname_spec='${libname}${release}${shared_ext}$major' 15754 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15756 ;; 15757 *) 15758 shrext_cmds='.sl' 15759 dynamic_linker="$host_os dld.sl" 15760 shlibpath_var=SHLIB_PATH 15761 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15763 soname_spec='${libname}${release}${shared_ext}$major' 15764 ;; 15765 esac 15766 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 15767 postinstall_cmds='chmod 555 $lib' 15768 # or fails outright, so override atomically: 15769 install_override_mode=555 15770 ;; 15771 15772interix[3-9]*) 15773 version_type=linux 15774 need_lib_prefix=no 15775 need_version=no 15776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15777 soname_spec='${libname}${release}${shared_ext}$major' 15778 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 15779 shlibpath_var=LD_LIBRARY_PATH 15780 shlibpath_overrides_runpath=no 15781 hardcode_into_libs=yes 15782 ;; 15783 15784irix5* | irix6* | nonstopux*) 15785 case $host_os in 15786 nonstopux*) version_type=nonstopux ;; 15787 *) 15788 if test "$lt_cv_prog_gnu_ld" = yes; then 15789 version_type=linux 15790 else 15791 version_type=irix 15792 fi ;; 15793 esac 15794 need_lib_prefix=no 15795 need_version=no 15796 soname_spec='${libname}${release}${shared_ext}$major' 15797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 15798 case $host_os in 15799 irix5* | nonstopux*) 15800 libsuff= shlibsuff= 15801 ;; 15802 *) 15803 case $LD in # libtool.m4 will add one of these switches to LD 15804 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 15805 libsuff= shlibsuff= libmagic=32-bit;; 15806 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 15807 libsuff=32 shlibsuff=N32 libmagic=N32;; 15808 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 15809 libsuff=64 shlibsuff=64 libmagic=64-bit;; 15810 *) libsuff= shlibsuff= libmagic=never-match;; 15811 esac 15812 ;; 15813 esac 15814 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 15815 shlibpath_overrides_runpath=no 15816 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 15817 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 15818 hardcode_into_libs=yes 15819 ;; 15820 15821# No shared lib support for Linux oldld, aout, or coff. 15822linux*oldld* | linux*aout* | linux*coff*) 15823 dynamic_linker=no 15824 ;; 15825 15826# This must be Linux ELF. 15827 15828# uclinux* changes (here and below) have been submitted to the libtool 15829# project, but have not yet been accepted: they are GCC-local changes 15830# for the time being. (See 15831# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) 15832linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) 15833 version_type=linux 15834 need_lib_prefix=no 15835 need_version=no 15836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15837 soname_spec='${libname}${release}${shared_ext}$major' 15838 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15839 shlibpath_var=LD_LIBRARY_PATH 15840 shlibpath_overrides_runpath=no 15841 15842 # Some binutils ld are patched to set DT_RUNPATH 15843 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 15844 $as_echo_n "(cached) " >&6 15845else 15846 lt_cv_shlibpath_overrides_runpath=no 15847 save_LDFLAGS=$LDFLAGS 15848 save_libdir=$libdir 15849 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \ 15850 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\"" 15851 if test x$gcc_no_link = xyes; then 15852 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 15853fi 15854cat > conftest.$ac_ext <<_ACEOF 15855 program main 15856 15857 end 15858_ACEOF 15859if ac_fn_fc_try_link "$LINENO"; then : 15860 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 15861 lt_cv_shlibpath_overrides_runpath=yes 15862fi 15863fi 15864rm -f core conftest.err conftest.$ac_objext \ 15865 conftest$ac_exeext conftest.$ac_ext 15866 LDFLAGS=$save_LDFLAGS 15867 libdir=$save_libdir 15868 15869fi 15870 15871 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 15872 15873 # This implies no fast_install, which is unacceptable. 15874 # Some rework will be needed to allow for fast_install 15875 # before this can be enabled. 15876 hardcode_into_libs=yes 15877 15878 # Append ld.so.conf contents to the search path 15879 if test -f /etc/ld.so.conf; then 15880 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' ' '` 15881 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 15882 fi 15883 15884 # We used to test for /lib/ld.so.1 and disable shared libraries on 15885 # powerpc, because MkLinux only supported shared libraries with the 15886 # GNU dynamic linker. Since this was broken with cross compilers, 15887 # most powerpc-linux boxes support dynamic linking these days and 15888 # people can always --disable-shared, the test was removed, and we 15889 # assume the GNU/Linux dynamic linker is in use. 15890 dynamic_linker='GNU/Linux ld.so' 15891 ;; 15892 15893netbsd*) 15894 version_type=sunos 15895 need_lib_prefix=no 15896 need_version=no 15897 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15900 dynamic_linker='NetBSD (a.out) ld.so' 15901 else 15902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15903 soname_spec='${libname}${release}${shared_ext}$major' 15904 dynamic_linker='NetBSD ld.elf_so' 15905 fi 15906 shlibpath_var=LD_LIBRARY_PATH 15907 shlibpath_overrides_runpath=yes 15908 hardcode_into_libs=yes 15909 ;; 15910 15911newsos6) 15912 version_type=linux 15913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15914 shlibpath_var=LD_LIBRARY_PATH 15915 shlibpath_overrides_runpath=yes 15916 ;; 15917 15918*nto* | *qnx*) 15919 version_type=qnx 15920 need_lib_prefix=no 15921 need_version=no 15922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15923 soname_spec='${libname}${release}${shared_ext}$major' 15924 shlibpath_var=LD_LIBRARY_PATH 15925 shlibpath_overrides_runpath=no 15926 hardcode_into_libs=yes 15927 dynamic_linker='ldqnx.so' 15928 ;; 15929 15930openbsd*) 15931 version_type=sunos 15932 sys_lib_dlsearch_path_spec="/usr/lib" 15933 need_lib_prefix=no 15934 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 15935 case $host_os in 15936 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 15937 *) need_version=no ;; 15938 esac 15939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15940 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15941 shlibpath_var=LD_LIBRARY_PATH 15942 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15943 case $host_os in 15944 openbsd2.[89] | openbsd2.[89].*) 15945 shlibpath_overrides_runpath=no 15946 ;; 15947 *) 15948 shlibpath_overrides_runpath=yes 15949 ;; 15950 esac 15951 else 15952 shlibpath_overrides_runpath=yes 15953 fi 15954 ;; 15955 15956os2*) 15957 libname_spec='$name' 15958 shrext_cmds=".dll" 15959 need_lib_prefix=no 15960 library_names_spec='$libname${shared_ext} $libname.a' 15961 dynamic_linker='OS/2 ld.exe' 15962 shlibpath_var=LIBPATH 15963 ;; 15964 15965osf3* | osf4* | osf5*) 15966 version_type=osf 15967 need_lib_prefix=no 15968 need_version=no 15969 soname_spec='${libname}${release}${shared_ext}$major' 15970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15971 shlibpath_var=LD_LIBRARY_PATH 15972 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 15973 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 15974 ;; 15975 15976rdos*) 15977 dynamic_linker=no 15978 ;; 15979 15980solaris*) 15981 version_type=linux 15982 need_lib_prefix=no 15983 need_version=no 15984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15985 soname_spec='${libname}${release}${shared_ext}$major' 15986 shlibpath_var=LD_LIBRARY_PATH 15987 shlibpath_overrides_runpath=yes 15988 hardcode_into_libs=yes 15989 # ldd complains unless libraries are executable 15990 postinstall_cmds='chmod +x $lib' 15991 ;; 15992 15993sunos4*) 15994 version_type=sunos 15995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15996 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 15997 shlibpath_var=LD_LIBRARY_PATH 15998 shlibpath_overrides_runpath=yes 15999 if test "$with_gnu_ld" = yes; then 16000 need_lib_prefix=no 16001 fi 16002 need_version=yes 16003 ;; 16004 16005sysv4 | sysv4.3*) 16006 version_type=linux 16007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16008 soname_spec='${libname}${release}${shared_ext}$major' 16009 shlibpath_var=LD_LIBRARY_PATH 16010 case $host_vendor in 16011 sni) 16012 shlibpath_overrides_runpath=no 16013 need_lib_prefix=no 16014 runpath_var=LD_RUN_PATH 16015 ;; 16016 siemens) 16017 need_lib_prefix=no 16018 ;; 16019 motorola) 16020 need_lib_prefix=no 16021 need_version=no 16022 shlibpath_overrides_runpath=no 16023 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16024 ;; 16025 esac 16026 ;; 16027 16028sysv4*MP*) 16029 if test -d /usr/nec ;then 16030 version_type=linux 16031 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 16032 soname_spec='$libname${shared_ext}.$major' 16033 shlibpath_var=LD_LIBRARY_PATH 16034 fi 16035 ;; 16036 16037sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16038 version_type=freebsd-elf 16039 need_lib_prefix=no 16040 need_version=no 16041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16042 soname_spec='${libname}${release}${shared_ext}$major' 16043 shlibpath_var=LD_LIBRARY_PATH 16044 shlibpath_overrides_runpath=yes 16045 hardcode_into_libs=yes 16046 if test "$with_gnu_ld" = yes; then 16047 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16048 else 16049 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16050 case $host_os in 16051 sco3.2v5*) 16052 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16053 ;; 16054 esac 16055 fi 16056 sys_lib_dlsearch_path_spec='/usr/lib' 16057 ;; 16058 16059tpf*) 16060 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16061 version_type=linux 16062 need_lib_prefix=no 16063 need_version=no 16064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16065 shlibpath_var=LD_LIBRARY_PATH 16066 shlibpath_overrides_runpath=no 16067 hardcode_into_libs=yes 16068 ;; 16069 16070uts4*) 16071 version_type=linux 16072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16073 soname_spec='${libname}${release}${shared_ext}$major' 16074 shlibpath_var=LD_LIBRARY_PATH 16075 ;; 16076 16077*) 16078 dynamic_linker=no 16079 ;; 16080esac 16081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16082$as_echo "$dynamic_linker" >&6; } 16083test "$dynamic_linker" = no && can_build_shared=no 16084 16085variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16086if test "$GCC" = yes; then 16087 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16088fi 16089 16090if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 16091 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 16092fi 16093if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 16094 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 16095fi 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16135$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16136hardcode_action_FC= 16137if test -n "$hardcode_libdir_flag_spec_FC" || 16138 test -n "$runpath_var_FC" || 16139 test "X$hardcode_automatic_FC" = "Xyes" ; then 16140 16141 # We can hardcode non-existent directories. 16142 if test "$hardcode_direct_FC" != no && 16143 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16144 # have to relink, otherwise we might link with an installed library 16145 # when we should be linking with a yet-to-be-installed one 16146 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no && 16147 test "$hardcode_minus_L_FC" != no; then 16148 # Linking always hardcodes the temporary library directory. 16149 hardcode_action_FC=relink 16150 else 16151 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16152 hardcode_action_FC=immediate 16153 fi 16154else 16155 # We cannot hardcode anything, or else we can only hardcode existing 16156 # directories. 16157 hardcode_action_FC=unsupported 16158fi 16159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5 16160$as_echo "$hardcode_action_FC" >&6; } 16161 16162if test "$hardcode_action_FC" = relink || 16163 test "$inherit_rpath_FC" = yes; then 16164 # Fast installation is not supported 16165 enable_fast_install=no 16166elif test "$shlibpath_overrides_runpath" = yes || 16167 test "$enable_shared" = no; then 16168 # Fast installation is not necessary 16169 enable_fast_install=needless 16170fi 16171 16172 16173 16174 16175 16176 16177 16178 fi # test -n "$compiler" 16179 16180 GCC=$lt_save_GCC 16181 CC="$lt_save_CC" 16182fi # test "$_lt_disable_FC" != yes 16183 16184ac_ext=c 16185ac_cpp='$CPP $CPPFLAGS' 16186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16188ac_compiler_gnu=$ac_cv_c_compiler_gnu 16189 16190 16191 16192# extra LD Flags which are required for targets 16193case "${host}" in 16194 *-darwin*) 16195 # Darwin needs -single_module when linking libgfortran 16196 extra_ldflags_libgfortran=-Wl,-single_module 16197 ;; 16198esac 16199 16200 16201# We need a working compiler at that point, otherwise give a clear 16202# error message and bail out. 16203 16204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5 16205$as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; } 16206ac_ext=${ac_fc_srcext-f} 16207ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' 16208ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' 16209ac_compiler_gnu=$ac_cv_fc_compiler_gnu 16210 16211cat > conftest.$ac_ext <<_ACEOF 16212 16213 program foo 16214 real, parameter :: bar = sin (12.34 / 2.5) 16215 end program foo 16216_ACEOF 16217if ac_fn_fc_try_compile "$LINENO"; then : 16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16219$as_echo "yes" >&6; } 16220else 16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16222$as_echo "no" >&6; } 16223 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5 16224 16225fi 16226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16227ac_ext=c 16228ac_cpp='$CPP $CPPFLAGS' 16229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16231ac_compiler_gnu=$ac_cv_c_compiler_gnu 16232 16233 16234 16235# Check whether --enable-largefile was given. 16236if test "${enable_largefile+set}" = set; then : 16237 enableval=$enable_largefile; 16238fi 16239 16240if test "$enable_largefile" != no; then 16241 16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 16243$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 16244if ${ac_cv_sys_largefile_CC+:} false; then : 16245 $as_echo_n "(cached) " >&6 16246else 16247 ac_cv_sys_largefile_CC=no 16248 if test "$GCC" != yes; then 16249 ac_save_CC=$CC 16250 while :; do 16251 # IRIX 6.2 and later do not support large files by default, 16252 # so use the C compiler's -n32 option if that helps. 16253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16254/* end confdefs.h. */ 16255#include <sys/types.h> 16256 /* Check that off_t can represent 2**63 - 1 correctly. 16257 We can't simply define LARGE_OFF_T to be 9223372036854775807, 16258 since some C++ compilers masquerading as C compilers 16259 incorrectly reject 9223372036854775807. */ 16260#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 16261 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 16262 && LARGE_OFF_T % 2147483647 == 1) 16263 ? 1 : -1]; 16264int 16265main () 16266{ 16267 16268 ; 16269 return 0; 16270} 16271_ACEOF 16272 if ac_fn_c_try_compile "$LINENO"; then : 16273 break 16274fi 16275rm -f core conftest.err conftest.$ac_objext 16276 CC="$CC -n32" 16277 if ac_fn_c_try_compile "$LINENO"; then : 16278 ac_cv_sys_largefile_CC=' -n32'; break 16279fi 16280rm -f core conftest.err conftest.$ac_objext 16281 break 16282 done 16283 CC=$ac_save_CC 16284 rm -f conftest.$ac_ext 16285 fi 16286fi 16287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 16288$as_echo "$ac_cv_sys_largefile_CC" >&6; } 16289 if test "$ac_cv_sys_largefile_CC" != no; then 16290 CC=$CC$ac_cv_sys_largefile_CC 16291 fi 16292 16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 16294$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 16295if ${ac_cv_sys_file_offset_bits+:} false; then : 16296 $as_echo_n "(cached) " >&6 16297else 16298 while :; do 16299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16300/* end confdefs.h. */ 16301#include <sys/types.h> 16302 /* Check that off_t can represent 2**63 - 1 correctly. 16303 We can't simply define LARGE_OFF_T to be 9223372036854775807, 16304 since some C++ compilers masquerading as C compilers 16305 incorrectly reject 9223372036854775807. */ 16306#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 16307 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 16308 && LARGE_OFF_T % 2147483647 == 1) 16309 ? 1 : -1]; 16310int 16311main () 16312{ 16313 16314 ; 16315 return 0; 16316} 16317_ACEOF 16318if ac_fn_c_try_compile "$LINENO"; then : 16319 ac_cv_sys_file_offset_bits=no; break 16320fi 16321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16323/* end confdefs.h. */ 16324#define _FILE_OFFSET_BITS 64 16325#include <sys/types.h> 16326 /* Check that off_t can represent 2**63 - 1 correctly. 16327 We can't simply define LARGE_OFF_T to be 9223372036854775807, 16328 since some C++ compilers masquerading as C compilers 16329 incorrectly reject 9223372036854775807. */ 16330#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 16331 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 16332 && LARGE_OFF_T % 2147483647 == 1) 16333 ? 1 : -1]; 16334int 16335main () 16336{ 16337 16338 ; 16339 return 0; 16340} 16341_ACEOF 16342if ac_fn_c_try_compile "$LINENO"; then : 16343 ac_cv_sys_file_offset_bits=64; break 16344fi 16345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16346 ac_cv_sys_file_offset_bits=unknown 16347 break 16348done 16349fi 16350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 16351$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 16352case $ac_cv_sys_file_offset_bits in #( 16353 no | unknown) ;; 16354 *) 16355cat >>confdefs.h <<_ACEOF 16356#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 16357_ACEOF 16358;; 16359esac 16360rm -rf conftest* 16361 if test $ac_cv_sys_file_offset_bits = unknown; then 16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 16363$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 16364if ${ac_cv_sys_large_files+:} false; then : 16365 $as_echo_n "(cached) " >&6 16366else 16367 while :; do 16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16369/* end confdefs.h. */ 16370#include <sys/types.h> 16371 /* Check that off_t can represent 2**63 - 1 correctly. 16372 We can't simply define LARGE_OFF_T to be 9223372036854775807, 16373 since some C++ compilers masquerading as C compilers 16374 incorrectly reject 9223372036854775807. */ 16375#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 16376 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 16377 && LARGE_OFF_T % 2147483647 == 1) 16378 ? 1 : -1]; 16379int 16380main () 16381{ 16382 16383 ; 16384 return 0; 16385} 16386_ACEOF 16387if ac_fn_c_try_compile "$LINENO"; then : 16388 ac_cv_sys_large_files=no; break 16389fi 16390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16392/* end confdefs.h. */ 16393#define _LARGE_FILES 1 16394#include <sys/types.h> 16395 /* Check that off_t can represent 2**63 - 1 correctly. 16396 We can't simply define LARGE_OFF_T to be 9223372036854775807, 16397 since some C++ compilers masquerading as C compilers 16398 incorrectly reject 9223372036854775807. */ 16399#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 16400 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 16401 && LARGE_OFF_T % 2147483647 == 1) 16402 ? 1 : -1]; 16403int 16404main () 16405{ 16406 16407 ; 16408 return 0; 16409} 16410_ACEOF 16411if ac_fn_c_try_compile "$LINENO"; then : 16412 ac_cv_sys_large_files=1; break 16413fi 16414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16415 ac_cv_sys_large_files=unknown 16416 break 16417done 16418fi 16419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 16420$as_echo "$ac_cv_sys_large_files" >&6; } 16421case $ac_cv_sys_large_files in #( 16422 no | unknown) ;; 16423 *) 16424cat >>confdefs.h <<_ACEOF 16425#define _LARGE_FILES $ac_cv_sys_large_files 16426_ACEOF 16427;; 16428esac 16429rm -rf conftest* 16430 fi 16431 16432 16433fi 16434 16435 16436# Types 16437ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 16438if test "x$ac_cv_type_off_t" = xyes; then : 16439 16440else 16441 16442cat >>confdefs.h <<_ACEOF 16443#define off_t long int 16444_ACEOF 16445 16446fi 16447 16448 16449 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default" 16450if test "x$ac_cv_type_intptr_t" = xyes; then : 16451 16452$as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h 16453 16454else 16455 for ac_type in 'int' 'long int' 'long long int'; do 16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16457/* end confdefs.h. */ 16458$ac_includes_default 16459int 16460main () 16461{ 16462static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; 16463test_array [0] = 0; 16464return test_array [0]; 16465 16466 ; 16467 return 0; 16468} 16469_ACEOF 16470if ac_fn_c_try_compile "$LINENO"; then : 16471 16472cat >>confdefs.h <<_ACEOF 16473#define intptr_t $ac_type 16474_ACEOF 16475 16476 ac_type= 16477fi 16478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16479 test -z "$ac_type" && break 16480 done 16481fi 16482 16483 16484 16485 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" 16486if test "x$ac_cv_type_uintptr_t" = xyes; then : 16487 16488$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h 16489 16490else 16491 for ac_type in 'unsigned int' 'unsigned long int' \ 16492 'unsigned long long int'; do 16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16494/* end confdefs.h. */ 16495$ac_includes_default 16496int 16497main () 16498{ 16499static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; 16500test_array [0] = 0; 16501return test_array [0]; 16502 16503 ; 16504 return 0; 16505} 16506_ACEOF 16507if ac_fn_c_try_compile "$LINENO"; then : 16508 16509cat >>confdefs.h <<_ACEOF 16510#define uintptr_t $ac_type 16511_ACEOF 16512 16513 ac_type= 16514fi 16515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16516 test -z "$ac_type" && break 16517 done 16518fi 16519 16520 16521ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" 16522if test "x$ac_cv_type_ptrdiff_t" = xyes; then : 16523 16524cat >>confdefs.h <<_ACEOF 16525#define HAVE_PTRDIFF_T 1 16526_ACEOF 16527 16528 16529fi 16530 16531 16532# check header files (we assume C89 is available, so don't check for that) 16533 16534 16535 16536 for ac_header in $ac_header_list 16537do : 16538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16539ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 16540" 16541if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16542 cat >>confdefs.h <<_ACEOF 16543#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16544_ACEOF 16545 16546fi 16547 16548done 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'` 16589 16590acx_cv_header_stdint=stddef.h 16591acx_cv_header_stdint_kind="(already complete)" 16592for i in stdint.h $inttype_headers; do 16593 unset ac_cv_type_uintptr_t 16594 unset ac_cv_type_uintmax_t 16595 unset ac_cv_type_int_least32_t 16596 unset ac_cv_type_int_fast32_t 16597 unset ac_cv_type_uint64_t 16598 $as_echo_n "looking for a compliant stdint.h in $i, " >&6 16599 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h> 16600#include <$i> 16601" 16602if test "x$ac_cv_type_uintmax_t" = xyes; then : 16603 acx_cv_header_stdint=$i 16604else 16605 continue 16606fi 16607 16608 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h> 16609#include <$i> 16610" 16611if test "x$ac_cv_type_uintptr_t" = xyes; then : 16612 16613else 16614 acx_cv_header_stdint_kind="(mostly complete)" 16615fi 16616 16617 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h> 16618#include <$i> 16619" 16620if test "x$ac_cv_type_int_least32_t" = xyes; then : 16621 16622else 16623 acx_cv_header_stdint_kind="(mostly complete)" 16624fi 16625 16626 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h> 16627#include <$i> 16628" 16629if test "x$ac_cv_type_int_fast32_t" = xyes; then : 16630 16631else 16632 acx_cv_header_stdint_kind="(mostly complete)" 16633fi 16634 16635 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h> 16636#include <$i> 16637" 16638if test "x$ac_cv_type_uint64_t" = xyes; then : 16639 16640else 16641 acx_cv_header_stdint_kind="(lacks uint64_t)" 16642fi 16643 16644 break 16645done 16646if test "$acx_cv_header_stdint" = stddef.h; then 16647 acx_cv_header_stdint_kind="(lacks uintmax_t)" 16648 for i in stdint.h $inttype_headers; do 16649 unset ac_cv_type_uintptr_t 16650 unset ac_cv_type_uint32_t 16651 unset ac_cv_type_uint64_t 16652 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6 16653 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h> 16654#include <$i> 16655" 16656if test "x$ac_cv_type_uint32_t" = xyes; then : 16657 acx_cv_header_stdint=$i 16658else 16659 continue 16660fi 16661 16662 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h> 16663#include <$i> 16664" 16665if test "x$ac_cv_type_uint64_t" = xyes; then : 16666 16667fi 16668 16669 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h> 16670#include <$i> 16671" 16672if test "x$ac_cv_type_uintptr_t" = xyes; then : 16673 16674fi 16675 16676 break 16677 done 16678fi 16679if test "$acx_cv_header_stdint" = stddef.h; then 16680 acx_cv_header_stdint_kind="(u_intXX_t style)" 16681 for i in sys/types.h $inttype_headers; do 16682 unset ac_cv_type_u_int32_t 16683 unset ac_cv_type_u_int64_t 16684 $as_echo_n "looking for u_intXX_t types in $i, " >&6 16685 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h> 16686#include <$i> 16687" 16688if test "x$ac_cv_type_u_int32_t" = xyes; then : 16689 acx_cv_header_stdint=$i 16690else 16691 continue 16692fi 16693 16694 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h> 16695#include <$i> 16696" 16697if test "x$ac_cv_type_u_int64_t" = xyes; then : 16698 16699fi 16700 16701 break 16702 done 16703fi 16704if test "$acx_cv_header_stdint" = stddef.h; then 16705 acx_cv_header_stdint_kind="(using manual detection)" 16706fi 16707 16708test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no 16709test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no 16710test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no 16711test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no 16712test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no 16713 16714# ----------------- Summarize what we found so far 16715 16716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5 16717$as_echo_n "checking what to include in gstdint.h... " >&6; } 16718 16719case `$as_basename -- gstdint.h || 16720$as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \ 16721 Xgstdint.h : 'X\(//\)$' \| \ 16722 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null || 16723$as_echo X/gstdint.h | 16724 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16725 s//\1/ 16726 q 16727 } 16728 /^X\/\(\/\/\)$/{ 16729 s//\1/ 16730 q 16731 } 16732 /^X\/\(\/\).*/{ 16733 s//\1/ 16734 q 16735 } 16736 s/.*/./; q'` in 16737 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5 16738$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;; 16739 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5 16740$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;; 16741 *) ;; 16742esac 16743 16744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5 16745$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; } 16746 16747# ----------------- done included file, check C basic types -------- 16748 16749# Lacking an uintptr_t? Test size of void * 16750case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in 16751 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler 16752# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16753# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16754# This bug is HP SR number 8606223364. 16755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 16756$as_echo_n "checking size of void *... " >&6; } 16757if ${ac_cv_sizeof_void_p+:} false; then : 16758 $as_echo_n "(cached) " >&6 16759else 16760 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 16761 16762else 16763 if test "$ac_cv_type_void_p" = yes; then 16764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16765$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16766as_fn_error 77 "cannot compute sizeof (void *) 16767See \`config.log' for more details" "$LINENO" 5; } 16768 else 16769 ac_cv_sizeof_void_p=0 16770 fi 16771fi 16772 16773fi 16774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 16775$as_echo "$ac_cv_sizeof_void_p" >&6; } 16776 16777 16778 16779cat >>confdefs.h <<_ACEOF 16780#define SIZEOF_VOID_P $ac_cv_sizeof_void_p 16781_ACEOF 16782 16783 ;; 16784esac 16785 16786# Lacking an uint64_t? Test size of long 16787case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in 16788 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler 16789# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16790# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16791# This bug is HP SR number 8606223364. 16792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 16793$as_echo_n "checking size of long... " >&6; } 16794if ${ac_cv_sizeof_long+:} false; then : 16795 $as_echo_n "(cached) " >&6 16796else 16797 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 16798 16799else 16800 if test "$ac_cv_type_long" = yes; then 16801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16802$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16803as_fn_error 77 "cannot compute sizeof (long) 16804See \`config.log' for more details" "$LINENO" 5; } 16805 else 16806 ac_cv_sizeof_long=0 16807 fi 16808fi 16809 16810fi 16811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 16812$as_echo "$ac_cv_sizeof_long" >&6; } 16813 16814 16815 16816cat >>confdefs.h <<_ACEOF 16817#define SIZEOF_LONG $ac_cv_sizeof_long 16818_ACEOF 16819 16820 ;; 16821esac 16822 16823if test $acx_cv_header_stdint = stddef.h; then 16824 # Lacking a good header? Test size of everything and deduce all types. 16825 # The cast to long int works around a bug in the HP C Compiler 16826# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16827# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16828# This bug is HP SR number 8606223364. 16829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 16830$as_echo_n "checking size of int... " >&6; } 16831if ${ac_cv_sizeof_int+:} false; then : 16832 $as_echo_n "(cached) " >&6 16833else 16834 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 16835 16836else 16837 if test "$ac_cv_type_int" = yes; then 16838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16840as_fn_error 77 "cannot compute sizeof (int) 16841See \`config.log' for more details" "$LINENO" 5; } 16842 else 16843 ac_cv_sizeof_int=0 16844 fi 16845fi 16846 16847fi 16848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 16849$as_echo "$ac_cv_sizeof_int" >&6; } 16850 16851 16852 16853cat >>confdefs.h <<_ACEOF 16854#define SIZEOF_INT $ac_cv_sizeof_int 16855_ACEOF 16856 16857 16858 # The cast to long int works around a bug in the HP C Compiler 16859# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16860# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16861# This bug is HP SR number 8606223364. 16862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 16863$as_echo_n "checking size of short... " >&6; } 16864if ${ac_cv_sizeof_short+:} false; then : 16865 $as_echo_n "(cached) " >&6 16866else 16867 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : 16868 16869else 16870 if test "$ac_cv_type_short" = yes; then 16871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16872$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16873as_fn_error 77 "cannot compute sizeof (short) 16874See \`config.log' for more details" "$LINENO" 5; } 16875 else 16876 ac_cv_sizeof_short=0 16877 fi 16878fi 16879 16880fi 16881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 16882$as_echo "$ac_cv_sizeof_short" >&6; } 16883 16884 16885 16886cat >>confdefs.h <<_ACEOF 16887#define SIZEOF_SHORT $ac_cv_sizeof_short 16888_ACEOF 16889 16890 16891 # The cast to long int works around a bug in the HP C Compiler 16892# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16893# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16894# This bug is HP SR number 8606223364. 16895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 16896$as_echo_n "checking size of char... " >&6; } 16897if ${ac_cv_sizeof_char+:} false; then : 16898 $as_echo_n "(cached) " >&6 16899else 16900 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then : 16901 16902else 16903 if test "$ac_cv_type_char" = yes; then 16904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16906as_fn_error 77 "cannot compute sizeof (char) 16907See \`config.log' for more details" "$LINENO" 5; } 16908 else 16909 ac_cv_sizeof_char=0 16910 fi 16911fi 16912 16913fi 16914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 16915$as_echo "$ac_cv_sizeof_char" >&6; } 16916 16917 16918 16919cat >>confdefs.h <<_ACEOF 16920#define SIZEOF_CHAR $ac_cv_sizeof_char 16921_ACEOF 16922 16923 16924 16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5 16926$as_echo_n "checking for type equivalent to int8_t... " >&6; } 16927 case "$ac_cv_sizeof_char" in 16928 1) acx_cv_type_int8_t=char ;; 16929 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5 16930 esac 16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5 16932$as_echo "$acx_cv_type_int8_t" >&6; } 16933 16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5 16935$as_echo_n "checking for type equivalent to int16_t... " >&6; } 16936 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in 16937 2:*) acx_cv_type_int16_t=int ;; 16938 *:2) acx_cv_type_int16_t=short ;; 16939 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5 16940 esac 16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5 16942$as_echo "$acx_cv_type_int16_t" >&6; } 16943 16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5 16945$as_echo_n "checking for type equivalent to int32_t... " >&6; } 16946 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in 16947 4:*) acx_cv_type_int32_t=int ;; 16948 *:4) acx_cv_type_int32_t=long ;; 16949 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5 16950 esac 16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5 16952$as_echo "$acx_cv_type_int32_t" >&6; } 16953fi 16954 16955# These tests are here to make the output prettier 16956 16957if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then 16958 case "$ac_cv_sizeof_long" in 16959 8) acx_cv_type_int64_t=long ;; 16960 esac 16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5 16962$as_echo_n "checking for type equivalent to int64_t... " >&6; } 16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5 16964$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; } 16965fi 16966 16967# Now we can use the above types 16968 16969if test "$ac_cv_type_uintptr_t" != yes; then 16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5 16971$as_echo_n "checking for type equivalent to intptr_t... " >&6; } 16972 case $ac_cv_sizeof_void_p in 16973 2) acx_cv_type_intptr_t=int16_t ;; 16974 4) acx_cv_type_intptr_t=int32_t ;; 16975 8) acx_cv_type_intptr_t=int64_t ;; 16976 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5 16977 esac 16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5 16979$as_echo "$acx_cv_type_intptr_t" >&6; } 16980fi 16981 16982# ----------------- done all checks, emit header ------------- 16983ac_config_commands="$ac_config_commands gstdint.h" 16984 16985 16986 16987 16988ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" 16989if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : 16990 16991cat >>confdefs.h <<_ACEOF 16992#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 16993_ACEOF 16994 16995 16996fi 16997ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default" 16998if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then : 16999 17000cat >>confdefs.h <<_ACEOF 17001#define HAVE_STRUCT_STAT_ST_BLOCKS 1 17002_ACEOF 17003 17004 17005fi 17006ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default" 17007if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : 17008 17009cat >>confdefs.h <<_ACEOF 17010#define HAVE_STRUCT_STAT_ST_RDEV 1 17011_ACEOF 17012 17013 17014fi 17015 17016 17017case "${host}--x${with_newlib}" in 17018 mips*--xyes) 17019 hardwire_newlib=1;; 17020 nvptx*--xyes) 17021 hardwire_newlib=1;; 17022esac 17023 17024# Check for library functions. 17025if test "${hardwire_newlib:-0}" -eq 1; then 17026 # We are being configured with a cross compiler. AC_REPLACE_FUNCS 17027 # may not work correctly, because the compiler may not be able to 17028 # link executables. 17029 17030$as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h 17031 17032 17033$as_echo "#define HAVE_STRTOF 1" >>confdefs.h 17034 17035 17036$as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h 17037 17038 17039$as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h 17040 17041 17042$as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h 17043 17044 17045$as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h 17046 17047 17048$as_echo "#define HAVE_STRNLEN 1" >>confdefs.h 17049 17050 17051$as_echo "#define HAVE_STRNDUP 1" >>confdefs.h 17052 17053 17054 # At some point, we should differentiate between architectures 17055 # like x86, which have long double versions, and alpha/powerpc/etc., 17056 # which don't. For the time being, punt. 17057 if test x"long_double_math_on_this_cpu" = x"yes"; then 17058 17059$as_echo "#define HAVE_STRTOLD 1" >>confdefs.h 17060 17061 fi 17062else 17063 17064 17065 17066 for ac_func in $ac_func_list 17067do : 17068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17069ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17070if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 17071 cat >>confdefs.h <<_ACEOF 17072#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17073_ACEOF 17074 17075fi 17076done 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187fi 17188 17189# Check strerror_r, cannot be above as versions with two and three arguments exist 17190 17191 ac_save_CFLAGS="$CFLAGS" 17192 CFLAGS="-Wimplicit-function-declaration -Werror" 17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17194/* end confdefs.h. */ 17195#define _GNU_SOURCE 1 17196 #include <string.h> 17197 #include <locale.h> 17198int 17199main () 17200{ 17201char s[128]; strerror_r(5, s, 128); 17202 ; 17203 return 0; 17204} 17205_ACEOF 17206if ac_fn_c_try_compile "$LINENO"; then : 17207 17208$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h 17209 17210fi 17211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17212 CFLAGS="$ac_save_CFLAGS" 17213 17214 ac_save_CFLAGS="$CFLAGS" 17215 CFLAGS="-Wimplicit-function-declaration -Werror" 17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17217/* end confdefs.h. */ 17218#define _GNU_SOURCE 1 17219 #include <string.h> 17220 #include <locale.h> 17221int 17222main () 17223{ 17224char s[128]; strerror_r(5, s); 17225 ; 17226 return 0; 17227} 17228_ACEOF 17229if ac_fn_c_try_compile "$LINENO"; then : 17230 17231$as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h 17232 17233fi 17234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17235 CFLAGS="$ac_save_CFLAGS" 17236 17237 17238# Check for C99 (and other IEEE) math functions 17239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 17240$as_echo_n "checking for sin in -lm... " >&6; } 17241if ${ac_cv_lib_m_sin+:} false; then : 17242 $as_echo_n "(cached) " >&6 17243else 17244 ac_check_lib_save_LIBS=$LIBS 17245LIBS="-lm $LIBS" 17246if test x$gcc_no_link = xyes; then 17247 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17248fi 17249cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17250/* end confdefs.h. */ 17251 17252/* Override any GCC internal prototype to avoid an error. 17253 Use char because int might match the return type of a GCC 17254 builtin and then its argument prototype would still apply. */ 17255#ifdef __cplusplus 17256extern "C" 17257#endif 17258char sin (); 17259int 17260main () 17261{ 17262return sin (); 17263 ; 17264 return 0; 17265} 17266_ACEOF 17267if ac_fn_c_try_link "$LINENO"; then : 17268 ac_cv_lib_m_sin=yes 17269else 17270 ac_cv_lib_m_sin=no 17271fi 17272rm -f core conftest.err conftest.$ac_objext \ 17273 conftest$ac_exeext conftest.$ac_ext 17274LIBS=$ac_check_lib_save_LIBS 17275fi 17276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 17277$as_echo "$ac_cv_lib_m_sin" >&6; } 17278if test "x$ac_cv_lib_m_sin" = xyes; then : 17279 cat >>confdefs.h <<_ACEOF 17280#define HAVE_LIBM 1 17281_ACEOF 17282 17283 LIBS="-lm $LIBS" 17284 17285fi 17286 17287 17288 17289 17290 17291 17292 17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5 17294$as_echo_n "checking for acosf... " >&6; } 17295if ${gcc_cv_math_func_acosf+:} false; then : 17296 $as_echo_n "(cached) " >&6 17297else 17298 if test x$gcc_no_link = xyes; then 17299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17300fi 17301cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17302/* end confdefs.h. */ 17303 17304#ifdef HAVE_COMPLEX_H 17305#include <complex.h> 17306#endif 17307#ifdef HAVE_MATH_H 17308#include <math.h> 17309#endif 17310 17311int (*ptr)() = (int (*)())acosf; 17312 17313int 17314main () 17315{ 17316 return 0; 17317} 17318 17319_ACEOF 17320if ac_fn_c_try_link "$LINENO"; then : 17321 gcc_cv_math_func_acosf=yes 17322else 17323 gcc_cv_math_func_acosf=no 17324fi 17325rm -f core conftest.err conftest.$ac_objext \ 17326 conftest$ac_exeext conftest.$ac_ext 17327fi 17328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5 17329$as_echo "$gcc_cv_math_func_acosf" >&6; } 17330 if test $gcc_cv_math_func_acosf = yes; then 17331 17332cat >>confdefs.h <<_ACEOF 17333#define HAVE_ACOSF 1 17334_ACEOF 17335 17336 fi 17337 17338 17339 17340 17341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5 17342$as_echo_n "checking for acos... " >&6; } 17343if ${gcc_cv_math_func_acos+:} false; then : 17344 $as_echo_n "(cached) " >&6 17345else 17346 if test x$gcc_no_link = xyes; then 17347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17348fi 17349cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17350/* end confdefs.h. */ 17351 17352#ifdef HAVE_COMPLEX_H 17353#include <complex.h> 17354#endif 17355#ifdef HAVE_MATH_H 17356#include <math.h> 17357#endif 17358 17359int (*ptr)() = (int (*)())acos; 17360 17361int 17362main () 17363{ 17364 return 0; 17365} 17366 17367_ACEOF 17368if ac_fn_c_try_link "$LINENO"; then : 17369 gcc_cv_math_func_acos=yes 17370else 17371 gcc_cv_math_func_acos=no 17372fi 17373rm -f core conftest.err conftest.$ac_objext \ 17374 conftest$ac_exeext conftest.$ac_ext 17375fi 17376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5 17377$as_echo "$gcc_cv_math_func_acos" >&6; } 17378 if test $gcc_cv_math_func_acos = yes; then 17379 17380cat >>confdefs.h <<_ACEOF 17381#define HAVE_ACOS 1 17382_ACEOF 17383 17384 fi 17385 17386 17387 17388 17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5 17390$as_echo_n "checking for acosl... " >&6; } 17391if ${gcc_cv_math_func_acosl+:} false; then : 17392 $as_echo_n "(cached) " >&6 17393else 17394 if test x$gcc_no_link = xyes; then 17395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17396fi 17397cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17398/* end confdefs.h. */ 17399 17400#ifdef HAVE_COMPLEX_H 17401#include <complex.h> 17402#endif 17403#ifdef HAVE_MATH_H 17404#include <math.h> 17405#endif 17406 17407int (*ptr)() = (int (*)())acosl; 17408 17409int 17410main () 17411{ 17412 return 0; 17413} 17414 17415_ACEOF 17416if ac_fn_c_try_link "$LINENO"; then : 17417 gcc_cv_math_func_acosl=yes 17418else 17419 gcc_cv_math_func_acosl=no 17420fi 17421rm -f core conftest.err conftest.$ac_objext \ 17422 conftest$ac_exeext conftest.$ac_ext 17423fi 17424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5 17425$as_echo "$gcc_cv_math_func_acosl" >&6; } 17426 if test $gcc_cv_math_func_acosl = yes; then 17427 17428cat >>confdefs.h <<_ACEOF 17429#define HAVE_ACOSL 1 17430_ACEOF 17431 17432 fi 17433 17434 17435 17436 17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5 17438$as_echo_n "checking for acoshf... " >&6; } 17439if ${gcc_cv_math_func_acoshf+:} false; then : 17440 $as_echo_n "(cached) " >&6 17441else 17442 if test x$gcc_no_link = xyes; then 17443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17444fi 17445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17446/* end confdefs.h. */ 17447 17448#ifdef HAVE_COMPLEX_H 17449#include <complex.h> 17450#endif 17451#ifdef HAVE_MATH_H 17452#include <math.h> 17453#endif 17454 17455int (*ptr)() = (int (*)())acoshf; 17456 17457int 17458main () 17459{ 17460 return 0; 17461} 17462 17463_ACEOF 17464if ac_fn_c_try_link "$LINENO"; then : 17465 gcc_cv_math_func_acoshf=yes 17466else 17467 gcc_cv_math_func_acoshf=no 17468fi 17469rm -f core conftest.err conftest.$ac_objext \ 17470 conftest$ac_exeext conftest.$ac_ext 17471fi 17472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5 17473$as_echo "$gcc_cv_math_func_acoshf" >&6; } 17474 if test $gcc_cv_math_func_acoshf = yes; then 17475 17476cat >>confdefs.h <<_ACEOF 17477#define HAVE_ACOSHF 1 17478_ACEOF 17479 17480 fi 17481 17482 17483 17484 17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5 17486$as_echo_n "checking for acosh... " >&6; } 17487if ${gcc_cv_math_func_acosh+:} false; then : 17488 $as_echo_n "(cached) " >&6 17489else 17490 if test x$gcc_no_link = xyes; then 17491 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17492fi 17493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17494/* end confdefs.h. */ 17495 17496#ifdef HAVE_COMPLEX_H 17497#include <complex.h> 17498#endif 17499#ifdef HAVE_MATH_H 17500#include <math.h> 17501#endif 17502 17503int (*ptr)() = (int (*)())acosh; 17504 17505int 17506main () 17507{ 17508 return 0; 17509} 17510 17511_ACEOF 17512if ac_fn_c_try_link "$LINENO"; then : 17513 gcc_cv_math_func_acosh=yes 17514else 17515 gcc_cv_math_func_acosh=no 17516fi 17517rm -f core conftest.err conftest.$ac_objext \ 17518 conftest$ac_exeext conftest.$ac_ext 17519fi 17520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5 17521$as_echo "$gcc_cv_math_func_acosh" >&6; } 17522 if test $gcc_cv_math_func_acosh = yes; then 17523 17524cat >>confdefs.h <<_ACEOF 17525#define HAVE_ACOSH 1 17526_ACEOF 17527 17528 fi 17529 17530 17531 17532 17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5 17534$as_echo_n "checking for acoshl... " >&6; } 17535if ${gcc_cv_math_func_acoshl+:} false; then : 17536 $as_echo_n "(cached) " >&6 17537else 17538 if test x$gcc_no_link = xyes; then 17539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17540fi 17541cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17542/* end confdefs.h. */ 17543 17544#ifdef HAVE_COMPLEX_H 17545#include <complex.h> 17546#endif 17547#ifdef HAVE_MATH_H 17548#include <math.h> 17549#endif 17550 17551int (*ptr)() = (int (*)())acoshl; 17552 17553int 17554main () 17555{ 17556 return 0; 17557} 17558 17559_ACEOF 17560if ac_fn_c_try_link "$LINENO"; then : 17561 gcc_cv_math_func_acoshl=yes 17562else 17563 gcc_cv_math_func_acoshl=no 17564fi 17565rm -f core conftest.err conftest.$ac_objext \ 17566 conftest$ac_exeext conftest.$ac_ext 17567fi 17568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5 17569$as_echo "$gcc_cv_math_func_acoshl" >&6; } 17570 if test $gcc_cv_math_func_acoshl = yes; then 17571 17572cat >>confdefs.h <<_ACEOF 17573#define HAVE_ACOSHL 1 17574_ACEOF 17575 17576 fi 17577 17578 17579 17580 17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5 17582$as_echo_n "checking for asinf... " >&6; } 17583if ${gcc_cv_math_func_asinf+:} false; then : 17584 $as_echo_n "(cached) " >&6 17585else 17586 if test x$gcc_no_link = xyes; then 17587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17588fi 17589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17590/* end confdefs.h. */ 17591 17592#ifdef HAVE_COMPLEX_H 17593#include <complex.h> 17594#endif 17595#ifdef HAVE_MATH_H 17596#include <math.h> 17597#endif 17598 17599int (*ptr)() = (int (*)())asinf; 17600 17601int 17602main () 17603{ 17604 return 0; 17605} 17606 17607_ACEOF 17608if ac_fn_c_try_link "$LINENO"; then : 17609 gcc_cv_math_func_asinf=yes 17610else 17611 gcc_cv_math_func_asinf=no 17612fi 17613rm -f core conftest.err conftest.$ac_objext \ 17614 conftest$ac_exeext conftest.$ac_ext 17615fi 17616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5 17617$as_echo "$gcc_cv_math_func_asinf" >&6; } 17618 if test $gcc_cv_math_func_asinf = yes; then 17619 17620cat >>confdefs.h <<_ACEOF 17621#define HAVE_ASINF 1 17622_ACEOF 17623 17624 fi 17625 17626 17627 17628 17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5 17630$as_echo_n "checking for asin... " >&6; } 17631if ${gcc_cv_math_func_asin+:} false; then : 17632 $as_echo_n "(cached) " >&6 17633else 17634 if test x$gcc_no_link = xyes; then 17635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17636fi 17637cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17638/* end confdefs.h. */ 17639 17640#ifdef HAVE_COMPLEX_H 17641#include <complex.h> 17642#endif 17643#ifdef HAVE_MATH_H 17644#include <math.h> 17645#endif 17646 17647int (*ptr)() = (int (*)())asin; 17648 17649int 17650main () 17651{ 17652 return 0; 17653} 17654 17655_ACEOF 17656if ac_fn_c_try_link "$LINENO"; then : 17657 gcc_cv_math_func_asin=yes 17658else 17659 gcc_cv_math_func_asin=no 17660fi 17661rm -f core conftest.err conftest.$ac_objext \ 17662 conftest$ac_exeext conftest.$ac_ext 17663fi 17664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5 17665$as_echo "$gcc_cv_math_func_asin" >&6; } 17666 if test $gcc_cv_math_func_asin = yes; then 17667 17668cat >>confdefs.h <<_ACEOF 17669#define HAVE_ASIN 1 17670_ACEOF 17671 17672 fi 17673 17674 17675 17676 17677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5 17678$as_echo_n "checking for asinl... " >&6; } 17679if ${gcc_cv_math_func_asinl+:} false; then : 17680 $as_echo_n "(cached) " >&6 17681else 17682 if test x$gcc_no_link = xyes; then 17683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17684fi 17685cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17686/* end confdefs.h. */ 17687 17688#ifdef HAVE_COMPLEX_H 17689#include <complex.h> 17690#endif 17691#ifdef HAVE_MATH_H 17692#include <math.h> 17693#endif 17694 17695int (*ptr)() = (int (*)())asinl; 17696 17697int 17698main () 17699{ 17700 return 0; 17701} 17702 17703_ACEOF 17704if ac_fn_c_try_link "$LINENO"; then : 17705 gcc_cv_math_func_asinl=yes 17706else 17707 gcc_cv_math_func_asinl=no 17708fi 17709rm -f core conftest.err conftest.$ac_objext \ 17710 conftest$ac_exeext conftest.$ac_ext 17711fi 17712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5 17713$as_echo "$gcc_cv_math_func_asinl" >&6; } 17714 if test $gcc_cv_math_func_asinl = yes; then 17715 17716cat >>confdefs.h <<_ACEOF 17717#define HAVE_ASINL 1 17718_ACEOF 17719 17720 fi 17721 17722 17723 17724 17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5 17726$as_echo_n "checking for asinhf... " >&6; } 17727if ${gcc_cv_math_func_asinhf+:} false; then : 17728 $as_echo_n "(cached) " >&6 17729else 17730 if test x$gcc_no_link = xyes; then 17731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17732fi 17733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17734/* end confdefs.h. */ 17735 17736#ifdef HAVE_COMPLEX_H 17737#include <complex.h> 17738#endif 17739#ifdef HAVE_MATH_H 17740#include <math.h> 17741#endif 17742 17743int (*ptr)() = (int (*)())asinhf; 17744 17745int 17746main () 17747{ 17748 return 0; 17749} 17750 17751_ACEOF 17752if ac_fn_c_try_link "$LINENO"; then : 17753 gcc_cv_math_func_asinhf=yes 17754else 17755 gcc_cv_math_func_asinhf=no 17756fi 17757rm -f core conftest.err conftest.$ac_objext \ 17758 conftest$ac_exeext conftest.$ac_ext 17759fi 17760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5 17761$as_echo "$gcc_cv_math_func_asinhf" >&6; } 17762 if test $gcc_cv_math_func_asinhf = yes; then 17763 17764cat >>confdefs.h <<_ACEOF 17765#define HAVE_ASINHF 1 17766_ACEOF 17767 17768 fi 17769 17770 17771 17772 17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5 17774$as_echo_n "checking for asinh... " >&6; } 17775if ${gcc_cv_math_func_asinh+:} false; then : 17776 $as_echo_n "(cached) " >&6 17777else 17778 if test x$gcc_no_link = xyes; then 17779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17780fi 17781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17782/* end confdefs.h. */ 17783 17784#ifdef HAVE_COMPLEX_H 17785#include <complex.h> 17786#endif 17787#ifdef HAVE_MATH_H 17788#include <math.h> 17789#endif 17790 17791int (*ptr)() = (int (*)())asinh; 17792 17793int 17794main () 17795{ 17796 return 0; 17797} 17798 17799_ACEOF 17800if ac_fn_c_try_link "$LINENO"; then : 17801 gcc_cv_math_func_asinh=yes 17802else 17803 gcc_cv_math_func_asinh=no 17804fi 17805rm -f core conftest.err conftest.$ac_objext \ 17806 conftest$ac_exeext conftest.$ac_ext 17807fi 17808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5 17809$as_echo "$gcc_cv_math_func_asinh" >&6; } 17810 if test $gcc_cv_math_func_asinh = yes; then 17811 17812cat >>confdefs.h <<_ACEOF 17813#define HAVE_ASINH 1 17814_ACEOF 17815 17816 fi 17817 17818 17819 17820 17821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5 17822$as_echo_n "checking for asinhl... " >&6; } 17823if ${gcc_cv_math_func_asinhl+:} false; then : 17824 $as_echo_n "(cached) " >&6 17825else 17826 if test x$gcc_no_link = xyes; then 17827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17828fi 17829cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17830/* end confdefs.h. */ 17831 17832#ifdef HAVE_COMPLEX_H 17833#include <complex.h> 17834#endif 17835#ifdef HAVE_MATH_H 17836#include <math.h> 17837#endif 17838 17839int (*ptr)() = (int (*)())asinhl; 17840 17841int 17842main () 17843{ 17844 return 0; 17845} 17846 17847_ACEOF 17848if ac_fn_c_try_link "$LINENO"; then : 17849 gcc_cv_math_func_asinhl=yes 17850else 17851 gcc_cv_math_func_asinhl=no 17852fi 17853rm -f core conftest.err conftest.$ac_objext \ 17854 conftest$ac_exeext conftest.$ac_ext 17855fi 17856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5 17857$as_echo "$gcc_cv_math_func_asinhl" >&6; } 17858 if test $gcc_cv_math_func_asinhl = yes; then 17859 17860cat >>confdefs.h <<_ACEOF 17861#define HAVE_ASINHL 1 17862_ACEOF 17863 17864 fi 17865 17866 17867 17868 17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5 17870$as_echo_n "checking for atan2f... " >&6; } 17871if ${gcc_cv_math_func_atan2f+:} false; then : 17872 $as_echo_n "(cached) " >&6 17873else 17874 if test x$gcc_no_link = xyes; then 17875 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17876fi 17877cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17878/* end confdefs.h. */ 17879 17880#ifdef HAVE_COMPLEX_H 17881#include <complex.h> 17882#endif 17883#ifdef HAVE_MATH_H 17884#include <math.h> 17885#endif 17886 17887int (*ptr)() = (int (*)())atan2f; 17888 17889int 17890main () 17891{ 17892 return 0; 17893} 17894 17895_ACEOF 17896if ac_fn_c_try_link "$LINENO"; then : 17897 gcc_cv_math_func_atan2f=yes 17898else 17899 gcc_cv_math_func_atan2f=no 17900fi 17901rm -f core conftest.err conftest.$ac_objext \ 17902 conftest$ac_exeext conftest.$ac_ext 17903fi 17904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5 17905$as_echo "$gcc_cv_math_func_atan2f" >&6; } 17906 if test $gcc_cv_math_func_atan2f = yes; then 17907 17908cat >>confdefs.h <<_ACEOF 17909#define HAVE_ATAN2F 1 17910_ACEOF 17911 17912 fi 17913 17914 17915 17916 17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5 17918$as_echo_n "checking for atan2... " >&6; } 17919if ${gcc_cv_math_func_atan2+:} false; then : 17920 $as_echo_n "(cached) " >&6 17921else 17922 if test x$gcc_no_link = xyes; then 17923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17924fi 17925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17926/* end confdefs.h. */ 17927 17928#ifdef HAVE_COMPLEX_H 17929#include <complex.h> 17930#endif 17931#ifdef HAVE_MATH_H 17932#include <math.h> 17933#endif 17934 17935int (*ptr)() = (int (*)())atan2; 17936 17937int 17938main () 17939{ 17940 return 0; 17941} 17942 17943_ACEOF 17944if ac_fn_c_try_link "$LINENO"; then : 17945 gcc_cv_math_func_atan2=yes 17946else 17947 gcc_cv_math_func_atan2=no 17948fi 17949rm -f core conftest.err conftest.$ac_objext \ 17950 conftest$ac_exeext conftest.$ac_ext 17951fi 17952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5 17953$as_echo "$gcc_cv_math_func_atan2" >&6; } 17954 if test $gcc_cv_math_func_atan2 = yes; then 17955 17956cat >>confdefs.h <<_ACEOF 17957#define HAVE_ATAN2 1 17958_ACEOF 17959 17960 fi 17961 17962 17963 17964 17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5 17966$as_echo_n "checking for atan2l... " >&6; } 17967if ${gcc_cv_math_func_atan2l+:} false; then : 17968 $as_echo_n "(cached) " >&6 17969else 17970 if test x$gcc_no_link = xyes; then 17971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 17972fi 17973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17974/* end confdefs.h. */ 17975 17976#ifdef HAVE_COMPLEX_H 17977#include <complex.h> 17978#endif 17979#ifdef HAVE_MATH_H 17980#include <math.h> 17981#endif 17982 17983int (*ptr)() = (int (*)())atan2l; 17984 17985int 17986main () 17987{ 17988 return 0; 17989} 17990 17991_ACEOF 17992if ac_fn_c_try_link "$LINENO"; then : 17993 gcc_cv_math_func_atan2l=yes 17994else 17995 gcc_cv_math_func_atan2l=no 17996fi 17997rm -f core conftest.err conftest.$ac_objext \ 17998 conftest$ac_exeext conftest.$ac_ext 17999fi 18000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5 18001$as_echo "$gcc_cv_math_func_atan2l" >&6; } 18002 if test $gcc_cv_math_func_atan2l = yes; then 18003 18004cat >>confdefs.h <<_ACEOF 18005#define HAVE_ATAN2L 1 18006_ACEOF 18007 18008 fi 18009 18010 18011 18012 18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5 18014$as_echo_n "checking for atanf... " >&6; } 18015if ${gcc_cv_math_func_atanf+:} false; then : 18016 $as_echo_n "(cached) " >&6 18017else 18018 if test x$gcc_no_link = xyes; then 18019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18020fi 18021cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18022/* end confdefs.h. */ 18023 18024#ifdef HAVE_COMPLEX_H 18025#include <complex.h> 18026#endif 18027#ifdef HAVE_MATH_H 18028#include <math.h> 18029#endif 18030 18031int (*ptr)() = (int (*)())atanf; 18032 18033int 18034main () 18035{ 18036 return 0; 18037} 18038 18039_ACEOF 18040if ac_fn_c_try_link "$LINENO"; then : 18041 gcc_cv_math_func_atanf=yes 18042else 18043 gcc_cv_math_func_atanf=no 18044fi 18045rm -f core conftest.err conftest.$ac_objext \ 18046 conftest$ac_exeext conftest.$ac_ext 18047fi 18048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5 18049$as_echo "$gcc_cv_math_func_atanf" >&6; } 18050 if test $gcc_cv_math_func_atanf = yes; then 18051 18052cat >>confdefs.h <<_ACEOF 18053#define HAVE_ATANF 1 18054_ACEOF 18055 18056 fi 18057 18058 18059 18060 18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5 18062$as_echo_n "checking for atan... " >&6; } 18063if ${gcc_cv_math_func_atan+:} false; then : 18064 $as_echo_n "(cached) " >&6 18065else 18066 if test x$gcc_no_link = xyes; then 18067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18068fi 18069cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18070/* end confdefs.h. */ 18071 18072#ifdef HAVE_COMPLEX_H 18073#include <complex.h> 18074#endif 18075#ifdef HAVE_MATH_H 18076#include <math.h> 18077#endif 18078 18079int (*ptr)() = (int (*)())atan; 18080 18081int 18082main () 18083{ 18084 return 0; 18085} 18086 18087_ACEOF 18088if ac_fn_c_try_link "$LINENO"; then : 18089 gcc_cv_math_func_atan=yes 18090else 18091 gcc_cv_math_func_atan=no 18092fi 18093rm -f core conftest.err conftest.$ac_objext \ 18094 conftest$ac_exeext conftest.$ac_ext 18095fi 18096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5 18097$as_echo "$gcc_cv_math_func_atan" >&6; } 18098 if test $gcc_cv_math_func_atan = yes; then 18099 18100cat >>confdefs.h <<_ACEOF 18101#define HAVE_ATAN 1 18102_ACEOF 18103 18104 fi 18105 18106 18107 18108 18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5 18110$as_echo_n "checking for atanl... " >&6; } 18111if ${gcc_cv_math_func_atanl+:} false; then : 18112 $as_echo_n "(cached) " >&6 18113else 18114 if test x$gcc_no_link = xyes; then 18115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18116fi 18117cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18118/* end confdefs.h. */ 18119 18120#ifdef HAVE_COMPLEX_H 18121#include <complex.h> 18122#endif 18123#ifdef HAVE_MATH_H 18124#include <math.h> 18125#endif 18126 18127int (*ptr)() = (int (*)())atanl; 18128 18129int 18130main () 18131{ 18132 return 0; 18133} 18134 18135_ACEOF 18136if ac_fn_c_try_link "$LINENO"; then : 18137 gcc_cv_math_func_atanl=yes 18138else 18139 gcc_cv_math_func_atanl=no 18140fi 18141rm -f core conftest.err conftest.$ac_objext \ 18142 conftest$ac_exeext conftest.$ac_ext 18143fi 18144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5 18145$as_echo "$gcc_cv_math_func_atanl" >&6; } 18146 if test $gcc_cv_math_func_atanl = yes; then 18147 18148cat >>confdefs.h <<_ACEOF 18149#define HAVE_ATANL 1 18150_ACEOF 18151 18152 fi 18153 18154 18155 18156 18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5 18158$as_echo_n "checking for atanhf... " >&6; } 18159if ${gcc_cv_math_func_atanhf+:} false; then : 18160 $as_echo_n "(cached) " >&6 18161else 18162 if test x$gcc_no_link = xyes; then 18163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18164fi 18165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18166/* end confdefs.h. */ 18167 18168#ifdef HAVE_COMPLEX_H 18169#include <complex.h> 18170#endif 18171#ifdef HAVE_MATH_H 18172#include <math.h> 18173#endif 18174 18175int (*ptr)() = (int (*)())atanhf; 18176 18177int 18178main () 18179{ 18180 return 0; 18181} 18182 18183_ACEOF 18184if ac_fn_c_try_link "$LINENO"; then : 18185 gcc_cv_math_func_atanhf=yes 18186else 18187 gcc_cv_math_func_atanhf=no 18188fi 18189rm -f core conftest.err conftest.$ac_objext \ 18190 conftest$ac_exeext conftest.$ac_ext 18191fi 18192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5 18193$as_echo "$gcc_cv_math_func_atanhf" >&6; } 18194 if test $gcc_cv_math_func_atanhf = yes; then 18195 18196cat >>confdefs.h <<_ACEOF 18197#define HAVE_ATANHF 1 18198_ACEOF 18199 18200 fi 18201 18202 18203 18204 18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5 18206$as_echo_n "checking for atanh... " >&6; } 18207if ${gcc_cv_math_func_atanh+:} false; then : 18208 $as_echo_n "(cached) " >&6 18209else 18210 if test x$gcc_no_link = xyes; then 18211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18212fi 18213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18214/* end confdefs.h. */ 18215 18216#ifdef HAVE_COMPLEX_H 18217#include <complex.h> 18218#endif 18219#ifdef HAVE_MATH_H 18220#include <math.h> 18221#endif 18222 18223int (*ptr)() = (int (*)())atanh; 18224 18225int 18226main () 18227{ 18228 return 0; 18229} 18230 18231_ACEOF 18232if ac_fn_c_try_link "$LINENO"; then : 18233 gcc_cv_math_func_atanh=yes 18234else 18235 gcc_cv_math_func_atanh=no 18236fi 18237rm -f core conftest.err conftest.$ac_objext \ 18238 conftest$ac_exeext conftest.$ac_ext 18239fi 18240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5 18241$as_echo "$gcc_cv_math_func_atanh" >&6; } 18242 if test $gcc_cv_math_func_atanh = yes; then 18243 18244cat >>confdefs.h <<_ACEOF 18245#define HAVE_ATANH 1 18246_ACEOF 18247 18248 fi 18249 18250 18251 18252 18253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5 18254$as_echo_n "checking for atanhl... " >&6; } 18255if ${gcc_cv_math_func_atanhl+:} false; then : 18256 $as_echo_n "(cached) " >&6 18257else 18258 if test x$gcc_no_link = xyes; then 18259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18260fi 18261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18262/* end confdefs.h. */ 18263 18264#ifdef HAVE_COMPLEX_H 18265#include <complex.h> 18266#endif 18267#ifdef HAVE_MATH_H 18268#include <math.h> 18269#endif 18270 18271int (*ptr)() = (int (*)())atanhl; 18272 18273int 18274main () 18275{ 18276 return 0; 18277} 18278 18279_ACEOF 18280if ac_fn_c_try_link "$LINENO"; then : 18281 gcc_cv_math_func_atanhl=yes 18282else 18283 gcc_cv_math_func_atanhl=no 18284fi 18285rm -f core conftest.err conftest.$ac_objext \ 18286 conftest$ac_exeext conftest.$ac_ext 18287fi 18288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5 18289$as_echo "$gcc_cv_math_func_atanhl" >&6; } 18290 if test $gcc_cv_math_func_atanhl = yes; then 18291 18292cat >>confdefs.h <<_ACEOF 18293#define HAVE_ATANHL 1 18294_ACEOF 18295 18296 fi 18297 18298 18299 18300 18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5 18302$as_echo_n "checking for cargf... " >&6; } 18303if ${gcc_cv_math_func_cargf+:} false; then : 18304 $as_echo_n "(cached) " >&6 18305else 18306 if test x$gcc_no_link = xyes; then 18307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18308fi 18309cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18310/* end confdefs.h. */ 18311 18312#ifdef HAVE_COMPLEX_H 18313#include <complex.h> 18314#endif 18315#ifdef HAVE_MATH_H 18316#include <math.h> 18317#endif 18318 18319int (*ptr)() = (int (*)())cargf; 18320 18321int 18322main () 18323{ 18324 return 0; 18325} 18326 18327_ACEOF 18328if ac_fn_c_try_link "$LINENO"; then : 18329 gcc_cv_math_func_cargf=yes 18330else 18331 gcc_cv_math_func_cargf=no 18332fi 18333rm -f core conftest.err conftest.$ac_objext \ 18334 conftest$ac_exeext conftest.$ac_ext 18335fi 18336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5 18337$as_echo "$gcc_cv_math_func_cargf" >&6; } 18338 if test $gcc_cv_math_func_cargf = yes; then 18339 18340cat >>confdefs.h <<_ACEOF 18341#define HAVE_CARGF 1 18342_ACEOF 18343 18344 fi 18345 18346 18347 18348 18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5 18350$as_echo_n "checking for carg... " >&6; } 18351if ${gcc_cv_math_func_carg+:} false; then : 18352 $as_echo_n "(cached) " >&6 18353else 18354 if test x$gcc_no_link = xyes; then 18355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18356fi 18357cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18358/* end confdefs.h. */ 18359 18360#ifdef HAVE_COMPLEX_H 18361#include <complex.h> 18362#endif 18363#ifdef HAVE_MATH_H 18364#include <math.h> 18365#endif 18366 18367int (*ptr)() = (int (*)())carg; 18368 18369int 18370main () 18371{ 18372 return 0; 18373} 18374 18375_ACEOF 18376if ac_fn_c_try_link "$LINENO"; then : 18377 gcc_cv_math_func_carg=yes 18378else 18379 gcc_cv_math_func_carg=no 18380fi 18381rm -f core conftest.err conftest.$ac_objext \ 18382 conftest$ac_exeext conftest.$ac_ext 18383fi 18384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5 18385$as_echo "$gcc_cv_math_func_carg" >&6; } 18386 if test $gcc_cv_math_func_carg = yes; then 18387 18388cat >>confdefs.h <<_ACEOF 18389#define HAVE_CARG 1 18390_ACEOF 18391 18392 fi 18393 18394 18395 18396 18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5 18398$as_echo_n "checking for cargl... " >&6; } 18399if ${gcc_cv_math_func_cargl+:} false; then : 18400 $as_echo_n "(cached) " >&6 18401else 18402 if test x$gcc_no_link = xyes; then 18403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18404fi 18405cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18406/* end confdefs.h. */ 18407 18408#ifdef HAVE_COMPLEX_H 18409#include <complex.h> 18410#endif 18411#ifdef HAVE_MATH_H 18412#include <math.h> 18413#endif 18414 18415int (*ptr)() = (int (*)())cargl; 18416 18417int 18418main () 18419{ 18420 return 0; 18421} 18422 18423_ACEOF 18424if ac_fn_c_try_link "$LINENO"; then : 18425 gcc_cv_math_func_cargl=yes 18426else 18427 gcc_cv_math_func_cargl=no 18428fi 18429rm -f core conftest.err conftest.$ac_objext \ 18430 conftest$ac_exeext conftest.$ac_ext 18431fi 18432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5 18433$as_echo "$gcc_cv_math_func_cargl" >&6; } 18434 if test $gcc_cv_math_func_cargl = yes; then 18435 18436cat >>confdefs.h <<_ACEOF 18437#define HAVE_CARGL 1 18438_ACEOF 18439 18440 fi 18441 18442 18443 18444 18445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5 18446$as_echo_n "checking for ceilf... " >&6; } 18447if ${gcc_cv_math_func_ceilf+:} false; then : 18448 $as_echo_n "(cached) " >&6 18449else 18450 if test x$gcc_no_link = xyes; then 18451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18452fi 18453cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18454/* end confdefs.h. */ 18455 18456#ifdef HAVE_COMPLEX_H 18457#include <complex.h> 18458#endif 18459#ifdef HAVE_MATH_H 18460#include <math.h> 18461#endif 18462 18463int (*ptr)() = (int (*)())ceilf; 18464 18465int 18466main () 18467{ 18468 return 0; 18469} 18470 18471_ACEOF 18472if ac_fn_c_try_link "$LINENO"; then : 18473 gcc_cv_math_func_ceilf=yes 18474else 18475 gcc_cv_math_func_ceilf=no 18476fi 18477rm -f core conftest.err conftest.$ac_objext \ 18478 conftest$ac_exeext conftest.$ac_ext 18479fi 18480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5 18481$as_echo "$gcc_cv_math_func_ceilf" >&6; } 18482 if test $gcc_cv_math_func_ceilf = yes; then 18483 18484cat >>confdefs.h <<_ACEOF 18485#define HAVE_CEILF 1 18486_ACEOF 18487 18488 fi 18489 18490 18491 18492 18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5 18494$as_echo_n "checking for ceil... " >&6; } 18495if ${gcc_cv_math_func_ceil+:} false; then : 18496 $as_echo_n "(cached) " >&6 18497else 18498 if test x$gcc_no_link = xyes; then 18499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18500fi 18501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18502/* end confdefs.h. */ 18503 18504#ifdef HAVE_COMPLEX_H 18505#include <complex.h> 18506#endif 18507#ifdef HAVE_MATH_H 18508#include <math.h> 18509#endif 18510 18511int (*ptr)() = (int (*)())ceil; 18512 18513int 18514main () 18515{ 18516 return 0; 18517} 18518 18519_ACEOF 18520if ac_fn_c_try_link "$LINENO"; then : 18521 gcc_cv_math_func_ceil=yes 18522else 18523 gcc_cv_math_func_ceil=no 18524fi 18525rm -f core conftest.err conftest.$ac_objext \ 18526 conftest$ac_exeext conftest.$ac_ext 18527fi 18528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5 18529$as_echo "$gcc_cv_math_func_ceil" >&6; } 18530 if test $gcc_cv_math_func_ceil = yes; then 18531 18532cat >>confdefs.h <<_ACEOF 18533#define HAVE_CEIL 1 18534_ACEOF 18535 18536 fi 18537 18538 18539 18540 18541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5 18542$as_echo_n "checking for ceill... " >&6; } 18543if ${gcc_cv_math_func_ceill+:} false; then : 18544 $as_echo_n "(cached) " >&6 18545else 18546 if test x$gcc_no_link = xyes; then 18547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18548fi 18549cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18550/* end confdefs.h. */ 18551 18552#ifdef HAVE_COMPLEX_H 18553#include <complex.h> 18554#endif 18555#ifdef HAVE_MATH_H 18556#include <math.h> 18557#endif 18558 18559int (*ptr)() = (int (*)())ceill; 18560 18561int 18562main () 18563{ 18564 return 0; 18565} 18566 18567_ACEOF 18568if ac_fn_c_try_link "$LINENO"; then : 18569 gcc_cv_math_func_ceill=yes 18570else 18571 gcc_cv_math_func_ceill=no 18572fi 18573rm -f core conftest.err conftest.$ac_objext \ 18574 conftest$ac_exeext conftest.$ac_ext 18575fi 18576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5 18577$as_echo "$gcc_cv_math_func_ceill" >&6; } 18578 if test $gcc_cv_math_func_ceill = yes; then 18579 18580cat >>confdefs.h <<_ACEOF 18581#define HAVE_CEILL 1 18582_ACEOF 18583 18584 fi 18585 18586 18587 18588 18589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5 18590$as_echo_n "checking for copysignf... " >&6; } 18591if ${gcc_cv_math_func_copysignf+:} false; then : 18592 $as_echo_n "(cached) " >&6 18593else 18594 if test x$gcc_no_link = xyes; then 18595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18596fi 18597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18598/* end confdefs.h. */ 18599 18600#ifdef HAVE_COMPLEX_H 18601#include <complex.h> 18602#endif 18603#ifdef HAVE_MATH_H 18604#include <math.h> 18605#endif 18606 18607int (*ptr)() = (int (*)())copysignf; 18608 18609int 18610main () 18611{ 18612 return 0; 18613} 18614 18615_ACEOF 18616if ac_fn_c_try_link "$LINENO"; then : 18617 gcc_cv_math_func_copysignf=yes 18618else 18619 gcc_cv_math_func_copysignf=no 18620fi 18621rm -f core conftest.err conftest.$ac_objext \ 18622 conftest$ac_exeext conftest.$ac_ext 18623fi 18624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5 18625$as_echo "$gcc_cv_math_func_copysignf" >&6; } 18626 if test $gcc_cv_math_func_copysignf = yes; then 18627 18628cat >>confdefs.h <<_ACEOF 18629#define HAVE_COPYSIGNF 1 18630_ACEOF 18631 18632 fi 18633 18634 18635 18636 18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5 18638$as_echo_n "checking for copysign... " >&6; } 18639if ${gcc_cv_math_func_copysign+:} false; then : 18640 $as_echo_n "(cached) " >&6 18641else 18642 if test x$gcc_no_link = xyes; then 18643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18644fi 18645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18646/* end confdefs.h. */ 18647 18648#ifdef HAVE_COMPLEX_H 18649#include <complex.h> 18650#endif 18651#ifdef HAVE_MATH_H 18652#include <math.h> 18653#endif 18654 18655int (*ptr)() = (int (*)())copysign; 18656 18657int 18658main () 18659{ 18660 return 0; 18661} 18662 18663_ACEOF 18664if ac_fn_c_try_link "$LINENO"; then : 18665 gcc_cv_math_func_copysign=yes 18666else 18667 gcc_cv_math_func_copysign=no 18668fi 18669rm -f core conftest.err conftest.$ac_objext \ 18670 conftest$ac_exeext conftest.$ac_ext 18671fi 18672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5 18673$as_echo "$gcc_cv_math_func_copysign" >&6; } 18674 if test $gcc_cv_math_func_copysign = yes; then 18675 18676cat >>confdefs.h <<_ACEOF 18677#define HAVE_COPYSIGN 1 18678_ACEOF 18679 18680 fi 18681 18682 18683 18684 18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5 18686$as_echo_n "checking for copysignl... " >&6; } 18687if ${gcc_cv_math_func_copysignl+:} false; then : 18688 $as_echo_n "(cached) " >&6 18689else 18690 if test x$gcc_no_link = xyes; then 18691 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18692fi 18693cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18694/* end confdefs.h. */ 18695 18696#ifdef HAVE_COMPLEX_H 18697#include <complex.h> 18698#endif 18699#ifdef HAVE_MATH_H 18700#include <math.h> 18701#endif 18702 18703int (*ptr)() = (int (*)())copysignl; 18704 18705int 18706main () 18707{ 18708 return 0; 18709} 18710 18711_ACEOF 18712if ac_fn_c_try_link "$LINENO"; then : 18713 gcc_cv_math_func_copysignl=yes 18714else 18715 gcc_cv_math_func_copysignl=no 18716fi 18717rm -f core conftest.err conftest.$ac_objext \ 18718 conftest$ac_exeext conftest.$ac_ext 18719fi 18720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5 18721$as_echo "$gcc_cv_math_func_copysignl" >&6; } 18722 if test $gcc_cv_math_func_copysignl = yes; then 18723 18724cat >>confdefs.h <<_ACEOF 18725#define HAVE_COPYSIGNL 1 18726_ACEOF 18727 18728 fi 18729 18730 18731 18732 18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5 18734$as_echo_n "checking for cosf... " >&6; } 18735if ${gcc_cv_math_func_cosf+:} false; then : 18736 $as_echo_n "(cached) " >&6 18737else 18738 if test x$gcc_no_link = xyes; then 18739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18740fi 18741cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18742/* end confdefs.h. */ 18743 18744#ifdef HAVE_COMPLEX_H 18745#include <complex.h> 18746#endif 18747#ifdef HAVE_MATH_H 18748#include <math.h> 18749#endif 18750 18751int (*ptr)() = (int (*)())cosf; 18752 18753int 18754main () 18755{ 18756 return 0; 18757} 18758 18759_ACEOF 18760if ac_fn_c_try_link "$LINENO"; then : 18761 gcc_cv_math_func_cosf=yes 18762else 18763 gcc_cv_math_func_cosf=no 18764fi 18765rm -f core conftest.err conftest.$ac_objext \ 18766 conftest$ac_exeext conftest.$ac_ext 18767fi 18768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5 18769$as_echo "$gcc_cv_math_func_cosf" >&6; } 18770 if test $gcc_cv_math_func_cosf = yes; then 18771 18772cat >>confdefs.h <<_ACEOF 18773#define HAVE_COSF 1 18774_ACEOF 18775 18776 fi 18777 18778 18779 18780 18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5 18782$as_echo_n "checking for cos... " >&6; } 18783if ${gcc_cv_math_func_cos+:} false; then : 18784 $as_echo_n "(cached) " >&6 18785else 18786 if test x$gcc_no_link = xyes; then 18787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18788fi 18789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18790/* end confdefs.h. */ 18791 18792#ifdef HAVE_COMPLEX_H 18793#include <complex.h> 18794#endif 18795#ifdef HAVE_MATH_H 18796#include <math.h> 18797#endif 18798 18799int (*ptr)() = (int (*)())cos; 18800 18801int 18802main () 18803{ 18804 return 0; 18805} 18806 18807_ACEOF 18808if ac_fn_c_try_link "$LINENO"; then : 18809 gcc_cv_math_func_cos=yes 18810else 18811 gcc_cv_math_func_cos=no 18812fi 18813rm -f core conftest.err conftest.$ac_objext \ 18814 conftest$ac_exeext conftest.$ac_ext 18815fi 18816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5 18817$as_echo "$gcc_cv_math_func_cos" >&6; } 18818 if test $gcc_cv_math_func_cos = yes; then 18819 18820cat >>confdefs.h <<_ACEOF 18821#define HAVE_COS 1 18822_ACEOF 18823 18824 fi 18825 18826 18827 18828 18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5 18830$as_echo_n "checking for cosl... " >&6; } 18831if ${gcc_cv_math_func_cosl+:} false; then : 18832 $as_echo_n "(cached) " >&6 18833else 18834 if test x$gcc_no_link = xyes; then 18835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18836fi 18837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18838/* end confdefs.h. */ 18839 18840#ifdef HAVE_COMPLEX_H 18841#include <complex.h> 18842#endif 18843#ifdef HAVE_MATH_H 18844#include <math.h> 18845#endif 18846 18847int (*ptr)() = (int (*)())cosl; 18848 18849int 18850main () 18851{ 18852 return 0; 18853} 18854 18855_ACEOF 18856if ac_fn_c_try_link "$LINENO"; then : 18857 gcc_cv_math_func_cosl=yes 18858else 18859 gcc_cv_math_func_cosl=no 18860fi 18861rm -f core conftest.err conftest.$ac_objext \ 18862 conftest$ac_exeext conftest.$ac_ext 18863fi 18864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5 18865$as_echo "$gcc_cv_math_func_cosl" >&6; } 18866 if test $gcc_cv_math_func_cosl = yes; then 18867 18868cat >>confdefs.h <<_ACEOF 18869#define HAVE_COSL 1 18870_ACEOF 18871 18872 fi 18873 18874 18875 18876 18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5 18878$as_echo_n "checking for ccosf... " >&6; } 18879if ${gcc_cv_math_func_ccosf+:} false; then : 18880 $as_echo_n "(cached) " >&6 18881else 18882 if test x$gcc_no_link = xyes; then 18883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18884fi 18885cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18886/* end confdefs.h. */ 18887 18888#ifdef HAVE_COMPLEX_H 18889#include <complex.h> 18890#endif 18891#ifdef HAVE_MATH_H 18892#include <math.h> 18893#endif 18894 18895int (*ptr)() = (int (*)())ccosf; 18896 18897int 18898main () 18899{ 18900 return 0; 18901} 18902 18903_ACEOF 18904if ac_fn_c_try_link "$LINENO"; then : 18905 gcc_cv_math_func_ccosf=yes 18906else 18907 gcc_cv_math_func_ccosf=no 18908fi 18909rm -f core conftest.err conftest.$ac_objext \ 18910 conftest$ac_exeext conftest.$ac_ext 18911fi 18912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5 18913$as_echo "$gcc_cv_math_func_ccosf" >&6; } 18914 if test $gcc_cv_math_func_ccosf = yes; then 18915 18916cat >>confdefs.h <<_ACEOF 18917#define HAVE_CCOSF 1 18918_ACEOF 18919 18920 fi 18921 18922 18923 18924 18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5 18926$as_echo_n "checking for ccos... " >&6; } 18927if ${gcc_cv_math_func_ccos+:} false; then : 18928 $as_echo_n "(cached) " >&6 18929else 18930 if test x$gcc_no_link = xyes; then 18931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18932fi 18933cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18934/* end confdefs.h. */ 18935 18936#ifdef HAVE_COMPLEX_H 18937#include <complex.h> 18938#endif 18939#ifdef HAVE_MATH_H 18940#include <math.h> 18941#endif 18942 18943int (*ptr)() = (int (*)())ccos; 18944 18945int 18946main () 18947{ 18948 return 0; 18949} 18950 18951_ACEOF 18952if ac_fn_c_try_link "$LINENO"; then : 18953 gcc_cv_math_func_ccos=yes 18954else 18955 gcc_cv_math_func_ccos=no 18956fi 18957rm -f core conftest.err conftest.$ac_objext \ 18958 conftest$ac_exeext conftest.$ac_ext 18959fi 18960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5 18961$as_echo "$gcc_cv_math_func_ccos" >&6; } 18962 if test $gcc_cv_math_func_ccos = yes; then 18963 18964cat >>confdefs.h <<_ACEOF 18965#define HAVE_CCOS 1 18966_ACEOF 18967 18968 fi 18969 18970 18971 18972 18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5 18974$as_echo_n "checking for ccosl... " >&6; } 18975if ${gcc_cv_math_func_ccosl+:} false; then : 18976 $as_echo_n "(cached) " >&6 18977else 18978 if test x$gcc_no_link = xyes; then 18979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 18980fi 18981cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18982/* end confdefs.h. */ 18983 18984#ifdef HAVE_COMPLEX_H 18985#include <complex.h> 18986#endif 18987#ifdef HAVE_MATH_H 18988#include <math.h> 18989#endif 18990 18991int (*ptr)() = (int (*)())ccosl; 18992 18993int 18994main () 18995{ 18996 return 0; 18997} 18998 18999_ACEOF 19000if ac_fn_c_try_link "$LINENO"; then : 19001 gcc_cv_math_func_ccosl=yes 19002else 19003 gcc_cv_math_func_ccosl=no 19004fi 19005rm -f core conftest.err conftest.$ac_objext \ 19006 conftest$ac_exeext conftest.$ac_ext 19007fi 19008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5 19009$as_echo "$gcc_cv_math_func_ccosl" >&6; } 19010 if test $gcc_cv_math_func_ccosl = yes; then 19011 19012cat >>confdefs.h <<_ACEOF 19013#define HAVE_CCOSL 1 19014_ACEOF 19015 19016 fi 19017 19018 19019 19020 19021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5 19022$as_echo_n "checking for coshf... " >&6; } 19023if ${gcc_cv_math_func_coshf+:} false; then : 19024 $as_echo_n "(cached) " >&6 19025else 19026 if test x$gcc_no_link = xyes; then 19027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19028fi 19029cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19030/* end confdefs.h. */ 19031 19032#ifdef HAVE_COMPLEX_H 19033#include <complex.h> 19034#endif 19035#ifdef HAVE_MATH_H 19036#include <math.h> 19037#endif 19038 19039int (*ptr)() = (int (*)())coshf; 19040 19041int 19042main () 19043{ 19044 return 0; 19045} 19046 19047_ACEOF 19048if ac_fn_c_try_link "$LINENO"; then : 19049 gcc_cv_math_func_coshf=yes 19050else 19051 gcc_cv_math_func_coshf=no 19052fi 19053rm -f core conftest.err conftest.$ac_objext \ 19054 conftest$ac_exeext conftest.$ac_ext 19055fi 19056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5 19057$as_echo "$gcc_cv_math_func_coshf" >&6; } 19058 if test $gcc_cv_math_func_coshf = yes; then 19059 19060cat >>confdefs.h <<_ACEOF 19061#define HAVE_COSHF 1 19062_ACEOF 19063 19064 fi 19065 19066 19067 19068 19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5 19070$as_echo_n "checking for cosh... " >&6; } 19071if ${gcc_cv_math_func_cosh+:} false; then : 19072 $as_echo_n "(cached) " >&6 19073else 19074 if test x$gcc_no_link = xyes; then 19075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19076fi 19077cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19078/* end confdefs.h. */ 19079 19080#ifdef HAVE_COMPLEX_H 19081#include <complex.h> 19082#endif 19083#ifdef HAVE_MATH_H 19084#include <math.h> 19085#endif 19086 19087int (*ptr)() = (int (*)())cosh; 19088 19089int 19090main () 19091{ 19092 return 0; 19093} 19094 19095_ACEOF 19096if ac_fn_c_try_link "$LINENO"; then : 19097 gcc_cv_math_func_cosh=yes 19098else 19099 gcc_cv_math_func_cosh=no 19100fi 19101rm -f core conftest.err conftest.$ac_objext \ 19102 conftest$ac_exeext conftest.$ac_ext 19103fi 19104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5 19105$as_echo "$gcc_cv_math_func_cosh" >&6; } 19106 if test $gcc_cv_math_func_cosh = yes; then 19107 19108cat >>confdefs.h <<_ACEOF 19109#define HAVE_COSH 1 19110_ACEOF 19111 19112 fi 19113 19114 19115 19116 19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5 19118$as_echo_n "checking for coshl... " >&6; } 19119if ${gcc_cv_math_func_coshl+:} false; then : 19120 $as_echo_n "(cached) " >&6 19121else 19122 if test x$gcc_no_link = xyes; then 19123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19124fi 19125cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19126/* end confdefs.h. */ 19127 19128#ifdef HAVE_COMPLEX_H 19129#include <complex.h> 19130#endif 19131#ifdef HAVE_MATH_H 19132#include <math.h> 19133#endif 19134 19135int (*ptr)() = (int (*)())coshl; 19136 19137int 19138main () 19139{ 19140 return 0; 19141} 19142 19143_ACEOF 19144if ac_fn_c_try_link "$LINENO"; then : 19145 gcc_cv_math_func_coshl=yes 19146else 19147 gcc_cv_math_func_coshl=no 19148fi 19149rm -f core conftest.err conftest.$ac_objext \ 19150 conftest$ac_exeext conftest.$ac_ext 19151fi 19152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5 19153$as_echo "$gcc_cv_math_func_coshl" >&6; } 19154 if test $gcc_cv_math_func_coshl = yes; then 19155 19156cat >>confdefs.h <<_ACEOF 19157#define HAVE_COSHL 1 19158_ACEOF 19159 19160 fi 19161 19162 19163 19164 19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5 19166$as_echo_n "checking for ccoshf... " >&6; } 19167if ${gcc_cv_math_func_ccoshf+:} false; then : 19168 $as_echo_n "(cached) " >&6 19169else 19170 if test x$gcc_no_link = xyes; then 19171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19172fi 19173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19174/* end confdefs.h. */ 19175 19176#ifdef HAVE_COMPLEX_H 19177#include <complex.h> 19178#endif 19179#ifdef HAVE_MATH_H 19180#include <math.h> 19181#endif 19182 19183int (*ptr)() = (int (*)())ccoshf; 19184 19185int 19186main () 19187{ 19188 return 0; 19189} 19190 19191_ACEOF 19192if ac_fn_c_try_link "$LINENO"; then : 19193 gcc_cv_math_func_ccoshf=yes 19194else 19195 gcc_cv_math_func_ccoshf=no 19196fi 19197rm -f core conftest.err conftest.$ac_objext \ 19198 conftest$ac_exeext conftest.$ac_ext 19199fi 19200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5 19201$as_echo "$gcc_cv_math_func_ccoshf" >&6; } 19202 if test $gcc_cv_math_func_ccoshf = yes; then 19203 19204cat >>confdefs.h <<_ACEOF 19205#define HAVE_CCOSHF 1 19206_ACEOF 19207 19208 fi 19209 19210 19211 19212 19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5 19214$as_echo_n "checking for ccosh... " >&6; } 19215if ${gcc_cv_math_func_ccosh+:} false; then : 19216 $as_echo_n "(cached) " >&6 19217else 19218 if test x$gcc_no_link = xyes; then 19219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19220fi 19221cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19222/* end confdefs.h. */ 19223 19224#ifdef HAVE_COMPLEX_H 19225#include <complex.h> 19226#endif 19227#ifdef HAVE_MATH_H 19228#include <math.h> 19229#endif 19230 19231int (*ptr)() = (int (*)())ccosh; 19232 19233int 19234main () 19235{ 19236 return 0; 19237} 19238 19239_ACEOF 19240if ac_fn_c_try_link "$LINENO"; then : 19241 gcc_cv_math_func_ccosh=yes 19242else 19243 gcc_cv_math_func_ccosh=no 19244fi 19245rm -f core conftest.err conftest.$ac_objext \ 19246 conftest$ac_exeext conftest.$ac_ext 19247fi 19248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5 19249$as_echo "$gcc_cv_math_func_ccosh" >&6; } 19250 if test $gcc_cv_math_func_ccosh = yes; then 19251 19252cat >>confdefs.h <<_ACEOF 19253#define HAVE_CCOSH 1 19254_ACEOF 19255 19256 fi 19257 19258 19259 19260 19261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5 19262$as_echo_n "checking for ccoshl... " >&6; } 19263if ${gcc_cv_math_func_ccoshl+:} false; then : 19264 $as_echo_n "(cached) " >&6 19265else 19266 if test x$gcc_no_link = xyes; then 19267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19268fi 19269cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19270/* end confdefs.h. */ 19271 19272#ifdef HAVE_COMPLEX_H 19273#include <complex.h> 19274#endif 19275#ifdef HAVE_MATH_H 19276#include <math.h> 19277#endif 19278 19279int (*ptr)() = (int (*)())ccoshl; 19280 19281int 19282main () 19283{ 19284 return 0; 19285} 19286 19287_ACEOF 19288if ac_fn_c_try_link "$LINENO"; then : 19289 gcc_cv_math_func_ccoshl=yes 19290else 19291 gcc_cv_math_func_ccoshl=no 19292fi 19293rm -f core conftest.err conftest.$ac_objext \ 19294 conftest$ac_exeext conftest.$ac_ext 19295fi 19296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5 19297$as_echo "$gcc_cv_math_func_ccoshl" >&6; } 19298 if test $gcc_cv_math_func_ccoshl = yes; then 19299 19300cat >>confdefs.h <<_ACEOF 19301#define HAVE_CCOSHL 1 19302_ACEOF 19303 19304 fi 19305 19306 19307 19308 19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5 19310$as_echo_n "checking for expf... " >&6; } 19311if ${gcc_cv_math_func_expf+:} false; then : 19312 $as_echo_n "(cached) " >&6 19313else 19314 if test x$gcc_no_link = xyes; then 19315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19316fi 19317cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19318/* end confdefs.h. */ 19319 19320#ifdef HAVE_COMPLEX_H 19321#include <complex.h> 19322#endif 19323#ifdef HAVE_MATH_H 19324#include <math.h> 19325#endif 19326 19327int (*ptr)() = (int (*)())expf; 19328 19329int 19330main () 19331{ 19332 return 0; 19333} 19334 19335_ACEOF 19336if ac_fn_c_try_link "$LINENO"; then : 19337 gcc_cv_math_func_expf=yes 19338else 19339 gcc_cv_math_func_expf=no 19340fi 19341rm -f core conftest.err conftest.$ac_objext \ 19342 conftest$ac_exeext conftest.$ac_ext 19343fi 19344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5 19345$as_echo "$gcc_cv_math_func_expf" >&6; } 19346 if test $gcc_cv_math_func_expf = yes; then 19347 19348cat >>confdefs.h <<_ACEOF 19349#define HAVE_EXPF 1 19350_ACEOF 19351 19352 fi 19353 19354 19355 19356 19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5 19358$as_echo_n "checking for exp... " >&6; } 19359if ${gcc_cv_math_func_exp+:} false; then : 19360 $as_echo_n "(cached) " >&6 19361else 19362 if test x$gcc_no_link = xyes; then 19363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19364fi 19365cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19366/* end confdefs.h. */ 19367 19368#ifdef HAVE_COMPLEX_H 19369#include <complex.h> 19370#endif 19371#ifdef HAVE_MATH_H 19372#include <math.h> 19373#endif 19374 19375int (*ptr)() = (int (*)())exp; 19376 19377int 19378main () 19379{ 19380 return 0; 19381} 19382 19383_ACEOF 19384if ac_fn_c_try_link "$LINENO"; then : 19385 gcc_cv_math_func_exp=yes 19386else 19387 gcc_cv_math_func_exp=no 19388fi 19389rm -f core conftest.err conftest.$ac_objext \ 19390 conftest$ac_exeext conftest.$ac_ext 19391fi 19392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5 19393$as_echo "$gcc_cv_math_func_exp" >&6; } 19394 if test $gcc_cv_math_func_exp = yes; then 19395 19396cat >>confdefs.h <<_ACEOF 19397#define HAVE_EXP 1 19398_ACEOF 19399 19400 fi 19401 19402 19403 19404 19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5 19406$as_echo_n "checking for expl... " >&6; } 19407if ${gcc_cv_math_func_expl+:} false; then : 19408 $as_echo_n "(cached) " >&6 19409else 19410 if test x$gcc_no_link = xyes; then 19411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19412fi 19413cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19414/* end confdefs.h. */ 19415 19416#ifdef HAVE_COMPLEX_H 19417#include <complex.h> 19418#endif 19419#ifdef HAVE_MATH_H 19420#include <math.h> 19421#endif 19422 19423int (*ptr)() = (int (*)())expl; 19424 19425int 19426main () 19427{ 19428 return 0; 19429} 19430 19431_ACEOF 19432if ac_fn_c_try_link "$LINENO"; then : 19433 gcc_cv_math_func_expl=yes 19434else 19435 gcc_cv_math_func_expl=no 19436fi 19437rm -f core conftest.err conftest.$ac_objext \ 19438 conftest$ac_exeext conftest.$ac_ext 19439fi 19440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5 19441$as_echo "$gcc_cv_math_func_expl" >&6; } 19442 if test $gcc_cv_math_func_expl = yes; then 19443 19444cat >>confdefs.h <<_ACEOF 19445#define HAVE_EXPL 1 19446_ACEOF 19447 19448 fi 19449 19450 19451 19452 19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5 19454$as_echo_n "checking for cexpf... " >&6; } 19455if ${gcc_cv_math_func_cexpf+:} false; then : 19456 $as_echo_n "(cached) " >&6 19457else 19458 if test x$gcc_no_link = xyes; then 19459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19460fi 19461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19462/* end confdefs.h. */ 19463 19464#ifdef HAVE_COMPLEX_H 19465#include <complex.h> 19466#endif 19467#ifdef HAVE_MATH_H 19468#include <math.h> 19469#endif 19470 19471int (*ptr)() = (int (*)())cexpf; 19472 19473int 19474main () 19475{ 19476 return 0; 19477} 19478 19479_ACEOF 19480if ac_fn_c_try_link "$LINENO"; then : 19481 gcc_cv_math_func_cexpf=yes 19482else 19483 gcc_cv_math_func_cexpf=no 19484fi 19485rm -f core conftest.err conftest.$ac_objext \ 19486 conftest$ac_exeext conftest.$ac_ext 19487fi 19488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5 19489$as_echo "$gcc_cv_math_func_cexpf" >&6; } 19490 if test $gcc_cv_math_func_cexpf = yes; then 19491 19492cat >>confdefs.h <<_ACEOF 19493#define HAVE_CEXPF 1 19494_ACEOF 19495 19496 fi 19497 19498 19499 19500 19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5 19502$as_echo_n "checking for cexp... " >&6; } 19503if ${gcc_cv_math_func_cexp+:} false; then : 19504 $as_echo_n "(cached) " >&6 19505else 19506 if test x$gcc_no_link = xyes; then 19507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19508fi 19509cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19510/* end confdefs.h. */ 19511 19512#ifdef HAVE_COMPLEX_H 19513#include <complex.h> 19514#endif 19515#ifdef HAVE_MATH_H 19516#include <math.h> 19517#endif 19518 19519int (*ptr)() = (int (*)())cexp; 19520 19521int 19522main () 19523{ 19524 return 0; 19525} 19526 19527_ACEOF 19528if ac_fn_c_try_link "$LINENO"; then : 19529 gcc_cv_math_func_cexp=yes 19530else 19531 gcc_cv_math_func_cexp=no 19532fi 19533rm -f core conftest.err conftest.$ac_objext \ 19534 conftest$ac_exeext conftest.$ac_ext 19535fi 19536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5 19537$as_echo "$gcc_cv_math_func_cexp" >&6; } 19538 if test $gcc_cv_math_func_cexp = yes; then 19539 19540cat >>confdefs.h <<_ACEOF 19541#define HAVE_CEXP 1 19542_ACEOF 19543 19544 fi 19545 19546 19547 19548 19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5 19550$as_echo_n "checking for cexpl... " >&6; } 19551if ${gcc_cv_math_func_cexpl+:} false; then : 19552 $as_echo_n "(cached) " >&6 19553else 19554 if test x$gcc_no_link = xyes; then 19555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19556fi 19557cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19558/* end confdefs.h. */ 19559 19560#ifdef HAVE_COMPLEX_H 19561#include <complex.h> 19562#endif 19563#ifdef HAVE_MATH_H 19564#include <math.h> 19565#endif 19566 19567int (*ptr)() = (int (*)())cexpl; 19568 19569int 19570main () 19571{ 19572 return 0; 19573} 19574 19575_ACEOF 19576if ac_fn_c_try_link "$LINENO"; then : 19577 gcc_cv_math_func_cexpl=yes 19578else 19579 gcc_cv_math_func_cexpl=no 19580fi 19581rm -f core conftest.err conftest.$ac_objext \ 19582 conftest$ac_exeext conftest.$ac_ext 19583fi 19584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5 19585$as_echo "$gcc_cv_math_func_cexpl" >&6; } 19586 if test $gcc_cv_math_func_cexpl = yes; then 19587 19588cat >>confdefs.h <<_ACEOF 19589#define HAVE_CEXPL 1 19590_ACEOF 19591 19592 fi 19593 19594 19595 19596 19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5 19598$as_echo_n "checking for fabsf... " >&6; } 19599if ${gcc_cv_math_func_fabsf+:} false; then : 19600 $as_echo_n "(cached) " >&6 19601else 19602 if test x$gcc_no_link = xyes; then 19603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19604fi 19605cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19606/* end confdefs.h. */ 19607 19608#ifdef HAVE_COMPLEX_H 19609#include <complex.h> 19610#endif 19611#ifdef HAVE_MATH_H 19612#include <math.h> 19613#endif 19614 19615int (*ptr)() = (int (*)())fabsf; 19616 19617int 19618main () 19619{ 19620 return 0; 19621} 19622 19623_ACEOF 19624if ac_fn_c_try_link "$LINENO"; then : 19625 gcc_cv_math_func_fabsf=yes 19626else 19627 gcc_cv_math_func_fabsf=no 19628fi 19629rm -f core conftest.err conftest.$ac_objext \ 19630 conftest$ac_exeext conftest.$ac_ext 19631fi 19632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5 19633$as_echo "$gcc_cv_math_func_fabsf" >&6; } 19634 if test $gcc_cv_math_func_fabsf = yes; then 19635 19636cat >>confdefs.h <<_ACEOF 19637#define HAVE_FABSF 1 19638_ACEOF 19639 19640 fi 19641 19642 19643 19644 19645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5 19646$as_echo_n "checking for fabs... " >&6; } 19647if ${gcc_cv_math_func_fabs+:} false; then : 19648 $as_echo_n "(cached) " >&6 19649else 19650 if test x$gcc_no_link = xyes; then 19651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19652fi 19653cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19654/* end confdefs.h. */ 19655 19656#ifdef HAVE_COMPLEX_H 19657#include <complex.h> 19658#endif 19659#ifdef HAVE_MATH_H 19660#include <math.h> 19661#endif 19662 19663int (*ptr)() = (int (*)())fabs; 19664 19665int 19666main () 19667{ 19668 return 0; 19669} 19670 19671_ACEOF 19672if ac_fn_c_try_link "$LINENO"; then : 19673 gcc_cv_math_func_fabs=yes 19674else 19675 gcc_cv_math_func_fabs=no 19676fi 19677rm -f core conftest.err conftest.$ac_objext \ 19678 conftest$ac_exeext conftest.$ac_ext 19679fi 19680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5 19681$as_echo "$gcc_cv_math_func_fabs" >&6; } 19682 if test $gcc_cv_math_func_fabs = yes; then 19683 19684cat >>confdefs.h <<_ACEOF 19685#define HAVE_FABS 1 19686_ACEOF 19687 19688 fi 19689 19690 19691 19692 19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5 19694$as_echo_n "checking for fabsl... " >&6; } 19695if ${gcc_cv_math_func_fabsl+:} false; then : 19696 $as_echo_n "(cached) " >&6 19697else 19698 if test x$gcc_no_link = xyes; then 19699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19700fi 19701cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19702/* end confdefs.h. */ 19703 19704#ifdef HAVE_COMPLEX_H 19705#include <complex.h> 19706#endif 19707#ifdef HAVE_MATH_H 19708#include <math.h> 19709#endif 19710 19711int (*ptr)() = (int (*)())fabsl; 19712 19713int 19714main () 19715{ 19716 return 0; 19717} 19718 19719_ACEOF 19720if ac_fn_c_try_link "$LINENO"; then : 19721 gcc_cv_math_func_fabsl=yes 19722else 19723 gcc_cv_math_func_fabsl=no 19724fi 19725rm -f core conftest.err conftest.$ac_objext \ 19726 conftest$ac_exeext conftest.$ac_ext 19727fi 19728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5 19729$as_echo "$gcc_cv_math_func_fabsl" >&6; } 19730 if test $gcc_cv_math_func_fabsl = yes; then 19731 19732cat >>confdefs.h <<_ACEOF 19733#define HAVE_FABSL 1 19734_ACEOF 19735 19736 fi 19737 19738 19739 19740 19741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5 19742$as_echo_n "checking for cabsf... " >&6; } 19743if ${gcc_cv_math_func_cabsf+:} false; then : 19744 $as_echo_n "(cached) " >&6 19745else 19746 if test x$gcc_no_link = xyes; then 19747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19748fi 19749cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19750/* end confdefs.h. */ 19751 19752#ifdef HAVE_COMPLEX_H 19753#include <complex.h> 19754#endif 19755#ifdef HAVE_MATH_H 19756#include <math.h> 19757#endif 19758 19759int (*ptr)() = (int (*)())cabsf; 19760 19761int 19762main () 19763{ 19764 return 0; 19765} 19766 19767_ACEOF 19768if ac_fn_c_try_link "$LINENO"; then : 19769 gcc_cv_math_func_cabsf=yes 19770else 19771 gcc_cv_math_func_cabsf=no 19772fi 19773rm -f core conftest.err conftest.$ac_objext \ 19774 conftest$ac_exeext conftest.$ac_ext 19775fi 19776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5 19777$as_echo "$gcc_cv_math_func_cabsf" >&6; } 19778 if test $gcc_cv_math_func_cabsf = yes; then 19779 19780cat >>confdefs.h <<_ACEOF 19781#define HAVE_CABSF 1 19782_ACEOF 19783 19784 fi 19785 19786 19787 19788 19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5 19790$as_echo_n "checking for cabs... " >&6; } 19791if ${gcc_cv_math_func_cabs+:} false; then : 19792 $as_echo_n "(cached) " >&6 19793else 19794 if test x$gcc_no_link = xyes; then 19795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19796fi 19797cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19798/* end confdefs.h. */ 19799 19800#ifdef HAVE_COMPLEX_H 19801#include <complex.h> 19802#endif 19803#ifdef HAVE_MATH_H 19804#include <math.h> 19805#endif 19806 19807int (*ptr)() = (int (*)())cabs; 19808 19809int 19810main () 19811{ 19812 return 0; 19813} 19814 19815_ACEOF 19816if ac_fn_c_try_link "$LINENO"; then : 19817 gcc_cv_math_func_cabs=yes 19818else 19819 gcc_cv_math_func_cabs=no 19820fi 19821rm -f core conftest.err conftest.$ac_objext \ 19822 conftest$ac_exeext conftest.$ac_ext 19823fi 19824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5 19825$as_echo "$gcc_cv_math_func_cabs" >&6; } 19826 if test $gcc_cv_math_func_cabs = yes; then 19827 19828cat >>confdefs.h <<_ACEOF 19829#define HAVE_CABS 1 19830_ACEOF 19831 19832 fi 19833 19834 19835 19836 19837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5 19838$as_echo_n "checking for cabsl... " >&6; } 19839if ${gcc_cv_math_func_cabsl+:} false; then : 19840 $as_echo_n "(cached) " >&6 19841else 19842 if test x$gcc_no_link = xyes; then 19843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19844fi 19845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19846/* end confdefs.h. */ 19847 19848#ifdef HAVE_COMPLEX_H 19849#include <complex.h> 19850#endif 19851#ifdef HAVE_MATH_H 19852#include <math.h> 19853#endif 19854 19855int (*ptr)() = (int (*)())cabsl; 19856 19857int 19858main () 19859{ 19860 return 0; 19861} 19862 19863_ACEOF 19864if ac_fn_c_try_link "$LINENO"; then : 19865 gcc_cv_math_func_cabsl=yes 19866else 19867 gcc_cv_math_func_cabsl=no 19868fi 19869rm -f core conftest.err conftest.$ac_objext \ 19870 conftest$ac_exeext conftest.$ac_ext 19871fi 19872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5 19873$as_echo "$gcc_cv_math_func_cabsl" >&6; } 19874 if test $gcc_cv_math_func_cabsl = yes; then 19875 19876cat >>confdefs.h <<_ACEOF 19877#define HAVE_CABSL 1 19878_ACEOF 19879 19880 fi 19881 19882 19883 19884 19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5 19886$as_echo_n "checking for floorf... " >&6; } 19887if ${gcc_cv_math_func_floorf+:} false; then : 19888 $as_echo_n "(cached) " >&6 19889else 19890 if test x$gcc_no_link = xyes; then 19891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19892fi 19893cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19894/* end confdefs.h. */ 19895 19896#ifdef HAVE_COMPLEX_H 19897#include <complex.h> 19898#endif 19899#ifdef HAVE_MATH_H 19900#include <math.h> 19901#endif 19902 19903int (*ptr)() = (int (*)())floorf; 19904 19905int 19906main () 19907{ 19908 return 0; 19909} 19910 19911_ACEOF 19912if ac_fn_c_try_link "$LINENO"; then : 19913 gcc_cv_math_func_floorf=yes 19914else 19915 gcc_cv_math_func_floorf=no 19916fi 19917rm -f core conftest.err conftest.$ac_objext \ 19918 conftest$ac_exeext conftest.$ac_ext 19919fi 19920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5 19921$as_echo "$gcc_cv_math_func_floorf" >&6; } 19922 if test $gcc_cv_math_func_floorf = yes; then 19923 19924cat >>confdefs.h <<_ACEOF 19925#define HAVE_FLOORF 1 19926_ACEOF 19927 19928 fi 19929 19930 19931 19932 19933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5 19934$as_echo_n "checking for floor... " >&6; } 19935if ${gcc_cv_math_func_floor+:} false; then : 19936 $as_echo_n "(cached) " >&6 19937else 19938 if test x$gcc_no_link = xyes; then 19939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19940fi 19941cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19942/* end confdefs.h. */ 19943 19944#ifdef HAVE_COMPLEX_H 19945#include <complex.h> 19946#endif 19947#ifdef HAVE_MATH_H 19948#include <math.h> 19949#endif 19950 19951int (*ptr)() = (int (*)())floor; 19952 19953int 19954main () 19955{ 19956 return 0; 19957} 19958 19959_ACEOF 19960if ac_fn_c_try_link "$LINENO"; then : 19961 gcc_cv_math_func_floor=yes 19962else 19963 gcc_cv_math_func_floor=no 19964fi 19965rm -f core conftest.err conftest.$ac_objext \ 19966 conftest$ac_exeext conftest.$ac_ext 19967fi 19968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5 19969$as_echo "$gcc_cv_math_func_floor" >&6; } 19970 if test $gcc_cv_math_func_floor = yes; then 19971 19972cat >>confdefs.h <<_ACEOF 19973#define HAVE_FLOOR 1 19974_ACEOF 19975 19976 fi 19977 19978 19979 19980 19981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5 19982$as_echo_n "checking for floorl... " >&6; } 19983if ${gcc_cv_math_func_floorl+:} false; then : 19984 $as_echo_n "(cached) " >&6 19985else 19986 if test x$gcc_no_link = xyes; then 19987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 19988fi 19989cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19990/* end confdefs.h. */ 19991 19992#ifdef HAVE_COMPLEX_H 19993#include <complex.h> 19994#endif 19995#ifdef HAVE_MATH_H 19996#include <math.h> 19997#endif 19998 19999int (*ptr)() = (int (*)())floorl; 20000 20001int 20002main () 20003{ 20004 return 0; 20005} 20006 20007_ACEOF 20008if ac_fn_c_try_link "$LINENO"; then : 20009 gcc_cv_math_func_floorl=yes 20010else 20011 gcc_cv_math_func_floorl=no 20012fi 20013rm -f core conftest.err conftest.$ac_objext \ 20014 conftest$ac_exeext conftest.$ac_ext 20015fi 20016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5 20017$as_echo "$gcc_cv_math_func_floorl" >&6; } 20018 if test $gcc_cv_math_func_floorl = yes; then 20019 20020cat >>confdefs.h <<_ACEOF 20021#define HAVE_FLOORL 1 20022_ACEOF 20023 20024 fi 20025 20026 20027 20028 20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5 20030$as_echo_n "checking for fmaf... " >&6; } 20031if ${gcc_cv_math_func_fmaf+:} false; then : 20032 $as_echo_n "(cached) " >&6 20033else 20034 if test x$gcc_no_link = xyes; then 20035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20036fi 20037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20038/* end confdefs.h. */ 20039 20040#ifdef HAVE_COMPLEX_H 20041#include <complex.h> 20042#endif 20043#ifdef HAVE_MATH_H 20044#include <math.h> 20045#endif 20046 20047int (*ptr)() = (int (*)())fmaf; 20048 20049int 20050main () 20051{ 20052 return 0; 20053} 20054 20055_ACEOF 20056if ac_fn_c_try_link "$LINENO"; then : 20057 gcc_cv_math_func_fmaf=yes 20058else 20059 gcc_cv_math_func_fmaf=no 20060fi 20061rm -f core conftest.err conftest.$ac_objext \ 20062 conftest$ac_exeext conftest.$ac_ext 20063fi 20064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5 20065$as_echo "$gcc_cv_math_func_fmaf" >&6; } 20066 if test $gcc_cv_math_func_fmaf = yes; then 20067 20068cat >>confdefs.h <<_ACEOF 20069#define HAVE_FMAF 1 20070_ACEOF 20071 20072 fi 20073 20074 20075 20076 20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5 20078$as_echo_n "checking for fma... " >&6; } 20079if ${gcc_cv_math_func_fma+:} false; then : 20080 $as_echo_n "(cached) " >&6 20081else 20082 if test x$gcc_no_link = xyes; then 20083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20084fi 20085cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20086/* end confdefs.h. */ 20087 20088#ifdef HAVE_COMPLEX_H 20089#include <complex.h> 20090#endif 20091#ifdef HAVE_MATH_H 20092#include <math.h> 20093#endif 20094 20095int (*ptr)() = (int (*)())fma; 20096 20097int 20098main () 20099{ 20100 return 0; 20101} 20102 20103_ACEOF 20104if ac_fn_c_try_link "$LINENO"; then : 20105 gcc_cv_math_func_fma=yes 20106else 20107 gcc_cv_math_func_fma=no 20108fi 20109rm -f core conftest.err conftest.$ac_objext \ 20110 conftest$ac_exeext conftest.$ac_ext 20111fi 20112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5 20113$as_echo "$gcc_cv_math_func_fma" >&6; } 20114 if test $gcc_cv_math_func_fma = yes; then 20115 20116cat >>confdefs.h <<_ACEOF 20117#define HAVE_FMA 1 20118_ACEOF 20119 20120 fi 20121 20122 20123 20124 20125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5 20126$as_echo_n "checking for fmal... " >&6; } 20127if ${gcc_cv_math_func_fmal+:} false; then : 20128 $as_echo_n "(cached) " >&6 20129else 20130 if test x$gcc_no_link = xyes; then 20131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20132fi 20133cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20134/* end confdefs.h. */ 20135 20136#ifdef HAVE_COMPLEX_H 20137#include <complex.h> 20138#endif 20139#ifdef HAVE_MATH_H 20140#include <math.h> 20141#endif 20142 20143int (*ptr)() = (int (*)())fmal; 20144 20145int 20146main () 20147{ 20148 return 0; 20149} 20150 20151_ACEOF 20152if ac_fn_c_try_link "$LINENO"; then : 20153 gcc_cv_math_func_fmal=yes 20154else 20155 gcc_cv_math_func_fmal=no 20156fi 20157rm -f core conftest.err conftest.$ac_objext \ 20158 conftest$ac_exeext conftest.$ac_ext 20159fi 20160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5 20161$as_echo "$gcc_cv_math_func_fmal" >&6; } 20162 if test $gcc_cv_math_func_fmal = yes; then 20163 20164cat >>confdefs.h <<_ACEOF 20165#define HAVE_FMAL 1 20166_ACEOF 20167 20168 fi 20169 20170 20171 20172 20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5 20174$as_echo_n "checking for fmodf... " >&6; } 20175if ${gcc_cv_math_func_fmodf+:} false; then : 20176 $as_echo_n "(cached) " >&6 20177else 20178 if test x$gcc_no_link = xyes; then 20179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20180fi 20181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20182/* end confdefs.h. */ 20183 20184#ifdef HAVE_COMPLEX_H 20185#include <complex.h> 20186#endif 20187#ifdef HAVE_MATH_H 20188#include <math.h> 20189#endif 20190 20191int (*ptr)() = (int (*)())fmodf; 20192 20193int 20194main () 20195{ 20196 return 0; 20197} 20198 20199_ACEOF 20200if ac_fn_c_try_link "$LINENO"; then : 20201 gcc_cv_math_func_fmodf=yes 20202else 20203 gcc_cv_math_func_fmodf=no 20204fi 20205rm -f core conftest.err conftest.$ac_objext \ 20206 conftest$ac_exeext conftest.$ac_ext 20207fi 20208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5 20209$as_echo "$gcc_cv_math_func_fmodf" >&6; } 20210 if test $gcc_cv_math_func_fmodf = yes; then 20211 20212cat >>confdefs.h <<_ACEOF 20213#define HAVE_FMODF 1 20214_ACEOF 20215 20216 fi 20217 20218 20219 20220 20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5 20222$as_echo_n "checking for fmod... " >&6; } 20223if ${gcc_cv_math_func_fmod+:} false; then : 20224 $as_echo_n "(cached) " >&6 20225else 20226 if test x$gcc_no_link = xyes; then 20227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20228fi 20229cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20230/* end confdefs.h. */ 20231 20232#ifdef HAVE_COMPLEX_H 20233#include <complex.h> 20234#endif 20235#ifdef HAVE_MATH_H 20236#include <math.h> 20237#endif 20238 20239int (*ptr)() = (int (*)())fmod; 20240 20241int 20242main () 20243{ 20244 return 0; 20245} 20246 20247_ACEOF 20248if ac_fn_c_try_link "$LINENO"; then : 20249 gcc_cv_math_func_fmod=yes 20250else 20251 gcc_cv_math_func_fmod=no 20252fi 20253rm -f core conftest.err conftest.$ac_objext \ 20254 conftest$ac_exeext conftest.$ac_ext 20255fi 20256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5 20257$as_echo "$gcc_cv_math_func_fmod" >&6; } 20258 if test $gcc_cv_math_func_fmod = yes; then 20259 20260cat >>confdefs.h <<_ACEOF 20261#define HAVE_FMOD 1 20262_ACEOF 20263 20264 fi 20265 20266 20267 20268 20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5 20270$as_echo_n "checking for fmodl... " >&6; } 20271if ${gcc_cv_math_func_fmodl+:} false; then : 20272 $as_echo_n "(cached) " >&6 20273else 20274 if test x$gcc_no_link = xyes; then 20275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20276fi 20277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20278/* end confdefs.h. */ 20279 20280#ifdef HAVE_COMPLEX_H 20281#include <complex.h> 20282#endif 20283#ifdef HAVE_MATH_H 20284#include <math.h> 20285#endif 20286 20287int (*ptr)() = (int (*)())fmodl; 20288 20289int 20290main () 20291{ 20292 return 0; 20293} 20294 20295_ACEOF 20296if ac_fn_c_try_link "$LINENO"; then : 20297 gcc_cv_math_func_fmodl=yes 20298else 20299 gcc_cv_math_func_fmodl=no 20300fi 20301rm -f core conftest.err conftest.$ac_objext \ 20302 conftest$ac_exeext conftest.$ac_ext 20303fi 20304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5 20305$as_echo "$gcc_cv_math_func_fmodl" >&6; } 20306 if test $gcc_cv_math_func_fmodl = yes; then 20307 20308cat >>confdefs.h <<_ACEOF 20309#define HAVE_FMODL 1 20310_ACEOF 20311 20312 fi 20313 20314 20315 20316 20317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5 20318$as_echo_n "checking for frexpf... " >&6; } 20319if ${gcc_cv_math_func_frexpf+:} false; then : 20320 $as_echo_n "(cached) " >&6 20321else 20322 if test x$gcc_no_link = xyes; then 20323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20324fi 20325cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20326/* end confdefs.h. */ 20327 20328#ifdef HAVE_COMPLEX_H 20329#include <complex.h> 20330#endif 20331#ifdef HAVE_MATH_H 20332#include <math.h> 20333#endif 20334 20335int (*ptr)() = (int (*)())frexpf; 20336 20337int 20338main () 20339{ 20340 return 0; 20341} 20342 20343_ACEOF 20344if ac_fn_c_try_link "$LINENO"; then : 20345 gcc_cv_math_func_frexpf=yes 20346else 20347 gcc_cv_math_func_frexpf=no 20348fi 20349rm -f core conftest.err conftest.$ac_objext \ 20350 conftest$ac_exeext conftest.$ac_ext 20351fi 20352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5 20353$as_echo "$gcc_cv_math_func_frexpf" >&6; } 20354 if test $gcc_cv_math_func_frexpf = yes; then 20355 20356cat >>confdefs.h <<_ACEOF 20357#define HAVE_FREXPF 1 20358_ACEOF 20359 20360 fi 20361 20362 20363 20364 20365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5 20366$as_echo_n "checking for frexp... " >&6; } 20367if ${gcc_cv_math_func_frexp+:} false; then : 20368 $as_echo_n "(cached) " >&6 20369else 20370 if test x$gcc_no_link = xyes; then 20371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20372fi 20373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20374/* end confdefs.h. */ 20375 20376#ifdef HAVE_COMPLEX_H 20377#include <complex.h> 20378#endif 20379#ifdef HAVE_MATH_H 20380#include <math.h> 20381#endif 20382 20383int (*ptr)() = (int (*)())frexp; 20384 20385int 20386main () 20387{ 20388 return 0; 20389} 20390 20391_ACEOF 20392if ac_fn_c_try_link "$LINENO"; then : 20393 gcc_cv_math_func_frexp=yes 20394else 20395 gcc_cv_math_func_frexp=no 20396fi 20397rm -f core conftest.err conftest.$ac_objext \ 20398 conftest$ac_exeext conftest.$ac_ext 20399fi 20400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5 20401$as_echo "$gcc_cv_math_func_frexp" >&6; } 20402 if test $gcc_cv_math_func_frexp = yes; then 20403 20404cat >>confdefs.h <<_ACEOF 20405#define HAVE_FREXP 1 20406_ACEOF 20407 20408 fi 20409 20410 20411 20412 20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5 20414$as_echo_n "checking for frexpl... " >&6; } 20415if ${gcc_cv_math_func_frexpl+:} false; then : 20416 $as_echo_n "(cached) " >&6 20417else 20418 if test x$gcc_no_link = xyes; then 20419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20420fi 20421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20422/* end confdefs.h. */ 20423 20424#ifdef HAVE_COMPLEX_H 20425#include <complex.h> 20426#endif 20427#ifdef HAVE_MATH_H 20428#include <math.h> 20429#endif 20430 20431int (*ptr)() = (int (*)())frexpl; 20432 20433int 20434main () 20435{ 20436 return 0; 20437} 20438 20439_ACEOF 20440if ac_fn_c_try_link "$LINENO"; then : 20441 gcc_cv_math_func_frexpl=yes 20442else 20443 gcc_cv_math_func_frexpl=no 20444fi 20445rm -f core conftest.err conftest.$ac_objext \ 20446 conftest$ac_exeext conftest.$ac_ext 20447fi 20448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5 20449$as_echo "$gcc_cv_math_func_frexpl" >&6; } 20450 if test $gcc_cv_math_func_frexpl = yes; then 20451 20452cat >>confdefs.h <<_ACEOF 20453#define HAVE_FREXPL 1 20454_ACEOF 20455 20456 fi 20457 20458 20459 20460 20461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5 20462$as_echo_n "checking for hypotf... " >&6; } 20463if ${gcc_cv_math_func_hypotf+:} false; then : 20464 $as_echo_n "(cached) " >&6 20465else 20466 if test x$gcc_no_link = xyes; then 20467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20468fi 20469cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20470/* end confdefs.h. */ 20471 20472#ifdef HAVE_COMPLEX_H 20473#include <complex.h> 20474#endif 20475#ifdef HAVE_MATH_H 20476#include <math.h> 20477#endif 20478 20479int (*ptr)() = (int (*)())hypotf; 20480 20481int 20482main () 20483{ 20484 return 0; 20485} 20486 20487_ACEOF 20488if ac_fn_c_try_link "$LINENO"; then : 20489 gcc_cv_math_func_hypotf=yes 20490else 20491 gcc_cv_math_func_hypotf=no 20492fi 20493rm -f core conftest.err conftest.$ac_objext \ 20494 conftest$ac_exeext conftest.$ac_ext 20495fi 20496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5 20497$as_echo "$gcc_cv_math_func_hypotf" >&6; } 20498 if test $gcc_cv_math_func_hypotf = yes; then 20499 20500cat >>confdefs.h <<_ACEOF 20501#define HAVE_HYPOTF 1 20502_ACEOF 20503 20504 fi 20505 20506 20507 20508 20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5 20510$as_echo_n "checking for hypot... " >&6; } 20511if ${gcc_cv_math_func_hypot+:} false; then : 20512 $as_echo_n "(cached) " >&6 20513else 20514 if test x$gcc_no_link = xyes; then 20515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20516fi 20517cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20518/* end confdefs.h. */ 20519 20520#ifdef HAVE_COMPLEX_H 20521#include <complex.h> 20522#endif 20523#ifdef HAVE_MATH_H 20524#include <math.h> 20525#endif 20526 20527int (*ptr)() = (int (*)())hypot; 20528 20529int 20530main () 20531{ 20532 return 0; 20533} 20534 20535_ACEOF 20536if ac_fn_c_try_link "$LINENO"; then : 20537 gcc_cv_math_func_hypot=yes 20538else 20539 gcc_cv_math_func_hypot=no 20540fi 20541rm -f core conftest.err conftest.$ac_objext \ 20542 conftest$ac_exeext conftest.$ac_ext 20543fi 20544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5 20545$as_echo "$gcc_cv_math_func_hypot" >&6; } 20546 if test $gcc_cv_math_func_hypot = yes; then 20547 20548cat >>confdefs.h <<_ACEOF 20549#define HAVE_HYPOT 1 20550_ACEOF 20551 20552 fi 20553 20554 20555 20556 20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5 20558$as_echo_n "checking for hypotl... " >&6; } 20559if ${gcc_cv_math_func_hypotl+:} false; then : 20560 $as_echo_n "(cached) " >&6 20561else 20562 if test x$gcc_no_link = xyes; then 20563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20564fi 20565cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20566/* end confdefs.h. */ 20567 20568#ifdef HAVE_COMPLEX_H 20569#include <complex.h> 20570#endif 20571#ifdef HAVE_MATH_H 20572#include <math.h> 20573#endif 20574 20575int (*ptr)() = (int (*)())hypotl; 20576 20577int 20578main () 20579{ 20580 return 0; 20581} 20582 20583_ACEOF 20584if ac_fn_c_try_link "$LINENO"; then : 20585 gcc_cv_math_func_hypotl=yes 20586else 20587 gcc_cv_math_func_hypotl=no 20588fi 20589rm -f core conftest.err conftest.$ac_objext \ 20590 conftest$ac_exeext conftest.$ac_ext 20591fi 20592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5 20593$as_echo "$gcc_cv_math_func_hypotl" >&6; } 20594 if test $gcc_cv_math_func_hypotl = yes; then 20595 20596cat >>confdefs.h <<_ACEOF 20597#define HAVE_HYPOTL 1 20598_ACEOF 20599 20600 fi 20601 20602 20603 20604 20605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5 20606$as_echo_n "checking for ldexpf... " >&6; } 20607if ${gcc_cv_math_func_ldexpf+:} false; then : 20608 $as_echo_n "(cached) " >&6 20609else 20610 if test x$gcc_no_link = xyes; then 20611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20612fi 20613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20614/* end confdefs.h. */ 20615 20616#ifdef HAVE_COMPLEX_H 20617#include <complex.h> 20618#endif 20619#ifdef HAVE_MATH_H 20620#include <math.h> 20621#endif 20622 20623int (*ptr)() = (int (*)())ldexpf; 20624 20625int 20626main () 20627{ 20628 return 0; 20629} 20630 20631_ACEOF 20632if ac_fn_c_try_link "$LINENO"; then : 20633 gcc_cv_math_func_ldexpf=yes 20634else 20635 gcc_cv_math_func_ldexpf=no 20636fi 20637rm -f core conftest.err conftest.$ac_objext \ 20638 conftest$ac_exeext conftest.$ac_ext 20639fi 20640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5 20641$as_echo "$gcc_cv_math_func_ldexpf" >&6; } 20642 if test $gcc_cv_math_func_ldexpf = yes; then 20643 20644cat >>confdefs.h <<_ACEOF 20645#define HAVE_LDEXPF 1 20646_ACEOF 20647 20648 fi 20649 20650 20651 20652 20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5 20654$as_echo_n "checking for ldexp... " >&6; } 20655if ${gcc_cv_math_func_ldexp+:} false; then : 20656 $as_echo_n "(cached) " >&6 20657else 20658 if test x$gcc_no_link = xyes; then 20659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20660fi 20661cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20662/* end confdefs.h. */ 20663 20664#ifdef HAVE_COMPLEX_H 20665#include <complex.h> 20666#endif 20667#ifdef HAVE_MATH_H 20668#include <math.h> 20669#endif 20670 20671int (*ptr)() = (int (*)())ldexp; 20672 20673int 20674main () 20675{ 20676 return 0; 20677} 20678 20679_ACEOF 20680if ac_fn_c_try_link "$LINENO"; then : 20681 gcc_cv_math_func_ldexp=yes 20682else 20683 gcc_cv_math_func_ldexp=no 20684fi 20685rm -f core conftest.err conftest.$ac_objext \ 20686 conftest$ac_exeext conftest.$ac_ext 20687fi 20688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5 20689$as_echo "$gcc_cv_math_func_ldexp" >&6; } 20690 if test $gcc_cv_math_func_ldexp = yes; then 20691 20692cat >>confdefs.h <<_ACEOF 20693#define HAVE_LDEXP 1 20694_ACEOF 20695 20696 fi 20697 20698 20699 20700 20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5 20702$as_echo_n "checking for ldexpl... " >&6; } 20703if ${gcc_cv_math_func_ldexpl+:} false; then : 20704 $as_echo_n "(cached) " >&6 20705else 20706 if test x$gcc_no_link = xyes; then 20707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20708fi 20709cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20710/* end confdefs.h. */ 20711 20712#ifdef HAVE_COMPLEX_H 20713#include <complex.h> 20714#endif 20715#ifdef HAVE_MATH_H 20716#include <math.h> 20717#endif 20718 20719int (*ptr)() = (int (*)())ldexpl; 20720 20721int 20722main () 20723{ 20724 return 0; 20725} 20726 20727_ACEOF 20728if ac_fn_c_try_link "$LINENO"; then : 20729 gcc_cv_math_func_ldexpl=yes 20730else 20731 gcc_cv_math_func_ldexpl=no 20732fi 20733rm -f core conftest.err conftest.$ac_objext \ 20734 conftest$ac_exeext conftest.$ac_ext 20735fi 20736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5 20737$as_echo "$gcc_cv_math_func_ldexpl" >&6; } 20738 if test $gcc_cv_math_func_ldexpl = yes; then 20739 20740cat >>confdefs.h <<_ACEOF 20741#define HAVE_LDEXPL 1 20742_ACEOF 20743 20744 fi 20745 20746 20747 20748 20749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5 20750$as_echo_n "checking for logf... " >&6; } 20751if ${gcc_cv_math_func_logf+:} false; then : 20752 $as_echo_n "(cached) " >&6 20753else 20754 if test x$gcc_no_link = xyes; then 20755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20756fi 20757cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20758/* end confdefs.h. */ 20759 20760#ifdef HAVE_COMPLEX_H 20761#include <complex.h> 20762#endif 20763#ifdef HAVE_MATH_H 20764#include <math.h> 20765#endif 20766 20767int (*ptr)() = (int (*)())logf; 20768 20769int 20770main () 20771{ 20772 return 0; 20773} 20774 20775_ACEOF 20776if ac_fn_c_try_link "$LINENO"; then : 20777 gcc_cv_math_func_logf=yes 20778else 20779 gcc_cv_math_func_logf=no 20780fi 20781rm -f core conftest.err conftest.$ac_objext \ 20782 conftest$ac_exeext conftest.$ac_ext 20783fi 20784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5 20785$as_echo "$gcc_cv_math_func_logf" >&6; } 20786 if test $gcc_cv_math_func_logf = yes; then 20787 20788cat >>confdefs.h <<_ACEOF 20789#define HAVE_LOGF 1 20790_ACEOF 20791 20792 fi 20793 20794 20795 20796 20797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5 20798$as_echo_n "checking for log... " >&6; } 20799if ${gcc_cv_math_func_log+:} false; then : 20800 $as_echo_n "(cached) " >&6 20801else 20802 if test x$gcc_no_link = xyes; then 20803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20804fi 20805cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20806/* end confdefs.h. */ 20807 20808#ifdef HAVE_COMPLEX_H 20809#include <complex.h> 20810#endif 20811#ifdef HAVE_MATH_H 20812#include <math.h> 20813#endif 20814 20815int (*ptr)() = (int (*)())log; 20816 20817int 20818main () 20819{ 20820 return 0; 20821} 20822 20823_ACEOF 20824if ac_fn_c_try_link "$LINENO"; then : 20825 gcc_cv_math_func_log=yes 20826else 20827 gcc_cv_math_func_log=no 20828fi 20829rm -f core conftest.err conftest.$ac_objext \ 20830 conftest$ac_exeext conftest.$ac_ext 20831fi 20832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5 20833$as_echo "$gcc_cv_math_func_log" >&6; } 20834 if test $gcc_cv_math_func_log = yes; then 20835 20836cat >>confdefs.h <<_ACEOF 20837#define HAVE_LOG 1 20838_ACEOF 20839 20840 fi 20841 20842 20843 20844 20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5 20846$as_echo_n "checking for logl... " >&6; } 20847if ${gcc_cv_math_func_logl+:} false; then : 20848 $as_echo_n "(cached) " >&6 20849else 20850 if test x$gcc_no_link = xyes; then 20851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20852fi 20853cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20854/* end confdefs.h. */ 20855 20856#ifdef HAVE_COMPLEX_H 20857#include <complex.h> 20858#endif 20859#ifdef HAVE_MATH_H 20860#include <math.h> 20861#endif 20862 20863int (*ptr)() = (int (*)())logl; 20864 20865int 20866main () 20867{ 20868 return 0; 20869} 20870 20871_ACEOF 20872if ac_fn_c_try_link "$LINENO"; then : 20873 gcc_cv_math_func_logl=yes 20874else 20875 gcc_cv_math_func_logl=no 20876fi 20877rm -f core conftest.err conftest.$ac_objext \ 20878 conftest$ac_exeext conftest.$ac_ext 20879fi 20880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5 20881$as_echo "$gcc_cv_math_func_logl" >&6; } 20882 if test $gcc_cv_math_func_logl = yes; then 20883 20884cat >>confdefs.h <<_ACEOF 20885#define HAVE_LOGL 1 20886_ACEOF 20887 20888 fi 20889 20890 20891 20892 20893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5 20894$as_echo_n "checking for clogf... " >&6; } 20895if ${gcc_cv_math_func_clogf+:} false; then : 20896 $as_echo_n "(cached) " >&6 20897else 20898 if test x$gcc_no_link = xyes; then 20899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20900fi 20901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20902/* end confdefs.h. */ 20903 20904#ifdef HAVE_COMPLEX_H 20905#include <complex.h> 20906#endif 20907#ifdef HAVE_MATH_H 20908#include <math.h> 20909#endif 20910 20911int (*ptr)() = (int (*)())clogf; 20912 20913int 20914main () 20915{ 20916 return 0; 20917} 20918 20919_ACEOF 20920if ac_fn_c_try_link "$LINENO"; then : 20921 gcc_cv_math_func_clogf=yes 20922else 20923 gcc_cv_math_func_clogf=no 20924fi 20925rm -f core conftest.err conftest.$ac_objext \ 20926 conftest$ac_exeext conftest.$ac_ext 20927fi 20928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5 20929$as_echo "$gcc_cv_math_func_clogf" >&6; } 20930 if test $gcc_cv_math_func_clogf = yes; then 20931 20932cat >>confdefs.h <<_ACEOF 20933#define HAVE_CLOGF 1 20934_ACEOF 20935 20936 fi 20937 20938 20939 20940 20941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5 20942$as_echo_n "checking for clog... " >&6; } 20943if ${gcc_cv_math_func_clog+:} false; then : 20944 $as_echo_n "(cached) " >&6 20945else 20946 if test x$gcc_no_link = xyes; then 20947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20948fi 20949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20950/* end confdefs.h. */ 20951 20952#ifdef HAVE_COMPLEX_H 20953#include <complex.h> 20954#endif 20955#ifdef HAVE_MATH_H 20956#include <math.h> 20957#endif 20958 20959int (*ptr)() = (int (*)())clog; 20960 20961int 20962main () 20963{ 20964 return 0; 20965} 20966 20967_ACEOF 20968if ac_fn_c_try_link "$LINENO"; then : 20969 gcc_cv_math_func_clog=yes 20970else 20971 gcc_cv_math_func_clog=no 20972fi 20973rm -f core conftest.err conftest.$ac_objext \ 20974 conftest$ac_exeext conftest.$ac_ext 20975fi 20976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5 20977$as_echo "$gcc_cv_math_func_clog" >&6; } 20978 if test $gcc_cv_math_func_clog = yes; then 20979 20980cat >>confdefs.h <<_ACEOF 20981#define HAVE_CLOG 1 20982_ACEOF 20983 20984 fi 20985 20986 20987 20988 20989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5 20990$as_echo_n "checking for clogl... " >&6; } 20991if ${gcc_cv_math_func_clogl+:} false; then : 20992 $as_echo_n "(cached) " >&6 20993else 20994 if test x$gcc_no_link = xyes; then 20995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 20996fi 20997cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20998/* end confdefs.h. */ 20999 21000#ifdef HAVE_COMPLEX_H 21001#include <complex.h> 21002#endif 21003#ifdef HAVE_MATH_H 21004#include <math.h> 21005#endif 21006 21007int (*ptr)() = (int (*)())clogl; 21008 21009int 21010main () 21011{ 21012 return 0; 21013} 21014 21015_ACEOF 21016if ac_fn_c_try_link "$LINENO"; then : 21017 gcc_cv_math_func_clogl=yes 21018else 21019 gcc_cv_math_func_clogl=no 21020fi 21021rm -f core conftest.err conftest.$ac_objext \ 21022 conftest$ac_exeext conftest.$ac_ext 21023fi 21024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5 21025$as_echo "$gcc_cv_math_func_clogl" >&6; } 21026 if test $gcc_cv_math_func_clogl = yes; then 21027 21028cat >>confdefs.h <<_ACEOF 21029#define HAVE_CLOGL 1 21030_ACEOF 21031 21032 fi 21033 21034 21035 21036 21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5 21038$as_echo_n "checking for log10f... " >&6; } 21039if ${gcc_cv_math_func_log10f+:} false; then : 21040 $as_echo_n "(cached) " >&6 21041else 21042 if test x$gcc_no_link = xyes; then 21043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21044fi 21045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21046/* end confdefs.h. */ 21047 21048#ifdef HAVE_COMPLEX_H 21049#include <complex.h> 21050#endif 21051#ifdef HAVE_MATH_H 21052#include <math.h> 21053#endif 21054 21055int (*ptr)() = (int (*)())log10f; 21056 21057int 21058main () 21059{ 21060 return 0; 21061} 21062 21063_ACEOF 21064if ac_fn_c_try_link "$LINENO"; then : 21065 gcc_cv_math_func_log10f=yes 21066else 21067 gcc_cv_math_func_log10f=no 21068fi 21069rm -f core conftest.err conftest.$ac_objext \ 21070 conftest$ac_exeext conftest.$ac_ext 21071fi 21072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5 21073$as_echo "$gcc_cv_math_func_log10f" >&6; } 21074 if test $gcc_cv_math_func_log10f = yes; then 21075 21076cat >>confdefs.h <<_ACEOF 21077#define HAVE_LOG10F 1 21078_ACEOF 21079 21080 fi 21081 21082 21083 21084 21085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5 21086$as_echo_n "checking for log10... " >&6; } 21087if ${gcc_cv_math_func_log10+:} false; then : 21088 $as_echo_n "(cached) " >&6 21089else 21090 if test x$gcc_no_link = xyes; then 21091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21092fi 21093cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21094/* end confdefs.h. */ 21095 21096#ifdef HAVE_COMPLEX_H 21097#include <complex.h> 21098#endif 21099#ifdef HAVE_MATH_H 21100#include <math.h> 21101#endif 21102 21103int (*ptr)() = (int (*)())log10; 21104 21105int 21106main () 21107{ 21108 return 0; 21109} 21110 21111_ACEOF 21112if ac_fn_c_try_link "$LINENO"; then : 21113 gcc_cv_math_func_log10=yes 21114else 21115 gcc_cv_math_func_log10=no 21116fi 21117rm -f core conftest.err conftest.$ac_objext \ 21118 conftest$ac_exeext conftest.$ac_ext 21119fi 21120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5 21121$as_echo "$gcc_cv_math_func_log10" >&6; } 21122 if test $gcc_cv_math_func_log10 = yes; then 21123 21124cat >>confdefs.h <<_ACEOF 21125#define HAVE_LOG10 1 21126_ACEOF 21127 21128 fi 21129 21130 21131 21132 21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5 21134$as_echo_n "checking for log10l... " >&6; } 21135if ${gcc_cv_math_func_log10l+:} false; then : 21136 $as_echo_n "(cached) " >&6 21137else 21138 if test x$gcc_no_link = xyes; then 21139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21140fi 21141cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21142/* end confdefs.h. */ 21143 21144#ifdef HAVE_COMPLEX_H 21145#include <complex.h> 21146#endif 21147#ifdef HAVE_MATH_H 21148#include <math.h> 21149#endif 21150 21151int (*ptr)() = (int (*)())log10l; 21152 21153int 21154main () 21155{ 21156 return 0; 21157} 21158 21159_ACEOF 21160if ac_fn_c_try_link "$LINENO"; then : 21161 gcc_cv_math_func_log10l=yes 21162else 21163 gcc_cv_math_func_log10l=no 21164fi 21165rm -f core conftest.err conftest.$ac_objext \ 21166 conftest$ac_exeext conftest.$ac_ext 21167fi 21168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5 21169$as_echo "$gcc_cv_math_func_log10l" >&6; } 21170 if test $gcc_cv_math_func_log10l = yes; then 21171 21172cat >>confdefs.h <<_ACEOF 21173#define HAVE_LOG10L 1 21174_ACEOF 21175 21176 fi 21177 21178 21179 21180 21181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5 21182$as_echo_n "checking for clog10f... " >&6; } 21183if ${gcc_cv_math_func_clog10f+:} false; then : 21184 $as_echo_n "(cached) " >&6 21185else 21186 if test x$gcc_no_link = xyes; then 21187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21188fi 21189cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21190/* end confdefs.h. */ 21191 21192#ifdef HAVE_COMPLEX_H 21193#include <complex.h> 21194#endif 21195#ifdef HAVE_MATH_H 21196#include <math.h> 21197#endif 21198 21199int (*ptr)() = (int (*)())clog10f; 21200 21201int 21202main () 21203{ 21204 return 0; 21205} 21206 21207_ACEOF 21208if ac_fn_c_try_link "$LINENO"; then : 21209 gcc_cv_math_func_clog10f=yes 21210else 21211 gcc_cv_math_func_clog10f=no 21212fi 21213rm -f core conftest.err conftest.$ac_objext \ 21214 conftest$ac_exeext conftest.$ac_ext 21215fi 21216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5 21217$as_echo "$gcc_cv_math_func_clog10f" >&6; } 21218 if test $gcc_cv_math_func_clog10f = yes; then 21219 21220cat >>confdefs.h <<_ACEOF 21221#define HAVE_CLOG10F 1 21222_ACEOF 21223 21224 fi 21225 21226 21227 21228 21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5 21230$as_echo_n "checking for clog10... " >&6; } 21231if ${gcc_cv_math_func_clog10+:} false; then : 21232 $as_echo_n "(cached) " >&6 21233else 21234 if test x$gcc_no_link = xyes; then 21235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21236fi 21237cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21238/* end confdefs.h. */ 21239 21240#ifdef HAVE_COMPLEX_H 21241#include <complex.h> 21242#endif 21243#ifdef HAVE_MATH_H 21244#include <math.h> 21245#endif 21246 21247int (*ptr)() = (int (*)())clog10; 21248 21249int 21250main () 21251{ 21252 return 0; 21253} 21254 21255_ACEOF 21256if ac_fn_c_try_link "$LINENO"; then : 21257 gcc_cv_math_func_clog10=yes 21258else 21259 gcc_cv_math_func_clog10=no 21260fi 21261rm -f core conftest.err conftest.$ac_objext \ 21262 conftest$ac_exeext conftest.$ac_ext 21263fi 21264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5 21265$as_echo "$gcc_cv_math_func_clog10" >&6; } 21266 if test $gcc_cv_math_func_clog10 = yes; then 21267 21268cat >>confdefs.h <<_ACEOF 21269#define HAVE_CLOG10 1 21270_ACEOF 21271 21272 fi 21273 21274 21275 21276 21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5 21278$as_echo_n "checking for clog10l... " >&6; } 21279if ${gcc_cv_math_func_clog10l+:} false; then : 21280 $as_echo_n "(cached) " >&6 21281else 21282 if test x$gcc_no_link = xyes; then 21283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21284fi 21285cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21286/* end confdefs.h. */ 21287 21288#ifdef HAVE_COMPLEX_H 21289#include <complex.h> 21290#endif 21291#ifdef HAVE_MATH_H 21292#include <math.h> 21293#endif 21294 21295int (*ptr)() = (int (*)())clog10l; 21296 21297int 21298main () 21299{ 21300 return 0; 21301} 21302 21303_ACEOF 21304if ac_fn_c_try_link "$LINENO"; then : 21305 gcc_cv_math_func_clog10l=yes 21306else 21307 gcc_cv_math_func_clog10l=no 21308fi 21309rm -f core conftest.err conftest.$ac_objext \ 21310 conftest$ac_exeext conftest.$ac_ext 21311fi 21312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5 21313$as_echo "$gcc_cv_math_func_clog10l" >&6; } 21314 if test $gcc_cv_math_func_clog10l = yes; then 21315 21316cat >>confdefs.h <<_ACEOF 21317#define HAVE_CLOG10L 1 21318_ACEOF 21319 21320 fi 21321 21322 21323 21324 21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5 21326$as_echo_n "checking for nextafterf... " >&6; } 21327if ${gcc_cv_math_func_nextafterf+:} false; then : 21328 $as_echo_n "(cached) " >&6 21329else 21330 if test x$gcc_no_link = xyes; then 21331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21332fi 21333cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21334/* end confdefs.h. */ 21335 21336#ifdef HAVE_COMPLEX_H 21337#include <complex.h> 21338#endif 21339#ifdef HAVE_MATH_H 21340#include <math.h> 21341#endif 21342 21343int (*ptr)() = (int (*)())nextafterf; 21344 21345int 21346main () 21347{ 21348 return 0; 21349} 21350 21351_ACEOF 21352if ac_fn_c_try_link "$LINENO"; then : 21353 gcc_cv_math_func_nextafterf=yes 21354else 21355 gcc_cv_math_func_nextafterf=no 21356fi 21357rm -f core conftest.err conftest.$ac_objext \ 21358 conftest$ac_exeext conftest.$ac_ext 21359fi 21360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5 21361$as_echo "$gcc_cv_math_func_nextafterf" >&6; } 21362 if test $gcc_cv_math_func_nextafterf = yes; then 21363 21364cat >>confdefs.h <<_ACEOF 21365#define HAVE_NEXTAFTERF 1 21366_ACEOF 21367 21368 fi 21369 21370 21371 21372 21373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5 21374$as_echo_n "checking for nextafter... " >&6; } 21375if ${gcc_cv_math_func_nextafter+:} false; then : 21376 $as_echo_n "(cached) " >&6 21377else 21378 if test x$gcc_no_link = xyes; then 21379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21380fi 21381cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21382/* end confdefs.h. */ 21383 21384#ifdef HAVE_COMPLEX_H 21385#include <complex.h> 21386#endif 21387#ifdef HAVE_MATH_H 21388#include <math.h> 21389#endif 21390 21391int (*ptr)() = (int (*)())nextafter; 21392 21393int 21394main () 21395{ 21396 return 0; 21397} 21398 21399_ACEOF 21400if ac_fn_c_try_link "$LINENO"; then : 21401 gcc_cv_math_func_nextafter=yes 21402else 21403 gcc_cv_math_func_nextafter=no 21404fi 21405rm -f core conftest.err conftest.$ac_objext \ 21406 conftest$ac_exeext conftest.$ac_ext 21407fi 21408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5 21409$as_echo "$gcc_cv_math_func_nextafter" >&6; } 21410 if test $gcc_cv_math_func_nextafter = yes; then 21411 21412cat >>confdefs.h <<_ACEOF 21413#define HAVE_NEXTAFTER 1 21414_ACEOF 21415 21416 fi 21417 21418 21419 21420 21421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5 21422$as_echo_n "checking for nextafterl... " >&6; } 21423if ${gcc_cv_math_func_nextafterl+:} false; then : 21424 $as_echo_n "(cached) " >&6 21425else 21426 if test x$gcc_no_link = xyes; then 21427 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21428fi 21429cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21430/* end confdefs.h. */ 21431 21432#ifdef HAVE_COMPLEX_H 21433#include <complex.h> 21434#endif 21435#ifdef HAVE_MATH_H 21436#include <math.h> 21437#endif 21438 21439int (*ptr)() = (int (*)())nextafterl; 21440 21441int 21442main () 21443{ 21444 return 0; 21445} 21446 21447_ACEOF 21448if ac_fn_c_try_link "$LINENO"; then : 21449 gcc_cv_math_func_nextafterl=yes 21450else 21451 gcc_cv_math_func_nextafterl=no 21452fi 21453rm -f core conftest.err conftest.$ac_objext \ 21454 conftest$ac_exeext conftest.$ac_ext 21455fi 21456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5 21457$as_echo "$gcc_cv_math_func_nextafterl" >&6; } 21458 if test $gcc_cv_math_func_nextafterl = yes; then 21459 21460cat >>confdefs.h <<_ACEOF 21461#define HAVE_NEXTAFTERL 1 21462_ACEOF 21463 21464 fi 21465 21466 21467 21468 21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5 21470$as_echo_n "checking for powf... " >&6; } 21471if ${gcc_cv_math_func_powf+:} false; then : 21472 $as_echo_n "(cached) " >&6 21473else 21474 if test x$gcc_no_link = xyes; then 21475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21476fi 21477cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21478/* end confdefs.h. */ 21479 21480#ifdef HAVE_COMPLEX_H 21481#include <complex.h> 21482#endif 21483#ifdef HAVE_MATH_H 21484#include <math.h> 21485#endif 21486 21487int (*ptr)() = (int (*)())powf; 21488 21489int 21490main () 21491{ 21492 return 0; 21493} 21494 21495_ACEOF 21496if ac_fn_c_try_link "$LINENO"; then : 21497 gcc_cv_math_func_powf=yes 21498else 21499 gcc_cv_math_func_powf=no 21500fi 21501rm -f core conftest.err conftest.$ac_objext \ 21502 conftest$ac_exeext conftest.$ac_ext 21503fi 21504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5 21505$as_echo "$gcc_cv_math_func_powf" >&6; } 21506 if test $gcc_cv_math_func_powf = yes; then 21507 21508cat >>confdefs.h <<_ACEOF 21509#define HAVE_POWF 1 21510_ACEOF 21511 21512 fi 21513 21514 21515 21516 21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5 21518$as_echo_n "checking for pow... " >&6; } 21519if ${gcc_cv_math_func_pow+:} false; then : 21520 $as_echo_n "(cached) " >&6 21521else 21522 if test x$gcc_no_link = xyes; then 21523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21524fi 21525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21526/* end confdefs.h. */ 21527 21528#ifdef HAVE_COMPLEX_H 21529#include <complex.h> 21530#endif 21531#ifdef HAVE_MATH_H 21532#include <math.h> 21533#endif 21534 21535int (*ptr)() = (int (*)())pow; 21536 21537int 21538main () 21539{ 21540 return 0; 21541} 21542 21543_ACEOF 21544if ac_fn_c_try_link "$LINENO"; then : 21545 gcc_cv_math_func_pow=yes 21546else 21547 gcc_cv_math_func_pow=no 21548fi 21549rm -f core conftest.err conftest.$ac_objext \ 21550 conftest$ac_exeext conftest.$ac_ext 21551fi 21552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5 21553$as_echo "$gcc_cv_math_func_pow" >&6; } 21554 if test $gcc_cv_math_func_pow = yes; then 21555 21556cat >>confdefs.h <<_ACEOF 21557#define HAVE_POW 1 21558_ACEOF 21559 21560 fi 21561 21562 21563 21564 21565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5 21566$as_echo_n "checking for cpowf... " >&6; } 21567if ${gcc_cv_math_func_cpowf+:} false; then : 21568 $as_echo_n "(cached) " >&6 21569else 21570 if test x$gcc_no_link = xyes; then 21571 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21572fi 21573cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21574/* end confdefs.h. */ 21575 21576#ifdef HAVE_COMPLEX_H 21577#include <complex.h> 21578#endif 21579#ifdef HAVE_MATH_H 21580#include <math.h> 21581#endif 21582 21583int (*ptr)() = (int (*)())cpowf; 21584 21585int 21586main () 21587{ 21588 return 0; 21589} 21590 21591_ACEOF 21592if ac_fn_c_try_link "$LINENO"; then : 21593 gcc_cv_math_func_cpowf=yes 21594else 21595 gcc_cv_math_func_cpowf=no 21596fi 21597rm -f core conftest.err conftest.$ac_objext \ 21598 conftest$ac_exeext conftest.$ac_ext 21599fi 21600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5 21601$as_echo "$gcc_cv_math_func_cpowf" >&6; } 21602 if test $gcc_cv_math_func_cpowf = yes; then 21603 21604cat >>confdefs.h <<_ACEOF 21605#define HAVE_CPOWF 1 21606_ACEOF 21607 21608 fi 21609 21610 21611 21612 21613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5 21614$as_echo_n "checking for cpow... " >&6; } 21615if ${gcc_cv_math_func_cpow+:} false; then : 21616 $as_echo_n "(cached) " >&6 21617else 21618 if test x$gcc_no_link = xyes; then 21619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21620fi 21621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21622/* end confdefs.h. */ 21623 21624#ifdef HAVE_COMPLEX_H 21625#include <complex.h> 21626#endif 21627#ifdef HAVE_MATH_H 21628#include <math.h> 21629#endif 21630 21631int (*ptr)() = (int (*)())cpow; 21632 21633int 21634main () 21635{ 21636 return 0; 21637} 21638 21639_ACEOF 21640if ac_fn_c_try_link "$LINENO"; then : 21641 gcc_cv_math_func_cpow=yes 21642else 21643 gcc_cv_math_func_cpow=no 21644fi 21645rm -f core conftest.err conftest.$ac_objext \ 21646 conftest$ac_exeext conftest.$ac_ext 21647fi 21648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5 21649$as_echo "$gcc_cv_math_func_cpow" >&6; } 21650 if test $gcc_cv_math_func_cpow = yes; then 21651 21652cat >>confdefs.h <<_ACEOF 21653#define HAVE_CPOW 1 21654_ACEOF 21655 21656 fi 21657 21658 21659 21660 21661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5 21662$as_echo_n "checking for cpowl... " >&6; } 21663if ${gcc_cv_math_func_cpowl+:} false; then : 21664 $as_echo_n "(cached) " >&6 21665else 21666 if test x$gcc_no_link = xyes; then 21667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21668fi 21669cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21670/* end confdefs.h. */ 21671 21672#ifdef HAVE_COMPLEX_H 21673#include <complex.h> 21674#endif 21675#ifdef HAVE_MATH_H 21676#include <math.h> 21677#endif 21678 21679int (*ptr)() = (int (*)())cpowl; 21680 21681int 21682main () 21683{ 21684 return 0; 21685} 21686 21687_ACEOF 21688if ac_fn_c_try_link "$LINENO"; then : 21689 gcc_cv_math_func_cpowl=yes 21690else 21691 gcc_cv_math_func_cpowl=no 21692fi 21693rm -f core conftest.err conftest.$ac_objext \ 21694 conftest$ac_exeext conftest.$ac_ext 21695fi 21696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5 21697$as_echo "$gcc_cv_math_func_cpowl" >&6; } 21698 if test $gcc_cv_math_func_cpowl = yes; then 21699 21700cat >>confdefs.h <<_ACEOF 21701#define HAVE_CPOWL 1 21702_ACEOF 21703 21704 fi 21705 21706 21707 21708 21709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5 21710$as_echo_n "checking for roundf... " >&6; } 21711if ${gcc_cv_math_func_roundf+:} false; then : 21712 $as_echo_n "(cached) " >&6 21713else 21714 if test x$gcc_no_link = xyes; then 21715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21716fi 21717cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21718/* end confdefs.h. */ 21719 21720#ifdef HAVE_COMPLEX_H 21721#include <complex.h> 21722#endif 21723#ifdef HAVE_MATH_H 21724#include <math.h> 21725#endif 21726 21727int (*ptr)() = (int (*)())roundf; 21728 21729int 21730main () 21731{ 21732 return 0; 21733} 21734 21735_ACEOF 21736if ac_fn_c_try_link "$LINENO"; then : 21737 gcc_cv_math_func_roundf=yes 21738else 21739 gcc_cv_math_func_roundf=no 21740fi 21741rm -f core conftest.err conftest.$ac_objext \ 21742 conftest$ac_exeext conftest.$ac_ext 21743fi 21744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5 21745$as_echo "$gcc_cv_math_func_roundf" >&6; } 21746 if test $gcc_cv_math_func_roundf = yes; then 21747 21748cat >>confdefs.h <<_ACEOF 21749#define HAVE_ROUNDF 1 21750_ACEOF 21751 21752 fi 21753 21754 21755 21756 21757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5 21758$as_echo_n "checking for round... " >&6; } 21759if ${gcc_cv_math_func_round+:} false; then : 21760 $as_echo_n "(cached) " >&6 21761else 21762 if test x$gcc_no_link = xyes; then 21763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21764fi 21765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21766/* end confdefs.h. */ 21767 21768#ifdef HAVE_COMPLEX_H 21769#include <complex.h> 21770#endif 21771#ifdef HAVE_MATH_H 21772#include <math.h> 21773#endif 21774 21775int (*ptr)() = (int (*)())round; 21776 21777int 21778main () 21779{ 21780 return 0; 21781} 21782 21783_ACEOF 21784if ac_fn_c_try_link "$LINENO"; then : 21785 gcc_cv_math_func_round=yes 21786else 21787 gcc_cv_math_func_round=no 21788fi 21789rm -f core conftest.err conftest.$ac_objext \ 21790 conftest$ac_exeext conftest.$ac_ext 21791fi 21792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5 21793$as_echo "$gcc_cv_math_func_round" >&6; } 21794 if test $gcc_cv_math_func_round = yes; then 21795 21796cat >>confdefs.h <<_ACEOF 21797#define HAVE_ROUND 1 21798_ACEOF 21799 21800 fi 21801 21802 21803 21804 21805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5 21806$as_echo_n "checking for roundl... " >&6; } 21807if ${gcc_cv_math_func_roundl+:} false; then : 21808 $as_echo_n "(cached) " >&6 21809else 21810 if test x$gcc_no_link = xyes; then 21811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21812fi 21813cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21814/* end confdefs.h. */ 21815 21816#ifdef HAVE_COMPLEX_H 21817#include <complex.h> 21818#endif 21819#ifdef HAVE_MATH_H 21820#include <math.h> 21821#endif 21822 21823int (*ptr)() = (int (*)())roundl; 21824 21825int 21826main () 21827{ 21828 return 0; 21829} 21830 21831_ACEOF 21832if ac_fn_c_try_link "$LINENO"; then : 21833 gcc_cv_math_func_roundl=yes 21834else 21835 gcc_cv_math_func_roundl=no 21836fi 21837rm -f core conftest.err conftest.$ac_objext \ 21838 conftest$ac_exeext conftest.$ac_ext 21839fi 21840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5 21841$as_echo "$gcc_cv_math_func_roundl" >&6; } 21842 if test $gcc_cv_math_func_roundl = yes; then 21843 21844cat >>confdefs.h <<_ACEOF 21845#define HAVE_ROUNDL 1 21846_ACEOF 21847 21848 fi 21849 21850 21851 21852 21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5 21854$as_echo_n "checking for lroundf... " >&6; } 21855if ${gcc_cv_math_func_lroundf+:} false; then : 21856 $as_echo_n "(cached) " >&6 21857else 21858 if test x$gcc_no_link = xyes; then 21859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21860fi 21861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21862/* end confdefs.h. */ 21863 21864#ifdef HAVE_COMPLEX_H 21865#include <complex.h> 21866#endif 21867#ifdef HAVE_MATH_H 21868#include <math.h> 21869#endif 21870 21871int (*ptr)() = (int (*)())lroundf; 21872 21873int 21874main () 21875{ 21876 return 0; 21877} 21878 21879_ACEOF 21880if ac_fn_c_try_link "$LINENO"; then : 21881 gcc_cv_math_func_lroundf=yes 21882else 21883 gcc_cv_math_func_lroundf=no 21884fi 21885rm -f core conftest.err conftest.$ac_objext \ 21886 conftest$ac_exeext conftest.$ac_ext 21887fi 21888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5 21889$as_echo "$gcc_cv_math_func_lroundf" >&6; } 21890 if test $gcc_cv_math_func_lroundf = yes; then 21891 21892cat >>confdefs.h <<_ACEOF 21893#define HAVE_LROUNDF 1 21894_ACEOF 21895 21896 fi 21897 21898 21899 21900 21901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5 21902$as_echo_n "checking for lround... " >&6; } 21903if ${gcc_cv_math_func_lround+:} false; then : 21904 $as_echo_n "(cached) " >&6 21905else 21906 if test x$gcc_no_link = xyes; then 21907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21908fi 21909cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21910/* end confdefs.h. */ 21911 21912#ifdef HAVE_COMPLEX_H 21913#include <complex.h> 21914#endif 21915#ifdef HAVE_MATH_H 21916#include <math.h> 21917#endif 21918 21919int (*ptr)() = (int (*)())lround; 21920 21921int 21922main () 21923{ 21924 return 0; 21925} 21926 21927_ACEOF 21928if ac_fn_c_try_link "$LINENO"; then : 21929 gcc_cv_math_func_lround=yes 21930else 21931 gcc_cv_math_func_lround=no 21932fi 21933rm -f core conftest.err conftest.$ac_objext \ 21934 conftest$ac_exeext conftest.$ac_ext 21935fi 21936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5 21937$as_echo "$gcc_cv_math_func_lround" >&6; } 21938 if test $gcc_cv_math_func_lround = yes; then 21939 21940cat >>confdefs.h <<_ACEOF 21941#define HAVE_LROUND 1 21942_ACEOF 21943 21944 fi 21945 21946 21947 21948 21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5 21950$as_echo_n "checking for lroundl... " >&6; } 21951if ${gcc_cv_math_func_lroundl+:} false; then : 21952 $as_echo_n "(cached) " >&6 21953else 21954 if test x$gcc_no_link = xyes; then 21955 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 21956fi 21957cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21958/* end confdefs.h. */ 21959 21960#ifdef HAVE_COMPLEX_H 21961#include <complex.h> 21962#endif 21963#ifdef HAVE_MATH_H 21964#include <math.h> 21965#endif 21966 21967int (*ptr)() = (int (*)())lroundl; 21968 21969int 21970main () 21971{ 21972 return 0; 21973} 21974 21975_ACEOF 21976if ac_fn_c_try_link "$LINENO"; then : 21977 gcc_cv_math_func_lroundl=yes 21978else 21979 gcc_cv_math_func_lroundl=no 21980fi 21981rm -f core conftest.err conftest.$ac_objext \ 21982 conftest$ac_exeext conftest.$ac_ext 21983fi 21984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5 21985$as_echo "$gcc_cv_math_func_lroundl" >&6; } 21986 if test $gcc_cv_math_func_lroundl = yes; then 21987 21988cat >>confdefs.h <<_ACEOF 21989#define HAVE_LROUNDL 1 21990_ACEOF 21991 21992 fi 21993 21994 21995 21996 21997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5 21998$as_echo_n "checking for llroundf... " >&6; } 21999if ${gcc_cv_math_func_llroundf+:} false; then : 22000 $as_echo_n "(cached) " >&6 22001else 22002 if test x$gcc_no_link = xyes; then 22003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22004fi 22005cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22006/* end confdefs.h. */ 22007 22008#ifdef HAVE_COMPLEX_H 22009#include <complex.h> 22010#endif 22011#ifdef HAVE_MATH_H 22012#include <math.h> 22013#endif 22014 22015int (*ptr)() = (int (*)())llroundf; 22016 22017int 22018main () 22019{ 22020 return 0; 22021} 22022 22023_ACEOF 22024if ac_fn_c_try_link "$LINENO"; then : 22025 gcc_cv_math_func_llroundf=yes 22026else 22027 gcc_cv_math_func_llroundf=no 22028fi 22029rm -f core conftest.err conftest.$ac_objext \ 22030 conftest$ac_exeext conftest.$ac_ext 22031fi 22032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5 22033$as_echo "$gcc_cv_math_func_llroundf" >&6; } 22034 if test $gcc_cv_math_func_llroundf = yes; then 22035 22036cat >>confdefs.h <<_ACEOF 22037#define HAVE_LLROUNDF 1 22038_ACEOF 22039 22040 fi 22041 22042 22043 22044 22045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5 22046$as_echo_n "checking for llround... " >&6; } 22047if ${gcc_cv_math_func_llround+:} false; then : 22048 $as_echo_n "(cached) " >&6 22049else 22050 if test x$gcc_no_link = xyes; then 22051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22052fi 22053cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22054/* end confdefs.h. */ 22055 22056#ifdef HAVE_COMPLEX_H 22057#include <complex.h> 22058#endif 22059#ifdef HAVE_MATH_H 22060#include <math.h> 22061#endif 22062 22063int (*ptr)() = (int (*)())llround; 22064 22065int 22066main () 22067{ 22068 return 0; 22069} 22070 22071_ACEOF 22072if ac_fn_c_try_link "$LINENO"; then : 22073 gcc_cv_math_func_llround=yes 22074else 22075 gcc_cv_math_func_llround=no 22076fi 22077rm -f core conftest.err conftest.$ac_objext \ 22078 conftest$ac_exeext conftest.$ac_ext 22079fi 22080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5 22081$as_echo "$gcc_cv_math_func_llround" >&6; } 22082 if test $gcc_cv_math_func_llround = yes; then 22083 22084cat >>confdefs.h <<_ACEOF 22085#define HAVE_LLROUND 1 22086_ACEOF 22087 22088 fi 22089 22090 22091 22092 22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5 22094$as_echo_n "checking for llroundl... " >&6; } 22095if ${gcc_cv_math_func_llroundl+:} false; then : 22096 $as_echo_n "(cached) " >&6 22097else 22098 if test x$gcc_no_link = xyes; then 22099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22100fi 22101cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22102/* end confdefs.h. */ 22103 22104#ifdef HAVE_COMPLEX_H 22105#include <complex.h> 22106#endif 22107#ifdef HAVE_MATH_H 22108#include <math.h> 22109#endif 22110 22111int (*ptr)() = (int (*)())llroundl; 22112 22113int 22114main () 22115{ 22116 return 0; 22117} 22118 22119_ACEOF 22120if ac_fn_c_try_link "$LINENO"; then : 22121 gcc_cv_math_func_llroundl=yes 22122else 22123 gcc_cv_math_func_llroundl=no 22124fi 22125rm -f core conftest.err conftest.$ac_objext \ 22126 conftest$ac_exeext conftest.$ac_ext 22127fi 22128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5 22129$as_echo "$gcc_cv_math_func_llroundl" >&6; } 22130 if test $gcc_cv_math_func_llroundl = yes; then 22131 22132cat >>confdefs.h <<_ACEOF 22133#define HAVE_LLROUNDL 1 22134_ACEOF 22135 22136 fi 22137 22138 22139 22140 22141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5 22142$as_echo_n "checking for scalbnf... " >&6; } 22143if ${gcc_cv_math_func_scalbnf+:} false; then : 22144 $as_echo_n "(cached) " >&6 22145else 22146 if test x$gcc_no_link = xyes; then 22147 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22148fi 22149cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22150/* end confdefs.h. */ 22151 22152#ifdef HAVE_COMPLEX_H 22153#include <complex.h> 22154#endif 22155#ifdef HAVE_MATH_H 22156#include <math.h> 22157#endif 22158 22159int (*ptr)() = (int (*)())scalbnf; 22160 22161int 22162main () 22163{ 22164 return 0; 22165} 22166 22167_ACEOF 22168if ac_fn_c_try_link "$LINENO"; then : 22169 gcc_cv_math_func_scalbnf=yes 22170else 22171 gcc_cv_math_func_scalbnf=no 22172fi 22173rm -f core conftest.err conftest.$ac_objext \ 22174 conftest$ac_exeext conftest.$ac_ext 22175fi 22176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5 22177$as_echo "$gcc_cv_math_func_scalbnf" >&6; } 22178 if test $gcc_cv_math_func_scalbnf = yes; then 22179 22180cat >>confdefs.h <<_ACEOF 22181#define HAVE_SCALBNF 1 22182_ACEOF 22183 22184 fi 22185 22186 22187 22188 22189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5 22190$as_echo_n "checking for scalbn... " >&6; } 22191if ${gcc_cv_math_func_scalbn+:} false; then : 22192 $as_echo_n "(cached) " >&6 22193else 22194 if test x$gcc_no_link = xyes; then 22195 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22196fi 22197cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22198/* end confdefs.h. */ 22199 22200#ifdef HAVE_COMPLEX_H 22201#include <complex.h> 22202#endif 22203#ifdef HAVE_MATH_H 22204#include <math.h> 22205#endif 22206 22207int (*ptr)() = (int (*)())scalbn; 22208 22209int 22210main () 22211{ 22212 return 0; 22213} 22214 22215_ACEOF 22216if ac_fn_c_try_link "$LINENO"; then : 22217 gcc_cv_math_func_scalbn=yes 22218else 22219 gcc_cv_math_func_scalbn=no 22220fi 22221rm -f core conftest.err conftest.$ac_objext \ 22222 conftest$ac_exeext conftest.$ac_ext 22223fi 22224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5 22225$as_echo "$gcc_cv_math_func_scalbn" >&6; } 22226 if test $gcc_cv_math_func_scalbn = yes; then 22227 22228cat >>confdefs.h <<_ACEOF 22229#define HAVE_SCALBN 1 22230_ACEOF 22231 22232 fi 22233 22234 22235 22236 22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5 22238$as_echo_n "checking for scalbnl... " >&6; } 22239if ${gcc_cv_math_func_scalbnl+:} false; then : 22240 $as_echo_n "(cached) " >&6 22241else 22242 if test x$gcc_no_link = xyes; then 22243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22244fi 22245cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22246/* end confdefs.h. */ 22247 22248#ifdef HAVE_COMPLEX_H 22249#include <complex.h> 22250#endif 22251#ifdef HAVE_MATH_H 22252#include <math.h> 22253#endif 22254 22255int (*ptr)() = (int (*)())scalbnl; 22256 22257int 22258main () 22259{ 22260 return 0; 22261} 22262 22263_ACEOF 22264if ac_fn_c_try_link "$LINENO"; then : 22265 gcc_cv_math_func_scalbnl=yes 22266else 22267 gcc_cv_math_func_scalbnl=no 22268fi 22269rm -f core conftest.err conftest.$ac_objext \ 22270 conftest$ac_exeext conftest.$ac_ext 22271fi 22272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5 22273$as_echo "$gcc_cv_math_func_scalbnl" >&6; } 22274 if test $gcc_cv_math_func_scalbnl = yes; then 22275 22276cat >>confdefs.h <<_ACEOF 22277#define HAVE_SCALBNL 1 22278_ACEOF 22279 22280 fi 22281 22282 22283 22284 22285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5 22286$as_echo_n "checking for sinf... " >&6; } 22287if ${gcc_cv_math_func_sinf+:} false; then : 22288 $as_echo_n "(cached) " >&6 22289else 22290 if test x$gcc_no_link = xyes; then 22291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22292fi 22293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22294/* end confdefs.h. */ 22295 22296#ifdef HAVE_COMPLEX_H 22297#include <complex.h> 22298#endif 22299#ifdef HAVE_MATH_H 22300#include <math.h> 22301#endif 22302 22303int (*ptr)() = (int (*)())sinf; 22304 22305int 22306main () 22307{ 22308 return 0; 22309} 22310 22311_ACEOF 22312if ac_fn_c_try_link "$LINENO"; then : 22313 gcc_cv_math_func_sinf=yes 22314else 22315 gcc_cv_math_func_sinf=no 22316fi 22317rm -f core conftest.err conftest.$ac_objext \ 22318 conftest$ac_exeext conftest.$ac_ext 22319fi 22320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5 22321$as_echo "$gcc_cv_math_func_sinf" >&6; } 22322 if test $gcc_cv_math_func_sinf = yes; then 22323 22324cat >>confdefs.h <<_ACEOF 22325#define HAVE_SINF 1 22326_ACEOF 22327 22328 fi 22329 22330 22331 22332 22333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5 22334$as_echo_n "checking for sin... " >&6; } 22335if ${gcc_cv_math_func_sin+:} false; then : 22336 $as_echo_n "(cached) " >&6 22337else 22338 if test x$gcc_no_link = xyes; then 22339 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22340fi 22341cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22342/* end confdefs.h. */ 22343 22344#ifdef HAVE_COMPLEX_H 22345#include <complex.h> 22346#endif 22347#ifdef HAVE_MATH_H 22348#include <math.h> 22349#endif 22350 22351int (*ptr)() = (int (*)())sin; 22352 22353int 22354main () 22355{ 22356 return 0; 22357} 22358 22359_ACEOF 22360if ac_fn_c_try_link "$LINENO"; then : 22361 gcc_cv_math_func_sin=yes 22362else 22363 gcc_cv_math_func_sin=no 22364fi 22365rm -f core conftest.err conftest.$ac_objext \ 22366 conftest$ac_exeext conftest.$ac_ext 22367fi 22368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5 22369$as_echo "$gcc_cv_math_func_sin" >&6; } 22370 if test $gcc_cv_math_func_sin = yes; then 22371 22372cat >>confdefs.h <<_ACEOF 22373#define HAVE_SIN 1 22374_ACEOF 22375 22376 fi 22377 22378 22379 22380 22381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5 22382$as_echo_n "checking for sinl... " >&6; } 22383if ${gcc_cv_math_func_sinl+:} false; then : 22384 $as_echo_n "(cached) " >&6 22385else 22386 if test x$gcc_no_link = xyes; then 22387 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22388fi 22389cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22390/* end confdefs.h. */ 22391 22392#ifdef HAVE_COMPLEX_H 22393#include <complex.h> 22394#endif 22395#ifdef HAVE_MATH_H 22396#include <math.h> 22397#endif 22398 22399int (*ptr)() = (int (*)())sinl; 22400 22401int 22402main () 22403{ 22404 return 0; 22405} 22406 22407_ACEOF 22408if ac_fn_c_try_link "$LINENO"; then : 22409 gcc_cv_math_func_sinl=yes 22410else 22411 gcc_cv_math_func_sinl=no 22412fi 22413rm -f core conftest.err conftest.$ac_objext \ 22414 conftest$ac_exeext conftest.$ac_ext 22415fi 22416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5 22417$as_echo "$gcc_cv_math_func_sinl" >&6; } 22418 if test $gcc_cv_math_func_sinl = yes; then 22419 22420cat >>confdefs.h <<_ACEOF 22421#define HAVE_SINL 1 22422_ACEOF 22423 22424 fi 22425 22426 22427 22428 22429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5 22430$as_echo_n "checking for csinf... " >&6; } 22431if ${gcc_cv_math_func_csinf+:} false; then : 22432 $as_echo_n "(cached) " >&6 22433else 22434 if test x$gcc_no_link = xyes; then 22435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22436fi 22437cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22438/* end confdefs.h. */ 22439 22440#ifdef HAVE_COMPLEX_H 22441#include <complex.h> 22442#endif 22443#ifdef HAVE_MATH_H 22444#include <math.h> 22445#endif 22446 22447int (*ptr)() = (int (*)())csinf; 22448 22449int 22450main () 22451{ 22452 return 0; 22453} 22454 22455_ACEOF 22456if ac_fn_c_try_link "$LINENO"; then : 22457 gcc_cv_math_func_csinf=yes 22458else 22459 gcc_cv_math_func_csinf=no 22460fi 22461rm -f core conftest.err conftest.$ac_objext \ 22462 conftest$ac_exeext conftest.$ac_ext 22463fi 22464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5 22465$as_echo "$gcc_cv_math_func_csinf" >&6; } 22466 if test $gcc_cv_math_func_csinf = yes; then 22467 22468cat >>confdefs.h <<_ACEOF 22469#define HAVE_CSINF 1 22470_ACEOF 22471 22472 fi 22473 22474 22475 22476 22477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5 22478$as_echo_n "checking for csin... " >&6; } 22479if ${gcc_cv_math_func_csin+:} false; then : 22480 $as_echo_n "(cached) " >&6 22481else 22482 if test x$gcc_no_link = xyes; then 22483 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22484fi 22485cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22486/* end confdefs.h. */ 22487 22488#ifdef HAVE_COMPLEX_H 22489#include <complex.h> 22490#endif 22491#ifdef HAVE_MATH_H 22492#include <math.h> 22493#endif 22494 22495int (*ptr)() = (int (*)())csin; 22496 22497int 22498main () 22499{ 22500 return 0; 22501} 22502 22503_ACEOF 22504if ac_fn_c_try_link "$LINENO"; then : 22505 gcc_cv_math_func_csin=yes 22506else 22507 gcc_cv_math_func_csin=no 22508fi 22509rm -f core conftest.err conftest.$ac_objext \ 22510 conftest$ac_exeext conftest.$ac_ext 22511fi 22512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5 22513$as_echo "$gcc_cv_math_func_csin" >&6; } 22514 if test $gcc_cv_math_func_csin = yes; then 22515 22516cat >>confdefs.h <<_ACEOF 22517#define HAVE_CSIN 1 22518_ACEOF 22519 22520 fi 22521 22522 22523 22524 22525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5 22526$as_echo_n "checking for csinl... " >&6; } 22527if ${gcc_cv_math_func_csinl+:} false; then : 22528 $as_echo_n "(cached) " >&6 22529else 22530 if test x$gcc_no_link = xyes; then 22531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22532fi 22533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22534/* end confdefs.h. */ 22535 22536#ifdef HAVE_COMPLEX_H 22537#include <complex.h> 22538#endif 22539#ifdef HAVE_MATH_H 22540#include <math.h> 22541#endif 22542 22543int (*ptr)() = (int (*)())csinl; 22544 22545int 22546main () 22547{ 22548 return 0; 22549} 22550 22551_ACEOF 22552if ac_fn_c_try_link "$LINENO"; then : 22553 gcc_cv_math_func_csinl=yes 22554else 22555 gcc_cv_math_func_csinl=no 22556fi 22557rm -f core conftest.err conftest.$ac_objext \ 22558 conftest$ac_exeext conftest.$ac_ext 22559fi 22560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5 22561$as_echo "$gcc_cv_math_func_csinl" >&6; } 22562 if test $gcc_cv_math_func_csinl = yes; then 22563 22564cat >>confdefs.h <<_ACEOF 22565#define HAVE_CSINL 1 22566_ACEOF 22567 22568 fi 22569 22570 22571 22572 22573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5 22574$as_echo_n "checking for sinhf... " >&6; } 22575if ${gcc_cv_math_func_sinhf+:} false; then : 22576 $as_echo_n "(cached) " >&6 22577else 22578 if test x$gcc_no_link = xyes; then 22579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22580fi 22581cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22582/* end confdefs.h. */ 22583 22584#ifdef HAVE_COMPLEX_H 22585#include <complex.h> 22586#endif 22587#ifdef HAVE_MATH_H 22588#include <math.h> 22589#endif 22590 22591int (*ptr)() = (int (*)())sinhf; 22592 22593int 22594main () 22595{ 22596 return 0; 22597} 22598 22599_ACEOF 22600if ac_fn_c_try_link "$LINENO"; then : 22601 gcc_cv_math_func_sinhf=yes 22602else 22603 gcc_cv_math_func_sinhf=no 22604fi 22605rm -f core conftest.err conftest.$ac_objext \ 22606 conftest$ac_exeext conftest.$ac_ext 22607fi 22608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5 22609$as_echo "$gcc_cv_math_func_sinhf" >&6; } 22610 if test $gcc_cv_math_func_sinhf = yes; then 22611 22612cat >>confdefs.h <<_ACEOF 22613#define HAVE_SINHF 1 22614_ACEOF 22615 22616 fi 22617 22618 22619 22620 22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5 22622$as_echo_n "checking for sinh... " >&6; } 22623if ${gcc_cv_math_func_sinh+:} false; then : 22624 $as_echo_n "(cached) " >&6 22625else 22626 if test x$gcc_no_link = xyes; then 22627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22628fi 22629cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22630/* end confdefs.h. */ 22631 22632#ifdef HAVE_COMPLEX_H 22633#include <complex.h> 22634#endif 22635#ifdef HAVE_MATH_H 22636#include <math.h> 22637#endif 22638 22639int (*ptr)() = (int (*)())sinh; 22640 22641int 22642main () 22643{ 22644 return 0; 22645} 22646 22647_ACEOF 22648if ac_fn_c_try_link "$LINENO"; then : 22649 gcc_cv_math_func_sinh=yes 22650else 22651 gcc_cv_math_func_sinh=no 22652fi 22653rm -f core conftest.err conftest.$ac_objext \ 22654 conftest$ac_exeext conftest.$ac_ext 22655fi 22656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5 22657$as_echo "$gcc_cv_math_func_sinh" >&6; } 22658 if test $gcc_cv_math_func_sinh = yes; then 22659 22660cat >>confdefs.h <<_ACEOF 22661#define HAVE_SINH 1 22662_ACEOF 22663 22664 fi 22665 22666 22667 22668 22669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5 22670$as_echo_n "checking for sinhl... " >&6; } 22671if ${gcc_cv_math_func_sinhl+:} false; then : 22672 $as_echo_n "(cached) " >&6 22673else 22674 if test x$gcc_no_link = xyes; then 22675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22676fi 22677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22678/* end confdefs.h. */ 22679 22680#ifdef HAVE_COMPLEX_H 22681#include <complex.h> 22682#endif 22683#ifdef HAVE_MATH_H 22684#include <math.h> 22685#endif 22686 22687int (*ptr)() = (int (*)())sinhl; 22688 22689int 22690main () 22691{ 22692 return 0; 22693} 22694 22695_ACEOF 22696if ac_fn_c_try_link "$LINENO"; then : 22697 gcc_cv_math_func_sinhl=yes 22698else 22699 gcc_cv_math_func_sinhl=no 22700fi 22701rm -f core conftest.err conftest.$ac_objext \ 22702 conftest$ac_exeext conftest.$ac_ext 22703fi 22704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5 22705$as_echo "$gcc_cv_math_func_sinhl" >&6; } 22706 if test $gcc_cv_math_func_sinhl = yes; then 22707 22708cat >>confdefs.h <<_ACEOF 22709#define HAVE_SINHL 1 22710_ACEOF 22711 22712 fi 22713 22714 22715 22716 22717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5 22718$as_echo_n "checking for csinhf... " >&6; } 22719if ${gcc_cv_math_func_csinhf+:} false; then : 22720 $as_echo_n "(cached) " >&6 22721else 22722 if test x$gcc_no_link = xyes; then 22723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22724fi 22725cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22726/* end confdefs.h. */ 22727 22728#ifdef HAVE_COMPLEX_H 22729#include <complex.h> 22730#endif 22731#ifdef HAVE_MATH_H 22732#include <math.h> 22733#endif 22734 22735int (*ptr)() = (int (*)())csinhf; 22736 22737int 22738main () 22739{ 22740 return 0; 22741} 22742 22743_ACEOF 22744if ac_fn_c_try_link "$LINENO"; then : 22745 gcc_cv_math_func_csinhf=yes 22746else 22747 gcc_cv_math_func_csinhf=no 22748fi 22749rm -f core conftest.err conftest.$ac_objext \ 22750 conftest$ac_exeext conftest.$ac_ext 22751fi 22752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5 22753$as_echo "$gcc_cv_math_func_csinhf" >&6; } 22754 if test $gcc_cv_math_func_csinhf = yes; then 22755 22756cat >>confdefs.h <<_ACEOF 22757#define HAVE_CSINHF 1 22758_ACEOF 22759 22760 fi 22761 22762 22763 22764 22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5 22766$as_echo_n "checking for csinh... " >&6; } 22767if ${gcc_cv_math_func_csinh+:} false; then : 22768 $as_echo_n "(cached) " >&6 22769else 22770 if test x$gcc_no_link = xyes; then 22771 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22772fi 22773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22774/* end confdefs.h. */ 22775 22776#ifdef HAVE_COMPLEX_H 22777#include <complex.h> 22778#endif 22779#ifdef HAVE_MATH_H 22780#include <math.h> 22781#endif 22782 22783int (*ptr)() = (int (*)())csinh; 22784 22785int 22786main () 22787{ 22788 return 0; 22789} 22790 22791_ACEOF 22792if ac_fn_c_try_link "$LINENO"; then : 22793 gcc_cv_math_func_csinh=yes 22794else 22795 gcc_cv_math_func_csinh=no 22796fi 22797rm -f core conftest.err conftest.$ac_objext \ 22798 conftest$ac_exeext conftest.$ac_ext 22799fi 22800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5 22801$as_echo "$gcc_cv_math_func_csinh" >&6; } 22802 if test $gcc_cv_math_func_csinh = yes; then 22803 22804cat >>confdefs.h <<_ACEOF 22805#define HAVE_CSINH 1 22806_ACEOF 22807 22808 fi 22809 22810 22811 22812 22813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5 22814$as_echo_n "checking for csinhl... " >&6; } 22815if ${gcc_cv_math_func_csinhl+:} false; then : 22816 $as_echo_n "(cached) " >&6 22817else 22818 if test x$gcc_no_link = xyes; then 22819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22820fi 22821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22822/* end confdefs.h. */ 22823 22824#ifdef HAVE_COMPLEX_H 22825#include <complex.h> 22826#endif 22827#ifdef HAVE_MATH_H 22828#include <math.h> 22829#endif 22830 22831int (*ptr)() = (int (*)())csinhl; 22832 22833int 22834main () 22835{ 22836 return 0; 22837} 22838 22839_ACEOF 22840if ac_fn_c_try_link "$LINENO"; then : 22841 gcc_cv_math_func_csinhl=yes 22842else 22843 gcc_cv_math_func_csinhl=no 22844fi 22845rm -f core conftest.err conftest.$ac_objext \ 22846 conftest$ac_exeext conftest.$ac_ext 22847fi 22848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5 22849$as_echo "$gcc_cv_math_func_csinhl" >&6; } 22850 if test $gcc_cv_math_func_csinhl = yes; then 22851 22852cat >>confdefs.h <<_ACEOF 22853#define HAVE_CSINHL 1 22854_ACEOF 22855 22856 fi 22857 22858 22859 22860 22861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5 22862$as_echo_n "checking for sqrtf... " >&6; } 22863if ${gcc_cv_math_func_sqrtf+:} false; then : 22864 $as_echo_n "(cached) " >&6 22865else 22866 if test x$gcc_no_link = xyes; then 22867 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22868fi 22869cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22870/* end confdefs.h. */ 22871 22872#ifdef HAVE_COMPLEX_H 22873#include <complex.h> 22874#endif 22875#ifdef HAVE_MATH_H 22876#include <math.h> 22877#endif 22878 22879int (*ptr)() = (int (*)())sqrtf; 22880 22881int 22882main () 22883{ 22884 return 0; 22885} 22886 22887_ACEOF 22888if ac_fn_c_try_link "$LINENO"; then : 22889 gcc_cv_math_func_sqrtf=yes 22890else 22891 gcc_cv_math_func_sqrtf=no 22892fi 22893rm -f core conftest.err conftest.$ac_objext \ 22894 conftest$ac_exeext conftest.$ac_ext 22895fi 22896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5 22897$as_echo "$gcc_cv_math_func_sqrtf" >&6; } 22898 if test $gcc_cv_math_func_sqrtf = yes; then 22899 22900cat >>confdefs.h <<_ACEOF 22901#define HAVE_SQRTF 1 22902_ACEOF 22903 22904 fi 22905 22906 22907 22908 22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5 22910$as_echo_n "checking for sqrt... " >&6; } 22911if ${gcc_cv_math_func_sqrt+:} false; then : 22912 $as_echo_n "(cached) " >&6 22913else 22914 if test x$gcc_no_link = xyes; then 22915 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22916fi 22917cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22918/* end confdefs.h. */ 22919 22920#ifdef HAVE_COMPLEX_H 22921#include <complex.h> 22922#endif 22923#ifdef HAVE_MATH_H 22924#include <math.h> 22925#endif 22926 22927int (*ptr)() = (int (*)())sqrt; 22928 22929int 22930main () 22931{ 22932 return 0; 22933} 22934 22935_ACEOF 22936if ac_fn_c_try_link "$LINENO"; then : 22937 gcc_cv_math_func_sqrt=yes 22938else 22939 gcc_cv_math_func_sqrt=no 22940fi 22941rm -f core conftest.err conftest.$ac_objext \ 22942 conftest$ac_exeext conftest.$ac_ext 22943fi 22944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5 22945$as_echo "$gcc_cv_math_func_sqrt" >&6; } 22946 if test $gcc_cv_math_func_sqrt = yes; then 22947 22948cat >>confdefs.h <<_ACEOF 22949#define HAVE_SQRT 1 22950_ACEOF 22951 22952 fi 22953 22954 22955 22956 22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5 22958$as_echo_n "checking for sqrtl... " >&6; } 22959if ${gcc_cv_math_func_sqrtl+:} false; then : 22960 $as_echo_n "(cached) " >&6 22961else 22962 if test x$gcc_no_link = xyes; then 22963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 22964fi 22965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22966/* end confdefs.h. */ 22967 22968#ifdef HAVE_COMPLEX_H 22969#include <complex.h> 22970#endif 22971#ifdef HAVE_MATH_H 22972#include <math.h> 22973#endif 22974 22975int (*ptr)() = (int (*)())sqrtl; 22976 22977int 22978main () 22979{ 22980 return 0; 22981} 22982 22983_ACEOF 22984if ac_fn_c_try_link "$LINENO"; then : 22985 gcc_cv_math_func_sqrtl=yes 22986else 22987 gcc_cv_math_func_sqrtl=no 22988fi 22989rm -f core conftest.err conftest.$ac_objext \ 22990 conftest$ac_exeext conftest.$ac_ext 22991fi 22992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5 22993$as_echo "$gcc_cv_math_func_sqrtl" >&6; } 22994 if test $gcc_cv_math_func_sqrtl = yes; then 22995 22996cat >>confdefs.h <<_ACEOF 22997#define HAVE_SQRTL 1 22998_ACEOF 22999 23000 fi 23001 23002 23003 23004 23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5 23006$as_echo_n "checking for csqrtf... " >&6; } 23007if ${gcc_cv_math_func_csqrtf+:} false; then : 23008 $as_echo_n "(cached) " >&6 23009else 23010 if test x$gcc_no_link = xyes; then 23011 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23012fi 23013cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23014/* end confdefs.h. */ 23015 23016#ifdef HAVE_COMPLEX_H 23017#include <complex.h> 23018#endif 23019#ifdef HAVE_MATH_H 23020#include <math.h> 23021#endif 23022 23023int (*ptr)() = (int (*)())csqrtf; 23024 23025int 23026main () 23027{ 23028 return 0; 23029} 23030 23031_ACEOF 23032if ac_fn_c_try_link "$LINENO"; then : 23033 gcc_cv_math_func_csqrtf=yes 23034else 23035 gcc_cv_math_func_csqrtf=no 23036fi 23037rm -f core conftest.err conftest.$ac_objext \ 23038 conftest$ac_exeext conftest.$ac_ext 23039fi 23040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5 23041$as_echo "$gcc_cv_math_func_csqrtf" >&6; } 23042 if test $gcc_cv_math_func_csqrtf = yes; then 23043 23044cat >>confdefs.h <<_ACEOF 23045#define HAVE_CSQRTF 1 23046_ACEOF 23047 23048 fi 23049 23050 23051 23052 23053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5 23054$as_echo_n "checking for csqrt... " >&6; } 23055if ${gcc_cv_math_func_csqrt+:} false; then : 23056 $as_echo_n "(cached) " >&6 23057else 23058 if test x$gcc_no_link = xyes; then 23059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23060fi 23061cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23062/* end confdefs.h. */ 23063 23064#ifdef HAVE_COMPLEX_H 23065#include <complex.h> 23066#endif 23067#ifdef HAVE_MATH_H 23068#include <math.h> 23069#endif 23070 23071int (*ptr)() = (int (*)())csqrt; 23072 23073int 23074main () 23075{ 23076 return 0; 23077} 23078 23079_ACEOF 23080if ac_fn_c_try_link "$LINENO"; then : 23081 gcc_cv_math_func_csqrt=yes 23082else 23083 gcc_cv_math_func_csqrt=no 23084fi 23085rm -f core conftest.err conftest.$ac_objext \ 23086 conftest$ac_exeext conftest.$ac_ext 23087fi 23088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5 23089$as_echo "$gcc_cv_math_func_csqrt" >&6; } 23090 if test $gcc_cv_math_func_csqrt = yes; then 23091 23092cat >>confdefs.h <<_ACEOF 23093#define HAVE_CSQRT 1 23094_ACEOF 23095 23096 fi 23097 23098 23099 23100 23101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5 23102$as_echo_n "checking for csqrtl... " >&6; } 23103if ${gcc_cv_math_func_csqrtl+:} false; then : 23104 $as_echo_n "(cached) " >&6 23105else 23106 if test x$gcc_no_link = xyes; then 23107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23108fi 23109cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23110/* end confdefs.h. */ 23111 23112#ifdef HAVE_COMPLEX_H 23113#include <complex.h> 23114#endif 23115#ifdef HAVE_MATH_H 23116#include <math.h> 23117#endif 23118 23119int (*ptr)() = (int (*)())csqrtl; 23120 23121int 23122main () 23123{ 23124 return 0; 23125} 23126 23127_ACEOF 23128if ac_fn_c_try_link "$LINENO"; then : 23129 gcc_cv_math_func_csqrtl=yes 23130else 23131 gcc_cv_math_func_csqrtl=no 23132fi 23133rm -f core conftest.err conftest.$ac_objext \ 23134 conftest$ac_exeext conftest.$ac_ext 23135fi 23136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5 23137$as_echo "$gcc_cv_math_func_csqrtl" >&6; } 23138 if test $gcc_cv_math_func_csqrtl = yes; then 23139 23140cat >>confdefs.h <<_ACEOF 23141#define HAVE_CSQRTL 1 23142_ACEOF 23143 23144 fi 23145 23146 23147 23148 23149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5 23150$as_echo_n "checking for tanf... " >&6; } 23151if ${gcc_cv_math_func_tanf+:} false; then : 23152 $as_echo_n "(cached) " >&6 23153else 23154 if test x$gcc_no_link = xyes; then 23155 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23156fi 23157cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23158/* end confdefs.h. */ 23159 23160#ifdef HAVE_COMPLEX_H 23161#include <complex.h> 23162#endif 23163#ifdef HAVE_MATH_H 23164#include <math.h> 23165#endif 23166 23167int (*ptr)() = (int (*)())tanf; 23168 23169int 23170main () 23171{ 23172 return 0; 23173} 23174 23175_ACEOF 23176if ac_fn_c_try_link "$LINENO"; then : 23177 gcc_cv_math_func_tanf=yes 23178else 23179 gcc_cv_math_func_tanf=no 23180fi 23181rm -f core conftest.err conftest.$ac_objext \ 23182 conftest$ac_exeext conftest.$ac_ext 23183fi 23184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5 23185$as_echo "$gcc_cv_math_func_tanf" >&6; } 23186 if test $gcc_cv_math_func_tanf = yes; then 23187 23188cat >>confdefs.h <<_ACEOF 23189#define HAVE_TANF 1 23190_ACEOF 23191 23192 fi 23193 23194 23195 23196 23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5 23198$as_echo_n "checking for tan... " >&6; } 23199if ${gcc_cv_math_func_tan+:} false; then : 23200 $as_echo_n "(cached) " >&6 23201else 23202 if test x$gcc_no_link = xyes; then 23203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23204fi 23205cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23206/* end confdefs.h. */ 23207 23208#ifdef HAVE_COMPLEX_H 23209#include <complex.h> 23210#endif 23211#ifdef HAVE_MATH_H 23212#include <math.h> 23213#endif 23214 23215int (*ptr)() = (int (*)())tan; 23216 23217int 23218main () 23219{ 23220 return 0; 23221} 23222 23223_ACEOF 23224if ac_fn_c_try_link "$LINENO"; then : 23225 gcc_cv_math_func_tan=yes 23226else 23227 gcc_cv_math_func_tan=no 23228fi 23229rm -f core conftest.err conftest.$ac_objext \ 23230 conftest$ac_exeext conftest.$ac_ext 23231fi 23232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5 23233$as_echo "$gcc_cv_math_func_tan" >&6; } 23234 if test $gcc_cv_math_func_tan = yes; then 23235 23236cat >>confdefs.h <<_ACEOF 23237#define HAVE_TAN 1 23238_ACEOF 23239 23240 fi 23241 23242 23243 23244 23245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5 23246$as_echo_n "checking for tanl... " >&6; } 23247if ${gcc_cv_math_func_tanl+:} false; then : 23248 $as_echo_n "(cached) " >&6 23249else 23250 if test x$gcc_no_link = xyes; then 23251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23252fi 23253cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23254/* end confdefs.h. */ 23255 23256#ifdef HAVE_COMPLEX_H 23257#include <complex.h> 23258#endif 23259#ifdef HAVE_MATH_H 23260#include <math.h> 23261#endif 23262 23263int (*ptr)() = (int (*)())tanl; 23264 23265int 23266main () 23267{ 23268 return 0; 23269} 23270 23271_ACEOF 23272if ac_fn_c_try_link "$LINENO"; then : 23273 gcc_cv_math_func_tanl=yes 23274else 23275 gcc_cv_math_func_tanl=no 23276fi 23277rm -f core conftest.err conftest.$ac_objext \ 23278 conftest$ac_exeext conftest.$ac_ext 23279fi 23280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5 23281$as_echo "$gcc_cv_math_func_tanl" >&6; } 23282 if test $gcc_cv_math_func_tanl = yes; then 23283 23284cat >>confdefs.h <<_ACEOF 23285#define HAVE_TANL 1 23286_ACEOF 23287 23288 fi 23289 23290 23291 23292 23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5 23294$as_echo_n "checking for ctanf... " >&6; } 23295if ${gcc_cv_math_func_ctanf+:} false; then : 23296 $as_echo_n "(cached) " >&6 23297else 23298 if test x$gcc_no_link = xyes; then 23299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23300fi 23301cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23302/* end confdefs.h. */ 23303 23304#ifdef HAVE_COMPLEX_H 23305#include <complex.h> 23306#endif 23307#ifdef HAVE_MATH_H 23308#include <math.h> 23309#endif 23310 23311int (*ptr)() = (int (*)())ctanf; 23312 23313int 23314main () 23315{ 23316 return 0; 23317} 23318 23319_ACEOF 23320if ac_fn_c_try_link "$LINENO"; then : 23321 gcc_cv_math_func_ctanf=yes 23322else 23323 gcc_cv_math_func_ctanf=no 23324fi 23325rm -f core conftest.err conftest.$ac_objext \ 23326 conftest$ac_exeext conftest.$ac_ext 23327fi 23328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5 23329$as_echo "$gcc_cv_math_func_ctanf" >&6; } 23330 if test $gcc_cv_math_func_ctanf = yes; then 23331 23332cat >>confdefs.h <<_ACEOF 23333#define HAVE_CTANF 1 23334_ACEOF 23335 23336 fi 23337 23338 23339 23340 23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5 23342$as_echo_n "checking for ctan... " >&6; } 23343if ${gcc_cv_math_func_ctan+:} false; then : 23344 $as_echo_n "(cached) " >&6 23345else 23346 if test x$gcc_no_link = xyes; then 23347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23348fi 23349cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23350/* end confdefs.h. */ 23351 23352#ifdef HAVE_COMPLEX_H 23353#include <complex.h> 23354#endif 23355#ifdef HAVE_MATH_H 23356#include <math.h> 23357#endif 23358 23359int (*ptr)() = (int (*)())ctan; 23360 23361int 23362main () 23363{ 23364 return 0; 23365} 23366 23367_ACEOF 23368if ac_fn_c_try_link "$LINENO"; then : 23369 gcc_cv_math_func_ctan=yes 23370else 23371 gcc_cv_math_func_ctan=no 23372fi 23373rm -f core conftest.err conftest.$ac_objext \ 23374 conftest$ac_exeext conftest.$ac_ext 23375fi 23376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5 23377$as_echo "$gcc_cv_math_func_ctan" >&6; } 23378 if test $gcc_cv_math_func_ctan = yes; then 23379 23380cat >>confdefs.h <<_ACEOF 23381#define HAVE_CTAN 1 23382_ACEOF 23383 23384 fi 23385 23386 23387 23388 23389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5 23390$as_echo_n "checking for ctanl... " >&6; } 23391if ${gcc_cv_math_func_ctanl+:} false; then : 23392 $as_echo_n "(cached) " >&6 23393else 23394 if test x$gcc_no_link = xyes; then 23395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23396fi 23397cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23398/* end confdefs.h. */ 23399 23400#ifdef HAVE_COMPLEX_H 23401#include <complex.h> 23402#endif 23403#ifdef HAVE_MATH_H 23404#include <math.h> 23405#endif 23406 23407int (*ptr)() = (int (*)())ctanl; 23408 23409int 23410main () 23411{ 23412 return 0; 23413} 23414 23415_ACEOF 23416if ac_fn_c_try_link "$LINENO"; then : 23417 gcc_cv_math_func_ctanl=yes 23418else 23419 gcc_cv_math_func_ctanl=no 23420fi 23421rm -f core conftest.err conftest.$ac_objext \ 23422 conftest$ac_exeext conftest.$ac_ext 23423fi 23424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5 23425$as_echo "$gcc_cv_math_func_ctanl" >&6; } 23426 if test $gcc_cv_math_func_ctanl = yes; then 23427 23428cat >>confdefs.h <<_ACEOF 23429#define HAVE_CTANL 1 23430_ACEOF 23431 23432 fi 23433 23434 23435 23436 23437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5 23438$as_echo_n "checking for tanhf... " >&6; } 23439if ${gcc_cv_math_func_tanhf+:} false; then : 23440 $as_echo_n "(cached) " >&6 23441else 23442 if test x$gcc_no_link = xyes; then 23443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23444fi 23445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23446/* end confdefs.h. */ 23447 23448#ifdef HAVE_COMPLEX_H 23449#include <complex.h> 23450#endif 23451#ifdef HAVE_MATH_H 23452#include <math.h> 23453#endif 23454 23455int (*ptr)() = (int (*)())tanhf; 23456 23457int 23458main () 23459{ 23460 return 0; 23461} 23462 23463_ACEOF 23464if ac_fn_c_try_link "$LINENO"; then : 23465 gcc_cv_math_func_tanhf=yes 23466else 23467 gcc_cv_math_func_tanhf=no 23468fi 23469rm -f core conftest.err conftest.$ac_objext \ 23470 conftest$ac_exeext conftest.$ac_ext 23471fi 23472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5 23473$as_echo "$gcc_cv_math_func_tanhf" >&6; } 23474 if test $gcc_cv_math_func_tanhf = yes; then 23475 23476cat >>confdefs.h <<_ACEOF 23477#define HAVE_TANHF 1 23478_ACEOF 23479 23480 fi 23481 23482 23483 23484 23485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5 23486$as_echo_n "checking for tanh... " >&6; } 23487if ${gcc_cv_math_func_tanh+:} false; then : 23488 $as_echo_n "(cached) " >&6 23489else 23490 if test x$gcc_no_link = xyes; then 23491 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23492fi 23493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23494/* end confdefs.h. */ 23495 23496#ifdef HAVE_COMPLEX_H 23497#include <complex.h> 23498#endif 23499#ifdef HAVE_MATH_H 23500#include <math.h> 23501#endif 23502 23503int (*ptr)() = (int (*)())tanh; 23504 23505int 23506main () 23507{ 23508 return 0; 23509} 23510 23511_ACEOF 23512if ac_fn_c_try_link "$LINENO"; then : 23513 gcc_cv_math_func_tanh=yes 23514else 23515 gcc_cv_math_func_tanh=no 23516fi 23517rm -f core conftest.err conftest.$ac_objext \ 23518 conftest$ac_exeext conftest.$ac_ext 23519fi 23520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5 23521$as_echo "$gcc_cv_math_func_tanh" >&6; } 23522 if test $gcc_cv_math_func_tanh = yes; then 23523 23524cat >>confdefs.h <<_ACEOF 23525#define HAVE_TANH 1 23526_ACEOF 23527 23528 fi 23529 23530 23531 23532 23533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5 23534$as_echo_n "checking for tanhl... " >&6; } 23535if ${gcc_cv_math_func_tanhl+:} false; then : 23536 $as_echo_n "(cached) " >&6 23537else 23538 if test x$gcc_no_link = xyes; then 23539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23540fi 23541cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23542/* end confdefs.h. */ 23543 23544#ifdef HAVE_COMPLEX_H 23545#include <complex.h> 23546#endif 23547#ifdef HAVE_MATH_H 23548#include <math.h> 23549#endif 23550 23551int (*ptr)() = (int (*)())tanhl; 23552 23553int 23554main () 23555{ 23556 return 0; 23557} 23558 23559_ACEOF 23560if ac_fn_c_try_link "$LINENO"; then : 23561 gcc_cv_math_func_tanhl=yes 23562else 23563 gcc_cv_math_func_tanhl=no 23564fi 23565rm -f core conftest.err conftest.$ac_objext \ 23566 conftest$ac_exeext conftest.$ac_ext 23567fi 23568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5 23569$as_echo "$gcc_cv_math_func_tanhl" >&6; } 23570 if test $gcc_cv_math_func_tanhl = yes; then 23571 23572cat >>confdefs.h <<_ACEOF 23573#define HAVE_TANHL 1 23574_ACEOF 23575 23576 fi 23577 23578 23579 23580 23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5 23582$as_echo_n "checking for ctanhf... " >&6; } 23583if ${gcc_cv_math_func_ctanhf+:} false; then : 23584 $as_echo_n "(cached) " >&6 23585else 23586 if test x$gcc_no_link = xyes; then 23587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23588fi 23589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23590/* end confdefs.h. */ 23591 23592#ifdef HAVE_COMPLEX_H 23593#include <complex.h> 23594#endif 23595#ifdef HAVE_MATH_H 23596#include <math.h> 23597#endif 23598 23599int (*ptr)() = (int (*)())ctanhf; 23600 23601int 23602main () 23603{ 23604 return 0; 23605} 23606 23607_ACEOF 23608if ac_fn_c_try_link "$LINENO"; then : 23609 gcc_cv_math_func_ctanhf=yes 23610else 23611 gcc_cv_math_func_ctanhf=no 23612fi 23613rm -f core conftest.err conftest.$ac_objext \ 23614 conftest$ac_exeext conftest.$ac_ext 23615fi 23616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5 23617$as_echo "$gcc_cv_math_func_ctanhf" >&6; } 23618 if test $gcc_cv_math_func_ctanhf = yes; then 23619 23620cat >>confdefs.h <<_ACEOF 23621#define HAVE_CTANHF 1 23622_ACEOF 23623 23624 fi 23625 23626 23627 23628 23629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5 23630$as_echo_n "checking for ctanh... " >&6; } 23631if ${gcc_cv_math_func_ctanh+:} false; then : 23632 $as_echo_n "(cached) " >&6 23633else 23634 if test x$gcc_no_link = xyes; then 23635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23636fi 23637cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23638/* end confdefs.h. */ 23639 23640#ifdef HAVE_COMPLEX_H 23641#include <complex.h> 23642#endif 23643#ifdef HAVE_MATH_H 23644#include <math.h> 23645#endif 23646 23647int (*ptr)() = (int (*)())ctanh; 23648 23649int 23650main () 23651{ 23652 return 0; 23653} 23654 23655_ACEOF 23656if ac_fn_c_try_link "$LINENO"; then : 23657 gcc_cv_math_func_ctanh=yes 23658else 23659 gcc_cv_math_func_ctanh=no 23660fi 23661rm -f core conftest.err conftest.$ac_objext \ 23662 conftest$ac_exeext conftest.$ac_ext 23663fi 23664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5 23665$as_echo "$gcc_cv_math_func_ctanh" >&6; } 23666 if test $gcc_cv_math_func_ctanh = yes; then 23667 23668cat >>confdefs.h <<_ACEOF 23669#define HAVE_CTANH 1 23670_ACEOF 23671 23672 fi 23673 23674 23675 23676 23677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5 23678$as_echo_n "checking for ctanhl... " >&6; } 23679if ${gcc_cv_math_func_ctanhl+:} false; then : 23680 $as_echo_n "(cached) " >&6 23681else 23682 if test x$gcc_no_link = xyes; then 23683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23684fi 23685cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23686/* end confdefs.h. */ 23687 23688#ifdef HAVE_COMPLEX_H 23689#include <complex.h> 23690#endif 23691#ifdef HAVE_MATH_H 23692#include <math.h> 23693#endif 23694 23695int (*ptr)() = (int (*)())ctanhl; 23696 23697int 23698main () 23699{ 23700 return 0; 23701} 23702 23703_ACEOF 23704if ac_fn_c_try_link "$LINENO"; then : 23705 gcc_cv_math_func_ctanhl=yes 23706else 23707 gcc_cv_math_func_ctanhl=no 23708fi 23709rm -f core conftest.err conftest.$ac_objext \ 23710 conftest$ac_exeext conftest.$ac_ext 23711fi 23712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5 23713$as_echo "$gcc_cv_math_func_ctanhl" >&6; } 23714 if test $gcc_cv_math_func_ctanhl = yes; then 23715 23716cat >>confdefs.h <<_ACEOF 23717#define HAVE_CTANHL 1 23718_ACEOF 23719 23720 fi 23721 23722 23723 23724 23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5 23726$as_echo_n "checking for truncf... " >&6; } 23727if ${gcc_cv_math_func_truncf+:} false; then : 23728 $as_echo_n "(cached) " >&6 23729else 23730 if test x$gcc_no_link = xyes; then 23731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23732fi 23733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23734/* end confdefs.h. */ 23735 23736#ifdef HAVE_COMPLEX_H 23737#include <complex.h> 23738#endif 23739#ifdef HAVE_MATH_H 23740#include <math.h> 23741#endif 23742 23743int (*ptr)() = (int (*)())truncf; 23744 23745int 23746main () 23747{ 23748 return 0; 23749} 23750 23751_ACEOF 23752if ac_fn_c_try_link "$LINENO"; then : 23753 gcc_cv_math_func_truncf=yes 23754else 23755 gcc_cv_math_func_truncf=no 23756fi 23757rm -f core conftest.err conftest.$ac_objext \ 23758 conftest$ac_exeext conftest.$ac_ext 23759fi 23760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5 23761$as_echo "$gcc_cv_math_func_truncf" >&6; } 23762 if test $gcc_cv_math_func_truncf = yes; then 23763 23764cat >>confdefs.h <<_ACEOF 23765#define HAVE_TRUNCF 1 23766_ACEOF 23767 23768 fi 23769 23770 23771 23772 23773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5 23774$as_echo_n "checking for trunc... " >&6; } 23775if ${gcc_cv_math_func_trunc+:} false; then : 23776 $as_echo_n "(cached) " >&6 23777else 23778 if test x$gcc_no_link = xyes; then 23779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23780fi 23781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23782/* end confdefs.h. */ 23783 23784#ifdef HAVE_COMPLEX_H 23785#include <complex.h> 23786#endif 23787#ifdef HAVE_MATH_H 23788#include <math.h> 23789#endif 23790 23791int (*ptr)() = (int (*)())trunc; 23792 23793int 23794main () 23795{ 23796 return 0; 23797} 23798 23799_ACEOF 23800if ac_fn_c_try_link "$LINENO"; then : 23801 gcc_cv_math_func_trunc=yes 23802else 23803 gcc_cv_math_func_trunc=no 23804fi 23805rm -f core conftest.err conftest.$ac_objext \ 23806 conftest$ac_exeext conftest.$ac_ext 23807fi 23808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5 23809$as_echo "$gcc_cv_math_func_trunc" >&6; } 23810 if test $gcc_cv_math_func_trunc = yes; then 23811 23812cat >>confdefs.h <<_ACEOF 23813#define HAVE_TRUNC 1 23814_ACEOF 23815 23816 fi 23817 23818 23819 23820 23821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5 23822$as_echo_n "checking for truncl... " >&6; } 23823if ${gcc_cv_math_func_truncl+:} false; then : 23824 $as_echo_n "(cached) " >&6 23825else 23826 if test x$gcc_no_link = xyes; then 23827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23828fi 23829cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23830/* end confdefs.h. */ 23831 23832#ifdef HAVE_COMPLEX_H 23833#include <complex.h> 23834#endif 23835#ifdef HAVE_MATH_H 23836#include <math.h> 23837#endif 23838 23839int (*ptr)() = (int (*)())truncl; 23840 23841int 23842main () 23843{ 23844 return 0; 23845} 23846 23847_ACEOF 23848if ac_fn_c_try_link "$LINENO"; then : 23849 gcc_cv_math_func_truncl=yes 23850else 23851 gcc_cv_math_func_truncl=no 23852fi 23853rm -f core conftest.err conftest.$ac_objext \ 23854 conftest$ac_exeext conftest.$ac_ext 23855fi 23856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5 23857$as_echo "$gcc_cv_math_func_truncl" >&6; } 23858 if test $gcc_cv_math_func_truncl = yes; then 23859 23860cat >>confdefs.h <<_ACEOF 23861#define HAVE_TRUNCL 1 23862_ACEOF 23863 23864 fi 23865 23866 23867 23868 23869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5 23870$as_echo_n "checking for erff... " >&6; } 23871if ${gcc_cv_math_func_erff+:} false; then : 23872 $as_echo_n "(cached) " >&6 23873else 23874 if test x$gcc_no_link = xyes; then 23875 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23876fi 23877cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23878/* end confdefs.h. */ 23879 23880#ifdef HAVE_COMPLEX_H 23881#include <complex.h> 23882#endif 23883#ifdef HAVE_MATH_H 23884#include <math.h> 23885#endif 23886 23887int (*ptr)() = (int (*)())erff; 23888 23889int 23890main () 23891{ 23892 return 0; 23893} 23894 23895_ACEOF 23896if ac_fn_c_try_link "$LINENO"; then : 23897 gcc_cv_math_func_erff=yes 23898else 23899 gcc_cv_math_func_erff=no 23900fi 23901rm -f core conftest.err conftest.$ac_objext \ 23902 conftest$ac_exeext conftest.$ac_ext 23903fi 23904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5 23905$as_echo "$gcc_cv_math_func_erff" >&6; } 23906 if test $gcc_cv_math_func_erff = yes; then 23907 23908cat >>confdefs.h <<_ACEOF 23909#define HAVE_ERFF 1 23910_ACEOF 23911 23912 fi 23913 23914 23915 23916 23917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5 23918$as_echo_n "checking for erf... " >&6; } 23919if ${gcc_cv_math_func_erf+:} false; then : 23920 $as_echo_n "(cached) " >&6 23921else 23922 if test x$gcc_no_link = xyes; then 23923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23924fi 23925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23926/* end confdefs.h. */ 23927 23928#ifdef HAVE_COMPLEX_H 23929#include <complex.h> 23930#endif 23931#ifdef HAVE_MATH_H 23932#include <math.h> 23933#endif 23934 23935int (*ptr)() = (int (*)())erf; 23936 23937int 23938main () 23939{ 23940 return 0; 23941} 23942 23943_ACEOF 23944if ac_fn_c_try_link "$LINENO"; then : 23945 gcc_cv_math_func_erf=yes 23946else 23947 gcc_cv_math_func_erf=no 23948fi 23949rm -f core conftest.err conftest.$ac_objext \ 23950 conftest$ac_exeext conftest.$ac_ext 23951fi 23952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5 23953$as_echo "$gcc_cv_math_func_erf" >&6; } 23954 if test $gcc_cv_math_func_erf = yes; then 23955 23956cat >>confdefs.h <<_ACEOF 23957#define HAVE_ERF 1 23958_ACEOF 23959 23960 fi 23961 23962 23963 23964 23965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5 23966$as_echo_n "checking for erfcf... " >&6; } 23967if ${gcc_cv_math_func_erfcf+:} false; then : 23968 $as_echo_n "(cached) " >&6 23969else 23970 if test x$gcc_no_link = xyes; then 23971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 23972fi 23973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23974/* end confdefs.h. */ 23975 23976#ifdef HAVE_COMPLEX_H 23977#include <complex.h> 23978#endif 23979#ifdef HAVE_MATH_H 23980#include <math.h> 23981#endif 23982 23983int (*ptr)() = (int (*)())erfcf; 23984 23985int 23986main () 23987{ 23988 return 0; 23989} 23990 23991_ACEOF 23992if ac_fn_c_try_link "$LINENO"; then : 23993 gcc_cv_math_func_erfcf=yes 23994else 23995 gcc_cv_math_func_erfcf=no 23996fi 23997rm -f core conftest.err conftest.$ac_objext \ 23998 conftest$ac_exeext conftest.$ac_ext 23999fi 24000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5 24001$as_echo "$gcc_cv_math_func_erfcf" >&6; } 24002 if test $gcc_cv_math_func_erfcf = yes; then 24003 24004cat >>confdefs.h <<_ACEOF 24005#define HAVE_ERFCF 1 24006_ACEOF 24007 24008 fi 24009 24010 24011 24012 24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5 24014$as_echo_n "checking for erfc... " >&6; } 24015if ${gcc_cv_math_func_erfc+:} false; then : 24016 $as_echo_n "(cached) " >&6 24017else 24018 if test x$gcc_no_link = xyes; then 24019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24020fi 24021cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24022/* end confdefs.h. */ 24023 24024#ifdef HAVE_COMPLEX_H 24025#include <complex.h> 24026#endif 24027#ifdef HAVE_MATH_H 24028#include <math.h> 24029#endif 24030 24031int (*ptr)() = (int (*)())erfc; 24032 24033int 24034main () 24035{ 24036 return 0; 24037} 24038 24039_ACEOF 24040if ac_fn_c_try_link "$LINENO"; then : 24041 gcc_cv_math_func_erfc=yes 24042else 24043 gcc_cv_math_func_erfc=no 24044fi 24045rm -f core conftest.err conftest.$ac_objext \ 24046 conftest$ac_exeext conftest.$ac_ext 24047fi 24048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5 24049$as_echo "$gcc_cv_math_func_erfc" >&6; } 24050 if test $gcc_cv_math_func_erfc = yes; then 24051 24052cat >>confdefs.h <<_ACEOF 24053#define HAVE_ERFC 1 24054_ACEOF 24055 24056 fi 24057 24058 24059 24060 24061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5 24062$as_echo_n "checking for erfcl... " >&6; } 24063if ${gcc_cv_math_func_erfcl+:} false; then : 24064 $as_echo_n "(cached) " >&6 24065else 24066 if test x$gcc_no_link = xyes; then 24067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24068fi 24069cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24070/* end confdefs.h. */ 24071 24072#ifdef HAVE_COMPLEX_H 24073#include <complex.h> 24074#endif 24075#ifdef HAVE_MATH_H 24076#include <math.h> 24077#endif 24078 24079int (*ptr)() = (int (*)())erfcl; 24080 24081int 24082main () 24083{ 24084 return 0; 24085} 24086 24087_ACEOF 24088if ac_fn_c_try_link "$LINENO"; then : 24089 gcc_cv_math_func_erfcl=yes 24090else 24091 gcc_cv_math_func_erfcl=no 24092fi 24093rm -f core conftest.err conftest.$ac_objext \ 24094 conftest$ac_exeext conftest.$ac_ext 24095fi 24096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5 24097$as_echo "$gcc_cv_math_func_erfcl" >&6; } 24098 if test $gcc_cv_math_func_erfcl = yes; then 24099 24100cat >>confdefs.h <<_ACEOF 24101#define HAVE_ERFCL 1 24102_ACEOF 24103 24104 fi 24105 24106 24107 24108 24109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5 24110$as_echo_n "checking for j0f... " >&6; } 24111if ${gcc_cv_math_func_j0f+:} false; then : 24112 $as_echo_n "(cached) " >&6 24113else 24114 if test x$gcc_no_link = xyes; then 24115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24116fi 24117cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24118/* end confdefs.h. */ 24119 24120#ifdef HAVE_COMPLEX_H 24121#include <complex.h> 24122#endif 24123#ifdef HAVE_MATH_H 24124#include <math.h> 24125#endif 24126 24127int (*ptr)() = (int (*)())j0f; 24128 24129int 24130main () 24131{ 24132 return 0; 24133} 24134 24135_ACEOF 24136if ac_fn_c_try_link "$LINENO"; then : 24137 gcc_cv_math_func_j0f=yes 24138else 24139 gcc_cv_math_func_j0f=no 24140fi 24141rm -f core conftest.err conftest.$ac_objext \ 24142 conftest$ac_exeext conftest.$ac_ext 24143fi 24144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5 24145$as_echo "$gcc_cv_math_func_j0f" >&6; } 24146 if test $gcc_cv_math_func_j0f = yes; then 24147 24148cat >>confdefs.h <<_ACEOF 24149#define HAVE_J0F 1 24150_ACEOF 24151 24152 fi 24153 24154 24155 24156 24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5 24158$as_echo_n "checking for j0... " >&6; } 24159if ${gcc_cv_math_func_j0+:} false; then : 24160 $as_echo_n "(cached) " >&6 24161else 24162 if test x$gcc_no_link = xyes; then 24163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24164fi 24165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24166/* end confdefs.h. */ 24167 24168#ifdef HAVE_COMPLEX_H 24169#include <complex.h> 24170#endif 24171#ifdef HAVE_MATH_H 24172#include <math.h> 24173#endif 24174 24175int (*ptr)() = (int (*)())j0; 24176 24177int 24178main () 24179{ 24180 return 0; 24181} 24182 24183_ACEOF 24184if ac_fn_c_try_link "$LINENO"; then : 24185 gcc_cv_math_func_j0=yes 24186else 24187 gcc_cv_math_func_j0=no 24188fi 24189rm -f core conftest.err conftest.$ac_objext \ 24190 conftest$ac_exeext conftest.$ac_ext 24191fi 24192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5 24193$as_echo "$gcc_cv_math_func_j0" >&6; } 24194 if test $gcc_cv_math_func_j0 = yes; then 24195 24196cat >>confdefs.h <<_ACEOF 24197#define HAVE_J0 1 24198_ACEOF 24199 24200 fi 24201 24202 24203 24204 24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5 24206$as_echo_n "checking for j1f... " >&6; } 24207if ${gcc_cv_math_func_j1f+:} false; then : 24208 $as_echo_n "(cached) " >&6 24209else 24210 if test x$gcc_no_link = xyes; then 24211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24212fi 24213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24214/* end confdefs.h. */ 24215 24216#ifdef HAVE_COMPLEX_H 24217#include <complex.h> 24218#endif 24219#ifdef HAVE_MATH_H 24220#include <math.h> 24221#endif 24222 24223int (*ptr)() = (int (*)())j1f; 24224 24225int 24226main () 24227{ 24228 return 0; 24229} 24230 24231_ACEOF 24232if ac_fn_c_try_link "$LINENO"; then : 24233 gcc_cv_math_func_j1f=yes 24234else 24235 gcc_cv_math_func_j1f=no 24236fi 24237rm -f core conftest.err conftest.$ac_objext \ 24238 conftest$ac_exeext conftest.$ac_ext 24239fi 24240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5 24241$as_echo "$gcc_cv_math_func_j1f" >&6; } 24242 if test $gcc_cv_math_func_j1f = yes; then 24243 24244cat >>confdefs.h <<_ACEOF 24245#define HAVE_J1F 1 24246_ACEOF 24247 24248 fi 24249 24250 24251 24252 24253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5 24254$as_echo_n "checking for j1... " >&6; } 24255if ${gcc_cv_math_func_j1+:} false; then : 24256 $as_echo_n "(cached) " >&6 24257else 24258 if test x$gcc_no_link = xyes; then 24259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24260fi 24261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24262/* end confdefs.h. */ 24263 24264#ifdef HAVE_COMPLEX_H 24265#include <complex.h> 24266#endif 24267#ifdef HAVE_MATH_H 24268#include <math.h> 24269#endif 24270 24271int (*ptr)() = (int (*)())j1; 24272 24273int 24274main () 24275{ 24276 return 0; 24277} 24278 24279_ACEOF 24280if ac_fn_c_try_link "$LINENO"; then : 24281 gcc_cv_math_func_j1=yes 24282else 24283 gcc_cv_math_func_j1=no 24284fi 24285rm -f core conftest.err conftest.$ac_objext \ 24286 conftest$ac_exeext conftest.$ac_ext 24287fi 24288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5 24289$as_echo "$gcc_cv_math_func_j1" >&6; } 24290 if test $gcc_cv_math_func_j1 = yes; then 24291 24292cat >>confdefs.h <<_ACEOF 24293#define HAVE_J1 1 24294_ACEOF 24295 24296 fi 24297 24298 24299 24300 24301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5 24302$as_echo_n "checking for jnf... " >&6; } 24303if ${gcc_cv_math_func_jnf+:} false; then : 24304 $as_echo_n "(cached) " >&6 24305else 24306 if test x$gcc_no_link = xyes; then 24307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24308fi 24309cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24310/* end confdefs.h. */ 24311 24312#ifdef HAVE_COMPLEX_H 24313#include <complex.h> 24314#endif 24315#ifdef HAVE_MATH_H 24316#include <math.h> 24317#endif 24318 24319int (*ptr)() = (int (*)())jnf; 24320 24321int 24322main () 24323{ 24324 return 0; 24325} 24326 24327_ACEOF 24328if ac_fn_c_try_link "$LINENO"; then : 24329 gcc_cv_math_func_jnf=yes 24330else 24331 gcc_cv_math_func_jnf=no 24332fi 24333rm -f core conftest.err conftest.$ac_objext \ 24334 conftest$ac_exeext conftest.$ac_ext 24335fi 24336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5 24337$as_echo "$gcc_cv_math_func_jnf" >&6; } 24338 if test $gcc_cv_math_func_jnf = yes; then 24339 24340cat >>confdefs.h <<_ACEOF 24341#define HAVE_JNF 1 24342_ACEOF 24343 24344 fi 24345 24346 24347 24348 24349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5 24350$as_echo_n "checking for jn... " >&6; } 24351if ${gcc_cv_math_func_jn+:} false; then : 24352 $as_echo_n "(cached) " >&6 24353else 24354 if test x$gcc_no_link = xyes; then 24355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24356fi 24357cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24358/* end confdefs.h. */ 24359 24360#ifdef HAVE_COMPLEX_H 24361#include <complex.h> 24362#endif 24363#ifdef HAVE_MATH_H 24364#include <math.h> 24365#endif 24366 24367int (*ptr)() = (int (*)())jn; 24368 24369int 24370main () 24371{ 24372 return 0; 24373} 24374 24375_ACEOF 24376if ac_fn_c_try_link "$LINENO"; then : 24377 gcc_cv_math_func_jn=yes 24378else 24379 gcc_cv_math_func_jn=no 24380fi 24381rm -f core conftest.err conftest.$ac_objext \ 24382 conftest$ac_exeext conftest.$ac_ext 24383fi 24384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5 24385$as_echo "$gcc_cv_math_func_jn" >&6; } 24386 if test $gcc_cv_math_func_jn = yes; then 24387 24388cat >>confdefs.h <<_ACEOF 24389#define HAVE_JN 1 24390_ACEOF 24391 24392 fi 24393 24394 24395 24396 24397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5 24398$as_echo_n "checking for jnl... " >&6; } 24399if ${gcc_cv_math_func_jnl+:} false; then : 24400 $as_echo_n "(cached) " >&6 24401else 24402 if test x$gcc_no_link = xyes; then 24403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24404fi 24405cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24406/* end confdefs.h. */ 24407 24408#ifdef HAVE_COMPLEX_H 24409#include <complex.h> 24410#endif 24411#ifdef HAVE_MATH_H 24412#include <math.h> 24413#endif 24414 24415int (*ptr)() = (int (*)())jnl; 24416 24417int 24418main () 24419{ 24420 return 0; 24421} 24422 24423_ACEOF 24424if ac_fn_c_try_link "$LINENO"; then : 24425 gcc_cv_math_func_jnl=yes 24426else 24427 gcc_cv_math_func_jnl=no 24428fi 24429rm -f core conftest.err conftest.$ac_objext \ 24430 conftest$ac_exeext conftest.$ac_ext 24431fi 24432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5 24433$as_echo "$gcc_cv_math_func_jnl" >&6; } 24434 if test $gcc_cv_math_func_jnl = yes; then 24435 24436cat >>confdefs.h <<_ACEOF 24437#define HAVE_JNL 1 24438_ACEOF 24439 24440 fi 24441 24442 24443 24444 24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5 24446$as_echo_n "checking for y0f... " >&6; } 24447if ${gcc_cv_math_func_y0f+:} false; then : 24448 $as_echo_n "(cached) " >&6 24449else 24450 if test x$gcc_no_link = xyes; then 24451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24452fi 24453cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24454/* end confdefs.h. */ 24455 24456#ifdef HAVE_COMPLEX_H 24457#include <complex.h> 24458#endif 24459#ifdef HAVE_MATH_H 24460#include <math.h> 24461#endif 24462 24463int (*ptr)() = (int (*)())y0f; 24464 24465int 24466main () 24467{ 24468 return 0; 24469} 24470 24471_ACEOF 24472if ac_fn_c_try_link "$LINENO"; then : 24473 gcc_cv_math_func_y0f=yes 24474else 24475 gcc_cv_math_func_y0f=no 24476fi 24477rm -f core conftest.err conftest.$ac_objext \ 24478 conftest$ac_exeext conftest.$ac_ext 24479fi 24480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5 24481$as_echo "$gcc_cv_math_func_y0f" >&6; } 24482 if test $gcc_cv_math_func_y0f = yes; then 24483 24484cat >>confdefs.h <<_ACEOF 24485#define HAVE_Y0F 1 24486_ACEOF 24487 24488 fi 24489 24490 24491 24492 24493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5 24494$as_echo_n "checking for y0... " >&6; } 24495if ${gcc_cv_math_func_y0+:} false; then : 24496 $as_echo_n "(cached) " >&6 24497else 24498 if test x$gcc_no_link = xyes; then 24499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24500fi 24501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24502/* end confdefs.h. */ 24503 24504#ifdef HAVE_COMPLEX_H 24505#include <complex.h> 24506#endif 24507#ifdef HAVE_MATH_H 24508#include <math.h> 24509#endif 24510 24511int (*ptr)() = (int (*)())y0; 24512 24513int 24514main () 24515{ 24516 return 0; 24517} 24518 24519_ACEOF 24520if ac_fn_c_try_link "$LINENO"; then : 24521 gcc_cv_math_func_y0=yes 24522else 24523 gcc_cv_math_func_y0=no 24524fi 24525rm -f core conftest.err conftest.$ac_objext \ 24526 conftest$ac_exeext conftest.$ac_ext 24527fi 24528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5 24529$as_echo "$gcc_cv_math_func_y0" >&6; } 24530 if test $gcc_cv_math_func_y0 = yes; then 24531 24532cat >>confdefs.h <<_ACEOF 24533#define HAVE_Y0 1 24534_ACEOF 24535 24536 fi 24537 24538 24539 24540 24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5 24542$as_echo_n "checking for y1f... " >&6; } 24543if ${gcc_cv_math_func_y1f+:} false; then : 24544 $as_echo_n "(cached) " >&6 24545else 24546 if test x$gcc_no_link = xyes; then 24547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24548fi 24549cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24550/* end confdefs.h. */ 24551 24552#ifdef HAVE_COMPLEX_H 24553#include <complex.h> 24554#endif 24555#ifdef HAVE_MATH_H 24556#include <math.h> 24557#endif 24558 24559int (*ptr)() = (int (*)())y1f; 24560 24561int 24562main () 24563{ 24564 return 0; 24565} 24566 24567_ACEOF 24568if ac_fn_c_try_link "$LINENO"; then : 24569 gcc_cv_math_func_y1f=yes 24570else 24571 gcc_cv_math_func_y1f=no 24572fi 24573rm -f core conftest.err conftest.$ac_objext \ 24574 conftest$ac_exeext conftest.$ac_ext 24575fi 24576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5 24577$as_echo "$gcc_cv_math_func_y1f" >&6; } 24578 if test $gcc_cv_math_func_y1f = yes; then 24579 24580cat >>confdefs.h <<_ACEOF 24581#define HAVE_Y1F 1 24582_ACEOF 24583 24584 fi 24585 24586 24587 24588 24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5 24590$as_echo_n "checking for y1... " >&6; } 24591if ${gcc_cv_math_func_y1+:} false; then : 24592 $as_echo_n "(cached) " >&6 24593else 24594 if test x$gcc_no_link = xyes; then 24595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24596fi 24597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24598/* end confdefs.h. */ 24599 24600#ifdef HAVE_COMPLEX_H 24601#include <complex.h> 24602#endif 24603#ifdef HAVE_MATH_H 24604#include <math.h> 24605#endif 24606 24607int (*ptr)() = (int (*)())y1; 24608 24609int 24610main () 24611{ 24612 return 0; 24613} 24614 24615_ACEOF 24616if ac_fn_c_try_link "$LINENO"; then : 24617 gcc_cv_math_func_y1=yes 24618else 24619 gcc_cv_math_func_y1=no 24620fi 24621rm -f core conftest.err conftest.$ac_objext \ 24622 conftest$ac_exeext conftest.$ac_ext 24623fi 24624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5 24625$as_echo "$gcc_cv_math_func_y1" >&6; } 24626 if test $gcc_cv_math_func_y1 = yes; then 24627 24628cat >>confdefs.h <<_ACEOF 24629#define HAVE_Y1 1 24630_ACEOF 24631 24632 fi 24633 24634 24635 24636 24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5 24638$as_echo_n "checking for ynf... " >&6; } 24639if ${gcc_cv_math_func_ynf+:} false; then : 24640 $as_echo_n "(cached) " >&6 24641else 24642 if test x$gcc_no_link = xyes; then 24643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24644fi 24645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24646/* end confdefs.h. */ 24647 24648#ifdef HAVE_COMPLEX_H 24649#include <complex.h> 24650#endif 24651#ifdef HAVE_MATH_H 24652#include <math.h> 24653#endif 24654 24655int (*ptr)() = (int (*)())ynf; 24656 24657int 24658main () 24659{ 24660 return 0; 24661} 24662 24663_ACEOF 24664if ac_fn_c_try_link "$LINENO"; then : 24665 gcc_cv_math_func_ynf=yes 24666else 24667 gcc_cv_math_func_ynf=no 24668fi 24669rm -f core conftest.err conftest.$ac_objext \ 24670 conftest$ac_exeext conftest.$ac_ext 24671fi 24672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5 24673$as_echo "$gcc_cv_math_func_ynf" >&6; } 24674 if test $gcc_cv_math_func_ynf = yes; then 24675 24676cat >>confdefs.h <<_ACEOF 24677#define HAVE_YNF 1 24678_ACEOF 24679 24680 fi 24681 24682 24683 24684 24685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5 24686$as_echo_n "checking for yn... " >&6; } 24687if ${gcc_cv_math_func_yn+:} false; then : 24688 $as_echo_n "(cached) " >&6 24689else 24690 if test x$gcc_no_link = xyes; then 24691 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24692fi 24693cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24694/* end confdefs.h. */ 24695 24696#ifdef HAVE_COMPLEX_H 24697#include <complex.h> 24698#endif 24699#ifdef HAVE_MATH_H 24700#include <math.h> 24701#endif 24702 24703int (*ptr)() = (int (*)())yn; 24704 24705int 24706main () 24707{ 24708 return 0; 24709} 24710 24711_ACEOF 24712if ac_fn_c_try_link "$LINENO"; then : 24713 gcc_cv_math_func_yn=yes 24714else 24715 gcc_cv_math_func_yn=no 24716fi 24717rm -f core conftest.err conftest.$ac_objext \ 24718 conftest$ac_exeext conftest.$ac_ext 24719fi 24720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5 24721$as_echo "$gcc_cv_math_func_yn" >&6; } 24722 if test $gcc_cv_math_func_yn = yes; then 24723 24724cat >>confdefs.h <<_ACEOF 24725#define HAVE_YN 1 24726_ACEOF 24727 24728 fi 24729 24730 24731 24732 24733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5 24734$as_echo_n "checking for ynl... " >&6; } 24735if ${gcc_cv_math_func_ynl+:} false; then : 24736 $as_echo_n "(cached) " >&6 24737else 24738 if test x$gcc_no_link = xyes; then 24739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24740fi 24741cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24742/* end confdefs.h. */ 24743 24744#ifdef HAVE_COMPLEX_H 24745#include <complex.h> 24746#endif 24747#ifdef HAVE_MATH_H 24748#include <math.h> 24749#endif 24750 24751int (*ptr)() = (int (*)())ynl; 24752 24753int 24754main () 24755{ 24756 return 0; 24757} 24758 24759_ACEOF 24760if ac_fn_c_try_link "$LINENO"; then : 24761 gcc_cv_math_func_ynl=yes 24762else 24763 gcc_cv_math_func_ynl=no 24764fi 24765rm -f core conftest.err conftest.$ac_objext \ 24766 conftest$ac_exeext conftest.$ac_ext 24767fi 24768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5 24769$as_echo "$gcc_cv_math_func_ynl" >&6; } 24770 if test $gcc_cv_math_func_ynl = yes; then 24771 24772cat >>confdefs.h <<_ACEOF 24773#define HAVE_YNL 1 24774_ACEOF 24775 24776 fi 24777 24778 24779 24780 24781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5 24782$as_echo_n "checking for tgamma... " >&6; } 24783if ${gcc_cv_math_func_tgamma+:} false; then : 24784 $as_echo_n "(cached) " >&6 24785else 24786 if test x$gcc_no_link = xyes; then 24787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24788fi 24789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24790/* end confdefs.h. */ 24791 24792#ifdef HAVE_COMPLEX_H 24793#include <complex.h> 24794#endif 24795#ifdef HAVE_MATH_H 24796#include <math.h> 24797#endif 24798 24799int (*ptr)() = (int (*)())tgamma; 24800 24801int 24802main () 24803{ 24804 return 0; 24805} 24806 24807_ACEOF 24808if ac_fn_c_try_link "$LINENO"; then : 24809 gcc_cv_math_func_tgamma=yes 24810else 24811 gcc_cv_math_func_tgamma=no 24812fi 24813rm -f core conftest.err conftest.$ac_objext \ 24814 conftest$ac_exeext conftest.$ac_ext 24815fi 24816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5 24817$as_echo "$gcc_cv_math_func_tgamma" >&6; } 24818 if test $gcc_cv_math_func_tgamma = yes; then 24819 24820cat >>confdefs.h <<_ACEOF 24821#define HAVE_TGAMMA 1 24822_ACEOF 24823 24824 fi 24825 24826 24827 24828 24829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5 24830$as_echo_n "checking for tgammaf... " >&6; } 24831if ${gcc_cv_math_func_tgammaf+:} false; then : 24832 $as_echo_n "(cached) " >&6 24833else 24834 if test x$gcc_no_link = xyes; then 24835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24836fi 24837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24838/* end confdefs.h. */ 24839 24840#ifdef HAVE_COMPLEX_H 24841#include <complex.h> 24842#endif 24843#ifdef HAVE_MATH_H 24844#include <math.h> 24845#endif 24846 24847int (*ptr)() = (int (*)())tgammaf; 24848 24849int 24850main () 24851{ 24852 return 0; 24853} 24854 24855_ACEOF 24856if ac_fn_c_try_link "$LINENO"; then : 24857 gcc_cv_math_func_tgammaf=yes 24858else 24859 gcc_cv_math_func_tgammaf=no 24860fi 24861rm -f core conftest.err conftest.$ac_objext \ 24862 conftest$ac_exeext conftest.$ac_ext 24863fi 24864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5 24865$as_echo "$gcc_cv_math_func_tgammaf" >&6; } 24866 if test $gcc_cv_math_func_tgammaf = yes; then 24867 24868cat >>confdefs.h <<_ACEOF 24869#define HAVE_TGAMMAF 1 24870_ACEOF 24871 24872 fi 24873 24874 24875 24876 24877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5 24878$as_echo_n "checking for lgamma... " >&6; } 24879if ${gcc_cv_math_func_lgamma+:} false; then : 24880 $as_echo_n "(cached) " >&6 24881else 24882 if test x$gcc_no_link = xyes; then 24883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24884fi 24885cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24886/* end confdefs.h. */ 24887 24888#ifdef HAVE_COMPLEX_H 24889#include <complex.h> 24890#endif 24891#ifdef HAVE_MATH_H 24892#include <math.h> 24893#endif 24894 24895int (*ptr)() = (int (*)())lgamma; 24896 24897int 24898main () 24899{ 24900 return 0; 24901} 24902 24903_ACEOF 24904if ac_fn_c_try_link "$LINENO"; then : 24905 gcc_cv_math_func_lgamma=yes 24906else 24907 gcc_cv_math_func_lgamma=no 24908fi 24909rm -f core conftest.err conftest.$ac_objext \ 24910 conftest$ac_exeext conftest.$ac_ext 24911fi 24912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5 24913$as_echo "$gcc_cv_math_func_lgamma" >&6; } 24914 if test $gcc_cv_math_func_lgamma = yes; then 24915 24916cat >>confdefs.h <<_ACEOF 24917#define HAVE_LGAMMA 1 24918_ACEOF 24919 24920 fi 24921 24922 24923 24924 24925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5 24926$as_echo_n "checking for lgammaf... " >&6; } 24927if ${gcc_cv_math_func_lgammaf+:} false; then : 24928 $as_echo_n "(cached) " >&6 24929else 24930 if test x$gcc_no_link = xyes; then 24931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24932fi 24933cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24934/* end confdefs.h. */ 24935 24936#ifdef HAVE_COMPLEX_H 24937#include <complex.h> 24938#endif 24939#ifdef HAVE_MATH_H 24940#include <math.h> 24941#endif 24942 24943int (*ptr)() = (int (*)())lgammaf; 24944 24945int 24946main () 24947{ 24948 return 0; 24949} 24950 24951_ACEOF 24952if ac_fn_c_try_link "$LINENO"; then : 24953 gcc_cv_math_func_lgammaf=yes 24954else 24955 gcc_cv_math_func_lgammaf=no 24956fi 24957rm -f core conftest.err conftest.$ac_objext \ 24958 conftest$ac_exeext conftest.$ac_ext 24959fi 24960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5 24961$as_echo "$gcc_cv_math_func_lgammaf" >&6; } 24962 if test $gcc_cv_math_func_lgammaf = yes; then 24963 24964cat >>confdefs.h <<_ACEOF 24965#define HAVE_LGAMMAF 1 24966_ACEOF 24967 24968 fi 24969 24970 24971# Check for GFORTRAN_C99_1.1 funcs 24972 24973 24974 24975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5 24976$as_echo_n "checking for cacos... " >&6; } 24977if ${gcc_cv_math_func_cacos+:} false; then : 24978 $as_echo_n "(cached) " >&6 24979else 24980 if test x$gcc_no_link = xyes; then 24981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 24982fi 24983cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24984/* end confdefs.h. */ 24985 24986#ifdef HAVE_COMPLEX_H 24987#include <complex.h> 24988#endif 24989#ifdef HAVE_MATH_H 24990#include <math.h> 24991#endif 24992 24993int (*ptr)() = (int (*)())cacos; 24994 24995int 24996main () 24997{ 24998 return 0; 24999} 25000 25001_ACEOF 25002if ac_fn_c_try_link "$LINENO"; then : 25003 gcc_cv_math_func_cacos=yes 25004else 25005 gcc_cv_math_func_cacos=no 25006fi 25007rm -f core conftest.err conftest.$ac_objext \ 25008 conftest$ac_exeext conftest.$ac_ext 25009fi 25010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5 25011$as_echo "$gcc_cv_math_func_cacos" >&6; } 25012 if test $gcc_cv_math_func_cacos = yes; then 25013 25014cat >>confdefs.h <<_ACEOF 25015#define HAVE_CACOS 1 25016_ACEOF 25017 25018 fi 25019 25020 25021 25022 25023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5 25024$as_echo_n "checking for cacosf... " >&6; } 25025if ${gcc_cv_math_func_cacosf+:} false; then : 25026 $as_echo_n "(cached) " >&6 25027else 25028 if test x$gcc_no_link = xyes; then 25029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25030fi 25031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25032/* end confdefs.h. */ 25033 25034#ifdef HAVE_COMPLEX_H 25035#include <complex.h> 25036#endif 25037#ifdef HAVE_MATH_H 25038#include <math.h> 25039#endif 25040 25041int (*ptr)() = (int (*)())cacosf; 25042 25043int 25044main () 25045{ 25046 return 0; 25047} 25048 25049_ACEOF 25050if ac_fn_c_try_link "$LINENO"; then : 25051 gcc_cv_math_func_cacosf=yes 25052else 25053 gcc_cv_math_func_cacosf=no 25054fi 25055rm -f core conftest.err conftest.$ac_objext \ 25056 conftest$ac_exeext conftest.$ac_ext 25057fi 25058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5 25059$as_echo "$gcc_cv_math_func_cacosf" >&6; } 25060 if test $gcc_cv_math_func_cacosf = yes; then 25061 25062cat >>confdefs.h <<_ACEOF 25063#define HAVE_CACOSF 1 25064_ACEOF 25065 25066 fi 25067 25068 25069 25070 25071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5 25072$as_echo_n "checking for cacosh... " >&6; } 25073if ${gcc_cv_math_func_cacosh+:} false; then : 25074 $as_echo_n "(cached) " >&6 25075else 25076 if test x$gcc_no_link = xyes; then 25077 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25078fi 25079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25080/* end confdefs.h. */ 25081 25082#ifdef HAVE_COMPLEX_H 25083#include <complex.h> 25084#endif 25085#ifdef HAVE_MATH_H 25086#include <math.h> 25087#endif 25088 25089int (*ptr)() = (int (*)())cacosh; 25090 25091int 25092main () 25093{ 25094 return 0; 25095} 25096 25097_ACEOF 25098if ac_fn_c_try_link "$LINENO"; then : 25099 gcc_cv_math_func_cacosh=yes 25100else 25101 gcc_cv_math_func_cacosh=no 25102fi 25103rm -f core conftest.err conftest.$ac_objext \ 25104 conftest$ac_exeext conftest.$ac_ext 25105fi 25106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5 25107$as_echo "$gcc_cv_math_func_cacosh" >&6; } 25108 if test $gcc_cv_math_func_cacosh = yes; then 25109 25110cat >>confdefs.h <<_ACEOF 25111#define HAVE_CACOSH 1 25112_ACEOF 25113 25114 fi 25115 25116 25117 25118 25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5 25120$as_echo_n "checking for cacoshf... " >&6; } 25121if ${gcc_cv_math_func_cacoshf+:} false; then : 25122 $as_echo_n "(cached) " >&6 25123else 25124 if test x$gcc_no_link = xyes; then 25125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25126fi 25127cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25128/* end confdefs.h. */ 25129 25130#ifdef HAVE_COMPLEX_H 25131#include <complex.h> 25132#endif 25133#ifdef HAVE_MATH_H 25134#include <math.h> 25135#endif 25136 25137int (*ptr)() = (int (*)())cacoshf; 25138 25139int 25140main () 25141{ 25142 return 0; 25143} 25144 25145_ACEOF 25146if ac_fn_c_try_link "$LINENO"; then : 25147 gcc_cv_math_func_cacoshf=yes 25148else 25149 gcc_cv_math_func_cacoshf=no 25150fi 25151rm -f core conftest.err conftest.$ac_objext \ 25152 conftest$ac_exeext conftest.$ac_ext 25153fi 25154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5 25155$as_echo "$gcc_cv_math_func_cacoshf" >&6; } 25156 if test $gcc_cv_math_func_cacoshf = yes; then 25157 25158cat >>confdefs.h <<_ACEOF 25159#define HAVE_CACOSHF 1 25160_ACEOF 25161 25162 fi 25163 25164 25165 25166 25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5 25168$as_echo_n "checking for cacoshl... " >&6; } 25169if ${gcc_cv_math_func_cacoshl+:} false; then : 25170 $as_echo_n "(cached) " >&6 25171else 25172 if test x$gcc_no_link = xyes; then 25173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25174fi 25175cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25176/* end confdefs.h. */ 25177 25178#ifdef HAVE_COMPLEX_H 25179#include <complex.h> 25180#endif 25181#ifdef HAVE_MATH_H 25182#include <math.h> 25183#endif 25184 25185int (*ptr)() = (int (*)())cacoshl; 25186 25187int 25188main () 25189{ 25190 return 0; 25191} 25192 25193_ACEOF 25194if ac_fn_c_try_link "$LINENO"; then : 25195 gcc_cv_math_func_cacoshl=yes 25196else 25197 gcc_cv_math_func_cacoshl=no 25198fi 25199rm -f core conftest.err conftest.$ac_objext \ 25200 conftest$ac_exeext conftest.$ac_ext 25201fi 25202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5 25203$as_echo "$gcc_cv_math_func_cacoshl" >&6; } 25204 if test $gcc_cv_math_func_cacoshl = yes; then 25205 25206cat >>confdefs.h <<_ACEOF 25207#define HAVE_CACOSHL 1 25208_ACEOF 25209 25210 fi 25211 25212 25213 25214 25215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5 25216$as_echo_n "checking for cacosl... " >&6; } 25217if ${gcc_cv_math_func_cacosl+:} false; then : 25218 $as_echo_n "(cached) " >&6 25219else 25220 if test x$gcc_no_link = xyes; then 25221 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25222fi 25223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25224/* end confdefs.h. */ 25225 25226#ifdef HAVE_COMPLEX_H 25227#include <complex.h> 25228#endif 25229#ifdef HAVE_MATH_H 25230#include <math.h> 25231#endif 25232 25233int (*ptr)() = (int (*)())cacosl; 25234 25235int 25236main () 25237{ 25238 return 0; 25239} 25240 25241_ACEOF 25242if ac_fn_c_try_link "$LINENO"; then : 25243 gcc_cv_math_func_cacosl=yes 25244else 25245 gcc_cv_math_func_cacosl=no 25246fi 25247rm -f core conftest.err conftest.$ac_objext \ 25248 conftest$ac_exeext conftest.$ac_ext 25249fi 25250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5 25251$as_echo "$gcc_cv_math_func_cacosl" >&6; } 25252 if test $gcc_cv_math_func_cacosl = yes; then 25253 25254cat >>confdefs.h <<_ACEOF 25255#define HAVE_CACOSL 1 25256_ACEOF 25257 25258 fi 25259 25260 25261 25262 25263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5 25264$as_echo_n "checking for casin... " >&6; } 25265if ${gcc_cv_math_func_casin+:} false; then : 25266 $as_echo_n "(cached) " >&6 25267else 25268 if test x$gcc_no_link = xyes; then 25269 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25270fi 25271cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25272/* end confdefs.h. */ 25273 25274#ifdef HAVE_COMPLEX_H 25275#include <complex.h> 25276#endif 25277#ifdef HAVE_MATH_H 25278#include <math.h> 25279#endif 25280 25281int (*ptr)() = (int (*)())casin; 25282 25283int 25284main () 25285{ 25286 return 0; 25287} 25288 25289_ACEOF 25290if ac_fn_c_try_link "$LINENO"; then : 25291 gcc_cv_math_func_casin=yes 25292else 25293 gcc_cv_math_func_casin=no 25294fi 25295rm -f core conftest.err conftest.$ac_objext \ 25296 conftest$ac_exeext conftest.$ac_ext 25297fi 25298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5 25299$as_echo "$gcc_cv_math_func_casin" >&6; } 25300 if test $gcc_cv_math_func_casin = yes; then 25301 25302cat >>confdefs.h <<_ACEOF 25303#define HAVE_CASIN 1 25304_ACEOF 25305 25306 fi 25307 25308 25309 25310 25311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5 25312$as_echo_n "checking for casinf... " >&6; } 25313if ${gcc_cv_math_func_casinf+:} false; then : 25314 $as_echo_n "(cached) " >&6 25315else 25316 if test x$gcc_no_link = xyes; then 25317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25318fi 25319cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25320/* end confdefs.h. */ 25321 25322#ifdef HAVE_COMPLEX_H 25323#include <complex.h> 25324#endif 25325#ifdef HAVE_MATH_H 25326#include <math.h> 25327#endif 25328 25329int (*ptr)() = (int (*)())casinf; 25330 25331int 25332main () 25333{ 25334 return 0; 25335} 25336 25337_ACEOF 25338if ac_fn_c_try_link "$LINENO"; then : 25339 gcc_cv_math_func_casinf=yes 25340else 25341 gcc_cv_math_func_casinf=no 25342fi 25343rm -f core conftest.err conftest.$ac_objext \ 25344 conftest$ac_exeext conftest.$ac_ext 25345fi 25346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5 25347$as_echo "$gcc_cv_math_func_casinf" >&6; } 25348 if test $gcc_cv_math_func_casinf = yes; then 25349 25350cat >>confdefs.h <<_ACEOF 25351#define HAVE_CASINF 1 25352_ACEOF 25353 25354 fi 25355 25356 25357 25358 25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5 25360$as_echo_n "checking for casinh... " >&6; } 25361if ${gcc_cv_math_func_casinh+:} false; then : 25362 $as_echo_n "(cached) " >&6 25363else 25364 if test x$gcc_no_link = xyes; then 25365 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25366fi 25367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25368/* end confdefs.h. */ 25369 25370#ifdef HAVE_COMPLEX_H 25371#include <complex.h> 25372#endif 25373#ifdef HAVE_MATH_H 25374#include <math.h> 25375#endif 25376 25377int (*ptr)() = (int (*)())casinh; 25378 25379int 25380main () 25381{ 25382 return 0; 25383} 25384 25385_ACEOF 25386if ac_fn_c_try_link "$LINENO"; then : 25387 gcc_cv_math_func_casinh=yes 25388else 25389 gcc_cv_math_func_casinh=no 25390fi 25391rm -f core conftest.err conftest.$ac_objext \ 25392 conftest$ac_exeext conftest.$ac_ext 25393fi 25394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5 25395$as_echo "$gcc_cv_math_func_casinh" >&6; } 25396 if test $gcc_cv_math_func_casinh = yes; then 25397 25398cat >>confdefs.h <<_ACEOF 25399#define HAVE_CASINH 1 25400_ACEOF 25401 25402 fi 25403 25404 25405 25406 25407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5 25408$as_echo_n "checking for casinhf... " >&6; } 25409if ${gcc_cv_math_func_casinhf+:} false; then : 25410 $as_echo_n "(cached) " >&6 25411else 25412 if test x$gcc_no_link = xyes; then 25413 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25414fi 25415cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25416/* end confdefs.h. */ 25417 25418#ifdef HAVE_COMPLEX_H 25419#include <complex.h> 25420#endif 25421#ifdef HAVE_MATH_H 25422#include <math.h> 25423#endif 25424 25425int (*ptr)() = (int (*)())casinhf; 25426 25427int 25428main () 25429{ 25430 return 0; 25431} 25432 25433_ACEOF 25434if ac_fn_c_try_link "$LINENO"; then : 25435 gcc_cv_math_func_casinhf=yes 25436else 25437 gcc_cv_math_func_casinhf=no 25438fi 25439rm -f core conftest.err conftest.$ac_objext \ 25440 conftest$ac_exeext conftest.$ac_ext 25441fi 25442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5 25443$as_echo "$gcc_cv_math_func_casinhf" >&6; } 25444 if test $gcc_cv_math_func_casinhf = yes; then 25445 25446cat >>confdefs.h <<_ACEOF 25447#define HAVE_CASINHF 1 25448_ACEOF 25449 25450 fi 25451 25452 25453 25454 25455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5 25456$as_echo_n "checking for casinhl... " >&6; } 25457if ${gcc_cv_math_func_casinhl+:} false; then : 25458 $as_echo_n "(cached) " >&6 25459else 25460 if test x$gcc_no_link = xyes; then 25461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25462fi 25463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25464/* end confdefs.h. */ 25465 25466#ifdef HAVE_COMPLEX_H 25467#include <complex.h> 25468#endif 25469#ifdef HAVE_MATH_H 25470#include <math.h> 25471#endif 25472 25473int (*ptr)() = (int (*)())casinhl; 25474 25475int 25476main () 25477{ 25478 return 0; 25479} 25480 25481_ACEOF 25482if ac_fn_c_try_link "$LINENO"; then : 25483 gcc_cv_math_func_casinhl=yes 25484else 25485 gcc_cv_math_func_casinhl=no 25486fi 25487rm -f core conftest.err conftest.$ac_objext \ 25488 conftest$ac_exeext conftest.$ac_ext 25489fi 25490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5 25491$as_echo "$gcc_cv_math_func_casinhl" >&6; } 25492 if test $gcc_cv_math_func_casinhl = yes; then 25493 25494cat >>confdefs.h <<_ACEOF 25495#define HAVE_CASINHL 1 25496_ACEOF 25497 25498 fi 25499 25500 25501 25502 25503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5 25504$as_echo_n "checking for casinl... " >&6; } 25505if ${gcc_cv_math_func_casinl+:} false; then : 25506 $as_echo_n "(cached) " >&6 25507else 25508 if test x$gcc_no_link = xyes; then 25509 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25510fi 25511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25512/* end confdefs.h. */ 25513 25514#ifdef HAVE_COMPLEX_H 25515#include <complex.h> 25516#endif 25517#ifdef HAVE_MATH_H 25518#include <math.h> 25519#endif 25520 25521int (*ptr)() = (int (*)())casinl; 25522 25523int 25524main () 25525{ 25526 return 0; 25527} 25528 25529_ACEOF 25530if ac_fn_c_try_link "$LINENO"; then : 25531 gcc_cv_math_func_casinl=yes 25532else 25533 gcc_cv_math_func_casinl=no 25534fi 25535rm -f core conftest.err conftest.$ac_objext \ 25536 conftest$ac_exeext conftest.$ac_ext 25537fi 25538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5 25539$as_echo "$gcc_cv_math_func_casinl" >&6; } 25540 if test $gcc_cv_math_func_casinl = yes; then 25541 25542cat >>confdefs.h <<_ACEOF 25543#define HAVE_CASINL 1 25544_ACEOF 25545 25546 fi 25547 25548 25549 25550 25551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5 25552$as_echo_n "checking for catan... " >&6; } 25553if ${gcc_cv_math_func_catan+:} false; then : 25554 $as_echo_n "(cached) " >&6 25555else 25556 if test x$gcc_no_link = xyes; then 25557 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25558fi 25559cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25560/* end confdefs.h. */ 25561 25562#ifdef HAVE_COMPLEX_H 25563#include <complex.h> 25564#endif 25565#ifdef HAVE_MATH_H 25566#include <math.h> 25567#endif 25568 25569int (*ptr)() = (int (*)())catan; 25570 25571int 25572main () 25573{ 25574 return 0; 25575} 25576 25577_ACEOF 25578if ac_fn_c_try_link "$LINENO"; then : 25579 gcc_cv_math_func_catan=yes 25580else 25581 gcc_cv_math_func_catan=no 25582fi 25583rm -f core conftest.err conftest.$ac_objext \ 25584 conftest$ac_exeext conftest.$ac_ext 25585fi 25586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5 25587$as_echo "$gcc_cv_math_func_catan" >&6; } 25588 if test $gcc_cv_math_func_catan = yes; then 25589 25590cat >>confdefs.h <<_ACEOF 25591#define HAVE_CATAN 1 25592_ACEOF 25593 25594 fi 25595 25596 25597 25598 25599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5 25600$as_echo_n "checking for catanf... " >&6; } 25601if ${gcc_cv_math_func_catanf+:} false; then : 25602 $as_echo_n "(cached) " >&6 25603else 25604 if test x$gcc_no_link = xyes; then 25605 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25606fi 25607cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25608/* end confdefs.h. */ 25609 25610#ifdef HAVE_COMPLEX_H 25611#include <complex.h> 25612#endif 25613#ifdef HAVE_MATH_H 25614#include <math.h> 25615#endif 25616 25617int (*ptr)() = (int (*)())catanf; 25618 25619int 25620main () 25621{ 25622 return 0; 25623} 25624 25625_ACEOF 25626if ac_fn_c_try_link "$LINENO"; then : 25627 gcc_cv_math_func_catanf=yes 25628else 25629 gcc_cv_math_func_catanf=no 25630fi 25631rm -f core conftest.err conftest.$ac_objext \ 25632 conftest$ac_exeext conftest.$ac_ext 25633fi 25634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5 25635$as_echo "$gcc_cv_math_func_catanf" >&6; } 25636 if test $gcc_cv_math_func_catanf = yes; then 25637 25638cat >>confdefs.h <<_ACEOF 25639#define HAVE_CATANF 1 25640_ACEOF 25641 25642 fi 25643 25644 25645 25646 25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5 25648$as_echo_n "checking for catanh... " >&6; } 25649if ${gcc_cv_math_func_catanh+:} false; then : 25650 $as_echo_n "(cached) " >&6 25651else 25652 if test x$gcc_no_link = xyes; then 25653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25654fi 25655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25656/* end confdefs.h. */ 25657 25658#ifdef HAVE_COMPLEX_H 25659#include <complex.h> 25660#endif 25661#ifdef HAVE_MATH_H 25662#include <math.h> 25663#endif 25664 25665int (*ptr)() = (int (*)())catanh; 25666 25667int 25668main () 25669{ 25670 return 0; 25671} 25672 25673_ACEOF 25674if ac_fn_c_try_link "$LINENO"; then : 25675 gcc_cv_math_func_catanh=yes 25676else 25677 gcc_cv_math_func_catanh=no 25678fi 25679rm -f core conftest.err conftest.$ac_objext \ 25680 conftest$ac_exeext conftest.$ac_ext 25681fi 25682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5 25683$as_echo "$gcc_cv_math_func_catanh" >&6; } 25684 if test $gcc_cv_math_func_catanh = yes; then 25685 25686cat >>confdefs.h <<_ACEOF 25687#define HAVE_CATANH 1 25688_ACEOF 25689 25690 fi 25691 25692 25693 25694 25695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5 25696$as_echo_n "checking for catanhf... " >&6; } 25697if ${gcc_cv_math_func_catanhf+:} false; then : 25698 $as_echo_n "(cached) " >&6 25699else 25700 if test x$gcc_no_link = xyes; then 25701 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25702fi 25703cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25704/* end confdefs.h. */ 25705 25706#ifdef HAVE_COMPLEX_H 25707#include <complex.h> 25708#endif 25709#ifdef HAVE_MATH_H 25710#include <math.h> 25711#endif 25712 25713int (*ptr)() = (int (*)())catanhf; 25714 25715int 25716main () 25717{ 25718 return 0; 25719} 25720 25721_ACEOF 25722if ac_fn_c_try_link "$LINENO"; then : 25723 gcc_cv_math_func_catanhf=yes 25724else 25725 gcc_cv_math_func_catanhf=no 25726fi 25727rm -f core conftest.err conftest.$ac_objext \ 25728 conftest$ac_exeext conftest.$ac_ext 25729fi 25730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5 25731$as_echo "$gcc_cv_math_func_catanhf" >&6; } 25732 if test $gcc_cv_math_func_catanhf = yes; then 25733 25734cat >>confdefs.h <<_ACEOF 25735#define HAVE_CATANHF 1 25736_ACEOF 25737 25738 fi 25739 25740 25741 25742 25743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5 25744$as_echo_n "checking for catanhl... " >&6; } 25745if ${gcc_cv_math_func_catanhl+:} false; then : 25746 $as_echo_n "(cached) " >&6 25747else 25748 if test x$gcc_no_link = xyes; then 25749 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25750fi 25751cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25752/* end confdefs.h. */ 25753 25754#ifdef HAVE_COMPLEX_H 25755#include <complex.h> 25756#endif 25757#ifdef HAVE_MATH_H 25758#include <math.h> 25759#endif 25760 25761int (*ptr)() = (int (*)())catanhl; 25762 25763int 25764main () 25765{ 25766 return 0; 25767} 25768 25769_ACEOF 25770if ac_fn_c_try_link "$LINENO"; then : 25771 gcc_cv_math_func_catanhl=yes 25772else 25773 gcc_cv_math_func_catanhl=no 25774fi 25775rm -f core conftest.err conftest.$ac_objext \ 25776 conftest$ac_exeext conftest.$ac_ext 25777fi 25778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5 25779$as_echo "$gcc_cv_math_func_catanhl" >&6; } 25780 if test $gcc_cv_math_func_catanhl = yes; then 25781 25782cat >>confdefs.h <<_ACEOF 25783#define HAVE_CATANHL 1 25784_ACEOF 25785 25786 fi 25787 25788 25789 25790 25791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5 25792$as_echo_n "checking for catanl... " >&6; } 25793if ${gcc_cv_math_func_catanl+:} false; then : 25794 $as_echo_n "(cached) " >&6 25795else 25796 if test x$gcc_no_link = xyes; then 25797 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25798fi 25799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25800/* end confdefs.h. */ 25801 25802#ifdef HAVE_COMPLEX_H 25803#include <complex.h> 25804#endif 25805#ifdef HAVE_MATH_H 25806#include <math.h> 25807#endif 25808 25809int (*ptr)() = (int (*)())catanl; 25810 25811int 25812main () 25813{ 25814 return 0; 25815} 25816 25817_ACEOF 25818if ac_fn_c_try_link "$LINENO"; then : 25819 gcc_cv_math_func_catanl=yes 25820else 25821 gcc_cv_math_func_catanl=no 25822fi 25823rm -f core conftest.err conftest.$ac_objext \ 25824 conftest$ac_exeext conftest.$ac_ext 25825fi 25826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5 25827$as_echo "$gcc_cv_math_func_catanl" >&6; } 25828 if test $gcc_cv_math_func_catanl = yes; then 25829 25830cat >>confdefs.h <<_ACEOF 25831#define HAVE_CATANL 1 25832_ACEOF 25833 25834 fi 25835 25836 25837# For POWER, check the ieee128 math functions 25838 25839if test "x$have_real_17" = "xyes"; then 25840 25841cat >>confdefs.h <<_ACEOF 25842#define HAVE_REAL_17 1 25843_ACEOF 25844 25845 25846 25847 25848 25849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5 25850$as_echo_n "checking for __acoshieee128... " >&6; } 25851if ${gcc_cv_math_func___acoshieee128+:} false; then : 25852 $as_echo_n "(cached) " >&6 25853else 25854 if test x$gcc_no_link = xyes; then 25855 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25856fi 25857cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25858/* end confdefs.h. */ 25859 25860__float128 __acoshieee128 (__float128); 25861__float128 (*ptr)(__float128) = __acoshieee128; 25862 25863int 25864main () 25865{ 25866 return 0; 25867} 25868 25869_ACEOF 25870if ac_fn_c_try_link "$LINENO"; then : 25871 gcc_cv_math_func___acoshieee128=yes 25872else 25873 gcc_cv_math_func___acoshieee128=no 25874fi 25875rm -f core conftest.err conftest.$ac_objext \ 25876 conftest$ac_exeext conftest.$ac_ext 25877fi 25878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5 25879$as_echo "$gcc_cv_math_func___acoshieee128" >&6; } 25880 if test $gcc_cv_math_func___acoshieee128 = yes; then 25881 25882cat >>confdefs.h <<_ACEOF 25883#define HAVE___ACOSHIEEE128 1 25884_ACEOF 25885 25886 fi 25887 25888 25889 25890 25891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5 25892$as_echo_n "checking for __acosieee128... " >&6; } 25893if ${gcc_cv_math_func___acosieee128+:} false; then : 25894 $as_echo_n "(cached) " >&6 25895else 25896 if test x$gcc_no_link = xyes; then 25897 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25898fi 25899cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25900/* end confdefs.h. */ 25901 25902__float128 __acosieee128 (__float128); 25903__float128 (*ptr)(__float128) = __acosieee128; 25904 25905int 25906main () 25907{ 25908 return 0; 25909} 25910 25911_ACEOF 25912if ac_fn_c_try_link "$LINENO"; then : 25913 gcc_cv_math_func___acosieee128=yes 25914else 25915 gcc_cv_math_func___acosieee128=no 25916fi 25917rm -f core conftest.err conftest.$ac_objext \ 25918 conftest$ac_exeext conftest.$ac_ext 25919fi 25920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5 25921$as_echo "$gcc_cv_math_func___acosieee128" >&6; } 25922 if test $gcc_cv_math_func___acosieee128 = yes; then 25923 25924cat >>confdefs.h <<_ACEOF 25925#define HAVE___ACOSIEEE128 1 25926_ACEOF 25927 25928 fi 25929 25930 25931 25932 25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5 25934$as_echo_n "checking for __asinhieee128... " >&6; } 25935if ${gcc_cv_math_func___asinhieee128+:} false; then : 25936 $as_echo_n "(cached) " >&6 25937else 25938 if test x$gcc_no_link = xyes; then 25939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25940fi 25941cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25942/* end confdefs.h. */ 25943 25944__float128 __asinhieee128 (__float128); 25945__float128 (*ptr)(__float128) = __asinhieee128; 25946 25947int 25948main () 25949{ 25950 return 0; 25951} 25952 25953_ACEOF 25954if ac_fn_c_try_link "$LINENO"; then : 25955 gcc_cv_math_func___asinhieee128=yes 25956else 25957 gcc_cv_math_func___asinhieee128=no 25958fi 25959rm -f core conftest.err conftest.$ac_objext \ 25960 conftest$ac_exeext conftest.$ac_ext 25961fi 25962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5 25963$as_echo "$gcc_cv_math_func___asinhieee128" >&6; } 25964 if test $gcc_cv_math_func___asinhieee128 = yes; then 25965 25966cat >>confdefs.h <<_ACEOF 25967#define HAVE___ASINHIEEE128 1 25968_ACEOF 25969 25970 fi 25971 25972 25973 25974 25975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5 25976$as_echo_n "checking for __asinieee128... " >&6; } 25977if ${gcc_cv_math_func___asinieee128+:} false; then : 25978 $as_echo_n "(cached) " >&6 25979else 25980 if test x$gcc_no_link = xyes; then 25981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 25982fi 25983cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25984/* end confdefs.h. */ 25985 25986__float128 __asinieee128 (__float128); 25987__float128 (*ptr)(__float128) = __asinieee128; 25988 25989int 25990main () 25991{ 25992 return 0; 25993} 25994 25995_ACEOF 25996if ac_fn_c_try_link "$LINENO"; then : 25997 gcc_cv_math_func___asinieee128=yes 25998else 25999 gcc_cv_math_func___asinieee128=no 26000fi 26001rm -f core conftest.err conftest.$ac_objext \ 26002 conftest$ac_exeext conftest.$ac_ext 26003fi 26004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5 26005$as_echo "$gcc_cv_math_func___asinieee128" >&6; } 26006 if test $gcc_cv_math_func___asinieee128 = yes; then 26007 26008cat >>confdefs.h <<_ACEOF 26009#define HAVE___ASINIEEE128 1 26010_ACEOF 26011 26012 fi 26013 26014 26015 26016 26017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5 26018$as_echo_n "checking for __atan2ieee128... " >&6; } 26019if ${gcc_cv_math_func___atan2ieee128+:} false; then : 26020 $as_echo_n "(cached) " >&6 26021else 26022 if test x$gcc_no_link = xyes; then 26023 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26024fi 26025cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26026/* end confdefs.h. */ 26027 26028__float128 __atan2ieee128 (__float128); 26029__float128 (*ptr)(__float128) = __atan2ieee128; 26030 26031int 26032main () 26033{ 26034 return 0; 26035} 26036 26037_ACEOF 26038if ac_fn_c_try_link "$LINENO"; then : 26039 gcc_cv_math_func___atan2ieee128=yes 26040else 26041 gcc_cv_math_func___atan2ieee128=no 26042fi 26043rm -f core conftest.err conftest.$ac_objext \ 26044 conftest$ac_exeext conftest.$ac_ext 26045fi 26046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5 26047$as_echo "$gcc_cv_math_func___atan2ieee128" >&6; } 26048 if test $gcc_cv_math_func___atan2ieee128 = yes; then 26049 26050cat >>confdefs.h <<_ACEOF 26051#define HAVE___ATAN2IEEE128 1 26052_ACEOF 26053 26054 fi 26055 26056 26057 26058 26059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5 26060$as_echo_n "checking for __atanhieee128... " >&6; } 26061if ${gcc_cv_math_func___atanhieee128+:} false; then : 26062 $as_echo_n "(cached) " >&6 26063else 26064 if test x$gcc_no_link = xyes; then 26065 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26066fi 26067cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26068/* end confdefs.h. */ 26069 26070__float128 __atanhieee128 (__float128); 26071__float128 (*ptr)(__float128) = __atanhieee128; 26072 26073int 26074main () 26075{ 26076 return 0; 26077} 26078 26079_ACEOF 26080if ac_fn_c_try_link "$LINENO"; then : 26081 gcc_cv_math_func___atanhieee128=yes 26082else 26083 gcc_cv_math_func___atanhieee128=no 26084fi 26085rm -f core conftest.err conftest.$ac_objext \ 26086 conftest$ac_exeext conftest.$ac_ext 26087fi 26088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5 26089$as_echo "$gcc_cv_math_func___atanhieee128" >&6; } 26090 if test $gcc_cv_math_func___atanhieee128 = yes; then 26091 26092cat >>confdefs.h <<_ACEOF 26093#define HAVE___ATANHIEEE128 1 26094_ACEOF 26095 26096 fi 26097 26098 26099 26100 26101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5 26102$as_echo_n "checking for __atanieee128... " >&6; } 26103if ${gcc_cv_math_func___atanieee128+:} false; then : 26104 $as_echo_n "(cached) " >&6 26105else 26106 if test x$gcc_no_link = xyes; then 26107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26108fi 26109cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26110/* end confdefs.h. */ 26111 26112__float128 __atanieee128 (__float128); 26113__float128 (*ptr)(__float128) = __atanieee128; 26114 26115int 26116main () 26117{ 26118 return 0; 26119} 26120 26121_ACEOF 26122if ac_fn_c_try_link "$LINENO"; then : 26123 gcc_cv_math_func___atanieee128=yes 26124else 26125 gcc_cv_math_func___atanieee128=no 26126fi 26127rm -f core conftest.err conftest.$ac_objext \ 26128 conftest$ac_exeext conftest.$ac_ext 26129fi 26130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5 26131$as_echo "$gcc_cv_math_func___atanieee128" >&6; } 26132 if test $gcc_cv_math_func___atanieee128 = yes; then 26133 26134cat >>confdefs.h <<_ACEOF 26135#define HAVE___ATANIEEE128 1 26136_ACEOF 26137 26138 fi 26139 26140 26141 26142 26143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5 26144$as_echo_n "checking for __coshieee128... " >&6; } 26145if ${gcc_cv_math_func___coshieee128+:} false; then : 26146 $as_echo_n "(cached) " >&6 26147else 26148 if test x$gcc_no_link = xyes; then 26149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26150fi 26151cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26152/* end confdefs.h. */ 26153 26154__float128 __coshieee128 (__float128); 26155__float128 (*ptr)(__float128) = __coshieee128; 26156 26157int 26158main () 26159{ 26160 return 0; 26161} 26162 26163_ACEOF 26164if ac_fn_c_try_link "$LINENO"; then : 26165 gcc_cv_math_func___coshieee128=yes 26166else 26167 gcc_cv_math_func___coshieee128=no 26168fi 26169rm -f core conftest.err conftest.$ac_objext \ 26170 conftest$ac_exeext conftest.$ac_ext 26171fi 26172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5 26173$as_echo "$gcc_cv_math_func___coshieee128" >&6; } 26174 if test $gcc_cv_math_func___coshieee128 = yes; then 26175 26176cat >>confdefs.h <<_ACEOF 26177#define HAVE___COSHIEEE128 1 26178_ACEOF 26179 26180 fi 26181 26182 26183 26184 26185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5 26186$as_echo_n "checking for __cosieee128... " >&6; } 26187if ${gcc_cv_math_func___cosieee128+:} false; then : 26188 $as_echo_n "(cached) " >&6 26189else 26190 if test x$gcc_no_link = xyes; then 26191 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26192fi 26193cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26194/* end confdefs.h. */ 26195 26196__float128 __cosieee128 (__float128); 26197__float128 (*ptr)(__float128) = __cosieee128; 26198 26199int 26200main () 26201{ 26202 return 0; 26203} 26204 26205_ACEOF 26206if ac_fn_c_try_link "$LINENO"; then : 26207 gcc_cv_math_func___cosieee128=yes 26208else 26209 gcc_cv_math_func___cosieee128=no 26210fi 26211rm -f core conftest.err conftest.$ac_objext \ 26212 conftest$ac_exeext conftest.$ac_ext 26213fi 26214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5 26215$as_echo "$gcc_cv_math_func___cosieee128" >&6; } 26216 if test $gcc_cv_math_func___cosieee128 = yes; then 26217 26218cat >>confdefs.h <<_ACEOF 26219#define HAVE___COSIEEE128 1 26220_ACEOF 26221 26222 fi 26223 26224 26225 26226 26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5 26228$as_echo_n "checking for __erfieee128... " >&6; } 26229if ${gcc_cv_math_func___erfieee128+:} false; then : 26230 $as_echo_n "(cached) " >&6 26231else 26232 if test x$gcc_no_link = xyes; then 26233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26234fi 26235cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26236/* end confdefs.h. */ 26237 26238__float128 __erfieee128 (__float128); 26239__float128 (*ptr)(__float128) = __erfieee128; 26240 26241int 26242main () 26243{ 26244 return 0; 26245} 26246 26247_ACEOF 26248if ac_fn_c_try_link "$LINENO"; then : 26249 gcc_cv_math_func___erfieee128=yes 26250else 26251 gcc_cv_math_func___erfieee128=no 26252fi 26253rm -f core conftest.err conftest.$ac_objext \ 26254 conftest$ac_exeext conftest.$ac_ext 26255fi 26256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5 26257$as_echo "$gcc_cv_math_func___erfieee128" >&6; } 26258 if test $gcc_cv_math_func___erfieee128 = yes; then 26259 26260cat >>confdefs.h <<_ACEOF 26261#define HAVE___ERFIEEE128 1 26262_ACEOF 26263 26264 fi 26265 26266 26267 26268 26269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5 26270$as_echo_n "checking for __expieee128... " >&6; } 26271if ${gcc_cv_math_func___expieee128+:} false; then : 26272 $as_echo_n "(cached) " >&6 26273else 26274 if test x$gcc_no_link = xyes; then 26275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26276fi 26277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26278/* end confdefs.h. */ 26279 26280__float128 __expieee128 (__float128); 26281__float128 (*ptr)(__float128) = __expieee128; 26282 26283int 26284main () 26285{ 26286 return 0; 26287} 26288 26289_ACEOF 26290if ac_fn_c_try_link "$LINENO"; then : 26291 gcc_cv_math_func___expieee128=yes 26292else 26293 gcc_cv_math_func___expieee128=no 26294fi 26295rm -f core conftest.err conftest.$ac_objext \ 26296 conftest$ac_exeext conftest.$ac_ext 26297fi 26298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5 26299$as_echo "$gcc_cv_math_func___expieee128" >&6; } 26300 if test $gcc_cv_math_func___expieee128 = yes; then 26301 26302cat >>confdefs.h <<_ACEOF 26303#define HAVE___EXPIEEE128 1 26304_ACEOF 26305 26306 fi 26307 26308 26309 26310 26311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5 26312$as_echo_n "checking for __fabsieee128... " >&6; } 26313if ${gcc_cv_math_func___fabsieee128+:} false; then : 26314 $as_echo_n "(cached) " >&6 26315else 26316 if test x$gcc_no_link = xyes; then 26317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26318fi 26319cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26320/* end confdefs.h. */ 26321 26322__float128 __fabsieee128 (__float128); 26323__float128 (*ptr)(__float128) = __fabsieee128; 26324 26325int 26326main () 26327{ 26328 return 0; 26329} 26330 26331_ACEOF 26332if ac_fn_c_try_link "$LINENO"; then : 26333 gcc_cv_math_func___fabsieee128=yes 26334else 26335 gcc_cv_math_func___fabsieee128=no 26336fi 26337rm -f core conftest.err conftest.$ac_objext \ 26338 conftest$ac_exeext conftest.$ac_ext 26339fi 26340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5 26341$as_echo "$gcc_cv_math_func___fabsieee128" >&6; } 26342 if test $gcc_cv_math_func___fabsieee128 = yes; then 26343 26344cat >>confdefs.h <<_ACEOF 26345#define HAVE___FABSIEEE128 1 26346_ACEOF 26347 26348 fi 26349 26350 26351 26352 26353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5 26354$as_echo_n "checking for __jnieee128... " >&6; } 26355if ${gcc_cv_math_func___jnieee128+:} false; then : 26356 $as_echo_n "(cached) " >&6 26357else 26358 if test x$gcc_no_link = xyes; then 26359 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26360fi 26361cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26362/* end confdefs.h. */ 26363 26364__float128 __jnieee128 (__float128); 26365__float128 (*ptr)(__float128) = __jnieee128; 26366 26367int 26368main () 26369{ 26370 return 0; 26371} 26372 26373_ACEOF 26374if ac_fn_c_try_link "$LINENO"; then : 26375 gcc_cv_math_func___jnieee128=yes 26376else 26377 gcc_cv_math_func___jnieee128=no 26378fi 26379rm -f core conftest.err conftest.$ac_objext \ 26380 conftest$ac_exeext conftest.$ac_ext 26381fi 26382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5 26383$as_echo "$gcc_cv_math_func___jnieee128" >&6; } 26384 if test $gcc_cv_math_func___jnieee128 = yes; then 26385 26386cat >>confdefs.h <<_ACEOF 26387#define HAVE___JNIEEE128 1 26388_ACEOF 26389 26390 fi 26391 26392 26393 26394 26395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5 26396$as_echo_n "checking for __log10ieee128... " >&6; } 26397if ${gcc_cv_math_func___log10ieee128+:} false; then : 26398 $as_echo_n "(cached) " >&6 26399else 26400 if test x$gcc_no_link = xyes; then 26401 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26402fi 26403cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26404/* end confdefs.h. */ 26405 26406__float128 __log10ieee128 (__float128); 26407__float128 (*ptr)(__float128) = __log10ieee128; 26408 26409int 26410main () 26411{ 26412 return 0; 26413} 26414 26415_ACEOF 26416if ac_fn_c_try_link "$LINENO"; then : 26417 gcc_cv_math_func___log10ieee128=yes 26418else 26419 gcc_cv_math_func___log10ieee128=no 26420fi 26421rm -f core conftest.err conftest.$ac_objext \ 26422 conftest$ac_exeext conftest.$ac_ext 26423fi 26424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5 26425$as_echo "$gcc_cv_math_func___log10ieee128" >&6; } 26426 if test $gcc_cv_math_func___log10ieee128 = yes; then 26427 26428cat >>confdefs.h <<_ACEOF 26429#define HAVE___LOG10IEEE128 1 26430_ACEOF 26431 26432 fi 26433 26434 26435 26436 26437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5 26438$as_echo_n "checking for __logieee128... " >&6; } 26439if ${gcc_cv_math_func___logieee128+:} false; then : 26440 $as_echo_n "(cached) " >&6 26441else 26442 if test x$gcc_no_link = xyes; then 26443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26444fi 26445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26446/* end confdefs.h. */ 26447 26448__float128 __logieee128 (__float128); 26449__float128 (*ptr)(__float128) = __logieee128; 26450 26451int 26452main () 26453{ 26454 return 0; 26455} 26456 26457_ACEOF 26458if ac_fn_c_try_link "$LINENO"; then : 26459 gcc_cv_math_func___logieee128=yes 26460else 26461 gcc_cv_math_func___logieee128=no 26462fi 26463rm -f core conftest.err conftest.$ac_objext \ 26464 conftest$ac_exeext conftest.$ac_ext 26465fi 26466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5 26467$as_echo "$gcc_cv_math_func___logieee128" >&6; } 26468 if test $gcc_cv_math_func___logieee128 = yes; then 26469 26470cat >>confdefs.h <<_ACEOF 26471#define HAVE___LOGIEEE128 1 26472_ACEOF 26473 26474 fi 26475 26476 26477 26478 26479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5 26480$as_echo_n "checking for __powieee128... " >&6; } 26481if ${gcc_cv_math_func___powieee128+:} false; then : 26482 $as_echo_n "(cached) " >&6 26483else 26484 if test x$gcc_no_link = xyes; then 26485 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26486fi 26487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26488/* end confdefs.h. */ 26489 26490__float128 __powieee128 (__float128); 26491__float128 (*ptr)(__float128) = __powieee128; 26492 26493int 26494main () 26495{ 26496 return 0; 26497} 26498 26499_ACEOF 26500if ac_fn_c_try_link "$LINENO"; then : 26501 gcc_cv_math_func___powieee128=yes 26502else 26503 gcc_cv_math_func___powieee128=no 26504fi 26505rm -f core conftest.err conftest.$ac_objext \ 26506 conftest$ac_exeext conftest.$ac_ext 26507fi 26508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5 26509$as_echo "$gcc_cv_math_func___powieee128" >&6; } 26510 if test $gcc_cv_math_func___powieee128 = yes; then 26511 26512cat >>confdefs.h <<_ACEOF 26513#define HAVE___POWIEEE128 1 26514_ACEOF 26515 26516 fi 26517 26518 26519 26520 26521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5 26522$as_echo_n "checking for __sinhieee128... " >&6; } 26523if ${gcc_cv_math_func___sinhieee128+:} false; then : 26524 $as_echo_n "(cached) " >&6 26525else 26526 if test x$gcc_no_link = xyes; then 26527 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26528fi 26529cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26530/* end confdefs.h. */ 26531 26532__float128 __sinhieee128 (__float128); 26533__float128 (*ptr)(__float128) = __sinhieee128; 26534 26535int 26536main () 26537{ 26538 return 0; 26539} 26540 26541_ACEOF 26542if ac_fn_c_try_link "$LINENO"; then : 26543 gcc_cv_math_func___sinhieee128=yes 26544else 26545 gcc_cv_math_func___sinhieee128=no 26546fi 26547rm -f core conftest.err conftest.$ac_objext \ 26548 conftest$ac_exeext conftest.$ac_ext 26549fi 26550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5 26551$as_echo "$gcc_cv_math_func___sinhieee128" >&6; } 26552 if test $gcc_cv_math_func___sinhieee128 = yes; then 26553 26554cat >>confdefs.h <<_ACEOF 26555#define HAVE___SINHIEEE128 1 26556_ACEOF 26557 26558 fi 26559 26560 26561 26562 26563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5 26564$as_echo_n "checking for __sinieee128... " >&6; } 26565if ${gcc_cv_math_func___sinieee128+:} false; then : 26566 $as_echo_n "(cached) " >&6 26567else 26568 if test x$gcc_no_link = xyes; then 26569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26570fi 26571cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26572/* end confdefs.h. */ 26573 26574__float128 __sinieee128 (__float128); 26575__float128 (*ptr)(__float128) = __sinieee128; 26576 26577int 26578main () 26579{ 26580 return 0; 26581} 26582 26583_ACEOF 26584if ac_fn_c_try_link "$LINENO"; then : 26585 gcc_cv_math_func___sinieee128=yes 26586else 26587 gcc_cv_math_func___sinieee128=no 26588fi 26589rm -f core conftest.err conftest.$ac_objext \ 26590 conftest$ac_exeext conftest.$ac_ext 26591fi 26592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5 26593$as_echo "$gcc_cv_math_func___sinieee128" >&6; } 26594 if test $gcc_cv_math_func___sinieee128 = yes; then 26595 26596cat >>confdefs.h <<_ACEOF 26597#define HAVE___SINIEEE128 1 26598_ACEOF 26599 26600 fi 26601 26602 26603 26604 26605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5 26606$as_echo_n "checking for __sqrtieee128... " >&6; } 26607if ${gcc_cv_math_func___sqrtieee128+:} false; then : 26608 $as_echo_n "(cached) " >&6 26609else 26610 if test x$gcc_no_link = xyes; then 26611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26612fi 26613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26614/* end confdefs.h. */ 26615 26616__float128 __sqrtieee128 (__float128); 26617__float128 (*ptr)(__float128) = __sqrtieee128; 26618 26619int 26620main () 26621{ 26622 return 0; 26623} 26624 26625_ACEOF 26626if ac_fn_c_try_link "$LINENO"; then : 26627 gcc_cv_math_func___sqrtieee128=yes 26628else 26629 gcc_cv_math_func___sqrtieee128=no 26630fi 26631rm -f core conftest.err conftest.$ac_objext \ 26632 conftest$ac_exeext conftest.$ac_ext 26633fi 26634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5 26635$as_echo "$gcc_cv_math_func___sqrtieee128" >&6; } 26636 if test $gcc_cv_math_func___sqrtieee128 = yes; then 26637 26638cat >>confdefs.h <<_ACEOF 26639#define HAVE___SQRTIEEE128 1 26640_ACEOF 26641 26642 fi 26643 26644 26645 26646 26647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5 26648$as_echo_n "checking for __tanhieee128... " >&6; } 26649if ${gcc_cv_math_func___tanhieee128+:} false; then : 26650 $as_echo_n "(cached) " >&6 26651else 26652 if test x$gcc_no_link = xyes; then 26653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26654fi 26655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26656/* end confdefs.h. */ 26657 26658__float128 __tanhieee128 (__float128); 26659__float128 (*ptr)(__float128) = __tanhieee128; 26660 26661int 26662main () 26663{ 26664 return 0; 26665} 26666 26667_ACEOF 26668if ac_fn_c_try_link "$LINENO"; then : 26669 gcc_cv_math_func___tanhieee128=yes 26670else 26671 gcc_cv_math_func___tanhieee128=no 26672fi 26673rm -f core conftest.err conftest.$ac_objext \ 26674 conftest$ac_exeext conftest.$ac_ext 26675fi 26676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5 26677$as_echo "$gcc_cv_math_func___tanhieee128" >&6; } 26678 if test $gcc_cv_math_func___tanhieee128 = yes; then 26679 26680cat >>confdefs.h <<_ACEOF 26681#define HAVE___TANHIEEE128 1 26682_ACEOF 26683 26684 fi 26685 26686 26687 26688 26689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5 26690$as_echo_n "checking for __tanieee128... " >&6; } 26691if ${gcc_cv_math_func___tanieee128+:} false; then : 26692 $as_echo_n "(cached) " >&6 26693else 26694 if test x$gcc_no_link = xyes; then 26695 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26696fi 26697cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26698/* end confdefs.h. */ 26699 26700__float128 __tanieee128 (__float128); 26701__float128 (*ptr)(__float128) = __tanieee128; 26702 26703int 26704main () 26705{ 26706 return 0; 26707} 26708 26709_ACEOF 26710if ac_fn_c_try_link "$LINENO"; then : 26711 gcc_cv_math_func___tanieee128=yes 26712else 26713 gcc_cv_math_func___tanieee128=no 26714fi 26715rm -f core conftest.err conftest.$ac_objext \ 26716 conftest$ac_exeext conftest.$ac_ext 26717fi 26718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5 26719$as_echo "$gcc_cv_math_func___tanieee128" >&6; } 26720 if test $gcc_cv_math_func___tanieee128 = yes; then 26721 26722cat >>confdefs.h <<_ACEOF 26723#define HAVE___TANIEEE128 1 26724_ACEOF 26725 26726 fi 26727 26728 26729 26730 26731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5 26732$as_echo_n "checking for __ynieee128... " >&6; } 26733if ${gcc_cv_math_func___ynieee128+:} false; then : 26734 $as_echo_n "(cached) " >&6 26735else 26736 if test x$gcc_no_link = xyes; then 26737 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26738fi 26739cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26740/* end confdefs.h. */ 26741 26742__float128 __ynieee128 (__float128); 26743__float128 (*ptr)(__float128) = __ynieee128; 26744 26745int 26746main () 26747{ 26748 return 0; 26749} 26750 26751_ACEOF 26752if ac_fn_c_try_link "$LINENO"; then : 26753 gcc_cv_math_func___ynieee128=yes 26754else 26755 gcc_cv_math_func___ynieee128=no 26756fi 26757rm -f core conftest.err conftest.$ac_objext \ 26758 conftest$ac_exeext conftest.$ac_ext 26759fi 26760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5 26761$as_echo "$gcc_cv_math_func___ynieee128" >&6; } 26762 if test $gcc_cv_math_func___ynieee128 = yes; then 26763 26764cat >>confdefs.h <<_ACEOF 26765#define HAVE___YNIEEE128 1 26766_ACEOF 26767 26768 fi 26769 26770fi 26771 26772# On AIX, clog is present in libm as __clog 26773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5 26774$as_echo_n "checking for __clog in -lm... " >&6; } 26775if ${ac_cv_lib_m___clog+:} false; then : 26776 $as_echo_n "(cached) " >&6 26777else 26778 ac_check_lib_save_LIBS=$LIBS 26779LIBS="-lm $LIBS" 26780if test x$gcc_no_link = xyes; then 26781 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26782fi 26783cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26784/* end confdefs.h. */ 26785 26786/* Override any GCC internal prototype to avoid an error. 26787 Use char because int might match the return type of a GCC 26788 builtin and then its argument prototype would still apply. */ 26789#ifdef __cplusplus 26790extern "C" 26791#endif 26792char __clog (); 26793int 26794main () 26795{ 26796return __clog (); 26797 ; 26798 return 0; 26799} 26800_ACEOF 26801if ac_fn_c_try_link "$LINENO"; then : 26802 ac_cv_lib_m___clog=yes 26803else 26804 ac_cv_lib_m___clog=no 26805fi 26806rm -f core conftest.err conftest.$ac_objext \ 26807 conftest$ac_exeext conftest.$ac_ext 26808LIBS=$ac_check_lib_save_LIBS 26809fi 26810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5 26811$as_echo "$ac_cv_lib_m___clog" >&6; } 26812if test "x$ac_cv_lib_m___clog" = xyes; then : 26813 26814$as_echo "#define HAVE_CLOG 1" >>confdefs.h 26815 26816fi 26817 26818 26819 26820 26821if test $gcc_cv_math_func_copysign = no; then 26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5 26823$as_echo_n "checking for inline __builtin_copysign... " >&6; } 26824if ${gcc_cv_math_inline_builtin_copysign+:} false; then : 26825 $as_echo_n "(cached) " >&6 26826else 26827 if test x$gcc_no_link = xyes; then 26828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26829fi 26830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26831/* end confdefs.h. */ 26832 26833double 26834copysign_fallback (double x, double y) 26835{ 26836 return __builtin_copysign (x, y); 26837} 26838 26839int 26840main () 26841{ 26842 return 0; 26843} 26844 26845_ACEOF 26846if ac_fn_c_try_link "$LINENO"; then : 26847 gcc_cv_math_inline_builtin_copysign=yes 26848else 26849 gcc_cv_math_inline_builtin_copysign=no 26850fi 26851rm -f core conftest.err conftest.$ac_objext \ 26852 conftest$ac_exeext conftest.$ac_ext 26853fi 26854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5 26855$as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; } 26856 if test $gcc_cv_math_inline_builtin_copysign = yes; then 26857 26858cat >>confdefs.h <<_ACEOF 26859#define HAVE_INLINE_BUILTIN_COPYSIGN 1 26860_ACEOF 26861 26862 fi 26863fi 26864 26865 26866if test $gcc_cv_math_func_copysignl = no; then 26867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5 26868$as_echo_n "checking for inline __builtin_copysignl... " >&6; } 26869if ${gcc_cv_math_inline_builtin_copysignl+:} false; then : 26870 $as_echo_n "(cached) " >&6 26871else 26872 if test x$gcc_no_link = xyes; then 26873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26874fi 26875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26876/* end confdefs.h. */ 26877 26878long double 26879copysignl_fallback (long double x, long double y) 26880{ 26881 return __builtin_copysignl (x, y); 26882} 26883 26884int 26885main () 26886{ 26887 return 0; 26888} 26889 26890_ACEOF 26891if ac_fn_c_try_link "$LINENO"; then : 26892 gcc_cv_math_inline_builtin_copysignl=yes 26893else 26894 gcc_cv_math_inline_builtin_copysignl=no 26895fi 26896rm -f core conftest.err conftest.$ac_objext \ 26897 conftest$ac_exeext conftest.$ac_ext 26898fi 26899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5 26900$as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; } 26901 if test $gcc_cv_math_inline_builtin_copysignl = yes; then 26902 26903cat >>confdefs.h <<_ACEOF 26904#define HAVE_INLINE_BUILTIN_COPYSIGNL 1 26905_ACEOF 26906 26907 fi 26908fi 26909 26910 26911if test $gcc_cv_math_func_fabs = no; then 26912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5 26913$as_echo_n "checking for inline __builtin_fabs... " >&6; } 26914if ${gcc_cv_math_inline_builtin_fabs+:} false; then : 26915 $as_echo_n "(cached) " >&6 26916else 26917 if test x$gcc_no_link = xyes; then 26918 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26919fi 26920cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26921/* end confdefs.h. */ 26922 26923double 26924fabs_fallback (double x) 26925{ 26926 return __builtin_fabs (x); 26927} 26928 26929int 26930main () 26931{ 26932 return 0; 26933} 26934 26935_ACEOF 26936if ac_fn_c_try_link "$LINENO"; then : 26937 gcc_cv_math_inline_builtin_fabs=yes 26938else 26939 gcc_cv_math_inline_builtin_fabs=no 26940fi 26941rm -f core conftest.err conftest.$ac_objext \ 26942 conftest$ac_exeext conftest.$ac_ext 26943fi 26944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5 26945$as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; } 26946 if test $gcc_cv_math_inline_builtin_fabs = yes; then 26947 26948cat >>confdefs.h <<_ACEOF 26949#define HAVE_INLINE_BUILTIN_FABS 1 26950_ACEOF 26951 26952 fi 26953fi 26954 26955 26956if test $gcc_cv_math_func_fabsl = no; then 26957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5 26958$as_echo_n "checking for inline __builtin_fabsl... " >&6; } 26959if ${gcc_cv_math_inline_builtin_fabsl+:} false; then : 26960 $as_echo_n "(cached) " >&6 26961else 26962 if test x$gcc_no_link = xyes; then 26963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 26964fi 26965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26966/* end confdefs.h. */ 26967 26968long double 26969fabsl_fallback (long double x) 26970{ 26971 return __builtin_fabsl (x); 26972} 26973 26974int 26975main () 26976{ 26977 return 0; 26978} 26979 26980_ACEOF 26981if ac_fn_c_try_link "$LINENO"; then : 26982 gcc_cv_math_inline_builtin_fabsl=yes 26983else 26984 gcc_cv_math_inline_builtin_fabsl=no 26985fi 26986rm -f core conftest.err conftest.$ac_objext \ 26987 conftest$ac_exeext conftest.$ac_ext 26988fi 26989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5 26990$as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; } 26991 if test $gcc_cv_math_inline_builtin_fabsl = yes; then 26992 26993cat >>confdefs.h <<_ACEOF 26994#define HAVE_INLINE_BUILTIN_FABSL 1 26995_ACEOF 26996 26997 fi 26998fi 26999 27000# Check whether the system has a working stat() 27001 27002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5 27003$as_echo_n "checking whether the target stat is reliable... " >&6; } 27004if ${libgfor_cv_have_working_stat+:} false; then : 27005 $as_echo_n "(cached) " >&6 27006else 27007 27008 if test "$cross_compiling" = yes; then : 27009 27010case "${target}" in 27011 *mingw*) libgfor_cv_have_working_stat=no ;; 27012 *) libgfor_cv_have_working_stat=yes;; 27013esac 27014else 27015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27016/* end confdefs.h. */ 27017 27018#include <stdio.h> 27019#include <sys/types.h> 27020#include <sys/stat.h> 27021#include <unistd.h> 27022 27023int main () 27024{ 27025 FILE *f, *g; 27026 struct stat st1, st2; 27027 27028 f = fopen ("foo", "w"); 27029 g = fopen ("bar", "w"); 27030 if (stat ("foo", &st1) != 0 || stat ("bar", &st2)) 27031 return 1; 27032 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino) 27033 return 1; 27034 fclose(f); 27035 fclose(g); 27036 return 0; 27037} 27038_ACEOF 27039if ac_fn_c_try_run "$LINENO"; then : 27040 libgfor_cv_have_working_stat=yes 27041else 27042 libgfor_cv_have_working_stat=no 27043fi 27044rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 27045 conftest.$ac_objext conftest.beam conftest.$ac_ext 27046fi 27047 27048fi 27049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5 27050$as_echo "$libgfor_cv_have_working_stat" >&6; } 27051if test x"$libgfor_cv_have_working_stat" = xyes; then 27052 27053$as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h 27054 27055fi 27056 27057# Check whether __mingw_snprintf() is present 27058 27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5 27060$as_echo_n "checking whether __mingw_snprintf is present... " >&6; } 27061if ${libgfor_cv_have_mingw_snprintf+:} false; then : 27062 $as_echo_n "(cached) " >&6 27063else 27064 27065 if test x$gcc_no_link = xyes; then 27066 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27067fi 27068cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27069/* end confdefs.h. */ 27070 27071#include <stdio.h> 27072extern int __mingw_snprintf (char *, size_t, const char *, ...); 27073 27074int 27075main () 27076{ 27077 27078__mingw_snprintf (NULL, 0, "%d\n", 1); 27079 27080 ; 27081 return 0; 27082} 27083_ACEOF 27084if ac_fn_c_try_link "$LINENO"; then : 27085 eval "libgfor_cv_have_mingw_snprintf=yes" 27086else 27087 eval "libgfor_cv_have_mingw_snprintf=no" 27088fi 27089rm -f core conftest.err conftest.$ac_objext \ 27090 conftest$ac_exeext conftest.$ac_ext 27091 27092fi 27093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5 27094$as_echo "$libgfor_cv_have_mingw_snprintf" >&6; } 27095 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then 27096 27097$as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h 27098 27099 fi 27100 27101 27102# Check whether libquadmath should be used 27103# Check whether --enable-libquadmath-support was given. 27104if test "${enable_libquadmath_support+set}" = set; then : 27105 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval 27106else 27107 ENABLE_LIBQUADMATH_SUPPORT=yes 27108fi 27109 27110enable_libquadmath_support= 27111if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then 27112 enable_libquadmath_support=no 27113fi 27114 27115# Check whether we have a __float128 type, depends on enable_libquadmath_support 27116 27117 LIBQUADSPEC= 27118 27119 if test "x$enable_libquadmath_support" != xno; then 27120 27121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5 27122$as_echo_n "checking whether we have a usable __float128 type... " >&6; } 27123if ${libgfor_cv_have_float128+:} false; then : 27124 $as_echo_n "(cached) " >&6 27125else 27126 27127 if test x$gcc_no_link = xyes; then 27128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27129/* end confdefs.h. */ 27130 27131 typedef _Complex float __attribute__((mode(TC))) __complex128; 27132 27133 __float128 foo (__float128 x) 27134 { 27135 27136 __complex128 z1, z2; 27137 27138 z1 = x; 27139 z2 = x / 7.Q; 27140 z2 /= z1; 27141 27142 return (__float128) z2; 27143 } 27144 27145 __float128 bar (__float128 x) 27146 { 27147 return x * __builtin_huge_valq (); 27148 } 27149 27150int 27151main () 27152{ 27153 27154 foo (1.2Q); 27155 bar (1.2Q); 27156 27157 ; 27158 return 0; 27159} 27160_ACEOF 27161if ac_fn_c_try_compile "$LINENO"; then : 27162 27163 libgfor_cv_have_float128=yes 27164 27165else 27166 27167 libgfor_cv_have_float128=no 27168 27169fi 27170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27171else 27172 if test x$gcc_no_link = xyes; then 27173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27174fi 27175cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27176/* end confdefs.h. */ 27177 27178 typedef _Complex float __attribute__((mode(TC))) __complex128; 27179 27180 __float128 foo (__float128 x) 27181 { 27182 27183 __complex128 z1, z2; 27184 27185 z1 = x; 27186 z2 = x / 7.Q; 27187 z2 /= z1; 27188 27189 return (__float128) z2; 27190 } 27191 27192 __float128 bar (__float128 x) 27193 { 27194 return x * __builtin_huge_valq (); 27195 } 27196 27197int 27198main () 27199{ 27200 27201 foo (1.2Q); 27202 bar (1.2Q); 27203 27204 ; 27205 return 0; 27206} 27207_ACEOF 27208if ac_fn_c_try_link "$LINENO"; then : 27209 27210 libgfor_cv_have_float128=yes 27211 27212else 27213 27214 libgfor_cv_have_float128=no 27215 27216fi 27217rm -f core conftest.err conftest.$ac_objext \ 27218 conftest$ac_exeext conftest.$ac_ext 27219fi 27220fi 27221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5 27222$as_echo "$libgfor_cv_have_float128" >&6; } 27223 27224 if test "x$libgfor_cv_have_float128" = xyes; then 27225 27226$as_echo "#define HAVE_FLOAT128 1" >>confdefs.h 27227 27228 27229 ac_xsave_c_werror_flag=$ac_c_werror_flag 27230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5 27231$as_echo_n "checking whether --as-needed/-z ignore works... " >&6; } 27232if ${libgfor_cv_have_as_needed+:} false; then : 27233 $as_echo_n "(cached) " >&6 27234else 27235 27236 # Test for native Solaris options first. 27237 # No whitespace after -z to pass it through -Wl. 27238 libgfor_cv_as_needed_option="-zignore" 27239 libgfor_cv_no_as_needed_option="-zrecord" 27240 save_LDFLAGS="$LDFLAGS" 27241 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option" 27242 libgfor_cv_have_as_needed=no 27243 27244ac_c_werror_flag=yes 27245 if test x$gcc_no_link = xyes; then 27246 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27247fi 27248cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27249/* end confdefs.h. */ 27250 27251int 27252main () 27253{ 27254 27255 ; 27256 return 0; 27257} 27258_ACEOF 27259if ac_fn_c_try_link "$LINENO"; then : 27260 libgfor_cv_have_as_needed=yes 27261else 27262 libgfor_cv_have_as_needed=no 27263fi 27264rm -f core conftest.err conftest.$ac_objext \ 27265 conftest$ac_exeext conftest.$ac_ext 27266 LDFLAGS="$save_LDFLAGS" 27267 if test "x$libgfor_cv_have_as_needed" = xno; then 27268 libgfor_cv_as_needed_option="--as-needed" 27269 libgfor_cv_no_as_needed_option="--no-as-needed" 27270 save_LDFLAGS="$LDFLAGS" 27271 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option" 27272 libgfor_cv_have_as_needed=no 27273 27274ac_c_werror_flag=yes 27275 if test x$gcc_no_link = xyes; then 27276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27277fi 27278cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27279/* end confdefs.h. */ 27280 27281int 27282main () 27283{ 27284 27285 ; 27286 return 0; 27287} 27288_ACEOF 27289if ac_fn_c_try_link "$LINENO"; then : 27290 libgfor_cv_have_as_needed=yes 27291else 27292 libgfor_cv_have_as_needed=no 27293fi 27294rm -f core conftest.err conftest.$ac_objext \ 27295 conftest$ac_exeext conftest.$ac_ext 27296 LDFLAGS="$save_LDFLAGS" 27297 fi 27298 ac_c_werror_flag=$ac_xsave_c_werror_flag 27299 27300fi 27301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5 27302$as_echo "$libgfor_cv_have_as_needed" >&6; } 27303 27304 if test "x$libgfor_cv_have_as_needed" = xyes; then 27305 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}" 27306 else 27307 LIBQUADSPEC="-lquadmath" 27308 fi 27309 if test -f ../libquadmath/libquadmath.la; then 27310 LIBQUADLIB=../libquadmath/libquadmath.la 27311 LIBQUADLIB_DEP=../libquadmath/libquadmath.la 27312 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath' 27313 else 27314 LIBQUADLIB="-lquadmath" 27315 LIBQUADLIB_DEP= 27316 LIBQUADINCLUDE= 27317 fi 27318 fi 27319 else 27320 # for --disable-quadmath 27321 LIBQUADLIB= 27322 LIBQUADLIB_DEP= 27323 LIBQUADINCLUDE= 27324 fi 27325 27326 27327 27328 27329 27330 27331 if test "x$libgfor_cv_have_float128" = xyes; then 27332 LIBGFOR_BUILD_QUAD_TRUE= 27333 LIBGFOR_BUILD_QUAD_FALSE='#' 27334else 27335 LIBGFOR_BUILD_QUAD_TRUE='#' 27336 LIBGFOR_BUILD_QUAD_FALSE= 27337fi 27338 27339 27340 27341# Check for GNU libc feenableexcept 27342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5 27343$as_echo_n "checking for feenableexcept in -lm... " >&6; } 27344if ${ac_cv_lib_m_feenableexcept+:} false; then : 27345 $as_echo_n "(cached) " >&6 27346else 27347 ac_check_lib_save_LIBS=$LIBS 27348LIBS="-lm $LIBS" 27349if test x$gcc_no_link = xyes; then 27350 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27351fi 27352cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27353/* end confdefs.h. */ 27354 27355/* Override any GCC internal prototype to avoid an error. 27356 Use char because int might match the return type of a GCC 27357 builtin and then its argument prototype would still apply. */ 27358#ifdef __cplusplus 27359extern "C" 27360#endif 27361char feenableexcept (); 27362int 27363main () 27364{ 27365return feenableexcept (); 27366 ; 27367 return 0; 27368} 27369_ACEOF 27370if ac_fn_c_try_link "$LINENO"; then : 27371 ac_cv_lib_m_feenableexcept=yes 27372else 27373 ac_cv_lib_m_feenableexcept=no 27374fi 27375rm -f core conftest.err conftest.$ac_objext \ 27376 conftest$ac_exeext conftest.$ac_ext 27377LIBS=$ac_check_lib_save_LIBS 27378fi 27379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5 27380$as_echo "$ac_cv_lib_m_feenableexcept" >&6; } 27381if test "x$ac_cv_lib_m_feenableexcept" = xyes; then : 27382 have_feenableexcept=yes 27383$as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h 27384 27385fi 27386 27387 27388# At least for glibc, clock_gettime is in librt. But don't 27389# pull that in if it still doesn't give us the function we want. This 27390# test is copied from libgomp, and modified to not link in -lrt as 27391# libgfortran calls clock_gettime via a weak reference if it's found 27392# in librt. 27393if test "$ac_cv_func_clock_gettime" = no; then 27394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 27395$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 27396if ${ac_cv_lib_rt_clock_gettime+:} false; then : 27397 $as_echo_n "(cached) " >&6 27398else 27399 ac_check_lib_save_LIBS=$LIBS 27400LIBS="-lrt $LIBS" 27401if test x$gcc_no_link = xyes; then 27402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27403fi 27404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27405/* end confdefs.h. */ 27406 27407/* Override any GCC internal prototype to avoid an error. 27408 Use char because int might match the return type of a GCC 27409 builtin and then its argument prototype would still apply. */ 27410#ifdef __cplusplus 27411extern "C" 27412#endif 27413char clock_gettime (); 27414int 27415main () 27416{ 27417return clock_gettime (); 27418 ; 27419 return 0; 27420} 27421_ACEOF 27422if ac_fn_c_try_link "$LINENO"; then : 27423 ac_cv_lib_rt_clock_gettime=yes 27424else 27425 ac_cv_lib_rt_clock_gettime=no 27426fi 27427rm -f core conftest.err conftest.$ac_objext \ 27428 conftest$ac_exeext conftest.$ac_ext 27429LIBS=$ac_check_lib_save_LIBS 27430fi 27431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 27432$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 27433if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : 27434 27435$as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h 27436 27437fi 27438 27439fi 27440 27441# Check for SysV fpsetmask 27442 27443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5 27444$as_echo_n "checking whether fpsetmask is present... " >&6; } 27445if ${libgfor_cv_have_fpsetmask+:} false; then : 27446 $as_echo_n "(cached) " >&6 27447else 27448 27449 if test x$gcc_no_link = xyes; then 27450 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27451fi 27452cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27453/* end confdefs.h. */ 27454 27455#if HAVE_FLOATINGPOINT_H 27456# include <floatingpoint.h> 27457#endif /* HAVE_FLOATINGPOINT_H */ 27458#if HAVE_IEEEFP_H 27459# include <ieeefp.h> 27460#endif /* HAVE_IEEEFP_H */ 27461int 27462main () 27463{ 27464fpsetmask(0); 27465 ; 27466 return 0; 27467} 27468_ACEOF 27469if ac_fn_c_try_link "$LINENO"; then : 27470 eval "libgfor_cv_have_fpsetmask=yes" 27471else 27472 eval "libgfor_cv_have_fpsetmask=no" 27473fi 27474rm -f core conftest.err conftest.$ac_objext \ 27475 conftest$ac_exeext conftest.$ac_ext 27476 27477fi 27478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5 27479$as_echo "$libgfor_cv_have_fpsetmask" >&6; } 27480 if test x"$libgfor_cv_have_fpsetmask" = xyes; then 27481 have_fpsetmask=yes 27482 27483$as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h 27484 27485 fi 27486 27487ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" " 27488#ifdef HAVE_IEEEFP_H 27489#include <ieeefp.h> 27490#endif 27491#include <math.h> 27492 27493" 27494if test "x$ac_cv_type_fp_except" = xyes; then : 27495 27496cat >>confdefs.h <<_ACEOF 27497#define HAVE_FP_EXCEPT 1 27498_ACEOF 27499 27500 27501fi 27502ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" " 27503#ifdef HAVE_IEEEFP_H 27504#include <ieeefp.h> 27505#endif 27506#include <math.h> 27507 27508" 27509if test "x$ac_cv_type_fp_except_t" = xyes; then : 27510 27511cat >>confdefs.h <<_ACEOF 27512#define HAVE_FP_EXCEPT_T 1 27513_ACEOF 27514 27515 27516fi 27517 27518ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" " 27519#ifdef HAVE_IEEEFP_H 27520#include <ieeefp.h> 27521#endif 27522#include <math.h> 27523 27524" 27525if test "x$ac_cv_type_fp_rnd" = xyes; then : 27526 27527cat >>confdefs.h <<_ACEOF 27528#define HAVE_FP_RND 1 27529_ACEOF 27530 27531 27532fi 27533ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" " 27534#ifdef HAVE_IEEEFP_H 27535#include <ieeefp.h> 27536#endif 27537#include <math.h> 27538 27539" 27540if test "x$ac_cv_type_fp_rnd_t" = xyes; then : 27541 27542cat >>confdefs.h <<_ACEOF 27543#define HAVE_FP_RND_T 1 27544_ACEOF 27545 27546 27547fi 27548 27549 27550# Check whether we have fpsetsticky or fpresetsticky 27551ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky" 27552if test "x$ac_cv_func_fpsetsticky" = xyes; then : 27553 have_fpsetsticky=yes 27554$as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h 27555 27556fi 27557 27558ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky" 27559if test "x$ac_cv_func_fpresetsticky" = xyes; then : 27560 have_fpresetsticky=yes 27561$as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h 27562 27563fi 27564 27565 27566# Check for AIX fp_trap and fp_enable 27567ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap" 27568if test "x$ac_cv_func_fp_trap" = xyes; then : 27569 have_fp_trap=yes 27570$as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h 27571 27572fi 27573 27574ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable" 27575if test "x$ac_cv_func_fp_enable" = xyes; then : 27576 have_fp_enable=yes 27577$as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h 27578 27579fi 27580 27581 27582# Check if _SOFT_FLOAT is defined 27583 27584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5 27585$as_echo_n "checking for _SOFT_FLOAT defined... " >&6; } 27586if ${ac_cv_defined__SOFT_FLOAT+:} false; then : 27587 $as_echo_n "(cached) " >&6 27588else 27589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27590/* end confdefs.h. */ 27591 27592int 27593main () 27594{ 27595 27596 #ifdef _SOFT_FLOAT 27597 int ok; 27598 #else 27599 choke me 27600 #endif 27601 27602 ; 27603 return 0; 27604} 27605_ACEOF 27606if ac_fn_c_try_compile "$LINENO"; then : 27607 ac_cv_defined__SOFT_FLOAT=yes 27608else 27609 ac_cv_defined__SOFT_FLOAT=no 27610fi 27611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27612fi 27613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5 27614$as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; } 27615if test $ac_cv_defined__SOFT_FLOAT != "no"; then : 27616 have_soft_float=yes 27617fi 27618 27619# Runs configure.host to set up necessary host-dependent shell variables. 27620# We then display a message about it, and propagate them through the 27621# build chain. 27622. ${srcdir}/configure.host 27623{ $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5 27624$as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;} 27625{ $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5 27626$as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;} 27627FPU_HOST_HEADER=config/${fpu_host}.h 27628 27629 27630# Whether we will build the IEEE modules 27631 if test x${ieee_support} = xyes; then 27632 IEEE_SUPPORT_TRUE= 27633 IEEE_SUPPORT_FALSE='#' 27634else 27635 IEEE_SUPPORT_TRUE='#' 27636 IEEE_SUPPORT_FALSE= 27637fi 27638 27639 27640 27641# Some targets require additional compiler options for IEEE compatibility. 27642IEEE_FLAGS="${ieee_flags}" 27643 27644 27645# Conditionalize the makefile for this target machine. 27646tmake_file_= 27647for f in ${tmake_file} 27648do 27649 if test -f ${srcdir}/config/$f 27650 then 27651 tmake_file_="${tmake_file_} \$(srcdir)/config/$f" 27652 fi 27653done 27654tmake_file="${tmake_file_}" 27655 27656 27657 27658# Check for POSIX getpwuid_r 27659# 27660# There are two versions of getpwuid_r, the POSIX one with 5 27661# arguments, and another one with 4 arguments used by at least HP-UX 27662# 10.2. 27663if test "$ac_cv_func_getpwuid_r" = "yes"; then 27664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5 27665$as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; } 27666if ${libgfor_cv_posix_getpwuid_r+:} false; then : 27667 $as_echo_n "(cached) " >&6 27668else 27669 27670 if test x$gcc_no_link = xyes; then 27671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27672fi 27673cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27674/* end confdefs.h. */ 27675 27676#include <stdio.h> 27677#include <sys/types.h> 27678#include <pwd.h> 27679int 27680main () 27681{ 27682 27683 getpwuid_r(0, NULL, NULL, 0, NULL); 27684 27685 ; 27686 return 0; 27687} 27688_ACEOF 27689if ac_fn_c_try_link "$LINENO"; then : 27690 libgfor_cv_posix_getpwuid_r="yes" 27691else 27692 libgfor_cv_posix_getpwuid_r="no" 27693fi 27694rm -f core conftest.err conftest.$ac_objext \ 27695 conftest$ac_exeext conftest.$ac_ext 27696fi 27697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5 27698$as_echo "$libgfor_cv_posix_getpwuid_r" >&6; } 27699fi 27700if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then 27701 27702$as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h 27703 27704fi 27705 27706 27707# Check out attribute support. 27708 27709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5 27710$as_echo_n "checking whether the target supports hidden visibility... " >&6; } 27711if ${libgfor_cv_have_attribute_visibility+:} false; then : 27712 $as_echo_n "(cached) " >&6 27713else 27714 27715 save_CFLAGS="$CFLAGS" 27716 CFLAGS="$CFLAGS -Werror" 27717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27718/* end confdefs.h. */ 27719void __attribute__((visibility("hidden"))) foo(void) { } 27720int 27721main () 27722{ 27723 27724 ; 27725 return 0; 27726} 27727_ACEOF 27728if ac_fn_c_try_compile "$LINENO"; then : 27729 libgfor_cv_have_attribute_visibility=yes 27730else 27731 libgfor_cv_have_attribute_visibility=no 27732fi 27733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27734 CFLAGS="$save_CFLAGS" 27735fi 27736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5 27737$as_echo "$libgfor_cv_have_attribute_visibility" >&6; } 27738 if test $libgfor_cv_have_attribute_visibility = yes; then 27739 27740$as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h 27741 27742 fi 27743 27744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5 27745$as_echo_n "checking whether the target supports symbol aliases... " >&6; } 27746if ${libgfor_cv_have_attribute_alias+:} false; then : 27747 $as_echo_n "(cached) " >&6 27748else 27749 27750 if test x$gcc_no_link = xyes; then 27751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27752fi 27753cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27754/* end confdefs.h. */ 27755 27756void foo(void) { } 27757extern void bar(void) __attribute__((alias("foo"))); 27758int 27759main () 27760{ 27761bar(); 27762 ; 27763 return 0; 27764} 27765_ACEOF 27766if ac_fn_c_try_link "$LINENO"; then : 27767 libgfor_cv_have_attribute_alias=yes 27768else 27769 libgfor_cv_have_attribute_alias=no 27770fi 27771rm -f core conftest.err conftest.$ac_objext \ 27772 conftest$ac_exeext conftest.$ac_ext 27773fi 27774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5 27775$as_echo "$libgfor_cv_have_attribute_alias" >&6; } 27776 if test $libgfor_cv_have_attribute_alias = yes; then 27777 27778$as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h 27779 27780 fi 27781 27782# Check out atomic builtins support. 27783 27784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5 27785$as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; } 27786if ${libgfor_cv_have_atomic_fetch_add+:} false; then : 27787 $as_echo_n "(cached) " >&6 27788else 27789 27790 if test x$gcc_no_link = xyes; then 27791 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27792fi 27793cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27794/* end confdefs.h. */ 27795int foovar = 0; 27796int 27797main () 27798{ 27799 27800if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL); 27801if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL); 27802 ; 27803 return 0; 27804} 27805_ACEOF 27806if ac_fn_c_try_link "$LINENO"; then : 27807 libgfor_cv_have_atomic_fetch_add=yes 27808else 27809 libgfor_cv_have_atomic_fetch_add=no 27810fi 27811rm -f core conftest.err conftest.$ac_objext \ 27812 conftest$ac_exeext conftest.$ac_ext 27813fi 27814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5 27815$as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; } 27816 if test $libgfor_cv_have_atomic_fetch_add = yes; then 27817 27818$as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h 27819 27820 fi 27821 27822# Check out #pragma weak. 27823 27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5 27825$as_echo_n "checking whether pragma weak works... " >&6; } 27826if ${libgfor_cv_have_pragma_weak+:} false; then : 27827 $as_echo_n "(cached) " >&6 27828else 27829 27830 gfor_save_CFLAGS="$CFLAGS" 27831 CFLAGS="$CFLAGS -Wunknown-pragmas" 27832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27833/* end confdefs.h. */ 27834 27835void foo (void); 27836#pragma weak foo 27837 27838int 27839main () 27840{ 27841if (foo) foo (); 27842 ; 27843 return 0; 27844} 27845_ACEOF 27846if ac_fn_c_try_compile "$LINENO"; then : 27847 libgfor_cv_have_pragma_weak=yes 27848else 27849 libgfor_cv_have_pragma_weak=no 27850fi 27851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27852fi 27853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5 27854$as_echo "$libgfor_cv_have_pragma_weak" >&6; } 27855 if test $libgfor_cv_have_pragma_weak = yes; then 27856 27857$as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h 27858 27859 fi 27860 case "$host" in 27861 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* ) 27862 27863$as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h 27864 27865 ;; 27866 esac 27867 27868# Check out weakref support. 27869 27870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5 27871$as_echo_n "checking whether the target supports weakref... " >&6; } 27872if ${libgfor_cv_have_weakref+:} false; then : 27873 $as_echo_n "(cached) " >&6 27874else 27875 27876 save_CFLAGS="$CFLAGS" 27877 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror" 27878 if test x$gcc_no_link = xyes; then 27879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 27880fi 27881cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27882/* end confdefs.h. */ 27883 27884static int mytoto (int) __attribute__((__weakref__("toto"))); 27885 27886int 27887main () 27888{ 27889return (mytoto != 0); 27890 ; 27891 return 0; 27892} 27893_ACEOF 27894if ac_fn_c_try_link "$LINENO"; then : 27895 libgfor_cv_have_weakref=yes 27896else 27897 libgfor_cv_have_weakref=no 27898fi 27899rm -f core conftest.err conftest.$ac_objext \ 27900 conftest$ac_exeext conftest.$ac_ext 27901 CFLAGS="$save_CFLAGS" 27902fi 27903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5 27904$as_echo "$libgfor_cv_have_weakref" >&6; } 27905 if test $libgfor_cv_have_weakref = yes; then 27906 27907$as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h 27908 27909 fi 27910 27911# Various other checks on target 27912 27913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5 27914$as_echo_n "checking whether the target can unlink an open file... " >&6; } 27915if ${libgfor_cv_have_unlink_open_file+:} false; then : 27916 $as_echo_n "(cached) " >&6 27917else 27918 27919 if test "$cross_compiling" = yes; then : 27920 27921case "${target}" in 27922 *mingw*) libgfor_cv_have_unlink_open_file=no ;; 27923 *) libgfor_cv_have_unlink_open_file=yes;; 27924esac 27925else 27926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27927/* end confdefs.h. */ 27928 27929#include <errno.h> 27930#include <fcntl.h> 27931#include <unistd.h> 27932#include <sys/stat.h> 27933 27934int main () 27935{ 27936 int fd; 27937 27938 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR); 27939 if (fd <= 0) 27940 return 0; 27941 if (unlink ("testfile") == -1) 27942 return 1; 27943 write (fd, "This is a test\n", 15); 27944 close (fd); 27945 27946 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT) 27947 return 0; 27948 else 27949 return 1; 27950} 27951_ACEOF 27952if ac_fn_c_try_run "$LINENO"; then : 27953 libgfor_cv_have_unlink_open_file=yes 27954else 27955 libgfor_cv_have_unlink_open_file=no 27956fi 27957rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 27958 conftest.$ac_objext conftest.beam conftest.$ac_ext 27959fi 27960 27961fi 27962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5 27963$as_echo "$libgfor_cv_have_unlink_open_file" >&6; } 27964if test x"$libgfor_cv_have_unlink_open_file" = xyes; then 27965 27966$as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h 27967 27968fi 27969 27970# Check whether line terminator is LF or CRLF 27971 27972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5 27973$as_echo_n "checking whether the target has CRLF as line terminator... " >&6; } 27974if ${libgfor_cv_have_crlf+:} false; then : 27975 $as_echo_n "(cached) " >&6 27976else 27977 27978 if test "$cross_compiling" = yes; then : 27979 27980case "${target}" in 27981 *mingw*) libgfor_cv_have_crlf=yes ;; 27982 *) libgfor_cv_have_crlf=no;; 27983esac 27984else 27985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27986/* end confdefs.h. */ 27987 27988/* This test program should exit with status 0 if system uses a CRLF as 27989 line terminator, and status 1 otherwise. 27990 Since it is used to check for mingw systems, and should return 0 in any 27991 other case, in case of a failure we will not use CRLF. */ 27992#include <sys/stat.h> 27993#include <stdlib.h> 27994#include <fcntl.h> 27995#include <stdio.h> 27996 27997int main () 27998{ 27999#ifndef O_BINARY 28000 exit(1); 28001#else 28002 int fd, bytes; 28003 char buff[5]; 28004 28005 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU); 28006 if (fd < 0) 28007 exit(1); 28008 if (write (fd, "\n", 1) < 0) 28009 perror ("write"); 28010 28011 close (fd); 28012 28013 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0) 28014 exit(1); 28015 bytes = read (fd, buff, 5); 28016 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n') 28017 exit(0); 28018 else 28019 exit(1); 28020#endif 28021} 28022_ACEOF 28023if ac_fn_c_try_run "$LINENO"; then : 28024 libgfor_cv_have_crlf=yes 28025else 28026 libgfor_cv_have_crlf=no 28027fi 28028rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 28029 conftest.$ac_objext conftest.beam conftest.$ac_ext 28030fi 28031 28032fi 28033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5 28034$as_echo "$libgfor_cv_have_crlf" >&6; } 28035if test x"$libgfor_cv_have_crlf" = xyes; then 28036 28037$as_echo "#define HAVE_CRLF 1" >>confdefs.h 28038 28039fi 28040 28041# Check whether we support AVX extensions 28042 28043 ac_save_CFLAGS="$CFLAGS" 28044 CFLAGS="-O2 -mavx" 28045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28046/* end confdefs.h. */ 28047 28048 void _mm256_zeroall (void) 28049 { 28050 __builtin_ia32_vzeroall (); 28051 } 28052int 28053main () 28054{ 28055 28056 ; 28057 return 0; 28058} 28059_ACEOF 28060if ac_fn_c_try_compile "$LINENO"; then : 28061 28062$as_echo "#define HAVE_AVX 1" >>confdefs.h 28063 28064fi 28065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28066 CFLAGS="$ac_save_CFLAGS" 28067 28068 28069# Check whether we support AVX2 extensions 28070 28071 ac_save_CFLAGS="$CFLAGS" 28072 CFLAGS="-O2 -mavx2" 28073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28074/* end confdefs.h. */ 28075 28076 typedef long long __v4di __attribute__ ((__vector_size__ (32))); 28077 __v4di 28078 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y) 28079 { 28080 return __builtin_ia32_andnotsi256 (__X, __Y); 28081 } 28082int 28083main () 28084{ 28085 28086 ; 28087 return 0; 28088} 28089_ACEOF 28090if ac_fn_c_try_compile "$LINENO"; then : 28091 28092$as_echo "#define HAVE_AVX2 1" >>confdefs.h 28093 28094fi 28095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28096 CFLAGS="$ac_save_CFLAGS" 28097 28098 28099# Check whether we support AVX512f extensions 28100 28101 ac_save_CFLAGS="$CFLAGS" 28102 CFLAGS="-O2 -mavx512f" 28103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28104/* end confdefs.h. */ 28105 28106 typedef double __m512d __attribute__ ((__vector_size__ (64))); 28107 __m512d _mm512_add (__m512d a) 28108 { 28109 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4); 28110 /* For -m64/-mx32 also verify that code will work even if 28111 the target uses call saved zmm16+ and needs to emit 28112 unwind info for them (e.g. on mingw). See PR79127. */ 28113#ifdef __x86_64__ 28114 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19"); 28115#endif 28116 return b; 28117 } 28118int 28119main () 28120{ 28121 28122 ; 28123 return 0; 28124} 28125_ACEOF 28126if ac_fn_c_try_compile "$LINENO"; then : 28127 28128$as_echo "#define HAVE_AVX512F 1" >>confdefs.h 28129 28130fi 28131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28132 CFLAGS="$ac_save_CFLAGS" 28133 28134 28135# Check for FMA3 extensions 28136 28137 ac_save_CFLAGS="$CFLAGS" 28138 CFLAGS="-O2 -mfma -mno-fma4" 28139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28140/* end confdefs.h. */ 28141 28142 typedef float __m128 __attribute__ ((__vector_size__ (16))); 28143 typedef float __v4sf __attribute__ ((__vector_size__ (16))); 28144 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C) 28145 { 28146 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A, 28147 (__v4sf)__B, 28148 (__v4sf)__C); 28149 } 28150int 28151main () 28152{ 28153 28154 ; 28155 return 0; 28156} 28157_ACEOF 28158if ac_fn_c_try_compile "$LINENO"; then : 28159 28160$as_echo "#define HAVE_FMA3 1" >>confdefs.h 28161 28162fi 28163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28164 CFLAGS="$ac_save_CFLAGS" 28165 28166 28167# Check for FMA4 extensions 28168 28169 ac_save_CFLAGS="$CFLAGS" 28170 CFLAGS="-O2 -mfma4 -mno-fma" 28171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28172/* end confdefs.h. */ 28173 28174 typedef float __m128 __attribute__ ((__vector_size__ (16))); 28175 typedef float __v4sf __attribute__ ((__vector_size__ (16))); 28176 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C) 28177 { 28178 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A, 28179 (__v4sf)__B, 28180 (__v4sf)__C); 28181 } 28182int 28183main () 28184{ 28185 28186 ; 28187 return 0; 28188} 28189_ACEOF 28190if ac_fn_c_try_compile "$LINENO"; then : 28191 28192$as_echo "#define HAVE_FMA4 1" >>confdefs.h 28193 28194fi 28195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28196 CFLAGS="$ac_save_CFLAGS" 28197 28198 28199# Check if AVX128 works 28200 28201 ac_save_CFLAGS="$CFLAGS" 28202 CFLAGS="-O2 -mavx -mprefer-avx128" 28203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28204/* end confdefs.h. */ 28205 28206 void foo() 28207 { 28208 } 28209int 28210main () 28211{ 28212 28213 ; 28214 return 0; 28215} 28216_ACEOF 28217if ac_fn_c_try_compile "$LINENO"; then : 28218 28219$as_echo "#define HAVE_AVX128 1" >>confdefs.h 28220 28221 if true; then 28222 HAVE_AVX128_TRUE= 28223 HAVE_AVX128_FALSE='#' 28224else 28225 HAVE_AVX128_TRUE='#' 28226 HAVE_AVX128_FALSE= 28227fi 28228 28229else 28230 if false; then 28231 HAVE_AVX128_TRUE= 28232 HAVE_AVX128_FALSE='#' 28233else 28234 HAVE_AVX128_TRUE='#' 28235 HAVE_AVX128_FALSE= 28236fi 28237 28238fi 28239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28240 CFLAGS="$ac_save_CFLAGS" 28241 28242 28243# Determine what GCC version number to use in filesystem paths. 28244 28245 get_gcc_base_ver="cat" 28246 28247# Check whether --with-gcc-major-version-only was given. 28248if test "${with_gcc_major_version_only+set}" = set; then : 28249 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then 28250 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'" 28251 fi 28252 28253fi 28254 28255 28256 28257 28258cat >confcache <<\_ACEOF 28259# This file is a shell script that caches the results of configure 28260# tests run on this system so they can be shared between configure 28261# scripts and configure runs, see configure's option --config-cache. 28262# It is not useful on other systems. If it contains results you don't 28263# want to keep, you may remove or edit it. 28264# 28265# config.status only pays attention to the cache file if you give it 28266# the --recheck option to rerun configure. 28267# 28268# `ac_cv_env_foo' variables (set or unset) will be overridden when 28269# loading this file, other *unset* `ac_cv_foo' will be assigned the 28270# following values. 28271 28272_ACEOF 28273 28274# The following way of writing the cache mishandles newlines in values, 28275# but we know of no workaround that is simple, portable, and efficient. 28276# So, we kill variables containing newlines. 28277# Ultrix sh set writes to stderr and can't be redirected directly, 28278# and sets the high bit in the cache file unless we assign to the vars. 28279( 28280 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 28281 eval ac_val=\$$ac_var 28282 case $ac_val in #( 28283 *${as_nl}*) 28284 case $ac_var in #( 28285 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 28286$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 28287 esac 28288 case $ac_var in #( 28289 _ | IFS | as_nl) ;; #( 28290 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 28291 *) { eval $ac_var=; unset $ac_var;} ;; 28292 esac ;; 28293 esac 28294 done 28295 28296 (set) 2>&1 | 28297 case $as_nl`(ac_space=' '; set) 2>&1` in #( 28298 *${as_nl}ac_space=\ *) 28299 # `set' does not quote correctly, so add quotes: double-quote 28300 # substitution turns \\\\ into \\, and sed turns \\ into \. 28301 sed -n \ 28302 "s/'/'\\\\''/g; 28303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 28304 ;; #( 28305 *) 28306 # `set' quotes correctly as required by POSIX, so do not add quotes. 28307 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 28308 ;; 28309 esac | 28310 sort 28311) | 28312 sed ' 28313 /^ac_cv_env_/b end 28314 t clear 28315 :clear 28316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 28317 t end 28318 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 28319 :end' >>confcache 28320if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 28321 if test -w "$cache_file"; then 28322 if test "x$cache_file" != "x/dev/null"; then 28323 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 28324$as_echo "$as_me: updating cache $cache_file" >&6;} 28325 if test ! -f "$cache_file" || test -h "$cache_file"; then 28326 cat confcache >"$cache_file" 28327 else 28328 case $cache_file in #( 28329 */* | ?:*) 28330 mv -f confcache "$cache_file"$$ && 28331 mv -f "$cache_file"$$ "$cache_file" ;; #( 28332 *) 28333 mv -f confcache "$cache_file" ;; 28334 esac 28335 fi 28336 fi 28337 else 28338 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 28339$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 28340 fi 28341fi 28342rm -f confcache 28343 28344if test ${multilib} = yes; then 28345 multilib_arg="--enable-multilib" 28346else 28347 multilib_arg= 28348fi 28349 28350# Write our Makefile and spec file. 28351ac_config_files="$ac_config_files Makefile libgfortran.spec" 28352 28353cat >confcache <<\_ACEOF 28354# This file is a shell script that caches the results of configure 28355# tests run on this system so they can be shared between configure 28356# scripts and configure runs, see configure's option --config-cache. 28357# It is not useful on other systems. If it contains results you don't 28358# want to keep, you may remove or edit it. 28359# 28360# config.status only pays attention to the cache file if you give it 28361# the --recheck option to rerun configure. 28362# 28363# `ac_cv_env_foo' variables (set or unset) will be overridden when 28364# loading this file, other *unset* `ac_cv_foo' will be assigned the 28365# following values. 28366 28367_ACEOF 28368 28369# The following way of writing the cache mishandles newlines in values, 28370# but we know of no workaround that is simple, portable, and efficient. 28371# So, we kill variables containing newlines. 28372# Ultrix sh set writes to stderr and can't be redirected directly, 28373# and sets the high bit in the cache file unless we assign to the vars. 28374( 28375 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 28376 eval ac_val=\$$ac_var 28377 case $ac_val in #( 28378 *${as_nl}*) 28379 case $ac_var in #( 28380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 28381$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 28382 esac 28383 case $ac_var in #( 28384 _ | IFS | as_nl) ;; #( 28385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 28386 *) { eval $ac_var=; unset $ac_var;} ;; 28387 esac ;; 28388 esac 28389 done 28390 28391 (set) 2>&1 | 28392 case $as_nl`(ac_space=' '; set) 2>&1` in #( 28393 *${as_nl}ac_space=\ *) 28394 # `set' does not quote correctly, so add quotes: double-quote 28395 # substitution turns \\\\ into \\, and sed turns \\ into \. 28396 sed -n \ 28397 "s/'/'\\\\''/g; 28398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 28399 ;; #( 28400 *) 28401 # `set' quotes correctly as required by POSIX, so do not add quotes. 28402 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 28403 ;; 28404 esac | 28405 sort 28406) | 28407 sed ' 28408 /^ac_cv_env_/b end 28409 t clear 28410 :clear 28411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 28412 t end 28413 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 28414 :end' >>confcache 28415if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 28416 if test -w "$cache_file"; then 28417 if test "x$cache_file" != "x/dev/null"; then 28418 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 28419$as_echo "$as_me: updating cache $cache_file" >&6;} 28420 if test ! -f "$cache_file" || test -h "$cache_file"; then 28421 cat confcache >"$cache_file" 28422 else 28423 case $cache_file in #( 28424 */* | ?:*) 28425 mv -f confcache "$cache_file"$$ && 28426 mv -f "$cache_file"$$ "$cache_file" ;; #( 28427 *) 28428 mv -f confcache "$cache_file" ;; 28429 esac 28430 fi 28431 fi 28432 else 28433 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 28434$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 28435 fi 28436fi 28437rm -f confcache 28438 28439test "x$prefix" = xNONE && prefix=$ac_default_prefix 28440# Let make expand exec_prefix. 28441test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 28442 28443DEFS=-DHAVE_CONFIG_H 28444 28445ac_libobjs= 28446ac_ltlibobjs= 28447U= 28448for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 28449 # 1. Remove the extension, and $U if already installed. 28450 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 28451 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 28452 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 28453 # will be set to the directory where LIBOBJS objects are built. 28454 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 28455 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 28456done 28457LIBOBJS=$ac_libobjs 28458 28459LTLIBOBJS=$ac_ltlibobjs 28460 28461 28462if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then 28463 as_fn_error $? "conditional \"onestep\" was never defined. 28464Usually this means the macro was only invoked conditionally." "$LINENO" 5 28465fi 28466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 28467$as_echo_n "checking that generated files are newer than configure... " >&6; } 28468 if test -n "$am_sleep_pid"; then 28469 # Hide warnings about reused PIDs. 28470 wait $am_sleep_pid 2>/dev/null 28471 fi 28472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 28473$as_echo "done" >&6; } 28474 if test -n "$EXEEXT"; then 28475 am__EXEEXT_TRUE= 28476 am__EXEEXT_FALSE='#' 28477else 28478 am__EXEEXT_TRUE='#' 28479 am__EXEEXT_FALSE= 28480fi 28481 28482if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 28483 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 28484Usually this means the macro was only invoked conditionally." "$LINENO" 5 28485fi 28486if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 28487 as_fn_error $? "conditional \"AMDEP\" was never defined. 28488Usually this means the macro was only invoked conditionally." "$LINENO" 5 28489fi 28490if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 28491 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 28492Usually this means the macro was only invoked conditionally." "$LINENO" 5 28493fi 28494if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 28495 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 28496Usually this means the macro was only invoked conditionally." "$LINENO" 5 28497fi 28498if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then 28499 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined. 28500Usually this means the macro was only invoked conditionally." "$LINENO" 5 28501fi 28502if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then 28503 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined. 28504Usually this means the macro was only invoked conditionally." "$LINENO" 5 28505fi 28506if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then 28507 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined. 28508Usually this means the macro was only invoked conditionally." "$LINENO" 5 28509fi 28510if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then 28511 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined. 28512Usually this means the macro was only invoked conditionally." "$LINENO" 5 28513fi 28514if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then 28515 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined. 28516Usually this means the macro was only invoked conditionally." "$LINENO" 5 28517fi 28518if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then 28519 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined. 28520Usually this means the macro was only invoked conditionally." "$LINENO" 5 28521fi 28522if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then 28523 as_fn_error $? "conditional \"LIBGFOR_BUILD_QUAD\" was never defined. 28524Usually this means the macro was only invoked conditionally." "$LINENO" 5 28525fi 28526if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then 28527 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined. 28528Usually this means the macro was only invoked conditionally." "$LINENO" 5 28529fi 28530if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then 28531 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined. 28532Usually this means the macro was only invoked conditionally." "$LINENO" 5 28533fi 28534if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then 28535 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined. 28536Usually this means the macro was only invoked conditionally." "$LINENO" 5 28537fi 28538 28539: "${CONFIG_STATUS=./config.status}" 28540ac_write_fail=0 28541ac_clean_files_save=$ac_clean_files 28542ac_clean_files="$ac_clean_files $CONFIG_STATUS" 28543{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 28544$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 28545as_write_fail=0 28546cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 28547#! $SHELL 28548# Generated by $as_me. 28549# Run this file to recreate the current configuration. 28550# Compiler output produced by configure, useful for debugging 28551# configure, is in config.log if it exists. 28552 28553debug=false 28554ac_cs_recheck=false 28555ac_cs_silent=false 28556 28557SHELL=\${CONFIG_SHELL-$SHELL} 28558export SHELL 28559_ASEOF 28560cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 28561## -------------------- ## 28562## M4sh Initialization. ## 28563## -------------------- ## 28564 28565# Be more Bourne compatible 28566DUALCASE=1; export DUALCASE # for MKS sh 28567if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 28568 emulate sh 28569 NULLCMD=: 28570 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 28571 # is contrary to our usage. Disable this feature. 28572 alias -g '${1+"$@"}'='"$@"' 28573 setopt NO_GLOB_SUBST 28574else 28575 case `(set -o) 2>/dev/null` in #( 28576 *posix*) : 28577 set -o posix ;; #( 28578 *) : 28579 ;; 28580esac 28581fi 28582 28583 28584as_nl=' 28585' 28586export as_nl 28587# Printing a long string crashes Solaris 7 /usr/bin/printf. 28588as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 28589as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 28590as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 28591# Prefer a ksh shell builtin over an external printf program on Solaris, 28592# but without wasting forks for bash or zsh. 28593if test -z "$BASH_VERSION$ZSH_VERSION" \ 28594 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 28595 as_echo='print -r --' 28596 as_echo_n='print -rn --' 28597elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 28598 as_echo='printf %s\n' 28599 as_echo_n='printf %s' 28600else 28601 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 28602 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 28603 as_echo_n='/usr/ucb/echo -n' 28604 else 28605 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 28606 as_echo_n_body='eval 28607 arg=$1; 28608 case $arg in #( 28609 *"$as_nl"*) 28610 expr "X$arg" : "X\\(.*\\)$as_nl"; 28611 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 28612 esac; 28613 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 28614 ' 28615 export as_echo_n_body 28616 as_echo_n='sh -c $as_echo_n_body as_echo' 28617 fi 28618 export as_echo_body 28619 as_echo='sh -c $as_echo_body as_echo' 28620fi 28621 28622# The user is always right. 28623if test "${PATH_SEPARATOR+set}" != set; then 28624 PATH_SEPARATOR=: 28625 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 28626 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 28627 PATH_SEPARATOR=';' 28628 } 28629fi 28630 28631 28632# IFS 28633# We need space, tab and new line, in precisely that order. Quoting is 28634# there to prevent editors from complaining about space-tab. 28635# (If _AS_PATH_WALK were called with IFS unset, it would disable word 28636# splitting by setting IFS to empty value.) 28637IFS=" "" $as_nl" 28638 28639# Find who we are. Look in the path if we contain no directory separator. 28640as_myself= 28641case $0 in #(( 28642 *[\\/]* ) as_myself=$0 ;; 28643 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28644for as_dir in $PATH 28645do 28646 IFS=$as_save_IFS 28647 test -z "$as_dir" && as_dir=. 28648 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 28649 done 28650IFS=$as_save_IFS 28651 28652 ;; 28653esac 28654# We did not find ourselves, most probably we were run as `sh COMMAND' 28655# in which case we are not to be found in the path. 28656if test "x$as_myself" = x; then 28657 as_myself=$0 28658fi 28659if test ! -f "$as_myself"; then 28660 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 28661 exit 1 28662fi 28663 28664# Unset variables that we do not need and which cause bugs (e.g. in 28665# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 28666# suppresses any "Segmentation fault" message there. '((' could 28667# trigger a bug in pdksh 5.2.14. 28668for as_var in BASH_ENV ENV MAIL MAILPATH 28669do eval test x\${$as_var+set} = xset \ 28670 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 28671done 28672PS1='$ ' 28673PS2='> ' 28674PS4='+ ' 28675 28676# NLS nuisances. 28677LC_ALL=C 28678export LC_ALL 28679LANGUAGE=C 28680export LANGUAGE 28681 28682# CDPATH. 28683(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 28684 28685 28686# as_fn_error STATUS ERROR [LINENO LOG_FD] 28687# ---------------------------------------- 28688# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 28689# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 28690# script with STATUS, using 1 if that was 0. 28691as_fn_error () 28692{ 28693 as_status=$1; test $as_status -eq 0 && as_status=1 28694 if test "$4"; then 28695 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 28696 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 28697 fi 28698 $as_echo "$as_me: error: $2" >&2 28699 as_fn_exit $as_status 28700} # as_fn_error 28701 28702 28703# as_fn_set_status STATUS 28704# ----------------------- 28705# Set $? to STATUS, without forking. 28706as_fn_set_status () 28707{ 28708 return $1 28709} # as_fn_set_status 28710 28711# as_fn_exit STATUS 28712# ----------------- 28713# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 28714as_fn_exit () 28715{ 28716 set +e 28717 as_fn_set_status $1 28718 exit $1 28719} # as_fn_exit 28720 28721# as_fn_unset VAR 28722# --------------- 28723# Portably unset VAR. 28724as_fn_unset () 28725{ 28726 { eval $1=; unset $1;} 28727} 28728as_unset=as_fn_unset 28729# as_fn_append VAR VALUE 28730# ---------------------- 28731# Append the text in VALUE to the end of the definition contained in VAR. Take 28732# advantage of any shell optimizations that allow amortized linear growth over 28733# repeated appends, instead of the typical quadratic growth present in naive 28734# implementations. 28735if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 28736 eval 'as_fn_append () 28737 { 28738 eval $1+=\$2 28739 }' 28740else 28741 as_fn_append () 28742 { 28743 eval $1=\$$1\$2 28744 } 28745fi # as_fn_append 28746 28747# as_fn_arith ARG... 28748# ------------------ 28749# Perform arithmetic evaluation on the ARGs, and store the result in the 28750# global $as_val. Take advantage of shells that can avoid forks. The arguments 28751# must be portable across $(()) and expr. 28752if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 28753 eval 'as_fn_arith () 28754 { 28755 as_val=$(( $* )) 28756 }' 28757else 28758 as_fn_arith () 28759 { 28760 as_val=`expr "$@" || test $? -eq 1` 28761 } 28762fi # as_fn_arith 28763 28764 28765if expr a : '\(a\)' >/dev/null 2>&1 && 28766 test "X`expr 00001 : '.*\(...\)'`" = X001; then 28767 as_expr=expr 28768else 28769 as_expr=false 28770fi 28771 28772if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 28773 as_basename=basename 28774else 28775 as_basename=false 28776fi 28777 28778if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 28779 as_dirname=dirname 28780else 28781 as_dirname=false 28782fi 28783 28784as_me=`$as_basename -- "$0" || 28785$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 28786 X"$0" : 'X\(//\)$' \| \ 28787 X"$0" : 'X\(/\)' \| . 2>/dev/null || 28788$as_echo X/"$0" | 28789 sed '/^.*\/\([^/][^/]*\)\/*$/{ 28790 s//\1/ 28791 q 28792 } 28793 /^X\/\(\/\/\)$/{ 28794 s//\1/ 28795 q 28796 } 28797 /^X\/\(\/\).*/{ 28798 s//\1/ 28799 q 28800 } 28801 s/.*/./; q'` 28802 28803# Avoid depending upon Character Ranges. 28804as_cr_letters='abcdefghijklmnopqrstuvwxyz' 28805as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 28806as_cr_Letters=$as_cr_letters$as_cr_LETTERS 28807as_cr_digits='0123456789' 28808as_cr_alnum=$as_cr_Letters$as_cr_digits 28809 28810ECHO_C= ECHO_N= ECHO_T= 28811case `echo -n x` in #((((( 28812-n*) 28813 case `echo 'xy\c'` in 28814 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 28815 xy) ECHO_C='\c';; 28816 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 28817 ECHO_T=' ';; 28818 esac;; 28819*) 28820 ECHO_N='-n';; 28821esac 28822 28823rm -f conf$$ conf$$.exe conf$$.file 28824if test -d conf$$.dir; then 28825 rm -f conf$$.dir/conf$$.file 28826else 28827 rm -f conf$$.dir 28828 mkdir conf$$.dir 2>/dev/null 28829fi 28830if (echo >conf$$.file) 2>/dev/null; then 28831 if ln -s conf$$.file conf$$ 2>/dev/null; then 28832 as_ln_s='ln -s' 28833 # ... but there are two gotchas: 28834 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 28835 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 28836 # In both cases, we have to default to `cp -pR'. 28837 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 28838 as_ln_s='cp -pR' 28839 elif ln conf$$.file conf$$ 2>/dev/null; then 28840 as_ln_s=ln 28841 else 28842 as_ln_s='cp -pR' 28843 fi 28844else 28845 as_ln_s='cp -pR' 28846fi 28847rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 28848rmdir conf$$.dir 2>/dev/null 28849 28850 28851# as_fn_mkdir_p 28852# ------------- 28853# Create "$as_dir" as a directory, including parents if necessary. 28854as_fn_mkdir_p () 28855{ 28856 28857 case $as_dir in #( 28858 -*) as_dir=./$as_dir;; 28859 esac 28860 test -d "$as_dir" || eval $as_mkdir_p || { 28861 as_dirs= 28862 while :; do 28863 case $as_dir in #( 28864 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 28865 *) as_qdir=$as_dir;; 28866 esac 28867 as_dirs="'$as_qdir' $as_dirs" 28868 as_dir=`$as_dirname -- "$as_dir" || 28869$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 28870 X"$as_dir" : 'X\(//\)[^/]' \| \ 28871 X"$as_dir" : 'X\(//\)$' \| \ 28872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 28873$as_echo X"$as_dir" | 28874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 28875 s//\1/ 28876 q 28877 } 28878 /^X\(\/\/\)[^/].*/{ 28879 s//\1/ 28880 q 28881 } 28882 /^X\(\/\/\)$/{ 28883 s//\1/ 28884 q 28885 } 28886 /^X\(\/\).*/{ 28887 s//\1/ 28888 q 28889 } 28890 s/.*/./; q'` 28891 test -d "$as_dir" && break 28892 done 28893 test -z "$as_dirs" || eval "mkdir $as_dirs" 28894 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 28895 28896 28897} # as_fn_mkdir_p 28898if mkdir -p . 2>/dev/null; then 28899 as_mkdir_p='mkdir -p "$as_dir"' 28900else 28901 test -d ./-p && rmdir ./-p 28902 as_mkdir_p=false 28903fi 28904 28905 28906# as_fn_executable_p FILE 28907# ----------------------- 28908# Test if FILE is an executable regular file. 28909as_fn_executable_p () 28910{ 28911 test -f "$1" && test -x "$1" 28912} # as_fn_executable_p 28913as_test_x='test -x' 28914as_executable_p=as_fn_executable_p 28915 28916# Sed expression to map a string onto a valid CPP name. 28917as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 28918 28919# Sed expression to map a string onto a valid variable name. 28920as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 28921 28922 28923exec 6>&1 28924## ----------------------------------- ## 28925## Main body of $CONFIG_STATUS script. ## 28926## ----------------------------------- ## 28927_ASEOF 28928test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 28929 28930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28931# Save the log message, to keep $0 and so on meaningful, and to 28932# report actual input values of CONFIG_FILES etc. instead of their 28933# values after options handling. 28934ac_log=" 28935This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was 28936generated by GNU Autoconf 2.69. Invocation command line was 28937 28938 CONFIG_FILES = $CONFIG_FILES 28939 CONFIG_HEADERS = $CONFIG_HEADERS 28940 CONFIG_LINKS = $CONFIG_LINKS 28941 CONFIG_COMMANDS = $CONFIG_COMMANDS 28942 $ $0 $@ 28943 28944on `(hostname || uname -n) 2>/dev/null | sed 1q` 28945" 28946 28947_ACEOF 28948 28949case $ac_config_files in *" 28950"*) set x $ac_config_files; shift; ac_config_files=$*;; 28951esac 28952 28953case $ac_config_headers in *" 28954"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 28955esac 28956 28957 28958cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 28959# Files that config.status was made for. 28960config_files="$ac_config_files" 28961config_headers="$ac_config_headers" 28962config_commands="$ac_config_commands" 28963 28964_ACEOF 28965 28966cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28967ac_cs_usage="\ 28968\`$as_me' instantiates files and other configuration actions 28969from templates according to the current configuration. Unless the files 28970and actions are specified as TAGs, all are instantiated by default. 28971 28972Usage: $0 [OPTION]... [TAG]... 28973 28974 -h, --help print this help, then exit 28975 -V, --version print version number and configuration settings, then exit 28976 --config print configuration, then exit 28977 -q, --quiet, --silent 28978 do not print progress messages 28979 -d, --debug don't remove temporary files 28980 --recheck update $as_me by reconfiguring in the same conditions 28981 --file=FILE[:TEMPLATE] 28982 instantiate the configuration file FILE 28983 --header=FILE[:TEMPLATE] 28984 instantiate the configuration header FILE 28985 28986Configuration files: 28987$config_files 28988 28989Configuration headers: 28990$config_headers 28991 28992Configuration commands: 28993$config_commands 28994 28995Report bugs to the package provider. 28996GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>. 28997General help using GNU software: <http://www.gnu.org/gethelp/>." 28998 28999_ACEOF 29000cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29001ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 29002ac_cs_version="\\ 29003GNU Fortran Runtime Library config.status 0.3 29004configured by $0, generated by GNU Autoconf 2.69, 29005 with options \\"\$ac_cs_config\\" 29006 29007Copyright (C) 2012 Free Software Foundation, Inc. 29008This config.status script is free software; the Free Software Foundation 29009gives unlimited permission to copy, distribute and modify it." 29010 29011ac_pwd='$ac_pwd' 29012srcdir='$srcdir' 29013INSTALL='$INSTALL' 29014MKDIR_P='$MKDIR_P' 29015AWK='$AWK' 29016test -n "\$AWK" || AWK=awk 29017_ACEOF 29018 29019cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29020# The default lists apply if the user does not specify any file. 29021ac_need_defaults=: 29022while test $# != 0 29023do 29024 case $1 in 29025 --*=?*) 29026 ac_option=`expr "X$1" : 'X\([^=]*\)='` 29027 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 29028 ac_shift=: 29029 ;; 29030 --*=) 29031 ac_option=`expr "X$1" : 'X\([^=]*\)='` 29032 ac_optarg= 29033 ac_shift=: 29034 ;; 29035 *) 29036 ac_option=$1 29037 ac_optarg=$2 29038 ac_shift=shift 29039 ;; 29040 esac 29041 29042 case $ac_option in 29043 # Handling of the options. 29044 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 29045 ac_cs_recheck=: ;; 29046 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 29047 $as_echo "$ac_cs_version"; exit ;; 29048 --config | --confi | --conf | --con | --co | --c ) 29049 $as_echo "$ac_cs_config"; exit ;; 29050 --debug | --debu | --deb | --de | --d | -d ) 29051 debug=: ;; 29052 --file | --fil | --fi | --f ) 29053 $ac_shift 29054 case $ac_optarg in 29055 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 29056 '') as_fn_error $? "missing file argument" ;; 29057 esac 29058 as_fn_append CONFIG_FILES " '$ac_optarg'" 29059 ac_need_defaults=false;; 29060 --header | --heade | --head | --hea ) 29061 $ac_shift 29062 case $ac_optarg in 29063 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 29064 esac 29065 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 29066 ac_need_defaults=false;; 29067 --he | --h) 29068 # Conflict between --help and --header 29069 as_fn_error $? "ambiguous option: \`$1' 29070Try \`$0 --help' for more information.";; 29071 --help | --hel | -h ) 29072 $as_echo "$ac_cs_usage"; exit ;; 29073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 29074 | -silent | --silent | --silen | --sile | --sil | --si | --s) 29075 ac_cs_silent=: ;; 29076 29077 # This is an error. 29078 -*) as_fn_error $? "unrecognized option: \`$1' 29079Try \`$0 --help' for more information." ;; 29080 29081 *) as_fn_append ac_config_targets " $1" 29082 ac_need_defaults=false ;; 29083 29084 esac 29085 shift 29086done 29087 29088ac_configure_extra_args= 29089 29090if $ac_cs_silent; then 29091 exec 6>/dev/null 29092 ac_configure_extra_args="$ac_configure_extra_args --silent" 29093fi 29094 29095_ACEOF 29096cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29097if \$ac_cs_recheck; then 29098 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 29099 shift 29100 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 29101 CONFIG_SHELL='$SHELL' 29102 export CONFIG_SHELL 29103 exec "\$@" 29104fi 29105 29106_ACEOF 29107cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29108exec 5>>config.log 29109{ 29110 echo 29111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 29112## Running $as_me. ## 29113_ASBOX 29114 $as_echo "$ac_log" 29115} >&5 29116 29117_ACEOF 29118cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29119# 29120# INIT-COMMANDS 29121# 29122 29123srcdir="$srcdir" 29124host="$host" 29125target="$target" 29126with_multisubdir="$with_multisubdir" 29127with_multisrctop="$with_multisrctop" 29128with_target_subdir="$with_target_subdir" 29129ac_configure_args="${multilib_arg} ${ac_configure_args}" 29130multi_basedir="$multi_basedir" 29131CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 29132CC="$CC" 29133CXX="$CXX" 29134GFORTRAN="$GFORTRAN" 29135GDC="$GDC" 29136AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 29137 29138 29139# The HP-UX ksh and POSIX shell print the target directory to stdout 29140# if CDPATH is set. 29141(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 29142 29143sed_quote_subst='$sed_quote_subst' 29144double_quote_subst='$double_quote_subst' 29145delay_variable_subst='$delay_variable_subst' 29146SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 29147Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 29148GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 29149EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 29150FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 29151SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 29152ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 29153LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 29154macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 29155macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 29156enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 29157enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 29158pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 29159enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 29160host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 29161host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 29162host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 29163build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 29164build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 29165build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 29166NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 29167LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 29168max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 29169ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 29170exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 29171lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 29172lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 29173lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 29174reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 29175reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 29176OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 29177deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 29178file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 29179AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 29180AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 29181STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 29182RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 29183old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 29184old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 29185old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 29186lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 29187CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 29188CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 29189compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 29190GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 29191lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 29192lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 29193lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 29194lt_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"`' 29195objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 29196MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 29197lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 29198lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 29199lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 29200lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 29201lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 29202need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 29203DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 29204NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 29205LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 29206OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 29207OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 29208libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 29209shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 29210extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 29211archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 29212enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 29213export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 29214whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 29215compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 29216old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 29217old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 29218archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 29219archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 29220module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 29221module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 29222with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 29223allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 29224no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 29225hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 29226hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' 29227hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 29228hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 29229hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 29230hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 29231hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 29232hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 29233inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 29234link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 29235fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' 29236always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 29237export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 29238exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 29239include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 29240prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 29241file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 29242variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 29243need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 29244need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 29245version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 29246runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 29247shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 29248shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 29249libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 29250library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 29251soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 29252install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 29253postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 29254postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 29255finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 29256finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 29257hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 29258sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 29259sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 29260hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 29261enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 29262enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 29263enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 29264old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 29265striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 29266compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 29267predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 29268postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 29269predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 29270postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 29271compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 29272LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`' 29273reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`' 29274reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`' 29275old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`' 29276compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`' 29277GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`' 29278lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`' 29279lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`' 29280lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`' 29281lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`' 29282lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`' 29283archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`' 29284enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`' 29285export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`' 29286whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`' 29287compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`' 29288old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`' 29289old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`' 29290archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`' 29291archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`' 29292module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`' 29293module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`' 29294with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`' 29295allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`' 29296no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`' 29297hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`' 29298hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`' 29299hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`' 29300hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`' 29301hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`' 29302hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`' 29303hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`' 29304hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`' 29305inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`' 29306link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`' 29307fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`' 29308always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`' 29309export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`' 29310exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`' 29311include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`' 29312prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`' 29313file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`' 29314hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`' 29315compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`' 29316predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`' 29317postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`' 29318predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`' 29319postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`' 29320compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`' 29321 29322LTCC='$LTCC' 29323LTCFLAGS='$LTCFLAGS' 29324compiler='$compiler_DEFAULT' 29325 29326# A function that is used when there is no print builtin or printf. 29327func_fallback_echo () 29328{ 29329 eval 'cat <<_LTECHO_EOF 29330\$1 29331_LTECHO_EOF' 29332} 29333 29334# Quote evaled strings. 29335for var in SED \ 29336GREP \ 29337EGREP \ 29338FGREP \ 29339SHELL \ 29340ECHO \ 29341LD \ 29342NM \ 29343LN_S \ 29344lt_SP2NL \ 29345lt_NL2SP \ 29346reload_flag \ 29347OBJDUMP \ 29348deplibs_check_method \ 29349file_magic_cmd \ 29350AR \ 29351AR_FLAGS \ 29352STRIP \ 29353RANLIB \ 29354CC \ 29355CFLAGS \ 29356compiler \ 29357lt_cv_sys_global_symbol_pipe \ 29358lt_cv_sys_global_symbol_to_cdecl \ 29359lt_cv_sys_global_symbol_to_c_name_address \ 29360lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 29361lt_prog_compiler_no_builtin_flag \ 29362lt_prog_compiler_wl \ 29363lt_prog_compiler_pic \ 29364lt_prog_compiler_static \ 29365lt_cv_prog_compiler_c_o \ 29366need_locks \ 29367DSYMUTIL \ 29368NMEDIT \ 29369LIPO \ 29370OTOOL \ 29371OTOOL64 \ 29372shrext_cmds \ 29373export_dynamic_flag_spec \ 29374whole_archive_flag_spec \ 29375compiler_needs_object \ 29376with_gnu_ld \ 29377allow_undefined_flag \ 29378no_undefined_flag \ 29379hardcode_libdir_flag_spec \ 29380hardcode_libdir_flag_spec_ld \ 29381hardcode_libdir_separator \ 29382fix_srcfile_path \ 29383exclude_expsyms \ 29384include_expsyms \ 29385file_list_spec \ 29386variables_saved_for_relink \ 29387libname_spec \ 29388library_names_spec \ 29389soname_spec \ 29390install_override_mode \ 29391finish_eval \ 29392old_striplib \ 29393striplib \ 29394compiler_lib_search_dirs \ 29395predep_objects \ 29396postdep_objects \ 29397predeps \ 29398postdeps \ 29399compiler_lib_search_path \ 29400LD_FC \ 29401reload_flag_FC \ 29402compiler_FC \ 29403lt_prog_compiler_no_builtin_flag_FC \ 29404lt_prog_compiler_wl_FC \ 29405lt_prog_compiler_pic_FC \ 29406lt_prog_compiler_static_FC \ 29407lt_cv_prog_compiler_c_o_FC \ 29408export_dynamic_flag_spec_FC \ 29409whole_archive_flag_spec_FC \ 29410compiler_needs_object_FC \ 29411with_gnu_ld_FC \ 29412allow_undefined_flag_FC \ 29413no_undefined_flag_FC \ 29414hardcode_libdir_flag_spec_FC \ 29415hardcode_libdir_flag_spec_ld_FC \ 29416hardcode_libdir_separator_FC \ 29417fix_srcfile_path_FC \ 29418exclude_expsyms_FC \ 29419include_expsyms_FC \ 29420file_list_spec_FC \ 29421compiler_lib_search_dirs_FC \ 29422predep_objects_FC \ 29423postdep_objects_FC \ 29424predeps_FC \ 29425postdeps_FC \ 29426compiler_lib_search_path_FC; do 29427 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 29428 *[\\\\\\\`\\"\\\$]*) 29429 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 29430 ;; 29431 *) 29432 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 29433 ;; 29434 esac 29435done 29436 29437# Double-quote double-evaled strings. 29438for var in reload_cmds \ 29439old_postinstall_cmds \ 29440old_postuninstall_cmds \ 29441old_archive_cmds \ 29442extract_expsyms_cmds \ 29443old_archive_from_new_cmds \ 29444old_archive_from_expsyms_cmds \ 29445archive_cmds \ 29446archive_expsym_cmds \ 29447module_cmds \ 29448module_expsym_cmds \ 29449export_symbols_cmds \ 29450prelink_cmds \ 29451postinstall_cmds \ 29452postuninstall_cmds \ 29453finish_cmds \ 29454sys_lib_search_path_spec \ 29455sys_lib_dlsearch_path_spec \ 29456reload_cmds_FC \ 29457old_archive_cmds_FC \ 29458old_archive_from_new_cmds_FC \ 29459old_archive_from_expsyms_cmds_FC \ 29460archive_cmds_FC \ 29461archive_expsym_cmds_FC \ 29462module_cmds_FC \ 29463module_expsym_cmds_FC \ 29464export_symbols_cmds_FC \ 29465prelink_cmds_FC; do 29466 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 29467 *[\\\\\\\`\\"\\\$]*) 29468 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 29469 ;; 29470 *) 29471 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 29472 ;; 29473 esac 29474done 29475 29476ac_aux_dir='$ac_aux_dir' 29477xsi_shell='$xsi_shell' 29478lt_shell_append='$lt_shell_append' 29479 29480# See if we are running on zsh, and set the options which allow our 29481# commands through without removal of \ escapes INIT. 29482if test -n "\${ZSH_VERSION+set}" ; then 29483 setopt NO_GLOB_SUBST 29484fi 29485 29486 29487 PACKAGE='$PACKAGE' 29488 VERSION='$VERSION' 29489 TIMESTAMP='$TIMESTAMP' 29490 RM='$RM' 29491 ofile='$ofile' 29492 29493 29494 29495 29496 29497 29498GCC="$GCC" 29499CC="$CC" 29500acx_cv_header_stdint="$acx_cv_header_stdint" 29501acx_cv_type_int8_t="$acx_cv_type_int8_t" 29502acx_cv_type_int16_t="$acx_cv_type_int16_t" 29503acx_cv_type_int32_t="$acx_cv_type_int32_t" 29504acx_cv_type_int64_t="$acx_cv_type_int64_t" 29505acx_cv_type_intptr_t="$acx_cv_type_intptr_t" 29506ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t" 29507ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t" 29508ac_cv_type_uint64_t="$ac_cv_type_uint64_t" 29509ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t" 29510ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t" 29511ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t" 29512ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t" 29513ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p" 29514 29515 29516_ACEOF 29517 29518cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29519 29520# Handling of arguments. 29521for ac_config_target in $ac_config_targets 29522do 29523 case $ac_config_target in 29524 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 29525 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 29526 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 29527 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 29528 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;; 29529 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 29530 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;; 29531 29532 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 29533 esac 29534done 29535 29536 29537# If the user did not use the arguments to specify the items to instantiate, 29538# then the envvar interface is used. Set only those that are not. 29539# We use the long form for the default assignment because of an extremely 29540# bizarre bug on SunOS 4.1.3. 29541if $ac_need_defaults; then 29542 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 29543 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 29544 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 29545fi 29546 29547# Have a temporary directory for convenience. Make it in the build tree 29548# simply because there is no reason against having it here, and in addition, 29549# creating and moving files from /tmp can sometimes cause problems. 29550# Hook for its removal unless debugging. 29551# Note that there is a small window in which the directory will not be cleaned: 29552# after its creation but before its name has been assigned to `$tmp'. 29553$debug || 29554{ 29555 tmp= ac_tmp= 29556 trap 'exit_status=$? 29557 : "${ac_tmp:=$tmp}" 29558 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 29559' 0 29560 trap 'as_fn_exit 1' 1 2 13 15 29561} 29562# Create a (secure) tmp directory for tmp files. 29563 29564{ 29565 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 29566 test -d "$tmp" 29567} || 29568{ 29569 tmp=./conf$$-$RANDOM 29570 (umask 077 && mkdir "$tmp") 29571} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 29572ac_tmp=$tmp 29573 29574# Set up the scripts for CONFIG_FILES section. 29575# No need to generate them if there are no CONFIG_FILES. 29576# This happens for instance with `./config.status config.h'. 29577if test -n "$CONFIG_FILES"; then 29578 29579 29580ac_cr=`echo X | tr X '\015'` 29581# On cygwin, bash can eat \r inside `` if the user requested igncr. 29582# But we know of no other shell where ac_cr would be empty at this 29583# point, so we can use a bashism as a fallback. 29584if test "x$ac_cr" = x; then 29585 eval ac_cr=\$\'\\r\' 29586fi 29587ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 29588if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 29589 ac_cs_awk_cr='\\r' 29590else 29591 ac_cs_awk_cr=$ac_cr 29592fi 29593 29594echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 29595_ACEOF 29596 29597 29598{ 29599 echo "cat >conf$$subs.awk <<_ACEOF" && 29600 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 29601 echo "_ACEOF" 29602} >conf$$subs.sh || 29603 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 29604ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 29605ac_delim='%!_!# ' 29606for ac_last_try in false false false false false :; do 29607 . ./conf$$subs.sh || 29608 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 29609 29610 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 29611 if test $ac_delim_n = $ac_delim_num; then 29612 break 29613 elif $ac_last_try; then 29614 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 29615 else 29616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 29617 fi 29618done 29619rm -f conf$$subs.sh 29620 29621cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29622cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 29623_ACEOF 29624sed -n ' 29625h 29626s/^/S["/; s/!.*/"]=/ 29627p 29628g 29629s/^[^!]*!// 29630:repl 29631t repl 29632s/'"$ac_delim"'$// 29633t delim 29634:nl 29635h 29636s/\(.\{148\}\)..*/\1/ 29637t more1 29638s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 29639p 29640n 29641b repl 29642:more1 29643s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 29644p 29645g 29646s/.\{148\}// 29647t nl 29648:delim 29649h 29650s/\(.\{148\}\)..*/\1/ 29651t more2 29652s/["\\]/\\&/g; s/^/"/; s/$/"/ 29653p 29654b 29655:more2 29656s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 29657p 29658g 29659s/.\{148\}// 29660t delim 29661' <conf$$subs.awk | sed ' 29662/^[^""]/{ 29663 N 29664 s/\n// 29665} 29666' >>$CONFIG_STATUS || ac_write_fail=1 29667rm -f conf$$subs.awk 29668cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29669_ACAWK 29670cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 29671 for (key in S) S_is_set[key] = 1 29672 FS = "" 29673 29674} 29675{ 29676 line = $ 0 29677 nfields = split(line, field, "@") 29678 substed = 0 29679 len = length(field[1]) 29680 for (i = 2; i < nfields; i++) { 29681 key = field[i] 29682 keylen = length(key) 29683 if (S_is_set[key]) { 29684 value = S[key] 29685 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 29686 len += length(value) + length(field[++i]) 29687 substed = 1 29688 } else 29689 len += 1 + keylen 29690 } 29691 29692 print line 29693} 29694 29695_ACAWK 29696_ACEOF 29697cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29698if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 29699 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 29700else 29701 cat 29702fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 29703 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 29704_ACEOF 29705 29706# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 29707# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 29708# trailing colons and then remove the whole line if VPATH becomes empty 29709# (actually we leave an empty line to preserve line numbers). 29710if test "x$srcdir" = x.; then 29711 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 29712h 29713s/// 29714s/^/:/ 29715s/[ ]*$/:/ 29716s/:\$(srcdir):/:/g 29717s/:\${srcdir}:/:/g 29718s/:@srcdir@:/:/g 29719s/^:*// 29720s/:*$// 29721x 29722s/\(=[ ]*\).*/\1/ 29723G 29724s/\n// 29725s/^[^=]*=[ ]*$// 29726}' 29727fi 29728 29729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29730fi # test -n "$CONFIG_FILES" 29731 29732# Set up the scripts for CONFIG_HEADERS section. 29733# No need to generate them if there are no CONFIG_HEADERS. 29734# This happens for instance with `./config.status Makefile'. 29735if test -n "$CONFIG_HEADERS"; then 29736cat >"$ac_tmp/defines.awk" <<\_ACAWK || 29737BEGIN { 29738_ACEOF 29739 29740# Transform confdefs.h into an awk script `defines.awk', embedded as 29741# here-document in config.status, that substitutes the proper values into 29742# config.h.in to produce config.h. 29743 29744# Create a delimiter string that does not exist in confdefs.h, to ease 29745# handling of long lines. 29746ac_delim='%!_!# ' 29747for ac_last_try in false false :; do 29748 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 29749 if test -z "$ac_tt"; then 29750 break 29751 elif $ac_last_try; then 29752 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 29753 else 29754 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 29755 fi 29756done 29757 29758# For the awk script, D is an array of macro values keyed by name, 29759# likewise P contains macro parameters if any. Preserve backslash 29760# newline sequences. 29761 29762ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 29763sed -n ' 29764s/.\{148\}/&'"$ac_delim"'/g 29765t rset 29766:rset 29767s/^[ ]*#[ ]*define[ ][ ]*/ / 29768t def 29769d 29770:def 29771s/\\$// 29772t bsnl 29773s/["\\]/\\&/g 29774s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 29775D["\1"]=" \3"/p 29776s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 29777d 29778:bsnl 29779s/["\\]/\\&/g 29780s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 29781D["\1"]=" \3\\\\\\n"\\/p 29782t cont 29783s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 29784t cont 29785d 29786:cont 29787n 29788s/.\{148\}/&'"$ac_delim"'/g 29789t clear 29790:clear 29791s/\\$// 29792t bsnlc 29793s/["\\]/\\&/g; s/^/"/; s/$/"/p 29794d 29795:bsnlc 29796s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 29797b cont 29798' <confdefs.h | sed ' 29799s/'"$ac_delim"'/"\\\ 29800"/g' >>$CONFIG_STATUS || ac_write_fail=1 29801 29802cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29803 for (key in D) D_is_set[key] = 1 29804 FS = "" 29805} 29806/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 29807 line = \$ 0 29808 split(line, arg, " ") 29809 if (arg[1] == "#") { 29810 defundef = arg[2] 29811 mac1 = arg[3] 29812 } else { 29813 defundef = substr(arg[1], 2) 29814 mac1 = arg[2] 29815 } 29816 split(mac1, mac2, "(") #) 29817 macro = mac2[1] 29818 prefix = substr(line, 1, index(line, defundef) - 1) 29819 if (D_is_set[macro]) { 29820 # Preserve the white space surrounding the "#". 29821 print prefix "define", macro P[macro] D[macro] 29822 next 29823 } else { 29824 # Replace #undef with comments. This is necessary, for example, 29825 # in the case of _POSIX_SOURCE, which is predefined and required 29826 # on some systems where configure will not decide to define it. 29827 if (defundef == "undef") { 29828 print "/*", prefix defundef, macro, "*/" 29829 next 29830 } 29831 } 29832} 29833{ print } 29834_ACAWK 29835_ACEOF 29836cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29837 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 29838fi # test -n "$CONFIG_HEADERS" 29839 29840 29841eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 29842shift 29843for ac_tag 29844do 29845 case $ac_tag in 29846 :[FHLC]) ac_mode=$ac_tag; continue;; 29847 esac 29848 case $ac_mode$ac_tag in 29849 :[FHL]*:*);; 29850 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 29851 :[FH]-) ac_tag=-:-;; 29852 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 29853 esac 29854 ac_save_IFS=$IFS 29855 IFS=: 29856 set x $ac_tag 29857 IFS=$ac_save_IFS 29858 shift 29859 ac_file=$1 29860 shift 29861 29862 case $ac_mode in 29863 :L) ac_source=$1;; 29864 :[FH]) 29865 ac_file_inputs= 29866 for ac_f 29867 do 29868 case $ac_f in 29869 -) ac_f="$ac_tmp/stdin";; 29870 *) # Look for the file first in the build tree, then in the source tree 29871 # (if the path is not absolute). The absolute path cannot be DOS-style, 29872 # because $ac_f cannot contain `:'. 29873 test -f "$ac_f" || 29874 case $ac_f in 29875 [\\/$]*) false;; 29876 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 29877 esac || 29878 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 29879 esac 29880 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 29881 as_fn_append ac_file_inputs " '$ac_f'" 29882 done 29883 29884 # Let's still pretend it is `configure' which instantiates (i.e., don't 29885 # use $as_me), people would be surprised to read: 29886 # /* config.h. Generated by config.status. */ 29887 configure_input='Generated from '` 29888 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 29889 `' by configure.' 29890 if test x"$ac_file" != x-; then 29891 configure_input="$ac_file. $configure_input" 29892 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 29893$as_echo "$as_me: creating $ac_file" >&6;} 29894 fi 29895 # Neutralize special characters interpreted by sed in replacement strings. 29896 case $configure_input in #( 29897 *\&* | *\|* | *\\* ) 29898 ac_sed_conf_input=`$as_echo "$configure_input" | 29899 sed 's/[\\\\&|]/\\\\&/g'`;; #( 29900 *) ac_sed_conf_input=$configure_input;; 29901 esac 29902 29903 case $ac_tag in 29904 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 29905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 29906 esac 29907 ;; 29908 esac 29909 29910 ac_dir=`$as_dirname -- "$ac_file" || 29911$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 29912 X"$ac_file" : 'X\(//\)[^/]' \| \ 29913 X"$ac_file" : 'X\(//\)$' \| \ 29914 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 29915$as_echo X"$ac_file" | 29916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 29917 s//\1/ 29918 q 29919 } 29920 /^X\(\/\/\)[^/].*/{ 29921 s//\1/ 29922 q 29923 } 29924 /^X\(\/\/\)$/{ 29925 s//\1/ 29926 q 29927 } 29928 /^X\(\/\).*/{ 29929 s//\1/ 29930 q 29931 } 29932 s/.*/./; q'` 29933 as_dir="$ac_dir"; as_fn_mkdir_p 29934 ac_builddir=. 29935 29936case "$ac_dir" in 29937.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 29938*) 29939 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 29940 # A ".." for each directory in $ac_dir_suffix. 29941 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 29942 case $ac_top_builddir_sub in 29943 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 29944 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 29945 esac ;; 29946esac 29947ac_abs_top_builddir=$ac_pwd 29948ac_abs_builddir=$ac_pwd$ac_dir_suffix 29949# for backward compatibility: 29950ac_top_builddir=$ac_top_build_prefix 29951 29952case $srcdir in 29953 .) # We are building in place. 29954 ac_srcdir=. 29955 ac_top_srcdir=$ac_top_builddir_sub 29956 ac_abs_top_srcdir=$ac_pwd ;; 29957 [\\/]* | ?:[\\/]* ) # Absolute name. 29958 ac_srcdir=$srcdir$ac_dir_suffix; 29959 ac_top_srcdir=$srcdir 29960 ac_abs_top_srcdir=$srcdir ;; 29961 *) # Relative name. 29962 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 29963 ac_top_srcdir=$ac_top_build_prefix$srcdir 29964 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 29965esac 29966ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 29967 29968 29969 case $ac_mode in 29970 :F) 29971 # 29972 # CONFIG_FILE 29973 # 29974 29975 case $INSTALL in 29976 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 29977 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 29978 esac 29979 ac_MKDIR_P=$MKDIR_P 29980 case $MKDIR_P in 29981 [\\/$]* | ?:[\\/]* ) ;; 29982 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 29983 esac 29984_ACEOF 29985 29986cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29987# If the template does not know about datarootdir, expand it. 29988# FIXME: This hack should be removed a few years after 2.60. 29989ac_datarootdir_hack=; ac_datarootdir_seen= 29990ac_sed_dataroot=' 29991/datarootdir/ { 29992 p 29993 q 29994} 29995/@datadir@/p 29996/@docdir@/p 29997/@infodir@/p 29998/@localedir@/p 29999/@mandir@/p' 30000case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 30001*datarootdir*) ac_datarootdir_seen=yes;; 30002*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 30003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 30004$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 30005_ACEOF 30006cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30007 ac_datarootdir_hack=' 30008 s&@datadir@&$datadir&g 30009 s&@docdir@&$docdir&g 30010 s&@infodir@&$infodir&g 30011 s&@localedir@&$localedir&g 30012 s&@mandir@&$mandir&g 30013 s&\\\${datarootdir}&$datarootdir&g' ;; 30014esac 30015_ACEOF 30016 30017# Neutralize VPATH when `$srcdir' = `.'. 30018# Shell code in configure.ac might set extrasub. 30019# FIXME: do we really want to maintain this feature? 30020cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30021ac_sed_extra="$ac_vpsub 30022$extrasub 30023_ACEOF 30024cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30025:t 30026/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 30027s|@configure_input@|$ac_sed_conf_input|;t t 30028s&@top_builddir@&$ac_top_builddir_sub&;t t 30029s&@top_build_prefix@&$ac_top_build_prefix&;t t 30030s&@srcdir@&$ac_srcdir&;t t 30031s&@abs_srcdir@&$ac_abs_srcdir&;t t 30032s&@top_srcdir@&$ac_top_srcdir&;t t 30033s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 30034s&@builddir@&$ac_builddir&;t t 30035s&@abs_builddir@&$ac_abs_builddir&;t t 30036s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 30037s&@INSTALL@&$ac_INSTALL&;t t 30038s&@MKDIR_P@&$ac_MKDIR_P&;t t 30039$ac_datarootdir_hack 30040" 30041eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 30042 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 30043 30044test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 30045 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 30046 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 30047 "$ac_tmp/out"`; test -z "$ac_out"; } && 30048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 30049which seems to be undefined. Please make sure it is defined" >&5 30050$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 30051which seems to be undefined. Please make sure it is defined" >&2;} 30052 30053 rm -f "$ac_tmp/stdin" 30054 case $ac_file in 30055 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 30056 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 30057 esac \ 30058 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 30059 ;; 30060 :H) 30061 # 30062 # CONFIG_HEADER 30063 # 30064 if test x"$ac_file" != x-; then 30065 { 30066 $as_echo "/* $configure_input */" \ 30067 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 30068 } >"$ac_tmp/config.h" \ 30069 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 30070 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 30071 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 30072$as_echo "$as_me: $ac_file is unchanged" >&6;} 30073 else 30074 rm -f "$ac_file" 30075 mv "$ac_tmp/config.h" "$ac_file" \ 30076 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 30077 fi 30078 else 30079 $as_echo "/* $configure_input */" \ 30080 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 30081 || as_fn_error $? "could not create -" "$LINENO" 5 30082 fi 30083# Compute "$ac_file"'s index in $config_headers. 30084_am_arg="$ac_file" 30085_am_stamp_count=1 30086for _am_header in $config_headers :; do 30087 case $_am_header in 30088 $_am_arg | $_am_arg:* ) 30089 break ;; 30090 * ) 30091 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 30092 esac 30093done 30094echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 30095$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30096 X"$_am_arg" : 'X\(//\)[^/]' \| \ 30097 X"$_am_arg" : 'X\(//\)$' \| \ 30098 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 30099$as_echo X"$_am_arg" | 30100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30101 s//\1/ 30102 q 30103 } 30104 /^X\(\/\/\)[^/].*/{ 30105 s//\1/ 30106 q 30107 } 30108 /^X\(\/\/\)$/{ 30109 s//\1/ 30110 q 30111 } 30112 /^X\(\/\).*/{ 30113 s//\1/ 30114 q 30115 } 30116 s/.*/./; q'`/stamp-h$_am_stamp_count 30117 ;; 30118 30119 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 30120$as_echo "$as_me: executing $ac_file commands" >&6;} 30121 ;; 30122 esac 30123 30124 30125 case $ac_file$ac_mode in 30126 "default-1":C) 30127# Only add multilib support code if we just rebuilt the top-level 30128# Makefile. 30129case " $CONFIG_FILES " in 30130 *" Makefile "*) 30131 ac_file=Makefile . ${multi_basedir}/config-ml.in 30132 ;; 30133esac ;; 30134 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 30135 # Older Autoconf quotes --file arguments for eval, but not when files 30136 # are listed without --file. Let's play safe and only enable the eval 30137 # if we detect the quoting. 30138 case $CONFIG_FILES in 30139 *\'*) eval set x "$CONFIG_FILES" ;; 30140 *) set x $CONFIG_FILES ;; 30141 esac 30142 shift 30143 for mf 30144 do 30145 # Strip MF so we end up with the name of the file. 30146 mf=`echo "$mf" | sed -e 's/:.*$//'` 30147 # Check whether this is an Automake generated Makefile or not. 30148 # We used to match only the files named 'Makefile.in', but 30149 # some people rename them; so instead we look at the file content. 30150 # Grep'ing the first line is not enough: some people post-process 30151 # each Makefile.in and add a new line on top of each file to say so. 30152 # Grep'ing the whole file is not good either: AIX grep has a line 30153 # limit of 2048, but all sed's we know have understand at least 4000. 30154 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 30155 dirpart=`$as_dirname -- "$mf" || 30156$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30157 X"$mf" : 'X\(//\)[^/]' \| \ 30158 X"$mf" : 'X\(//\)$' \| \ 30159 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 30160$as_echo X"$mf" | 30161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30162 s//\1/ 30163 q 30164 } 30165 /^X\(\/\/\)[^/].*/{ 30166 s//\1/ 30167 q 30168 } 30169 /^X\(\/\/\)$/{ 30170 s//\1/ 30171 q 30172 } 30173 /^X\(\/\).*/{ 30174 s//\1/ 30175 q 30176 } 30177 s/.*/./; q'` 30178 else 30179 continue 30180 fi 30181 # Extract the definition of DEPDIR, am__include, and am__quote 30182 # from the Makefile without running 'make'. 30183 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 30184 test -z "$DEPDIR" && continue 30185 am__include=`sed -n 's/^am__include = //p' < "$mf"` 30186 test -z "$am__include" && continue 30187 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 30188 # Find all dependency output files, they are included files with 30189 # $(DEPDIR) in their names. We invoke sed twice because it is the 30190 # simplest approach to changing $(DEPDIR) to its actual value in the 30191 # expansion. 30192 for file in `sed -n " 30193 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 30194 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 30195 # Make sure the directory exists. 30196 test -f "$dirpart/$file" && continue 30197 fdir=`$as_dirname -- "$file" || 30198$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30199 X"$file" : 'X\(//\)[^/]' \| \ 30200 X"$file" : 'X\(//\)$' \| \ 30201 X"$file" : 'X\(/\)' \| . 2>/dev/null || 30202$as_echo X"$file" | 30203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30204 s//\1/ 30205 q 30206 } 30207 /^X\(\/\/\)[^/].*/{ 30208 s//\1/ 30209 q 30210 } 30211 /^X\(\/\/\)$/{ 30212 s//\1/ 30213 q 30214 } 30215 /^X\(\/\).*/{ 30216 s//\1/ 30217 q 30218 } 30219 s/.*/./; q'` 30220 as_dir=$dirpart/$fdir; as_fn_mkdir_p 30221 # echo "creating $dirpart/$file" 30222 echo '# dummy' > "$dirpart/$file" 30223 done 30224 done 30225} 30226 ;; 30227 "libtool":C) 30228 30229 # See if we are running on zsh, and set the options which allow our 30230 # commands through without removal of \ escapes. 30231 if test -n "${ZSH_VERSION+set}" ; then 30232 setopt NO_GLOB_SUBST 30233 fi 30234 30235 cfgfile="${ofile}T" 30236 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 30237 $RM "$cfgfile" 30238 30239 cat <<_LT_EOF >> "$cfgfile" 30240#! $SHELL 30241 30242# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 30243# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 30244# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 30245# NOTE: Changes made to this file will be lost: look at ltmain.sh. 30246# 30247# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 30248# 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 30249# Written by Gordon Matzigkeit, 1996 30250# 30251# This file is part of GNU Libtool. 30252# 30253# GNU Libtool is free software; you can redistribute it and/or 30254# modify it under the terms of the GNU General Public License as 30255# published by the Free Software Foundation; either version 2 of 30256# the License, or (at your option) any later version. 30257# 30258# As a special exception to the GNU General Public License, 30259# if you distribute this file as part of a program or library that 30260# is built using GNU Libtool, you may include this file under the 30261# same distribution terms that you use for the rest of that program. 30262# 30263# GNU Libtool is distributed in the hope that it will be useful, 30264# but WITHOUT ANY WARRANTY; without even the implied warranty of 30265# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30266# GNU General Public License for more details. 30267# 30268# You should have received a copy of the GNU General Public License 30269# along with GNU Libtool; see the file COPYING. If not, a copy 30270# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 30271# obtained by writing to the Free Software Foundation, Inc., 30272# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 30273 30274 30275# The names of the tagged configurations supported by this script. 30276available_tags="FC " 30277 30278# ### BEGIN LIBTOOL CONFIG 30279 30280# A sed program that does not truncate output. 30281SED=$lt_SED 30282 30283# Sed that helps us avoid accidentally triggering echo(1) options like -n. 30284Xsed="\$SED -e 1s/^X//" 30285 30286# A grep program that handles long lines. 30287GREP=$lt_GREP 30288 30289# An ERE matcher. 30290EGREP=$lt_EGREP 30291 30292# A literal string matcher. 30293FGREP=$lt_FGREP 30294 30295# Shell to use when invoking shell scripts. 30296SHELL=$lt_SHELL 30297 30298# An echo program that protects backslashes. 30299ECHO=$lt_ECHO 30300 30301# Which release of libtool.m4 was used? 30302macro_version=$macro_version 30303macro_revision=$macro_revision 30304 30305# Whether or not to build shared libraries. 30306build_libtool_libs=$enable_shared 30307 30308# Whether or not to build static libraries. 30309build_old_libs=$enable_static 30310 30311# What type of objects to build. 30312pic_mode=$pic_mode 30313 30314# Whether or not to optimize for fast installation. 30315fast_install=$enable_fast_install 30316 30317# The host system. 30318host_alias=$host_alias 30319host=$host 30320host_os=$host_os 30321 30322# The build system. 30323build_alias=$build_alias 30324build=$build 30325build_os=$build_os 30326 30327# A BSD- or MS-compatible name lister. 30328NM=$lt_NM 30329 30330# Whether we need soft or hard links. 30331LN_S=$lt_LN_S 30332 30333# What is the maximum length of a command? 30334max_cmd_len=$max_cmd_len 30335 30336# Object file suffix (normally "o"). 30337objext=$ac_objext 30338 30339# Executable file suffix (normally ""). 30340exeext=$exeext 30341 30342# whether the shell understands "unset". 30343lt_unset=$lt_unset 30344 30345# turn spaces into newlines. 30346SP2NL=$lt_lt_SP2NL 30347 30348# turn newlines into spaces. 30349NL2SP=$lt_lt_NL2SP 30350 30351# An object symbol dumper. 30352OBJDUMP=$lt_OBJDUMP 30353 30354# Method to check whether dependent libraries are shared objects. 30355deplibs_check_method=$lt_deplibs_check_method 30356 30357# Command to use when deplibs_check_method == "file_magic". 30358file_magic_cmd=$lt_file_magic_cmd 30359 30360# The archiver. 30361AR=$lt_AR 30362AR_FLAGS=$lt_AR_FLAGS 30363 30364# A symbol stripping program. 30365STRIP=$lt_STRIP 30366 30367# Commands used to install an old-style archive. 30368RANLIB=$lt_RANLIB 30369old_postinstall_cmds=$lt_old_postinstall_cmds 30370old_postuninstall_cmds=$lt_old_postuninstall_cmds 30371 30372# Whether to use a lock for old archive extraction. 30373lock_old_archive_extraction=$lock_old_archive_extraction 30374 30375# A C compiler. 30376LTCC=$lt_CC 30377 30378# LTCC compiler flags. 30379LTCFLAGS=$lt_CFLAGS 30380 30381# Take the output of nm and produce a listing of raw symbols and C names. 30382global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 30383 30384# Transform the output of nm in a proper C declaration. 30385global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 30386 30387# Transform the output of nm in a C name address pair. 30388global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 30389 30390# Transform the output of nm in a C name address pair when lib prefix is needed. 30391global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 30392 30393# The name of the directory that contains temporary libtool files. 30394objdir=$objdir 30395 30396# Used to examine libraries when file_magic_cmd begins with "file". 30397MAGIC_CMD=$MAGIC_CMD 30398 30399# Must we lock files when doing compilation? 30400need_locks=$lt_need_locks 30401 30402# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 30403DSYMUTIL=$lt_DSYMUTIL 30404 30405# Tool to change global to local symbols on Mac OS X. 30406NMEDIT=$lt_NMEDIT 30407 30408# Tool to manipulate fat objects and archives on Mac OS X. 30409LIPO=$lt_LIPO 30410 30411# ldd/readelf like tool for Mach-O binaries on Mac OS X. 30412OTOOL=$lt_OTOOL 30413 30414# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 30415OTOOL64=$lt_OTOOL64 30416 30417# Old archive suffix (normally "a"). 30418libext=$libext 30419 30420# Shared library suffix (normally ".so"). 30421shrext_cmds=$lt_shrext_cmds 30422 30423# The commands to extract the exported symbol list from a shared archive. 30424extract_expsyms_cmds=$lt_extract_expsyms_cmds 30425 30426# Variables whose values should be saved in libtool wrapper scripts and 30427# restored at link time. 30428variables_saved_for_relink=$lt_variables_saved_for_relink 30429 30430# Do we need the "lib" prefix for modules? 30431need_lib_prefix=$need_lib_prefix 30432 30433# Do we need a version for libraries? 30434need_version=$need_version 30435 30436# Library versioning type. 30437version_type=$version_type 30438 30439# Shared library runtime path variable. 30440runpath_var=$runpath_var 30441 30442# Shared library path variable. 30443shlibpath_var=$shlibpath_var 30444 30445# Is shlibpath searched before the hard-coded library search path? 30446shlibpath_overrides_runpath=$shlibpath_overrides_runpath 30447 30448# Format of library name prefix. 30449libname_spec=$lt_libname_spec 30450 30451# List of archive names. First name is the real one, the rest are links. 30452# The last name is the one that the linker finds with -lNAME 30453library_names_spec=$lt_library_names_spec 30454 30455# The coded name of the library, if different from the real name. 30456soname_spec=$lt_soname_spec 30457 30458# Permission mode override for installation of shared libraries. 30459install_override_mode=$lt_install_override_mode 30460 30461# Command to use after installation of a shared archive. 30462postinstall_cmds=$lt_postinstall_cmds 30463 30464# Command to use after uninstallation of a shared archive. 30465postuninstall_cmds=$lt_postuninstall_cmds 30466 30467# Commands used to finish a libtool library installation in a directory. 30468finish_cmds=$lt_finish_cmds 30469 30470# As "finish_cmds", except a single script fragment to be evaled but 30471# not shown. 30472finish_eval=$lt_finish_eval 30473 30474# Whether we should hardcode library paths into libraries. 30475hardcode_into_libs=$hardcode_into_libs 30476 30477# Compile-time system search path for libraries. 30478sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 30479 30480# Run-time system search path for libraries. 30481sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 30482 30483# Whether dlopen is supported. 30484dlopen_support=$enable_dlopen 30485 30486# Whether dlopen of programs is supported. 30487dlopen_self=$enable_dlopen_self 30488 30489# Whether dlopen of statically linked programs is supported. 30490dlopen_self_static=$enable_dlopen_self_static 30491 30492# Commands to strip libraries. 30493old_striplib=$lt_old_striplib 30494striplib=$lt_striplib 30495 30496 30497# The linker used to build libraries. 30498LD=$lt_LD 30499 30500# How to create reloadable object files. 30501reload_flag=$lt_reload_flag 30502reload_cmds=$lt_reload_cmds 30503 30504# Commands used to build an old-style archive. 30505old_archive_cmds=$lt_old_archive_cmds 30506 30507# A language specific compiler. 30508CC=$lt_compiler 30509 30510# Is the compiler the GNU compiler? 30511with_gcc=$GCC 30512 30513# Compiler flag to turn off builtin functions. 30514no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 30515 30516# How to pass a linker flag through the compiler. 30517wl=$lt_lt_prog_compiler_wl 30518 30519# Additional compiler flags for building library objects. 30520pic_flag=$lt_lt_prog_compiler_pic 30521 30522# Compiler flag to prevent dynamic linking. 30523link_static_flag=$lt_lt_prog_compiler_static 30524 30525# Does compiler simultaneously support -c and -o options? 30526compiler_c_o=$lt_lt_cv_prog_compiler_c_o 30527 30528# Whether or not to add -lc for building shared libraries. 30529build_libtool_need_lc=$archive_cmds_need_lc 30530 30531# Whether or not to disallow shared libs when runtime libs are static. 30532allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 30533 30534# Compiler flag to allow reflexive dlopens. 30535export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 30536 30537# Compiler flag to generate shared objects directly from archives. 30538whole_archive_flag_spec=$lt_whole_archive_flag_spec 30539 30540# Whether the compiler copes with passing no objects directly. 30541compiler_needs_object=$lt_compiler_needs_object 30542 30543# Create an old-style archive from a shared archive. 30544old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 30545 30546# Create a temporary old-style archive to link instead of a shared archive. 30547old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 30548 30549# Commands used to build a shared archive. 30550archive_cmds=$lt_archive_cmds 30551archive_expsym_cmds=$lt_archive_expsym_cmds 30552 30553# Commands used to build a loadable module if different from building 30554# a shared archive. 30555module_cmds=$lt_module_cmds 30556module_expsym_cmds=$lt_module_expsym_cmds 30557 30558# Whether we are building with GNU ld or not. 30559with_gnu_ld=$lt_with_gnu_ld 30560 30561# Flag that allows shared libraries with undefined symbols to be built. 30562allow_undefined_flag=$lt_allow_undefined_flag 30563 30564# Flag that enforces no undefined symbols. 30565no_undefined_flag=$lt_no_undefined_flag 30566 30567# Flag to hardcode \$libdir into a binary during linking. 30568# This must work even if \$libdir does not exist 30569hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 30570 30571# If ld is used when linking, flag to hardcode \$libdir into a binary 30572# during linking. This must work even if \$libdir does not exist. 30573hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 30574 30575# Whether we need a single "-rpath" flag with a separated argument. 30576hardcode_libdir_separator=$lt_hardcode_libdir_separator 30577 30578# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 30579# DIR into the resulting binary. 30580hardcode_direct=$hardcode_direct 30581 30582# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 30583# DIR into the resulting binary and the resulting library dependency is 30584# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 30585# library is relocated. 30586hardcode_direct_absolute=$hardcode_direct_absolute 30587 30588# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 30589# into the resulting binary. 30590hardcode_minus_L=$hardcode_minus_L 30591 30592# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 30593# into the resulting binary. 30594hardcode_shlibpath_var=$hardcode_shlibpath_var 30595 30596# Set to "yes" if building a shared library automatically hardcodes DIR 30597# into the library and all subsequent libraries and executables linked 30598# against it. 30599hardcode_automatic=$hardcode_automatic 30600 30601# Set to yes if linker adds runtime paths of dependent libraries 30602# to runtime path list. 30603inherit_rpath=$inherit_rpath 30604 30605# Whether libtool must link a program against all its dependency libraries. 30606link_all_deplibs=$link_all_deplibs 30607 30608# Fix the shell variable \$srcfile for the compiler. 30609fix_srcfile_path=$lt_fix_srcfile_path 30610 30611# Set to "yes" if exported symbols are required. 30612always_export_symbols=$always_export_symbols 30613 30614# The commands to list exported symbols. 30615export_symbols_cmds=$lt_export_symbols_cmds 30616 30617# Symbols that should not be listed in the preloaded symbols. 30618exclude_expsyms=$lt_exclude_expsyms 30619 30620# Symbols that must always be exported. 30621include_expsyms=$lt_include_expsyms 30622 30623# Commands necessary for linking programs (against libraries) with templates. 30624prelink_cmds=$lt_prelink_cmds 30625 30626# Specify filename containing input files. 30627file_list_spec=$lt_file_list_spec 30628 30629# How to hardcode a shared library path into an executable. 30630hardcode_action=$hardcode_action 30631 30632# The directories searched by this compiler when creating a shared library. 30633compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 30634 30635# Dependencies to place before and after the objects being linked to 30636# create a shared library. 30637predep_objects=$lt_predep_objects 30638postdep_objects=$lt_postdep_objects 30639predeps=$lt_predeps 30640postdeps=$lt_postdeps 30641 30642# The library search path used internally by the compiler when linking 30643# a shared library. 30644compiler_lib_search_path=$lt_compiler_lib_search_path 30645 30646# ### END LIBTOOL CONFIG 30647 30648_LT_EOF 30649 30650 case $host_os in 30651 aix3*) 30652 cat <<\_LT_EOF >> "$cfgfile" 30653# AIX sometimes has problems with the GCC collect2 program. For some 30654# reason, if we set the COLLECT_NAMES environment variable, the problems 30655# vanish in a puff of smoke. 30656if test "X${COLLECT_NAMES+set}" != Xset; then 30657 COLLECT_NAMES= 30658 export COLLECT_NAMES 30659fi 30660_LT_EOF 30661 ;; 30662 esac 30663 30664 30665ltmain="$ac_aux_dir/ltmain.sh" 30666 30667 30668 # We use sed instead of cat because bash on DJGPP gets confused if 30669 # if finds mixed CR/LF and LF-only lines. Since sed operates in 30670 # text mode, it properly converts lines to CR/LF. This bash problem 30671 # is reportedly fixed, but why not run on old versions too? 30672 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 30673 || (rm -f "$cfgfile"; exit 1) 30674 30675 case $xsi_shell in 30676 yes) 30677 cat << \_LT_EOF >> "$cfgfile" 30678 30679# func_dirname file append nondir_replacement 30680# Compute the dirname of FILE. If nonempty, add APPEND to the result, 30681# otherwise set result to NONDIR_REPLACEMENT. 30682func_dirname () 30683{ 30684 case ${1} in 30685 */*) func_dirname_result="${1%/*}${2}" ;; 30686 * ) func_dirname_result="${3}" ;; 30687 esac 30688} 30689 30690# func_basename file 30691func_basename () 30692{ 30693 func_basename_result="${1##*/}" 30694} 30695 30696# func_dirname_and_basename file append nondir_replacement 30697# perform func_basename and func_dirname in a single function 30698# call: 30699# dirname: Compute the dirname of FILE. If nonempty, 30700# add APPEND to the result, otherwise set result 30701# to NONDIR_REPLACEMENT. 30702# value returned in "$func_dirname_result" 30703# basename: Compute filename of FILE. 30704# value retuned in "$func_basename_result" 30705# Implementation must be kept synchronized with func_dirname 30706# and func_basename. For efficiency, we do not delegate to 30707# those functions but instead duplicate the functionality here. 30708func_dirname_and_basename () 30709{ 30710 case ${1} in 30711 */*) func_dirname_result="${1%/*}${2}" ;; 30712 * ) func_dirname_result="${3}" ;; 30713 esac 30714 func_basename_result="${1##*/}" 30715} 30716 30717# func_stripname prefix suffix name 30718# strip PREFIX and SUFFIX off of NAME. 30719# PREFIX and SUFFIX must not contain globbing or regex special 30720# characters, hashes, percent signs, but SUFFIX may contain a leading 30721# dot (in which case that matches only a dot). 30722func_stripname () 30723{ 30724 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 30725 # positional parameters, so assign one to ordinary parameter first. 30726 func_stripname_result=${3} 30727 func_stripname_result=${func_stripname_result#"${1}"} 30728 func_stripname_result=${func_stripname_result%"${2}"} 30729} 30730 30731# func_opt_split 30732func_opt_split () 30733{ 30734 func_opt_split_opt=${1%%=*} 30735 func_opt_split_arg=${1#*=} 30736} 30737 30738# func_lo2o object 30739func_lo2o () 30740{ 30741 case ${1} in 30742 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 30743 *) func_lo2o_result=${1} ;; 30744 esac 30745} 30746 30747# func_xform libobj-or-source 30748func_xform () 30749{ 30750 func_xform_result=${1%.*}.lo 30751} 30752 30753# func_arith arithmetic-term... 30754func_arith () 30755{ 30756 func_arith_result=$(( $* )) 30757} 30758 30759# func_len string 30760# STRING may not start with a hyphen. 30761func_len () 30762{ 30763 func_len_result=${#1} 30764} 30765 30766_LT_EOF 30767 ;; 30768 *) # Bourne compatible functions. 30769 cat << \_LT_EOF >> "$cfgfile" 30770 30771# func_dirname file append nondir_replacement 30772# Compute the dirname of FILE. If nonempty, add APPEND to the result, 30773# otherwise set result to NONDIR_REPLACEMENT. 30774func_dirname () 30775{ 30776 # Extract subdirectory from the argument. 30777 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` 30778 if test "X$func_dirname_result" = "X${1}"; then 30779 func_dirname_result="${3}" 30780 else 30781 func_dirname_result="$func_dirname_result${2}" 30782 fi 30783} 30784 30785# func_basename file 30786func_basename () 30787{ 30788 func_basename_result=`$ECHO "${1}" | $SED "$basename"` 30789} 30790 30791 30792# func_stripname prefix suffix name 30793# strip PREFIX and SUFFIX off of NAME. 30794# PREFIX and SUFFIX must not contain globbing or regex special 30795# characters, hashes, percent signs, but SUFFIX may contain a leading 30796# dot (in which case that matches only a dot). 30797# func_strip_suffix prefix name 30798func_stripname () 30799{ 30800 case ${2} in 30801 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 30802 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 30803 esac 30804} 30805 30806# sed scripts: 30807my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 30808my_sed_long_arg='1s/^-[^=]*=//' 30809 30810# func_opt_split 30811func_opt_split () 30812{ 30813 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` 30814 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` 30815} 30816 30817# func_lo2o object 30818func_lo2o () 30819{ 30820 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` 30821} 30822 30823# func_xform libobj-or-source 30824func_xform () 30825{ 30826 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` 30827} 30828 30829# func_arith arithmetic-term... 30830func_arith () 30831{ 30832 func_arith_result=`expr "$@"` 30833} 30834 30835# func_len string 30836# STRING may not start with a hyphen. 30837func_len () 30838{ 30839 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 30840} 30841 30842_LT_EOF 30843esac 30844 30845case $lt_shell_append in 30846 yes) 30847 cat << \_LT_EOF >> "$cfgfile" 30848 30849# func_append var value 30850# Append VALUE to the end of shell variable VAR. 30851func_append () 30852{ 30853 eval "$1+=\$2" 30854} 30855_LT_EOF 30856 ;; 30857 *) 30858 cat << \_LT_EOF >> "$cfgfile" 30859 30860# func_append var value 30861# Append VALUE to the end of shell variable VAR. 30862func_append () 30863{ 30864 eval "$1=\$$1\$2" 30865} 30866 30867_LT_EOF 30868 ;; 30869 esac 30870 30871 30872 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 30873 || (rm -f "$cfgfile"; exit 1) 30874 30875 mv -f "$cfgfile" "$ofile" || 30876 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 30877 chmod +x "$ofile" 30878 30879 30880 cat <<_LT_EOF >> "$ofile" 30881 30882# ### BEGIN LIBTOOL TAG CONFIG: FC 30883 30884# The linker used to build libraries. 30885LD=$lt_LD_FC 30886 30887# How to create reloadable object files. 30888reload_flag=$lt_reload_flag_FC 30889reload_cmds=$lt_reload_cmds_FC 30890 30891# Commands used to build an old-style archive. 30892old_archive_cmds=$lt_old_archive_cmds_FC 30893 30894# A language specific compiler. 30895CC=$lt_compiler_FC 30896 30897# Is the compiler the GNU compiler? 30898with_gcc=$GCC_FC 30899 30900# Compiler flag to turn off builtin functions. 30901no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC 30902 30903# How to pass a linker flag through the compiler. 30904wl=$lt_lt_prog_compiler_wl_FC 30905 30906# Additional compiler flags for building library objects. 30907pic_flag=$lt_lt_prog_compiler_pic_FC 30908 30909# Compiler flag to prevent dynamic linking. 30910link_static_flag=$lt_lt_prog_compiler_static_FC 30911 30912# Does compiler simultaneously support -c and -o options? 30913compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC 30914 30915# Whether or not to add -lc for building shared libraries. 30916build_libtool_need_lc=$archive_cmds_need_lc_FC 30917 30918# Whether or not to disallow shared libs when runtime libs are static. 30919allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC 30920 30921# Compiler flag to allow reflexive dlopens. 30922export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC 30923 30924# Compiler flag to generate shared objects directly from archives. 30925whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC 30926 30927# Whether the compiler copes with passing no objects directly. 30928compiler_needs_object=$lt_compiler_needs_object_FC 30929 30930# Create an old-style archive from a shared archive. 30931old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC 30932 30933# Create a temporary old-style archive to link instead of a shared archive. 30934old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC 30935 30936# Commands used to build a shared archive. 30937archive_cmds=$lt_archive_cmds_FC 30938archive_expsym_cmds=$lt_archive_expsym_cmds_FC 30939 30940# Commands used to build a loadable module if different from building 30941# a shared archive. 30942module_cmds=$lt_module_cmds_FC 30943module_expsym_cmds=$lt_module_expsym_cmds_FC 30944 30945# Whether we are building with GNU ld or not. 30946with_gnu_ld=$lt_with_gnu_ld_FC 30947 30948# Flag that allows shared libraries with undefined symbols to be built. 30949allow_undefined_flag=$lt_allow_undefined_flag_FC 30950 30951# Flag that enforces no undefined symbols. 30952no_undefined_flag=$lt_no_undefined_flag_FC 30953 30954# Flag to hardcode \$libdir into a binary during linking. 30955# This must work even if \$libdir does not exist 30956hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC 30957 30958# If ld is used when linking, flag to hardcode \$libdir into a binary 30959# during linking. This must work even if \$libdir does not exist. 30960hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC 30961 30962# Whether we need a single "-rpath" flag with a separated argument. 30963hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC 30964 30965# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 30966# DIR into the resulting binary. 30967hardcode_direct=$hardcode_direct_FC 30968 30969# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 30970# DIR into the resulting binary and the resulting library dependency is 30971# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 30972# library is relocated. 30973hardcode_direct_absolute=$hardcode_direct_absolute_FC 30974 30975# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 30976# into the resulting binary. 30977hardcode_minus_L=$hardcode_minus_L_FC 30978 30979# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 30980# into the resulting binary. 30981hardcode_shlibpath_var=$hardcode_shlibpath_var_FC 30982 30983# Set to "yes" if building a shared library automatically hardcodes DIR 30984# into the library and all subsequent libraries and executables linked 30985# against it. 30986hardcode_automatic=$hardcode_automatic_FC 30987 30988# Set to yes if linker adds runtime paths of dependent libraries 30989# to runtime path list. 30990inherit_rpath=$inherit_rpath_FC 30991 30992# Whether libtool must link a program against all its dependency libraries. 30993link_all_deplibs=$link_all_deplibs_FC 30994 30995# Fix the shell variable \$srcfile for the compiler. 30996fix_srcfile_path=$lt_fix_srcfile_path_FC 30997 30998# Set to "yes" if exported symbols are required. 30999always_export_symbols=$always_export_symbols_FC 31000 31001# The commands to list exported symbols. 31002export_symbols_cmds=$lt_export_symbols_cmds_FC 31003 31004# Symbols that should not be listed in the preloaded symbols. 31005exclude_expsyms=$lt_exclude_expsyms_FC 31006 31007# Symbols that must always be exported. 31008include_expsyms=$lt_include_expsyms_FC 31009 31010# Commands necessary for linking programs (against libraries) with templates. 31011prelink_cmds=$lt_prelink_cmds_FC 31012 31013# Specify filename containing input files. 31014file_list_spec=$lt_file_list_spec_FC 31015 31016# How to hardcode a shared library path into an executable. 31017hardcode_action=$hardcode_action_FC 31018 31019# The directories searched by this compiler when creating a shared library. 31020compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC 31021 31022# Dependencies to place before and after the objects being linked to 31023# create a shared library. 31024predep_objects=$lt_predep_objects_FC 31025postdep_objects=$lt_postdep_objects_FC 31026predeps=$lt_predeps_FC 31027postdeps=$lt_postdeps_FC 31028 31029# The library search path used internally by the compiler when linking 31030# a shared library. 31031compiler_lib_search_path=$lt_compiler_lib_search_path_FC 31032 31033# ### END LIBTOOL TAG CONFIG: FC 31034_LT_EOF 31035 31036 ;; 31037 "gstdint.h":C) 31038if test "$GCC" = yes; then 31039 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h 31040else 31041 echo "/* generated for $CC */" > tmp-stdint.h 31042fi 31043 31044sed 's/^ *//' >> tmp-stdint.h <<EOF 31045 31046 #ifndef GCC_GENERATED_STDINT_H 31047 #define GCC_GENERATED_STDINT_H 1 31048 31049 #include <sys/types.h> 31050EOF 31051 31052if test "$acx_cv_header_stdint" != stdint.h; then 31053 echo "#include <stddef.h>" >> tmp-stdint.h 31054fi 31055if test "$acx_cv_header_stdint" != stddef.h; then 31056 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h 31057fi 31058 31059sed 's/^ *//' >> tmp-stdint.h <<EOF 31060 /* glibc uses these symbols as guards to prevent redefinitions. */ 31061 #ifdef __int8_t_defined 31062 #define _INT8_T 31063 #define _INT16_T 31064 #define _INT32_T 31065 #endif 31066 #ifdef __uint32_t_defined 31067 #define _UINT32_T 31068 #endif 31069 31070EOF 31071 31072# ----------------- done header, emit basic int types ------------- 31073if test "$acx_cv_header_stdint" = stddef.h; then 31074 sed 's/^ *//' >> tmp-stdint.h <<EOF 31075 31076 #ifndef _UINT8_T 31077 #define _UINT8_T 31078 #ifndef __uint8_t_defined 31079 #define __uint8_t_defined 31080 #ifndef uint8_t 31081 typedef unsigned $acx_cv_type_int8_t uint8_t; 31082 #endif 31083 #endif 31084 #endif 31085 31086 #ifndef _UINT16_T 31087 #define _UINT16_T 31088 #ifndef __uint16_t_defined 31089 #define __uint16_t_defined 31090 #ifndef uint16_t 31091 typedef unsigned $acx_cv_type_int16_t uint16_t; 31092 #endif 31093 #endif 31094 #endif 31095 31096 #ifndef _UINT32_T 31097 #define _UINT32_T 31098 #ifndef __uint32_t_defined 31099 #define __uint32_t_defined 31100 #ifndef uint32_t 31101 typedef unsigned $acx_cv_type_int32_t uint32_t; 31102 #endif 31103 #endif 31104 #endif 31105 31106 #ifndef _INT8_T 31107 #define _INT8_T 31108 #ifndef __int8_t_defined 31109 #define __int8_t_defined 31110 #ifndef int8_t 31111 typedef $acx_cv_type_int8_t int8_t; 31112 #endif 31113 #endif 31114 #endif 31115 31116 #ifndef _INT16_T 31117 #define _INT16_T 31118 #ifndef __int16_t_defined 31119 #define __int16_t_defined 31120 #ifndef int16_t 31121 typedef $acx_cv_type_int16_t int16_t; 31122 #endif 31123 #endif 31124 #endif 31125 31126 #ifndef _INT32_T 31127 #define _INT32_T 31128 #ifndef __int32_t_defined 31129 #define __int32_t_defined 31130 #ifndef int32_t 31131 typedef $acx_cv_type_int32_t int32_t; 31132 #endif 31133 #endif 31134 #endif 31135EOF 31136elif test "$ac_cv_type_u_int32_t" = yes; then 31137 sed 's/^ *//' >> tmp-stdint.h <<EOF 31138 31139 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */ 31140 #ifndef _INT8_T 31141 #define _INT8_T 31142 #endif 31143 #ifndef _INT16_T 31144 #define _INT16_T 31145 #endif 31146 #ifndef _INT32_T 31147 #define _INT32_T 31148 #endif 31149 31150 #ifndef _UINT8_T 31151 #define _UINT8_T 31152 #ifndef __uint8_t_defined 31153 #define __uint8_t_defined 31154 #ifndef uint8_t 31155 typedef u_int8_t uint8_t; 31156 #endif 31157 #endif 31158 #endif 31159 31160 #ifndef _UINT16_T 31161 #define _UINT16_T 31162 #ifndef __uint16_t_defined 31163 #define __uint16_t_defined 31164 #ifndef uint16_t 31165 typedef u_int16_t uint16_t; 31166 #endif 31167 #endif 31168 #endif 31169 31170 #ifndef _UINT32_T 31171 #define _UINT32_T 31172 #ifndef __uint32_t_defined 31173 #define __uint32_t_defined 31174 #ifndef uint32_t 31175 typedef u_int32_t uint32_t; 31176 #endif 31177 #endif 31178 #endif 31179EOF 31180else 31181 sed 's/^ *//' >> tmp-stdint.h <<EOF 31182 31183 /* Some systems have guard macros to prevent redefinitions, define them. */ 31184 #ifndef _INT8_T 31185 #define _INT8_T 31186 #endif 31187 #ifndef _INT16_T 31188 #define _INT16_T 31189 #endif 31190 #ifndef _INT32_T 31191 #define _INT32_T 31192 #endif 31193 #ifndef _UINT8_T 31194 #define _UINT8_T 31195 #endif 31196 #ifndef _UINT16_T 31197 #define _UINT16_T 31198 #endif 31199 #ifndef _UINT32_T 31200 #define _UINT32_T 31201 #endif 31202EOF 31203fi 31204 31205# ------------- done basic int types, emit int64_t types ------------ 31206if test "$ac_cv_type_uint64_t" = yes; then 31207 sed 's/^ *//' >> tmp-stdint.h <<EOF 31208 31209 /* system headers have good uint64_t and int64_t */ 31210 #ifndef _INT64_T 31211 #define _INT64_T 31212 #endif 31213 #ifndef _UINT64_T 31214 #define _UINT64_T 31215 #endif 31216EOF 31217elif test "$ac_cv_type_u_int64_t" = yes; then 31218 sed 's/^ *//' >> tmp-stdint.h <<EOF 31219 31220 /* system headers have an u_int64_t (and int64_t) */ 31221 #ifndef _INT64_T 31222 #define _INT64_T 31223 #endif 31224 #ifndef _UINT64_T 31225 #define _UINT64_T 31226 #ifndef __uint64_t_defined 31227 #define __uint64_t_defined 31228 #ifndef uint64_t 31229 typedef u_int64_t uint64_t; 31230 #endif 31231 #endif 31232 #endif 31233EOF 31234elif test -n "$acx_cv_type_int64_t"; then 31235 sed 's/^ *//' >> tmp-stdint.h <<EOF 31236 31237 /* architecture has a 64-bit type, $acx_cv_type_int64_t */ 31238 #ifndef _INT64_T 31239 #define _INT64_T 31240 #ifndef int64_t 31241 typedef $acx_cv_type_int64_t int64_t; 31242 #endif 31243 #endif 31244 #ifndef _UINT64_T 31245 #define _UINT64_T 31246 #ifndef __uint64_t_defined 31247 #define __uint64_t_defined 31248 #ifndef uint64_t 31249 typedef unsigned $acx_cv_type_int64_t uint64_t; 31250 #endif 31251 #endif 31252 #endif 31253EOF 31254else 31255 sed 's/^ *//' >> tmp-stdint.h <<EOF 31256 31257 /* some common heuristics for int64_t, using compiler-specific tests */ 31258 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L 31259 #ifndef _INT64_T 31260 #define _INT64_T 31261 #ifndef __int64_t_defined 31262 #ifndef int64_t 31263 typedef long long int64_t; 31264 #endif 31265 #endif 31266 #endif 31267 #ifndef _UINT64_T 31268 #define _UINT64_T 31269 #ifndef uint64_t 31270 typedef unsigned long long uint64_t; 31271 #endif 31272 #endif 31273 31274 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0 31275 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and 31276 does not implement __extension__. But that compiler doesn't define 31277 __GNUC_MINOR__. */ 31278 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__) 31279 # define __extension__ 31280 # endif 31281 31282 # ifndef _INT64_T 31283 # define _INT64_T 31284 # ifndef int64_t 31285 __extension__ typedef long long int64_t; 31286 # endif 31287 # endif 31288 # ifndef _UINT64_T 31289 # define _UINT64_T 31290 # ifndef uint64_t 31291 __extension__ typedef unsigned long long uint64_t; 31292 # endif 31293 # endif 31294 31295 #elif !defined __STRICT_ANSI__ 31296 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__ 31297 31298 # ifndef _INT64_T 31299 # define _INT64_T 31300 # ifndef int64_t 31301 typedef __int64 int64_t; 31302 # endif 31303 # endif 31304 # ifndef _UINT64_T 31305 # define _UINT64_T 31306 # ifndef uint64_t 31307 typedef unsigned __int64 uint64_t; 31308 # endif 31309 # endif 31310 # endif /* compiler */ 31311 31312 #endif /* ANSI version */ 31313EOF 31314fi 31315 31316# ------------- done int64_t types, emit intptr types ------------ 31317if test "$ac_cv_type_uintptr_t" != yes; then 31318 sed 's/^ *//' >> tmp-stdint.h <<EOF 31319 31320 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */ 31321 #ifndef __uintptr_t_defined 31322 #ifndef uintptr_t 31323 typedef u$acx_cv_type_intptr_t uintptr_t; 31324 #endif 31325 #endif 31326 #ifndef __intptr_t_defined 31327 #ifndef intptr_t 31328 typedef $acx_cv_type_intptr_t intptr_t; 31329 #endif 31330 #endif 31331EOF 31332fi 31333 31334# ------------- done intptr types, emit int_least types ------------ 31335if test "$ac_cv_type_int_least32_t" != yes; then 31336 sed 's/^ *//' >> tmp-stdint.h <<EOF 31337 31338 /* Define int_least types */ 31339 typedef int8_t int_least8_t; 31340 typedef int16_t int_least16_t; 31341 typedef int32_t int_least32_t; 31342 #ifdef _INT64_T 31343 typedef int64_t int_least64_t; 31344 #endif 31345 31346 typedef uint8_t uint_least8_t; 31347 typedef uint16_t uint_least16_t; 31348 typedef uint32_t uint_least32_t; 31349 #ifdef _UINT64_T 31350 typedef uint64_t uint_least64_t; 31351 #endif 31352EOF 31353fi 31354 31355# ------------- done intptr types, emit int_fast types ------------ 31356if test "$ac_cv_type_int_fast32_t" != yes; then 31357 sed 's/^ *//' >> tmp-stdint.h <<EOF 31358 31359 /* Define int_fast types. short is often slow */ 31360 typedef int8_t int_fast8_t; 31361 typedef int int_fast16_t; 31362 typedef int32_t int_fast32_t; 31363 #ifdef _INT64_T 31364 typedef int64_t int_fast64_t; 31365 #endif 31366 31367 typedef uint8_t uint_fast8_t; 31368 typedef unsigned int uint_fast16_t; 31369 typedef uint32_t uint_fast32_t; 31370 #ifdef _UINT64_T 31371 typedef uint64_t uint_fast64_t; 31372 #endif 31373EOF 31374fi 31375 31376if test "$ac_cv_type_uintmax_t" != yes; then 31377 sed 's/^ *//' >> tmp-stdint.h <<EOF 31378 31379 /* Define intmax based on what we found */ 31380 #ifndef intmax_t 31381 #ifdef _INT64_T 31382 typedef int64_t intmax_t; 31383 #else 31384 typedef long intmax_t; 31385 #endif 31386 #endif 31387 #ifndef uintmax_t 31388 #ifdef _UINT64_T 31389 typedef uint64_t uintmax_t; 31390 #else 31391 typedef unsigned long uintmax_t; 31392 #endif 31393 #endif 31394EOF 31395fi 31396 31397sed 's/^ *//' >> tmp-stdint.h <<EOF 31398 31399 #endif /* GCC_GENERATED_STDINT_H */ 31400EOF 31401 31402if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then 31403 rm -f tmp-stdint.h 31404else 31405 mv -f tmp-stdint.h gstdint.h 31406fi 31407 31408 ;; 31409 31410 esac 31411done # for ac_tag 31412 31413 31414as_fn_exit 0 31415_ACEOF 31416ac_clean_files=$ac_clean_files_save 31417 31418test $ac_write_fail = 0 || 31419 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 31420 31421 31422# configure is writing to config.log, and then calls config.status. 31423# config.status does its own redirection, appending to config.log. 31424# Unfortunately, on DOS this fails, as config.log is still kept open 31425# by configure, so config.status won't be able to write to it; its 31426# output is simply discarded. So we exec the FD to /dev/null, 31427# effectively closing config.log, so it can be properly (re)opened and 31428# appended to by config.status. When coming back to configure, we 31429# need to make the FD available again. 31430if test "$no_create" != yes; then 31431 ac_cs_success=: 31432 ac_config_status_args= 31433 test "$silent" = yes && 31434 ac_config_status_args="$ac_config_status_args --quiet" 31435 exec 5>/dev/null 31436 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 31437 exec 5>>config.log 31438 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 31439 # would make configure fail if this is the last instruction. 31440 $ac_cs_success || as_fn_exit 1 31441fi 31442if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 31443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 31444$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 31445fi 31446 31447