| 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 |
| 16 | DUALCASE=1; export DUALCASE # for MKS sh |
| 17 | if 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 |
| 24 | else |
| 25 | case `(set -o) 2>/dev/null` in #( |
| 26 | *posix*) : |
| 27 | set -o posix ;; #( |
| 28 | *) : |
| 29 | ;; |
| 30 | esac |
| 31 | fi |
| 32 | |
| 33 | |
| 34 | as_nl=' |
| 35 | ' |
| 36 | export as_nl |
| 37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 40 | as_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. |
| 43 | if 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 --' |
| 47 | elif (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' |
| 50 | else |
| 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' |
| 70 | fi |
| 71 | |
| 72 | # The user is always right. |
| 73 | if 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 | } |
| 79 | fi |
| 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.) |
| 87 | IFS=" "" $as_nl" |
| 88 | |
| 89 | # Find who we are. Look in the path if we contain no directory separator. |
| 90 | as_myself= |
| 91 | case $0 in #(( |
| 92 | *[\\/]* ) as_myself=$0 ;; |
| 93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 94 | for as_dir in $PATH |
| 95 | do |
| 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 |
| 100 | IFS=$as_save_IFS |
| 101 | |
| 102 | ;; |
| 103 | esac |
| 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. |
| 106 | if test "x$as_myself" = x; then |
| 107 | as_myself=$0 |
| 108 | fi |
| 109 | if test ! -f "$as_myself"; then |
| 110 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 111 | exit 1 |
| 112 | fi |
| 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. |
| 118 | for as_var in BASH_ENV ENV MAIL MAILPATH |
| 119 | do eval test x\${$as_var+set} = xset \ |
| 120 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 121 | done |
| 122 | PS1='$ ' |
| 123 | PS2='> ' |
| 124 | PS4='+ ' |
| 125 | |
| 126 | # NLS nuisances. |
| 127 | LC_ALL=C |
| 128 | export LC_ALL |
| 129 | LANGUAGE=C |
| 130 | export 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. |
| 143 | BASH_ENV=/dev/null |
| 144 | ENV=/dev/null |
| 145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 146 | case $- in # (((( |
| 147 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 148 | *v* ) as_opts=-v ;; |
| 149 | *x* ) as_opts=-x ;; |
| 150 | * ) as_opts= ;; |
| 151 | esac |
| 152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 153 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 154 | # out after a failed `exec'. |
| 155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 156 | as_fn_exit 255 |
| 157 | fi |
| 158 | # We don't want this to propagate to other subprocesses. |
| 159 | { _as_can_reexec=; unset _as_can_reexec;} |
| 160 | if 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 |
| 168 | else |
| 169 | case \`(set -o) 2>/dev/null\` in #( |
| 170 | *posix*) : |
| 171 | set -o posix ;; #( |
| 172 | *) : |
| 173 | ;; |
| 174 | esac |
| 175 | fi |
| 176 | " |
| 177 | as_required="as_fn_return () { (exit \$1); } |
| 178 | as_fn_success () { as_fn_return 0; } |
| 179 | as_fn_failure () { as_fn_return 1; } |
| 180 | as_fn_ret_success () { return 0; } |
| 181 | as_fn_ret_failure () { return 1; } |
| 182 | |
| 183 | exitcode=0 |
| 184 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 185 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 186 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 187 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
| 189 | |
| 190 | else |
| 191 | exitcode=1; echo positional parameters were not saved. |
| 192 | fi |
| 193 | test x\$exitcode = x0 || exit 1 |
| 194 | test -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 |
| 199 | test \$(( 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 |
| 210 | else |
| 211 | as_have_required=no |
| 212 | fi |
| 213 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
| 214 | |
| 215 | else |
| 216 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 217 | as_found=false |
| 218 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 219 | do |
| 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 |
| 233 | fi |
| 234 | fi |
| 235 | done;; |
| 236 | esac |
| 237 | as_found=false |
| 238 | done |
| 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 |
| 242 | fi; } |
| 243 | IFS=$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. |
| 252 | BASH_ENV=/dev/null |
| 253 | ENV=/dev/null |
| 254 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 255 | case $- in # (((( |
| 256 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 257 | *v* ) as_opts=-v ;; |
| 258 | *x* ) as_opts=-x ;; |
| 259 | * ) as_opts= ;; |
| 260 | esac |
| 261 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 262 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 263 | # out after a failed `exec'. |
| 264 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 265 | exit 255 |
| 266 | fi |
| 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 [email protected] 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 |
| 281 | fi |
| 282 | fi |
| 283 | fi |
| 284 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 285 | export SHELL |
| 286 | # Unset more variables known to interfere with behavior of common tools. |
| 287 | CLICOLOR_FORCE= GREP_OPTIONS= |
| 288 | unset CLICOLOR_FORCE GREP_OPTIONS |
| 289 | |
| 290 | ## --------------------- ## |
| 291 | ## M4sh Shell Functions. ## |
| 292 | ## --------------------- ## |
| 293 | # as_fn_unset VAR |
| 294 | # --------------- |
| 295 | # Portably unset VAR. |
| 296 | as_fn_unset () |
| 297 | { |
| 298 | { eval $1=; unset $1;} |
| 299 | } |
| 300 | as_unset=as_fn_unset |
| 301 | |
| 302 | # as_fn_set_status STATUS |
| 303 | # ----------------------- |
| 304 | # Set $? to STATUS, without forking. |
| 305 | as_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. |
| 313 | as_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. |
| 323 | as_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. |
| 371 | as_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. |
| 381 | if (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 | }' |
| 386 | else |
| 387 | as_fn_append () |
| 388 | { |
| 389 | eval $1=\$$1\$2 |
| 390 | } |
| 391 | fi # 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. |
| 398 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 399 | eval 'as_fn_arith () |
| 400 | { |
| 401 | as_val=$(( $* )) |
| 402 | }' |
| 403 | else |
| 404 | as_fn_arith () |
| 405 | { |
| 406 | as_val=`expr "$@" || test $? -eq 1` |
| 407 | } |
| 408 | fi # 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. |
| 416 | as_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 | |
| 427 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 428 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 429 | as_expr=expr |
| 430 | else |
| 431 | as_expr=false |
| 432 | fi |
| 433 | |
| 434 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 435 | as_basename=basename |
| 436 | else |
| 437 | as_basename=false |
| 438 | fi |
| 439 | |
| 440 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 441 | as_dirname=dirname |
| 442 | else |
| 443 | as_dirname=false |
| 444 | fi |
| 445 | |
| 446 | as_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. |
| 466 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 467 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 468 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 469 | as_cr_digits='0123456789' |
| 470 | as_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 | |
| 508 | ECHO_C= ECHO_N= ECHO_T= |
| 509 | case `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';; |
| 519 | esac |
| 520 | |
| 521 | rm -f conf$$ conf$$.exe conf$$.file |
| 522 | if test -d conf$$.dir; then |
| 523 | rm -f conf$$.dir/conf$$.file |
| 524 | else |
| 525 | rm -f conf$$.dir |
| 526 | mkdir conf$$.dir 2>/dev/null |
| 527 | fi |
| 528 | if (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 |
| 542 | else |
| 543 | as_ln_s='cp -pR' |
| 544 | fi |
| 545 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 546 | rmdir conf$$.dir 2>/dev/null |
| 547 | |
| 548 | if mkdir -p . 2>/dev/null; then |
| 549 | as_mkdir_p='mkdir -p "$as_dir"' |
| 550 | else |
| 551 | test -d ./-p && rmdir ./-p |
| 552 | as_mkdir_p=false |
| 553 | fi |
| 554 | |
| 555 | as_test_x='test -x' |
| 556 | as_executable_p=as_fn_executable_p |
| 557 | |
| 558 | # Sed expression to map a string onto a valid CPP name. |
| 559 | as_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. |
| 562 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 563 | |
| 564 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 565 | |
| 566 | |
| 567 | test -n "$DJDIR" || exec 7<&0 </dev/null |
| 568 | exec 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. |
| 573 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 574 | |
| 575 | # |
| 576 | # Initializations. |
| 577 | # |
| 578 | ac_default_prefix=/usr/local |
| 579 | ac_clean_files= |
| 580 | ac_config_libobj_dir=. |
| 581 | LIBOBJS= |
| 582 | cross_compiling=no |
| 583 | subdirs= |
| 584 | MFLAGS= |
| 585 | MAKEFLAGS= |
| 586 | |
| 587 | # Identity of this package. |
| 588 | PACKAGE_NAME='GNU Fortran Runtime Library' |
| 589 | PACKAGE_TARNAME='libgfortran' |
| 590 | PACKAGE_VERSION='0.3' |
| 591 | PACKAGE_STRING='GNU Fortran Runtime Library 0.3' |
| 592 | PACKAGE_BUGREPORT='' |
| 593 | PACKAGE_URL='http://www.gnu.org/software/libgfortran/' |
| 594 | |
| 595 | # Factoring default headers for most tests. |
| 596 | ac_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 | |
| 631 | ac_header_list= |
| 632 | ac_func_list= |
| 633 | ac_c_werror_flag= |
| 634 | ac_c_werror_flag= |
| 635 | ac_subst_vars='am__EXEEXT_FALSE |
| 636 | am__EXEEXT_TRUE |
| 637 | LTLIBOBJS |
| 638 | LIBOBJS |
| 639 | get_gcc_base_ver |
| 640 | HAVE_AVX128_FALSE |
| 641 | HAVE_AVX128_TRUE |
| 642 | tmake_file |
| 643 | IEEE_FLAGS |
| 644 | IEEE_SUPPORT |
| 645 | IEEE_SUPPORT_FALSE |
| 646 | IEEE_SUPPORT_TRUE |
| 647 | FPU_HOST_HEADER |
| 648 | USE_IEC_60559 |
| 649 | LIBQUADINCLUDE |
| 650 | LIBQUADLIB_DEP |
| 651 | LIBQUADLIB |
| 652 | LIBQUADSPEC |
| 653 | extra_ldflags_libgfortran |
| 654 | ac_ct_FC |
| 655 | FCFLAGS |
| 656 | FC |
| 657 | ENABLE_DARWIN_AT_RPATH_FALSE |
| 658 | ENABLE_DARWIN_AT_RPATH_TRUE |
| 659 | enable_static |
| 660 | enable_shared |
| 661 | lt_host_flags |
| 662 | LIBM |
| 663 | OTOOL64 |
| 664 | OTOOL |
| 665 | LIPO |
| 666 | NMEDIT |
| 667 | DSYMUTIL |
| 668 | OBJDUMP |
| 669 | LN_S |
| 670 | NM |
| 671 | ac_ct_DUMPBIN |
| 672 | DUMPBIN |
| 673 | LIBTOOL |
| 674 | RANLIB |
| 675 | AR |
| 676 | AS |
| 677 | HAVE_HWCAP_FALSE |
| 678 | HAVE_HWCAP_TRUE |
| 679 | HWCAP_LDFLAGS |
| 680 | LD |
| 681 | FGREP |
| 682 | SED |
| 683 | SECTION_FLAGS |
| 684 | LIBGOMP_CHECKED_REAL_KINDS |
| 685 | LIBGOMP_CHECKED_INT_KINDS |
| 686 | LIBGFOR_MINIMAL_FALSE |
| 687 | LIBGFOR_MINIMAL_TRUE |
| 688 | LIBGFOR_USE_SYMVER_SUN_FALSE |
| 689 | LIBGFOR_USE_SYMVER_SUN_TRUE |
| 690 | LIBGFOR_USE_SYMVER_GNU_FALSE |
| 691 | LIBGFOR_USE_SYMVER_GNU_TRUE |
| 692 | LIBGFOR_USE_SYMVER_FALSE |
| 693 | LIBGFOR_USE_SYMVER_TRUE |
| 694 | AM_CFLAGS |
| 695 | AM_FCFLAGS |
| 696 | HAVE_REAL_17_FALSE |
| 697 | HAVE_REAL_17_TRUE |
| 698 | toolexeclibdir |
| 699 | toolexecdir |
| 700 | EGREP |
| 701 | GREP |
| 702 | CPP |
| 703 | am__fastdepCC_FALSE |
| 704 | am__fastdepCC_TRUE |
| 705 | CCDEPMODE |
| 706 | am__nodep |
| 707 | AMDEPBACKSLASH |
| 708 | AMDEP_FALSE |
| 709 | AMDEP_TRUE |
| 710 | am__quote |
| 711 | am__include |
| 712 | DEPDIR |
| 713 | OBJEXT |
| 714 | EXEEXT |
| 715 | ac_ct_CC |
| 716 | CPPFLAGS |
| 717 | LDFLAGS |
| 718 | CFLAGS |
| 719 | CC |
| 720 | multi_basedir |
| 721 | MAINT |
| 722 | MAINTAINER_MODE_FALSE |
| 723 | MAINTAINER_MODE_TRUE |
| 724 | AM_BACKSLASH |
| 725 | AM_DEFAULT_VERBOSITY |
| 726 | AM_DEFAULT_V |
| 727 | AM_V |
| 728 | am__untar |
| 729 | am__tar |
| 730 | AMTAR |
| 731 | am__leading_dot |
| 732 | SET_MAKE |
| 733 | AWK |
| 734 | mkdir_p |
| 735 | MKDIR_P |
| 736 | INSTALL_STRIP_PROGRAM |
| 737 | STRIP |
| 738 | install_sh |
| 739 | MAKEINFO |
| 740 | AUTOHEADER |
| 741 | AUTOMAKE |
| 742 | AUTOCONF |
| 743 | ACLOCAL |
| 744 | VERSION |
| 745 | PACKAGE |
| 746 | CYGPATH_W |
| 747 | am__isrc |
| 748 | INSTALL_DATA |
| 749 | INSTALL_SCRIPT |
| 750 | INSTALL_PROGRAM |
| 751 | target_noncanonical |
| 752 | target_os |
| 753 | target_vendor |
| 754 | target_cpu |
| 755 | target |
| 756 | host_os |
| 757 | host_vendor |
| 758 | host_cpu |
| 759 | host |
| 760 | target_subdir |
| 761 | host_subdir |
| 762 | build_subdir |
| 763 | build_libsubdir |
| 764 | build_os |
| 765 | build_vendor |
| 766 | build_cpu |
| 767 | build |
| 768 | target_alias |
| 769 | host_alias |
| 770 | build_alias |
| 771 | LIBS |
| 772 | ECHO_T |
| 773 | ECHO_N |
| 774 | ECHO_C |
| 775 | DEFS |
| 776 | mandir |
| 777 | localedir |
| 778 | libdir |
| 779 | psdir |
| 780 | pdfdir |
| 781 | dvidir |
| 782 | htmldir |
| 783 | infodir |
| 784 | docdir |
| 785 | oldincludedir |
| 786 | includedir |
| 787 | localstatedir |
| 788 | sharedstatedir |
| 789 | sysconfdir |
| 790 | datadir |
| 791 | datarootdir |
| 792 | libexecdir |
| 793 | sbindir |
| 794 | bindir |
| 795 | program_transform_name |
| 796 | prefix |
| 797 | exec_prefix |
| 798 | PACKAGE_URL |
| 799 | PACKAGE_BUGREPORT |
| 800 | PACKAGE_STRING |
| 801 | PACKAGE_VERSION |
| 802 | PACKAGE_TARNAME |
| 803 | PACKAGE_NAME |
| 804 | PATH_SEPARATOR |
| 805 | SHELL' |
| 806 | ac_subst_files='' |
| 807 | ac_user_opts=' |
| 808 | enable_option_checking |
| 809 | with_build_libsubdir |
| 810 | enable_version_specific_runtime_libs |
| 811 | enable_silent_rules |
| 812 | enable_maintainer_mode |
| 813 | enable_multilib |
| 814 | enable_dependency_tracking |
| 815 | with_toolexeclibdir |
| 816 | enable_cet |
| 817 | enable_symvers |
| 818 | with_gnu_ld |
| 819 | enable_shared |
| 820 | enable_static |
| 821 | with_pic |
| 822 | enable_fast_install |
| 823 | enable_libtool_lock |
| 824 | enable_darwin_at_rpath |
| 825 | enable_largefile |
| 826 | enable_libquadmath_support |
| 827 | with_gcc_major_version_only |
| 828 | ' |
| 829 | ac_precious_vars='build_alias |
| 830 | host_alias |
| 831 | target_alias |
| 832 | CC |
| 833 | CFLAGS |
| 834 | LDFLAGS |
| 835 | LIBS |
| 836 | CPPFLAGS |
| 837 | CPP |
| 838 | FC |
| 839 | FCFLAGS' |
| 840 | |
| 841 | |
| 842 | # Initialize some variables set by options. |
| 843 | ac_init_help= |
| 844 | ac_init_version=false |
| 845 | ac_unrecognized_opts= |
| 846 | ac_unrecognized_sep= |
| 847 | # The variables have the same names as the options, with |
| 848 | # dashes changed to underlines. |
| 849 | cache_file=/dev/null |
| 850 | exec_prefix=NONE |
| 851 | no_create= |
| 852 | no_recursion= |
| 853 | prefix=NONE |
| 854 | program_prefix=NONE |
| 855 | program_suffix=NONE |
| 856 | program_transform_name=s,x,x, |
| 857 | silent= |
| 858 | site= |
| 859 | srcdir= |
| 860 | verbose= |
| 861 | x_includes=NONE |
| 862 | x_libraries=NONE |
| 863 | |
| 864 | # Installation directory options. |
| 865 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
| 866 | # and all the variables that are supposed to be based on exec_prefix |
| 867 | # by default will actually change. |
| 868 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 869 | # (The list follows the same order as the GNU Coding Standards.) |
| 870 | bindir='${exec_prefix}/bin' |
| 871 | sbindir='${exec_prefix}/sbin' |
| 872 | libexecdir='${exec_prefix}/libexec' |
| 873 | datarootdir='${prefix}/share' |
| 874 | datadir='${datarootdir}' |
| 875 | sysconfdir='${prefix}/etc' |
| 876 | sharedstatedir='${prefix}/com' |
| 877 | localstatedir='${prefix}/var' |
| 878 | includedir='${prefix}/include' |
| 879 | oldincludedir='/usr/include' |
| 880 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 881 | infodir='${datarootdir}/info' |
| 882 | htmldir='${docdir}' |
| 883 | dvidir='${docdir}' |
| 884 | pdfdir='${docdir}' |
| 885 | psdir='${docdir}' |
| 886 | libdir='${exec_prefix}/lib' |
| 887 | localedir='${datarootdir}/locale' |
| 888 | mandir='${datarootdir}/man' |
| 889 | |
| 890 | ac_prev= |
| 891 | ac_dashdash= |
| 892 | for ac_option |
| 893 | do |
| 894 | # If the previous option needs an argument, assign it. |
| 895 | if test -n "$ac_prev"; then |
| 896 | eval $ac_prev=\$ac_option |
| 897 | ac_prev= |
| 898 | continue |
| 899 | fi |
| 900 | |
| 901 | case $ac_option in |
| 902 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 903 | *=) ac_optarg= ;; |
| 904 | *) ac_optarg=yes ;; |
| 905 | esac |
| 906 | |
| 907 | # Accept the important Cygnus configure options, so we can diagnose typos. |
| 908 | |
| 909 | case $ac_dashdash$ac_option in |
| 910 | --) |
| 911 | ac_dashdash=yes ;; |
| 912 | |
| 913 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 914 | ac_prev=bindir ;; |
| 915 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 916 | bindir=$ac_optarg ;; |
| 917 | |
| 918 | -build | --build | --buil | --bui | --bu) |
| 919 | ac_prev=build_alias ;; |
| 920 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 921 | build_alias=$ac_optarg ;; |
| 922 | |
| 923 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 924 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 925 | ac_prev=cache_file ;; |
| 926 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 927 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 928 | cache_file=$ac_optarg ;; |
| 929 | |
| 930 | --config-cache | -C) |
| 931 | cache_file=config.cache ;; |
| 932 | |
| 933 | -datadir | --datadir | --datadi | --datad) |
| 934 | ac_prev=datadir ;; |
| 935 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 936 | datadir=$ac_optarg ;; |
| 937 | |
| 938 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 939 | | --dataroo | --dataro | --datar) |
| 940 | ac_prev=datarootdir ;; |
| 941 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 942 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 943 | datarootdir=$ac_optarg ;; |
| 944 | |
| 945 | -disable-* | --disable-*) |
| 946 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 947 | # Reject names that are not valid shell variable names. |
| 948 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 949 | as_fn_error $? "invalid feature name: $ac_useropt" |
| 950 | ac_useropt_orig=$ac_useropt |
| 951 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 952 | case $ac_user_opts in |
| 953 | *" |
| 954 | "enable_$ac_useropt" |
| 955 | "*) ;; |
| 956 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 957 | ac_unrecognized_sep=', ';; |
| 958 | esac |
| 959 | eval enable_$ac_useropt=no ;; |
| 960 | |
| 961 | -docdir | --docdir | --docdi | --doc | --do) |
| 962 | ac_prev=docdir ;; |
| 963 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 964 | docdir=$ac_optarg ;; |
| 965 | |
| 966 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 967 | ac_prev=dvidir ;; |
| 968 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 969 | dvidir=$ac_optarg ;; |
| 970 | |
| 971 | -enable-* | --enable-*) |
| 972 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 973 | # Reject names that are not valid shell variable names. |
| 974 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 975 | as_fn_error $? "invalid feature name: $ac_useropt" |
| 976 | ac_useropt_orig=$ac_useropt |
| 977 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 978 | case $ac_user_opts in |
| 979 | *" |
| 980 | "enable_$ac_useropt" |
| 981 | "*) ;; |
| 982 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 983 | ac_unrecognized_sep=', ';; |
| 984 | esac |
| 985 | eval enable_$ac_useropt=\$ac_optarg ;; |
| 986 | |
| 987 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 988 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 989 | | --exec | --exe | --ex) |
| 990 | ac_prev=exec_prefix ;; |
| 991 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 992 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 993 | | --exec=* | --exe=* | --ex=*) |
| 994 | exec_prefix=$ac_optarg ;; |
| 995 | |
| 996 | -gas | --gas | --ga | --g) |
| 997 | # Obsolete; use --with-gas. |
| 998 | with_gas=yes ;; |
| 999 | |
| 1000 | -help | --help | --hel | --he | -h) |
| 1001 | ac_init_help=long ;; |
| 1002 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 1003 | ac_init_help=recursive ;; |
| 1004 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 1005 | ac_init_help=short ;; |
| 1006 | |
| 1007 | -host | --host | --hos | --ho) |
| 1008 | ac_prev=host_alias ;; |
| 1009 | -host=* | --host=* | --hos=* | --ho=*) |
| 1010 | host_alias=$ac_optarg ;; |
| 1011 | |
| 1012 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 1013 | ac_prev=htmldir ;; |
| 1014 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 1015 | | --ht=*) |
| 1016 | htmldir=$ac_optarg ;; |
| 1017 | |
| 1018 | -includedir | --includedir | --includedi | --included | --include \ |
| 1019 | | --includ | --inclu | --incl | --inc) |
| 1020 | ac_prev=includedir ;; |
| 1021 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 1022 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 1023 | includedir=$ac_optarg ;; |
| 1024 | |
| 1025 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 1026 | ac_prev=infodir ;; |
| 1027 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 1028 | infodir=$ac_optarg ;; |
| 1029 | |
| 1030 | -libdir | --libdir | --libdi | --libd) |
| 1031 | ac_prev=libdir ;; |
| 1032 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 1033 | libdir=$ac_optarg ;; |
| 1034 | |
| 1035 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 1036 | | --libexe | --libex | --libe) |
| 1037 | ac_prev=libexecdir ;; |
| 1038 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 1039 | | --libexe=* | --libex=* | --libe=*) |
| 1040 | libexecdir=$ac_optarg ;; |
| 1041 | |
| 1042 | -localedir | --localedir | --localedi | --localed | --locale) |
| 1043 | ac_prev=localedir ;; |
| 1044 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 1045 | localedir=$ac_optarg ;; |
| 1046 | |
| 1047 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 1048 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 1049 | ac_prev=localstatedir ;; |
| 1050 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 1051 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 1052 | localstatedir=$ac_optarg ;; |
| 1053 | |
| 1054 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 1055 | ac_prev=mandir ;; |
| 1056 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 1057 | mandir=$ac_optarg ;; |
| 1058 | |
| 1059 | -nfp | --nfp | --nf) |
| 1060 | # Obsolete; use --without-fp. |
| 1061 | with_fp=no ;; |
| 1062 | |
| 1063 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 1064 | | --no-cr | --no-c | -n) |
| 1065 | no_create=yes ;; |
| 1066 | |
| 1067 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 1068 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 1069 | no_recursion=yes ;; |
| 1070 | |
| 1071 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 1072 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 1073 | | --oldin | --oldi | --old | --ol | --o) |
| 1074 | ac_prev=oldincludedir ;; |
| 1075 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 1076 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 1077 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 1078 | oldincludedir=$ac_optarg ;; |
| 1079 | |
| 1080 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 1081 | ac_prev=prefix ;; |
| 1082 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 1083 | prefix=$ac_optarg ;; |
| 1084 | |
| 1085 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 1086 | | --program-pre | --program-pr | --program-p) |
| 1087 | ac_prev=program_prefix ;; |
| 1088 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 1089 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 1090 | program_prefix=$ac_optarg ;; |
| 1091 | |
| 1092 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 1093 | | --program-suf | --program-su | --program-s) |
| 1094 | ac_prev=program_suffix ;; |
| 1095 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 1096 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 1097 | program_suffix=$ac_optarg ;; |
| 1098 | |
| 1099 | -program-transform-name | --program-transform-name \ |
| 1100 | | --program-transform-nam | --program-transform-na \ |
| 1101 | | --program-transform-n | --program-transform- \ |
| 1102 | | --program-transform | --program-transfor \ |
| 1103 | | --program-transfo | --program-transf \ |
| 1104 | | --program-trans | --program-tran \ |
| 1105 | | --progr-tra | --program-tr | --program-t) |
| 1106 | ac_prev=program_transform_name ;; |
| 1107 | -program-transform-name=* | --program-transform-name=* \ |
| 1108 | | --program-transform-nam=* | --program-transform-na=* \ |
| 1109 | | --program-transform-n=* | --program-transform-=* \ |
| 1110 | | --program-transform=* | --program-transfor=* \ |
| 1111 | | --program-transfo=* | --program-transf=* \ |
| 1112 | | --program-trans=* | --program-tran=* \ |
| 1113 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 1114 | program_transform_name=$ac_optarg ;; |
| 1115 | |
| 1116 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1117 | ac_prev=pdfdir ;; |
| 1118 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1119 | pdfdir=$ac_optarg ;; |
| 1120 | |
| 1121 | -psdir | --psdir | --psdi | --psd | --ps) |
| 1122 | ac_prev=psdir ;; |
| 1123 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1124 | psdir=$ac_optarg ;; |
| 1125 | |
| 1126 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1127 | | -silent | --silent | --silen | --sile | --sil) |
| 1128 | silent=yes ;; |
| 1129 | |
| 1130 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1131 | ac_prev=sbindir ;; |
| 1132 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1133 | | --sbi=* | --sb=*) |
| 1134 | sbindir=$ac_optarg ;; |
| 1135 | |
| 1136 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1137 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1138 | | --sharedst | --shareds | --shared | --share | --shar \ |
| 1139 | | --sha | --sh) |
| 1140 | ac_prev=sharedstatedir ;; |
| 1141 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1142 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1143 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1144 | | --sha=* | --sh=*) |
| 1145 | sharedstatedir=$ac_optarg ;; |
| 1146 | |
| 1147 | -site | --site | --sit) |
| 1148 | ac_prev=site ;; |
| 1149 | -site=* | --site=* | --sit=*) |
| 1150 | site=$ac_optarg ;; |
| 1151 | |
| 1152 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1153 | ac_prev=srcdir ;; |
| 1154 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1155 | srcdir=$ac_optarg ;; |
| 1156 | |
| 1157 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1158 | | --syscon | --sysco | --sysc | --sys | --sy) |
| 1159 | ac_prev=sysconfdir ;; |
| 1160 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1161 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1162 | sysconfdir=$ac_optarg ;; |
| 1163 | |
| 1164 | -target | --target | --targe | --targ | --tar | --ta | --t) |
| 1165 | ac_prev=target_alias ;; |
| 1166 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1167 | target_alias=$ac_optarg ;; |
| 1168 | |
| 1169 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1170 | verbose=yes ;; |
| 1171 | |
| 1172 | -version | --version | --versio | --versi | --vers | -V) |
| 1173 | ac_init_version=: ;; |
| 1174 | |
| 1175 | -with-* | --with-*) |
| 1176 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1177 | # Reject names that are not valid shell variable names. |
| 1178 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1179 | as_fn_error $? "invalid package name: $ac_useropt" |
| 1180 | ac_useropt_orig=$ac_useropt |
| 1181 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1182 | case $ac_user_opts in |
| 1183 | *" |
| 1184 | "with_$ac_useropt" |
| 1185 | "*) ;; |
| 1186 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1187 | ac_unrecognized_sep=', ';; |
| 1188 | esac |
| 1189 | eval with_$ac_useropt=\$ac_optarg ;; |
| 1190 | |
| 1191 | -without-* | --without-*) |
| 1192 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1193 | # Reject names that are not valid shell variable names. |
| 1194 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1195 | as_fn_error $? "invalid package name: $ac_useropt" |
| 1196 | ac_useropt_orig=$ac_useropt |
| 1197 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1198 | case $ac_user_opts in |
| 1199 | *" |
| 1200 | "with_$ac_useropt" |
| 1201 | "*) ;; |
| 1202 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1203 | ac_unrecognized_sep=', ';; |
| 1204 | esac |
| 1205 | eval with_$ac_useropt=no ;; |
| 1206 | |
| 1207 | --x) |
| 1208 | # Obsolete; use --with-x. |
| 1209 | with_x=yes ;; |
| 1210 | |
| 1211 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1212 | | --x-incl | --x-inc | --x-in | --x-i) |
| 1213 | ac_prev=x_includes ;; |
| 1214 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1215 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1216 | x_includes=$ac_optarg ;; |
| 1217 | |
| 1218 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1219 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1220 | ac_prev=x_libraries ;; |
| 1221 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1222 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1223 | x_libraries=$ac_optarg ;; |
| 1224 | |
| 1225 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1226 | Try \`$0 --help' for more information" |
| 1227 | ;; |
| 1228 | |
| 1229 | *=*) |
| 1230 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1231 | # Reject names that are not valid shell variable names. |
| 1232 | case $ac_envvar in #( |
| 1233 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1234 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| 1235 | esac |
| 1236 | eval $ac_envvar=\$ac_optarg |
| 1237 | export $ac_envvar ;; |
| 1238 | |
| 1239 | *) |
| 1240 | # FIXME: should be removed in autoconf 3.0. |
| 1241 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1242 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1243 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1244 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1245 | ;; |
| 1246 | |
| 1247 | esac |
| 1248 | done |
| 1249 | |
| 1250 | if test -n "$ac_prev"; then |
| 1251 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1252 | as_fn_error $? "missing argument to $ac_option" |
| 1253 | fi |
| 1254 | |
| 1255 | if test -n "$ac_unrecognized_opts"; then |
| 1256 | case $enable_option_checking in |
| 1257 | no) ;; |
| 1258 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1259 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1260 | esac |
| 1261 | fi |
| 1262 | |
| 1263 | # Check all directory arguments for consistency. |
| 1264 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1265 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1266 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1267 | libdir localedir mandir |
| 1268 | do |
| 1269 | eval ac_val=\$$ac_var |
| 1270 | # Remove trailing slashes. |
| 1271 | case $ac_val in |
| 1272 | */ ) |
| 1273 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1274 | eval $ac_var=\$ac_val;; |
| 1275 | esac |
| 1276 | # Be sure to have absolute directory names. |
| 1277 | case $ac_val in |
| 1278 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1279 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1280 | esac |
| 1281 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1282 | done |
| 1283 | |
| 1284 | # There might be people who depend on the old broken behavior: `$host' |
| 1285 | # used to hold the argument of --host etc. |
| 1286 | # FIXME: To remove some day. |
| 1287 | build=$build_alias |
| 1288 | host=$host_alias |
| 1289 | target=$target_alias |
| 1290 | |
| 1291 | # FIXME: To remove some day. |
| 1292 | if test "x$host_alias" != x; then |
| 1293 | if test "x$build_alias" = x; then |
| 1294 | cross_compiling=maybe |
| 1295 | elif test "x$build_alias" != "x$host_alias"; then |
| 1296 | cross_compiling=yes |
| 1297 | fi |
| 1298 | fi |
| 1299 | |
| 1300 | ac_tool_prefix= |
| 1301 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1302 | |
| 1303 | test "$silent" = yes && exec 6>/dev/null |
| 1304 | |
| 1305 | |
| 1306 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1307 | ac_ls_di=`ls -di .` && |
| 1308 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1309 | as_fn_error $? "working directory cannot be determined" |
| 1310 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1311 | as_fn_error $? "pwd does not report name of working directory" |
| 1312 | |
| 1313 | |
| 1314 | # Find the source files, if location was not specified. |
| 1315 | if test -z "$srcdir"; then |
| 1316 | ac_srcdir_defaulted=yes |
| 1317 | # Try the directory containing this script, then the parent directory. |
| 1318 | ac_confdir=`$as_dirname -- "$as_myself" || |
| 1319 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1320 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1321 | X"$as_myself" : 'X\(//\)$' \| \ |
| 1322 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1323 | $as_echo X"$as_myself" | |
| 1324 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1325 | s//\1/ |
| 1326 | q |
| 1327 | } |
| 1328 | /^X\(\/\/\)[^/].*/{ |
| 1329 | s//\1/ |
| 1330 | q |
| 1331 | } |
| 1332 | /^X\(\/\/\)$/{ |
| 1333 | s//\1/ |
| 1334 | q |
| 1335 | } |
| 1336 | /^X\(\/\).*/{ |
| 1337 | s//\1/ |
| 1338 | q |
| 1339 | } |
| 1340 | s/.*/./; q'` |
| 1341 | srcdir=$ac_confdir |
| 1342 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1343 | srcdir=.. |
| 1344 | fi |
| 1345 | else |
| 1346 | ac_srcdir_defaulted=no |
| 1347 | fi |
| 1348 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1349 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1350 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1351 | fi |
| 1352 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1353 | ac_abs_confdir=`( |
| 1354 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1355 | pwd)` |
| 1356 | # When building in place, set srcdir=. |
| 1357 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1358 | srcdir=. |
| 1359 | fi |
| 1360 | # Remove unnecessary trailing slashes from srcdir. |
| 1361 | # Double slashes in file names in object file debugging info |
| 1362 | # mess up M-x gdb in Emacs. |
| 1363 | case $srcdir in |
| 1364 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1365 | esac |
| 1366 | for ac_var in $ac_precious_vars; do |
| 1367 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1368 | eval ac_env_${ac_var}_value=\$${ac_var} |
| 1369 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1370 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1371 | done |
| 1372 | |
| 1373 | # |
| 1374 | # Report the --help message. |
| 1375 | # |
| 1376 | if test "$ac_init_help" = "long"; then |
| 1377 | # Omit some internal or obsolete options to make the list less imposing. |
| 1378 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1379 | cat <<_ACEOF |
| 1380 | \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems. |
| 1381 | |
| 1382 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1383 | |
| 1384 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1385 | VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1386 | |
| 1387 | Defaults for the options are specified in brackets. |
| 1388 | |
| 1389 | Configuration: |
| 1390 | -h, --help display this help and exit |
| 1391 | --help=short display options specific to this package |
| 1392 | --help=recursive display the short help of all the included packages |
| 1393 | -V, --version display version information and exit |
| 1394 | -q, --quiet, --silent do not print \`checking ...' messages |
| 1395 | --cache-file=FILE cache test results in FILE [disabled] |
| 1396 | -C, --config-cache alias for \`--cache-file=config.cache' |
| 1397 | -n, --no-create do not create output files |
| 1398 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1399 | |
| 1400 | Installation directories: |
| 1401 | --prefix=PREFIX install architecture-independent files in PREFIX |
| 1402 | [$ac_default_prefix] |
| 1403 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1404 | [PREFIX] |
| 1405 | |
| 1406 | By default, \`make install' will install all the files in |
| 1407 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1408 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 1409 | for instance \`--prefix=\$HOME'. |
| 1410 | |
| 1411 | For better control, use the options below. |
| 1412 | |
| 1413 | Fine tuning of the installation directories: |
| 1414 | --bindir=DIR user executables [EPREFIX/bin] |
| 1415 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1416 | --libexecdir=DIR program executables [EPREFIX/libexec] |
| 1417 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1418 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1419 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1420 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 1421 | --includedir=DIR C header files [PREFIX/include] |
| 1422 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1423 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1424 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1425 | --infodir=DIR info documentation [DATAROOTDIR/info] |
| 1426 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1427 | --mandir=DIR man documentation [DATAROOTDIR/man] |
| 1428 | --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran] |
| 1429 | --htmldir=DIR html documentation [DOCDIR] |
| 1430 | --dvidir=DIR dvi documentation [DOCDIR] |
| 1431 | --pdfdir=DIR pdf documentation [DOCDIR] |
| 1432 | --psdir=DIR ps documentation [DOCDIR] |
| 1433 | _ACEOF |
| 1434 | |
| 1435 | cat <<\_ACEOF |
| 1436 | |
| 1437 | Program names: |
| 1438 | --program-prefix=PREFIX prepend PREFIX to installed program names |
| 1439 | --program-suffix=SUFFIX append SUFFIX to installed program names |
| 1440 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 1441 | |
| 1442 | System types: |
| 1443 | --build=BUILD configure for building on BUILD [guessed] |
| 1444 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1445 | --target=TARGET configure for building compilers for TARGET [HOST] |
| 1446 | _ACEOF |
| 1447 | fi |
| 1448 | |
| 1449 | if test -n "$ac_init_help"; then |
| 1450 | case $ac_init_help in |
| 1451 | short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";; |
| 1452 | esac |
| 1453 | cat <<\_ACEOF |
| 1454 | |
| 1455 | Optional Features: |
| 1456 | --disable-option-checking ignore unrecognized --enable/--with options |
| 1457 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1458 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1459 | --enable-version-specific-runtime-libs |
| 1460 | specify that runtime libraries should be installed |
| 1461 | in a compiler-specific directory |
| 1462 | --enable-silent-rules less verbose build output (undo: "make V=1") |
| 1463 | --disable-silent-rules verbose build output (undo: "make V=0") |
| 1464 | --enable-maintainer-mode |
| 1465 | enable make rules and dependencies not useful (and |
| 1466 | sometimes confusing) to the casual installer |
| 1467 | --enable-multilib build many library versions (default) |
| 1468 | --enable-dependency-tracking |
| 1469 | do not reject slow dependency extractors |
| 1470 | --disable-dependency-tracking |
| 1471 | speeds up one-time build |
| 1472 | --enable-cet enable Intel CET in target libraries [default=auto] |
| 1473 | --disable-symvers disable symbol versioning for libgfortran |
| 1474 | --enable-shared[=PKGS] build shared libraries [default=yes] |
| 1475 | --enable-static[=PKGS] build static libraries [default=yes] |
| 1476 | --enable-fast-install[=PKGS] |
| 1477 | optimize for fast installation [default=yes] |
| 1478 | --disable-libtool-lock avoid locking (might break parallel builds) |
| 1479 | --enable-darwin-at-rpath |
| 1480 | install libraries with @rpath/library-name, requires |
| 1481 | rpaths to be added to executables |
| 1482 | --disable-largefile omit support for large files |
| 1483 | --disable-libquadmath-support |
| 1484 | disable libquadmath support for Fortran |
| 1485 | |
| 1486 | Optional 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 | |
| 1499 | Some 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 | |
| 1511 | Use these variables to override the choices made by `configure' or to help |
| 1512 | it to find libraries and programs with nonstandard names/locations. |
| 1513 | |
| 1514 | Report bugs to the package provider. |
| 1515 | GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>. |
| 1516 | General help using GNU software: <http://www.gnu.org/gethelp/>. |
| 1517 | _ACEOF |
| 1518 | ac_status=$? |
| 1519 | fi |
| 1520 | |
| 1521 | if 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 | |
| 1529 | case "$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 ;; |
| 1539 | esac |
| 1540 | ac_abs_top_builddir=$ac_pwd |
| 1541 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1542 | # for backward compatibility: |
| 1543 | ac_top_builddir=$ac_top_build_prefix |
| 1544 | |
| 1545 | case $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 ;; |
| 1558 | esac |
| 1559 | ac_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 |
| 1574 | fi |
| 1575 | |
| 1576 | test -n "$ac_init_help" && exit $ac_status |
| 1577 | if $ac_init_version; then |
| 1578 | cat <<\_ACEOF |
| 1579 | GNU Fortran Runtime Library configure 0.3 |
| 1580 | generated by GNU Autoconf 2.69 |
| 1581 | |
| 1582 | Copyright (C) 2012 Free Software Foundation, Inc. |
| 1583 | This configure script is free software; the Free Software Foundation |
| 1584 | gives unlimited permission to copy, distribute and modify it. |
| 1585 | _ACEOF |
| 1586 | exit |
| 1587 | fi |
| 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. |
| 1596 | ac_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" |
| 1601 | case "(($ac_try" in |
| 1602 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1603 | *) ac_try_echo=$ac_try;; |
| 1604 | esac |
| 1605 | eval 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 |
| 1620 | else |
| 1621 | $as_echo "$as_me: failed program was:" >&5 |
| 1622 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1623 | |
| 1624 | ac_retval=1 |
| 1625 | fi |
| 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. |
| 1634 | ac_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" |
| 1638 | case "(($ac_try" in |
| 1639 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1640 | *) ac_try_echo=$ac_try;; |
| 1641 | esac |
| 1642 | eval 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 |
| 1657 | else |
| 1658 | $as_echo "$as_me: failed program was:" >&5 |
| 1659 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1660 | |
| 1661 | ac_retval=1 |
| 1662 | fi |
| 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. |
| 1673 | ac_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; } |
| 1679 | if eval \${$3+:} false; then : |
| 1680 | $as_echo_n "(cached) " >&6 |
| 1681 | fi |
| 1682 | eval ac_res=\$$3 |
| 1683 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1684 | $as_echo "$ac_res" >&6; } |
| 1685 | else |
| 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; } |
| 1689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1690 | /* end confdefs.h. */ |
| 1691 | $4 |
| 1692 | #include <$2> |
| 1693 | _ACEOF |
| 1694 | if ac_fn_c_try_compile "$LINENO"; then : |
| 1695 | ac_header_compiler=yes |
| 1696 | else |
| 1697 | ac_header_compiler=no |
| 1698 | fi |
| 1699 | rm -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; } |
| 1706 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1707 | /* end confdefs.h. */ |
| 1708 | #include <$2> |
| 1709 | _ACEOF |
| 1710 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 1711 | ac_header_preproc=yes |
| 1712 | else |
| 1713 | ac_header_preproc=no |
| 1714 | fi |
| 1715 | rm -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? |
| 1720 | case $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 | ;; |
| 1739 | esac |
| 1740 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1741 | $as_echo_n "checking for $2... " >&6; } |
| 1742 | if eval \${$3+:} false; then : |
| 1743 | $as_echo_n "(cached) " >&6 |
| 1744 | else |
| 1745 | eval "$3=\$ac_header_compiler" |
| 1746 | fi |
| 1747 | eval ac_res=\$$3 |
| 1748 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1749 | $as_echo "$ac_res" >&6; } |
| 1750 | fi |
| 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. |
| 1759 | ac_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" |
| 1763 | case "(($ac_try" in |
| 1764 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1765 | *) ac_try_echo=$ac_try;; |
| 1766 | esac |
| 1767 | eval 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;; |
| 1776 | esac |
| 1777 | eval 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 |
| 1784 | else |
| 1785 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 1786 | $as_echo "$as_me: failed program was:" >&5 |
| 1787 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1788 | |
| 1789 | ac_retval=$ac_status |
| 1790 | fi |
| 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. |
| 1801 | ac_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; } |
| 1806 | if eval \${$3+:} false; then : |
| 1807 | $as_echo_n "(cached) " >&6 |
| 1808 | else |
| 1809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1810 | /* end confdefs.h. */ |
| 1811 | $4 |
| 1812 | #include <$2> |
| 1813 | _ACEOF |
| 1814 | if ac_fn_c_try_compile "$LINENO"; then : |
| 1815 | eval "$3=yes" |
| 1816 | else |
| 1817 | eval "$3=no" |
| 1818 | fi |
| 1819 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1820 | fi |
| 1821 | eval 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. |
| 1831 | ac_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" |
| 1836 | case "(($ac_try" in |
| 1837 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1838 | *) ac_try_echo=$ac_try;; |
| 1839 | esac |
| 1840 | eval 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 |
| 1858 | else |
| 1859 | $as_echo "$as_me: failed program was:" >&5 |
| 1860 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1861 | |
| 1862 | ac_retval=1 |
| 1863 | fi |
| 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 |
| 1877 | ac_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; } |
| 1882 | if eval \${$3+:} false; then : |
| 1883 | $as_echo_n "(cached) " >&6 |
| 1884 | else |
| 1885 | if test x$gcc_no_link = xyes; then |
| 1886 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 1887 | fi |
| 1888 | cat 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 |
| 1911 | extern "C" |
| 1912 | #endif |
| 1913 | char $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 |
| 1918 | choke me |
| 1919 | #endif |
| 1920 | |
| 1921 | int |
| 1922 | main () |
| 1923 | { |
| 1924 | return $2 (); |
| 1925 | ; |
| 1926 | return 0; |
| 1927 | } |
| 1928 | _ACEOF |
| 1929 | if ac_fn_c_try_link "$LINENO"; then : |
| 1930 | eval "$3=yes" |
| 1931 | else |
| 1932 | eval "$3=no" |
| 1933 | fi |
| 1934 | rm -f core conftest.err conftest.$ac_objext \ |
| 1935 | conftest$ac_exeext conftest.$ac_ext |
| 1936 | fi |
| 1937 | eval 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. |
| 1947 | ac_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" |
| 1952 | case "(($ac_try" in |
| 1953 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1954 | *) ac_try_echo=$ac_try;; |
| 1955 | esac |
| 1956 | eval 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 |
| 1971 | else |
| 1972 | $as_echo "$as_me: failed program was:" >&5 |
| 1973 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1974 | |
| 1975 | ac_retval=1 |
| 1976 | fi |
| 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. |
| 1985 | ac_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" |
| 1990 | case "(($ac_try" in |
| 1991 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1992 | *) ac_try_echo=$ac_try;; |
| 1993 | esac |
| 1994 | eval 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 |
| 2012 | else |
| 2013 | $as_echo "$as_me: failed program was:" >&5 |
| 2014 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2015 | |
| 2016 | ac_retval=1 |
| 2017 | fi |
| 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. |
| 2032 | ac_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; } |
| 2037 | if eval \${$3+:} false; then : |
| 2038 | $as_echo_n "(cached) " >&6 |
| 2039 | else |
| 2040 | eval "$3=no" |
| 2041 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2042 | /* end confdefs.h. */ |
| 2043 | $4 |
| 2044 | int |
| 2045 | main () |
| 2046 | { |
| 2047 | if (sizeof ($2)) |
| 2048 | return 0; |
| 2049 | ; |
| 2050 | return 0; |
| 2051 | } |
| 2052 | _ACEOF |
| 2053 | if ac_fn_c_try_compile "$LINENO"; then : |
| 2054 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2055 | /* end confdefs.h. */ |
| 2056 | $4 |
| 2057 | int |
| 2058 | main () |
| 2059 | { |
| 2060 | if (sizeof (($2))) |
| 2061 | return 0; |
| 2062 | ; |
| 2063 | return 0; |
| 2064 | } |
| 2065 | _ACEOF |
| 2066 | if ac_fn_c_try_compile "$LINENO"; then : |
| 2067 | |
| 2068 | else |
| 2069 | eval "$3=yes" |
| 2070 | fi |
| 2071 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2072 | fi |
| 2073 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2074 | fi |
| 2075 | eval 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 |
| 2087 | ac_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. |
| 2092 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2093 | /* end confdefs.h. */ |
| 2094 | $4 |
| 2095 | int |
| 2096 | main () |
| 2097 | { |
| 2098 | static int test_array [1 - 2 * !(($2) >= 0)]; |
| 2099 | test_array [0] = 0; |
| 2100 | return test_array [0]; |
| 2101 | |
| 2102 | ; |
| 2103 | return 0; |
| 2104 | } |
| 2105 | _ACEOF |
| 2106 | if 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 |
| 2112 | int |
| 2113 | main () |
| 2114 | { |
| 2115 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2116 | test_array [0] = 0; |
| 2117 | return test_array [0]; |
| 2118 | |
| 2119 | ; |
| 2120 | return 0; |
| 2121 | } |
| 2122 | _ACEOF |
| 2123 | if ac_fn_c_try_compile "$LINENO"; then : |
| 2124 | ac_hi=$ac_mid; break |
| 2125 | else |
| 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 |
| 2132 | fi |
| 2133 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2134 | done |
| 2135 | else |
| 2136 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2137 | /* end confdefs.h. */ |
| 2138 | $4 |
| 2139 | int |
| 2140 | main () |
| 2141 | { |
| 2142 | static int test_array [1 - 2 * !(($2) < 0)]; |
| 2143 | test_array [0] = 0; |
| 2144 | return test_array [0]; |
| 2145 | |
| 2146 | ; |
| 2147 | return 0; |
| 2148 | } |
| 2149 | _ACEOF |
| 2150 | if 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 |
| 2156 | int |
| 2157 | main () |
| 2158 | { |
| 2159 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
| 2160 | test_array [0] = 0; |
| 2161 | return test_array [0]; |
| 2162 | |
| 2163 | ; |
| 2164 | return 0; |
| 2165 | } |
| 2166 | _ACEOF |
| 2167 | if ac_fn_c_try_compile "$LINENO"; then : |
| 2168 | ac_lo=$ac_mid; break |
| 2169 | else |
| 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 |
| 2176 | fi |
| 2177 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2178 | done |
| 2179 | else |
| 2180 | ac_lo= ac_hi= |
| 2181 | fi |
| 2182 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2183 | fi |
| 2184 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2185 | # Binary search between lo and hi bounds. |
| 2186 | while 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 |
| 2191 | int |
| 2192 | main () |
| 2193 | { |
| 2194 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2195 | test_array [0] = 0; |
| 2196 | return test_array [0]; |
| 2197 | |
| 2198 | ; |
| 2199 | return 0; |
| 2200 | } |
| 2201 | _ACEOF |
| 2202 | if ac_fn_c_try_compile "$LINENO"; then : |
| 2203 | ac_hi=$ac_mid |
| 2204 | else |
| 2205 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
| 2206 | fi |
| 2207 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2208 | done |
| 2209 | case $ac_lo in #(( |
| 2210 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
| 2211 | '') ac_retval=1 ;; |
| 2212 | esac |
| 2213 | else |
| 2214 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2215 | /* end confdefs.h. */ |
| 2216 | $4 |
| 2217 | static long int longval () { return $2; } |
| 2218 | static unsigned long int ulongval () { return $2; } |
| 2219 | #include <stdio.h> |
| 2220 | #include <stdlib.h> |
| 2221 | int |
| 2222 | main () |
| 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 |
| 2250 | if ac_fn_c_try_run "$LINENO"; then : |
| 2251 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
| 2252 | else |
| 2253 | ac_retval=1 |
| 2254 | fi |
| 2255 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 2256 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2257 | rm -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. |
| 2269 | ac_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; } |
| 2274 | if eval \${$4+:} false; then : |
| 2275 | $as_echo_n "(cached) " >&6 |
| 2276 | else |
| 2277 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2278 | /* end confdefs.h. */ |
| 2279 | $5 |
| 2280 | int |
| 2281 | main () |
| 2282 | { |
| 2283 | static $2 ac_aggr; |
| 2284 | if (ac_aggr.$3) |
| 2285 | return 0; |
| 2286 | ; |
| 2287 | return 0; |
| 2288 | } |
| 2289 | _ACEOF |
| 2290 | if ac_fn_c_try_compile "$LINENO"; then : |
| 2291 | eval "$4=yes" |
| 2292 | else |
| 2293 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2294 | /* end confdefs.h. */ |
| 2295 | $5 |
| 2296 | int |
| 2297 | main () |
| 2298 | { |
| 2299 | static $2 ac_aggr; |
| 2300 | if (sizeof ac_aggr.$3) |
| 2301 | return 0; |
| 2302 | ; |
| 2303 | return 0; |
| 2304 | } |
| 2305 | _ACEOF |
| 2306 | if ac_fn_c_try_compile "$LINENO"; then : |
| 2307 | eval "$4=yes" |
| 2308 | else |
| 2309 | eval "$4=no" |
| 2310 | fi |
| 2311 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2312 | fi |
| 2313 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2314 | fi |
| 2315 | eval 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 |
| 2321 | cat >config.log <<_ACEOF |
| 2322 | This file contains any messages produced by compilers while |
| 2323 | running configure, to aid debugging if configure makes a mistake. |
| 2324 | |
| 2325 | It was created by GNU Fortran Runtime Library $as_me 0.3, which was |
| 2326 | generated by GNU Autoconf 2.69. Invocation command line was |
| 2327 | |
| 2328 | $ $0 $@ |
| 2329 | |
| 2330 | _ACEOF |
| 2331 | exec 5>>config.log |
| 2332 | { |
| 2333 | cat <<_ASUNAME |
| 2334 | ## --------- ## |
| 2335 | ## Platform. ## |
| 2336 | ## --------- ## |
| 2337 | |
| 2338 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 2339 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 2340 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 2341 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 2342 | uname -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 | |
| 2357 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2358 | for as_dir in $PATH |
| 2359 | do |
| 2360 | IFS=$as_save_IFS |
| 2361 | test -z "$as_dir" && as_dir=. |
| 2362 | $as_echo "PATH: $as_dir" |
| 2363 | done |
| 2364 | IFS=$as_save_IFS |
| 2365 | |
| 2366 | } >&5 |
| 2367 | |
| 2368 | cat >&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. |
| 2383 | ac_configure_args= |
| 2384 | ac_configure_args0= |
| 2385 | ac_configure_args1= |
| 2386 | ac_must_keep_next=false |
| 2387 | for ac_pass in 1 2 |
| 2388 | do |
| 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 |
| 2422 | done |
| 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. |
| 2431 | trap '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 |
| 2518 | for ac_signal in 1 2 13 15; do |
| 2519 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 2520 | done |
| 2521 | ac_signal=0 |
| 2522 | |
| 2523 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2524 | rm -f -r conftest* confdefs.h |
| 2525 | |
| 2526 | $as_echo "/* confdefs.h */" > confdefs.h |
| 2527 | |
| 2528 | # Predefined preprocessor variables. |
| 2529 | |
| 2530 | cat >>confdefs.h <<_ACEOF |
| 2531 | #define PACKAGE_NAME "$PACKAGE_NAME" |
| 2532 | _ACEOF |
| 2533 | |
| 2534 | cat >>confdefs.h <<_ACEOF |
| 2535 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2536 | _ACEOF |
| 2537 | |
| 2538 | cat >>confdefs.h <<_ACEOF |
| 2539 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2540 | _ACEOF |
| 2541 | |
| 2542 | cat >>confdefs.h <<_ACEOF |
| 2543 | #define PACKAGE_STRING "$PACKAGE_STRING" |
| 2544 | _ACEOF |
| 2545 | |
| 2546 | cat >>confdefs.h <<_ACEOF |
| 2547 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2548 | _ACEOF |
| 2549 | |
| 2550 | cat >>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. |
| 2557 | ac_site_file1=NONE |
| 2558 | ac_site_file2=NONE |
| 2559 | if 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 |
| 2566 | elif test "x$prefix" != xNONE; then |
| 2567 | ac_site_file1=$prefix/share/config.site |
| 2568 | ac_site_file2=$prefix/etc/config.site |
| 2569 | else |
| 2570 | ac_site_file1=$ac_default_prefix/share/config.site |
| 2571 | ac_site_file2=$ac_default_prefix/etc/config.site |
| 2572 | fi |
| 2573 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2574 | do |
| 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;} |
| 2583 | as_fn_error $? "failed to load site script $ac_site_file |
| 2584 | See \`config.log' for more details" "$LINENO" 5; } |
| 2585 | fi |
| 2586 | done |
| 2587 | |
| 2588 | if 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 |
| 2599 | else |
| 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 |
| 2603 | fi |
| 2604 | |
| 2605 | as_fn_append ac_header_list " unistd.h" |
| 2606 | as_fn_append ac_header_list " sys/random.h" |
| 2607 | as_fn_append ac_header_list " sys/time.h" |
| 2608 | as_fn_append ac_header_list " sys/times.h" |
| 2609 | as_fn_append ac_header_list " sys/resource.h" |
| 2610 | as_fn_append ac_header_list " sys/types.h" |
| 2611 | as_fn_append ac_header_list " sys/stat.h" |
| 2612 | as_fn_append ac_header_list " sys/uio.h" |
| 2613 | as_fn_append ac_header_list " sys/wait.h" |
| 2614 | as_fn_append ac_header_list " floatingpoint.h" |
| 2615 | as_fn_append ac_header_list " ieeefp.h" |
| 2616 | as_fn_append ac_header_list " fenv.h" |
| 2617 | as_fn_append ac_header_list " fptrap.h" |
| 2618 | as_fn_append ac_header_list " fpxcp.h" |
| 2619 | as_fn_append ac_header_list " pwd.h" |
| 2620 | as_fn_append ac_header_list " complex.h" |
| 2621 | as_fn_append ac_header_list " xlocale.h" |
| 2622 | as_fn_append ac_func_list " getrusage" |
| 2623 | as_fn_append ac_func_list " times" |
| 2624 | as_fn_append ac_func_list " mkstemp" |
| 2625 | as_fn_append ac_func_list " strtof" |
| 2626 | as_fn_append ac_func_list " strtold" |
| 2627 | as_fn_append ac_func_list " snprintf" |
| 2628 | as_fn_append ac_func_list " ftruncate" |
| 2629 | as_fn_append ac_func_list " chsize" |
| 2630 | as_fn_append ac_func_list " chdir" |
| 2631 | as_fn_append ac_func_list " getentropy" |
| 2632 | as_fn_append ac_func_list " getlogin" |
| 2633 | as_fn_append ac_func_list " gethostname" |
| 2634 | as_fn_append ac_func_list " kill" |
| 2635 | as_fn_append ac_func_list " link" |
| 2636 | as_fn_append ac_func_list " symlink" |
| 2637 | as_fn_append ac_func_list " sleep" |
| 2638 | as_fn_append ac_func_list " ttyname" |
| 2639 | as_fn_append ac_func_list " sigaction" |
| 2640 | as_fn_append ac_func_list " waitpid" |
| 2641 | as_fn_append ac_func_list " alarm" |
| 2642 | as_fn_append ac_func_list " access" |
| 2643 | as_fn_append ac_func_list " fork" |
| 2644 | as_fn_append ac_func_list " posix_spawn" |
| 2645 | as_fn_append ac_func_list " setmode" |
| 2646 | as_fn_append ac_func_list " fcntl" |
| 2647 | as_fn_append ac_func_list " writev" |
| 2648 | as_fn_append ac_func_list " gettimeofday" |
| 2649 | as_fn_append ac_func_list " stat" |
| 2650 | as_fn_append ac_func_list " fstat" |
| 2651 | as_fn_append ac_func_list " lstat" |
| 2652 | as_fn_append ac_func_list " getpwuid" |
| 2653 | as_fn_append ac_func_list " vsnprintf" |
| 2654 | as_fn_append ac_func_list " dup" |
| 2655 | as_fn_append ac_func_list " getcwd" |
| 2656 | as_fn_append ac_func_list " localtime_r" |
| 2657 | as_fn_append ac_func_list " gmtime_r" |
| 2658 | as_fn_append ac_func_list " getpwuid_r" |
| 2659 | as_fn_append ac_func_list " ttyname_r" |
| 2660 | as_fn_append ac_func_list " clock_gettime" |
| 2661 | as_fn_append ac_func_list " getgid" |
| 2662 | as_fn_append ac_func_list " getpid" |
| 2663 | as_fn_append ac_func_list " getuid" |
| 2664 | as_fn_append ac_func_list " geteuid" |
| 2665 | as_fn_append ac_func_list " umask" |
| 2666 | as_fn_append ac_func_list " getegid" |
| 2667 | as_fn_append ac_func_list " secure_getenv" |
| 2668 | as_fn_append ac_func_list " __secure_getenv" |
| 2669 | as_fn_append ac_func_list " mkostemp" |
| 2670 | as_fn_append ac_func_list " strnlen" |
| 2671 | as_fn_append ac_func_list " strndup" |
| 2672 | as_fn_append ac_func_list " newlocale" |
| 2673 | as_fn_append ac_func_list " freelocale" |
| 2674 | as_fn_append ac_func_list " uselocale" |
| 2675 | as_fn_append ac_func_list " strerror_l" |
| 2676 | as_fn_append ac_func_list " strtof128" |
| 2677 | as_fn_append ac_func_list " strfromf128" |
| 2678 | as_fn_append ac_header_list " math.h" |
| 2679 | # Check that the precious variables saved in the cache have kept the same |
| 2680 | # value. |
| 2681 | ac_cache_corrupted=false |
| 2682 | for ac_var in $ac_precious_vars; do |
| 2683 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 2684 | eval ac_new_set=\$ac_env_${ac_var}_set |
| 2685 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 2686 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 2687 | case $ac_old_set,$ac_new_set in |
| 2688 | set,) |
| 2689 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2690 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2691 | ac_cache_corrupted=: ;; |
| 2692 | ,set) |
| 2693 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 2694 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2695 | ac_cache_corrupted=: ;; |
| 2696 | ,);; |
| 2697 | *) |
| 2698 | if test "x$ac_old_val" != "x$ac_new_val"; then |
| 2699 | # differences in whitespace do not lead to failure. |
| 2700 | ac_old_val_w=`echo x $ac_old_val` |
| 2701 | ac_new_val_w=`echo x $ac_new_val` |
| 2702 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 2703 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2704 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2705 | ac_cache_corrupted=: |
| 2706 | else |
| 2707 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2708 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2709 | eval $ac_var=\$ac_old_val |
| 2710 | fi |
| 2711 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 2712 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2713 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 2714 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2715 | fi;; |
| 2716 | esac |
| 2717 | # Pass precious variables to config.status. |
| 2718 | if test "$ac_new_set" = set; then |
| 2719 | case $ac_new_val in |
| 2720 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2721 | *) ac_arg=$ac_var=$ac_new_val ;; |
| 2722 | esac |
| 2723 | case " $ac_configure_args " in |
| 2724 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 2725 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
| 2726 | esac |
| 2727 | fi |
| 2728 | done |
| 2729 | if $ac_cache_corrupted; then |
| 2730 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2731 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2732 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2733 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2734 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2735 | fi |
| 2736 | ## -------------------- ## |
| 2737 | ## Main body of script. ## |
| 2738 | ## -------------------- ## |
| 2739 | |
| 2740 | ac_ext=c |
| 2741 | ac_cpp='$CPP $CPPFLAGS' |
| 2742 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2743 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2744 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2745 | |
| 2746 | |
| 2747 | |
| 2748 | |
| 2749 | |
| 2750 | ac_config_headers="$ac_config_headers config.h" |
| 2751 | |
| 2752 | ac_aux_dir= |
| 2753 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2754 | if test -f "$ac_dir/install-sh"; then |
| 2755 | ac_aux_dir=$ac_dir |
| 2756 | ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2757 | break |
| 2758 | elif test -f "$ac_dir/install.sh"; then |
| 2759 | ac_aux_dir=$ac_dir |
| 2760 | ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2761 | break |
| 2762 | elif test -f "$ac_dir/shtool"; then |
| 2763 | ac_aux_dir=$ac_dir |
| 2764 | ac_install_sh="$ac_aux_dir/shtool install -c" |
| 2765 | break |
| 2766 | fi |
| 2767 | done |
| 2768 | if test -z "$ac_aux_dir"; then |
| 2769 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 2770 | fi |
| 2771 | |
| 2772 | # These three variables are undocumented and unsupported, |
| 2773 | # and are intended to be withdrawn in a future Autoconf release. |
| 2774 | # They can cause serious problems if a builder's source tree is in a directory |
| 2775 | # whose full name contains unusual characters. |
| 2776 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 2777 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 2778 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 2779 | |
| 2780 | |
| 2781 | # Make sure we can run config.sub. |
| 2782 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 2783 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 2784 | |
| 2785 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 2786 | $as_echo_n "checking build system type... " >&6; } |
| 2787 | if ${ac_cv_build+:} false; then : |
| 2788 | $as_echo_n "(cached) " >&6 |
| 2789 | else |
| 2790 | ac_build_alias=$build_alias |
| 2791 | test "x$ac_build_alias" = x && |
| 2792 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 2793 | test "x$ac_build_alias" = x && |
| 2794 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 2795 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 2796 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 2797 | |
| 2798 | fi |
| 2799 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 2800 | $as_echo "$ac_cv_build" >&6; } |
| 2801 | case $ac_cv_build in |
| 2802 | *-*-*) ;; |
| 2803 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 2804 | esac |
| 2805 | build=$ac_cv_build |
| 2806 | ac_save_IFS=$IFS; IFS='-' |
| 2807 | set x $ac_cv_build |
| 2808 | shift |
| 2809 | build_cpu=$1 |
| 2810 | build_vendor=$2 |
| 2811 | shift; shift |
| 2812 | # Remember, the first character of IFS is used to create $*, |
| 2813 | # except with old shells: |
| 2814 | build_os=$* |
| 2815 | IFS=$ac_save_IFS |
| 2816 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 2817 | |
| 2818 | |
| 2819 | case ${build_alias} in |
| 2820 | "") build_noncanonical=${build} ;; |
| 2821 | *) build_noncanonical=${build_alias} ;; |
| 2822 | esac |
| 2823 | |
| 2824 | case ${host_alias} in |
| 2825 | "") host_noncanonical=${build_noncanonical} ;; |
| 2826 | *) host_noncanonical=${host_alias} ;; |
| 2827 | esac |
| 2828 | |
| 2829 | case ${target_alias} in |
| 2830 | "") target_noncanonical=${host_noncanonical} ;; |
| 2831 | *) target_noncanonical=${target_alias} ;; |
| 2832 | esac |
| 2833 | |
| 2834 | |
| 2835 | # post-stage1 host modules use a different CC_FOR_BUILD so, in order to |
| 2836 | # have matching libraries, they should use host libraries: Makefile.tpl |
| 2837 | # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR). |
| 2838 | # However, they still use the build modules, because the corresponding |
| 2839 | # host modules (e.g. bison) are only built for the host when bootstrap |
| 2840 | # finishes. So: |
| 2841 | # - build_subdir is where we find build modules, and never changes. |
| 2842 | # - build_libsubdir is where we find build libraries, and can be overridden. |
| 2843 | |
| 2844 | # Prefix 'build-' so this never conflicts with target_subdir. |
| 2845 | build_subdir="build-${build_noncanonical}" |
| 2846 | |
| 2847 | # Check whether --with-build-libsubdir was given. |
| 2848 | if test "${with_build_libsubdir+set}" = set; then : |
| 2849 | withval=$with_build_libsubdir; build_libsubdir="$withval" |
| 2850 | else |
| 2851 | build_libsubdir="$build_subdir" |
| 2852 | fi |
| 2853 | |
| 2854 | # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories |
| 2855 | if ( test $srcdir = . && test -d gcc ) \ |
| 2856 | || test -d $srcdir/../host-${host_noncanonical}; then |
| 2857 | host_subdir="host-${host_noncanonical}" |
| 2858 | else |
| 2859 | host_subdir=. |
| 2860 | fi |
| 2861 | # No prefix. |
| 2862 | target_subdir=${target_noncanonical} |
| 2863 | |
| 2864 | |
| 2865 | # ------- |
| 2866 | # Options |
| 2867 | # ------- |
| 2868 | |
| 2869 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5 |
| 2870 | $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; } |
| 2871 | # Check whether --enable-version-specific-runtime-libs was given. |
| 2872 | if test "${enable_version_specific_runtime_libs+set}" = set; then : |
| 2873 | enableval=$enable_version_specific_runtime_libs; case "$enableval" in |
| 2874 | yes) version_specific_libs=yes ;; |
| 2875 | no) version_specific_libs=no ;; |
| 2876 | *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;; |
| 2877 | esac |
| 2878 | else |
| 2879 | version_specific_libs=no |
| 2880 | fi |
| 2881 | |
| 2882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5 |
| 2883 | $as_echo "$version_specific_libs" >&6; } |
| 2884 | |
| 2885 | # Gets build, host, target, *_vendor, *_cpu, *_os, etc. |
| 2886 | # |
| 2887 | # You will slowly go insane if you do not grok the following fact: when |
| 2888 | # building this library, the top-level /target/ becomes the library's /host/. |
| 2889 | # |
| 2890 | # configure then causes --target to default to --host, exactly like any |
| 2891 | # other package using autoconf. Therefore, 'target' and 'host' will |
| 2892 | # always be the same. This makes sense both for native and cross compilers |
| 2893 | # just think about it for a little while. :-) |
| 2894 | # |
| 2895 | # Also, if this library is being configured as part of a cross compiler, the |
| 2896 | # top-level configure script will pass the "real" host as $with_cross_host. |
| 2897 | # |
| 2898 | # Do not delete or change the following two lines. For why, see |
| 2899 | # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html |
| 2900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 2901 | $as_echo_n "checking host system type... " >&6; } |
| 2902 | if ${ac_cv_host+:} false; then : |
| 2903 | $as_echo_n "(cached) " >&6 |
| 2904 | else |
| 2905 | if test "x$host_alias" = x; then |
| 2906 | ac_cv_host=$ac_cv_build |
| 2907 | else |
| 2908 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 2909 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 2910 | fi |
| 2911 | |
| 2912 | fi |
| 2913 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 2914 | $as_echo "$ac_cv_host" >&6; } |
| 2915 | case $ac_cv_host in |
| 2916 | *-*-*) ;; |
| 2917 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 2918 | esac |
| 2919 | host=$ac_cv_host |
| 2920 | ac_save_IFS=$IFS; IFS='-' |
| 2921 | set x $ac_cv_host |
| 2922 | shift |
| 2923 | host_cpu=$1 |
| 2924 | host_vendor=$2 |
| 2925 | shift; shift |
| 2926 | # Remember, the first character of IFS is used to create $*, |
| 2927 | # except with old shells: |
| 2928 | host_os=$* |
| 2929 | IFS=$ac_save_IFS |
| 2930 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 2931 | |
| 2932 | |
| 2933 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
| 2934 | $as_echo_n "checking target system type... " >&6; } |
| 2935 | if ${ac_cv_target+:} false; then : |
| 2936 | $as_echo_n "(cached) " >&6 |
| 2937 | else |
| 2938 | if test "x$target_alias" = x; then |
| 2939 | ac_cv_target=$ac_cv_host |
| 2940 | else |
| 2941 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
| 2942 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
| 2943 | fi |
| 2944 | |
| 2945 | fi |
| 2946 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
| 2947 | $as_echo "$ac_cv_target" >&6; } |
| 2948 | case $ac_cv_target in |
| 2949 | *-*-*) ;; |
| 2950 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
| 2951 | esac |
| 2952 | target=$ac_cv_target |
| 2953 | ac_save_IFS=$IFS; IFS='-' |
| 2954 | set x $ac_cv_target |
| 2955 | shift |
| 2956 | target_cpu=$1 |
| 2957 | target_vendor=$2 |
| 2958 | shift; shift |
| 2959 | # Remember, the first character of IFS is used to create $*, |
| 2960 | # except with old shells: |
| 2961 | target_os=$* |
| 2962 | IFS=$ac_save_IFS |
| 2963 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
| 2964 | |
| 2965 | |
| 2966 | # The aliases save the names the user supplied, while $host etc. |
| 2967 | # will get canonicalized. |
| 2968 | test -n "$target_alias" && |
| 2969 | test "$program_prefix$program_suffix$program_transform_name" = \ |
| 2970 | NONENONEs,x,x, && |
| 2971 | program_prefix=${target_alias}- |
| 2972 | |
| 2973 | |
| 2974 | |
| 2975 | |
| 2976 | target_alias=${target_alias-$host_alias} |
| 2977 | |
| 2978 | |
| 2979 | # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the |
| 2980 | # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am. |
| 2981 | # 1.9.6: minimum required version |
| 2982 | # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch |
| 2983 | # of other PACKAGE_* variables will, however, and there's nothing |
| 2984 | # we can do about that; they come from AC_INIT). |
| 2985 | # foreign: we don't follow the normal rules for GNU packages (no COPYING |
| 2986 | # file in the top srcdir, etc, etc), so stop complaining. |
| 2987 | # no-dist: we don't want 'dist' and related rules. |
| 2988 | # -Wall: turns on all automake warnings... |
| 2989 | # -Wno-portability: ...except this one, since GNU make is required. |
| 2990 | am__api_version='1.15' |
| 2991 | |
| 2992 | # Find a good install program. We prefer a C program (faster), |
| 2993 | # so one script is as good as another. But avoid the broken or |
| 2994 | # incompatible versions: |
| 2995 | # SysV /etc/install, /usr/sbin/install |
| 2996 | # SunOS /usr/etc/install |
| 2997 | # IRIX /sbin/install |
| 2998 | # AIX /bin/install |
| 2999 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3000 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3001 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3002 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3003 | # OS/2's system install, which has a completely different semantic |
| 3004 | # ./install, which can be erroneously created by make from ./install.sh. |
| 3005 | # Reject install programs that cannot install multiple files. |
| 3006 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 3007 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 3008 | if test -z "$INSTALL"; then |
| 3009 | if ${ac_cv_path_install+:} false; then : |
| 3010 | $as_echo_n "(cached) " >&6 |
| 3011 | else |
| 3012 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3013 | for as_dir in $PATH |
| 3014 | do |
| 3015 | IFS=$as_save_IFS |
| 3016 | test -z "$as_dir" && as_dir=. |
| 3017 | # Account for people who put trailing slashes in PATH elements. |
| 3018 | case $as_dir/ in #(( |
| 3019 | ./ | .// | /[cC]/* | \ |
| 3020 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3021 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3022 | /usr/ucb/* ) ;; |
| 3023 | *) |
| 3024 | # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3025 | # Don't use installbsd from OSF since it installs stuff as root |
| 3026 | # by default. |
| 3027 | for ac_prog in ginstall scoinst install; do |
| 3028 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3029 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 3030 | if test $ac_prog = install && |
| 3031 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3032 | # AIX install. It has an incompatible calling convention. |
| 3033 | : |
| 3034 | elif test $ac_prog = install && |
| 3035 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3036 | # program-specific install script used by HP pwplus--don't use. |
| 3037 | : |
| 3038 | else |
| 3039 | rm -rf conftest.one conftest.two conftest.dir |
| 3040 | echo one > conftest.one |
| 3041 | echo two > conftest.two |
| 3042 | mkdir conftest.dir |
| 3043 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
| 3044 | test -s conftest.one && test -s conftest.two && |
| 3045 | test -s conftest.dir/conftest.one && |
| 3046 | test -s conftest.dir/conftest.two |
| 3047 | then |
| 3048 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 3049 | break 3 |
| 3050 | fi |
| 3051 | fi |
| 3052 | fi |
| 3053 | done |
| 3054 | done |
| 3055 | ;; |
| 3056 | esac |
| 3057 | |
| 3058 | done |
| 3059 | IFS=$as_save_IFS |
| 3060 | |
| 3061 | rm -rf conftest.one conftest.two conftest.dir |
| 3062 | |
| 3063 | fi |
| 3064 | if test "${ac_cv_path_install+set}" = set; then |
| 3065 | INSTALL=$ac_cv_path_install |
| 3066 | else |
| 3067 | # As a last resort, use the slow shell script. Don't cache a |
| 3068 | # value for INSTALL within a source directory, because that will |
| 3069 | # break other packages using the cache if that directory is |
| 3070 | # removed, or if the value is a relative name. |
| 3071 | INSTALL=$ac_install_sh |
| 3072 | fi |
| 3073 | fi |
| 3074 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 3075 | $as_echo "$INSTALL" >&6; } |
| 3076 | |
| 3077 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3078 | # It thinks the first close brace ends the variable substitution. |
| 3079 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3080 | |
| 3081 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3082 | |
| 3083 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3084 | |
| 3085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 3086 | $as_echo_n "checking whether build environment is sane... " >&6; } |
| 3087 | # Reject unsafe characters in $srcdir or the absolute working directory |
| 3088 | # name. Accept space and tab only in the latter. |
| 3089 | am_lf=' |
| 3090 | ' |
| 3091 | case `pwd` in |
| 3092 | *[\\\"\#\$\&\'\`$am_lf]*) |
| 3093 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 3094 | esac |
| 3095 | case $srcdir in |
| 3096 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 3097 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 3098 | esac |
| 3099 | |
| 3100 | # Do 'set' in a subshell so we don't clobber the current shell's |
| 3101 | # arguments. Must try -L first in case configure is actually a |
| 3102 | # symlink; some systems play weird games with the mod time of symlinks |
| 3103 | # (eg FreeBSD returns the mod time of the symlink's containing |
| 3104 | # directory). |
| 3105 | if ( |
| 3106 | am_has_slept=no |
| 3107 | for am_try in 1 2; do |
| 3108 | echo "timestamp, slept: $am_has_slept" > conftest.file |
| 3109 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 3110 | if test "$*" = "X"; then |
| 3111 | # -L didn't work. |
| 3112 | set X `ls -t "$srcdir/configure" conftest.file` |
| 3113 | fi |
| 3114 | if test "$*" != "X $srcdir/configure conftest.file" \ |
| 3115 | && test "$*" != "X conftest.file $srcdir/configure"; then |
| 3116 | |
| 3117 | # If neither matched, then we have a broken ls. This can happen |
| 3118 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 3119 | # broken ls alias from the environment. This has actually |
| 3120 | # happened. Such a system could not be considered "sane". |
| 3121 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 3122 | alias in your environment" "$LINENO" 5 |
| 3123 | fi |
| 3124 | if test "$2" = conftest.file || test $am_try -eq 2; then |
| 3125 | break |
| 3126 | fi |
| 3127 | # Just in case. |
| 3128 | sleep 1 |
| 3129 | am_has_slept=yes |
| 3130 | done |
| 3131 | test "$2" = conftest.file |
| 3132 | ) |
| 3133 | then |
| 3134 | # Ok. |
| 3135 | : |
| 3136 | else |
| 3137 | as_fn_error $? "newly created file is older than distributed files! |
| 3138 | Check your system clock" "$LINENO" 5 |
| 3139 | fi |
| 3140 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3141 | $as_echo "yes" >&6; } |
| 3142 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
| 3143 | # generated files are strictly newer. |
| 3144 | am_sleep_pid= |
| 3145 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 3146 | ( sleep 1 ) & |
| 3147 | am_sleep_pid=$! |
| 3148 | fi |
| 3149 | |
| 3150 | rm -f conftest.file |
| 3151 | |
| 3152 | test "$program_prefix" != NONE && |
| 3153 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 3154 | # Use a double $ so make ignores it. |
| 3155 | test "$program_suffix" != NONE && |
| 3156 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 3157 | # Double any \ or $. |
| 3158 | # By default was `s,x,x', remove it if useless. |
| 3159 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 3160 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 3161 | |
| 3162 | # Expand $ac_aux_dir to an absolute path. |
| 3163 | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 3164 | |
| 3165 | if test x"${MISSING+set}" != xset; then |
| 3166 | case $am_aux_dir in |
| 3167 | *\ * | *\ *) |
| 3168 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 3169 | *) |
| 3170 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 3171 | esac |
| 3172 | fi |
| 3173 | # Use eval to expand $SHELL |
| 3174 | if eval "$MISSING --is-lightweight"; then |
| 3175 | am_missing_run="$MISSING " |
| 3176 | else |
| 3177 | am_missing_run= |
| 3178 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 3179 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 3180 | fi |
| 3181 | |
| 3182 | if test x"${install_sh+set}" != xset; then |
| 3183 | case $am_aux_dir in |
| 3184 | *\ * | *\ *) |
| 3185 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 3186 | *) |
| 3187 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 3188 | esac |
| 3189 | fi |
| 3190 | |
| 3191 | # Installed binaries are usually stripped using 'strip' when the user |
| 3192 | # run "make install-strip". However 'strip' might not be the right |
| 3193 | # tool to use in cross-compilation environments, therefore Automake |
| 3194 | # will honor the 'STRIP' environment variable to overrule this program. |
| 3195 | if test "$cross_compiling" != no; then |
| 3196 | if test -n "$ac_tool_prefix"; then |
| 3197 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 3198 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 3199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3200 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3201 | if ${ac_cv_prog_STRIP+:} false; then : |
| 3202 | $as_echo_n "(cached) " >&6 |
| 3203 | else |
| 3204 | if test -n "$STRIP"; then |
| 3205 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 3206 | else |
| 3207 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3208 | for as_dir in $PATH |
| 3209 | do |
| 3210 | IFS=$as_save_IFS |
| 3211 | test -z "$as_dir" && as_dir=. |
| 3212 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3213 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3214 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 3215 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3216 | break 2 |
| 3217 | fi |
| 3218 | done |
| 3219 | done |
| 3220 | IFS=$as_save_IFS |
| 3221 | |
| 3222 | fi |
| 3223 | fi |
| 3224 | STRIP=$ac_cv_prog_STRIP |
| 3225 | if test -n "$STRIP"; then |
| 3226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 3227 | $as_echo "$STRIP" >&6; } |
| 3228 | else |
| 3229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3230 | $as_echo "no" >&6; } |
| 3231 | fi |
| 3232 | |
| 3233 | |
| 3234 | fi |
| 3235 | if test -z "$ac_cv_prog_STRIP"; then |
| 3236 | ac_ct_STRIP=$STRIP |
| 3237 | # Extract the first word of "strip", so it can be a program name with args. |
| 3238 | set dummy strip; ac_word=$2 |
| 3239 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3240 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3241 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 3242 | $as_echo_n "(cached) " >&6 |
| 3243 | else |
| 3244 | if test -n "$ac_ct_STRIP"; then |
| 3245 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 3246 | else |
| 3247 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3248 | for as_dir in $PATH |
| 3249 | do |
| 3250 | IFS=$as_save_IFS |
| 3251 | test -z "$as_dir" && as_dir=. |
| 3252 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3253 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3254 | ac_cv_prog_ac_ct_STRIP="strip" |
| 3255 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3256 | break 2 |
| 3257 | fi |
| 3258 | done |
| 3259 | done |
| 3260 | IFS=$as_save_IFS |
| 3261 | |
| 3262 | fi |
| 3263 | fi |
| 3264 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 3265 | if test -n "$ac_ct_STRIP"; then |
| 3266 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 3267 | $as_echo "$ac_ct_STRIP" >&6; } |
| 3268 | else |
| 3269 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3270 | $as_echo "no" >&6; } |
| 3271 | fi |
| 3272 | |
| 3273 | if test "x$ac_ct_STRIP" = x; then |
| 3274 | STRIP=":" |
| 3275 | else |
| 3276 | case $cross_compiling:$ac_tool_warned in |
| 3277 | yes:) |
| 3278 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3279 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3280 | ac_tool_warned=yes ;; |
| 3281 | esac |
| 3282 | STRIP=$ac_ct_STRIP |
| 3283 | fi |
| 3284 | else |
| 3285 | STRIP="$ac_cv_prog_STRIP" |
| 3286 | fi |
| 3287 | |
| 3288 | fi |
| 3289 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 3290 | |
| 3291 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 3292 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 3293 | if test -z "$MKDIR_P"; then |
| 3294 | if ${ac_cv_path_mkdir+:} false; then : |
| 3295 | $as_echo_n "(cached) " >&6 |
| 3296 | else |
| 3297 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3298 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 3299 | do |
| 3300 | IFS=$as_save_IFS |
| 3301 | test -z "$as_dir" && as_dir=. |
| 3302 | for ac_prog in mkdir gmkdir; do |
| 3303 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3304 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 3305 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 3306 | 'mkdir (GNU coreutils) '* | \ |
| 3307 | 'mkdir (coreutils) '* | \ |
| 3308 | 'mkdir (fileutils) '4.1*) |
| 3309 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
| 3310 | break 3;; |
| 3311 | esac |
| 3312 | done |
| 3313 | done |
| 3314 | done |
| 3315 | IFS=$as_save_IFS |
| 3316 | |
| 3317 | fi |
| 3318 | |
| 3319 | test -d ./--version && rmdir ./--version |
| 3320 | if test "${ac_cv_path_mkdir+set}" = set; then |
| 3321 | MKDIR_P="$ac_cv_path_mkdir -p" |
| 3322 | else |
| 3323 | # As a last resort, use the slow shell script. Don't cache a |
| 3324 | # value for MKDIR_P within a source directory, because that will |
| 3325 | # break other packages using the cache if that directory is |
| 3326 | # removed, or if the value is a relative name. |
| 3327 | MKDIR_P="$ac_install_sh -d" |
| 3328 | fi |
| 3329 | fi |
| 3330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 3331 | $as_echo "$MKDIR_P" >&6; } |
| 3332 | |
| 3333 | for ac_prog in gawk mawk nawk awk |
| 3334 | do |
| 3335 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3336 | set dummy $ac_prog; ac_word=$2 |
| 3337 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3338 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3339 | if ${ac_cv_prog_AWK+:} false; then : |
| 3340 | $as_echo_n "(cached) " >&6 |
| 3341 | else |
| 3342 | if test -n "$AWK"; then |
| 3343 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 3344 | else |
| 3345 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3346 | for as_dir in $PATH |
| 3347 | do |
| 3348 | IFS=$as_save_IFS |
| 3349 | test -z "$as_dir" && as_dir=. |
| 3350 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3351 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3352 | ac_cv_prog_AWK="$ac_prog" |
| 3353 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3354 | break 2 |
| 3355 | fi |
| 3356 | done |
| 3357 | done |
| 3358 | IFS=$as_save_IFS |
| 3359 | |
| 3360 | fi |
| 3361 | fi |
| 3362 | AWK=$ac_cv_prog_AWK |
| 3363 | if test -n "$AWK"; then |
| 3364 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 3365 | $as_echo "$AWK" >&6; } |
| 3366 | else |
| 3367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3368 | $as_echo "no" >&6; } |
| 3369 | fi |
| 3370 | |
| 3371 | |
| 3372 | test -n "$AWK" && break |
| 3373 | done |
| 3374 | |
| 3375 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3376 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 3377 | set x ${MAKE-make} |
| 3378 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3379 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 3380 | $as_echo_n "(cached) " >&6 |
| 3381 | else |
| 3382 | cat >conftest.make <<\_ACEOF |
| 3383 | SHELL = /bin/sh |
| 3384 | all: |
| 3385 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 3386 | _ACEOF |
| 3387 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 3388 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 3389 | *@@@%%%=?*=@@@%%%*) |
| 3390 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 3391 | *) |
| 3392 | eval ac_cv_prog_make_${ac_make}_set=no;; |
| 3393 | esac |
| 3394 | rm -f conftest.make |
| 3395 | fi |
| 3396 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 3397 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3398 | $as_echo "yes" >&6; } |
| 3399 | SET_MAKE= |
| 3400 | else |
| 3401 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3402 | $as_echo "no" >&6; } |
| 3403 | SET_MAKE="MAKE=${MAKE-make}" |
| 3404 | fi |
| 3405 | |
| 3406 | rm -rf .tst 2>/dev/null |
| 3407 | mkdir .tst 2>/dev/null |
| 3408 | if test -d .tst; then |
| 3409 | am__leading_dot=. |
| 3410 | else |
| 3411 | am__leading_dot=_ |
| 3412 | fi |
| 3413 | rmdir .tst 2>/dev/null |
| 3414 | |
| 3415 | # Check whether --enable-silent-rules was given. |
| 3416 | if test "${enable_silent_rules+set}" = set; then : |
| 3417 | enableval=$enable_silent_rules; |
| 3418 | fi |
| 3419 | |
| 3420 | case $enable_silent_rules in # ((( |
| 3421 | yes) AM_DEFAULT_VERBOSITY=0;; |
| 3422 | no) AM_DEFAULT_VERBOSITY=1;; |
| 3423 | *) AM_DEFAULT_VERBOSITY=1;; |
| 3424 | esac |
| 3425 | am_make=${MAKE-make} |
| 3426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3427 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 3428 | if ${am_cv_make_support_nested_variables+:} false; then : |
| 3429 | $as_echo_n "(cached) " >&6 |
| 3430 | else |
| 3431 | if $as_echo 'TRUE=$(BAR$(V)) |
| 3432 | BAR0=false |
| 3433 | BAR1=true |
| 3434 | V=1 |
| 3435 | am__doit: |
| 3436 | @$(TRUE) |
| 3437 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 3438 | am_cv_make_support_nested_variables=yes |
| 3439 | else |
| 3440 | am_cv_make_support_nested_variables=no |
| 3441 | fi |
| 3442 | fi |
| 3443 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3444 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 3445 | if test $am_cv_make_support_nested_variables = yes; then |
| 3446 | AM_V='$(V)' |
| 3447 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 3448 | else |
| 3449 | AM_V=$AM_DEFAULT_VERBOSITY |
| 3450 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 3451 | fi |
| 3452 | AM_BACKSLASH='\' |
| 3453 | |
| 3454 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 3455 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 3456 | # is not polluted with repeated "-I." |
| 3457 | am__isrc=' -I$(srcdir)' |
| 3458 | # test to see if srcdir already configured |
| 3459 | if test -f $srcdir/config.status; then |
| 3460 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 3461 | fi |
| 3462 | fi |
| 3463 | |
| 3464 | # test whether we have cygpath |
| 3465 | if test -z "$CYGPATH_W"; then |
| 3466 | if (cygpath --version) >/dev/null 2>/dev/null; then |
| 3467 | CYGPATH_W='cygpath -w' |
| 3468 | else |
| 3469 | CYGPATH_W=echo |
| 3470 | fi |
| 3471 | fi |
| 3472 | |
| 3473 | |
| 3474 | # Define the identity of the package. |
| 3475 | PACKAGE='libgfortran' |
| 3476 | VERSION='0.3' |
| 3477 | |
| 3478 | |
| 3479 | # Some tools Automake needs. |
| 3480 | |
| 3481 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 3482 | |
| 3483 | |
| 3484 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 3485 | |
| 3486 | |
| 3487 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 3488 | |
| 3489 | |
| 3490 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 3491 | |
| 3492 | |
| 3493 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 3494 | |
| 3495 | # For better backward compatibility. To be removed once Automake 1.9.x |
| 3496 | # dies out for good. For more background, see: |
| 3497 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3498 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3499 | mkdir_p='$(MKDIR_P)' |
| 3500 | |
| 3501 | # We need awk for the "check" target (and possibly the TAP driver). The |
| 3502 | # system "awk" is bad on some platforms. |
| 3503 | # Always define AMTAR for backward compatibility. Yes, it's still used |
| 3504 | # in the wild :-( We should find a proper way to deprecate it ... |
| 3505 | AMTAR='$${TAR-tar}' |
| 3506 | |
| 3507 | |
| 3508 | # We'll loop over all known methods to create a tar archive until one works. |
| 3509 | _am_tools='gnutar pax cpio none' |
| 3510 | |
| 3511 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 3512 | |
| 3513 | |
| 3514 | |
| 3515 | |
| 3516 | |
| 3517 | |
| 3518 | # POSIX will say in a future version that running "rm -f" with no argument |
| 3519 | # is OK; and we want to be able to make that assumption in our Makefile |
| 3520 | # recipes. So use an aggressive probe to check that the usage we want is |
| 3521 | # actually supported "in the wild" to an acceptable degree. |
| 3522 | # See automake bug#10828. |
| 3523 | # To make any issue more visible, cause the running configure to be aborted |
| 3524 | # by default if the 'rm' program in use doesn't match our expectations; the |
| 3525 | # user can still override this though. |
| 3526 | if rm -f && rm -fr && rm -rf; then : OK; else |
| 3527 | cat >&2 <<'END' |
| 3528 | Oops! |
| 3529 | |
| 3530 | Your 'rm' program seems unable to run without file operands specified |
| 3531 | on the command line, even when the '-f' option is present. This is contrary |
| 3532 | to the behaviour of most rm programs out there, and not conforming with |
| 3533 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 3534 | |
| 3535 | Please tell [email protected] about your system, including the value |
| 3536 | of your $PATH and any error possibly output before this message. This |
| 3537 | can help us improve future automake versions. |
| 3538 | |
| 3539 | END |
| 3540 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 3541 | echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 3542 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 3543 | echo >&2 |
| 3544 | else |
| 3545 | cat >&2 <<'END' |
| 3546 | Aborting the configuration process, to ensure you take notice of the issue. |
| 3547 | |
| 3548 | You can download and install GNU coreutils to get an 'rm' implementation |
| 3549 | that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3550 | |
| 3551 | If you want to complete the configuration process using your problematic |
| 3552 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3553 | to "yes", and re-run configure. |
| 3554 | |
| 3555 | END |
| 3556 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 3557 | fi |
| 3558 | fi |
| 3559 | |
| 3560 | |
| 3561 | |
| 3562 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3563 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3564 | # Check whether --enable-maintainer-mode was given. |
| 3565 | if test "${enable_maintainer_mode+set}" = set; then : |
| 3566 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 3567 | else |
| 3568 | USE_MAINTAINER_MODE=no |
| 3569 | fi |
| 3570 | |
| 3571 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 3572 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
| 3573 | if test $USE_MAINTAINER_MODE = yes; then |
| 3574 | MAINTAINER_MODE_TRUE= |
| 3575 | MAINTAINER_MODE_FALSE='#' |
| 3576 | else |
| 3577 | MAINTAINER_MODE_TRUE='#' |
| 3578 | MAINTAINER_MODE_FALSE= |
| 3579 | fi |
| 3580 | |
| 3581 | MAINT=$MAINTAINER_MODE_TRUE |
| 3582 | |
| 3583 | |
| 3584 | # Default to --enable-multilib |
| 3585 | # Check whether --enable-multilib was given. |
| 3586 | if test "${enable_multilib+set}" = set; then : |
| 3587 | enableval=$enable_multilib; case "$enableval" in |
| 3588 | yes) multilib=yes ;; |
| 3589 | no) multilib=no ;; |
| 3590 | *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;; |
| 3591 | esac |
| 3592 | else |
| 3593 | multilib=yes |
| 3594 | fi |
| 3595 | |
| 3596 | |
| 3597 | # We may get other options which we leave undocumented: |
| 3598 | # --with-target-subdir, --with-multisrctop, --with-multisubdir |
| 3599 | # See config-ml.in if you want the gory details. |
| 3600 | |
| 3601 | if test "$srcdir" = "."; then |
| 3602 | if test "$with_target_subdir" != "."; then |
| 3603 | multi_basedir="$srcdir/$with_multisrctop../.." |
| 3604 | else |
| 3605 | multi_basedir="$srcdir/$with_multisrctop.." |
| 3606 | fi |
| 3607 | else |
| 3608 | multi_basedir="$srcdir/.." |
| 3609 | fi |
| 3610 | |
| 3611 | |
| 3612 | # Even if the default multilib is not a cross compilation, |
| 3613 | # it may be that some of the other multilibs are. |
| 3614 | if test $cross_compiling = no && test $multilib = yes \ |
| 3615 | && test "x${with_multisubdir}" != x ; then |
| 3616 | cross_compiling=maybe |
| 3617 | fi |
| 3618 | |
| 3619 | ac_config_commands="$ac_config_commands default-1" |
| 3620 | |
| 3621 | |
| 3622 | # Handy for debugging: |
| 3623 | #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5 |
| 3624 | |
| 3625 | # Are we being configured with some form of cross compiler? |
| 3626 | # NB: We don't actually need to know this just now, but when, say, a test |
| 3627 | # suite is included, we'll have to know. |
| 3628 | if test "$build" != "$host"; then |
| 3629 | LIBGFOR_IS_NATIVE=false |
| 3630 | |
| 3631 | else |
| 3632 | LIBGFOR_IS_NATIVE=true |
| 3633 | fi |
| 3634 | |
| 3635 | DEPDIR="${am__leading_dot}deps" |
| 3636 | |
| 3637 | ac_config_commands="$ac_config_commands depfiles" |
| 3638 | |
| 3639 | |
| 3640 | am_make=${MAKE-make} |
| 3641 | cat > confinc << 'END' |
| 3642 | am__doit: |
| 3643 | @echo this is the am__doit target |
| 3644 | .PHONY: am__doit |
| 3645 | END |
| 3646 | # If we don't find an include directive, just comment out the code. |
| 3647 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 3648 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 3649 | am__include="#" |
| 3650 | am__quote= |
| 3651 | _am_result=none |
| 3652 | # First try GNU make style include. |
| 3653 | echo "include confinc" > confmf |
| 3654 | # Ignore all kinds of additional output from 'make'. |
| 3655 | case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3656 | *the\ am__doit\ target*) |
| 3657 | am__include=include |
| 3658 | am__quote= |
| 3659 | _am_result=GNU |
| 3660 | ;; |
| 3661 | esac |
| 3662 | # Now try BSD make style include. |
| 3663 | if test "$am__include" = "#"; then |
| 3664 | echo '.include "confinc"' > confmf |
| 3665 | case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3666 | *the\ am__doit\ target*) |
| 3667 | am__include=.include |
| 3668 | am__quote="\"" |
| 3669 | _am_result=BSD |
| 3670 | ;; |
| 3671 | esac |
| 3672 | fi |
| 3673 | |
| 3674 | |
| 3675 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3676 | $as_echo "$_am_result" >&6; } |
| 3677 | rm -f confinc confmf |
| 3678 | |
| 3679 | # Check whether --enable-dependency-tracking was given. |
| 3680 | if test "${enable_dependency_tracking+set}" = set; then : |
| 3681 | enableval=$enable_dependency_tracking; |
| 3682 | fi |
| 3683 | |
| 3684 | if test "x$enable_dependency_tracking" != xno; then |
| 3685 | am_depcomp="$ac_aux_dir/depcomp" |
| 3686 | AMDEPBACKSLASH='\' |
| 3687 | am__nodep='_no' |
| 3688 | fi |
| 3689 | if test "x$enable_dependency_tracking" != xno; then |
| 3690 | AMDEP_TRUE= |
| 3691 | AMDEP_FALSE='#' |
| 3692 | else |
| 3693 | AMDEP_TRUE='#' |
| 3694 | AMDEP_FALSE= |
| 3695 | fi |
| 3696 | |
| 3697 | |
| 3698 | ac_ext=c |
| 3699 | ac_cpp='$CPP $CPPFLAGS' |
| 3700 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3701 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3702 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3703 | if test -n "$ac_tool_prefix"; then |
| 3704 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 3705 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3706 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3707 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3708 | if ${ac_cv_prog_CC+:} false; then : |
| 3709 | $as_echo_n "(cached) " >&6 |
| 3710 | else |
| 3711 | if test -n "$CC"; then |
| 3712 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3713 | else |
| 3714 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3715 | for as_dir in $PATH |
| 3716 | do |
| 3717 | IFS=$as_save_IFS |
| 3718 | test -z "$as_dir" && as_dir=. |
| 3719 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3720 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3721 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3722 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3723 | break 2 |
| 3724 | fi |
| 3725 | done |
| 3726 | done |
| 3727 | IFS=$as_save_IFS |
| 3728 | |
| 3729 | fi |
| 3730 | fi |
| 3731 | CC=$ac_cv_prog_CC |
| 3732 | if test -n "$CC"; then |
| 3733 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3734 | $as_echo "$CC" >&6; } |
| 3735 | else |
| 3736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3737 | $as_echo "no" >&6; } |
| 3738 | fi |
| 3739 | |
| 3740 | |
| 3741 | fi |
| 3742 | if test -z "$ac_cv_prog_CC"; then |
| 3743 | ac_ct_CC=$CC |
| 3744 | # Extract the first word of "gcc", so it can be a program name with args. |
| 3745 | set dummy gcc; ac_word=$2 |
| 3746 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3747 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3748 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3749 | $as_echo_n "(cached) " >&6 |
| 3750 | else |
| 3751 | if test -n "$ac_ct_CC"; then |
| 3752 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3753 | else |
| 3754 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3755 | for as_dir in $PATH |
| 3756 | do |
| 3757 | IFS=$as_save_IFS |
| 3758 | test -z "$as_dir" && as_dir=. |
| 3759 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3760 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3761 | ac_cv_prog_ac_ct_CC="gcc" |
| 3762 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3763 | break 2 |
| 3764 | fi |
| 3765 | done |
| 3766 | done |
| 3767 | IFS=$as_save_IFS |
| 3768 | |
| 3769 | fi |
| 3770 | fi |
| 3771 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3772 | if test -n "$ac_ct_CC"; then |
| 3773 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3774 | $as_echo "$ac_ct_CC" >&6; } |
| 3775 | else |
| 3776 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3777 | $as_echo "no" >&6; } |
| 3778 | fi |
| 3779 | |
| 3780 | if test "x$ac_ct_CC" = x; then |
| 3781 | CC="" |
| 3782 | else |
| 3783 | case $cross_compiling:$ac_tool_warned in |
| 3784 | yes:) |
| 3785 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3786 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3787 | ac_tool_warned=yes ;; |
| 3788 | esac |
| 3789 | CC=$ac_ct_CC |
| 3790 | fi |
| 3791 | else |
| 3792 | CC="$ac_cv_prog_CC" |
| 3793 | fi |
| 3794 | |
| 3795 | if test -z "$CC"; then |
| 3796 | if test -n "$ac_tool_prefix"; then |
| 3797 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3798 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3799 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3800 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3801 | if ${ac_cv_prog_CC+:} false; then : |
| 3802 | $as_echo_n "(cached) " >&6 |
| 3803 | else |
| 3804 | if test -n "$CC"; then |
| 3805 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3806 | else |
| 3807 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3808 | for as_dir in $PATH |
| 3809 | do |
| 3810 | IFS=$as_save_IFS |
| 3811 | test -z "$as_dir" && as_dir=. |
| 3812 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3813 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3814 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3815 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3816 | break 2 |
| 3817 | fi |
| 3818 | done |
| 3819 | done |
| 3820 | IFS=$as_save_IFS |
| 3821 | |
| 3822 | fi |
| 3823 | fi |
| 3824 | CC=$ac_cv_prog_CC |
| 3825 | if test -n "$CC"; then |
| 3826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3827 | $as_echo "$CC" >&6; } |
| 3828 | else |
| 3829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3830 | $as_echo "no" >&6; } |
| 3831 | fi |
| 3832 | |
| 3833 | |
| 3834 | fi |
| 3835 | fi |
| 3836 | if test -z "$CC"; then |
| 3837 | # Extract the first word of "cc", so it can be a program name with args. |
| 3838 | set dummy cc; ac_word=$2 |
| 3839 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3840 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3841 | if ${ac_cv_prog_CC+:} false; then : |
| 3842 | $as_echo_n "(cached) " >&6 |
| 3843 | else |
| 3844 | if test -n "$CC"; then |
| 3845 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3846 | else |
| 3847 | ac_prog_rejected=no |
| 3848 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3849 | for as_dir in $PATH |
| 3850 | do |
| 3851 | IFS=$as_save_IFS |
| 3852 | test -z "$as_dir" && as_dir=. |
| 3853 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3854 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3855 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3856 | ac_prog_rejected=yes |
| 3857 | continue |
| 3858 | fi |
| 3859 | ac_cv_prog_CC="cc" |
| 3860 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3861 | break 2 |
| 3862 | fi |
| 3863 | done |
| 3864 | done |
| 3865 | IFS=$as_save_IFS |
| 3866 | |
| 3867 | if test $ac_prog_rejected = yes; then |
| 3868 | # We found a bogon in the path, so make sure we never use it. |
| 3869 | set dummy $ac_cv_prog_CC |
| 3870 | shift |
| 3871 | if test $# != 0; then |
| 3872 | # We chose a different compiler from the bogus one. |
| 3873 | # However, it has the same basename, so the bogon will be chosen |
| 3874 | # first if we set CC to just the basename; use the full file name. |
| 3875 | shift |
| 3876 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 3877 | fi |
| 3878 | fi |
| 3879 | fi |
| 3880 | fi |
| 3881 | CC=$ac_cv_prog_CC |
| 3882 | if test -n "$CC"; then |
| 3883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3884 | $as_echo "$CC" >&6; } |
| 3885 | else |
| 3886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3887 | $as_echo "no" >&6; } |
| 3888 | fi |
| 3889 | |
| 3890 | |
| 3891 | fi |
| 3892 | if test -z "$CC"; then |
| 3893 | if test -n "$ac_tool_prefix"; then |
| 3894 | for ac_prog in cl.exe |
| 3895 | do |
| 3896 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3897 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3898 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3899 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3900 | if ${ac_cv_prog_CC+:} false; then : |
| 3901 | $as_echo_n "(cached) " >&6 |
| 3902 | else |
| 3903 | if test -n "$CC"; then |
| 3904 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3905 | else |
| 3906 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3907 | for as_dir in $PATH |
| 3908 | do |
| 3909 | IFS=$as_save_IFS |
| 3910 | test -z "$as_dir" && as_dir=. |
| 3911 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3912 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3913 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3914 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3915 | break 2 |
| 3916 | fi |
| 3917 | done |
| 3918 | done |
| 3919 | IFS=$as_save_IFS |
| 3920 | |
| 3921 | fi |
| 3922 | fi |
| 3923 | CC=$ac_cv_prog_CC |
| 3924 | if test -n "$CC"; then |
| 3925 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3926 | $as_echo "$CC" >&6; } |
| 3927 | else |
| 3928 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3929 | $as_echo "no" >&6; } |
| 3930 | fi |
| 3931 | |
| 3932 | |
| 3933 | test -n "$CC" && break |
| 3934 | done |
| 3935 | fi |
| 3936 | if test -z "$CC"; then |
| 3937 | ac_ct_CC=$CC |
| 3938 | for ac_prog in cl.exe |
| 3939 | do |
| 3940 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3941 | set dummy $ac_prog; ac_word=$2 |
| 3942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3943 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3944 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3945 | $as_echo_n "(cached) " >&6 |
| 3946 | else |
| 3947 | if test -n "$ac_ct_CC"; then |
| 3948 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3949 | else |
| 3950 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3951 | for as_dir in $PATH |
| 3952 | do |
| 3953 | IFS=$as_save_IFS |
| 3954 | test -z "$as_dir" && as_dir=. |
| 3955 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3956 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3957 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3958 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3959 | break 2 |
| 3960 | fi |
| 3961 | done |
| 3962 | done |
| 3963 | IFS=$as_save_IFS |
| 3964 | |
| 3965 | fi |
| 3966 | fi |
| 3967 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3968 | if test -n "$ac_ct_CC"; then |
| 3969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3970 | $as_echo "$ac_ct_CC" >&6; } |
| 3971 | else |
| 3972 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3973 | $as_echo "no" >&6; } |
| 3974 | fi |
| 3975 | |
| 3976 | |
| 3977 | test -n "$ac_ct_CC" && break |
| 3978 | done |
| 3979 | |
| 3980 | if test "x$ac_ct_CC" = x; then |
| 3981 | CC="" |
| 3982 | else |
| 3983 | case $cross_compiling:$ac_tool_warned in |
| 3984 | yes:) |
| 3985 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3986 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3987 | ac_tool_warned=yes ;; |
| 3988 | esac |
| 3989 | CC=$ac_ct_CC |
| 3990 | fi |
| 3991 | fi |
| 3992 | |
| 3993 | fi |
| 3994 | |
| 3995 | |
| 3996 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3997 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3998 | as_fn_error $? "no acceptable C compiler found in \$PATH |
| 3999 | See \`config.log' for more details" "$LINENO" 5; } |
| 4000 | |
| 4001 | # Provide some information about the compiler. |
| 4002 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 4003 | set X $ac_compile |
| 4004 | ac_compiler=$2 |
| 4005 | for ac_option in --version -v -V -qversion; do |
| 4006 | { { ac_try="$ac_compiler $ac_option >&5" |
| 4007 | case "(($ac_try" in |
| 4008 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4009 | *) ac_try_echo=$ac_try;; |
| 4010 | esac |
| 4011 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4012 | $as_echo "$ac_try_echo"; } >&5 |
| 4013 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 4014 | ac_status=$? |
| 4015 | if test -s conftest.err; then |
| 4016 | sed '10a\ |
| 4017 | ... rest of stderr output deleted ... |
| 4018 | 10q' conftest.err >conftest.er1 |
| 4019 | cat conftest.er1 >&5 |
| 4020 | fi |
| 4021 | rm -f conftest.er1 conftest.err |
| 4022 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4023 | test $ac_status = 0; } |
| 4024 | done |
| 4025 | |
| 4026 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4027 | /* end confdefs.h. */ |
| 4028 | #include <stdio.h> |
| 4029 | int |
| 4030 | main () |
| 4031 | { |
| 4032 | printf ("hello world\n"); |
| 4033 | ; |
| 4034 | return 0; |
| 4035 | } |
| 4036 | _ACEOF |
| 4037 | # FIXME: Cleanup? |
| 4038 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 4039 | (eval $ac_link) 2>&5 |
| 4040 | ac_status=$? |
| 4041 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4042 | test $ac_status = 0; }; then : |
| 4043 | gcc_no_link=no |
| 4044 | else |
| 4045 | gcc_no_link=yes |
| 4046 | fi |
| 4047 | if test x$gcc_no_link = xyes; then |
| 4048 | # Setting cross_compile will disable run tests; it will |
| 4049 | # also disable AC_CHECK_FILE but that's generally |
| 4050 | # correct if we can't link. |
| 4051 | cross_compiling=yes |
| 4052 | EXEEXT= |
| 4053 | else |
| 4054 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4055 | /* end confdefs.h. */ |
| 4056 | |
| 4057 | int |
| 4058 | main () |
| 4059 | { |
| 4060 | |
| 4061 | ; |
| 4062 | return 0; |
| 4063 | } |
| 4064 | _ACEOF |
| 4065 | ac_clean_files_save=$ac_clean_files |
| 4066 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 4067 | # Try to create an executable without -o first, disregard a.out. |
| 4068 | # It will help us diagnose broken compilers, and finding out an intuition |
| 4069 | # of exeext. |
| 4070 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 4071 | $as_echo_n "checking whether the C compiler works... " >&6; } |
| 4072 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 4073 | |
| 4074 | # The possible output files: |
| 4075 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 4076 | |
| 4077 | ac_rmfiles= |
| 4078 | for ac_file in $ac_files |
| 4079 | do |
| 4080 | case $ac_file in |
| 4081 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4082 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 4083 | esac |
| 4084 | done |
| 4085 | rm -f $ac_rmfiles |
| 4086 | |
| 4087 | if { { ac_try="$ac_link_default" |
| 4088 | case "(($ac_try" in |
| 4089 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4090 | *) ac_try_echo=$ac_try;; |
| 4091 | esac |
| 4092 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4093 | $as_echo "$ac_try_echo"; } >&5 |
| 4094 | (eval "$ac_link_default") 2>&5 |
| 4095 | ac_status=$? |
| 4096 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4097 | test $ac_status = 0; }; then : |
| 4098 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 4099 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 4100 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 4101 | # so that the user can short-circuit this test for compilers unknown to |
| 4102 | # Autoconf. |
| 4103 | for ac_file in $ac_files '' |
| 4104 | do |
| 4105 | test -f "$ac_file" || continue |
| 4106 | case $ac_file in |
| 4107 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 4108 | ;; |
| 4109 | [ab].out ) |
| 4110 | # We found the default executable, but exeext='' is most |
| 4111 | # certainly right. |
| 4112 | break;; |
| 4113 | *.* ) |
| 4114 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 4115 | then :; else |
| 4116 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 4117 | fi |
| 4118 | # We set ac_cv_exeext here because the later test for it is not |
| 4119 | # safe: cross compilers may not add the suffix if given an `-o' |
| 4120 | # argument, so we may need to know it at that point already. |
| 4121 | # Even if this section looks crufty: it has the advantage of |
| 4122 | # actually working. |
| 4123 | break;; |
| 4124 | * ) |
| 4125 | break;; |
| 4126 | esac |
| 4127 | done |
| 4128 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 4129 | |
| 4130 | else |
| 4131 | ac_file='' |
| 4132 | fi |
| 4133 | if test -z "$ac_file"; then : |
| 4134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4135 | $as_echo "no" >&6; } |
| 4136 | $as_echo "$as_me: failed program was:" >&5 |
| 4137 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 4138 | |
| 4139 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4140 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4141 | as_fn_error 77 "C compiler cannot create executables |
| 4142 | See \`config.log' for more details" "$LINENO" 5; } |
| 4143 | else |
| 4144 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4145 | $as_echo "yes" >&6; } |
| 4146 | fi |
| 4147 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 4148 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
| 4149 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 4150 | $as_echo "$ac_file" >&6; } |
| 4151 | ac_exeext=$ac_cv_exeext |
| 4152 | |
| 4153 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 4154 | ac_clean_files=$ac_clean_files_save |
| 4155 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 4156 | $as_echo_n "checking for suffix of executables... " >&6; } |
| 4157 | if { { ac_try="$ac_link" |
| 4158 | case "(($ac_try" in |
| 4159 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4160 | *) ac_try_echo=$ac_try;; |
| 4161 | esac |
| 4162 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4163 | $as_echo "$ac_try_echo"; } >&5 |
| 4164 | (eval "$ac_link") 2>&5 |
| 4165 | ac_status=$? |
| 4166 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4167 | test $ac_status = 0; }; then : |
| 4168 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 4169 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 4170 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
| 4171 | # `rm'. |
| 4172 | for ac_file in conftest.exe conftest conftest.*; do |
| 4173 | test -f "$ac_file" || continue |
| 4174 | case $ac_file in |
| 4175 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4176 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 4177 | break;; |
| 4178 | * ) break;; |
| 4179 | esac |
| 4180 | done |
| 4181 | else |
| 4182 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4183 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4184 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 4185 | See \`config.log' for more details" "$LINENO" 5; } |
| 4186 | fi |
| 4187 | rm -f conftest conftest$ac_cv_exeext |
| 4188 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 4189 | $as_echo "$ac_cv_exeext" >&6; } |
| 4190 | |
| 4191 | rm -f conftest.$ac_ext |
| 4192 | EXEEXT=$ac_cv_exeext |
| 4193 | ac_exeext=$EXEEXT |
| 4194 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4195 | /* end confdefs.h. */ |
| 4196 | #include <stdio.h> |
| 4197 | int |
| 4198 | main () |
| 4199 | { |
| 4200 | FILE *f = fopen ("conftest.out", "w"); |
| 4201 | return ferror (f) || fclose (f) != 0; |
| 4202 | |
| 4203 | ; |
| 4204 | return 0; |
| 4205 | } |
| 4206 | _ACEOF |
| 4207 | ac_clean_files="$ac_clean_files conftest.out" |
| 4208 | # Check that the compiler produces executables we can run. If not, either |
| 4209 | # the compiler is broken, or we cross compile. |
| 4210 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 4211 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
| 4212 | if test "$cross_compiling" != yes; then |
| 4213 | { { ac_try="$ac_link" |
| 4214 | case "(($ac_try" in |
| 4215 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4216 | *) ac_try_echo=$ac_try;; |
| 4217 | esac |
| 4218 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4219 | $as_echo "$ac_try_echo"; } >&5 |
| 4220 | (eval "$ac_link") 2>&5 |
| 4221 | ac_status=$? |
| 4222 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4223 | test $ac_status = 0; } |
| 4224 | if { ac_try='./conftest$ac_cv_exeext' |
| 4225 | { { case "(($ac_try" in |
| 4226 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4227 | *) ac_try_echo=$ac_try;; |
| 4228 | esac |
| 4229 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4230 | $as_echo "$ac_try_echo"; } >&5 |
| 4231 | (eval "$ac_try") 2>&5 |
| 4232 | ac_status=$? |
| 4233 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4234 | test $ac_status = 0; }; }; then |
| 4235 | cross_compiling=no |
| 4236 | else |
| 4237 | if test "$cross_compiling" = maybe; then |
| 4238 | cross_compiling=yes |
| 4239 | else |
| 4240 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4241 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4242 | as_fn_error $? "cannot run C compiled programs. |
| 4243 | If you meant to cross compile, use \`--host'. |
| 4244 | See \`config.log' for more details" "$LINENO" 5; } |
| 4245 | fi |
| 4246 | fi |
| 4247 | fi |
| 4248 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 4249 | $as_echo "$cross_compiling" >&6; } |
| 4250 | |
| 4251 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 4252 | ac_clean_files=$ac_clean_files_save |
| 4253 | fi |
| 4254 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 4255 | $as_echo_n "checking for suffix of object files... " >&6; } |
| 4256 | if ${ac_cv_objext+:} false; then : |
| 4257 | $as_echo_n "(cached) " >&6 |
| 4258 | else |
| 4259 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4260 | /* end confdefs.h. */ |
| 4261 | |
| 4262 | int |
| 4263 | main () |
| 4264 | { |
| 4265 | |
| 4266 | ; |
| 4267 | return 0; |
| 4268 | } |
| 4269 | _ACEOF |
| 4270 | rm -f conftest.o conftest.obj |
| 4271 | if { { ac_try="$ac_compile" |
| 4272 | case "(($ac_try" in |
| 4273 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4274 | *) ac_try_echo=$ac_try;; |
| 4275 | esac |
| 4276 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4277 | $as_echo "$ac_try_echo"; } >&5 |
| 4278 | (eval "$ac_compile") 2>&5 |
| 4279 | ac_status=$? |
| 4280 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4281 | test $ac_status = 0; }; then : |
| 4282 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 4283 | test -f "$ac_file" || continue; |
| 4284 | case $ac_file in |
| 4285 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 4286 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 4287 | break;; |
| 4288 | esac |
| 4289 | done |
| 4290 | else |
| 4291 | $as_echo "$as_me: failed program was:" >&5 |
| 4292 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 4293 | |
| 4294 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4295 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4296 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 4297 | See \`config.log' for more details" "$LINENO" 5; } |
| 4298 | fi |
| 4299 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 4300 | fi |
| 4301 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 4302 | $as_echo "$ac_cv_objext" >&6; } |
| 4303 | OBJEXT=$ac_cv_objext |
| 4304 | ac_objext=$OBJEXT |
| 4305 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 4306 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 4307 | if ${ac_cv_c_compiler_gnu+:} false; then : |
| 4308 | $as_echo_n "(cached) " >&6 |
| 4309 | else |
| 4310 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4311 | /* end confdefs.h. */ |
| 4312 | |
| 4313 | int |
| 4314 | main () |
| 4315 | { |
| 4316 | #ifndef __GNUC__ |
| 4317 | choke me |
| 4318 | #endif |
| 4319 | |
| 4320 | ; |
| 4321 | return 0; |
| 4322 | } |
| 4323 | _ACEOF |
| 4324 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4325 | ac_compiler_gnu=yes |
| 4326 | else |
| 4327 | ac_compiler_gnu=no |
| 4328 | fi |
| 4329 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4330 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4331 | |
| 4332 | fi |
| 4333 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 4334 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 4335 | if test $ac_compiler_gnu = yes; then |
| 4336 | GCC=yes |
| 4337 | else |
| 4338 | GCC= |
| 4339 | fi |
| 4340 | ac_test_CFLAGS=${CFLAGS+set} |
| 4341 | ac_save_CFLAGS=$CFLAGS |
| 4342 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 4343 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 4344 | if ${ac_cv_prog_cc_g+:} false; then : |
| 4345 | $as_echo_n "(cached) " >&6 |
| 4346 | else |
| 4347 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 4348 | ac_c_werror_flag=yes |
| 4349 | ac_cv_prog_cc_g=no |
| 4350 | CFLAGS="-g" |
| 4351 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4352 | /* end confdefs.h. */ |
| 4353 | |
| 4354 | int |
| 4355 | main () |
| 4356 | { |
| 4357 | |
| 4358 | ; |
| 4359 | return 0; |
| 4360 | } |
| 4361 | _ACEOF |
| 4362 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4363 | ac_cv_prog_cc_g=yes |
| 4364 | else |
| 4365 | CFLAGS="" |
| 4366 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4367 | /* end confdefs.h. */ |
| 4368 | |
| 4369 | int |
| 4370 | main () |
| 4371 | { |
| 4372 | |
| 4373 | ; |
| 4374 | return 0; |
| 4375 | } |
| 4376 | _ACEOF |
| 4377 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4378 | |
| 4379 | else |
| 4380 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 4381 | CFLAGS="-g" |
| 4382 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4383 | /* end confdefs.h. */ |
| 4384 | |
| 4385 | int |
| 4386 | main () |
| 4387 | { |
| 4388 | |
| 4389 | ; |
| 4390 | return 0; |
| 4391 | } |
| 4392 | _ACEOF |
| 4393 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4394 | ac_cv_prog_cc_g=yes |
| 4395 | fi |
| 4396 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4397 | fi |
| 4398 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4399 | fi |
| 4400 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4401 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 4402 | fi |
| 4403 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 4404 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 4405 | if test "$ac_test_CFLAGS" = set; then |
| 4406 | CFLAGS=$ac_save_CFLAGS |
| 4407 | elif test $ac_cv_prog_cc_g = yes; then |
| 4408 | if test "$GCC" = yes; then |
| 4409 | CFLAGS="-g -O2" |
| 4410 | else |
| 4411 | CFLAGS="-g" |
| 4412 | fi |
| 4413 | else |
| 4414 | if test "$GCC" = yes; then |
| 4415 | CFLAGS="-O2" |
| 4416 | else |
| 4417 | CFLAGS= |
| 4418 | fi |
| 4419 | fi |
| 4420 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 4421 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 4422 | if ${ac_cv_prog_cc_c89+:} false; then : |
| 4423 | $as_echo_n "(cached) " >&6 |
| 4424 | else |
| 4425 | ac_cv_prog_cc_c89=no |
| 4426 | ac_save_CC=$CC |
| 4427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4428 | /* end confdefs.h. */ |
| 4429 | #include <stdarg.h> |
| 4430 | #include <stdio.h> |
| 4431 | struct stat; |
| 4432 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 4433 | struct buf { int x; }; |
| 4434 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 4435 | static char *e (p, i) |
| 4436 | char **p; |
| 4437 | int i; |
| 4438 | { |
| 4439 | return p[i]; |
| 4440 | } |
| 4441 | static char *f (char * (*g) (char **, int), char **p, ...) |
| 4442 | { |
| 4443 | char *s; |
| 4444 | va_list v; |
| 4445 | va_start (v,p); |
| 4446 | s = g (p, va_arg (v,int)); |
| 4447 | va_end (v); |
| 4448 | return s; |
| 4449 | } |
| 4450 | |
| 4451 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 4452 | function prototypes and stuff, but not '\xHH' hex character constants. |
| 4453 | These don't provoke an error unfortunately, instead are silently treated |
| 4454 | as 'x'. The following induces an error, until -std is added to get |
| 4455 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 4456 | array size at least. It's necessary to write '\x00'==0 to get something |
| 4457 | that's true only with -std. */ |
| 4458 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 4459 | |
| 4460 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 4461 | inside strings and character constants. */ |
| 4462 | #define FOO(x) 'x' |
| 4463 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 4464 | |
| 4465 | int test (int i, double x); |
| 4466 | struct s1 {int (*f) (int a);}; |
| 4467 | struct s2 {int (*f) (double a);}; |
| 4468 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 4469 | int argc; |
| 4470 | char **argv; |
| 4471 | int |
| 4472 | main () |
| 4473 | { |
| 4474 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 4475 | ; |
| 4476 | return 0; |
| 4477 | } |
| 4478 | _ACEOF |
| 4479 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 4480 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4481 | do |
| 4482 | CC="$ac_save_CC $ac_arg" |
| 4483 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4484 | ac_cv_prog_cc_c89=$ac_arg |
| 4485 | fi |
| 4486 | rm -f core conftest.err conftest.$ac_objext |
| 4487 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 4488 | done |
| 4489 | rm -f conftest.$ac_ext |
| 4490 | CC=$ac_save_CC |
| 4491 | |
| 4492 | fi |
| 4493 | # AC_CACHE_VAL |
| 4494 | case "x$ac_cv_prog_cc_c89" in |
| 4495 | x) |
| 4496 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4497 | $as_echo "none needed" >&6; } ;; |
| 4498 | xno) |
| 4499 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4500 | $as_echo "unsupported" >&6; } ;; |
| 4501 | *) |
| 4502 | CC="$CC $ac_cv_prog_cc_c89" |
| 4503 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 4504 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 4505 | esac |
| 4506 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 4507 | |
| 4508 | fi |
| 4509 | |
| 4510 | ac_ext=c |
| 4511 | ac_cpp='$CPP $CPPFLAGS' |
| 4512 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4513 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4514 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4515 | |
| 4516 | ac_ext=c |
| 4517 | ac_cpp='$CPP $CPPFLAGS' |
| 4518 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4519 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4520 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4521 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4522 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 4523 | if ${am_cv_prog_cc_c_o+:} false; then : |
| 4524 | $as_echo_n "(cached) " >&6 |
| 4525 | else |
| 4526 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4527 | /* end confdefs.h. */ |
| 4528 | |
| 4529 | int |
| 4530 | main () |
| 4531 | { |
| 4532 | |
| 4533 | ; |
| 4534 | return 0; |
| 4535 | } |
| 4536 | _ACEOF |
| 4537 | # Make sure it works both with $CC and with simple cc. |
| 4538 | # Following AC_PROG_CC_C_O, we do the test twice because some |
| 4539 | # compilers refuse to overwrite an existing .o file with -o, |
| 4540 | # though they will create one. |
| 4541 | am_cv_prog_cc_c_o=yes |
| 4542 | for am_i in 1 2; do |
| 4543 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 4544 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 4545 | ac_status=$? |
| 4546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4547 | (exit $ac_status); } \ |
| 4548 | && test -f conftest2.$ac_objext; then |
| 4549 | : OK |
| 4550 | else |
| 4551 | am_cv_prog_cc_c_o=no |
| 4552 | break |
| 4553 | fi |
| 4554 | done |
| 4555 | rm -f core conftest* |
| 4556 | unset am_i |
| 4557 | fi |
| 4558 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 4559 | $as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 4560 | if test "$am_cv_prog_cc_c_o" != yes; then |
| 4561 | # Losing compiler, so override with the script. |
| 4562 | # FIXME: It is wrong to rewrite CC. |
| 4563 | # But if we don't then we get into trouble of one sort or another. |
| 4564 | # A longer-term fix would be to have automake use am__CC in this case, |
| 4565 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 4566 | CC="$am_aux_dir/compile $CC" |
| 4567 | fi |
| 4568 | ac_ext=c |
| 4569 | ac_cpp='$CPP $CPPFLAGS' |
| 4570 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4571 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4572 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4573 | |
| 4574 | |
| 4575 | depcc="$CC" am_compiler_list= |
| 4576 | |
| 4577 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 4578 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
| 4579 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 4580 | $as_echo_n "(cached) " >&6 |
| 4581 | else |
| 4582 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 4583 | # We make a subdir and do the tests there. Otherwise we can end up |
| 4584 | # making bogus files that we don't know about and never remove. For |
| 4585 | # instance it was reported that on HP-UX the gcc test will end up |
| 4586 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 4587 | # in D". |
| 4588 | rm -rf conftest.dir |
| 4589 | mkdir conftest.dir |
| 4590 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 4591 | # using a relative directory. |
| 4592 | cp "$am_depcomp" conftest.dir |
| 4593 | cd conftest.dir |
| 4594 | # We will build objects and dependencies in a subdirectory because |
| 4595 | # it helps to detect inapplicable dependency modes. For instance |
| 4596 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 4597 | # side effect of compilation, but ICC will put the dependencies in |
| 4598 | # the current directory while Tru64 will put them in the object |
| 4599 | # directory. |
| 4600 | mkdir sub |
| 4601 | |
| 4602 | am_cv_CC_dependencies_compiler_type=none |
| 4603 | if test "$am_compiler_list" = ""; then |
| 4604 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 4605 | fi |
| 4606 | am__universal=false |
| 4607 | case " $depcc " in #( |
| 4608 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 4609 | esac |
| 4610 | |
| 4611 | for depmode in $am_compiler_list; do |
| 4612 | # Setup a source with many dependencies, because some compilers |
| 4613 | # like to wrap large dependency lists on column 80 (with \), and |
| 4614 | # we should not choose a depcomp mode which is confused by this. |
| 4615 | # |
| 4616 | # We need to recreate these files for each test, as the compiler may |
| 4617 | # overwrite some of them when testing with obscure command lines. |
| 4618 | # This happens at least with the AIX C compiler. |
| 4619 | : > sub/conftest.c |
| 4620 | for i in 1 2 3 4 5 6; do |
| 4621 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 4622 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 4623 | # Solaris 10 /bin/sh. |
| 4624 | echo '/* dummy */' > sub/conftst$i.h |
| 4625 | done |
| 4626 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 4627 | |
| 4628 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 4629 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 4630 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 4631 | # versions had trouble with output in subdirs. |
| 4632 | am__obj=sub/conftest.${OBJEXT-o} |
| 4633 | am__minus_obj="-o $am__obj" |
| 4634 | case $depmode in |
| 4635 | gcc) |
| 4636 | # This depmode causes a compiler race in universal mode. |
| 4637 | test "$am__universal" = false || continue |
| 4638 | ;; |
| 4639 | nosideeffect) |
| 4640 | # After this tag, mechanisms are not by side-effect, so they'll |
| 4641 | # only be used when explicitly requested. |
| 4642 | if test "x$enable_dependency_tracking" = xyes; then |
| 4643 | continue |
| 4644 | else |
| 4645 | break |
| 4646 | fi |
| 4647 | ;; |
| 4648 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 4649 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 4650 | # not run yet. These depmodes are late enough in the game, and |
| 4651 | # so weak that their functioning should not be impacted. |
| 4652 | am__obj=conftest.${OBJEXT-o} |
| 4653 | am__minus_obj= |
| 4654 | ;; |
| 4655 | none) break ;; |
| 4656 | esac |
| 4657 | if depmode=$depmode \ |
| 4658 | source=sub/conftest.c object=$am__obj \ |
| 4659 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 4660 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 4661 | >/dev/null 2>conftest.err && |
| 4662 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 4663 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 4664 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 4665 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 4666 | # icc doesn't choke on unknown options, it will just issue warnings |
| 4667 | # or remarks (even with -Werror). So we grep stderr for any message |
| 4668 | # that says an option was ignored or not supported. |
| 4669 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 4670 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 4671 | # The diagnosis changed in icc 8.0: |
| 4672 | # icc: Command line remark: option '-MP' not supported |
| 4673 | if (grep 'ignoring option' conftest.err || |
| 4674 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 4675 | am_cv_CC_dependencies_compiler_type=$depmode |
| 4676 | break |
| 4677 | fi |
| 4678 | fi |
| 4679 | done |
| 4680 | |
| 4681 | cd .. |
| 4682 | rm -rf conftest.dir |
| 4683 | else |
| 4684 | am_cv_CC_dependencies_compiler_type=none |
| 4685 | fi |
| 4686 | |
| 4687 | fi |
| 4688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 4689 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 4690 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 4691 | |
| 4692 | if |
| 4693 | test "x$enable_dependency_tracking" != xno \ |
| 4694 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 4695 | am__fastdepCC_TRUE= |
| 4696 | am__fastdepCC_FALSE='#' |
| 4697 | else |
| 4698 | am__fastdepCC_TRUE='#' |
| 4699 | am__fastdepCC_FALSE= |
| 4700 | fi |
| 4701 | |
| 4702 | |
| 4703 | |
| 4704 | ac_ext=c |
| 4705 | ac_cpp='$CPP $CPPFLAGS' |
| 4706 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4707 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4708 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4709 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 4710 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4711 | # On Suns, sometimes $CPP names a directory. |
| 4712 | if test -n "$CPP" && test -d "$CPP"; then |
| 4713 | CPP= |
| 4714 | fi |
| 4715 | if test -z "$CPP"; then |
| 4716 | if ${ac_cv_prog_CPP+:} false; then : |
| 4717 | $as_echo_n "(cached) " >&6 |
| 4718 | else |
| 4719 | # Double quotes because CPP needs to be expanded |
| 4720 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 4721 | do |
| 4722 | ac_preproc_ok=false |
| 4723 | for ac_c_preproc_warn_flag in '' yes |
| 4724 | do |
| 4725 | # Use a header file that comes with gcc, so configuring glibc |
| 4726 | # with a fresh cross-compiler works. |
| 4727 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4728 | # <limits.h> exists even on freestanding compilers. |
| 4729 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4730 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4731 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4732 | /* end confdefs.h. */ |
| 4733 | #ifdef __STDC__ |
| 4734 | # include <limits.h> |
| 4735 | #else |
| 4736 | # include <assert.h> |
| 4737 | #endif |
| 4738 | Syntax error |
| 4739 | _ACEOF |
| 4740 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 4741 | |
| 4742 | else |
| 4743 | # Broken: fails on valid input. |
| 4744 | continue |
| 4745 | fi |
| 4746 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 4747 | |
| 4748 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4749 | # can be detected and how. |
| 4750 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4751 | /* end confdefs.h. */ |
| 4752 | #include <ac_nonexistent.h> |
| 4753 | _ACEOF |
| 4754 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 4755 | # Broken: success on invalid input. |
| 4756 | continue |
| 4757 | else |
| 4758 | # Passes both tests. |
| 4759 | ac_preproc_ok=: |
| 4760 | break |
| 4761 | fi |
| 4762 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 4763 | |
| 4764 | done |
| 4765 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4766 | rm -f conftest.i conftest.err conftest.$ac_ext |
| 4767 | if $ac_preproc_ok; then : |
| 4768 | break |
| 4769 | fi |
| 4770 | |
| 4771 | done |
| 4772 | ac_cv_prog_CPP=$CPP |
| 4773 | |
| 4774 | fi |
| 4775 | CPP=$ac_cv_prog_CPP |
| 4776 | else |
| 4777 | ac_cv_prog_CPP=$CPP |
| 4778 | fi |
| 4779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 4780 | $as_echo "$CPP" >&6; } |
| 4781 | ac_preproc_ok=false |
| 4782 | for ac_c_preproc_warn_flag in '' yes |
| 4783 | do |
| 4784 | # Use a header file that comes with gcc, so configuring glibc |
| 4785 | # with a fresh cross-compiler works. |
| 4786 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4787 | # <limits.h> exists even on freestanding compilers. |
| 4788 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4789 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4790 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4791 | /* end confdefs.h. */ |
| 4792 | #ifdef __STDC__ |
| 4793 | # include <limits.h> |
| 4794 | #else |
| 4795 | # include <assert.h> |
| 4796 | #endif |
| 4797 | Syntax error |
| 4798 | _ACEOF |
| 4799 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 4800 | |
| 4801 | else |
| 4802 | # Broken: fails on valid input. |
| 4803 | continue |
| 4804 | fi |
| 4805 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 4806 | |
| 4807 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4808 | # can be detected and how. |
| 4809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4810 | /* end confdefs.h. */ |
| 4811 | #include <ac_nonexistent.h> |
| 4812 | _ACEOF |
| 4813 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 4814 | # Broken: success on invalid input. |
| 4815 | continue |
| 4816 | else |
| 4817 | # Passes both tests. |
| 4818 | ac_preproc_ok=: |
| 4819 | break |
| 4820 | fi |
| 4821 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 4822 | |
| 4823 | done |
| 4824 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4825 | rm -f conftest.i conftest.err conftest.$ac_ext |
| 4826 | if $ac_preproc_ok; then : |
| 4827 | |
| 4828 | else |
| 4829 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4830 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4831 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 4832 | See \`config.log' for more details" "$LINENO" 5; } |
| 4833 | fi |
| 4834 | |
| 4835 | ac_ext=c |
| 4836 | ac_cpp='$CPP $CPPFLAGS' |
| 4837 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4838 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4839 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4840 | |
| 4841 | |
| 4842 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4843 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4844 | if ${ac_cv_path_GREP+:} false; then : |
| 4845 | $as_echo_n "(cached) " >&6 |
| 4846 | else |
| 4847 | if test -z "$GREP"; then |
| 4848 | ac_path_GREP_found=false |
| 4849 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 4850 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4851 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4852 | do |
| 4853 | IFS=$as_save_IFS |
| 4854 | test -z "$as_dir" && as_dir=. |
| 4855 | for ac_prog in grep ggrep; do |
| 4856 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4857 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4858 | as_fn_executable_p "$ac_path_GREP" || continue |
| 4859 | # Check for GNU ac_path_GREP and select it if it is found. |
| 4860 | # Check for GNU $ac_path_GREP |
| 4861 | case `"$ac_path_GREP" --version 2>&1` in |
| 4862 | *GNU*) |
| 4863 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 4864 | *) |
| 4865 | ac_count=0 |
| 4866 | $as_echo_n 0123456789 >"conftest.in" |
| 4867 | while : |
| 4868 | do |
| 4869 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4870 | mv "conftest.tmp" "conftest.in" |
| 4871 | cp "conftest.in" "conftest.nl" |
| 4872 | $as_echo 'GREP' >> "conftest.nl" |
| 4873 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4874 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4875 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4876 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 4877 | # Best one so far, save it but keep looking for a better one |
| 4878 | ac_cv_path_GREP="$ac_path_GREP" |
| 4879 | ac_path_GREP_max=$ac_count |
| 4880 | fi |
| 4881 | # 10*(2^10) chars as input seems more than enough |
| 4882 | test $ac_count -gt 10 && break |
| 4883 | done |
| 4884 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 4885 | esac |
| 4886 | |
| 4887 | $ac_path_GREP_found && break 3 |
| 4888 | done |
| 4889 | done |
| 4890 | done |
| 4891 | IFS=$as_save_IFS |
| 4892 | if test -z "$ac_cv_path_GREP"; then |
| 4893 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4894 | fi |
| 4895 | else |
| 4896 | ac_cv_path_GREP=$GREP |
| 4897 | fi |
| 4898 | |
| 4899 | fi |
| 4900 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 4901 | $as_echo "$ac_cv_path_GREP" >&6; } |
| 4902 | GREP="$ac_cv_path_GREP" |
| 4903 | |
| 4904 | |
| 4905 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4906 | $as_echo_n "checking for egrep... " >&6; } |
| 4907 | if ${ac_cv_path_EGREP+:} false; then : |
| 4908 | $as_echo_n "(cached) " >&6 |
| 4909 | else |
| 4910 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 4911 | then ac_cv_path_EGREP="$GREP -E" |
| 4912 | else |
| 4913 | if test -z "$EGREP"; then |
| 4914 | ac_path_EGREP_found=false |
| 4915 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 4916 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4917 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4918 | do |
| 4919 | IFS=$as_save_IFS |
| 4920 | test -z "$as_dir" && as_dir=. |
| 4921 | for ac_prog in egrep; do |
| 4922 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4923 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4924 | as_fn_executable_p "$ac_path_EGREP" || continue |
| 4925 | # Check for GNU ac_path_EGREP and select it if it is found. |
| 4926 | # Check for GNU $ac_path_EGREP |
| 4927 | case `"$ac_path_EGREP" --version 2>&1` in |
| 4928 | *GNU*) |
| 4929 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 4930 | *) |
| 4931 | ac_count=0 |
| 4932 | $as_echo_n 0123456789 >"conftest.in" |
| 4933 | while : |
| 4934 | do |
| 4935 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4936 | mv "conftest.tmp" "conftest.in" |
| 4937 | cp "conftest.in" "conftest.nl" |
| 4938 | $as_echo 'EGREP' >> "conftest.nl" |
| 4939 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4940 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4941 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4942 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 4943 | # Best one so far, save it but keep looking for a better one |
| 4944 | ac_cv_path_EGREP="$ac_path_EGREP" |
| 4945 | ac_path_EGREP_max=$ac_count |
| 4946 | fi |
| 4947 | # 10*(2^10) chars as input seems more than enough |
| 4948 | test $ac_count -gt 10 && break |
| 4949 | done |
| 4950 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 4951 | esac |
| 4952 | |
| 4953 | $ac_path_EGREP_found && break 3 |
| 4954 | done |
| 4955 | done |
| 4956 | done |
| 4957 | IFS=$as_save_IFS |
| 4958 | if test -z "$ac_cv_path_EGREP"; then |
| 4959 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4960 | fi |
| 4961 | else |
| 4962 | ac_cv_path_EGREP=$EGREP |
| 4963 | fi |
| 4964 | |
| 4965 | fi |
| 4966 | fi |
| 4967 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 4968 | $as_echo "$ac_cv_path_EGREP" >&6; } |
| 4969 | EGREP="$ac_cv_path_EGREP" |
| 4970 | |
| 4971 | |
| 4972 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 4973 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 4974 | if ${ac_cv_header_stdc+:} false; then : |
| 4975 | $as_echo_n "(cached) " >&6 |
| 4976 | else |
| 4977 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4978 | /* end confdefs.h. */ |
| 4979 | #include <stdlib.h> |
| 4980 | #include <stdarg.h> |
| 4981 | #include <string.h> |
| 4982 | #include <float.h> |
| 4983 | |
| 4984 | int |
| 4985 | main () |
| 4986 | { |
| 4987 | |
| 4988 | ; |
| 4989 | return 0; |
| 4990 | } |
| 4991 | _ACEOF |
| 4992 | if ac_fn_c_try_compile "$LINENO"; then : |
| 4993 | ac_cv_header_stdc=yes |
| 4994 | else |
| 4995 | ac_cv_header_stdc=no |
| 4996 | fi |
| 4997 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4998 | |
| 4999 | if test $ac_cv_header_stdc = yes; then |
| 5000 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 5001 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5002 | /* end confdefs.h. */ |
| 5003 | #include <string.h> |
| 5004 | |
| 5005 | _ACEOF |
| 5006 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5007 | $EGREP "memchr" >/dev/null 2>&1; then : |
| 5008 | |
| 5009 | else |
| 5010 | ac_cv_header_stdc=no |
| 5011 | fi |
| 5012 | rm -f conftest* |
| 5013 | |
| 5014 | fi |
| 5015 | |
| 5016 | if test $ac_cv_header_stdc = yes; then |
| 5017 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 5018 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5019 | /* end confdefs.h. */ |
| 5020 | #include <stdlib.h> |
| 5021 | |
| 5022 | _ACEOF |
| 5023 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5024 | $EGREP "free" >/dev/null 2>&1; then : |
| 5025 | |
| 5026 | else |
| 5027 | ac_cv_header_stdc=no |
| 5028 | fi |
| 5029 | rm -f conftest* |
| 5030 | |
| 5031 | fi |
| 5032 | |
| 5033 | if test $ac_cv_header_stdc = yes; then |
| 5034 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 5035 | if test "$cross_compiling" = yes; then : |
| 5036 | : |
| 5037 | else |
| 5038 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5039 | /* end confdefs.h. */ |
| 5040 | #include <ctype.h> |
| 5041 | #include <stdlib.h> |
| 5042 | #if ((' ' & 0x0FF) == 0x020) |
| 5043 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 5044 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 5045 | #else |
| 5046 | # define ISLOWER(c) \ |
| 5047 | (('a' <= (c) && (c) <= 'i') \ |
| 5048 | || ('j' <= (c) && (c) <= 'r') \ |
| 5049 | || ('s' <= (c) && (c) <= 'z')) |
| 5050 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 5051 | #endif |
| 5052 | |
| 5053 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 5054 | int |
| 5055 | main () |
| 5056 | { |
| 5057 | int i; |
| 5058 | for (i = 0; i < 256; i++) |
| 5059 | if (XOR (islower (i), ISLOWER (i)) |
| 5060 | || toupper (i) != TOUPPER (i)) |
| 5061 | return 2; |
| 5062 | return 0; |
| 5063 | } |
| 5064 | _ACEOF |
| 5065 | if ac_fn_c_try_run "$LINENO"; then : |
| 5066 | |
| 5067 | else |
| 5068 | ac_cv_header_stdc=no |
| 5069 | fi |
| 5070 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 5071 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5072 | fi |
| 5073 | |
| 5074 | fi |
| 5075 | fi |
| 5076 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 5077 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 5078 | if test $ac_cv_header_stdc = yes; then |
| 5079 | |
| 5080 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 5081 | |
| 5082 | fi |
| 5083 | |
| 5084 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 5085 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 5086 | inttypes.h stdint.h unistd.h |
| 5087 | do : |
| 5088 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5089 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 5090 | " |
| 5091 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 5092 | cat >>confdefs.h <<_ACEOF |
| 5093 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5094 | _ACEOF |
| 5095 | |
| 5096 | fi |
| 5097 | |
| 5098 | done |
| 5099 | |
| 5100 | |
| 5101 | |
| 5102 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
| 5103 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
| 5104 | MINIX=yes |
| 5105 | else |
| 5106 | MINIX= |
| 5107 | fi |
| 5108 | |
| 5109 | |
| 5110 | if test "$MINIX" = yes; then |
| 5111 | |
| 5112 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
| 5113 | |
| 5114 | |
| 5115 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 5116 | |
| 5117 | |
| 5118 | $as_echo "#define _MINIX 1" >>confdefs.h |
| 5119 | |
| 5120 | fi |
| 5121 | |
| 5122 | |
| 5123 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
| 5124 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 5125 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
| 5126 | $as_echo_n "(cached) " >&6 |
| 5127 | else |
| 5128 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5129 | /* end confdefs.h. */ |
| 5130 | |
| 5131 | # define __EXTENSIONS__ 1 |
| 5132 | $ac_includes_default |
| 5133 | int |
| 5134 | main () |
| 5135 | { |
| 5136 | |
| 5137 | ; |
| 5138 | return 0; |
| 5139 | } |
| 5140 | _ACEOF |
| 5141 | if ac_fn_c_try_compile "$LINENO"; then : |
| 5142 | ac_cv_safe_to_define___extensions__=yes |
| 5143 | else |
| 5144 | ac_cv_safe_to_define___extensions__=no |
| 5145 | fi |
| 5146 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5147 | fi |
| 5148 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
| 5149 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| 5150 | test $ac_cv_safe_to_define___extensions__ = yes && |
| 5151 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
| 5152 | |
| 5153 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
| 5154 | |
| 5155 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
| 5156 | |
| 5157 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 5158 | |
| 5159 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 5160 | |
| 5161 | |
| 5162 | |
| 5163 | |
| 5164 | # Check whether --with-toolexeclibdir was given. |
| 5165 | if test "${with_toolexeclibdir+set}" = set; then : |
| 5166 | withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in |
| 5167 | /) |
| 5168 | ;; |
| 5169 | */) |
| 5170 | with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'` |
| 5171 | ;; |
| 5172 | esac |
| 5173 | else |
| 5174 | with_toolexeclibdir=no |
| 5175 | fi |
| 5176 | |
| 5177 | |
| 5178 | |
| 5179 | # Calculate toolexeclibdir |
| 5180 | # Also toolexecdir, though it's only used in toolexeclibdir |
| 5181 | case ${version_specific_libs} in |
| 5182 | yes) |
| 5183 | # Need the gcc compiler version to know where to install libraries |
| 5184 | # and header files if --enable-version-specific-runtime-libs option |
| 5185 | # is selected. |
| 5186 | toolexecdir='$(libdir)/gcc/$(target_alias)' |
| 5187 | toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)' |
| 5188 | ;; |
| 5189 | no) |
| 5190 | if test -n "$with_cross_host" && |
| 5191 | test x"$with_cross_host" != x"no"; then |
| 5192 | # Install a library built with a cross compiler in tooldir, not libdir. |
| 5193 | toolexecdir='$(exec_prefix)/$(target_alias)' |
| 5194 | case ${with_toolexeclibdir} in |
| 5195 | no) |
| 5196 | toolexeclibdir='$(toolexecdir)/lib' |
| 5197 | ;; |
| 5198 | *) |
| 5199 | toolexeclibdir=${with_toolexeclibdir} |
| 5200 | ;; |
| 5201 | esac |
| 5202 | else |
| 5203 | toolexecdir='$(libdir)/gcc-lib/$(target_alias)' |
| 5204 | toolexeclibdir='$(libdir)' |
| 5205 | fi |
| 5206 | multi_os_directory=`$CC -print-multi-os-directory` |
| 5207 | case $multi_os_directory in |
| 5208 | .) ;; # Avoid trailing /. |
| 5209 | *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; |
| 5210 | esac |
| 5211 | ;; |
| 5212 | esac |
| 5213 | |
| 5214 | |
| 5215 | |
| 5216 | # Create a spec file, so that compile/link tests don't fail |
| 5217 | test -f libgfortran.spec || touch libgfortran.spec |
| 5218 | |
| 5219 | ac_ext=c |
| 5220 | ac_cpp='$CPP $CPPFLAGS' |
| 5221 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5222 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5223 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5224 | |
| 5225 | # Check the compiler. |
| 5226 | # The same as in boehm-gc and libstdc++. Have to borrow it from there. |
| 5227 | # We must force CC to /not/ be precious variables; otherwise |
| 5228 | # the wrong, non-multilib-adjusted value will be used in multilibs. |
| 5229 | # As a side effect, we have to subst CFLAGS ourselves. |
| 5230 | |
| 5231 | |
| 5232 | |
| 5233 | ac_ext=c |
| 5234 | ac_cpp='$CPP $CPPFLAGS' |
| 5235 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5236 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5237 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5238 | if test -n "$ac_tool_prefix"; then |
| 5239 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 5240 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 5241 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5242 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5243 | if ${ac_cv_prog_CC+:} false; then : |
| 5244 | $as_echo_n "(cached) " >&6 |
| 5245 | else |
| 5246 | if test -n "$CC"; then |
| 5247 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5248 | else |
| 5249 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5250 | for as_dir in $PATH |
| 5251 | do |
| 5252 | IFS=$as_save_IFS |
| 5253 | test -z "$as_dir" && as_dir=. |
| 5254 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5255 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5256 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 5257 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5258 | break 2 |
| 5259 | fi |
| 5260 | done |
| 5261 | done |
| 5262 | IFS=$as_save_IFS |
| 5263 | |
| 5264 | fi |
| 5265 | fi |
| 5266 | CC=$ac_cv_prog_CC |
| 5267 | if test -n "$CC"; then |
| 5268 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5269 | $as_echo "$CC" >&6; } |
| 5270 | else |
| 5271 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5272 | $as_echo "no" >&6; } |
| 5273 | fi |
| 5274 | |
| 5275 | |
| 5276 | fi |
| 5277 | if test -z "$ac_cv_prog_CC"; then |
| 5278 | ac_ct_CC=$CC |
| 5279 | # Extract the first word of "gcc", so it can be a program name with args. |
| 5280 | set dummy gcc; ac_word=$2 |
| 5281 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5282 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5283 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 5284 | $as_echo_n "(cached) " >&6 |
| 5285 | else |
| 5286 | if test -n "$ac_ct_CC"; then |
| 5287 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 5288 | else |
| 5289 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5290 | for as_dir in $PATH |
| 5291 | do |
| 5292 | IFS=$as_save_IFS |
| 5293 | test -z "$as_dir" && as_dir=. |
| 5294 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5295 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5296 | ac_cv_prog_ac_ct_CC="gcc" |
| 5297 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5298 | break 2 |
| 5299 | fi |
| 5300 | done |
| 5301 | done |
| 5302 | IFS=$as_save_IFS |
| 5303 | |
| 5304 | fi |
| 5305 | fi |
| 5306 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 5307 | if test -n "$ac_ct_CC"; then |
| 5308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 5309 | $as_echo "$ac_ct_CC" >&6; } |
| 5310 | else |
| 5311 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5312 | $as_echo "no" >&6; } |
| 5313 | fi |
| 5314 | |
| 5315 | if test "x$ac_ct_CC" = x; then |
| 5316 | CC="" |
| 5317 | else |
| 5318 | case $cross_compiling:$ac_tool_warned in |
| 5319 | yes:) |
| 5320 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5321 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5322 | ac_tool_warned=yes ;; |
| 5323 | esac |
| 5324 | CC=$ac_ct_CC |
| 5325 | fi |
| 5326 | else |
| 5327 | CC="$ac_cv_prog_CC" |
| 5328 | fi |
| 5329 | |
| 5330 | if test -z "$CC"; then |
| 5331 | if test -n "$ac_tool_prefix"; then |
| 5332 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 5333 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 5334 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5335 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5336 | if ${ac_cv_prog_CC+:} false; then : |
| 5337 | $as_echo_n "(cached) " >&6 |
| 5338 | else |
| 5339 | if test -n "$CC"; then |
| 5340 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5341 | else |
| 5342 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5343 | for as_dir in $PATH |
| 5344 | do |
| 5345 | IFS=$as_save_IFS |
| 5346 | test -z "$as_dir" && as_dir=. |
| 5347 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5348 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5349 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 5350 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5351 | break 2 |
| 5352 | fi |
| 5353 | done |
| 5354 | done |
| 5355 | IFS=$as_save_IFS |
| 5356 | |
| 5357 | fi |
| 5358 | fi |
| 5359 | CC=$ac_cv_prog_CC |
| 5360 | if test -n "$CC"; then |
| 5361 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5362 | $as_echo "$CC" >&6; } |
| 5363 | else |
| 5364 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5365 | $as_echo "no" >&6; } |
| 5366 | fi |
| 5367 | |
| 5368 | |
| 5369 | fi |
| 5370 | fi |
| 5371 | if test -z "$CC"; then |
| 5372 | # Extract the first word of "cc", so it can be a program name with args. |
| 5373 | set dummy cc; ac_word=$2 |
| 5374 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5375 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5376 | if ${ac_cv_prog_CC+:} false; then : |
| 5377 | $as_echo_n "(cached) " >&6 |
| 5378 | else |
| 5379 | if test -n "$CC"; then |
| 5380 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5381 | else |
| 5382 | ac_prog_rejected=no |
| 5383 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5384 | for as_dir in $PATH |
| 5385 | do |
| 5386 | IFS=$as_save_IFS |
| 5387 | test -z "$as_dir" && as_dir=. |
| 5388 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5389 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5390 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 5391 | ac_prog_rejected=yes |
| 5392 | continue |
| 5393 | fi |
| 5394 | ac_cv_prog_CC="cc" |
| 5395 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5396 | break 2 |
| 5397 | fi |
| 5398 | done |
| 5399 | done |
| 5400 | IFS=$as_save_IFS |
| 5401 | |
| 5402 | if test $ac_prog_rejected = yes; then |
| 5403 | # We found a bogon in the path, so make sure we never use it. |
| 5404 | set dummy $ac_cv_prog_CC |
| 5405 | shift |
| 5406 | if test $# != 0; then |
| 5407 | # We chose a different compiler from the bogus one. |
| 5408 | # However, it has the same basename, so the bogon will be chosen |
| 5409 | # first if we set CC to just the basename; use the full file name. |
| 5410 | shift |
| 5411 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 5412 | fi |
| 5413 | fi |
| 5414 | fi |
| 5415 | fi |
| 5416 | CC=$ac_cv_prog_CC |
| 5417 | if test -n "$CC"; then |
| 5418 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5419 | $as_echo "$CC" >&6; } |
| 5420 | else |
| 5421 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5422 | $as_echo "no" >&6; } |
| 5423 | fi |
| 5424 | |
| 5425 | |
| 5426 | fi |
| 5427 | if test -z "$CC"; then |
| 5428 | if test -n "$ac_tool_prefix"; then |
| 5429 | for ac_prog in cl.exe |
| 5430 | do |
| 5431 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5432 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5433 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5434 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5435 | if ${ac_cv_prog_CC+:} false; then : |
| 5436 | $as_echo_n "(cached) " >&6 |
| 5437 | else |
| 5438 | if test -n "$CC"; then |
| 5439 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5440 | else |
| 5441 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5442 | for as_dir in $PATH |
| 5443 | do |
| 5444 | IFS=$as_save_IFS |
| 5445 | test -z "$as_dir" && as_dir=. |
| 5446 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5447 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5448 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 5449 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5450 | break 2 |
| 5451 | fi |
| 5452 | done |
| 5453 | done |
| 5454 | IFS=$as_save_IFS |
| 5455 | |
| 5456 | fi |
| 5457 | fi |
| 5458 | CC=$ac_cv_prog_CC |
| 5459 | if test -n "$CC"; then |
| 5460 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5461 | $as_echo "$CC" >&6; } |
| 5462 | else |
| 5463 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5464 | $as_echo "no" >&6; } |
| 5465 | fi |
| 5466 | |
| 5467 | |
| 5468 | test -n "$CC" && break |
| 5469 | done |
| 5470 | fi |
| 5471 | if test -z "$CC"; then |
| 5472 | ac_ct_CC=$CC |
| 5473 | for ac_prog in cl.exe |
| 5474 | do |
| 5475 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5476 | set dummy $ac_prog; ac_word=$2 |
| 5477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5478 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5479 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 5480 | $as_echo_n "(cached) " >&6 |
| 5481 | else |
| 5482 | if test -n "$ac_ct_CC"; then |
| 5483 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 5484 | else |
| 5485 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5486 | for as_dir in $PATH |
| 5487 | do |
| 5488 | IFS=$as_save_IFS |
| 5489 | test -z "$as_dir" && as_dir=. |
| 5490 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5491 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5492 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 5493 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5494 | break 2 |
| 5495 | fi |
| 5496 | done |
| 5497 | done |
| 5498 | IFS=$as_save_IFS |
| 5499 | |
| 5500 | fi |
| 5501 | fi |
| 5502 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 5503 | if test -n "$ac_ct_CC"; then |
| 5504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 5505 | $as_echo "$ac_ct_CC" >&6; } |
| 5506 | else |
| 5507 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5508 | $as_echo "no" >&6; } |
| 5509 | fi |
| 5510 | |
| 5511 | |
| 5512 | test -n "$ac_ct_CC" && break |
| 5513 | done |
| 5514 | |
| 5515 | if test "x$ac_ct_CC" = x; then |
| 5516 | CC="" |
| 5517 | else |
| 5518 | case $cross_compiling:$ac_tool_warned in |
| 5519 | yes:) |
| 5520 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5521 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5522 | ac_tool_warned=yes ;; |
| 5523 | esac |
| 5524 | CC=$ac_ct_CC |
| 5525 | fi |
| 5526 | fi |
| 5527 | |
| 5528 | fi |
| 5529 | |
| 5530 | |
| 5531 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5532 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5533 | as_fn_error $? "no acceptable C compiler found in \$PATH |
| 5534 | See \`config.log' for more details" "$LINENO" 5; } |
| 5535 | |
| 5536 | # Provide some information about the compiler. |
| 5537 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 5538 | set X $ac_compile |
| 5539 | ac_compiler=$2 |
| 5540 | for ac_option in --version -v -V -qversion; do |
| 5541 | { { ac_try="$ac_compiler $ac_option >&5" |
| 5542 | case "(($ac_try" in |
| 5543 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5544 | *) ac_try_echo=$ac_try;; |
| 5545 | esac |
| 5546 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 5547 | $as_echo "$ac_try_echo"; } >&5 |
| 5548 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 5549 | ac_status=$? |
| 5550 | if test -s conftest.err; then |
| 5551 | sed '10a\ |
| 5552 | ... rest of stderr output deleted ... |
| 5553 | 10q' conftest.err >conftest.er1 |
| 5554 | cat conftest.er1 >&5 |
| 5555 | fi |
| 5556 | rm -f conftest.er1 conftest.err |
| 5557 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5558 | test $ac_status = 0; } |
| 5559 | done |
| 5560 | |
| 5561 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 5562 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 5563 | if ${ac_cv_c_compiler_gnu+:} false; then : |
| 5564 | $as_echo_n "(cached) " >&6 |
| 5565 | else |
| 5566 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5567 | /* end confdefs.h. */ |
| 5568 | |
| 5569 | int |
| 5570 | main () |
| 5571 | { |
| 5572 | #ifndef __GNUC__ |
| 5573 | choke me |
| 5574 | #endif |
| 5575 | |
| 5576 | ; |
| 5577 | return 0; |
| 5578 | } |
| 5579 | _ACEOF |
| 5580 | if ac_fn_c_try_compile "$LINENO"; then : |
| 5581 | ac_compiler_gnu=yes |
| 5582 | else |
| 5583 | ac_compiler_gnu=no |
| 5584 | fi |
| 5585 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5586 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 5587 | |
| 5588 | fi |
| 5589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 5590 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 5591 | if test $ac_compiler_gnu = yes; then |
| 5592 | GCC=yes |
| 5593 | else |
| 5594 | GCC= |
| 5595 | fi |
| 5596 | ac_test_CFLAGS=${CFLAGS+set} |
| 5597 | ac_save_CFLAGS=$CFLAGS |
| 5598 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 5599 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 5600 | if ${ac_cv_prog_cc_g+:} false; then : |
| 5601 | $as_echo_n "(cached) " >&6 |
| 5602 | else |
| 5603 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 5604 | ac_c_werror_flag=yes |
| 5605 | ac_cv_prog_cc_g=no |
| 5606 | CFLAGS="-g" |
| 5607 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5608 | /* end confdefs.h. */ |
| 5609 | |
| 5610 | int |
| 5611 | main () |
| 5612 | { |
| 5613 | |
| 5614 | ; |
| 5615 | return 0; |
| 5616 | } |
| 5617 | _ACEOF |
| 5618 | if ac_fn_c_try_compile "$LINENO"; then : |
| 5619 | ac_cv_prog_cc_g=yes |
| 5620 | else |
| 5621 | CFLAGS="" |
| 5622 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5623 | /* end confdefs.h. */ |
| 5624 | |
| 5625 | int |
| 5626 | main () |
| 5627 | { |
| 5628 | |
| 5629 | ; |
| 5630 | return 0; |
| 5631 | } |
| 5632 | _ACEOF |
| 5633 | if ac_fn_c_try_compile "$LINENO"; then : |
| 5634 | |
| 5635 | else |
| 5636 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 5637 | CFLAGS="-g" |
| 5638 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5639 | /* end confdefs.h. */ |
| 5640 | |
| 5641 | int |
| 5642 | main () |
| 5643 | { |
| 5644 | |
| 5645 | ; |
| 5646 | return 0; |
| 5647 | } |
| 5648 | _ACEOF |
| 5649 | if ac_fn_c_try_compile "$LINENO"; then : |
| 5650 | ac_cv_prog_cc_g=yes |
| 5651 | fi |
| 5652 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5653 | fi |
| 5654 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5655 | fi |
| 5656 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5657 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 5658 | fi |
| 5659 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 5660 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 5661 | if test "$ac_test_CFLAGS" = set; then |
| 5662 | CFLAGS=$ac_save_CFLAGS |
| 5663 | elif test $ac_cv_prog_cc_g = yes; then |
| 5664 | if test "$GCC" = yes; then |
| 5665 | CFLAGS="-g -O2" |
| 5666 | else |
| 5667 | CFLAGS="-g" |
| 5668 | fi |
| 5669 | else |
| 5670 | if test "$GCC" = yes; then |
| 5671 | CFLAGS="-O2" |
| 5672 | else |
| 5673 | CFLAGS= |
| 5674 | fi |
| 5675 | fi |
| 5676 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 5677 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 5678 | if ${ac_cv_prog_cc_c89+:} false; then : |
| 5679 | $as_echo_n "(cached) " >&6 |
| 5680 | else |
| 5681 | ac_cv_prog_cc_c89=no |
| 5682 | ac_save_CC=$CC |
| 5683 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5684 | /* end confdefs.h. */ |
| 5685 | #include <stdarg.h> |
| 5686 | #include <stdio.h> |
| 5687 | struct stat; |
| 5688 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 5689 | struct buf { int x; }; |
| 5690 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 5691 | static char *e (p, i) |
| 5692 | char **p; |
| 5693 | int i; |
| 5694 | { |
| 5695 | return p[i]; |
| 5696 | } |
| 5697 | static char *f (char * (*g) (char **, int), char **p, ...) |
| 5698 | { |
| 5699 | char *s; |
| 5700 | va_list v; |
| 5701 | va_start (v,p); |
| 5702 | s = g (p, va_arg (v,int)); |
| 5703 | va_end (v); |
| 5704 | return s; |
| 5705 | } |
| 5706 | |
| 5707 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 5708 | function prototypes and stuff, but not '\xHH' hex character constants. |
| 5709 | These don't provoke an error unfortunately, instead are silently treated |
| 5710 | as 'x'. The following induces an error, until -std is added to get |
| 5711 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 5712 | array size at least. It's necessary to write '\x00'==0 to get something |
| 5713 | that's true only with -std. */ |
| 5714 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 5715 | |
| 5716 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 5717 | inside strings and character constants. */ |
| 5718 | #define FOO(x) 'x' |
| 5719 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 5720 | |
| 5721 | int test (int i, double x); |
| 5722 | struct s1 {int (*f) (int a);}; |
| 5723 | struct s2 {int (*f) (double a);}; |
| 5724 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 5725 | int argc; |
| 5726 | char **argv; |
| 5727 | int |
| 5728 | main () |
| 5729 | { |
| 5730 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 5731 | ; |
| 5732 | return 0; |
| 5733 | } |
| 5734 | _ACEOF |
| 5735 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 5736 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 5737 | do |
| 5738 | CC="$ac_save_CC $ac_arg" |
| 5739 | if ac_fn_c_try_compile "$LINENO"; then : |
| 5740 | ac_cv_prog_cc_c89=$ac_arg |
| 5741 | fi |
| 5742 | rm -f core conftest.err conftest.$ac_objext |
| 5743 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 5744 | done |
| 5745 | rm -f conftest.$ac_ext |
| 5746 | CC=$ac_save_CC |
| 5747 | |
| 5748 | fi |
| 5749 | # AC_CACHE_VAL |
| 5750 | case "x$ac_cv_prog_cc_c89" in |
| 5751 | x) |
| 5752 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5753 | $as_echo "none needed" >&6; } ;; |
| 5754 | xno) |
| 5755 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5756 | $as_echo "unsupported" >&6; } ;; |
| 5757 | *) |
| 5758 | CC="$CC $ac_cv_prog_cc_c89" |
| 5759 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 5760 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 5761 | esac |
| 5762 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 5763 | |
| 5764 | fi |
| 5765 | |
| 5766 | ac_ext=c |
| 5767 | ac_cpp='$CPP $CPPFLAGS' |
| 5768 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5769 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5770 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5771 | |
| 5772 | ac_ext=c |
| 5773 | ac_cpp='$CPP $CPPFLAGS' |
| 5774 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5775 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5776 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 5778 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 5779 | if ${am_cv_prog_cc_c_o+:} false; then : |
| 5780 | $as_echo_n "(cached) " >&6 |
| 5781 | else |
| 5782 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5783 | /* end confdefs.h. */ |
| 5784 | |
| 5785 | int |
| 5786 | main () |
| 5787 | { |
| 5788 | |
| 5789 | ; |
| 5790 | return 0; |
| 5791 | } |
| 5792 | _ACEOF |
| 5793 | # Make sure it works both with $CC and with simple cc. |
| 5794 | # Following AC_PROG_CC_C_O, we do the test twice because some |
| 5795 | # compilers refuse to overwrite an existing .o file with -o, |
| 5796 | # though they will create one. |
| 5797 | am_cv_prog_cc_c_o=yes |
| 5798 | for am_i in 1 2; do |
| 5799 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 5800 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 5801 | ac_status=$? |
| 5802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5803 | (exit $ac_status); } \ |
| 5804 | && test -f conftest2.$ac_objext; then |
| 5805 | : OK |
| 5806 | else |
| 5807 | am_cv_prog_cc_c_o=no |
| 5808 | break |
| 5809 | fi |
| 5810 | done |
| 5811 | rm -f core conftest* |
| 5812 | unset am_i |
| 5813 | fi |
| 5814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 5815 | $as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 5816 | if test "$am_cv_prog_cc_c_o" != yes; then |
| 5817 | # Losing compiler, so override with the script. |
| 5818 | # FIXME: It is wrong to rewrite CC. |
| 5819 | # But if we don't then we get into trouble of one sort or another. |
| 5820 | # A longer-term fix would be to have automake use am__CC in this case, |
| 5821 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 5822 | CC="$am_aux_dir/compile $CC" |
| 5823 | fi |
| 5824 | ac_ext=c |
| 5825 | ac_cpp='$CPP $CPPFLAGS' |
| 5826 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5827 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5828 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5829 | |
| 5830 | |
| 5831 | depcc="$CC" am_compiler_list= |
| 5832 | |
| 5833 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 5834 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
| 5835 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 5836 | $as_echo_n "(cached) " >&6 |
| 5837 | else |
| 5838 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 5839 | # We make a subdir and do the tests there. Otherwise we can end up |
| 5840 | # making bogus files that we don't know about and never remove. For |
| 5841 | # instance it was reported that on HP-UX the gcc test will end up |
| 5842 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 5843 | # in D". |
| 5844 | rm -rf conftest.dir |
| 5845 | mkdir conftest.dir |
| 5846 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 5847 | # using a relative directory. |
| 5848 | cp "$am_depcomp" conftest.dir |
| 5849 | cd conftest.dir |
| 5850 | # We will build objects and dependencies in a subdirectory because |
| 5851 | # it helps to detect inapplicable dependency modes. For instance |
| 5852 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 5853 | # side effect of compilation, but ICC will put the dependencies in |
| 5854 | # the current directory while Tru64 will put them in the object |
| 5855 | # directory. |
| 5856 | mkdir sub |
| 5857 | |
| 5858 | am_cv_CC_dependencies_compiler_type=none |
| 5859 | if test "$am_compiler_list" = ""; then |
| 5860 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 5861 | fi |
| 5862 | am__universal=false |
| 5863 | case " $depcc " in #( |
| 5864 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 5865 | esac |
| 5866 | |
| 5867 | for depmode in $am_compiler_list; do |
| 5868 | # Setup a source with many dependencies, because some compilers |
| 5869 | # like to wrap large dependency lists on column 80 (with \), and |
| 5870 | # we should not choose a depcomp mode which is confused by this. |
| 5871 | # |
| 5872 | # We need to recreate these files for each test, as the compiler may |
| 5873 | # overwrite some of them when testing with obscure command lines. |
| 5874 | # This happens at least with the AIX C compiler. |
| 5875 | : > sub/conftest.c |
| 5876 | for i in 1 2 3 4 5 6; do |
| 5877 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 5878 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 5879 | # Solaris 10 /bin/sh. |
| 5880 | echo '/* dummy */' > sub/conftst$i.h |
| 5881 | done |
| 5882 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 5883 | |
| 5884 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 5885 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 5886 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 5887 | # versions had trouble with output in subdirs. |
| 5888 | am__obj=sub/conftest.${OBJEXT-o} |
| 5889 | am__minus_obj="-o $am__obj" |
| 5890 | case $depmode in |
| 5891 | gcc) |
| 5892 | # This depmode causes a compiler race in universal mode. |
| 5893 | test "$am__universal" = false || continue |
| 5894 | ;; |
| 5895 | nosideeffect) |
| 5896 | # After this tag, mechanisms are not by side-effect, so they'll |
| 5897 | # only be used when explicitly requested. |
| 5898 | if test "x$enable_dependency_tracking" = xyes; then |
| 5899 | continue |
| 5900 | else |
| 5901 | break |
| 5902 | fi |
| 5903 | ;; |
| 5904 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 5905 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 5906 | # not run yet. These depmodes are late enough in the game, and |
| 5907 | # so weak that their functioning should not be impacted. |
| 5908 | am__obj=conftest.${OBJEXT-o} |
| 5909 | am__minus_obj= |
| 5910 | ;; |
| 5911 | none) break ;; |
| 5912 | esac |
| 5913 | if depmode=$depmode \ |
| 5914 | source=sub/conftest.c object=$am__obj \ |
| 5915 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 5916 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 5917 | >/dev/null 2>conftest.err && |
| 5918 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 5919 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 5920 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 5921 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 5922 | # icc doesn't choke on unknown options, it will just issue warnings |
| 5923 | # or remarks (even with -Werror). So we grep stderr for any message |
| 5924 | # that says an option was ignored or not supported. |
| 5925 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 5926 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 5927 | # The diagnosis changed in icc 8.0: |
| 5928 | # icc: Command line remark: option '-MP' not supported |
| 5929 | if (grep 'ignoring option' conftest.err || |
| 5930 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 5931 | am_cv_CC_dependencies_compiler_type=$depmode |
| 5932 | break |
| 5933 | fi |
| 5934 | fi |
| 5935 | done |
| 5936 | |
| 5937 | cd .. |
| 5938 | rm -rf conftest.dir |
| 5939 | else |
| 5940 | am_cv_CC_dependencies_compiler_type=none |
| 5941 | fi |
| 5942 | |
| 5943 | fi |
| 5944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 5945 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 5946 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 5947 | |
| 5948 | if |
| 5949 | test "x$enable_dependency_tracking" != xno \ |
| 5950 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 5951 | am__fastdepCC_TRUE= |
| 5952 | am__fastdepCC_FALSE='#' |
| 5953 | else |
| 5954 | am__fastdepCC_TRUE='#' |
| 5955 | am__fastdepCC_FALSE= |
| 5956 | fi |
| 5957 | |
| 5958 | |
| 5959 | |
| 5960 | |
| 5961 | |
| 5962 | |
| 5963 | |
| 5964 | |
| 5965 | # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC. |
| 5966 | have_real_17=no |
| 5967 | if test "x$GCC" = "xyes"; then |
| 5968 | AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring" |
| 5969 | ## We like to use C11 and C99 routines when available. This makes |
| 5970 | ## sure that |
| 5971 | ## __STDC_VERSION__ is set such that libc includes make them available. |
| 5972 | AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla" |
| 5973 | ## Compile the following tests with the same system header contents |
| 5974 | ## that we'll encounter when compiling our own source files. |
| 5975 | CFLAGS="-std=gnu11 $CFLAGS" |
| 5976 | |
| 5977 | case x$target in |
| 5978 | xpowerpc64le*-linux*) |
| 5979 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5980 | /* end confdefs.h. */ |
| 5981 | #if __SIZEOF_LONG_DOUBLE__ != 16 |
| 5982 | #error long double is double |
| 5983 | #endif |
| 5984 | int |
| 5985 | main () |
| 5986 | { |
| 5987 | (void) 0; |
| 5988 | ; |
| 5989 | return 0; |
| 5990 | } |
| 5991 | _ACEOF |
| 5992 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 5993 | AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute"; |
| 5994 | AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute"; |
| 5995 | CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute"; |
| 5996 | have_real_17=yes |
| 5997 | fi |
| 5998 | rm -f conftest.err conftest.i conftest.$ac_ext |
| 5999 | ;; |
| 6000 | *) |
| 6001 | ;; |
| 6002 | esac |
| 6003 | fi |
| 6004 | if test "x$have_real_17" != xno; then |
| 6005 | HAVE_REAL_17_TRUE= |
| 6006 | HAVE_REAL_17_FALSE='#' |
| 6007 | else |
| 6008 | HAVE_REAL_17_TRUE='#' |
| 6009 | HAVE_REAL_17_FALSE= |
| 6010 | fi |
| 6011 | |
| 6012 | |
| 6013 | # Add CET specific flags if CET is enabled |
| 6014 | # Check whether --enable-cet was given. |
| 6015 | if test "${enable_cet+set}" = set; then : |
| 6016 | enableval=$enable_cet; |
| 6017 | case "$enableval" in |
| 6018 | yes|no|auto) ;; |
| 6019 | *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;; |
| 6020 | esac |
| 6021 | |
| 6022 | else |
| 6023 | enable_cet=auto |
| 6024 | fi |
| 6025 | |
| 6026 | |
| 6027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5 |
| 6028 | $as_echo_n "checking for CET support... " >&6; } |
| 6029 | |
| 6030 | # NB: Avoid nested save_CFLAGS and save_LDFLAGS. |
| 6031 | case "$host" in |
| 6032 | i[34567]86-*-linux* | x86_64-*-linux*) |
| 6033 | case "$enable_cet" in |
| 6034 | auto) |
| 6035 | # Check if target supports multi-byte NOPs |
| 6036 | # and if compiler and assembler support CET insn. |
| 6037 | cet_save_CFLAGS="$CFLAGS" |
| 6038 | CFLAGS="$CFLAGS -fcf-protection" |
| 6039 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6040 | /* end confdefs.h. */ |
| 6041 | |
| 6042 | int |
| 6043 | main () |
| 6044 | { |
| 6045 | |
| 6046 | #if !defined(__SSE2__) |
| 6047 | #error target does not support multi-byte NOPs |
| 6048 | #else |
| 6049 | asm ("setssbsy"); |
| 6050 | #endif |
| 6051 | |
| 6052 | ; |
| 6053 | return 0; |
| 6054 | } |
| 6055 | _ACEOF |
| 6056 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6057 | enable_cet=yes |
| 6058 | else |
| 6059 | enable_cet=no |
| 6060 | fi |
| 6061 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6062 | CFLAGS="$cet_save_CFLAGS" |
| 6063 | ;; |
| 6064 | yes) |
| 6065 | # Check if assembler supports CET. |
| 6066 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6067 | /* end confdefs.h. */ |
| 6068 | |
| 6069 | int |
| 6070 | main () |
| 6071 | { |
| 6072 | asm ("setssbsy"); |
| 6073 | ; |
| 6074 | return 0; |
| 6075 | } |
| 6076 | _ACEOF |
| 6077 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6078 | |
| 6079 | else |
| 6080 | as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5 |
| 6081 | fi |
| 6082 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6083 | ;; |
| 6084 | esac |
| 6085 | ;; |
| 6086 | *) |
| 6087 | enable_cet=no |
| 6088 | ;; |
| 6089 | esac |
| 6090 | if test x$enable_cet = xyes; then |
| 6091 | CET_FLAGS="-fcf-protection -mshstk" |
| 6092 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 6093 | $as_echo "yes" >&6; } |
| 6094 | else |
| 6095 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6096 | $as_echo "no" >&6; } |
| 6097 | fi |
| 6098 | |
| 6099 | AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS" |
| 6100 | AM_CFLAGS="$AM_CFLAGS $CET_FLAGS" |
| 6101 | CFLAGS="$CFLAGS $CET_FLAGS" |
| 6102 | |
| 6103 | |
| 6104 | |
| 6105 | |
| 6106 | |
| 6107 | # Check for symbol versioning (copied from libssp). |
| 6108 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5 |
| 6109 | $as_echo_n "checking whether symbol versioning is supported... " >&6; } |
| 6110 | # Check whether --enable-symvers was given. |
| 6111 | if test "${enable_symvers+set}" = set; then : |
| 6112 | enableval=$enable_symvers; gfortran_use_symver=$enableval |
| 6113 | else |
| 6114 | gfortran_use_symver=yes |
| 6115 | fi |
| 6116 | |
| 6117 | if test "x$gfortran_use_symver" != xno; then |
| 6118 | save_LDFLAGS="$LDFLAGS" |
| 6119 | LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map" |
| 6120 | cat > conftest.map <<EOF |
| 6121 | FOO_1.0 { |
| 6122 | global: *foo*; bar; local: *; |
| 6123 | }; |
| 6124 | EOF |
| 6125 | if test x$gcc_no_link = xyes; then |
| 6126 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 6127 | fi |
| 6128 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6129 | /* end confdefs.h. */ |
| 6130 | int foo; |
| 6131 | int |
| 6132 | main () |
| 6133 | { |
| 6134 | |
| 6135 | ; |
| 6136 | return 0; |
| 6137 | } |
| 6138 | _ACEOF |
| 6139 | if ac_fn_c_try_link "$LINENO"; then : |
| 6140 | gfortran_use_symver=gnu |
| 6141 | else |
| 6142 | gfortran_use_symver=no |
| 6143 | fi |
| 6144 | rm -f core conftest.err conftest.$ac_objext \ |
| 6145 | conftest$ac_exeext conftest.$ac_ext |
| 6146 | if test x$gfortran_use_symver = xno; then |
| 6147 | case "$target_os" in |
| 6148 | solaris2*) |
| 6149 | LDFLAGS="$save_LDFLAGS" |
| 6150 | LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map" |
| 6151 | # Sun ld cannot handle wildcards and treats all entries as undefined. |
| 6152 | cat > conftest.map <<EOF |
| 6153 | FOO_1.0 { |
| 6154 | global: foo; local: *; |
| 6155 | }; |
| 6156 | EOF |
| 6157 | if test x$gcc_no_link = xyes; then |
| 6158 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 6159 | fi |
| 6160 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6161 | /* end confdefs.h. */ |
| 6162 | int foo; |
| 6163 | int |
| 6164 | main () |
| 6165 | { |
| 6166 | |
| 6167 | ; |
| 6168 | return 0; |
| 6169 | } |
| 6170 | _ACEOF |
| 6171 | if ac_fn_c_try_link "$LINENO"; then : |
| 6172 | gfortran_use_symver=sun |
| 6173 | else |
| 6174 | gfortran_use_symver=no |
| 6175 | fi |
| 6176 | rm -f core conftest.err conftest.$ac_objext \ |
| 6177 | conftest$ac_exeext conftest.$ac_ext |
| 6178 | ;; |
| 6179 | esac |
| 6180 | fi |
| 6181 | LDFLAGS="$save_LDFLAGS" |
| 6182 | fi |
| 6183 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5 |
| 6184 | $as_echo "$gfortran_use_symver" >&6; } |
| 6185 | if test "x$gfortran_use_symver" != xno; then |
| 6186 | LIBGFOR_USE_SYMVER_TRUE= |
| 6187 | LIBGFOR_USE_SYMVER_FALSE='#' |
| 6188 | else |
| 6189 | LIBGFOR_USE_SYMVER_TRUE='#' |
| 6190 | LIBGFOR_USE_SYMVER_FALSE= |
| 6191 | fi |
| 6192 | |
| 6193 | if test "x$gfortran_use_symver" = xgnu; then |
| 6194 | LIBGFOR_USE_SYMVER_GNU_TRUE= |
| 6195 | LIBGFOR_USE_SYMVER_GNU_FALSE='#' |
| 6196 | else |
| 6197 | LIBGFOR_USE_SYMVER_GNU_TRUE='#' |
| 6198 | LIBGFOR_USE_SYMVER_GNU_FALSE= |
| 6199 | fi |
| 6200 | |
| 6201 | if test "x$gfortran_use_symver" = xsun; then |
| 6202 | LIBGFOR_USE_SYMVER_SUN_TRUE= |
| 6203 | LIBGFOR_USE_SYMVER_SUN_FALSE='#' |
| 6204 | else |
| 6205 | LIBGFOR_USE_SYMVER_SUN_TRUE='#' |
| 6206 | LIBGFOR_USE_SYMVER_SUN_FALSE= |
| 6207 | fi |
| 6208 | |
| 6209 | |
| 6210 | # "Minimal" mode is for targets that cannot (yet) support all features of |
| 6211 | # libgfortran. It avoids the need for working constructors, alloca, and C |
| 6212 | # library support for I/O, signals, environment variables, time functions, etc. |
| 6213 | # At present there are no targets that require this mode. |
| 6214 | |
| 6215 | if false; then |
| 6216 | LIBGFOR_MINIMAL_TRUE= |
| 6217 | LIBGFOR_MINIMAL_FALSE='#' |
| 6218 | else |
| 6219 | LIBGFOR_MINIMAL_TRUE='#' |
| 6220 | LIBGFOR_MINIMAL_FALSE= |
| 6221 | fi |
| 6222 | |
| 6223 | |
| 6224 | # Some compiler target support may have limited support for integer |
| 6225 | # or floating point numbers – or may want to reduce the libgfortran size |
| 6226 | # although they do have the support. |
| 6227 | LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16" |
| 6228 | LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16" |
| 6229 | |
| 6230 | |
| 6231 | |
| 6232 | |
| 6233 | # Figure out whether the compiler supports "-ffunction-sections -fdata-sections", |
| 6234 | # similarly to how libstdc++ does it |
| 6235 | ac_test_CFLAGS="${CFLAGS+set}" |
| 6236 | ac_save_CFLAGS="$CFLAGS" |
| 6237 | |
| 6238 | # Check for -ffunction-sections -fdata-sections |
| 6239 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5 |
| 6240 | $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; } |
| 6241 | CFLAGS='-Werror -ffunction-sections -fdata-sections' |
| 6242 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6243 | /* end confdefs.h. */ |
| 6244 | |
| 6245 | int |
| 6246 | main () |
| 6247 | { |
| 6248 | int foo; |
| 6249 | ; |
| 6250 | return 0; |
| 6251 | } |
| 6252 | _ACEOF |
| 6253 | if ac_fn_c_try_compile "$LINENO"; then : |
| 6254 | ac_fdsections=yes |
| 6255 | else |
| 6256 | ac_fdsections=no |
| 6257 | fi |
| 6258 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6259 | if test "$ac_test_CFLAGS" = set; then |
| 6260 | CFLAGS="$ac_save_CFLAGS" |
| 6261 | else |
| 6262 | # this is the suspicious part |
| 6263 | CFLAGS="" |
| 6264 | fi |
| 6265 | if test x"$ac_fdsections" = x"yes"; then |
| 6266 | SECTION_FLAGS='-ffunction-sections -fdata-sections' |
| 6267 | fi |
| 6268 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5 |
| 6269 | $as_echo "$ac_fdsections" >&6; } |
| 6270 | |
| 6271 | |
| 6272 | # Check linker hardware capability support. |
| 6273 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 6274 | $as_echo_n "checking for a sed that does not truncate output... " >&6; } |
| 6275 | if ${ac_cv_path_SED+:} false; then : |
| 6276 | $as_echo_n "(cached) " >&6 |
| 6277 | else |
| 6278 | ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 6279 | for ac_i in 1 2 3 4 5 6 7; do |
| 6280 | ac_script="$ac_script$as_nl$ac_script" |
| 6281 | done |
| 6282 | echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
| 6283 | { ac_script=; unset ac_script;} |
| 6284 | if test -z "$SED"; then |
| 6285 | ac_path_SED_found=false |
| 6286 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 6287 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6288 | for as_dir in $PATH |
| 6289 | do |
| 6290 | IFS=$as_save_IFS |
| 6291 | test -z "$as_dir" && as_dir=. |
| 6292 | for ac_prog in sed gsed; do |
| 6293 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6294 | ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
| 6295 | as_fn_executable_p "$ac_path_SED" || continue |
| 6296 | # Check for GNU ac_path_SED and select it if it is found. |
| 6297 | # Check for GNU $ac_path_SED |
| 6298 | case `"$ac_path_SED" --version 2>&1` in |
| 6299 | *GNU*) |
| 6300 | ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
| 6301 | *) |
| 6302 | ac_count=0 |
| 6303 | $as_echo_n 0123456789 >"conftest.in" |
| 6304 | while : |
| 6305 | do |
| 6306 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 6307 | mv "conftest.tmp" "conftest.in" |
| 6308 | cp "conftest.in" "conftest.nl" |
| 6309 | $as_echo '' >> "conftest.nl" |
| 6310 | "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 6311 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 6312 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 6313 | if test $ac_count -gt ${ac_path_SED_max-0}; then |
| 6314 | # Best one so far, save it but keep looking for a better one |
| 6315 | ac_cv_path_SED="$ac_path_SED" |
| 6316 | ac_path_SED_max=$ac_count |
| 6317 | fi |
| 6318 | # 10*(2^10) chars as input seems more than enough |
| 6319 | test $ac_count -gt 10 && break |
| 6320 | done |
| 6321 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 6322 | esac |
| 6323 | |
| 6324 | $ac_path_SED_found && break 3 |
| 6325 | done |
| 6326 | done |
| 6327 | done |
| 6328 | IFS=$as_save_IFS |
| 6329 | if test -z "$ac_cv_path_SED"; then |
| 6330 | as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 6331 | fi |
| 6332 | else |
| 6333 | ac_cv_path_SED=$SED |
| 6334 | fi |
| 6335 | |
| 6336 | fi |
| 6337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 6338 | $as_echo "$ac_cv_path_SED" >&6; } |
| 6339 | SED="$ac_cv_path_SED" |
| 6340 | rm -f conftest.sed |
| 6341 | |
| 6342 | test -z "$SED" && SED=sed |
| 6343 | Xsed="$SED -e 1s/^X//" |
| 6344 | |
| 6345 | |
| 6346 | |
| 6347 | |
| 6348 | |
| 6349 | |
| 6350 | |
| 6351 | |
| 6352 | |
| 6353 | |
| 6354 | |
| 6355 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 6356 | $as_echo_n "checking for fgrep... " >&6; } |
| 6357 | if ${ac_cv_path_FGREP+:} false; then : |
| 6358 | $as_echo_n "(cached) " >&6 |
| 6359 | else |
| 6360 | if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 6361 | then ac_cv_path_FGREP="$GREP -F" |
| 6362 | else |
| 6363 | if test -z "$FGREP"; then |
| 6364 | ac_path_FGREP_found=false |
| 6365 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 6366 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6367 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 6368 | do |
| 6369 | IFS=$as_save_IFS |
| 6370 | test -z "$as_dir" && as_dir=. |
| 6371 | for ac_prog in fgrep; do |
| 6372 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6373 | ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 6374 | as_fn_executable_p "$ac_path_FGREP" || continue |
| 6375 | # Check for GNU ac_path_FGREP and select it if it is found. |
| 6376 | # Check for GNU $ac_path_FGREP |
| 6377 | case `"$ac_path_FGREP" --version 2>&1` in |
| 6378 | *GNU*) |
| 6379 | ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
| 6380 | *) |
| 6381 | ac_count=0 |
| 6382 | $as_echo_n 0123456789 >"conftest.in" |
| 6383 | while : |
| 6384 | do |
| 6385 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 6386 | mv "conftest.tmp" "conftest.in" |
| 6387 | cp "conftest.in" "conftest.nl" |
| 6388 | $as_echo 'FGREP' >> "conftest.nl" |
| 6389 | "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 6390 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 6391 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 6392 | if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
| 6393 | # Best one so far, save it but keep looking for a better one |
| 6394 | ac_cv_path_FGREP="$ac_path_FGREP" |
| 6395 | ac_path_FGREP_max=$ac_count |
| 6396 | fi |
| 6397 | # 10*(2^10) chars as input seems more than enough |
| 6398 | test $ac_count -gt 10 && break |
| 6399 | done |
| 6400 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 6401 | esac |
| 6402 | |
| 6403 | $ac_path_FGREP_found && break 3 |
| 6404 | done |
| 6405 | done |
| 6406 | done |
| 6407 | IFS=$as_save_IFS |
| 6408 | if test -z "$ac_cv_path_FGREP"; then |
| 6409 | as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 6410 | fi |
| 6411 | else |
| 6412 | ac_cv_path_FGREP=$FGREP |
| 6413 | fi |
| 6414 | |
| 6415 | fi |
| 6416 | fi |
| 6417 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 6418 | $as_echo "$ac_cv_path_FGREP" >&6; } |
| 6419 | FGREP="$ac_cv_path_FGREP" |
| 6420 | |
| 6421 | |
| 6422 | test -z "$GREP" && GREP=grep |
| 6423 | |
| 6424 | |
| 6425 | |
| 6426 | |
| 6427 | |
| 6428 | |
| 6429 | |
| 6430 | |
| 6431 | |
| 6432 | |
| 6433 | |
| 6434 | |
| 6435 | |
| 6436 | |
| 6437 | |
| 6438 | |
| 6439 | |
| 6440 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 6441 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 6442 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 6443 | |
| 6444 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 6445 | $as_echo_n "checking how to print strings... " >&6; } |
| 6446 | # Test print first, because it will be a builtin if present. |
| 6447 | if test "X`print -r -- -n 2>/dev/null`" = X-n && \ |
| 6448 | test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 6449 | ECHO='print -r --' |
| 6450 | elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 6451 | ECHO='printf %s\n' |
| 6452 | else |
| 6453 | # Use this function as a fallback that always works. |
| 6454 | func_fallback_echo () |
| 6455 | { |
| 6456 | eval 'cat <<_LTECHO_EOF |
| 6457 | $1 |
| 6458 | _LTECHO_EOF' |
| 6459 | } |
| 6460 | ECHO='func_fallback_echo' |
| 6461 | fi |
| 6462 | |
| 6463 | # func_echo_all arg... |
| 6464 | # Invoke $ECHO with all args, space-separated. |
| 6465 | func_echo_all () |
| 6466 | { |
| 6467 | $ECHO "" |
| 6468 | } |
| 6469 | |
| 6470 | case "$ECHO" in |
| 6471 | printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 6472 | $as_echo "printf" >&6; } ;; |
| 6473 | print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 6474 | $as_echo "print -r" >&6; } ;; |
| 6475 | *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 6476 | $as_echo "cat" >&6; } ;; |
| 6477 | esac |
| 6478 | |
| 6479 | |
| 6480 | |
| 6481 | |
| 6482 | |
| 6483 | |
| 6484 | |
| 6485 | |
| 6486 | |
| 6487 | |
| 6488 | |
| 6489 | |
| 6490 | |
| 6491 | |
| 6492 | |
| 6493 | |
| 6494 | # Check whether --with-gnu-ld was given. |
| 6495 | if test "${with_gnu_ld+set}" = set; then : |
| 6496 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
| 6497 | else |
| 6498 | with_gnu_ld=no |
| 6499 | fi |
| 6500 | |
| 6501 | ac_prog=ld |
| 6502 | if test "$GCC" = yes; then |
| 6503 | # Check if gcc -print-prog-name=ld gives a path. |
| 6504 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 6505 | $as_echo_n "checking for ld used by $CC... " >&6; } |
| 6506 | case $host in |
| 6507 | *-*-mingw*) |
| 6508 | # gcc leaves a trailing carriage return which upsets mingw |
| 6509 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 6510 | *) |
| 6511 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 6512 | esac |
| 6513 | case $ac_prog in |
| 6514 | # Accept absolute paths. |
| 6515 | [\\/]* | ?:[\\/]*) |
| 6516 | re_direlt='/[^/][^/]*/\.\./' |
| 6517 | # Canonicalize the pathname of ld |
| 6518 | ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 6519 | while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
| 6520 | ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 6521 | done |
| 6522 | test -z "$LD" && LD="$ac_prog" |
| 6523 | ;; |
| 6524 | "") |
| 6525 | # If it fails, then pretend we aren't using GCC. |
| 6526 | ac_prog=ld |
| 6527 | ;; |
| 6528 | *) |
| 6529 | # If it is relative, then search for the first ld in PATH. |
| 6530 | with_gnu_ld=unknown |
| 6531 | ;; |
| 6532 | esac |
| 6533 | elif test "$with_gnu_ld" = yes; then |
| 6534 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 6535 | $as_echo_n "checking for GNU ld... " >&6; } |
| 6536 | else |
| 6537 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 6538 | $as_echo_n "checking for non-GNU ld... " >&6; } |
| 6539 | fi |
| 6540 | if ${lt_cv_path_LD+:} false; then : |
| 6541 | $as_echo_n "(cached) " >&6 |
| 6542 | else |
| 6543 | if test -z "$LD"; then |
| 6544 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 6545 | for ac_dir in $PATH; do |
| 6546 | IFS="$lt_save_ifs" |
| 6547 | test -z "$ac_dir" && ac_dir=. |
| 6548 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 6549 | lt_cv_path_LD="$ac_dir/$ac_prog" |
| 6550 | # Check to see if the program is GNU ld. I'd rather use --version, |
| 6551 | # but apparently some variants of GNU ld only accept -v. |
| 6552 | # Break only if it was the GNU/non-GNU ld that we prefer. |
| 6553 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
| 6554 | *GNU* | *'with BFD'*) |
| 6555 | test "$with_gnu_ld" != no && break |
| 6556 | ;; |
| 6557 | *) |
| 6558 | test "$with_gnu_ld" != yes && break |
| 6559 | ;; |
| 6560 | esac |
| 6561 | fi |
| 6562 | done |
| 6563 | IFS="$lt_save_ifs" |
| 6564 | else |
| 6565 | lt_cv_path_LD="$LD" # Let the user override the test with a path. |
| 6566 | fi |
| 6567 | fi |
| 6568 | |
| 6569 | LD="$lt_cv_path_LD" |
| 6570 | if test -n "$LD"; then |
| 6571 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 6572 | $as_echo "$LD" >&6; } |
| 6573 | else |
| 6574 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6575 | $as_echo "no" >&6; } |
| 6576 | fi |
| 6577 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 6578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 6579 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 6580 | if ${lt_cv_prog_gnu_ld+:} false; then : |
| 6581 | $as_echo_n "(cached) " >&6 |
| 6582 | else |
| 6583 | # I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 6584 | case `$LD -v 2>&1 </dev/null` in |
| 6585 | *GNU* | *'with BFD'*) |
| 6586 | lt_cv_prog_gnu_ld=yes |
| 6587 | ;; |
| 6588 | *) |
| 6589 | lt_cv_prog_gnu_ld=no |
| 6590 | ;; |
| 6591 | esac |
| 6592 | fi |
| 6593 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 6594 | $as_echo "$lt_cv_prog_gnu_ld" >&6; } |
| 6595 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 6596 | |
| 6597 | |
| 6598 | |
| 6599 | |
| 6600 | |
| 6601 | |
| 6602 | |
| 6603 | |
| 6604 | |
| 6605 | |
| 6606 | test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS='' |
| 6607 | |
| 6608 | |
| 6609 | ac_save_LDFLAGS="$LDFLAGS" |
| 6610 | LDFLAGS="$LFLAGS -mclear-hwcap" |
| 6611 | |
| 6612 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5 |
| 6613 | $as_echo_n "checking for -mclear-hwcap... " >&6; } |
| 6614 | if test x$gcc_no_link = xyes; then |
| 6615 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 6616 | fi |
| 6617 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6618 | /* end confdefs.h. */ |
| 6619 | |
| 6620 | int |
| 6621 | main () |
| 6622 | { |
| 6623 | return 0; |
| 6624 | ; |
| 6625 | return 0; |
| 6626 | } |
| 6627 | _ACEOF |
| 6628 | if ac_fn_c_try_link "$LINENO"; then : |
| 6629 | ac_hwcap_ldflags=yes |
| 6630 | else |
| 6631 | ac_hwcap_ldflags=no |
| 6632 | fi |
| 6633 | rm -f core conftest.err conftest.$ac_objext \ |
| 6634 | conftest$ac_exeext conftest.$ac_ext |
| 6635 | if test "$ac_hwcap_ldflags" = "yes"; then |
| 6636 | HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS" |
| 6637 | fi |
| 6638 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5 |
| 6639 | $as_echo "$ac_hwcap_ldflags" >&6; } |
| 6640 | |
| 6641 | LDFLAGS="$ac_save_LDFLAGS" |
| 6642 | |
| 6643 | |
| 6644 | |
| 6645 | if test $ac_hwcap_ldflags != no; then |
| 6646 | HAVE_HWCAP_TRUE= |
| 6647 | HAVE_HWCAP_FALSE='#' |
| 6648 | else |
| 6649 | HAVE_HWCAP_TRUE='#' |
| 6650 | HAVE_HWCAP_FALSE= |
| 6651 | fi |
| 6652 | |
| 6653 | |
| 6654 | |
| 6655 | # Find other programs we need. |
| 6656 | if test -n "$ac_tool_prefix"; then |
| 6657 | # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. |
| 6658 | set dummy ${ac_tool_prefix}as; ac_word=$2 |
| 6659 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6660 | $as_echo_n "checking for $ac_word... " >&6; } |
| 6661 | if ${ac_cv_prog_AS+:} false; then : |
| 6662 | $as_echo_n "(cached) " >&6 |
| 6663 | else |
| 6664 | if test -n "$AS"; then |
| 6665 | ac_cv_prog_AS="$AS" # Let the user override the test. |
| 6666 | else |
| 6667 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6668 | for as_dir in $PATH |
| 6669 | do |
| 6670 | IFS=$as_save_IFS |
| 6671 | test -z "$as_dir" && as_dir=. |
| 6672 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6673 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6674 | ac_cv_prog_AS="${ac_tool_prefix}as" |
| 6675 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6676 | break 2 |
| 6677 | fi |
| 6678 | done |
| 6679 | done |
| 6680 | IFS=$as_save_IFS |
| 6681 | |
| 6682 | fi |
| 6683 | fi |
| 6684 | AS=$ac_cv_prog_AS |
| 6685 | if test -n "$AS"; then |
| 6686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 |
| 6687 | $as_echo "$AS" >&6; } |
| 6688 | else |
| 6689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6690 | $as_echo "no" >&6; } |
| 6691 | fi |
| 6692 | |
| 6693 | |
| 6694 | fi |
| 6695 | if test -z "$ac_cv_prog_AS"; then |
| 6696 | ac_ct_AS=$AS |
| 6697 | # Extract the first word of "as", so it can be a program name with args. |
| 6698 | set dummy as; ac_word=$2 |
| 6699 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6700 | $as_echo_n "checking for $ac_word... " >&6; } |
| 6701 | if ${ac_cv_prog_ac_ct_AS+:} false; then : |
| 6702 | $as_echo_n "(cached) " >&6 |
| 6703 | else |
| 6704 | if test -n "$ac_ct_AS"; then |
| 6705 | ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. |
| 6706 | else |
| 6707 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6708 | for as_dir in $PATH |
| 6709 | do |
| 6710 | IFS=$as_save_IFS |
| 6711 | test -z "$as_dir" && as_dir=. |
| 6712 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6713 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6714 | ac_cv_prog_ac_ct_AS="as" |
| 6715 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6716 | break 2 |
| 6717 | fi |
| 6718 | done |
| 6719 | done |
| 6720 | IFS=$as_save_IFS |
| 6721 | |
| 6722 | fi |
| 6723 | fi |
| 6724 | ac_ct_AS=$ac_cv_prog_ac_ct_AS |
| 6725 | if test -n "$ac_ct_AS"; then |
| 6726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 |
| 6727 | $as_echo "$ac_ct_AS" >&6; } |
| 6728 | else |
| 6729 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6730 | $as_echo "no" >&6; } |
| 6731 | fi |
| 6732 | |
| 6733 | if test "x$ac_ct_AS" = x; then |
| 6734 | AS="" |
| 6735 | else |
| 6736 | case $cross_compiling:$ac_tool_warned in |
| 6737 | yes:) |
| 6738 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6739 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6740 | ac_tool_warned=yes ;; |
| 6741 | esac |
| 6742 | AS=$ac_ct_AS |
| 6743 | fi |
| 6744 | else |
| 6745 | AS="$ac_cv_prog_AS" |
| 6746 | fi |
| 6747 | |
| 6748 | if test -n "$ac_tool_prefix"; then |
| 6749 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
| 6750 | set dummy ${ac_tool_prefix}ar; ac_word=$2 |
| 6751 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6752 | $as_echo_n "checking for $ac_word... " >&6; } |
| 6753 | if ${ac_cv_prog_AR+:} false; then : |
| 6754 | $as_echo_n "(cached) " >&6 |
| 6755 | else |
| 6756 | if test -n "$AR"; then |
| 6757 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| 6758 | else |
| 6759 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6760 | for as_dir in $PATH |
| 6761 | do |
| 6762 | IFS=$as_save_IFS |
| 6763 | test -z "$as_dir" && as_dir=. |
| 6764 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6765 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6766 | ac_cv_prog_AR="${ac_tool_prefix}ar" |
| 6767 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6768 | break 2 |
| 6769 | fi |
| 6770 | done |
| 6771 | done |
| 6772 | IFS=$as_save_IFS |
| 6773 | |
| 6774 | fi |
| 6775 | fi |
| 6776 | AR=$ac_cv_prog_AR |
| 6777 | if test -n "$AR"; then |
| 6778 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 6779 | $as_echo "$AR" >&6; } |
| 6780 | else |
| 6781 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6782 | $as_echo "no" >&6; } |
| 6783 | fi |
| 6784 | |
| 6785 | |
| 6786 | fi |
| 6787 | if test -z "$ac_cv_prog_AR"; then |
| 6788 | ac_ct_AR=$AR |
| 6789 | # Extract the first word of "ar", so it can be a program name with args. |
| 6790 | set dummy ar; ac_word=$2 |
| 6791 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6792 | $as_echo_n "checking for $ac_word... " >&6; } |
| 6793 | if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| 6794 | $as_echo_n "(cached) " >&6 |
| 6795 | else |
| 6796 | if test -n "$ac_ct_AR"; then |
| 6797 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 6798 | else |
| 6799 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6800 | for as_dir in $PATH |
| 6801 | do |
| 6802 | IFS=$as_save_IFS |
| 6803 | test -z "$as_dir" && as_dir=. |
| 6804 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6805 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6806 | ac_cv_prog_ac_ct_AR="ar" |
| 6807 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6808 | break 2 |
| 6809 | fi |
| 6810 | done |
| 6811 | done |
| 6812 | IFS=$as_save_IFS |
| 6813 | |
| 6814 | fi |
| 6815 | fi |
| 6816 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 6817 | if test -n "$ac_ct_AR"; then |
| 6818 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 6819 | $as_echo "$ac_ct_AR" >&6; } |
| 6820 | else |
| 6821 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6822 | $as_echo "no" >&6; } |
| 6823 | fi |
| 6824 | |
| 6825 | if test "x$ac_ct_AR" = x; then |
| 6826 | AR="" |
| 6827 | else |
| 6828 | case $cross_compiling:$ac_tool_warned in |
| 6829 | yes:) |
| 6830 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6831 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6832 | ac_tool_warned=yes ;; |
| 6833 | esac |
| 6834 | AR=$ac_ct_AR |
| 6835 | fi |
| 6836 | else |
| 6837 | AR="$ac_cv_prog_AR" |
| 6838 | fi |
| 6839 | |
| 6840 | if test -n "$ac_tool_prefix"; then |
| 6841 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 6842 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 6843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6844 | $as_echo_n "checking for $ac_word... " >&6; } |
| 6845 | if ${ac_cv_prog_RANLIB+:} false; then : |
| 6846 | $as_echo_n "(cached) " >&6 |
| 6847 | else |
| 6848 | if test -n "$RANLIB"; then |
| 6849 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 6850 | else |
| 6851 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6852 | for as_dir in $PATH |
| 6853 | do |
| 6854 | IFS=$as_save_IFS |
| 6855 | test -z "$as_dir" && as_dir=. |
| 6856 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6857 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6858 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 6859 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6860 | break 2 |
| 6861 | fi |
| 6862 | done |
| 6863 | done |
| 6864 | IFS=$as_save_IFS |
| 6865 | |
| 6866 | fi |
| 6867 | fi |
| 6868 | RANLIB=$ac_cv_prog_RANLIB |
| 6869 | if test -n "$RANLIB"; then |
| 6870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 6871 | $as_echo "$RANLIB" >&6; } |
| 6872 | else |
| 6873 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6874 | $as_echo "no" >&6; } |
| 6875 | fi |
| 6876 | |
| 6877 | |
| 6878 | fi |
| 6879 | if test -z "$ac_cv_prog_RANLIB"; then |
| 6880 | ac_ct_RANLIB=$RANLIB |
| 6881 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 6882 | set dummy ranlib; ac_word=$2 |
| 6883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6884 | $as_echo_n "checking for $ac_word... " >&6; } |
| 6885 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 6886 | $as_echo_n "(cached) " >&6 |
| 6887 | else |
| 6888 | if test -n "$ac_ct_RANLIB"; then |
| 6889 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 6890 | else |
| 6891 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6892 | for as_dir in $PATH |
| 6893 | do |
| 6894 | IFS=$as_save_IFS |
| 6895 | test -z "$as_dir" && as_dir=. |
| 6896 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6897 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6898 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 6899 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6900 | break 2 |
| 6901 | fi |
| 6902 | done |
| 6903 | done |
| 6904 | IFS=$as_save_IFS |
| 6905 | |
| 6906 | fi |
| 6907 | fi |
| 6908 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 6909 | if test -n "$ac_ct_RANLIB"; then |
| 6910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 6911 | $as_echo "$ac_ct_RANLIB" >&6; } |
| 6912 | else |
| 6913 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6914 | $as_echo "no" >&6; } |
| 6915 | fi |
| 6916 | |
| 6917 | if test "x$ac_ct_RANLIB" = x; then |
| 6918 | RANLIB="ranlib-not-found-in-path-error" |
| 6919 | else |
| 6920 | case $cross_compiling:$ac_tool_warned in |
| 6921 | yes:) |
| 6922 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6923 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6924 | ac_tool_warned=yes ;; |
| 6925 | esac |
| 6926 | RANLIB=$ac_ct_RANLIB |
| 6927 | fi |
| 6928 | else |
| 6929 | RANLIB="$ac_cv_prog_RANLIB" |
| 6930 | fi |
| 6931 | |
| 6932 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 6933 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 6934 | set x ${MAKE-make} |
| 6935 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 6936 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 6937 | $as_echo_n "(cached) " >&6 |
| 6938 | else |
| 6939 | cat >conftest.make <<\_ACEOF |
| 6940 | SHELL = /bin/sh |
| 6941 | all: |
| 6942 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 6943 | _ACEOF |
| 6944 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 6945 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 6946 | *@@@%%%=?*=@@@%%%*) |
| 6947 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 6948 | *) |
| 6949 | eval ac_cv_prog_make_${ac_make}_set=no;; |
| 6950 | esac |
| 6951 | rm -f conftest.make |
| 6952 | fi |
| 6953 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 6954 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 6955 | $as_echo "yes" >&6; } |
| 6956 | SET_MAKE= |
| 6957 | else |
| 6958 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6959 | $as_echo "no" >&6; } |
| 6960 | SET_MAKE="MAKE=${MAKE-make}" |
| 6961 | fi |
| 6962 | |
| 6963 | |
| 6964 | |
| 6965 | # Configure libtool |
| 6966 | #AC_MSG_NOTICE([====== Starting libtool configuration]) |
| 6967 | enable_dlopen=yes |
| 6968 | |
| 6969 | |
| 6970 | |
| 6971 | case `pwd` in |
| 6972 | *\ * | *\ *) |
| 6973 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 6974 | $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 6975 | esac |
| 6976 | |
| 6977 | |
| 6978 | |
| 6979 | macro_version='2.2.7a' |
| 6980 | macro_revision='1.3134' |
| 6981 | |
| 6982 | |
| 6983 | |
| 6984 | |
| 6985 | |
| 6986 | |
| 6987 | |
| 6988 | |
| 6989 | |
| 6990 | |
| 6991 | |
| 6992 | |
| 6993 | |
| 6994 | ltmain="$ac_aux_dir/ltmain.sh" |
| 6995 | |
| 6996 | # Backslashify metacharacters that are still active within |
| 6997 | # double-quoted strings. |
| 6998 | sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
| 6999 | |
| 7000 | # Same as above, but do not quote variable references. |
| 7001 | double_quote_subst='s/\(["`\\]\)/\\\1/g' |
| 7002 | |
| 7003 | # Sed substitution to delay expansion of an escaped shell variable in a |
| 7004 | # double_quote_subst'ed string. |
| 7005 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 7006 | |
| 7007 | # Sed substitution to delay expansion of an escaped single quote. |
| 7008 | delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 7009 | |
| 7010 | # Sed substitution to avoid accidental globbing in evaled expressions |
| 7011 | no_glob_subst='s/\*/\\\*/g' |
| 7012 | |
| 7013 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 7014 | $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 7015 | if ${lt_cv_path_NM+:} false; then : |
| 7016 | $as_echo_n "(cached) " >&6 |
| 7017 | else |
| 7018 | if test -n "$NM"; then |
| 7019 | # Let the user override the nm to test. |
| 7020 | lt_nm_to_check="$NM" |
| 7021 | else |
| 7022 | lt_nm_to_check="${ac_tool_prefix}nm" |
| 7023 | if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
| 7024 | lt_nm_to_check="$lt_nm_to_check nm" |
| 7025 | fi |
| 7026 | fi |
| 7027 | for lt_tmp_nm in "$lt_nm_to_check"; do |
| 7028 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 7029 | for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
| 7030 | IFS="$lt_save_ifs" |
| 7031 | test -z "$ac_dir" && ac_dir=. |
| 7032 | # Strip out any user-provided options from the nm to test twice, |
| 7033 | # the first time to test to see if nm (rather than its options) has |
| 7034 | # an explicit path, the second time to yield a file which can be |
| 7035 | # nm'ed itself. |
| 7036 | tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`" |
| 7037 | case "$tmp_nm_path" in |
| 7038 | */*|*\\*) tmp_nm="$lt_tmp_nm";; |
| 7039 | *) tmp_nm="$ac_dir/$lt_tmp_nm";; |
| 7040 | esac |
| 7041 | tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`" |
| 7042 | if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then |
| 7043 | # Check to see if the nm accepts a BSD-compat flag. |
| 7044 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
| 7045 | # nm: unknown option "B" ignored |
| 7046 | case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in |
| 7047 | *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B" |
| 7048 | break |
| 7049 | ;; |
| 7050 | *) |
| 7051 | case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in |
| 7052 | *$tmp_nm*) |
| 7053 | lt_cv_path_NM="$tmp_nm -p" |
| 7054 | break |
| 7055 | ;; |
| 7056 | *) |
| 7057 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 7058 | continue # so that we can try to find one that supports BSD flags |
| 7059 | ;; |
| 7060 | esac |
| 7061 | ;; |
| 7062 | esac |
| 7063 | fi |
| 7064 | done |
| 7065 | IFS="$lt_save_ifs" |
| 7066 | done |
| 7067 | : ${lt_cv_path_NM=no} |
| 7068 | fi |
| 7069 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 7070 | $as_echo "$lt_cv_path_NM" >&6; } |
| 7071 | if test "$lt_cv_path_NM" != "no"; then |
| 7072 | NM="$lt_cv_path_NM" |
| 7073 | else |
| 7074 | # Didn't find any BSD compatible name lister, look for dumpbin. |
| 7075 | if test -n "$DUMPBIN"; then : |
| 7076 | # Let the user override the test. |
| 7077 | else |
| 7078 | if test -n "$ac_tool_prefix"; then |
| 7079 | for ac_prog in dumpbin "link -dump" |
| 7080 | do |
| 7081 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 7082 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 7083 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7084 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7085 | if ${ac_cv_prog_DUMPBIN+:} false; then : |
| 7086 | $as_echo_n "(cached) " >&6 |
| 7087 | else |
| 7088 | if test -n "$DUMPBIN"; then |
| 7089 | ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
| 7090 | else |
| 7091 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7092 | for as_dir in $PATH |
| 7093 | do |
| 7094 | IFS=$as_save_IFS |
| 7095 | test -z "$as_dir" && as_dir=. |
| 7096 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7097 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7098 | ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 7099 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7100 | break 2 |
| 7101 | fi |
| 7102 | done |
| 7103 | done |
| 7104 | IFS=$as_save_IFS |
| 7105 | |
| 7106 | fi |
| 7107 | fi |
| 7108 | DUMPBIN=$ac_cv_prog_DUMPBIN |
| 7109 | if test -n "$DUMPBIN"; then |
| 7110 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 7111 | $as_echo "$DUMPBIN" >&6; } |
| 7112 | else |
| 7113 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7114 | $as_echo "no" >&6; } |
| 7115 | fi |
| 7116 | |
| 7117 | |
| 7118 | test -n "$DUMPBIN" && break |
| 7119 | done |
| 7120 | fi |
| 7121 | if test -z "$DUMPBIN"; then |
| 7122 | ac_ct_DUMPBIN=$DUMPBIN |
| 7123 | for ac_prog in dumpbin "link -dump" |
| 7124 | do |
| 7125 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 7126 | set dummy $ac_prog; ac_word=$2 |
| 7127 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7128 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7129 | if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
| 7130 | $as_echo_n "(cached) " >&6 |
| 7131 | else |
| 7132 | if test -n "$ac_ct_DUMPBIN"; then |
| 7133 | ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
| 7134 | else |
| 7135 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7136 | for as_dir in $PATH |
| 7137 | do |
| 7138 | IFS=$as_save_IFS |
| 7139 | test -z "$as_dir" && as_dir=. |
| 7140 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7141 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7142 | ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 7143 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7144 | break 2 |
| 7145 | fi |
| 7146 | done |
| 7147 | done |
| 7148 | IFS=$as_save_IFS |
| 7149 | |
| 7150 | fi |
| 7151 | fi |
| 7152 | ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
| 7153 | if test -n "$ac_ct_DUMPBIN"; then |
| 7154 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 7155 | $as_echo "$ac_ct_DUMPBIN" >&6; } |
| 7156 | else |
| 7157 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7158 | $as_echo "no" >&6; } |
| 7159 | fi |
| 7160 | |
| 7161 | |
| 7162 | test -n "$ac_ct_DUMPBIN" && break |
| 7163 | done |
| 7164 | |
| 7165 | if test "x$ac_ct_DUMPBIN" = x; then |
| 7166 | DUMPBIN=":" |
| 7167 | else |
| 7168 | case $cross_compiling:$ac_tool_warned in |
| 7169 | yes:) |
| 7170 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7171 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7172 | ac_tool_warned=yes ;; |
| 7173 | esac |
| 7174 | DUMPBIN=$ac_ct_DUMPBIN |
| 7175 | fi |
| 7176 | fi |
| 7177 | |
| 7178 | case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
| 7179 | *COFF*) |
| 7180 | DUMPBIN="$DUMPBIN -symbols" |
| 7181 | ;; |
| 7182 | *) |
| 7183 | DUMPBIN=: |
| 7184 | ;; |
| 7185 | esac |
| 7186 | fi |
| 7187 | |
| 7188 | if test "$DUMPBIN" != ":"; then |
| 7189 | NM="$DUMPBIN" |
| 7190 | fi |
| 7191 | fi |
| 7192 | test -z "$NM" && NM=nm |
| 7193 | |
| 7194 | |
| 7195 | |
| 7196 | |
| 7197 | |
| 7198 | |
| 7199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 7200 | $as_echo_n "checking the name lister ($NM) interface... " >&6; } |
| 7201 | if ${lt_cv_nm_interface+:} false; then : |
| 7202 | $as_echo_n "(cached) " >&6 |
| 7203 | else |
| 7204 | lt_cv_nm_interface="BSD nm" |
| 7205 | echo "int some_variable = 0;" > conftest.$ac_ext |
| 7206 | (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
| 7207 | (eval "$ac_compile" 2>conftest.err) |
| 7208 | cat conftest.err >&5 |
| 7209 | (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 7210 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 7211 | cat conftest.err >&5 |
| 7212 | (eval echo "\"\$as_me:$LINENO: output\"" >&5) |
| 7213 | cat conftest.out >&5 |
| 7214 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 7215 | lt_cv_nm_interface="MS dumpbin" |
| 7216 | fi |
| 7217 | rm -f conftest* |
| 7218 | fi |
| 7219 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 7220 | $as_echo "$lt_cv_nm_interface" >&6; } |
| 7221 | |
| 7222 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 7223 | $as_echo_n "checking whether ln -s works... " >&6; } |
| 7224 | LN_S=$as_ln_s |
| 7225 | if test "$LN_S" = "ln -s"; then |
| 7226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 7227 | $as_echo "yes" >&6; } |
| 7228 | else |
| 7229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 7230 | $as_echo "no, using $LN_S" >&6; } |
| 7231 | fi |
| 7232 | |
| 7233 | # find the maximum length of command line arguments |
| 7234 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 7235 | $as_echo_n "checking the maximum length of command line arguments... " >&6; } |
| 7236 | if ${lt_cv_sys_max_cmd_len+:} false; then : |
| 7237 | $as_echo_n "(cached) " >&6 |
| 7238 | else |
| 7239 | i=0 |
| 7240 | teststring="ABCD" |
| 7241 | |
| 7242 | case $build_os in |
| 7243 | msdosdjgpp*) |
| 7244 | # On DJGPP, this test can blow up pretty badly due to problems in libc |
| 7245 | # (any single argument exceeding 2000 bytes causes a buffer overrun |
| 7246 | # during glob expansion). Even if it were fixed, the result of this |
| 7247 | # check would be larger than it should be. |
| 7248 | lt_cv_sys_max_cmd_len=12288; # 12K is about right |
| 7249 | ;; |
| 7250 | |
| 7251 | gnu*) |
| 7252 | # Under GNU Hurd, this test is not required because there is |
| 7253 | # no limit to the length of command line arguments. |
| 7254 | # Libtool will interpret -1 as no limit whatsoever |
| 7255 | lt_cv_sys_max_cmd_len=-1; |
| 7256 | ;; |
| 7257 | |
| 7258 | cygwin* | mingw* | cegcc*) |
| 7259 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
| 7260 | # about 5 minutes as the teststring grows exponentially. |
| 7261 | # Worse, since 9x/ME are not pre-emptively multitasking, |
| 7262 | # you end up with a "frozen" computer, even though with patience |
| 7263 | # the test eventually succeeds (with a max line length of 256k). |
| 7264 | # Instead, let's just punt: use the minimum linelength reported by |
| 7265 | # all of the supported platforms: 8192 (on NT/2K/XP). |
| 7266 | lt_cv_sys_max_cmd_len=8192; |
| 7267 | ;; |
| 7268 | |
| 7269 | mint*) |
| 7270 | # On MiNT this can take a long time and run out of memory. |
| 7271 | lt_cv_sys_max_cmd_len=8192; |
| 7272 | ;; |
| 7273 | |
| 7274 | amigaos*) |
| 7275 | # On AmigaOS with pdksh, this test takes hours, literally. |
| 7276 | # So we just punt and use a minimum line length of 8192. |
| 7277 | lt_cv_sys_max_cmd_len=8192; |
| 7278 | ;; |
| 7279 | |
| 7280 | netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
| 7281 | # This has been around since 386BSD, at least. Likely further. |
| 7282 | if test -x /sbin/sysctl; then |
| 7283 | lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
| 7284 | elif test -x /usr/sbin/sysctl; then |
| 7285 | lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
| 7286 | else |
| 7287 | lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
| 7288 | fi |
| 7289 | # And add a safety zone |
| 7290 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 7291 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 7292 | ;; |
| 7293 | |
| 7294 | interix*) |
| 7295 | # We know the value 262144 and hardcode it with a safety zone (like BSD) |
| 7296 | lt_cv_sys_max_cmd_len=196608 |
| 7297 | ;; |
| 7298 | |
| 7299 | osf*) |
| 7300 | # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 7301 | # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 7302 | # nice to cause kernel panics so lets avoid the loop below. |
| 7303 | # First set a reasonable default. |
| 7304 | lt_cv_sys_max_cmd_len=16384 |
| 7305 | # |
| 7306 | if test -x /sbin/sysconfig; then |
| 7307 | case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
| 7308 | *1*) lt_cv_sys_max_cmd_len=-1 ;; |
| 7309 | esac |
| 7310 | fi |
| 7311 | ;; |
| 7312 | sco3.2v5*) |
| 7313 | lt_cv_sys_max_cmd_len=102400 |
| 7314 | ;; |
| 7315 | sysv5* | sco5v6* | sysv4.2uw2*) |
| 7316 | kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 7317 | if test -n "$kargmax"; then |
| 7318 | lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
| 7319 | else |
| 7320 | lt_cv_sys_max_cmd_len=32768 |
| 7321 | fi |
| 7322 | ;; |
| 7323 | *) |
| 7324 | lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
| 7325 | if test -n "$lt_cv_sys_max_cmd_len"; then |
| 7326 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 7327 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 7328 | else |
| 7329 | # Make teststring a little bigger before we do anything with it. |
| 7330 | # a 1K string should be a reasonable start. |
| 7331 | for i in 1 2 3 4 5 6 7 8 ; do |
| 7332 | teststring=$teststring$teststring |
| 7333 | done |
| 7334 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 7335 | # If test is not a shell built-in, we'll probably end up computing a |
| 7336 | # maximum length that is only half of the actual maximum length, but |
| 7337 | # we can't tell. |
| 7338 | while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
| 7339 | = "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 7340 | test $i != 17 # 1/2 MB should be enough |
| 7341 | do |
| 7342 | i=`expr $i + 1` |
| 7343 | teststring=$teststring$teststring |
| 7344 | done |
| 7345 | # Only check the string length outside the loop. |
| 7346 | lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
| 7347 | teststring= |
| 7348 | # Add a significant safety factor because C++ compilers can tack on |
| 7349 | # massive amounts of additional arguments before passing them to the |
| 7350 | # linker. It appears as though 1/2 is a usable value. |
| 7351 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
| 7352 | fi |
| 7353 | ;; |
| 7354 | esac |
| 7355 | |
| 7356 | fi |
| 7357 | |
| 7358 | if test -n $lt_cv_sys_max_cmd_len ; then |
| 7359 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 7360 | $as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
| 7361 | else |
| 7362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 7363 | $as_echo "none" >&6; } |
| 7364 | fi |
| 7365 | max_cmd_len=$lt_cv_sys_max_cmd_len |
| 7366 | |
| 7367 | |
| 7368 | |
| 7369 | |
| 7370 | |
| 7371 | |
| 7372 | : ${CP="cp -f"} |
| 7373 | : ${MV="mv -f"} |
| 7374 | : ${RM="rm -f"} |
| 7375 | |
| 7376 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
| 7377 | $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
| 7378 | # Try some XSI features |
| 7379 | xsi_shell=no |
| 7380 | ( _lt_dummy="a/b/c" |
| 7381 | test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
| 7382 | = c,a/b,, \ |
| 7383 | && eval 'test $(( 1 + 1 )) -eq 2 \ |
| 7384 | && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
| 7385 | && xsi_shell=yes |
| 7386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
| 7387 | $as_echo "$xsi_shell" >&6; } |
| 7388 | |
| 7389 | |
| 7390 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
| 7391 | $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
| 7392 | lt_shell_append=no |
| 7393 | ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
| 7394 | >/dev/null 2>&1 \ |
| 7395 | && lt_shell_append=yes |
| 7396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
| 7397 | $as_echo "$lt_shell_append" >&6; } |
| 7398 | |
| 7399 | |
| 7400 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 7401 | lt_unset=unset |
| 7402 | else |
| 7403 | lt_unset=false |
| 7404 | fi |
| 7405 | |
| 7406 | |
| 7407 | |
| 7408 | |
| 7409 | |
| 7410 | # test EBCDIC or ASCII |
| 7411 | case `echo X|tr X '\101'` in |
| 7412 | A) # ASCII based system |
| 7413 | # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
| 7414 | lt_SP2NL='tr \040 \012' |
| 7415 | lt_NL2SP='tr \015\012 \040\040' |
| 7416 | ;; |
| 7417 | *) # EBCDIC based system |
| 7418 | lt_SP2NL='tr \100 \n' |
| 7419 | lt_NL2SP='tr \r\n \100\100' |
| 7420 | ;; |
| 7421 | esac |
| 7422 | |
| 7423 | |
| 7424 | |
| 7425 | |
| 7426 | |
| 7427 | |
| 7428 | |
| 7429 | |
| 7430 | |
| 7431 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 7432 | $as_echo_n "checking for $LD option to reload object files... " >&6; } |
| 7433 | if ${lt_cv_ld_reload_flag+:} false; then : |
| 7434 | $as_echo_n "(cached) " >&6 |
| 7435 | else |
| 7436 | lt_cv_ld_reload_flag='-r' |
| 7437 | fi |
| 7438 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 7439 | $as_echo "$lt_cv_ld_reload_flag" >&6; } |
| 7440 | reload_flag=$lt_cv_ld_reload_flag |
| 7441 | case $reload_flag in |
| 7442 | "" | " "*) ;; |
| 7443 | *) reload_flag=" $reload_flag" ;; |
| 7444 | esac |
| 7445 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 7446 | case $host_os in |
| 7447 | darwin*) |
| 7448 | if test "$GCC" = yes; then |
| 7449 | reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
| 7450 | else |
| 7451 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 7452 | fi |
| 7453 | ;; |
| 7454 | esac |
| 7455 | |
| 7456 | |
| 7457 | |
| 7458 | |
| 7459 | |
| 7460 | |
| 7461 | |
| 7462 | |
| 7463 | |
| 7464 | if test -n "$ac_tool_prefix"; then |
| 7465 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
| 7466 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 7467 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7468 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7469 | if ${ac_cv_prog_OBJDUMP+:} false; then : |
| 7470 | $as_echo_n "(cached) " >&6 |
| 7471 | else |
| 7472 | if test -n "$OBJDUMP"; then |
| 7473 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
| 7474 | else |
| 7475 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7476 | for as_dir in $PATH |
| 7477 | do |
| 7478 | IFS=$as_save_IFS |
| 7479 | test -z "$as_dir" && as_dir=. |
| 7480 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7481 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7482 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 7483 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7484 | break 2 |
| 7485 | fi |
| 7486 | done |
| 7487 | done |
| 7488 | IFS=$as_save_IFS |
| 7489 | |
| 7490 | fi |
| 7491 | fi |
| 7492 | OBJDUMP=$ac_cv_prog_OBJDUMP |
| 7493 | if test -n "$OBJDUMP"; then |
| 7494 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 7495 | $as_echo "$OBJDUMP" >&6; } |
| 7496 | else |
| 7497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7498 | $as_echo "no" >&6; } |
| 7499 | fi |
| 7500 | |
| 7501 | |
| 7502 | fi |
| 7503 | if test -z "$ac_cv_prog_OBJDUMP"; then |
| 7504 | ac_ct_OBJDUMP=$OBJDUMP |
| 7505 | # Extract the first word of "objdump", so it can be a program name with args. |
| 7506 | set dummy objdump; ac_word=$2 |
| 7507 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7508 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7509 | if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
| 7510 | $as_echo_n "(cached) " >&6 |
| 7511 | else |
| 7512 | if test -n "$ac_ct_OBJDUMP"; then |
| 7513 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
| 7514 | else |
| 7515 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7516 | for as_dir in $PATH |
| 7517 | do |
| 7518 | IFS=$as_save_IFS |
| 7519 | test -z "$as_dir" && as_dir=. |
| 7520 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7521 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7522 | ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 7523 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7524 | break 2 |
| 7525 | fi |
| 7526 | done |
| 7527 | done |
| 7528 | IFS=$as_save_IFS |
| 7529 | |
| 7530 | fi |
| 7531 | fi |
| 7532 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 7533 | if test -n "$ac_ct_OBJDUMP"; then |
| 7534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 7535 | $as_echo "$ac_ct_OBJDUMP" >&6; } |
| 7536 | else |
| 7537 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7538 | $as_echo "no" >&6; } |
| 7539 | fi |
| 7540 | |
| 7541 | if test "x$ac_ct_OBJDUMP" = x; then |
| 7542 | OBJDUMP="false" |
| 7543 | else |
| 7544 | case $cross_compiling:$ac_tool_warned in |
| 7545 | yes:) |
| 7546 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7547 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7548 | ac_tool_warned=yes ;; |
| 7549 | esac |
| 7550 | OBJDUMP=$ac_ct_OBJDUMP |
| 7551 | fi |
| 7552 | else |
| 7553 | OBJDUMP="$ac_cv_prog_OBJDUMP" |
| 7554 | fi |
| 7555 | |
| 7556 | test -z "$OBJDUMP" && OBJDUMP=objdump |
| 7557 | |
| 7558 | |
| 7559 | |
| 7560 | |
| 7561 | |
| 7562 | |
| 7563 | |
| 7564 | |
| 7565 | |
| 7566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 7567 | $as_echo_n "checking how to recognize dependent libraries... " >&6; } |
| 7568 | if ${lt_cv_deplibs_check_method+:} false; then : |
| 7569 | $as_echo_n "(cached) " >&6 |
| 7570 | else |
| 7571 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 7572 | lt_cv_file_magic_test_file= |
| 7573 | lt_cv_deplibs_check_method='unknown' |
| 7574 | # Need to set the preceding variable on all platforms that support |
| 7575 | # interlibrary dependencies. |
| 7576 | # 'none' -- dependencies not supported. |
| 7577 | # `unknown' -- same as none, but documents that we really don't know. |
| 7578 | # 'pass_all' -- all dependencies passed with no checks. |
| 7579 | # 'test_compile' -- check by making test program. |
| 7580 | # 'file_magic [[regex]]' -- check by looking for files in library path |
| 7581 | # which responds to the $file_magic_cmd with a given extended regex. |
| 7582 | # If you have `file' or equivalent on your system and you're not sure |
| 7583 | # whether `pass_all' will *always* work, you probably want this one. |
| 7584 | |
| 7585 | case $host_os in |
| 7586 | aix[4-9]*) |
| 7587 | lt_cv_deplibs_check_method=pass_all |
| 7588 | ;; |
| 7589 | |
| 7590 | beos*) |
| 7591 | lt_cv_deplibs_check_method=pass_all |
| 7592 | ;; |
| 7593 | |
| 7594 | bsdi[45]*) |
| 7595 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
| 7596 | lt_cv_file_magic_cmd='/usr/bin/file -L' |
| 7597 | lt_cv_file_magic_test_file=/shlib/libc.so |
| 7598 | ;; |
| 7599 | |
| 7600 | cygwin*) |
| 7601 | # func_win32_libid is a shell function defined in ltmain.sh |
| 7602 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 7603 | lt_cv_file_magic_cmd='func_win32_libid' |
| 7604 | ;; |
| 7605 | |
| 7606 | mingw* | pw32*) |
| 7607 | # Base MSYS/MinGW do not provide the 'file' command needed by |
| 7608 | # func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 7609 | # unless we find 'file', for example because we are cross-compiling. |
| 7610 | # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
| 7611 | if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
| 7612 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 7613 | lt_cv_file_magic_cmd='func_win32_libid' |
| 7614 | else |
| 7615 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
| 7616 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 7617 | fi |
| 7618 | ;; |
| 7619 | |
| 7620 | cegcc*) |
| 7621 | # use the weaker test based on 'objdump'. See mingw*. |
| 7622 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
| 7623 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 7624 | ;; |
| 7625 | |
| 7626 | darwin* | rhapsody*) |
| 7627 | lt_cv_deplibs_check_method=pass_all |
| 7628 | ;; |
| 7629 | |
| 7630 | freebsd* | dragonfly*) |
| 7631 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 7632 | case $host_cpu in |
| 7633 | i*86 ) |
| 7634 | # Not sure whether the presence of OpenBSD here was a mistake. |
| 7635 | # Let's accept both of them until this is cleared up. |
| 7636 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
| 7637 | lt_cv_file_magic_cmd=/usr/bin/file |
| 7638 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
| 7639 | ;; |
| 7640 | esac |
| 7641 | else |
| 7642 | lt_cv_deplibs_check_method=pass_all |
| 7643 | fi |
| 7644 | ;; |
| 7645 | |
| 7646 | gnu*) |
| 7647 | lt_cv_deplibs_check_method=pass_all |
| 7648 | ;; |
| 7649 | |
| 7650 | haiku*) |
| 7651 | lt_cv_deplibs_check_method=pass_all |
| 7652 | ;; |
| 7653 | |
| 7654 | hpux10.20* | hpux11*) |
| 7655 | lt_cv_file_magic_cmd=/usr/bin/file |
| 7656 | case $host_cpu in |
| 7657 | ia64*) |
| 7658 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
| 7659 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
| 7660 | ;; |
| 7661 | hppa*64*) |
| 7662 | 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]' |
| 7663 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
| 7664 | ;; |
| 7665 | *) |
| 7666 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
| 7667 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
| 7668 | ;; |
| 7669 | esac |
| 7670 | ;; |
| 7671 | |
| 7672 | interix[3-9]*) |
| 7673 | # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
| 7674 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
| 7675 | ;; |
| 7676 | |
| 7677 | irix5* | irix6* | nonstopux*) |
| 7678 | case $LD in |
| 7679 | *-32|*"-32 ") libmagic=32-bit;; |
| 7680 | *-n32|*"-n32 ") libmagic=N32;; |
| 7681 | *-64|*"-64 ") libmagic=64-bit;; |
| 7682 | *) libmagic=never-match;; |
| 7683 | esac |
| 7684 | lt_cv_deplibs_check_method=pass_all |
| 7685 | ;; |
| 7686 | |
| 7687 | # This must be Linux ELF. |
| 7688 | linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) |
| 7689 | lt_cv_deplibs_check_method=pass_all |
| 7690 | ;; |
| 7691 | |
| 7692 | netbsd*) |
| 7693 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 7694 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 7695 | else |
| 7696 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
| 7697 | fi |
| 7698 | ;; |
| 7699 | |
| 7700 | newos6*) |
| 7701 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
| 7702 | lt_cv_file_magic_cmd=/usr/bin/file |
| 7703 | lt_cv_file_magic_test_file=/usr/lib/libnls.so |
| 7704 | ;; |
| 7705 | |
| 7706 | *nto* | *qnx*) |
| 7707 | lt_cv_deplibs_check_method=pass_all |
| 7708 | ;; |
| 7709 | |
| 7710 | openbsd*) |
| 7711 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 7712 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
| 7713 | else |
| 7714 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 7715 | fi |
| 7716 | ;; |
| 7717 | |
| 7718 | osf3* | osf4* | osf5*) |
| 7719 | lt_cv_deplibs_check_method=pass_all |
| 7720 | ;; |
| 7721 | |
| 7722 | rdos*) |
| 7723 | lt_cv_deplibs_check_method=pass_all |
| 7724 | ;; |
| 7725 | |
| 7726 | solaris*) |
| 7727 | lt_cv_deplibs_check_method=pass_all |
| 7728 | ;; |
| 7729 | |
| 7730 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 7731 | lt_cv_deplibs_check_method=pass_all |
| 7732 | ;; |
| 7733 | |
| 7734 | sysv4 | sysv4.3*) |
| 7735 | case $host_vendor in |
| 7736 | motorola) |
| 7737 | 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]' |
| 7738 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
| 7739 | ;; |
| 7740 | ncr) |
| 7741 | lt_cv_deplibs_check_method=pass_all |
| 7742 | ;; |
| 7743 | sequent) |
| 7744 | lt_cv_file_magic_cmd='/bin/file' |
| 7745 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
| 7746 | ;; |
| 7747 | sni) |
| 7748 | lt_cv_file_magic_cmd='/bin/file' |
| 7749 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
| 7750 | lt_cv_file_magic_test_file=/lib/libc.so |
| 7751 | ;; |
| 7752 | siemens) |
| 7753 | lt_cv_deplibs_check_method=pass_all |
| 7754 | ;; |
| 7755 | pc) |
| 7756 | lt_cv_deplibs_check_method=pass_all |
| 7757 | ;; |
| 7758 | esac |
| 7759 | ;; |
| 7760 | |
| 7761 | tpf*) |
| 7762 | lt_cv_deplibs_check_method=pass_all |
| 7763 | ;; |
| 7764 | vxworks*) |
| 7765 | # Assume VxWorks cross toolchains are built on Linux, possibly |
| 7766 | # as canadian for Windows hosts. |
| 7767 | lt_cv_deplibs_check_method=pass_all |
| 7768 | ;; |
| 7769 | esac |
| 7770 | |
| 7771 | fi |
| 7772 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 7773 | $as_echo "$lt_cv_deplibs_check_method" >&6; } |
| 7774 | file_magic_cmd=$lt_cv_file_magic_cmd |
| 7775 | deplibs_check_method=$lt_cv_deplibs_check_method |
| 7776 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
| 7777 | |
| 7778 | |
| 7779 | |
| 7780 | |
| 7781 | |
| 7782 | |
| 7783 | |
| 7784 | |
| 7785 | |
| 7786 | |
| 7787 | |
| 7788 | |
| 7789 | plugin_option= |
| 7790 | plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" |
| 7791 | for plugin in $plugin_names; do |
| 7792 | plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin` |
| 7793 | if test x$plugin_so = x$plugin; then |
| 7794 | plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin` |
| 7795 | fi |
| 7796 | if test x$plugin_so != x$plugin; then |
| 7797 | plugin_option="--plugin $plugin_so" |
| 7798 | break |
| 7799 | fi |
| 7800 | done |
| 7801 | |
| 7802 | if test -n "$ac_tool_prefix"; then |
| 7803 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
| 7804 | set dummy ${ac_tool_prefix}ar; ac_word=$2 |
| 7805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7806 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7807 | if ${ac_cv_prog_AR+:} false; then : |
| 7808 | $as_echo_n "(cached) " >&6 |
| 7809 | else |
| 7810 | if test -n "$AR"; then |
| 7811 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| 7812 | else |
| 7813 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7814 | for as_dir in $PATH |
| 7815 | do |
| 7816 | IFS=$as_save_IFS |
| 7817 | test -z "$as_dir" && as_dir=. |
| 7818 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7819 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7820 | ac_cv_prog_AR="${ac_tool_prefix}ar" |
| 7821 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7822 | break 2 |
| 7823 | fi |
| 7824 | done |
| 7825 | done |
| 7826 | IFS=$as_save_IFS |
| 7827 | |
| 7828 | fi |
| 7829 | fi |
| 7830 | AR=$ac_cv_prog_AR |
| 7831 | if test -n "$AR"; then |
| 7832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 7833 | $as_echo "$AR" >&6; } |
| 7834 | else |
| 7835 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7836 | $as_echo "no" >&6; } |
| 7837 | fi |
| 7838 | |
| 7839 | |
| 7840 | fi |
| 7841 | if test -z "$ac_cv_prog_AR"; then |
| 7842 | ac_ct_AR=$AR |
| 7843 | # Extract the first word of "ar", so it can be a program name with args. |
| 7844 | set dummy ar; ac_word=$2 |
| 7845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7846 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7847 | if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| 7848 | $as_echo_n "(cached) " >&6 |
| 7849 | else |
| 7850 | if test -n "$ac_ct_AR"; then |
| 7851 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 7852 | else |
| 7853 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7854 | for as_dir in $PATH |
| 7855 | do |
| 7856 | IFS=$as_save_IFS |
| 7857 | test -z "$as_dir" && as_dir=. |
| 7858 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7859 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7860 | ac_cv_prog_ac_ct_AR="ar" |
| 7861 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7862 | break 2 |
| 7863 | fi |
| 7864 | done |
| 7865 | done |
| 7866 | IFS=$as_save_IFS |
| 7867 | |
| 7868 | fi |
| 7869 | fi |
| 7870 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 7871 | if test -n "$ac_ct_AR"; then |
| 7872 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 7873 | $as_echo "$ac_ct_AR" >&6; } |
| 7874 | else |
| 7875 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7876 | $as_echo "no" >&6; } |
| 7877 | fi |
| 7878 | |
| 7879 | if test "x$ac_ct_AR" = x; then |
| 7880 | AR="false" |
| 7881 | else |
| 7882 | case $cross_compiling:$ac_tool_warned in |
| 7883 | yes:) |
| 7884 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7885 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7886 | ac_tool_warned=yes ;; |
| 7887 | esac |
| 7888 | AR=$ac_ct_AR |
| 7889 | fi |
| 7890 | else |
| 7891 | AR="$ac_cv_prog_AR" |
| 7892 | fi |
| 7893 | |
| 7894 | test -z "$AR" && AR=ar |
| 7895 | if test -n "$plugin_option"; then |
| 7896 | if $AR --help 2>&1 | grep -q "\--plugin"; then |
| 7897 | touch conftest.c |
| 7898 | $AR $plugin_option rc conftest.a conftest.c |
| 7899 | if test "$?" != 0; then |
| 7900 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5 |
| 7901 | $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;} |
| 7902 | else |
| 7903 | AR="$AR $plugin_option" |
| 7904 | fi |
| 7905 | rm -f conftest.* |
| 7906 | fi |
| 7907 | fi |
| 7908 | test -z "$AR_FLAGS" && AR_FLAGS=cru |
| 7909 | |
| 7910 | |
| 7911 | |
| 7912 | |
| 7913 | |
| 7914 | |
| 7915 | |
| 7916 | |
| 7917 | |
| 7918 | |
| 7919 | |
| 7920 | if test -n "$ac_tool_prefix"; then |
| 7921 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 7922 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 7923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7924 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7925 | if ${ac_cv_prog_STRIP+:} false; then : |
| 7926 | $as_echo_n "(cached) " >&6 |
| 7927 | else |
| 7928 | if test -n "$STRIP"; then |
| 7929 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 7930 | else |
| 7931 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7932 | for as_dir in $PATH |
| 7933 | do |
| 7934 | IFS=$as_save_IFS |
| 7935 | test -z "$as_dir" && as_dir=. |
| 7936 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7937 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7938 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 7939 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7940 | break 2 |
| 7941 | fi |
| 7942 | done |
| 7943 | done |
| 7944 | IFS=$as_save_IFS |
| 7945 | |
| 7946 | fi |
| 7947 | fi |
| 7948 | STRIP=$ac_cv_prog_STRIP |
| 7949 | if test -n "$STRIP"; then |
| 7950 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 7951 | $as_echo "$STRIP" >&6; } |
| 7952 | else |
| 7953 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7954 | $as_echo "no" >&6; } |
| 7955 | fi |
| 7956 | |
| 7957 | |
| 7958 | fi |
| 7959 | if test -z "$ac_cv_prog_STRIP"; then |
| 7960 | ac_ct_STRIP=$STRIP |
| 7961 | # Extract the first word of "strip", so it can be a program name with args. |
| 7962 | set dummy strip; ac_word=$2 |
| 7963 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7964 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7965 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 7966 | $as_echo_n "(cached) " >&6 |
| 7967 | else |
| 7968 | if test -n "$ac_ct_STRIP"; then |
| 7969 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 7970 | else |
| 7971 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7972 | for as_dir in $PATH |
| 7973 | do |
| 7974 | IFS=$as_save_IFS |
| 7975 | test -z "$as_dir" && as_dir=. |
| 7976 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7977 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7978 | ac_cv_prog_ac_ct_STRIP="strip" |
| 7979 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7980 | break 2 |
| 7981 | fi |
| 7982 | done |
| 7983 | done |
| 7984 | IFS=$as_save_IFS |
| 7985 | |
| 7986 | fi |
| 7987 | fi |
| 7988 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 7989 | if test -n "$ac_ct_STRIP"; then |
| 7990 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 7991 | $as_echo "$ac_ct_STRIP" >&6; } |
| 7992 | else |
| 7993 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7994 | $as_echo "no" >&6; } |
| 7995 | fi |
| 7996 | |
| 7997 | if test "x$ac_ct_STRIP" = x; then |
| 7998 | STRIP=":" |
| 7999 | else |
| 8000 | case $cross_compiling:$ac_tool_warned in |
| 8001 | yes:) |
| 8002 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8003 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8004 | ac_tool_warned=yes ;; |
| 8005 | esac |
| 8006 | STRIP=$ac_ct_STRIP |
| 8007 | fi |
| 8008 | else |
| 8009 | STRIP="$ac_cv_prog_STRIP" |
| 8010 | fi |
| 8011 | |
| 8012 | test -z "$STRIP" && STRIP=: |
| 8013 | |
| 8014 | |
| 8015 | |
| 8016 | |
| 8017 | |
| 8018 | |
| 8019 | if test -n "$ac_tool_prefix"; then |
| 8020 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 8021 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 8022 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8023 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8024 | if ${ac_cv_prog_RANLIB+:} false; then : |
| 8025 | $as_echo_n "(cached) " >&6 |
| 8026 | else |
| 8027 | if test -n "$RANLIB"; then |
| 8028 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 8029 | else |
| 8030 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8031 | for as_dir in $PATH |
| 8032 | do |
| 8033 | IFS=$as_save_IFS |
| 8034 | test -z "$as_dir" && as_dir=. |
| 8035 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8036 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8037 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 8038 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8039 | break 2 |
| 8040 | fi |
| 8041 | done |
| 8042 | done |
| 8043 | IFS=$as_save_IFS |
| 8044 | |
| 8045 | fi |
| 8046 | fi |
| 8047 | RANLIB=$ac_cv_prog_RANLIB |
| 8048 | if test -n "$RANLIB"; then |
| 8049 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 8050 | $as_echo "$RANLIB" >&6; } |
| 8051 | else |
| 8052 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8053 | $as_echo "no" >&6; } |
| 8054 | fi |
| 8055 | |
| 8056 | |
| 8057 | fi |
| 8058 | if test -z "$ac_cv_prog_RANLIB"; then |
| 8059 | ac_ct_RANLIB=$RANLIB |
| 8060 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 8061 | set dummy ranlib; ac_word=$2 |
| 8062 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8063 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8064 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 8065 | $as_echo_n "(cached) " >&6 |
| 8066 | else |
| 8067 | if test -n "$ac_ct_RANLIB"; then |
| 8068 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 8069 | else |
| 8070 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8071 | for as_dir in $PATH |
| 8072 | do |
| 8073 | IFS=$as_save_IFS |
| 8074 | test -z "$as_dir" && as_dir=. |
| 8075 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8076 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8077 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 8078 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8079 | break 2 |
| 8080 | fi |
| 8081 | done |
| 8082 | done |
| 8083 | IFS=$as_save_IFS |
| 8084 | |
| 8085 | fi |
| 8086 | fi |
| 8087 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 8088 | if test -n "$ac_ct_RANLIB"; then |
| 8089 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 8090 | $as_echo "$ac_ct_RANLIB" >&6; } |
| 8091 | else |
| 8092 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8093 | $as_echo "no" >&6; } |
| 8094 | fi |
| 8095 | |
| 8096 | if test "x$ac_ct_RANLIB" = x; then |
| 8097 | RANLIB=":" |
| 8098 | else |
| 8099 | case $cross_compiling:$ac_tool_warned in |
| 8100 | yes:) |
| 8101 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8102 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8103 | ac_tool_warned=yes ;; |
| 8104 | esac |
| 8105 | RANLIB=$ac_ct_RANLIB |
| 8106 | fi |
| 8107 | else |
| 8108 | RANLIB="$ac_cv_prog_RANLIB" |
| 8109 | fi |
| 8110 | |
| 8111 | test -z "$RANLIB" && RANLIB=: |
| 8112 | if test -n "$plugin_option" && test "$RANLIB" != ":"; then |
| 8113 | if $RANLIB --help 2>&1 | grep -q "\--plugin"; then |
| 8114 | RANLIB="$RANLIB $plugin_option" |
| 8115 | fi |
| 8116 | fi |
| 8117 | |
| 8118 | |
| 8119 | |
| 8120 | |
| 8121 | |
| 8122 | |
| 8123 | # Determine commands to create old-style static archives. |
| 8124 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 8125 | old_postinstall_cmds='chmod 644 $oldlib' |
| 8126 | old_postuninstall_cmds= |
| 8127 | |
| 8128 | if test -n "$RANLIB"; then |
| 8129 | case $host_os in |
| 8130 | openbsd*) |
| 8131 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
| 8132 | ;; |
| 8133 | *) |
| 8134 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
| 8135 | ;; |
| 8136 | esac |
| 8137 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 8138 | fi |
| 8139 | |
| 8140 | case $host_os in |
| 8141 | darwin*) |
| 8142 | lock_old_archive_extraction=yes ;; |
| 8143 | *) |
| 8144 | lock_old_archive_extraction=no ;; |
| 8145 | esac |
| 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 | |
| 8171 | |
| 8172 | |
| 8173 | |
| 8174 | |
| 8175 | |
| 8176 | |
| 8177 | |
| 8178 | |
| 8179 | |
| 8180 | |
| 8181 | |
| 8182 | |
| 8183 | |
| 8184 | |
| 8185 | # If no C compiler was specified, use CC. |
| 8186 | LTCC=${LTCC-"$CC"} |
| 8187 | |
| 8188 | # If no C compiler flags were specified, use CFLAGS. |
| 8189 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 8190 | |
| 8191 | # Allow CC to be a program name with arguments. |
| 8192 | compiler=$CC |
| 8193 | |
| 8194 | |
| 8195 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
| 8196 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 8197 | $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
| 8198 | if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
| 8199 | $as_echo_n "(cached) " >&6 |
| 8200 | else |
| 8201 | |
| 8202 | # These are sane defaults that work on at least a few old systems. |
| 8203 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
| 8204 | |
| 8205 | # Character class describing NM global symbol codes. |
| 8206 | symcode='[BCDEGRST]' |
| 8207 | |
| 8208 | # Regexp to match symbols that can be accessed directly from C. |
| 8209 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
| 8210 | |
| 8211 | # Define system-specific variables. |
| 8212 | case $host_os in |
| 8213 | aix*) |
| 8214 | symcode='[BCDT]' |
| 8215 | ;; |
| 8216 | cygwin* | mingw* | pw32* | cegcc*) |
| 8217 | symcode='[ABCDGISTW]' |
| 8218 | ;; |
| 8219 | hpux*) |
| 8220 | if test "$host_cpu" = ia64; then |
| 8221 | symcode='[ABCDEGRST]' |
| 8222 | fi |
| 8223 | ;; |
| 8224 | irix* | nonstopux*) |
| 8225 | symcode='[BCDEGRST]' |
| 8226 | ;; |
| 8227 | osf*) |
| 8228 | symcode='[BCDEGQRST]' |
| 8229 | ;; |
| 8230 | solaris*) |
| 8231 | symcode='[BCDRT]' |
| 8232 | ;; |
| 8233 | sco3.2v5*) |
| 8234 | symcode='[DT]' |
| 8235 | ;; |
| 8236 | sysv4.2uw2*) |
| 8237 | symcode='[DT]' |
| 8238 | ;; |
| 8239 | sysv5* | sco5v6* | unixware* | OpenUNIX*) |
| 8240 | symcode='[ABDT]' |
| 8241 | ;; |
| 8242 | sysv4) |
| 8243 | symcode='[DFNSTU]' |
| 8244 | ;; |
| 8245 | esac |
| 8246 | |
| 8247 | # If we're using GNU nm, then use its standard symbol codes. |
| 8248 | case `$NM -V 2>&1` in |
| 8249 | *GNU* | *'with BFD'*) |
| 8250 | symcode='[ABCDGIRSTW]' ;; |
| 8251 | esac |
| 8252 | |
| 8253 | # Transform an extracted symbol line into a proper C declaration. |
| 8254 | # Some systems (esp. on ia64) link data and code symbols differently, |
| 8255 | # so use this general approach. |
| 8256 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
| 8257 | |
| 8258 | # Transform an extracted symbol line into symbol name and symbol address |
| 8259 | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
| 8260 | lt_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'" |
| 8261 | |
| 8262 | # Handle CRLF in mingw tool chain |
| 8263 | opt_cr= |
| 8264 | case $build_os in |
| 8265 | mingw*) |
| 8266 | opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
| 8267 | ;; |
| 8268 | esac |
| 8269 | |
| 8270 | # Try without a prefix underscore, then with it. |
| 8271 | for ac_symprfx in "" "_"; do |
| 8272 | |
| 8273 | # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
| 8274 | symxfrm="\\1 $ac_symprfx\\2 \\2" |
| 8275 | |
| 8276 | # Write the raw and C identifiers. |
| 8277 | if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 8278 | # Fake it for dumpbin and say T for any non-static function |
| 8279 | # and D for any global variable. |
| 8280 | # Also find C++ and __fastcall symbols from MSVC++, |
| 8281 | # which start with @ or ?. |
| 8282 | lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 8283 | " {last_section=section; section=\$ 3};"\ |
| 8284 | " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 8285 | " \$ 0!~/External *\|/{next};"\ |
| 8286 | " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 8287 | " {if(hide[section]) next};"\ |
| 8288 | " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
| 8289 | " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
| 8290 | " s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
| 8291 | " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
| 8292 | " ' prfx=^$ac_symprfx" |
| 8293 | else |
| 8294 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 8295 | fi |
| 8296 | |
| 8297 | # Check to see that the pipe works correctly. |
| 8298 | pipe_works=no |
| 8299 | |
| 8300 | rm -f conftest* |
| 8301 | cat > conftest.$ac_ext <<_LT_EOF |
| 8302 | #ifdef __cplusplus |
| 8303 | extern "C" { |
| 8304 | #endif |
| 8305 | char nm_test_var; |
| 8306 | void nm_test_func(void); |
| 8307 | void nm_test_func(void){} |
| 8308 | #ifdef __cplusplus |
| 8309 | } |
| 8310 | #endif |
| 8311 | int main(){nm_test_var='a';nm_test_func();return(0);} |
| 8312 | _LT_EOF |
| 8313 | |
| 8314 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 8315 | (eval $ac_compile) 2>&5 |
| 8316 | ac_status=$? |
| 8317 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8318 | test $ac_status = 0; }; then |
| 8319 | # Now try to grab the symbols. |
| 8320 | nlist=conftest.nm |
| 8321 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
| 8322 | (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
| 8323 | ac_status=$? |
| 8324 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8325 | test $ac_status = 0; } && test -s "$nlist"; then |
| 8326 | # Try sorting and uniquifying the output. |
| 8327 | if sort "$nlist" | uniq > "$nlist"T; then |
| 8328 | mv -f "$nlist"T "$nlist" |
| 8329 | else |
| 8330 | rm -f "$nlist"T |
| 8331 | fi |
| 8332 | |
| 8333 | # Make sure that we snagged all the symbols we need. |
| 8334 | if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
| 8335 | if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 8336 | cat <<_LT_EOF > conftest.$ac_ext |
| 8337 | #ifdef __cplusplus |
| 8338 | extern "C" { |
| 8339 | #endif |
| 8340 | |
| 8341 | _LT_EOF |
| 8342 | # Now generate the symbol file. |
| 8343 | eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
| 8344 | |
| 8345 | cat <<_LT_EOF >> conftest.$ac_ext |
| 8346 | |
| 8347 | /* The mapping between symbol names and symbols. */ |
| 8348 | const struct { |
| 8349 | const char *name; |
| 8350 | void *address; |
| 8351 | } |
| 8352 | lt__PROGRAM__LTX_preloaded_symbols[] = |
| 8353 | { |
| 8354 | { "@PROGRAM@", (void *) 0 }, |
| 8355 | _LT_EOF |
| 8356 | $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
| 8357 | cat <<\_LT_EOF >> conftest.$ac_ext |
| 8358 | {0, (void *) 0} |
| 8359 | }; |
| 8360 | |
| 8361 | /* This works around a problem in FreeBSD linker */ |
| 8362 | #ifdef FREEBSD_WORKAROUND |
| 8363 | static const void *lt_preloaded_setup() { |
| 8364 | return lt__PROGRAM__LTX_preloaded_symbols; |
| 8365 | } |
| 8366 | #endif |
| 8367 | |
| 8368 | #ifdef __cplusplus |
| 8369 | } |
| 8370 | #endif |
| 8371 | _LT_EOF |
| 8372 | # Now try linking the two files. |
| 8373 | mv conftest.$ac_objext conftstm.$ac_objext |
| 8374 | lt_save_LIBS="$LIBS" |
| 8375 | lt_save_CFLAGS="$CFLAGS" |
| 8376 | LIBS="conftstm.$ac_objext" |
| 8377 | CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 8378 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 8379 | (eval $ac_link) 2>&5 |
| 8380 | ac_status=$? |
| 8381 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8382 | test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
| 8383 | pipe_works=yes |
| 8384 | fi |
| 8385 | LIBS="$lt_save_LIBS" |
| 8386 | CFLAGS="$lt_save_CFLAGS" |
| 8387 | else |
| 8388 | echo "cannot find nm_test_func in $nlist" >&5 |
| 8389 | fi |
| 8390 | else |
| 8391 | echo "cannot find nm_test_var in $nlist" >&5 |
| 8392 | fi |
| 8393 | else |
| 8394 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
| 8395 | fi |
| 8396 | else |
| 8397 | echo "$progname: failed program was:" >&5 |
| 8398 | cat conftest.$ac_ext >&5 |
| 8399 | fi |
| 8400 | rm -rf conftest* conftst* |
| 8401 | |
| 8402 | # Do not use the global_symbol_pipe unless it works. |
| 8403 | if test "$pipe_works" = yes; then |
| 8404 | break |
| 8405 | else |
| 8406 | lt_cv_sys_global_symbol_pipe= |
| 8407 | fi |
| 8408 | done |
| 8409 | |
| 8410 | fi |
| 8411 | |
| 8412 | if test -z "$lt_cv_sys_global_symbol_pipe"; then |
| 8413 | lt_cv_sys_global_symbol_to_cdecl= |
| 8414 | fi |
| 8415 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
| 8416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 8417 | $as_echo "failed" >&6; } |
| 8418 | else |
| 8419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 8420 | $as_echo "ok" >&6; } |
| 8421 | fi |
| 8422 | |
| 8423 | |
| 8424 | |
| 8425 | |
| 8426 | |
| 8427 | |
| 8428 | |
| 8429 | |
| 8430 | |
| 8431 | |
| 8432 | |
| 8433 | |
| 8434 | |
| 8435 | |
| 8436 | |
| 8437 | |
| 8438 | |
| 8439 | |
| 8440 | |
| 8441 | |
| 8442 | |
| 8443 | |
| 8444 | # Check whether --enable-libtool-lock was given. |
| 8445 | if test "${enable_libtool_lock+set}" = set; then : |
| 8446 | enableval=$enable_libtool_lock; |
| 8447 | fi |
| 8448 | |
| 8449 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
| 8450 | |
| 8451 | # Some flags need to be propagated to the compiler or linker for good |
| 8452 | # libtool support. |
| 8453 | case $host in |
| 8454 | ia64-*-hpux*) |
| 8455 | # Find out which ABI we are using. |
| 8456 | echo 'int i;' > conftest.$ac_ext |
| 8457 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 8458 | (eval $ac_compile) 2>&5 |
| 8459 | ac_status=$? |
| 8460 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8461 | test $ac_status = 0; }; then |
| 8462 | case `/usr/bin/file conftest.$ac_objext` in |
| 8463 | *ELF-32*) |
| 8464 | HPUX_IA64_MODE="32" |
| 8465 | ;; |
| 8466 | *ELF-64*) |
| 8467 | HPUX_IA64_MODE="64" |
| 8468 | ;; |
| 8469 | esac |
| 8470 | fi |
| 8471 | rm -rf conftest* |
| 8472 | ;; |
| 8473 | *-*-irix6*) |
| 8474 | # Find out which ABI we are using. |
| 8475 | echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 8476 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 8477 | (eval $ac_compile) 2>&5 |
| 8478 | ac_status=$? |
| 8479 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8480 | test $ac_status = 0; }; then |
| 8481 | if test "$lt_cv_prog_gnu_ld" = yes; then |
| 8482 | case `/usr/bin/file conftest.$ac_objext` in |
| 8483 | *32-bit*) |
| 8484 | LD="${LD-ld} -melf32bsmip" |
| 8485 | ;; |
| 8486 | *N32*) |
| 8487 | LD="${LD-ld} -melf32bmipn32" |
| 8488 | ;; |
| 8489 | *64-bit*) |
| 8490 | LD="${LD-ld} -melf64bmip" |
| 8491 | ;; |
| 8492 | esac |
| 8493 | else |
| 8494 | case `/usr/bin/file conftest.$ac_objext` in |
| 8495 | *32-bit*) |
| 8496 | LD="${LD-ld} -32" |
| 8497 | ;; |
| 8498 | *N32*) |
| 8499 | LD="${LD-ld} -n32" |
| 8500 | ;; |
| 8501 | *64-bit*) |
| 8502 | LD="${LD-ld} -64" |
| 8503 | ;; |
| 8504 | esac |
| 8505 | fi |
| 8506 | fi |
| 8507 | rm -rf conftest* |
| 8508 | ;; |
| 8509 | |
| 8510 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
| 8511 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
| 8512 | # Find out which ABI we are using. |
| 8513 | echo 'int i;' > conftest.$ac_ext |
| 8514 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 8515 | (eval $ac_compile) 2>&5 |
| 8516 | ac_status=$? |
| 8517 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8518 | test $ac_status = 0; }; then |
| 8519 | case `/usr/bin/file conftest.o` in |
| 8520 | *32-bit*) |
| 8521 | case $host in |
| 8522 | x86_64-*kfreebsd*-gnu) |
| 8523 | LD="${LD-ld} -m elf_i386_fbsd" |
| 8524 | ;; |
| 8525 | x86_64-*linux*) |
| 8526 | case `/usr/bin/file conftest.o` in |
| 8527 | *x86-64*) |
| 8528 | LD="${LD-ld} -m elf32_x86_64" |
| 8529 | ;; |
| 8530 | *) |
| 8531 | LD="${LD-ld} -m elf_i386" |
| 8532 | ;; |
| 8533 | esac |
| 8534 | ;; |
| 8535 | powerpc64le-*linux*) |
| 8536 | LD="${LD-ld} -m elf32lppclinux" |
| 8537 | ;; |
| 8538 | powerpc64-*linux*) |
| 8539 | LD="${LD-ld} -m elf32ppclinux" |
| 8540 | ;; |
| 8541 | s390x-*linux*) |
| 8542 | LD="${LD-ld} -m elf_s390" |
| 8543 | ;; |
| 8544 | sparc64-*linux*) |
| 8545 | LD="${LD-ld} -m elf32_sparc" |
| 8546 | ;; |
| 8547 | esac |
| 8548 | ;; |
| 8549 | *64-bit*) |
| 8550 | case $host in |
| 8551 | x86_64-*kfreebsd*-gnu) |
| 8552 | LD="${LD-ld} -m elf_x86_64_fbsd" |
| 8553 | ;; |
| 8554 | x86_64-*linux*) |
| 8555 | LD="${LD-ld} -m elf_x86_64" |
| 8556 | ;; |
| 8557 | powerpcle-*linux*) |
| 8558 | LD="${LD-ld} -m elf64lppc" |
| 8559 | ;; |
| 8560 | powerpc-*linux*) |
| 8561 | LD="${LD-ld} -m elf64ppc" |
| 8562 | ;; |
| 8563 | s390*-*linux*|s390*-*tpf*) |
| 8564 | LD="${LD-ld} -m elf64_s390" |
| 8565 | ;; |
| 8566 | sparc*-*linux*) |
| 8567 | LD="${LD-ld} -m elf64_sparc" |
| 8568 | ;; |
| 8569 | esac |
| 8570 | ;; |
| 8571 | esac |
| 8572 | fi |
| 8573 | rm -rf conftest* |
| 8574 | ;; |
| 8575 | |
| 8576 | *-*-sco3.2v5*) |
| 8577 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 8578 | SAVE_CFLAGS="$CFLAGS" |
| 8579 | CFLAGS="$CFLAGS -belf" |
| 8580 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 8581 | $as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
| 8582 | if ${lt_cv_cc_needs_belf+:} false; then : |
| 8583 | $as_echo_n "(cached) " >&6 |
| 8584 | else |
| 8585 | ac_ext=c |
| 8586 | ac_cpp='$CPP $CPPFLAGS' |
| 8587 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8588 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 8589 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 8590 | |
| 8591 | if test x$gcc_no_link = xyes; then |
| 8592 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 8593 | fi |
| 8594 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8595 | /* end confdefs.h. */ |
| 8596 | |
| 8597 | int |
| 8598 | main () |
| 8599 | { |
| 8600 | |
| 8601 | ; |
| 8602 | return 0; |
| 8603 | } |
| 8604 | _ACEOF |
| 8605 | if ac_fn_c_try_link "$LINENO"; then : |
| 8606 | lt_cv_cc_needs_belf=yes |
| 8607 | else |
| 8608 | lt_cv_cc_needs_belf=no |
| 8609 | fi |
| 8610 | rm -f core conftest.err conftest.$ac_objext \ |
| 8611 | conftest$ac_exeext conftest.$ac_ext |
| 8612 | ac_ext=c |
| 8613 | ac_cpp='$CPP $CPPFLAGS' |
| 8614 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8615 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 8616 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 8617 | |
| 8618 | fi |
| 8619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 8620 | $as_echo "$lt_cv_cc_needs_belf" >&6; } |
| 8621 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
| 8622 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 8623 | CFLAGS="$SAVE_CFLAGS" |
| 8624 | fi |
| 8625 | ;; |
| 8626 | sparc*-*solaris*) |
| 8627 | # Find out which ABI we are using. |
| 8628 | echo 'int i;' > conftest.$ac_ext |
| 8629 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 8630 | (eval $ac_compile) 2>&5 |
| 8631 | ac_status=$? |
| 8632 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8633 | test $ac_status = 0; }; then |
| 8634 | case `/usr/bin/file conftest.o` in |
| 8635 | *64-bit*) |
| 8636 | case $lt_cv_prog_gnu_ld in |
| 8637 | yes*) LD="${LD-ld} -m elf64_sparc" ;; |
| 8638 | *) |
| 8639 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 8640 | LD="${LD-ld} -64" |
| 8641 | fi |
| 8642 | ;; |
| 8643 | esac |
| 8644 | ;; |
| 8645 | esac |
| 8646 | fi |
| 8647 | rm -rf conftest* |
| 8648 | ;; |
| 8649 | esac |
| 8650 | |
| 8651 | need_locks="$enable_libtool_lock" |
| 8652 | |
| 8653 | |
| 8654 | case $host_os in |
| 8655 | rhapsody* | darwin*) |
| 8656 | if test -n "$ac_tool_prefix"; then |
| 8657 | # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
| 8658 | set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 8659 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8660 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8661 | if ${ac_cv_prog_DSYMUTIL+:} false; then : |
| 8662 | $as_echo_n "(cached) " >&6 |
| 8663 | else |
| 8664 | if test -n "$DSYMUTIL"; then |
| 8665 | ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
| 8666 | else |
| 8667 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8668 | for as_dir in $PATH |
| 8669 | do |
| 8670 | IFS=$as_save_IFS |
| 8671 | test -z "$as_dir" && as_dir=. |
| 8672 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8673 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8674 | ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 8675 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8676 | break 2 |
| 8677 | fi |
| 8678 | done |
| 8679 | done |
| 8680 | IFS=$as_save_IFS |
| 8681 | |
| 8682 | fi |
| 8683 | fi |
| 8684 | DSYMUTIL=$ac_cv_prog_DSYMUTIL |
| 8685 | if test -n "$DSYMUTIL"; then |
| 8686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 8687 | $as_echo "$DSYMUTIL" >&6; } |
| 8688 | else |
| 8689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8690 | $as_echo "no" >&6; } |
| 8691 | fi |
| 8692 | |
| 8693 | |
| 8694 | fi |
| 8695 | if test -z "$ac_cv_prog_DSYMUTIL"; then |
| 8696 | ac_ct_DSYMUTIL=$DSYMUTIL |
| 8697 | # Extract the first word of "dsymutil", so it can be a program name with args. |
| 8698 | set dummy dsymutil; ac_word=$2 |
| 8699 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8700 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8701 | if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
| 8702 | $as_echo_n "(cached) " >&6 |
| 8703 | else |
| 8704 | if test -n "$ac_ct_DSYMUTIL"; then |
| 8705 | ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
| 8706 | else |
| 8707 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8708 | for as_dir in $PATH |
| 8709 | do |
| 8710 | IFS=$as_save_IFS |
| 8711 | test -z "$as_dir" && as_dir=. |
| 8712 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8713 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8714 | ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 8715 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8716 | break 2 |
| 8717 | fi |
| 8718 | done |
| 8719 | done |
| 8720 | IFS=$as_save_IFS |
| 8721 | |
| 8722 | fi |
| 8723 | fi |
| 8724 | ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
| 8725 | if test -n "$ac_ct_DSYMUTIL"; then |
| 8726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 8727 | $as_echo "$ac_ct_DSYMUTIL" >&6; } |
| 8728 | else |
| 8729 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8730 | $as_echo "no" >&6; } |
| 8731 | fi |
| 8732 | |
| 8733 | if test "x$ac_ct_DSYMUTIL" = x; then |
| 8734 | DSYMUTIL=":" |
| 8735 | else |
| 8736 | case $cross_compiling:$ac_tool_warned in |
| 8737 | yes:) |
| 8738 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8739 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8740 | ac_tool_warned=yes ;; |
| 8741 | esac |
| 8742 | DSYMUTIL=$ac_ct_DSYMUTIL |
| 8743 | fi |
| 8744 | else |
| 8745 | DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
| 8746 | fi |
| 8747 | |
| 8748 | if test -n "$ac_tool_prefix"; then |
| 8749 | # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
| 8750 | set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 8751 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8752 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8753 | if ${ac_cv_prog_NMEDIT+:} false; then : |
| 8754 | $as_echo_n "(cached) " >&6 |
| 8755 | else |
| 8756 | if test -n "$NMEDIT"; then |
| 8757 | ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
| 8758 | else |
| 8759 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8760 | for as_dir in $PATH |
| 8761 | do |
| 8762 | IFS=$as_save_IFS |
| 8763 | test -z "$as_dir" && as_dir=. |
| 8764 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8765 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8766 | ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 8767 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8768 | break 2 |
| 8769 | fi |
| 8770 | done |
| 8771 | done |
| 8772 | IFS=$as_save_IFS |
| 8773 | |
| 8774 | fi |
| 8775 | fi |
| 8776 | NMEDIT=$ac_cv_prog_NMEDIT |
| 8777 | if test -n "$NMEDIT"; then |
| 8778 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 8779 | $as_echo "$NMEDIT" >&6; } |
| 8780 | else |
| 8781 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8782 | $as_echo "no" >&6; } |
| 8783 | fi |
| 8784 | |
| 8785 | |
| 8786 | fi |
| 8787 | if test -z "$ac_cv_prog_NMEDIT"; then |
| 8788 | ac_ct_NMEDIT=$NMEDIT |
| 8789 | # Extract the first word of "nmedit", so it can be a program name with args. |
| 8790 | set dummy nmedit; ac_word=$2 |
| 8791 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8792 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8793 | if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
| 8794 | $as_echo_n "(cached) " >&6 |
| 8795 | else |
| 8796 | if test -n "$ac_ct_NMEDIT"; then |
| 8797 | ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
| 8798 | else |
| 8799 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8800 | for as_dir in $PATH |
| 8801 | do |
| 8802 | IFS=$as_save_IFS |
| 8803 | test -z "$as_dir" && as_dir=. |
| 8804 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8805 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8806 | ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 8807 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8808 | break 2 |
| 8809 | fi |
| 8810 | done |
| 8811 | done |
| 8812 | IFS=$as_save_IFS |
| 8813 | |
| 8814 | fi |
| 8815 | fi |
| 8816 | ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
| 8817 | if test -n "$ac_ct_NMEDIT"; then |
| 8818 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 8819 | $as_echo "$ac_ct_NMEDIT" >&6; } |
| 8820 | else |
| 8821 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8822 | $as_echo "no" >&6; } |
| 8823 | fi |
| 8824 | |
| 8825 | if test "x$ac_ct_NMEDIT" = x; then |
| 8826 | NMEDIT=":" |
| 8827 | else |
| 8828 | case $cross_compiling:$ac_tool_warned in |
| 8829 | yes:) |
| 8830 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8831 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8832 | ac_tool_warned=yes ;; |
| 8833 | esac |
| 8834 | NMEDIT=$ac_ct_NMEDIT |
| 8835 | fi |
| 8836 | else |
| 8837 | NMEDIT="$ac_cv_prog_NMEDIT" |
| 8838 | fi |
| 8839 | |
| 8840 | if test -n "$ac_tool_prefix"; then |
| 8841 | # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
| 8842 | set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 8843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8844 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8845 | if ${ac_cv_prog_LIPO+:} false; then : |
| 8846 | $as_echo_n "(cached) " >&6 |
| 8847 | else |
| 8848 | if test -n "$LIPO"; then |
| 8849 | ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
| 8850 | else |
| 8851 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8852 | for as_dir in $PATH |
| 8853 | do |
| 8854 | IFS=$as_save_IFS |
| 8855 | test -z "$as_dir" && as_dir=. |
| 8856 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8857 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8858 | ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 8859 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8860 | break 2 |
| 8861 | fi |
| 8862 | done |
| 8863 | done |
| 8864 | IFS=$as_save_IFS |
| 8865 | |
| 8866 | fi |
| 8867 | fi |
| 8868 | LIPO=$ac_cv_prog_LIPO |
| 8869 | if test -n "$LIPO"; then |
| 8870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 8871 | $as_echo "$LIPO" >&6; } |
| 8872 | else |
| 8873 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8874 | $as_echo "no" >&6; } |
| 8875 | fi |
| 8876 | |
| 8877 | |
| 8878 | fi |
| 8879 | if test -z "$ac_cv_prog_LIPO"; then |
| 8880 | ac_ct_LIPO=$LIPO |
| 8881 | # Extract the first word of "lipo", so it can be a program name with args. |
| 8882 | set dummy lipo; ac_word=$2 |
| 8883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8884 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8885 | if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
| 8886 | $as_echo_n "(cached) " >&6 |
| 8887 | else |
| 8888 | if test -n "$ac_ct_LIPO"; then |
| 8889 | ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
| 8890 | else |
| 8891 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8892 | for as_dir in $PATH |
| 8893 | do |
| 8894 | IFS=$as_save_IFS |
| 8895 | test -z "$as_dir" && as_dir=. |
| 8896 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8897 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8898 | ac_cv_prog_ac_ct_LIPO="lipo" |
| 8899 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8900 | break 2 |
| 8901 | fi |
| 8902 | done |
| 8903 | done |
| 8904 | IFS=$as_save_IFS |
| 8905 | |
| 8906 | fi |
| 8907 | fi |
| 8908 | ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
| 8909 | if test -n "$ac_ct_LIPO"; then |
| 8910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 8911 | $as_echo "$ac_ct_LIPO" >&6; } |
| 8912 | else |
| 8913 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8914 | $as_echo "no" >&6; } |
| 8915 | fi |
| 8916 | |
| 8917 | if test "x$ac_ct_LIPO" = x; then |
| 8918 | LIPO=":" |
| 8919 | else |
| 8920 | case $cross_compiling:$ac_tool_warned in |
| 8921 | yes:) |
| 8922 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8923 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8924 | ac_tool_warned=yes ;; |
| 8925 | esac |
| 8926 | LIPO=$ac_ct_LIPO |
| 8927 | fi |
| 8928 | else |
| 8929 | LIPO="$ac_cv_prog_LIPO" |
| 8930 | fi |
| 8931 | |
| 8932 | if test -n "$ac_tool_prefix"; then |
| 8933 | # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
| 8934 | set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 8935 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8936 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8937 | if ${ac_cv_prog_OTOOL+:} false; then : |
| 8938 | $as_echo_n "(cached) " >&6 |
| 8939 | else |
| 8940 | if test -n "$OTOOL"; then |
| 8941 | ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
| 8942 | else |
| 8943 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8944 | for as_dir in $PATH |
| 8945 | do |
| 8946 | IFS=$as_save_IFS |
| 8947 | test -z "$as_dir" && as_dir=. |
| 8948 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8949 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8950 | ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 8951 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8952 | break 2 |
| 8953 | fi |
| 8954 | done |
| 8955 | done |
| 8956 | IFS=$as_save_IFS |
| 8957 | |
| 8958 | fi |
| 8959 | fi |
| 8960 | OTOOL=$ac_cv_prog_OTOOL |
| 8961 | if test -n "$OTOOL"; then |
| 8962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 8963 | $as_echo "$OTOOL" >&6; } |
| 8964 | else |
| 8965 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8966 | $as_echo "no" >&6; } |
| 8967 | fi |
| 8968 | |
| 8969 | |
| 8970 | fi |
| 8971 | if test -z "$ac_cv_prog_OTOOL"; then |
| 8972 | ac_ct_OTOOL=$OTOOL |
| 8973 | # Extract the first word of "otool", so it can be a program name with args. |
| 8974 | set dummy otool; ac_word=$2 |
| 8975 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8976 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8977 | if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
| 8978 | $as_echo_n "(cached) " >&6 |
| 8979 | else |
| 8980 | if test -n "$ac_ct_OTOOL"; then |
| 8981 | ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
| 8982 | else |
| 8983 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8984 | for as_dir in $PATH |
| 8985 | do |
| 8986 | IFS=$as_save_IFS |
| 8987 | test -z "$as_dir" && as_dir=. |
| 8988 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8989 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8990 | ac_cv_prog_ac_ct_OTOOL="otool" |
| 8991 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8992 | break 2 |
| 8993 | fi |
| 8994 | done |
| 8995 | done |
| 8996 | IFS=$as_save_IFS |
| 8997 | |
| 8998 | fi |
| 8999 | fi |
| 9000 | ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
| 9001 | if test -n "$ac_ct_OTOOL"; then |
| 9002 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 9003 | $as_echo "$ac_ct_OTOOL" >&6; } |
| 9004 | else |
| 9005 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9006 | $as_echo "no" >&6; } |
| 9007 | fi |
| 9008 | |
| 9009 | if test "x$ac_ct_OTOOL" = x; then |
| 9010 | OTOOL=":" |
| 9011 | else |
| 9012 | case $cross_compiling:$ac_tool_warned in |
| 9013 | yes:) |
| 9014 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 9015 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 9016 | ac_tool_warned=yes ;; |
| 9017 | esac |
| 9018 | OTOOL=$ac_ct_OTOOL |
| 9019 | fi |
| 9020 | else |
| 9021 | OTOOL="$ac_cv_prog_OTOOL" |
| 9022 | fi |
| 9023 | |
| 9024 | if test -n "$ac_tool_prefix"; then |
| 9025 | # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
| 9026 | set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 9027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9028 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9029 | if ${ac_cv_prog_OTOOL64+:} false; then : |
| 9030 | $as_echo_n "(cached) " >&6 |
| 9031 | else |
| 9032 | if test -n "$OTOOL64"; then |
| 9033 | ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
| 9034 | else |
| 9035 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9036 | for as_dir in $PATH |
| 9037 | do |
| 9038 | IFS=$as_save_IFS |
| 9039 | test -z "$as_dir" && as_dir=. |
| 9040 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9041 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 9042 | ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 9043 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9044 | break 2 |
| 9045 | fi |
| 9046 | done |
| 9047 | done |
| 9048 | IFS=$as_save_IFS |
| 9049 | |
| 9050 | fi |
| 9051 | fi |
| 9052 | OTOOL64=$ac_cv_prog_OTOOL64 |
| 9053 | if test -n "$OTOOL64"; then |
| 9054 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 9055 | $as_echo "$OTOOL64" >&6; } |
| 9056 | else |
| 9057 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9058 | $as_echo "no" >&6; } |
| 9059 | fi |
| 9060 | |
| 9061 | |
| 9062 | fi |
| 9063 | if test -z "$ac_cv_prog_OTOOL64"; then |
| 9064 | ac_ct_OTOOL64=$OTOOL64 |
| 9065 | # Extract the first word of "otool64", so it can be a program name with args. |
| 9066 | set dummy otool64; ac_word=$2 |
| 9067 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9068 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9069 | if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
| 9070 | $as_echo_n "(cached) " >&6 |
| 9071 | else |
| 9072 | if test -n "$ac_ct_OTOOL64"; then |
| 9073 | ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
| 9074 | else |
| 9075 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9076 | for as_dir in $PATH |
| 9077 | do |
| 9078 | IFS=$as_save_IFS |
| 9079 | test -z "$as_dir" && as_dir=. |
| 9080 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9081 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 9082 | ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 9083 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9084 | break 2 |
| 9085 | fi |
| 9086 | done |
| 9087 | done |
| 9088 | IFS=$as_save_IFS |
| 9089 | |
| 9090 | fi |
| 9091 | fi |
| 9092 | ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
| 9093 | if test -n "$ac_ct_OTOOL64"; then |
| 9094 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 9095 | $as_echo "$ac_ct_OTOOL64" >&6; } |
| 9096 | else |
| 9097 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9098 | $as_echo "no" >&6; } |
| 9099 | fi |
| 9100 | |
| 9101 | if test "x$ac_ct_OTOOL64" = x; then |
| 9102 | OTOOL64=":" |
| 9103 | else |
| 9104 | case $cross_compiling:$ac_tool_warned in |
| 9105 | yes:) |
| 9106 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 9107 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 9108 | ac_tool_warned=yes ;; |
| 9109 | esac |
| 9110 | OTOOL64=$ac_ct_OTOOL64 |
| 9111 | fi |
| 9112 | else |
| 9113 | OTOOL64="$ac_cv_prog_OTOOL64" |
| 9114 | fi |
| 9115 | |
| 9116 | |
| 9117 | |
| 9118 | |
| 9119 | |
| 9120 | |
| 9121 | |
| 9122 | |
| 9123 | |
| 9124 | |
| 9125 | |
| 9126 | |
| 9127 | |
| 9128 | |
| 9129 | |
| 9130 | |
| 9131 | |
| 9132 | |
| 9133 | |
| 9134 | |
| 9135 | |
| 9136 | |
| 9137 | |
| 9138 | |
| 9139 | |
| 9140 | |
| 9141 | |
| 9142 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 9143 | $as_echo_n "checking for -single_module linker flag... " >&6; } |
| 9144 | if ${lt_cv_apple_cc_single_mod+:} false; then : |
| 9145 | $as_echo_n "(cached) " >&6 |
| 9146 | else |
| 9147 | lt_cv_apple_cc_single_mod=no |
| 9148 | if test -z "${LT_MULTI_MODULE}"; then |
| 9149 | # By default we will add the -single_module flag. You can override |
| 9150 | # by either setting the environment variable LT_MULTI_MODULE |
| 9151 | # non-empty at configure time, or by adding -multi_module to the |
| 9152 | # link flags. |
| 9153 | rm -rf libconftest.dylib* |
| 9154 | echo "int foo(void){return 1;}" > conftest.c |
| 9155 | echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 9156 | -dynamiclib -Wl,-single_module conftest.c" >&5 |
| 9157 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 9158 | -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 9159 | _lt_result=$? |
| 9160 | if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
| 9161 | lt_cv_apple_cc_single_mod=yes |
| 9162 | else |
| 9163 | cat conftest.err >&5 |
| 9164 | fi |
| 9165 | rm -rf libconftest.dylib* |
| 9166 | rm -f conftest.* |
| 9167 | fi |
| 9168 | fi |
| 9169 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 9170 | $as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| 9171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 9172 | $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
| 9173 | if ${lt_cv_ld_exported_symbols_list+:} false; then : |
| 9174 | $as_echo_n "(cached) " >&6 |
| 9175 | else |
| 9176 | lt_cv_ld_exported_symbols_list=no |
| 9177 | save_LDFLAGS=$LDFLAGS |
| 9178 | echo "_main" > conftest.sym |
| 9179 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
| 9180 | if test x$gcc_no_link = xyes; then |
| 9181 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 9182 | fi |
| 9183 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9184 | /* end confdefs.h. */ |
| 9185 | |
| 9186 | int |
| 9187 | main () |
| 9188 | { |
| 9189 | |
| 9190 | ; |
| 9191 | return 0; |
| 9192 | } |
| 9193 | _ACEOF |
| 9194 | if ac_fn_c_try_link "$LINENO"; then : |
| 9195 | lt_cv_ld_exported_symbols_list=yes |
| 9196 | else |
| 9197 | lt_cv_ld_exported_symbols_list=no |
| 9198 | fi |
| 9199 | rm -f core conftest.err conftest.$ac_objext \ |
| 9200 | conftest$ac_exeext conftest.$ac_ext |
| 9201 | LDFLAGS="$save_LDFLAGS" |
| 9202 | |
| 9203 | fi |
| 9204 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 9205 | $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 9206 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 9207 | $as_echo_n "checking for -force_load linker flag... " >&6; } |
| 9208 | if ${lt_cv_ld_force_load+:} false; then : |
| 9209 | $as_echo_n "(cached) " >&6 |
| 9210 | else |
| 9211 | lt_cv_ld_force_load=no |
| 9212 | cat > conftest.c << _LT_EOF |
| 9213 | int forced_loaded() { return 2;} |
| 9214 | _LT_EOF |
| 9215 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 9216 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 9217 | echo "$AR cru libconftest.a conftest.o" >&5 |
| 9218 | $AR cru libconftest.a conftest.o 2>&5 |
| 9219 | cat > conftest.c << _LT_EOF |
| 9220 | int main() { return 0;} |
| 9221 | _LT_EOF |
| 9222 | echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 9223 | $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 9224 | _lt_result=$? |
| 9225 | if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
| 9226 | lt_cv_ld_force_load=yes |
| 9227 | else |
| 9228 | cat conftest.err >&5 |
| 9229 | fi |
| 9230 | rm -f conftest.err libconftest.a conftest conftest.c |
| 9231 | rm -rf conftest.dSYM |
| 9232 | |
| 9233 | fi |
| 9234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 9235 | $as_echo "$lt_cv_ld_force_load" >&6; } |
| 9236 | # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to |
| 9237 | # build without first building modern cctools / linker. |
| 9238 | case $host_cpu-$host_os in |
| 9239 | *-rhapsody* | *-darwin1.[012]) |
| 9240 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
| 9241 | *-darwin1.*) |
| 9242 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
| 9243 | *-darwin*) |
| 9244 | # darwin 5.x (macOS 10.1) onwards we only need to adjust when the |
| 9245 | # deployment target is forced to an earlier version. |
| 9246 | case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in |
| 9247 | UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*) |
| 9248 | ;; |
| 9249 | 10.[012][,.]*) |
| 9250 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
| 9251 | ;; |
| 9252 | *) |
| 9253 | ;; |
| 9254 | esac |
| 9255 | ;; |
| 9256 | esac |
| 9257 | if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
| 9258 | _lt_dar_single_mod='$single_module' |
| 9259 | fi |
| 9260 | if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
| 9261 | _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
| 9262 | else |
| 9263 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
| 9264 | fi |
| 9265 | if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
| 9266 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
| 9267 | else |
| 9268 | _lt_dsymutil= |
| 9269 | fi |
| 9270 | ;; |
| 9271 | esac |
| 9272 | |
| 9273 | for ac_header in dlfcn.h |
| 9274 | do : |
| 9275 | ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 9276 | " |
| 9277 | if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
| 9278 | cat >>confdefs.h <<_ACEOF |
| 9279 | #define HAVE_DLFCN_H 1 |
| 9280 | _ACEOF |
| 9281 | |
| 9282 | fi |
| 9283 | |
| 9284 | done |
| 9285 | |
| 9286 | |
| 9287 | |
| 9288 | |
| 9289 | |
| 9290 | # Set options |
| 9291 | |
| 9292 | |
| 9293 | |
| 9294 | |
| 9295 | enable_win32_dll=no |
| 9296 | |
| 9297 | |
| 9298 | # Check whether --enable-shared was given. |
| 9299 | if test "${enable_shared+set}" = set; then : |
| 9300 | enableval=$enable_shared; p=${PACKAGE-default} |
| 9301 | case $enableval in |
| 9302 | yes) enable_shared=yes ;; |
| 9303 | no) enable_shared=no ;; |
| 9304 | *) |
| 9305 | enable_shared=no |
| 9306 | # Look at the argument we got. We use all the common list separators. |
| 9307 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 9308 | for pkg in $enableval; do |
| 9309 | IFS="$lt_save_ifs" |
| 9310 | if test "X$pkg" = "X$p"; then |
| 9311 | enable_shared=yes |
| 9312 | fi |
| 9313 | done |
| 9314 | IFS="$lt_save_ifs" |
| 9315 | ;; |
| 9316 | esac |
| 9317 | else |
| 9318 | enable_shared=yes |
| 9319 | fi |
| 9320 | |
| 9321 | |
| 9322 | |
| 9323 | |
| 9324 | |
| 9325 | |
| 9326 | |
| 9327 | |
| 9328 | |
| 9329 | # Check whether --enable-static was given. |
| 9330 | if test "${enable_static+set}" = set; then : |
| 9331 | enableval=$enable_static; p=${PACKAGE-default} |
| 9332 | case $enableval in |
| 9333 | yes) enable_static=yes ;; |
| 9334 | no) enable_static=no ;; |
| 9335 | *) |
| 9336 | enable_static=no |
| 9337 | # Look at the argument we got. We use all the common list separators. |
| 9338 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 9339 | for pkg in $enableval; do |
| 9340 | IFS="$lt_save_ifs" |
| 9341 | if test "X$pkg" = "X$p"; then |
| 9342 | enable_static=yes |
| 9343 | fi |
| 9344 | done |
| 9345 | IFS="$lt_save_ifs" |
| 9346 | ;; |
| 9347 | esac |
| 9348 | else |
| 9349 | enable_static=yes |
| 9350 | fi |
| 9351 | |
| 9352 | |
| 9353 | |
| 9354 | |
| 9355 | |
| 9356 | |
| 9357 | |
| 9358 | |
| 9359 | |
| 9360 | |
| 9361 | # Check whether --with-pic was given. |
| 9362 | if test "${with_pic+set}" = set; then : |
| 9363 | withval=$with_pic; pic_mode="$withval" |
| 9364 | else |
| 9365 | pic_mode=default |
| 9366 | fi |
| 9367 | |
| 9368 | |
| 9369 | test -z "$pic_mode" && pic_mode=default |
| 9370 | |
| 9371 | |
| 9372 | |
| 9373 | |
| 9374 | |
| 9375 | |
| 9376 | |
| 9377 | # Check whether --enable-fast-install was given. |
| 9378 | if test "${enable_fast_install+set}" = set; then : |
| 9379 | enableval=$enable_fast_install; p=${PACKAGE-default} |
| 9380 | case $enableval in |
| 9381 | yes) enable_fast_install=yes ;; |
| 9382 | no) enable_fast_install=no ;; |
| 9383 | *) |
| 9384 | enable_fast_install=no |
| 9385 | # Look at the argument we got. We use all the common list separators. |
| 9386 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 9387 | for pkg in $enableval; do |
| 9388 | IFS="$lt_save_ifs" |
| 9389 | if test "X$pkg" = "X$p"; then |
| 9390 | enable_fast_install=yes |
| 9391 | fi |
| 9392 | done |
| 9393 | IFS="$lt_save_ifs" |
| 9394 | ;; |
| 9395 | esac |
| 9396 | else |
| 9397 | enable_fast_install=yes |
| 9398 | fi |
| 9399 | |
| 9400 | |
| 9401 | |
| 9402 | |
| 9403 | |
| 9404 | |
| 9405 | |
| 9406 | |
| 9407 | |
| 9408 | |
| 9409 | |
| 9410 | # This can be used to rebuild libtool when needed |
| 9411 | LIBTOOL_DEPS="$ltmain" |
| 9412 | |
| 9413 | # Always use our own libtool. |
| 9414 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 9415 | |
| 9416 | |
| 9417 | |
| 9418 | |
| 9419 | |
| 9420 | |
| 9421 | |
| 9422 | |
| 9423 | |
| 9424 | |
| 9425 | |
| 9426 | |
| 9427 | |
| 9428 | |
| 9429 | |
| 9430 | |
| 9431 | |
| 9432 | |
| 9433 | |
| 9434 | |
| 9435 | |
| 9436 | |
| 9437 | |
| 9438 | |
| 9439 | |
| 9440 | |
| 9441 | test -z "$LN_S" && LN_S="ln -s" |
| 9442 | |
| 9443 | |
| 9444 | |
| 9445 | |
| 9446 | |
| 9447 | |
| 9448 | |
| 9449 | |
| 9450 | |
| 9451 | |
| 9452 | |
| 9453 | |
| 9454 | |
| 9455 | |
| 9456 | if test -n "${ZSH_VERSION+set}" ; then |
| 9457 | setopt NO_GLOB_SUBST |
| 9458 | fi |
| 9459 | |
| 9460 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 9461 | $as_echo_n "checking for objdir... " >&6; } |
| 9462 | if ${lt_cv_objdir+:} false; then : |
| 9463 | $as_echo_n "(cached) " >&6 |
| 9464 | else |
| 9465 | rm -f .libs 2>/dev/null |
| 9466 | mkdir .libs 2>/dev/null |
| 9467 | if test -d .libs; then |
| 9468 | lt_cv_objdir=.libs |
| 9469 | else |
| 9470 | # MS-DOS does not allow filenames that begin with a dot. |
| 9471 | lt_cv_objdir=_libs |
| 9472 | fi |
| 9473 | rmdir .libs 2>/dev/null |
| 9474 | fi |
| 9475 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 9476 | $as_echo "$lt_cv_objdir" >&6; } |
| 9477 | objdir=$lt_cv_objdir |
| 9478 | |
| 9479 | |
| 9480 | |
| 9481 | |
| 9482 | |
| 9483 | cat >>confdefs.h <<_ACEOF |
| 9484 | #define LT_OBJDIR "$lt_cv_objdir/" |
| 9485 | _ACEOF |
| 9486 | |
| 9487 | |
| 9488 | |
| 9489 | |
| 9490 | case $host_os in |
| 9491 | aix3*) |
| 9492 | # AIX sometimes has problems with the GCC collect2 program. For some |
| 9493 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 9494 | # vanish in a puff of smoke. |
| 9495 | if test "X${COLLECT_NAMES+set}" != Xset; then |
| 9496 | COLLECT_NAMES= |
| 9497 | export COLLECT_NAMES |
| 9498 | fi |
| 9499 | ;; |
| 9500 | esac |
| 9501 | |
| 9502 | # Global variables: |
| 9503 | ofile=libtool |
| 9504 | can_build_shared=yes |
| 9505 | |
| 9506 | # All known linkers require a `.a' archive for static linking (except MSVC, |
| 9507 | # which needs '.lib'). |
| 9508 | libext=a |
| 9509 | |
| 9510 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
| 9511 | |
| 9512 | old_CC="$CC" |
| 9513 | old_CFLAGS="$CFLAGS" |
| 9514 | |
| 9515 | # Set sane defaults for various variables |
| 9516 | test -z "$CC" && CC=cc |
| 9517 | test -z "$LTCC" && LTCC=$CC |
| 9518 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 9519 | test -z "$LD" && LD=ld |
| 9520 | test -z "$ac_objext" && ac_objext=o |
| 9521 | |
| 9522 | for cc_temp in $compiler""; do |
| 9523 | case $cc_temp in |
| 9524 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 9525 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 9526 | \-*) ;; |
| 9527 | *) break;; |
| 9528 | esac |
| 9529 | done |
| 9530 | cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 9531 | |
| 9532 | |
| 9533 | # Only perform the check for file, if the check method requires it |
| 9534 | test -z "$MAGIC_CMD" && MAGIC_CMD=file |
| 9535 | case $deplibs_check_method in |
| 9536 | file_magic*) |
| 9537 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 9538 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 9539 | $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
| 9540 | if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 9541 | $as_echo_n "(cached) " >&6 |
| 9542 | else |
| 9543 | case $MAGIC_CMD in |
| 9544 | [\\/*] | ?:[\\/]*) |
| 9545 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
| 9546 | ;; |
| 9547 | *) |
| 9548 | lt_save_MAGIC_CMD="$MAGIC_CMD" |
| 9549 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 9550 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 9551 | for ac_dir in $ac_dummy; do |
| 9552 | IFS="$lt_save_ifs" |
| 9553 | test -z "$ac_dir" && ac_dir=. |
| 9554 | if test -f $ac_dir/${ac_tool_prefix}file; then |
| 9555 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
| 9556 | if test -n "$file_magic_test_file"; then |
| 9557 | case $deplibs_check_method in |
| 9558 | "file_magic "*) |
| 9559 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 9560 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9561 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 9562 | $EGREP "$file_magic_regex" > /dev/null; then |
| 9563 | : |
| 9564 | else |
| 9565 | cat <<_LT_EOF 1>&2 |
| 9566 | |
| 9567 | *** Warning: the command libtool uses to detect shared libraries, |
| 9568 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 9569 | *** The result is that libtool may fail to recognize shared libraries |
| 9570 | *** as such. This will affect the creation of libtool libraries that |
| 9571 | *** depend on shared libraries, but programs linked with such libtool |
| 9572 | *** libraries will work regardless of this problem. Nevertheless, you |
| 9573 | *** may want to report the problem to your system manager and/or to |
| 9574 | *** [email protected] |
| 9575 | |
| 9576 | _LT_EOF |
| 9577 | fi ;; |
| 9578 | esac |
| 9579 | fi |
| 9580 | break |
| 9581 | fi |
| 9582 | done |
| 9583 | IFS="$lt_save_ifs" |
| 9584 | MAGIC_CMD="$lt_save_MAGIC_CMD" |
| 9585 | ;; |
| 9586 | esac |
| 9587 | fi |
| 9588 | |
| 9589 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9590 | if test -n "$MAGIC_CMD"; then |
| 9591 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 9592 | $as_echo "$MAGIC_CMD" >&6; } |
| 9593 | else |
| 9594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9595 | $as_echo "no" >&6; } |
| 9596 | fi |
| 9597 | |
| 9598 | |
| 9599 | |
| 9600 | |
| 9601 | |
| 9602 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 9603 | if test -n "$ac_tool_prefix"; then |
| 9604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 9605 | $as_echo_n "checking for file... " >&6; } |
| 9606 | if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 9607 | $as_echo_n "(cached) " >&6 |
| 9608 | else |
| 9609 | case $MAGIC_CMD in |
| 9610 | [\\/*] | ?:[\\/]*) |
| 9611 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
| 9612 | ;; |
| 9613 | *) |
| 9614 | lt_save_MAGIC_CMD="$MAGIC_CMD" |
| 9615 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 9616 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 9617 | for ac_dir in $ac_dummy; do |
| 9618 | IFS="$lt_save_ifs" |
| 9619 | test -z "$ac_dir" && ac_dir=. |
| 9620 | if test -f $ac_dir/file; then |
| 9621 | lt_cv_path_MAGIC_CMD="$ac_dir/file" |
| 9622 | if test -n "$file_magic_test_file"; then |
| 9623 | case $deplibs_check_method in |
| 9624 | "file_magic "*) |
| 9625 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 9626 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9627 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 9628 | $EGREP "$file_magic_regex" > /dev/null; then |
| 9629 | : |
| 9630 | else |
| 9631 | cat <<_LT_EOF 1>&2 |
| 9632 | |
| 9633 | *** Warning: the command libtool uses to detect shared libraries, |
| 9634 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 9635 | *** The result is that libtool may fail to recognize shared libraries |
| 9636 | *** as such. This will affect the creation of libtool libraries that |
| 9637 | *** depend on shared libraries, but programs linked with such libtool |
| 9638 | *** libraries will work regardless of this problem. Nevertheless, you |
| 9639 | *** may want to report the problem to your system manager and/or to |
| 9640 | *** [email protected] |
| 9641 | |
| 9642 | _LT_EOF |
| 9643 | fi ;; |
| 9644 | esac |
| 9645 | fi |
| 9646 | break |
| 9647 | fi |
| 9648 | done |
| 9649 | IFS="$lt_save_ifs" |
| 9650 | MAGIC_CMD="$lt_save_MAGIC_CMD" |
| 9651 | ;; |
| 9652 | esac |
| 9653 | fi |
| 9654 | |
| 9655 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9656 | if test -n "$MAGIC_CMD"; then |
| 9657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 9658 | $as_echo "$MAGIC_CMD" >&6; } |
| 9659 | else |
| 9660 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9661 | $as_echo "no" >&6; } |
| 9662 | fi |
| 9663 | |
| 9664 | |
| 9665 | else |
| 9666 | MAGIC_CMD=: |
| 9667 | fi |
| 9668 | fi |
| 9669 | |
| 9670 | fi |
| 9671 | ;; |
| 9672 | esac |
| 9673 | |
| 9674 | # Use C for the default configuration in the libtool script |
| 9675 | |
| 9676 | lt_save_CC="$CC" |
| 9677 | ac_ext=c |
| 9678 | ac_cpp='$CPP $CPPFLAGS' |
| 9679 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 9680 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 9681 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 9682 | |
| 9683 | |
| 9684 | # Source file extension for C test sources. |
| 9685 | ac_ext=c |
| 9686 | |
| 9687 | # Object file extension for compiled C test sources. |
| 9688 | objext=o |
| 9689 | objext=$objext |
| 9690 | |
| 9691 | # Code to be used in simple compile tests |
| 9692 | lt_simple_compile_test_code="int some_variable = 0;" |
| 9693 | |
| 9694 | # Code to be used in simple link tests |
| 9695 | lt_simple_link_test_code='int main(){return(0);}' |
| 9696 | |
| 9697 | |
| 9698 | |
| 9699 | |
| 9700 | |
| 9701 | |
| 9702 | |
| 9703 | # If no C compiler was specified, use CC. |
| 9704 | LTCC=${LTCC-"$CC"} |
| 9705 | |
| 9706 | # If no C compiler flags were specified, use CFLAGS. |
| 9707 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 9708 | |
| 9709 | # Allow CC to be a program name with arguments. |
| 9710 | compiler=$CC |
| 9711 | |
| 9712 | # Save the default compiler, since it gets overwritten when the other |
| 9713 | # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
| 9714 | compiler_DEFAULT=$CC |
| 9715 | |
| 9716 | # save warnings/boilerplate of simple test code |
| 9717 | ac_outfile=conftest.$ac_objext |
| 9718 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 9719 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 9720 | _lt_compiler_boilerplate=`cat conftest.err` |
| 9721 | $RM conftest* |
| 9722 | |
| 9723 | ac_outfile=conftest.$ac_objext |
| 9724 | echo "$lt_simple_link_test_code" >conftest.$ac_ext |
| 9725 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 9726 | _lt_linker_boilerplate=`cat conftest.err` |
| 9727 | $RM -r conftest* |
| 9728 | |
| 9729 | |
| 9730 | ## CAVEAT EMPTOR: |
| 9731 | ## There is no encapsulation within the following macros, do not change |
| 9732 | ## the running order or otherwise move them around unless you know exactly |
| 9733 | ## what you are doing... |
| 9734 | if test -n "$compiler"; then |
| 9735 | |
| 9736 | lt_prog_compiler_no_builtin_flag= |
| 9737 | |
| 9738 | if test "$GCC" = yes; then |
| 9739 | case $cc_basename in |
| 9740 | nvcc*) |
| 9741 | lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
| 9742 | *) |
| 9743 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
| 9744 | esac |
| 9745 | |
| 9746 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 9747 | $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 9748 | if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
| 9749 | $as_echo_n "(cached) " >&6 |
| 9750 | else |
| 9751 | lt_cv_prog_compiler_rtti_exceptions=no |
| 9752 | ac_outfile=conftest.$ac_objext |
| 9753 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 9754 | lt_compiler_flag="-fno-rtti -fno-exceptions" |
| 9755 | # Insert the option either (1) after the last *FLAGS variable, or |
| 9756 | # (2) before a word containing "conftest.", or (3) at the end. |
| 9757 | # Note that $ac_compile itself does not contain backslashes and begins |
| 9758 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 9759 | # The option is referenced via a variable to avoid confusing sed. |
| 9760 | lt_compile=`echo "$ac_compile" | $SED \ |
| 9761 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 9762 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 9763 | -e 's:$: $lt_compiler_flag:'` |
| 9764 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 9765 | (eval "$lt_compile" 2>conftest.err) |
| 9766 | ac_status=$? |
| 9767 | cat conftest.err >&5 |
| 9768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9769 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 9770 | # The compiler can only warn and ignore the option if not recognized |
| 9771 | # So say no if there are warnings other than the usual output. |
| 9772 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 9773 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 9774 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 9775 | lt_cv_prog_compiler_rtti_exceptions=yes |
| 9776 | fi |
| 9777 | fi |
| 9778 | $RM conftest* |
| 9779 | |
| 9780 | fi |
| 9781 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 9782 | $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 9783 | |
| 9784 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
| 9785 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
| 9786 | else |
| 9787 | : |
| 9788 | fi |
| 9789 | |
| 9790 | fi |
| 9791 | |
| 9792 | |
| 9793 | |
| 9794 | |
| 9795 | |
| 9796 | |
| 9797 | lt_prog_compiler_wl= |
| 9798 | lt_prog_compiler_pic= |
| 9799 | lt_prog_compiler_static= |
| 9800 | |
| 9801 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 9802 | $as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 9803 | |
| 9804 | if test "$GCC" = yes; then |
| 9805 | lt_prog_compiler_wl='-Wl,' |
| 9806 | lt_prog_compiler_static='-static' |
| 9807 | |
| 9808 | case $host_os in |
| 9809 | aix*) |
| 9810 | # All AIX code is PIC. |
| 9811 | if test "$host_cpu" = ia64; then |
| 9812 | # AIX 5 now supports IA64 processor |
| 9813 | lt_prog_compiler_static='-Bstatic' |
| 9814 | fi |
| 9815 | lt_prog_compiler_pic='-fPIC' |
| 9816 | ;; |
| 9817 | |
| 9818 | amigaos*) |
| 9819 | case $host_cpu in |
| 9820 | powerpc) |
| 9821 | # see comment about AmigaOS4 .so support |
| 9822 | lt_prog_compiler_pic='-fPIC' |
| 9823 | ;; |
| 9824 | m68k) |
| 9825 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 9826 | # adding the `-m68020' flag to GCC prevents building anything better, |
| 9827 | # like `-m68040'. |
| 9828 | lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 9829 | ;; |
| 9830 | esac |
| 9831 | ;; |
| 9832 | |
| 9833 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 9834 | # PIC is the default for these OSes. |
| 9835 | ;; |
| 9836 | |
| 9837 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 9838 | # This hack is so that the source file can tell whether it is being |
| 9839 | # built for inclusion in a dll (and should export symbols for example). |
| 9840 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 9841 | # (--disable-auto-import) libraries |
| 9842 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 9843 | ;; |
| 9844 | |
| 9845 | darwin* | rhapsody*) |
| 9846 | # PIC is the default on this platform |
| 9847 | # Common symbols not allowed in MH_DYLIB files |
| 9848 | lt_prog_compiler_pic='-fno-common' |
| 9849 | ;; |
| 9850 | |
| 9851 | haiku*) |
| 9852 | # PIC is the default for Haiku. |
| 9853 | # The "-static" flag exists, but is broken. |
| 9854 | lt_prog_compiler_static= |
| 9855 | ;; |
| 9856 | |
| 9857 | hpux*) |
| 9858 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 9859 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 9860 | # sets the default TLS model and affects inlining. |
| 9861 | case $host_cpu in |
| 9862 | hppa*64*) |
| 9863 | # +Z the default |
| 9864 | ;; |
| 9865 | *) |
| 9866 | lt_prog_compiler_pic='-fPIC' |
| 9867 | ;; |
| 9868 | esac |
| 9869 | ;; |
| 9870 | |
| 9871 | interix[3-9]*) |
| 9872 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 9873 | # Instead, we relocate shared libraries at runtime. |
| 9874 | ;; |
| 9875 | |
| 9876 | msdosdjgpp*) |
| 9877 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
| 9878 | # on systems that don't support them. |
| 9879 | lt_prog_compiler_can_build_shared=no |
| 9880 | enable_shared=no |
| 9881 | ;; |
| 9882 | |
| 9883 | *nto* | *qnx*) |
| 9884 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 9885 | # it will coredump. |
| 9886 | lt_prog_compiler_pic='-fPIC -shared' |
| 9887 | ;; |
| 9888 | |
| 9889 | sysv4*MP*) |
| 9890 | if test -d /usr/nec; then |
| 9891 | lt_prog_compiler_pic=-Kconform_pic |
| 9892 | fi |
| 9893 | ;; |
| 9894 | |
| 9895 | *) |
| 9896 | lt_prog_compiler_pic='-fPIC' |
| 9897 | ;; |
| 9898 | esac |
| 9899 | |
| 9900 | case $cc_basename in |
| 9901 | nvcc*) # Cuda Compiler Driver 2.2 |
| 9902 | lt_prog_compiler_wl='-Xlinker ' |
| 9903 | lt_prog_compiler_pic='-Xcompiler -fPIC' |
| 9904 | ;; |
| 9905 | esac |
| 9906 | else |
| 9907 | # PORTME Check for flag to pass linker flags through the system compiler. |
| 9908 | case $host_os in |
| 9909 | aix*) |
| 9910 | lt_prog_compiler_wl='-Wl,' |
| 9911 | if test "$host_cpu" = ia64; then |
| 9912 | # AIX 5 now supports IA64 processor |
| 9913 | lt_prog_compiler_static='-Bstatic' |
| 9914 | else |
| 9915 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 9916 | fi |
| 9917 | ;; |
| 9918 | |
| 9919 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 9920 | # This hack is so that the source file can tell whether it is being |
| 9921 | # built for inclusion in a dll (and should export symbols for example). |
| 9922 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 9923 | ;; |
| 9924 | |
| 9925 | hpux9* | hpux10* | hpux11*) |
| 9926 | lt_prog_compiler_wl='-Wl,' |
| 9927 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 9928 | # not for PA HP-UX. |
| 9929 | case $host_cpu in |
| 9930 | hppa*64*|ia64*) |
| 9931 | # +Z the default |
| 9932 | ;; |
| 9933 | *) |
| 9934 | lt_prog_compiler_pic='+Z' |
| 9935 | ;; |
| 9936 | esac |
| 9937 | # Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 9938 | lt_prog_compiler_static='${wl}-a ${wl}archive' |
| 9939 | ;; |
| 9940 | |
| 9941 | irix5* | irix6* | nonstopux*) |
| 9942 | lt_prog_compiler_wl='-Wl,' |
| 9943 | # PIC (with -KPIC) is the default. |
| 9944 | lt_prog_compiler_static='-non_shared' |
| 9945 | ;; |
| 9946 | |
| 9947 | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 9948 | case $cc_basename in |
| 9949 | # old Intel for x86_64 which still supported -KPIC. |
| 9950 | ecc*) |
| 9951 | lt_prog_compiler_wl='-Wl,' |
| 9952 | lt_prog_compiler_pic='-KPIC' |
| 9953 | lt_prog_compiler_static='-static' |
| 9954 | ;; |
| 9955 | # icc used to be incompatible with GCC. |
| 9956 | # ICC 10 doesn't accept -KPIC any more. |
| 9957 | icc* | ifort*) |
| 9958 | lt_prog_compiler_wl='-Wl,' |
| 9959 | lt_prog_compiler_pic='-fPIC' |
| 9960 | lt_prog_compiler_static='-static' |
| 9961 | ;; |
| 9962 | # Lahey Fortran 8.1. |
| 9963 | lf95*) |
| 9964 | lt_prog_compiler_wl='-Wl,' |
| 9965 | lt_prog_compiler_pic='--shared' |
| 9966 | lt_prog_compiler_static='--static' |
| 9967 | ;; |
| 9968 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 9969 | # Portland Group compilers (*not* the Pentium gcc compiler, |
| 9970 | # which looks to be a dead project) |
| 9971 | lt_prog_compiler_wl='-Wl,' |
| 9972 | lt_prog_compiler_pic='-fpic' |
| 9973 | lt_prog_compiler_static='-Bstatic' |
| 9974 | ;; |
| 9975 | ccc*) |
| 9976 | lt_prog_compiler_wl='-Wl,' |
| 9977 | # All Alpha code is PIC. |
| 9978 | lt_prog_compiler_static='-non_shared' |
| 9979 | ;; |
| 9980 | xl* | bgxl* | bgf* | mpixl*) |
| 9981 | # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 9982 | lt_prog_compiler_wl='-Wl,' |
| 9983 | lt_prog_compiler_pic='-qpic' |
| 9984 | lt_prog_compiler_static='-qstaticlink' |
| 9985 | ;; |
| 9986 | *) |
| 9987 | case `$CC -V 2>&1 | sed 5q` in |
| 9988 | *Sun\ F* | *Sun*Fortran*) |
| 9989 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 9990 | lt_prog_compiler_pic='-KPIC' |
| 9991 | lt_prog_compiler_static='-Bstatic' |
| 9992 | lt_prog_compiler_wl='' |
| 9993 | ;; |
| 9994 | *Sun\ C*) |
| 9995 | # Sun C 5.9 |
| 9996 | lt_prog_compiler_pic='-KPIC' |
| 9997 | lt_prog_compiler_static='-Bstatic' |
| 9998 | lt_prog_compiler_wl='-Wl,' |
| 9999 | ;; |
| 10000 | esac |
| 10001 | ;; |
| 10002 | esac |
| 10003 | ;; |
| 10004 | |
| 10005 | newsos6) |
| 10006 | lt_prog_compiler_pic='-KPIC' |
| 10007 | lt_prog_compiler_static='-Bstatic' |
| 10008 | ;; |
| 10009 | |
| 10010 | *nto* | *qnx*) |
| 10011 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 10012 | # it will coredump. |
| 10013 | lt_prog_compiler_pic='-fPIC -shared' |
| 10014 | ;; |
| 10015 | |
| 10016 | osf3* | osf4* | osf5*) |
| 10017 | lt_prog_compiler_wl='-Wl,' |
| 10018 | # All OSF/1 code is PIC. |
| 10019 | lt_prog_compiler_static='-non_shared' |
| 10020 | ;; |
| 10021 | |
| 10022 | rdos*) |
| 10023 | lt_prog_compiler_static='-non_shared' |
| 10024 | ;; |
| 10025 | |
| 10026 | solaris*) |
| 10027 | lt_prog_compiler_pic='-KPIC' |
| 10028 | lt_prog_compiler_static='-Bstatic' |
| 10029 | case $cc_basename in |
| 10030 | f77* | f90* | f95*) |
| 10031 | lt_prog_compiler_wl='-Qoption ld ';; |
| 10032 | *) |
| 10033 | lt_prog_compiler_wl='-Wl,';; |
| 10034 | esac |
| 10035 | ;; |
| 10036 | |
| 10037 | sunos4*) |
| 10038 | lt_prog_compiler_wl='-Qoption ld ' |
| 10039 | lt_prog_compiler_pic='-PIC' |
| 10040 | lt_prog_compiler_static='-Bstatic' |
| 10041 | ;; |
| 10042 | |
| 10043 | sysv4 | sysv4.2uw2* | sysv4.3*) |
| 10044 | lt_prog_compiler_wl='-Wl,' |
| 10045 | lt_prog_compiler_pic='-KPIC' |
| 10046 | lt_prog_compiler_static='-Bstatic' |
| 10047 | ;; |
| 10048 | |
| 10049 | sysv4*MP*) |
| 10050 | if test -d /usr/nec ;then |
| 10051 | lt_prog_compiler_pic='-Kconform_pic' |
| 10052 | lt_prog_compiler_static='-Bstatic' |
| 10053 | fi |
| 10054 | ;; |
| 10055 | |
| 10056 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 10057 | lt_prog_compiler_wl='-Wl,' |
| 10058 | lt_prog_compiler_pic='-KPIC' |
| 10059 | lt_prog_compiler_static='-Bstatic' |
| 10060 | ;; |
| 10061 | |
| 10062 | unicos*) |
| 10063 | lt_prog_compiler_wl='-Wl,' |
| 10064 | lt_prog_compiler_can_build_shared=no |
| 10065 | ;; |
| 10066 | |
| 10067 | uts4*) |
| 10068 | lt_prog_compiler_pic='-pic' |
| 10069 | lt_prog_compiler_static='-Bstatic' |
| 10070 | ;; |
| 10071 | |
| 10072 | *) |
| 10073 | lt_prog_compiler_can_build_shared=no |
| 10074 | ;; |
| 10075 | esac |
| 10076 | fi |
| 10077 | |
| 10078 | case $host_os in |
| 10079 | # For platforms which do not support PIC, -DPIC is meaningless: |
| 10080 | *djgpp*) |
| 10081 | lt_prog_compiler_pic= |
| 10082 | ;; |
| 10083 | *) |
| 10084 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 10085 | ;; |
| 10086 | esac |
| 10087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
| 10088 | $as_echo "$lt_prog_compiler_pic" >&6; } |
| 10089 | |
| 10090 | |
| 10091 | |
| 10092 | |
| 10093 | |
| 10094 | |
| 10095 | # |
| 10096 | # Check to make sure the PIC flag actually works. |
| 10097 | # |
| 10098 | if test -n "$lt_prog_compiler_pic"; then |
| 10099 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 10100 | $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 10101 | if ${lt_cv_prog_compiler_pic_works+:} false; then : |
| 10102 | $as_echo_n "(cached) " >&6 |
| 10103 | else |
| 10104 | lt_cv_prog_compiler_pic_works=no |
| 10105 | ac_outfile=conftest.$ac_objext |
| 10106 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 10107 | lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
| 10108 | # Insert the option either (1) after the last *FLAGS variable, or |
| 10109 | # (2) before a word containing "conftest.", or (3) at the end. |
| 10110 | # Note that $ac_compile itself does not contain backslashes and begins |
| 10111 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 10112 | # The option is referenced via a variable to avoid confusing sed. |
| 10113 | lt_compile=`echo "$ac_compile" | $SED \ |
| 10114 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 10115 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 10116 | -e 's:$: $lt_compiler_flag:'` |
| 10117 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 10118 | (eval "$lt_compile" 2>conftest.err) |
| 10119 | ac_status=$? |
| 10120 | cat conftest.err >&5 |
| 10121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10122 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 10123 | # The compiler can only warn and ignore the option if not recognized |
| 10124 | # So say no if there are warnings other than the usual output. |
| 10125 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 10126 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 10127 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 10128 | lt_cv_prog_compiler_pic_works=yes |
| 10129 | fi |
| 10130 | fi |
| 10131 | $RM conftest* |
| 10132 | |
| 10133 | fi |
| 10134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 10135 | $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
| 10136 | |
| 10137 | if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
| 10138 | case $lt_prog_compiler_pic in |
| 10139 | "" | " "*) ;; |
| 10140 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 10141 | esac |
| 10142 | else |
| 10143 | lt_prog_compiler_pic= |
| 10144 | lt_prog_compiler_can_build_shared=no |
| 10145 | fi |
| 10146 | |
| 10147 | fi |
| 10148 | |
| 10149 | |
| 10150 | |
| 10151 | |
| 10152 | |
| 10153 | |
| 10154 | # |
| 10155 | # Check to make sure the static flag actually works. |
| 10156 | # |
| 10157 | wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 10158 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 10159 | $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 10160 | if ${lt_cv_prog_compiler_static_works+:} false; then : |
| 10161 | $as_echo_n "(cached) " >&6 |
| 10162 | else |
| 10163 | lt_cv_prog_compiler_static_works=no |
| 10164 | save_LDFLAGS="$LDFLAGS" |
| 10165 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 10166 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 10167 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 10168 | # The linker can only warn and ignore the option if not recognized |
| 10169 | # So say no if there are warnings |
| 10170 | if test -s conftest.err; then |
| 10171 | # Append any errors to the config.log. |
| 10172 | cat conftest.err 1>&5 |
| 10173 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 10174 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 10175 | if diff conftest.exp conftest.er2 >/dev/null; then |
| 10176 | lt_cv_prog_compiler_static_works=yes |
| 10177 | fi |
| 10178 | else |
| 10179 | lt_cv_prog_compiler_static_works=yes |
| 10180 | fi |
| 10181 | fi |
| 10182 | $RM -r conftest* |
| 10183 | LDFLAGS="$save_LDFLAGS" |
| 10184 | |
| 10185 | fi |
| 10186 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 10187 | $as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
| 10188 | |
| 10189 | if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
| 10190 | : |
| 10191 | else |
| 10192 | lt_prog_compiler_static= |
| 10193 | fi |
| 10194 | |
| 10195 | |
| 10196 | |
| 10197 | |
| 10198 | |
| 10199 | |
| 10200 | |
| 10201 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 10202 | $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 10203 | if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 10204 | $as_echo_n "(cached) " >&6 |
| 10205 | else |
| 10206 | lt_cv_prog_compiler_c_o=no |
| 10207 | $RM -r conftest 2>/dev/null |
| 10208 | mkdir conftest |
| 10209 | cd conftest |
| 10210 | mkdir out |
| 10211 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 10212 | |
| 10213 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 10214 | # Insert the option either (1) after the last *FLAGS variable, or |
| 10215 | # (2) before a word containing "conftest.", or (3) at the end. |
| 10216 | # Note that $ac_compile itself does not contain backslashes and begins |
| 10217 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 10218 | lt_compile=`echo "$ac_compile" | $SED \ |
| 10219 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 10220 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 10221 | -e 's:$: $lt_compiler_flag:'` |
| 10222 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 10223 | (eval "$lt_compile" 2>out/conftest.err) |
| 10224 | ac_status=$? |
| 10225 | cat out/conftest.err >&5 |
| 10226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10227 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 10228 | then |
| 10229 | # The compiler can only warn and ignore the option if not recognized |
| 10230 | # So say no if there are warnings |
| 10231 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 10232 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 10233 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 10234 | lt_cv_prog_compiler_c_o=yes |
| 10235 | fi |
| 10236 | fi |
| 10237 | chmod u+w . 2>&5 |
| 10238 | $RM conftest* |
| 10239 | # SGI C++ compiler will create directory out/ii_files/ for |
| 10240 | # template instantiation |
| 10241 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 10242 | $RM out/* && rmdir out |
| 10243 | cd .. |
| 10244 | $RM -r conftest |
| 10245 | $RM conftest* |
| 10246 | |
| 10247 | fi |
| 10248 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 10249 | $as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 10250 | |
| 10251 | |
| 10252 | |
| 10253 | |
| 10254 | |
| 10255 | |
| 10256 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 10257 | $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 10258 | if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 10259 | $as_echo_n "(cached) " >&6 |
| 10260 | else |
| 10261 | lt_cv_prog_compiler_c_o=no |
| 10262 | $RM -r conftest 2>/dev/null |
| 10263 | mkdir conftest |
| 10264 | cd conftest |
| 10265 | mkdir out |
| 10266 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 10267 | |
| 10268 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 10269 | # Insert the option either (1) after the last *FLAGS variable, or |
| 10270 | # (2) before a word containing "conftest.", or (3) at the end. |
| 10271 | # Note that $ac_compile itself does not contain backslashes and begins |
| 10272 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 10273 | lt_compile=`echo "$ac_compile" | $SED \ |
| 10274 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 10275 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 10276 | -e 's:$: $lt_compiler_flag:'` |
| 10277 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 10278 | (eval "$lt_compile" 2>out/conftest.err) |
| 10279 | ac_status=$? |
| 10280 | cat out/conftest.err >&5 |
| 10281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10282 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 10283 | then |
| 10284 | # The compiler can only warn and ignore the option if not recognized |
| 10285 | # So say no if there are warnings |
| 10286 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 10287 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 10288 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 10289 | lt_cv_prog_compiler_c_o=yes |
| 10290 | fi |
| 10291 | fi |
| 10292 | chmod u+w . 2>&5 |
| 10293 | $RM conftest* |
| 10294 | # SGI C++ compiler will create directory out/ii_files/ for |
| 10295 | # template instantiation |
| 10296 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 10297 | $RM out/* && rmdir out |
| 10298 | cd .. |
| 10299 | $RM -r conftest |
| 10300 | $RM conftest* |
| 10301 | |
| 10302 | fi |
| 10303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 10304 | $as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 10305 | |
| 10306 | |
| 10307 | |
| 10308 | |
| 10309 | hard_links="nottested" |
| 10310 | if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
| 10311 | # do not overwrite the value of need_locks provided by the user |
| 10312 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 10313 | $as_echo_n "checking if we can lock with hard links... " >&6; } |
| 10314 | hard_links=yes |
| 10315 | $RM conftest* |
| 10316 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 10317 | touch conftest.a |
| 10318 | ln conftest.a conftest.b 2>&5 || hard_links=no |
| 10319 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 10320 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 10321 | $as_echo "$hard_links" >&6; } |
| 10322 | if test "$hard_links" = no; then |
| 10323 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
| 10324 | $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
| 10325 | need_locks=warn |
| 10326 | fi |
| 10327 | else |
| 10328 | need_locks=no |
| 10329 | fi |
| 10330 | |
| 10331 | |
| 10332 | |
| 10333 | |
| 10334 | |
| 10335 | |
| 10336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 10337 | $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 10338 | |
| 10339 | runpath_var= |
| 10340 | allow_undefined_flag= |
| 10341 | always_export_symbols=no |
| 10342 | archive_cmds= |
| 10343 | archive_expsym_cmds= |
| 10344 | compiler_needs_object=no |
| 10345 | enable_shared_with_static_runtimes=no |
| 10346 | export_dynamic_flag_spec= |
| 10347 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 10348 | hardcode_automatic=no |
| 10349 | hardcode_direct=no |
| 10350 | hardcode_direct_absolute=no |
| 10351 | hardcode_libdir_flag_spec= |
| 10352 | hardcode_libdir_flag_spec_ld= |
| 10353 | hardcode_libdir_separator= |
| 10354 | hardcode_minus_L=no |
| 10355 | hardcode_shlibpath_var=unsupported |
| 10356 | inherit_rpath=no |
| 10357 | link_all_deplibs=unknown |
| 10358 | module_cmds= |
| 10359 | module_expsym_cmds= |
| 10360 | old_archive_from_new_cmds= |
| 10361 | old_archive_from_expsyms_cmds= |
| 10362 | thread_safe_flag_spec= |
| 10363 | whole_archive_flag_spec= |
| 10364 | # include_expsyms should be a list of space-separated symbols to be *always* |
| 10365 | # included in the symbol list |
| 10366 | include_expsyms= |
| 10367 | # exclude_expsyms can be an extended regexp of symbols to exclude |
| 10368 | # it will be wrapped by ` (' and `)$', so one must not match beginning or |
| 10369 | # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
| 10370 | # as well as any symbol that contains `d'. |
| 10371 | exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 10372 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 10373 | # platforms (ab)use it in PIC code, but their linkers get confused if |
| 10374 | # the symbol is explicitly referenced. Since portable code cannot |
| 10375 | # rely on this symbol name, it's probably fine to never include it in |
| 10376 | # preloaded symbol tables. |
| 10377 | # Exclude shared library initialization/finalization symbols. |
| 10378 | extract_expsyms_cmds= |
| 10379 | |
| 10380 | case $host_os in |
| 10381 | cygwin* | mingw* | pw32* | cegcc*) |
| 10382 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
| 10383 | # When not using gcc, we currently assume that we are using |
| 10384 | # Microsoft Visual C++. |
| 10385 | if test "$GCC" != yes; then |
| 10386 | with_gnu_ld=no |
| 10387 | fi |
| 10388 | ;; |
| 10389 | interix*) |
| 10390 | # we just hope/assume this is gcc and not c89 (= MSVC++) |
| 10391 | with_gnu_ld=yes |
| 10392 | ;; |
| 10393 | openbsd*) |
| 10394 | with_gnu_ld=no |
| 10395 | ;; |
| 10396 | esac |
| 10397 | |
| 10398 | ld_shlibs=yes |
| 10399 | |
| 10400 | # On some targets, GNU ld is compatible enough with the native linker |
| 10401 | # that we're better off using the native interface for both. |
| 10402 | lt_use_gnu_ld_interface=no |
| 10403 | if test "$with_gnu_ld" = yes; then |
| 10404 | case $host_os in |
| 10405 | aix*) |
| 10406 | # The AIX port of GNU ld has always aspired to compatibility |
| 10407 | # with the native linker. However, as the warning in the GNU ld |
| 10408 | # block says, versions before 2.19.5* couldn't really create working |
| 10409 | # shared libraries, regardless of the interface used. |
| 10410 | case `$LD -v 2>&1` in |
| 10411 | *\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 10412 | *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
| 10413 | *\ \(GNU\ Binutils\)\ [3-9]*) ;; |
| 10414 | *) |
| 10415 | lt_use_gnu_ld_interface=yes |
| 10416 | ;; |
| 10417 | esac |
| 10418 | ;; |
| 10419 | *) |
| 10420 | lt_use_gnu_ld_interface=yes |
| 10421 | ;; |
| 10422 | esac |
| 10423 | fi |
| 10424 | |
| 10425 | if test "$lt_use_gnu_ld_interface" = yes; then |
| 10426 | # If archive_cmds runs LD, not CC, wlarc should be empty |
| 10427 | wlarc='${wl}' |
| 10428 | |
| 10429 | # Set some defaults for GNU ld with shared library support. These |
| 10430 | # are reset later if shared libraries are not supported. Putting them |
| 10431 | # here allows them to be overridden if necessary. |
| 10432 | runpath_var=LD_RUN_PATH |
| 10433 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10434 | export_dynamic_flag_spec='${wl}--export-dynamic' |
| 10435 | # ancient GNU ld didn't support --whole-archive et. al. |
| 10436 | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
| 10437 | whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
| 10438 | else |
| 10439 | whole_archive_flag_spec= |
| 10440 | fi |
| 10441 | supports_anon_versioning=no |
| 10442 | case `$LD -v 2>&1` in |
| 10443 | *GNU\ gold*) supports_anon_versioning=yes ;; |
| 10444 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 10445 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 10446 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 10447 | *\ 2.11.*) ;; # other 2.11 versions |
| 10448 | *) supports_anon_versioning=yes ;; |
| 10449 | esac |
| 10450 | |
| 10451 | # See if GNU ld supports shared libraries. |
| 10452 | case $host_os in |
| 10453 | aix[3-9]*) |
| 10454 | # On AIX/PPC, the GNU linker is very broken |
| 10455 | if test "$host_cpu" != ia64; then |
| 10456 | ld_shlibs=no |
| 10457 | cat <<_LT_EOF 1>&2 |
| 10458 | |
| 10459 | *** Warning: the GNU linker, at least up to release 2.19, is reported |
| 10460 | *** to be unable to reliably create shared libraries on AIX. |
| 10461 | *** Therefore, libtool is disabling shared libraries support. If you |
| 10462 | *** really care for shared libraries, you may want to install binutils |
| 10463 | *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 10464 | *** You will then need to restart the configuration process. |
| 10465 | |
| 10466 | _LT_EOF |
| 10467 | fi |
| 10468 | ;; |
| 10469 | |
| 10470 | amigaos*) |
| 10471 | case $host_cpu in |
| 10472 | powerpc) |
| 10473 | # see comment about AmigaOS4 .so support |
| 10474 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10475 | archive_expsym_cmds='' |
| 10476 | ;; |
| 10477 | m68k) |
| 10478 | 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)' |
| 10479 | hardcode_libdir_flag_spec='-L$libdir' |
| 10480 | hardcode_minus_L=yes |
| 10481 | ;; |
| 10482 | esac |
| 10483 | ;; |
| 10484 | |
| 10485 | beos*) |
| 10486 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 10487 | allow_undefined_flag=unsupported |
| 10488 | # Joseph Beckenbach <[email protected]> says some releases of gcc |
| 10489 | # support --undefined. This deserves some investigation. FIXME |
| 10490 | archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10491 | else |
| 10492 | ld_shlibs=no |
| 10493 | fi |
| 10494 | ;; |
| 10495 | |
| 10496 | cygwin* | mingw* | pw32* | cegcc*) |
| 10497 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 10498 | # as there is no search path for DLLs. |
| 10499 | hardcode_libdir_flag_spec='-L$libdir' |
| 10500 | export_dynamic_flag_spec='${wl}--export-all-symbols' |
| 10501 | allow_undefined_flag=unsupported |
| 10502 | always_export_symbols=no |
| 10503 | enable_shared_with_static_runtimes=yes |
| 10504 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 10505 | |
| 10506 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 10507 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 10508 | # If the export-symbols file already is a .def file (1st line |
| 10509 | # is EXPORTS), use it as is; otherwise, prepend... |
| 10510 | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 10511 | cp $export_symbols $output_objdir/$soname.def; |
| 10512 | else |
| 10513 | echo EXPORTS > $output_objdir/$soname.def; |
| 10514 | cat $export_symbols >> $output_objdir/$soname.def; |
| 10515 | fi~ |
| 10516 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 10517 | else |
| 10518 | ld_shlibs=no |
| 10519 | fi |
| 10520 | ;; |
| 10521 | |
| 10522 | haiku*) |
| 10523 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10524 | link_all_deplibs=yes |
| 10525 | ;; |
| 10526 | |
| 10527 | interix[3-9]*) |
| 10528 | hardcode_direct=no |
| 10529 | hardcode_shlibpath_var=no |
| 10530 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 10531 | export_dynamic_flag_spec='${wl}-E' |
| 10532 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 10533 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 10534 | # default) and relocated if they conflict, which is a slow very memory |
| 10535 | # consuming and fragmenting process. To avoid this, we pick a random, |
| 10536 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 10537 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 10538 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 10539 | 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' |
| 10540 | ;; |
| 10541 | |
| 10542 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) |
| 10543 | tmp_diet=no |
| 10544 | if test "$host_os" = linux-dietlibc; then |
| 10545 | case $cc_basename in |
| 10546 | diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
| 10547 | esac |
| 10548 | fi |
| 10549 | if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 10550 | && test "$tmp_diet" = no |
| 10551 | then |
| 10552 | tmp_addflag=' $pic_flag' |
| 10553 | tmp_sharedflag='-shared' |
| 10554 | case $cc_basename,$host_cpu in |
| 10555 | pgcc*) # Portland Group C compiler |
| 10556 | 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' |
| 10557 | tmp_addflag=' $pic_flag' |
| 10558 | ;; |
| 10559 | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 10560 | # Portland Group f77 and f90 compilers |
| 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 | tmp_addflag=' $pic_flag -Mnomain' ;; |
| 10563 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 10564 | tmp_addflag=' -i_dynamic' ;; |
| 10565 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 10566 | tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 10567 | ifc* | ifort*) # Intel Fortran compiler |
| 10568 | tmp_addflag=' -nofor_main' ;; |
| 10569 | lf95*) # Lahey Fortran 8.1 |
| 10570 | whole_archive_flag_spec= |
| 10571 | tmp_sharedflag='--shared' ;; |
| 10572 | xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 10573 | tmp_sharedflag='-qmkshrobj' |
| 10574 | tmp_addflag= ;; |
| 10575 | nvcc*) # Cuda Compiler Driver 2.2 |
| 10576 | 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' |
| 10577 | compiler_needs_object=yes |
| 10578 | ;; |
| 10579 | esac |
| 10580 | case `$CC -V 2>&1 | sed 5q` in |
| 10581 | *Sun\ C*) # Sun C 5.9 |
| 10582 | 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' |
| 10583 | compiler_needs_object=yes |
| 10584 | tmp_sharedflag='-G' ;; |
| 10585 | *Sun\ F*) # Sun Fortran 8.3 |
| 10586 | tmp_sharedflag='-G' ;; |
| 10587 | esac |
| 10588 | archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10589 | |
| 10590 | if test "x$supports_anon_versioning" = xyes; then |
| 10591 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 10592 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 10593 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 10594 | $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
| 10595 | fi |
| 10596 | |
| 10597 | case $cc_basename in |
| 10598 | xlf* | bgf* | bgxlf* | mpixlf*) |
| 10599 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 10600 | whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 10601 | hardcode_libdir_flag_spec= |
| 10602 | hardcode_libdir_flag_spec_ld='-rpath $libdir' |
| 10603 | archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
| 10604 | if test "x$supports_anon_versioning" = xyes; then |
| 10605 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 10606 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 10607 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 10608 | $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 10609 | fi |
| 10610 | ;; |
| 10611 | esac |
| 10612 | else |
| 10613 | ld_shlibs=no |
| 10614 | fi |
| 10615 | ;; |
| 10616 | |
| 10617 | netbsd*) |
| 10618 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 10619 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 10620 | wlarc= |
| 10621 | else |
| 10622 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10623 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 10624 | fi |
| 10625 | ;; |
| 10626 | |
| 10627 | solaris*) |
| 10628 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
| 10629 | ld_shlibs=no |
| 10630 | cat <<_LT_EOF 1>&2 |
| 10631 | |
| 10632 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
| 10633 | *** create shared libraries on Solaris systems. Therefore, libtool |
| 10634 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 10635 | *** binutils to release 2.9.1 or newer. Another option is to modify |
| 10636 | *** your PATH or compiler configuration so that the native linker is |
| 10637 | *** used, and then restart. |
| 10638 | |
| 10639 | _LT_EOF |
| 10640 | elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 10641 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10642 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 10643 | else |
| 10644 | ld_shlibs=no |
| 10645 | fi |
| 10646 | ;; |
| 10647 | |
| 10648 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 10649 | case `$LD -v 2>&1` in |
| 10650 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 10651 | ld_shlibs=no |
| 10652 | cat <<_LT_EOF 1>&2 |
| 10653 | |
| 10654 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
| 10655 | *** reliably create shared libraries on SCO systems. Therefore, libtool |
| 10656 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 10657 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 10658 | *** your PATH or compiler configuration so that the native linker is |
| 10659 | *** used, and then restart. |
| 10660 | |
| 10661 | _LT_EOF |
| 10662 | ;; |
| 10663 | *) |
| 10664 | # For security reasons, it is highly recommended that you always |
| 10665 | # use absolute paths for naming shared libraries, and exclude the |
| 10666 | # DT_RUNPATH tag from executables and libraries. But doing so |
| 10667 | # requires that you compile everything twice, which is a pain. |
| 10668 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 10669 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10670 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10671 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 10672 | else |
| 10673 | ld_shlibs=no |
| 10674 | fi |
| 10675 | ;; |
| 10676 | esac |
| 10677 | ;; |
| 10678 | |
| 10679 | sunos4*) |
| 10680 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 10681 | wlarc= |
| 10682 | hardcode_direct=yes |
| 10683 | hardcode_shlibpath_var=no |
| 10684 | ;; |
| 10685 | |
| 10686 | *) |
| 10687 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 10688 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10689 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 10690 | else |
| 10691 | ld_shlibs=no |
| 10692 | fi |
| 10693 | ;; |
| 10694 | esac |
| 10695 | |
| 10696 | if test "$ld_shlibs" = no; then |
| 10697 | runpath_var= |
| 10698 | hardcode_libdir_flag_spec= |
| 10699 | export_dynamic_flag_spec= |
| 10700 | whole_archive_flag_spec= |
| 10701 | fi |
| 10702 | else |
| 10703 | # PORTME fill in a description of your system's linker (not GNU ld) |
| 10704 | case $host_os in |
| 10705 | aix3*) |
| 10706 | allow_undefined_flag=unsupported |
| 10707 | always_export_symbols=yes |
| 10708 | 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' |
| 10709 | # Note: this linker hardcodes the directories in LIBPATH if there |
| 10710 | # are no directories specified by -L. |
| 10711 | hardcode_minus_L=yes |
| 10712 | if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
| 10713 | # Neither direct hardcoding nor static linking is supported with a |
| 10714 | # broken collect2. |
| 10715 | hardcode_direct=unsupported |
| 10716 | fi |
| 10717 | ;; |
| 10718 | |
| 10719 | aix[4-9]*) |
| 10720 | if test "$host_cpu" = ia64; then |
| 10721 | # On IA64, the linker does run time linking by default, so we don't |
| 10722 | # have to do anything special. |
| 10723 | aix_use_runtimelinking=no |
| 10724 | exp_sym_flag='-Bexport' |
| 10725 | no_entry_flag="" |
| 10726 | else |
| 10727 | # If we're using GNU nm, then we don't want the "-C" option. |
| 10728 | # -C means demangle to AIX nm, but means don't demangle with GNU nm |
| 10729 | # Also, AIX nm treats weak defined symbols like other global |
| 10730 | # defined symbols, whereas GNU nm marks them as "W". |
| 10731 | if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 10732 | 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' |
| 10733 | else |
| 10734 | 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' |
| 10735 | fi |
| 10736 | aix_use_runtimelinking=no |
| 10737 | |
| 10738 | # Test if we are trying to use run time linking or normal |
| 10739 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 10740 | # need to do runtime linking. |
| 10741 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 10742 | for ld_flag in $LDFLAGS; do |
| 10743 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
| 10744 | aix_use_runtimelinking=yes |
| 10745 | break |
| 10746 | fi |
| 10747 | done |
| 10748 | ;; |
| 10749 | esac |
| 10750 | |
| 10751 | exp_sym_flag='-bexport' |
| 10752 | no_entry_flag='-bnoentry' |
| 10753 | fi |
| 10754 | |
| 10755 | # When large executables or shared objects are built, AIX ld can |
| 10756 | # have problems creating the table of contents. If linking a library |
| 10757 | # or program results in "error TOC overflow" add -mminimal-toc to |
| 10758 | # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 10759 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 10760 | |
| 10761 | archive_cmds='' |
| 10762 | hardcode_direct=yes |
| 10763 | hardcode_direct_absolute=yes |
| 10764 | hardcode_libdir_separator=':' |
| 10765 | link_all_deplibs=yes |
| 10766 | file_list_spec='${wl}-f,' |
| 10767 | |
| 10768 | if test "$GCC" = yes; then |
| 10769 | case $host_os in aix4.[012]|aix4.[012].*) |
| 10770 | # We only want to do this on AIX 4.2 and lower, the check |
| 10771 | # below for broken collect2 doesn't work under 4.3+ |
| 10772 | collect2name=`${CC} -print-prog-name=collect2` |
| 10773 | if test -f "$collect2name" && |
| 10774 | strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 10775 | then |
| 10776 | # We have reworked collect2 |
| 10777 | : |
| 10778 | else |
| 10779 | # We have old collect2 |
| 10780 | hardcode_direct=unsupported |
| 10781 | # It fails to find uninstalled libraries when the uninstalled |
| 10782 | # path is not listed in the libpath. Setting hardcode_minus_L |
| 10783 | # to unsupported forces relinking |
| 10784 | hardcode_minus_L=yes |
| 10785 | hardcode_libdir_flag_spec='-L$libdir' |
| 10786 | hardcode_libdir_separator= |
| 10787 | fi |
| 10788 | ;; |
| 10789 | esac |
| 10790 | shared_flag='-shared' |
| 10791 | if test "$aix_use_runtimelinking" = yes; then |
| 10792 | shared_flag="$shared_flag "'${wl}-G' |
| 10793 | fi |
| 10794 | else |
| 10795 | # not using gcc |
| 10796 | if test "$host_cpu" = ia64; then |
| 10797 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 10798 | # chokes on -Wl,-G. The following line is correct: |
| 10799 | shared_flag='-G' |
| 10800 | else |
| 10801 | if test "$aix_use_runtimelinking" = yes; then |
| 10802 | shared_flag='${wl}-G' |
| 10803 | else |
| 10804 | shared_flag='${wl}-bM:SRE' |
| 10805 | fi |
| 10806 | fi |
| 10807 | fi |
| 10808 | |
| 10809 | export_dynamic_flag_spec='${wl}-bexpall' |
| 10810 | # It seems that -bexpall does not export symbols beginning with |
| 10811 | # underscore (_), so it is better to generate a list of symbols to export. |
| 10812 | always_export_symbols=yes |
| 10813 | if test "$aix_use_runtimelinking" = yes; then |
| 10814 | # Warning - without using the other runtime loading flags (-brtl), |
| 10815 | # -berok will link without error, but may produce a broken library. |
| 10816 | allow_undefined_flag='-berok' |
| 10817 | # Determine the default libpath from the value encoded in an |
| 10818 | # empty executable. |
| 10819 | if test x$gcc_no_link = xyes; then |
| 10820 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 10821 | fi |
| 10822 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10823 | /* end confdefs.h. */ |
| 10824 | |
| 10825 | int |
| 10826 | main () |
| 10827 | { |
| 10828 | |
| 10829 | ; |
| 10830 | return 0; |
| 10831 | } |
| 10832 | _ACEOF |
| 10833 | if ac_fn_c_try_link "$LINENO"; then : |
| 10834 | |
| 10835 | lt_aix_libpath_sed=' |
| 10836 | /Import File Strings/,/^$/ { |
| 10837 | /^0/ { |
| 10838 | s/^0 *\(.*\)$/\1/ |
| 10839 | p |
| 10840 | } |
| 10841 | }' |
| 10842 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 10843 | # Check for a 64-bit object if we didn't find anything. |
| 10844 | if test -z "$aix_libpath"; then |
| 10845 | aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 10846 | fi |
| 10847 | fi |
| 10848 | rm -f core conftest.err conftest.$ac_objext \ |
| 10849 | conftest$ac_exeext conftest.$ac_ext |
| 10850 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 10851 | |
| 10852 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 10853 | 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" |
| 10854 | else |
| 10855 | if test "$host_cpu" = ia64; then |
| 10856 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
| 10857 | allow_undefined_flag="-z nodefs" |
| 10858 | 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" |
| 10859 | else |
| 10860 | # Determine the default libpath from the value encoded in an |
| 10861 | # empty executable. |
| 10862 | if test x$gcc_no_link = xyes; then |
| 10863 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 10864 | fi |
| 10865 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10866 | /* end confdefs.h. */ |
| 10867 | |
| 10868 | int |
| 10869 | main () |
| 10870 | { |
| 10871 | |
| 10872 | ; |
| 10873 | return 0; |
| 10874 | } |
| 10875 | _ACEOF |
| 10876 | if ac_fn_c_try_link "$LINENO"; then : |
| 10877 | |
| 10878 | lt_aix_libpath_sed=' |
| 10879 | /Import File Strings/,/^$/ { |
| 10880 | /^0/ { |
| 10881 | s/^0 *\(.*\)$/\1/ |
| 10882 | p |
| 10883 | } |
| 10884 | }' |
| 10885 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 10886 | # Check for a 64-bit object if we didn't find anything. |
| 10887 | if test -z "$aix_libpath"; then |
| 10888 | aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 10889 | fi |
| 10890 | fi |
| 10891 | rm -f core conftest.err conftest.$ac_objext \ |
| 10892 | conftest$ac_exeext conftest.$ac_ext |
| 10893 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 10894 | |
| 10895 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 10896 | # Warning - without using the other run time loading flags, |
| 10897 | # -berok will link without error, but may produce a broken library. |
| 10898 | no_undefined_flag=' ${wl}-bernotok' |
| 10899 | allow_undefined_flag=' ${wl}-berok' |
| 10900 | if test "$with_gnu_ld" = yes; then |
| 10901 | # We only use this code for GNU lds that support --whole-archive. |
| 10902 | whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
| 10903 | else |
| 10904 | # Exported symbols can be pulled into shared objects from archives |
| 10905 | whole_archive_flag_spec='$convenience' |
| 10906 | fi |
| 10907 | archive_cmds_need_lc=yes |
| 10908 | # This is similar to how AIX traditionally builds its shared libraries. |
| 10909 | 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' |
| 10910 | fi |
| 10911 | fi |
| 10912 | ;; |
| 10913 | |
| 10914 | amigaos*) |
| 10915 | case $host_cpu in |
| 10916 | powerpc) |
| 10917 | # see comment about AmigaOS4 .so support |
| 10918 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10919 | archive_expsym_cmds='' |
| 10920 | ;; |
| 10921 | m68k) |
| 10922 | 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)' |
| 10923 | hardcode_libdir_flag_spec='-L$libdir' |
| 10924 | hardcode_minus_L=yes |
| 10925 | ;; |
| 10926 | esac |
| 10927 | ;; |
| 10928 | |
| 10929 | bsdi[45]*) |
| 10930 | export_dynamic_flag_spec=-rdynamic |
| 10931 | ;; |
| 10932 | |
| 10933 | cygwin* | mingw* | pw32* | cegcc*) |
| 10934 | # When not using gcc, we currently assume that we are using |
| 10935 | # Microsoft Visual C++. |
| 10936 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 10937 | # no search path for DLLs. |
| 10938 | hardcode_libdir_flag_spec=' ' |
| 10939 | allow_undefined_flag=unsupported |
| 10940 | # Tell ltmain to make .lib files, not .a files. |
| 10941 | libext=lib |
| 10942 | # Tell ltmain to make .dll files, not .so files. |
| 10943 | shrext_cmds=".dll" |
| 10944 | # FIXME: Setting linknames here is a bad hack. |
| 10945 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 10946 | # The linker will automatically build a .lib file if we build a DLL. |
| 10947 | old_archive_from_new_cmds='true' |
| 10948 | # FIXME: Should let the user specify the lib program. |
| 10949 | old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 10950 | fix_srcfile_path='`cygpath -w "$srcfile"`' |
| 10951 | enable_shared_with_static_runtimes=yes |
| 10952 | ;; |
| 10953 | |
| 10954 | darwin* | rhapsody*) |
| 10955 | |
| 10956 | |
| 10957 | |
| 10958 | # Publish an arg to allow the user to select that Darwin host (and target) |
| 10959 | # libraries should be given install-names like @rpath/libfoo.dylib. This |
| 10960 | # requires that the user of the library then adds an 'rpath' to the DSO that |
| 10961 | # needs access. |
| 10962 | # NOTE: there are defaults below, for systems that support rpaths. The person |
| 10963 | # configuring can override the defaults for any system version that supports |
| 10964 | # them - they are, however, forced off for system versions without support. |
| 10965 | # Check whether --enable-darwin-at-rpath was given. |
| 10966 | if test "${enable_darwin_at_rpath+set}" = set; then : |
| 10967 | enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then |
| 10968 | # This is not supported before macOS 10.5 / Darwin9. |
| 10969 | case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in |
| 10970 | UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*) |
| 10971 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5 |
| 10972 | $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;} |
| 10973 | enable_darwin_at_rpath=no |
| 10974 | ;; |
| 10975 | esac |
| 10976 | fi |
| 10977 | else |
| 10978 | case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in |
| 10979 | # As above, before 10.5 / Darwin9 this does not work. |
| 10980 | UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*) |
| 10981 | enable_darwin_at_rpath=no |
| 10982 | ;; |
| 10983 | |
| 10984 | # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use |
| 10985 | # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key |
| 10986 | # system executables (e.g. /bin/sh). Force rpaths on for these systems. |
| 10987 | UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* ) |
| 10988 | { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5 |
| 10989 | $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;} |
| 10990 | enable_darwin_at_rpath=yes |
| 10991 | ;; |
| 10992 | # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can |
| 10993 | # work with either DYLD_LIBRARY_PATH or embedded rpaths. |
| 10994 | |
| 10995 | esac |
| 10996 | |
| 10997 | fi |
| 10998 | |
| 10999 | |
| 11000 | archive_cmds_need_lc=no |
| 11001 | hardcode_direct=no |
| 11002 | hardcode_automatic=yes |
| 11003 | hardcode_shlibpath_var=unsupported |
| 11004 | if test "$lt_cv_ld_force_load" = "yes"; then |
| 11005 | 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\"`' |
| 11006 | else |
| 11007 | whole_archive_flag_spec='' |
| 11008 | fi |
| 11009 | link_all_deplibs=yes |
| 11010 | allow_undefined_flag="$_lt_dar_allow_undefined" |
| 11011 | case $cc_basename in |
| 11012 | ifort*) _lt_dar_can_shared=yes ;; |
| 11013 | *) _lt_dar_can_shared=$GCC ;; |
| 11014 | esac |
| 11015 | if test "$_lt_dar_can_shared" = "yes"; then |
| 11016 | output_verbose_link_cmd=func_echo_all |
| 11017 | _lt_install_name='\$rpath/\$soname' |
| 11018 | if test "x$enable_darwin_at_rpath" = "xyes"; then |
| 11019 | _lt_install_name='@rpath/\$soname' |
| 11020 | fi |
| 11021 | archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}" |
| 11022 | module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
| 11023 | 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}" |
| 11024 | 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}" |
| 11025 | |
| 11026 | else |
| 11027 | ld_shlibs=no |
| 11028 | fi |
| 11029 | |
| 11030 | ;; |
| 11031 | |
| 11032 | dgux*) |
| 11033 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11034 | hardcode_libdir_flag_spec='-L$libdir' |
| 11035 | hardcode_shlibpath_var=no |
| 11036 | ;; |
| 11037 | |
| 11038 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 11039 | # support. Future versions do this automatically, but an explicit c++rt0.o |
| 11040 | # does not break anything, and helps significantly (at the cost of a little |
| 11041 | # extra space). |
| 11042 | freebsd2.2*) |
| 11043 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
| 11044 | hardcode_libdir_flag_spec='-R$libdir' |
| 11045 | hardcode_direct=yes |
| 11046 | hardcode_shlibpath_var=no |
| 11047 | ;; |
| 11048 | |
| 11049 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 11050 | freebsd2.*) |
| 11051 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 11052 | hardcode_direct=yes |
| 11053 | hardcode_minus_L=yes |
| 11054 | hardcode_shlibpath_var=no |
| 11055 | ;; |
| 11056 | |
| 11057 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 11058 | freebsd* | dragonfly*) |
| 11059 | archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
| 11060 | hardcode_libdir_flag_spec='-R$libdir' |
| 11061 | hardcode_direct=yes |
| 11062 | hardcode_shlibpath_var=no |
| 11063 | ;; |
| 11064 | |
| 11065 | hpux9*) |
| 11066 | if test "$GCC" = yes; then |
| 11067 | 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' |
| 11068 | else |
| 11069 | 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' |
| 11070 | fi |
| 11071 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 11072 | hardcode_libdir_separator=: |
| 11073 | hardcode_direct=yes |
| 11074 | |
| 11075 | # hardcode_minus_L: Not really in the search PATH, |
| 11076 | # but as the default location of the library. |
| 11077 | hardcode_minus_L=yes |
| 11078 | export_dynamic_flag_spec='${wl}-E' |
| 11079 | ;; |
| 11080 | |
| 11081 | hpux10*) |
| 11082 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 11083 | archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 11084 | else |
| 11085 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 11086 | fi |
| 11087 | if test "$with_gnu_ld" = no; then |
| 11088 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 11089 | hardcode_libdir_flag_spec_ld='+b $libdir' |
| 11090 | hardcode_libdir_separator=: |
| 11091 | hardcode_direct=yes |
| 11092 | hardcode_direct_absolute=yes |
| 11093 | export_dynamic_flag_spec='${wl}-E' |
| 11094 | # hardcode_minus_L: Not really in the search PATH, |
| 11095 | # but as the default location of the library. |
| 11096 | hardcode_minus_L=yes |
| 11097 | fi |
| 11098 | ;; |
| 11099 | |
| 11100 | hpux11*) |
| 11101 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 11102 | case $host_cpu in |
| 11103 | hppa*64*) |
| 11104 | archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 11105 | ;; |
| 11106 | ia64*) |
| 11107 | archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 11108 | ;; |
| 11109 | *) |
| 11110 | archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 11111 | ;; |
| 11112 | esac |
| 11113 | else |
| 11114 | case $host_cpu in |
| 11115 | hppa*64*) |
| 11116 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 11117 | ;; |
| 11118 | ia64*) |
| 11119 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 11120 | ;; |
| 11121 | *) |
| 11122 | |
| 11123 | # Older versions of the 11.00 compiler do not understand -b yet |
| 11124 | # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 11125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 11126 | $as_echo_n "checking if $CC understands -b... " >&6; } |
| 11127 | if ${lt_cv_prog_compiler__b+:} false; then : |
| 11128 | $as_echo_n "(cached) " >&6 |
| 11129 | else |
| 11130 | lt_cv_prog_compiler__b=no |
| 11131 | save_LDFLAGS="$LDFLAGS" |
| 11132 | LDFLAGS="$LDFLAGS -b" |
| 11133 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 11134 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 11135 | # The linker can only warn and ignore the option if not recognized |
| 11136 | # So say no if there are warnings |
| 11137 | if test -s conftest.err; then |
| 11138 | # Append any errors to the config.log. |
| 11139 | cat conftest.err 1>&5 |
| 11140 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 11141 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 11142 | if diff conftest.exp conftest.er2 >/dev/null; then |
| 11143 | lt_cv_prog_compiler__b=yes |
| 11144 | fi |
| 11145 | else |
| 11146 | lt_cv_prog_compiler__b=yes |
| 11147 | fi |
| 11148 | fi |
| 11149 | $RM -r conftest* |
| 11150 | LDFLAGS="$save_LDFLAGS" |
| 11151 | |
| 11152 | fi |
| 11153 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 11154 | $as_echo "$lt_cv_prog_compiler__b" >&6; } |
| 11155 | |
| 11156 | if test x"$lt_cv_prog_compiler__b" = xyes; then |
| 11157 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 11158 | else |
| 11159 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 11160 | fi |
| 11161 | |
| 11162 | ;; |
| 11163 | esac |
| 11164 | fi |
| 11165 | if test "$with_gnu_ld" = no; then |
| 11166 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 11167 | hardcode_libdir_separator=: |
| 11168 | |
| 11169 | case $host_cpu in |
| 11170 | hppa*64*|ia64*) |
| 11171 | hardcode_direct=no |
| 11172 | hardcode_shlibpath_var=no |
| 11173 | ;; |
| 11174 | *) |
| 11175 | hardcode_direct=yes |
| 11176 | hardcode_direct_absolute=yes |
| 11177 | export_dynamic_flag_spec='${wl}-E' |
| 11178 | |
| 11179 | # hardcode_minus_L: Not really in the search PATH, |
| 11180 | # but as the default location of the library. |
| 11181 | hardcode_minus_L=yes |
| 11182 | ;; |
| 11183 | esac |
| 11184 | fi |
| 11185 | ;; |
| 11186 | |
| 11187 | irix5* | irix6* | nonstopux*) |
| 11188 | if test "$GCC" = yes; then |
| 11189 | 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' |
| 11190 | # Try to use the -exported_symbol ld option, if it does not |
| 11191 | # work, assume that -exports_file does not work either and |
| 11192 | # implicitly export all symbols. |
| 11193 | save_LDFLAGS="$LDFLAGS" |
| 11194 | LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 11195 | if test x$gcc_no_link = xyes; then |
| 11196 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 11197 | fi |
| 11198 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11199 | /* end confdefs.h. */ |
| 11200 | int foo(void) {} |
| 11201 | _ACEOF |
| 11202 | if ac_fn_c_try_link "$LINENO"; then : |
| 11203 | 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' |
| 11204 | |
| 11205 | fi |
| 11206 | rm -f core conftest.err conftest.$ac_objext \ |
| 11207 | conftest$ac_exeext conftest.$ac_ext |
| 11208 | LDFLAGS="$save_LDFLAGS" |
| 11209 | else |
| 11210 | 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' |
| 11211 | 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' |
| 11212 | fi |
| 11213 | archive_cmds_need_lc='no' |
| 11214 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11215 | hardcode_libdir_separator=: |
| 11216 | inherit_rpath=yes |
| 11217 | link_all_deplibs=yes |
| 11218 | ;; |
| 11219 | |
| 11220 | netbsd*) |
| 11221 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 11222 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 11223 | else |
| 11224 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
| 11225 | fi |
| 11226 | hardcode_libdir_flag_spec='-R$libdir' |
| 11227 | hardcode_direct=yes |
| 11228 | hardcode_shlibpath_var=no |
| 11229 | ;; |
| 11230 | |
| 11231 | newsos6) |
| 11232 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11233 | hardcode_direct=yes |
| 11234 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11235 | hardcode_libdir_separator=: |
| 11236 | hardcode_shlibpath_var=no |
| 11237 | ;; |
| 11238 | |
| 11239 | *nto* | *qnx*) |
| 11240 | ;; |
| 11241 | |
| 11242 | openbsd*) |
| 11243 | if test -f /usr/libexec/ld.so; then |
| 11244 | hardcode_direct=yes |
| 11245 | hardcode_shlibpath_var=no |
| 11246 | hardcode_direct_absolute=yes |
| 11247 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 11248 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 11249 | archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
| 11250 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 11251 | export_dynamic_flag_spec='${wl}-E' |
| 11252 | else |
| 11253 | case $host_os in |
| 11254 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
| 11255 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 11256 | hardcode_libdir_flag_spec='-R$libdir' |
| 11257 | ;; |
| 11258 | *) |
| 11259 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 11260 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 11261 | ;; |
| 11262 | esac |
| 11263 | fi |
| 11264 | else |
| 11265 | ld_shlibs=no |
| 11266 | fi |
| 11267 | ;; |
| 11268 | |
| 11269 | os2*) |
| 11270 | hardcode_libdir_flag_spec='-L$libdir' |
| 11271 | hardcode_minus_L=yes |
| 11272 | allow_undefined_flag=unsupported |
| 11273 | 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' |
| 11274 | old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
| 11275 | ;; |
| 11276 | |
| 11277 | osf3*) |
| 11278 | if test "$GCC" = yes; then |
| 11279 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 11280 | 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' |
| 11281 | else |
| 11282 | allow_undefined_flag=' -expect_unresolved \*' |
| 11283 | 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' |
| 11284 | fi |
| 11285 | archive_cmds_need_lc='no' |
| 11286 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11287 | hardcode_libdir_separator=: |
| 11288 | ;; |
| 11289 | |
| 11290 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 11291 | if test "$GCC" = yes; then |
| 11292 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 11293 | 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' |
| 11294 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11295 | else |
| 11296 | allow_undefined_flag=' -expect_unresolved \*' |
| 11297 | 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' |
| 11298 | 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~ |
| 11299 | $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' |
| 11300 | |
| 11301 | # Both c and cxx compiler support -rpath directly |
| 11302 | hardcode_libdir_flag_spec='-rpath $libdir' |
| 11303 | fi |
| 11304 | archive_cmds_need_lc='no' |
| 11305 | hardcode_libdir_separator=: |
| 11306 | ;; |
| 11307 | |
| 11308 | solaris*) |
| 11309 | no_undefined_flag=' -z defs' |
| 11310 | if test "$GCC" = yes; then |
| 11311 | wlarc='${wl}' |
| 11312 | archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11313 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 11314 | $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 11315 | else |
| 11316 | case `$CC -V 2>&1` in |
| 11317 | *"Compilers 5.0"*) |
| 11318 | wlarc='' |
| 11319 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11320 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 11321 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
| 11322 | ;; |
| 11323 | *) |
| 11324 | wlarc='${wl}' |
| 11325 | archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11326 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 11327 | $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 11328 | ;; |
| 11329 | esac |
| 11330 | fi |
| 11331 | hardcode_libdir_flag_spec='-R$libdir' |
| 11332 | hardcode_shlibpath_var=no |
| 11333 | case $host_os in |
| 11334 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 11335 | *) |
| 11336 | # The compiler driver will combine and reorder linker options, |
| 11337 | # but understands `-z linker_flag'. GCC discards it without `$wl', |
| 11338 | # but is careful enough not to reorder. |
| 11339 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 11340 | if test "$GCC" = yes; then |
| 11341 | whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
| 11342 | else |
| 11343 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
| 11344 | fi |
| 11345 | ;; |
| 11346 | esac |
| 11347 | link_all_deplibs=yes |
| 11348 | ;; |
| 11349 | |
| 11350 | sunos4*) |
| 11351 | if test "x$host_vendor" = xsequent; then |
| 11352 | # Use $CC to link under sequent, because it throws in some extra .o |
| 11353 | # files that make .init and .fini sections work. |
| 11354 | archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11355 | else |
| 11356 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
| 11357 | fi |
| 11358 | hardcode_libdir_flag_spec='-L$libdir' |
| 11359 | hardcode_direct=yes |
| 11360 | hardcode_minus_L=yes |
| 11361 | hardcode_shlibpath_var=no |
| 11362 | ;; |
| 11363 | |
| 11364 | sysv4) |
| 11365 | case $host_vendor in |
| 11366 | sni) |
| 11367 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11368 | hardcode_direct=yes # is this really true??? |
| 11369 | ;; |
| 11370 | siemens) |
| 11371 | ## LD is ld it makes a PLAMLIB |
| 11372 | ## CC just makes a GrossModule. |
| 11373 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 11374 | reload_cmds='$CC -r -o $output$reload_objs' |
| 11375 | hardcode_direct=no |
| 11376 | ;; |
| 11377 | motorola) |
| 11378 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11379 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
| 11380 | ;; |
| 11381 | esac |
| 11382 | runpath_var='LD_RUN_PATH' |
| 11383 | hardcode_shlibpath_var=no |
| 11384 | ;; |
| 11385 | |
| 11386 | sysv4.3*) |
| 11387 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11388 | hardcode_shlibpath_var=no |
| 11389 | export_dynamic_flag_spec='-Bexport' |
| 11390 | ;; |
| 11391 | |
| 11392 | sysv4*MP*) |
| 11393 | if test -d /usr/nec; then |
| 11394 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11395 | hardcode_shlibpath_var=no |
| 11396 | runpath_var=LD_RUN_PATH |
| 11397 | hardcode_runpath_var=yes |
| 11398 | ld_shlibs=yes |
| 11399 | fi |
| 11400 | ;; |
| 11401 | |
| 11402 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 11403 | no_undefined_flag='${wl}-z,text' |
| 11404 | archive_cmds_need_lc=no |
| 11405 | hardcode_shlibpath_var=no |
| 11406 | runpath_var='LD_RUN_PATH' |
| 11407 | |
| 11408 | if test "$GCC" = yes; then |
| 11409 | archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11410 | archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11411 | else |
| 11412 | archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11413 | archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11414 | fi |
| 11415 | ;; |
| 11416 | |
| 11417 | sysv5* | sco3.2v5* | sco5v6*) |
| 11418 | # Note: We can NOT use -z defs as we might desire, because we do not |
| 11419 | # link with -lc, and that would cause any symbols used from libc to |
| 11420 | # always be unresolved, which means just about no library would |
| 11421 | # ever link correctly. If we're not using GNU ld we use -z text |
| 11422 | # though, which does catch some bad symbols but isn't as heavy-handed |
| 11423 | # as -z defs. |
| 11424 | no_undefined_flag='${wl}-z,text' |
| 11425 | allow_undefined_flag='${wl}-z,nodefs' |
| 11426 | archive_cmds_need_lc=no |
| 11427 | hardcode_shlibpath_var=no |
| 11428 | hardcode_libdir_flag_spec='${wl}-R,$libdir' |
| 11429 | hardcode_libdir_separator=':' |
| 11430 | link_all_deplibs=yes |
| 11431 | export_dynamic_flag_spec='${wl}-Bexport' |
| 11432 | runpath_var='LD_RUN_PATH' |
| 11433 | |
| 11434 | if test "$GCC" = yes; then |
| 11435 | archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11436 | archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11437 | else |
| 11438 | archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11439 | archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11440 | fi |
| 11441 | ;; |
| 11442 | |
| 11443 | uts4*) |
| 11444 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11445 | hardcode_libdir_flag_spec='-L$libdir' |
| 11446 | hardcode_shlibpath_var=no |
| 11447 | ;; |
| 11448 | |
| 11449 | *) |
| 11450 | ld_shlibs=no |
| 11451 | ;; |
| 11452 | esac |
| 11453 | |
| 11454 | if test x$host_vendor = xsni; then |
| 11455 | case $host in |
| 11456 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 11457 | export_dynamic_flag_spec='${wl}-Blargedynsym' |
| 11458 | ;; |
| 11459 | esac |
| 11460 | fi |
| 11461 | fi |
| 11462 | |
| 11463 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 11464 | $as_echo "$ld_shlibs" >&6; } |
| 11465 | test "$ld_shlibs" = no && can_build_shared=no |
| 11466 | |
| 11467 | with_gnu_ld=$with_gnu_ld |
| 11468 | |
| 11469 | |
| 11470 | |
| 11471 | |
| 11472 | |
| 11473 | |
| 11474 | |
| 11475 | |
| 11476 | |
| 11477 | |
| 11478 | |
| 11479 | |
| 11480 | |
| 11481 | |
| 11482 | |
| 11483 | # |
| 11484 | # Do we need to explicitly link libc? |
| 11485 | # |
| 11486 | case "x$archive_cmds_need_lc" in |
| 11487 | x|xyes) |
| 11488 | # Assume -lc should be added |
| 11489 | archive_cmds_need_lc=yes |
| 11490 | |
| 11491 | if test "$enable_shared" = yes && test "$GCC" = yes; then |
| 11492 | case $archive_cmds in |
| 11493 | *'~'*) |
| 11494 | # FIXME: we may have to deal with multi-command sequences. |
| 11495 | ;; |
| 11496 | '$CC '*) |
| 11497 | # Test whether the compiler implicitly links with -lc since on some |
| 11498 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 11499 | # to ld, don't add -lc before -lgcc. |
| 11500 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 11501 | $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 11502 | if ${lt_cv_archive_cmds_need_lc+:} false; then : |
| 11503 | $as_echo_n "(cached) " >&6 |
| 11504 | else |
| 11505 | $RM conftest* |
| 11506 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 11507 | |
| 11508 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 11509 | (eval $ac_compile) 2>&5 |
| 11510 | ac_status=$? |
| 11511 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11512 | test $ac_status = 0; } 2>conftest.err; then |
| 11513 | soname=conftest |
| 11514 | lib=conftest |
| 11515 | libobjs=conftest.$ac_objext |
| 11516 | deplibs= |
| 11517 | wl=$lt_prog_compiler_wl |
| 11518 | pic_flag=$lt_prog_compiler_pic |
| 11519 | compiler_flags=-v |
| 11520 | linker_flags=-v |
| 11521 | verstring= |
| 11522 | output_objdir=. |
| 11523 | libname=conftest |
| 11524 | lt_save_allow_undefined_flag=$allow_undefined_flag |
| 11525 | allow_undefined_flag= |
| 11526 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 11527 | (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 11528 | ac_status=$? |
| 11529 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11530 | test $ac_status = 0; } |
| 11531 | then |
| 11532 | lt_cv_archive_cmds_need_lc=no |
| 11533 | else |
| 11534 | lt_cv_archive_cmds_need_lc=yes |
| 11535 | fi |
| 11536 | allow_undefined_flag=$lt_save_allow_undefined_flag |
| 11537 | else |
| 11538 | cat conftest.err 1>&5 |
| 11539 | fi |
| 11540 | $RM conftest* |
| 11541 | |
| 11542 | fi |
| 11543 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 11544 | $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
| 11545 | archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
| 11546 | ;; |
| 11547 | esac |
| 11548 | fi |
| 11549 | ;; |
| 11550 | esac |
| 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 | |
| 11647 | |
| 11648 | |
| 11649 | |
| 11650 | |
| 11651 | |
| 11652 | |
| 11653 | |
| 11654 | |
| 11655 | |
| 11656 | |
| 11657 | |
| 11658 | |
| 11659 | |
| 11660 | |
| 11661 | |
| 11662 | |
| 11663 | |
| 11664 | |
| 11665 | |
| 11666 | |
| 11667 | |
| 11668 | |
| 11669 | |
| 11670 | |
| 11671 | |
| 11672 | |
| 11673 | |
| 11674 | |
| 11675 | |
| 11676 | |
| 11677 | |
| 11678 | |
| 11679 | |
| 11680 | |
| 11681 | |
| 11682 | |
| 11683 | |
| 11684 | |
| 11685 | |
| 11686 | |
| 11687 | |
| 11688 | |
| 11689 | |
| 11690 | |
| 11691 | |
| 11692 | |
| 11693 | |
| 11694 | |
| 11695 | |
| 11696 | |
| 11697 | |
| 11698 | |
| 11699 | |
| 11700 | |
| 11701 | |
| 11702 | |
| 11703 | |
| 11704 | |
| 11705 | |
| 11706 | |
| 11707 | |
| 11708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 11709 | $as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 11710 | |
| 11711 | if test "$GCC" = yes; then |
| 11712 | case $host_os in |
| 11713 | darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
| 11714 | *) lt_awk_arg="/^libraries:/" ;; |
| 11715 | esac |
| 11716 | case $host_os in |
| 11717 | mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
| 11718 | *) lt_sed_strip_eq="s,=/,/,g" ;; |
| 11719 | esac |
| 11720 | lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
| 11721 | case $lt_search_path_spec in |
| 11722 | *\;*) |
| 11723 | # if the path contains ";" then we assume it to be the separator |
| 11724 | # otherwise default to the standard path separator (i.e. ":") - it is |
| 11725 | # assumed that no part of a normal pathname contains ";" but that should |
| 11726 | # okay in the real world where ";" in dirpaths is itself problematic. |
| 11727 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 11728 | ;; |
| 11729 | *) |
| 11730 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
| 11731 | ;; |
| 11732 | esac |
| 11733 | # Ok, now we have the path, separated by spaces, we can step through it |
| 11734 | # and add multilib dir if necessary. |
| 11735 | lt_tmp_lt_search_path_spec= |
| 11736 | lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
| 11737 | for lt_sys_path in $lt_search_path_spec; do |
| 11738 | if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
| 11739 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
| 11740 | else |
| 11741 | test -d "$lt_sys_path" && \ |
| 11742 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 11743 | fi |
| 11744 | done |
| 11745 | lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
| 11746 | BEGIN {RS=" "; FS="/|\n";} { |
| 11747 | lt_foo=""; |
| 11748 | lt_count=0; |
| 11749 | for (lt_i = NF; lt_i > 0; lt_i--) { |
| 11750 | if ($lt_i != "" && $lt_i != ".") { |
| 11751 | if ($lt_i == "..") { |
| 11752 | lt_count++; |
| 11753 | } else { |
| 11754 | if (lt_count == 0) { |
| 11755 | lt_foo="/" $lt_i lt_foo; |
| 11756 | } else { |
| 11757 | lt_count--; |
| 11758 | } |
| 11759 | } |
| 11760 | } |
| 11761 | } |
| 11762 | if (lt_foo != "") { lt_freq[lt_foo]++; } |
| 11763 | if (lt_freq[lt_foo] == 1) { print lt_foo; } |
| 11764 | }'` |
| 11765 | # AWK program above erroneously prepends '/' to C:/dos/paths |
| 11766 | # for these hosts. |
| 11767 | case $host_os in |
| 11768 | mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 11769 | $SED 's,/\([A-Za-z]:\),\1,g'` ;; |
| 11770 | esac |
| 11771 | sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 11772 | else |
| 11773 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 11774 | fi |
| 11775 | library_names_spec= |
| 11776 | libname_spec='lib$name' |
| 11777 | soname_spec= |
| 11778 | shrext_cmds=".so" |
| 11779 | postinstall_cmds= |
| 11780 | postuninstall_cmds= |
| 11781 | finish_cmds= |
| 11782 | finish_eval= |
| 11783 | shlibpath_var= |
| 11784 | shlibpath_overrides_runpath=unknown |
| 11785 | version_type=none |
| 11786 | dynamic_linker="$host_os ld.so" |
| 11787 | sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 11788 | need_lib_prefix=unknown |
| 11789 | hardcode_into_libs=no |
| 11790 | |
| 11791 | # when you set need_version to no, make sure it does not cause -set_version |
| 11792 | # flags to be left without arguments |
| 11793 | need_version=unknown |
| 11794 | |
| 11795 | case $host_os in |
| 11796 | aix3*) |
| 11797 | version_type=linux |
| 11798 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 11799 | shlibpath_var=LIBPATH |
| 11800 | |
| 11801 | # AIX 3 has no versioning support, so we append a major version to the name. |
| 11802 | soname_spec='${libname}${release}${shared_ext}$major' |
| 11803 | ;; |
| 11804 | |
| 11805 | aix[4-9]*) |
| 11806 | version_type=linux |
| 11807 | need_lib_prefix=no |
| 11808 | need_version=no |
| 11809 | hardcode_into_libs=yes |
| 11810 | if test "$host_cpu" = ia64; then |
| 11811 | # AIX 5 supports IA64 |
| 11812 | library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
| 11813 | shlibpath_var=LD_LIBRARY_PATH |
| 11814 | else |
| 11815 | # With GCC up to 2.95.x, collect2 would create an import file |
| 11816 | # for dependence libraries. The import file would start with |
| 11817 | # the line `#! .'. This would cause the generated library to |
| 11818 | # depend on `.', always an invalid library. This was fixed in |
| 11819 | # development snapshots of GCC prior to 3.0. |
| 11820 | case $host_os in |
| 11821 | aix4 | aix4.[01] | aix4.[01].*) |
| 11822 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 11823 | echo ' yes ' |
| 11824 | echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
| 11825 | : |
| 11826 | else |
| 11827 | can_build_shared=no |
| 11828 | fi |
| 11829 | ;; |
| 11830 | esac |
| 11831 | # AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
| 11832 | # soname into executable. Probably we can add versioning support to |
| 11833 | # collect2, so additional links can be useful in future. |
| 11834 | if test "$aix_use_runtimelinking" = yes; then |
| 11835 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 11836 | # instead of lib<name>.a to let people know that these are not |
| 11837 | # typical AIX shared libraries. |
| 11838 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11839 | else |
| 11840 | # We preserve .a as extension for shared libraries through AIX4.2 |
| 11841 | # and later when we are not doing run time linking. |
| 11842 | library_names_spec='${libname}${release}.a $libname.a' |
| 11843 | soname_spec='${libname}${release}${shared_ext}$major' |
| 11844 | fi |
| 11845 | shlibpath_var=LIBPATH |
| 11846 | fi |
| 11847 | ;; |
| 11848 | |
| 11849 | amigaos*) |
| 11850 | case $host_cpu in |
| 11851 | powerpc) |
| 11852 | # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 11853 | # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 11854 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11855 | ;; |
| 11856 | m68k) |
| 11857 | library_names_spec='$libname.ixlibrary $libname.a' |
| 11858 | # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 11859 | 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' |
| 11860 | ;; |
| 11861 | esac |
| 11862 | ;; |
| 11863 | |
| 11864 | beos*) |
| 11865 | library_names_spec='${libname}${shared_ext}' |
| 11866 | dynamic_linker="$host_os ld.so" |
| 11867 | shlibpath_var=LIBRARY_PATH |
| 11868 | ;; |
| 11869 | |
| 11870 | bsdi[45]*) |
| 11871 | version_type=linux |
| 11872 | need_version=no |
| 11873 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11874 | soname_spec='${libname}${release}${shared_ext}$major' |
| 11875 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 11876 | shlibpath_var=LD_LIBRARY_PATH |
| 11877 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
| 11878 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
| 11879 | # the default ld.so.conf also contains /usr/contrib/lib and |
| 11880 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 11881 | # libtool to hard-code these into programs |
| 11882 | ;; |
| 11883 | |
| 11884 | cygwin* | mingw* | pw32* | cegcc*) |
| 11885 | version_type=windows |
| 11886 | shrext_cmds=".dll" |
| 11887 | need_version=no |
| 11888 | need_lib_prefix=no |
| 11889 | |
| 11890 | case $GCC,$host_os in |
| 11891 | yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
| 11892 | library_names_spec='$libname.dll.a' |
| 11893 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 11894 | postinstall_cmds='base_file=`basename \${file}`~ |
| 11895 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
| 11896 | dldir=$destdir/`dirname \$dlpath`~ |
| 11897 | test -d \$dldir || mkdir -p \$dldir~ |
| 11898 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 11899 | chmod a+x \$dldir/$dlname~ |
| 11900 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 11901 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 11902 | fi' |
| 11903 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 11904 | dlpath=$dir/\$dldll~ |
| 11905 | $RM \$dlpath' |
| 11906 | shlibpath_overrides_runpath=yes |
| 11907 | |
| 11908 | case $host_os in |
| 11909 | cygwin*) |
| 11910 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 11911 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11912 | |
| 11913 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 11914 | ;; |
| 11915 | mingw* | cegcc*) |
| 11916 | # MinGW DLLs use traditional 'lib' prefix |
| 11917 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11918 | ;; |
| 11919 | pw32*) |
| 11920 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 11921 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11922 | ;; |
| 11923 | esac |
| 11924 | ;; |
| 11925 | |
| 11926 | *) |
| 11927 | library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
| 11928 | ;; |
| 11929 | esac |
| 11930 | dynamic_linker='Win32 ld.exe' |
| 11931 | # FIXME: first we should search . and the directory the executable is in |
| 11932 | shlibpath_var=PATH |
| 11933 | ;; |
| 11934 | |
| 11935 | darwin* | rhapsody*) |
| 11936 | dynamic_linker="$host_os dyld" |
| 11937 | version_type=darwin |
| 11938 | need_lib_prefix=no |
| 11939 | need_version=no |
| 11940 | library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
| 11941 | soname_spec='${libname}${release}${major}$shared_ext' |
| 11942 | shlibpath_overrides_runpath=yes |
| 11943 | shlibpath_var=DYLD_LIBRARY_PATH |
| 11944 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 11945 | |
| 11946 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
| 11947 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 11948 | ;; |
| 11949 | |
| 11950 | dgux*) |
| 11951 | version_type=linux |
| 11952 | need_lib_prefix=no |
| 11953 | need_version=no |
| 11954 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
| 11955 | soname_spec='${libname}${release}${shared_ext}$major' |
| 11956 | shlibpath_var=LD_LIBRARY_PATH |
| 11957 | ;; |
| 11958 | |
| 11959 | freebsd* | dragonfly*) |
| 11960 | # DragonFly does not have aout. When/if they implement a new |
| 11961 | # versioning mechanism, adjust this. |
| 11962 | if test -x /usr/bin/objformat; then |
| 11963 | objformat=`/usr/bin/objformat` |
| 11964 | else |
| 11965 | case $host_os in |
| 11966 | freebsd[23].*) objformat=aout ;; |
| 11967 | *) objformat=elf ;; |
| 11968 | esac |
| 11969 | fi |
| 11970 | version_type=freebsd-$objformat |
| 11971 | case $version_type in |
| 11972 | freebsd-elf*) |
| 11973 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 11974 | need_version=no |
| 11975 | need_lib_prefix=no |
| 11976 | ;; |
| 11977 | freebsd-*) |
| 11978 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
| 11979 | need_version=yes |
| 11980 | ;; |
| 11981 | esac |
| 11982 | shlibpath_var=LD_LIBRARY_PATH |
| 11983 | case $host_os in |
| 11984 | freebsd2.*) |
| 11985 | shlibpath_overrides_runpath=yes |
| 11986 | ;; |
| 11987 | freebsd3.[01]* | freebsdelf3.[01]*) |
| 11988 | shlibpath_overrides_runpath=yes |
| 11989 | hardcode_into_libs=yes |
| 11990 | ;; |
| 11991 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 11992 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 11993 | shlibpath_overrides_runpath=no |
| 11994 | hardcode_into_libs=yes |
| 11995 | ;; |
| 11996 | *) # from 4.6 on, and DragonFly |
| 11997 | shlibpath_overrides_runpath=yes |
| 11998 | hardcode_into_libs=yes |
| 11999 | ;; |
| 12000 | esac |
| 12001 | ;; |
| 12002 | |
| 12003 | haiku*) |
| 12004 | version_type=linux |
| 12005 | need_lib_prefix=no |
| 12006 | need_version=no |
| 12007 | dynamic_linker="$host_os runtime_loader" |
| 12008 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 12009 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12010 | shlibpath_var=LIBRARY_PATH |
| 12011 | shlibpath_overrides_runpath=yes |
| 12012 | sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
| 12013 | hardcode_into_libs=yes |
| 12014 | ;; |
| 12015 | |
| 12016 | hpux9* | hpux10* | hpux11*) |
| 12017 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| 12018 | # link against other versions. |
| 12019 | version_type=sunos |
| 12020 | need_lib_prefix=no |
| 12021 | need_version=no |
| 12022 | case $host_cpu in |
| 12023 | ia64*) |
| 12024 | shrext_cmds='.so' |
| 12025 | hardcode_into_libs=yes |
| 12026 | dynamic_linker="$host_os dld.so" |
| 12027 | shlibpath_var=LD_LIBRARY_PATH |
| 12028 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 12029 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12030 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12031 | if test "X$HPUX_IA64_MODE" = X32; then |
| 12032 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 12033 | else |
| 12034 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 12035 | fi |
| 12036 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 12037 | ;; |
| 12038 | hppa*64*) |
| 12039 | shrext_cmds='.sl' |
| 12040 | hardcode_into_libs=yes |
| 12041 | dynamic_linker="$host_os dld.sl" |
| 12042 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 12043 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 12044 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12045 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12046 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 12047 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 12048 | ;; |
| 12049 | *) |
| 12050 | shrext_cmds='.sl' |
| 12051 | dynamic_linker="$host_os dld.sl" |
| 12052 | shlibpath_var=SHLIB_PATH |
| 12053 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 12054 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12055 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12056 | ;; |
| 12057 | esac |
| 12058 | # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 12059 | postinstall_cmds='chmod 555 $lib' |
| 12060 | # or fails outright, so override atomically: |
| 12061 | install_override_mode=555 |
| 12062 | ;; |
| 12063 | |
| 12064 | interix[3-9]*) |
| 12065 | version_type=linux |
| 12066 | need_lib_prefix=no |
| 12067 | need_version=no |
| 12068 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 12069 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12070 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 12071 | shlibpath_var=LD_LIBRARY_PATH |
| 12072 | shlibpath_overrides_runpath=no |
| 12073 | hardcode_into_libs=yes |
| 12074 | ;; |
| 12075 | |
| 12076 | irix5* | irix6* | nonstopux*) |
| 12077 | case $host_os in |
| 12078 | nonstopux*) version_type=nonstopux ;; |
| 12079 | *) |
| 12080 | if test "$lt_cv_prog_gnu_ld" = yes; then |
| 12081 | version_type=linux |
| 12082 | else |
| 12083 | version_type=irix |
| 12084 | fi ;; |
| 12085 | esac |
| 12086 | need_lib_prefix=no |
| 12087 | need_version=no |
| 12088 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12089 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 12090 | case $host_os in |
| 12091 | irix5* | nonstopux*) |
| 12092 | libsuff= shlibsuff= |
| 12093 | ;; |
| 12094 | *) |
| 12095 | case $LD in # libtool.m4 will add one of these switches to LD |
| 12096 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 12097 | libsuff= shlibsuff= libmagic=32-bit;; |
| 12098 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 12099 | libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 12100 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 12101 | libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 12102 | *) libsuff= shlibsuff= libmagic=never-match;; |
| 12103 | esac |
| 12104 | ;; |
| 12105 | esac |
| 12106 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 12107 | shlibpath_overrides_runpath=no |
| 12108 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
| 12109 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
| 12110 | hardcode_into_libs=yes |
| 12111 | ;; |
| 12112 | |
| 12113 | # No shared lib support for Linux oldld, aout, or coff. |
| 12114 | linux*oldld* | linux*aout* | linux*coff*) |
| 12115 | dynamic_linker=no |
| 12116 | ;; |
| 12117 | |
| 12118 | # This must be Linux ELF. |
| 12119 | |
| 12120 | # uclinux* changes (here and below) have been submitted to the libtool |
| 12121 | # project, but have not yet been accepted: they are GCC-local changes |
| 12122 | # for the time being. (See |
| 12123 | # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) |
| 12124 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) |
| 12125 | version_type=linux |
| 12126 | need_lib_prefix=no |
| 12127 | need_version=no |
| 12128 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12129 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12130 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 12131 | shlibpath_var=LD_LIBRARY_PATH |
| 12132 | shlibpath_overrides_runpath=no |
| 12133 | |
| 12134 | # Some binutils ld are patched to set DT_RUNPATH |
| 12135 | if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
| 12136 | $as_echo_n "(cached) " >&6 |
| 12137 | else |
| 12138 | lt_cv_shlibpath_overrides_runpath=no |
| 12139 | save_LDFLAGS=$LDFLAGS |
| 12140 | save_libdir=$libdir |
| 12141 | eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
| 12142 | LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
| 12143 | if test x$gcc_no_link = xyes; then |
| 12144 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 12145 | fi |
| 12146 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12147 | /* end confdefs.h. */ |
| 12148 | |
| 12149 | int |
| 12150 | main () |
| 12151 | { |
| 12152 | |
| 12153 | ; |
| 12154 | return 0; |
| 12155 | } |
| 12156 | _ACEOF |
| 12157 | if ac_fn_c_try_link "$LINENO"; then : |
| 12158 | if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
| 12159 | lt_cv_shlibpath_overrides_runpath=yes |
| 12160 | fi |
| 12161 | fi |
| 12162 | rm -f core conftest.err conftest.$ac_objext \ |
| 12163 | conftest$ac_exeext conftest.$ac_ext |
| 12164 | LDFLAGS=$save_LDFLAGS |
| 12165 | libdir=$save_libdir |
| 12166 | |
| 12167 | fi |
| 12168 | |
| 12169 | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 12170 | |
| 12171 | # This implies no fast_install, which is unacceptable. |
| 12172 | # Some rework will be needed to allow for fast_install |
| 12173 | # before this can be enabled. |
| 12174 | hardcode_into_libs=yes |
| 12175 | |
| 12176 | # Append ld.so.conf contents to the search path |
| 12177 | if test -f /etc/ld.so.conf; then |
| 12178 | 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' ' '` |
| 12179 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 12180 | fi |
| 12181 | |
| 12182 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 12183 | # powerpc, because MkLinux only supported shared libraries with the |
| 12184 | # GNU dynamic linker. Since this was broken with cross compilers, |
| 12185 | # most powerpc-linux boxes support dynamic linking these days and |
| 12186 | # people can always --disable-shared, the test was removed, and we |
| 12187 | # assume the GNU/Linux dynamic linker is in use. |
| 12188 | dynamic_linker='GNU/Linux ld.so' |
| 12189 | ;; |
| 12190 | |
| 12191 | netbsd*) |
| 12192 | version_type=sunos |
| 12193 | need_lib_prefix=no |
| 12194 | need_version=no |
| 12195 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 12196 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 12197 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 12198 | dynamic_linker='NetBSD (a.out) ld.so' |
| 12199 | else |
| 12200 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 12201 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12202 | dynamic_linker='NetBSD ld.elf_so' |
| 12203 | fi |
| 12204 | shlibpath_var=LD_LIBRARY_PATH |
| 12205 | shlibpath_overrides_runpath=yes |
| 12206 | hardcode_into_libs=yes |
| 12207 | ;; |
| 12208 | |
| 12209 | newsos6) |
| 12210 | version_type=linux |
| 12211 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12212 | shlibpath_var=LD_LIBRARY_PATH |
| 12213 | shlibpath_overrides_runpath=yes |
| 12214 | ;; |
| 12215 | |
| 12216 | *nto* | *qnx*) |
| 12217 | version_type=qnx |
| 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=no |
| 12224 | hardcode_into_libs=yes |
| 12225 | dynamic_linker='ldqnx.so' |
| 12226 | ;; |
| 12227 | |
| 12228 | openbsd*) |
| 12229 | version_type=sunos |
| 12230 | sys_lib_dlsearch_path_spec="/usr/lib" |
| 12231 | need_lib_prefix=no |
| 12232 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 12233 | case $host_os in |
| 12234 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
| 12235 | *) need_version=no ;; |
| 12236 | esac |
| 12237 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 12238 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 12239 | shlibpath_var=LD_LIBRARY_PATH |
| 12240 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 12241 | case $host_os in |
| 12242 | openbsd2.[89] | openbsd2.[89].*) |
| 12243 | shlibpath_overrides_runpath=no |
| 12244 | ;; |
| 12245 | *) |
| 12246 | shlibpath_overrides_runpath=yes |
| 12247 | ;; |
| 12248 | esac |
| 12249 | else |
| 12250 | shlibpath_overrides_runpath=yes |
| 12251 | fi |
| 12252 | ;; |
| 12253 | |
| 12254 | os2*) |
| 12255 | libname_spec='$name' |
| 12256 | shrext_cmds=".dll" |
| 12257 | need_lib_prefix=no |
| 12258 | library_names_spec='$libname${shared_ext} $libname.a' |
| 12259 | dynamic_linker='OS/2 ld.exe' |
| 12260 | shlibpath_var=LIBPATH |
| 12261 | ;; |
| 12262 | |
| 12263 | osf3* | osf4* | osf5*) |
| 12264 | version_type=osf |
| 12265 | need_lib_prefix=no |
| 12266 | need_version=no |
| 12267 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12268 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12269 | shlibpath_var=LD_LIBRARY_PATH |
| 12270 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
| 12271 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 12272 | ;; |
| 12273 | |
| 12274 | rdos*) |
| 12275 | dynamic_linker=no |
| 12276 | ;; |
| 12277 | |
| 12278 | solaris*) |
| 12279 | version_type=linux |
| 12280 | need_lib_prefix=no |
| 12281 | need_version=no |
| 12282 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12283 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12284 | shlibpath_var=LD_LIBRARY_PATH |
| 12285 | shlibpath_overrides_runpath=yes |
| 12286 | hardcode_into_libs=yes |
| 12287 | # ldd complains unless libraries are executable |
| 12288 | postinstall_cmds='chmod +x $lib' |
| 12289 | ;; |
| 12290 | |
| 12291 | sunos4*) |
| 12292 | version_type=sunos |
| 12293 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 12294 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 12295 | shlibpath_var=LD_LIBRARY_PATH |
| 12296 | shlibpath_overrides_runpath=yes |
| 12297 | if test "$with_gnu_ld" = yes; then |
| 12298 | need_lib_prefix=no |
| 12299 | fi |
| 12300 | need_version=yes |
| 12301 | ;; |
| 12302 | |
| 12303 | sysv4 | sysv4.3*) |
| 12304 | version_type=linux |
| 12305 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12306 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12307 | shlibpath_var=LD_LIBRARY_PATH |
| 12308 | case $host_vendor in |
| 12309 | sni) |
| 12310 | shlibpath_overrides_runpath=no |
| 12311 | need_lib_prefix=no |
| 12312 | runpath_var=LD_RUN_PATH |
| 12313 | ;; |
| 12314 | siemens) |
| 12315 | need_lib_prefix=no |
| 12316 | ;; |
| 12317 | motorola) |
| 12318 | need_lib_prefix=no |
| 12319 | need_version=no |
| 12320 | shlibpath_overrides_runpath=no |
| 12321 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
| 12322 | ;; |
| 12323 | esac |
| 12324 | ;; |
| 12325 | |
| 12326 | sysv4*MP*) |
| 12327 | if test -d /usr/nec ;then |
| 12328 | version_type=linux |
| 12329 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
| 12330 | soname_spec='$libname${shared_ext}.$major' |
| 12331 | shlibpath_var=LD_LIBRARY_PATH |
| 12332 | fi |
| 12333 | ;; |
| 12334 | |
| 12335 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 12336 | version_type=freebsd-elf |
| 12337 | need_lib_prefix=no |
| 12338 | need_version=no |
| 12339 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 12340 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12341 | shlibpath_var=LD_LIBRARY_PATH |
| 12342 | shlibpath_overrides_runpath=yes |
| 12343 | hardcode_into_libs=yes |
| 12344 | if test "$with_gnu_ld" = yes; then |
| 12345 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 12346 | else |
| 12347 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 12348 | case $host_os in |
| 12349 | sco3.2v5*) |
| 12350 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 12351 | ;; |
| 12352 | esac |
| 12353 | fi |
| 12354 | sys_lib_dlsearch_path_spec='/usr/lib' |
| 12355 | ;; |
| 12356 | |
| 12357 | tpf*) |
| 12358 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 12359 | version_type=linux |
| 12360 | need_lib_prefix=no |
| 12361 | need_version=no |
| 12362 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12363 | shlibpath_var=LD_LIBRARY_PATH |
| 12364 | shlibpath_overrides_runpath=no |
| 12365 | hardcode_into_libs=yes |
| 12366 | ;; |
| 12367 | |
| 12368 | uts4*) |
| 12369 | version_type=linux |
| 12370 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12371 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12372 | shlibpath_var=LD_LIBRARY_PATH |
| 12373 | ;; |
| 12374 | |
| 12375 | # Shared libraries for VwWorks, >= 7 only at this stage |
| 12376 | # and (fpic) still incompatible with "large" code models |
| 12377 | # in a few configurations. Only for RTP mode in any case, |
| 12378 | # and upon explicit request at configure time. |
| 12379 | vxworks7*) |
| 12380 | dynamic_linker=no |
| 12381 | case ${with_multisubdir}-${enable_shared} in |
| 12382 | *large*) |
| 12383 | ;; |
| 12384 | *mrtp*-yes) |
| 12385 | version_type=linux |
| 12386 | need_lib_prefix=no |
| 12387 | need_version=no |
| 12388 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12389 | soname_spec='${libname}${release}${shared_ext}$major' |
| 12390 | dynamic_linker="$host_os module_loader" |
| 12391 | ;; |
| 12392 | esac |
| 12393 | ;; |
| 12394 | *) |
| 12395 | dynamic_linker=no |
| 12396 | ;; |
| 12397 | esac |
| 12398 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 12399 | $as_echo "$dynamic_linker" >&6; } |
| 12400 | test "$dynamic_linker" = no && can_build_shared=no |
| 12401 | |
| 12402 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 12403 | if test "$GCC" = yes; then |
| 12404 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 12405 | fi |
| 12406 | |
| 12407 | if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
| 12408 | sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
| 12409 | fi |
| 12410 | if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
| 12411 | sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
| 12412 | fi |
| 12413 | |
| 12414 | |
| 12415 | |
| 12416 | |
| 12417 | |
| 12418 | |
| 12419 | |
| 12420 | |
| 12421 | |
| 12422 | |
| 12423 | |
| 12424 | |
| 12425 | |
| 12426 | |
| 12427 | |
| 12428 | |
| 12429 | |
| 12430 | |
| 12431 | |
| 12432 | |
| 12433 | |
| 12434 | |
| 12435 | |
| 12436 | |
| 12437 | |
| 12438 | |
| 12439 | |
| 12440 | |
| 12441 | |
| 12442 | |
| 12443 | |
| 12444 | |
| 12445 | |
| 12446 | |
| 12447 | |
| 12448 | |
| 12449 | |
| 12450 | |
| 12451 | |
| 12452 | |
| 12453 | |
| 12454 | |
| 12455 | |
| 12456 | |
| 12457 | |
| 12458 | |
| 12459 | |
| 12460 | |
| 12461 | |
| 12462 | |
| 12463 | |
| 12464 | |
| 12465 | |
| 12466 | |
| 12467 | |
| 12468 | |
| 12469 | |
| 12470 | |
| 12471 | |
| 12472 | |
| 12473 | |
| 12474 | |
| 12475 | |
| 12476 | |
| 12477 | |
| 12478 | |
| 12479 | |
| 12480 | |
| 12481 | |
| 12482 | |
| 12483 | |
| 12484 | |
| 12485 | |
| 12486 | |
| 12487 | |
| 12488 | |
| 12489 | |
| 12490 | |
| 12491 | |
| 12492 | |
| 12493 | |
| 12494 | |
| 12495 | |
| 12496 | |
| 12497 | |
| 12498 | |
| 12499 | |
| 12500 | |
| 12501 | |
| 12502 | |
| 12503 | |
| 12504 | |
| 12505 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 12506 | $as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
| 12507 | hardcode_action= |
| 12508 | if test -n "$hardcode_libdir_flag_spec" || |
| 12509 | test -n "$runpath_var" || |
| 12510 | test "X$hardcode_automatic" = "Xyes" ; then |
| 12511 | |
| 12512 | # We can hardcode non-existent directories. |
| 12513 | if test "$hardcode_direct" != no && |
| 12514 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 12515 | # have to relink, otherwise we might link with an installed library |
| 12516 | # when we should be linking with a yet-to-be-installed one |
| 12517 | ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
| 12518 | test "$hardcode_minus_L" != no; then |
| 12519 | # Linking always hardcodes the temporary library directory. |
| 12520 | hardcode_action=relink |
| 12521 | else |
| 12522 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 12523 | hardcode_action=immediate |
| 12524 | fi |
| 12525 | else |
| 12526 | # We cannot hardcode anything, or else we can only hardcode existing |
| 12527 | # directories. |
| 12528 | hardcode_action=unsupported |
| 12529 | fi |
| 12530 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 12531 | $as_echo "$hardcode_action" >&6; } |
| 12532 | |
| 12533 | if test "$hardcode_action" = relink || |
| 12534 | test "$inherit_rpath" = yes; then |
| 12535 | # Fast installation is not supported |
| 12536 | enable_fast_install=no |
| 12537 | elif test "$shlibpath_overrides_runpath" = yes || |
| 12538 | test "$enable_shared" = no; then |
| 12539 | # Fast installation is not necessary |
| 12540 | enable_fast_install=needless |
| 12541 | fi |
| 12542 | |
| 12543 | |
| 12544 | |
| 12545 | |
| 12546 | |
| 12547 | |
| 12548 | if test "x$enable_dlopen" != xyes; then |
| 12549 | enable_dlopen=unknown |
| 12550 | enable_dlopen_self=unknown |
| 12551 | enable_dlopen_self_static=unknown |
| 12552 | else |
| 12553 | lt_cv_dlopen=no |
| 12554 | lt_cv_dlopen_libs= |
| 12555 | |
| 12556 | case $host_os in |
| 12557 | beos*) |
| 12558 | lt_cv_dlopen="load_add_on" |
| 12559 | lt_cv_dlopen_libs= |
| 12560 | lt_cv_dlopen_self=yes |
| 12561 | ;; |
| 12562 | |
| 12563 | mingw* | pw32* | cegcc*) |
| 12564 | lt_cv_dlopen="LoadLibrary" |
| 12565 | lt_cv_dlopen_libs= |
| 12566 | ;; |
| 12567 | |
| 12568 | cygwin*) |
| 12569 | lt_cv_dlopen="dlopen" |
| 12570 | lt_cv_dlopen_libs= |
| 12571 | ;; |
| 12572 | |
| 12573 | darwin*) |
| 12574 | # if libdl is installed we need to link against it |
| 12575 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12576 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 12577 | if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 12578 | $as_echo_n "(cached) " >&6 |
| 12579 | else |
| 12580 | ac_check_lib_save_LIBS=$LIBS |
| 12581 | LIBS="-ldl $LIBS" |
| 12582 | if test x$gcc_no_link = xyes; then |
| 12583 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 12584 | fi |
| 12585 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12586 | /* end confdefs.h. */ |
| 12587 | |
| 12588 | /* Override any GCC internal prototype to avoid an error. |
| 12589 | Use char because int might match the return type of a GCC |
| 12590 | builtin and then its argument prototype would still apply. */ |
| 12591 | #ifdef __cplusplus |
| 12592 | extern "C" |
| 12593 | #endif |
| 12594 | char dlopen (); |
| 12595 | int |
| 12596 | main () |
| 12597 | { |
| 12598 | return dlopen (); |
| 12599 | ; |
| 12600 | return 0; |
| 12601 | } |
| 12602 | _ACEOF |
| 12603 | if ac_fn_c_try_link "$LINENO"; then : |
| 12604 | ac_cv_lib_dl_dlopen=yes |
| 12605 | else |
| 12606 | ac_cv_lib_dl_dlopen=no |
| 12607 | fi |
| 12608 | rm -f core conftest.err conftest.$ac_objext \ |
| 12609 | conftest$ac_exeext conftest.$ac_ext |
| 12610 | LIBS=$ac_check_lib_save_LIBS |
| 12611 | fi |
| 12612 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12613 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 12614 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 12615 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 12616 | else |
| 12617 | |
| 12618 | lt_cv_dlopen="dyld" |
| 12619 | lt_cv_dlopen_libs= |
| 12620 | lt_cv_dlopen_self=yes |
| 12621 | |
| 12622 | fi |
| 12623 | |
| 12624 | ;; |
| 12625 | |
| 12626 | *) |
| 12627 | ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 12628 | if test "x$ac_cv_func_shl_load" = xyes; then : |
| 12629 | lt_cv_dlopen="shl_load" |
| 12630 | else |
| 12631 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 12632 | $as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 12633 | if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 12634 | $as_echo_n "(cached) " >&6 |
| 12635 | else |
| 12636 | ac_check_lib_save_LIBS=$LIBS |
| 12637 | LIBS="-ldld $LIBS" |
| 12638 | if test x$gcc_no_link = xyes; then |
| 12639 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 12640 | fi |
| 12641 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12642 | /* end confdefs.h. */ |
| 12643 | |
| 12644 | /* Override any GCC internal prototype to avoid an error. |
| 12645 | Use char because int might match the return type of a GCC |
| 12646 | builtin and then its argument prototype would still apply. */ |
| 12647 | #ifdef __cplusplus |
| 12648 | extern "C" |
| 12649 | #endif |
| 12650 | char shl_load (); |
| 12651 | int |
| 12652 | main () |
| 12653 | { |
| 12654 | return shl_load (); |
| 12655 | ; |
| 12656 | return 0; |
| 12657 | } |
| 12658 | _ACEOF |
| 12659 | if ac_fn_c_try_link "$LINENO"; then : |
| 12660 | ac_cv_lib_dld_shl_load=yes |
| 12661 | else |
| 12662 | ac_cv_lib_dld_shl_load=no |
| 12663 | fi |
| 12664 | rm -f core conftest.err conftest.$ac_objext \ |
| 12665 | conftest$ac_exeext conftest.$ac_ext |
| 12666 | LIBS=$ac_check_lib_save_LIBS |
| 12667 | fi |
| 12668 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12669 | $as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 12670 | if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 12671 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
| 12672 | else |
| 12673 | ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 12674 | if test "x$ac_cv_func_dlopen" = xyes; then : |
| 12675 | lt_cv_dlopen="dlopen" |
| 12676 | else |
| 12677 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12678 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 12679 | if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 12680 | $as_echo_n "(cached) " >&6 |
| 12681 | else |
| 12682 | ac_check_lib_save_LIBS=$LIBS |
| 12683 | LIBS="-ldl $LIBS" |
| 12684 | if test x$gcc_no_link = xyes; then |
| 12685 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 12686 | fi |
| 12687 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12688 | /* end confdefs.h. */ |
| 12689 | |
| 12690 | /* Override any GCC internal prototype to avoid an error. |
| 12691 | Use char because int might match the return type of a GCC |
| 12692 | builtin and then its argument prototype would still apply. */ |
| 12693 | #ifdef __cplusplus |
| 12694 | extern "C" |
| 12695 | #endif |
| 12696 | char dlopen (); |
| 12697 | int |
| 12698 | main () |
| 12699 | { |
| 12700 | return dlopen (); |
| 12701 | ; |
| 12702 | return 0; |
| 12703 | } |
| 12704 | _ACEOF |
| 12705 | if ac_fn_c_try_link "$LINENO"; then : |
| 12706 | ac_cv_lib_dl_dlopen=yes |
| 12707 | else |
| 12708 | ac_cv_lib_dl_dlopen=no |
| 12709 | fi |
| 12710 | rm -f core conftest.err conftest.$ac_objext \ |
| 12711 | conftest$ac_exeext conftest.$ac_ext |
| 12712 | LIBS=$ac_check_lib_save_LIBS |
| 12713 | fi |
| 12714 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12715 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 12716 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 12717 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 12718 | else |
| 12719 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 12720 | $as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 12721 | if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 12722 | $as_echo_n "(cached) " >&6 |
| 12723 | else |
| 12724 | ac_check_lib_save_LIBS=$LIBS |
| 12725 | LIBS="-lsvld $LIBS" |
| 12726 | if test x$gcc_no_link = xyes; then |
| 12727 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 12728 | fi |
| 12729 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12730 | /* end confdefs.h. */ |
| 12731 | |
| 12732 | /* Override any GCC internal prototype to avoid an error. |
| 12733 | Use char because int might match the return type of a GCC |
| 12734 | builtin and then its argument prototype would still apply. */ |
| 12735 | #ifdef __cplusplus |
| 12736 | extern "C" |
| 12737 | #endif |
| 12738 | char dlopen (); |
| 12739 | int |
| 12740 | main () |
| 12741 | { |
| 12742 | return dlopen (); |
| 12743 | ; |
| 12744 | return 0; |
| 12745 | } |
| 12746 | _ACEOF |
| 12747 | if ac_fn_c_try_link "$LINENO"; then : |
| 12748 | ac_cv_lib_svld_dlopen=yes |
| 12749 | else |
| 12750 | ac_cv_lib_svld_dlopen=no |
| 12751 | fi |
| 12752 | rm -f core conftest.err conftest.$ac_objext \ |
| 12753 | conftest$ac_exeext conftest.$ac_ext |
| 12754 | LIBS=$ac_check_lib_save_LIBS |
| 12755 | fi |
| 12756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12757 | $as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 12758 | if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 12759 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
| 12760 | else |
| 12761 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 12762 | $as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 12763 | if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 12764 | $as_echo_n "(cached) " >&6 |
| 12765 | else |
| 12766 | ac_check_lib_save_LIBS=$LIBS |
| 12767 | LIBS="-ldld $LIBS" |
| 12768 | if test x$gcc_no_link = xyes; then |
| 12769 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 12770 | fi |
| 12771 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12772 | /* end confdefs.h. */ |
| 12773 | |
| 12774 | /* Override any GCC internal prototype to avoid an error. |
| 12775 | Use char because int might match the return type of a GCC |
| 12776 | builtin and then its argument prototype would still apply. */ |
| 12777 | #ifdef __cplusplus |
| 12778 | extern "C" |
| 12779 | #endif |
| 12780 | char dld_link (); |
| 12781 | int |
| 12782 | main () |
| 12783 | { |
| 12784 | return dld_link (); |
| 12785 | ; |
| 12786 | return 0; |
| 12787 | } |
| 12788 | _ACEOF |
| 12789 | if ac_fn_c_try_link "$LINENO"; then : |
| 12790 | ac_cv_lib_dld_dld_link=yes |
| 12791 | else |
| 12792 | ac_cv_lib_dld_dld_link=no |
| 12793 | fi |
| 12794 | rm -f core conftest.err conftest.$ac_objext \ |
| 12795 | conftest$ac_exeext conftest.$ac_ext |
| 12796 | LIBS=$ac_check_lib_save_LIBS |
| 12797 | fi |
| 12798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12799 | $as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 12800 | if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 12801 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
| 12802 | fi |
| 12803 | |
| 12804 | |
| 12805 | fi |
| 12806 | |
| 12807 | |
| 12808 | fi |
| 12809 | |
| 12810 | |
| 12811 | fi |
| 12812 | |
| 12813 | |
| 12814 | fi |
| 12815 | |
| 12816 | |
| 12817 | fi |
| 12818 | |
| 12819 | ;; |
| 12820 | esac |
| 12821 | |
| 12822 | if test "x$lt_cv_dlopen" != xno; then |
| 12823 | enable_dlopen=yes |
| 12824 | else |
| 12825 | enable_dlopen=no |
| 12826 | fi |
| 12827 | |
| 12828 | case $lt_cv_dlopen in |
| 12829 | dlopen) |
| 12830 | save_CPPFLAGS="$CPPFLAGS" |
| 12831 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 12832 | |
| 12833 | save_LDFLAGS="$LDFLAGS" |
| 12834 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 12835 | |
| 12836 | save_LIBS="$LIBS" |
| 12837 | LIBS="$lt_cv_dlopen_libs $LIBS" |
| 12838 | |
| 12839 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 12840 | $as_echo_n "checking whether a program can dlopen itself... " >&6; } |
| 12841 | if ${lt_cv_dlopen_self+:} false; then : |
| 12842 | $as_echo_n "(cached) " >&6 |
| 12843 | else |
| 12844 | if test "$cross_compiling" = yes; then : |
| 12845 | lt_cv_dlopen_self=cross |
| 12846 | else |
| 12847 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12848 | lt_status=$lt_dlunknown |
| 12849 | cat > conftest.$ac_ext <<_LT_EOF |
| 12850 | #line 12850 "configure" |
| 12851 | #include "confdefs.h" |
| 12852 | |
| 12853 | #if HAVE_DLFCN_H |
| 12854 | #include <dlfcn.h> |
| 12855 | #endif |
| 12856 | |
| 12857 | #include <stdio.h> |
| 12858 | |
| 12859 | #ifdef RTLD_GLOBAL |
| 12860 | # define LT_DLGLOBAL RTLD_GLOBAL |
| 12861 | #else |
| 12862 | # ifdef DL_GLOBAL |
| 12863 | # define LT_DLGLOBAL DL_GLOBAL |
| 12864 | # else |
| 12865 | # define LT_DLGLOBAL 0 |
| 12866 | # endif |
| 12867 | #endif |
| 12868 | |
| 12869 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 12870 | find out it does not work in some platform. */ |
| 12871 | #ifndef LT_DLLAZY_OR_NOW |
| 12872 | # ifdef RTLD_LAZY |
| 12873 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 12874 | # else |
| 12875 | # ifdef DL_LAZY |
| 12876 | # define LT_DLLAZY_OR_NOW DL_LAZY |
| 12877 | # else |
| 12878 | # ifdef RTLD_NOW |
| 12879 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
| 12880 | # else |
| 12881 | # ifdef DL_NOW |
| 12882 | # define LT_DLLAZY_OR_NOW DL_NOW |
| 12883 | # else |
| 12884 | # define LT_DLLAZY_OR_NOW 0 |
| 12885 | # endif |
| 12886 | # endif |
| 12887 | # endif |
| 12888 | # endif |
| 12889 | #endif |
| 12890 | |
| 12891 | /* When -fvisbility=hidden is used, assume the code has been annotated |
| 12892 | correspondingly for the symbols needed. */ |
| 12893 | #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 12894 | void fnord () __attribute__((visibility("default"))); |
| 12895 | #endif |
| 12896 | |
| 12897 | void fnord () { int i=42; } |
| 12898 | int main () |
| 12899 | { |
| 12900 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12901 | int status = $lt_dlunknown; |
| 12902 | |
| 12903 | if (self) |
| 12904 | { |
| 12905 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 12906 | else |
| 12907 | { |
| 12908 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 12909 | else puts (dlerror ()); |
| 12910 | } |
| 12911 | /* dlclose (self); */ |
| 12912 | } |
| 12913 | else |
| 12914 | puts (dlerror ()); |
| 12915 | |
| 12916 | return status; |
| 12917 | } |
| 12918 | _LT_EOF |
| 12919 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 12920 | (eval $ac_link) 2>&5 |
| 12921 | ac_status=$? |
| 12922 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12923 | test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 12924 | (./conftest; exit; ) >&5 2>/dev/null |
| 12925 | lt_status=$? |
| 12926 | case x$lt_status in |
| 12927 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 12928 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 12929 | x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
| 12930 | esac |
| 12931 | else : |
| 12932 | # compilation failed |
| 12933 | lt_cv_dlopen_self=no |
| 12934 | fi |
| 12935 | fi |
| 12936 | rm -fr conftest* |
| 12937 | |
| 12938 | |
| 12939 | fi |
| 12940 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 12941 | $as_echo "$lt_cv_dlopen_self" >&6; } |
| 12942 | |
| 12943 | if test "x$lt_cv_dlopen_self" = xyes; then |
| 12944 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 12945 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 12946 | $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
| 12947 | if ${lt_cv_dlopen_self_static+:} false; then : |
| 12948 | $as_echo_n "(cached) " >&6 |
| 12949 | else |
| 12950 | if test "$cross_compiling" = yes; then : |
| 12951 | lt_cv_dlopen_self_static=cross |
| 12952 | else |
| 12953 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12954 | lt_status=$lt_dlunknown |
| 12955 | cat > conftest.$ac_ext <<_LT_EOF |
| 12956 | #line 12956 "configure" |
| 12957 | #include "confdefs.h" |
| 12958 | |
| 12959 | #if HAVE_DLFCN_H |
| 12960 | #include <dlfcn.h> |
| 12961 | #endif |
| 12962 | |
| 12963 | #include <stdio.h> |
| 12964 | |
| 12965 | #ifdef RTLD_GLOBAL |
| 12966 | # define LT_DLGLOBAL RTLD_GLOBAL |
| 12967 | #else |
| 12968 | # ifdef DL_GLOBAL |
| 12969 | # define LT_DLGLOBAL DL_GLOBAL |
| 12970 | # else |
| 12971 | # define LT_DLGLOBAL 0 |
| 12972 | # endif |
| 12973 | #endif |
| 12974 | |
| 12975 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 12976 | find out it does not work in some platform. */ |
| 12977 | #ifndef LT_DLLAZY_OR_NOW |
| 12978 | # ifdef RTLD_LAZY |
| 12979 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 12980 | # else |
| 12981 | # ifdef DL_LAZY |
| 12982 | # define LT_DLLAZY_OR_NOW DL_LAZY |
| 12983 | # else |
| 12984 | # ifdef RTLD_NOW |
| 12985 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
| 12986 | # else |
| 12987 | # ifdef DL_NOW |
| 12988 | # define LT_DLLAZY_OR_NOW DL_NOW |
| 12989 | # else |
| 12990 | # define LT_DLLAZY_OR_NOW 0 |
| 12991 | # endif |
| 12992 | # endif |
| 12993 | # endif |
| 12994 | # endif |
| 12995 | #endif |
| 12996 | |
| 12997 | /* When -fvisbility=hidden is used, assume the code has been annotated |
| 12998 | correspondingly for the symbols needed. */ |
| 12999 | #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 13000 | void fnord () __attribute__((visibility("default"))); |
| 13001 | #endif |
| 13002 | |
| 13003 | void fnord () { int i=42; } |
| 13004 | int main () |
| 13005 | { |
| 13006 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 13007 | int status = $lt_dlunknown; |
| 13008 | |
| 13009 | if (self) |
| 13010 | { |
| 13011 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 13012 | else |
| 13013 | { |
| 13014 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 13015 | else puts (dlerror ()); |
| 13016 | } |
| 13017 | /* dlclose (self); */ |
| 13018 | } |
| 13019 | else |
| 13020 | puts (dlerror ()); |
| 13021 | |
| 13022 | return status; |
| 13023 | } |
| 13024 | _LT_EOF |
| 13025 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 13026 | (eval $ac_link) 2>&5 |
| 13027 | ac_status=$? |
| 13028 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13029 | test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 13030 | (./conftest; exit; ) >&5 2>/dev/null |
| 13031 | lt_status=$? |
| 13032 | case x$lt_status in |
| 13033 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 13034 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 13035 | x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
| 13036 | esac |
| 13037 | else : |
| 13038 | # compilation failed |
| 13039 | lt_cv_dlopen_self_static=no |
| 13040 | fi |
| 13041 | fi |
| 13042 | rm -fr conftest* |
| 13043 | |
| 13044 | |
| 13045 | fi |
| 13046 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 13047 | $as_echo "$lt_cv_dlopen_self_static" >&6; } |
| 13048 | fi |
| 13049 | |
| 13050 | CPPFLAGS="$save_CPPFLAGS" |
| 13051 | LDFLAGS="$save_LDFLAGS" |
| 13052 | LIBS="$save_LIBS" |
| 13053 | ;; |
| 13054 | esac |
| 13055 | |
| 13056 | case $lt_cv_dlopen_self in |
| 13057 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
| 13058 | *) enable_dlopen_self=unknown ;; |
| 13059 | esac |
| 13060 | |
| 13061 | case $lt_cv_dlopen_self_static in |
| 13062 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
| 13063 | *) enable_dlopen_self_static=unknown ;; |
| 13064 | esac |
| 13065 | fi |
| 13066 | |
| 13067 | |
| 13068 | |
| 13069 | |
| 13070 | |
| 13071 | |
| 13072 | |
| 13073 | |
| 13074 | |
| 13075 | |
| 13076 | |
| 13077 | |
| 13078 | |
| 13079 | |
| 13080 | |
| 13081 | |
| 13082 | |
| 13083 | striplib= |
| 13084 | old_striplib= |
| 13085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 13086 | $as_echo_n "checking whether stripping libraries is possible... " >&6; } |
| 13087 | if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 13088 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 13089 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 13090 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13091 | $as_echo "yes" >&6; } |
| 13092 | else |
| 13093 | # FIXME - insert some real tests, host_os isn't really good enough |
| 13094 | case $host_os in |
| 13095 | darwin*) |
| 13096 | if test -n "$STRIP" ; then |
| 13097 | striplib="$STRIP -x" |
| 13098 | old_striplib="$STRIP -S" |
| 13099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13100 | $as_echo "yes" >&6; } |
| 13101 | else |
| 13102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13103 | $as_echo "no" >&6; } |
| 13104 | fi |
| 13105 | ;; |
| 13106 | *) |
| 13107 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13108 | $as_echo "no" >&6; } |
| 13109 | ;; |
| 13110 | esac |
| 13111 | fi |
| 13112 | |
| 13113 | |
| 13114 | |
| 13115 | |
| 13116 | |
| 13117 | |
| 13118 | |
| 13119 | |
| 13120 | |
| 13121 | |
| 13122 | |
| 13123 | |
| 13124 | # Report which library types will actually be built |
| 13125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 13126 | $as_echo_n "checking if libtool supports shared libraries... " >&6; } |
| 13127 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 13128 | $as_echo "$can_build_shared" >&6; } |
| 13129 | |
| 13130 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 13131 | $as_echo_n "checking whether to build shared libraries... " >&6; } |
| 13132 | test "$can_build_shared" = "no" && enable_shared=no |
| 13133 | |
| 13134 | # On AIX, shared libraries and static libraries use the same namespace, and |
| 13135 | # are all built from PIC. |
| 13136 | case $host_os in |
| 13137 | aix3*) |
| 13138 | test "$enable_shared" = yes && enable_static=no |
| 13139 | if test -n "$RANLIB"; then |
| 13140 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 13141 | postinstall_cmds='$RANLIB $lib' |
| 13142 | fi |
| 13143 | ;; |
| 13144 | |
| 13145 | aix[4-9]*) |
| 13146 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
| 13147 | test "$enable_shared" = yes && enable_static=no |
| 13148 | fi |
| 13149 | ;; |
| 13150 | esac |
| 13151 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 13152 | $as_echo "$enable_shared" >&6; } |
| 13153 | |
| 13154 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 13155 | $as_echo_n "checking whether to build static libraries... " >&6; } |
| 13156 | # Make sure either enable_shared or enable_static is yes. |
| 13157 | test "$enable_shared" = yes || enable_static=yes |
| 13158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 13159 | $as_echo "$enable_static" >&6; } |
| 13160 | |
| 13161 | |
| 13162 | |
| 13163 | |
| 13164 | fi |
| 13165 | ac_ext=c |
| 13166 | ac_cpp='$CPP $CPPFLAGS' |
| 13167 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13168 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13169 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13170 | |
| 13171 | CC="$lt_save_CC" |
| 13172 | |
| 13173 | |
| 13174 | |
| 13175 | |
| 13176 | |
| 13177 | |
| 13178 | |
| 13179 | |
| 13180 | |
| 13181 | |
| 13182 | |
| 13183 | |
| 13184 | |
| 13185 | ac_config_commands="$ac_config_commands libtool" |
| 13186 | |
| 13187 | |
| 13188 | |
| 13189 | |
| 13190 | # Only expand once: |
| 13191 | |
| 13192 | |
| 13193 | LIBM= |
| 13194 | case $host in |
| 13195 | *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) |
| 13196 | # These system don't have libm, or don't need it |
| 13197 | ;; |
| 13198 | *-ncr-sysv4.3*) |
| 13199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 |
| 13200 | $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; } |
| 13201 | if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then : |
| 13202 | $as_echo_n "(cached) " >&6 |
| 13203 | else |
| 13204 | ac_check_lib_save_LIBS=$LIBS |
| 13205 | LIBS="-lmw $LIBS" |
| 13206 | if test x$gcc_no_link = xyes; then |
| 13207 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 13208 | fi |
| 13209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13210 | /* end confdefs.h. */ |
| 13211 | |
| 13212 | /* Override any GCC internal prototype to avoid an error. |
| 13213 | Use char because int might match the return type of a GCC |
| 13214 | builtin and then its argument prototype would still apply. */ |
| 13215 | #ifdef __cplusplus |
| 13216 | extern "C" |
| 13217 | #endif |
| 13218 | char _mwvalidcheckl (); |
| 13219 | int |
| 13220 | main () |
| 13221 | { |
| 13222 | return _mwvalidcheckl (); |
| 13223 | ; |
| 13224 | return 0; |
| 13225 | } |
| 13226 | _ACEOF |
| 13227 | if ac_fn_c_try_link "$LINENO"; then : |
| 13228 | ac_cv_lib_mw__mwvalidcheckl=yes |
| 13229 | else |
| 13230 | ac_cv_lib_mw__mwvalidcheckl=no |
| 13231 | fi |
| 13232 | rm -f core conftest.err conftest.$ac_objext \ |
| 13233 | conftest$ac_exeext conftest.$ac_ext |
| 13234 | LIBS=$ac_check_lib_save_LIBS |
| 13235 | fi |
| 13236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 |
| 13237 | $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; } |
| 13238 | if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then : |
| 13239 | LIBM="-lmw" |
| 13240 | fi |
| 13241 | |
| 13242 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 13243 | $as_echo_n "checking for cos in -lm... " >&6; } |
| 13244 | if ${ac_cv_lib_m_cos+:} false; then : |
| 13245 | $as_echo_n "(cached) " >&6 |
| 13246 | else |
| 13247 | ac_check_lib_save_LIBS=$LIBS |
| 13248 | LIBS="-lm $LIBS" |
| 13249 | if test x$gcc_no_link = xyes; then |
| 13250 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 13251 | fi |
| 13252 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13253 | /* end confdefs.h. */ |
| 13254 | |
| 13255 | /* Override any GCC internal prototype to avoid an error. |
| 13256 | Use char because int might match the return type of a GCC |
| 13257 | builtin and then its argument prototype would still apply. */ |
| 13258 | #ifdef __cplusplus |
| 13259 | extern "C" |
| 13260 | #endif |
| 13261 | char cos (); |
| 13262 | int |
| 13263 | main () |
| 13264 | { |
| 13265 | return cos (); |
| 13266 | ; |
| 13267 | return 0; |
| 13268 | } |
| 13269 | _ACEOF |
| 13270 | if ac_fn_c_try_link "$LINENO"; then : |
| 13271 | ac_cv_lib_m_cos=yes |
| 13272 | else |
| 13273 | ac_cv_lib_m_cos=no |
| 13274 | fi |
| 13275 | rm -f core conftest.err conftest.$ac_objext \ |
| 13276 | conftest$ac_exeext conftest.$ac_ext |
| 13277 | LIBS=$ac_check_lib_save_LIBS |
| 13278 | fi |
| 13279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 13280 | $as_echo "$ac_cv_lib_m_cos" >&6; } |
| 13281 | if test "x$ac_cv_lib_m_cos" = xyes; then : |
| 13282 | LIBM="$LIBM -lm" |
| 13283 | fi |
| 13284 | |
| 13285 | ;; |
| 13286 | *) |
| 13287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 13288 | $as_echo_n "checking for cos in -lm... " >&6; } |
| 13289 | if ${ac_cv_lib_m_cos+:} false; then : |
| 13290 | $as_echo_n "(cached) " >&6 |
| 13291 | else |
| 13292 | ac_check_lib_save_LIBS=$LIBS |
| 13293 | LIBS="-lm $LIBS" |
| 13294 | if test x$gcc_no_link = xyes; then |
| 13295 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 13296 | fi |
| 13297 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13298 | /* end confdefs.h. */ |
| 13299 | |
| 13300 | /* Override any GCC internal prototype to avoid an error. |
| 13301 | Use char because int might match the return type of a GCC |
| 13302 | builtin and then its argument prototype would still apply. */ |
| 13303 | #ifdef __cplusplus |
| 13304 | extern "C" |
| 13305 | #endif |
| 13306 | char cos (); |
| 13307 | int |
| 13308 | main () |
| 13309 | { |
| 13310 | return cos (); |
| 13311 | ; |
| 13312 | return 0; |
| 13313 | } |
| 13314 | _ACEOF |
| 13315 | if ac_fn_c_try_link "$LINENO"; then : |
| 13316 | ac_cv_lib_m_cos=yes |
| 13317 | else |
| 13318 | ac_cv_lib_m_cos=no |
| 13319 | fi |
| 13320 | rm -f core conftest.err conftest.$ac_objext \ |
| 13321 | conftest$ac_exeext conftest.$ac_ext |
| 13322 | LIBS=$ac_check_lib_save_LIBS |
| 13323 | fi |
| 13324 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 13325 | $as_echo "$ac_cv_lib_m_cos" >&6; } |
| 13326 | if test "x$ac_cv_lib_m_cos" = xyes; then : |
| 13327 | LIBM="-lm" |
| 13328 | fi |
| 13329 | |
| 13330 | ;; |
| 13331 | esac |
| 13332 | |
| 13333 | |
| 13334 | |
| 13335 | |
| 13336 | |
| 13337 | case $host in |
| 13338 | *-cygwin* | *-mingw*) |
| 13339 | # 'host' will be top-level target in the case of a target lib, |
| 13340 | # we must compare to with_cross_host to decide if this is a native |
| 13341 | # or cross-compiler and select where to install dlls appropriately. |
| 13342 | if test -n "$with_cross_host" && |
| 13343 | test x"$with_cross_host" != x"no"; then |
| 13344 | lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"'; |
| 13345 | else |
| 13346 | lt_host_flags='-no-undefined -bindir "$(bindir)"'; |
| 13347 | fi |
| 13348 | ;; |
| 13349 | *) |
| 13350 | lt_host_flags= |
| 13351 | ;; |
| 13352 | esac |
| 13353 | |
| 13354 | |
| 13355 | |
| 13356 | |
| 13357 | |
| 13358 | if test x$enable_darwin_at_rpath = xyes; then |
| 13359 | ENABLE_DARWIN_AT_RPATH_TRUE= |
| 13360 | ENABLE_DARWIN_AT_RPATH_FALSE='#' |
| 13361 | else |
| 13362 | ENABLE_DARWIN_AT_RPATH_TRUE='#' |
| 13363 | ENABLE_DARWIN_AT_RPATH_FALSE= |
| 13364 | fi |
| 13365 | |
| 13366 | #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10 |
| 13367 | |
| 13368 | # We need gfortran to compile parts of the library |
| 13369 | #AC_PROG_FC(gfortran) |
| 13370 | FC="$GFORTRAN" |
| 13371 | ac_ext=${ac_fc_srcext-f} |
| 13372 | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 13373 | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 13374 | ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 13375 | if test -n "$ac_tool_prefix"; then |
| 13376 | for ac_prog in gfortran |
| 13377 | do |
| 13378 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 13379 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 13380 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13381 | $as_echo_n "checking for $ac_word... " >&6; } |
| 13382 | if ${ac_cv_prog_FC+:} false; then : |
| 13383 | $as_echo_n "(cached) " >&6 |
| 13384 | else |
| 13385 | if test -n "$FC"; then |
| 13386 | ac_cv_prog_FC="$FC" # Let the user override the test. |
| 13387 | else |
| 13388 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13389 | for as_dir in $PATH |
| 13390 | do |
| 13391 | IFS=$as_save_IFS |
| 13392 | test -z "$as_dir" && as_dir=. |
| 13393 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13394 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 13395 | ac_cv_prog_FC="$ac_tool_prefix$ac_prog" |
| 13396 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 13397 | break 2 |
| 13398 | fi |
| 13399 | done |
| 13400 | done |
| 13401 | IFS=$as_save_IFS |
| 13402 | |
| 13403 | fi |
| 13404 | fi |
| 13405 | FC=$ac_cv_prog_FC |
| 13406 | if test -n "$FC"; then |
| 13407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5 |
| 13408 | $as_echo "$FC" >&6; } |
| 13409 | else |
| 13410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13411 | $as_echo "no" >&6; } |
| 13412 | fi |
| 13413 | |
| 13414 | |
| 13415 | test -n "$FC" && break |
| 13416 | done |
| 13417 | fi |
| 13418 | if test -z "$FC"; then |
| 13419 | ac_ct_FC=$FC |
| 13420 | for ac_prog in gfortran |
| 13421 | do |
| 13422 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 13423 | set dummy $ac_prog; ac_word=$2 |
| 13424 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13425 | $as_echo_n "checking for $ac_word... " >&6; } |
| 13426 | if ${ac_cv_prog_ac_ct_FC+:} false; then : |
| 13427 | $as_echo_n "(cached) " >&6 |
| 13428 | else |
| 13429 | if test -n "$ac_ct_FC"; then |
| 13430 | ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. |
| 13431 | else |
| 13432 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13433 | for as_dir in $PATH |
| 13434 | do |
| 13435 | IFS=$as_save_IFS |
| 13436 | test -z "$as_dir" && as_dir=. |
| 13437 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13438 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 13439 | ac_cv_prog_ac_ct_FC="$ac_prog" |
| 13440 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 13441 | break 2 |
| 13442 | fi |
| 13443 | done |
| 13444 | done |
| 13445 | IFS=$as_save_IFS |
| 13446 | |
| 13447 | fi |
| 13448 | fi |
| 13449 | ac_ct_FC=$ac_cv_prog_ac_ct_FC |
| 13450 | if test -n "$ac_ct_FC"; then |
| 13451 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5 |
| 13452 | $as_echo "$ac_ct_FC" >&6; } |
| 13453 | else |
| 13454 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13455 | $as_echo "no" >&6; } |
| 13456 | fi |
| 13457 | |
| 13458 | |
| 13459 | test -n "$ac_ct_FC" && break |
| 13460 | done |
| 13461 | |
| 13462 | if test "x$ac_ct_FC" = x; then |
| 13463 | FC="" |
| 13464 | else |
| 13465 | case $cross_compiling:$ac_tool_warned in |
| 13466 | yes:) |
| 13467 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 13468 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 13469 | ac_tool_warned=yes ;; |
| 13470 | esac |
| 13471 | FC=$ac_ct_FC |
| 13472 | fi |
| 13473 | fi |
| 13474 | |
| 13475 | |
| 13476 | # Provide some information about the compiler. |
| 13477 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5 |
| 13478 | set X $ac_compile |
| 13479 | ac_compiler=$2 |
| 13480 | for ac_option in --version -v -V -qversion; do |
| 13481 | { { ac_try="$ac_compiler $ac_option >&5" |
| 13482 | case "(($ac_try" in |
| 13483 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13484 | *) ac_try_echo=$ac_try;; |
| 13485 | esac |
| 13486 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 13487 | $as_echo "$ac_try_echo"; } >&5 |
| 13488 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 13489 | ac_status=$? |
| 13490 | if test -s conftest.err; then |
| 13491 | sed '10a\ |
| 13492 | ... rest of stderr output deleted ... |
| 13493 | 10q' conftest.err >conftest.er1 |
| 13494 | cat conftest.er1 >&5 |
| 13495 | fi |
| 13496 | rm -f conftest.er1 conftest.err |
| 13497 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13498 | test $ac_status = 0; } |
| 13499 | done |
| 13500 | rm -f a.out |
| 13501 | |
| 13502 | # If we don't use `.F' as extension, the preprocessor is not run on the |
| 13503 | # input file. (Note that this only needs to work for GNU compilers.) |
| 13504 | ac_save_ext=$ac_ext |
| 13505 | ac_ext=F |
| 13506 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5 |
| 13507 | $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; } |
| 13508 | if ${ac_cv_fc_compiler_gnu+:} false; then : |
| 13509 | $as_echo_n "(cached) " >&6 |
| 13510 | else |
| 13511 | cat > conftest.$ac_ext <<_ACEOF |
| 13512 | program main |
| 13513 | #ifndef __GNUC__ |
| 13514 | choke me |
| 13515 | #endif |
| 13516 | |
| 13517 | end |
| 13518 | _ACEOF |
| 13519 | if ac_fn_fc_try_compile "$LINENO"; then : |
| 13520 | ac_compiler_gnu=yes |
| 13521 | else |
| 13522 | ac_compiler_gnu=no |
| 13523 | fi |
| 13524 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13525 | ac_cv_fc_compiler_gnu=$ac_compiler_gnu |
| 13526 | |
| 13527 | fi |
| 13528 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5 |
| 13529 | $as_echo "$ac_cv_fc_compiler_gnu" >&6; } |
| 13530 | ac_ext=$ac_save_ext |
| 13531 | ac_test_FCFLAGS=${FCFLAGS+set} |
| 13532 | ac_save_FCFLAGS=$FCFLAGS |
| 13533 | FCFLAGS= |
| 13534 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5 |
| 13535 | $as_echo_n "checking whether $FC accepts -g... " >&6; } |
| 13536 | if ${ac_cv_prog_fc_g+:} false; then : |
| 13537 | $as_echo_n "(cached) " >&6 |
| 13538 | else |
| 13539 | FCFLAGS=-g |
| 13540 | cat > conftest.$ac_ext <<_ACEOF |
| 13541 | program main |
| 13542 | |
| 13543 | end |
| 13544 | _ACEOF |
| 13545 | if ac_fn_fc_try_compile "$LINENO"; then : |
| 13546 | ac_cv_prog_fc_g=yes |
| 13547 | else |
| 13548 | ac_cv_prog_fc_g=no |
| 13549 | fi |
| 13550 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13551 | |
| 13552 | fi |
| 13553 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5 |
| 13554 | $as_echo "$ac_cv_prog_fc_g" >&6; } |
| 13555 | if test "$ac_test_FCFLAGS" = set; then |
| 13556 | FCFLAGS=$ac_save_FCFLAGS |
| 13557 | elif test $ac_cv_prog_fc_g = yes; then |
| 13558 | if test "x$ac_cv_fc_compiler_gnu" = xyes; then |
| 13559 | FCFLAGS="-g -O2" |
| 13560 | else |
| 13561 | FCFLAGS="-g" |
| 13562 | fi |
| 13563 | else |
| 13564 | if test "x$ac_cv_fc_compiler_gnu" = xyes; then |
| 13565 | FCFLAGS="-O2" |
| 13566 | else |
| 13567 | FCFLAGS= |
| 13568 | fi |
| 13569 | fi |
| 13570 | |
| 13571 | if test $ac_compiler_gnu = yes; then |
| 13572 | GFC=yes |
| 13573 | else |
| 13574 | GFC= |
| 13575 | fi |
| 13576 | ac_ext=c |
| 13577 | ac_cpp='$CPP $CPPFLAGS' |
| 13578 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13579 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13580 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13581 | |
| 13582 | ac_ext=${ac_fc_srcext-f} |
| 13583 | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 13584 | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 13585 | ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 13586 | |
| 13587 | |
| 13588 | if test -z "$FC" || test "X$FC" = "Xno"; then |
| 13589 | _lt_disable_FC=yes |
| 13590 | fi |
| 13591 | |
| 13592 | archive_cmds_need_lc_FC=no |
| 13593 | allow_undefined_flag_FC= |
| 13594 | always_export_symbols_FC=no |
| 13595 | archive_expsym_cmds_FC= |
| 13596 | export_dynamic_flag_spec_FC= |
| 13597 | hardcode_direct_FC=no |
| 13598 | hardcode_direct_absolute_FC=no |
| 13599 | hardcode_libdir_flag_spec_FC= |
| 13600 | hardcode_libdir_flag_spec_ld_FC= |
| 13601 | hardcode_libdir_separator_FC= |
| 13602 | hardcode_minus_L_FC=no |
| 13603 | hardcode_automatic_FC=no |
| 13604 | inherit_rpath_FC=no |
| 13605 | module_cmds_FC= |
| 13606 | module_expsym_cmds_FC= |
| 13607 | link_all_deplibs_FC=unknown |
| 13608 | old_archive_cmds_FC=$old_archive_cmds |
| 13609 | reload_flag_FC=$reload_flag |
| 13610 | reload_cmds_FC=$reload_cmds |
| 13611 | no_undefined_flag_FC= |
| 13612 | whole_archive_flag_spec_FC= |
| 13613 | enable_shared_with_static_runtimes_FC=no |
| 13614 | |
| 13615 | # Source file extension for fc test sources. |
| 13616 | ac_ext=${ac_fc_srcext-f} |
| 13617 | |
| 13618 | # Object file extension for compiled fc test sources. |
| 13619 | objext=o |
| 13620 | objext_FC=$objext |
| 13621 | |
| 13622 | # No sense in running all these tests if we already determined that |
| 13623 | # the FC compiler isn't working. Some variables (like enable_shared) |
| 13624 | # are currently assumed to apply to all compilers on this platform, |
| 13625 | # and will be corrupted by setting them based on a non-working compiler. |
| 13626 | if test "$_lt_disable_FC" != yes; then |
| 13627 | # Code to be used in simple compile tests |
| 13628 | lt_simple_compile_test_code="\ |
| 13629 | subroutine t |
| 13630 | return |
| 13631 | end |
| 13632 | " |
| 13633 | |
| 13634 | # Code to be used in simple link tests |
| 13635 | lt_simple_link_test_code="\ |
| 13636 | program t |
| 13637 | end |
| 13638 | " |
| 13639 | |
| 13640 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
| 13641 | |
| 13642 | |
| 13643 | |
| 13644 | |
| 13645 | |
| 13646 | |
| 13647 | # If no C compiler was specified, use CC. |
| 13648 | LTCC=${LTCC-"$CC"} |
| 13649 | |
| 13650 | # If no C compiler flags were specified, use CFLAGS. |
| 13651 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 13652 | |
| 13653 | # Allow CC to be a program name with arguments. |
| 13654 | compiler=$CC |
| 13655 | |
| 13656 | |
| 13657 | # save warnings/boilerplate of simple test code |
| 13658 | ac_outfile=conftest.$ac_objext |
| 13659 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 13660 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 13661 | _lt_compiler_boilerplate=`cat conftest.err` |
| 13662 | $RM conftest* |
| 13663 | |
| 13664 | ac_outfile=conftest.$ac_objext |
| 13665 | echo "$lt_simple_link_test_code" >conftest.$ac_ext |
| 13666 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 13667 | _lt_linker_boilerplate=`cat conftest.err` |
| 13668 | $RM -r conftest* |
| 13669 | |
| 13670 | |
| 13671 | # Allow CC to be a program name with arguments. |
| 13672 | lt_save_CC="$CC" |
| 13673 | lt_save_GCC=$GCC |
| 13674 | CC=${FC-"f95"} |
| 13675 | compiler=$CC |
| 13676 | GCC=$ac_cv_fc_compiler_gnu |
| 13677 | |
| 13678 | compiler_FC=$CC |
| 13679 | for cc_temp in $compiler""; do |
| 13680 | case $cc_temp in |
| 13681 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 13682 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 13683 | \-*) ;; |
| 13684 | *) break;; |
| 13685 | esac |
| 13686 | done |
| 13687 | cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 13688 | |
| 13689 | |
| 13690 | if test -n "$compiler"; then |
| 13691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 13692 | $as_echo_n "checking if libtool supports shared libraries... " >&6; } |
| 13693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 13694 | $as_echo "$can_build_shared" >&6; } |
| 13695 | |
| 13696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 13697 | $as_echo_n "checking whether to build shared libraries... " >&6; } |
| 13698 | test "$can_build_shared" = "no" && enable_shared=no |
| 13699 | |
| 13700 | # On AIX, shared libraries and static libraries use the same namespace, and |
| 13701 | # are all built from PIC. |
| 13702 | case $host_os in |
| 13703 | aix3*) |
| 13704 | test "$enable_shared" = yes && enable_static=no |
| 13705 | if test -n "$RANLIB"; then |
| 13706 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 13707 | postinstall_cmds='$RANLIB $lib' |
| 13708 | fi |
| 13709 | ;; |
| 13710 | aix[4-9]*) |
| 13711 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
| 13712 | test "$enable_shared" = yes && enable_static=no |
| 13713 | fi |
| 13714 | ;; |
| 13715 | esac |
| 13716 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 13717 | $as_echo "$enable_shared" >&6; } |
| 13718 | |
| 13719 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 13720 | $as_echo_n "checking whether to build static libraries... " >&6; } |
| 13721 | # Make sure either enable_shared or enable_static is yes. |
| 13722 | test "$enable_shared" = yes || enable_static=yes |
| 13723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 13724 | $as_echo "$enable_static" >&6; } |
| 13725 | |
| 13726 | GCC_FC="$ac_cv_fc_compiler_gnu" |
| 13727 | LD_FC="$LD" |
| 13728 | |
| 13729 | ## CAVEAT EMPTOR: |
| 13730 | ## There is no encapsulation within the following macros, do not change |
| 13731 | ## the running order or otherwise move them around unless you know exactly |
| 13732 | ## what you are doing... |
| 13733 | # Dependencies to place before and after the object being linked: |
| 13734 | predep_objects_FC= |
| 13735 | postdep_objects_FC= |
| 13736 | predeps_FC= |
| 13737 | postdeps_FC= |
| 13738 | compiler_lib_search_path_FC= |
| 13739 | |
| 13740 | cat > conftest.$ac_ext <<_LT_EOF |
| 13741 | subroutine foo |
| 13742 | implicit none |
| 13743 | integer a |
| 13744 | a=0 |
| 13745 | return |
| 13746 | end |
| 13747 | _LT_EOF |
| 13748 | |
| 13749 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13750 | (eval $ac_compile) 2>&5 |
| 13751 | ac_status=$? |
| 13752 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13753 | test $ac_status = 0; }; then |
| 13754 | # Parse the compiler output and extract the necessary |
| 13755 | # objects, libraries and library flags. |
| 13756 | |
| 13757 | # Sentinel used to keep track of whether or not we are before |
| 13758 | # the conftest object file. |
| 13759 | pre_test_object_deps_done=no |
| 13760 | |
| 13761 | for p in `eval "$output_verbose_link_cmd"`; do |
| 13762 | case $p in |
| 13763 | |
| 13764 | -L* | -R* | -l*) |
| 13765 | # Some compilers place space between "-{L,R}" and the path. |
| 13766 | # Remove the space. |
| 13767 | if test $p = "-L" || |
| 13768 | test $p = "-R"; then |
| 13769 | prev=$p |
| 13770 | continue |
| 13771 | else |
| 13772 | prev= |
| 13773 | fi |
| 13774 | |
| 13775 | if test "$pre_test_object_deps_done" = no; then |
| 13776 | case $p in |
| 13777 | -L* | -R*) |
| 13778 | # Internal compiler library paths should come after those |
| 13779 | # provided the user. The postdeps already come after the |
| 13780 | # user supplied libs so there is no need to process them. |
| 13781 | if test -z "$compiler_lib_search_path_FC"; then |
| 13782 | compiler_lib_search_path_FC="${prev}${p}" |
| 13783 | else |
| 13784 | compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}" |
| 13785 | fi |
| 13786 | ;; |
| 13787 | # The "-l" case would never come before the object being |
| 13788 | # linked, so don't bother handling this case. |
| 13789 | esac |
| 13790 | else |
| 13791 | if test -z "$postdeps_FC"; then |
| 13792 | postdeps_FC="${prev}${p}" |
| 13793 | else |
| 13794 | postdeps_FC="${postdeps_FC} ${prev}${p}" |
| 13795 | fi |
| 13796 | fi |
| 13797 | ;; |
| 13798 | |
| 13799 | *.$objext) |
| 13800 | # This assumes that the test object file only shows up |
| 13801 | # once in the compiler output. |
| 13802 | if test "$p" = "conftest.$objext"; then |
| 13803 | pre_test_object_deps_done=yes |
| 13804 | continue |
| 13805 | fi |
| 13806 | |
| 13807 | if test "$pre_test_object_deps_done" = no; then |
| 13808 | if test -z "$predep_objects_FC"; then |
| 13809 | predep_objects_FC="$p" |
| 13810 | else |
| 13811 | predep_objects_FC="$predep_objects_FC $p" |
| 13812 | fi |
| 13813 | else |
| 13814 | if test -z "$postdep_objects_FC"; then |
| 13815 | postdep_objects_FC="$p" |
| 13816 | else |
| 13817 | postdep_objects_FC="$postdep_objects_FC $p" |
| 13818 | fi |
| 13819 | fi |
| 13820 | ;; |
| 13821 | |
| 13822 | *) ;; # Ignore the rest. |
| 13823 | |
| 13824 | esac |
| 13825 | done |
| 13826 | |
| 13827 | # Clean up. |
| 13828 | rm -f a.out a.exe |
| 13829 | else |
| 13830 | echo "libtool.m4: error: problem compiling FC test program" |
| 13831 | fi |
| 13832 | |
| 13833 | $RM -f confest.$objext |
| 13834 | |
| 13835 | # PORTME: override above test on systems where it is broken |
| 13836 | |
| 13837 | |
| 13838 | case " $postdeps_FC " in |
| 13839 | *" -lc "*) archive_cmds_need_lc_FC=no ;; |
| 13840 | esac |
| 13841 | compiler_lib_search_dirs_FC= |
| 13842 | if test -n "${compiler_lib_search_path_FC}"; then |
| 13843 | compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` |
| 13844 | fi |
| 13845 | |
| 13846 | |
| 13847 | |
| 13848 | |
| 13849 | |
| 13850 | |
| 13851 | |
| 13852 | |
| 13853 | |
| 13854 | |
| 13855 | |
| 13856 | |
| 13857 | |
| 13858 | |
| 13859 | |
| 13860 | |
| 13861 | |
| 13862 | |
| 13863 | |
| 13864 | |
| 13865 | |
| 13866 | |
| 13867 | |
| 13868 | |
| 13869 | |
| 13870 | |
| 13871 | |
| 13872 | |
| 13873 | |
| 13874 | |
| 13875 | |
| 13876 | lt_prog_compiler_wl_FC= |
| 13877 | lt_prog_compiler_pic_FC= |
| 13878 | lt_prog_compiler_static_FC= |
| 13879 | |
| 13880 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 13881 | $as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 13882 | |
| 13883 | if test "$GCC" = yes; then |
| 13884 | lt_prog_compiler_wl_FC='-Wl,' |
| 13885 | lt_prog_compiler_static_FC='-static' |
| 13886 | |
| 13887 | case $host_os in |
| 13888 | aix*) |
| 13889 | # All AIX code is PIC. |
| 13890 | if test "$host_cpu" = ia64; then |
| 13891 | # AIX 5 now supports IA64 processor |
| 13892 | lt_prog_compiler_static_FC='-Bstatic' |
| 13893 | fi |
| 13894 | lt_prog_compiler_pic_FC='-fPIC' |
| 13895 | ;; |
| 13896 | |
| 13897 | amigaos*) |
| 13898 | case $host_cpu in |
| 13899 | powerpc) |
| 13900 | # see comment about AmigaOS4 .so support |
| 13901 | lt_prog_compiler_pic_FC='-fPIC' |
| 13902 | ;; |
| 13903 | m68k) |
| 13904 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 13905 | # adding the `-m68020' flag to GCC prevents building anything better, |
| 13906 | # like `-m68040'. |
| 13907 | lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4' |
| 13908 | ;; |
| 13909 | esac |
| 13910 | ;; |
| 13911 | |
| 13912 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 13913 | # PIC is the default for these OSes. |
| 13914 | ;; |
| 13915 | |
| 13916 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 13917 | # This hack is so that the source file can tell whether it is being |
| 13918 | # built for inclusion in a dll (and should export symbols for example). |
| 13919 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 13920 | # (--disable-auto-import) libraries |
| 13921 | lt_prog_compiler_pic_FC='-DDLL_EXPORT' |
| 13922 | ;; |
| 13923 | |
| 13924 | darwin* | rhapsody*) |
| 13925 | # PIC is the default on this platform |
| 13926 | # Common symbols not allowed in MH_DYLIB files |
| 13927 | lt_prog_compiler_pic_FC='-fno-common' |
| 13928 | ;; |
| 13929 | |
| 13930 | haiku*) |
| 13931 | # PIC is the default for Haiku. |
| 13932 | # The "-static" flag exists, but is broken. |
| 13933 | lt_prog_compiler_static_FC= |
| 13934 | ;; |
| 13935 | |
| 13936 | hpux*) |
| 13937 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 13938 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 13939 | # sets the default TLS model and affects inlining. |
| 13940 | case $host_cpu in |
| 13941 | hppa*64*) |
| 13942 | # +Z the default |
| 13943 | ;; |
| 13944 | *) |
| 13945 | lt_prog_compiler_pic_FC='-fPIC' |
| 13946 | ;; |
| 13947 | esac |
| 13948 | ;; |
| 13949 | |
| 13950 | interix[3-9]*) |
| 13951 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 13952 | # Instead, we relocate shared libraries at runtime. |
| 13953 | ;; |
| 13954 | |
| 13955 | msdosdjgpp*) |
| 13956 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
| 13957 | # on systems that don't support them. |
| 13958 | lt_prog_compiler_can_build_shared_FC=no |
| 13959 | enable_shared=no |
| 13960 | ;; |
| 13961 | |
| 13962 | *nto* | *qnx*) |
| 13963 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 13964 | # it will coredump. |
| 13965 | lt_prog_compiler_pic_FC='-fPIC -shared' |
| 13966 | ;; |
| 13967 | |
| 13968 | sysv4*MP*) |
| 13969 | if test -d /usr/nec; then |
| 13970 | lt_prog_compiler_pic_FC=-Kconform_pic |
| 13971 | fi |
| 13972 | ;; |
| 13973 | |
| 13974 | *) |
| 13975 | lt_prog_compiler_pic_FC='-fPIC' |
| 13976 | ;; |
| 13977 | esac |
| 13978 | |
| 13979 | case $cc_basename in |
| 13980 | nvcc*) # Cuda Compiler Driver 2.2 |
| 13981 | lt_prog_compiler_wl_FC='-Xlinker ' |
| 13982 | lt_prog_compiler_pic_FC='-Xcompiler -fPIC' |
| 13983 | ;; |
| 13984 | esac |
| 13985 | else |
| 13986 | # PORTME Check for flag to pass linker flags through the system compiler. |
| 13987 | case $host_os in |
| 13988 | aix*) |
| 13989 | lt_prog_compiler_wl_FC='-Wl,' |
| 13990 | if test "$host_cpu" = ia64; then |
| 13991 | # AIX 5 now supports IA64 processor |
| 13992 | lt_prog_compiler_static_FC='-Bstatic' |
| 13993 | else |
| 13994 | lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp' |
| 13995 | fi |
| 13996 | ;; |
| 13997 | |
| 13998 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 13999 | # This hack is so that the source file can tell whether it is being |
| 14000 | # built for inclusion in a dll (and should export symbols for example). |
| 14001 | lt_prog_compiler_pic_FC='-DDLL_EXPORT' |
| 14002 | ;; |
| 14003 | |
| 14004 | hpux9* | hpux10* | hpux11*) |
| 14005 | lt_prog_compiler_wl_FC='-Wl,' |
| 14006 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 14007 | # not for PA HP-UX. |
| 14008 | case $host_cpu in |
| 14009 | hppa*64*|ia64*) |
| 14010 | # +Z the default |
| 14011 | ;; |
| 14012 | *) |
| 14013 | lt_prog_compiler_pic_FC='+Z' |
| 14014 | ;; |
| 14015 | esac |
| 14016 | # Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 14017 | lt_prog_compiler_static_FC='${wl}-a ${wl}archive' |
| 14018 | ;; |
| 14019 | |
| 14020 | irix5* | irix6* | nonstopux*) |
| 14021 | lt_prog_compiler_wl_FC='-Wl,' |
| 14022 | # PIC (with -KPIC) is the default. |
| 14023 | lt_prog_compiler_static_FC='-non_shared' |
| 14024 | ;; |
| 14025 | |
| 14026 | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 14027 | case $cc_basename in |
| 14028 | # old Intel for x86_64 which still supported -KPIC. |
| 14029 | ecc*) |
| 14030 | lt_prog_compiler_wl_FC='-Wl,' |
| 14031 | lt_prog_compiler_pic_FC='-KPIC' |
| 14032 | lt_prog_compiler_static_FC='-static' |
| 14033 | ;; |
| 14034 | # icc used to be incompatible with GCC. |
| 14035 | # ICC 10 doesn't accept -KPIC any more. |
| 14036 | icc* | ifort*) |
| 14037 | lt_prog_compiler_wl_FC='-Wl,' |
| 14038 | lt_prog_compiler_pic_FC='-fPIC' |
| 14039 | lt_prog_compiler_static_FC='-static' |
| 14040 | ;; |
| 14041 | # Lahey Fortran 8.1. |
| 14042 | lf95*) |
| 14043 | lt_prog_compiler_wl_FC='-Wl,' |
| 14044 | lt_prog_compiler_pic_FC='--shared' |
| 14045 | lt_prog_compiler_static_FC='--static' |
| 14046 | ;; |
| 14047 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 14048 | # Portland Group compilers (*not* the Pentium gcc compiler, |
| 14049 | # which looks to be a dead project) |
| 14050 | lt_prog_compiler_wl_FC='-Wl,' |
| 14051 | lt_prog_compiler_pic_FC='-fpic' |
| 14052 | lt_prog_compiler_static_FC='-Bstatic' |
| 14053 | ;; |
| 14054 | ccc*) |
| 14055 | lt_prog_compiler_wl_FC='-Wl,' |
| 14056 | # All Alpha code is PIC. |
| 14057 | lt_prog_compiler_static_FC='-non_shared' |
| 14058 | ;; |
| 14059 | xl* | bgxl* | bgf* | mpixl*) |
| 14060 | # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 14061 | lt_prog_compiler_wl_FC='-Wl,' |
| 14062 | lt_prog_compiler_pic_FC='-qpic' |
| 14063 | lt_prog_compiler_static_FC='-qstaticlink' |
| 14064 | ;; |
| 14065 | *) |
| 14066 | case `$CC -V 2>&1 | sed 5q` in |
| 14067 | *Sun\ F* | *Sun*Fortran*) |
| 14068 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 14069 | lt_prog_compiler_pic_FC='-KPIC' |
| 14070 | lt_prog_compiler_static_FC='-Bstatic' |
| 14071 | lt_prog_compiler_wl_FC='' |
| 14072 | ;; |
| 14073 | *Sun\ C*) |
| 14074 | # Sun C 5.9 |
| 14075 | lt_prog_compiler_pic_FC='-KPIC' |
| 14076 | lt_prog_compiler_static_FC='-Bstatic' |
| 14077 | lt_prog_compiler_wl_FC='-Wl,' |
| 14078 | ;; |
| 14079 | esac |
| 14080 | ;; |
| 14081 | esac |
| 14082 | ;; |
| 14083 | |
| 14084 | newsos6) |
| 14085 | lt_prog_compiler_pic_FC='-KPIC' |
| 14086 | lt_prog_compiler_static_FC='-Bstatic' |
| 14087 | ;; |
| 14088 | |
| 14089 | *nto* | *qnx*) |
| 14090 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 14091 | # it will coredump. |
| 14092 | lt_prog_compiler_pic_FC='-fPIC -shared' |
| 14093 | ;; |
| 14094 | |
| 14095 | osf3* | osf4* | osf5*) |
| 14096 | lt_prog_compiler_wl_FC='-Wl,' |
| 14097 | # All OSF/1 code is PIC. |
| 14098 | lt_prog_compiler_static_FC='-non_shared' |
| 14099 | ;; |
| 14100 | |
| 14101 | rdos*) |
| 14102 | lt_prog_compiler_static_FC='-non_shared' |
| 14103 | ;; |
| 14104 | |
| 14105 | solaris*) |
| 14106 | lt_prog_compiler_pic_FC='-KPIC' |
| 14107 | lt_prog_compiler_static_FC='-Bstatic' |
| 14108 | case $cc_basename in |
| 14109 | f77* | f90* | f95*) |
| 14110 | lt_prog_compiler_wl_FC='-Qoption ld ';; |
| 14111 | *) |
| 14112 | lt_prog_compiler_wl_FC='-Wl,';; |
| 14113 | esac |
| 14114 | ;; |
| 14115 | |
| 14116 | sunos4*) |
| 14117 | lt_prog_compiler_wl_FC='-Qoption ld ' |
| 14118 | lt_prog_compiler_pic_FC='-PIC' |
| 14119 | lt_prog_compiler_static_FC='-Bstatic' |
| 14120 | ;; |
| 14121 | |
| 14122 | sysv4 | sysv4.2uw2* | sysv4.3*) |
| 14123 | lt_prog_compiler_wl_FC='-Wl,' |
| 14124 | lt_prog_compiler_pic_FC='-KPIC' |
| 14125 | lt_prog_compiler_static_FC='-Bstatic' |
| 14126 | ;; |
| 14127 | |
| 14128 | sysv4*MP*) |
| 14129 | if test -d /usr/nec ;then |
| 14130 | lt_prog_compiler_pic_FC='-Kconform_pic' |
| 14131 | lt_prog_compiler_static_FC='-Bstatic' |
| 14132 | fi |
| 14133 | ;; |
| 14134 | |
| 14135 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 14136 | lt_prog_compiler_wl_FC='-Wl,' |
| 14137 | lt_prog_compiler_pic_FC='-KPIC' |
| 14138 | lt_prog_compiler_static_FC='-Bstatic' |
| 14139 | ;; |
| 14140 | |
| 14141 | unicos*) |
| 14142 | lt_prog_compiler_wl_FC='-Wl,' |
| 14143 | lt_prog_compiler_can_build_shared_FC=no |
| 14144 | ;; |
| 14145 | |
| 14146 | uts4*) |
| 14147 | lt_prog_compiler_pic_FC='-pic' |
| 14148 | lt_prog_compiler_static_FC='-Bstatic' |
| 14149 | ;; |
| 14150 | |
| 14151 | *) |
| 14152 | lt_prog_compiler_can_build_shared_FC=no |
| 14153 | ;; |
| 14154 | esac |
| 14155 | fi |
| 14156 | |
| 14157 | case $host_os in |
| 14158 | # For platforms which do not support PIC, -DPIC is meaningless: |
| 14159 | *djgpp*) |
| 14160 | lt_prog_compiler_pic_FC= |
| 14161 | ;; |
| 14162 | *) |
| 14163 | lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC" |
| 14164 | ;; |
| 14165 | esac |
| 14166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5 |
| 14167 | $as_echo "$lt_prog_compiler_pic_FC" >&6; } |
| 14168 | |
| 14169 | |
| 14170 | |
| 14171 | # |
| 14172 | # Check to make sure the PIC flag actually works. |
| 14173 | # |
| 14174 | if test -n "$lt_prog_compiler_pic_FC"; then |
| 14175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5 |
| 14176 | $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; } |
| 14177 | if ${lt_cv_prog_compiler_pic_works_FC+:} false; then : |
| 14178 | $as_echo_n "(cached) " >&6 |
| 14179 | else |
| 14180 | lt_cv_prog_compiler_pic_works_FC=no |
| 14181 | ac_outfile=conftest.$ac_objext |
| 14182 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 14183 | lt_compiler_flag="$lt_prog_compiler_pic_FC" |
| 14184 | # Insert the option either (1) after the last *FLAGS variable, or |
| 14185 | # (2) before a word containing "conftest.", or (3) at the end. |
| 14186 | # Note that $ac_compile itself does not contain backslashes and begins |
| 14187 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 14188 | # The option is referenced via a variable to avoid confusing sed. |
| 14189 | lt_compile=`echo "$ac_compile" | $SED \ |
| 14190 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 14191 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 14192 | -e 's:$: $lt_compiler_flag:'` |
| 14193 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 14194 | (eval "$lt_compile" 2>conftest.err) |
| 14195 | ac_status=$? |
| 14196 | cat conftest.err >&5 |
| 14197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14198 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 14199 | # The compiler can only warn and ignore the option if not recognized |
| 14200 | # So say no if there are warnings other than the usual output. |
| 14201 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 14202 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 14203 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 14204 | lt_cv_prog_compiler_pic_works_FC=yes |
| 14205 | fi |
| 14206 | fi |
| 14207 | $RM conftest* |
| 14208 | |
| 14209 | fi |
| 14210 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5 |
| 14211 | $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; } |
| 14212 | |
| 14213 | if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then |
| 14214 | case $lt_prog_compiler_pic_FC in |
| 14215 | "" | " "*) ;; |
| 14216 | *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;; |
| 14217 | esac |
| 14218 | else |
| 14219 | lt_prog_compiler_pic_FC= |
| 14220 | lt_prog_compiler_can_build_shared_FC=no |
| 14221 | fi |
| 14222 | |
| 14223 | fi |
| 14224 | |
| 14225 | |
| 14226 | |
| 14227 | # |
| 14228 | # Check to make sure the static flag actually works. |
| 14229 | # |
| 14230 | wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\" |
| 14231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 14232 | $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 14233 | if ${lt_cv_prog_compiler_static_works_FC+:} false; then : |
| 14234 | $as_echo_n "(cached) " >&6 |
| 14235 | else |
| 14236 | lt_cv_prog_compiler_static_works_FC=no |
| 14237 | save_LDFLAGS="$LDFLAGS" |
| 14238 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 14239 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 14240 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 14241 | # The linker can only warn and ignore the option if not recognized |
| 14242 | # So say no if there are warnings |
| 14243 | if test -s conftest.err; then |
| 14244 | # Append any errors to the config.log. |
| 14245 | cat conftest.err 1>&5 |
| 14246 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 14247 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 14248 | if diff conftest.exp conftest.er2 >/dev/null; then |
| 14249 | lt_cv_prog_compiler_static_works_FC=yes |
| 14250 | fi |
| 14251 | else |
| 14252 | lt_cv_prog_compiler_static_works_FC=yes |
| 14253 | fi |
| 14254 | fi |
| 14255 | $RM -r conftest* |
| 14256 | LDFLAGS="$save_LDFLAGS" |
| 14257 | |
| 14258 | fi |
| 14259 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5 |
| 14260 | $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; } |
| 14261 | |
| 14262 | if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then |
| 14263 | : |
| 14264 | else |
| 14265 | lt_prog_compiler_static_FC= |
| 14266 | fi |
| 14267 | |
| 14268 | |
| 14269 | |
| 14270 | |
| 14271 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 14272 | $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 14273 | if ${lt_cv_prog_compiler_c_o_FC+:} false; then : |
| 14274 | $as_echo_n "(cached) " >&6 |
| 14275 | else |
| 14276 | lt_cv_prog_compiler_c_o_FC=no |
| 14277 | $RM -r conftest 2>/dev/null |
| 14278 | mkdir conftest |
| 14279 | cd conftest |
| 14280 | mkdir out |
| 14281 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 14282 | |
| 14283 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 14284 | # Insert the option either (1) after the last *FLAGS variable, or |
| 14285 | # (2) before a word containing "conftest.", or (3) at the end. |
| 14286 | # Note that $ac_compile itself does not contain backslashes and begins |
| 14287 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 14288 | lt_compile=`echo "$ac_compile" | $SED \ |
| 14289 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 14290 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 14291 | -e 's:$: $lt_compiler_flag:'` |
| 14292 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 14293 | (eval "$lt_compile" 2>out/conftest.err) |
| 14294 | ac_status=$? |
| 14295 | cat out/conftest.err >&5 |
| 14296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14297 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 14298 | then |
| 14299 | # The compiler can only warn and ignore the option if not recognized |
| 14300 | # So say no if there are warnings |
| 14301 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 14302 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 14303 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 14304 | lt_cv_prog_compiler_c_o_FC=yes |
| 14305 | fi |
| 14306 | fi |
| 14307 | chmod u+w . 2>&5 |
| 14308 | $RM conftest* |
| 14309 | # SGI C++ compiler will create directory out/ii_files/ for |
| 14310 | # template instantiation |
| 14311 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 14312 | $RM out/* && rmdir out |
| 14313 | cd .. |
| 14314 | $RM -r conftest |
| 14315 | $RM conftest* |
| 14316 | |
| 14317 | fi |
| 14318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5 |
| 14319 | $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; } |
| 14320 | |
| 14321 | |
| 14322 | |
| 14323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 14324 | $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 14325 | if ${lt_cv_prog_compiler_c_o_FC+:} false; then : |
| 14326 | $as_echo_n "(cached) " >&6 |
| 14327 | else |
| 14328 | lt_cv_prog_compiler_c_o_FC=no |
| 14329 | $RM -r conftest 2>/dev/null |
| 14330 | mkdir conftest |
| 14331 | cd conftest |
| 14332 | mkdir out |
| 14333 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 14334 | |
| 14335 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 14336 | # Insert the option either (1) after the last *FLAGS variable, or |
| 14337 | # (2) before a word containing "conftest.", or (3) at the end. |
| 14338 | # Note that $ac_compile itself does not contain backslashes and begins |
| 14339 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 14340 | lt_compile=`echo "$ac_compile" | $SED \ |
| 14341 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 14342 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 14343 | -e 's:$: $lt_compiler_flag:'` |
| 14344 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 14345 | (eval "$lt_compile" 2>out/conftest.err) |
| 14346 | ac_status=$? |
| 14347 | cat out/conftest.err >&5 |
| 14348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14349 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 14350 | then |
| 14351 | # The compiler can only warn and ignore the option if not recognized |
| 14352 | # So say no if there are warnings |
| 14353 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 14354 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 14355 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 14356 | lt_cv_prog_compiler_c_o_FC=yes |
| 14357 | fi |
| 14358 | fi |
| 14359 | chmod u+w . 2>&5 |
| 14360 | $RM conftest* |
| 14361 | # SGI C++ compiler will create directory out/ii_files/ for |
| 14362 | # template instantiation |
| 14363 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 14364 | $RM out/* && rmdir out |
| 14365 | cd .. |
| 14366 | $RM -r conftest |
| 14367 | $RM conftest* |
| 14368 | |
| 14369 | fi |
| 14370 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5 |
| 14371 | $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; } |
| 14372 | |
| 14373 | |
| 14374 | |
| 14375 | |
| 14376 | hard_links="nottested" |
| 14377 | if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then |
| 14378 | # do not overwrite the value of need_locks provided by the user |
| 14379 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 14380 | $as_echo_n "checking if we can lock with hard links... " >&6; } |
| 14381 | hard_links=yes |
| 14382 | $RM conftest* |
| 14383 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 14384 | touch conftest.a |
| 14385 | ln conftest.a conftest.b 2>&5 || hard_links=no |
| 14386 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 14387 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 14388 | $as_echo "$hard_links" >&6; } |
| 14389 | if test "$hard_links" = no; then |
| 14390 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
| 14391 | $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
| 14392 | need_locks=warn |
| 14393 | fi |
| 14394 | else |
| 14395 | need_locks=no |
| 14396 | fi |
| 14397 | |
| 14398 | |
| 14399 | |
| 14400 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 14401 | $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 14402 | |
| 14403 | runpath_var= |
| 14404 | allow_undefined_flag_FC= |
| 14405 | always_export_symbols_FC=no |
| 14406 | archive_cmds_FC= |
| 14407 | archive_expsym_cmds_FC= |
| 14408 | compiler_needs_object_FC=no |
| 14409 | enable_shared_with_static_runtimes_FC=no |
| 14410 | export_dynamic_flag_spec_FC= |
| 14411 | export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 14412 | hardcode_automatic_FC=no |
| 14413 | hardcode_direct_FC=no |
| 14414 | hardcode_direct_absolute_FC=no |
| 14415 | hardcode_libdir_flag_spec_FC= |
| 14416 | hardcode_libdir_flag_spec_ld_FC= |
| 14417 | hardcode_libdir_separator_FC= |
| 14418 | hardcode_minus_L_FC=no |
| 14419 | hardcode_shlibpath_var_FC=unsupported |
| 14420 | inherit_rpath_FC=no |
| 14421 | link_all_deplibs_FC=unknown |
| 14422 | module_cmds_FC= |
| 14423 | module_expsym_cmds_FC= |
| 14424 | old_archive_from_new_cmds_FC= |
| 14425 | old_archive_from_expsyms_cmds_FC= |
| 14426 | thread_safe_flag_spec_FC= |
| 14427 | whole_archive_flag_spec_FC= |
| 14428 | # include_expsyms should be a list of space-separated symbols to be *always* |
| 14429 | # included in the symbol list |
| 14430 | include_expsyms_FC= |
| 14431 | # exclude_expsyms can be an extended regexp of symbols to exclude |
| 14432 | # it will be wrapped by ` (' and `)$', so one must not match beginning or |
| 14433 | # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
| 14434 | # as well as any symbol that contains `d'. |
| 14435 | exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 14436 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 14437 | # platforms (ab)use it in PIC code, but their linkers get confused if |
| 14438 | # the symbol is explicitly referenced. Since portable code cannot |
| 14439 | # rely on this symbol name, it's probably fine to never include it in |
| 14440 | # preloaded symbol tables. |
| 14441 | # Exclude shared library initialization/finalization symbols. |
| 14442 | extract_expsyms_cmds= |
| 14443 | |
| 14444 | case $host_os in |
| 14445 | cygwin* | mingw* | pw32* | cegcc*) |
| 14446 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
| 14447 | # When not using gcc, we currently assume that we are using |
| 14448 | # Microsoft Visual C++. |
| 14449 | if test "$GCC" != yes; then |
| 14450 | with_gnu_ld=no |
| 14451 | fi |
| 14452 | ;; |
| 14453 | interix*) |
| 14454 | # we just hope/assume this is gcc and not c89 (= MSVC++) |
| 14455 | with_gnu_ld=yes |
| 14456 | ;; |
| 14457 | openbsd*) |
| 14458 | with_gnu_ld=no |
| 14459 | ;; |
| 14460 | esac |
| 14461 | |
| 14462 | ld_shlibs_FC=yes |
| 14463 | |
| 14464 | # On some targets, GNU ld is compatible enough with the native linker |
| 14465 | # that we're better off using the native interface for both. |
| 14466 | lt_use_gnu_ld_interface=no |
| 14467 | if test "$with_gnu_ld" = yes; then |
| 14468 | case $host_os in |
| 14469 | aix*) |
| 14470 | # The AIX port of GNU ld has always aspired to compatibility |
| 14471 | # with the native linker. However, as the warning in the GNU ld |
| 14472 | # block says, versions before 2.19.5* couldn't really create working |
| 14473 | # shared libraries, regardless of the interface used. |
| 14474 | case `$LD -v 2>&1` in |
| 14475 | *\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 14476 | *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
| 14477 | *\ \(GNU\ Binutils\)\ [3-9]*) ;; |
| 14478 | *) |
| 14479 | lt_use_gnu_ld_interface=yes |
| 14480 | ;; |
| 14481 | esac |
| 14482 | ;; |
| 14483 | *) |
| 14484 | lt_use_gnu_ld_interface=yes |
| 14485 | ;; |
| 14486 | esac |
| 14487 | fi |
| 14488 | |
| 14489 | if test "$lt_use_gnu_ld_interface" = yes; then |
| 14490 | # If archive_cmds runs LD, not CC, wlarc should be empty |
| 14491 | wlarc='${wl}' |
| 14492 | |
| 14493 | # Set some defaults for GNU ld with shared library support. These |
| 14494 | # are reset later if shared libraries are not supported. Putting them |
| 14495 | # here allows them to be overridden if necessary. |
| 14496 | runpath_var=LD_RUN_PATH |
| 14497 | hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
| 14498 | export_dynamic_flag_spec_FC='${wl}--export-dynamic' |
| 14499 | # ancient GNU ld didn't support --whole-archive et. al. |
| 14500 | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
| 14501 | whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
| 14502 | else |
| 14503 | whole_archive_flag_spec_FC= |
| 14504 | fi |
| 14505 | supports_anon_versioning=no |
| 14506 | case `$LD -v 2>&1` in |
| 14507 | *GNU\ gold*) supports_anon_versioning=yes ;; |
| 14508 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 14509 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 14510 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 14511 | *\ 2.11.*) ;; # other 2.11 versions |
| 14512 | *) supports_anon_versioning=yes ;; |
| 14513 | esac |
| 14514 | |
| 14515 | # See if GNU ld supports shared libraries. |
| 14516 | case $host_os in |
| 14517 | aix[3-9]*) |
| 14518 | # On AIX/PPC, the GNU linker is very broken |
| 14519 | if test "$host_cpu" != ia64; then |
| 14520 | ld_shlibs_FC=no |
| 14521 | cat <<_LT_EOF 1>&2 |
| 14522 | |
| 14523 | *** Warning: the GNU linker, at least up to release 2.19, is reported |
| 14524 | *** to be unable to reliably create shared libraries on AIX. |
| 14525 | *** Therefore, libtool is disabling shared libraries support. If you |
| 14526 | *** really care for shared libraries, you may want to install binutils |
| 14527 | *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 14528 | *** You will then need to restart the configuration process. |
| 14529 | |
| 14530 | _LT_EOF |
| 14531 | fi |
| 14532 | ;; |
| 14533 | |
| 14534 | amigaos*) |
| 14535 | case $host_cpu in |
| 14536 | powerpc) |
| 14537 | # see comment about AmigaOS4 .so support |
| 14538 | archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 14539 | archive_expsym_cmds_FC='' |
| 14540 | ;; |
| 14541 | m68k) |
| 14542 | 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)' |
| 14543 | hardcode_libdir_flag_spec_FC='-L$libdir' |
| 14544 | hardcode_minus_L_FC=yes |
| 14545 | ;; |
| 14546 | esac |
| 14547 | ;; |
| 14548 | |
| 14549 | beos*) |
| 14550 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 14551 | allow_undefined_flag_FC=unsupported |
| 14552 | # Joseph Beckenbach <[email protected]> says some releases of gcc |
| 14553 | # support --undefined. This deserves some investigation. FIXME |
| 14554 | archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 14555 | else |
| 14556 | ld_shlibs_FC=no |
| 14557 | fi |
| 14558 | ;; |
| 14559 | |
| 14560 | cygwin* | mingw* | pw32* | cegcc*) |
| 14561 | # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless, |
| 14562 | # as there is no search path for DLLs. |
| 14563 | hardcode_libdir_flag_spec_FC='-L$libdir' |
| 14564 | export_dynamic_flag_spec_FC='${wl}--export-all-symbols' |
| 14565 | allow_undefined_flag_FC=unsupported |
| 14566 | always_export_symbols_FC=no |
| 14567 | enable_shared_with_static_runtimes_FC=yes |
| 14568 | export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 14569 | |
| 14570 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 14571 | archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 14572 | # If the export-symbols file already is a .def file (1st line |
| 14573 | # is EXPORTS), use it as is; otherwise, prepend... |
| 14574 | archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 14575 | cp $export_symbols $output_objdir/$soname.def; |
| 14576 | else |
| 14577 | echo EXPORTS > $output_objdir/$soname.def; |
| 14578 | cat $export_symbols >> $output_objdir/$soname.def; |
| 14579 | fi~ |
| 14580 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 14581 | else |
| 14582 | ld_shlibs_FC=no |
| 14583 | fi |
| 14584 | ;; |
| 14585 | |
| 14586 | haiku*) |
| 14587 | archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 14588 | link_all_deplibs_FC=yes |
| 14589 | ;; |
| 14590 | |
| 14591 | interix[3-9]*) |
| 14592 | hardcode_direct_FC=no |
| 14593 | hardcode_shlibpath_var_FC=no |
| 14594 | hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
| 14595 | export_dynamic_flag_spec_FC='${wl}-E' |
| 14596 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 14597 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 14598 | # default) and relocated if they conflict, which is a slow very memory |
| 14599 | # consuming and fragmenting process. To avoid this, we pick a random, |
| 14600 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 14601 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 14602 | 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' |
| 14603 | 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' |
| 14604 | ;; |
| 14605 | |
| 14606 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi) |
| 14607 | tmp_diet=no |
| 14608 | if test "$host_os" = linux-dietlibc; then |
| 14609 | case $cc_basename in |
| 14610 | diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
| 14611 | esac |
| 14612 | fi |
| 14613 | if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 14614 | && test "$tmp_diet" = no |
| 14615 | then |
| 14616 | tmp_addflag=' $pic_flag' |
| 14617 | tmp_sharedflag='-shared' |
| 14618 | case $cc_basename,$host_cpu in |
| 14619 | pgcc*) # Portland Group C compiler |
| 14620 | 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' |
| 14621 | tmp_addflag=' $pic_flag' |
| 14622 | ;; |
| 14623 | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 14624 | # Portland Group f77 and f90 compilers |
| 14625 | 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' |
| 14626 | tmp_addflag=' $pic_flag -Mnomain' ;; |
| 14627 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 14628 | tmp_addflag=' -i_dynamic' ;; |
| 14629 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 14630 | tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 14631 | ifc* | ifort*) # Intel Fortran compiler |
| 14632 | tmp_addflag=' -nofor_main' ;; |
| 14633 | lf95*) # Lahey Fortran 8.1 |
| 14634 | whole_archive_flag_spec_FC= |
| 14635 | tmp_sharedflag='--shared' ;; |
| 14636 | xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 14637 | tmp_sharedflag='-qmkshrobj' |
| 14638 | tmp_addflag= ;; |
| 14639 | nvcc*) # Cuda Compiler Driver 2.2 |
| 14640 | 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' |
| 14641 | compiler_needs_object_FC=yes |
| 14642 | ;; |
| 14643 | esac |
| 14644 | case `$CC -V 2>&1 | sed 5q` in |
| 14645 | *Sun\ C*) # Sun C 5.9 |
| 14646 | 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' |
| 14647 | compiler_needs_object_FC=yes |
| 14648 | tmp_sharedflag='-G' ;; |
| 14649 | *Sun\ F*) # Sun Fortran 8.3 |
| 14650 | tmp_sharedflag='-G' ;; |
| 14651 | esac |
| 14652 | archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 14653 | |
| 14654 | if test "x$supports_anon_versioning" = xyes; then |
| 14655 | archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~ |
| 14656 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 14657 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 14658 | $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
| 14659 | fi |
| 14660 | |
| 14661 | case $cc_basename in |
| 14662 | xlf* | bgf* | bgxlf* | mpixlf*) |
| 14663 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 14664 | whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive' |
| 14665 | hardcode_libdir_flag_spec_FC= |
| 14666 | hardcode_libdir_flag_spec_ld_FC='-rpath $libdir' |
| 14667 | archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
| 14668 | if test "x$supports_anon_versioning" = xyes; then |
| 14669 | archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~ |
| 14670 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 14671 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 14672 | $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 14673 | fi |
| 14674 | ;; |
| 14675 | esac |
| 14676 | else |
| 14677 | ld_shlibs_FC=no |
| 14678 | fi |
| 14679 | ;; |
| 14680 | |
| 14681 | netbsd*) |
| 14682 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 14683 | archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 14684 | wlarc= |
| 14685 | else |
| 14686 | archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 14687 | archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 14688 | fi |
| 14689 | ;; |
| 14690 | |
| 14691 | solaris*) |
| 14692 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
| 14693 | ld_shlibs_FC=no |
| 14694 | cat <<_LT_EOF 1>&2 |
| 14695 | |
| 14696 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
| 14697 | *** create shared libraries on Solaris systems. Therefore, libtool |
| 14698 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 14699 | *** binutils to release 2.9.1 or newer. Another option is to modify |
| 14700 | *** your PATH or compiler configuration so that the native linker is |
| 14701 | *** used, and then restart. |
| 14702 | |
| 14703 | _LT_EOF |
| 14704 | elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 14705 | archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 14706 | archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 14707 | else |
| 14708 | ld_shlibs_FC=no |
| 14709 | fi |
| 14710 | ;; |
| 14711 | |
| 14712 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 14713 | case `$LD -v 2>&1` in |
| 14714 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 14715 | ld_shlibs_FC=no |
| 14716 | cat <<_LT_EOF 1>&2 |
| 14717 | |
| 14718 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
| 14719 | *** reliably create shared libraries on SCO systems. Therefore, libtool |
| 14720 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 14721 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 14722 | *** your PATH or compiler configuration so that the native linker is |
| 14723 | *** used, and then restart. |
| 14724 | |
| 14725 | _LT_EOF |
| 14726 | ;; |
| 14727 | *) |
| 14728 | # For security reasons, it is highly recommended that you always |
| 14729 | # use absolute paths for naming shared libraries, and exclude the |
| 14730 | # DT_RUNPATH tag from executables and libraries. But doing so |
| 14731 | # requires that you compile everything twice, which is a pain. |
| 14732 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 14733 | hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
| 14734 | archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 14735 | archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 14736 | else |
| 14737 | ld_shlibs_FC=no |
| 14738 | fi |
| 14739 | ;; |
| 14740 | esac |
| 14741 | ;; |
| 14742 | |
| 14743 | sunos4*) |
| 14744 | archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 14745 | wlarc= |
| 14746 | hardcode_direct_FC=yes |
| 14747 | hardcode_shlibpath_var_FC=no |
| 14748 | ;; |
| 14749 | |
| 14750 | *) |
| 14751 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 14752 | archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 14753 | archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 14754 | else |
| 14755 | ld_shlibs_FC=no |
| 14756 | fi |
| 14757 | ;; |
| 14758 | esac |
| 14759 | |
| 14760 | if test "$ld_shlibs_FC" = no; then |
| 14761 | runpath_var= |
| 14762 | hardcode_libdir_flag_spec_FC= |
| 14763 | export_dynamic_flag_spec_FC= |
| 14764 | whole_archive_flag_spec_FC= |
| 14765 | fi |
| 14766 | else |
| 14767 | # PORTME fill in a description of your system's linker (not GNU ld) |
| 14768 | case $host_os in |
| 14769 | aix3*) |
| 14770 | allow_undefined_flag_FC=unsupported |
| 14771 | always_export_symbols_FC=yes |
| 14772 | 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' |
| 14773 | # Note: this linker hardcodes the directories in LIBPATH if there |
| 14774 | # are no directories specified by -L. |
| 14775 | hardcode_minus_L_FC=yes |
| 14776 | if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
| 14777 | # Neither direct hardcoding nor static linking is supported with a |
| 14778 | # broken collect2. |
| 14779 | hardcode_direct_FC=unsupported |
| 14780 | fi |
| 14781 | ;; |
| 14782 | |
| 14783 | aix[4-9]*) |
| 14784 | if test "$host_cpu" = ia64; then |
| 14785 | # On IA64, the linker does run time linking by default, so we don't |
| 14786 | # have to do anything special. |
| 14787 | aix_use_runtimelinking=no |
| 14788 | exp_sym_flag='-Bexport' |
| 14789 | no_entry_flag="" |
| 14790 | else |
| 14791 | # If we're using GNU nm, then we don't want the "-C" option. |
| 14792 | # -C means demangle to AIX nm, but means don't demangle with GNU nm |
| 14793 | # Also, AIX nm treats weak defined symbols like other global |
| 14794 | # defined symbols, whereas GNU nm marks them as "W". |
| 14795 | if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 14796 | 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' |
| 14797 | else |
| 14798 | 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' |
| 14799 | fi |
| 14800 | aix_use_runtimelinking=no |
| 14801 | |
| 14802 | # Test if we are trying to use run time linking or normal |
| 14803 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 14804 | # need to do runtime linking. |
| 14805 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 14806 | for ld_flag in $LDFLAGS; do |
| 14807 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
| 14808 | aix_use_runtimelinking=yes |
| 14809 | break |
| 14810 | fi |
| 14811 | done |
| 14812 | ;; |
| 14813 | esac |
| 14814 | |
| 14815 | exp_sym_flag='-bexport' |
| 14816 | no_entry_flag='-bnoentry' |
| 14817 | fi |
| 14818 | |
| 14819 | # When large executables or shared objects are built, AIX ld can |
| 14820 | # have problems creating the table of contents. If linking a library |
| 14821 | # or program results in "error TOC overflow" add -mminimal-toc to |
| 14822 | # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 14823 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 14824 | |
| 14825 | archive_cmds_FC='' |
| 14826 | hardcode_direct_FC=yes |
| 14827 | hardcode_direct_absolute_FC=yes |
| 14828 | hardcode_libdir_separator_FC=':' |
| 14829 | link_all_deplibs_FC=yes |
| 14830 | file_list_spec_FC='${wl}-f,' |
| 14831 | |
| 14832 | if test "$GCC" = yes; then |
| 14833 | case $host_os in aix4.[012]|aix4.[012].*) |
| 14834 | # We only want to do this on AIX 4.2 and lower, the check |
| 14835 | # below for broken collect2 doesn't work under 4.3+ |
| 14836 | collect2name=`${CC} -print-prog-name=collect2` |
| 14837 | if test -f "$collect2name" && |
| 14838 | strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 14839 | then |
| 14840 | # We have reworked collect2 |
| 14841 | : |
| 14842 | else |
| 14843 | # We have old collect2 |
| 14844 | hardcode_direct_FC=unsupported |
| 14845 | # It fails to find uninstalled libraries when the uninstalled |
| 14846 | # path is not listed in the libpath. Setting hardcode_minus_L |
| 14847 | # to unsupported forces relinking |
| 14848 | hardcode_minus_L_FC=yes |
| 14849 | hardcode_libdir_flag_spec_FC='-L$libdir' |
| 14850 | hardcode_libdir_separator_FC= |
| 14851 | fi |
| 14852 | ;; |
| 14853 | esac |
| 14854 | shared_flag='-shared' |
| 14855 | if test "$aix_use_runtimelinking" = yes; then |
| 14856 | shared_flag="$shared_flag "'${wl}-G' |
| 14857 | fi |
| 14858 | else |
| 14859 | # not using gcc |
| 14860 | if test "$host_cpu" = ia64; then |
| 14861 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 14862 | # chokes on -Wl,-G. The following line is correct: |
| 14863 | shared_flag='-G' |
| 14864 | else |
| 14865 | if test "$aix_use_runtimelinking" = yes; then |
| 14866 | shared_flag='${wl}-G' |
| 14867 | else |
| 14868 | shared_flag='${wl}-bM:SRE' |
| 14869 | fi |
| 14870 | fi |
| 14871 | fi |
| 14872 | |
| 14873 | export_dynamic_flag_spec_FC='${wl}-bexpall' |
| 14874 | # It seems that -bexpall does not export symbols beginning with |
| 14875 | # underscore (_), so it is better to generate a list of symbols to export. |
| 14876 | always_export_symbols_FC=yes |
| 14877 | if test "$aix_use_runtimelinking" = yes; then |
| 14878 | # Warning - without using the other runtime loading flags (-brtl), |
| 14879 | # -berok will link without error, but may produce a broken library. |
| 14880 | allow_undefined_flag_FC='-berok' |
| 14881 | # Determine the default libpath from the value encoded in an |
| 14882 | # empty executable. |
| 14883 | if test x$gcc_no_link = xyes; then |
| 14884 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 14885 | fi |
| 14886 | cat > conftest.$ac_ext <<_ACEOF |
| 14887 | program main |
| 14888 | |
| 14889 | end |
| 14890 | _ACEOF |
| 14891 | if ac_fn_fc_try_link "$LINENO"; then : |
| 14892 | |
| 14893 | lt_aix_libpath_sed=' |
| 14894 | /Import File Strings/,/^$/ { |
| 14895 | /^0/ { |
| 14896 | s/^0 *\(.*\)$/\1/ |
| 14897 | p |
| 14898 | } |
| 14899 | }' |
| 14900 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 14901 | # Check for a 64-bit object if we didn't find anything. |
| 14902 | if test -z "$aix_libpath"; then |
| 14903 | aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 14904 | fi |
| 14905 | fi |
| 14906 | rm -f core conftest.err conftest.$ac_objext \ |
| 14907 | conftest$ac_exeext conftest.$ac_ext |
| 14908 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 14909 | |
| 14910 | hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 14911 | 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" |
| 14912 | else |
| 14913 | if test "$host_cpu" = ia64; then |
| 14914 | hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib' |
| 14915 | allow_undefined_flag_FC="-z nodefs" |
| 14916 | 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" |
| 14917 | else |
| 14918 | # Determine the default libpath from the value encoded in an |
| 14919 | # empty executable. |
| 14920 | if test x$gcc_no_link = xyes; then |
| 14921 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 14922 | fi |
| 14923 | cat > conftest.$ac_ext <<_ACEOF |
| 14924 | program main |
| 14925 | |
| 14926 | end |
| 14927 | _ACEOF |
| 14928 | if ac_fn_fc_try_link "$LINENO"; then : |
| 14929 | |
| 14930 | lt_aix_libpath_sed=' |
| 14931 | /Import File Strings/,/^$/ { |
| 14932 | /^0/ { |
| 14933 | s/^0 *\(.*\)$/\1/ |
| 14934 | p |
| 14935 | } |
| 14936 | }' |
| 14937 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 14938 | # Check for a 64-bit object if we didn't find anything. |
| 14939 | if test -z "$aix_libpath"; then |
| 14940 | aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 14941 | fi |
| 14942 | fi |
| 14943 | rm -f core conftest.err conftest.$ac_objext \ |
| 14944 | conftest$ac_exeext conftest.$ac_ext |
| 14945 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 14946 | |
| 14947 | hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 14948 | # Warning - without using the other run time loading flags, |
| 14949 | # -berok will link without error, but may produce a broken library. |
| 14950 | no_undefined_flag_FC=' ${wl}-bernotok' |
| 14951 | allow_undefined_flag_FC=' ${wl}-berok' |
| 14952 | if test "$with_gnu_ld" = yes; then |
| 14953 | # We only use this code for GNU lds that support --whole-archive. |
| 14954 | whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
| 14955 | else |
| 14956 | # Exported symbols can be pulled into shared objects from archives |
| 14957 | whole_archive_flag_spec_FC='$convenience' |
| 14958 | fi |
| 14959 | archive_cmds_need_lc_FC=yes |
| 14960 | # This is similar to how AIX traditionally builds its shared libraries. |
| 14961 | 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' |
| 14962 | fi |
| 14963 | fi |
| 14964 | ;; |
| 14965 | |
| 14966 | amigaos*) |
| 14967 | case $host_cpu in |
| 14968 | powerpc) |
| 14969 | # see comment about AmigaOS4 .so support |
| 14970 | archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 14971 | archive_expsym_cmds_FC='' |
| 14972 | ;; |
| 14973 | m68k) |
| 14974 | 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)' |
| 14975 | hardcode_libdir_flag_spec_FC='-L$libdir' |
| 14976 | hardcode_minus_L_FC=yes |
| 14977 | ;; |
| 14978 | esac |
| 14979 | ;; |
| 14980 | |
| 14981 | bsdi[45]*) |
| 14982 | export_dynamic_flag_spec_FC=-rdynamic |
| 14983 | ;; |
| 14984 | |
| 14985 | cygwin* | mingw* | pw32* | cegcc*) |
| 14986 | # When not using gcc, we currently assume that we are using |
| 14987 | # Microsoft Visual C++. |
| 14988 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 14989 | # no search path for DLLs. |
| 14990 | hardcode_libdir_flag_spec_FC=' ' |
| 14991 | allow_undefined_flag_FC=unsupported |
| 14992 | # Tell ltmain to make .lib files, not .a files. |
| 14993 | libext=lib |
| 14994 | # Tell ltmain to make .dll files, not .so files. |
| 14995 | shrext_cmds=".dll" |
| 14996 | # FIXME: Setting linknames here is a bad hack. |
| 14997 | archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 14998 | # The linker will automatically build a .lib file if we build a DLL. |
| 14999 | old_archive_from_new_cmds_FC='true' |
| 15000 | # FIXME: Should let the user specify the lib program. |
| 15001 | old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 15002 | fix_srcfile_path_FC='`cygpath -w "$srcfile"`' |
| 15003 | enable_shared_with_static_runtimes_FC=yes |
| 15004 | ;; |
| 15005 | |
| 15006 | darwin* | rhapsody*) |
| 15007 | |
| 15008 | |
| 15009 | |
| 15010 | # Publish an arg to allow the user to select that Darwin host (and target) |
| 15011 | # libraries should be given install-names like @rpath/libfoo.dylib. This |
| 15012 | # requires that the user of the library then adds an 'rpath' to the DSO that |
| 15013 | # needs access. |
| 15014 | # NOTE: there are defaults below, for systems that support rpaths. The person |
| 15015 | # configuring can override the defaults for any system version that supports |
| 15016 | # them - they are, however, forced off for system versions without support. |
| 15017 | # Check whether --enable-darwin-at-rpath was given. |
| 15018 | if test "${enable_darwin_at_rpath+set}" = set; then : |
| 15019 | enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then |
| 15020 | # This is not supported before macOS 10.5 / Darwin9. |
| 15021 | case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in |
| 15022 | UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*) |
| 15023 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5 |
| 15024 | $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;} |
| 15025 | enable_darwin_at_rpath=no |
| 15026 | ;; |
| 15027 | esac |
| 15028 | fi |
| 15029 | else |
| 15030 | case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in |
| 15031 | # As above, before 10.5 / Darwin9 this does not work. |
| 15032 | UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*) |
| 15033 | enable_darwin_at_rpath=no |
| 15034 | ;; |
| 15035 | |
| 15036 | # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use |
| 15037 | # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key |
| 15038 | # system executables (e.g. /bin/sh). Force rpaths on for these systems. |
| 15039 | UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* ) |
| 15040 | { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5 |
| 15041 | $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;} |
| 15042 | enable_darwin_at_rpath=yes |
| 15043 | ;; |
| 15044 | # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can |
| 15045 | # work with either DYLD_LIBRARY_PATH or embedded rpaths. |
| 15046 | |
| 15047 | esac |
| 15048 | |
| 15049 | fi |
| 15050 | |
| 15051 | |
| 15052 | archive_cmds_need_lc_FC=no |
| 15053 | hardcode_direct_FC=no |
| 15054 | hardcode_automatic_FC=yes |
| 15055 | hardcode_shlibpath_var_FC=unsupported |
| 15056 | if test "$lt_cv_ld_force_load" = "yes"; then |
| 15057 | 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\"`' |
| 15058 | else |
| 15059 | whole_archive_flag_spec_FC='' |
| 15060 | fi |
| 15061 | link_all_deplibs_FC=yes |
| 15062 | allow_undefined_flag_FC="$_lt_dar_allow_undefined" |
| 15063 | case $cc_basename in |
| 15064 | ifort*) _lt_dar_can_shared=yes ;; |
| 15065 | *) _lt_dar_can_shared=$GCC ;; |
| 15066 | esac |
| 15067 | if test "$_lt_dar_can_shared" = "yes"; then |
| 15068 | output_verbose_link_cmd=func_echo_all |
| 15069 | _lt_install_name='\$rpath/\$soname' |
| 15070 | if test "x$enable_darwin_at_rpath" = "xyes"; then |
| 15071 | _lt_install_name='@rpath/\$soname' |
| 15072 | fi |
| 15073 | archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}" |
| 15074 | module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
| 15075 | 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}" |
| 15076 | 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}" |
| 15077 | |
| 15078 | else |
| 15079 | ld_shlibs_FC=no |
| 15080 | fi |
| 15081 | |
| 15082 | ;; |
| 15083 | |
| 15084 | dgux*) |
| 15085 | archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 15086 | hardcode_libdir_flag_spec_FC='-L$libdir' |
| 15087 | hardcode_shlibpath_var_FC=no |
| 15088 | ;; |
| 15089 | |
| 15090 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 15091 | # support. Future versions do this automatically, but an explicit c++rt0.o |
| 15092 | # does not break anything, and helps significantly (at the cost of a little |
| 15093 | # extra space). |
| 15094 | freebsd2.2*) |
| 15095 | archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
| 15096 | hardcode_libdir_flag_spec_FC='-R$libdir' |
| 15097 | hardcode_direct_FC=yes |
| 15098 | hardcode_shlibpath_var_FC=no |
| 15099 | ;; |
| 15100 | |
| 15101 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 15102 | freebsd2.*) |
| 15103 | archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 15104 | hardcode_direct_FC=yes |
| 15105 | hardcode_minus_L_FC=yes |
| 15106 | hardcode_shlibpath_var_FC=no |
| 15107 | ;; |
| 15108 | |
| 15109 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 15110 | freebsd* | dragonfly*) |
| 15111 | archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
| 15112 | hardcode_libdir_flag_spec_FC='-R$libdir' |
| 15113 | hardcode_direct_FC=yes |
| 15114 | hardcode_shlibpath_var_FC=no |
| 15115 | ;; |
| 15116 | |
| 15117 | hpux9*) |
| 15118 | if test "$GCC" = yes; then |
| 15119 | 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' |
| 15120 | else |
| 15121 | 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' |
| 15122 | fi |
| 15123 | hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir' |
| 15124 | hardcode_libdir_separator_FC=: |
| 15125 | hardcode_direct_FC=yes |
| 15126 | |
| 15127 | # hardcode_minus_L: Not really in the search PATH, |
| 15128 | # but as the default location of the library. |
| 15129 | hardcode_minus_L_FC=yes |
| 15130 | export_dynamic_flag_spec_FC='${wl}-E' |
| 15131 | ;; |
| 15132 | |
| 15133 | hpux10*) |
| 15134 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 15135 | archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 15136 | else |
| 15137 | archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 15138 | fi |
| 15139 | if test "$with_gnu_ld" = no; then |
| 15140 | hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir' |
| 15141 | hardcode_libdir_flag_spec_ld_FC='+b $libdir' |
| 15142 | hardcode_libdir_separator_FC=: |
| 15143 | hardcode_direct_FC=yes |
| 15144 | hardcode_direct_absolute_FC=yes |
| 15145 | export_dynamic_flag_spec_FC='${wl}-E' |
| 15146 | # hardcode_minus_L: Not really in the search PATH, |
| 15147 | # but as the default location of the library. |
| 15148 | hardcode_minus_L_FC=yes |
| 15149 | fi |
| 15150 | ;; |
| 15151 | |
| 15152 | hpux11*) |
| 15153 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 15154 | case $host_cpu in |
| 15155 | hppa*64*) |
| 15156 | archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 15157 | ;; |
| 15158 | ia64*) |
| 15159 | archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 15160 | ;; |
| 15161 | *) |
| 15162 | archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 15163 | ;; |
| 15164 | esac |
| 15165 | else |
| 15166 | case $host_cpu in |
| 15167 | hppa*64*) |
| 15168 | archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 15169 | ;; |
| 15170 | ia64*) |
| 15171 | archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 15172 | ;; |
| 15173 | *) |
| 15174 | archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 15175 | ;; |
| 15176 | esac |
| 15177 | fi |
| 15178 | if test "$with_gnu_ld" = no; then |
| 15179 | hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir' |
| 15180 | hardcode_libdir_separator_FC=: |
| 15181 | |
| 15182 | case $host_cpu in |
| 15183 | hppa*64*|ia64*) |
| 15184 | hardcode_direct_FC=no |
| 15185 | hardcode_shlibpath_var_FC=no |
| 15186 | ;; |
| 15187 | *) |
| 15188 | hardcode_direct_FC=yes |
| 15189 | hardcode_direct_absolute_FC=yes |
| 15190 | export_dynamic_flag_spec_FC='${wl}-E' |
| 15191 | |
| 15192 | # hardcode_minus_L: Not really in the search PATH, |
| 15193 | # but as the default location of the library. |
| 15194 | hardcode_minus_L_FC=yes |
| 15195 | ;; |
| 15196 | esac |
| 15197 | fi |
| 15198 | ;; |
| 15199 | |
| 15200 | irix5* | irix6* | nonstopux*) |
| 15201 | if test "$GCC" = yes; then |
| 15202 | 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' |
| 15203 | # Try to use the -exported_symbol ld option, if it does not |
| 15204 | # work, assume that -exports_file does not work either and |
| 15205 | # implicitly export all symbols. |
| 15206 | save_LDFLAGS="$LDFLAGS" |
| 15207 | LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 15208 | if test x$gcc_no_link = xyes; then |
| 15209 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 15210 | fi |
| 15211 | cat > conftest.$ac_ext <<_ACEOF |
| 15212 | int foo(void) {} |
| 15213 | _ACEOF |
| 15214 | if ac_fn_fc_try_link "$LINENO"; then : |
| 15215 | 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' |
| 15216 | |
| 15217 | fi |
| 15218 | rm -f core conftest.err conftest.$ac_objext \ |
| 15219 | conftest$ac_exeext conftest.$ac_ext |
| 15220 | LDFLAGS="$save_LDFLAGS" |
| 15221 | else |
| 15222 | 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' |
| 15223 | 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' |
| 15224 | fi |
| 15225 | archive_cmds_need_lc_FC='no' |
| 15226 | hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
| 15227 | hardcode_libdir_separator_FC=: |
| 15228 | inherit_rpath_FC=yes |
| 15229 | link_all_deplibs_FC=yes |
| 15230 | ;; |
| 15231 | |
| 15232 | netbsd*) |
| 15233 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 15234 | archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 15235 | else |
| 15236 | archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
| 15237 | fi |
| 15238 | hardcode_libdir_flag_spec_FC='-R$libdir' |
| 15239 | hardcode_direct_FC=yes |
| 15240 | hardcode_shlibpath_var_FC=no |
| 15241 | ;; |
| 15242 | |
| 15243 | newsos6) |
| 15244 | archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 15245 | hardcode_direct_FC=yes |
| 15246 | hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
| 15247 | hardcode_libdir_separator_FC=: |
| 15248 | hardcode_shlibpath_var_FC=no |
| 15249 | ;; |
| 15250 | |
| 15251 | *nto* | *qnx*) |
| 15252 | ;; |
| 15253 | |
| 15254 | openbsd*) |
| 15255 | if test -f /usr/libexec/ld.so; then |
| 15256 | hardcode_direct_FC=yes |
| 15257 | hardcode_shlibpath_var_FC=no |
| 15258 | hardcode_direct_absolute_FC=yes |
| 15259 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 15260 | archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 15261 | archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
| 15262 | hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
| 15263 | export_dynamic_flag_spec_FC='${wl}-E' |
| 15264 | else |
| 15265 | case $host_os in |
| 15266 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
| 15267 | archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 15268 | hardcode_libdir_flag_spec_FC='-R$libdir' |
| 15269 | ;; |
| 15270 | *) |
| 15271 | archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 15272 | hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
| 15273 | ;; |
| 15274 | esac |
| 15275 | fi |
| 15276 | else |
| 15277 | ld_shlibs_FC=no |
| 15278 | fi |
| 15279 | ;; |
| 15280 | |
| 15281 | os2*) |
| 15282 | hardcode_libdir_flag_spec_FC='-L$libdir' |
| 15283 | hardcode_minus_L_FC=yes |
| 15284 | allow_undefined_flag_FC=unsupported |
| 15285 | 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' |
| 15286 | old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
| 15287 | ;; |
| 15288 | |
| 15289 | osf3*) |
| 15290 | if test "$GCC" = yes; then |
| 15291 | allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*' |
| 15292 | 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' |
| 15293 | else |
| 15294 | allow_undefined_flag_FC=' -expect_unresolved \*' |
| 15295 | 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' |
| 15296 | fi |
| 15297 | archive_cmds_need_lc_FC='no' |
| 15298 | hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
| 15299 | hardcode_libdir_separator_FC=: |
| 15300 | ;; |
| 15301 | |
| 15302 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 15303 | if test "$GCC" = yes; then |
| 15304 | allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*' |
| 15305 | 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' |
| 15306 | hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir' |
| 15307 | else |
| 15308 | allow_undefined_flag_FC=' -expect_unresolved \*' |
| 15309 | 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' |
| 15310 | 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~ |
| 15311 | $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' |
| 15312 | |
| 15313 | # Both c and cxx compiler support -rpath directly |
| 15314 | hardcode_libdir_flag_spec_FC='-rpath $libdir' |
| 15315 | fi |
| 15316 | archive_cmds_need_lc_FC='no' |
| 15317 | hardcode_libdir_separator_FC=: |
| 15318 | ;; |
| 15319 | |
| 15320 | solaris*) |
| 15321 | no_undefined_flag_FC=' -z defs' |
| 15322 | if test "$GCC" = yes; then |
| 15323 | wlarc='${wl}' |
| 15324 | archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15325 | archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 15326 | $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 15327 | else |
| 15328 | case `$CC -V 2>&1` in |
| 15329 | *"Compilers 5.0"*) |
| 15330 | wlarc='' |
| 15331 | archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 15332 | archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 15333 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
| 15334 | ;; |
| 15335 | *) |
| 15336 | wlarc='${wl}' |
| 15337 | archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15338 | archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 15339 | $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 15340 | ;; |
| 15341 | esac |
| 15342 | fi |
| 15343 | hardcode_libdir_flag_spec_FC='-R$libdir' |
| 15344 | hardcode_shlibpath_var_FC=no |
| 15345 | case $host_os in |
| 15346 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 15347 | *) |
| 15348 | # The compiler driver will combine and reorder linker options, |
| 15349 | # but understands `-z linker_flag'. GCC discards it without `$wl', |
| 15350 | # but is careful enough not to reorder. |
| 15351 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 15352 | if test "$GCC" = yes; then |
| 15353 | whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
| 15354 | else |
| 15355 | whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract' |
| 15356 | fi |
| 15357 | ;; |
| 15358 | esac |
| 15359 | link_all_deplibs_FC=yes |
| 15360 | ;; |
| 15361 | |
| 15362 | sunos4*) |
| 15363 | if test "x$host_vendor" = xsequent; then |
| 15364 | # Use $CC to link under sequent, because it throws in some extra .o |
| 15365 | # files that make .init and .fini sections work. |
| 15366 | archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15367 | else |
| 15368 | archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
| 15369 | fi |
| 15370 | hardcode_libdir_flag_spec_FC='-L$libdir' |
| 15371 | hardcode_direct_FC=yes |
| 15372 | hardcode_minus_L_FC=yes |
| 15373 | hardcode_shlibpath_var_FC=no |
| 15374 | ;; |
| 15375 | |
| 15376 | sysv4) |
| 15377 | case $host_vendor in |
| 15378 | sni) |
| 15379 | archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 15380 | hardcode_direct_FC=yes # is this really true??? |
| 15381 | ;; |
| 15382 | siemens) |
| 15383 | ## LD is ld it makes a PLAMLIB |
| 15384 | ## CC just makes a GrossModule. |
| 15385 | archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 15386 | reload_cmds_FC='$CC -r -o $output$reload_objs' |
| 15387 | hardcode_direct_FC=no |
| 15388 | ;; |
| 15389 | motorola) |
| 15390 | archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 15391 | hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie |
| 15392 | ;; |
| 15393 | esac |
| 15394 | runpath_var='LD_RUN_PATH' |
| 15395 | hardcode_shlibpath_var_FC=no |
| 15396 | ;; |
| 15397 | |
| 15398 | sysv4.3*) |
| 15399 | archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 15400 | hardcode_shlibpath_var_FC=no |
| 15401 | export_dynamic_flag_spec_FC='-Bexport' |
| 15402 | ;; |
| 15403 | |
| 15404 | sysv4*MP*) |
| 15405 | if test -d /usr/nec; then |
| 15406 | archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 15407 | hardcode_shlibpath_var_FC=no |
| 15408 | runpath_var=LD_RUN_PATH |
| 15409 | hardcode_runpath_var=yes |
| 15410 | ld_shlibs_FC=yes |
| 15411 | fi |
| 15412 | ;; |
| 15413 | |
| 15414 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 15415 | no_undefined_flag_FC='${wl}-z,text' |
| 15416 | archive_cmds_need_lc_FC=no |
| 15417 | hardcode_shlibpath_var_FC=no |
| 15418 | runpath_var='LD_RUN_PATH' |
| 15419 | |
| 15420 | if test "$GCC" = yes; then |
| 15421 | archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15422 | archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15423 | else |
| 15424 | archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15425 | archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15426 | fi |
| 15427 | ;; |
| 15428 | |
| 15429 | sysv5* | sco3.2v5* | sco5v6*) |
| 15430 | # Note: We can NOT use -z defs as we might desire, because we do not |
| 15431 | # link with -lc, and that would cause any symbols used from libc to |
| 15432 | # always be unresolved, which means just about no library would |
| 15433 | # ever link correctly. If we're not using GNU ld we use -z text |
| 15434 | # though, which does catch some bad symbols but isn't as heavy-handed |
| 15435 | # as -z defs. |
| 15436 | no_undefined_flag_FC='${wl}-z,text' |
| 15437 | allow_undefined_flag_FC='${wl}-z,nodefs' |
| 15438 | archive_cmds_need_lc_FC=no |
| 15439 | hardcode_shlibpath_var_FC=no |
| 15440 | hardcode_libdir_flag_spec_FC='${wl}-R,$libdir' |
| 15441 | hardcode_libdir_separator_FC=':' |
| 15442 | link_all_deplibs_FC=yes |
| 15443 | export_dynamic_flag_spec_FC='${wl}-Bexport' |
| 15444 | runpath_var='LD_RUN_PATH' |
| 15445 | |
| 15446 | if test "$GCC" = yes; then |
| 15447 | archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15448 | archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15449 | else |
| 15450 | archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15451 | archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 15452 | fi |
| 15453 | ;; |
| 15454 | |
| 15455 | uts4*) |
| 15456 | archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 15457 | hardcode_libdir_flag_spec_FC='-L$libdir' |
| 15458 | hardcode_shlibpath_var_FC=no |
| 15459 | ;; |
| 15460 | |
| 15461 | *) |
| 15462 | ld_shlibs_FC=no |
| 15463 | ;; |
| 15464 | esac |
| 15465 | |
| 15466 | if test x$host_vendor = xsni; then |
| 15467 | case $host in |
| 15468 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 15469 | export_dynamic_flag_spec_FC='${wl}-Blargedynsym' |
| 15470 | ;; |
| 15471 | esac |
| 15472 | fi |
| 15473 | fi |
| 15474 | |
| 15475 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5 |
| 15476 | $as_echo "$ld_shlibs_FC" >&6; } |
| 15477 | test "$ld_shlibs_FC" = no && can_build_shared=no |
| 15478 | |
| 15479 | with_gnu_ld_FC=$with_gnu_ld |
| 15480 | |
| 15481 | |
| 15482 | |
| 15483 | |
| 15484 | |
| 15485 | |
| 15486 | # |
| 15487 | # Do we need to explicitly link libc? |
| 15488 | # |
| 15489 | case "x$archive_cmds_need_lc_FC" in |
| 15490 | x|xyes) |
| 15491 | # Assume -lc should be added |
| 15492 | archive_cmds_need_lc_FC=yes |
| 15493 | |
| 15494 | if test "$enable_shared" = yes && test "$GCC" = yes; then |
| 15495 | case $archive_cmds_FC in |
| 15496 | *'~'*) |
| 15497 | # FIXME: we may have to deal with multi-command sequences. |
| 15498 | ;; |
| 15499 | '$CC '*) |
| 15500 | # Test whether the compiler implicitly links with -lc since on some |
| 15501 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 15502 | # to ld, don't add -lc before -lgcc. |
| 15503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 15504 | $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 15505 | if ${lt_cv_archive_cmds_need_lc_FC+:} false; then : |
| 15506 | $as_echo_n "(cached) " >&6 |
| 15507 | else |
| 15508 | $RM conftest* |
| 15509 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 15510 | |
| 15511 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 15512 | (eval $ac_compile) 2>&5 |
| 15513 | ac_status=$? |
| 15514 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15515 | test $ac_status = 0; } 2>conftest.err; then |
| 15516 | soname=conftest |
| 15517 | lib=conftest |
| 15518 | libobjs=conftest.$ac_objext |
| 15519 | deplibs= |
| 15520 | wl=$lt_prog_compiler_wl_FC |
| 15521 | pic_flag=$lt_prog_compiler_pic_FC |
| 15522 | compiler_flags=-v |
| 15523 | linker_flags=-v |
| 15524 | verstring= |
| 15525 | output_objdir=. |
| 15526 | libname=conftest |
| 15527 | lt_save_allow_undefined_flag=$allow_undefined_flag_FC |
| 15528 | allow_undefined_flag_FC= |
| 15529 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 15530 | (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 15531 | ac_status=$? |
| 15532 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15533 | test $ac_status = 0; } |
| 15534 | then |
| 15535 | lt_cv_archive_cmds_need_lc_FC=no |
| 15536 | else |
| 15537 | lt_cv_archive_cmds_need_lc_FC=yes |
| 15538 | fi |
| 15539 | allow_undefined_flag_FC=$lt_save_allow_undefined_flag |
| 15540 | else |
| 15541 | cat conftest.err 1>&5 |
| 15542 | fi |
| 15543 | $RM conftest* |
| 15544 | |
| 15545 | fi |
| 15546 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5 |
| 15547 | $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; } |
| 15548 | archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC |
| 15549 | ;; |
| 15550 | esac |
| 15551 | fi |
| 15552 | ;; |
| 15553 | esac |
| 15554 | |
| 15555 | |
| 15556 | |
| 15557 | |
| 15558 | |
| 15559 | |
| 15560 | |
| 15561 | |
| 15562 | |
| 15563 | |
| 15564 | |
| 15565 | |
| 15566 | |
| 15567 | |
| 15568 | |
| 15569 | |
| 15570 | |
| 15571 | |
| 15572 | |
| 15573 | |
| 15574 | |
| 15575 | |
| 15576 | |
| 15577 | |
| 15578 | |
| 15579 | |
| 15580 | |
| 15581 | |
| 15582 | |
| 15583 | |
| 15584 | |
| 15585 | |
| 15586 | |
| 15587 | |
| 15588 | |
| 15589 | |
| 15590 | |
| 15591 | |
| 15592 | |
| 15593 | |
| 15594 | |
| 15595 | |
| 15596 | |
| 15597 | |
| 15598 | |
| 15599 | |
| 15600 | |
| 15601 | |
| 15602 | |
| 15603 | |
| 15604 | |
| 15605 | |
| 15606 | |
| 15607 | |
| 15608 | |
| 15609 | |
| 15610 | |
| 15611 | |
| 15612 | |
| 15613 | |
| 15614 | |
| 15615 | |
| 15616 | |
| 15617 | |
| 15618 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 15619 | $as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 15620 | |
| 15621 | library_names_spec= |
| 15622 | libname_spec='lib$name' |
| 15623 | soname_spec= |
| 15624 | shrext_cmds=".so" |
| 15625 | postinstall_cmds= |
| 15626 | postuninstall_cmds= |
| 15627 | finish_cmds= |
| 15628 | finish_eval= |
| 15629 | shlibpath_var= |
| 15630 | shlibpath_overrides_runpath=unknown |
| 15631 | version_type=none |
| 15632 | dynamic_linker="$host_os ld.so" |
| 15633 | sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 15634 | need_lib_prefix=unknown |
| 15635 | hardcode_into_libs=no |
| 15636 | |
| 15637 | # when you set need_version to no, make sure it does not cause -set_version |
| 15638 | # flags to be left without arguments |
| 15639 | need_version=unknown |
| 15640 | |
| 15641 | case $host_os in |
| 15642 | aix3*) |
| 15643 | version_type=linux |
| 15644 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 15645 | shlibpath_var=LIBPATH |
| 15646 | |
| 15647 | # AIX 3 has no versioning support, so we append a major version to the name. |
| 15648 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15649 | ;; |
| 15650 | |
| 15651 | aix[4-9]*) |
| 15652 | version_type=linux |
| 15653 | need_lib_prefix=no |
| 15654 | need_version=no |
| 15655 | hardcode_into_libs=yes |
| 15656 | if test "$host_cpu" = ia64; then |
| 15657 | # AIX 5 supports IA64 |
| 15658 | library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
| 15659 | shlibpath_var=LD_LIBRARY_PATH |
| 15660 | else |
| 15661 | # With GCC up to 2.95.x, collect2 would create an import file |
| 15662 | # for dependence libraries. The import file would start with |
| 15663 | # the line `#! .'. This would cause the generated library to |
| 15664 | # depend on `.', always an invalid library. This was fixed in |
| 15665 | # development snapshots of GCC prior to 3.0. |
| 15666 | case $host_os in |
| 15667 | aix4 | aix4.[01] | aix4.[01].*) |
| 15668 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 15669 | echo ' yes ' |
| 15670 | echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
| 15671 | : |
| 15672 | else |
| 15673 | can_build_shared=no |
| 15674 | fi |
| 15675 | ;; |
| 15676 | esac |
| 15677 | # AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
| 15678 | # soname into executable. Probably we can add versioning support to |
| 15679 | # collect2, so additional links can be useful in future. |
| 15680 | if test "$aix_use_runtimelinking" = yes; then |
| 15681 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 15682 | # instead of lib<name>.a to let people know that these are not |
| 15683 | # typical AIX shared libraries. |
| 15684 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15685 | else |
| 15686 | # We preserve .a as extension for shared libraries through AIX4.2 |
| 15687 | # and later when we are not doing run time linking. |
| 15688 | library_names_spec='${libname}${release}.a $libname.a' |
| 15689 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15690 | fi |
| 15691 | shlibpath_var=LIBPATH |
| 15692 | fi |
| 15693 | ;; |
| 15694 | |
| 15695 | amigaos*) |
| 15696 | case $host_cpu in |
| 15697 | powerpc) |
| 15698 | # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 15699 | # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 15700 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15701 | ;; |
| 15702 | m68k) |
| 15703 | library_names_spec='$libname.ixlibrary $libname.a' |
| 15704 | # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 15705 | 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' |
| 15706 | ;; |
| 15707 | esac |
| 15708 | ;; |
| 15709 | |
| 15710 | beos*) |
| 15711 | library_names_spec='${libname}${shared_ext}' |
| 15712 | dynamic_linker="$host_os ld.so" |
| 15713 | shlibpath_var=LIBRARY_PATH |
| 15714 | ;; |
| 15715 | |
| 15716 | bsdi[45]*) |
| 15717 | version_type=linux |
| 15718 | need_version=no |
| 15719 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15720 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15721 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 15722 | shlibpath_var=LD_LIBRARY_PATH |
| 15723 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
| 15724 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
| 15725 | # the default ld.so.conf also contains /usr/contrib/lib and |
| 15726 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 15727 | # libtool to hard-code these into programs |
| 15728 | ;; |
| 15729 | |
| 15730 | cygwin* | mingw* | pw32* | cegcc*) |
| 15731 | version_type=windows |
| 15732 | shrext_cmds=".dll" |
| 15733 | need_version=no |
| 15734 | need_lib_prefix=no |
| 15735 | |
| 15736 | case $GCC,$host_os in |
| 15737 | yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
| 15738 | library_names_spec='$libname.dll.a' |
| 15739 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 15740 | postinstall_cmds='base_file=`basename \${file}`~ |
| 15741 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
| 15742 | dldir=$destdir/`dirname \$dlpath`~ |
| 15743 | test -d \$dldir || mkdir -p \$dldir~ |
| 15744 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 15745 | chmod a+x \$dldir/$dlname~ |
| 15746 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 15747 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 15748 | fi' |
| 15749 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 15750 | dlpath=$dir/\$dldll~ |
| 15751 | $RM \$dlpath' |
| 15752 | shlibpath_overrides_runpath=yes |
| 15753 | |
| 15754 | case $host_os in |
| 15755 | cygwin*) |
| 15756 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 15757 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 15758 | |
| 15759 | ;; |
| 15760 | mingw* | cegcc*) |
| 15761 | # MinGW DLLs use traditional 'lib' prefix |
| 15762 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 15763 | ;; |
| 15764 | pw32*) |
| 15765 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 15766 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 15767 | ;; |
| 15768 | esac |
| 15769 | ;; |
| 15770 | |
| 15771 | *) |
| 15772 | library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
| 15773 | ;; |
| 15774 | esac |
| 15775 | dynamic_linker='Win32 ld.exe' |
| 15776 | # FIXME: first we should search . and the directory the executable is in |
| 15777 | shlibpath_var=PATH |
| 15778 | ;; |
| 15779 | |
| 15780 | darwin* | rhapsody*) |
| 15781 | dynamic_linker="$host_os dyld" |
| 15782 | version_type=darwin |
| 15783 | need_lib_prefix=no |
| 15784 | need_version=no |
| 15785 | library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
| 15786 | soname_spec='${libname}${release}${major}$shared_ext' |
| 15787 | shlibpath_overrides_runpath=yes |
| 15788 | shlibpath_var=DYLD_LIBRARY_PATH |
| 15789 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 15790 | |
| 15791 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 15792 | ;; |
| 15793 | |
| 15794 | dgux*) |
| 15795 | version_type=linux |
| 15796 | need_lib_prefix=no |
| 15797 | need_version=no |
| 15798 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
| 15799 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15800 | shlibpath_var=LD_LIBRARY_PATH |
| 15801 | ;; |
| 15802 | |
| 15803 | freebsd* | dragonfly*) |
| 15804 | # DragonFly does not have aout. When/if they implement a new |
| 15805 | # versioning mechanism, adjust this. |
| 15806 | if test -x /usr/bin/objformat; then |
| 15807 | objformat=`/usr/bin/objformat` |
| 15808 | else |
| 15809 | case $host_os in |
| 15810 | freebsd[23].*) objformat=aout ;; |
| 15811 | *) objformat=elf ;; |
| 15812 | esac |
| 15813 | fi |
| 15814 | version_type=freebsd-$objformat |
| 15815 | case $version_type in |
| 15816 | freebsd-elf*) |
| 15817 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 15818 | need_version=no |
| 15819 | need_lib_prefix=no |
| 15820 | ;; |
| 15821 | freebsd-*) |
| 15822 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
| 15823 | need_version=yes |
| 15824 | ;; |
| 15825 | esac |
| 15826 | shlibpath_var=LD_LIBRARY_PATH |
| 15827 | case $host_os in |
| 15828 | freebsd2.*) |
| 15829 | shlibpath_overrides_runpath=yes |
| 15830 | ;; |
| 15831 | freebsd3.[01]* | freebsdelf3.[01]*) |
| 15832 | shlibpath_overrides_runpath=yes |
| 15833 | hardcode_into_libs=yes |
| 15834 | ;; |
| 15835 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 15836 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 15837 | shlibpath_overrides_runpath=no |
| 15838 | hardcode_into_libs=yes |
| 15839 | ;; |
| 15840 | *) # from 4.6 on, and DragonFly |
| 15841 | shlibpath_overrides_runpath=yes |
| 15842 | hardcode_into_libs=yes |
| 15843 | ;; |
| 15844 | esac |
| 15845 | ;; |
| 15846 | |
| 15847 | haiku*) |
| 15848 | version_type=linux |
| 15849 | need_lib_prefix=no |
| 15850 | need_version=no |
| 15851 | dynamic_linker="$host_os runtime_loader" |
| 15852 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 15853 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15854 | shlibpath_var=LIBRARY_PATH |
| 15855 | shlibpath_overrides_runpath=yes |
| 15856 | sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
| 15857 | hardcode_into_libs=yes |
| 15858 | ;; |
| 15859 | |
| 15860 | hpux9* | hpux10* | hpux11*) |
| 15861 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| 15862 | # link against other versions. |
| 15863 | version_type=sunos |
| 15864 | need_lib_prefix=no |
| 15865 | need_version=no |
| 15866 | case $host_cpu in |
| 15867 | ia64*) |
| 15868 | shrext_cmds='.so' |
| 15869 | hardcode_into_libs=yes |
| 15870 | dynamic_linker="$host_os dld.so" |
| 15871 | shlibpath_var=LD_LIBRARY_PATH |
| 15872 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 15873 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15874 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15875 | if test "X$HPUX_IA64_MODE" = X32; then |
| 15876 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 15877 | else |
| 15878 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 15879 | fi |
| 15880 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 15881 | ;; |
| 15882 | hppa*64*) |
| 15883 | shrext_cmds='.sl' |
| 15884 | hardcode_into_libs=yes |
| 15885 | dynamic_linker="$host_os dld.sl" |
| 15886 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 15887 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 15888 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15889 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15890 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 15891 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 15892 | ;; |
| 15893 | *) |
| 15894 | shrext_cmds='.sl' |
| 15895 | dynamic_linker="$host_os dld.sl" |
| 15896 | shlibpath_var=SHLIB_PATH |
| 15897 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 15898 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15899 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15900 | ;; |
| 15901 | esac |
| 15902 | # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 15903 | postinstall_cmds='chmod 555 $lib' |
| 15904 | # or fails outright, so override atomically: |
| 15905 | install_override_mode=555 |
| 15906 | ;; |
| 15907 | |
| 15908 | interix[3-9]*) |
| 15909 | version_type=linux |
| 15910 | need_lib_prefix=no |
| 15911 | need_version=no |
| 15912 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 15913 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15914 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 15915 | shlibpath_var=LD_LIBRARY_PATH |
| 15916 | shlibpath_overrides_runpath=no |
| 15917 | hardcode_into_libs=yes |
| 15918 | ;; |
| 15919 | |
| 15920 | irix5* | irix6* | nonstopux*) |
| 15921 | case $host_os in |
| 15922 | nonstopux*) version_type=nonstopux ;; |
| 15923 | *) |
| 15924 | if test "$lt_cv_prog_gnu_ld" = yes; then |
| 15925 | version_type=linux |
| 15926 | else |
| 15927 | version_type=irix |
| 15928 | fi ;; |
| 15929 | esac |
| 15930 | need_lib_prefix=no |
| 15931 | need_version=no |
| 15932 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15933 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 15934 | case $host_os in |
| 15935 | irix5* | nonstopux*) |
| 15936 | libsuff= shlibsuff= |
| 15937 | ;; |
| 15938 | *) |
| 15939 | case $LD in # libtool.m4 will add one of these switches to LD |
| 15940 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 15941 | libsuff= shlibsuff= libmagic=32-bit;; |
| 15942 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 15943 | libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 15944 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 15945 | libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 15946 | *) libsuff= shlibsuff= libmagic=never-match;; |
| 15947 | esac |
| 15948 | ;; |
| 15949 | esac |
| 15950 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 15951 | shlibpath_overrides_runpath=no |
| 15952 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
| 15953 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
| 15954 | hardcode_into_libs=yes |
| 15955 | ;; |
| 15956 | |
| 15957 | # No shared lib support for Linux oldld, aout, or coff. |
| 15958 | linux*oldld* | linux*aout* | linux*coff*) |
| 15959 | dynamic_linker=no |
| 15960 | ;; |
| 15961 | |
| 15962 | # This must be Linux ELF. |
| 15963 | |
| 15964 | # uclinux* changes (here and below) have been submitted to the libtool |
| 15965 | # project, but have not yet been accepted: they are GCC-local changes |
| 15966 | # for the time being. (See |
| 15967 | # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html) |
| 15968 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi) |
| 15969 | version_type=linux |
| 15970 | need_lib_prefix=no |
| 15971 | need_version=no |
| 15972 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15973 | soname_spec='${libname}${release}${shared_ext}$major' |
| 15974 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 15975 | shlibpath_var=LD_LIBRARY_PATH |
| 15976 | shlibpath_overrides_runpath=no |
| 15977 | |
| 15978 | # Some binutils ld are patched to set DT_RUNPATH |
| 15979 | if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
| 15980 | $as_echo_n "(cached) " >&6 |
| 15981 | else |
| 15982 | lt_cv_shlibpath_overrides_runpath=no |
| 15983 | save_LDFLAGS=$LDFLAGS |
| 15984 | save_libdir=$libdir |
| 15985 | eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \ |
| 15986 | LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\"" |
| 15987 | if test x$gcc_no_link = xyes; then |
| 15988 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 15989 | fi |
| 15990 | cat > conftest.$ac_ext <<_ACEOF |
| 15991 | program main |
| 15992 | |
| 15993 | end |
| 15994 | _ACEOF |
| 15995 | if ac_fn_fc_try_link "$LINENO"; then : |
| 15996 | if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
| 15997 | lt_cv_shlibpath_overrides_runpath=yes |
| 15998 | fi |
| 15999 | fi |
| 16000 | rm -f core conftest.err conftest.$ac_objext \ |
| 16001 | conftest$ac_exeext conftest.$ac_ext |
| 16002 | LDFLAGS=$save_LDFLAGS |
| 16003 | libdir=$save_libdir |
| 16004 | |
| 16005 | fi |
| 16006 | |
| 16007 | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 16008 | |
| 16009 | # This implies no fast_install, which is unacceptable. |
| 16010 | # Some rework will be needed to allow for fast_install |
| 16011 | # before this can be enabled. |
| 16012 | hardcode_into_libs=yes |
| 16013 | |
| 16014 | # Append ld.so.conf contents to the search path |
| 16015 | if test -f /etc/ld.so.conf; then |
| 16016 | 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' ' '` |
| 16017 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 16018 | fi |
| 16019 | |
| 16020 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 16021 | # powerpc, because MkLinux only supported shared libraries with the |
| 16022 | # GNU dynamic linker. Since this was broken with cross compilers, |
| 16023 | # most powerpc-linux boxes support dynamic linking these days and |
| 16024 | # people can always --disable-shared, the test was removed, and we |
| 16025 | # assume the GNU/Linux dynamic linker is in use. |
| 16026 | dynamic_linker='GNU/Linux ld.so' |
| 16027 | ;; |
| 16028 | |
| 16029 | netbsd*) |
| 16030 | version_type=sunos |
| 16031 | need_lib_prefix=no |
| 16032 | need_version=no |
| 16033 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 16034 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 16035 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 16036 | dynamic_linker='NetBSD (a.out) ld.so' |
| 16037 | else |
| 16038 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 16039 | soname_spec='${libname}${release}${shared_ext}$major' |
| 16040 | dynamic_linker='NetBSD ld.elf_so' |
| 16041 | fi |
| 16042 | shlibpath_var=LD_LIBRARY_PATH |
| 16043 | shlibpath_overrides_runpath=yes |
| 16044 | hardcode_into_libs=yes |
| 16045 | ;; |
| 16046 | |
| 16047 | newsos6) |
| 16048 | version_type=linux |
| 16049 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 16050 | shlibpath_var=LD_LIBRARY_PATH |
| 16051 | shlibpath_overrides_runpath=yes |
| 16052 | ;; |
| 16053 | |
| 16054 | *nto* | *qnx*) |
| 16055 | version_type=qnx |
| 16056 | need_lib_prefix=no |
| 16057 | need_version=no |
| 16058 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 16059 | soname_spec='${libname}${release}${shared_ext}$major' |
| 16060 | shlibpath_var=LD_LIBRARY_PATH |
| 16061 | shlibpath_overrides_runpath=no |
| 16062 | hardcode_into_libs=yes |
| 16063 | dynamic_linker='ldqnx.so' |
| 16064 | ;; |
| 16065 | |
| 16066 | openbsd*) |
| 16067 | version_type=sunos |
| 16068 | sys_lib_dlsearch_path_spec="/usr/lib" |
| 16069 | need_lib_prefix=no |
| 16070 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 16071 | case $host_os in |
| 16072 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
| 16073 | *) need_version=no ;; |
| 16074 | esac |
| 16075 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 16076 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 16077 | shlibpath_var=LD_LIBRARY_PATH |
| 16078 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 16079 | case $host_os in |
| 16080 | openbsd2.[89] | openbsd2.[89].*) |
| 16081 | shlibpath_overrides_runpath=no |
| 16082 | ;; |
| 16083 | *) |
| 16084 | shlibpath_overrides_runpath=yes |
| 16085 | ;; |
| 16086 | esac |
| 16087 | else |
| 16088 | shlibpath_overrides_runpath=yes |
| 16089 | fi |
| 16090 | ;; |
| 16091 | |
| 16092 | os2*) |
| 16093 | libname_spec='$name' |
| 16094 | shrext_cmds=".dll" |
| 16095 | need_lib_prefix=no |
| 16096 | library_names_spec='$libname${shared_ext} $libname.a' |
| 16097 | dynamic_linker='OS/2 ld.exe' |
| 16098 | shlibpath_var=LIBPATH |
| 16099 | ;; |
| 16100 | |
| 16101 | osf3* | osf4* | osf5*) |
| 16102 | version_type=osf |
| 16103 | need_lib_prefix=no |
| 16104 | need_version=no |
| 16105 | soname_spec='${libname}${release}${shared_ext}$major' |
| 16106 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 16107 | shlibpath_var=LD_LIBRARY_PATH |
| 16108 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
| 16109 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 16110 | ;; |
| 16111 | |
| 16112 | rdos*) |
| 16113 | dynamic_linker=no |
| 16114 | ;; |
| 16115 | |
| 16116 | solaris*) |
| 16117 | version_type=linux |
| 16118 | need_lib_prefix=no |
| 16119 | need_version=no |
| 16120 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 16121 | soname_spec='${libname}${release}${shared_ext}$major' |
| 16122 | shlibpath_var=LD_LIBRARY_PATH |
| 16123 | shlibpath_overrides_runpath=yes |
| 16124 | hardcode_into_libs=yes |
| 16125 | # ldd complains unless libraries are executable |
| 16126 | postinstall_cmds='chmod +x $lib' |
| 16127 | ;; |
| 16128 | |
| 16129 | sunos4*) |
| 16130 | version_type=sunos |
| 16131 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 16132 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 16133 | shlibpath_var=LD_LIBRARY_PATH |
| 16134 | shlibpath_overrides_runpath=yes |
| 16135 | if test "$with_gnu_ld" = yes; then |
| 16136 | need_lib_prefix=no |
| 16137 | fi |
| 16138 | need_version=yes |
| 16139 | ;; |
| 16140 | |
| 16141 | sysv4 | sysv4.3*) |
| 16142 | version_type=linux |
| 16143 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 16144 | soname_spec='${libname}${release}${shared_ext}$major' |
| 16145 | shlibpath_var=LD_LIBRARY_PATH |
| 16146 | case $host_vendor in |
| 16147 | sni) |
| 16148 | shlibpath_overrides_runpath=no |
| 16149 | need_lib_prefix=no |
| 16150 | runpath_var=LD_RUN_PATH |
| 16151 | ;; |
| 16152 | siemens) |
| 16153 | need_lib_prefix=no |
| 16154 | ;; |
| 16155 | motorola) |
| 16156 | need_lib_prefix=no |
| 16157 | need_version=no |
| 16158 | shlibpath_overrides_runpath=no |
| 16159 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
| 16160 | ;; |
| 16161 | esac |
| 16162 | ;; |
| 16163 | |
| 16164 | sysv4*MP*) |
| 16165 | if test -d /usr/nec ;then |
| 16166 | version_type=linux |
| 16167 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
| 16168 | soname_spec='$libname${shared_ext}.$major' |
| 16169 | shlibpath_var=LD_LIBRARY_PATH |
| 16170 | fi |
| 16171 | ;; |
| 16172 | |
| 16173 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 16174 | version_type=freebsd-elf |
| 16175 | need_lib_prefix=no |
| 16176 | need_version=no |
| 16177 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 16178 | soname_spec='${libname}${release}${shared_ext}$major' |
| 16179 | shlibpath_var=LD_LIBRARY_PATH |
| 16180 | shlibpath_overrides_runpath=yes |
| 16181 | hardcode_into_libs=yes |
| 16182 | if test "$with_gnu_ld" = yes; then |
| 16183 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 16184 | else |
| 16185 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 16186 | case $host_os in |
| 16187 | sco3.2v5*) |
| 16188 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 16189 | ;; |
| 16190 | esac |
| 16191 | fi |
| 16192 | sys_lib_dlsearch_path_spec='/usr/lib' |
| 16193 | ;; |
| 16194 | |
| 16195 | tpf*) |
| 16196 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 16197 | version_type=linux |
| 16198 | need_lib_prefix=no |
| 16199 | need_version=no |
| 16200 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 16201 | shlibpath_var=LD_LIBRARY_PATH |
| 16202 | shlibpath_overrides_runpath=no |
| 16203 | hardcode_into_libs=yes |
| 16204 | ;; |
| 16205 | |
| 16206 | uts4*) |
| 16207 | version_type=linux |
| 16208 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 16209 | soname_spec='${libname}${release}${shared_ext}$major' |
| 16210 | shlibpath_var=LD_LIBRARY_PATH |
| 16211 | ;; |
| 16212 | |
| 16213 | # Shared libraries for VwWorks, >= 7 only at this stage |
| 16214 | # and (fpic) still incompatible with "large" code models |
| 16215 | # in a few configurations. Only for RTP mode in any case, |
| 16216 | # and upon explicit request at configure time. |
| 16217 | vxworks7*) |
| 16218 | dynamic_linker=no |
| 16219 | case ${with_multisubdir}-${enable_shared} in |
| 16220 | *large*) |
| 16221 | ;; |
| 16222 | *mrtp*-yes) |
| 16223 | version_type=linux |
| 16224 | need_lib_prefix=no |
| 16225 | need_version=no |
| 16226 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 16227 | soname_spec='${libname}${release}${shared_ext}$major' |
| 16228 | dynamic_linker="$host_os module_loader" |
| 16229 | ;; |
| 16230 | esac |
| 16231 | ;; |
| 16232 | *) |
| 16233 | dynamic_linker=no |
| 16234 | ;; |
| 16235 | esac |
| 16236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 16237 | $as_echo "$dynamic_linker" >&6; } |
| 16238 | test "$dynamic_linker" = no && can_build_shared=no |
| 16239 | |
| 16240 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 16241 | if test "$GCC" = yes; then |
| 16242 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 16243 | fi |
| 16244 | |
| 16245 | if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
| 16246 | sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
| 16247 | fi |
| 16248 | if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
| 16249 | sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
| 16250 | fi |
| 16251 | |
| 16252 | |
| 16253 | |
| 16254 | |
| 16255 | |
| 16256 | |
| 16257 | |
| 16258 | |
| 16259 | |
| 16260 | |
| 16261 | |
| 16262 | |
| 16263 | |
| 16264 | |
| 16265 | |
| 16266 | |
| 16267 | |
| 16268 | |
| 16269 | |
| 16270 | |
| 16271 | |
| 16272 | |
| 16273 | |
| 16274 | |
| 16275 | |
| 16276 | |
| 16277 | |
| 16278 | |
| 16279 | |
| 16280 | |
| 16281 | |
| 16282 | |
| 16283 | |
| 16284 | |
| 16285 | |
| 16286 | |
| 16287 | |
| 16288 | |
| 16289 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 16290 | $as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
| 16291 | hardcode_action_FC= |
| 16292 | if test -n "$hardcode_libdir_flag_spec_FC" || |
| 16293 | test -n "$runpath_var_FC" || |
| 16294 | test "X$hardcode_automatic_FC" = "Xyes" ; then |
| 16295 | |
| 16296 | # We can hardcode non-existent directories. |
| 16297 | if test "$hardcode_direct_FC" != no && |
| 16298 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 16299 | # have to relink, otherwise we might link with an installed library |
| 16300 | # when we should be linking with a yet-to-be-installed one |
| 16301 | ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no && |
| 16302 | test "$hardcode_minus_L_FC" != no; then |
| 16303 | # Linking always hardcodes the temporary library directory. |
| 16304 | hardcode_action_FC=relink |
| 16305 | else |
| 16306 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 16307 | hardcode_action_FC=immediate |
| 16308 | fi |
| 16309 | else |
| 16310 | # We cannot hardcode anything, or else we can only hardcode existing |
| 16311 | # directories. |
| 16312 | hardcode_action_FC=unsupported |
| 16313 | fi |
| 16314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5 |
| 16315 | $as_echo "$hardcode_action_FC" >&6; } |
| 16316 | |
| 16317 | if test "$hardcode_action_FC" = relink || |
| 16318 | test "$inherit_rpath_FC" = yes; then |
| 16319 | # Fast installation is not supported |
| 16320 | enable_fast_install=no |
| 16321 | elif test "$shlibpath_overrides_runpath" = yes || |
| 16322 | test "$enable_shared" = no; then |
| 16323 | # Fast installation is not necessary |
| 16324 | enable_fast_install=needless |
| 16325 | fi |
| 16326 | |
| 16327 | |
| 16328 | |
| 16329 | |
| 16330 | |
| 16331 | |
| 16332 | |
| 16333 | fi # test -n "$compiler" |
| 16334 | |
| 16335 | GCC=$lt_save_GCC |
| 16336 | CC="$lt_save_CC" |
| 16337 | fi # test "$_lt_disable_FC" != yes |
| 16338 | |
| 16339 | ac_ext=c |
| 16340 | ac_cpp='$CPP $CPPFLAGS' |
| 16341 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 16342 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 16343 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 16344 | |
| 16345 | |
| 16346 | |
| 16347 | # extra LD Flags which are required for targets |
| 16348 | extra_ldflags_libgfortran= |
| 16349 | case "${host}" in |
| 16350 | *-*-darwin[4567]*) |
| 16351 | # Earlier Darwin needs -single_module when linking libgfortran |
| 16352 | extra_ldflags_libgfortran=-Wl,-single_module |
| 16353 | ;; |
| 16354 | esac |
| 16355 | |
| 16356 | |
| 16357 | # We need a working compiler at that point, otherwise give a clear |
| 16358 | # error message and bail out. |
| 16359 | |
| 16360 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5 |
| 16361 | $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; } |
| 16362 | ac_ext=${ac_fc_srcext-f} |
| 16363 | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 16364 | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 16365 | ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 16366 | |
| 16367 | cat > conftest.$ac_ext <<_ACEOF |
| 16368 | |
| 16369 | program foo |
| 16370 | real, parameter :: bar = sin (12.34 / 2.5) |
| 16371 | end program foo |
| 16372 | _ACEOF |
| 16373 | if ac_fn_fc_try_compile "$LINENO"; then : |
| 16374 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 16375 | $as_echo "yes" >&6; } |
| 16376 | else |
| 16377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 16378 | $as_echo "no" >&6; } |
| 16379 | as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5 |
| 16380 | |
| 16381 | fi |
| 16382 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16383 | ac_ext=c |
| 16384 | ac_cpp='$CPP $CPPFLAGS' |
| 16385 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 16386 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 16387 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 16388 | |
| 16389 | |
| 16390 | |
| 16391 | # Check whether --enable-largefile was given. |
| 16392 | if test "${enable_largefile+set}" = set; then : |
| 16393 | enableval=$enable_largefile; |
| 16394 | fi |
| 16395 | |
| 16396 | if test "$enable_largefile" != no; then |
| 16397 | |
| 16398 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 |
| 16399 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
| 16400 | if ${ac_cv_sys_largefile_CC+:} false; then : |
| 16401 | $as_echo_n "(cached) " >&6 |
| 16402 | else |
| 16403 | ac_cv_sys_largefile_CC=no |
| 16404 | if test "$GCC" != yes; then |
| 16405 | ac_save_CC=$CC |
| 16406 | while :; do |
| 16407 | # IRIX 6.2 and later do not support large files by default, |
| 16408 | # so use the C compiler's -n32 option if that helps. |
| 16409 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16410 | /* end confdefs.h. */ |
| 16411 | #include <sys/types.h> |
| 16412 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 16413 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 16414 | since some C++ compilers masquerading as C compilers |
| 16415 | incorrectly reject 9223372036854775807. */ |
| 16416 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
| 16417 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 16418 | && LARGE_OFF_T % 2147483647 == 1) |
| 16419 | ? 1 : -1]; |
| 16420 | int |
| 16421 | main () |
| 16422 | { |
| 16423 | |
| 16424 | ; |
| 16425 | return 0; |
| 16426 | } |
| 16427 | _ACEOF |
| 16428 | if ac_fn_c_try_compile "$LINENO"; then : |
| 16429 | break |
| 16430 | fi |
| 16431 | rm -f core conftest.err conftest.$ac_objext |
| 16432 | CC="$CC -n32" |
| 16433 | if ac_fn_c_try_compile "$LINENO"; then : |
| 16434 | ac_cv_sys_largefile_CC=' -n32'; break |
| 16435 | fi |
| 16436 | rm -f core conftest.err conftest.$ac_objext |
| 16437 | break |
| 16438 | done |
| 16439 | CC=$ac_save_CC |
| 16440 | rm -f conftest.$ac_ext |
| 16441 | fi |
| 16442 | fi |
| 16443 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 |
| 16444 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } |
| 16445 | if test "$ac_cv_sys_largefile_CC" != no; then |
| 16446 | CC=$CC$ac_cv_sys_largefile_CC |
| 16447 | fi |
| 16448 | |
| 16449 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
| 16450 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
| 16451 | if ${ac_cv_sys_file_offset_bits+:} false; then : |
| 16452 | $as_echo_n "(cached) " >&6 |
| 16453 | else |
| 16454 | while :; do |
| 16455 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16456 | /* end confdefs.h. */ |
| 16457 | #include <sys/types.h> |
| 16458 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 16459 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 16460 | since some C++ compilers masquerading as C compilers |
| 16461 | incorrectly reject 9223372036854775807. */ |
| 16462 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
| 16463 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 16464 | && LARGE_OFF_T % 2147483647 == 1) |
| 16465 | ? 1 : -1]; |
| 16466 | int |
| 16467 | main () |
| 16468 | { |
| 16469 | |
| 16470 | ; |
| 16471 | return 0; |
| 16472 | } |
| 16473 | _ACEOF |
| 16474 | if ac_fn_c_try_compile "$LINENO"; then : |
| 16475 | ac_cv_sys_file_offset_bits=no; break |
| 16476 | fi |
| 16477 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16478 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16479 | /* end confdefs.h. */ |
| 16480 | #define _FILE_OFFSET_BITS 64 |
| 16481 | #include <sys/types.h> |
| 16482 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 16483 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 16484 | since some C++ compilers masquerading as C compilers |
| 16485 | incorrectly reject 9223372036854775807. */ |
| 16486 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
| 16487 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 16488 | && LARGE_OFF_T % 2147483647 == 1) |
| 16489 | ? 1 : -1]; |
| 16490 | int |
| 16491 | main () |
| 16492 | { |
| 16493 | |
| 16494 | ; |
| 16495 | return 0; |
| 16496 | } |
| 16497 | _ACEOF |
| 16498 | if ac_fn_c_try_compile "$LINENO"; then : |
| 16499 | ac_cv_sys_file_offset_bits=64; break |
| 16500 | fi |
| 16501 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16502 | ac_cv_sys_file_offset_bits=unknown |
| 16503 | break |
| 16504 | done |
| 16505 | fi |
| 16506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 |
| 16507 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
| 16508 | case $ac_cv_sys_file_offset_bits in #( |
| 16509 | no | unknown) ;; |
| 16510 | *) |
| 16511 | cat >>confdefs.h <<_ACEOF |
| 16512 | #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
| 16513 | _ACEOF |
| 16514 | ;; |
| 16515 | esac |
| 16516 | rm -rf conftest* |
| 16517 | if test $ac_cv_sys_file_offset_bits = unknown; then |
| 16518 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 |
| 16519 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
| 16520 | if ${ac_cv_sys_large_files+:} false; then : |
| 16521 | $as_echo_n "(cached) " >&6 |
| 16522 | else |
| 16523 | while :; do |
| 16524 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16525 | /* end confdefs.h. */ |
| 16526 | #include <sys/types.h> |
| 16527 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 16528 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 16529 | since some C++ compilers masquerading as C compilers |
| 16530 | incorrectly reject 9223372036854775807. */ |
| 16531 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
| 16532 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 16533 | && LARGE_OFF_T % 2147483647 == 1) |
| 16534 | ? 1 : -1]; |
| 16535 | int |
| 16536 | main () |
| 16537 | { |
| 16538 | |
| 16539 | ; |
| 16540 | return 0; |
| 16541 | } |
| 16542 | _ACEOF |
| 16543 | if ac_fn_c_try_compile "$LINENO"; then : |
| 16544 | ac_cv_sys_large_files=no; break |
| 16545 | fi |
| 16546 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16547 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16548 | /* end confdefs.h. */ |
| 16549 | #define _LARGE_FILES 1 |
| 16550 | #include <sys/types.h> |
| 16551 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 16552 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 16553 | since some C++ compilers masquerading as C compilers |
| 16554 | incorrectly reject 9223372036854775807. */ |
| 16555 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
| 16556 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 16557 | && LARGE_OFF_T % 2147483647 == 1) |
| 16558 | ? 1 : -1]; |
| 16559 | int |
| 16560 | main () |
| 16561 | { |
| 16562 | |
| 16563 | ; |
| 16564 | return 0; |
| 16565 | } |
| 16566 | _ACEOF |
| 16567 | if ac_fn_c_try_compile "$LINENO"; then : |
| 16568 | ac_cv_sys_large_files=1; break |
| 16569 | fi |
| 16570 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16571 | ac_cv_sys_large_files=unknown |
| 16572 | break |
| 16573 | done |
| 16574 | fi |
| 16575 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 |
| 16576 | $as_echo "$ac_cv_sys_large_files" >&6; } |
| 16577 | case $ac_cv_sys_large_files in #( |
| 16578 | no | unknown) ;; |
| 16579 | *) |
| 16580 | cat >>confdefs.h <<_ACEOF |
| 16581 | #define _LARGE_FILES $ac_cv_sys_large_files |
| 16582 | _ACEOF |
| 16583 | ;; |
| 16584 | esac |
| 16585 | rm -rf conftest* |
| 16586 | fi |
| 16587 | |
| 16588 | |
| 16589 | fi |
| 16590 | |
| 16591 | |
| 16592 | # Types |
| 16593 | ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" |
| 16594 | if test "x$ac_cv_type_off_t" = xyes; then : |
| 16595 | |
| 16596 | else |
| 16597 | |
| 16598 | cat >>confdefs.h <<_ACEOF |
| 16599 | #define off_t long int |
| 16600 | _ACEOF |
| 16601 | |
| 16602 | fi |
| 16603 | |
| 16604 | |
| 16605 | ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default" |
| 16606 | if test "x$ac_cv_type_intptr_t" = xyes; then : |
| 16607 | |
| 16608 | $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h |
| 16609 | |
| 16610 | else |
| 16611 | for ac_type in 'int' 'long int' 'long long int'; do |
| 16612 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16613 | /* end confdefs.h. */ |
| 16614 | $ac_includes_default |
| 16615 | int |
| 16616 | main () |
| 16617 | { |
| 16618 | static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; |
| 16619 | test_array [0] = 0; |
| 16620 | return test_array [0]; |
| 16621 | |
| 16622 | ; |
| 16623 | return 0; |
| 16624 | } |
| 16625 | _ACEOF |
| 16626 | if ac_fn_c_try_compile "$LINENO"; then : |
| 16627 | |
| 16628 | cat >>confdefs.h <<_ACEOF |
| 16629 | #define intptr_t $ac_type |
| 16630 | _ACEOF |
| 16631 | |
| 16632 | ac_type= |
| 16633 | fi |
| 16634 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16635 | test -z "$ac_type" && break |
| 16636 | done |
| 16637 | fi |
| 16638 | |
| 16639 | |
| 16640 | |
| 16641 | ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" |
| 16642 | if test "x$ac_cv_type_uintptr_t" = xyes; then : |
| 16643 | |
| 16644 | $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h |
| 16645 | |
| 16646 | else |
| 16647 | for ac_type in 'unsigned int' 'unsigned long int' \ |
| 16648 | 'unsigned long long int'; do |
| 16649 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16650 | /* end confdefs.h. */ |
| 16651 | $ac_includes_default |
| 16652 | int |
| 16653 | main () |
| 16654 | { |
| 16655 | static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; |
| 16656 | test_array [0] = 0; |
| 16657 | return test_array [0]; |
| 16658 | |
| 16659 | ; |
| 16660 | return 0; |
| 16661 | } |
| 16662 | _ACEOF |
| 16663 | if ac_fn_c_try_compile "$LINENO"; then : |
| 16664 | |
| 16665 | cat >>confdefs.h <<_ACEOF |
| 16666 | #define uintptr_t $ac_type |
| 16667 | _ACEOF |
| 16668 | |
| 16669 | ac_type= |
| 16670 | fi |
| 16671 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16672 | test -z "$ac_type" && break |
| 16673 | done |
| 16674 | fi |
| 16675 | |
| 16676 | |
| 16677 | ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" |
| 16678 | if test "x$ac_cv_type_ptrdiff_t" = xyes; then : |
| 16679 | |
| 16680 | cat >>confdefs.h <<_ACEOF |
| 16681 | #define HAVE_PTRDIFF_T 1 |
| 16682 | _ACEOF |
| 16683 | |
| 16684 | |
| 16685 | fi |
| 16686 | |
| 16687 | |
| 16688 | # check header files (we assume C89 is available, so don't check for that) |
| 16689 | |
| 16690 | |
| 16691 | |
| 16692 | for ac_header in $ac_header_list |
| 16693 | do : |
| 16694 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 16695 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 16696 | " |
| 16697 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 16698 | cat >>confdefs.h <<_ACEOF |
| 16699 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 16700 | _ACEOF |
| 16701 | |
| 16702 | fi |
| 16703 | |
| 16704 | done |
| 16705 | |
| 16706 | |
| 16707 | |
| 16708 | |
| 16709 | |
| 16710 | |
| 16711 | |
| 16712 | |
| 16713 | |
| 16714 | |
| 16715 | |
| 16716 | |
| 16717 | |
| 16718 | |
| 16719 | |
| 16720 | |
| 16721 | |
| 16722 | |
| 16723 | |
| 16724 | |
| 16725 | |
| 16726 | |
| 16727 | |
| 16728 | |
| 16729 | |
| 16730 | |
| 16731 | |
| 16732 | |
| 16733 | |
| 16734 | |
| 16735 | |
| 16736 | |
| 16737 | |
| 16738 | |
| 16739 | |
| 16740 | |
| 16741 | |
| 16742 | |
| 16743 | |
| 16744 | inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'` |
| 16745 | |
| 16746 | acx_cv_header_stdint=stddef.h |
| 16747 | acx_cv_header_stdint_kind="(already complete)" |
| 16748 | for i in stdint.h $inttype_headers; do |
| 16749 | unset ac_cv_type_uintptr_t |
| 16750 | unset ac_cv_type_uintmax_t |
| 16751 | unset ac_cv_type_int_least32_t |
| 16752 | unset ac_cv_type_int_fast32_t |
| 16753 | unset ac_cv_type_uint64_t |
| 16754 | $as_echo_n "looking for a compliant stdint.h in $i, " >&6 |
| 16755 | ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h> |
| 16756 | #include <$i> |
| 16757 | " |
| 16758 | if test "x$ac_cv_type_uintmax_t" = xyes; then : |
| 16759 | acx_cv_header_stdint=$i |
| 16760 | else |
| 16761 | continue |
| 16762 | fi |
| 16763 | |
| 16764 | ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h> |
| 16765 | #include <$i> |
| 16766 | " |
| 16767 | if test "x$ac_cv_type_uintptr_t" = xyes; then : |
| 16768 | |
| 16769 | else |
| 16770 | acx_cv_header_stdint_kind="(mostly complete)" |
| 16771 | fi |
| 16772 | |
| 16773 | ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h> |
| 16774 | #include <$i> |
| 16775 | " |
| 16776 | if test "x$ac_cv_type_int_least32_t" = xyes; then : |
| 16777 | |
| 16778 | else |
| 16779 | acx_cv_header_stdint_kind="(mostly complete)" |
| 16780 | fi |
| 16781 | |
| 16782 | ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h> |
| 16783 | #include <$i> |
| 16784 | " |
| 16785 | if test "x$ac_cv_type_int_fast32_t" = xyes; then : |
| 16786 | |
| 16787 | else |
| 16788 | acx_cv_header_stdint_kind="(mostly complete)" |
| 16789 | fi |
| 16790 | |
| 16791 | ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h> |
| 16792 | #include <$i> |
| 16793 | " |
| 16794 | if test "x$ac_cv_type_uint64_t" = xyes; then : |
| 16795 | |
| 16796 | else |
| 16797 | acx_cv_header_stdint_kind="(lacks uint64_t)" |
| 16798 | fi |
| 16799 | |
| 16800 | break |
| 16801 | done |
| 16802 | if test "$acx_cv_header_stdint" = stddef.h; then |
| 16803 | acx_cv_header_stdint_kind="(lacks uintmax_t)" |
| 16804 | for i in stdint.h $inttype_headers; do |
| 16805 | unset ac_cv_type_uintptr_t |
| 16806 | unset ac_cv_type_uint32_t |
| 16807 | unset ac_cv_type_uint64_t |
| 16808 | $as_echo_n "looking for an incomplete stdint.h in $i, " >&6 |
| 16809 | ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h> |
| 16810 | #include <$i> |
| 16811 | " |
| 16812 | if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 16813 | acx_cv_header_stdint=$i |
| 16814 | else |
| 16815 | continue |
| 16816 | fi |
| 16817 | |
| 16818 | ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h> |
| 16819 | #include <$i> |
| 16820 | " |
| 16821 | if test "x$ac_cv_type_uint64_t" = xyes; then : |
| 16822 | |
| 16823 | fi |
| 16824 | |
| 16825 | ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h> |
| 16826 | #include <$i> |
| 16827 | " |
| 16828 | if test "x$ac_cv_type_uintptr_t" = xyes; then : |
| 16829 | |
| 16830 | fi |
| 16831 | |
| 16832 | break |
| 16833 | done |
| 16834 | fi |
| 16835 | if test "$acx_cv_header_stdint" = stddef.h; then |
| 16836 | acx_cv_header_stdint_kind="(u_intXX_t style)" |
| 16837 | for i in sys/types.h $inttype_headers; do |
| 16838 | unset ac_cv_type_u_int32_t |
| 16839 | unset ac_cv_type_u_int64_t |
| 16840 | $as_echo_n "looking for u_intXX_t types in $i, " >&6 |
| 16841 | ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h> |
| 16842 | #include <$i> |
| 16843 | " |
| 16844 | if test "x$ac_cv_type_u_int32_t" = xyes; then : |
| 16845 | acx_cv_header_stdint=$i |
| 16846 | else |
| 16847 | continue |
| 16848 | fi |
| 16849 | |
| 16850 | ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h> |
| 16851 | #include <$i> |
| 16852 | " |
| 16853 | if test "x$ac_cv_type_u_int64_t" = xyes; then : |
| 16854 | |
| 16855 | fi |
| 16856 | |
| 16857 | break |
| 16858 | done |
| 16859 | fi |
| 16860 | if test "$acx_cv_header_stdint" = stddef.h; then |
| 16861 | acx_cv_header_stdint_kind="(using manual detection)" |
| 16862 | fi |
| 16863 | |
| 16864 | test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no |
| 16865 | test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no |
| 16866 | test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no |
| 16867 | test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no |
| 16868 | test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no |
| 16869 | |
| 16870 | # ----------------- Summarize what we found so far |
| 16871 | |
| 16872 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5 |
| 16873 | $as_echo_n "checking what to include in gstdint.h... " >&6; } |
| 16874 | |
| 16875 | case `$as_basename -- gstdint.h || |
| 16876 | $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \ |
| 16877 | Xgstdint.h : 'X\(//\)$' \| \ |
| 16878 | Xgstdint.h : 'X\(/\)' \| . 2>/dev/null || |
| 16879 | $as_echo X/gstdint.h | |
| 16880 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 16881 | s//\1/ |
| 16882 | q |
| 16883 | } |
| 16884 | /^X\/\(\/\/\)$/{ |
| 16885 | s//\1/ |
| 16886 | q |
| 16887 | } |
| 16888 | /^X\/\(\/\).*/{ |
| 16889 | s//\1/ |
| 16890 | q |
| 16891 | } |
| 16892 | s/.*/./; q'` in |
| 16893 | stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5 |
| 16894 | $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;; |
| 16895 | inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5 |
| 16896 | $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;; |
| 16897 | *) ;; |
| 16898 | esac |
| 16899 | |
| 16900 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5 |
| 16901 | $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; } |
| 16902 | |
| 16903 | # ----------------- done included file, check C basic types -------- |
| 16904 | |
| 16905 | # Lacking an uintptr_t? Test size of void * |
| 16906 | case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in |
| 16907 | stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler |
| 16908 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 16909 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 16910 | # This bug is HP SR number 8606223364. |
| 16911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 |
| 16912 | $as_echo_n "checking size of void *... " >&6; } |
| 16913 | if ${ac_cv_sizeof_void_p+:} false; then : |
| 16914 | $as_echo_n "(cached) " >&6 |
| 16915 | else |
| 16916 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : |
| 16917 | |
| 16918 | else |
| 16919 | if test "$ac_cv_type_void_p" = yes; then |
| 16920 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16921 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16922 | as_fn_error 77 "cannot compute sizeof (void *) |
| 16923 | See \`config.log' for more details" "$LINENO" 5; } |
| 16924 | else |
| 16925 | ac_cv_sizeof_void_p=0 |
| 16926 | fi |
| 16927 | fi |
| 16928 | |
| 16929 | fi |
| 16930 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 |
| 16931 | $as_echo "$ac_cv_sizeof_void_p" >&6; } |
| 16932 | |
| 16933 | |
| 16934 | |
| 16935 | cat >>confdefs.h <<_ACEOF |
| 16936 | #define SIZEOF_VOID_P $ac_cv_sizeof_void_p |
| 16937 | _ACEOF |
| 16938 | |
| 16939 | ;; |
| 16940 | esac |
| 16941 | |
| 16942 | # Lacking an uint64_t? Test size of long |
| 16943 | case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in |
| 16944 | stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler |
| 16945 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 16946 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 16947 | # This bug is HP SR number 8606223364. |
| 16948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 |
| 16949 | $as_echo_n "checking size of long... " >&6; } |
| 16950 | if ${ac_cv_sizeof_long+:} false; then : |
| 16951 | $as_echo_n "(cached) " >&6 |
| 16952 | else |
| 16953 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : |
| 16954 | |
| 16955 | else |
| 16956 | if test "$ac_cv_type_long" = yes; then |
| 16957 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16958 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16959 | as_fn_error 77 "cannot compute sizeof (long) |
| 16960 | See \`config.log' for more details" "$LINENO" 5; } |
| 16961 | else |
| 16962 | ac_cv_sizeof_long=0 |
| 16963 | fi |
| 16964 | fi |
| 16965 | |
| 16966 | fi |
| 16967 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 |
| 16968 | $as_echo "$ac_cv_sizeof_long" >&6; } |
| 16969 | |
| 16970 | |
| 16971 | |
| 16972 | cat >>confdefs.h <<_ACEOF |
| 16973 | #define SIZEOF_LONG $ac_cv_sizeof_long |
| 16974 | _ACEOF |
| 16975 | |
| 16976 | ;; |
| 16977 | esac |
| 16978 | |
| 16979 | if test $acx_cv_header_stdint = stddef.h; then |
| 16980 | # Lacking a good header? Test size of everything and deduce all types. |
| 16981 | # The cast to long int works around a bug in the HP C Compiler |
| 16982 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 16983 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 16984 | # This bug is HP SR number 8606223364. |
| 16985 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 |
| 16986 | $as_echo_n "checking size of int... " >&6; } |
| 16987 | if ${ac_cv_sizeof_int+:} false; then : |
| 16988 | $as_echo_n "(cached) " >&6 |
| 16989 | else |
| 16990 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : |
| 16991 | |
| 16992 | else |
| 16993 | if test "$ac_cv_type_int" = yes; then |
| 16994 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16995 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16996 | as_fn_error 77 "cannot compute sizeof (int) |
| 16997 | See \`config.log' for more details" "$LINENO" 5; } |
| 16998 | else |
| 16999 | ac_cv_sizeof_int=0 |
| 17000 | fi |
| 17001 | fi |
| 17002 | |
| 17003 | fi |
| 17004 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 |
| 17005 | $as_echo "$ac_cv_sizeof_int" >&6; } |
| 17006 | |
| 17007 | |
| 17008 | |
| 17009 | cat >>confdefs.h <<_ACEOF |
| 17010 | #define SIZEOF_INT $ac_cv_sizeof_int |
| 17011 | _ACEOF |
| 17012 | |
| 17013 | |
| 17014 | # The cast to long int works around a bug in the HP C Compiler |
| 17015 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 17016 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 17017 | # This bug is HP SR number 8606223364. |
| 17018 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 |
| 17019 | $as_echo_n "checking size of short... " >&6; } |
| 17020 | if ${ac_cv_sizeof_short+:} false; then : |
| 17021 | $as_echo_n "(cached) " >&6 |
| 17022 | else |
| 17023 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : |
| 17024 | |
| 17025 | else |
| 17026 | if test "$ac_cv_type_short" = yes; then |
| 17027 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17028 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17029 | as_fn_error 77 "cannot compute sizeof (short) |
| 17030 | See \`config.log' for more details" "$LINENO" 5; } |
| 17031 | else |
| 17032 | ac_cv_sizeof_short=0 |
| 17033 | fi |
| 17034 | fi |
| 17035 | |
| 17036 | fi |
| 17037 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 |
| 17038 | $as_echo "$ac_cv_sizeof_short" >&6; } |
| 17039 | |
| 17040 | |
| 17041 | |
| 17042 | cat >>confdefs.h <<_ACEOF |
| 17043 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
| 17044 | _ACEOF |
| 17045 | |
| 17046 | |
| 17047 | # The cast to long int works around a bug in the HP C Compiler |
| 17048 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 17049 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 17050 | # This bug is HP SR number 8606223364. |
| 17051 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 |
| 17052 | $as_echo_n "checking size of char... " >&6; } |
| 17053 | if ${ac_cv_sizeof_char+:} false; then : |
| 17054 | $as_echo_n "(cached) " >&6 |
| 17055 | else |
| 17056 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then : |
| 17057 | |
| 17058 | else |
| 17059 | if test "$ac_cv_type_char" = yes; then |
| 17060 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17061 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17062 | as_fn_error 77 "cannot compute sizeof (char) |
| 17063 | See \`config.log' for more details" "$LINENO" 5; } |
| 17064 | else |
| 17065 | ac_cv_sizeof_char=0 |
| 17066 | fi |
| 17067 | fi |
| 17068 | |
| 17069 | fi |
| 17070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 |
| 17071 | $as_echo "$ac_cv_sizeof_char" >&6; } |
| 17072 | |
| 17073 | |
| 17074 | |
| 17075 | cat >>confdefs.h <<_ACEOF |
| 17076 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
| 17077 | _ACEOF |
| 17078 | |
| 17079 | |
| 17080 | |
| 17081 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5 |
| 17082 | $as_echo_n "checking for type equivalent to int8_t... " >&6; } |
| 17083 | case "$ac_cv_sizeof_char" in |
| 17084 | 1) acx_cv_type_int8_t=char ;; |
| 17085 | *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5 |
| 17086 | esac |
| 17087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5 |
| 17088 | $as_echo "$acx_cv_type_int8_t" >&6; } |
| 17089 | |
| 17090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5 |
| 17091 | $as_echo_n "checking for type equivalent to int16_t... " >&6; } |
| 17092 | case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in |
| 17093 | 2:*) acx_cv_type_int16_t=int ;; |
| 17094 | *:2) acx_cv_type_int16_t=short ;; |
| 17095 | *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5 |
| 17096 | esac |
| 17097 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5 |
| 17098 | $as_echo "$acx_cv_type_int16_t" >&6; } |
| 17099 | |
| 17100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5 |
| 17101 | $as_echo_n "checking for type equivalent to int32_t... " >&6; } |
| 17102 | case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in |
| 17103 | 4:*) acx_cv_type_int32_t=int ;; |
| 17104 | *:4) acx_cv_type_int32_t=long ;; |
| 17105 | *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5 |
| 17106 | esac |
| 17107 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5 |
| 17108 | $as_echo "$acx_cv_type_int32_t" >&6; } |
| 17109 | fi |
| 17110 | |
| 17111 | # These tests are here to make the output prettier |
| 17112 | |
| 17113 | if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then |
| 17114 | case "$ac_cv_sizeof_long" in |
| 17115 | 8) acx_cv_type_int64_t=long ;; |
| 17116 | esac |
| 17117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5 |
| 17118 | $as_echo_n "checking for type equivalent to int64_t... " >&6; } |
| 17119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5 |
| 17120 | $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; } |
| 17121 | fi |
| 17122 | |
| 17123 | # Now we can use the above types |
| 17124 | |
| 17125 | if test "$ac_cv_type_uintptr_t" != yes; then |
| 17126 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5 |
| 17127 | $as_echo_n "checking for type equivalent to intptr_t... " >&6; } |
| 17128 | case $ac_cv_sizeof_void_p in |
| 17129 | 2) acx_cv_type_intptr_t=int16_t ;; |
| 17130 | 4) acx_cv_type_intptr_t=int32_t ;; |
| 17131 | 8) acx_cv_type_intptr_t=int64_t ;; |
| 17132 | *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5 |
| 17133 | esac |
| 17134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5 |
| 17135 | $as_echo "$acx_cv_type_intptr_t" >&6; } |
| 17136 | fi |
| 17137 | |
| 17138 | # ----------------- done all checks, emit header ------------- |
| 17139 | ac_config_commands="$ac_config_commands gstdint.h" |
| 17140 | |
| 17141 | |
| 17142 | |
| 17143 | |
| 17144 | ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" |
| 17145 | if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : |
| 17146 | |
| 17147 | cat >>confdefs.h <<_ACEOF |
| 17148 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 |
| 17149 | _ACEOF |
| 17150 | |
| 17151 | |
| 17152 | fi |
| 17153 | ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default" |
| 17154 | if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then : |
| 17155 | |
| 17156 | cat >>confdefs.h <<_ACEOF |
| 17157 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 |
| 17158 | _ACEOF |
| 17159 | |
| 17160 | |
| 17161 | fi |
| 17162 | ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default" |
| 17163 | if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : |
| 17164 | |
| 17165 | cat >>confdefs.h <<_ACEOF |
| 17166 | #define HAVE_STRUCT_STAT_ST_RDEV 1 |
| 17167 | _ACEOF |
| 17168 | |
| 17169 | |
| 17170 | fi |
| 17171 | |
| 17172 | |
| 17173 | case "${host}--x${with_newlib}" in |
| 17174 | mips*--xyes) |
| 17175 | hardwire_newlib=1;; |
| 17176 | nvptx*--xyes) |
| 17177 | hardwire_newlib=1;; |
| 17178 | esac |
| 17179 | |
| 17180 | # Check for library functions. |
| 17181 | if test "${hardwire_newlib:-0}" -eq 1; then |
| 17182 | # We are being configured with a cross compiler. AC_REPLACE_FUNCS |
| 17183 | # may not work correctly, because the compiler may not be able to |
| 17184 | # link executables. |
| 17185 | |
| 17186 | $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h |
| 17187 | |
| 17188 | |
| 17189 | $as_echo "#define HAVE_STRTOF 1" >>confdefs.h |
| 17190 | |
| 17191 | |
| 17192 | $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h |
| 17193 | |
| 17194 | |
| 17195 | $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h |
| 17196 | |
| 17197 | |
| 17198 | $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h |
| 17199 | |
| 17200 | |
| 17201 | $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h |
| 17202 | |
| 17203 | |
| 17204 | $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h |
| 17205 | |
| 17206 | |
| 17207 | $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h |
| 17208 | |
| 17209 | |
| 17210 | # At some point, we should differentiate between architectures |
| 17211 | # like x86, which have long double versions, and alpha/powerpc/etc., |
| 17212 | # which don't. For the time being, punt. |
| 17213 | if test x"long_double_math_on_this_cpu" = x"yes"; then |
| 17214 | |
| 17215 | $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h |
| 17216 | |
| 17217 | fi |
| 17218 | else |
| 17219 | |
| 17220 | |
| 17221 | |
| 17222 | for ac_func in $ac_func_list |
| 17223 | do : |
| 17224 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 17225 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 17226 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 17227 | cat >>confdefs.h <<_ACEOF |
| 17228 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 17229 | _ACEOF |
| 17230 | |
| 17231 | fi |
| 17232 | done |
| 17233 | |
| 17234 | |
| 17235 | |
| 17236 | |
| 17237 | |
| 17238 | |
| 17239 | |
| 17240 | |
| 17241 | |
| 17242 | |
| 17243 | |
| 17244 | |
| 17245 | |
| 17246 | |
| 17247 | |
| 17248 | |
| 17249 | |
| 17250 | |
| 17251 | |
| 17252 | |
| 17253 | |
| 17254 | |
| 17255 | |
| 17256 | |
| 17257 | |
| 17258 | |
| 17259 | |
| 17260 | |
| 17261 | |
| 17262 | |
| 17263 | |
| 17264 | |
| 17265 | |
| 17266 | |
| 17267 | |
| 17268 | |
| 17269 | |
| 17270 | |
| 17271 | |
| 17272 | |
| 17273 | |
| 17274 | |
| 17275 | |
| 17276 | |
| 17277 | |
| 17278 | |
| 17279 | |
| 17280 | |
| 17281 | |
| 17282 | |
| 17283 | |
| 17284 | |
| 17285 | |
| 17286 | |
| 17287 | |
| 17288 | |
| 17289 | |
| 17290 | |
| 17291 | |
| 17292 | |
| 17293 | |
| 17294 | |
| 17295 | |
| 17296 | |
| 17297 | |
| 17298 | |
| 17299 | |
| 17300 | |
| 17301 | |
| 17302 | |
| 17303 | |
| 17304 | |
| 17305 | |
| 17306 | |
| 17307 | |
| 17308 | |
| 17309 | |
| 17310 | |
| 17311 | |
| 17312 | |
| 17313 | |
| 17314 | |
| 17315 | |
| 17316 | |
| 17317 | |
| 17318 | |
| 17319 | |
| 17320 | |
| 17321 | |
| 17322 | |
| 17323 | |
| 17324 | |
| 17325 | |
| 17326 | |
| 17327 | |
| 17328 | |
| 17329 | |
| 17330 | |
| 17331 | |
| 17332 | |
| 17333 | |
| 17334 | |
| 17335 | |
| 17336 | |
| 17337 | |
| 17338 | |
| 17339 | |
| 17340 | |
| 17341 | |
| 17342 | |
| 17343 | |
| 17344 | |
| 17345 | |
| 17346 | |
| 17347 | fi |
| 17348 | |
| 17349 | # Check strerror_r, cannot be above as versions with two and three arguments exist |
| 17350 | |
| 17351 | ac_save_CFLAGS="$CFLAGS" |
| 17352 | CFLAGS="-Wimplicit-function-declaration -Werror" |
| 17353 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17354 | /* end confdefs.h. */ |
| 17355 | #define _GNU_SOURCE 1 |
| 17356 | #include <string.h> |
| 17357 | #include <locale.h> |
| 17358 | int |
| 17359 | main () |
| 17360 | { |
| 17361 | char s[128]; strerror_r(5, s, 128); |
| 17362 | ; |
| 17363 | return 0; |
| 17364 | } |
| 17365 | _ACEOF |
| 17366 | if ac_fn_c_try_compile "$LINENO"; then : |
| 17367 | |
| 17368 | $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h |
| 17369 | |
| 17370 | fi |
| 17371 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 17372 | CFLAGS="$ac_save_CFLAGS" |
| 17373 | |
| 17374 | ac_save_CFLAGS="$CFLAGS" |
| 17375 | CFLAGS="-Wimplicit-function-declaration -Werror" |
| 17376 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17377 | /* end confdefs.h. */ |
| 17378 | #define _GNU_SOURCE 1 |
| 17379 | #include <string.h> |
| 17380 | #include <locale.h> |
| 17381 | int |
| 17382 | main () |
| 17383 | { |
| 17384 | char s[128]; strerror_r(5, s); |
| 17385 | ; |
| 17386 | return 0; |
| 17387 | } |
| 17388 | _ACEOF |
| 17389 | if ac_fn_c_try_compile "$LINENO"; then : |
| 17390 | |
| 17391 | $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h |
| 17392 | |
| 17393 | fi |
| 17394 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 17395 | CFLAGS="$ac_save_CFLAGS" |
| 17396 | |
| 17397 | |
| 17398 | # Check for C99 (and other IEEE) math functions |
| 17399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 |
| 17400 | $as_echo_n "checking for sin in -lm... " >&6; } |
| 17401 | if ${ac_cv_lib_m_sin+:} false; then : |
| 17402 | $as_echo_n "(cached) " >&6 |
| 17403 | else |
| 17404 | ac_check_lib_save_LIBS=$LIBS |
| 17405 | LIBS="-lm $LIBS" |
| 17406 | if test x$gcc_no_link = xyes; then |
| 17407 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17408 | fi |
| 17409 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17410 | /* end confdefs.h. */ |
| 17411 | |
| 17412 | /* Override any GCC internal prototype to avoid an error. |
| 17413 | Use char because int might match the return type of a GCC |
| 17414 | builtin and then its argument prototype would still apply. */ |
| 17415 | #ifdef __cplusplus |
| 17416 | extern "C" |
| 17417 | #endif |
| 17418 | char sin (); |
| 17419 | int |
| 17420 | main () |
| 17421 | { |
| 17422 | return sin (); |
| 17423 | ; |
| 17424 | return 0; |
| 17425 | } |
| 17426 | _ACEOF |
| 17427 | if ac_fn_c_try_link "$LINENO"; then : |
| 17428 | ac_cv_lib_m_sin=yes |
| 17429 | else |
| 17430 | ac_cv_lib_m_sin=no |
| 17431 | fi |
| 17432 | rm -f core conftest.err conftest.$ac_objext \ |
| 17433 | conftest$ac_exeext conftest.$ac_ext |
| 17434 | LIBS=$ac_check_lib_save_LIBS |
| 17435 | fi |
| 17436 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 |
| 17437 | $as_echo "$ac_cv_lib_m_sin" >&6; } |
| 17438 | if test "x$ac_cv_lib_m_sin" = xyes; then : |
| 17439 | cat >>confdefs.h <<_ACEOF |
| 17440 | #define HAVE_LIBM 1 |
| 17441 | _ACEOF |
| 17442 | |
| 17443 | LIBS="-lm $LIBS" |
| 17444 | |
| 17445 | fi |
| 17446 | |
| 17447 | |
| 17448 | |
| 17449 | |
| 17450 | |
| 17451 | |
| 17452 | |
| 17453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5 |
| 17454 | $as_echo_n "checking for acosf... " >&6; } |
| 17455 | if ${gcc_cv_math_func_acosf+:} false; then : |
| 17456 | $as_echo_n "(cached) " >&6 |
| 17457 | else |
| 17458 | if test x$gcc_no_link = xyes; then |
| 17459 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17460 | fi |
| 17461 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17462 | /* end confdefs.h. */ |
| 17463 | |
| 17464 | #ifdef HAVE_COMPLEX_H |
| 17465 | #include <complex.h> |
| 17466 | #endif |
| 17467 | #ifdef HAVE_MATH_H |
| 17468 | #include <math.h> |
| 17469 | #endif |
| 17470 | |
| 17471 | int (*ptr)() = (int (*)())acosf; |
| 17472 | |
| 17473 | int |
| 17474 | main () |
| 17475 | { |
| 17476 | return 0; |
| 17477 | } |
| 17478 | |
| 17479 | _ACEOF |
| 17480 | if ac_fn_c_try_link "$LINENO"; then : |
| 17481 | gcc_cv_math_func_acosf=yes |
| 17482 | else |
| 17483 | gcc_cv_math_func_acosf=no |
| 17484 | fi |
| 17485 | rm -f core conftest.err conftest.$ac_objext \ |
| 17486 | conftest$ac_exeext conftest.$ac_ext |
| 17487 | fi |
| 17488 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5 |
| 17489 | $as_echo "$gcc_cv_math_func_acosf" >&6; } |
| 17490 | if test $gcc_cv_math_func_acosf = yes; then |
| 17491 | |
| 17492 | cat >>confdefs.h <<_ACEOF |
| 17493 | #define HAVE_ACOSF 1 |
| 17494 | _ACEOF |
| 17495 | |
| 17496 | fi |
| 17497 | |
| 17498 | |
| 17499 | |
| 17500 | |
| 17501 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5 |
| 17502 | $as_echo_n "checking for acos... " >&6; } |
| 17503 | if ${gcc_cv_math_func_acos+:} false; then : |
| 17504 | $as_echo_n "(cached) " >&6 |
| 17505 | else |
| 17506 | if test x$gcc_no_link = xyes; then |
| 17507 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17508 | fi |
| 17509 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17510 | /* end confdefs.h. */ |
| 17511 | |
| 17512 | #ifdef HAVE_COMPLEX_H |
| 17513 | #include <complex.h> |
| 17514 | #endif |
| 17515 | #ifdef HAVE_MATH_H |
| 17516 | #include <math.h> |
| 17517 | #endif |
| 17518 | |
| 17519 | int (*ptr)() = (int (*)())acos; |
| 17520 | |
| 17521 | int |
| 17522 | main () |
| 17523 | { |
| 17524 | return 0; |
| 17525 | } |
| 17526 | |
| 17527 | _ACEOF |
| 17528 | if ac_fn_c_try_link "$LINENO"; then : |
| 17529 | gcc_cv_math_func_acos=yes |
| 17530 | else |
| 17531 | gcc_cv_math_func_acos=no |
| 17532 | fi |
| 17533 | rm -f core conftest.err conftest.$ac_objext \ |
| 17534 | conftest$ac_exeext conftest.$ac_ext |
| 17535 | fi |
| 17536 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5 |
| 17537 | $as_echo "$gcc_cv_math_func_acos" >&6; } |
| 17538 | if test $gcc_cv_math_func_acos = yes; then |
| 17539 | |
| 17540 | cat >>confdefs.h <<_ACEOF |
| 17541 | #define HAVE_ACOS 1 |
| 17542 | _ACEOF |
| 17543 | |
| 17544 | fi |
| 17545 | |
| 17546 | |
| 17547 | |
| 17548 | |
| 17549 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5 |
| 17550 | $as_echo_n "checking for acosl... " >&6; } |
| 17551 | if ${gcc_cv_math_func_acosl+:} false; then : |
| 17552 | $as_echo_n "(cached) " >&6 |
| 17553 | else |
| 17554 | if test x$gcc_no_link = xyes; then |
| 17555 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17556 | fi |
| 17557 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17558 | /* end confdefs.h. */ |
| 17559 | |
| 17560 | #ifdef HAVE_COMPLEX_H |
| 17561 | #include <complex.h> |
| 17562 | #endif |
| 17563 | #ifdef HAVE_MATH_H |
| 17564 | #include <math.h> |
| 17565 | #endif |
| 17566 | |
| 17567 | int (*ptr)() = (int (*)())acosl; |
| 17568 | |
| 17569 | int |
| 17570 | main () |
| 17571 | { |
| 17572 | return 0; |
| 17573 | } |
| 17574 | |
| 17575 | _ACEOF |
| 17576 | if ac_fn_c_try_link "$LINENO"; then : |
| 17577 | gcc_cv_math_func_acosl=yes |
| 17578 | else |
| 17579 | gcc_cv_math_func_acosl=no |
| 17580 | fi |
| 17581 | rm -f core conftest.err conftest.$ac_objext \ |
| 17582 | conftest$ac_exeext conftest.$ac_ext |
| 17583 | fi |
| 17584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5 |
| 17585 | $as_echo "$gcc_cv_math_func_acosl" >&6; } |
| 17586 | if test $gcc_cv_math_func_acosl = yes; then |
| 17587 | |
| 17588 | cat >>confdefs.h <<_ACEOF |
| 17589 | #define HAVE_ACOSL 1 |
| 17590 | _ACEOF |
| 17591 | |
| 17592 | fi |
| 17593 | |
| 17594 | |
| 17595 | |
| 17596 | |
| 17597 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5 |
| 17598 | $as_echo_n "checking for acoshf... " >&6; } |
| 17599 | if ${gcc_cv_math_func_acoshf+:} false; then : |
| 17600 | $as_echo_n "(cached) " >&6 |
| 17601 | else |
| 17602 | if test x$gcc_no_link = xyes; then |
| 17603 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17604 | fi |
| 17605 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17606 | /* end confdefs.h. */ |
| 17607 | |
| 17608 | #ifdef HAVE_COMPLEX_H |
| 17609 | #include <complex.h> |
| 17610 | #endif |
| 17611 | #ifdef HAVE_MATH_H |
| 17612 | #include <math.h> |
| 17613 | #endif |
| 17614 | |
| 17615 | int (*ptr)() = (int (*)())acoshf; |
| 17616 | |
| 17617 | int |
| 17618 | main () |
| 17619 | { |
| 17620 | return 0; |
| 17621 | } |
| 17622 | |
| 17623 | _ACEOF |
| 17624 | if ac_fn_c_try_link "$LINENO"; then : |
| 17625 | gcc_cv_math_func_acoshf=yes |
| 17626 | else |
| 17627 | gcc_cv_math_func_acoshf=no |
| 17628 | fi |
| 17629 | rm -f core conftest.err conftest.$ac_objext \ |
| 17630 | conftest$ac_exeext conftest.$ac_ext |
| 17631 | fi |
| 17632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5 |
| 17633 | $as_echo "$gcc_cv_math_func_acoshf" >&6; } |
| 17634 | if test $gcc_cv_math_func_acoshf = yes; then |
| 17635 | |
| 17636 | cat >>confdefs.h <<_ACEOF |
| 17637 | #define HAVE_ACOSHF 1 |
| 17638 | _ACEOF |
| 17639 | |
| 17640 | fi |
| 17641 | |
| 17642 | |
| 17643 | |
| 17644 | |
| 17645 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5 |
| 17646 | $as_echo_n "checking for acosh... " >&6; } |
| 17647 | if ${gcc_cv_math_func_acosh+:} false; then : |
| 17648 | $as_echo_n "(cached) " >&6 |
| 17649 | else |
| 17650 | if test x$gcc_no_link = xyes; then |
| 17651 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17652 | fi |
| 17653 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17654 | /* end confdefs.h. */ |
| 17655 | |
| 17656 | #ifdef HAVE_COMPLEX_H |
| 17657 | #include <complex.h> |
| 17658 | #endif |
| 17659 | #ifdef HAVE_MATH_H |
| 17660 | #include <math.h> |
| 17661 | #endif |
| 17662 | |
| 17663 | int (*ptr)() = (int (*)())acosh; |
| 17664 | |
| 17665 | int |
| 17666 | main () |
| 17667 | { |
| 17668 | return 0; |
| 17669 | } |
| 17670 | |
| 17671 | _ACEOF |
| 17672 | if ac_fn_c_try_link "$LINENO"; then : |
| 17673 | gcc_cv_math_func_acosh=yes |
| 17674 | else |
| 17675 | gcc_cv_math_func_acosh=no |
| 17676 | fi |
| 17677 | rm -f core conftest.err conftest.$ac_objext \ |
| 17678 | conftest$ac_exeext conftest.$ac_ext |
| 17679 | fi |
| 17680 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5 |
| 17681 | $as_echo "$gcc_cv_math_func_acosh" >&6; } |
| 17682 | if test $gcc_cv_math_func_acosh = yes; then |
| 17683 | |
| 17684 | cat >>confdefs.h <<_ACEOF |
| 17685 | #define HAVE_ACOSH 1 |
| 17686 | _ACEOF |
| 17687 | |
| 17688 | fi |
| 17689 | |
| 17690 | |
| 17691 | |
| 17692 | |
| 17693 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5 |
| 17694 | $as_echo_n "checking for acoshl... " >&6; } |
| 17695 | if ${gcc_cv_math_func_acoshl+:} false; then : |
| 17696 | $as_echo_n "(cached) " >&6 |
| 17697 | else |
| 17698 | if test x$gcc_no_link = xyes; then |
| 17699 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17700 | fi |
| 17701 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17702 | /* end confdefs.h. */ |
| 17703 | |
| 17704 | #ifdef HAVE_COMPLEX_H |
| 17705 | #include <complex.h> |
| 17706 | #endif |
| 17707 | #ifdef HAVE_MATH_H |
| 17708 | #include <math.h> |
| 17709 | #endif |
| 17710 | |
| 17711 | int (*ptr)() = (int (*)())acoshl; |
| 17712 | |
| 17713 | int |
| 17714 | main () |
| 17715 | { |
| 17716 | return 0; |
| 17717 | } |
| 17718 | |
| 17719 | _ACEOF |
| 17720 | if ac_fn_c_try_link "$LINENO"; then : |
| 17721 | gcc_cv_math_func_acoshl=yes |
| 17722 | else |
| 17723 | gcc_cv_math_func_acoshl=no |
| 17724 | fi |
| 17725 | rm -f core conftest.err conftest.$ac_objext \ |
| 17726 | conftest$ac_exeext conftest.$ac_ext |
| 17727 | fi |
| 17728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5 |
| 17729 | $as_echo "$gcc_cv_math_func_acoshl" >&6; } |
| 17730 | if test $gcc_cv_math_func_acoshl = yes; then |
| 17731 | |
| 17732 | cat >>confdefs.h <<_ACEOF |
| 17733 | #define HAVE_ACOSHL 1 |
| 17734 | _ACEOF |
| 17735 | |
| 17736 | fi |
| 17737 | |
| 17738 | |
| 17739 | |
| 17740 | |
| 17741 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5 |
| 17742 | $as_echo_n "checking for asinf... " >&6; } |
| 17743 | if ${gcc_cv_math_func_asinf+:} false; then : |
| 17744 | $as_echo_n "(cached) " >&6 |
| 17745 | else |
| 17746 | if test x$gcc_no_link = xyes; then |
| 17747 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17748 | fi |
| 17749 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17750 | /* end confdefs.h. */ |
| 17751 | |
| 17752 | #ifdef HAVE_COMPLEX_H |
| 17753 | #include <complex.h> |
| 17754 | #endif |
| 17755 | #ifdef HAVE_MATH_H |
| 17756 | #include <math.h> |
| 17757 | #endif |
| 17758 | |
| 17759 | int (*ptr)() = (int (*)())asinf; |
| 17760 | |
| 17761 | int |
| 17762 | main () |
| 17763 | { |
| 17764 | return 0; |
| 17765 | } |
| 17766 | |
| 17767 | _ACEOF |
| 17768 | if ac_fn_c_try_link "$LINENO"; then : |
| 17769 | gcc_cv_math_func_asinf=yes |
| 17770 | else |
| 17771 | gcc_cv_math_func_asinf=no |
| 17772 | fi |
| 17773 | rm -f core conftest.err conftest.$ac_objext \ |
| 17774 | conftest$ac_exeext conftest.$ac_ext |
| 17775 | fi |
| 17776 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5 |
| 17777 | $as_echo "$gcc_cv_math_func_asinf" >&6; } |
| 17778 | if test $gcc_cv_math_func_asinf = yes; then |
| 17779 | |
| 17780 | cat >>confdefs.h <<_ACEOF |
| 17781 | #define HAVE_ASINF 1 |
| 17782 | _ACEOF |
| 17783 | |
| 17784 | fi |
| 17785 | |
| 17786 | |
| 17787 | |
| 17788 | |
| 17789 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5 |
| 17790 | $as_echo_n "checking for asin... " >&6; } |
| 17791 | if ${gcc_cv_math_func_asin+:} false; then : |
| 17792 | $as_echo_n "(cached) " >&6 |
| 17793 | else |
| 17794 | if test x$gcc_no_link = xyes; then |
| 17795 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17796 | fi |
| 17797 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17798 | /* end confdefs.h. */ |
| 17799 | |
| 17800 | #ifdef HAVE_COMPLEX_H |
| 17801 | #include <complex.h> |
| 17802 | #endif |
| 17803 | #ifdef HAVE_MATH_H |
| 17804 | #include <math.h> |
| 17805 | #endif |
| 17806 | |
| 17807 | int (*ptr)() = (int (*)())asin; |
| 17808 | |
| 17809 | int |
| 17810 | main () |
| 17811 | { |
| 17812 | return 0; |
| 17813 | } |
| 17814 | |
| 17815 | _ACEOF |
| 17816 | if ac_fn_c_try_link "$LINENO"; then : |
| 17817 | gcc_cv_math_func_asin=yes |
| 17818 | else |
| 17819 | gcc_cv_math_func_asin=no |
| 17820 | fi |
| 17821 | rm -f core conftest.err conftest.$ac_objext \ |
| 17822 | conftest$ac_exeext conftest.$ac_ext |
| 17823 | fi |
| 17824 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5 |
| 17825 | $as_echo "$gcc_cv_math_func_asin" >&6; } |
| 17826 | if test $gcc_cv_math_func_asin = yes; then |
| 17827 | |
| 17828 | cat >>confdefs.h <<_ACEOF |
| 17829 | #define HAVE_ASIN 1 |
| 17830 | _ACEOF |
| 17831 | |
| 17832 | fi |
| 17833 | |
| 17834 | |
| 17835 | |
| 17836 | |
| 17837 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5 |
| 17838 | $as_echo_n "checking for asinl... " >&6; } |
| 17839 | if ${gcc_cv_math_func_asinl+:} false; then : |
| 17840 | $as_echo_n "(cached) " >&6 |
| 17841 | else |
| 17842 | if test x$gcc_no_link = xyes; then |
| 17843 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17844 | fi |
| 17845 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17846 | /* end confdefs.h. */ |
| 17847 | |
| 17848 | #ifdef HAVE_COMPLEX_H |
| 17849 | #include <complex.h> |
| 17850 | #endif |
| 17851 | #ifdef HAVE_MATH_H |
| 17852 | #include <math.h> |
| 17853 | #endif |
| 17854 | |
| 17855 | int (*ptr)() = (int (*)())asinl; |
| 17856 | |
| 17857 | int |
| 17858 | main () |
| 17859 | { |
| 17860 | return 0; |
| 17861 | } |
| 17862 | |
| 17863 | _ACEOF |
| 17864 | if ac_fn_c_try_link "$LINENO"; then : |
| 17865 | gcc_cv_math_func_asinl=yes |
| 17866 | else |
| 17867 | gcc_cv_math_func_asinl=no |
| 17868 | fi |
| 17869 | rm -f core conftest.err conftest.$ac_objext \ |
| 17870 | conftest$ac_exeext conftest.$ac_ext |
| 17871 | fi |
| 17872 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5 |
| 17873 | $as_echo "$gcc_cv_math_func_asinl" >&6; } |
| 17874 | if test $gcc_cv_math_func_asinl = yes; then |
| 17875 | |
| 17876 | cat >>confdefs.h <<_ACEOF |
| 17877 | #define HAVE_ASINL 1 |
| 17878 | _ACEOF |
| 17879 | |
| 17880 | fi |
| 17881 | |
| 17882 | |
| 17883 | |
| 17884 | |
| 17885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5 |
| 17886 | $as_echo_n "checking for asinhf... " >&6; } |
| 17887 | if ${gcc_cv_math_func_asinhf+:} false; then : |
| 17888 | $as_echo_n "(cached) " >&6 |
| 17889 | else |
| 17890 | if test x$gcc_no_link = xyes; then |
| 17891 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17892 | fi |
| 17893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17894 | /* end confdefs.h. */ |
| 17895 | |
| 17896 | #ifdef HAVE_COMPLEX_H |
| 17897 | #include <complex.h> |
| 17898 | #endif |
| 17899 | #ifdef HAVE_MATH_H |
| 17900 | #include <math.h> |
| 17901 | #endif |
| 17902 | |
| 17903 | int (*ptr)() = (int (*)())asinhf; |
| 17904 | |
| 17905 | int |
| 17906 | main () |
| 17907 | { |
| 17908 | return 0; |
| 17909 | } |
| 17910 | |
| 17911 | _ACEOF |
| 17912 | if ac_fn_c_try_link "$LINENO"; then : |
| 17913 | gcc_cv_math_func_asinhf=yes |
| 17914 | else |
| 17915 | gcc_cv_math_func_asinhf=no |
| 17916 | fi |
| 17917 | rm -f core conftest.err conftest.$ac_objext \ |
| 17918 | conftest$ac_exeext conftest.$ac_ext |
| 17919 | fi |
| 17920 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5 |
| 17921 | $as_echo "$gcc_cv_math_func_asinhf" >&6; } |
| 17922 | if test $gcc_cv_math_func_asinhf = yes; then |
| 17923 | |
| 17924 | cat >>confdefs.h <<_ACEOF |
| 17925 | #define HAVE_ASINHF 1 |
| 17926 | _ACEOF |
| 17927 | |
| 17928 | fi |
| 17929 | |
| 17930 | |
| 17931 | |
| 17932 | |
| 17933 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5 |
| 17934 | $as_echo_n "checking for asinh... " >&6; } |
| 17935 | if ${gcc_cv_math_func_asinh+:} false; then : |
| 17936 | $as_echo_n "(cached) " >&6 |
| 17937 | else |
| 17938 | if test x$gcc_no_link = xyes; then |
| 17939 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17940 | fi |
| 17941 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17942 | /* end confdefs.h. */ |
| 17943 | |
| 17944 | #ifdef HAVE_COMPLEX_H |
| 17945 | #include <complex.h> |
| 17946 | #endif |
| 17947 | #ifdef HAVE_MATH_H |
| 17948 | #include <math.h> |
| 17949 | #endif |
| 17950 | |
| 17951 | int (*ptr)() = (int (*)())asinh; |
| 17952 | |
| 17953 | int |
| 17954 | main () |
| 17955 | { |
| 17956 | return 0; |
| 17957 | } |
| 17958 | |
| 17959 | _ACEOF |
| 17960 | if ac_fn_c_try_link "$LINENO"; then : |
| 17961 | gcc_cv_math_func_asinh=yes |
| 17962 | else |
| 17963 | gcc_cv_math_func_asinh=no |
| 17964 | fi |
| 17965 | rm -f core conftest.err conftest.$ac_objext \ |
| 17966 | conftest$ac_exeext conftest.$ac_ext |
| 17967 | fi |
| 17968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5 |
| 17969 | $as_echo "$gcc_cv_math_func_asinh" >&6; } |
| 17970 | if test $gcc_cv_math_func_asinh = yes; then |
| 17971 | |
| 17972 | cat >>confdefs.h <<_ACEOF |
| 17973 | #define HAVE_ASINH 1 |
| 17974 | _ACEOF |
| 17975 | |
| 17976 | fi |
| 17977 | |
| 17978 | |
| 17979 | |
| 17980 | |
| 17981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5 |
| 17982 | $as_echo_n "checking for asinhl... " >&6; } |
| 17983 | if ${gcc_cv_math_func_asinhl+:} false; then : |
| 17984 | $as_echo_n "(cached) " >&6 |
| 17985 | else |
| 17986 | if test x$gcc_no_link = xyes; then |
| 17987 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 17988 | fi |
| 17989 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17990 | /* end confdefs.h. */ |
| 17991 | |
| 17992 | #ifdef HAVE_COMPLEX_H |
| 17993 | #include <complex.h> |
| 17994 | #endif |
| 17995 | #ifdef HAVE_MATH_H |
| 17996 | #include <math.h> |
| 17997 | #endif |
| 17998 | |
| 17999 | int (*ptr)() = (int (*)())asinhl; |
| 18000 | |
| 18001 | int |
| 18002 | main () |
| 18003 | { |
| 18004 | return 0; |
| 18005 | } |
| 18006 | |
| 18007 | _ACEOF |
| 18008 | if ac_fn_c_try_link "$LINENO"; then : |
| 18009 | gcc_cv_math_func_asinhl=yes |
| 18010 | else |
| 18011 | gcc_cv_math_func_asinhl=no |
| 18012 | fi |
| 18013 | rm -f core conftest.err conftest.$ac_objext \ |
| 18014 | conftest$ac_exeext conftest.$ac_ext |
| 18015 | fi |
| 18016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5 |
| 18017 | $as_echo "$gcc_cv_math_func_asinhl" >&6; } |
| 18018 | if test $gcc_cv_math_func_asinhl = yes; then |
| 18019 | |
| 18020 | cat >>confdefs.h <<_ACEOF |
| 18021 | #define HAVE_ASINHL 1 |
| 18022 | _ACEOF |
| 18023 | |
| 18024 | fi |
| 18025 | |
| 18026 | |
| 18027 | |
| 18028 | |
| 18029 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5 |
| 18030 | $as_echo_n "checking for atan2f... " >&6; } |
| 18031 | if ${gcc_cv_math_func_atan2f+:} false; then : |
| 18032 | $as_echo_n "(cached) " >&6 |
| 18033 | else |
| 18034 | if test x$gcc_no_link = xyes; then |
| 18035 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18036 | fi |
| 18037 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18038 | /* end confdefs.h. */ |
| 18039 | |
| 18040 | #ifdef HAVE_COMPLEX_H |
| 18041 | #include <complex.h> |
| 18042 | #endif |
| 18043 | #ifdef HAVE_MATH_H |
| 18044 | #include <math.h> |
| 18045 | #endif |
| 18046 | |
| 18047 | int (*ptr)() = (int (*)())atan2f; |
| 18048 | |
| 18049 | int |
| 18050 | main () |
| 18051 | { |
| 18052 | return 0; |
| 18053 | } |
| 18054 | |
| 18055 | _ACEOF |
| 18056 | if ac_fn_c_try_link "$LINENO"; then : |
| 18057 | gcc_cv_math_func_atan2f=yes |
| 18058 | else |
| 18059 | gcc_cv_math_func_atan2f=no |
| 18060 | fi |
| 18061 | rm -f core conftest.err conftest.$ac_objext \ |
| 18062 | conftest$ac_exeext conftest.$ac_ext |
| 18063 | fi |
| 18064 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5 |
| 18065 | $as_echo "$gcc_cv_math_func_atan2f" >&6; } |
| 18066 | if test $gcc_cv_math_func_atan2f = yes; then |
| 18067 | |
| 18068 | cat >>confdefs.h <<_ACEOF |
| 18069 | #define HAVE_ATAN2F 1 |
| 18070 | _ACEOF |
| 18071 | |
| 18072 | fi |
| 18073 | |
| 18074 | |
| 18075 | |
| 18076 | |
| 18077 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5 |
| 18078 | $as_echo_n "checking for atan2... " >&6; } |
| 18079 | if ${gcc_cv_math_func_atan2+:} false; then : |
| 18080 | $as_echo_n "(cached) " >&6 |
| 18081 | else |
| 18082 | if test x$gcc_no_link = xyes; then |
| 18083 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18084 | fi |
| 18085 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18086 | /* end confdefs.h. */ |
| 18087 | |
| 18088 | #ifdef HAVE_COMPLEX_H |
| 18089 | #include <complex.h> |
| 18090 | #endif |
| 18091 | #ifdef HAVE_MATH_H |
| 18092 | #include <math.h> |
| 18093 | #endif |
| 18094 | |
| 18095 | int (*ptr)() = (int (*)())atan2; |
| 18096 | |
| 18097 | int |
| 18098 | main () |
| 18099 | { |
| 18100 | return 0; |
| 18101 | } |
| 18102 | |
| 18103 | _ACEOF |
| 18104 | if ac_fn_c_try_link "$LINENO"; then : |
| 18105 | gcc_cv_math_func_atan2=yes |
| 18106 | else |
| 18107 | gcc_cv_math_func_atan2=no |
| 18108 | fi |
| 18109 | rm -f core conftest.err conftest.$ac_objext \ |
| 18110 | conftest$ac_exeext conftest.$ac_ext |
| 18111 | fi |
| 18112 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5 |
| 18113 | $as_echo "$gcc_cv_math_func_atan2" >&6; } |
| 18114 | if test $gcc_cv_math_func_atan2 = yes; then |
| 18115 | |
| 18116 | cat >>confdefs.h <<_ACEOF |
| 18117 | #define HAVE_ATAN2 1 |
| 18118 | _ACEOF |
| 18119 | |
| 18120 | fi |
| 18121 | |
| 18122 | |
| 18123 | |
| 18124 | |
| 18125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5 |
| 18126 | $as_echo_n "checking for atan2l... " >&6; } |
| 18127 | if ${gcc_cv_math_func_atan2l+:} false; then : |
| 18128 | $as_echo_n "(cached) " >&6 |
| 18129 | else |
| 18130 | if test x$gcc_no_link = xyes; then |
| 18131 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18132 | fi |
| 18133 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18134 | /* end confdefs.h. */ |
| 18135 | |
| 18136 | #ifdef HAVE_COMPLEX_H |
| 18137 | #include <complex.h> |
| 18138 | #endif |
| 18139 | #ifdef HAVE_MATH_H |
| 18140 | #include <math.h> |
| 18141 | #endif |
| 18142 | |
| 18143 | int (*ptr)() = (int (*)())atan2l; |
| 18144 | |
| 18145 | int |
| 18146 | main () |
| 18147 | { |
| 18148 | return 0; |
| 18149 | } |
| 18150 | |
| 18151 | _ACEOF |
| 18152 | if ac_fn_c_try_link "$LINENO"; then : |
| 18153 | gcc_cv_math_func_atan2l=yes |
| 18154 | else |
| 18155 | gcc_cv_math_func_atan2l=no |
| 18156 | fi |
| 18157 | rm -f core conftest.err conftest.$ac_objext \ |
| 18158 | conftest$ac_exeext conftest.$ac_ext |
| 18159 | fi |
| 18160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5 |
| 18161 | $as_echo "$gcc_cv_math_func_atan2l" >&6; } |
| 18162 | if test $gcc_cv_math_func_atan2l = yes; then |
| 18163 | |
| 18164 | cat >>confdefs.h <<_ACEOF |
| 18165 | #define HAVE_ATAN2L 1 |
| 18166 | _ACEOF |
| 18167 | |
| 18168 | fi |
| 18169 | |
| 18170 | |
| 18171 | |
| 18172 | |
| 18173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5 |
| 18174 | $as_echo_n "checking for atanf... " >&6; } |
| 18175 | if ${gcc_cv_math_func_atanf+:} false; then : |
| 18176 | $as_echo_n "(cached) " >&6 |
| 18177 | else |
| 18178 | if test x$gcc_no_link = xyes; then |
| 18179 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18180 | fi |
| 18181 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18182 | /* end confdefs.h. */ |
| 18183 | |
| 18184 | #ifdef HAVE_COMPLEX_H |
| 18185 | #include <complex.h> |
| 18186 | #endif |
| 18187 | #ifdef HAVE_MATH_H |
| 18188 | #include <math.h> |
| 18189 | #endif |
| 18190 | |
| 18191 | int (*ptr)() = (int (*)())atanf; |
| 18192 | |
| 18193 | int |
| 18194 | main () |
| 18195 | { |
| 18196 | return 0; |
| 18197 | } |
| 18198 | |
| 18199 | _ACEOF |
| 18200 | if ac_fn_c_try_link "$LINENO"; then : |
| 18201 | gcc_cv_math_func_atanf=yes |
| 18202 | else |
| 18203 | gcc_cv_math_func_atanf=no |
| 18204 | fi |
| 18205 | rm -f core conftest.err conftest.$ac_objext \ |
| 18206 | conftest$ac_exeext conftest.$ac_ext |
| 18207 | fi |
| 18208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5 |
| 18209 | $as_echo "$gcc_cv_math_func_atanf" >&6; } |
| 18210 | if test $gcc_cv_math_func_atanf = yes; then |
| 18211 | |
| 18212 | cat >>confdefs.h <<_ACEOF |
| 18213 | #define HAVE_ATANF 1 |
| 18214 | _ACEOF |
| 18215 | |
| 18216 | fi |
| 18217 | |
| 18218 | |
| 18219 | |
| 18220 | |
| 18221 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5 |
| 18222 | $as_echo_n "checking for atan... " >&6; } |
| 18223 | if ${gcc_cv_math_func_atan+:} false; then : |
| 18224 | $as_echo_n "(cached) " >&6 |
| 18225 | else |
| 18226 | if test x$gcc_no_link = xyes; then |
| 18227 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18228 | fi |
| 18229 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18230 | /* end confdefs.h. */ |
| 18231 | |
| 18232 | #ifdef HAVE_COMPLEX_H |
| 18233 | #include <complex.h> |
| 18234 | #endif |
| 18235 | #ifdef HAVE_MATH_H |
| 18236 | #include <math.h> |
| 18237 | #endif |
| 18238 | |
| 18239 | int (*ptr)() = (int (*)())atan; |
| 18240 | |
| 18241 | int |
| 18242 | main () |
| 18243 | { |
| 18244 | return 0; |
| 18245 | } |
| 18246 | |
| 18247 | _ACEOF |
| 18248 | if ac_fn_c_try_link "$LINENO"; then : |
| 18249 | gcc_cv_math_func_atan=yes |
| 18250 | else |
| 18251 | gcc_cv_math_func_atan=no |
| 18252 | fi |
| 18253 | rm -f core conftest.err conftest.$ac_objext \ |
| 18254 | conftest$ac_exeext conftest.$ac_ext |
| 18255 | fi |
| 18256 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5 |
| 18257 | $as_echo "$gcc_cv_math_func_atan" >&6; } |
| 18258 | if test $gcc_cv_math_func_atan = yes; then |
| 18259 | |
| 18260 | cat >>confdefs.h <<_ACEOF |
| 18261 | #define HAVE_ATAN 1 |
| 18262 | _ACEOF |
| 18263 | |
| 18264 | fi |
| 18265 | |
| 18266 | |
| 18267 | |
| 18268 | |
| 18269 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5 |
| 18270 | $as_echo_n "checking for atanl... " >&6; } |
| 18271 | if ${gcc_cv_math_func_atanl+:} false; then : |
| 18272 | $as_echo_n "(cached) " >&6 |
| 18273 | else |
| 18274 | if test x$gcc_no_link = xyes; then |
| 18275 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18276 | fi |
| 18277 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18278 | /* end confdefs.h. */ |
| 18279 | |
| 18280 | #ifdef HAVE_COMPLEX_H |
| 18281 | #include <complex.h> |
| 18282 | #endif |
| 18283 | #ifdef HAVE_MATH_H |
| 18284 | #include <math.h> |
| 18285 | #endif |
| 18286 | |
| 18287 | int (*ptr)() = (int (*)())atanl; |
| 18288 | |
| 18289 | int |
| 18290 | main () |
| 18291 | { |
| 18292 | return 0; |
| 18293 | } |
| 18294 | |
| 18295 | _ACEOF |
| 18296 | if ac_fn_c_try_link "$LINENO"; then : |
| 18297 | gcc_cv_math_func_atanl=yes |
| 18298 | else |
| 18299 | gcc_cv_math_func_atanl=no |
| 18300 | fi |
| 18301 | rm -f core conftest.err conftest.$ac_objext \ |
| 18302 | conftest$ac_exeext conftest.$ac_ext |
| 18303 | fi |
| 18304 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5 |
| 18305 | $as_echo "$gcc_cv_math_func_atanl" >&6; } |
| 18306 | if test $gcc_cv_math_func_atanl = yes; then |
| 18307 | |
| 18308 | cat >>confdefs.h <<_ACEOF |
| 18309 | #define HAVE_ATANL 1 |
| 18310 | _ACEOF |
| 18311 | |
| 18312 | fi |
| 18313 | |
| 18314 | |
| 18315 | |
| 18316 | |
| 18317 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5 |
| 18318 | $as_echo_n "checking for atanhf... " >&6; } |
| 18319 | if ${gcc_cv_math_func_atanhf+:} false; then : |
| 18320 | $as_echo_n "(cached) " >&6 |
| 18321 | else |
| 18322 | if test x$gcc_no_link = xyes; then |
| 18323 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18324 | fi |
| 18325 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18326 | /* end confdefs.h. */ |
| 18327 | |
| 18328 | #ifdef HAVE_COMPLEX_H |
| 18329 | #include <complex.h> |
| 18330 | #endif |
| 18331 | #ifdef HAVE_MATH_H |
| 18332 | #include <math.h> |
| 18333 | #endif |
| 18334 | |
| 18335 | int (*ptr)() = (int (*)())atanhf; |
| 18336 | |
| 18337 | int |
| 18338 | main () |
| 18339 | { |
| 18340 | return 0; |
| 18341 | } |
| 18342 | |
| 18343 | _ACEOF |
| 18344 | if ac_fn_c_try_link "$LINENO"; then : |
| 18345 | gcc_cv_math_func_atanhf=yes |
| 18346 | else |
| 18347 | gcc_cv_math_func_atanhf=no |
| 18348 | fi |
| 18349 | rm -f core conftest.err conftest.$ac_objext \ |
| 18350 | conftest$ac_exeext conftest.$ac_ext |
| 18351 | fi |
| 18352 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5 |
| 18353 | $as_echo "$gcc_cv_math_func_atanhf" >&6; } |
| 18354 | if test $gcc_cv_math_func_atanhf = yes; then |
| 18355 | |
| 18356 | cat >>confdefs.h <<_ACEOF |
| 18357 | #define HAVE_ATANHF 1 |
| 18358 | _ACEOF |
| 18359 | |
| 18360 | fi |
| 18361 | |
| 18362 | |
| 18363 | |
| 18364 | |
| 18365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5 |
| 18366 | $as_echo_n "checking for atanh... " >&6; } |
| 18367 | if ${gcc_cv_math_func_atanh+:} false; then : |
| 18368 | $as_echo_n "(cached) " >&6 |
| 18369 | else |
| 18370 | if test x$gcc_no_link = xyes; then |
| 18371 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18372 | fi |
| 18373 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18374 | /* end confdefs.h. */ |
| 18375 | |
| 18376 | #ifdef HAVE_COMPLEX_H |
| 18377 | #include <complex.h> |
| 18378 | #endif |
| 18379 | #ifdef HAVE_MATH_H |
| 18380 | #include <math.h> |
| 18381 | #endif |
| 18382 | |
| 18383 | int (*ptr)() = (int (*)())atanh; |
| 18384 | |
| 18385 | int |
| 18386 | main () |
| 18387 | { |
| 18388 | return 0; |
| 18389 | } |
| 18390 | |
| 18391 | _ACEOF |
| 18392 | if ac_fn_c_try_link "$LINENO"; then : |
| 18393 | gcc_cv_math_func_atanh=yes |
| 18394 | else |
| 18395 | gcc_cv_math_func_atanh=no |
| 18396 | fi |
| 18397 | rm -f core conftest.err conftest.$ac_objext \ |
| 18398 | conftest$ac_exeext conftest.$ac_ext |
| 18399 | fi |
| 18400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5 |
| 18401 | $as_echo "$gcc_cv_math_func_atanh" >&6; } |
| 18402 | if test $gcc_cv_math_func_atanh = yes; then |
| 18403 | |
| 18404 | cat >>confdefs.h <<_ACEOF |
| 18405 | #define HAVE_ATANH 1 |
| 18406 | _ACEOF |
| 18407 | |
| 18408 | fi |
| 18409 | |
| 18410 | |
| 18411 | |
| 18412 | |
| 18413 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5 |
| 18414 | $as_echo_n "checking for atanhl... " >&6; } |
| 18415 | if ${gcc_cv_math_func_atanhl+:} false; then : |
| 18416 | $as_echo_n "(cached) " >&6 |
| 18417 | else |
| 18418 | if test x$gcc_no_link = xyes; then |
| 18419 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18420 | fi |
| 18421 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18422 | /* end confdefs.h. */ |
| 18423 | |
| 18424 | #ifdef HAVE_COMPLEX_H |
| 18425 | #include <complex.h> |
| 18426 | #endif |
| 18427 | #ifdef HAVE_MATH_H |
| 18428 | #include <math.h> |
| 18429 | #endif |
| 18430 | |
| 18431 | int (*ptr)() = (int (*)())atanhl; |
| 18432 | |
| 18433 | int |
| 18434 | main () |
| 18435 | { |
| 18436 | return 0; |
| 18437 | } |
| 18438 | |
| 18439 | _ACEOF |
| 18440 | if ac_fn_c_try_link "$LINENO"; then : |
| 18441 | gcc_cv_math_func_atanhl=yes |
| 18442 | else |
| 18443 | gcc_cv_math_func_atanhl=no |
| 18444 | fi |
| 18445 | rm -f core conftest.err conftest.$ac_objext \ |
| 18446 | conftest$ac_exeext conftest.$ac_ext |
| 18447 | fi |
| 18448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5 |
| 18449 | $as_echo "$gcc_cv_math_func_atanhl" >&6; } |
| 18450 | if test $gcc_cv_math_func_atanhl = yes; then |
| 18451 | |
| 18452 | cat >>confdefs.h <<_ACEOF |
| 18453 | #define HAVE_ATANHL 1 |
| 18454 | _ACEOF |
| 18455 | |
| 18456 | fi |
| 18457 | |
| 18458 | |
| 18459 | |
| 18460 | |
| 18461 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5 |
| 18462 | $as_echo_n "checking for cargf... " >&6; } |
| 18463 | if ${gcc_cv_math_func_cargf+:} false; then : |
| 18464 | $as_echo_n "(cached) " >&6 |
| 18465 | else |
| 18466 | if test x$gcc_no_link = xyes; then |
| 18467 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18468 | fi |
| 18469 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18470 | /* end confdefs.h. */ |
| 18471 | |
| 18472 | #ifdef HAVE_COMPLEX_H |
| 18473 | #include <complex.h> |
| 18474 | #endif |
| 18475 | #ifdef HAVE_MATH_H |
| 18476 | #include <math.h> |
| 18477 | #endif |
| 18478 | |
| 18479 | int (*ptr)() = (int (*)())cargf; |
| 18480 | |
| 18481 | int |
| 18482 | main () |
| 18483 | { |
| 18484 | return 0; |
| 18485 | } |
| 18486 | |
| 18487 | _ACEOF |
| 18488 | if ac_fn_c_try_link "$LINENO"; then : |
| 18489 | gcc_cv_math_func_cargf=yes |
| 18490 | else |
| 18491 | gcc_cv_math_func_cargf=no |
| 18492 | fi |
| 18493 | rm -f core conftest.err conftest.$ac_objext \ |
| 18494 | conftest$ac_exeext conftest.$ac_ext |
| 18495 | fi |
| 18496 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5 |
| 18497 | $as_echo "$gcc_cv_math_func_cargf" >&6; } |
| 18498 | if test $gcc_cv_math_func_cargf = yes; then |
| 18499 | |
| 18500 | cat >>confdefs.h <<_ACEOF |
| 18501 | #define HAVE_CARGF 1 |
| 18502 | _ACEOF |
| 18503 | |
| 18504 | fi |
| 18505 | |
| 18506 | |
| 18507 | |
| 18508 | |
| 18509 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5 |
| 18510 | $as_echo_n "checking for carg... " >&6; } |
| 18511 | if ${gcc_cv_math_func_carg+:} false; then : |
| 18512 | $as_echo_n "(cached) " >&6 |
| 18513 | else |
| 18514 | if test x$gcc_no_link = xyes; then |
| 18515 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18516 | fi |
| 18517 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18518 | /* end confdefs.h. */ |
| 18519 | |
| 18520 | #ifdef HAVE_COMPLEX_H |
| 18521 | #include <complex.h> |
| 18522 | #endif |
| 18523 | #ifdef HAVE_MATH_H |
| 18524 | #include <math.h> |
| 18525 | #endif |
| 18526 | |
| 18527 | int (*ptr)() = (int (*)())carg; |
| 18528 | |
| 18529 | int |
| 18530 | main () |
| 18531 | { |
| 18532 | return 0; |
| 18533 | } |
| 18534 | |
| 18535 | _ACEOF |
| 18536 | if ac_fn_c_try_link "$LINENO"; then : |
| 18537 | gcc_cv_math_func_carg=yes |
| 18538 | else |
| 18539 | gcc_cv_math_func_carg=no |
| 18540 | fi |
| 18541 | rm -f core conftest.err conftest.$ac_objext \ |
| 18542 | conftest$ac_exeext conftest.$ac_ext |
| 18543 | fi |
| 18544 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5 |
| 18545 | $as_echo "$gcc_cv_math_func_carg" >&6; } |
| 18546 | if test $gcc_cv_math_func_carg = yes; then |
| 18547 | |
| 18548 | cat >>confdefs.h <<_ACEOF |
| 18549 | #define HAVE_CARG 1 |
| 18550 | _ACEOF |
| 18551 | |
| 18552 | fi |
| 18553 | |
| 18554 | |
| 18555 | |
| 18556 | |
| 18557 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5 |
| 18558 | $as_echo_n "checking for cargl... " >&6; } |
| 18559 | if ${gcc_cv_math_func_cargl+:} false; then : |
| 18560 | $as_echo_n "(cached) " >&6 |
| 18561 | else |
| 18562 | if test x$gcc_no_link = xyes; then |
| 18563 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18564 | fi |
| 18565 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18566 | /* end confdefs.h. */ |
| 18567 | |
| 18568 | #ifdef HAVE_COMPLEX_H |
| 18569 | #include <complex.h> |
| 18570 | #endif |
| 18571 | #ifdef HAVE_MATH_H |
| 18572 | #include <math.h> |
| 18573 | #endif |
| 18574 | |
| 18575 | int (*ptr)() = (int (*)())cargl; |
| 18576 | |
| 18577 | int |
| 18578 | main () |
| 18579 | { |
| 18580 | return 0; |
| 18581 | } |
| 18582 | |
| 18583 | _ACEOF |
| 18584 | if ac_fn_c_try_link "$LINENO"; then : |
| 18585 | gcc_cv_math_func_cargl=yes |
| 18586 | else |
| 18587 | gcc_cv_math_func_cargl=no |
| 18588 | fi |
| 18589 | rm -f core conftest.err conftest.$ac_objext \ |
| 18590 | conftest$ac_exeext conftest.$ac_ext |
| 18591 | fi |
| 18592 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5 |
| 18593 | $as_echo "$gcc_cv_math_func_cargl" >&6; } |
| 18594 | if test $gcc_cv_math_func_cargl = yes; then |
| 18595 | |
| 18596 | cat >>confdefs.h <<_ACEOF |
| 18597 | #define HAVE_CARGL 1 |
| 18598 | _ACEOF |
| 18599 | |
| 18600 | fi |
| 18601 | |
| 18602 | |
| 18603 | |
| 18604 | |
| 18605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5 |
| 18606 | $as_echo_n "checking for ceilf... " >&6; } |
| 18607 | if ${gcc_cv_math_func_ceilf+:} false; then : |
| 18608 | $as_echo_n "(cached) " >&6 |
| 18609 | else |
| 18610 | if test x$gcc_no_link = xyes; then |
| 18611 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18612 | fi |
| 18613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18614 | /* end confdefs.h. */ |
| 18615 | |
| 18616 | #ifdef HAVE_COMPLEX_H |
| 18617 | #include <complex.h> |
| 18618 | #endif |
| 18619 | #ifdef HAVE_MATH_H |
| 18620 | #include <math.h> |
| 18621 | #endif |
| 18622 | |
| 18623 | int (*ptr)() = (int (*)())ceilf; |
| 18624 | |
| 18625 | int |
| 18626 | main () |
| 18627 | { |
| 18628 | return 0; |
| 18629 | } |
| 18630 | |
| 18631 | _ACEOF |
| 18632 | if ac_fn_c_try_link "$LINENO"; then : |
| 18633 | gcc_cv_math_func_ceilf=yes |
| 18634 | else |
| 18635 | gcc_cv_math_func_ceilf=no |
| 18636 | fi |
| 18637 | rm -f core conftest.err conftest.$ac_objext \ |
| 18638 | conftest$ac_exeext conftest.$ac_ext |
| 18639 | fi |
| 18640 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5 |
| 18641 | $as_echo "$gcc_cv_math_func_ceilf" >&6; } |
| 18642 | if test $gcc_cv_math_func_ceilf = yes; then |
| 18643 | |
| 18644 | cat >>confdefs.h <<_ACEOF |
| 18645 | #define HAVE_CEILF 1 |
| 18646 | _ACEOF |
| 18647 | |
| 18648 | fi |
| 18649 | |
| 18650 | |
| 18651 | |
| 18652 | |
| 18653 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5 |
| 18654 | $as_echo_n "checking for ceil... " >&6; } |
| 18655 | if ${gcc_cv_math_func_ceil+:} false; then : |
| 18656 | $as_echo_n "(cached) " >&6 |
| 18657 | else |
| 18658 | if test x$gcc_no_link = xyes; then |
| 18659 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18660 | fi |
| 18661 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18662 | /* end confdefs.h. */ |
| 18663 | |
| 18664 | #ifdef HAVE_COMPLEX_H |
| 18665 | #include <complex.h> |
| 18666 | #endif |
| 18667 | #ifdef HAVE_MATH_H |
| 18668 | #include <math.h> |
| 18669 | #endif |
| 18670 | |
| 18671 | int (*ptr)() = (int (*)())ceil; |
| 18672 | |
| 18673 | int |
| 18674 | main () |
| 18675 | { |
| 18676 | return 0; |
| 18677 | } |
| 18678 | |
| 18679 | _ACEOF |
| 18680 | if ac_fn_c_try_link "$LINENO"; then : |
| 18681 | gcc_cv_math_func_ceil=yes |
| 18682 | else |
| 18683 | gcc_cv_math_func_ceil=no |
| 18684 | fi |
| 18685 | rm -f core conftest.err conftest.$ac_objext \ |
| 18686 | conftest$ac_exeext conftest.$ac_ext |
| 18687 | fi |
| 18688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5 |
| 18689 | $as_echo "$gcc_cv_math_func_ceil" >&6; } |
| 18690 | if test $gcc_cv_math_func_ceil = yes; then |
| 18691 | |
| 18692 | cat >>confdefs.h <<_ACEOF |
| 18693 | #define HAVE_CEIL 1 |
| 18694 | _ACEOF |
| 18695 | |
| 18696 | fi |
| 18697 | |
| 18698 | |
| 18699 | |
| 18700 | |
| 18701 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5 |
| 18702 | $as_echo_n "checking for ceill... " >&6; } |
| 18703 | if ${gcc_cv_math_func_ceill+:} false; then : |
| 18704 | $as_echo_n "(cached) " >&6 |
| 18705 | else |
| 18706 | if test x$gcc_no_link = xyes; then |
| 18707 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18708 | fi |
| 18709 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18710 | /* end confdefs.h. */ |
| 18711 | |
| 18712 | #ifdef HAVE_COMPLEX_H |
| 18713 | #include <complex.h> |
| 18714 | #endif |
| 18715 | #ifdef HAVE_MATH_H |
| 18716 | #include <math.h> |
| 18717 | #endif |
| 18718 | |
| 18719 | int (*ptr)() = (int (*)())ceill; |
| 18720 | |
| 18721 | int |
| 18722 | main () |
| 18723 | { |
| 18724 | return 0; |
| 18725 | } |
| 18726 | |
| 18727 | _ACEOF |
| 18728 | if ac_fn_c_try_link "$LINENO"; then : |
| 18729 | gcc_cv_math_func_ceill=yes |
| 18730 | else |
| 18731 | gcc_cv_math_func_ceill=no |
| 18732 | fi |
| 18733 | rm -f core conftest.err conftest.$ac_objext \ |
| 18734 | conftest$ac_exeext conftest.$ac_ext |
| 18735 | fi |
| 18736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5 |
| 18737 | $as_echo "$gcc_cv_math_func_ceill" >&6; } |
| 18738 | if test $gcc_cv_math_func_ceill = yes; then |
| 18739 | |
| 18740 | cat >>confdefs.h <<_ACEOF |
| 18741 | #define HAVE_CEILL 1 |
| 18742 | _ACEOF |
| 18743 | |
| 18744 | fi |
| 18745 | |
| 18746 | |
| 18747 | |
| 18748 | |
| 18749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5 |
| 18750 | $as_echo_n "checking for copysignf... " >&6; } |
| 18751 | if ${gcc_cv_math_func_copysignf+:} false; then : |
| 18752 | $as_echo_n "(cached) " >&6 |
| 18753 | else |
| 18754 | if test x$gcc_no_link = xyes; then |
| 18755 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18756 | fi |
| 18757 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18758 | /* end confdefs.h. */ |
| 18759 | |
| 18760 | #ifdef HAVE_COMPLEX_H |
| 18761 | #include <complex.h> |
| 18762 | #endif |
| 18763 | #ifdef HAVE_MATH_H |
| 18764 | #include <math.h> |
| 18765 | #endif |
| 18766 | |
| 18767 | int (*ptr)() = (int (*)())copysignf; |
| 18768 | |
| 18769 | int |
| 18770 | main () |
| 18771 | { |
| 18772 | return 0; |
| 18773 | } |
| 18774 | |
| 18775 | _ACEOF |
| 18776 | if ac_fn_c_try_link "$LINENO"; then : |
| 18777 | gcc_cv_math_func_copysignf=yes |
| 18778 | else |
| 18779 | gcc_cv_math_func_copysignf=no |
| 18780 | fi |
| 18781 | rm -f core conftest.err conftest.$ac_objext \ |
| 18782 | conftest$ac_exeext conftest.$ac_ext |
| 18783 | fi |
| 18784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5 |
| 18785 | $as_echo "$gcc_cv_math_func_copysignf" >&6; } |
| 18786 | if test $gcc_cv_math_func_copysignf = yes; then |
| 18787 | |
| 18788 | cat >>confdefs.h <<_ACEOF |
| 18789 | #define HAVE_COPYSIGNF 1 |
| 18790 | _ACEOF |
| 18791 | |
| 18792 | fi |
| 18793 | |
| 18794 | |
| 18795 | |
| 18796 | |
| 18797 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5 |
| 18798 | $as_echo_n "checking for copysign... " >&6; } |
| 18799 | if ${gcc_cv_math_func_copysign+:} false; then : |
| 18800 | $as_echo_n "(cached) " >&6 |
| 18801 | else |
| 18802 | if test x$gcc_no_link = xyes; then |
| 18803 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18804 | fi |
| 18805 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18806 | /* end confdefs.h. */ |
| 18807 | |
| 18808 | #ifdef HAVE_COMPLEX_H |
| 18809 | #include <complex.h> |
| 18810 | #endif |
| 18811 | #ifdef HAVE_MATH_H |
| 18812 | #include <math.h> |
| 18813 | #endif |
| 18814 | |
| 18815 | int (*ptr)() = (int (*)())copysign; |
| 18816 | |
| 18817 | int |
| 18818 | main () |
| 18819 | { |
| 18820 | return 0; |
| 18821 | } |
| 18822 | |
| 18823 | _ACEOF |
| 18824 | if ac_fn_c_try_link "$LINENO"; then : |
| 18825 | gcc_cv_math_func_copysign=yes |
| 18826 | else |
| 18827 | gcc_cv_math_func_copysign=no |
| 18828 | fi |
| 18829 | rm -f core conftest.err conftest.$ac_objext \ |
| 18830 | conftest$ac_exeext conftest.$ac_ext |
| 18831 | fi |
| 18832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5 |
| 18833 | $as_echo "$gcc_cv_math_func_copysign" >&6; } |
| 18834 | if test $gcc_cv_math_func_copysign = yes; then |
| 18835 | |
| 18836 | cat >>confdefs.h <<_ACEOF |
| 18837 | #define HAVE_COPYSIGN 1 |
| 18838 | _ACEOF |
| 18839 | |
| 18840 | fi |
| 18841 | |
| 18842 | |
| 18843 | |
| 18844 | |
| 18845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5 |
| 18846 | $as_echo_n "checking for copysignl... " >&6; } |
| 18847 | if ${gcc_cv_math_func_copysignl+:} false; then : |
| 18848 | $as_echo_n "(cached) " >&6 |
| 18849 | else |
| 18850 | if test x$gcc_no_link = xyes; then |
| 18851 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18852 | fi |
| 18853 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18854 | /* end confdefs.h. */ |
| 18855 | |
| 18856 | #ifdef HAVE_COMPLEX_H |
| 18857 | #include <complex.h> |
| 18858 | #endif |
| 18859 | #ifdef HAVE_MATH_H |
| 18860 | #include <math.h> |
| 18861 | #endif |
| 18862 | |
| 18863 | int (*ptr)() = (int (*)())copysignl; |
| 18864 | |
| 18865 | int |
| 18866 | main () |
| 18867 | { |
| 18868 | return 0; |
| 18869 | } |
| 18870 | |
| 18871 | _ACEOF |
| 18872 | if ac_fn_c_try_link "$LINENO"; then : |
| 18873 | gcc_cv_math_func_copysignl=yes |
| 18874 | else |
| 18875 | gcc_cv_math_func_copysignl=no |
| 18876 | fi |
| 18877 | rm -f core conftest.err conftest.$ac_objext \ |
| 18878 | conftest$ac_exeext conftest.$ac_ext |
| 18879 | fi |
| 18880 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5 |
| 18881 | $as_echo "$gcc_cv_math_func_copysignl" >&6; } |
| 18882 | if test $gcc_cv_math_func_copysignl = yes; then |
| 18883 | |
| 18884 | cat >>confdefs.h <<_ACEOF |
| 18885 | #define HAVE_COPYSIGNL 1 |
| 18886 | _ACEOF |
| 18887 | |
| 18888 | fi |
| 18889 | |
| 18890 | |
| 18891 | |
| 18892 | |
| 18893 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5 |
| 18894 | $as_echo_n "checking for cosf... " >&6; } |
| 18895 | if ${gcc_cv_math_func_cosf+:} false; then : |
| 18896 | $as_echo_n "(cached) " >&6 |
| 18897 | else |
| 18898 | if test x$gcc_no_link = xyes; then |
| 18899 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18900 | fi |
| 18901 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18902 | /* end confdefs.h. */ |
| 18903 | |
| 18904 | #ifdef HAVE_COMPLEX_H |
| 18905 | #include <complex.h> |
| 18906 | #endif |
| 18907 | #ifdef HAVE_MATH_H |
| 18908 | #include <math.h> |
| 18909 | #endif |
| 18910 | |
| 18911 | int (*ptr)() = (int (*)())cosf; |
| 18912 | |
| 18913 | int |
| 18914 | main () |
| 18915 | { |
| 18916 | return 0; |
| 18917 | } |
| 18918 | |
| 18919 | _ACEOF |
| 18920 | if ac_fn_c_try_link "$LINENO"; then : |
| 18921 | gcc_cv_math_func_cosf=yes |
| 18922 | else |
| 18923 | gcc_cv_math_func_cosf=no |
| 18924 | fi |
| 18925 | rm -f core conftest.err conftest.$ac_objext \ |
| 18926 | conftest$ac_exeext conftest.$ac_ext |
| 18927 | fi |
| 18928 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5 |
| 18929 | $as_echo "$gcc_cv_math_func_cosf" >&6; } |
| 18930 | if test $gcc_cv_math_func_cosf = yes; then |
| 18931 | |
| 18932 | cat >>confdefs.h <<_ACEOF |
| 18933 | #define HAVE_COSF 1 |
| 18934 | _ACEOF |
| 18935 | |
| 18936 | fi |
| 18937 | |
| 18938 | |
| 18939 | |
| 18940 | |
| 18941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5 |
| 18942 | $as_echo_n "checking for cos... " >&6; } |
| 18943 | if ${gcc_cv_math_func_cos+:} false; then : |
| 18944 | $as_echo_n "(cached) " >&6 |
| 18945 | else |
| 18946 | if test x$gcc_no_link = xyes; then |
| 18947 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18948 | fi |
| 18949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18950 | /* end confdefs.h. */ |
| 18951 | |
| 18952 | #ifdef HAVE_COMPLEX_H |
| 18953 | #include <complex.h> |
| 18954 | #endif |
| 18955 | #ifdef HAVE_MATH_H |
| 18956 | #include <math.h> |
| 18957 | #endif |
| 18958 | |
| 18959 | int (*ptr)() = (int (*)())cos; |
| 18960 | |
| 18961 | int |
| 18962 | main () |
| 18963 | { |
| 18964 | return 0; |
| 18965 | } |
| 18966 | |
| 18967 | _ACEOF |
| 18968 | if ac_fn_c_try_link "$LINENO"; then : |
| 18969 | gcc_cv_math_func_cos=yes |
| 18970 | else |
| 18971 | gcc_cv_math_func_cos=no |
| 18972 | fi |
| 18973 | rm -f core conftest.err conftest.$ac_objext \ |
| 18974 | conftest$ac_exeext conftest.$ac_ext |
| 18975 | fi |
| 18976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5 |
| 18977 | $as_echo "$gcc_cv_math_func_cos" >&6; } |
| 18978 | if test $gcc_cv_math_func_cos = yes; then |
| 18979 | |
| 18980 | cat >>confdefs.h <<_ACEOF |
| 18981 | #define HAVE_COS 1 |
| 18982 | _ACEOF |
| 18983 | |
| 18984 | fi |
| 18985 | |
| 18986 | |
| 18987 | |
| 18988 | |
| 18989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5 |
| 18990 | $as_echo_n "checking for cosl... " >&6; } |
| 18991 | if ${gcc_cv_math_func_cosl+:} false; then : |
| 18992 | $as_echo_n "(cached) " >&6 |
| 18993 | else |
| 18994 | if test x$gcc_no_link = xyes; then |
| 18995 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 18996 | fi |
| 18997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18998 | /* end confdefs.h. */ |
| 18999 | |
| 19000 | #ifdef HAVE_COMPLEX_H |
| 19001 | #include <complex.h> |
| 19002 | #endif |
| 19003 | #ifdef HAVE_MATH_H |
| 19004 | #include <math.h> |
| 19005 | #endif |
| 19006 | |
| 19007 | int (*ptr)() = (int (*)())cosl; |
| 19008 | |
| 19009 | int |
| 19010 | main () |
| 19011 | { |
| 19012 | return 0; |
| 19013 | } |
| 19014 | |
| 19015 | _ACEOF |
| 19016 | if ac_fn_c_try_link "$LINENO"; then : |
| 19017 | gcc_cv_math_func_cosl=yes |
| 19018 | else |
| 19019 | gcc_cv_math_func_cosl=no |
| 19020 | fi |
| 19021 | rm -f core conftest.err conftest.$ac_objext \ |
| 19022 | conftest$ac_exeext conftest.$ac_ext |
| 19023 | fi |
| 19024 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5 |
| 19025 | $as_echo "$gcc_cv_math_func_cosl" >&6; } |
| 19026 | if test $gcc_cv_math_func_cosl = yes; then |
| 19027 | |
| 19028 | cat >>confdefs.h <<_ACEOF |
| 19029 | #define HAVE_COSL 1 |
| 19030 | _ACEOF |
| 19031 | |
| 19032 | fi |
| 19033 | |
| 19034 | |
| 19035 | |
| 19036 | |
| 19037 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5 |
| 19038 | $as_echo_n "checking for ccosf... " >&6; } |
| 19039 | if ${gcc_cv_math_func_ccosf+:} false; then : |
| 19040 | $as_echo_n "(cached) " >&6 |
| 19041 | else |
| 19042 | if test x$gcc_no_link = xyes; then |
| 19043 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19044 | fi |
| 19045 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19046 | /* end confdefs.h. */ |
| 19047 | |
| 19048 | #ifdef HAVE_COMPLEX_H |
| 19049 | #include <complex.h> |
| 19050 | #endif |
| 19051 | #ifdef HAVE_MATH_H |
| 19052 | #include <math.h> |
| 19053 | #endif |
| 19054 | |
| 19055 | int (*ptr)() = (int (*)())ccosf; |
| 19056 | |
| 19057 | int |
| 19058 | main () |
| 19059 | { |
| 19060 | return 0; |
| 19061 | } |
| 19062 | |
| 19063 | _ACEOF |
| 19064 | if ac_fn_c_try_link "$LINENO"; then : |
| 19065 | gcc_cv_math_func_ccosf=yes |
| 19066 | else |
| 19067 | gcc_cv_math_func_ccosf=no |
| 19068 | fi |
| 19069 | rm -f core conftest.err conftest.$ac_objext \ |
| 19070 | conftest$ac_exeext conftest.$ac_ext |
| 19071 | fi |
| 19072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5 |
| 19073 | $as_echo "$gcc_cv_math_func_ccosf" >&6; } |
| 19074 | if test $gcc_cv_math_func_ccosf = yes; then |
| 19075 | |
| 19076 | cat >>confdefs.h <<_ACEOF |
| 19077 | #define HAVE_CCOSF 1 |
| 19078 | _ACEOF |
| 19079 | |
| 19080 | fi |
| 19081 | |
| 19082 | |
| 19083 | |
| 19084 | |
| 19085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5 |
| 19086 | $as_echo_n "checking for ccos... " >&6; } |
| 19087 | if ${gcc_cv_math_func_ccos+:} false; then : |
| 19088 | $as_echo_n "(cached) " >&6 |
| 19089 | else |
| 19090 | if test x$gcc_no_link = xyes; then |
| 19091 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19092 | fi |
| 19093 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19094 | /* end confdefs.h. */ |
| 19095 | |
| 19096 | #ifdef HAVE_COMPLEX_H |
| 19097 | #include <complex.h> |
| 19098 | #endif |
| 19099 | #ifdef HAVE_MATH_H |
| 19100 | #include <math.h> |
| 19101 | #endif |
| 19102 | |
| 19103 | int (*ptr)() = (int (*)())ccos; |
| 19104 | |
| 19105 | int |
| 19106 | main () |
| 19107 | { |
| 19108 | return 0; |
| 19109 | } |
| 19110 | |
| 19111 | _ACEOF |
| 19112 | if ac_fn_c_try_link "$LINENO"; then : |
| 19113 | gcc_cv_math_func_ccos=yes |
| 19114 | else |
| 19115 | gcc_cv_math_func_ccos=no |
| 19116 | fi |
| 19117 | rm -f core conftest.err conftest.$ac_objext \ |
| 19118 | conftest$ac_exeext conftest.$ac_ext |
| 19119 | fi |
| 19120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5 |
| 19121 | $as_echo "$gcc_cv_math_func_ccos" >&6; } |
| 19122 | if test $gcc_cv_math_func_ccos = yes; then |
| 19123 | |
| 19124 | cat >>confdefs.h <<_ACEOF |
| 19125 | #define HAVE_CCOS 1 |
| 19126 | _ACEOF |
| 19127 | |
| 19128 | fi |
| 19129 | |
| 19130 | |
| 19131 | |
| 19132 | |
| 19133 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5 |
| 19134 | $as_echo_n "checking for ccosl... " >&6; } |
| 19135 | if ${gcc_cv_math_func_ccosl+:} false; then : |
| 19136 | $as_echo_n "(cached) " >&6 |
| 19137 | else |
| 19138 | if test x$gcc_no_link = xyes; then |
| 19139 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19140 | fi |
| 19141 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19142 | /* end confdefs.h. */ |
| 19143 | |
| 19144 | #ifdef HAVE_COMPLEX_H |
| 19145 | #include <complex.h> |
| 19146 | #endif |
| 19147 | #ifdef HAVE_MATH_H |
| 19148 | #include <math.h> |
| 19149 | #endif |
| 19150 | |
| 19151 | int (*ptr)() = (int (*)())ccosl; |
| 19152 | |
| 19153 | int |
| 19154 | main () |
| 19155 | { |
| 19156 | return 0; |
| 19157 | } |
| 19158 | |
| 19159 | _ACEOF |
| 19160 | if ac_fn_c_try_link "$LINENO"; then : |
| 19161 | gcc_cv_math_func_ccosl=yes |
| 19162 | else |
| 19163 | gcc_cv_math_func_ccosl=no |
| 19164 | fi |
| 19165 | rm -f core conftest.err conftest.$ac_objext \ |
| 19166 | conftest$ac_exeext conftest.$ac_ext |
| 19167 | fi |
| 19168 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5 |
| 19169 | $as_echo "$gcc_cv_math_func_ccosl" >&6; } |
| 19170 | if test $gcc_cv_math_func_ccosl = yes; then |
| 19171 | |
| 19172 | cat >>confdefs.h <<_ACEOF |
| 19173 | #define HAVE_CCOSL 1 |
| 19174 | _ACEOF |
| 19175 | |
| 19176 | fi |
| 19177 | |
| 19178 | |
| 19179 | |
| 19180 | |
| 19181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5 |
| 19182 | $as_echo_n "checking for coshf... " >&6; } |
| 19183 | if ${gcc_cv_math_func_coshf+:} false; then : |
| 19184 | $as_echo_n "(cached) " >&6 |
| 19185 | else |
| 19186 | if test x$gcc_no_link = xyes; then |
| 19187 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19188 | fi |
| 19189 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19190 | /* end confdefs.h. */ |
| 19191 | |
| 19192 | #ifdef HAVE_COMPLEX_H |
| 19193 | #include <complex.h> |
| 19194 | #endif |
| 19195 | #ifdef HAVE_MATH_H |
| 19196 | #include <math.h> |
| 19197 | #endif |
| 19198 | |
| 19199 | int (*ptr)() = (int (*)())coshf; |
| 19200 | |
| 19201 | int |
| 19202 | main () |
| 19203 | { |
| 19204 | return 0; |
| 19205 | } |
| 19206 | |
| 19207 | _ACEOF |
| 19208 | if ac_fn_c_try_link "$LINENO"; then : |
| 19209 | gcc_cv_math_func_coshf=yes |
| 19210 | else |
| 19211 | gcc_cv_math_func_coshf=no |
| 19212 | fi |
| 19213 | rm -f core conftest.err conftest.$ac_objext \ |
| 19214 | conftest$ac_exeext conftest.$ac_ext |
| 19215 | fi |
| 19216 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5 |
| 19217 | $as_echo "$gcc_cv_math_func_coshf" >&6; } |
| 19218 | if test $gcc_cv_math_func_coshf = yes; then |
| 19219 | |
| 19220 | cat >>confdefs.h <<_ACEOF |
| 19221 | #define HAVE_COSHF 1 |
| 19222 | _ACEOF |
| 19223 | |
| 19224 | fi |
| 19225 | |
| 19226 | |
| 19227 | |
| 19228 | |
| 19229 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5 |
| 19230 | $as_echo_n "checking for cosh... " >&6; } |
| 19231 | if ${gcc_cv_math_func_cosh+:} false; then : |
| 19232 | $as_echo_n "(cached) " >&6 |
| 19233 | else |
| 19234 | if test x$gcc_no_link = xyes; then |
| 19235 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19236 | fi |
| 19237 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19238 | /* end confdefs.h. */ |
| 19239 | |
| 19240 | #ifdef HAVE_COMPLEX_H |
| 19241 | #include <complex.h> |
| 19242 | #endif |
| 19243 | #ifdef HAVE_MATH_H |
| 19244 | #include <math.h> |
| 19245 | #endif |
| 19246 | |
| 19247 | int (*ptr)() = (int (*)())cosh; |
| 19248 | |
| 19249 | int |
| 19250 | main () |
| 19251 | { |
| 19252 | return 0; |
| 19253 | } |
| 19254 | |
| 19255 | _ACEOF |
| 19256 | if ac_fn_c_try_link "$LINENO"; then : |
| 19257 | gcc_cv_math_func_cosh=yes |
| 19258 | else |
| 19259 | gcc_cv_math_func_cosh=no |
| 19260 | fi |
| 19261 | rm -f core conftest.err conftest.$ac_objext \ |
| 19262 | conftest$ac_exeext conftest.$ac_ext |
| 19263 | fi |
| 19264 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5 |
| 19265 | $as_echo "$gcc_cv_math_func_cosh" >&6; } |
| 19266 | if test $gcc_cv_math_func_cosh = yes; then |
| 19267 | |
| 19268 | cat >>confdefs.h <<_ACEOF |
| 19269 | #define HAVE_COSH 1 |
| 19270 | _ACEOF |
| 19271 | |
| 19272 | fi |
| 19273 | |
| 19274 | |
| 19275 | |
| 19276 | |
| 19277 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5 |
| 19278 | $as_echo_n "checking for coshl... " >&6; } |
| 19279 | if ${gcc_cv_math_func_coshl+:} false; then : |
| 19280 | $as_echo_n "(cached) " >&6 |
| 19281 | else |
| 19282 | if test x$gcc_no_link = xyes; then |
| 19283 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19284 | fi |
| 19285 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19286 | /* end confdefs.h. */ |
| 19287 | |
| 19288 | #ifdef HAVE_COMPLEX_H |
| 19289 | #include <complex.h> |
| 19290 | #endif |
| 19291 | #ifdef HAVE_MATH_H |
| 19292 | #include <math.h> |
| 19293 | #endif |
| 19294 | |
| 19295 | int (*ptr)() = (int (*)())coshl; |
| 19296 | |
| 19297 | int |
| 19298 | main () |
| 19299 | { |
| 19300 | return 0; |
| 19301 | } |
| 19302 | |
| 19303 | _ACEOF |
| 19304 | if ac_fn_c_try_link "$LINENO"; then : |
| 19305 | gcc_cv_math_func_coshl=yes |
| 19306 | else |
| 19307 | gcc_cv_math_func_coshl=no |
| 19308 | fi |
| 19309 | rm -f core conftest.err conftest.$ac_objext \ |
| 19310 | conftest$ac_exeext conftest.$ac_ext |
| 19311 | fi |
| 19312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5 |
| 19313 | $as_echo "$gcc_cv_math_func_coshl" >&6; } |
| 19314 | if test $gcc_cv_math_func_coshl = yes; then |
| 19315 | |
| 19316 | cat >>confdefs.h <<_ACEOF |
| 19317 | #define HAVE_COSHL 1 |
| 19318 | _ACEOF |
| 19319 | |
| 19320 | fi |
| 19321 | |
| 19322 | |
| 19323 | |
| 19324 | |
| 19325 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5 |
| 19326 | $as_echo_n "checking for ccoshf... " >&6; } |
| 19327 | if ${gcc_cv_math_func_ccoshf+:} false; then : |
| 19328 | $as_echo_n "(cached) " >&6 |
| 19329 | else |
| 19330 | if test x$gcc_no_link = xyes; then |
| 19331 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19332 | fi |
| 19333 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19334 | /* end confdefs.h. */ |
| 19335 | |
| 19336 | #ifdef HAVE_COMPLEX_H |
| 19337 | #include <complex.h> |
| 19338 | #endif |
| 19339 | #ifdef HAVE_MATH_H |
| 19340 | #include <math.h> |
| 19341 | #endif |
| 19342 | |
| 19343 | int (*ptr)() = (int (*)())ccoshf; |
| 19344 | |
| 19345 | int |
| 19346 | main () |
| 19347 | { |
| 19348 | return 0; |
| 19349 | } |
| 19350 | |
| 19351 | _ACEOF |
| 19352 | if ac_fn_c_try_link "$LINENO"; then : |
| 19353 | gcc_cv_math_func_ccoshf=yes |
| 19354 | else |
| 19355 | gcc_cv_math_func_ccoshf=no |
| 19356 | fi |
| 19357 | rm -f core conftest.err conftest.$ac_objext \ |
| 19358 | conftest$ac_exeext conftest.$ac_ext |
| 19359 | fi |
| 19360 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5 |
| 19361 | $as_echo "$gcc_cv_math_func_ccoshf" >&6; } |
| 19362 | if test $gcc_cv_math_func_ccoshf = yes; then |
| 19363 | |
| 19364 | cat >>confdefs.h <<_ACEOF |
| 19365 | #define HAVE_CCOSHF 1 |
| 19366 | _ACEOF |
| 19367 | |
| 19368 | fi |
| 19369 | |
| 19370 | |
| 19371 | |
| 19372 | |
| 19373 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5 |
| 19374 | $as_echo_n "checking for ccosh... " >&6; } |
| 19375 | if ${gcc_cv_math_func_ccosh+:} false; then : |
| 19376 | $as_echo_n "(cached) " >&6 |
| 19377 | else |
| 19378 | if test x$gcc_no_link = xyes; then |
| 19379 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19380 | fi |
| 19381 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19382 | /* end confdefs.h. */ |
| 19383 | |
| 19384 | #ifdef HAVE_COMPLEX_H |
| 19385 | #include <complex.h> |
| 19386 | #endif |
| 19387 | #ifdef HAVE_MATH_H |
| 19388 | #include <math.h> |
| 19389 | #endif |
| 19390 | |
| 19391 | int (*ptr)() = (int (*)())ccosh; |
| 19392 | |
| 19393 | int |
| 19394 | main () |
| 19395 | { |
| 19396 | return 0; |
| 19397 | } |
| 19398 | |
| 19399 | _ACEOF |
| 19400 | if ac_fn_c_try_link "$LINENO"; then : |
| 19401 | gcc_cv_math_func_ccosh=yes |
| 19402 | else |
| 19403 | gcc_cv_math_func_ccosh=no |
| 19404 | fi |
| 19405 | rm -f core conftest.err conftest.$ac_objext \ |
| 19406 | conftest$ac_exeext conftest.$ac_ext |
| 19407 | fi |
| 19408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5 |
| 19409 | $as_echo "$gcc_cv_math_func_ccosh" >&6; } |
| 19410 | if test $gcc_cv_math_func_ccosh = yes; then |
| 19411 | |
| 19412 | cat >>confdefs.h <<_ACEOF |
| 19413 | #define HAVE_CCOSH 1 |
| 19414 | _ACEOF |
| 19415 | |
| 19416 | fi |
| 19417 | |
| 19418 | |
| 19419 | |
| 19420 | |
| 19421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5 |
| 19422 | $as_echo_n "checking for ccoshl... " >&6; } |
| 19423 | if ${gcc_cv_math_func_ccoshl+:} false; then : |
| 19424 | $as_echo_n "(cached) " >&6 |
| 19425 | else |
| 19426 | if test x$gcc_no_link = xyes; then |
| 19427 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19428 | fi |
| 19429 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19430 | /* end confdefs.h. */ |
| 19431 | |
| 19432 | #ifdef HAVE_COMPLEX_H |
| 19433 | #include <complex.h> |
| 19434 | #endif |
| 19435 | #ifdef HAVE_MATH_H |
| 19436 | #include <math.h> |
| 19437 | #endif |
| 19438 | |
| 19439 | int (*ptr)() = (int (*)())ccoshl; |
| 19440 | |
| 19441 | int |
| 19442 | main () |
| 19443 | { |
| 19444 | return 0; |
| 19445 | } |
| 19446 | |
| 19447 | _ACEOF |
| 19448 | if ac_fn_c_try_link "$LINENO"; then : |
| 19449 | gcc_cv_math_func_ccoshl=yes |
| 19450 | else |
| 19451 | gcc_cv_math_func_ccoshl=no |
| 19452 | fi |
| 19453 | rm -f core conftest.err conftest.$ac_objext \ |
| 19454 | conftest$ac_exeext conftest.$ac_ext |
| 19455 | fi |
| 19456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5 |
| 19457 | $as_echo "$gcc_cv_math_func_ccoshl" >&6; } |
| 19458 | if test $gcc_cv_math_func_ccoshl = yes; then |
| 19459 | |
| 19460 | cat >>confdefs.h <<_ACEOF |
| 19461 | #define HAVE_CCOSHL 1 |
| 19462 | _ACEOF |
| 19463 | |
| 19464 | fi |
| 19465 | |
| 19466 | |
| 19467 | |
| 19468 | |
| 19469 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5 |
| 19470 | $as_echo_n "checking for expf... " >&6; } |
| 19471 | if ${gcc_cv_math_func_expf+:} false; then : |
| 19472 | $as_echo_n "(cached) " >&6 |
| 19473 | else |
| 19474 | if test x$gcc_no_link = xyes; then |
| 19475 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19476 | fi |
| 19477 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19478 | /* end confdefs.h. */ |
| 19479 | |
| 19480 | #ifdef HAVE_COMPLEX_H |
| 19481 | #include <complex.h> |
| 19482 | #endif |
| 19483 | #ifdef HAVE_MATH_H |
| 19484 | #include <math.h> |
| 19485 | #endif |
| 19486 | |
| 19487 | int (*ptr)() = (int (*)())expf; |
| 19488 | |
| 19489 | int |
| 19490 | main () |
| 19491 | { |
| 19492 | return 0; |
| 19493 | } |
| 19494 | |
| 19495 | _ACEOF |
| 19496 | if ac_fn_c_try_link "$LINENO"; then : |
| 19497 | gcc_cv_math_func_expf=yes |
| 19498 | else |
| 19499 | gcc_cv_math_func_expf=no |
| 19500 | fi |
| 19501 | rm -f core conftest.err conftest.$ac_objext \ |
| 19502 | conftest$ac_exeext conftest.$ac_ext |
| 19503 | fi |
| 19504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5 |
| 19505 | $as_echo "$gcc_cv_math_func_expf" >&6; } |
| 19506 | if test $gcc_cv_math_func_expf = yes; then |
| 19507 | |
| 19508 | cat >>confdefs.h <<_ACEOF |
| 19509 | #define HAVE_EXPF 1 |
| 19510 | _ACEOF |
| 19511 | |
| 19512 | fi |
| 19513 | |
| 19514 | |
| 19515 | |
| 19516 | |
| 19517 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5 |
| 19518 | $as_echo_n "checking for exp... " >&6; } |
| 19519 | if ${gcc_cv_math_func_exp+:} false; then : |
| 19520 | $as_echo_n "(cached) " >&6 |
| 19521 | else |
| 19522 | if test x$gcc_no_link = xyes; then |
| 19523 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19524 | fi |
| 19525 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19526 | /* end confdefs.h. */ |
| 19527 | |
| 19528 | #ifdef HAVE_COMPLEX_H |
| 19529 | #include <complex.h> |
| 19530 | #endif |
| 19531 | #ifdef HAVE_MATH_H |
| 19532 | #include <math.h> |
| 19533 | #endif |
| 19534 | |
| 19535 | int (*ptr)() = (int (*)())exp; |
| 19536 | |
| 19537 | int |
| 19538 | main () |
| 19539 | { |
| 19540 | return 0; |
| 19541 | } |
| 19542 | |
| 19543 | _ACEOF |
| 19544 | if ac_fn_c_try_link "$LINENO"; then : |
| 19545 | gcc_cv_math_func_exp=yes |
| 19546 | else |
| 19547 | gcc_cv_math_func_exp=no |
| 19548 | fi |
| 19549 | rm -f core conftest.err conftest.$ac_objext \ |
| 19550 | conftest$ac_exeext conftest.$ac_ext |
| 19551 | fi |
| 19552 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5 |
| 19553 | $as_echo "$gcc_cv_math_func_exp" >&6; } |
| 19554 | if test $gcc_cv_math_func_exp = yes; then |
| 19555 | |
| 19556 | cat >>confdefs.h <<_ACEOF |
| 19557 | #define HAVE_EXP 1 |
| 19558 | _ACEOF |
| 19559 | |
| 19560 | fi |
| 19561 | |
| 19562 | |
| 19563 | |
| 19564 | |
| 19565 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5 |
| 19566 | $as_echo_n "checking for expl... " >&6; } |
| 19567 | if ${gcc_cv_math_func_expl+:} false; then : |
| 19568 | $as_echo_n "(cached) " >&6 |
| 19569 | else |
| 19570 | if test x$gcc_no_link = xyes; then |
| 19571 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19572 | fi |
| 19573 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19574 | /* end confdefs.h. */ |
| 19575 | |
| 19576 | #ifdef HAVE_COMPLEX_H |
| 19577 | #include <complex.h> |
| 19578 | #endif |
| 19579 | #ifdef HAVE_MATH_H |
| 19580 | #include <math.h> |
| 19581 | #endif |
| 19582 | |
| 19583 | int (*ptr)() = (int (*)())expl; |
| 19584 | |
| 19585 | int |
| 19586 | main () |
| 19587 | { |
| 19588 | return 0; |
| 19589 | } |
| 19590 | |
| 19591 | _ACEOF |
| 19592 | if ac_fn_c_try_link "$LINENO"; then : |
| 19593 | gcc_cv_math_func_expl=yes |
| 19594 | else |
| 19595 | gcc_cv_math_func_expl=no |
| 19596 | fi |
| 19597 | rm -f core conftest.err conftest.$ac_objext \ |
| 19598 | conftest$ac_exeext conftest.$ac_ext |
| 19599 | fi |
| 19600 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5 |
| 19601 | $as_echo "$gcc_cv_math_func_expl" >&6; } |
| 19602 | if test $gcc_cv_math_func_expl = yes; then |
| 19603 | |
| 19604 | cat >>confdefs.h <<_ACEOF |
| 19605 | #define HAVE_EXPL 1 |
| 19606 | _ACEOF |
| 19607 | |
| 19608 | fi |
| 19609 | |
| 19610 | |
| 19611 | |
| 19612 | |
| 19613 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5 |
| 19614 | $as_echo_n "checking for cexpf... " >&6; } |
| 19615 | if ${gcc_cv_math_func_cexpf+:} false; then : |
| 19616 | $as_echo_n "(cached) " >&6 |
| 19617 | else |
| 19618 | if test x$gcc_no_link = xyes; then |
| 19619 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19620 | fi |
| 19621 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19622 | /* end confdefs.h. */ |
| 19623 | |
| 19624 | #ifdef HAVE_COMPLEX_H |
| 19625 | #include <complex.h> |
| 19626 | #endif |
| 19627 | #ifdef HAVE_MATH_H |
| 19628 | #include <math.h> |
| 19629 | #endif |
| 19630 | |
| 19631 | int (*ptr)() = (int (*)())cexpf; |
| 19632 | |
| 19633 | int |
| 19634 | main () |
| 19635 | { |
| 19636 | return 0; |
| 19637 | } |
| 19638 | |
| 19639 | _ACEOF |
| 19640 | if ac_fn_c_try_link "$LINENO"; then : |
| 19641 | gcc_cv_math_func_cexpf=yes |
| 19642 | else |
| 19643 | gcc_cv_math_func_cexpf=no |
| 19644 | fi |
| 19645 | rm -f core conftest.err conftest.$ac_objext \ |
| 19646 | conftest$ac_exeext conftest.$ac_ext |
| 19647 | fi |
| 19648 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5 |
| 19649 | $as_echo "$gcc_cv_math_func_cexpf" >&6; } |
| 19650 | if test $gcc_cv_math_func_cexpf = yes; then |
| 19651 | |
| 19652 | cat >>confdefs.h <<_ACEOF |
| 19653 | #define HAVE_CEXPF 1 |
| 19654 | _ACEOF |
| 19655 | |
| 19656 | fi |
| 19657 | |
| 19658 | |
| 19659 | |
| 19660 | |
| 19661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5 |
| 19662 | $as_echo_n "checking for cexp... " >&6; } |
| 19663 | if ${gcc_cv_math_func_cexp+:} false; then : |
| 19664 | $as_echo_n "(cached) " >&6 |
| 19665 | else |
| 19666 | if test x$gcc_no_link = xyes; then |
| 19667 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19668 | fi |
| 19669 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19670 | /* end confdefs.h. */ |
| 19671 | |
| 19672 | #ifdef HAVE_COMPLEX_H |
| 19673 | #include <complex.h> |
| 19674 | #endif |
| 19675 | #ifdef HAVE_MATH_H |
| 19676 | #include <math.h> |
| 19677 | #endif |
| 19678 | |
| 19679 | int (*ptr)() = (int (*)())cexp; |
| 19680 | |
| 19681 | int |
| 19682 | main () |
| 19683 | { |
| 19684 | return 0; |
| 19685 | } |
| 19686 | |
| 19687 | _ACEOF |
| 19688 | if ac_fn_c_try_link "$LINENO"; then : |
| 19689 | gcc_cv_math_func_cexp=yes |
| 19690 | else |
| 19691 | gcc_cv_math_func_cexp=no |
| 19692 | fi |
| 19693 | rm -f core conftest.err conftest.$ac_objext \ |
| 19694 | conftest$ac_exeext conftest.$ac_ext |
| 19695 | fi |
| 19696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5 |
| 19697 | $as_echo "$gcc_cv_math_func_cexp" >&6; } |
| 19698 | if test $gcc_cv_math_func_cexp = yes; then |
| 19699 | |
| 19700 | cat >>confdefs.h <<_ACEOF |
| 19701 | #define HAVE_CEXP 1 |
| 19702 | _ACEOF |
| 19703 | |
| 19704 | fi |
| 19705 | |
| 19706 | |
| 19707 | |
| 19708 | |
| 19709 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5 |
| 19710 | $as_echo_n "checking for cexpl... " >&6; } |
| 19711 | if ${gcc_cv_math_func_cexpl+:} false; then : |
| 19712 | $as_echo_n "(cached) " >&6 |
| 19713 | else |
| 19714 | if test x$gcc_no_link = xyes; then |
| 19715 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19716 | fi |
| 19717 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19718 | /* end confdefs.h. */ |
| 19719 | |
| 19720 | #ifdef HAVE_COMPLEX_H |
| 19721 | #include <complex.h> |
| 19722 | #endif |
| 19723 | #ifdef HAVE_MATH_H |
| 19724 | #include <math.h> |
| 19725 | #endif |
| 19726 | |
| 19727 | int (*ptr)() = (int (*)())cexpl; |
| 19728 | |
| 19729 | int |
| 19730 | main () |
| 19731 | { |
| 19732 | return 0; |
| 19733 | } |
| 19734 | |
| 19735 | _ACEOF |
| 19736 | if ac_fn_c_try_link "$LINENO"; then : |
| 19737 | gcc_cv_math_func_cexpl=yes |
| 19738 | else |
| 19739 | gcc_cv_math_func_cexpl=no |
| 19740 | fi |
| 19741 | rm -f core conftest.err conftest.$ac_objext \ |
| 19742 | conftest$ac_exeext conftest.$ac_ext |
| 19743 | fi |
| 19744 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5 |
| 19745 | $as_echo "$gcc_cv_math_func_cexpl" >&6; } |
| 19746 | if test $gcc_cv_math_func_cexpl = yes; then |
| 19747 | |
| 19748 | cat >>confdefs.h <<_ACEOF |
| 19749 | #define HAVE_CEXPL 1 |
| 19750 | _ACEOF |
| 19751 | |
| 19752 | fi |
| 19753 | |
| 19754 | |
| 19755 | |
| 19756 | |
| 19757 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5 |
| 19758 | $as_echo_n "checking for fabsf... " >&6; } |
| 19759 | if ${gcc_cv_math_func_fabsf+:} false; then : |
| 19760 | $as_echo_n "(cached) " >&6 |
| 19761 | else |
| 19762 | if test x$gcc_no_link = xyes; then |
| 19763 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19764 | fi |
| 19765 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19766 | /* end confdefs.h. */ |
| 19767 | |
| 19768 | #ifdef HAVE_COMPLEX_H |
| 19769 | #include <complex.h> |
| 19770 | #endif |
| 19771 | #ifdef HAVE_MATH_H |
| 19772 | #include <math.h> |
| 19773 | #endif |
| 19774 | |
| 19775 | int (*ptr)() = (int (*)())fabsf; |
| 19776 | |
| 19777 | int |
| 19778 | main () |
| 19779 | { |
| 19780 | return 0; |
| 19781 | } |
| 19782 | |
| 19783 | _ACEOF |
| 19784 | if ac_fn_c_try_link "$LINENO"; then : |
| 19785 | gcc_cv_math_func_fabsf=yes |
| 19786 | else |
| 19787 | gcc_cv_math_func_fabsf=no |
| 19788 | fi |
| 19789 | rm -f core conftest.err conftest.$ac_objext \ |
| 19790 | conftest$ac_exeext conftest.$ac_ext |
| 19791 | fi |
| 19792 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5 |
| 19793 | $as_echo "$gcc_cv_math_func_fabsf" >&6; } |
| 19794 | if test $gcc_cv_math_func_fabsf = yes; then |
| 19795 | |
| 19796 | cat >>confdefs.h <<_ACEOF |
| 19797 | #define HAVE_FABSF 1 |
| 19798 | _ACEOF |
| 19799 | |
| 19800 | fi |
| 19801 | |
| 19802 | |
| 19803 | |
| 19804 | |
| 19805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5 |
| 19806 | $as_echo_n "checking for fabs... " >&6; } |
| 19807 | if ${gcc_cv_math_func_fabs+:} false; then : |
| 19808 | $as_echo_n "(cached) " >&6 |
| 19809 | else |
| 19810 | if test x$gcc_no_link = xyes; then |
| 19811 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19812 | fi |
| 19813 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19814 | /* end confdefs.h. */ |
| 19815 | |
| 19816 | #ifdef HAVE_COMPLEX_H |
| 19817 | #include <complex.h> |
| 19818 | #endif |
| 19819 | #ifdef HAVE_MATH_H |
| 19820 | #include <math.h> |
| 19821 | #endif |
| 19822 | |
| 19823 | int (*ptr)() = (int (*)())fabs; |
| 19824 | |
| 19825 | int |
| 19826 | main () |
| 19827 | { |
| 19828 | return 0; |
| 19829 | } |
| 19830 | |
| 19831 | _ACEOF |
| 19832 | if ac_fn_c_try_link "$LINENO"; then : |
| 19833 | gcc_cv_math_func_fabs=yes |
| 19834 | else |
| 19835 | gcc_cv_math_func_fabs=no |
| 19836 | fi |
| 19837 | rm -f core conftest.err conftest.$ac_objext \ |
| 19838 | conftest$ac_exeext conftest.$ac_ext |
| 19839 | fi |
| 19840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5 |
| 19841 | $as_echo "$gcc_cv_math_func_fabs" >&6; } |
| 19842 | if test $gcc_cv_math_func_fabs = yes; then |
| 19843 | |
| 19844 | cat >>confdefs.h <<_ACEOF |
| 19845 | #define HAVE_FABS 1 |
| 19846 | _ACEOF |
| 19847 | |
| 19848 | fi |
| 19849 | |
| 19850 | |
| 19851 | |
| 19852 | |
| 19853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5 |
| 19854 | $as_echo_n "checking for fabsl... " >&6; } |
| 19855 | if ${gcc_cv_math_func_fabsl+:} false; then : |
| 19856 | $as_echo_n "(cached) " >&6 |
| 19857 | else |
| 19858 | if test x$gcc_no_link = xyes; then |
| 19859 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19860 | fi |
| 19861 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19862 | /* end confdefs.h. */ |
| 19863 | |
| 19864 | #ifdef HAVE_COMPLEX_H |
| 19865 | #include <complex.h> |
| 19866 | #endif |
| 19867 | #ifdef HAVE_MATH_H |
| 19868 | #include <math.h> |
| 19869 | #endif |
| 19870 | |
| 19871 | int (*ptr)() = (int (*)())fabsl; |
| 19872 | |
| 19873 | int |
| 19874 | main () |
| 19875 | { |
| 19876 | return 0; |
| 19877 | } |
| 19878 | |
| 19879 | _ACEOF |
| 19880 | if ac_fn_c_try_link "$LINENO"; then : |
| 19881 | gcc_cv_math_func_fabsl=yes |
| 19882 | else |
| 19883 | gcc_cv_math_func_fabsl=no |
| 19884 | fi |
| 19885 | rm -f core conftest.err conftest.$ac_objext \ |
| 19886 | conftest$ac_exeext conftest.$ac_ext |
| 19887 | fi |
| 19888 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5 |
| 19889 | $as_echo "$gcc_cv_math_func_fabsl" >&6; } |
| 19890 | if test $gcc_cv_math_func_fabsl = yes; then |
| 19891 | |
| 19892 | cat >>confdefs.h <<_ACEOF |
| 19893 | #define HAVE_FABSL 1 |
| 19894 | _ACEOF |
| 19895 | |
| 19896 | fi |
| 19897 | |
| 19898 | |
| 19899 | |
| 19900 | |
| 19901 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5 |
| 19902 | $as_echo_n "checking for cabsf... " >&6; } |
| 19903 | if ${gcc_cv_math_func_cabsf+:} false; then : |
| 19904 | $as_echo_n "(cached) " >&6 |
| 19905 | else |
| 19906 | if test x$gcc_no_link = xyes; then |
| 19907 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19908 | fi |
| 19909 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19910 | /* end confdefs.h. */ |
| 19911 | |
| 19912 | #ifdef HAVE_COMPLEX_H |
| 19913 | #include <complex.h> |
| 19914 | #endif |
| 19915 | #ifdef HAVE_MATH_H |
| 19916 | #include <math.h> |
| 19917 | #endif |
| 19918 | |
| 19919 | int (*ptr)() = (int (*)())cabsf; |
| 19920 | |
| 19921 | int |
| 19922 | main () |
| 19923 | { |
| 19924 | return 0; |
| 19925 | } |
| 19926 | |
| 19927 | _ACEOF |
| 19928 | if ac_fn_c_try_link "$LINENO"; then : |
| 19929 | gcc_cv_math_func_cabsf=yes |
| 19930 | else |
| 19931 | gcc_cv_math_func_cabsf=no |
| 19932 | fi |
| 19933 | rm -f core conftest.err conftest.$ac_objext \ |
| 19934 | conftest$ac_exeext conftest.$ac_ext |
| 19935 | fi |
| 19936 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5 |
| 19937 | $as_echo "$gcc_cv_math_func_cabsf" >&6; } |
| 19938 | if test $gcc_cv_math_func_cabsf = yes; then |
| 19939 | |
| 19940 | cat >>confdefs.h <<_ACEOF |
| 19941 | #define HAVE_CABSF 1 |
| 19942 | _ACEOF |
| 19943 | |
| 19944 | fi |
| 19945 | |
| 19946 | |
| 19947 | |
| 19948 | |
| 19949 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5 |
| 19950 | $as_echo_n "checking for cabs... " >&6; } |
| 19951 | if ${gcc_cv_math_func_cabs+:} false; then : |
| 19952 | $as_echo_n "(cached) " >&6 |
| 19953 | else |
| 19954 | if test x$gcc_no_link = xyes; then |
| 19955 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 19956 | fi |
| 19957 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19958 | /* end confdefs.h. */ |
| 19959 | |
| 19960 | #ifdef HAVE_COMPLEX_H |
| 19961 | #include <complex.h> |
| 19962 | #endif |
| 19963 | #ifdef HAVE_MATH_H |
| 19964 | #include <math.h> |
| 19965 | #endif |
| 19966 | |
| 19967 | int (*ptr)() = (int (*)())cabs; |
| 19968 | |
| 19969 | int |
| 19970 | main () |
| 19971 | { |
| 19972 | return 0; |
| 19973 | } |
| 19974 | |
| 19975 | _ACEOF |
| 19976 | if ac_fn_c_try_link "$LINENO"; then : |
| 19977 | gcc_cv_math_func_cabs=yes |
| 19978 | else |
| 19979 | gcc_cv_math_func_cabs=no |
| 19980 | fi |
| 19981 | rm -f core conftest.err conftest.$ac_objext \ |
| 19982 | conftest$ac_exeext conftest.$ac_ext |
| 19983 | fi |
| 19984 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5 |
| 19985 | $as_echo "$gcc_cv_math_func_cabs" >&6; } |
| 19986 | if test $gcc_cv_math_func_cabs = yes; then |
| 19987 | |
| 19988 | cat >>confdefs.h <<_ACEOF |
| 19989 | #define HAVE_CABS 1 |
| 19990 | _ACEOF |
| 19991 | |
| 19992 | fi |
| 19993 | |
| 19994 | |
| 19995 | |
| 19996 | |
| 19997 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5 |
| 19998 | $as_echo_n "checking for cabsl... " >&6; } |
| 19999 | if ${gcc_cv_math_func_cabsl+:} false; then : |
| 20000 | $as_echo_n "(cached) " >&6 |
| 20001 | else |
| 20002 | if test x$gcc_no_link = xyes; then |
| 20003 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20004 | fi |
| 20005 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20006 | /* end confdefs.h. */ |
| 20007 | |
| 20008 | #ifdef HAVE_COMPLEX_H |
| 20009 | #include <complex.h> |
| 20010 | #endif |
| 20011 | #ifdef HAVE_MATH_H |
| 20012 | #include <math.h> |
| 20013 | #endif |
| 20014 | |
| 20015 | int (*ptr)() = (int (*)())cabsl; |
| 20016 | |
| 20017 | int |
| 20018 | main () |
| 20019 | { |
| 20020 | return 0; |
| 20021 | } |
| 20022 | |
| 20023 | _ACEOF |
| 20024 | if ac_fn_c_try_link "$LINENO"; then : |
| 20025 | gcc_cv_math_func_cabsl=yes |
| 20026 | else |
| 20027 | gcc_cv_math_func_cabsl=no |
| 20028 | fi |
| 20029 | rm -f core conftest.err conftest.$ac_objext \ |
| 20030 | conftest$ac_exeext conftest.$ac_ext |
| 20031 | fi |
| 20032 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5 |
| 20033 | $as_echo "$gcc_cv_math_func_cabsl" >&6; } |
| 20034 | if test $gcc_cv_math_func_cabsl = yes; then |
| 20035 | |
| 20036 | cat >>confdefs.h <<_ACEOF |
| 20037 | #define HAVE_CABSL 1 |
| 20038 | _ACEOF |
| 20039 | |
| 20040 | fi |
| 20041 | |
| 20042 | |
| 20043 | |
| 20044 | |
| 20045 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5 |
| 20046 | $as_echo_n "checking for floorf... " >&6; } |
| 20047 | if ${gcc_cv_math_func_floorf+:} false; then : |
| 20048 | $as_echo_n "(cached) " >&6 |
| 20049 | else |
| 20050 | if test x$gcc_no_link = xyes; then |
| 20051 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20052 | fi |
| 20053 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20054 | /* end confdefs.h. */ |
| 20055 | |
| 20056 | #ifdef HAVE_COMPLEX_H |
| 20057 | #include <complex.h> |
| 20058 | #endif |
| 20059 | #ifdef HAVE_MATH_H |
| 20060 | #include <math.h> |
| 20061 | #endif |
| 20062 | |
| 20063 | int (*ptr)() = (int (*)())floorf; |
| 20064 | |
| 20065 | int |
| 20066 | main () |
| 20067 | { |
| 20068 | return 0; |
| 20069 | } |
| 20070 | |
| 20071 | _ACEOF |
| 20072 | if ac_fn_c_try_link "$LINENO"; then : |
| 20073 | gcc_cv_math_func_floorf=yes |
| 20074 | else |
| 20075 | gcc_cv_math_func_floorf=no |
| 20076 | fi |
| 20077 | rm -f core conftest.err conftest.$ac_objext \ |
| 20078 | conftest$ac_exeext conftest.$ac_ext |
| 20079 | fi |
| 20080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5 |
| 20081 | $as_echo "$gcc_cv_math_func_floorf" >&6; } |
| 20082 | if test $gcc_cv_math_func_floorf = yes; then |
| 20083 | |
| 20084 | cat >>confdefs.h <<_ACEOF |
| 20085 | #define HAVE_FLOORF 1 |
| 20086 | _ACEOF |
| 20087 | |
| 20088 | fi |
| 20089 | |
| 20090 | |
| 20091 | |
| 20092 | |
| 20093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5 |
| 20094 | $as_echo_n "checking for floor... " >&6; } |
| 20095 | if ${gcc_cv_math_func_floor+:} false; then : |
| 20096 | $as_echo_n "(cached) " >&6 |
| 20097 | else |
| 20098 | if test x$gcc_no_link = xyes; then |
| 20099 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20100 | fi |
| 20101 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20102 | /* end confdefs.h. */ |
| 20103 | |
| 20104 | #ifdef HAVE_COMPLEX_H |
| 20105 | #include <complex.h> |
| 20106 | #endif |
| 20107 | #ifdef HAVE_MATH_H |
| 20108 | #include <math.h> |
| 20109 | #endif |
| 20110 | |
| 20111 | int (*ptr)() = (int (*)())floor; |
| 20112 | |
| 20113 | int |
| 20114 | main () |
| 20115 | { |
| 20116 | return 0; |
| 20117 | } |
| 20118 | |
| 20119 | _ACEOF |
| 20120 | if ac_fn_c_try_link "$LINENO"; then : |
| 20121 | gcc_cv_math_func_floor=yes |
| 20122 | else |
| 20123 | gcc_cv_math_func_floor=no |
| 20124 | fi |
| 20125 | rm -f core conftest.err conftest.$ac_objext \ |
| 20126 | conftest$ac_exeext conftest.$ac_ext |
| 20127 | fi |
| 20128 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5 |
| 20129 | $as_echo "$gcc_cv_math_func_floor" >&6; } |
| 20130 | if test $gcc_cv_math_func_floor = yes; then |
| 20131 | |
| 20132 | cat >>confdefs.h <<_ACEOF |
| 20133 | #define HAVE_FLOOR 1 |
| 20134 | _ACEOF |
| 20135 | |
| 20136 | fi |
| 20137 | |
| 20138 | |
| 20139 | |
| 20140 | |
| 20141 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5 |
| 20142 | $as_echo_n "checking for floorl... " >&6; } |
| 20143 | if ${gcc_cv_math_func_floorl+:} false; then : |
| 20144 | $as_echo_n "(cached) " >&6 |
| 20145 | else |
| 20146 | if test x$gcc_no_link = xyes; then |
| 20147 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20148 | fi |
| 20149 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20150 | /* end confdefs.h. */ |
| 20151 | |
| 20152 | #ifdef HAVE_COMPLEX_H |
| 20153 | #include <complex.h> |
| 20154 | #endif |
| 20155 | #ifdef HAVE_MATH_H |
| 20156 | #include <math.h> |
| 20157 | #endif |
| 20158 | |
| 20159 | int (*ptr)() = (int (*)())floorl; |
| 20160 | |
| 20161 | int |
| 20162 | main () |
| 20163 | { |
| 20164 | return 0; |
| 20165 | } |
| 20166 | |
| 20167 | _ACEOF |
| 20168 | if ac_fn_c_try_link "$LINENO"; then : |
| 20169 | gcc_cv_math_func_floorl=yes |
| 20170 | else |
| 20171 | gcc_cv_math_func_floorl=no |
| 20172 | fi |
| 20173 | rm -f core conftest.err conftest.$ac_objext \ |
| 20174 | conftest$ac_exeext conftest.$ac_ext |
| 20175 | fi |
| 20176 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5 |
| 20177 | $as_echo "$gcc_cv_math_func_floorl" >&6; } |
| 20178 | if test $gcc_cv_math_func_floorl = yes; then |
| 20179 | |
| 20180 | cat >>confdefs.h <<_ACEOF |
| 20181 | #define HAVE_FLOORL 1 |
| 20182 | _ACEOF |
| 20183 | |
| 20184 | fi |
| 20185 | |
| 20186 | |
| 20187 | |
| 20188 | |
| 20189 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5 |
| 20190 | $as_echo_n "checking for fmaf... " >&6; } |
| 20191 | if ${gcc_cv_math_func_fmaf+:} false; then : |
| 20192 | $as_echo_n "(cached) " >&6 |
| 20193 | else |
| 20194 | if test x$gcc_no_link = xyes; then |
| 20195 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20196 | fi |
| 20197 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20198 | /* end confdefs.h. */ |
| 20199 | |
| 20200 | #ifdef HAVE_COMPLEX_H |
| 20201 | #include <complex.h> |
| 20202 | #endif |
| 20203 | #ifdef HAVE_MATH_H |
| 20204 | #include <math.h> |
| 20205 | #endif |
| 20206 | |
| 20207 | int (*ptr)() = (int (*)())fmaf; |
| 20208 | |
| 20209 | int |
| 20210 | main () |
| 20211 | { |
| 20212 | return 0; |
| 20213 | } |
| 20214 | |
| 20215 | _ACEOF |
| 20216 | if ac_fn_c_try_link "$LINENO"; then : |
| 20217 | gcc_cv_math_func_fmaf=yes |
| 20218 | else |
| 20219 | gcc_cv_math_func_fmaf=no |
| 20220 | fi |
| 20221 | rm -f core conftest.err conftest.$ac_objext \ |
| 20222 | conftest$ac_exeext conftest.$ac_ext |
| 20223 | fi |
| 20224 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5 |
| 20225 | $as_echo "$gcc_cv_math_func_fmaf" >&6; } |
| 20226 | if test $gcc_cv_math_func_fmaf = yes; then |
| 20227 | |
| 20228 | cat >>confdefs.h <<_ACEOF |
| 20229 | #define HAVE_FMAF 1 |
| 20230 | _ACEOF |
| 20231 | |
| 20232 | fi |
| 20233 | |
| 20234 | |
| 20235 | |
| 20236 | |
| 20237 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5 |
| 20238 | $as_echo_n "checking for fma... " >&6; } |
| 20239 | if ${gcc_cv_math_func_fma+:} false; then : |
| 20240 | $as_echo_n "(cached) " >&6 |
| 20241 | else |
| 20242 | if test x$gcc_no_link = xyes; then |
| 20243 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20244 | fi |
| 20245 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20246 | /* end confdefs.h. */ |
| 20247 | |
| 20248 | #ifdef HAVE_COMPLEX_H |
| 20249 | #include <complex.h> |
| 20250 | #endif |
| 20251 | #ifdef HAVE_MATH_H |
| 20252 | #include <math.h> |
| 20253 | #endif |
| 20254 | |
| 20255 | int (*ptr)() = (int (*)())fma; |
| 20256 | |
| 20257 | int |
| 20258 | main () |
| 20259 | { |
| 20260 | return 0; |
| 20261 | } |
| 20262 | |
| 20263 | _ACEOF |
| 20264 | if ac_fn_c_try_link "$LINENO"; then : |
| 20265 | gcc_cv_math_func_fma=yes |
| 20266 | else |
| 20267 | gcc_cv_math_func_fma=no |
| 20268 | fi |
| 20269 | rm -f core conftest.err conftest.$ac_objext \ |
| 20270 | conftest$ac_exeext conftest.$ac_ext |
| 20271 | fi |
| 20272 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5 |
| 20273 | $as_echo "$gcc_cv_math_func_fma" >&6; } |
| 20274 | if test $gcc_cv_math_func_fma = yes; then |
| 20275 | |
| 20276 | cat >>confdefs.h <<_ACEOF |
| 20277 | #define HAVE_FMA 1 |
| 20278 | _ACEOF |
| 20279 | |
| 20280 | fi |
| 20281 | |
| 20282 | |
| 20283 | |
| 20284 | |
| 20285 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5 |
| 20286 | $as_echo_n "checking for fmal... " >&6; } |
| 20287 | if ${gcc_cv_math_func_fmal+:} false; then : |
| 20288 | $as_echo_n "(cached) " >&6 |
| 20289 | else |
| 20290 | if test x$gcc_no_link = xyes; then |
| 20291 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20292 | fi |
| 20293 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20294 | /* end confdefs.h. */ |
| 20295 | |
| 20296 | #ifdef HAVE_COMPLEX_H |
| 20297 | #include <complex.h> |
| 20298 | #endif |
| 20299 | #ifdef HAVE_MATH_H |
| 20300 | #include <math.h> |
| 20301 | #endif |
| 20302 | |
| 20303 | int (*ptr)() = (int (*)())fmal; |
| 20304 | |
| 20305 | int |
| 20306 | main () |
| 20307 | { |
| 20308 | return 0; |
| 20309 | } |
| 20310 | |
| 20311 | _ACEOF |
| 20312 | if ac_fn_c_try_link "$LINENO"; then : |
| 20313 | gcc_cv_math_func_fmal=yes |
| 20314 | else |
| 20315 | gcc_cv_math_func_fmal=no |
| 20316 | fi |
| 20317 | rm -f core conftest.err conftest.$ac_objext \ |
| 20318 | conftest$ac_exeext conftest.$ac_ext |
| 20319 | fi |
| 20320 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5 |
| 20321 | $as_echo "$gcc_cv_math_func_fmal" >&6; } |
| 20322 | if test $gcc_cv_math_func_fmal = yes; then |
| 20323 | |
| 20324 | cat >>confdefs.h <<_ACEOF |
| 20325 | #define HAVE_FMAL 1 |
| 20326 | _ACEOF |
| 20327 | |
| 20328 | fi |
| 20329 | |
| 20330 | |
| 20331 | |
| 20332 | |
| 20333 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5 |
| 20334 | $as_echo_n "checking for fmodf... " >&6; } |
| 20335 | if ${gcc_cv_math_func_fmodf+:} false; then : |
| 20336 | $as_echo_n "(cached) " >&6 |
| 20337 | else |
| 20338 | if test x$gcc_no_link = xyes; then |
| 20339 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20340 | fi |
| 20341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20342 | /* end confdefs.h. */ |
| 20343 | |
| 20344 | #ifdef HAVE_COMPLEX_H |
| 20345 | #include <complex.h> |
| 20346 | #endif |
| 20347 | #ifdef HAVE_MATH_H |
| 20348 | #include <math.h> |
| 20349 | #endif |
| 20350 | |
| 20351 | int (*ptr)() = (int (*)())fmodf; |
| 20352 | |
| 20353 | int |
| 20354 | main () |
| 20355 | { |
| 20356 | return 0; |
| 20357 | } |
| 20358 | |
| 20359 | _ACEOF |
| 20360 | if ac_fn_c_try_link "$LINENO"; then : |
| 20361 | gcc_cv_math_func_fmodf=yes |
| 20362 | else |
| 20363 | gcc_cv_math_func_fmodf=no |
| 20364 | fi |
| 20365 | rm -f core conftest.err conftest.$ac_objext \ |
| 20366 | conftest$ac_exeext conftest.$ac_ext |
| 20367 | fi |
| 20368 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5 |
| 20369 | $as_echo "$gcc_cv_math_func_fmodf" >&6; } |
| 20370 | if test $gcc_cv_math_func_fmodf = yes; then |
| 20371 | |
| 20372 | cat >>confdefs.h <<_ACEOF |
| 20373 | #define HAVE_FMODF 1 |
| 20374 | _ACEOF |
| 20375 | |
| 20376 | fi |
| 20377 | |
| 20378 | |
| 20379 | |
| 20380 | |
| 20381 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5 |
| 20382 | $as_echo_n "checking for fmod... " >&6; } |
| 20383 | if ${gcc_cv_math_func_fmod+:} false; then : |
| 20384 | $as_echo_n "(cached) " >&6 |
| 20385 | else |
| 20386 | if test x$gcc_no_link = xyes; then |
| 20387 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20388 | fi |
| 20389 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20390 | /* end confdefs.h. */ |
| 20391 | |
| 20392 | #ifdef HAVE_COMPLEX_H |
| 20393 | #include <complex.h> |
| 20394 | #endif |
| 20395 | #ifdef HAVE_MATH_H |
| 20396 | #include <math.h> |
| 20397 | #endif |
| 20398 | |
| 20399 | int (*ptr)() = (int (*)())fmod; |
| 20400 | |
| 20401 | int |
| 20402 | main () |
| 20403 | { |
| 20404 | return 0; |
| 20405 | } |
| 20406 | |
| 20407 | _ACEOF |
| 20408 | if ac_fn_c_try_link "$LINENO"; then : |
| 20409 | gcc_cv_math_func_fmod=yes |
| 20410 | else |
| 20411 | gcc_cv_math_func_fmod=no |
| 20412 | fi |
| 20413 | rm -f core conftest.err conftest.$ac_objext \ |
| 20414 | conftest$ac_exeext conftest.$ac_ext |
| 20415 | fi |
| 20416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5 |
| 20417 | $as_echo "$gcc_cv_math_func_fmod" >&6; } |
| 20418 | if test $gcc_cv_math_func_fmod = yes; then |
| 20419 | |
| 20420 | cat >>confdefs.h <<_ACEOF |
| 20421 | #define HAVE_FMOD 1 |
| 20422 | _ACEOF |
| 20423 | |
| 20424 | fi |
| 20425 | |
| 20426 | |
| 20427 | |
| 20428 | |
| 20429 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5 |
| 20430 | $as_echo_n "checking for fmodl... " >&6; } |
| 20431 | if ${gcc_cv_math_func_fmodl+:} false; then : |
| 20432 | $as_echo_n "(cached) " >&6 |
| 20433 | else |
| 20434 | if test x$gcc_no_link = xyes; then |
| 20435 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20436 | fi |
| 20437 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20438 | /* end confdefs.h. */ |
| 20439 | |
| 20440 | #ifdef HAVE_COMPLEX_H |
| 20441 | #include <complex.h> |
| 20442 | #endif |
| 20443 | #ifdef HAVE_MATH_H |
| 20444 | #include <math.h> |
| 20445 | #endif |
| 20446 | |
| 20447 | int (*ptr)() = (int (*)())fmodl; |
| 20448 | |
| 20449 | int |
| 20450 | main () |
| 20451 | { |
| 20452 | return 0; |
| 20453 | } |
| 20454 | |
| 20455 | _ACEOF |
| 20456 | if ac_fn_c_try_link "$LINENO"; then : |
| 20457 | gcc_cv_math_func_fmodl=yes |
| 20458 | else |
| 20459 | gcc_cv_math_func_fmodl=no |
| 20460 | fi |
| 20461 | rm -f core conftest.err conftest.$ac_objext \ |
| 20462 | conftest$ac_exeext conftest.$ac_ext |
| 20463 | fi |
| 20464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5 |
| 20465 | $as_echo "$gcc_cv_math_func_fmodl" >&6; } |
| 20466 | if test $gcc_cv_math_func_fmodl = yes; then |
| 20467 | |
| 20468 | cat >>confdefs.h <<_ACEOF |
| 20469 | #define HAVE_FMODL 1 |
| 20470 | _ACEOF |
| 20471 | |
| 20472 | fi |
| 20473 | |
| 20474 | |
| 20475 | |
| 20476 | |
| 20477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5 |
| 20478 | $as_echo_n "checking for frexpf... " >&6; } |
| 20479 | if ${gcc_cv_math_func_frexpf+:} false; then : |
| 20480 | $as_echo_n "(cached) " >&6 |
| 20481 | else |
| 20482 | if test x$gcc_no_link = xyes; then |
| 20483 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20484 | fi |
| 20485 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20486 | /* end confdefs.h. */ |
| 20487 | |
| 20488 | #ifdef HAVE_COMPLEX_H |
| 20489 | #include <complex.h> |
| 20490 | #endif |
| 20491 | #ifdef HAVE_MATH_H |
| 20492 | #include <math.h> |
| 20493 | #endif |
| 20494 | |
| 20495 | int (*ptr)() = (int (*)())frexpf; |
| 20496 | |
| 20497 | int |
| 20498 | main () |
| 20499 | { |
| 20500 | return 0; |
| 20501 | } |
| 20502 | |
| 20503 | _ACEOF |
| 20504 | if ac_fn_c_try_link "$LINENO"; then : |
| 20505 | gcc_cv_math_func_frexpf=yes |
| 20506 | else |
| 20507 | gcc_cv_math_func_frexpf=no |
| 20508 | fi |
| 20509 | rm -f core conftest.err conftest.$ac_objext \ |
| 20510 | conftest$ac_exeext conftest.$ac_ext |
| 20511 | fi |
| 20512 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5 |
| 20513 | $as_echo "$gcc_cv_math_func_frexpf" >&6; } |
| 20514 | if test $gcc_cv_math_func_frexpf = yes; then |
| 20515 | |
| 20516 | cat >>confdefs.h <<_ACEOF |
| 20517 | #define HAVE_FREXPF 1 |
| 20518 | _ACEOF |
| 20519 | |
| 20520 | fi |
| 20521 | |
| 20522 | |
| 20523 | |
| 20524 | |
| 20525 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5 |
| 20526 | $as_echo_n "checking for frexp... " >&6; } |
| 20527 | if ${gcc_cv_math_func_frexp+:} false; then : |
| 20528 | $as_echo_n "(cached) " >&6 |
| 20529 | else |
| 20530 | if test x$gcc_no_link = xyes; then |
| 20531 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20532 | fi |
| 20533 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20534 | /* end confdefs.h. */ |
| 20535 | |
| 20536 | #ifdef HAVE_COMPLEX_H |
| 20537 | #include <complex.h> |
| 20538 | #endif |
| 20539 | #ifdef HAVE_MATH_H |
| 20540 | #include <math.h> |
| 20541 | #endif |
| 20542 | |
| 20543 | int (*ptr)() = (int (*)())frexp; |
| 20544 | |
| 20545 | int |
| 20546 | main () |
| 20547 | { |
| 20548 | return 0; |
| 20549 | } |
| 20550 | |
| 20551 | _ACEOF |
| 20552 | if ac_fn_c_try_link "$LINENO"; then : |
| 20553 | gcc_cv_math_func_frexp=yes |
| 20554 | else |
| 20555 | gcc_cv_math_func_frexp=no |
| 20556 | fi |
| 20557 | rm -f core conftest.err conftest.$ac_objext \ |
| 20558 | conftest$ac_exeext conftest.$ac_ext |
| 20559 | fi |
| 20560 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5 |
| 20561 | $as_echo "$gcc_cv_math_func_frexp" >&6; } |
| 20562 | if test $gcc_cv_math_func_frexp = yes; then |
| 20563 | |
| 20564 | cat >>confdefs.h <<_ACEOF |
| 20565 | #define HAVE_FREXP 1 |
| 20566 | _ACEOF |
| 20567 | |
| 20568 | fi |
| 20569 | |
| 20570 | |
| 20571 | |
| 20572 | |
| 20573 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5 |
| 20574 | $as_echo_n "checking for frexpl... " >&6; } |
| 20575 | if ${gcc_cv_math_func_frexpl+:} false; then : |
| 20576 | $as_echo_n "(cached) " >&6 |
| 20577 | else |
| 20578 | if test x$gcc_no_link = xyes; then |
| 20579 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20580 | fi |
| 20581 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20582 | /* end confdefs.h. */ |
| 20583 | |
| 20584 | #ifdef HAVE_COMPLEX_H |
| 20585 | #include <complex.h> |
| 20586 | #endif |
| 20587 | #ifdef HAVE_MATH_H |
| 20588 | #include <math.h> |
| 20589 | #endif |
| 20590 | |
| 20591 | int (*ptr)() = (int (*)())frexpl; |
| 20592 | |
| 20593 | int |
| 20594 | main () |
| 20595 | { |
| 20596 | return 0; |
| 20597 | } |
| 20598 | |
| 20599 | _ACEOF |
| 20600 | if ac_fn_c_try_link "$LINENO"; then : |
| 20601 | gcc_cv_math_func_frexpl=yes |
| 20602 | else |
| 20603 | gcc_cv_math_func_frexpl=no |
| 20604 | fi |
| 20605 | rm -f core conftest.err conftest.$ac_objext \ |
| 20606 | conftest$ac_exeext conftest.$ac_ext |
| 20607 | fi |
| 20608 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5 |
| 20609 | $as_echo "$gcc_cv_math_func_frexpl" >&6; } |
| 20610 | if test $gcc_cv_math_func_frexpl = yes; then |
| 20611 | |
| 20612 | cat >>confdefs.h <<_ACEOF |
| 20613 | #define HAVE_FREXPL 1 |
| 20614 | _ACEOF |
| 20615 | |
| 20616 | fi |
| 20617 | |
| 20618 | |
| 20619 | |
| 20620 | |
| 20621 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5 |
| 20622 | $as_echo_n "checking for hypotf... " >&6; } |
| 20623 | if ${gcc_cv_math_func_hypotf+:} false; then : |
| 20624 | $as_echo_n "(cached) " >&6 |
| 20625 | else |
| 20626 | if test x$gcc_no_link = xyes; then |
| 20627 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20628 | fi |
| 20629 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20630 | /* end confdefs.h. */ |
| 20631 | |
| 20632 | #ifdef HAVE_COMPLEX_H |
| 20633 | #include <complex.h> |
| 20634 | #endif |
| 20635 | #ifdef HAVE_MATH_H |
| 20636 | #include <math.h> |
| 20637 | #endif |
| 20638 | |
| 20639 | int (*ptr)() = (int (*)())hypotf; |
| 20640 | |
| 20641 | int |
| 20642 | main () |
| 20643 | { |
| 20644 | return 0; |
| 20645 | } |
| 20646 | |
| 20647 | _ACEOF |
| 20648 | if ac_fn_c_try_link "$LINENO"; then : |
| 20649 | gcc_cv_math_func_hypotf=yes |
| 20650 | else |
| 20651 | gcc_cv_math_func_hypotf=no |
| 20652 | fi |
| 20653 | rm -f core conftest.err conftest.$ac_objext \ |
| 20654 | conftest$ac_exeext conftest.$ac_ext |
| 20655 | fi |
| 20656 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5 |
| 20657 | $as_echo "$gcc_cv_math_func_hypotf" >&6; } |
| 20658 | if test $gcc_cv_math_func_hypotf = yes; then |
| 20659 | |
| 20660 | cat >>confdefs.h <<_ACEOF |
| 20661 | #define HAVE_HYPOTF 1 |
| 20662 | _ACEOF |
| 20663 | |
| 20664 | fi |
| 20665 | |
| 20666 | |
| 20667 | |
| 20668 | |
| 20669 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5 |
| 20670 | $as_echo_n "checking for hypot... " >&6; } |
| 20671 | if ${gcc_cv_math_func_hypot+:} false; then : |
| 20672 | $as_echo_n "(cached) " >&6 |
| 20673 | else |
| 20674 | if test x$gcc_no_link = xyes; then |
| 20675 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20676 | fi |
| 20677 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20678 | /* end confdefs.h. */ |
| 20679 | |
| 20680 | #ifdef HAVE_COMPLEX_H |
| 20681 | #include <complex.h> |
| 20682 | #endif |
| 20683 | #ifdef HAVE_MATH_H |
| 20684 | #include <math.h> |
| 20685 | #endif |
| 20686 | |
| 20687 | int (*ptr)() = (int (*)())hypot; |
| 20688 | |
| 20689 | int |
| 20690 | main () |
| 20691 | { |
| 20692 | return 0; |
| 20693 | } |
| 20694 | |
| 20695 | _ACEOF |
| 20696 | if ac_fn_c_try_link "$LINENO"; then : |
| 20697 | gcc_cv_math_func_hypot=yes |
| 20698 | else |
| 20699 | gcc_cv_math_func_hypot=no |
| 20700 | fi |
| 20701 | rm -f core conftest.err conftest.$ac_objext \ |
| 20702 | conftest$ac_exeext conftest.$ac_ext |
| 20703 | fi |
| 20704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5 |
| 20705 | $as_echo "$gcc_cv_math_func_hypot" >&6; } |
| 20706 | if test $gcc_cv_math_func_hypot = yes; then |
| 20707 | |
| 20708 | cat >>confdefs.h <<_ACEOF |
| 20709 | #define HAVE_HYPOT 1 |
| 20710 | _ACEOF |
| 20711 | |
| 20712 | fi |
| 20713 | |
| 20714 | |
| 20715 | |
| 20716 | |
| 20717 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5 |
| 20718 | $as_echo_n "checking for hypotl... " >&6; } |
| 20719 | if ${gcc_cv_math_func_hypotl+:} false; then : |
| 20720 | $as_echo_n "(cached) " >&6 |
| 20721 | else |
| 20722 | if test x$gcc_no_link = xyes; then |
| 20723 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20724 | fi |
| 20725 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20726 | /* end confdefs.h. */ |
| 20727 | |
| 20728 | #ifdef HAVE_COMPLEX_H |
| 20729 | #include <complex.h> |
| 20730 | #endif |
| 20731 | #ifdef HAVE_MATH_H |
| 20732 | #include <math.h> |
| 20733 | #endif |
| 20734 | |
| 20735 | int (*ptr)() = (int (*)())hypotl; |
| 20736 | |
| 20737 | int |
| 20738 | main () |
| 20739 | { |
| 20740 | return 0; |
| 20741 | } |
| 20742 | |
| 20743 | _ACEOF |
| 20744 | if ac_fn_c_try_link "$LINENO"; then : |
| 20745 | gcc_cv_math_func_hypotl=yes |
| 20746 | else |
| 20747 | gcc_cv_math_func_hypotl=no |
| 20748 | fi |
| 20749 | rm -f core conftest.err conftest.$ac_objext \ |
| 20750 | conftest$ac_exeext conftest.$ac_ext |
| 20751 | fi |
| 20752 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5 |
| 20753 | $as_echo "$gcc_cv_math_func_hypotl" >&6; } |
| 20754 | if test $gcc_cv_math_func_hypotl = yes; then |
| 20755 | |
| 20756 | cat >>confdefs.h <<_ACEOF |
| 20757 | #define HAVE_HYPOTL 1 |
| 20758 | _ACEOF |
| 20759 | |
| 20760 | fi |
| 20761 | |
| 20762 | |
| 20763 | |
| 20764 | |
| 20765 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5 |
| 20766 | $as_echo_n "checking for ldexpf... " >&6; } |
| 20767 | if ${gcc_cv_math_func_ldexpf+:} false; then : |
| 20768 | $as_echo_n "(cached) " >&6 |
| 20769 | else |
| 20770 | if test x$gcc_no_link = xyes; then |
| 20771 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20772 | fi |
| 20773 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20774 | /* end confdefs.h. */ |
| 20775 | |
| 20776 | #ifdef HAVE_COMPLEX_H |
| 20777 | #include <complex.h> |
| 20778 | #endif |
| 20779 | #ifdef HAVE_MATH_H |
| 20780 | #include <math.h> |
| 20781 | #endif |
| 20782 | |
| 20783 | int (*ptr)() = (int (*)())ldexpf; |
| 20784 | |
| 20785 | int |
| 20786 | main () |
| 20787 | { |
| 20788 | return 0; |
| 20789 | } |
| 20790 | |
| 20791 | _ACEOF |
| 20792 | if ac_fn_c_try_link "$LINENO"; then : |
| 20793 | gcc_cv_math_func_ldexpf=yes |
| 20794 | else |
| 20795 | gcc_cv_math_func_ldexpf=no |
| 20796 | fi |
| 20797 | rm -f core conftest.err conftest.$ac_objext \ |
| 20798 | conftest$ac_exeext conftest.$ac_ext |
| 20799 | fi |
| 20800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5 |
| 20801 | $as_echo "$gcc_cv_math_func_ldexpf" >&6; } |
| 20802 | if test $gcc_cv_math_func_ldexpf = yes; then |
| 20803 | |
| 20804 | cat >>confdefs.h <<_ACEOF |
| 20805 | #define HAVE_LDEXPF 1 |
| 20806 | _ACEOF |
| 20807 | |
| 20808 | fi |
| 20809 | |
| 20810 | |
| 20811 | |
| 20812 | |
| 20813 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5 |
| 20814 | $as_echo_n "checking for ldexp... " >&6; } |
| 20815 | if ${gcc_cv_math_func_ldexp+:} false; then : |
| 20816 | $as_echo_n "(cached) " >&6 |
| 20817 | else |
| 20818 | if test x$gcc_no_link = xyes; then |
| 20819 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20820 | fi |
| 20821 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20822 | /* end confdefs.h. */ |
| 20823 | |
| 20824 | #ifdef HAVE_COMPLEX_H |
| 20825 | #include <complex.h> |
| 20826 | #endif |
| 20827 | #ifdef HAVE_MATH_H |
| 20828 | #include <math.h> |
| 20829 | #endif |
| 20830 | |
| 20831 | int (*ptr)() = (int (*)())ldexp; |
| 20832 | |
| 20833 | int |
| 20834 | main () |
| 20835 | { |
| 20836 | return 0; |
| 20837 | } |
| 20838 | |
| 20839 | _ACEOF |
| 20840 | if ac_fn_c_try_link "$LINENO"; then : |
| 20841 | gcc_cv_math_func_ldexp=yes |
| 20842 | else |
| 20843 | gcc_cv_math_func_ldexp=no |
| 20844 | fi |
| 20845 | rm -f core conftest.err conftest.$ac_objext \ |
| 20846 | conftest$ac_exeext conftest.$ac_ext |
| 20847 | fi |
| 20848 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5 |
| 20849 | $as_echo "$gcc_cv_math_func_ldexp" >&6; } |
| 20850 | if test $gcc_cv_math_func_ldexp = yes; then |
| 20851 | |
| 20852 | cat >>confdefs.h <<_ACEOF |
| 20853 | #define HAVE_LDEXP 1 |
| 20854 | _ACEOF |
| 20855 | |
| 20856 | fi |
| 20857 | |
| 20858 | |
| 20859 | |
| 20860 | |
| 20861 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5 |
| 20862 | $as_echo_n "checking for ldexpl... " >&6; } |
| 20863 | if ${gcc_cv_math_func_ldexpl+:} false; then : |
| 20864 | $as_echo_n "(cached) " >&6 |
| 20865 | else |
| 20866 | if test x$gcc_no_link = xyes; then |
| 20867 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20868 | fi |
| 20869 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20870 | /* end confdefs.h. */ |
| 20871 | |
| 20872 | #ifdef HAVE_COMPLEX_H |
| 20873 | #include <complex.h> |
| 20874 | #endif |
| 20875 | #ifdef HAVE_MATH_H |
| 20876 | #include <math.h> |
| 20877 | #endif |
| 20878 | |
| 20879 | int (*ptr)() = (int (*)())ldexpl; |
| 20880 | |
| 20881 | int |
| 20882 | main () |
| 20883 | { |
| 20884 | return 0; |
| 20885 | } |
| 20886 | |
| 20887 | _ACEOF |
| 20888 | if ac_fn_c_try_link "$LINENO"; then : |
| 20889 | gcc_cv_math_func_ldexpl=yes |
| 20890 | else |
| 20891 | gcc_cv_math_func_ldexpl=no |
| 20892 | fi |
| 20893 | rm -f core conftest.err conftest.$ac_objext \ |
| 20894 | conftest$ac_exeext conftest.$ac_ext |
| 20895 | fi |
| 20896 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5 |
| 20897 | $as_echo "$gcc_cv_math_func_ldexpl" >&6; } |
| 20898 | if test $gcc_cv_math_func_ldexpl = yes; then |
| 20899 | |
| 20900 | cat >>confdefs.h <<_ACEOF |
| 20901 | #define HAVE_LDEXPL 1 |
| 20902 | _ACEOF |
| 20903 | |
| 20904 | fi |
| 20905 | |
| 20906 | |
| 20907 | |
| 20908 | |
| 20909 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5 |
| 20910 | $as_echo_n "checking for logf... " >&6; } |
| 20911 | if ${gcc_cv_math_func_logf+:} false; then : |
| 20912 | $as_echo_n "(cached) " >&6 |
| 20913 | else |
| 20914 | if test x$gcc_no_link = xyes; then |
| 20915 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20916 | fi |
| 20917 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20918 | /* end confdefs.h. */ |
| 20919 | |
| 20920 | #ifdef HAVE_COMPLEX_H |
| 20921 | #include <complex.h> |
| 20922 | #endif |
| 20923 | #ifdef HAVE_MATH_H |
| 20924 | #include <math.h> |
| 20925 | #endif |
| 20926 | |
| 20927 | int (*ptr)() = (int (*)())logf; |
| 20928 | |
| 20929 | int |
| 20930 | main () |
| 20931 | { |
| 20932 | return 0; |
| 20933 | } |
| 20934 | |
| 20935 | _ACEOF |
| 20936 | if ac_fn_c_try_link "$LINENO"; then : |
| 20937 | gcc_cv_math_func_logf=yes |
| 20938 | else |
| 20939 | gcc_cv_math_func_logf=no |
| 20940 | fi |
| 20941 | rm -f core conftest.err conftest.$ac_objext \ |
| 20942 | conftest$ac_exeext conftest.$ac_ext |
| 20943 | fi |
| 20944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5 |
| 20945 | $as_echo "$gcc_cv_math_func_logf" >&6; } |
| 20946 | if test $gcc_cv_math_func_logf = yes; then |
| 20947 | |
| 20948 | cat >>confdefs.h <<_ACEOF |
| 20949 | #define HAVE_LOGF 1 |
| 20950 | _ACEOF |
| 20951 | |
| 20952 | fi |
| 20953 | |
| 20954 | |
| 20955 | |
| 20956 | |
| 20957 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5 |
| 20958 | $as_echo_n "checking for log... " >&6; } |
| 20959 | if ${gcc_cv_math_func_log+:} false; then : |
| 20960 | $as_echo_n "(cached) " >&6 |
| 20961 | else |
| 20962 | if test x$gcc_no_link = xyes; then |
| 20963 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 20964 | fi |
| 20965 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20966 | /* end confdefs.h. */ |
| 20967 | |
| 20968 | #ifdef HAVE_COMPLEX_H |
| 20969 | #include <complex.h> |
| 20970 | #endif |
| 20971 | #ifdef HAVE_MATH_H |
| 20972 | #include <math.h> |
| 20973 | #endif |
| 20974 | |
| 20975 | int (*ptr)() = (int (*)())log; |
| 20976 | |
| 20977 | int |
| 20978 | main () |
| 20979 | { |
| 20980 | return 0; |
| 20981 | } |
| 20982 | |
| 20983 | _ACEOF |
| 20984 | if ac_fn_c_try_link "$LINENO"; then : |
| 20985 | gcc_cv_math_func_log=yes |
| 20986 | else |
| 20987 | gcc_cv_math_func_log=no |
| 20988 | fi |
| 20989 | rm -f core conftest.err conftest.$ac_objext \ |
| 20990 | conftest$ac_exeext conftest.$ac_ext |
| 20991 | fi |
| 20992 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5 |
| 20993 | $as_echo "$gcc_cv_math_func_log" >&6; } |
| 20994 | if test $gcc_cv_math_func_log = yes; then |
| 20995 | |
| 20996 | cat >>confdefs.h <<_ACEOF |
| 20997 | #define HAVE_LOG 1 |
| 20998 | _ACEOF |
| 20999 | |
| 21000 | fi |
| 21001 | |
| 21002 | |
| 21003 | |
| 21004 | |
| 21005 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5 |
| 21006 | $as_echo_n "checking for logl... " >&6; } |
| 21007 | if ${gcc_cv_math_func_logl+:} false; then : |
| 21008 | $as_echo_n "(cached) " >&6 |
| 21009 | else |
| 21010 | if test x$gcc_no_link = xyes; then |
| 21011 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21012 | fi |
| 21013 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21014 | /* end confdefs.h. */ |
| 21015 | |
| 21016 | #ifdef HAVE_COMPLEX_H |
| 21017 | #include <complex.h> |
| 21018 | #endif |
| 21019 | #ifdef HAVE_MATH_H |
| 21020 | #include <math.h> |
| 21021 | #endif |
| 21022 | |
| 21023 | int (*ptr)() = (int (*)())logl; |
| 21024 | |
| 21025 | int |
| 21026 | main () |
| 21027 | { |
| 21028 | return 0; |
| 21029 | } |
| 21030 | |
| 21031 | _ACEOF |
| 21032 | if ac_fn_c_try_link "$LINENO"; then : |
| 21033 | gcc_cv_math_func_logl=yes |
| 21034 | else |
| 21035 | gcc_cv_math_func_logl=no |
| 21036 | fi |
| 21037 | rm -f core conftest.err conftest.$ac_objext \ |
| 21038 | conftest$ac_exeext conftest.$ac_ext |
| 21039 | fi |
| 21040 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5 |
| 21041 | $as_echo "$gcc_cv_math_func_logl" >&6; } |
| 21042 | if test $gcc_cv_math_func_logl = yes; then |
| 21043 | |
| 21044 | cat >>confdefs.h <<_ACEOF |
| 21045 | #define HAVE_LOGL 1 |
| 21046 | _ACEOF |
| 21047 | |
| 21048 | fi |
| 21049 | |
| 21050 | |
| 21051 | |
| 21052 | |
| 21053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5 |
| 21054 | $as_echo_n "checking for clogf... " >&6; } |
| 21055 | if ${gcc_cv_math_func_clogf+:} false; then : |
| 21056 | $as_echo_n "(cached) " >&6 |
| 21057 | else |
| 21058 | if test x$gcc_no_link = xyes; then |
| 21059 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21060 | fi |
| 21061 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21062 | /* end confdefs.h. */ |
| 21063 | |
| 21064 | #ifdef HAVE_COMPLEX_H |
| 21065 | #include <complex.h> |
| 21066 | #endif |
| 21067 | #ifdef HAVE_MATH_H |
| 21068 | #include <math.h> |
| 21069 | #endif |
| 21070 | |
| 21071 | int (*ptr)() = (int (*)())clogf; |
| 21072 | |
| 21073 | int |
| 21074 | main () |
| 21075 | { |
| 21076 | return 0; |
| 21077 | } |
| 21078 | |
| 21079 | _ACEOF |
| 21080 | if ac_fn_c_try_link "$LINENO"; then : |
| 21081 | gcc_cv_math_func_clogf=yes |
| 21082 | else |
| 21083 | gcc_cv_math_func_clogf=no |
| 21084 | fi |
| 21085 | rm -f core conftest.err conftest.$ac_objext \ |
| 21086 | conftest$ac_exeext conftest.$ac_ext |
| 21087 | fi |
| 21088 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5 |
| 21089 | $as_echo "$gcc_cv_math_func_clogf" >&6; } |
| 21090 | if test $gcc_cv_math_func_clogf = yes; then |
| 21091 | |
| 21092 | cat >>confdefs.h <<_ACEOF |
| 21093 | #define HAVE_CLOGF 1 |
| 21094 | _ACEOF |
| 21095 | |
| 21096 | fi |
| 21097 | |
| 21098 | |
| 21099 | |
| 21100 | |
| 21101 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5 |
| 21102 | $as_echo_n "checking for clog... " >&6; } |
| 21103 | if ${gcc_cv_math_func_clog+:} false; then : |
| 21104 | $as_echo_n "(cached) " >&6 |
| 21105 | else |
| 21106 | if test x$gcc_no_link = xyes; then |
| 21107 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21108 | fi |
| 21109 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21110 | /* end confdefs.h. */ |
| 21111 | |
| 21112 | #ifdef HAVE_COMPLEX_H |
| 21113 | #include <complex.h> |
| 21114 | #endif |
| 21115 | #ifdef HAVE_MATH_H |
| 21116 | #include <math.h> |
| 21117 | #endif |
| 21118 | |
| 21119 | int (*ptr)() = (int (*)())clog; |
| 21120 | |
| 21121 | int |
| 21122 | main () |
| 21123 | { |
| 21124 | return 0; |
| 21125 | } |
| 21126 | |
| 21127 | _ACEOF |
| 21128 | if ac_fn_c_try_link "$LINENO"; then : |
| 21129 | gcc_cv_math_func_clog=yes |
| 21130 | else |
| 21131 | gcc_cv_math_func_clog=no |
| 21132 | fi |
| 21133 | rm -f core conftest.err conftest.$ac_objext \ |
| 21134 | conftest$ac_exeext conftest.$ac_ext |
| 21135 | fi |
| 21136 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5 |
| 21137 | $as_echo "$gcc_cv_math_func_clog" >&6; } |
| 21138 | if test $gcc_cv_math_func_clog = yes; then |
| 21139 | |
| 21140 | cat >>confdefs.h <<_ACEOF |
| 21141 | #define HAVE_CLOG 1 |
| 21142 | _ACEOF |
| 21143 | |
| 21144 | fi |
| 21145 | |
| 21146 | |
| 21147 | |
| 21148 | |
| 21149 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5 |
| 21150 | $as_echo_n "checking for clogl... " >&6; } |
| 21151 | if ${gcc_cv_math_func_clogl+:} false; then : |
| 21152 | $as_echo_n "(cached) " >&6 |
| 21153 | else |
| 21154 | if test x$gcc_no_link = xyes; then |
| 21155 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21156 | fi |
| 21157 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21158 | /* end confdefs.h. */ |
| 21159 | |
| 21160 | #ifdef HAVE_COMPLEX_H |
| 21161 | #include <complex.h> |
| 21162 | #endif |
| 21163 | #ifdef HAVE_MATH_H |
| 21164 | #include <math.h> |
| 21165 | #endif |
| 21166 | |
| 21167 | int (*ptr)() = (int (*)())clogl; |
| 21168 | |
| 21169 | int |
| 21170 | main () |
| 21171 | { |
| 21172 | return 0; |
| 21173 | } |
| 21174 | |
| 21175 | _ACEOF |
| 21176 | if ac_fn_c_try_link "$LINENO"; then : |
| 21177 | gcc_cv_math_func_clogl=yes |
| 21178 | else |
| 21179 | gcc_cv_math_func_clogl=no |
| 21180 | fi |
| 21181 | rm -f core conftest.err conftest.$ac_objext \ |
| 21182 | conftest$ac_exeext conftest.$ac_ext |
| 21183 | fi |
| 21184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5 |
| 21185 | $as_echo "$gcc_cv_math_func_clogl" >&6; } |
| 21186 | if test $gcc_cv_math_func_clogl = yes; then |
| 21187 | |
| 21188 | cat >>confdefs.h <<_ACEOF |
| 21189 | #define HAVE_CLOGL 1 |
| 21190 | _ACEOF |
| 21191 | |
| 21192 | fi |
| 21193 | |
| 21194 | |
| 21195 | |
| 21196 | |
| 21197 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5 |
| 21198 | $as_echo_n "checking for log10f... " >&6; } |
| 21199 | if ${gcc_cv_math_func_log10f+:} false; then : |
| 21200 | $as_echo_n "(cached) " >&6 |
| 21201 | else |
| 21202 | if test x$gcc_no_link = xyes; then |
| 21203 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21204 | fi |
| 21205 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21206 | /* end confdefs.h. */ |
| 21207 | |
| 21208 | #ifdef HAVE_COMPLEX_H |
| 21209 | #include <complex.h> |
| 21210 | #endif |
| 21211 | #ifdef HAVE_MATH_H |
| 21212 | #include <math.h> |
| 21213 | #endif |
| 21214 | |
| 21215 | int (*ptr)() = (int (*)())log10f; |
| 21216 | |
| 21217 | int |
| 21218 | main () |
| 21219 | { |
| 21220 | return 0; |
| 21221 | } |
| 21222 | |
| 21223 | _ACEOF |
| 21224 | if ac_fn_c_try_link "$LINENO"; then : |
| 21225 | gcc_cv_math_func_log10f=yes |
| 21226 | else |
| 21227 | gcc_cv_math_func_log10f=no |
| 21228 | fi |
| 21229 | rm -f core conftest.err conftest.$ac_objext \ |
| 21230 | conftest$ac_exeext conftest.$ac_ext |
| 21231 | fi |
| 21232 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5 |
| 21233 | $as_echo "$gcc_cv_math_func_log10f" >&6; } |
| 21234 | if test $gcc_cv_math_func_log10f = yes; then |
| 21235 | |
| 21236 | cat >>confdefs.h <<_ACEOF |
| 21237 | #define HAVE_LOG10F 1 |
| 21238 | _ACEOF |
| 21239 | |
| 21240 | fi |
| 21241 | |
| 21242 | |
| 21243 | |
| 21244 | |
| 21245 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5 |
| 21246 | $as_echo_n "checking for log10... " >&6; } |
| 21247 | if ${gcc_cv_math_func_log10+:} false; then : |
| 21248 | $as_echo_n "(cached) " >&6 |
| 21249 | else |
| 21250 | if test x$gcc_no_link = xyes; then |
| 21251 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21252 | fi |
| 21253 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21254 | /* end confdefs.h. */ |
| 21255 | |
| 21256 | #ifdef HAVE_COMPLEX_H |
| 21257 | #include <complex.h> |
| 21258 | #endif |
| 21259 | #ifdef HAVE_MATH_H |
| 21260 | #include <math.h> |
| 21261 | #endif |
| 21262 | |
| 21263 | int (*ptr)() = (int (*)())log10; |
| 21264 | |
| 21265 | int |
| 21266 | main () |
| 21267 | { |
| 21268 | return 0; |
| 21269 | } |
| 21270 | |
| 21271 | _ACEOF |
| 21272 | if ac_fn_c_try_link "$LINENO"; then : |
| 21273 | gcc_cv_math_func_log10=yes |
| 21274 | else |
| 21275 | gcc_cv_math_func_log10=no |
| 21276 | fi |
| 21277 | rm -f core conftest.err conftest.$ac_objext \ |
| 21278 | conftest$ac_exeext conftest.$ac_ext |
| 21279 | fi |
| 21280 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5 |
| 21281 | $as_echo "$gcc_cv_math_func_log10" >&6; } |
| 21282 | if test $gcc_cv_math_func_log10 = yes; then |
| 21283 | |
| 21284 | cat >>confdefs.h <<_ACEOF |
| 21285 | #define HAVE_LOG10 1 |
| 21286 | _ACEOF |
| 21287 | |
| 21288 | fi |
| 21289 | |
| 21290 | |
| 21291 | |
| 21292 | |
| 21293 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5 |
| 21294 | $as_echo_n "checking for log10l... " >&6; } |
| 21295 | if ${gcc_cv_math_func_log10l+:} false; then : |
| 21296 | $as_echo_n "(cached) " >&6 |
| 21297 | else |
| 21298 | if test x$gcc_no_link = xyes; then |
| 21299 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21300 | fi |
| 21301 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21302 | /* end confdefs.h. */ |
| 21303 | |
| 21304 | #ifdef HAVE_COMPLEX_H |
| 21305 | #include <complex.h> |
| 21306 | #endif |
| 21307 | #ifdef HAVE_MATH_H |
| 21308 | #include <math.h> |
| 21309 | #endif |
| 21310 | |
| 21311 | int (*ptr)() = (int (*)())log10l; |
| 21312 | |
| 21313 | int |
| 21314 | main () |
| 21315 | { |
| 21316 | return 0; |
| 21317 | } |
| 21318 | |
| 21319 | _ACEOF |
| 21320 | if ac_fn_c_try_link "$LINENO"; then : |
| 21321 | gcc_cv_math_func_log10l=yes |
| 21322 | else |
| 21323 | gcc_cv_math_func_log10l=no |
| 21324 | fi |
| 21325 | rm -f core conftest.err conftest.$ac_objext \ |
| 21326 | conftest$ac_exeext conftest.$ac_ext |
| 21327 | fi |
| 21328 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5 |
| 21329 | $as_echo "$gcc_cv_math_func_log10l" >&6; } |
| 21330 | if test $gcc_cv_math_func_log10l = yes; then |
| 21331 | |
| 21332 | cat >>confdefs.h <<_ACEOF |
| 21333 | #define HAVE_LOG10L 1 |
| 21334 | _ACEOF |
| 21335 | |
| 21336 | fi |
| 21337 | |
| 21338 | |
| 21339 | |
| 21340 | |
| 21341 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5 |
| 21342 | $as_echo_n "checking for clog10f... " >&6; } |
| 21343 | if ${gcc_cv_math_func_clog10f+:} false; then : |
| 21344 | $as_echo_n "(cached) " >&6 |
| 21345 | else |
| 21346 | if test x$gcc_no_link = xyes; then |
| 21347 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21348 | fi |
| 21349 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21350 | /* end confdefs.h. */ |
| 21351 | |
| 21352 | #ifdef HAVE_COMPLEX_H |
| 21353 | #include <complex.h> |
| 21354 | #endif |
| 21355 | #ifdef HAVE_MATH_H |
| 21356 | #include <math.h> |
| 21357 | #endif |
| 21358 | |
| 21359 | int (*ptr)() = (int (*)())clog10f; |
| 21360 | |
| 21361 | int |
| 21362 | main () |
| 21363 | { |
| 21364 | return 0; |
| 21365 | } |
| 21366 | |
| 21367 | _ACEOF |
| 21368 | if ac_fn_c_try_link "$LINENO"; then : |
| 21369 | gcc_cv_math_func_clog10f=yes |
| 21370 | else |
| 21371 | gcc_cv_math_func_clog10f=no |
| 21372 | fi |
| 21373 | rm -f core conftest.err conftest.$ac_objext \ |
| 21374 | conftest$ac_exeext conftest.$ac_ext |
| 21375 | fi |
| 21376 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5 |
| 21377 | $as_echo "$gcc_cv_math_func_clog10f" >&6; } |
| 21378 | if test $gcc_cv_math_func_clog10f = yes; then |
| 21379 | |
| 21380 | cat >>confdefs.h <<_ACEOF |
| 21381 | #define HAVE_CLOG10F 1 |
| 21382 | _ACEOF |
| 21383 | |
| 21384 | fi |
| 21385 | |
| 21386 | |
| 21387 | |
| 21388 | |
| 21389 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5 |
| 21390 | $as_echo_n "checking for clog10... " >&6; } |
| 21391 | if ${gcc_cv_math_func_clog10+:} false; then : |
| 21392 | $as_echo_n "(cached) " >&6 |
| 21393 | else |
| 21394 | if test x$gcc_no_link = xyes; then |
| 21395 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21396 | fi |
| 21397 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21398 | /* end confdefs.h. */ |
| 21399 | |
| 21400 | #ifdef HAVE_COMPLEX_H |
| 21401 | #include <complex.h> |
| 21402 | #endif |
| 21403 | #ifdef HAVE_MATH_H |
| 21404 | #include <math.h> |
| 21405 | #endif |
| 21406 | |
| 21407 | int (*ptr)() = (int (*)())clog10; |
| 21408 | |
| 21409 | int |
| 21410 | main () |
| 21411 | { |
| 21412 | return 0; |
| 21413 | } |
| 21414 | |
| 21415 | _ACEOF |
| 21416 | if ac_fn_c_try_link "$LINENO"; then : |
| 21417 | gcc_cv_math_func_clog10=yes |
| 21418 | else |
| 21419 | gcc_cv_math_func_clog10=no |
| 21420 | fi |
| 21421 | rm -f core conftest.err conftest.$ac_objext \ |
| 21422 | conftest$ac_exeext conftest.$ac_ext |
| 21423 | fi |
| 21424 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5 |
| 21425 | $as_echo "$gcc_cv_math_func_clog10" >&6; } |
| 21426 | if test $gcc_cv_math_func_clog10 = yes; then |
| 21427 | |
| 21428 | cat >>confdefs.h <<_ACEOF |
| 21429 | #define HAVE_CLOG10 1 |
| 21430 | _ACEOF |
| 21431 | |
| 21432 | fi |
| 21433 | |
| 21434 | |
| 21435 | |
| 21436 | |
| 21437 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5 |
| 21438 | $as_echo_n "checking for clog10l... " >&6; } |
| 21439 | if ${gcc_cv_math_func_clog10l+:} false; then : |
| 21440 | $as_echo_n "(cached) " >&6 |
| 21441 | else |
| 21442 | if test x$gcc_no_link = xyes; then |
| 21443 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21444 | fi |
| 21445 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21446 | /* end confdefs.h. */ |
| 21447 | |
| 21448 | #ifdef HAVE_COMPLEX_H |
| 21449 | #include <complex.h> |
| 21450 | #endif |
| 21451 | #ifdef HAVE_MATH_H |
| 21452 | #include <math.h> |
| 21453 | #endif |
| 21454 | |
| 21455 | int (*ptr)() = (int (*)())clog10l; |
| 21456 | |
| 21457 | int |
| 21458 | main () |
| 21459 | { |
| 21460 | return 0; |
| 21461 | } |
| 21462 | |
| 21463 | _ACEOF |
| 21464 | if ac_fn_c_try_link "$LINENO"; then : |
| 21465 | gcc_cv_math_func_clog10l=yes |
| 21466 | else |
| 21467 | gcc_cv_math_func_clog10l=no |
| 21468 | fi |
| 21469 | rm -f core conftest.err conftest.$ac_objext \ |
| 21470 | conftest$ac_exeext conftest.$ac_ext |
| 21471 | fi |
| 21472 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5 |
| 21473 | $as_echo "$gcc_cv_math_func_clog10l" >&6; } |
| 21474 | if test $gcc_cv_math_func_clog10l = yes; then |
| 21475 | |
| 21476 | cat >>confdefs.h <<_ACEOF |
| 21477 | #define HAVE_CLOG10L 1 |
| 21478 | _ACEOF |
| 21479 | |
| 21480 | fi |
| 21481 | |
| 21482 | |
| 21483 | |
| 21484 | |
| 21485 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5 |
| 21486 | $as_echo_n "checking for nextafterf... " >&6; } |
| 21487 | if ${gcc_cv_math_func_nextafterf+:} false; then : |
| 21488 | $as_echo_n "(cached) " >&6 |
| 21489 | else |
| 21490 | if test x$gcc_no_link = xyes; then |
| 21491 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21492 | fi |
| 21493 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21494 | /* end confdefs.h. */ |
| 21495 | |
| 21496 | #ifdef HAVE_COMPLEX_H |
| 21497 | #include <complex.h> |
| 21498 | #endif |
| 21499 | #ifdef HAVE_MATH_H |
| 21500 | #include <math.h> |
| 21501 | #endif |
| 21502 | |
| 21503 | int (*ptr)() = (int (*)())nextafterf; |
| 21504 | |
| 21505 | int |
| 21506 | main () |
| 21507 | { |
| 21508 | return 0; |
| 21509 | } |
| 21510 | |
| 21511 | _ACEOF |
| 21512 | if ac_fn_c_try_link "$LINENO"; then : |
| 21513 | gcc_cv_math_func_nextafterf=yes |
| 21514 | else |
| 21515 | gcc_cv_math_func_nextafterf=no |
| 21516 | fi |
| 21517 | rm -f core conftest.err conftest.$ac_objext \ |
| 21518 | conftest$ac_exeext conftest.$ac_ext |
| 21519 | fi |
| 21520 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5 |
| 21521 | $as_echo "$gcc_cv_math_func_nextafterf" >&6; } |
| 21522 | if test $gcc_cv_math_func_nextafterf = yes; then |
| 21523 | |
| 21524 | cat >>confdefs.h <<_ACEOF |
| 21525 | #define HAVE_NEXTAFTERF 1 |
| 21526 | _ACEOF |
| 21527 | |
| 21528 | fi |
| 21529 | |
| 21530 | |
| 21531 | |
| 21532 | |
| 21533 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5 |
| 21534 | $as_echo_n "checking for nextafter... " >&6; } |
| 21535 | if ${gcc_cv_math_func_nextafter+:} false; then : |
| 21536 | $as_echo_n "(cached) " >&6 |
| 21537 | else |
| 21538 | if test x$gcc_no_link = xyes; then |
| 21539 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21540 | fi |
| 21541 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21542 | /* end confdefs.h. */ |
| 21543 | |
| 21544 | #ifdef HAVE_COMPLEX_H |
| 21545 | #include <complex.h> |
| 21546 | #endif |
| 21547 | #ifdef HAVE_MATH_H |
| 21548 | #include <math.h> |
| 21549 | #endif |
| 21550 | |
| 21551 | int (*ptr)() = (int (*)())nextafter; |
| 21552 | |
| 21553 | int |
| 21554 | main () |
| 21555 | { |
| 21556 | return 0; |
| 21557 | } |
| 21558 | |
| 21559 | _ACEOF |
| 21560 | if ac_fn_c_try_link "$LINENO"; then : |
| 21561 | gcc_cv_math_func_nextafter=yes |
| 21562 | else |
| 21563 | gcc_cv_math_func_nextafter=no |
| 21564 | fi |
| 21565 | rm -f core conftest.err conftest.$ac_objext \ |
| 21566 | conftest$ac_exeext conftest.$ac_ext |
| 21567 | fi |
| 21568 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5 |
| 21569 | $as_echo "$gcc_cv_math_func_nextafter" >&6; } |
| 21570 | if test $gcc_cv_math_func_nextafter = yes; then |
| 21571 | |
| 21572 | cat >>confdefs.h <<_ACEOF |
| 21573 | #define HAVE_NEXTAFTER 1 |
| 21574 | _ACEOF |
| 21575 | |
| 21576 | fi |
| 21577 | |
| 21578 | |
| 21579 | |
| 21580 | |
| 21581 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5 |
| 21582 | $as_echo_n "checking for nextafterl... " >&6; } |
| 21583 | if ${gcc_cv_math_func_nextafterl+:} false; then : |
| 21584 | $as_echo_n "(cached) " >&6 |
| 21585 | else |
| 21586 | if test x$gcc_no_link = xyes; then |
| 21587 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21588 | fi |
| 21589 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21590 | /* end confdefs.h. */ |
| 21591 | |
| 21592 | #ifdef HAVE_COMPLEX_H |
| 21593 | #include <complex.h> |
| 21594 | #endif |
| 21595 | #ifdef HAVE_MATH_H |
| 21596 | #include <math.h> |
| 21597 | #endif |
| 21598 | |
| 21599 | int (*ptr)() = (int (*)())nextafterl; |
| 21600 | |
| 21601 | int |
| 21602 | main () |
| 21603 | { |
| 21604 | return 0; |
| 21605 | } |
| 21606 | |
| 21607 | _ACEOF |
| 21608 | if ac_fn_c_try_link "$LINENO"; then : |
| 21609 | gcc_cv_math_func_nextafterl=yes |
| 21610 | else |
| 21611 | gcc_cv_math_func_nextafterl=no |
| 21612 | fi |
| 21613 | rm -f core conftest.err conftest.$ac_objext \ |
| 21614 | conftest$ac_exeext conftest.$ac_ext |
| 21615 | fi |
| 21616 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5 |
| 21617 | $as_echo "$gcc_cv_math_func_nextafterl" >&6; } |
| 21618 | if test $gcc_cv_math_func_nextafterl = yes; then |
| 21619 | |
| 21620 | cat >>confdefs.h <<_ACEOF |
| 21621 | #define HAVE_NEXTAFTERL 1 |
| 21622 | _ACEOF |
| 21623 | |
| 21624 | fi |
| 21625 | |
| 21626 | |
| 21627 | |
| 21628 | |
| 21629 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5 |
| 21630 | $as_echo_n "checking for powf... " >&6; } |
| 21631 | if ${gcc_cv_math_func_powf+:} false; then : |
| 21632 | $as_echo_n "(cached) " >&6 |
| 21633 | else |
| 21634 | if test x$gcc_no_link = xyes; then |
| 21635 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21636 | fi |
| 21637 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21638 | /* end confdefs.h. */ |
| 21639 | |
| 21640 | #ifdef HAVE_COMPLEX_H |
| 21641 | #include <complex.h> |
| 21642 | #endif |
| 21643 | #ifdef HAVE_MATH_H |
| 21644 | #include <math.h> |
| 21645 | #endif |
| 21646 | |
| 21647 | int (*ptr)() = (int (*)())powf; |
| 21648 | |
| 21649 | int |
| 21650 | main () |
| 21651 | { |
| 21652 | return 0; |
| 21653 | } |
| 21654 | |
| 21655 | _ACEOF |
| 21656 | if ac_fn_c_try_link "$LINENO"; then : |
| 21657 | gcc_cv_math_func_powf=yes |
| 21658 | else |
| 21659 | gcc_cv_math_func_powf=no |
| 21660 | fi |
| 21661 | rm -f core conftest.err conftest.$ac_objext \ |
| 21662 | conftest$ac_exeext conftest.$ac_ext |
| 21663 | fi |
| 21664 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5 |
| 21665 | $as_echo "$gcc_cv_math_func_powf" >&6; } |
| 21666 | if test $gcc_cv_math_func_powf = yes; then |
| 21667 | |
| 21668 | cat >>confdefs.h <<_ACEOF |
| 21669 | #define HAVE_POWF 1 |
| 21670 | _ACEOF |
| 21671 | |
| 21672 | fi |
| 21673 | |
| 21674 | |
| 21675 | |
| 21676 | |
| 21677 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5 |
| 21678 | $as_echo_n "checking for pow... " >&6; } |
| 21679 | if ${gcc_cv_math_func_pow+:} false; then : |
| 21680 | $as_echo_n "(cached) " >&6 |
| 21681 | else |
| 21682 | if test x$gcc_no_link = xyes; then |
| 21683 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21684 | fi |
| 21685 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21686 | /* end confdefs.h. */ |
| 21687 | |
| 21688 | #ifdef HAVE_COMPLEX_H |
| 21689 | #include <complex.h> |
| 21690 | #endif |
| 21691 | #ifdef HAVE_MATH_H |
| 21692 | #include <math.h> |
| 21693 | #endif |
| 21694 | |
| 21695 | int (*ptr)() = (int (*)())pow; |
| 21696 | |
| 21697 | int |
| 21698 | main () |
| 21699 | { |
| 21700 | return 0; |
| 21701 | } |
| 21702 | |
| 21703 | _ACEOF |
| 21704 | if ac_fn_c_try_link "$LINENO"; then : |
| 21705 | gcc_cv_math_func_pow=yes |
| 21706 | else |
| 21707 | gcc_cv_math_func_pow=no |
| 21708 | fi |
| 21709 | rm -f core conftest.err conftest.$ac_objext \ |
| 21710 | conftest$ac_exeext conftest.$ac_ext |
| 21711 | fi |
| 21712 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5 |
| 21713 | $as_echo "$gcc_cv_math_func_pow" >&6; } |
| 21714 | if test $gcc_cv_math_func_pow = yes; then |
| 21715 | |
| 21716 | cat >>confdefs.h <<_ACEOF |
| 21717 | #define HAVE_POW 1 |
| 21718 | _ACEOF |
| 21719 | |
| 21720 | fi |
| 21721 | |
| 21722 | |
| 21723 | |
| 21724 | |
| 21725 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5 |
| 21726 | $as_echo_n "checking for cpowf... " >&6; } |
| 21727 | if ${gcc_cv_math_func_cpowf+:} false; then : |
| 21728 | $as_echo_n "(cached) " >&6 |
| 21729 | else |
| 21730 | if test x$gcc_no_link = xyes; then |
| 21731 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21732 | fi |
| 21733 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21734 | /* end confdefs.h. */ |
| 21735 | |
| 21736 | #ifdef HAVE_COMPLEX_H |
| 21737 | #include <complex.h> |
| 21738 | #endif |
| 21739 | #ifdef HAVE_MATH_H |
| 21740 | #include <math.h> |
| 21741 | #endif |
| 21742 | |
| 21743 | int (*ptr)() = (int (*)())cpowf; |
| 21744 | |
| 21745 | int |
| 21746 | main () |
| 21747 | { |
| 21748 | return 0; |
| 21749 | } |
| 21750 | |
| 21751 | _ACEOF |
| 21752 | if ac_fn_c_try_link "$LINENO"; then : |
| 21753 | gcc_cv_math_func_cpowf=yes |
| 21754 | else |
| 21755 | gcc_cv_math_func_cpowf=no |
| 21756 | fi |
| 21757 | rm -f core conftest.err conftest.$ac_objext \ |
| 21758 | conftest$ac_exeext conftest.$ac_ext |
| 21759 | fi |
| 21760 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5 |
| 21761 | $as_echo "$gcc_cv_math_func_cpowf" >&6; } |
| 21762 | if test $gcc_cv_math_func_cpowf = yes; then |
| 21763 | |
| 21764 | cat >>confdefs.h <<_ACEOF |
| 21765 | #define HAVE_CPOWF 1 |
| 21766 | _ACEOF |
| 21767 | |
| 21768 | fi |
| 21769 | |
| 21770 | |
| 21771 | |
| 21772 | |
| 21773 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5 |
| 21774 | $as_echo_n "checking for cpow... " >&6; } |
| 21775 | if ${gcc_cv_math_func_cpow+:} false; then : |
| 21776 | $as_echo_n "(cached) " >&6 |
| 21777 | else |
| 21778 | if test x$gcc_no_link = xyes; then |
| 21779 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21780 | fi |
| 21781 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21782 | /* end confdefs.h. */ |
| 21783 | |
| 21784 | #ifdef HAVE_COMPLEX_H |
| 21785 | #include <complex.h> |
| 21786 | #endif |
| 21787 | #ifdef HAVE_MATH_H |
| 21788 | #include <math.h> |
| 21789 | #endif |
| 21790 | |
| 21791 | int (*ptr)() = (int (*)())cpow; |
| 21792 | |
| 21793 | int |
| 21794 | main () |
| 21795 | { |
| 21796 | return 0; |
| 21797 | } |
| 21798 | |
| 21799 | _ACEOF |
| 21800 | if ac_fn_c_try_link "$LINENO"; then : |
| 21801 | gcc_cv_math_func_cpow=yes |
| 21802 | else |
| 21803 | gcc_cv_math_func_cpow=no |
| 21804 | fi |
| 21805 | rm -f core conftest.err conftest.$ac_objext \ |
| 21806 | conftest$ac_exeext conftest.$ac_ext |
| 21807 | fi |
| 21808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5 |
| 21809 | $as_echo "$gcc_cv_math_func_cpow" >&6; } |
| 21810 | if test $gcc_cv_math_func_cpow = yes; then |
| 21811 | |
| 21812 | cat >>confdefs.h <<_ACEOF |
| 21813 | #define HAVE_CPOW 1 |
| 21814 | _ACEOF |
| 21815 | |
| 21816 | fi |
| 21817 | |
| 21818 | |
| 21819 | |
| 21820 | |
| 21821 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5 |
| 21822 | $as_echo_n "checking for cpowl... " >&6; } |
| 21823 | if ${gcc_cv_math_func_cpowl+:} false; then : |
| 21824 | $as_echo_n "(cached) " >&6 |
| 21825 | else |
| 21826 | if test x$gcc_no_link = xyes; then |
| 21827 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21828 | fi |
| 21829 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21830 | /* end confdefs.h. */ |
| 21831 | |
| 21832 | #ifdef HAVE_COMPLEX_H |
| 21833 | #include <complex.h> |
| 21834 | #endif |
| 21835 | #ifdef HAVE_MATH_H |
| 21836 | #include <math.h> |
| 21837 | #endif |
| 21838 | |
| 21839 | int (*ptr)() = (int (*)())cpowl; |
| 21840 | |
| 21841 | int |
| 21842 | main () |
| 21843 | { |
| 21844 | return 0; |
| 21845 | } |
| 21846 | |
| 21847 | _ACEOF |
| 21848 | if ac_fn_c_try_link "$LINENO"; then : |
| 21849 | gcc_cv_math_func_cpowl=yes |
| 21850 | else |
| 21851 | gcc_cv_math_func_cpowl=no |
| 21852 | fi |
| 21853 | rm -f core conftest.err conftest.$ac_objext \ |
| 21854 | conftest$ac_exeext conftest.$ac_ext |
| 21855 | fi |
| 21856 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5 |
| 21857 | $as_echo "$gcc_cv_math_func_cpowl" >&6; } |
| 21858 | if test $gcc_cv_math_func_cpowl = yes; then |
| 21859 | |
| 21860 | cat >>confdefs.h <<_ACEOF |
| 21861 | #define HAVE_CPOWL 1 |
| 21862 | _ACEOF |
| 21863 | |
| 21864 | fi |
| 21865 | |
| 21866 | |
| 21867 | |
| 21868 | |
| 21869 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5 |
| 21870 | $as_echo_n "checking for roundf... " >&6; } |
| 21871 | if ${gcc_cv_math_func_roundf+:} false; then : |
| 21872 | $as_echo_n "(cached) " >&6 |
| 21873 | else |
| 21874 | if test x$gcc_no_link = xyes; then |
| 21875 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21876 | fi |
| 21877 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21878 | /* end confdefs.h. */ |
| 21879 | |
| 21880 | #ifdef HAVE_COMPLEX_H |
| 21881 | #include <complex.h> |
| 21882 | #endif |
| 21883 | #ifdef HAVE_MATH_H |
| 21884 | #include <math.h> |
| 21885 | #endif |
| 21886 | |
| 21887 | int (*ptr)() = (int (*)())roundf; |
| 21888 | |
| 21889 | int |
| 21890 | main () |
| 21891 | { |
| 21892 | return 0; |
| 21893 | } |
| 21894 | |
| 21895 | _ACEOF |
| 21896 | if ac_fn_c_try_link "$LINENO"; then : |
| 21897 | gcc_cv_math_func_roundf=yes |
| 21898 | else |
| 21899 | gcc_cv_math_func_roundf=no |
| 21900 | fi |
| 21901 | rm -f core conftest.err conftest.$ac_objext \ |
| 21902 | conftest$ac_exeext conftest.$ac_ext |
| 21903 | fi |
| 21904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5 |
| 21905 | $as_echo "$gcc_cv_math_func_roundf" >&6; } |
| 21906 | if test $gcc_cv_math_func_roundf = yes; then |
| 21907 | |
| 21908 | cat >>confdefs.h <<_ACEOF |
| 21909 | #define HAVE_ROUNDF 1 |
| 21910 | _ACEOF |
| 21911 | |
| 21912 | fi |
| 21913 | |
| 21914 | |
| 21915 | |
| 21916 | |
| 21917 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5 |
| 21918 | $as_echo_n "checking for round... " >&6; } |
| 21919 | if ${gcc_cv_math_func_round+:} false; then : |
| 21920 | $as_echo_n "(cached) " >&6 |
| 21921 | else |
| 21922 | if test x$gcc_no_link = xyes; then |
| 21923 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21924 | fi |
| 21925 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21926 | /* end confdefs.h. */ |
| 21927 | |
| 21928 | #ifdef HAVE_COMPLEX_H |
| 21929 | #include <complex.h> |
| 21930 | #endif |
| 21931 | #ifdef HAVE_MATH_H |
| 21932 | #include <math.h> |
| 21933 | #endif |
| 21934 | |
| 21935 | int (*ptr)() = (int (*)())round; |
| 21936 | |
| 21937 | int |
| 21938 | main () |
| 21939 | { |
| 21940 | return 0; |
| 21941 | } |
| 21942 | |
| 21943 | _ACEOF |
| 21944 | if ac_fn_c_try_link "$LINENO"; then : |
| 21945 | gcc_cv_math_func_round=yes |
| 21946 | else |
| 21947 | gcc_cv_math_func_round=no |
| 21948 | fi |
| 21949 | rm -f core conftest.err conftest.$ac_objext \ |
| 21950 | conftest$ac_exeext conftest.$ac_ext |
| 21951 | fi |
| 21952 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5 |
| 21953 | $as_echo "$gcc_cv_math_func_round" >&6; } |
| 21954 | if test $gcc_cv_math_func_round = yes; then |
| 21955 | |
| 21956 | cat >>confdefs.h <<_ACEOF |
| 21957 | #define HAVE_ROUND 1 |
| 21958 | _ACEOF |
| 21959 | |
| 21960 | fi |
| 21961 | |
| 21962 | |
| 21963 | |
| 21964 | |
| 21965 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5 |
| 21966 | $as_echo_n "checking for roundl... " >&6; } |
| 21967 | if ${gcc_cv_math_func_roundl+:} false; then : |
| 21968 | $as_echo_n "(cached) " >&6 |
| 21969 | else |
| 21970 | if test x$gcc_no_link = xyes; then |
| 21971 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 21972 | fi |
| 21973 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21974 | /* end confdefs.h. */ |
| 21975 | |
| 21976 | #ifdef HAVE_COMPLEX_H |
| 21977 | #include <complex.h> |
| 21978 | #endif |
| 21979 | #ifdef HAVE_MATH_H |
| 21980 | #include <math.h> |
| 21981 | #endif |
| 21982 | |
| 21983 | int (*ptr)() = (int (*)())roundl; |
| 21984 | |
| 21985 | int |
| 21986 | main () |
| 21987 | { |
| 21988 | return 0; |
| 21989 | } |
| 21990 | |
| 21991 | _ACEOF |
| 21992 | if ac_fn_c_try_link "$LINENO"; then : |
| 21993 | gcc_cv_math_func_roundl=yes |
| 21994 | else |
| 21995 | gcc_cv_math_func_roundl=no |
| 21996 | fi |
| 21997 | rm -f core conftest.err conftest.$ac_objext \ |
| 21998 | conftest$ac_exeext conftest.$ac_ext |
| 21999 | fi |
| 22000 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5 |
| 22001 | $as_echo "$gcc_cv_math_func_roundl" >&6; } |
| 22002 | if test $gcc_cv_math_func_roundl = yes; then |
| 22003 | |
| 22004 | cat >>confdefs.h <<_ACEOF |
| 22005 | #define HAVE_ROUNDL 1 |
| 22006 | _ACEOF |
| 22007 | |
| 22008 | fi |
| 22009 | |
| 22010 | |
| 22011 | |
| 22012 | |
| 22013 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5 |
| 22014 | $as_echo_n "checking for lroundf... " >&6; } |
| 22015 | if ${gcc_cv_math_func_lroundf+:} false; then : |
| 22016 | $as_echo_n "(cached) " >&6 |
| 22017 | else |
| 22018 | if test x$gcc_no_link = xyes; then |
| 22019 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22020 | fi |
| 22021 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22022 | /* end confdefs.h. */ |
| 22023 | |
| 22024 | #ifdef HAVE_COMPLEX_H |
| 22025 | #include <complex.h> |
| 22026 | #endif |
| 22027 | #ifdef HAVE_MATH_H |
| 22028 | #include <math.h> |
| 22029 | #endif |
| 22030 | |
| 22031 | int (*ptr)() = (int (*)())lroundf; |
| 22032 | |
| 22033 | int |
| 22034 | main () |
| 22035 | { |
| 22036 | return 0; |
| 22037 | } |
| 22038 | |
| 22039 | _ACEOF |
| 22040 | if ac_fn_c_try_link "$LINENO"; then : |
| 22041 | gcc_cv_math_func_lroundf=yes |
| 22042 | else |
| 22043 | gcc_cv_math_func_lroundf=no |
| 22044 | fi |
| 22045 | rm -f core conftest.err conftest.$ac_objext \ |
| 22046 | conftest$ac_exeext conftest.$ac_ext |
| 22047 | fi |
| 22048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5 |
| 22049 | $as_echo "$gcc_cv_math_func_lroundf" >&6; } |
| 22050 | if test $gcc_cv_math_func_lroundf = yes; then |
| 22051 | |
| 22052 | cat >>confdefs.h <<_ACEOF |
| 22053 | #define HAVE_LROUNDF 1 |
| 22054 | _ACEOF |
| 22055 | |
| 22056 | fi |
| 22057 | |
| 22058 | |
| 22059 | |
| 22060 | |
| 22061 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5 |
| 22062 | $as_echo_n "checking for lround... " >&6; } |
| 22063 | if ${gcc_cv_math_func_lround+:} false; then : |
| 22064 | $as_echo_n "(cached) " >&6 |
| 22065 | else |
| 22066 | if test x$gcc_no_link = xyes; then |
| 22067 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22068 | fi |
| 22069 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22070 | /* end confdefs.h. */ |
| 22071 | |
| 22072 | #ifdef HAVE_COMPLEX_H |
| 22073 | #include <complex.h> |
| 22074 | #endif |
| 22075 | #ifdef HAVE_MATH_H |
| 22076 | #include <math.h> |
| 22077 | #endif |
| 22078 | |
| 22079 | int (*ptr)() = (int (*)())lround; |
| 22080 | |
| 22081 | int |
| 22082 | main () |
| 22083 | { |
| 22084 | return 0; |
| 22085 | } |
| 22086 | |
| 22087 | _ACEOF |
| 22088 | if ac_fn_c_try_link "$LINENO"; then : |
| 22089 | gcc_cv_math_func_lround=yes |
| 22090 | else |
| 22091 | gcc_cv_math_func_lround=no |
| 22092 | fi |
| 22093 | rm -f core conftest.err conftest.$ac_objext \ |
| 22094 | conftest$ac_exeext conftest.$ac_ext |
| 22095 | fi |
| 22096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5 |
| 22097 | $as_echo "$gcc_cv_math_func_lround" >&6; } |
| 22098 | if test $gcc_cv_math_func_lround = yes; then |
| 22099 | |
| 22100 | cat >>confdefs.h <<_ACEOF |
| 22101 | #define HAVE_LROUND 1 |
| 22102 | _ACEOF |
| 22103 | |
| 22104 | fi |
| 22105 | |
| 22106 | |
| 22107 | |
| 22108 | |
| 22109 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5 |
| 22110 | $as_echo_n "checking for lroundl... " >&6; } |
| 22111 | if ${gcc_cv_math_func_lroundl+:} false; then : |
| 22112 | $as_echo_n "(cached) " >&6 |
| 22113 | else |
| 22114 | if test x$gcc_no_link = xyes; then |
| 22115 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22116 | fi |
| 22117 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22118 | /* end confdefs.h. */ |
| 22119 | |
| 22120 | #ifdef HAVE_COMPLEX_H |
| 22121 | #include <complex.h> |
| 22122 | #endif |
| 22123 | #ifdef HAVE_MATH_H |
| 22124 | #include <math.h> |
| 22125 | #endif |
| 22126 | |
| 22127 | int (*ptr)() = (int (*)())lroundl; |
| 22128 | |
| 22129 | int |
| 22130 | main () |
| 22131 | { |
| 22132 | return 0; |
| 22133 | } |
| 22134 | |
| 22135 | _ACEOF |
| 22136 | if ac_fn_c_try_link "$LINENO"; then : |
| 22137 | gcc_cv_math_func_lroundl=yes |
| 22138 | else |
| 22139 | gcc_cv_math_func_lroundl=no |
| 22140 | fi |
| 22141 | rm -f core conftest.err conftest.$ac_objext \ |
| 22142 | conftest$ac_exeext conftest.$ac_ext |
| 22143 | fi |
| 22144 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5 |
| 22145 | $as_echo "$gcc_cv_math_func_lroundl" >&6; } |
| 22146 | if test $gcc_cv_math_func_lroundl = yes; then |
| 22147 | |
| 22148 | cat >>confdefs.h <<_ACEOF |
| 22149 | #define HAVE_LROUNDL 1 |
| 22150 | _ACEOF |
| 22151 | |
| 22152 | fi |
| 22153 | |
| 22154 | |
| 22155 | |
| 22156 | |
| 22157 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5 |
| 22158 | $as_echo_n "checking for llroundf... " >&6; } |
| 22159 | if ${gcc_cv_math_func_llroundf+:} false; then : |
| 22160 | $as_echo_n "(cached) " >&6 |
| 22161 | else |
| 22162 | if test x$gcc_no_link = xyes; then |
| 22163 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22164 | fi |
| 22165 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22166 | /* end confdefs.h. */ |
| 22167 | |
| 22168 | #ifdef HAVE_COMPLEX_H |
| 22169 | #include <complex.h> |
| 22170 | #endif |
| 22171 | #ifdef HAVE_MATH_H |
| 22172 | #include <math.h> |
| 22173 | #endif |
| 22174 | |
| 22175 | int (*ptr)() = (int (*)())llroundf; |
| 22176 | |
| 22177 | int |
| 22178 | main () |
| 22179 | { |
| 22180 | return 0; |
| 22181 | } |
| 22182 | |
| 22183 | _ACEOF |
| 22184 | if ac_fn_c_try_link "$LINENO"; then : |
| 22185 | gcc_cv_math_func_llroundf=yes |
| 22186 | else |
| 22187 | gcc_cv_math_func_llroundf=no |
| 22188 | fi |
| 22189 | rm -f core conftest.err conftest.$ac_objext \ |
| 22190 | conftest$ac_exeext conftest.$ac_ext |
| 22191 | fi |
| 22192 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5 |
| 22193 | $as_echo "$gcc_cv_math_func_llroundf" >&6; } |
| 22194 | if test $gcc_cv_math_func_llroundf = yes; then |
| 22195 | |
| 22196 | cat >>confdefs.h <<_ACEOF |
| 22197 | #define HAVE_LLROUNDF 1 |
| 22198 | _ACEOF |
| 22199 | |
| 22200 | fi |
| 22201 | |
| 22202 | |
| 22203 | |
| 22204 | |
| 22205 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5 |
| 22206 | $as_echo_n "checking for llround... " >&6; } |
| 22207 | if ${gcc_cv_math_func_llround+:} false; then : |
| 22208 | $as_echo_n "(cached) " >&6 |
| 22209 | else |
| 22210 | if test x$gcc_no_link = xyes; then |
| 22211 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22212 | fi |
| 22213 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22214 | /* end confdefs.h. */ |
| 22215 | |
| 22216 | #ifdef HAVE_COMPLEX_H |
| 22217 | #include <complex.h> |
| 22218 | #endif |
| 22219 | #ifdef HAVE_MATH_H |
| 22220 | #include <math.h> |
| 22221 | #endif |
| 22222 | |
| 22223 | int (*ptr)() = (int (*)())llround; |
| 22224 | |
| 22225 | int |
| 22226 | main () |
| 22227 | { |
| 22228 | return 0; |
| 22229 | } |
| 22230 | |
| 22231 | _ACEOF |
| 22232 | if ac_fn_c_try_link "$LINENO"; then : |
| 22233 | gcc_cv_math_func_llround=yes |
| 22234 | else |
| 22235 | gcc_cv_math_func_llround=no |
| 22236 | fi |
| 22237 | rm -f core conftest.err conftest.$ac_objext \ |
| 22238 | conftest$ac_exeext conftest.$ac_ext |
| 22239 | fi |
| 22240 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5 |
| 22241 | $as_echo "$gcc_cv_math_func_llround" >&6; } |
| 22242 | if test $gcc_cv_math_func_llround = yes; then |
| 22243 | |
| 22244 | cat >>confdefs.h <<_ACEOF |
| 22245 | #define HAVE_LLROUND 1 |
| 22246 | _ACEOF |
| 22247 | |
| 22248 | fi |
| 22249 | |
| 22250 | |
| 22251 | |
| 22252 | |
| 22253 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5 |
| 22254 | $as_echo_n "checking for llroundl... " >&6; } |
| 22255 | if ${gcc_cv_math_func_llroundl+:} false; then : |
| 22256 | $as_echo_n "(cached) " >&6 |
| 22257 | else |
| 22258 | if test x$gcc_no_link = xyes; then |
| 22259 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22260 | fi |
| 22261 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22262 | /* end confdefs.h. */ |
| 22263 | |
| 22264 | #ifdef HAVE_COMPLEX_H |
| 22265 | #include <complex.h> |
| 22266 | #endif |
| 22267 | #ifdef HAVE_MATH_H |
| 22268 | #include <math.h> |
| 22269 | #endif |
| 22270 | |
| 22271 | int (*ptr)() = (int (*)())llroundl; |
| 22272 | |
| 22273 | int |
| 22274 | main () |
| 22275 | { |
| 22276 | return 0; |
| 22277 | } |
| 22278 | |
| 22279 | _ACEOF |
| 22280 | if ac_fn_c_try_link "$LINENO"; then : |
| 22281 | gcc_cv_math_func_llroundl=yes |
| 22282 | else |
| 22283 | gcc_cv_math_func_llroundl=no |
| 22284 | fi |
| 22285 | rm -f core conftest.err conftest.$ac_objext \ |
| 22286 | conftest$ac_exeext conftest.$ac_ext |
| 22287 | fi |
| 22288 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5 |
| 22289 | $as_echo "$gcc_cv_math_func_llroundl" >&6; } |
| 22290 | if test $gcc_cv_math_func_llroundl = yes; then |
| 22291 | |
| 22292 | cat >>confdefs.h <<_ACEOF |
| 22293 | #define HAVE_LLROUNDL 1 |
| 22294 | _ACEOF |
| 22295 | |
| 22296 | fi |
| 22297 | |
| 22298 | |
| 22299 | |
| 22300 | |
| 22301 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5 |
| 22302 | $as_echo_n "checking for scalbnf... " >&6; } |
| 22303 | if ${gcc_cv_math_func_scalbnf+:} false; then : |
| 22304 | $as_echo_n "(cached) " >&6 |
| 22305 | else |
| 22306 | if test x$gcc_no_link = xyes; then |
| 22307 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22308 | fi |
| 22309 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22310 | /* end confdefs.h. */ |
| 22311 | |
| 22312 | #ifdef HAVE_COMPLEX_H |
| 22313 | #include <complex.h> |
| 22314 | #endif |
| 22315 | #ifdef HAVE_MATH_H |
| 22316 | #include <math.h> |
| 22317 | #endif |
| 22318 | |
| 22319 | int (*ptr)() = (int (*)())scalbnf; |
| 22320 | |
| 22321 | int |
| 22322 | main () |
| 22323 | { |
| 22324 | return 0; |
| 22325 | } |
| 22326 | |
| 22327 | _ACEOF |
| 22328 | if ac_fn_c_try_link "$LINENO"; then : |
| 22329 | gcc_cv_math_func_scalbnf=yes |
| 22330 | else |
| 22331 | gcc_cv_math_func_scalbnf=no |
| 22332 | fi |
| 22333 | rm -f core conftest.err conftest.$ac_objext \ |
| 22334 | conftest$ac_exeext conftest.$ac_ext |
| 22335 | fi |
| 22336 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5 |
| 22337 | $as_echo "$gcc_cv_math_func_scalbnf" >&6; } |
| 22338 | if test $gcc_cv_math_func_scalbnf = yes; then |
| 22339 | |
| 22340 | cat >>confdefs.h <<_ACEOF |
| 22341 | #define HAVE_SCALBNF 1 |
| 22342 | _ACEOF |
| 22343 | |
| 22344 | fi |
| 22345 | |
| 22346 | |
| 22347 | |
| 22348 | |
| 22349 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5 |
| 22350 | $as_echo_n "checking for scalbn... " >&6; } |
| 22351 | if ${gcc_cv_math_func_scalbn+:} false; then : |
| 22352 | $as_echo_n "(cached) " >&6 |
| 22353 | else |
| 22354 | if test x$gcc_no_link = xyes; then |
| 22355 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22356 | fi |
| 22357 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22358 | /* end confdefs.h. */ |
| 22359 | |
| 22360 | #ifdef HAVE_COMPLEX_H |
| 22361 | #include <complex.h> |
| 22362 | #endif |
| 22363 | #ifdef HAVE_MATH_H |
| 22364 | #include <math.h> |
| 22365 | #endif |
| 22366 | |
| 22367 | int (*ptr)() = (int (*)())scalbn; |
| 22368 | |
| 22369 | int |
| 22370 | main () |
| 22371 | { |
| 22372 | return 0; |
| 22373 | } |
| 22374 | |
| 22375 | _ACEOF |
| 22376 | if ac_fn_c_try_link "$LINENO"; then : |
| 22377 | gcc_cv_math_func_scalbn=yes |
| 22378 | else |
| 22379 | gcc_cv_math_func_scalbn=no |
| 22380 | fi |
| 22381 | rm -f core conftest.err conftest.$ac_objext \ |
| 22382 | conftest$ac_exeext conftest.$ac_ext |
| 22383 | fi |
| 22384 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5 |
| 22385 | $as_echo "$gcc_cv_math_func_scalbn" >&6; } |
| 22386 | if test $gcc_cv_math_func_scalbn = yes; then |
| 22387 | |
| 22388 | cat >>confdefs.h <<_ACEOF |
| 22389 | #define HAVE_SCALBN 1 |
| 22390 | _ACEOF |
| 22391 | |
| 22392 | fi |
| 22393 | |
| 22394 | |
| 22395 | |
| 22396 | |
| 22397 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5 |
| 22398 | $as_echo_n "checking for scalbnl... " >&6; } |
| 22399 | if ${gcc_cv_math_func_scalbnl+:} false; then : |
| 22400 | $as_echo_n "(cached) " >&6 |
| 22401 | else |
| 22402 | if test x$gcc_no_link = xyes; then |
| 22403 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22404 | fi |
| 22405 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22406 | /* end confdefs.h. */ |
| 22407 | |
| 22408 | #ifdef HAVE_COMPLEX_H |
| 22409 | #include <complex.h> |
| 22410 | #endif |
| 22411 | #ifdef HAVE_MATH_H |
| 22412 | #include <math.h> |
| 22413 | #endif |
| 22414 | |
| 22415 | int (*ptr)() = (int (*)())scalbnl; |
| 22416 | |
| 22417 | int |
| 22418 | main () |
| 22419 | { |
| 22420 | return 0; |
| 22421 | } |
| 22422 | |
| 22423 | _ACEOF |
| 22424 | if ac_fn_c_try_link "$LINENO"; then : |
| 22425 | gcc_cv_math_func_scalbnl=yes |
| 22426 | else |
| 22427 | gcc_cv_math_func_scalbnl=no |
| 22428 | fi |
| 22429 | rm -f core conftest.err conftest.$ac_objext \ |
| 22430 | conftest$ac_exeext conftest.$ac_ext |
| 22431 | fi |
| 22432 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5 |
| 22433 | $as_echo "$gcc_cv_math_func_scalbnl" >&6; } |
| 22434 | if test $gcc_cv_math_func_scalbnl = yes; then |
| 22435 | |
| 22436 | cat >>confdefs.h <<_ACEOF |
| 22437 | #define HAVE_SCALBNL 1 |
| 22438 | _ACEOF |
| 22439 | |
| 22440 | fi |
| 22441 | |
| 22442 | |
| 22443 | |
| 22444 | |
| 22445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5 |
| 22446 | $as_echo_n "checking for sinf... " >&6; } |
| 22447 | if ${gcc_cv_math_func_sinf+:} false; then : |
| 22448 | $as_echo_n "(cached) " >&6 |
| 22449 | else |
| 22450 | if test x$gcc_no_link = xyes; then |
| 22451 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22452 | fi |
| 22453 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22454 | /* end confdefs.h. */ |
| 22455 | |
| 22456 | #ifdef HAVE_COMPLEX_H |
| 22457 | #include <complex.h> |
| 22458 | #endif |
| 22459 | #ifdef HAVE_MATH_H |
| 22460 | #include <math.h> |
| 22461 | #endif |
| 22462 | |
| 22463 | int (*ptr)() = (int (*)())sinf; |
| 22464 | |
| 22465 | int |
| 22466 | main () |
| 22467 | { |
| 22468 | return 0; |
| 22469 | } |
| 22470 | |
| 22471 | _ACEOF |
| 22472 | if ac_fn_c_try_link "$LINENO"; then : |
| 22473 | gcc_cv_math_func_sinf=yes |
| 22474 | else |
| 22475 | gcc_cv_math_func_sinf=no |
| 22476 | fi |
| 22477 | rm -f core conftest.err conftest.$ac_objext \ |
| 22478 | conftest$ac_exeext conftest.$ac_ext |
| 22479 | fi |
| 22480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5 |
| 22481 | $as_echo "$gcc_cv_math_func_sinf" >&6; } |
| 22482 | if test $gcc_cv_math_func_sinf = yes; then |
| 22483 | |
| 22484 | cat >>confdefs.h <<_ACEOF |
| 22485 | #define HAVE_SINF 1 |
| 22486 | _ACEOF |
| 22487 | |
| 22488 | fi |
| 22489 | |
| 22490 | |
| 22491 | |
| 22492 | |
| 22493 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5 |
| 22494 | $as_echo_n "checking for sin... " >&6; } |
| 22495 | if ${gcc_cv_math_func_sin+:} false; then : |
| 22496 | $as_echo_n "(cached) " >&6 |
| 22497 | else |
| 22498 | if test x$gcc_no_link = xyes; then |
| 22499 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22500 | fi |
| 22501 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22502 | /* end confdefs.h. */ |
| 22503 | |
| 22504 | #ifdef HAVE_COMPLEX_H |
| 22505 | #include <complex.h> |
| 22506 | #endif |
| 22507 | #ifdef HAVE_MATH_H |
| 22508 | #include <math.h> |
| 22509 | #endif |
| 22510 | |
| 22511 | int (*ptr)() = (int (*)())sin; |
| 22512 | |
| 22513 | int |
| 22514 | main () |
| 22515 | { |
| 22516 | return 0; |
| 22517 | } |
| 22518 | |
| 22519 | _ACEOF |
| 22520 | if ac_fn_c_try_link "$LINENO"; then : |
| 22521 | gcc_cv_math_func_sin=yes |
| 22522 | else |
| 22523 | gcc_cv_math_func_sin=no |
| 22524 | fi |
| 22525 | rm -f core conftest.err conftest.$ac_objext \ |
| 22526 | conftest$ac_exeext conftest.$ac_ext |
| 22527 | fi |
| 22528 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5 |
| 22529 | $as_echo "$gcc_cv_math_func_sin" >&6; } |
| 22530 | if test $gcc_cv_math_func_sin = yes; then |
| 22531 | |
| 22532 | cat >>confdefs.h <<_ACEOF |
| 22533 | #define HAVE_SIN 1 |
| 22534 | _ACEOF |
| 22535 | |
| 22536 | fi |
| 22537 | |
| 22538 | |
| 22539 | |
| 22540 | |
| 22541 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5 |
| 22542 | $as_echo_n "checking for sinl... " >&6; } |
| 22543 | if ${gcc_cv_math_func_sinl+:} false; then : |
| 22544 | $as_echo_n "(cached) " >&6 |
| 22545 | else |
| 22546 | if test x$gcc_no_link = xyes; then |
| 22547 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22548 | fi |
| 22549 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22550 | /* end confdefs.h. */ |
| 22551 | |
| 22552 | #ifdef HAVE_COMPLEX_H |
| 22553 | #include <complex.h> |
| 22554 | #endif |
| 22555 | #ifdef HAVE_MATH_H |
| 22556 | #include <math.h> |
| 22557 | #endif |
| 22558 | |
| 22559 | int (*ptr)() = (int (*)())sinl; |
| 22560 | |
| 22561 | int |
| 22562 | main () |
| 22563 | { |
| 22564 | return 0; |
| 22565 | } |
| 22566 | |
| 22567 | _ACEOF |
| 22568 | if ac_fn_c_try_link "$LINENO"; then : |
| 22569 | gcc_cv_math_func_sinl=yes |
| 22570 | else |
| 22571 | gcc_cv_math_func_sinl=no |
| 22572 | fi |
| 22573 | rm -f core conftest.err conftest.$ac_objext \ |
| 22574 | conftest$ac_exeext conftest.$ac_ext |
| 22575 | fi |
| 22576 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5 |
| 22577 | $as_echo "$gcc_cv_math_func_sinl" >&6; } |
| 22578 | if test $gcc_cv_math_func_sinl = yes; then |
| 22579 | |
| 22580 | cat >>confdefs.h <<_ACEOF |
| 22581 | #define HAVE_SINL 1 |
| 22582 | _ACEOF |
| 22583 | |
| 22584 | fi |
| 22585 | |
| 22586 | |
| 22587 | |
| 22588 | |
| 22589 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5 |
| 22590 | $as_echo_n "checking for csinf... " >&6; } |
| 22591 | if ${gcc_cv_math_func_csinf+:} false; then : |
| 22592 | $as_echo_n "(cached) " >&6 |
| 22593 | else |
| 22594 | if test x$gcc_no_link = xyes; then |
| 22595 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22596 | fi |
| 22597 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22598 | /* end confdefs.h. */ |
| 22599 | |
| 22600 | #ifdef HAVE_COMPLEX_H |
| 22601 | #include <complex.h> |
| 22602 | #endif |
| 22603 | #ifdef HAVE_MATH_H |
| 22604 | #include <math.h> |
| 22605 | #endif |
| 22606 | |
| 22607 | int (*ptr)() = (int (*)())csinf; |
| 22608 | |
| 22609 | int |
| 22610 | main () |
| 22611 | { |
| 22612 | return 0; |
| 22613 | } |
| 22614 | |
| 22615 | _ACEOF |
| 22616 | if ac_fn_c_try_link "$LINENO"; then : |
| 22617 | gcc_cv_math_func_csinf=yes |
| 22618 | else |
| 22619 | gcc_cv_math_func_csinf=no |
| 22620 | fi |
| 22621 | rm -f core conftest.err conftest.$ac_objext \ |
| 22622 | conftest$ac_exeext conftest.$ac_ext |
| 22623 | fi |
| 22624 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5 |
| 22625 | $as_echo "$gcc_cv_math_func_csinf" >&6; } |
| 22626 | if test $gcc_cv_math_func_csinf = yes; then |
| 22627 | |
| 22628 | cat >>confdefs.h <<_ACEOF |
| 22629 | #define HAVE_CSINF 1 |
| 22630 | _ACEOF |
| 22631 | |
| 22632 | fi |
| 22633 | |
| 22634 | |
| 22635 | |
| 22636 | |
| 22637 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5 |
| 22638 | $as_echo_n "checking for csin... " >&6; } |
| 22639 | if ${gcc_cv_math_func_csin+:} false; then : |
| 22640 | $as_echo_n "(cached) " >&6 |
| 22641 | else |
| 22642 | if test x$gcc_no_link = xyes; then |
| 22643 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22644 | fi |
| 22645 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22646 | /* end confdefs.h. */ |
| 22647 | |
| 22648 | #ifdef HAVE_COMPLEX_H |
| 22649 | #include <complex.h> |
| 22650 | #endif |
| 22651 | #ifdef HAVE_MATH_H |
| 22652 | #include <math.h> |
| 22653 | #endif |
| 22654 | |
| 22655 | int (*ptr)() = (int (*)())csin; |
| 22656 | |
| 22657 | int |
| 22658 | main () |
| 22659 | { |
| 22660 | return 0; |
| 22661 | } |
| 22662 | |
| 22663 | _ACEOF |
| 22664 | if ac_fn_c_try_link "$LINENO"; then : |
| 22665 | gcc_cv_math_func_csin=yes |
| 22666 | else |
| 22667 | gcc_cv_math_func_csin=no |
| 22668 | fi |
| 22669 | rm -f core conftest.err conftest.$ac_objext \ |
| 22670 | conftest$ac_exeext conftest.$ac_ext |
| 22671 | fi |
| 22672 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5 |
| 22673 | $as_echo "$gcc_cv_math_func_csin" >&6; } |
| 22674 | if test $gcc_cv_math_func_csin = yes; then |
| 22675 | |
| 22676 | cat >>confdefs.h <<_ACEOF |
| 22677 | #define HAVE_CSIN 1 |
| 22678 | _ACEOF |
| 22679 | |
| 22680 | fi |
| 22681 | |
| 22682 | |
| 22683 | |
| 22684 | |
| 22685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5 |
| 22686 | $as_echo_n "checking for csinl... " >&6; } |
| 22687 | if ${gcc_cv_math_func_csinl+:} false; then : |
| 22688 | $as_echo_n "(cached) " >&6 |
| 22689 | else |
| 22690 | if test x$gcc_no_link = xyes; then |
| 22691 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22692 | fi |
| 22693 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22694 | /* end confdefs.h. */ |
| 22695 | |
| 22696 | #ifdef HAVE_COMPLEX_H |
| 22697 | #include <complex.h> |
| 22698 | #endif |
| 22699 | #ifdef HAVE_MATH_H |
| 22700 | #include <math.h> |
| 22701 | #endif |
| 22702 | |
| 22703 | int (*ptr)() = (int (*)())csinl; |
| 22704 | |
| 22705 | int |
| 22706 | main () |
| 22707 | { |
| 22708 | return 0; |
| 22709 | } |
| 22710 | |
| 22711 | _ACEOF |
| 22712 | if ac_fn_c_try_link "$LINENO"; then : |
| 22713 | gcc_cv_math_func_csinl=yes |
| 22714 | else |
| 22715 | gcc_cv_math_func_csinl=no |
| 22716 | fi |
| 22717 | rm -f core conftest.err conftest.$ac_objext \ |
| 22718 | conftest$ac_exeext conftest.$ac_ext |
| 22719 | fi |
| 22720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5 |
| 22721 | $as_echo "$gcc_cv_math_func_csinl" >&6; } |
| 22722 | if test $gcc_cv_math_func_csinl = yes; then |
| 22723 | |
| 22724 | cat >>confdefs.h <<_ACEOF |
| 22725 | #define HAVE_CSINL 1 |
| 22726 | _ACEOF |
| 22727 | |
| 22728 | fi |
| 22729 | |
| 22730 | |
| 22731 | |
| 22732 | |
| 22733 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5 |
| 22734 | $as_echo_n "checking for sinhf... " >&6; } |
| 22735 | if ${gcc_cv_math_func_sinhf+:} false; then : |
| 22736 | $as_echo_n "(cached) " >&6 |
| 22737 | else |
| 22738 | if test x$gcc_no_link = xyes; then |
| 22739 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22740 | fi |
| 22741 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22742 | /* end confdefs.h. */ |
| 22743 | |
| 22744 | #ifdef HAVE_COMPLEX_H |
| 22745 | #include <complex.h> |
| 22746 | #endif |
| 22747 | #ifdef HAVE_MATH_H |
| 22748 | #include <math.h> |
| 22749 | #endif |
| 22750 | |
| 22751 | int (*ptr)() = (int (*)())sinhf; |
| 22752 | |
| 22753 | int |
| 22754 | main () |
| 22755 | { |
| 22756 | return 0; |
| 22757 | } |
| 22758 | |
| 22759 | _ACEOF |
| 22760 | if ac_fn_c_try_link "$LINENO"; then : |
| 22761 | gcc_cv_math_func_sinhf=yes |
| 22762 | else |
| 22763 | gcc_cv_math_func_sinhf=no |
| 22764 | fi |
| 22765 | rm -f core conftest.err conftest.$ac_objext \ |
| 22766 | conftest$ac_exeext conftest.$ac_ext |
| 22767 | fi |
| 22768 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5 |
| 22769 | $as_echo "$gcc_cv_math_func_sinhf" >&6; } |
| 22770 | if test $gcc_cv_math_func_sinhf = yes; then |
| 22771 | |
| 22772 | cat >>confdefs.h <<_ACEOF |
| 22773 | #define HAVE_SINHF 1 |
| 22774 | _ACEOF |
| 22775 | |
| 22776 | fi |
| 22777 | |
| 22778 | |
| 22779 | |
| 22780 | |
| 22781 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5 |
| 22782 | $as_echo_n "checking for sinh... " >&6; } |
| 22783 | if ${gcc_cv_math_func_sinh+:} false; then : |
| 22784 | $as_echo_n "(cached) " >&6 |
| 22785 | else |
| 22786 | if test x$gcc_no_link = xyes; then |
| 22787 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22788 | fi |
| 22789 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22790 | /* end confdefs.h. */ |
| 22791 | |
| 22792 | #ifdef HAVE_COMPLEX_H |
| 22793 | #include <complex.h> |
| 22794 | #endif |
| 22795 | #ifdef HAVE_MATH_H |
| 22796 | #include <math.h> |
| 22797 | #endif |
| 22798 | |
| 22799 | int (*ptr)() = (int (*)())sinh; |
| 22800 | |
| 22801 | int |
| 22802 | main () |
| 22803 | { |
| 22804 | return 0; |
| 22805 | } |
| 22806 | |
| 22807 | _ACEOF |
| 22808 | if ac_fn_c_try_link "$LINENO"; then : |
| 22809 | gcc_cv_math_func_sinh=yes |
| 22810 | else |
| 22811 | gcc_cv_math_func_sinh=no |
| 22812 | fi |
| 22813 | rm -f core conftest.err conftest.$ac_objext \ |
| 22814 | conftest$ac_exeext conftest.$ac_ext |
| 22815 | fi |
| 22816 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5 |
| 22817 | $as_echo "$gcc_cv_math_func_sinh" >&6; } |
| 22818 | if test $gcc_cv_math_func_sinh = yes; then |
| 22819 | |
| 22820 | cat >>confdefs.h <<_ACEOF |
| 22821 | #define HAVE_SINH 1 |
| 22822 | _ACEOF |
| 22823 | |
| 22824 | fi |
| 22825 | |
| 22826 | |
| 22827 | |
| 22828 | |
| 22829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5 |
| 22830 | $as_echo_n "checking for sinhl... " >&6; } |
| 22831 | if ${gcc_cv_math_func_sinhl+:} false; then : |
| 22832 | $as_echo_n "(cached) " >&6 |
| 22833 | else |
| 22834 | if test x$gcc_no_link = xyes; then |
| 22835 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22836 | fi |
| 22837 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22838 | /* end confdefs.h. */ |
| 22839 | |
| 22840 | #ifdef HAVE_COMPLEX_H |
| 22841 | #include <complex.h> |
| 22842 | #endif |
| 22843 | #ifdef HAVE_MATH_H |
| 22844 | #include <math.h> |
| 22845 | #endif |
| 22846 | |
| 22847 | int (*ptr)() = (int (*)())sinhl; |
| 22848 | |
| 22849 | int |
| 22850 | main () |
| 22851 | { |
| 22852 | return 0; |
| 22853 | } |
| 22854 | |
| 22855 | _ACEOF |
| 22856 | if ac_fn_c_try_link "$LINENO"; then : |
| 22857 | gcc_cv_math_func_sinhl=yes |
| 22858 | else |
| 22859 | gcc_cv_math_func_sinhl=no |
| 22860 | fi |
| 22861 | rm -f core conftest.err conftest.$ac_objext \ |
| 22862 | conftest$ac_exeext conftest.$ac_ext |
| 22863 | fi |
| 22864 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5 |
| 22865 | $as_echo "$gcc_cv_math_func_sinhl" >&6; } |
| 22866 | if test $gcc_cv_math_func_sinhl = yes; then |
| 22867 | |
| 22868 | cat >>confdefs.h <<_ACEOF |
| 22869 | #define HAVE_SINHL 1 |
| 22870 | _ACEOF |
| 22871 | |
| 22872 | fi |
| 22873 | |
| 22874 | |
| 22875 | |
| 22876 | |
| 22877 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5 |
| 22878 | $as_echo_n "checking for csinhf... " >&6; } |
| 22879 | if ${gcc_cv_math_func_csinhf+:} false; then : |
| 22880 | $as_echo_n "(cached) " >&6 |
| 22881 | else |
| 22882 | if test x$gcc_no_link = xyes; then |
| 22883 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22884 | fi |
| 22885 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22886 | /* end confdefs.h. */ |
| 22887 | |
| 22888 | #ifdef HAVE_COMPLEX_H |
| 22889 | #include <complex.h> |
| 22890 | #endif |
| 22891 | #ifdef HAVE_MATH_H |
| 22892 | #include <math.h> |
| 22893 | #endif |
| 22894 | |
| 22895 | int (*ptr)() = (int (*)())csinhf; |
| 22896 | |
| 22897 | int |
| 22898 | main () |
| 22899 | { |
| 22900 | return 0; |
| 22901 | } |
| 22902 | |
| 22903 | _ACEOF |
| 22904 | if ac_fn_c_try_link "$LINENO"; then : |
| 22905 | gcc_cv_math_func_csinhf=yes |
| 22906 | else |
| 22907 | gcc_cv_math_func_csinhf=no |
| 22908 | fi |
| 22909 | rm -f core conftest.err conftest.$ac_objext \ |
| 22910 | conftest$ac_exeext conftest.$ac_ext |
| 22911 | fi |
| 22912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5 |
| 22913 | $as_echo "$gcc_cv_math_func_csinhf" >&6; } |
| 22914 | if test $gcc_cv_math_func_csinhf = yes; then |
| 22915 | |
| 22916 | cat >>confdefs.h <<_ACEOF |
| 22917 | #define HAVE_CSINHF 1 |
| 22918 | _ACEOF |
| 22919 | |
| 22920 | fi |
| 22921 | |
| 22922 | |
| 22923 | |
| 22924 | |
| 22925 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5 |
| 22926 | $as_echo_n "checking for csinh... " >&6; } |
| 22927 | if ${gcc_cv_math_func_csinh+:} false; then : |
| 22928 | $as_echo_n "(cached) " >&6 |
| 22929 | else |
| 22930 | if test x$gcc_no_link = xyes; then |
| 22931 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22932 | fi |
| 22933 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22934 | /* end confdefs.h. */ |
| 22935 | |
| 22936 | #ifdef HAVE_COMPLEX_H |
| 22937 | #include <complex.h> |
| 22938 | #endif |
| 22939 | #ifdef HAVE_MATH_H |
| 22940 | #include <math.h> |
| 22941 | #endif |
| 22942 | |
| 22943 | int (*ptr)() = (int (*)())csinh; |
| 22944 | |
| 22945 | int |
| 22946 | main () |
| 22947 | { |
| 22948 | return 0; |
| 22949 | } |
| 22950 | |
| 22951 | _ACEOF |
| 22952 | if ac_fn_c_try_link "$LINENO"; then : |
| 22953 | gcc_cv_math_func_csinh=yes |
| 22954 | else |
| 22955 | gcc_cv_math_func_csinh=no |
| 22956 | fi |
| 22957 | rm -f core conftest.err conftest.$ac_objext \ |
| 22958 | conftest$ac_exeext conftest.$ac_ext |
| 22959 | fi |
| 22960 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5 |
| 22961 | $as_echo "$gcc_cv_math_func_csinh" >&6; } |
| 22962 | if test $gcc_cv_math_func_csinh = yes; then |
| 22963 | |
| 22964 | cat >>confdefs.h <<_ACEOF |
| 22965 | #define HAVE_CSINH 1 |
| 22966 | _ACEOF |
| 22967 | |
| 22968 | fi |
| 22969 | |
| 22970 | |
| 22971 | |
| 22972 | |
| 22973 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5 |
| 22974 | $as_echo_n "checking for csinhl... " >&6; } |
| 22975 | if ${gcc_cv_math_func_csinhl+:} false; then : |
| 22976 | $as_echo_n "(cached) " >&6 |
| 22977 | else |
| 22978 | if test x$gcc_no_link = xyes; then |
| 22979 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 22980 | fi |
| 22981 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22982 | /* end confdefs.h. */ |
| 22983 | |
| 22984 | #ifdef HAVE_COMPLEX_H |
| 22985 | #include <complex.h> |
| 22986 | #endif |
| 22987 | #ifdef HAVE_MATH_H |
| 22988 | #include <math.h> |
| 22989 | #endif |
| 22990 | |
| 22991 | int (*ptr)() = (int (*)())csinhl; |
| 22992 | |
| 22993 | int |
| 22994 | main () |
| 22995 | { |
| 22996 | return 0; |
| 22997 | } |
| 22998 | |
| 22999 | _ACEOF |
| 23000 | if ac_fn_c_try_link "$LINENO"; then : |
| 23001 | gcc_cv_math_func_csinhl=yes |
| 23002 | else |
| 23003 | gcc_cv_math_func_csinhl=no |
| 23004 | fi |
| 23005 | rm -f core conftest.err conftest.$ac_objext \ |
| 23006 | conftest$ac_exeext conftest.$ac_ext |
| 23007 | fi |
| 23008 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5 |
| 23009 | $as_echo "$gcc_cv_math_func_csinhl" >&6; } |
| 23010 | if test $gcc_cv_math_func_csinhl = yes; then |
| 23011 | |
| 23012 | cat >>confdefs.h <<_ACEOF |
| 23013 | #define HAVE_CSINHL 1 |
| 23014 | _ACEOF |
| 23015 | |
| 23016 | fi |
| 23017 | |
| 23018 | |
| 23019 | |
| 23020 | |
| 23021 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5 |
| 23022 | $as_echo_n "checking for sqrtf... " >&6; } |
| 23023 | if ${gcc_cv_math_func_sqrtf+:} false; then : |
| 23024 | $as_echo_n "(cached) " >&6 |
| 23025 | else |
| 23026 | if test x$gcc_no_link = xyes; then |
| 23027 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23028 | fi |
| 23029 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23030 | /* end confdefs.h. */ |
| 23031 | |
| 23032 | #ifdef HAVE_COMPLEX_H |
| 23033 | #include <complex.h> |
| 23034 | #endif |
| 23035 | #ifdef HAVE_MATH_H |
| 23036 | #include <math.h> |
| 23037 | #endif |
| 23038 | |
| 23039 | int (*ptr)() = (int (*)())sqrtf; |
| 23040 | |
| 23041 | int |
| 23042 | main () |
| 23043 | { |
| 23044 | return 0; |
| 23045 | } |
| 23046 | |
| 23047 | _ACEOF |
| 23048 | if ac_fn_c_try_link "$LINENO"; then : |
| 23049 | gcc_cv_math_func_sqrtf=yes |
| 23050 | else |
| 23051 | gcc_cv_math_func_sqrtf=no |
| 23052 | fi |
| 23053 | rm -f core conftest.err conftest.$ac_objext \ |
| 23054 | conftest$ac_exeext conftest.$ac_ext |
| 23055 | fi |
| 23056 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5 |
| 23057 | $as_echo "$gcc_cv_math_func_sqrtf" >&6; } |
| 23058 | if test $gcc_cv_math_func_sqrtf = yes; then |
| 23059 | |
| 23060 | cat >>confdefs.h <<_ACEOF |
| 23061 | #define HAVE_SQRTF 1 |
| 23062 | _ACEOF |
| 23063 | |
| 23064 | fi |
| 23065 | |
| 23066 | |
| 23067 | |
| 23068 | |
| 23069 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5 |
| 23070 | $as_echo_n "checking for sqrt... " >&6; } |
| 23071 | if ${gcc_cv_math_func_sqrt+:} false; then : |
| 23072 | $as_echo_n "(cached) " >&6 |
| 23073 | else |
| 23074 | if test x$gcc_no_link = xyes; then |
| 23075 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23076 | fi |
| 23077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23078 | /* end confdefs.h. */ |
| 23079 | |
| 23080 | #ifdef HAVE_COMPLEX_H |
| 23081 | #include <complex.h> |
| 23082 | #endif |
| 23083 | #ifdef HAVE_MATH_H |
| 23084 | #include <math.h> |
| 23085 | #endif |
| 23086 | |
| 23087 | int (*ptr)() = (int (*)())sqrt; |
| 23088 | |
| 23089 | int |
| 23090 | main () |
| 23091 | { |
| 23092 | return 0; |
| 23093 | } |
| 23094 | |
| 23095 | _ACEOF |
| 23096 | if ac_fn_c_try_link "$LINENO"; then : |
| 23097 | gcc_cv_math_func_sqrt=yes |
| 23098 | else |
| 23099 | gcc_cv_math_func_sqrt=no |
| 23100 | fi |
| 23101 | rm -f core conftest.err conftest.$ac_objext \ |
| 23102 | conftest$ac_exeext conftest.$ac_ext |
| 23103 | fi |
| 23104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5 |
| 23105 | $as_echo "$gcc_cv_math_func_sqrt" >&6; } |
| 23106 | if test $gcc_cv_math_func_sqrt = yes; then |
| 23107 | |
| 23108 | cat >>confdefs.h <<_ACEOF |
| 23109 | #define HAVE_SQRT 1 |
| 23110 | _ACEOF |
| 23111 | |
| 23112 | fi |
| 23113 | |
| 23114 | |
| 23115 | |
| 23116 | |
| 23117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5 |
| 23118 | $as_echo_n "checking for sqrtl... " >&6; } |
| 23119 | if ${gcc_cv_math_func_sqrtl+:} false; then : |
| 23120 | $as_echo_n "(cached) " >&6 |
| 23121 | else |
| 23122 | if test x$gcc_no_link = xyes; then |
| 23123 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23124 | fi |
| 23125 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23126 | /* end confdefs.h. */ |
| 23127 | |
| 23128 | #ifdef HAVE_COMPLEX_H |
| 23129 | #include <complex.h> |
| 23130 | #endif |
| 23131 | #ifdef HAVE_MATH_H |
| 23132 | #include <math.h> |
| 23133 | #endif |
| 23134 | |
| 23135 | int (*ptr)() = (int (*)())sqrtl; |
| 23136 | |
| 23137 | int |
| 23138 | main () |
| 23139 | { |
| 23140 | return 0; |
| 23141 | } |
| 23142 | |
| 23143 | _ACEOF |
| 23144 | if ac_fn_c_try_link "$LINENO"; then : |
| 23145 | gcc_cv_math_func_sqrtl=yes |
| 23146 | else |
| 23147 | gcc_cv_math_func_sqrtl=no |
| 23148 | fi |
| 23149 | rm -f core conftest.err conftest.$ac_objext \ |
| 23150 | conftest$ac_exeext conftest.$ac_ext |
| 23151 | fi |
| 23152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5 |
| 23153 | $as_echo "$gcc_cv_math_func_sqrtl" >&6; } |
| 23154 | if test $gcc_cv_math_func_sqrtl = yes; then |
| 23155 | |
| 23156 | cat >>confdefs.h <<_ACEOF |
| 23157 | #define HAVE_SQRTL 1 |
| 23158 | _ACEOF |
| 23159 | |
| 23160 | fi |
| 23161 | |
| 23162 | |
| 23163 | |
| 23164 | |
| 23165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5 |
| 23166 | $as_echo_n "checking for csqrtf... " >&6; } |
| 23167 | if ${gcc_cv_math_func_csqrtf+:} false; then : |
| 23168 | $as_echo_n "(cached) " >&6 |
| 23169 | else |
| 23170 | if test x$gcc_no_link = xyes; then |
| 23171 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23172 | fi |
| 23173 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23174 | /* end confdefs.h. */ |
| 23175 | |
| 23176 | #ifdef HAVE_COMPLEX_H |
| 23177 | #include <complex.h> |
| 23178 | #endif |
| 23179 | #ifdef HAVE_MATH_H |
| 23180 | #include <math.h> |
| 23181 | #endif |
| 23182 | |
| 23183 | int (*ptr)() = (int (*)())csqrtf; |
| 23184 | |
| 23185 | int |
| 23186 | main () |
| 23187 | { |
| 23188 | return 0; |
| 23189 | } |
| 23190 | |
| 23191 | _ACEOF |
| 23192 | if ac_fn_c_try_link "$LINENO"; then : |
| 23193 | gcc_cv_math_func_csqrtf=yes |
| 23194 | else |
| 23195 | gcc_cv_math_func_csqrtf=no |
| 23196 | fi |
| 23197 | rm -f core conftest.err conftest.$ac_objext \ |
| 23198 | conftest$ac_exeext conftest.$ac_ext |
| 23199 | fi |
| 23200 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5 |
| 23201 | $as_echo "$gcc_cv_math_func_csqrtf" >&6; } |
| 23202 | if test $gcc_cv_math_func_csqrtf = yes; then |
| 23203 | |
| 23204 | cat >>confdefs.h <<_ACEOF |
| 23205 | #define HAVE_CSQRTF 1 |
| 23206 | _ACEOF |
| 23207 | |
| 23208 | fi |
| 23209 | |
| 23210 | |
| 23211 | |
| 23212 | |
| 23213 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5 |
| 23214 | $as_echo_n "checking for csqrt... " >&6; } |
| 23215 | if ${gcc_cv_math_func_csqrt+:} false; then : |
| 23216 | $as_echo_n "(cached) " >&6 |
| 23217 | else |
| 23218 | if test x$gcc_no_link = xyes; then |
| 23219 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23220 | fi |
| 23221 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23222 | /* end confdefs.h. */ |
| 23223 | |
| 23224 | #ifdef HAVE_COMPLEX_H |
| 23225 | #include <complex.h> |
| 23226 | #endif |
| 23227 | #ifdef HAVE_MATH_H |
| 23228 | #include <math.h> |
| 23229 | #endif |
| 23230 | |
| 23231 | int (*ptr)() = (int (*)())csqrt; |
| 23232 | |
| 23233 | int |
| 23234 | main () |
| 23235 | { |
| 23236 | return 0; |
| 23237 | } |
| 23238 | |
| 23239 | _ACEOF |
| 23240 | if ac_fn_c_try_link "$LINENO"; then : |
| 23241 | gcc_cv_math_func_csqrt=yes |
| 23242 | else |
| 23243 | gcc_cv_math_func_csqrt=no |
| 23244 | fi |
| 23245 | rm -f core conftest.err conftest.$ac_objext \ |
| 23246 | conftest$ac_exeext conftest.$ac_ext |
| 23247 | fi |
| 23248 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5 |
| 23249 | $as_echo "$gcc_cv_math_func_csqrt" >&6; } |
| 23250 | if test $gcc_cv_math_func_csqrt = yes; then |
| 23251 | |
| 23252 | cat >>confdefs.h <<_ACEOF |
| 23253 | #define HAVE_CSQRT 1 |
| 23254 | _ACEOF |
| 23255 | |
| 23256 | fi |
| 23257 | |
| 23258 | |
| 23259 | |
| 23260 | |
| 23261 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5 |
| 23262 | $as_echo_n "checking for csqrtl... " >&6; } |
| 23263 | if ${gcc_cv_math_func_csqrtl+:} false; then : |
| 23264 | $as_echo_n "(cached) " >&6 |
| 23265 | else |
| 23266 | if test x$gcc_no_link = xyes; then |
| 23267 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23268 | fi |
| 23269 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23270 | /* end confdefs.h. */ |
| 23271 | |
| 23272 | #ifdef HAVE_COMPLEX_H |
| 23273 | #include <complex.h> |
| 23274 | #endif |
| 23275 | #ifdef HAVE_MATH_H |
| 23276 | #include <math.h> |
| 23277 | #endif |
| 23278 | |
| 23279 | int (*ptr)() = (int (*)())csqrtl; |
| 23280 | |
| 23281 | int |
| 23282 | main () |
| 23283 | { |
| 23284 | return 0; |
| 23285 | } |
| 23286 | |
| 23287 | _ACEOF |
| 23288 | if ac_fn_c_try_link "$LINENO"; then : |
| 23289 | gcc_cv_math_func_csqrtl=yes |
| 23290 | else |
| 23291 | gcc_cv_math_func_csqrtl=no |
| 23292 | fi |
| 23293 | rm -f core conftest.err conftest.$ac_objext \ |
| 23294 | conftest$ac_exeext conftest.$ac_ext |
| 23295 | fi |
| 23296 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5 |
| 23297 | $as_echo "$gcc_cv_math_func_csqrtl" >&6; } |
| 23298 | if test $gcc_cv_math_func_csqrtl = yes; then |
| 23299 | |
| 23300 | cat >>confdefs.h <<_ACEOF |
| 23301 | #define HAVE_CSQRTL 1 |
| 23302 | _ACEOF |
| 23303 | |
| 23304 | fi |
| 23305 | |
| 23306 | |
| 23307 | |
| 23308 | |
| 23309 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5 |
| 23310 | $as_echo_n "checking for tanf... " >&6; } |
| 23311 | if ${gcc_cv_math_func_tanf+:} false; then : |
| 23312 | $as_echo_n "(cached) " >&6 |
| 23313 | else |
| 23314 | if test x$gcc_no_link = xyes; then |
| 23315 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23316 | fi |
| 23317 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23318 | /* end confdefs.h. */ |
| 23319 | |
| 23320 | #ifdef HAVE_COMPLEX_H |
| 23321 | #include <complex.h> |
| 23322 | #endif |
| 23323 | #ifdef HAVE_MATH_H |
| 23324 | #include <math.h> |
| 23325 | #endif |
| 23326 | |
| 23327 | int (*ptr)() = (int (*)())tanf; |
| 23328 | |
| 23329 | int |
| 23330 | main () |
| 23331 | { |
| 23332 | return 0; |
| 23333 | } |
| 23334 | |
| 23335 | _ACEOF |
| 23336 | if ac_fn_c_try_link "$LINENO"; then : |
| 23337 | gcc_cv_math_func_tanf=yes |
| 23338 | else |
| 23339 | gcc_cv_math_func_tanf=no |
| 23340 | fi |
| 23341 | rm -f core conftest.err conftest.$ac_objext \ |
| 23342 | conftest$ac_exeext conftest.$ac_ext |
| 23343 | fi |
| 23344 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5 |
| 23345 | $as_echo "$gcc_cv_math_func_tanf" >&6; } |
| 23346 | if test $gcc_cv_math_func_tanf = yes; then |
| 23347 | |
| 23348 | cat >>confdefs.h <<_ACEOF |
| 23349 | #define HAVE_TANF 1 |
| 23350 | _ACEOF |
| 23351 | |
| 23352 | fi |
| 23353 | |
| 23354 | |
| 23355 | |
| 23356 | |
| 23357 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5 |
| 23358 | $as_echo_n "checking for tan... " >&6; } |
| 23359 | if ${gcc_cv_math_func_tan+:} false; then : |
| 23360 | $as_echo_n "(cached) " >&6 |
| 23361 | else |
| 23362 | if test x$gcc_no_link = xyes; then |
| 23363 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23364 | fi |
| 23365 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23366 | /* end confdefs.h. */ |
| 23367 | |
| 23368 | #ifdef HAVE_COMPLEX_H |
| 23369 | #include <complex.h> |
| 23370 | #endif |
| 23371 | #ifdef HAVE_MATH_H |
| 23372 | #include <math.h> |
| 23373 | #endif |
| 23374 | |
| 23375 | int (*ptr)() = (int (*)())tan; |
| 23376 | |
| 23377 | int |
| 23378 | main () |
| 23379 | { |
| 23380 | return 0; |
| 23381 | } |
| 23382 | |
| 23383 | _ACEOF |
| 23384 | if ac_fn_c_try_link "$LINENO"; then : |
| 23385 | gcc_cv_math_func_tan=yes |
| 23386 | else |
| 23387 | gcc_cv_math_func_tan=no |
| 23388 | fi |
| 23389 | rm -f core conftest.err conftest.$ac_objext \ |
| 23390 | conftest$ac_exeext conftest.$ac_ext |
| 23391 | fi |
| 23392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5 |
| 23393 | $as_echo "$gcc_cv_math_func_tan" >&6; } |
| 23394 | if test $gcc_cv_math_func_tan = yes; then |
| 23395 | |
| 23396 | cat >>confdefs.h <<_ACEOF |
| 23397 | #define HAVE_TAN 1 |
| 23398 | _ACEOF |
| 23399 | |
| 23400 | fi |
| 23401 | |
| 23402 | |
| 23403 | |
| 23404 | |
| 23405 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5 |
| 23406 | $as_echo_n "checking for tanl... " >&6; } |
| 23407 | if ${gcc_cv_math_func_tanl+:} false; then : |
| 23408 | $as_echo_n "(cached) " >&6 |
| 23409 | else |
| 23410 | if test x$gcc_no_link = xyes; then |
| 23411 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23412 | fi |
| 23413 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23414 | /* end confdefs.h. */ |
| 23415 | |
| 23416 | #ifdef HAVE_COMPLEX_H |
| 23417 | #include <complex.h> |
| 23418 | #endif |
| 23419 | #ifdef HAVE_MATH_H |
| 23420 | #include <math.h> |
| 23421 | #endif |
| 23422 | |
| 23423 | int (*ptr)() = (int (*)())tanl; |
| 23424 | |
| 23425 | int |
| 23426 | main () |
| 23427 | { |
| 23428 | return 0; |
| 23429 | } |
| 23430 | |
| 23431 | _ACEOF |
| 23432 | if ac_fn_c_try_link "$LINENO"; then : |
| 23433 | gcc_cv_math_func_tanl=yes |
| 23434 | else |
| 23435 | gcc_cv_math_func_tanl=no |
| 23436 | fi |
| 23437 | rm -f core conftest.err conftest.$ac_objext \ |
| 23438 | conftest$ac_exeext conftest.$ac_ext |
| 23439 | fi |
| 23440 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5 |
| 23441 | $as_echo "$gcc_cv_math_func_tanl" >&6; } |
| 23442 | if test $gcc_cv_math_func_tanl = yes; then |
| 23443 | |
| 23444 | cat >>confdefs.h <<_ACEOF |
| 23445 | #define HAVE_TANL 1 |
| 23446 | _ACEOF |
| 23447 | |
| 23448 | fi |
| 23449 | |
| 23450 | |
| 23451 | |
| 23452 | |
| 23453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5 |
| 23454 | $as_echo_n "checking for ctanf... " >&6; } |
| 23455 | if ${gcc_cv_math_func_ctanf+:} false; then : |
| 23456 | $as_echo_n "(cached) " >&6 |
| 23457 | else |
| 23458 | if test x$gcc_no_link = xyes; then |
| 23459 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23460 | fi |
| 23461 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23462 | /* end confdefs.h. */ |
| 23463 | |
| 23464 | #ifdef HAVE_COMPLEX_H |
| 23465 | #include <complex.h> |
| 23466 | #endif |
| 23467 | #ifdef HAVE_MATH_H |
| 23468 | #include <math.h> |
| 23469 | #endif |
| 23470 | |
| 23471 | int (*ptr)() = (int (*)())ctanf; |
| 23472 | |
| 23473 | int |
| 23474 | main () |
| 23475 | { |
| 23476 | return 0; |
| 23477 | } |
| 23478 | |
| 23479 | _ACEOF |
| 23480 | if ac_fn_c_try_link "$LINENO"; then : |
| 23481 | gcc_cv_math_func_ctanf=yes |
| 23482 | else |
| 23483 | gcc_cv_math_func_ctanf=no |
| 23484 | fi |
| 23485 | rm -f core conftest.err conftest.$ac_objext \ |
| 23486 | conftest$ac_exeext conftest.$ac_ext |
| 23487 | fi |
| 23488 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5 |
| 23489 | $as_echo "$gcc_cv_math_func_ctanf" >&6; } |
| 23490 | if test $gcc_cv_math_func_ctanf = yes; then |
| 23491 | |
| 23492 | cat >>confdefs.h <<_ACEOF |
| 23493 | #define HAVE_CTANF 1 |
| 23494 | _ACEOF |
| 23495 | |
| 23496 | fi |
| 23497 | |
| 23498 | |
| 23499 | |
| 23500 | |
| 23501 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5 |
| 23502 | $as_echo_n "checking for ctan... " >&6; } |
| 23503 | if ${gcc_cv_math_func_ctan+:} false; then : |
| 23504 | $as_echo_n "(cached) " >&6 |
| 23505 | else |
| 23506 | if test x$gcc_no_link = xyes; then |
| 23507 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23508 | fi |
| 23509 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23510 | /* end confdefs.h. */ |
| 23511 | |
| 23512 | #ifdef HAVE_COMPLEX_H |
| 23513 | #include <complex.h> |
| 23514 | #endif |
| 23515 | #ifdef HAVE_MATH_H |
| 23516 | #include <math.h> |
| 23517 | #endif |
| 23518 | |
| 23519 | int (*ptr)() = (int (*)())ctan; |
| 23520 | |
| 23521 | int |
| 23522 | main () |
| 23523 | { |
| 23524 | return 0; |
| 23525 | } |
| 23526 | |
| 23527 | _ACEOF |
| 23528 | if ac_fn_c_try_link "$LINENO"; then : |
| 23529 | gcc_cv_math_func_ctan=yes |
| 23530 | else |
| 23531 | gcc_cv_math_func_ctan=no |
| 23532 | fi |
| 23533 | rm -f core conftest.err conftest.$ac_objext \ |
| 23534 | conftest$ac_exeext conftest.$ac_ext |
| 23535 | fi |
| 23536 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5 |
| 23537 | $as_echo "$gcc_cv_math_func_ctan" >&6; } |
| 23538 | if test $gcc_cv_math_func_ctan = yes; then |
| 23539 | |
| 23540 | cat >>confdefs.h <<_ACEOF |
| 23541 | #define HAVE_CTAN 1 |
| 23542 | _ACEOF |
| 23543 | |
| 23544 | fi |
| 23545 | |
| 23546 | |
| 23547 | |
| 23548 | |
| 23549 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5 |
| 23550 | $as_echo_n "checking for ctanl... " >&6; } |
| 23551 | if ${gcc_cv_math_func_ctanl+:} false; then : |
| 23552 | $as_echo_n "(cached) " >&6 |
| 23553 | else |
| 23554 | if test x$gcc_no_link = xyes; then |
| 23555 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23556 | fi |
| 23557 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23558 | /* end confdefs.h. */ |
| 23559 | |
| 23560 | #ifdef HAVE_COMPLEX_H |
| 23561 | #include <complex.h> |
| 23562 | #endif |
| 23563 | #ifdef HAVE_MATH_H |
| 23564 | #include <math.h> |
| 23565 | #endif |
| 23566 | |
| 23567 | int (*ptr)() = (int (*)())ctanl; |
| 23568 | |
| 23569 | int |
| 23570 | main () |
| 23571 | { |
| 23572 | return 0; |
| 23573 | } |
| 23574 | |
| 23575 | _ACEOF |
| 23576 | if ac_fn_c_try_link "$LINENO"; then : |
| 23577 | gcc_cv_math_func_ctanl=yes |
| 23578 | else |
| 23579 | gcc_cv_math_func_ctanl=no |
| 23580 | fi |
| 23581 | rm -f core conftest.err conftest.$ac_objext \ |
| 23582 | conftest$ac_exeext conftest.$ac_ext |
| 23583 | fi |
| 23584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5 |
| 23585 | $as_echo "$gcc_cv_math_func_ctanl" >&6; } |
| 23586 | if test $gcc_cv_math_func_ctanl = yes; then |
| 23587 | |
| 23588 | cat >>confdefs.h <<_ACEOF |
| 23589 | #define HAVE_CTANL 1 |
| 23590 | _ACEOF |
| 23591 | |
| 23592 | fi |
| 23593 | |
| 23594 | |
| 23595 | |
| 23596 | |
| 23597 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5 |
| 23598 | $as_echo_n "checking for tanhf... " >&6; } |
| 23599 | if ${gcc_cv_math_func_tanhf+:} false; then : |
| 23600 | $as_echo_n "(cached) " >&6 |
| 23601 | else |
| 23602 | if test x$gcc_no_link = xyes; then |
| 23603 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23604 | fi |
| 23605 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23606 | /* end confdefs.h. */ |
| 23607 | |
| 23608 | #ifdef HAVE_COMPLEX_H |
| 23609 | #include <complex.h> |
| 23610 | #endif |
| 23611 | #ifdef HAVE_MATH_H |
| 23612 | #include <math.h> |
| 23613 | #endif |
| 23614 | |
| 23615 | int (*ptr)() = (int (*)())tanhf; |
| 23616 | |
| 23617 | int |
| 23618 | main () |
| 23619 | { |
| 23620 | return 0; |
| 23621 | } |
| 23622 | |
| 23623 | _ACEOF |
| 23624 | if ac_fn_c_try_link "$LINENO"; then : |
| 23625 | gcc_cv_math_func_tanhf=yes |
| 23626 | else |
| 23627 | gcc_cv_math_func_tanhf=no |
| 23628 | fi |
| 23629 | rm -f core conftest.err conftest.$ac_objext \ |
| 23630 | conftest$ac_exeext conftest.$ac_ext |
| 23631 | fi |
| 23632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5 |
| 23633 | $as_echo "$gcc_cv_math_func_tanhf" >&6; } |
| 23634 | if test $gcc_cv_math_func_tanhf = yes; then |
| 23635 | |
| 23636 | cat >>confdefs.h <<_ACEOF |
| 23637 | #define HAVE_TANHF 1 |
| 23638 | _ACEOF |
| 23639 | |
| 23640 | fi |
| 23641 | |
| 23642 | |
| 23643 | |
| 23644 | |
| 23645 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5 |
| 23646 | $as_echo_n "checking for tanh... " >&6; } |
| 23647 | if ${gcc_cv_math_func_tanh+:} false; then : |
| 23648 | $as_echo_n "(cached) " >&6 |
| 23649 | else |
| 23650 | if test x$gcc_no_link = xyes; then |
| 23651 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23652 | fi |
| 23653 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23654 | /* end confdefs.h. */ |
| 23655 | |
| 23656 | #ifdef HAVE_COMPLEX_H |
| 23657 | #include <complex.h> |
| 23658 | #endif |
| 23659 | #ifdef HAVE_MATH_H |
| 23660 | #include <math.h> |
| 23661 | #endif |
| 23662 | |
| 23663 | int (*ptr)() = (int (*)())tanh; |
| 23664 | |
| 23665 | int |
| 23666 | main () |
| 23667 | { |
| 23668 | return 0; |
| 23669 | } |
| 23670 | |
| 23671 | _ACEOF |
| 23672 | if ac_fn_c_try_link "$LINENO"; then : |
| 23673 | gcc_cv_math_func_tanh=yes |
| 23674 | else |
| 23675 | gcc_cv_math_func_tanh=no |
| 23676 | fi |
| 23677 | rm -f core conftest.err conftest.$ac_objext \ |
| 23678 | conftest$ac_exeext conftest.$ac_ext |
| 23679 | fi |
| 23680 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5 |
| 23681 | $as_echo "$gcc_cv_math_func_tanh" >&6; } |
| 23682 | if test $gcc_cv_math_func_tanh = yes; then |
| 23683 | |
| 23684 | cat >>confdefs.h <<_ACEOF |
| 23685 | #define HAVE_TANH 1 |
| 23686 | _ACEOF |
| 23687 | |
| 23688 | fi |
| 23689 | |
| 23690 | |
| 23691 | |
| 23692 | |
| 23693 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5 |
| 23694 | $as_echo_n "checking for tanhl... " >&6; } |
| 23695 | if ${gcc_cv_math_func_tanhl+:} false; then : |
| 23696 | $as_echo_n "(cached) " >&6 |
| 23697 | else |
| 23698 | if test x$gcc_no_link = xyes; then |
| 23699 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23700 | fi |
| 23701 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23702 | /* end confdefs.h. */ |
| 23703 | |
| 23704 | #ifdef HAVE_COMPLEX_H |
| 23705 | #include <complex.h> |
| 23706 | #endif |
| 23707 | #ifdef HAVE_MATH_H |
| 23708 | #include <math.h> |
| 23709 | #endif |
| 23710 | |
| 23711 | int (*ptr)() = (int (*)())tanhl; |
| 23712 | |
| 23713 | int |
| 23714 | main () |
| 23715 | { |
| 23716 | return 0; |
| 23717 | } |
| 23718 | |
| 23719 | _ACEOF |
| 23720 | if ac_fn_c_try_link "$LINENO"; then : |
| 23721 | gcc_cv_math_func_tanhl=yes |
| 23722 | else |
| 23723 | gcc_cv_math_func_tanhl=no |
| 23724 | fi |
| 23725 | rm -f core conftest.err conftest.$ac_objext \ |
| 23726 | conftest$ac_exeext conftest.$ac_ext |
| 23727 | fi |
| 23728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5 |
| 23729 | $as_echo "$gcc_cv_math_func_tanhl" >&6; } |
| 23730 | if test $gcc_cv_math_func_tanhl = yes; then |
| 23731 | |
| 23732 | cat >>confdefs.h <<_ACEOF |
| 23733 | #define HAVE_TANHL 1 |
| 23734 | _ACEOF |
| 23735 | |
| 23736 | fi |
| 23737 | |
| 23738 | |
| 23739 | |
| 23740 | |
| 23741 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5 |
| 23742 | $as_echo_n "checking for ctanhf... " >&6; } |
| 23743 | if ${gcc_cv_math_func_ctanhf+:} false; then : |
| 23744 | $as_echo_n "(cached) " >&6 |
| 23745 | else |
| 23746 | if test x$gcc_no_link = xyes; then |
| 23747 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23748 | fi |
| 23749 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23750 | /* end confdefs.h. */ |
| 23751 | |
| 23752 | #ifdef HAVE_COMPLEX_H |
| 23753 | #include <complex.h> |
| 23754 | #endif |
| 23755 | #ifdef HAVE_MATH_H |
| 23756 | #include <math.h> |
| 23757 | #endif |
| 23758 | |
| 23759 | int (*ptr)() = (int (*)())ctanhf; |
| 23760 | |
| 23761 | int |
| 23762 | main () |
| 23763 | { |
| 23764 | return 0; |
| 23765 | } |
| 23766 | |
| 23767 | _ACEOF |
| 23768 | if ac_fn_c_try_link "$LINENO"; then : |
| 23769 | gcc_cv_math_func_ctanhf=yes |
| 23770 | else |
| 23771 | gcc_cv_math_func_ctanhf=no |
| 23772 | fi |
| 23773 | rm -f core conftest.err conftest.$ac_objext \ |
| 23774 | conftest$ac_exeext conftest.$ac_ext |
| 23775 | fi |
| 23776 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5 |
| 23777 | $as_echo "$gcc_cv_math_func_ctanhf" >&6; } |
| 23778 | if test $gcc_cv_math_func_ctanhf = yes; then |
| 23779 | |
| 23780 | cat >>confdefs.h <<_ACEOF |
| 23781 | #define HAVE_CTANHF 1 |
| 23782 | _ACEOF |
| 23783 | |
| 23784 | fi |
| 23785 | |
| 23786 | |
| 23787 | |
| 23788 | |
| 23789 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5 |
| 23790 | $as_echo_n "checking for ctanh... " >&6; } |
| 23791 | if ${gcc_cv_math_func_ctanh+:} false; then : |
| 23792 | $as_echo_n "(cached) " >&6 |
| 23793 | else |
| 23794 | if test x$gcc_no_link = xyes; then |
| 23795 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23796 | fi |
| 23797 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23798 | /* end confdefs.h. */ |
| 23799 | |
| 23800 | #ifdef HAVE_COMPLEX_H |
| 23801 | #include <complex.h> |
| 23802 | #endif |
| 23803 | #ifdef HAVE_MATH_H |
| 23804 | #include <math.h> |
| 23805 | #endif |
| 23806 | |
| 23807 | int (*ptr)() = (int (*)())ctanh; |
| 23808 | |
| 23809 | int |
| 23810 | main () |
| 23811 | { |
| 23812 | return 0; |
| 23813 | } |
| 23814 | |
| 23815 | _ACEOF |
| 23816 | if ac_fn_c_try_link "$LINENO"; then : |
| 23817 | gcc_cv_math_func_ctanh=yes |
| 23818 | else |
| 23819 | gcc_cv_math_func_ctanh=no |
| 23820 | fi |
| 23821 | rm -f core conftest.err conftest.$ac_objext \ |
| 23822 | conftest$ac_exeext conftest.$ac_ext |
| 23823 | fi |
| 23824 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5 |
| 23825 | $as_echo "$gcc_cv_math_func_ctanh" >&6; } |
| 23826 | if test $gcc_cv_math_func_ctanh = yes; then |
| 23827 | |
| 23828 | cat >>confdefs.h <<_ACEOF |
| 23829 | #define HAVE_CTANH 1 |
| 23830 | _ACEOF |
| 23831 | |
| 23832 | fi |
| 23833 | |
| 23834 | |
| 23835 | |
| 23836 | |
| 23837 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5 |
| 23838 | $as_echo_n "checking for ctanhl... " >&6; } |
| 23839 | if ${gcc_cv_math_func_ctanhl+:} false; then : |
| 23840 | $as_echo_n "(cached) " >&6 |
| 23841 | else |
| 23842 | if test x$gcc_no_link = xyes; then |
| 23843 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23844 | fi |
| 23845 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23846 | /* end confdefs.h. */ |
| 23847 | |
| 23848 | #ifdef HAVE_COMPLEX_H |
| 23849 | #include <complex.h> |
| 23850 | #endif |
| 23851 | #ifdef HAVE_MATH_H |
| 23852 | #include <math.h> |
| 23853 | #endif |
| 23854 | |
| 23855 | int (*ptr)() = (int (*)())ctanhl; |
| 23856 | |
| 23857 | int |
| 23858 | main () |
| 23859 | { |
| 23860 | return 0; |
| 23861 | } |
| 23862 | |
| 23863 | _ACEOF |
| 23864 | if ac_fn_c_try_link "$LINENO"; then : |
| 23865 | gcc_cv_math_func_ctanhl=yes |
| 23866 | else |
| 23867 | gcc_cv_math_func_ctanhl=no |
| 23868 | fi |
| 23869 | rm -f core conftest.err conftest.$ac_objext \ |
| 23870 | conftest$ac_exeext conftest.$ac_ext |
| 23871 | fi |
| 23872 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5 |
| 23873 | $as_echo "$gcc_cv_math_func_ctanhl" >&6; } |
| 23874 | if test $gcc_cv_math_func_ctanhl = yes; then |
| 23875 | |
| 23876 | cat >>confdefs.h <<_ACEOF |
| 23877 | #define HAVE_CTANHL 1 |
| 23878 | _ACEOF |
| 23879 | |
| 23880 | fi |
| 23881 | |
| 23882 | |
| 23883 | |
| 23884 | |
| 23885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5 |
| 23886 | $as_echo_n "checking for truncf... " >&6; } |
| 23887 | if ${gcc_cv_math_func_truncf+:} false; then : |
| 23888 | $as_echo_n "(cached) " >&6 |
| 23889 | else |
| 23890 | if test x$gcc_no_link = xyes; then |
| 23891 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23892 | fi |
| 23893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23894 | /* end confdefs.h. */ |
| 23895 | |
| 23896 | #ifdef HAVE_COMPLEX_H |
| 23897 | #include <complex.h> |
| 23898 | #endif |
| 23899 | #ifdef HAVE_MATH_H |
| 23900 | #include <math.h> |
| 23901 | #endif |
| 23902 | |
| 23903 | int (*ptr)() = (int (*)())truncf; |
| 23904 | |
| 23905 | int |
| 23906 | main () |
| 23907 | { |
| 23908 | return 0; |
| 23909 | } |
| 23910 | |
| 23911 | _ACEOF |
| 23912 | if ac_fn_c_try_link "$LINENO"; then : |
| 23913 | gcc_cv_math_func_truncf=yes |
| 23914 | else |
| 23915 | gcc_cv_math_func_truncf=no |
| 23916 | fi |
| 23917 | rm -f core conftest.err conftest.$ac_objext \ |
| 23918 | conftest$ac_exeext conftest.$ac_ext |
| 23919 | fi |
| 23920 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5 |
| 23921 | $as_echo "$gcc_cv_math_func_truncf" >&6; } |
| 23922 | if test $gcc_cv_math_func_truncf = yes; then |
| 23923 | |
| 23924 | cat >>confdefs.h <<_ACEOF |
| 23925 | #define HAVE_TRUNCF 1 |
| 23926 | _ACEOF |
| 23927 | |
| 23928 | fi |
| 23929 | |
| 23930 | |
| 23931 | |
| 23932 | |
| 23933 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5 |
| 23934 | $as_echo_n "checking for trunc... " >&6; } |
| 23935 | if ${gcc_cv_math_func_trunc+:} false; then : |
| 23936 | $as_echo_n "(cached) " >&6 |
| 23937 | else |
| 23938 | if test x$gcc_no_link = xyes; then |
| 23939 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23940 | fi |
| 23941 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23942 | /* end confdefs.h. */ |
| 23943 | |
| 23944 | #ifdef HAVE_COMPLEX_H |
| 23945 | #include <complex.h> |
| 23946 | #endif |
| 23947 | #ifdef HAVE_MATH_H |
| 23948 | #include <math.h> |
| 23949 | #endif |
| 23950 | |
| 23951 | int (*ptr)() = (int (*)())trunc; |
| 23952 | |
| 23953 | int |
| 23954 | main () |
| 23955 | { |
| 23956 | return 0; |
| 23957 | } |
| 23958 | |
| 23959 | _ACEOF |
| 23960 | if ac_fn_c_try_link "$LINENO"; then : |
| 23961 | gcc_cv_math_func_trunc=yes |
| 23962 | else |
| 23963 | gcc_cv_math_func_trunc=no |
| 23964 | fi |
| 23965 | rm -f core conftest.err conftest.$ac_objext \ |
| 23966 | conftest$ac_exeext conftest.$ac_ext |
| 23967 | fi |
| 23968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5 |
| 23969 | $as_echo "$gcc_cv_math_func_trunc" >&6; } |
| 23970 | if test $gcc_cv_math_func_trunc = yes; then |
| 23971 | |
| 23972 | cat >>confdefs.h <<_ACEOF |
| 23973 | #define HAVE_TRUNC 1 |
| 23974 | _ACEOF |
| 23975 | |
| 23976 | fi |
| 23977 | |
| 23978 | |
| 23979 | |
| 23980 | |
| 23981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5 |
| 23982 | $as_echo_n "checking for truncl... " >&6; } |
| 23983 | if ${gcc_cv_math_func_truncl+:} false; then : |
| 23984 | $as_echo_n "(cached) " >&6 |
| 23985 | else |
| 23986 | if test x$gcc_no_link = xyes; then |
| 23987 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 23988 | fi |
| 23989 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23990 | /* end confdefs.h. */ |
| 23991 | |
| 23992 | #ifdef HAVE_COMPLEX_H |
| 23993 | #include <complex.h> |
| 23994 | #endif |
| 23995 | #ifdef HAVE_MATH_H |
| 23996 | #include <math.h> |
| 23997 | #endif |
| 23998 | |
| 23999 | int (*ptr)() = (int (*)())truncl; |
| 24000 | |
| 24001 | int |
| 24002 | main () |
| 24003 | { |
| 24004 | return 0; |
| 24005 | } |
| 24006 | |
| 24007 | _ACEOF |
| 24008 | if ac_fn_c_try_link "$LINENO"; then : |
| 24009 | gcc_cv_math_func_truncl=yes |
| 24010 | else |
| 24011 | gcc_cv_math_func_truncl=no |
| 24012 | fi |
| 24013 | rm -f core conftest.err conftest.$ac_objext \ |
| 24014 | conftest$ac_exeext conftest.$ac_ext |
| 24015 | fi |
| 24016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5 |
| 24017 | $as_echo "$gcc_cv_math_func_truncl" >&6; } |
| 24018 | if test $gcc_cv_math_func_truncl = yes; then |
| 24019 | |
| 24020 | cat >>confdefs.h <<_ACEOF |
| 24021 | #define HAVE_TRUNCL 1 |
| 24022 | _ACEOF |
| 24023 | |
| 24024 | fi |
| 24025 | |
| 24026 | |
| 24027 | |
| 24028 | |
| 24029 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5 |
| 24030 | $as_echo_n "checking for erff... " >&6; } |
| 24031 | if ${gcc_cv_math_func_erff+:} false; then : |
| 24032 | $as_echo_n "(cached) " >&6 |
| 24033 | else |
| 24034 | if test x$gcc_no_link = xyes; then |
| 24035 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24036 | fi |
| 24037 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24038 | /* end confdefs.h. */ |
| 24039 | |
| 24040 | #ifdef HAVE_COMPLEX_H |
| 24041 | #include <complex.h> |
| 24042 | #endif |
| 24043 | #ifdef HAVE_MATH_H |
| 24044 | #include <math.h> |
| 24045 | #endif |
| 24046 | |
| 24047 | int (*ptr)() = (int (*)())erff; |
| 24048 | |
| 24049 | int |
| 24050 | main () |
| 24051 | { |
| 24052 | return 0; |
| 24053 | } |
| 24054 | |
| 24055 | _ACEOF |
| 24056 | if ac_fn_c_try_link "$LINENO"; then : |
| 24057 | gcc_cv_math_func_erff=yes |
| 24058 | else |
| 24059 | gcc_cv_math_func_erff=no |
| 24060 | fi |
| 24061 | rm -f core conftest.err conftest.$ac_objext \ |
| 24062 | conftest$ac_exeext conftest.$ac_ext |
| 24063 | fi |
| 24064 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5 |
| 24065 | $as_echo "$gcc_cv_math_func_erff" >&6; } |
| 24066 | if test $gcc_cv_math_func_erff = yes; then |
| 24067 | |
| 24068 | cat >>confdefs.h <<_ACEOF |
| 24069 | #define HAVE_ERFF 1 |
| 24070 | _ACEOF |
| 24071 | |
| 24072 | fi |
| 24073 | |
| 24074 | |
| 24075 | |
| 24076 | |
| 24077 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5 |
| 24078 | $as_echo_n "checking for erf... " >&6; } |
| 24079 | if ${gcc_cv_math_func_erf+:} false; then : |
| 24080 | $as_echo_n "(cached) " >&6 |
| 24081 | else |
| 24082 | if test x$gcc_no_link = xyes; then |
| 24083 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24084 | fi |
| 24085 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24086 | /* end confdefs.h. */ |
| 24087 | |
| 24088 | #ifdef HAVE_COMPLEX_H |
| 24089 | #include <complex.h> |
| 24090 | #endif |
| 24091 | #ifdef HAVE_MATH_H |
| 24092 | #include <math.h> |
| 24093 | #endif |
| 24094 | |
| 24095 | int (*ptr)() = (int (*)())erf; |
| 24096 | |
| 24097 | int |
| 24098 | main () |
| 24099 | { |
| 24100 | return 0; |
| 24101 | } |
| 24102 | |
| 24103 | _ACEOF |
| 24104 | if ac_fn_c_try_link "$LINENO"; then : |
| 24105 | gcc_cv_math_func_erf=yes |
| 24106 | else |
| 24107 | gcc_cv_math_func_erf=no |
| 24108 | fi |
| 24109 | rm -f core conftest.err conftest.$ac_objext \ |
| 24110 | conftest$ac_exeext conftest.$ac_ext |
| 24111 | fi |
| 24112 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5 |
| 24113 | $as_echo "$gcc_cv_math_func_erf" >&6; } |
| 24114 | if test $gcc_cv_math_func_erf = yes; then |
| 24115 | |
| 24116 | cat >>confdefs.h <<_ACEOF |
| 24117 | #define HAVE_ERF 1 |
| 24118 | _ACEOF |
| 24119 | |
| 24120 | fi |
| 24121 | |
| 24122 | |
| 24123 | |
| 24124 | |
| 24125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5 |
| 24126 | $as_echo_n "checking for erfcf... " >&6; } |
| 24127 | if ${gcc_cv_math_func_erfcf+:} false; then : |
| 24128 | $as_echo_n "(cached) " >&6 |
| 24129 | else |
| 24130 | if test x$gcc_no_link = xyes; then |
| 24131 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24132 | fi |
| 24133 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24134 | /* end confdefs.h. */ |
| 24135 | |
| 24136 | #ifdef HAVE_COMPLEX_H |
| 24137 | #include <complex.h> |
| 24138 | #endif |
| 24139 | #ifdef HAVE_MATH_H |
| 24140 | #include <math.h> |
| 24141 | #endif |
| 24142 | |
| 24143 | int (*ptr)() = (int (*)())erfcf; |
| 24144 | |
| 24145 | int |
| 24146 | main () |
| 24147 | { |
| 24148 | return 0; |
| 24149 | } |
| 24150 | |
| 24151 | _ACEOF |
| 24152 | if ac_fn_c_try_link "$LINENO"; then : |
| 24153 | gcc_cv_math_func_erfcf=yes |
| 24154 | else |
| 24155 | gcc_cv_math_func_erfcf=no |
| 24156 | fi |
| 24157 | rm -f core conftest.err conftest.$ac_objext \ |
| 24158 | conftest$ac_exeext conftest.$ac_ext |
| 24159 | fi |
| 24160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5 |
| 24161 | $as_echo "$gcc_cv_math_func_erfcf" >&6; } |
| 24162 | if test $gcc_cv_math_func_erfcf = yes; then |
| 24163 | |
| 24164 | cat >>confdefs.h <<_ACEOF |
| 24165 | #define HAVE_ERFCF 1 |
| 24166 | _ACEOF |
| 24167 | |
| 24168 | fi |
| 24169 | |
| 24170 | |
| 24171 | |
| 24172 | |
| 24173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5 |
| 24174 | $as_echo_n "checking for erfc... " >&6; } |
| 24175 | if ${gcc_cv_math_func_erfc+:} false; then : |
| 24176 | $as_echo_n "(cached) " >&6 |
| 24177 | else |
| 24178 | if test x$gcc_no_link = xyes; then |
| 24179 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24180 | fi |
| 24181 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24182 | /* end confdefs.h. */ |
| 24183 | |
| 24184 | #ifdef HAVE_COMPLEX_H |
| 24185 | #include <complex.h> |
| 24186 | #endif |
| 24187 | #ifdef HAVE_MATH_H |
| 24188 | #include <math.h> |
| 24189 | #endif |
| 24190 | |
| 24191 | int (*ptr)() = (int (*)())erfc; |
| 24192 | |
| 24193 | int |
| 24194 | main () |
| 24195 | { |
| 24196 | return 0; |
| 24197 | } |
| 24198 | |
| 24199 | _ACEOF |
| 24200 | if ac_fn_c_try_link "$LINENO"; then : |
| 24201 | gcc_cv_math_func_erfc=yes |
| 24202 | else |
| 24203 | gcc_cv_math_func_erfc=no |
| 24204 | fi |
| 24205 | rm -f core conftest.err conftest.$ac_objext \ |
| 24206 | conftest$ac_exeext conftest.$ac_ext |
| 24207 | fi |
| 24208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5 |
| 24209 | $as_echo "$gcc_cv_math_func_erfc" >&6; } |
| 24210 | if test $gcc_cv_math_func_erfc = yes; then |
| 24211 | |
| 24212 | cat >>confdefs.h <<_ACEOF |
| 24213 | #define HAVE_ERFC 1 |
| 24214 | _ACEOF |
| 24215 | |
| 24216 | fi |
| 24217 | |
| 24218 | |
| 24219 | |
| 24220 | |
| 24221 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5 |
| 24222 | $as_echo_n "checking for erfcl... " >&6; } |
| 24223 | if ${gcc_cv_math_func_erfcl+:} false; then : |
| 24224 | $as_echo_n "(cached) " >&6 |
| 24225 | else |
| 24226 | if test x$gcc_no_link = xyes; then |
| 24227 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24228 | fi |
| 24229 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24230 | /* end confdefs.h. */ |
| 24231 | |
| 24232 | #ifdef HAVE_COMPLEX_H |
| 24233 | #include <complex.h> |
| 24234 | #endif |
| 24235 | #ifdef HAVE_MATH_H |
| 24236 | #include <math.h> |
| 24237 | #endif |
| 24238 | |
| 24239 | int (*ptr)() = (int (*)())erfcl; |
| 24240 | |
| 24241 | int |
| 24242 | main () |
| 24243 | { |
| 24244 | return 0; |
| 24245 | } |
| 24246 | |
| 24247 | _ACEOF |
| 24248 | if ac_fn_c_try_link "$LINENO"; then : |
| 24249 | gcc_cv_math_func_erfcl=yes |
| 24250 | else |
| 24251 | gcc_cv_math_func_erfcl=no |
| 24252 | fi |
| 24253 | rm -f core conftest.err conftest.$ac_objext \ |
| 24254 | conftest$ac_exeext conftest.$ac_ext |
| 24255 | fi |
| 24256 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5 |
| 24257 | $as_echo "$gcc_cv_math_func_erfcl" >&6; } |
| 24258 | if test $gcc_cv_math_func_erfcl = yes; then |
| 24259 | |
| 24260 | cat >>confdefs.h <<_ACEOF |
| 24261 | #define HAVE_ERFCL 1 |
| 24262 | _ACEOF |
| 24263 | |
| 24264 | fi |
| 24265 | |
| 24266 | |
| 24267 | |
| 24268 | |
| 24269 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5 |
| 24270 | $as_echo_n "checking for j0f... " >&6; } |
| 24271 | if ${gcc_cv_math_func_j0f+:} false; then : |
| 24272 | $as_echo_n "(cached) " >&6 |
| 24273 | else |
| 24274 | if test x$gcc_no_link = xyes; then |
| 24275 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24276 | fi |
| 24277 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24278 | /* end confdefs.h. */ |
| 24279 | |
| 24280 | #ifdef HAVE_COMPLEX_H |
| 24281 | #include <complex.h> |
| 24282 | #endif |
| 24283 | #ifdef HAVE_MATH_H |
| 24284 | #include <math.h> |
| 24285 | #endif |
| 24286 | |
| 24287 | int (*ptr)() = (int (*)())j0f; |
| 24288 | |
| 24289 | int |
| 24290 | main () |
| 24291 | { |
| 24292 | return 0; |
| 24293 | } |
| 24294 | |
| 24295 | _ACEOF |
| 24296 | if ac_fn_c_try_link "$LINENO"; then : |
| 24297 | gcc_cv_math_func_j0f=yes |
| 24298 | else |
| 24299 | gcc_cv_math_func_j0f=no |
| 24300 | fi |
| 24301 | rm -f core conftest.err conftest.$ac_objext \ |
| 24302 | conftest$ac_exeext conftest.$ac_ext |
| 24303 | fi |
| 24304 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5 |
| 24305 | $as_echo "$gcc_cv_math_func_j0f" >&6; } |
| 24306 | if test $gcc_cv_math_func_j0f = yes; then |
| 24307 | |
| 24308 | cat >>confdefs.h <<_ACEOF |
| 24309 | #define HAVE_J0F 1 |
| 24310 | _ACEOF |
| 24311 | |
| 24312 | fi |
| 24313 | |
| 24314 | |
| 24315 | |
| 24316 | |
| 24317 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5 |
| 24318 | $as_echo_n "checking for j0... " >&6; } |
| 24319 | if ${gcc_cv_math_func_j0+:} false; then : |
| 24320 | $as_echo_n "(cached) " >&6 |
| 24321 | else |
| 24322 | if test x$gcc_no_link = xyes; then |
| 24323 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24324 | fi |
| 24325 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24326 | /* end confdefs.h. */ |
| 24327 | |
| 24328 | #ifdef HAVE_COMPLEX_H |
| 24329 | #include <complex.h> |
| 24330 | #endif |
| 24331 | #ifdef HAVE_MATH_H |
| 24332 | #include <math.h> |
| 24333 | #endif |
| 24334 | |
| 24335 | int (*ptr)() = (int (*)())j0; |
| 24336 | |
| 24337 | int |
| 24338 | main () |
| 24339 | { |
| 24340 | return 0; |
| 24341 | } |
| 24342 | |
| 24343 | _ACEOF |
| 24344 | if ac_fn_c_try_link "$LINENO"; then : |
| 24345 | gcc_cv_math_func_j0=yes |
| 24346 | else |
| 24347 | gcc_cv_math_func_j0=no |
| 24348 | fi |
| 24349 | rm -f core conftest.err conftest.$ac_objext \ |
| 24350 | conftest$ac_exeext conftest.$ac_ext |
| 24351 | fi |
| 24352 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5 |
| 24353 | $as_echo "$gcc_cv_math_func_j0" >&6; } |
| 24354 | if test $gcc_cv_math_func_j0 = yes; then |
| 24355 | |
| 24356 | cat >>confdefs.h <<_ACEOF |
| 24357 | #define HAVE_J0 1 |
| 24358 | _ACEOF |
| 24359 | |
| 24360 | fi |
| 24361 | |
| 24362 | |
| 24363 | |
| 24364 | |
| 24365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5 |
| 24366 | $as_echo_n "checking for j1f... " >&6; } |
| 24367 | if ${gcc_cv_math_func_j1f+:} false; then : |
| 24368 | $as_echo_n "(cached) " >&6 |
| 24369 | else |
| 24370 | if test x$gcc_no_link = xyes; then |
| 24371 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24372 | fi |
| 24373 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24374 | /* end confdefs.h. */ |
| 24375 | |
| 24376 | #ifdef HAVE_COMPLEX_H |
| 24377 | #include <complex.h> |
| 24378 | #endif |
| 24379 | #ifdef HAVE_MATH_H |
| 24380 | #include <math.h> |
| 24381 | #endif |
| 24382 | |
| 24383 | int (*ptr)() = (int (*)())j1f; |
| 24384 | |
| 24385 | int |
| 24386 | main () |
| 24387 | { |
| 24388 | return 0; |
| 24389 | } |
| 24390 | |
| 24391 | _ACEOF |
| 24392 | if ac_fn_c_try_link "$LINENO"; then : |
| 24393 | gcc_cv_math_func_j1f=yes |
| 24394 | else |
| 24395 | gcc_cv_math_func_j1f=no |
| 24396 | fi |
| 24397 | rm -f core conftest.err conftest.$ac_objext \ |
| 24398 | conftest$ac_exeext conftest.$ac_ext |
| 24399 | fi |
| 24400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5 |
| 24401 | $as_echo "$gcc_cv_math_func_j1f" >&6; } |
| 24402 | if test $gcc_cv_math_func_j1f = yes; then |
| 24403 | |
| 24404 | cat >>confdefs.h <<_ACEOF |
| 24405 | #define HAVE_J1F 1 |
| 24406 | _ACEOF |
| 24407 | |
| 24408 | fi |
| 24409 | |
| 24410 | |
| 24411 | |
| 24412 | |
| 24413 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5 |
| 24414 | $as_echo_n "checking for j1... " >&6; } |
| 24415 | if ${gcc_cv_math_func_j1+:} false; then : |
| 24416 | $as_echo_n "(cached) " >&6 |
| 24417 | else |
| 24418 | if test x$gcc_no_link = xyes; then |
| 24419 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24420 | fi |
| 24421 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24422 | /* end confdefs.h. */ |
| 24423 | |
| 24424 | #ifdef HAVE_COMPLEX_H |
| 24425 | #include <complex.h> |
| 24426 | #endif |
| 24427 | #ifdef HAVE_MATH_H |
| 24428 | #include <math.h> |
| 24429 | #endif |
| 24430 | |
| 24431 | int (*ptr)() = (int (*)())j1; |
| 24432 | |
| 24433 | int |
| 24434 | main () |
| 24435 | { |
| 24436 | return 0; |
| 24437 | } |
| 24438 | |
| 24439 | _ACEOF |
| 24440 | if ac_fn_c_try_link "$LINENO"; then : |
| 24441 | gcc_cv_math_func_j1=yes |
| 24442 | else |
| 24443 | gcc_cv_math_func_j1=no |
| 24444 | fi |
| 24445 | rm -f core conftest.err conftest.$ac_objext \ |
| 24446 | conftest$ac_exeext conftest.$ac_ext |
| 24447 | fi |
| 24448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5 |
| 24449 | $as_echo "$gcc_cv_math_func_j1" >&6; } |
| 24450 | if test $gcc_cv_math_func_j1 = yes; then |
| 24451 | |
| 24452 | cat >>confdefs.h <<_ACEOF |
| 24453 | #define HAVE_J1 1 |
| 24454 | _ACEOF |
| 24455 | |
| 24456 | fi |
| 24457 | |
| 24458 | |
| 24459 | |
| 24460 | |
| 24461 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5 |
| 24462 | $as_echo_n "checking for jnf... " >&6; } |
| 24463 | if ${gcc_cv_math_func_jnf+:} false; then : |
| 24464 | $as_echo_n "(cached) " >&6 |
| 24465 | else |
| 24466 | if test x$gcc_no_link = xyes; then |
| 24467 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24468 | fi |
| 24469 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24470 | /* end confdefs.h. */ |
| 24471 | |
| 24472 | #ifdef HAVE_COMPLEX_H |
| 24473 | #include <complex.h> |
| 24474 | #endif |
| 24475 | #ifdef HAVE_MATH_H |
| 24476 | #include <math.h> |
| 24477 | #endif |
| 24478 | |
| 24479 | int (*ptr)() = (int (*)())jnf; |
| 24480 | |
| 24481 | int |
| 24482 | main () |
| 24483 | { |
| 24484 | return 0; |
| 24485 | } |
| 24486 | |
| 24487 | _ACEOF |
| 24488 | if ac_fn_c_try_link "$LINENO"; then : |
| 24489 | gcc_cv_math_func_jnf=yes |
| 24490 | else |
| 24491 | gcc_cv_math_func_jnf=no |
| 24492 | fi |
| 24493 | rm -f core conftest.err conftest.$ac_objext \ |
| 24494 | conftest$ac_exeext conftest.$ac_ext |
| 24495 | fi |
| 24496 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5 |
| 24497 | $as_echo "$gcc_cv_math_func_jnf" >&6; } |
| 24498 | if test $gcc_cv_math_func_jnf = yes; then |
| 24499 | |
| 24500 | cat >>confdefs.h <<_ACEOF |
| 24501 | #define HAVE_JNF 1 |
| 24502 | _ACEOF |
| 24503 | |
| 24504 | fi |
| 24505 | |
| 24506 | |
| 24507 | |
| 24508 | |
| 24509 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5 |
| 24510 | $as_echo_n "checking for jn... " >&6; } |
| 24511 | if ${gcc_cv_math_func_jn+:} false; then : |
| 24512 | $as_echo_n "(cached) " >&6 |
| 24513 | else |
| 24514 | if test x$gcc_no_link = xyes; then |
| 24515 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24516 | fi |
| 24517 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24518 | /* end confdefs.h. */ |
| 24519 | |
| 24520 | #ifdef HAVE_COMPLEX_H |
| 24521 | #include <complex.h> |
| 24522 | #endif |
| 24523 | #ifdef HAVE_MATH_H |
| 24524 | #include <math.h> |
| 24525 | #endif |
| 24526 | |
| 24527 | int (*ptr)() = (int (*)())jn; |
| 24528 | |
| 24529 | int |
| 24530 | main () |
| 24531 | { |
| 24532 | return 0; |
| 24533 | } |
| 24534 | |
| 24535 | _ACEOF |
| 24536 | if ac_fn_c_try_link "$LINENO"; then : |
| 24537 | gcc_cv_math_func_jn=yes |
| 24538 | else |
| 24539 | gcc_cv_math_func_jn=no |
| 24540 | fi |
| 24541 | rm -f core conftest.err conftest.$ac_objext \ |
| 24542 | conftest$ac_exeext conftest.$ac_ext |
| 24543 | fi |
| 24544 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5 |
| 24545 | $as_echo "$gcc_cv_math_func_jn" >&6; } |
| 24546 | if test $gcc_cv_math_func_jn = yes; then |
| 24547 | |
| 24548 | cat >>confdefs.h <<_ACEOF |
| 24549 | #define HAVE_JN 1 |
| 24550 | _ACEOF |
| 24551 | |
| 24552 | fi |
| 24553 | |
| 24554 | |
| 24555 | |
| 24556 | |
| 24557 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5 |
| 24558 | $as_echo_n "checking for jnl... " >&6; } |
| 24559 | if ${gcc_cv_math_func_jnl+:} false; then : |
| 24560 | $as_echo_n "(cached) " >&6 |
| 24561 | else |
| 24562 | if test x$gcc_no_link = xyes; then |
| 24563 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24564 | fi |
| 24565 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24566 | /* end confdefs.h. */ |
| 24567 | |
| 24568 | #ifdef HAVE_COMPLEX_H |
| 24569 | #include <complex.h> |
| 24570 | #endif |
| 24571 | #ifdef HAVE_MATH_H |
| 24572 | #include <math.h> |
| 24573 | #endif |
| 24574 | |
| 24575 | int (*ptr)() = (int (*)())jnl; |
| 24576 | |
| 24577 | int |
| 24578 | main () |
| 24579 | { |
| 24580 | return 0; |
| 24581 | } |
| 24582 | |
| 24583 | _ACEOF |
| 24584 | if ac_fn_c_try_link "$LINENO"; then : |
| 24585 | gcc_cv_math_func_jnl=yes |
| 24586 | else |
| 24587 | gcc_cv_math_func_jnl=no |
| 24588 | fi |
| 24589 | rm -f core conftest.err conftest.$ac_objext \ |
| 24590 | conftest$ac_exeext conftest.$ac_ext |
| 24591 | fi |
| 24592 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5 |
| 24593 | $as_echo "$gcc_cv_math_func_jnl" >&6; } |
| 24594 | if test $gcc_cv_math_func_jnl = yes; then |
| 24595 | |
| 24596 | cat >>confdefs.h <<_ACEOF |
| 24597 | #define HAVE_JNL 1 |
| 24598 | _ACEOF |
| 24599 | |
| 24600 | fi |
| 24601 | |
| 24602 | |
| 24603 | |
| 24604 | |
| 24605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5 |
| 24606 | $as_echo_n "checking for y0f... " >&6; } |
| 24607 | if ${gcc_cv_math_func_y0f+:} false; then : |
| 24608 | $as_echo_n "(cached) " >&6 |
| 24609 | else |
| 24610 | if test x$gcc_no_link = xyes; then |
| 24611 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24612 | fi |
| 24613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24614 | /* end confdefs.h. */ |
| 24615 | |
| 24616 | #ifdef HAVE_COMPLEX_H |
| 24617 | #include <complex.h> |
| 24618 | #endif |
| 24619 | #ifdef HAVE_MATH_H |
| 24620 | #include <math.h> |
| 24621 | #endif |
| 24622 | |
| 24623 | int (*ptr)() = (int (*)())y0f; |
| 24624 | |
| 24625 | int |
| 24626 | main () |
| 24627 | { |
| 24628 | return 0; |
| 24629 | } |
| 24630 | |
| 24631 | _ACEOF |
| 24632 | if ac_fn_c_try_link "$LINENO"; then : |
| 24633 | gcc_cv_math_func_y0f=yes |
| 24634 | else |
| 24635 | gcc_cv_math_func_y0f=no |
| 24636 | fi |
| 24637 | rm -f core conftest.err conftest.$ac_objext \ |
| 24638 | conftest$ac_exeext conftest.$ac_ext |
| 24639 | fi |
| 24640 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5 |
| 24641 | $as_echo "$gcc_cv_math_func_y0f" >&6; } |
| 24642 | if test $gcc_cv_math_func_y0f = yes; then |
| 24643 | |
| 24644 | cat >>confdefs.h <<_ACEOF |
| 24645 | #define HAVE_Y0F 1 |
| 24646 | _ACEOF |
| 24647 | |
| 24648 | fi |
| 24649 | |
| 24650 | |
| 24651 | |
| 24652 | |
| 24653 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5 |
| 24654 | $as_echo_n "checking for y0... " >&6; } |
| 24655 | if ${gcc_cv_math_func_y0+:} false; then : |
| 24656 | $as_echo_n "(cached) " >&6 |
| 24657 | else |
| 24658 | if test x$gcc_no_link = xyes; then |
| 24659 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24660 | fi |
| 24661 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24662 | /* end confdefs.h. */ |
| 24663 | |
| 24664 | #ifdef HAVE_COMPLEX_H |
| 24665 | #include <complex.h> |
| 24666 | #endif |
| 24667 | #ifdef HAVE_MATH_H |
| 24668 | #include <math.h> |
| 24669 | #endif |
| 24670 | |
| 24671 | int (*ptr)() = (int (*)())y0; |
| 24672 | |
| 24673 | int |
| 24674 | main () |
| 24675 | { |
| 24676 | return 0; |
| 24677 | } |
| 24678 | |
| 24679 | _ACEOF |
| 24680 | if ac_fn_c_try_link "$LINENO"; then : |
| 24681 | gcc_cv_math_func_y0=yes |
| 24682 | else |
| 24683 | gcc_cv_math_func_y0=no |
| 24684 | fi |
| 24685 | rm -f core conftest.err conftest.$ac_objext \ |
| 24686 | conftest$ac_exeext conftest.$ac_ext |
| 24687 | fi |
| 24688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5 |
| 24689 | $as_echo "$gcc_cv_math_func_y0" >&6; } |
| 24690 | if test $gcc_cv_math_func_y0 = yes; then |
| 24691 | |
| 24692 | cat >>confdefs.h <<_ACEOF |
| 24693 | #define HAVE_Y0 1 |
| 24694 | _ACEOF |
| 24695 | |
| 24696 | fi |
| 24697 | |
| 24698 | |
| 24699 | |
| 24700 | |
| 24701 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5 |
| 24702 | $as_echo_n "checking for y1f... " >&6; } |
| 24703 | if ${gcc_cv_math_func_y1f+:} false; then : |
| 24704 | $as_echo_n "(cached) " >&6 |
| 24705 | else |
| 24706 | if test x$gcc_no_link = xyes; then |
| 24707 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24708 | fi |
| 24709 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24710 | /* end confdefs.h. */ |
| 24711 | |
| 24712 | #ifdef HAVE_COMPLEX_H |
| 24713 | #include <complex.h> |
| 24714 | #endif |
| 24715 | #ifdef HAVE_MATH_H |
| 24716 | #include <math.h> |
| 24717 | #endif |
| 24718 | |
| 24719 | int (*ptr)() = (int (*)())y1f; |
| 24720 | |
| 24721 | int |
| 24722 | main () |
| 24723 | { |
| 24724 | return 0; |
| 24725 | } |
| 24726 | |
| 24727 | _ACEOF |
| 24728 | if ac_fn_c_try_link "$LINENO"; then : |
| 24729 | gcc_cv_math_func_y1f=yes |
| 24730 | else |
| 24731 | gcc_cv_math_func_y1f=no |
| 24732 | fi |
| 24733 | rm -f core conftest.err conftest.$ac_objext \ |
| 24734 | conftest$ac_exeext conftest.$ac_ext |
| 24735 | fi |
| 24736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5 |
| 24737 | $as_echo "$gcc_cv_math_func_y1f" >&6; } |
| 24738 | if test $gcc_cv_math_func_y1f = yes; then |
| 24739 | |
| 24740 | cat >>confdefs.h <<_ACEOF |
| 24741 | #define HAVE_Y1F 1 |
| 24742 | _ACEOF |
| 24743 | |
| 24744 | fi |
| 24745 | |
| 24746 | |
| 24747 | |
| 24748 | |
| 24749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5 |
| 24750 | $as_echo_n "checking for y1... " >&6; } |
| 24751 | if ${gcc_cv_math_func_y1+:} false; then : |
| 24752 | $as_echo_n "(cached) " >&6 |
| 24753 | else |
| 24754 | if test x$gcc_no_link = xyes; then |
| 24755 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24756 | fi |
| 24757 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24758 | /* end confdefs.h. */ |
| 24759 | |
| 24760 | #ifdef HAVE_COMPLEX_H |
| 24761 | #include <complex.h> |
| 24762 | #endif |
| 24763 | #ifdef HAVE_MATH_H |
| 24764 | #include <math.h> |
| 24765 | #endif |
| 24766 | |
| 24767 | int (*ptr)() = (int (*)())y1; |
| 24768 | |
| 24769 | int |
| 24770 | main () |
| 24771 | { |
| 24772 | return 0; |
| 24773 | } |
| 24774 | |
| 24775 | _ACEOF |
| 24776 | if ac_fn_c_try_link "$LINENO"; then : |
| 24777 | gcc_cv_math_func_y1=yes |
| 24778 | else |
| 24779 | gcc_cv_math_func_y1=no |
| 24780 | fi |
| 24781 | rm -f core conftest.err conftest.$ac_objext \ |
| 24782 | conftest$ac_exeext conftest.$ac_ext |
| 24783 | fi |
| 24784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5 |
| 24785 | $as_echo "$gcc_cv_math_func_y1" >&6; } |
| 24786 | if test $gcc_cv_math_func_y1 = yes; then |
| 24787 | |
| 24788 | cat >>confdefs.h <<_ACEOF |
| 24789 | #define HAVE_Y1 1 |
| 24790 | _ACEOF |
| 24791 | |
| 24792 | fi |
| 24793 | |
| 24794 | |
| 24795 | |
| 24796 | |
| 24797 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5 |
| 24798 | $as_echo_n "checking for ynf... " >&6; } |
| 24799 | if ${gcc_cv_math_func_ynf+:} false; then : |
| 24800 | $as_echo_n "(cached) " >&6 |
| 24801 | else |
| 24802 | if test x$gcc_no_link = xyes; then |
| 24803 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24804 | fi |
| 24805 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24806 | /* end confdefs.h. */ |
| 24807 | |
| 24808 | #ifdef HAVE_COMPLEX_H |
| 24809 | #include <complex.h> |
| 24810 | #endif |
| 24811 | #ifdef HAVE_MATH_H |
| 24812 | #include <math.h> |
| 24813 | #endif |
| 24814 | |
| 24815 | int (*ptr)() = (int (*)())ynf; |
| 24816 | |
| 24817 | int |
| 24818 | main () |
| 24819 | { |
| 24820 | return 0; |
| 24821 | } |
| 24822 | |
| 24823 | _ACEOF |
| 24824 | if ac_fn_c_try_link "$LINENO"; then : |
| 24825 | gcc_cv_math_func_ynf=yes |
| 24826 | else |
| 24827 | gcc_cv_math_func_ynf=no |
| 24828 | fi |
| 24829 | rm -f core conftest.err conftest.$ac_objext \ |
| 24830 | conftest$ac_exeext conftest.$ac_ext |
| 24831 | fi |
| 24832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5 |
| 24833 | $as_echo "$gcc_cv_math_func_ynf" >&6; } |
| 24834 | if test $gcc_cv_math_func_ynf = yes; then |
| 24835 | |
| 24836 | cat >>confdefs.h <<_ACEOF |
| 24837 | #define HAVE_YNF 1 |
| 24838 | _ACEOF |
| 24839 | |
| 24840 | fi |
| 24841 | |
| 24842 | |
| 24843 | |
| 24844 | |
| 24845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5 |
| 24846 | $as_echo_n "checking for yn... " >&6; } |
| 24847 | if ${gcc_cv_math_func_yn+:} false; then : |
| 24848 | $as_echo_n "(cached) " >&6 |
| 24849 | else |
| 24850 | if test x$gcc_no_link = xyes; then |
| 24851 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24852 | fi |
| 24853 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24854 | /* end confdefs.h. */ |
| 24855 | |
| 24856 | #ifdef HAVE_COMPLEX_H |
| 24857 | #include <complex.h> |
| 24858 | #endif |
| 24859 | #ifdef HAVE_MATH_H |
| 24860 | #include <math.h> |
| 24861 | #endif |
| 24862 | |
| 24863 | int (*ptr)() = (int (*)())yn; |
| 24864 | |
| 24865 | int |
| 24866 | main () |
| 24867 | { |
| 24868 | return 0; |
| 24869 | } |
| 24870 | |
| 24871 | _ACEOF |
| 24872 | if ac_fn_c_try_link "$LINENO"; then : |
| 24873 | gcc_cv_math_func_yn=yes |
| 24874 | else |
| 24875 | gcc_cv_math_func_yn=no |
| 24876 | fi |
| 24877 | rm -f core conftest.err conftest.$ac_objext \ |
| 24878 | conftest$ac_exeext conftest.$ac_ext |
| 24879 | fi |
| 24880 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5 |
| 24881 | $as_echo "$gcc_cv_math_func_yn" >&6; } |
| 24882 | if test $gcc_cv_math_func_yn = yes; then |
| 24883 | |
| 24884 | cat >>confdefs.h <<_ACEOF |
| 24885 | #define HAVE_YN 1 |
| 24886 | _ACEOF |
| 24887 | |
| 24888 | fi |
| 24889 | |
| 24890 | |
| 24891 | |
| 24892 | |
| 24893 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5 |
| 24894 | $as_echo_n "checking for ynl... " >&6; } |
| 24895 | if ${gcc_cv_math_func_ynl+:} false; then : |
| 24896 | $as_echo_n "(cached) " >&6 |
| 24897 | else |
| 24898 | if test x$gcc_no_link = xyes; then |
| 24899 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24900 | fi |
| 24901 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24902 | /* end confdefs.h. */ |
| 24903 | |
| 24904 | #ifdef HAVE_COMPLEX_H |
| 24905 | #include <complex.h> |
| 24906 | #endif |
| 24907 | #ifdef HAVE_MATH_H |
| 24908 | #include <math.h> |
| 24909 | #endif |
| 24910 | |
| 24911 | int (*ptr)() = (int (*)())ynl; |
| 24912 | |
| 24913 | int |
| 24914 | main () |
| 24915 | { |
| 24916 | return 0; |
| 24917 | } |
| 24918 | |
| 24919 | _ACEOF |
| 24920 | if ac_fn_c_try_link "$LINENO"; then : |
| 24921 | gcc_cv_math_func_ynl=yes |
| 24922 | else |
| 24923 | gcc_cv_math_func_ynl=no |
| 24924 | fi |
| 24925 | rm -f core conftest.err conftest.$ac_objext \ |
| 24926 | conftest$ac_exeext conftest.$ac_ext |
| 24927 | fi |
| 24928 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5 |
| 24929 | $as_echo "$gcc_cv_math_func_ynl" >&6; } |
| 24930 | if test $gcc_cv_math_func_ynl = yes; then |
| 24931 | |
| 24932 | cat >>confdefs.h <<_ACEOF |
| 24933 | #define HAVE_YNL 1 |
| 24934 | _ACEOF |
| 24935 | |
| 24936 | fi |
| 24937 | |
| 24938 | |
| 24939 | |
| 24940 | |
| 24941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5 |
| 24942 | $as_echo_n "checking for tgamma... " >&6; } |
| 24943 | if ${gcc_cv_math_func_tgamma+:} false; then : |
| 24944 | $as_echo_n "(cached) " >&6 |
| 24945 | else |
| 24946 | if test x$gcc_no_link = xyes; then |
| 24947 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24948 | fi |
| 24949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24950 | /* end confdefs.h. */ |
| 24951 | |
| 24952 | #ifdef HAVE_COMPLEX_H |
| 24953 | #include <complex.h> |
| 24954 | #endif |
| 24955 | #ifdef HAVE_MATH_H |
| 24956 | #include <math.h> |
| 24957 | #endif |
| 24958 | |
| 24959 | int (*ptr)() = (int (*)())tgamma; |
| 24960 | |
| 24961 | int |
| 24962 | main () |
| 24963 | { |
| 24964 | return 0; |
| 24965 | } |
| 24966 | |
| 24967 | _ACEOF |
| 24968 | if ac_fn_c_try_link "$LINENO"; then : |
| 24969 | gcc_cv_math_func_tgamma=yes |
| 24970 | else |
| 24971 | gcc_cv_math_func_tgamma=no |
| 24972 | fi |
| 24973 | rm -f core conftest.err conftest.$ac_objext \ |
| 24974 | conftest$ac_exeext conftest.$ac_ext |
| 24975 | fi |
| 24976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5 |
| 24977 | $as_echo "$gcc_cv_math_func_tgamma" >&6; } |
| 24978 | if test $gcc_cv_math_func_tgamma = yes; then |
| 24979 | |
| 24980 | cat >>confdefs.h <<_ACEOF |
| 24981 | #define HAVE_TGAMMA 1 |
| 24982 | _ACEOF |
| 24983 | |
| 24984 | fi |
| 24985 | |
| 24986 | |
| 24987 | |
| 24988 | |
| 24989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5 |
| 24990 | $as_echo_n "checking for tgammaf... " >&6; } |
| 24991 | if ${gcc_cv_math_func_tgammaf+:} false; then : |
| 24992 | $as_echo_n "(cached) " >&6 |
| 24993 | else |
| 24994 | if test x$gcc_no_link = xyes; then |
| 24995 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 24996 | fi |
| 24997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24998 | /* end confdefs.h. */ |
| 24999 | |
| 25000 | #ifdef HAVE_COMPLEX_H |
| 25001 | #include <complex.h> |
| 25002 | #endif |
| 25003 | #ifdef HAVE_MATH_H |
| 25004 | #include <math.h> |
| 25005 | #endif |
| 25006 | |
| 25007 | int (*ptr)() = (int (*)())tgammaf; |
| 25008 | |
| 25009 | int |
| 25010 | main () |
| 25011 | { |
| 25012 | return 0; |
| 25013 | } |
| 25014 | |
| 25015 | _ACEOF |
| 25016 | if ac_fn_c_try_link "$LINENO"; then : |
| 25017 | gcc_cv_math_func_tgammaf=yes |
| 25018 | else |
| 25019 | gcc_cv_math_func_tgammaf=no |
| 25020 | fi |
| 25021 | rm -f core conftest.err conftest.$ac_objext \ |
| 25022 | conftest$ac_exeext conftest.$ac_ext |
| 25023 | fi |
| 25024 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5 |
| 25025 | $as_echo "$gcc_cv_math_func_tgammaf" >&6; } |
| 25026 | if test $gcc_cv_math_func_tgammaf = yes; then |
| 25027 | |
| 25028 | cat >>confdefs.h <<_ACEOF |
| 25029 | #define HAVE_TGAMMAF 1 |
| 25030 | _ACEOF |
| 25031 | |
| 25032 | fi |
| 25033 | |
| 25034 | |
| 25035 | |
| 25036 | |
| 25037 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5 |
| 25038 | $as_echo_n "checking for lgamma... " >&6; } |
| 25039 | if ${gcc_cv_math_func_lgamma+:} false; then : |
| 25040 | $as_echo_n "(cached) " >&6 |
| 25041 | else |
| 25042 | if test x$gcc_no_link = xyes; then |
| 25043 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25044 | fi |
| 25045 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25046 | /* end confdefs.h. */ |
| 25047 | |
| 25048 | #ifdef HAVE_COMPLEX_H |
| 25049 | #include <complex.h> |
| 25050 | #endif |
| 25051 | #ifdef HAVE_MATH_H |
| 25052 | #include <math.h> |
| 25053 | #endif |
| 25054 | |
| 25055 | int (*ptr)() = (int (*)())lgamma; |
| 25056 | |
| 25057 | int |
| 25058 | main () |
| 25059 | { |
| 25060 | return 0; |
| 25061 | } |
| 25062 | |
| 25063 | _ACEOF |
| 25064 | if ac_fn_c_try_link "$LINENO"; then : |
| 25065 | gcc_cv_math_func_lgamma=yes |
| 25066 | else |
| 25067 | gcc_cv_math_func_lgamma=no |
| 25068 | fi |
| 25069 | rm -f core conftest.err conftest.$ac_objext \ |
| 25070 | conftest$ac_exeext conftest.$ac_ext |
| 25071 | fi |
| 25072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5 |
| 25073 | $as_echo "$gcc_cv_math_func_lgamma" >&6; } |
| 25074 | if test $gcc_cv_math_func_lgamma = yes; then |
| 25075 | |
| 25076 | cat >>confdefs.h <<_ACEOF |
| 25077 | #define HAVE_LGAMMA 1 |
| 25078 | _ACEOF |
| 25079 | |
| 25080 | fi |
| 25081 | |
| 25082 | |
| 25083 | |
| 25084 | |
| 25085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5 |
| 25086 | $as_echo_n "checking for lgammaf... " >&6; } |
| 25087 | if ${gcc_cv_math_func_lgammaf+:} false; then : |
| 25088 | $as_echo_n "(cached) " >&6 |
| 25089 | else |
| 25090 | if test x$gcc_no_link = xyes; then |
| 25091 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25092 | fi |
| 25093 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25094 | /* end confdefs.h. */ |
| 25095 | |
| 25096 | #ifdef HAVE_COMPLEX_H |
| 25097 | #include <complex.h> |
| 25098 | #endif |
| 25099 | #ifdef HAVE_MATH_H |
| 25100 | #include <math.h> |
| 25101 | #endif |
| 25102 | |
| 25103 | int (*ptr)() = (int (*)())lgammaf; |
| 25104 | |
| 25105 | int |
| 25106 | main () |
| 25107 | { |
| 25108 | return 0; |
| 25109 | } |
| 25110 | |
| 25111 | _ACEOF |
| 25112 | if ac_fn_c_try_link "$LINENO"; then : |
| 25113 | gcc_cv_math_func_lgammaf=yes |
| 25114 | else |
| 25115 | gcc_cv_math_func_lgammaf=no |
| 25116 | fi |
| 25117 | rm -f core conftest.err conftest.$ac_objext \ |
| 25118 | conftest$ac_exeext conftest.$ac_ext |
| 25119 | fi |
| 25120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5 |
| 25121 | $as_echo "$gcc_cv_math_func_lgammaf" >&6; } |
| 25122 | if test $gcc_cv_math_func_lgammaf = yes; then |
| 25123 | |
| 25124 | cat >>confdefs.h <<_ACEOF |
| 25125 | #define HAVE_LGAMMAF 1 |
| 25126 | _ACEOF |
| 25127 | |
| 25128 | fi |
| 25129 | |
| 25130 | |
| 25131 | # Check for GFORTRAN_C99_1.1 funcs |
| 25132 | |
| 25133 | |
| 25134 | |
| 25135 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5 |
| 25136 | $as_echo_n "checking for cacos... " >&6; } |
| 25137 | if ${gcc_cv_math_func_cacos+:} false; then : |
| 25138 | $as_echo_n "(cached) " >&6 |
| 25139 | else |
| 25140 | if test x$gcc_no_link = xyes; then |
| 25141 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25142 | fi |
| 25143 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25144 | /* end confdefs.h. */ |
| 25145 | |
| 25146 | #ifdef HAVE_COMPLEX_H |
| 25147 | #include <complex.h> |
| 25148 | #endif |
| 25149 | #ifdef HAVE_MATH_H |
| 25150 | #include <math.h> |
| 25151 | #endif |
| 25152 | |
| 25153 | int (*ptr)() = (int (*)())cacos; |
| 25154 | |
| 25155 | int |
| 25156 | main () |
| 25157 | { |
| 25158 | return 0; |
| 25159 | } |
| 25160 | |
| 25161 | _ACEOF |
| 25162 | if ac_fn_c_try_link "$LINENO"; then : |
| 25163 | gcc_cv_math_func_cacos=yes |
| 25164 | else |
| 25165 | gcc_cv_math_func_cacos=no |
| 25166 | fi |
| 25167 | rm -f core conftest.err conftest.$ac_objext \ |
| 25168 | conftest$ac_exeext conftest.$ac_ext |
| 25169 | fi |
| 25170 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5 |
| 25171 | $as_echo "$gcc_cv_math_func_cacos" >&6; } |
| 25172 | if test $gcc_cv_math_func_cacos = yes; then |
| 25173 | |
| 25174 | cat >>confdefs.h <<_ACEOF |
| 25175 | #define HAVE_CACOS 1 |
| 25176 | _ACEOF |
| 25177 | |
| 25178 | fi |
| 25179 | |
| 25180 | |
| 25181 | |
| 25182 | |
| 25183 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5 |
| 25184 | $as_echo_n "checking for cacosf... " >&6; } |
| 25185 | if ${gcc_cv_math_func_cacosf+:} false; then : |
| 25186 | $as_echo_n "(cached) " >&6 |
| 25187 | else |
| 25188 | if test x$gcc_no_link = xyes; then |
| 25189 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25190 | fi |
| 25191 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25192 | /* end confdefs.h. */ |
| 25193 | |
| 25194 | #ifdef HAVE_COMPLEX_H |
| 25195 | #include <complex.h> |
| 25196 | #endif |
| 25197 | #ifdef HAVE_MATH_H |
| 25198 | #include <math.h> |
| 25199 | #endif |
| 25200 | |
| 25201 | int (*ptr)() = (int (*)())cacosf; |
| 25202 | |
| 25203 | int |
| 25204 | main () |
| 25205 | { |
| 25206 | return 0; |
| 25207 | } |
| 25208 | |
| 25209 | _ACEOF |
| 25210 | if ac_fn_c_try_link "$LINENO"; then : |
| 25211 | gcc_cv_math_func_cacosf=yes |
| 25212 | else |
| 25213 | gcc_cv_math_func_cacosf=no |
| 25214 | fi |
| 25215 | rm -f core conftest.err conftest.$ac_objext \ |
| 25216 | conftest$ac_exeext conftest.$ac_ext |
| 25217 | fi |
| 25218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5 |
| 25219 | $as_echo "$gcc_cv_math_func_cacosf" >&6; } |
| 25220 | if test $gcc_cv_math_func_cacosf = yes; then |
| 25221 | |
| 25222 | cat >>confdefs.h <<_ACEOF |
| 25223 | #define HAVE_CACOSF 1 |
| 25224 | _ACEOF |
| 25225 | |
| 25226 | fi |
| 25227 | |
| 25228 | |
| 25229 | |
| 25230 | |
| 25231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5 |
| 25232 | $as_echo_n "checking for cacosh... " >&6; } |
| 25233 | if ${gcc_cv_math_func_cacosh+:} false; then : |
| 25234 | $as_echo_n "(cached) " >&6 |
| 25235 | else |
| 25236 | if test x$gcc_no_link = xyes; then |
| 25237 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25238 | fi |
| 25239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25240 | /* end confdefs.h. */ |
| 25241 | |
| 25242 | #ifdef HAVE_COMPLEX_H |
| 25243 | #include <complex.h> |
| 25244 | #endif |
| 25245 | #ifdef HAVE_MATH_H |
| 25246 | #include <math.h> |
| 25247 | #endif |
| 25248 | |
| 25249 | int (*ptr)() = (int (*)())cacosh; |
| 25250 | |
| 25251 | int |
| 25252 | main () |
| 25253 | { |
| 25254 | return 0; |
| 25255 | } |
| 25256 | |
| 25257 | _ACEOF |
| 25258 | if ac_fn_c_try_link "$LINENO"; then : |
| 25259 | gcc_cv_math_func_cacosh=yes |
| 25260 | else |
| 25261 | gcc_cv_math_func_cacosh=no |
| 25262 | fi |
| 25263 | rm -f core conftest.err conftest.$ac_objext \ |
| 25264 | conftest$ac_exeext conftest.$ac_ext |
| 25265 | fi |
| 25266 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5 |
| 25267 | $as_echo "$gcc_cv_math_func_cacosh" >&6; } |
| 25268 | if test $gcc_cv_math_func_cacosh = yes; then |
| 25269 | |
| 25270 | cat >>confdefs.h <<_ACEOF |
| 25271 | #define HAVE_CACOSH 1 |
| 25272 | _ACEOF |
| 25273 | |
| 25274 | fi |
| 25275 | |
| 25276 | |
| 25277 | |
| 25278 | |
| 25279 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5 |
| 25280 | $as_echo_n "checking for cacoshf... " >&6; } |
| 25281 | if ${gcc_cv_math_func_cacoshf+:} false; then : |
| 25282 | $as_echo_n "(cached) " >&6 |
| 25283 | else |
| 25284 | if test x$gcc_no_link = xyes; then |
| 25285 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25286 | fi |
| 25287 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25288 | /* end confdefs.h. */ |
| 25289 | |
| 25290 | #ifdef HAVE_COMPLEX_H |
| 25291 | #include <complex.h> |
| 25292 | #endif |
| 25293 | #ifdef HAVE_MATH_H |
| 25294 | #include <math.h> |
| 25295 | #endif |
| 25296 | |
| 25297 | int (*ptr)() = (int (*)())cacoshf; |
| 25298 | |
| 25299 | int |
| 25300 | main () |
| 25301 | { |
| 25302 | return 0; |
| 25303 | } |
| 25304 | |
| 25305 | _ACEOF |
| 25306 | if ac_fn_c_try_link "$LINENO"; then : |
| 25307 | gcc_cv_math_func_cacoshf=yes |
| 25308 | else |
| 25309 | gcc_cv_math_func_cacoshf=no |
| 25310 | fi |
| 25311 | rm -f core conftest.err conftest.$ac_objext \ |
| 25312 | conftest$ac_exeext conftest.$ac_ext |
| 25313 | fi |
| 25314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5 |
| 25315 | $as_echo "$gcc_cv_math_func_cacoshf" >&6; } |
| 25316 | if test $gcc_cv_math_func_cacoshf = yes; then |
| 25317 | |
| 25318 | cat >>confdefs.h <<_ACEOF |
| 25319 | #define HAVE_CACOSHF 1 |
| 25320 | _ACEOF |
| 25321 | |
| 25322 | fi |
| 25323 | |
| 25324 | |
| 25325 | |
| 25326 | |
| 25327 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5 |
| 25328 | $as_echo_n "checking for cacoshl... " >&6; } |
| 25329 | if ${gcc_cv_math_func_cacoshl+:} false; then : |
| 25330 | $as_echo_n "(cached) " >&6 |
| 25331 | else |
| 25332 | if test x$gcc_no_link = xyes; then |
| 25333 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25334 | fi |
| 25335 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25336 | /* end confdefs.h. */ |
| 25337 | |
| 25338 | #ifdef HAVE_COMPLEX_H |
| 25339 | #include <complex.h> |
| 25340 | #endif |
| 25341 | #ifdef HAVE_MATH_H |
| 25342 | #include <math.h> |
| 25343 | #endif |
| 25344 | |
| 25345 | int (*ptr)() = (int (*)())cacoshl; |
| 25346 | |
| 25347 | int |
| 25348 | main () |
| 25349 | { |
| 25350 | return 0; |
| 25351 | } |
| 25352 | |
| 25353 | _ACEOF |
| 25354 | if ac_fn_c_try_link "$LINENO"; then : |
| 25355 | gcc_cv_math_func_cacoshl=yes |
| 25356 | else |
| 25357 | gcc_cv_math_func_cacoshl=no |
| 25358 | fi |
| 25359 | rm -f core conftest.err conftest.$ac_objext \ |
| 25360 | conftest$ac_exeext conftest.$ac_ext |
| 25361 | fi |
| 25362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5 |
| 25363 | $as_echo "$gcc_cv_math_func_cacoshl" >&6; } |
| 25364 | if test $gcc_cv_math_func_cacoshl = yes; then |
| 25365 | |
| 25366 | cat >>confdefs.h <<_ACEOF |
| 25367 | #define HAVE_CACOSHL 1 |
| 25368 | _ACEOF |
| 25369 | |
| 25370 | fi |
| 25371 | |
| 25372 | |
| 25373 | |
| 25374 | |
| 25375 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5 |
| 25376 | $as_echo_n "checking for cacosl... " >&6; } |
| 25377 | if ${gcc_cv_math_func_cacosl+:} false; then : |
| 25378 | $as_echo_n "(cached) " >&6 |
| 25379 | else |
| 25380 | if test x$gcc_no_link = xyes; then |
| 25381 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25382 | fi |
| 25383 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25384 | /* end confdefs.h. */ |
| 25385 | |
| 25386 | #ifdef HAVE_COMPLEX_H |
| 25387 | #include <complex.h> |
| 25388 | #endif |
| 25389 | #ifdef HAVE_MATH_H |
| 25390 | #include <math.h> |
| 25391 | #endif |
| 25392 | |
| 25393 | int (*ptr)() = (int (*)())cacosl; |
| 25394 | |
| 25395 | int |
| 25396 | main () |
| 25397 | { |
| 25398 | return 0; |
| 25399 | } |
| 25400 | |
| 25401 | _ACEOF |
| 25402 | if ac_fn_c_try_link "$LINENO"; then : |
| 25403 | gcc_cv_math_func_cacosl=yes |
| 25404 | else |
| 25405 | gcc_cv_math_func_cacosl=no |
| 25406 | fi |
| 25407 | rm -f core conftest.err conftest.$ac_objext \ |
| 25408 | conftest$ac_exeext conftest.$ac_ext |
| 25409 | fi |
| 25410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5 |
| 25411 | $as_echo "$gcc_cv_math_func_cacosl" >&6; } |
| 25412 | if test $gcc_cv_math_func_cacosl = yes; then |
| 25413 | |
| 25414 | cat >>confdefs.h <<_ACEOF |
| 25415 | #define HAVE_CACOSL 1 |
| 25416 | _ACEOF |
| 25417 | |
| 25418 | fi |
| 25419 | |
| 25420 | |
| 25421 | |
| 25422 | |
| 25423 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5 |
| 25424 | $as_echo_n "checking for casin... " >&6; } |
| 25425 | if ${gcc_cv_math_func_casin+:} false; then : |
| 25426 | $as_echo_n "(cached) " >&6 |
| 25427 | else |
| 25428 | if test x$gcc_no_link = xyes; then |
| 25429 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25430 | fi |
| 25431 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25432 | /* end confdefs.h. */ |
| 25433 | |
| 25434 | #ifdef HAVE_COMPLEX_H |
| 25435 | #include <complex.h> |
| 25436 | #endif |
| 25437 | #ifdef HAVE_MATH_H |
| 25438 | #include <math.h> |
| 25439 | #endif |
| 25440 | |
| 25441 | int (*ptr)() = (int (*)())casin; |
| 25442 | |
| 25443 | int |
| 25444 | main () |
| 25445 | { |
| 25446 | return 0; |
| 25447 | } |
| 25448 | |
| 25449 | _ACEOF |
| 25450 | if ac_fn_c_try_link "$LINENO"; then : |
| 25451 | gcc_cv_math_func_casin=yes |
| 25452 | else |
| 25453 | gcc_cv_math_func_casin=no |
| 25454 | fi |
| 25455 | rm -f core conftest.err conftest.$ac_objext \ |
| 25456 | conftest$ac_exeext conftest.$ac_ext |
| 25457 | fi |
| 25458 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5 |
| 25459 | $as_echo "$gcc_cv_math_func_casin" >&6; } |
| 25460 | if test $gcc_cv_math_func_casin = yes; then |
| 25461 | |
| 25462 | cat >>confdefs.h <<_ACEOF |
| 25463 | #define HAVE_CASIN 1 |
| 25464 | _ACEOF |
| 25465 | |
| 25466 | fi |
| 25467 | |
| 25468 | |
| 25469 | |
| 25470 | |
| 25471 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5 |
| 25472 | $as_echo_n "checking for casinf... " >&6; } |
| 25473 | if ${gcc_cv_math_func_casinf+:} false; then : |
| 25474 | $as_echo_n "(cached) " >&6 |
| 25475 | else |
| 25476 | if test x$gcc_no_link = xyes; then |
| 25477 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25478 | fi |
| 25479 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25480 | /* end confdefs.h. */ |
| 25481 | |
| 25482 | #ifdef HAVE_COMPLEX_H |
| 25483 | #include <complex.h> |
| 25484 | #endif |
| 25485 | #ifdef HAVE_MATH_H |
| 25486 | #include <math.h> |
| 25487 | #endif |
| 25488 | |
| 25489 | int (*ptr)() = (int (*)())casinf; |
| 25490 | |
| 25491 | int |
| 25492 | main () |
| 25493 | { |
| 25494 | return 0; |
| 25495 | } |
| 25496 | |
| 25497 | _ACEOF |
| 25498 | if ac_fn_c_try_link "$LINENO"; then : |
| 25499 | gcc_cv_math_func_casinf=yes |
| 25500 | else |
| 25501 | gcc_cv_math_func_casinf=no |
| 25502 | fi |
| 25503 | rm -f core conftest.err conftest.$ac_objext \ |
| 25504 | conftest$ac_exeext conftest.$ac_ext |
| 25505 | fi |
| 25506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5 |
| 25507 | $as_echo "$gcc_cv_math_func_casinf" >&6; } |
| 25508 | if test $gcc_cv_math_func_casinf = yes; then |
| 25509 | |
| 25510 | cat >>confdefs.h <<_ACEOF |
| 25511 | #define HAVE_CASINF 1 |
| 25512 | _ACEOF |
| 25513 | |
| 25514 | fi |
| 25515 | |
| 25516 | |
| 25517 | |
| 25518 | |
| 25519 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5 |
| 25520 | $as_echo_n "checking for casinh... " >&6; } |
| 25521 | if ${gcc_cv_math_func_casinh+:} false; then : |
| 25522 | $as_echo_n "(cached) " >&6 |
| 25523 | else |
| 25524 | if test x$gcc_no_link = xyes; then |
| 25525 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25526 | fi |
| 25527 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25528 | /* end confdefs.h. */ |
| 25529 | |
| 25530 | #ifdef HAVE_COMPLEX_H |
| 25531 | #include <complex.h> |
| 25532 | #endif |
| 25533 | #ifdef HAVE_MATH_H |
| 25534 | #include <math.h> |
| 25535 | #endif |
| 25536 | |
| 25537 | int (*ptr)() = (int (*)())casinh; |
| 25538 | |
| 25539 | int |
| 25540 | main () |
| 25541 | { |
| 25542 | return 0; |
| 25543 | } |
| 25544 | |
| 25545 | _ACEOF |
| 25546 | if ac_fn_c_try_link "$LINENO"; then : |
| 25547 | gcc_cv_math_func_casinh=yes |
| 25548 | else |
| 25549 | gcc_cv_math_func_casinh=no |
| 25550 | fi |
| 25551 | rm -f core conftest.err conftest.$ac_objext \ |
| 25552 | conftest$ac_exeext conftest.$ac_ext |
| 25553 | fi |
| 25554 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5 |
| 25555 | $as_echo "$gcc_cv_math_func_casinh" >&6; } |
| 25556 | if test $gcc_cv_math_func_casinh = yes; then |
| 25557 | |
| 25558 | cat >>confdefs.h <<_ACEOF |
| 25559 | #define HAVE_CASINH 1 |
| 25560 | _ACEOF |
| 25561 | |
| 25562 | fi |
| 25563 | |
| 25564 | |
| 25565 | |
| 25566 | |
| 25567 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5 |
| 25568 | $as_echo_n "checking for casinhf... " >&6; } |
| 25569 | if ${gcc_cv_math_func_casinhf+:} false; then : |
| 25570 | $as_echo_n "(cached) " >&6 |
| 25571 | else |
| 25572 | if test x$gcc_no_link = xyes; then |
| 25573 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25574 | fi |
| 25575 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25576 | /* end confdefs.h. */ |
| 25577 | |
| 25578 | #ifdef HAVE_COMPLEX_H |
| 25579 | #include <complex.h> |
| 25580 | #endif |
| 25581 | #ifdef HAVE_MATH_H |
| 25582 | #include <math.h> |
| 25583 | #endif |
| 25584 | |
| 25585 | int (*ptr)() = (int (*)())casinhf; |
| 25586 | |
| 25587 | int |
| 25588 | main () |
| 25589 | { |
| 25590 | return 0; |
| 25591 | } |
| 25592 | |
| 25593 | _ACEOF |
| 25594 | if ac_fn_c_try_link "$LINENO"; then : |
| 25595 | gcc_cv_math_func_casinhf=yes |
| 25596 | else |
| 25597 | gcc_cv_math_func_casinhf=no |
| 25598 | fi |
| 25599 | rm -f core conftest.err conftest.$ac_objext \ |
| 25600 | conftest$ac_exeext conftest.$ac_ext |
| 25601 | fi |
| 25602 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5 |
| 25603 | $as_echo "$gcc_cv_math_func_casinhf" >&6; } |
| 25604 | if test $gcc_cv_math_func_casinhf = yes; then |
| 25605 | |
| 25606 | cat >>confdefs.h <<_ACEOF |
| 25607 | #define HAVE_CASINHF 1 |
| 25608 | _ACEOF |
| 25609 | |
| 25610 | fi |
| 25611 | |
| 25612 | |
| 25613 | |
| 25614 | |
| 25615 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5 |
| 25616 | $as_echo_n "checking for casinhl... " >&6; } |
| 25617 | if ${gcc_cv_math_func_casinhl+:} false; then : |
| 25618 | $as_echo_n "(cached) " >&6 |
| 25619 | else |
| 25620 | if test x$gcc_no_link = xyes; then |
| 25621 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25622 | fi |
| 25623 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25624 | /* end confdefs.h. */ |
| 25625 | |
| 25626 | #ifdef HAVE_COMPLEX_H |
| 25627 | #include <complex.h> |
| 25628 | #endif |
| 25629 | #ifdef HAVE_MATH_H |
| 25630 | #include <math.h> |
| 25631 | #endif |
| 25632 | |
| 25633 | int (*ptr)() = (int (*)())casinhl; |
| 25634 | |
| 25635 | int |
| 25636 | main () |
| 25637 | { |
| 25638 | return 0; |
| 25639 | } |
| 25640 | |
| 25641 | _ACEOF |
| 25642 | if ac_fn_c_try_link "$LINENO"; then : |
| 25643 | gcc_cv_math_func_casinhl=yes |
| 25644 | else |
| 25645 | gcc_cv_math_func_casinhl=no |
| 25646 | fi |
| 25647 | rm -f core conftest.err conftest.$ac_objext \ |
| 25648 | conftest$ac_exeext conftest.$ac_ext |
| 25649 | fi |
| 25650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5 |
| 25651 | $as_echo "$gcc_cv_math_func_casinhl" >&6; } |
| 25652 | if test $gcc_cv_math_func_casinhl = yes; then |
| 25653 | |
| 25654 | cat >>confdefs.h <<_ACEOF |
| 25655 | #define HAVE_CASINHL 1 |
| 25656 | _ACEOF |
| 25657 | |
| 25658 | fi |
| 25659 | |
| 25660 | |
| 25661 | |
| 25662 | |
| 25663 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5 |
| 25664 | $as_echo_n "checking for casinl... " >&6; } |
| 25665 | if ${gcc_cv_math_func_casinl+:} false; then : |
| 25666 | $as_echo_n "(cached) " >&6 |
| 25667 | else |
| 25668 | if test x$gcc_no_link = xyes; then |
| 25669 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25670 | fi |
| 25671 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25672 | /* end confdefs.h. */ |
| 25673 | |
| 25674 | #ifdef HAVE_COMPLEX_H |
| 25675 | #include <complex.h> |
| 25676 | #endif |
| 25677 | #ifdef HAVE_MATH_H |
| 25678 | #include <math.h> |
| 25679 | #endif |
| 25680 | |
| 25681 | int (*ptr)() = (int (*)())casinl; |
| 25682 | |
| 25683 | int |
| 25684 | main () |
| 25685 | { |
| 25686 | return 0; |
| 25687 | } |
| 25688 | |
| 25689 | _ACEOF |
| 25690 | if ac_fn_c_try_link "$LINENO"; then : |
| 25691 | gcc_cv_math_func_casinl=yes |
| 25692 | else |
| 25693 | gcc_cv_math_func_casinl=no |
| 25694 | fi |
| 25695 | rm -f core conftest.err conftest.$ac_objext \ |
| 25696 | conftest$ac_exeext conftest.$ac_ext |
| 25697 | fi |
| 25698 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5 |
| 25699 | $as_echo "$gcc_cv_math_func_casinl" >&6; } |
| 25700 | if test $gcc_cv_math_func_casinl = yes; then |
| 25701 | |
| 25702 | cat >>confdefs.h <<_ACEOF |
| 25703 | #define HAVE_CASINL 1 |
| 25704 | _ACEOF |
| 25705 | |
| 25706 | fi |
| 25707 | |
| 25708 | |
| 25709 | |
| 25710 | |
| 25711 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5 |
| 25712 | $as_echo_n "checking for catan... " >&6; } |
| 25713 | if ${gcc_cv_math_func_catan+:} false; then : |
| 25714 | $as_echo_n "(cached) " >&6 |
| 25715 | else |
| 25716 | if test x$gcc_no_link = xyes; then |
| 25717 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25718 | fi |
| 25719 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25720 | /* end confdefs.h. */ |
| 25721 | |
| 25722 | #ifdef HAVE_COMPLEX_H |
| 25723 | #include <complex.h> |
| 25724 | #endif |
| 25725 | #ifdef HAVE_MATH_H |
| 25726 | #include <math.h> |
| 25727 | #endif |
| 25728 | |
| 25729 | int (*ptr)() = (int (*)())catan; |
| 25730 | |
| 25731 | int |
| 25732 | main () |
| 25733 | { |
| 25734 | return 0; |
| 25735 | } |
| 25736 | |
| 25737 | _ACEOF |
| 25738 | if ac_fn_c_try_link "$LINENO"; then : |
| 25739 | gcc_cv_math_func_catan=yes |
| 25740 | else |
| 25741 | gcc_cv_math_func_catan=no |
| 25742 | fi |
| 25743 | rm -f core conftest.err conftest.$ac_objext \ |
| 25744 | conftest$ac_exeext conftest.$ac_ext |
| 25745 | fi |
| 25746 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5 |
| 25747 | $as_echo "$gcc_cv_math_func_catan" >&6; } |
| 25748 | if test $gcc_cv_math_func_catan = yes; then |
| 25749 | |
| 25750 | cat >>confdefs.h <<_ACEOF |
| 25751 | #define HAVE_CATAN 1 |
| 25752 | _ACEOF |
| 25753 | |
| 25754 | fi |
| 25755 | |
| 25756 | |
| 25757 | |
| 25758 | |
| 25759 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5 |
| 25760 | $as_echo_n "checking for catanf... " >&6; } |
| 25761 | if ${gcc_cv_math_func_catanf+:} false; then : |
| 25762 | $as_echo_n "(cached) " >&6 |
| 25763 | else |
| 25764 | if test x$gcc_no_link = xyes; then |
| 25765 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25766 | fi |
| 25767 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25768 | /* end confdefs.h. */ |
| 25769 | |
| 25770 | #ifdef HAVE_COMPLEX_H |
| 25771 | #include <complex.h> |
| 25772 | #endif |
| 25773 | #ifdef HAVE_MATH_H |
| 25774 | #include <math.h> |
| 25775 | #endif |
| 25776 | |
| 25777 | int (*ptr)() = (int (*)())catanf; |
| 25778 | |
| 25779 | int |
| 25780 | main () |
| 25781 | { |
| 25782 | return 0; |
| 25783 | } |
| 25784 | |
| 25785 | _ACEOF |
| 25786 | if ac_fn_c_try_link "$LINENO"; then : |
| 25787 | gcc_cv_math_func_catanf=yes |
| 25788 | else |
| 25789 | gcc_cv_math_func_catanf=no |
| 25790 | fi |
| 25791 | rm -f core conftest.err conftest.$ac_objext \ |
| 25792 | conftest$ac_exeext conftest.$ac_ext |
| 25793 | fi |
| 25794 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5 |
| 25795 | $as_echo "$gcc_cv_math_func_catanf" >&6; } |
| 25796 | if test $gcc_cv_math_func_catanf = yes; then |
| 25797 | |
| 25798 | cat >>confdefs.h <<_ACEOF |
| 25799 | #define HAVE_CATANF 1 |
| 25800 | _ACEOF |
| 25801 | |
| 25802 | fi |
| 25803 | |
| 25804 | |
| 25805 | |
| 25806 | |
| 25807 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5 |
| 25808 | $as_echo_n "checking for catanh... " >&6; } |
| 25809 | if ${gcc_cv_math_func_catanh+:} false; then : |
| 25810 | $as_echo_n "(cached) " >&6 |
| 25811 | else |
| 25812 | if test x$gcc_no_link = xyes; then |
| 25813 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25814 | fi |
| 25815 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25816 | /* end confdefs.h. */ |
| 25817 | |
| 25818 | #ifdef HAVE_COMPLEX_H |
| 25819 | #include <complex.h> |
| 25820 | #endif |
| 25821 | #ifdef HAVE_MATH_H |
| 25822 | #include <math.h> |
| 25823 | #endif |
| 25824 | |
| 25825 | int (*ptr)() = (int (*)())catanh; |
| 25826 | |
| 25827 | int |
| 25828 | main () |
| 25829 | { |
| 25830 | return 0; |
| 25831 | } |
| 25832 | |
| 25833 | _ACEOF |
| 25834 | if ac_fn_c_try_link "$LINENO"; then : |
| 25835 | gcc_cv_math_func_catanh=yes |
| 25836 | else |
| 25837 | gcc_cv_math_func_catanh=no |
| 25838 | fi |
| 25839 | rm -f core conftest.err conftest.$ac_objext \ |
| 25840 | conftest$ac_exeext conftest.$ac_ext |
| 25841 | fi |
| 25842 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5 |
| 25843 | $as_echo "$gcc_cv_math_func_catanh" >&6; } |
| 25844 | if test $gcc_cv_math_func_catanh = yes; then |
| 25845 | |
| 25846 | cat >>confdefs.h <<_ACEOF |
| 25847 | #define HAVE_CATANH 1 |
| 25848 | _ACEOF |
| 25849 | |
| 25850 | fi |
| 25851 | |
| 25852 | |
| 25853 | |
| 25854 | |
| 25855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5 |
| 25856 | $as_echo_n "checking for catanhf... " >&6; } |
| 25857 | if ${gcc_cv_math_func_catanhf+:} false; then : |
| 25858 | $as_echo_n "(cached) " >&6 |
| 25859 | else |
| 25860 | if test x$gcc_no_link = xyes; then |
| 25861 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25862 | fi |
| 25863 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25864 | /* end confdefs.h. */ |
| 25865 | |
| 25866 | #ifdef HAVE_COMPLEX_H |
| 25867 | #include <complex.h> |
| 25868 | #endif |
| 25869 | #ifdef HAVE_MATH_H |
| 25870 | #include <math.h> |
| 25871 | #endif |
| 25872 | |
| 25873 | int (*ptr)() = (int (*)())catanhf; |
| 25874 | |
| 25875 | int |
| 25876 | main () |
| 25877 | { |
| 25878 | return 0; |
| 25879 | } |
| 25880 | |
| 25881 | _ACEOF |
| 25882 | if ac_fn_c_try_link "$LINENO"; then : |
| 25883 | gcc_cv_math_func_catanhf=yes |
| 25884 | else |
| 25885 | gcc_cv_math_func_catanhf=no |
| 25886 | fi |
| 25887 | rm -f core conftest.err conftest.$ac_objext \ |
| 25888 | conftest$ac_exeext conftest.$ac_ext |
| 25889 | fi |
| 25890 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5 |
| 25891 | $as_echo "$gcc_cv_math_func_catanhf" >&6; } |
| 25892 | if test $gcc_cv_math_func_catanhf = yes; then |
| 25893 | |
| 25894 | cat >>confdefs.h <<_ACEOF |
| 25895 | #define HAVE_CATANHF 1 |
| 25896 | _ACEOF |
| 25897 | |
| 25898 | fi |
| 25899 | |
| 25900 | |
| 25901 | |
| 25902 | |
| 25903 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5 |
| 25904 | $as_echo_n "checking for catanhl... " >&6; } |
| 25905 | if ${gcc_cv_math_func_catanhl+:} false; then : |
| 25906 | $as_echo_n "(cached) " >&6 |
| 25907 | else |
| 25908 | if test x$gcc_no_link = xyes; then |
| 25909 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25910 | fi |
| 25911 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25912 | /* end confdefs.h. */ |
| 25913 | |
| 25914 | #ifdef HAVE_COMPLEX_H |
| 25915 | #include <complex.h> |
| 25916 | #endif |
| 25917 | #ifdef HAVE_MATH_H |
| 25918 | #include <math.h> |
| 25919 | #endif |
| 25920 | |
| 25921 | int (*ptr)() = (int (*)())catanhl; |
| 25922 | |
| 25923 | int |
| 25924 | main () |
| 25925 | { |
| 25926 | return 0; |
| 25927 | } |
| 25928 | |
| 25929 | _ACEOF |
| 25930 | if ac_fn_c_try_link "$LINENO"; then : |
| 25931 | gcc_cv_math_func_catanhl=yes |
| 25932 | else |
| 25933 | gcc_cv_math_func_catanhl=no |
| 25934 | fi |
| 25935 | rm -f core conftest.err conftest.$ac_objext \ |
| 25936 | conftest$ac_exeext conftest.$ac_ext |
| 25937 | fi |
| 25938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5 |
| 25939 | $as_echo "$gcc_cv_math_func_catanhl" >&6; } |
| 25940 | if test $gcc_cv_math_func_catanhl = yes; then |
| 25941 | |
| 25942 | cat >>confdefs.h <<_ACEOF |
| 25943 | #define HAVE_CATANHL 1 |
| 25944 | _ACEOF |
| 25945 | |
| 25946 | fi |
| 25947 | |
| 25948 | |
| 25949 | |
| 25950 | |
| 25951 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5 |
| 25952 | $as_echo_n "checking for catanl... " >&6; } |
| 25953 | if ${gcc_cv_math_func_catanl+:} false; then : |
| 25954 | $as_echo_n "(cached) " >&6 |
| 25955 | else |
| 25956 | if test x$gcc_no_link = xyes; then |
| 25957 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 25958 | fi |
| 25959 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25960 | /* end confdefs.h. */ |
| 25961 | |
| 25962 | #ifdef HAVE_COMPLEX_H |
| 25963 | #include <complex.h> |
| 25964 | #endif |
| 25965 | #ifdef HAVE_MATH_H |
| 25966 | #include <math.h> |
| 25967 | #endif |
| 25968 | |
| 25969 | int (*ptr)() = (int (*)())catanl; |
| 25970 | |
| 25971 | int |
| 25972 | main () |
| 25973 | { |
| 25974 | return 0; |
| 25975 | } |
| 25976 | |
| 25977 | _ACEOF |
| 25978 | if ac_fn_c_try_link "$LINENO"; then : |
| 25979 | gcc_cv_math_func_catanl=yes |
| 25980 | else |
| 25981 | gcc_cv_math_func_catanl=no |
| 25982 | fi |
| 25983 | rm -f core conftest.err conftest.$ac_objext \ |
| 25984 | conftest$ac_exeext conftest.$ac_ext |
| 25985 | fi |
| 25986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5 |
| 25987 | $as_echo "$gcc_cv_math_func_catanl" >&6; } |
| 25988 | if test $gcc_cv_math_func_catanl = yes; then |
| 25989 | |
| 25990 | cat >>confdefs.h <<_ACEOF |
| 25991 | #define HAVE_CATANL 1 |
| 25992 | _ACEOF |
| 25993 | |
| 25994 | fi |
| 25995 | |
| 25996 | |
| 25997 | # For POWER, check the ieee128 math functions |
| 25998 | |
| 25999 | if test "x$have_real_17" = "xyes"; then |
| 26000 | |
| 26001 | cat >>confdefs.h <<_ACEOF |
| 26002 | #define HAVE_REAL_17 1 |
| 26003 | _ACEOF |
| 26004 | |
| 26005 | |
| 26006 | |
| 26007 | |
| 26008 | |
| 26009 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5 |
| 26010 | $as_echo_n "checking for __acoshieee128... " >&6; } |
| 26011 | if ${gcc_cv_math_func___acoshieee128+:} false; then : |
| 26012 | $as_echo_n "(cached) " >&6 |
| 26013 | else |
| 26014 | if test x$gcc_no_link = xyes; then |
| 26015 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26016 | fi |
| 26017 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26018 | /* end confdefs.h. */ |
| 26019 | |
| 26020 | _Float128 __acoshieee128 (_Float128); |
| 26021 | _Float128 (*ptr)(_Float128) = __acoshieee128; |
| 26022 | |
| 26023 | int |
| 26024 | main () |
| 26025 | { |
| 26026 | return 0; |
| 26027 | } |
| 26028 | |
| 26029 | _ACEOF |
| 26030 | if ac_fn_c_try_link "$LINENO"; then : |
| 26031 | gcc_cv_math_func___acoshieee128=yes |
| 26032 | else |
| 26033 | gcc_cv_math_func___acoshieee128=no |
| 26034 | fi |
| 26035 | rm -f core conftest.err conftest.$ac_objext \ |
| 26036 | conftest$ac_exeext conftest.$ac_ext |
| 26037 | fi |
| 26038 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5 |
| 26039 | $as_echo "$gcc_cv_math_func___acoshieee128" >&6; } |
| 26040 | if test $gcc_cv_math_func___acoshieee128 = yes; then |
| 26041 | |
| 26042 | cat >>confdefs.h <<_ACEOF |
| 26043 | #define HAVE___ACOSHIEEE128 1 |
| 26044 | _ACEOF |
| 26045 | |
| 26046 | fi |
| 26047 | |
| 26048 | |
| 26049 | |
| 26050 | |
| 26051 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5 |
| 26052 | $as_echo_n "checking for __acosieee128... " >&6; } |
| 26053 | if ${gcc_cv_math_func___acosieee128+:} false; then : |
| 26054 | $as_echo_n "(cached) " >&6 |
| 26055 | else |
| 26056 | if test x$gcc_no_link = xyes; then |
| 26057 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26058 | fi |
| 26059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26060 | /* end confdefs.h. */ |
| 26061 | |
| 26062 | _Float128 __acosieee128 (_Float128); |
| 26063 | _Float128 (*ptr)(_Float128) = __acosieee128; |
| 26064 | |
| 26065 | int |
| 26066 | main () |
| 26067 | { |
| 26068 | return 0; |
| 26069 | } |
| 26070 | |
| 26071 | _ACEOF |
| 26072 | if ac_fn_c_try_link "$LINENO"; then : |
| 26073 | gcc_cv_math_func___acosieee128=yes |
| 26074 | else |
| 26075 | gcc_cv_math_func___acosieee128=no |
| 26076 | fi |
| 26077 | rm -f core conftest.err conftest.$ac_objext \ |
| 26078 | conftest$ac_exeext conftest.$ac_ext |
| 26079 | fi |
| 26080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5 |
| 26081 | $as_echo "$gcc_cv_math_func___acosieee128" >&6; } |
| 26082 | if test $gcc_cv_math_func___acosieee128 = yes; then |
| 26083 | |
| 26084 | cat >>confdefs.h <<_ACEOF |
| 26085 | #define HAVE___ACOSIEEE128 1 |
| 26086 | _ACEOF |
| 26087 | |
| 26088 | fi |
| 26089 | |
| 26090 | |
| 26091 | |
| 26092 | |
| 26093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5 |
| 26094 | $as_echo_n "checking for __asinhieee128... " >&6; } |
| 26095 | if ${gcc_cv_math_func___asinhieee128+:} false; then : |
| 26096 | $as_echo_n "(cached) " >&6 |
| 26097 | else |
| 26098 | if test x$gcc_no_link = xyes; then |
| 26099 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26100 | fi |
| 26101 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26102 | /* end confdefs.h. */ |
| 26103 | |
| 26104 | _Float128 __asinhieee128 (_Float128); |
| 26105 | _Float128 (*ptr)(_Float128) = __asinhieee128; |
| 26106 | |
| 26107 | int |
| 26108 | main () |
| 26109 | { |
| 26110 | return 0; |
| 26111 | } |
| 26112 | |
| 26113 | _ACEOF |
| 26114 | if ac_fn_c_try_link "$LINENO"; then : |
| 26115 | gcc_cv_math_func___asinhieee128=yes |
| 26116 | else |
| 26117 | gcc_cv_math_func___asinhieee128=no |
| 26118 | fi |
| 26119 | rm -f core conftest.err conftest.$ac_objext \ |
| 26120 | conftest$ac_exeext conftest.$ac_ext |
| 26121 | fi |
| 26122 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5 |
| 26123 | $as_echo "$gcc_cv_math_func___asinhieee128" >&6; } |
| 26124 | if test $gcc_cv_math_func___asinhieee128 = yes; then |
| 26125 | |
| 26126 | cat >>confdefs.h <<_ACEOF |
| 26127 | #define HAVE___ASINHIEEE128 1 |
| 26128 | _ACEOF |
| 26129 | |
| 26130 | fi |
| 26131 | |
| 26132 | |
| 26133 | |
| 26134 | |
| 26135 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5 |
| 26136 | $as_echo_n "checking for __asinieee128... " >&6; } |
| 26137 | if ${gcc_cv_math_func___asinieee128+:} false; then : |
| 26138 | $as_echo_n "(cached) " >&6 |
| 26139 | else |
| 26140 | if test x$gcc_no_link = xyes; then |
| 26141 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26142 | fi |
| 26143 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26144 | /* end confdefs.h. */ |
| 26145 | |
| 26146 | _Float128 __asinieee128 (_Float128); |
| 26147 | _Float128 (*ptr)(_Float128) = __asinieee128; |
| 26148 | |
| 26149 | int |
| 26150 | main () |
| 26151 | { |
| 26152 | return 0; |
| 26153 | } |
| 26154 | |
| 26155 | _ACEOF |
| 26156 | if ac_fn_c_try_link "$LINENO"; then : |
| 26157 | gcc_cv_math_func___asinieee128=yes |
| 26158 | else |
| 26159 | gcc_cv_math_func___asinieee128=no |
| 26160 | fi |
| 26161 | rm -f core conftest.err conftest.$ac_objext \ |
| 26162 | conftest$ac_exeext conftest.$ac_ext |
| 26163 | fi |
| 26164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5 |
| 26165 | $as_echo "$gcc_cv_math_func___asinieee128" >&6; } |
| 26166 | if test $gcc_cv_math_func___asinieee128 = yes; then |
| 26167 | |
| 26168 | cat >>confdefs.h <<_ACEOF |
| 26169 | #define HAVE___ASINIEEE128 1 |
| 26170 | _ACEOF |
| 26171 | |
| 26172 | fi |
| 26173 | |
| 26174 | |
| 26175 | |
| 26176 | |
| 26177 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5 |
| 26178 | $as_echo_n "checking for __atan2ieee128... " >&6; } |
| 26179 | if ${gcc_cv_math_func___atan2ieee128+:} false; then : |
| 26180 | $as_echo_n "(cached) " >&6 |
| 26181 | else |
| 26182 | if test x$gcc_no_link = xyes; then |
| 26183 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26184 | fi |
| 26185 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26186 | /* end confdefs.h. */ |
| 26187 | |
| 26188 | _Float128 __atan2ieee128 (_Float128); |
| 26189 | _Float128 (*ptr)(_Float128) = __atan2ieee128; |
| 26190 | |
| 26191 | int |
| 26192 | main () |
| 26193 | { |
| 26194 | return 0; |
| 26195 | } |
| 26196 | |
| 26197 | _ACEOF |
| 26198 | if ac_fn_c_try_link "$LINENO"; then : |
| 26199 | gcc_cv_math_func___atan2ieee128=yes |
| 26200 | else |
| 26201 | gcc_cv_math_func___atan2ieee128=no |
| 26202 | fi |
| 26203 | rm -f core conftest.err conftest.$ac_objext \ |
| 26204 | conftest$ac_exeext conftest.$ac_ext |
| 26205 | fi |
| 26206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5 |
| 26207 | $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; } |
| 26208 | if test $gcc_cv_math_func___atan2ieee128 = yes; then |
| 26209 | |
| 26210 | cat >>confdefs.h <<_ACEOF |
| 26211 | #define HAVE___ATAN2IEEE128 1 |
| 26212 | _ACEOF |
| 26213 | |
| 26214 | fi |
| 26215 | |
| 26216 | |
| 26217 | |
| 26218 | |
| 26219 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5 |
| 26220 | $as_echo_n "checking for __atanhieee128... " >&6; } |
| 26221 | if ${gcc_cv_math_func___atanhieee128+:} false; then : |
| 26222 | $as_echo_n "(cached) " >&6 |
| 26223 | else |
| 26224 | if test x$gcc_no_link = xyes; then |
| 26225 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26226 | fi |
| 26227 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26228 | /* end confdefs.h. */ |
| 26229 | |
| 26230 | _Float128 __atanhieee128 (_Float128); |
| 26231 | _Float128 (*ptr)(_Float128) = __atanhieee128; |
| 26232 | |
| 26233 | int |
| 26234 | main () |
| 26235 | { |
| 26236 | return 0; |
| 26237 | } |
| 26238 | |
| 26239 | _ACEOF |
| 26240 | if ac_fn_c_try_link "$LINENO"; then : |
| 26241 | gcc_cv_math_func___atanhieee128=yes |
| 26242 | else |
| 26243 | gcc_cv_math_func___atanhieee128=no |
| 26244 | fi |
| 26245 | rm -f core conftest.err conftest.$ac_objext \ |
| 26246 | conftest$ac_exeext conftest.$ac_ext |
| 26247 | fi |
| 26248 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5 |
| 26249 | $as_echo "$gcc_cv_math_func___atanhieee128" >&6; } |
| 26250 | if test $gcc_cv_math_func___atanhieee128 = yes; then |
| 26251 | |
| 26252 | cat >>confdefs.h <<_ACEOF |
| 26253 | #define HAVE___ATANHIEEE128 1 |
| 26254 | _ACEOF |
| 26255 | |
| 26256 | fi |
| 26257 | |
| 26258 | |
| 26259 | |
| 26260 | |
| 26261 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5 |
| 26262 | $as_echo_n "checking for __atanieee128... " >&6; } |
| 26263 | if ${gcc_cv_math_func___atanieee128+:} false; then : |
| 26264 | $as_echo_n "(cached) " >&6 |
| 26265 | else |
| 26266 | if test x$gcc_no_link = xyes; then |
| 26267 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26268 | fi |
| 26269 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26270 | /* end confdefs.h. */ |
| 26271 | |
| 26272 | _Float128 __atanieee128 (_Float128); |
| 26273 | _Float128 (*ptr)(_Float128) = __atanieee128; |
| 26274 | |
| 26275 | int |
| 26276 | main () |
| 26277 | { |
| 26278 | return 0; |
| 26279 | } |
| 26280 | |
| 26281 | _ACEOF |
| 26282 | if ac_fn_c_try_link "$LINENO"; then : |
| 26283 | gcc_cv_math_func___atanieee128=yes |
| 26284 | else |
| 26285 | gcc_cv_math_func___atanieee128=no |
| 26286 | fi |
| 26287 | rm -f core conftest.err conftest.$ac_objext \ |
| 26288 | conftest$ac_exeext conftest.$ac_ext |
| 26289 | fi |
| 26290 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5 |
| 26291 | $as_echo "$gcc_cv_math_func___atanieee128" >&6; } |
| 26292 | if test $gcc_cv_math_func___atanieee128 = yes; then |
| 26293 | |
| 26294 | cat >>confdefs.h <<_ACEOF |
| 26295 | #define HAVE___ATANIEEE128 1 |
| 26296 | _ACEOF |
| 26297 | |
| 26298 | fi |
| 26299 | |
| 26300 | |
| 26301 | |
| 26302 | |
| 26303 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5 |
| 26304 | $as_echo_n "checking for __coshieee128... " >&6; } |
| 26305 | if ${gcc_cv_math_func___coshieee128+:} false; then : |
| 26306 | $as_echo_n "(cached) " >&6 |
| 26307 | else |
| 26308 | if test x$gcc_no_link = xyes; then |
| 26309 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26310 | fi |
| 26311 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26312 | /* end confdefs.h. */ |
| 26313 | |
| 26314 | _Float128 __coshieee128 (_Float128); |
| 26315 | _Float128 (*ptr)(_Float128) = __coshieee128; |
| 26316 | |
| 26317 | int |
| 26318 | main () |
| 26319 | { |
| 26320 | return 0; |
| 26321 | } |
| 26322 | |
| 26323 | _ACEOF |
| 26324 | if ac_fn_c_try_link "$LINENO"; then : |
| 26325 | gcc_cv_math_func___coshieee128=yes |
| 26326 | else |
| 26327 | gcc_cv_math_func___coshieee128=no |
| 26328 | fi |
| 26329 | rm -f core conftest.err conftest.$ac_objext \ |
| 26330 | conftest$ac_exeext conftest.$ac_ext |
| 26331 | fi |
| 26332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5 |
| 26333 | $as_echo "$gcc_cv_math_func___coshieee128" >&6; } |
| 26334 | if test $gcc_cv_math_func___coshieee128 = yes; then |
| 26335 | |
| 26336 | cat >>confdefs.h <<_ACEOF |
| 26337 | #define HAVE___COSHIEEE128 1 |
| 26338 | _ACEOF |
| 26339 | |
| 26340 | fi |
| 26341 | |
| 26342 | |
| 26343 | |
| 26344 | |
| 26345 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5 |
| 26346 | $as_echo_n "checking for __cosieee128... " >&6; } |
| 26347 | if ${gcc_cv_math_func___cosieee128+:} false; then : |
| 26348 | $as_echo_n "(cached) " >&6 |
| 26349 | else |
| 26350 | if test x$gcc_no_link = xyes; then |
| 26351 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26352 | fi |
| 26353 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26354 | /* end confdefs.h. */ |
| 26355 | |
| 26356 | _Float128 __cosieee128 (_Float128); |
| 26357 | _Float128 (*ptr)(_Float128) = __cosieee128; |
| 26358 | |
| 26359 | int |
| 26360 | main () |
| 26361 | { |
| 26362 | return 0; |
| 26363 | } |
| 26364 | |
| 26365 | _ACEOF |
| 26366 | if ac_fn_c_try_link "$LINENO"; then : |
| 26367 | gcc_cv_math_func___cosieee128=yes |
| 26368 | else |
| 26369 | gcc_cv_math_func___cosieee128=no |
| 26370 | fi |
| 26371 | rm -f core conftest.err conftest.$ac_objext \ |
| 26372 | conftest$ac_exeext conftest.$ac_ext |
| 26373 | fi |
| 26374 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5 |
| 26375 | $as_echo "$gcc_cv_math_func___cosieee128" >&6; } |
| 26376 | if test $gcc_cv_math_func___cosieee128 = yes; then |
| 26377 | |
| 26378 | cat >>confdefs.h <<_ACEOF |
| 26379 | #define HAVE___COSIEEE128 1 |
| 26380 | _ACEOF |
| 26381 | |
| 26382 | fi |
| 26383 | |
| 26384 | |
| 26385 | |
| 26386 | |
| 26387 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5 |
| 26388 | $as_echo_n "checking for __erfieee128... " >&6; } |
| 26389 | if ${gcc_cv_math_func___erfieee128+:} false; then : |
| 26390 | $as_echo_n "(cached) " >&6 |
| 26391 | else |
| 26392 | if test x$gcc_no_link = xyes; then |
| 26393 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26394 | fi |
| 26395 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26396 | /* end confdefs.h. */ |
| 26397 | |
| 26398 | _Float128 __erfieee128 (_Float128); |
| 26399 | _Float128 (*ptr)(_Float128) = __erfieee128; |
| 26400 | |
| 26401 | int |
| 26402 | main () |
| 26403 | { |
| 26404 | return 0; |
| 26405 | } |
| 26406 | |
| 26407 | _ACEOF |
| 26408 | if ac_fn_c_try_link "$LINENO"; then : |
| 26409 | gcc_cv_math_func___erfieee128=yes |
| 26410 | else |
| 26411 | gcc_cv_math_func___erfieee128=no |
| 26412 | fi |
| 26413 | rm -f core conftest.err conftest.$ac_objext \ |
| 26414 | conftest$ac_exeext conftest.$ac_ext |
| 26415 | fi |
| 26416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5 |
| 26417 | $as_echo "$gcc_cv_math_func___erfieee128" >&6; } |
| 26418 | if test $gcc_cv_math_func___erfieee128 = yes; then |
| 26419 | |
| 26420 | cat >>confdefs.h <<_ACEOF |
| 26421 | #define HAVE___ERFIEEE128 1 |
| 26422 | _ACEOF |
| 26423 | |
| 26424 | fi |
| 26425 | |
| 26426 | |
| 26427 | |
| 26428 | |
| 26429 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5 |
| 26430 | $as_echo_n "checking for __expieee128... " >&6; } |
| 26431 | if ${gcc_cv_math_func___expieee128+:} false; then : |
| 26432 | $as_echo_n "(cached) " >&6 |
| 26433 | else |
| 26434 | if test x$gcc_no_link = xyes; then |
| 26435 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26436 | fi |
| 26437 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26438 | /* end confdefs.h. */ |
| 26439 | |
| 26440 | _Float128 __expieee128 (_Float128); |
| 26441 | _Float128 (*ptr)(_Float128) = __expieee128; |
| 26442 | |
| 26443 | int |
| 26444 | main () |
| 26445 | { |
| 26446 | return 0; |
| 26447 | } |
| 26448 | |
| 26449 | _ACEOF |
| 26450 | if ac_fn_c_try_link "$LINENO"; then : |
| 26451 | gcc_cv_math_func___expieee128=yes |
| 26452 | else |
| 26453 | gcc_cv_math_func___expieee128=no |
| 26454 | fi |
| 26455 | rm -f core conftest.err conftest.$ac_objext \ |
| 26456 | conftest$ac_exeext conftest.$ac_ext |
| 26457 | fi |
| 26458 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5 |
| 26459 | $as_echo "$gcc_cv_math_func___expieee128" >&6; } |
| 26460 | if test $gcc_cv_math_func___expieee128 = yes; then |
| 26461 | |
| 26462 | cat >>confdefs.h <<_ACEOF |
| 26463 | #define HAVE___EXPIEEE128 1 |
| 26464 | _ACEOF |
| 26465 | |
| 26466 | fi |
| 26467 | |
| 26468 | |
| 26469 | |
| 26470 | |
| 26471 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5 |
| 26472 | $as_echo_n "checking for __fabsieee128... " >&6; } |
| 26473 | if ${gcc_cv_math_func___fabsieee128+:} false; then : |
| 26474 | $as_echo_n "(cached) " >&6 |
| 26475 | else |
| 26476 | if test x$gcc_no_link = xyes; then |
| 26477 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26478 | fi |
| 26479 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26480 | /* end confdefs.h. */ |
| 26481 | |
| 26482 | _Float128 __fabsieee128 (_Float128); |
| 26483 | _Float128 (*ptr)(_Float128) = __fabsieee128; |
| 26484 | |
| 26485 | int |
| 26486 | main () |
| 26487 | { |
| 26488 | return 0; |
| 26489 | } |
| 26490 | |
| 26491 | _ACEOF |
| 26492 | if ac_fn_c_try_link "$LINENO"; then : |
| 26493 | gcc_cv_math_func___fabsieee128=yes |
| 26494 | else |
| 26495 | gcc_cv_math_func___fabsieee128=no |
| 26496 | fi |
| 26497 | rm -f core conftest.err conftest.$ac_objext \ |
| 26498 | conftest$ac_exeext conftest.$ac_ext |
| 26499 | fi |
| 26500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5 |
| 26501 | $as_echo "$gcc_cv_math_func___fabsieee128" >&6; } |
| 26502 | if test $gcc_cv_math_func___fabsieee128 = yes; then |
| 26503 | |
| 26504 | cat >>confdefs.h <<_ACEOF |
| 26505 | #define HAVE___FABSIEEE128 1 |
| 26506 | _ACEOF |
| 26507 | |
| 26508 | fi |
| 26509 | |
| 26510 | |
| 26511 | |
| 26512 | |
| 26513 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5 |
| 26514 | $as_echo_n "checking for __jnieee128... " >&6; } |
| 26515 | if ${gcc_cv_math_func___jnieee128+:} false; then : |
| 26516 | $as_echo_n "(cached) " >&6 |
| 26517 | else |
| 26518 | if test x$gcc_no_link = xyes; then |
| 26519 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26520 | fi |
| 26521 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26522 | /* end confdefs.h. */ |
| 26523 | |
| 26524 | _Float128 __jnieee128 (_Float128); |
| 26525 | _Float128 (*ptr)(_Float128) = __jnieee128; |
| 26526 | |
| 26527 | int |
| 26528 | main () |
| 26529 | { |
| 26530 | return 0; |
| 26531 | } |
| 26532 | |
| 26533 | _ACEOF |
| 26534 | if ac_fn_c_try_link "$LINENO"; then : |
| 26535 | gcc_cv_math_func___jnieee128=yes |
| 26536 | else |
| 26537 | gcc_cv_math_func___jnieee128=no |
| 26538 | fi |
| 26539 | rm -f core conftest.err conftest.$ac_objext \ |
| 26540 | conftest$ac_exeext conftest.$ac_ext |
| 26541 | fi |
| 26542 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5 |
| 26543 | $as_echo "$gcc_cv_math_func___jnieee128" >&6; } |
| 26544 | if test $gcc_cv_math_func___jnieee128 = yes; then |
| 26545 | |
| 26546 | cat >>confdefs.h <<_ACEOF |
| 26547 | #define HAVE___JNIEEE128 1 |
| 26548 | _ACEOF |
| 26549 | |
| 26550 | fi |
| 26551 | |
| 26552 | |
| 26553 | |
| 26554 | |
| 26555 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5 |
| 26556 | $as_echo_n "checking for __log10ieee128... " >&6; } |
| 26557 | if ${gcc_cv_math_func___log10ieee128+:} false; then : |
| 26558 | $as_echo_n "(cached) " >&6 |
| 26559 | else |
| 26560 | if test x$gcc_no_link = xyes; then |
| 26561 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26562 | fi |
| 26563 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26564 | /* end confdefs.h. */ |
| 26565 | |
| 26566 | _Float128 __log10ieee128 (_Float128); |
| 26567 | _Float128 (*ptr)(_Float128) = __log10ieee128; |
| 26568 | |
| 26569 | int |
| 26570 | main () |
| 26571 | { |
| 26572 | return 0; |
| 26573 | } |
| 26574 | |
| 26575 | _ACEOF |
| 26576 | if ac_fn_c_try_link "$LINENO"; then : |
| 26577 | gcc_cv_math_func___log10ieee128=yes |
| 26578 | else |
| 26579 | gcc_cv_math_func___log10ieee128=no |
| 26580 | fi |
| 26581 | rm -f core conftest.err conftest.$ac_objext \ |
| 26582 | conftest$ac_exeext conftest.$ac_ext |
| 26583 | fi |
| 26584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5 |
| 26585 | $as_echo "$gcc_cv_math_func___log10ieee128" >&6; } |
| 26586 | if test $gcc_cv_math_func___log10ieee128 = yes; then |
| 26587 | |
| 26588 | cat >>confdefs.h <<_ACEOF |
| 26589 | #define HAVE___LOG10IEEE128 1 |
| 26590 | _ACEOF |
| 26591 | |
| 26592 | fi |
| 26593 | |
| 26594 | |
| 26595 | |
| 26596 | |
| 26597 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5 |
| 26598 | $as_echo_n "checking for __logieee128... " >&6; } |
| 26599 | if ${gcc_cv_math_func___logieee128+:} false; then : |
| 26600 | $as_echo_n "(cached) " >&6 |
| 26601 | else |
| 26602 | if test x$gcc_no_link = xyes; then |
| 26603 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26604 | fi |
| 26605 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26606 | /* end confdefs.h. */ |
| 26607 | |
| 26608 | _Float128 __logieee128 (_Float128); |
| 26609 | _Float128 (*ptr)(_Float128) = __logieee128; |
| 26610 | |
| 26611 | int |
| 26612 | main () |
| 26613 | { |
| 26614 | return 0; |
| 26615 | } |
| 26616 | |
| 26617 | _ACEOF |
| 26618 | if ac_fn_c_try_link "$LINENO"; then : |
| 26619 | gcc_cv_math_func___logieee128=yes |
| 26620 | else |
| 26621 | gcc_cv_math_func___logieee128=no |
| 26622 | fi |
| 26623 | rm -f core conftest.err conftest.$ac_objext \ |
| 26624 | conftest$ac_exeext conftest.$ac_ext |
| 26625 | fi |
| 26626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5 |
| 26627 | $as_echo "$gcc_cv_math_func___logieee128" >&6; } |
| 26628 | if test $gcc_cv_math_func___logieee128 = yes; then |
| 26629 | |
| 26630 | cat >>confdefs.h <<_ACEOF |
| 26631 | #define HAVE___LOGIEEE128 1 |
| 26632 | _ACEOF |
| 26633 | |
| 26634 | fi |
| 26635 | |
| 26636 | |
| 26637 | |
| 26638 | |
| 26639 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5 |
| 26640 | $as_echo_n "checking for __powieee128... " >&6; } |
| 26641 | if ${gcc_cv_math_func___powieee128+:} false; then : |
| 26642 | $as_echo_n "(cached) " >&6 |
| 26643 | else |
| 26644 | if test x$gcc_no_link = xyes; then |
| 26645 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26646 | fi |
| 26647 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26648 | /* end confdefs.h. */ |
| 26649 | |
| 26650 | _Float128 __powieee128 (_Float128); |
| 26651 | _Float128 (*ptr)(_Float128) = __powieee128; |
| 26652 | |
| 26653 | int |
| 26654 | main () |
| 26655 | { |
| 26656 | return 0; |
| 26657 | } |
| 26658 | |
| 26659 | _ACEOF |
| 26660 | if ac_fn_c_try_link "$LINENO"; then : |
| 26661 | gcc_cv_math_func___powieee128=yes |
| 26662 | else |
| 26663 | gcc_cv_math_func___powieee128=no |
| 26664 | fi |
| 26665 | rm -f core conftest.err conftest.$ac_objext \ |
| 26666 | conftest$ac_exeext conftest.$ac_ext |
| 26667 | fi |
| 26668 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5 |
| 26669 | $as_echo "$gcc_cv_math_func___powieee128" >&6; } |
| 26670 | if test $gcc_cv_math_func___powieee128 = yes; then |
| 26671 | |
| 26672 | cat >>confdefs.h <<_ACEOF |
| 26673 | #define HAVE___POWIEEE128 1 |
| 26674 | _ACEOF |
| 26675 | |
| 26676 | fi |
| 26677 | |
| 26678 | |
| 26679 | |
| 26680 | |
| 26681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5 |
| 26682 | $as_echo_n "checking for __sinhieee128... " >&6; } |
| 26683 | if ${gcc_cv_math_func___sinhieee128+:} false; then : |
| 26684 | $as_echo_n "(cached) " >&6 |
| 26685 | else |
| 26686 | if test x$gcc_no_link = xyes; then |
| 26687 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26688 | fi |
| 26689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26690 | /* end confdefs.h. */ |
| 26691 | |
| 26692 | _Float128 __sinhieee128 (_Float128); |
| 26693 | _Float128 (*ptr)(_Float128) = __sinhieee128; |
| 26694 | |
| 26695 | int |
| 26696 | main () |
| 26697 | { |
| 26698 | return 0; |
| 26699 | } |
| 26700 | |
| 26701 | _ACEOF |
| 26702 | if ac_fn_c_try_link "$LINENO"; then : |
| 26703 | gcc_cv_math_func___sinhieee128=yes |
| 26704 | else |
| 26705 | gcc_cv_math_func___sinhieee128=no |
| 26706 | fi |
| 26707 | rm -f core conftest.err conftest.$ac_objext \ |
| 26708 | conftest$ac_exeext conftest.$ac_ext |
| 26709 | fi |
| 26710 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5 |
| 26711 | $as_echo "$gcc_cv_math_func___sinhieee128" >&6; } |
| 26712 | if test $gcc_cv_math_func___sinhieee128 = yes; then |
| 26713 | |
| 26714 | cat >>confdefs.h <<_ACEOF |
| 26715 | #define HAVE___SINHIEEE128 1 |
| 26716 | _ACEOF |
| 26717 | |
| 26718 | fi |
| 26719 | |
| 26720 | |
| 26721 | |
| 26722 | |
| 26723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5 |
| 26724 | $as_echo_n "checking for __sinieee128... " >&6; } |
| 26725 | if ${gcc_cv_math_func___sinieee128+:} false; then : |
| 26726 | $as_echo_n "(cached) " >&6 |
| 26727 | else |
| 26728 | if test x$gcc_no_link = xyes; then |
| 26729 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26730 | fi |
| 26731 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26732 | /* end confdefs.h. */ |
| 26733 | |
| 26734 | _Float128 __sinieee128 (_Float128); |
| 26735 | _Float128 (*ptr)(_Float128) = __sinieee128; |
| 26736 | |
| 26737 | int |
| 26738 | main () |
| 26739 | { |
| 26740 | return 0; |
| 26741 | } |
| 26742 | |
| 26743 | _ACEOF |
| 26744 | if ac_fn_c_try_link "$LINENO"; then : |
| 26745 | gcc_cv_math_func___sinieee128=yes |
| 26746 | else |
| 26747 | gcc_cv_math_func___sinieee128=no |
| 26748 | fi |
| 26749 | rm -f core conftest.err conftest.$ac_objext \ |
| 26750 | conftest$ac_exeext conftest.$ac_ext |
| 26751 | fi |
| 26752 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5 |
| 26753 | $as_echo "$gcc_cv_math_func___sinieee128" >&6; } |
| 26754 | if test $gcc_cv_math_func___sinieee128 = yes; then |
| 26755 | |
| 26756 | cat >>confdefs.h <<_ACEOF |
| 26757 | #define HAVE___SINIEEE128 1 |
| 26758 | _ACEOF |
| 26759 | |
| 26760 | fi |
| 26761 | |
| 26762 | |
| 26763 | |
| 26764 | |
| 26765 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5 |
| 26766 | $as_echo_n "checking for __sqrtieee128... " >&6; } |
| 26767 | if ${gcc_cv_math_func___sqrtieee128+:} false; then : |
| 26768 | $as_echo_n "(cached) " >&6 |
| 26769 | else |
| 26770 | if test x$gcc_no_link = xyes; then |
| 26771 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26772 | fi |
| 26773 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26774 | /* end confdefs.h. */ |
| 26775 | |
| 26776 | _Float128 __sqrtieee128 (_Float128); |
| 26777 | _Float128 (*ptr)(_Float128) = __sqrtieee128; |
| 26778 | |
| 26779 | int |
| 26780 | main () |
| 26781 | { |
| 26782 | return 0; |
| 26783 | } |
| 26784 | |
| 26785 | _ACEOF |
| 26786 | if ac_fn_c_try_link "$LINENO"; then : |
| 26787 | gcc_cv_math_func___sqrtieee128=yes |
| 26788 | else |
| 26789 | gcc_cv_math_func___sqrtieee128=no |
| 26790 | fi |
| 26791 | rm -f core conftest.err conftest.$ac_objext \ |
| 26792 | conftest$ac_exeext conftest.$ac_ext |
| 26793 | fi |
| 26794 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5 |
| 26795 | $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; } |
| 26796 | if test $gcc_cv_math_func___sqrtieee128 = yes; then |
| 26797 | |
| 26798 | cat >>confdefs.h <<_ACEOF |
| 26799 | #define HAVE___SQRTIEEE128 1 |
| 26800 | _ACEOF |
| 26801 | |
| 26802 | fi |
| 26803 | |
| 26804 | |
| 26805 | |
| 26806 | |
| 26807 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5 |
| 26808 | $as_echo_n "checking for __tanhieee128... " >&6; } |
| 26809 | if ${gcc_cv_math_func___tanhieee128+:} false; then : |
| 26810 | $as_echo_n "(cached) " >&6 |
| 26811 | else |
| 26812 | if test x$gcc_no_link = xyes; then |
| 26813 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26814 | fi |
| 26815 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26816 | /* end confdefs.h. */ |
| 26817 | |
| 26818 | _Float128 __tanhieee128 (_Float128); |
| 26819 | _Float128 (*ptr)(_Float128) = __tanhieee128; |
| 26820 | |
| 26821 | int |
| 26822 | main () |
| 26823 | { |
| 26824 | return 0; |
| 26825 | } |
| 26826 | |
| 26827 | _ACEOF |
| 26828 | if ac_fn_c_try_link "$LINENO"; then : |
| 26829 | gcc_cv_math_func___tanhieee128=yes |
| 26830 | else |
| 26831 | gcc_cv_math_func___tanhieee128=no |
| 26832 | fi |
| 26833 | rm -f core conftest.err conftest.$ac_objext \ |
| 26834 | conftest$ac_exeext conftest.$ac_ext |
| 26835 | fi |
| 26836 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5 |
| 26837 | $as_echo "$gcc_cv_math_func___tanhieee128" >&6; } |
| 26838 | if test $gcc_cv_math_func___tanhieee128 = yes; then |
| 26839 | |
| 26840 | cat >>confdefs.h <<_ACEOF |
| 26841 | #define HAVE___TANHIEEE128 1 |
| 26842 | _ACEOF |
| 26843 | |
| 26844 | fi |
| 26845 | |
| 26846 | |
| 26847 | |
| 26848 | |
| 26849 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5 |
| 26850 | $as_echo_n "checking for __tanieee128... " >&6; } |
| 26851 | if ${gcc_cv_math_func___tanieee128+:} false; then : |
| 26852 | $as_echo_n "(cached) " >&6 |
| 26853 | else |
| 26854 | if test x$gcc_no_link = xyes; then |
| 26855 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26856 | fi |
| 26857 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26858 | /* end confdefs.h. */ |
| 26859 | |
| 26860 | _Float128 __tanieee128 (_Float128); |
| 26861 | _Float128 (*ptr)(_Float128) = __tanieee128; |
| 26862 | |
| 26863 | int |
| 26864 | main () |
| 26865 | { |
| 26866 | return 0; |
| 26867 | } |
| 26868 | |
| 26869 | _ACEOF |
| 26870 | if ac_fn_c_try_link "$LINENO"; then : |
| 26871 | gcc_cv_math_func___tanieee128=yes |
| 26872 | else |
| 26873 | gcc_cv_math_func___tanieee128=no |
| 26874 | fi |
| 26875 | rm -f core conftest.err conftest.$ac_objext \ |
| 26876 | conftest$ac_exeext conftest.$ac_ext |
| 26877 | fi |
| 26878 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5 |
| 26879 | $as_echo "$gcc_cv_math_func___tanieee128" >&6; } |
| 26880 | if test $gcc_cv_math_func___tanieee128 = yes; then |
| 26881 | |
| 26882 | cat >>confdefs.h <<_ACEOF |
| 26883 | #define HAVE___TANIEEE128 1 |
| 26884 | _ACEOF |
| 26885 | |
| 26886 | fi |
| 26887 | |
| 26888 | |
| 26889 | |
| 26890 | |
| 26891 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5 |
| 26892 | $as_echo_n "checking for __ynieee128... " >&6; } |
| 26893 | if ${gcc_cv_math_func___ynieee128+:} false; then : |
| 26894 | $as_echo_n "(cached) " >&6 |
| 26895 | else |
| 26896 | if test x$gcc_no_link = xyes; then |
| 26897 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26898 | fi |
| 26899 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26900 | /* end confdefs.h. */ |
| 26901 | |
| 26902 | _Float128 __ynieee128 (_Float128); |
| 26903 | _Float128 (*ptr)(_Float128) = __ynieee128; |
| 26904 | |
| 26905 | int |
| 26906 | main () |
| 26907 | { |
| 26908 | return 0; |
| 26909 | } |
| 26910 | |
| 26911 | _ACEOF |
| 26912 | if ac_fn_c_try_link "$LINENO"; then : |
| 26913 | gcc_cv_math_func___ynieee128=yes |
| 26914 | else |
| 26915 | gcc_cv_math_func___ynieee128=no |
| 26916 | fi |
| 26917 | rm -f core conftest.err conftest.$ac_objext \ |
| 26918 | conftest$ac_exeext conftest.$ac_ext |
| 26919 | fi |
| 26920 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5 |
| 26921 | $as_echo "$gcc_cv_math_func___ynieee128" >&6; } |
| 26922 | if test $gcc_cv_math_func___ynieee128 = yes; then |
| 26923 | |
| 26924 | cat >>confdefs.h <<_ACEOF |
| 26925 | #define HAVE___YNIEEE128 1 |
| 26926 | _ACEOF |
| 26927 | |
| 26928 | fi |
| 26929 | |
| 26930 | fi |
| 26931 | |
| 26932 | # On AIX, clog is present in libm as __clog |
| 26933 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5 |
| 26934 | $as_echo_n "checking for __clog in -lm... " >&6; } |
| 26935 | if ${ac_cv_lib_m___clog+:} false; then : |
| 26936 | $as_echo_n "(cached) " >&6 |
| 26937 | else |
| 26938 | ac_check_lib_save_LIBS=$LIBS |
| 26939 | LIBS="-lm $LIBS" |
| 26940 | if test x$gcc_no_link = xyes; then |
| 26941 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26942 | fi |
| 26943 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26944 | /* end confdefs.h. */ |
| 26945 | |
| 26946 | /* Override any GCC internal prototype to avoid an error. |
| 26947 | Use char because int might match the return type of a GCC |
| 26948 | builtin and then its argument prototype would still apply. */ |
| 26949 | #ifdef __cplusplus |
| 26950 | extern "C" |
| 26951 | #endif |
| 26952 | char __clog (); |
| 26953 | int |
| 26954 | main () |
| 26955 | { |
| 26956 | return __clog (); |
| 26957 | ; |
| 26958 | return 0; |
| 26959 | } |
| 26960 | _ACEOF |
| 26961 | if ac_fn_c_try_link "$LINENO"; then : |
| 26962 | ac_cv_lib_m___clog=yes |
| 26963 | else |
| 26964 | ac_cv_lib_m___clog=no |
| 26965 | fi |
| 26966 | rm -f core conftest.err conftest.$ac_objext \ |
| 26967 | conftest$ac_exeext conftest.$ac_ext |
| 26968 | LIBS=$ac_check_lib_save_LIBS |
| 26969 | fi |
| 26970 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5 |
| 26971 | $as_echo "$ac_cv_lib_m___clog" >&6; } |
| 26972 | if test "x$ac_cv_lib_m___clog" = xyes; then : |
| 26973 | |
| 26974 | $as_echo "#define HAVE_CLOG 1" >>confdefs.h |
| 26975 | |
| 26976 | fi |
| 26977 | |
| 26978 | |
| 26979 | |
| 26980 | |
| 26981 | if test $gcc_cv_math_func_copysign = no; then |
| 26982 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5 |
| 26983 | $as_echo_n "checking for inline __builtin_copysign... " >&6; } |
| 26984 | if ${gcc_cv_math_inline_builtin_copysign+:} false; then : |
| 26985 | $as_echo_n "(cached) " >&6 |
| 26986 | else |
| 26987 | if test x$gcc_no_link = xyes; then |
| 26988 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 26989 | fi |
| 26990 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26991 | /* end confdefs.h. */ |
| 26992 | |
| 26993 | double |
| 26994 | copysign_fallback (double x, double y) |
| 26995 | { |
| 26996 | return __builtin_copysign (x, y); |
| 26997 | } |
| 26998 | |
| 26999 | int |
| 27000 | main () |
| 27001 | { |
| 27002 | return 0; |
| 27003 | } |
| 27004 | |
| 27005 | _ACEOF |
| 27006 | if ac_fn_c_try_link "$LINENO"; then : |
| 27007 | gcc_cv_math_inline_builtin_copysign=yes |
| 27008 | else |
| 27009 | gcc_cv_math_inline_builtin_copysign=no |
| 27010 | fi |
| 27011 | rm -f core conftest.err conftest.$ac_objext \ |
| 27012 | conftest$ac_exeext conftest.$ac_ext |
| 27013 | fi |
| 27014 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5 |
| 27015 | $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; } |
| 27016 | if test $gcc_cv_math_inline_builtin_copysign = yes; then |
| 27017 | |
| 27018 | cat >>confdefs.h <<_ACEOF |
| 27019 | #define HAVE_INLINE_BUILTIN_COPYSIGN 1 |
| 27020 | _ACEOF |
| 27021 | |
| 27022 | fi |
| 27023 | fi |
| 27024 | |
| 27025 | |
| 27026 | if test $gcc_cv_math_func_copysignl = no; then |
| 27027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5 |
| 27028 | $as_echo_n "checking for inline __builtin_copysignl... " >&6; } |
| 27029 | if ${gcc_cv_math_inline_builtin_copysignl+:} false; then : |
| 27030 | $as_echo_n "(cached) " >&6 |
| 27031 | else |
| 27032 | if test x$gcc_no_link = xyes; then |
| 27033 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27034 | fi |
| 27035 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27036 | /* end confdefs.h. */ |
| 27037 | |
| 27038 | long double |
| 27039 | copysignl_fallback (long double x, long double y) |
| 27040 | { |
| 27041 | return __builtin_copysignl (x, y); |
| 27042 | } |
| 27043 | |
| 27044 | int |
| 27045 | main () |
| 27046 | { |
| 27047 | return 0; |
| 27048 | } |
| 27049 | |
| 27050 | _ACEOF |
| 27051 | if ac_fn_c_try_link "$LINENO"; then : |
| 27052 | gcc_cv_math_inline_builtin_copysignl=yes |
| 27053 | else |
| 27054 | gcc_cv_math_inline_builtin_copysignl=no |
| 27055 | fi |
| 27056 | rm -f core conftest.err conftest.$ac_objext \ |
| 27057 | conftest$ac_exeext conftest.$ac_ext |
| 27058 | fi |
| 27059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5 |
| 27060 | $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; } |
| 27061 | if test $gcc_cv_math_inline_builtin_copysignl = yes; then |
| 27062 | |
| 27063 | cat >>confdefs.h <<_ACEOF |
| 27064 | #define HAVE_INLINE_BUILTIN_COPYSIGNL 1 |
| 27065 | _ACEOF |
| 27066 | |
| 27067 | fi |
| 27068 | fi |
| 27069 | |
| 27070 | |
| 27071 | if test $gcc_cv_math_func_fabs = no; then |
| 27072 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5 |
| 27073 | $as_echo_n "checking for inline __builtin_fabs... " >&6; } |
| 27074 | if ${gcc_cv_math_inline_builtin_fabs+:} false; then : |
| 27075 | $as_echo_n "(cached) " >&6 |
| 27076 | else |
| 27077 | if test x$gcc_no_link = xyes; then |
| 27078 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27079 | fi |
| 27080 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27081 | /* end confdefs.h. */ |
| 27082 | |
| 27083 | double |
| 27084 | fabs_fallback (double x) |
| 27085 | { |
| 27086 | return __builtin_fabs (x); |
| 27087 | } |
| 27088 | |
| 27089 | int |
| 27090 | main () |
| 27091 | { |
| 27092 | return 0; |
| 27093 | } |
| 27094 | |
| 27095 | _ACEOF |
| 27096 | if ac_fn_c_try_link "$LINENO"; then : |
| 27097 | gcc_cv_math_inline_builtin_fabs=yes |
| 27098 | else |
| 27099 | gcc_cv_math_inline_builtin_fabs=no |
| 27100 | fi |
| 27101 | rm -f core conftest.err conftest.$ac_objext \ |
| 27102 | conftest$ac_exeext conftest.$ac_ext |
| 27103 | fi |
| 27104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5 |
| 27105 | $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; } |
| 27106 | if test $gcc_cv_math_inline_builtin_fabs = yes; then |
| 27107 | |
| 27108 | cat >>confdefs.h <<_ACEOF |
| 27109 | #define HAVE_INLINE_BUILTIN_FABS 1 |
| 27110 | _ACEOF |
| 27111 | |
| 27112 | fi |
| 27113 | fi |
| 27114 | |
| 27115 | |
| 27116 | if test $gcc_cv_math_func_fabsl = no; then |
| 27117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5 |
| 27118 | $as_echo_n "checking for inline __builtin_fabsl... " >&6; } |
| 27119 | if ${gcc_cv_math_inline_builtin_fabsl+:} false; then : |
| 27120 | $as_echo_n "(cached) " >&6 |
| 27121 | else |
| 27122 | if test x$gcc_no_link = xyes; then |
| 27123 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27124 | fi |
| 27125 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27126 | /* end confdefs.h. */ |
| 27127 | |
| 27128 | long double |
| 27129 | fabsl_fallback (long double x) |
| 27130 | { |
| 27131 | return __builtin_fabsl (x); |
| 27132 | } |
| 27133 | |
| 27134 | int |
| 27135 | main () |
| 27136 | { |
| 27137 | return 0; |
| 27138 | } |
| 27139 | |
| 27140 | _ACEOF |
| 27141 | if ac_fn_c_try_link "$LINENO"; then : |
| 27142 | gcc_cv_math_inline_builtin_fabsl=yes |
| 27143 | else |
| 27144 | gcc_cv_math_inline_builtin_fabsl=no |
| 27145 | fi |
| 27146 | rm -f core conftest.err conftest.$ac_objext \ |
| 27147 | conftest$ac_exeext conftest.$ac_ext |
| 27148 | fi |
| 27149 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5 |
| 27150 | $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; } |
| 27151 | if test $gcc_cv_math_inline_builtin_fabsl = yes; then |
| 27152 | |
| 27153 | cat >>confdefs.h <<_ACEOF |
| 27154 | #define HAVE_INLINE_BUILTIN_FABSL 1 |
| 27155 | _ACEOF |
| 27156 | |
| 27157 | fi |
| 27158 | fi |
| 27159 | |
| 27160 | |
| 27161 | |
| 27162 | |
| 27163 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5 |
| 27164 | $as_echo_n "checking for acosf128... " >&6; } |
| 27165 | if ${gcc_cv_math_func_acosf128+:} false; then : |
| 27166 | $as_echo_n "(cached) " >&6 |
| 27167 | else |
| 27168 | if test x$gcc_no_link = xyes; then |
| 27169 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27170 | fi |
| 27171 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27172 | /* end confdefs.h. */ |
| 27173 | |
| 27174 | #ifdef HAVE_COMPLEX_H |
| 27175 | #include <complex.h> |
| 27176 | #endif |
| 27177 | #ifdef HAVE_MATH_H |
| 27178 | #include <math.h> |
| 27179 | #endif |
| 27180 | |
| 27181 | int (*ptr)() = (int (*)())acosf128; |
| 27182 | |
| 27183 | int |
| 27184 | main () |
| 27185 | { |
| 27186 | return 0; |
| 27187 | } |
| 27188 | |
| 27189 | _ACEOF |
| 27190 | if ac_fn_c_try_link "$LINENO"; then : |
| 27191 | gcc_cv_math_func_acosf128=yes |
| 27192 | else |
| 27193 | gcc_cv_math_func_acosf128=no |
| 27194 | fi |
| 27195 | rm -f core conftest.err conftest.$ac_objext \ |
| 27196 | conftest$ac_exeext conftest.$ac_ext |
| 27197 | fi |
| 27198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5 |
| 27199 | $as_echo "$gcc_cv_math_func_acosf128" >&6; } |
| 27200 | if test $gcc_cv_math_func_acosf128 = yes; then |
| 27201 | |
| 27202 | cat >>confdefs.h <<_ACEOF |
| 27203 | #define HAVE_ACOSF128 1 |
| 27204 | _ACEOF |
| 27205 | |
| 27206 | fi |
| 27207 | |
| 27208 | |
| 27209 | |
| 27210 | |
| 27211 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5 |
| 27212 | $as_echo_n "checking for acoshf128... " >&6; } |
| 27213 | if ${gcc_cv_math_func_acoshf128+:} false; then : |
| 27214 | $as_echo_n "(cached) " >&6 |
| 27215 | else |
| 27216 | if test x$gcc_no_link = xyes; then |
| 27217 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27218 | fi |
| 27219 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27220 | /* end confdefs.h. */ |
| 27221 | |
| 27222 | #ifdef HAVE_COMPLEX_H |
| 27223 | #include <complex.h> |
| 27224 | #endif |
| 27225 | #ifdef HAVE_MATH_H |
| 27226 | #include <math.h> |
| 27227 | #endif |
| 27228 | |
| 27229 | int (*ptr)() = (int (*)())acoshf128; |
| 27230 | |
| 27231 | int |
| 27232 | main () |
| 27233 | { |
| 27234 | return 0; |
| 27235 | } |
| 27236 | |
| 27237 | _ACEOF |
| 27238 | if ac_fn_c_try_link "$LINENO"; then : |
| 27239 | gcc_cv_math_func_acoshf128=yes |
| 27240 | else |
| 27241 | gcc_cv_math_func_acoshf128=no |
| 27242 | fi |
| 27243 | rm -f core conftest.err conftest.$ac_objext \ |
| 27244 | conftest$ac_exeext conftest.$ac_ext |
| 27245 | fi |
| 27246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5 |
| 27247 | $as_echo "$gcc_cv_math_func_acoshf128" >&6; } |
| 27248 | if test $gcc_cv_math_func_acoshf128 = yes; then |
| 27249 | |
| 27250 | cat >>confdefs.h <<_ACEOF |
| 27251 | #define HAVE_ACOSHF128 1 |
| 27252 | _ACEOF |
| 27253 | |
| 27254 | fi |
| 27255 | |
| 27256 | |
| 27257 | |
| 27258 | |
| 27259 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5 |
| 27260 | $as_echo_n "checking for asinf128... " >&6; } |
| 27261 | if ${gcc_cv_math_func_asinf128+:} false; then : |
| 27262 | $as_echo_n "(cached) " >&6 |
| 27263 | else |
| 27264 | if test x$gcc_no_link = xyes; then |
| 27265 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27266 | fi |
| 27267 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27268 | /* end confdefs.h. */ |
| 27269 | |
| 27270 | #ifdef HAVE_COMPLEX_H |
| 27271 | #include <complex.h> |
| 27272 | #endif |
| 27273 | #ifdef HAVE_MATH_H |
| 27274 | #include <math.h> |
| 27275 | #endif |
| 27276 | |
| 27277 | int (*ptr)() = (int (*)())asinf128; |
| 27278 | |
| 27279 | int |
| 27280 | main () |
| 27281 | { |
| 27282 | return 0; |
| 27283 | } |
| 27284 | |
| 27285 | _ACEOF |
| 27286 | if ac_fn_c_try_link "$LINENO"; then : |
| 27287 | gcc_cv_math_func_asinf128=yes |
| 27288 | else |
| 27289 | gcc_cv_math_func_asinf128=no |
| 27290 | fi |
| 27291 | rm -f core conftest.err conftest.$ac_objext \ |
| 27292 | conftest$ac_exeext conftest.$ac_ext |
| 27293 | fi |
| 27294 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5 |
| 27295 | $as_echo "$gcc_cv_math_func_asinf128" >&6; } |
| 27296 | if test $gcc_cv_math_func_asinf128 = yes; then |
| 27297 | |
| 27298 | cat >>confdefs.h <<_ACEOF |
| 27299 | #define HAVE_ASINF128 1 |
| 27300 | _ACEOF |
| 27301 | |
| 27302 | fi |
| 27303 | |
| 27304 | |
| 27305 | |
| 27306 | |
| 27307 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5 |
| 27308 | $as_echo_n "checking for asinhf128... " >&6; } |
| 27309 | if ${gcc_cv_math_func_asinhf128+:} false; then : |
| 27310 | $as_echo_n "(cached) " >&6 |
| 27311 | else |
| 27312 | if test x$gcc_no_link = xyes; then |
| 27313 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27314 | fi |
| 27315 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27316 | /* end confdefs.h. */ |
| 27317 | |
| 27318 | #ifdef HAVE_COMPLEX_H |
| 27319 | #include <complex.h> |
| 27320 | #endif |
| 27321 | #ifdef HAVE_MATH_H |
| 27322 | #include <math.h> |
| 27323 | #endif |
| 27324 | |
| 27325 | int (*ptr)() = (int (*)())asinhf128; |
| 27326 | |
| 27327 | int |
| 27328 | main () |
| 27329 | { |
| 27330 | return 0; |
| 27331 | } |
| 27332 | |
| 27333 | _ACEOF |
| 27334 | if ac_fn_c_try_link "$LINENO"; then : |
| 27335 | gcc_cv_math_func_asinhf128=yes |
| 27336 | else |
| 27337 | gcc_cv_math_func_asinhf128=no |
| 27338 | fi |
| 27339 | rm -f core conftest.err conftest.$ac_objext \ |
| 27340 | conftest$ac_exeext conftest.$ac_ext |
| 27341 | fi |
| 27342 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5 |
| 27343 | $as_echo "$gcc_cv_math_func_asinhf128" >&6; } |
| 27344 | if test $gcc_cv_math_func_asinhf128 = yes; then |
| 27345 | |
| 27346 | cat >>confdefs.h <<_ACEOF |
| 27347 | #define HAVE_ASINHF128 1 |
| 27348 | _ACEOF |
| 27349 | |
| 27350 | fi |
| 27351 | |
| 27352 | |
| 27353 | |
| 27354 | |
| 27355 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5 |
| 27356 | $as_echo_n "checking for atan2f128... " >&6; } |
| 27357 | if ${gcc_cv_math_func_atan2f128+:} false; then : |
| 27358 | $as_echo_n "(cached) " >&6 |
| 27359 | else |
| 27360 | if test x$gcc_no_link = xyes; then |
| 27361 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27362 | fi |
| 27363 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27364 | /* end confdefs.h. */ |
| 27365 | |
| 27366 | #ifdef HAVE_COMPLEX_H |
| 27367 | #include <complex.h> |
| 27368 | #endif |
| 27369 | #ifdef HAVE_MATH_H |
| 27370 | #include <math.h> |
| 27371 | #endif |
| 27372 | |
| 27373 | int (*ptr)() = (int (*)())atan2f128; |
| 27374 | |
| 27375 | int |
| 27376 | main () |
| 27377 | { |
| 27378 | return 0; |
| 27379 | } |
| 27380 | |
| 27381 | _ACEOF |
| 27382 | if ac_fn_c_try_link "$LINENO"; then : |
| 27383 | gcc_cv_math_func_atan2f128=yes |
| 27384 | else |
| 27385 | gcc_cv_math_func_atan2f128=no |
| 27386 | fi |
| 27387 | rm -f core conftest.err conftest.$ac_objext \ |
| 27388 | conftest$ac_exeext conftest.$ac_ext |
| 27389 | fi |
| 27390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5 |
| 27391 | $as_echo "$gcc_cv_math_func_atan2f128" >&6; } |
| 27392 | if test $gcc_cv_math_func_atan2f128 = yes; then |
| 27393 | |
| 27394 | cat >>confdefs.h <<_ACEOF |
| 27395 | #define HAVE_ATAN2F128 1 |
| 27396 | _ACEOF |
| 27397 | |
| 27398 | fi |
| 27399 | |
| 27400 | |
| 27401 | |
| 27402 | |
| 27403 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5 |
| 27404 | $as_echo_n "checking for atanf128... " >&6; } |
| 27405 | if ${gcc_cv_math_func_atanf128+:} false; then : |
| 27406 | $as_echo_n "(cached) " >&6 |
| 27407 | else |
| 27408 | if test x$gcc_no_link = xyes; then |
| 27409 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27410 | fi |
| 27411 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27412 | /* end confdefs.h. */ |
| 27413 | |
| 27414 | #ifdef HAVE_COMPLEX_H |
| 27415 | #include <complex.h> |
| 27416 | #endif |
| 27417 | #ifdef HAVE_MATH_H |
| 27418 | #include <math.h> |
| 27419 | #endif |
| 27420 | |
| 27421 | int (*ptr)() = (int (*)())atanf128; |
| 27422 | |
| 27423 | int |
| 27424 | main () |
| 27425 | { |
| 27426 | return 0; |
| 27427 | } |
| 27428 | |
| 27429 | _ACEOF |
| 27430 | if ac_fn_c_try_link "$LINENO"; then : |
| 27431 | gcc_cv_math_func_atanf128=yes |
| 27432 | else |
| 27433 | gcc_cv_math_func_atanf128=no |
| 27434 | fi |
| 27435 | rm -f core conftest.err conftest.$ac_objext \ |
| 27436 | conftest$ac_exeext conftest.$ac_ext |
| 27437 | fi |
| 27438 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5 |
| 27439 | $as_echo "$gcc_cv_math_func_atanf128" >&6; } |
| 27440 | if test $gcc_cv_math_func_atanf128 = yes; then |
| 27441 | |
| 27442 | cat >>confdefs.h <<_ACEOF |
| 27443 | #define HAVE_ATANF128 1 |
| 27444 | _ACEOF |
| 27445 | |
| 27446 | fi |
| 27447 | |
| 27448 | |
| 27449 | |
| 27450 | |
| 27451 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5 |
| 27452 | $as_echo_n "checking for atanhf128... " >&6; } |
| 27453 | if ${gcc_cv_math_func_atanhf128+:} false; then : |
| 27454 | $as_echo_n "(cached) " >&6 |
| 27455 | else |
| 27456 | if test x$gcc_no_link = xyes; then |
| 27457 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27458 | fi |
| 27459 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27460 | /* end confdefs.h. */ |
| 27461 | |
| 27462 | #ifdef HAVE_COMPLEX_H |
| 27463 | #include <complex.h> |
| 27464 | #endif |
| 27465 | #ifdef HAVE_MATH_H |
| 27466 | #include <math.h> |
| 27467 | #endif |
| 27468 | |
| 27469 | int (*ptr)() = (int (*)())atanhf128; |
| 27470 | |
| 27471 | int |
| 27472 | main () |
| 27473 | { |
| 27474 | return 0; |
| 27475 | } |
| 27476 | |
| 27477 | _ACEOF |
| 27478 | if ac_fn_c_try_link "$LINENO"; then : |
| 27479 | gcc_cv_math_func_atanhf128=yes |
| 27480 | else |
| 27481 | gcc_cv_math_func_atanhf128=no |
| 27482 | fi |
| 27483 | rm -f core conftest.err conftest.$ac_objext \ |
| 27484 | conftest$ac_exeext conftest.$ac_ext |
| 27485 | fi |
| 27486 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5 |
| 27487 | $as_echo "$gcc_cv_math_func_atanhf128" >&6; } |
| 27488 | if test $gcc_cv_math_func_atanhf128 = yes; then |
| 27489 | |
| 27490 | cat >>confdefs.h <<_ACEOF |
| 27491 | #define HAVE_ATANHF128 1 |
| 27492 | _ACEOF |
| 27493 | |
| 27494 | fi |
| 27495 | |
| 27496 | |
| 27497 | |
| 27498 | |
| 27499 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5 |
| 27500 | $as_echo_n "checking for cargf128... " >&6; } |
| 27501 | if ${gcc_cv_math_func_cargf128+:} false; then : |
| 27502 | $as_echo_n "(cached) " >&6 |
| 27503 | else |
| 27504 | if test x$gcc_no_link = xyes; then |
| 27505 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27506 | fi |
| 27507 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27508 | /* end confdefs.h. */ |
| 27509 | |
| 27510 | #ifdef HAVE_COMPLEX_H |
| 27511 | #include <complex.h> |
| 27512 | #endif |
| 27513 | #ifdef HAVE_MATH_H |
| 27514 | #include <math.h> |
| 27515 | #endif |
| 27516 | |
| 27517 | int (*ptr)() = (int (*)())cargf128; |
| 27518 | |
| 27519 | int |
| 27520 | main () |
| 27521 | { |
| 27522 | return 0; |
| 27523 | } |
| 27524 | |
| 27525 | _ACEOF |
| 27526 | if ac_fn_c_try_link "$LINENO"; then : |
| 27527 | gcc_cv_math_func_cargf128=yes |
| 27528 | else |
| 27529 | gcc_cv_math_func_cargf128=no |
| 27530 | fi |
| 27531 | rm -f core conftest.err conftest.$ac_objext \ |
| 27532 | conftest$ac_exeext conftest.$ac_ext |
| 27533 | fi |
| 27534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5 |
| 27535 | $as_echo "$gcc_cv_math_func_cargf128" >&6; } |
| 27536 | if test $gcc_cv_math_func_cargf128 = yes; then |
| 27537 | |
| 27538 | cat >>confdefs.h <<_ACEOF |
| 27539 | #define HAVE_CARGF128 1 |
| 27540 | _ACEOF |
| 27541 | |
| 27542 | fi |
| 27543 | |
| 27544 | |
| 27545 | |
| 27546 | |
| 27547 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5 |
| 27548 | $as_echo_n "checking for ceilf128... " >&6; } |
| 27549 | if ${gcc_cv_math_func_ceilf128+:} false; then : |
| 27550 | $as_echo_n "(cached) " >&6 |
| 27551 | else |
| 27552 | if test x$gcc_no_link = xyes; then |
| 27553 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27554 | fi |
| 27555 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27556 | /* end confdefs.h. */ |
| 27557 | |
| 27558 | #ifdef HAVE_COMPLEX_H |
| 27559 | #include <complex.h> |
| 27560 | #endif |
| 27561 | #ifdef HAVE_MATH_H |
| 27562 | #include <math.h> |
| 27563 | #endif |
| 27564 | |
| 27565 | int (*ptr)() = (int (*)())ceilf128; |
| 27566 | |
| 27567 | int |
| 27568 | main () |
| 27569 | { |
| 27570 | return 0; |
| 27571 | } |
| 27572 | |
| 27573 | _ACEOF |
| 27574 | if ac_fn_c_try_link "$LINENO"; then : |
| 27575 | gcc_cv_math_func_ceilf128=yes |
| 27576 | else |
| 27577 | gcc_cv_math_func_ceilf128=no |
| 27578 | fi |
| 27579 | rm -f core conftest.err conftest.$ac_objext \ |
| 27580 | conftest$ac_exeext conftest.$ac_ext |
| 27581 | fi |
| 27582 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5 |
| 27583 | $as_echo "$gcc_cv_math_func_ceilf128" >&6; } |
| 27584 | if test $gcc_cv_math_func_ceilf128 = yes; then |
| 27585 | |
| 27586 | cat >>confdefs.h <<_ACEOF |
| 27587 | #define HAVE_CEILF128 1 |
| 27588 | _ACEOF |
| 27589 | |
| 27590 | fi |
| 27591 | |
| 27592 | |
| 27593 | |
| 27594 | |
| 27595 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5 |
| 27596 | $as_echo_n "checking for copysignf128... " >&6; } |
| 27597 | if ${gcc_cv_math_func_copysignf128+:} false; then : |
| 27598 | $as_echo_n "(cached) " >&6 |
| 27599 | else |
| 27600 | if test x$gcc_no_link = xyes; then |
| 27601 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27602 | fi |
| 27603 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27604 | /* end confdefs.h. */ |
| 27605 | |
| 27606 | #ifdef HAVE_COMPLEX_H |
| 27607 | #include <complex.h> |
| 27608 | #endif |
| 27609 | #ifdef HAVE_MATH_H |
| 27610 | #include <math.h> |
| 27611 | #endif |
| 27612 | |
| 27613 | int (*ptr)() = (int (*)())copysignf128; |
| 27614 | |
| 27615 | int |
| 27616 | main () |
| 27617 | { |
| 27618 | return 0; |
| 27619 | } |
| 27620 | |
| 27621 | _ACEOF |
| 27622 | if ac_fn_c_try_link "$LINENO"; then : |
| 27623 | gcc_cv_math_func_copysignf128=yes |
| 27624 | else |
| 27625 | gcc_cv_math_func_copysignf128=no |
| 27626 | fi |
| 27627 | rm -f core conftest.err conftest.$ac_objext \ |
| 27628 | conftest$ac_exeext conftest.$ac_ext |
| 27629 | fi |
| 27630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5 |
| 27631 | $as_echo "$gcc_cv_math_func_copysignf128" >&6; } |
| 27632 | if test $gcc_cv_math_func_copysignf128 = yes; then |
| 27633 | |
| 27634 | cat >>confdefs.h <<_ACEOF |
| 27635 | #define HAVE_COPYSIGNF128 1 |
| 27636 | _ACEOF |
| 27637 | |
| 27638 | fi |
| 27639 | |
| 27640 | |
| 27641 | |
| 27642 | |
| 27643 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5 |
| 27644 | $as_echo_n "checking for cosf128... " >&6; } |
| 27645 | if ${gcc_cv_math_func_cosf128+:} false; then : |
| 27646 | $as_echo_n "(cached) " >&6 |
| 27647 | else |
| 27648 | if test x$gcc_no_link = xyes; then |
| 27649 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27650 | fi |
| 27651 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27652 | /* end confdefs.h. */ |
| 27653 | |
| 27654 | #ifdef HAVE_COMPLEX_H |
| 27655 | #include <complex.h> |
| 27656 | #endif |
| 27657 | #ifdef HAVE_MATH_H |
| 27658 | #include <math.h> |
| 27659 | #endif |
| 27660 | |
| 27661 | int (*ptr)() = (int (*)())cosf128; |
| 27662 | |
| 27663 | int |
| 27664 | main () |
| 27665 | { |
| 27666 | return 0; |
| 27667 | } |
| 27668 | |
| 27669 | _ACEOF |
| 27670 | if ac_fn_c_try_link "$LINENO"; then : |
| 27671 | gcc_cv_math_func_cosf128=yes |
| 27672 | else |
| 27673 | gcc_cv_math_func_cosf128=no |
| 27674 | fi |
| 27675 | rm -f core conftest.err conftest.$ac_objext \ |
| 27676 | conftest$ac_exeext conftest.$ac_ext |
| 27677 | fi |
| 27678 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5 |
| 27679 | $as_echo "$gcc_cv_math_func_cosf128" >&6; } |
| 27680 | if test $gcc_cv_math_func_cosf128 = yes; then |
| 27681 | |
| 27682 | cat >>confdefs.h <<_ACEOF |
| 27683 | #define HAVE_COSF128 1 |
| 27684 | _ACEOF |
| 27685 | |
| 27686 | fi |
| 27687 | |
| 27688 | |
| 27689 | |
| 27690 | |
| 27691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5 |
| 27692 | $as_echo_n "checking for ccosf128... " >&6; } |
| 27693 | if ${gcc_cv_math_func_ccosf128+:} false; then : |
| 27694 | $as_echo_n "(cached) " >&6 |
| 27695 | else |
| 27696 | if test x$gcc_no_link = xyes; then |
| 27697 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27698 | fi |
| 27699 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27700 | /* end confdefs.h. */ |
| 27701 | |
| 27702 | #ifdef HAVE_COMPLEX_H |
| 27703 | #include <complex.h> |
| 27704 | #endif |
| 27705 | #ifdef HAVE_MATH_H |
| 27706 | #include <math.h> |
| 27707 | #endif |
| 27708 | |
| 27709 | int (*ptr)() = (int (*)())ccosf128; |
| 27710 | |
| 27711 | int |
| 27712 | main () |
| 27713 | { |
| 27714 | return 0; |
| 27715 | } |
| 27716 | |
| 27717 | _ACEOF |
| 27718 | if ac_fn_c_try_link "$LINENO"; then : |
| 27719 | gcc_cv_math_func_ccosf128=yes |
| 27720 | else |
| 27721 | gcc_cv_math_func_ccosf128=no |
| 27722 | fi |
| 27723 | rm -f core conftest.err conftest.$ac_objext \ |
| 27724 | conftest$ac_exeext conftest.$ac_ext |
| 27725 | fi |
| 27726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5 |
| 27727 | $as_echo "$gcc_cv_math_func_ccosf128" >&6; } |
| 27728 | if test $gcc_cv_math_func_ccosf128 = yes; then |
| 27729 | |
| 27730 | cat >>confdefs.h <<_ACEOF |
| 27731 | #define HAVE_CCOSF128 1 |
| 27732 | _ACEOF |
| 27733 | |
| 27734 | fi |
| 27735 | |
| 27736 | |
| 27737 | |
| 27738 | |
| 27739 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5 |
| 27740 | $as_echo_n "checking for coshf128... " >&6; } |
| 27741 | if ${gcc_cv_math_func_coshf128+:} false; then : |
| 27742 | $as_echo_n "(cached) " >&6 |
| 27743 | else |
| 27744 | if test x$gcc_no_link = xyes; then |
| 27745 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27746 | fi |
| 27747 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27748 | /* end confdefs.h. */ |
| 27749 | |
| 27750 | #ifdef HAVE_COMPLEX_H |
| 27751 | #include <complex.h> |
| 27752 | #endif |
| 27753 | #ifdef HAVE_MATH_H |
| 27754 | #include <math.h> |
| 27755 | #endif |
| 27756 | |
| 27757 | int (*ptr)() = (int (*)())coshf128; |
| 27758 | |
| 27759 | int |
| 27760 | main () |
| 27761 | { |
| 27762 | return 0; |
| 27763 | } |
| 27764 | |
| 27765 | _ACEOF |
| 27766 | if ac_fn_c_try_link "$LINENO"; then : |
| 27767 | gcc_cv_math_func_coshf128=yes |
| 27768 | else |
| 27769 | gcc_cv_math_func_coshf128=no |
| 27770 | fi |
| 27771 | rm -f core conftest.err conftest.$ac_objext \ |
| 27772 | conftest$ac_exeext conftest.$ac_ext |
| 27773 | fi |
| 27774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5 |
| 27775 | $as_echo "$gcc_cv_math_func_coshf128" >&6; } |
| 27776 | if test $gcc_cv_math_func_coshf128 = yes; then |
| 27777 | |
| 27778 | cat >>confdefs.h <<_ACEOF |
| 27779 | #define HAVE_COSHF128 1 |
| 27780 | _ACEOF |
| 27781 | |
| 27782 | fi |
| 27783 | |
| 27784 | |
| 27785 | |
| 27786 | |
| 27787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5 |
| 27788 | $as_echo_n "checking for ccoshf128... " >&6; } |
| 27789 | if ${gcc_cv_math_func_ccoshf128+:} false; then : |
| 27790 | $as_echo_n "(cached) " >&6 |
| 27791 | else |
| 27792 | if test x$gcc_no_link = xyes; then |
| 27793 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27794 | fi |
| 27795 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27796 | /* end confdefs.h. */ |
| 27797 | |
| 27798 | #ifdef HAVE_COMPLEX_H |
| 27799 | #include <complex.h> |
| 27800 | #endif |
| 27801 | #ifdef HAVE_MATH_H |
| 27802 | #include <math.h> |
| 27803 | #endif |
| 27804 | |
| 27805 | int (*ptr)() = (int (*)())ccoshf128; |
| 27806 | |
| 27807 | int |
| 27808 | main () |
| 27809 | { |
| 27810 | return 0; |
| 27811 | } |
| 27812 | |
| 27813 | _ACEOF |
| 27814 | if ac_fn_c_try_link "$LINENO"; then : |
| 27815 | gcc_cv_math_func_ccoshf128=yes |
| 27816 | else |
| 27817 | gcc_cv_math_func_ccoshf128=no |
| 27818 | fi |
| 27819 | rm -f core conftest.err conftest.$ac_objext \ |
| 27820 | conftest$ac_exeext conftest.$ac_ext |
| 27821 | fi |
| 27822 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5 |
| 27823 | $as_echo "$gcc_cv_math_func_ccoshf128" >&6; } |
| 27824 | if test $gcc_cv_math_func_ccoshf128 = yes; then |
| 27825 | |
| 27826 | cat >>confdefs.h <<_ACEOF |
| 27827 | #define HAVE_CCOSHF128 1 |
| 27828 | _ACEOF |
| 27829 | |
| 27830 | fi |
| 27831 | |
| 27832 | |
| 27833 | |
| 27834 | |
| 27835 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5 |
| 27836 | $as_echo_n "checking for expf128... " >&6; } |
| 27837 | if ${gcc_cv_math_func_expf128+:} false; then : |
| 27838 | $as_echo_n "(cached) " >&6 |
| 27839 | else |
| 27840 | if test x$gcc_no_link = xyes; then |
| 27841 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27842 | fi |
| 27843 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27844 | /* end confdefs.h. */ |
| 27845 | |
| 27846 | #ifdef HAVE_COMPLEX_H |
| 27847 | #include <complex.h> |
| 27848 | #endif |
| 27849 | #ifdef HAVE_MATH_H |
| 27850 | #include <math.h> |
| 27851 | #endif |
| 27852 | |
| 27853 | int (*ptr)() = (int (*)())expf128; |
| 27854 | |
| 27855 | int |
| 27856 | main () |
| 27857 | { |
| 27858 | return 0; |
| 27859 | } |
| 27860 | |
| 27861 | _ACEOF |
| 27862 | if ac_fn_c_try_link "$LINENO"; then : |
| 27863 | gcc_cv_math_func_expf128=yes |
| 27864 | else |
| 27865 | gcc_cv_math_func_expf128=no |
| 27866 | fi |
| 27867 | rm -f core conftest.err conftest.$ac_objext \ |
| 27868 | conftest$ac_exeext conftest.$ac_ext |
| 27869 | fi |
| 27870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5 |
| 27871 | $as_echo "$gcc_cv_math_func_expf128" >&6; } |
| 27872 | if test $gcc_cv_math_func_expf128 = yes; then |
| 27873 | |
| 27874 | cat >>confdefs.h <<_ACEOF |
| 27875 | #define HAVE_EXPF128 1 |
| 27876 | _ACEOF |
| 27877 | |
| 27878 | fi |
| 27879 | |
| 27880 | |
| 27881 | |
| 27882 | |
| 27883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5 |
| 27884 | $as_echo_n "checking for cexpf128... " >&6; } |
| 27885 | if ${gcc_cv_math_func_cexpf128+:} false; then : |
| 27886 | $as_echo_n "(cached) " >&6 |
| 27887 | else |
| 27888 | if test x$gcc_no_link = xyes; then |
| 27889 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27890 | fi |
| 27891 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27892 | /* end confdefs.h. */ |
| 27893 | |
| 27894 | #ifdef HAVE_COMPLEX_H |
| 27895 | #include <complex.h> |
| 27896 | #endif |
| 27897 | #ifdef HAVE_MATH_H |
| 27898 | #include <math.h> |
| 27899 | #endif |
| 27900 | |
| 27901 | int (*ptr)() = (int (*)())cexpf128; |
| 27902 | |
| 27903 | int |
| 27904 | main () |
| 27905 | { |
| 27906 | return 0; |
| 27907 | } |
| 27908 | |
| 27909 | _ACEOF |
| 27910 | if ac_fn_c_try_link "$LINENO"; then : |
| 27911 | gcc_cv_math_func_cexpf128=yes |
| 27912 | else |
| 27913 | gcc_cv_math_func_cexpf128=no |
| 27914 | fi |
| 27915 | rm -f core conftest.err conftest.$ac_objext \ |
| 27916 | conftest$ac_exeext conftest.$ac_ext |
| 27917 | fi |
| 27918 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5 |
| 27919 | $as_echo "$gcc_cv_math_func_cexpf128" >&6; } |
| 27920 | if test $gcc_cv_math_func_cexpf128 = yes; then |
| 27921 | |
| 27922 | cat >>confdefs.h <<_ACEOF |
| 27923 | #define HAVE_CEXPF128 1 |
| 27924 | _ACEOF |
| 27925 | |
| 27926 | fi |
| 27927 | |
| 27928 | |
| 27929 | |
| 27930 | |
| 27931 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5 |
| 27932 | $as_echo_n "checking for fabsf128... " >&6; } |
| 27933 | if ${gcc_cv_math_func_fabsf128+:} false; then : |
| 27934 | $as_echo_n "(cached) " >&6 |
| 27935 | else |
| 27936 | if test x$gcc_no_link = xyes; then |
| 27937 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27938 | fi |
| 27939 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27940 | /* end confdefs.h. */ |
| 27941 | |
| 27942 | #ifdef HAVE_COMPLEX_H |
| 27943 | #include <complex.h> |
| 27944 | #endif |
| 27945 | #ifdef HAVE_MATH_H |
| 27946 | #include <math.h> |
| 27947 | #endif |
| 27948 | |
| 27949 | int (*ptr)() = (int (*)())fabsf128; |
| 27950 | |
| 27951 | int |
| 27952 | main () |
| 27953 | { |
| 27954 | return 0; |
| 27955 | } |
| 27956 | |
| 27957 | _ACEOF |
| 27958 | if ac_fn_c_try_link "$LINENO"; then : |
| 27959 | gcc_cv_math_func_fabsf128=yes |
| 27960 | else |
| 27961 | gcc_cv_math_func_fabsf128=no |
| 27962 | fi |
| 27963 | rm -f core conftest.err conftest.$ac_objext \ |
| 27964 | conftest$ac_exeext conftest.$ac_ext |
| 27965 | fi |
| 27966 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5 |
| 27967 | $as_echo "$gcc_cv_math_func_fabsf128" >&6; } |
| 27968 | if test $gcc_cv_math_func_fabsf128 = yes; then |
| 27969 | |
| 27970 | cat >>confdefs.h <<_ACEOF |
| 27971 | #define HAVE_FABSF128 1 |
| 27972 | _ACEOF |
| 27973 | |
| 27974 | fi |
| 27975 | |
| 27976 | |
| 27977 | |
| 27978 | |
| 27979 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5 |
| 27980 | $as_echo_n "checking for cabsf128... " >&6; } |
| 27981 | if ${gcc_cv_math_func_cabsf128+:} false; then : |
| 27982 | $as_echo_n "(cached) " >&6 |
| 27983 | else |
| 27984 | if test x$gcc_no_link = xyes; then |
| 27985 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 27986 | fi |
| 27987 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27988 | /* end confdefs.h. */ |
| 27989 | |
| 27990 | #ifdef HAVE_COMPLEX_H |
| 27991 | #include <complex.h> |
| 27992 | #endif |
| 27993 | #ifdef HAVE_MATH_H |
| 27994 | #include <math.h> |
| 27995 | #endif |
| 27996 | |
| 27997 | int (*ptr)() = (int (*)())cabsf128; |
| 27998 | |
| 27999 | int |
| 28000 | main () |
| 28001 | { |
| 28002 | return 0; |
| 28003 | } |
| 28004 | |
| 28005 | _ACEOF |
| 28006 | if ac_fn_c_try_link "$LINENO"; then : |
| 28007 | gcc_cv_math_func_cabsf128=yes |
| 28008 | else |
| 28009 | gcc_cv_math_func_cabsf128=no |
| 28010 | fi |
| 28011 | rm -f core conftest.err conftest.$ac_objext \ |
| 28012 | conftest$ac_exeext conftest.$ac_ext |
| 28013 | fi |
| 28014 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5 |
| 28015 | $as_echo "$gcc_cv_math_func_cabsf128" >&6; } |
| 28016 | if test $gcc_cv_math_func_cabsf128 = yes; then |
| 28017 | |
| 28018 | cat >>confdefs.h <<_ACEOF |
| 28019 | #define HAVE_CABSF128 1 |
| 28020 | _ACEOF |
| 28021 | |
| 28022 | fi |
| 28023 | |
| 28024 | |
| 28025 | |
| 28026 | |
| 28027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5 |
| 28028 | $as_echo_n "checking for floorf128... " >&6; } |
| 28029 | if ${gcc_cv_math_func_floorf128+:} false; then : |
| 28030 | $as_echo_n "(cached) " >&6 |
| 28031 | else |
| 28032 | if test x$gcc_no_link = xyes; then |
| 28033 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28034 | fi |
| 28035 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28036 | /* end confdefs.h. */ |
| 28037 | |
| 28038 | #ifdef HAVE_COMPLEX_H |
| 28039 | #include <complex.h> |
| 28040 | #endif |
| 28041 | #ifdef HAVE_MATH_H |
| 28042 | #include <math.h> |
| 28043 | #endif |
| 28044 | |
| 28045 | int (*ptr)() = (int (*)())floorf128; |
| 28046 | |
| 28047 | int |
| 28048 | main () |
| 28049 | { |
| 28050 | return 0; |
| 28051 | } |
| 28052 | |
| 28053 | _ACEOF |
| 28054 | if ac_fn_c_try_link "$LINENO"; then : |
| 28055 | gcc_cv_math_func_floorf128=yes |
| 28056 | else |
| 28057 | gcc_cv_math_func_floorf128=no |
| 28058 | fi |
| 28059 | rm -f core conftest.err conftest.$ac_objext \ |
| 28060 | conftest$ac_exeext conftest.$ac_ext |
| 28061 | fi |
| 28062 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5 |
| 28063 | $as_echo "$gcc_cv_math_func_floorf128" >&6; } |
| 28064 | if test $gcc_cv_math_func_floorf128 = yes; then |
| 28065 | |
| 28066 | cat >>confdefs.h <<_ACEOF |
| 28067 | #define HAVE_FLOORF128 1 |
| 28068 | _ACEOF |
| 28069 | |
| 28070 | fi |
| 28071 | |
| 28072 | |
| 28073 | |
| 28074 | |
| 28075 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5 |
| 28076 | $as_echo_n "checking for fmaf128... " >&6; } |
| 28077 | if ${gcc_cv_math_func_fmaf128+:} false; then : |
| 28078 | $as_echo_n "(cached) " >&6 |
| 28079 | else |
| 28080 | if test x$gcc_no_link = xyes; then |
| 28081 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28082 | fi |
| 28083 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28084 | /* end confdefs.h. */ |
| 28085 | |
| 28086 | #ifdef HAVE_COMPLEX_H |
| 28087 | #include <complex.h> |
| 28088 | #endif |
| 28089 | #ifdef HAVE_MATH_H |
| 28090 | #include <math.h> |
| 28091 | #endif |
| 28092 | |
| 28093 | int (*ptr)() = (int (*)())fmaf128; |
| 28094 | |
| 28095 | int |
| 28096 | main () |
| 28097 | { |
| 28098 | return 0; |
| 28099 | } |
| 28100 | |
| 28101 | _ACEOF |
| 28102 | if ac_fn_c_try_link "$LINENO"; then : |
| 28103 | gcc_cv_math_func_fmaf128=yes |
| 28104 | else |
| 28105 | gcc_cv_math_func_fmaf128=no |
| 28106 | fi |
| 28107 | rm -f core conftest.err conftest.$ac_objext \ |
| 28108 | conftest$ac_exeext conftest.$ac_ext |
| 28109 | fi |
| 28110 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5 |
| 28111 | $as_echo "$gcc_cv_math_func_fmaf128" >&6; } |
| 28112 | if test $gcc_cv_math_func_fmaf128 = yes; then |
| 28113 | |
| 28114 | cat >>confdefs.h <<_ACEOF |
| 28115 | #define HAVE_FMAF128 1 |
| 28116 | _ACEOF |
| 28117 | |
| 28118 | fi |
| 28119 | |
| 28120 | |
| 28121 | |
| 28122 | |
| 28123 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5 |
| 28124 | $as_echo_n "checking for fmodf128... " >&6; } |
| 28125 | if ${gcc_cv_math_func_fmodf128+:} false; then : |
| 28126 | $as_echo_n "(cached) " >&6 |
| 28127 | else |
| 28128 | if test x$gcc_no_link = xyes; then |
| 28129 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28130 | fi |
| 28131 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28132 | /* end confdefs.h. */ |
| 28133 | |
| 28134 | #ifdef HAVE_COMPLEX_H |
| 28135 | #include <complex.h> |
| 28136 | #endif |
| 28137 | #ifdef HAVE_MATH_H |
| 28138 | #include <math.h> |
| 28139 | #endif |
| 28140 | |
| 28141 | int (*ptr)() = (int (*)())fmodf128; |
| 28142 | |
| 28143 | int |
| 28144 | main () |
| 28145 | { |
| 28146 | return 0; |
| 28147 | } |
| 28148 | |
| 28149 | _ACEOF |
| 28150 | if ac_fn_c_try_link "$LINENO"; then : |
| 28151 | gcc_cv_math_func_fmodf128=yes |
| 28152 | else |
| 28153 | gcc_cv_math_func_fmodf128=no |
| 28154 | fi |
| 28155 | rm -f core conftest.err conftest.$ac_objext \ |
| 28156 | conftest$ac_exeext conftest.$ac_ext |
| 28157 | fi |
| 28158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5 |
| 28159 | $as_echo "$gcc_cv_math_func_fmodf128" >&6; } |
| 28160 | if test $gcc_cv_math_func_fmodf128 = yes; then |
| 28161 | |
| 28162 | cat >>confdefs.h <<_ACEOF |
| 28163 | #define HAVE_FMODF128 1 |
| 28164 | _ACEOF |
| 28165 | |
| 28166 | fi |
| 28167 | |
| 28168 | |
| 28169 | |
| 28170 | |
| 28171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5 |
| 28172 | $as_echo_n "checking for frexpf128... " >&6; } |
| 28173 | if ${gcc_cv_math_func_frexpf128+:} false; then : |
| 28174 | $as_echo_n "(cached) " >&6 |
| 28175 | else |
| 28176 | if test x$gcc_no_link = xyes; then |
| 28177 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28178 | fi |
| 28179 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28180 | /* end confdefs.h. */ |
| 28181 | |
| 28182 | #ifdef HAVE_COMPLEX_H |
| 28183 | #include <complex.h> |
| 28184 | #endif |
| 28185 | #ifdef HAVE_MATH_H |
| 28186 | #include <math.h> |
| 28187 | #endif |
| 28188 | |
| 28189 | int (*ptr)() = (int (*)())frexpf128; |
| 28190 | |
| 28191 | int |
| 28192 | main () |
| 28193 | { |
| 28194 | return 0; |
| 28195 | } |
| 28196 | |
| 28197 | _ACEOF |
| 28198 | if ac_fn_c_try_link "$LINENO"; then : |
| 28199 | gcc_cv_math_func_frexpf128=yes |
| 28200 | else |
| 28201 | gcc_cv_math_func_frexpf128=no |
| 28202 | fi |
| 28203 | rm -f core conftest.err conftest.$ac_objext \ |
| 28204 | conftest$ac_exeext conftest.$ac_ext |
| 28205 | fi |
| 28206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5 |
| 28207 | $as_echo "$gcc_cv_math_func_frexpf128" >&6; } |
| 28208 | if test $gcc_cv_math_func_frexpf128 = yes; then |
| 28209 | |
| 28210 | cat >>confdefs.h <<_ACEOF |
| 28211 | #define HAVE_FREXPF128 1 |
| 28212 | _ACEOF |
| 28213 | |
| 28214 | fi |
| 28215 | |
| 28216 | |
| 28217 | |
| 28218 | |
| 28219 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5 |
| 28220 | $as_echo_n "checking for hypotf128... " >&6; } |
| 28221 | if ${gcc_cv_math_func_hypotf128+:} false; then : |
| 28222 | $as_echo_n "(cached) " >&6 |
| 28223 | else |
| 28224 | if test x$gcc_no_link = xyes; then |
| 28225 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28226 | fi |
| 28227 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28228 | /* end confdefs.h. */ |
| 28229 | |
| 28230 | #ifdef HAVE_COMPLEX_H |
| 28231 | #include <complex.h> |
| 28232 | #endif |
| 28233 | #ifdef HAVE_MATH_H |
| 28234 | #include <math.h> |
| 28235 | #endif |
| 28236 | |
| 28237 | int (*ptr)() = (int (*)())hypotf128; |
| 28238 | |
| 28239 | int |
| 28240 | main () |
| 28241 | { |
| 28242 | return 0; |
| 28243 | } |
| 28244 | |
| 28245 | _ACEOF |
| 28246 | if ac_fn_c_try_link "$LINENO"; then : |
| 28247 | gcc_cv_math_func_hypotf128=yes |
| 28248 | else |
| 28249 | gcc_cv_math_func_hypotf128=no |
| 28250 | fi |
| 28251 | rm -f core conftest.err conftest.$ac_objext \ |
| 28252 | conftest$ac_exeext conftest.$ac_ext |
| 28253 | fi |
| 28254 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5 |
| 28255 | $as_echo "$gcc_cv_math_func_hypotf128" >&6; } |
| 28256 | if test $gcc_cv_math_func_hypotf128 = yes; then |
| 28257 | |
| 28258 | cat >>confdefs.h <<_ACEOF |
| 28259 | #define HAVE_HYPOTF128 1 |
| 28260 | _ACEOF |
| 28261 | |
| 28262 | fi |
| 28263 | |
| 28264 | |
| 28265 | |
| 28266 | |
| 28267 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5 |
| 28268 | $as_echo_n "checking for ldexpf128... " >&6; } |
| 28269 | if ${gcc_cv_math_func_ldexpf128+:} false; then : |
| 28270 | $as_echo_n "(cached) " >&6 |
| 28271 | else |
| 28272 | if test x$gcc_no_link = xyes; then |
| 28273 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28274 | fi |
| 28275 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28276 | /* end confdefs.h. */ |
| 28277 | |
| 28278 | #ifdef HAVE_COMPLEX_H |
| 28279 | #include <complex.h> |
| 28280 | #endif |
| 28281 | #ifdef HAVE_MATH_H |
| 28282 | #include <math.h> |
| 28283 | #endif |
| 28284 | |
| 28285 | int (*ptr)() = (int (*)())ldexpf128; |
| 28286 | |
| 28287 | int |
| 28288 | main () |
| 28289 | { |
| 28290 | return 0; |
| 28291 | } |
| 28292 | |
| 28293 | _ACEOF |
| 28294 | if ac_fn_c_try_link "$LINENO"; then : |
| 28295 | gcc_cv_math_func_ldexpf128=yes |
| 28296 | else |
| 28297 | gcc_cv_math_func_ldexpf128=no |
| 28298 | fi |
| 28299 | rm -f core conftest.err conftest.$ac_objext \ |
| 28300 | conftest$ac_exeext conftest.$ac_ext |
| 28301 | fi |
| 28302 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5 |
| 28303 | $as_echo "$gcc_cv_math_func_ldexpf128" >&6; } |
| 28304 | if test $gcc_cv_math_func_ldexpf128 = yes; then |
| 28305 | |
| 28306 | cat >>confdefs.h <<_ACEOF |
| 28307 | #define HAVE_LDEXPF128 1 |
| 28308 | _ACEOF |
| 28309 | |
| 28310 | fi |
| 28311 | |
| 28312 | |
| 28313 | |
| 28314 | |
| 28315 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5 |
| 28316 | $as_echo_n "checking for logf128... " >&6; } |
| 28317 | if ${gcc_cv_math_func_logf128+:} false; then : |
| 28318 | $as_echo_n "(cached) " >&6 |
| 28319 | else |
| 28320 | if test x$gcc_no_link = xyes; then |
| 28321 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28322 | fi |
| 28323 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28324 | /* end confdefs.h. */ |
| 28325 | |
| 28326 | #ifdef HAVE_COMPLEX_H |
| 28327 | #include <complex.h> |
| 28328 | #endif |
| 28329 | #ifdef HAVE_MATH_H |
| 28330 | #include <math.h> |
| 28331 | #endif |
| 28332 | |
| 28333 | int (*ptr)() = (int (*)())logf128; |
| 28334 | |
| 28335 | int |
| 28336 | main () |
| 28337 | { |
| 28338 | return 0; |
| 28339 | } |
| 28340 | |
| 28341 | _ACEOF |
| 28342 | if ac_fn_c_try_link "$LINENO"; then : |
| 28343 | gcc_cv_math_func_logf128=yes |
| 28344 | else |
| 28345 | gcc_cv_math_func_logf128=no |
| 28346 | fi |
| 28347 | rm -f core conftest.err conftest.$ac_objext \ |
| 28348 | conftest$ac_exeext conftest.$ac_ext |
| 28349 | fi |
| 28350 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5 |
| 28351 | $as_echo "$gcc_cv_math_func_logf128" >&6; } |
| 28352 | if test $gcc_cv_math_func_logf128 = yes; then |
| 28353 | |
| 28354 | cat >>confdefs.h <<_ACEOF |
| 28355 | #define HAVE_LOGF128 1 |
| 28356 | _ACEOF |
| 28357 | |
| 28358 | fi |
| 28359 | |
| 28360 | |
| 28361 | |
| 28362 | |
| 28363 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5 |
| 28364 | $as_echo_n "checking for clogf128... " >&6; } |
| 28365 | if ${gcc_cv_math_func_clogf128+:} false; then : |
| 28366 | $as_echo_n "(cached) " >&6 |
| 28367 | else |
| 28368 | if test x$gcc_no_link = xyes; then |
| 28369 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28370 | fi |
| 28371 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28372 | /* end confdefs.h. */ |
| 28373 | |
| 28374 | #ifdef HAVE_COMPLEX_H |
| 28375 | #include <complex.h> |
| 28376 | #endif |
| 28377 | #ifdef HAVE_MATH_H |
| 28378 | #include <math.h> |
| 28379 | #endif |
| 28380 | |
| 28381 | int (*ptr)() = (int (*)())clogf128; |
| 28382 | |
| 28383 | int |
| 28384 | main () |
| 28385 | { |
| 28386 | return 0; |
| 28387 | } |
| 28388 | |
| 28389 | _ACEOF |
| 28390 | if ac_fn_c_try_link "$LINENO"; then : |
| 28391 | gcc_cv_math_func_clogf128=yes |
| 28392 | else |
| 28393 | gcc_cv_math_func_clogf128=no |
| 28394 | fi |
| 28395 | rm -f core conftest.err conftest.$ac_objext \ |
| 28396 | conftest$ac_exeext conftest.$ac_ext |
| 28397 | fi |
| 28398 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5 |
| 28399 | $as_echo "$gcc_cv_math_func_clogf128" >&6; } |
| 28400 | if test $gcc_cv_math_func_clogf128 = yes; then |
| 28401 | |
| 28402 | cat >>confdefs.h <<_ACEOF |
| 28403 | #define HAVE_CLOGF128 1 |
| 28404 | _ACEOF |
| 28405 | |
| 28406 | fi |
| 28407 | |
| 28408 | |
| 28409 | |
| 28410 | |
| 28411 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5 |
| 28412 | $as_echo_n "checking for log10f128... " >&6; } |
| 28413 | if ${gcc_cv_math_func_log10f128+:} false; then : |
| 28414 | $as_echo_n "(cached) " >&6 |
| 28415 | else |
| 28416 | if test x$gcc_no_link = xyes; then |
| 28417 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28418 | fi |
| 28419 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28420 | /* end confdefs.h. */ |
| 28421 | |
| 28422 | #ifdef HAVE_COMPLEX_H |
| 28423 | #include <complex.h> |
| 28424 | #endif |
| 28425 | #ifdef HAVE_MATH_H |
| 28426 | #include <math.h> |
| 28427 | #endif |
| 28428 | |
| 28429 | int (*ptr)() = (int (*)())log10f128; |
| 28430 | |
| 28431 | int |
| 28432 | main () |
| 28433 | { |
| 28434 | return 0; |
| 28435 | } |
| 28436 | |
| 28437 | _ACEOF |
| 28438 | if ac_fn_c_try_link "$LINENO"; then : |
| 28439 | gcc_cv_math_func_log10f128=yes |
| 28440 | else |
| 28441 | gcc_cv_math_func_log10f128=no |
| 28442 | fi |
| 28443 | rm -f core conftest.err conftest.$ac_objext \ |
| 28444 | conftest$ac_exeext conftest.$ac_ext |
| 28445 | fi |
| 28446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5 |
| 28447 | $as_echo "$gcc_cv_math_func_log10f128" >&6; } |
| 28448 | if test $gcc_cv_math_func_log10f128 = yes; then |
| 28449 | |
| 28450 | cat >>confdefs.h <<_ACEOF |
| 28451 | #define HAVE_LOG10F128 1 |
| 28452 | _ACEOF |
| 28453 | |
| 28454 | fi |
| 28455 | |
| 28456 | |
| 28457 | |
| 28458 | |
| 28459 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5 |
| 28460 | $as_echo_n "checking for clog10f128... " >&6; } |
| 28461 | if ${gcc_cv_math_func_clog10f128+:} false; then : |
| 28462 | $as_echo_n "(cached) " >&6 |
| 28463 | else |
| 28464 | if test x$gcc_no_link = xyes; then |
| 28465 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28466 | fi |
| 28467 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28468 | /* end confdefs.h. */ |
| 28469 | |
| 28470 | #ifdef HAVE_COMPLEX_H |
| 28471 | #include <complex.h> |
| 28472 | #endif |
| 28473 | #ifdef HAVE_MATH_H |
| 28474 | #include <math.h> |
| 28475 | #endif |
| 28476 | |
| 28477 | int (*ptr)() = (int (*)())clog10f128; |
| 28478 | |
| 28479 | int |
| 28480 | main () |
| 28481 | { |
| 28482 | return 0; |
| 28483 | } |
| 28484 | |
| 28485 | _ACEOF |
| 28486 | if ac_fn_c_try_link "$LINENO"; then : |
| 28487 | gcc_cv_math_func_clog10f128=yes |
| 28488 | else |
| 28489 | gcc_cv_math_func_clog10f128=no |
| 28490 | fi |
| 28491 | rm -f core conftest.err conftest.$ac_objext \ |
| 28492 | conftest$ac_exeext conftest.$ac_ext |
| 28493 | fi |
| 28494 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5 |
| 28495 | $as_echo "$gcc_cv_math_func_clog10f128" >&6; } |
| 28496 | if test $gcc_cv_math_func_clog10f128 = yes; then |
| 28497 | |
| 28498 | cat >>confdefs.h <<_ACEOF |
| 28499 | #define HAVE_CLOG10F128 1 |
| 28500 | _ACEOF |
| 28501 | |
| 28502 | fi |
| 28503 | |
| 28504 | |
| 28505 | |
| 28506 | |
| 28507 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5 |
| 28508 | $as_echo_n "checking for nextafterf128... " >&6; } |
| 28509 | if ${gcc_cv_math_func_nextafterf128+:} false; then : |
| 28510 | $as_echo_n "(cached) " >&6 |
| 28511 | else |
| 28512 | if test x$gcc_no_link = xyes; then |
| 28513 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28514 | fi |
| 28515 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28516 | /* end confdefs.h. */ |
| 28517 | |
| 28518 | #ifdef HAVE_COMPLEX_H |
| 28519 | #include <complex.h> |
| 28520 | #endif |
| 28521 | #ifdef HAVE_MATH_H |
| 28522 | #include <math.h> |
| 28523 | #endif |
| 28524 | |
| 28525 | int (*ptr)() = (int (*)())nextafterf128; |
| 28526 | |
| 28527 | int |
| 28528 | main () |
| 28529 | { |
| 28530 | return 0; |
| 28531 | } |
| 28532 | |
| 28533 | _ACEOF |
| 28534 | if ac_fn_c_try_link "$LINENO"; then : |
| 28535 | gcc_cv_math_func_nextafterf128=yes |
| 28536 | else |
| 28537 | gcc_cv_math_func_nextafterf128=no |
| 28538 | fi |
| 28539 | rm -f core conftest.err conftest.$ac_objext \ |
| 28540 | conftest$ac_exeext conftest.$ac_ext |
| 28541 | fi |
| 28542 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5 |
| 28543 | $as_echo "$gcc_cv_math_func_nextafterf128" >&6; } |
| 28544 | if test $gcc_cv_math_func_nextafterf128 = yes; then |
| 28545 | |
| 28546 | cat >>confdefs.h <<_ACEOF |
| 28547 | #define HAVE_NEXTAFTERF128 1 |
| 28548 | _ACEOF |
| 28549 | |
| 28550 | fi |
| 28551 | |
| 28552 | |
| 28553 | |
| 28554 | |
| 28555 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5 |
| 28556 | $as_echo_n "checking for powf128... " >&6; } |
| 28557 | if ${gcc_cv_math_func_powf128+:} false; then : |
| 28558 | $as_echo_n "(cached) " >&6 |
| 28559 | else |
| 28560 | if test x$gcc_no_link = xyes; then |
| 28561 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28562 | fi |
| 28563 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28564 | /* end confdefs.h. */ |
| 28565 | |
| 28566 | #ifdef HAVE_COMPLEX_H |
| 28567 | #include <complex.h> |
| 28568 | #endif |
| 28569 | #ifdef HAVE_MATH_H |
| 28570 | #include <math.h> |
| 28571 | #endif |
| 28572 | |
| 28573 | int (*ptr)() = (int (*)())powf128; |
| 28574 | |
| 28575 | int |
| 28576 | main () |
| 28577 | { |
| 28578 | return 0; |
| 28579 | } |
| 28580 | |
| 28581 | _ACEOF |
| 28582 | if ac_fn_c_try_link "$LINENO"; then : |
| 28583 | gcc_cv_math_func_powf128=yes |
| 28584 | else |
| 28585 | gcc_cv_math_func_powf128=no |
| 28586 | fi |
| 28587 | rm -f core conftest.err conftest.$ac_objext \ |
| 28588 | conftest$ac_exeext conftest.$ac_ext |
| 28589 | fi |
| 28590 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5 |
| 28591 | $as_echo "$gcc_cv_math_func_powf128" >&6; } |
| 28592 | if test $gcc_cv_math_func_powf128 = yes; then |
| 28593 | |
| 28594 | cat >>confdefs.h <<_ACEOF |
| 28595 | #define HAVE_POWF128 1 |
| 28596 | _ACEOF |
| 28597 | |
| 28598 | fi |
| 28599 | |
| 28600 | |
| 28601 | |
| 28602 | |
| 28603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5 |
| 28604 | $as_echo_n "checking for cpowf128... " >&6; } |
| 28605 | if ${gcc_cv_math_func_cpowf128+:} false; then : |
| 28606 | $as_echo_n "(cached) " >&6 |
| 28607 | else |
| 28608 | if test x$gcc_no_link = xyes; then |
| 28609 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28610 | fi |
| 28611 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28612 | /* end confdefs.h. */ |
| 28613 | |
| 28614 | #ifdef HAVE_COMPLEX_H |
| 28615 | #include <complex.h> |
| 28616 | #endif |
| 28617 | #ifdef HAVE_MATH_H |
| 28618 | #include <math.h> |
| 28619 | #endif |
| 28620 | |
| 28621 | int (*ptr)() = (int (*)())cpowf128; |
| 28622 | |
| 28623 | int |
| 28624 | main () |
| 28625 | { |
| 28626 | return 0; |
| 28627 | } |
| 28628 | |
| 28629 | _ACEOF |
| 28630 | if ac_fn_c_try_link "$LINENO"; then : |
| 28631 | gcc_cv_math_func_cpowf128=yes |
| 28632 | else |
| 28633 | gcc_cv_math_func_cpowf128=no |
| 28634 | fi |
| 28635 | rm -f core conftest.err conftest.$ac_objext \ |
| 28636 | conftest$ac_exeext conftest.$ac_ext |
| 28637 | fi |
| 28638 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5 |
| 28639 | $as_echo "$gcc_cv_math_func_cpowf128" >&6; } |
| 28640 | if test $gcc_cv_math_func_cpowf128 = yes; then |
| 28641 | |
| 28642 | cat >>confdefs.h <<_ACEOF |
| 28643 | #define HAVE_CPOWF128 1 |
| 28644 | _ACEOF |
| 28645 | |
| 28646 | fi |
| 28647 | |
| 28648 | |
| 28649 | |
| 28650 | |
| 28651 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5 |
| 28652 | $as_echo_n "checking for roundf128... " >&6; } |
| 28653 | if ${gcc_cv_math_func_roundf128+:} false; then : |
| 28654 | $as_echo_n "(cached) " >&6 |
| 28655 | else |
| 28656 | if test x$gcc_no_link = xyes; then |
| 28657 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28658 | fi |
| 28659 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28660 | /* end confdefs.h. */ |
| 28661 | |
| 28662 | #ifdef HAVE_COMPLEX_H |
| 28663 | #include <complex.h> |
| 28664 | #endif |
| 28665 | #ifdef HAVE_MATH_H |
| 28666 | #include <math.h> |
| 28667 | #endif |
| 28668 | |
| 28669 | int (*ptr)() = (int (*)())roundf128; |
| 28670 | |
| 28671 | int |
| 28672 | main () |
| 28673 | { |
| 28674 | return 0; |
| 28675 | } |
| 28676 | |
| 28677 | _ACEOF |
| 28678 | if ac_fn_c_try_link "$LINENO"; then : |
| 28679 | gcc_cv_math_func_roundf128=yes |
| 28680 | else |
| 28681 | gcc_cv_math_func_roundf128=no |
| 28682 | fi |
| 28683 | rm -f core conftest.err conftest.$ac_objext \ |
| 28684 | conftest$ac_exeext conftest.$ac_ext |
| 28685 | fi |
| 28686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5 |
| 28687 | $as_echo "$gcc_cv_math_func_roundf128" >&6; } |
| 28688 | if test $gcc_cv_math_func_roundf128 = yes; then |
| 28689 | |
| 28690 | cat >>confdefs.h <<_ACEOF |
| 28691 | #define HAVE_ROUNDF128 1 |
| 28692 | _ACEOF |
| 28693 | |
| 28694 | fi |
| 28695 | |
| 28696 | |
| 28697 | |
| 28698 | |
| 28699 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5 |
| 28700 | $as_echo_n "checking for lroundf128... " >&6; } |
| 28701 | if ${gcc_cv_math_func_lroundf128+:} false; then : |
| 28702 | $as_echo_n "(cached) " >&6 |
| 28703 | else |
| 28704 | if test x$gcc_no_link = xyes; then |
| 28705 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28706 | fi |
| 28707 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28708 | /* end confdefs.h. */ |
| 28709 | |
| 28710 | #ifdef HAVE_COMPLEX_H |
| 28711 | #include <complex.h> |
| 28712 | #endif |
| 28713 | #ifdef HAVE_MATH_H |
| 28714 | #include <math.h> |
| 28715 | #endif |
| 28716 | |
| 28717 | int (*ptr)() = (int (*)())lroundf128; |
| 28718 | |
| 28719 | int |
| 28720 | main () |
| 28721 | { |
| 28722 | return 0; |
| 28723 | } |
| 28724 | |
| 28725 | _ACEOF |
| 28726 | if ac_fn_c_try_link "$LINENO"; then : |
| 28727 | gcc_cv_math_func_lroundf128=yes |
| 28728 | else |
| 28729 | gcc_cv_math_func_lroundf128=no |
| 28730 | fi |
| 28731 | rm -f core conftest.err conftest.$ac_objext \ |
| 28732 | conftest$ac_exeext conftest.$ac_ext |
| 28733 | fi |
| 28734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5 |
| 28735 | $as_echo "$gcc_cv_math_func_lroundf128" >&6; } |
| 28736 | if test $gcc_cv_math_func_lroundf128 = yes; then |
| 28737 | |
| 28738 | cat >>confdefs.h <<_ACEOF |
| 28739 | #define HAVE_LROUNDF128 1 |
| 28740 | _ACEOF |
| 28741 | |
| 28742 | fi |
| 28743 | |
| 28744 | |
| 28745 | |
| 28746 | |
| 28747 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5 |
| 28748 | $as_echo_n "checking for llroundf128... " >&6; } |
| 28749 | if ${gcc_cv_math_func_llroundf128+:} false; then : |
| 28750 | $as_echo_n "(cached) " >&6 |
| 28751 | else |
| 28752 | if test x$gcc_no_link = xyes; then |
| 28753 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28754 | fi |
| 28755 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28756 | /* end confdefs.h. */ |
| 28757 | |
| 28758 | #ifdef HAVE_COMPLEX_H |
| 28759 | #include <complex.h> |
| 28760 | #endif |
| 28761 | #ifdef HAVE_MATH_H |
| 28762 | #include <math.h> |
| 28763 | #endif |
| 28764 | |
| 28765 | int (*ptr)() = (int (*)())llroundf128; |
| 28766 | |
| 28767 | int |
| 28768 | main () |
| 28769 | { |
| 28770 | return 0; |
| 28771 | } |
| 28772 | |
| 28773 | _ACEOF |
| 28774 | if ac_fn_c_try_link "$LINENO"; then : |
| 28775 | gcc_cv_math_func_llroundf128=yes |
| 28776 | else |
| 28777 | gcc_cv_math_func_llroundf128=no |
| 28778 | fi |
| 28779 | rm -f core conftest.err conftest.$ac_objext \ |
| 28780 | conftest$ac_exeext conftest.$ac_ext |
| 28781 | fi |
| 28782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5 |
| 28783 | $as_echo "$gcc_cv_math_func_llroundf128" >&6; } |
| 28784 | if test $gcc_cv_math_func_llroundf128 = yes; then |
| 28785 | |
| 28786 | cat >>confdefs.h <<_ACEOF |
| 28787 | #define HAVE_LLROUNDF128 1 |
| 28788 | _ACEOF |
| 28789 | |
| 28790 | fi |
| 28791 | |
| 28792 | |
| 28793 | |
| 28794 | |
| 28795 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5 |
| 28796 | $as_echo_n "checking for scalbnf128... " >&6; } |
| 28797 | if ${gcc_cv_math_func_scalbnf128+:} false; then : |
| 28798 | $as_echo_n "(cached) " >&6 |
| 28799 | else |
| 28800 | if test x$gcc_no_link = xyes; then |
| 28801 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28802 | fi |
| 28803 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28804 | /* end confdefs.h. */ |
| 28805 | |
| 28806 | #ifdef HAVE_COMPLEX_H |
| 28807 | #include <complex.h> |
| 28808 | #endif |
| 28809 | #ifdef HAVE_MATH_H |
| 28810 | #include <math.h> |
| 28811 | #endif |
| 28812 | |
| 28813 | int (*ptr)() = (int (*)())scalbnf128; |
| 28814 | |
| 28815 | int |
| 28816 | main () |
| 28817 | { |
| 28818 | return 0; |
| 28819 | } |
| 28820 | |
| 28821 | _ACEOF |
| 28822 | if ac_fn_c_try_link "$LINENO"; then : |
| 28823 | gcc_cv_math_func_scalbnf128=yes |
| 28824 | else |
| 28825 | gcc_cv_math_func_scalbnf128=no |
| 28826 | fi |
| 28827 | rm -f core conftest.err conftest.$ac_objext \ |
| 28828 | conftest$ac_exeext conftest.$ac_ext |
| 28829 | fi |
| 28830 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5 |
| 28831 | $as_echo "$gcc_cv_math_func_scalbnf128" >&6; } |
| 28832 | if test $gcc_cv_math_func_scalbnf128 = yes; then |
| 28833 | |
| 28834 | cat >>confdefs.h <<_ACEOF |
| 28835 | #define HAVE_SCALBNF128 1 |
| 28836 | _ACEOF |
| 28837 | |
| 28838 | fi |
| 28839 | |
| 28840 | |
| 28841 | |
| 28842 | |
| 28843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5 |
| 28844 | $as_echo_n "checking for sinf128... " >&6; } |
| 28845 | if ${gcc_cv_math_func_sinf128+:} false; then : |
| 28846 | $as_echo_n "(cached) " >&6 |
| 28847 | else |
| 28848 | if test x$gcc_no_link = xyes; then |
| 28849 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28850 | fi |
| 28851 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28852 | /* end confdefs.h. */ |
| 28853 | |
| 28854 | #ifdef HAVE_COMPLEX_H |
| 28855 | #include <complex.h> |
| 28856 | #endif |
| 28857 | #ifdef HAVE_MATH_H |
| 28858 | #include <math.h> |
| 28859 | #endif |
| 28860 | |
| 28861 | int (*ptr)() = (int (*)())sinf128; |
| 28862 | |
| 28863 | int |
| 28864 | main () |
| 28865 | { |
| 28866 | return 0; |
| 28867 | } |
| 28868 | |
| 28869 | _ACEOF |
| 28870 | if ac_fn_c_try_link "$LINENO"; then : |
| 28871 | gcc_cv_math_func_sinf128=yes |
| 28872 | else |
| 28873 | gcc_cv_math_func_sinf128=no |
| 28874 | fi |
| 28875 | rm -f core conftest.err conftest.$ac_objext \ |
| 28876 | conftest$ac_exeext conftest.$ac_ext |
| 28877 | fi |
| 28878 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5 |
| 28879 | $as_echo "$gcc_cv_math_func_sinf128" >&6; } |
| 28880 | if test $gcc_cv_math_func_sinf128 = yes; then |
| 28881 | |
| 28882 | cat >>confdefs.h <<_ACEOF |
| 28883 | #define HAVE_SINF128 1 |
| 28884 | _ACEOF |
| 28885 | |
| 28886 | fi |
| 28887 | |
| 28888 | |
| 28889 | |
| 28890 | |
| 28891 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5 |
| 28892 | $as_echo_n "checking for csinf128... " >&6; } |
| 28893 | if ${gcc_cv_math_func_csinf128+:} false; then : |
| 28894 | $as_echo_n "(cached) " >&6 |
| 28895 | else |
| 28896 | if test x$gcc_no_link = xyes; then |
| 28897 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28898 | fi |
| 28899 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28900 | /* end confdefs.h. */ |
| 28901 | |
| 28902 | #ifdef HAVE_COMPLEX_H |
| 28903 | #include <complex.h> |
| 28904 | #endif |
| 28905 | #ifdef HAVE_MATH_H |
| 28906 | #include <math.h> |
| 28907 | #endif |
| 28908 | |
| 28909 | int (*ptr)() = (int (*)())csinf128; |
| 28910 | |
| 28911 | int |
| 28912 | main () |
| 28913 | { |
| 28914 | return 0; |
| 28915 | } |
| 28916 | |
| 28917 | _ACEOF |
| 28918 | if ac_fn_c_try_link "$LINENO"; then : |
| 28919 | gcc_cv_math_func_csinf128=yes |
| 28920 | else |
| 28921 | gcc_cv_math_func_csinf128=no |
| 28922 | fi |
| 28923 | rm -f core conftest.err conftest.$ac_objext \ |
| 28924 | conftest$ac_exeext conftest.$ac_ext |
| 28925 | fi |
| 28926 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5 |
| 28927 | $as_echo "$gcc_cv_math_func_csinf128" >&6; } |
| 28928 | if test $gcc_cv_math_func_csinf128 = yes; then |
| 28929 | |
| 28930 | cat >>confdefs.h <<_ACEOF |
| 28931 | #define HAVE_CSINF128 1 |
| 28932 | _ACEOF |
| 28933 | |
| 28934 | fi |
| 28935 | |
| 28936 | |
| 28937 | |
| 28938 | |
| 28939 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5 |
| 28940 | $as_echo_n "checking for sinhf128... " >&6; } |
| 28941 | if ${gcc_cv_math_func_sinhf128+:} false; then : |
| 28942 | $as_echo_n "(cached) " >&6 |
| 28943 | else |
| 28944 | if test x$gcc_no_link = xyes; then |
| 28945 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28946 | fi |
| 28947 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28948 | /* end confdefs.h. */ |
| 28949 | |
| 28950 | #ifdef HAVE_COMPLEX_H |
| 28951 | #include <complex.h> |
| 28952 | #endif |
| 28953 | #ifdef HAVE_MATH_H |
| 28954 | #include <math.h> |
| 28955 | #endif |
| 28956 | |
| 28957 | int (*ptr)() = (int (*)())sinhf128; |
| 28958 | |
| 28959 | int |
| 28960 | main () |
| 28961 | { |
| 28962 | return 0; |
| 28963 | } |
| 28964 | |
| 28965 | _ACEOF |
| 28966 | if ac_fn_c_try_link "$LINENO"; then : |
| 28967 | gcc_cv_math_func_sinhf128=yes |
| 28968 | else |
| 28969 | gcc_cv_math_func_sinhf128=no |
| 28970 | fi |
| 28971 | rm -f core conftest.err conftest.$ac_objext \ |
| 28972 | conftest$ac_exeext conftest.$ac_ext |
| 28973 | fi |
| 28974 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5 |
| 28975 | $as_echo "$gcc_cv_math_func_sinhf128" >&6; } |
| 28976 | if test $gcc_cv_math_func_sinhf128 = yes; then |
| 28977 | |
| 28978 | cat >>confdefs.h <<_ACEOF |
| 28979 | #define HAVE_SINHF128 1 |
| 28980 | _ACEOF |
| 28981 | |
| 28982 | fi |
| 28983 | |
| 28984 | |
| 28985 | |
| 28986 | |
| 28987 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5 |
| 28988 | $as_echo_n "checking for csinhf128... " >&6; } |
| 28989 | if ${gcc_cv_math_func_csinhf128+:} false; then : |
| 28990 | $as_echo_n "(cached) " >&6 |
| 28991 | else |
| 28992 | if test x$gcc_no_link = xyes; then |
| 28993 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 28994 | fi |
| 28995 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28996 | /* end confdefs.h. */ |
| 28997 | |
| 28998 | #ifdef HAVE_COMPLEX_H |
| 28999 | #include <complex.h> |
| 29000 | #endif |
| 29001 | #ifdef HAVE_MATH_H |
| 29002 | #include <math.h> |
| 29003 | #endif |
| 29004 | |
| 29005 | int (*ptr)() = (int (*)())csinhf128; |
| 29006 | |
| 29007 | int |
| 29008 | main () |
| 29009 | { |
| 29010 | return 0; |
| 29011 | } |
| 29012 | |
| 29013 | _ACEOF |
| 29014 | if ac_fn_c_try_link "$LINENO"; then : |
| 29015 | gcc_cv_math_func_csinhf128=yes |
| 29016 | else |
| 29017 | gcc_cv_math_func_csinhf128=no |
| 29018 | fi |
| 29019 | rm -f core conftest.err conftest.$ac_objext \ |
| 29020 | conftest$ac_exeext conftest.$ac_ext |
| 29021 | fi |
| 29022 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5 |
| 29023 | $as_echo "$gcc_cv_math_func_csinhf128" >&6; } |
| 29024 | if test $gcc_cv_math_func_csinhf128 = yes; then |
| 29025 | |
| 29026 | cat >>confdefs.h <<_ACEOF |
| 29027 | #define HAVE_CSINHF128 1 |
| 29028 | _ACEOF |
| 29029 | |
| 29030 | fi |
| 29031 | |
| 29032 | |
| 29033 | |
| 29034 | |
| 29035 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5 |
| 29036 | $as_echo_n "checking for sqrtf128... " >&6; } |
| 29037 | if ${gcc_cv_math_func_sqrtf128+:} false; then : |
| 29038 | $as_echo_n "(cached) " >&6 |
| 29039 | else |
| 29040 | if test x$gcc_no_link = xyes; then |
| 29041 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29042 | fi |
| 29043 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29044 | /* end confdefs.h. */ |
| 29045 | |
| 29046 | #ifdef HAVE_COMPLEX_H |
| 29047 | #include <complex.h> |
| 29048 | #endif |
| 29049 | #ifdef HAVE_MATH_H |
| 29050 | #include <math.h> |
| 29051 | #endif |
| 29052 | |
| 29053 | int (*ptr)() = (int (*)())sqrtf128; |
| 29054 | |
| 29055 | int |
| 29056 | main () |
| 29057 | { |
| 29058 | return 0; |
| 29059 | } |
| 29060 | |
| 29061 | _ACEOF |
| 29062 | if ac_fn_c_try_link "$LINENO"; then : |
| 29063 | gcc_cv_math_func_sqrtf128=yes |
| 29064 | else |
| 29065 | gcc_cv_math_func_sqrtf128=no |
| 29066 | fi |
| 29067 | rm -f core conftest.err conftest.$ac_objext \ |
| 29068 | conftest$ac_exeext conftest.$ac_ext |
| 29069 | fi |
| 29070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5 |
| 29071 | $as_echo "$gcc_cv_math_func_sqrtf128" >&6; } |
| 29072 | if test $gcc_cv_math_func_sqrtf128 = yes; then |
| 29073 | |
| 29074 | cat >>confdefs.h <<_ACEOF |
| 29075 | #define HAVE_SQRTF128 1 |
| 29076 | _ACEOF |
| 29077 | |
| 29078 | fi |
| 29079 | |
| 29080 | |
| 29081 | |
| 29082 | |
| 29083 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5 |
| 29084 | $as_echo_n "checking for csqrtf128... " >&6; } |
| 29085 | if ${gcc_cv_math_func_csqrtf128+:} false; then : |
| 29086 | $as_echo_n "(cached) " >&6 |
| 29087 | else |
| 29088 | if test x$gcc_no_link = xyes; then |
| 29089 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29090 | fi |
| 29091 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29092 | /* end confdefs.h. */ |
| 29093 | |
| 29094 | #ifdef HAVE_COMPLEX_H |
| 29095 | #include <complex.h> |
| 29096 | #endif |
| 29097 | #ifdef HAVE_MATH_H |
| 29098 | #include <math.h> |
| 29099 | #endif |
| 29100 | |
| 29101 | int (*ptr)() = (int (*)())csqrtf128; |
| 29102 | |
| 29103 | int |
| 29104 | main () |
| 29105 | { |
| 29106 | return 0; |
| 29107 | } |
| 29108 | |
| 29109 | _ACEOF |
| 29110 | if ac_fn_c_try_link "$LINENO"; then : |
| 29111 | gcc_cv_math_func_csqrtf128=yes |
| 29112 | else |
| 29113 | gcc_cv_math_func_csqrtf128=no |
| 29114 | fi |
| 29115 | rm -f core conftest.err conftest.$ac_objext \ |
| 29116 | conftest$ac_exeext conftest.$ac_ext |
| 29117 | fi |
| 29118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5 |
| 29119 | $as_echo "$gcc_cv_math_func_csqrtf128" >&6; } |
| 29120 | if test $gcc_cv_math_func_csqrtf128 = yes; then |
| 29121 | |
| 29122 | cat >>confdefs.h <<_ACEOF |
| 29123 | #define HAVE_CSQRTF128 1 |
| 29124 | _ACEOF |
| 29125 | |
| 29126 | fi |
| 29127 | |
| 29128 | |
| 29129 | |
| 29130 | |
| 29131 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5 |
| 29132 | $as_echo_n "checking for tanf128... " >&6; } |
| 29133 | if ${gcc_cv_math_func_tanf128+:} false; then : |
| 29134 | $as_echo_n "(cached) " >&6 |
| 29135 | else |
| 29136 | if test x$gcc_no_link = xyes; then |
| 29137 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29138 | fi |
| 29139 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29140 | /* end confdefs.h. */ |
| 29141 | |
| 29142 | #ifdef HAVE_COMPLEX_H |
| 29143 | #include <complex.h> |
| 29144 | #endif |
| 29145 | #ifdef HAVE_MATH_H |
| 29146 | #include <math.h> |
| 29147 | #endif |
| 29148 | |
| 29149 | int (*ptr)() = (int (*)())tanf128; |
| 29150 | |
| 29151 | int |
| 29152 | main () |
| 29153 | { |
| 29154 | return 0; |
| 29155 | } |
| 29156 | |
| 29157 | _ACEOF |
| 29158 | if ac_fn_c_try_link "$LINENO"; then : |
| 29159 | gcc_cv_math_func_tanf128=yes |
| 29160 | else |
| 29161 | gcc_cv_math_func_tanf128=no |
| 29162 | fi |
| 29163 | rm -f core conftest.err conftest.$ac_objext \ |
| 29164 | conftest$ac_exeext conftest.$ac_ext |
| 29165 | fi |
| 29166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5 |
| 29167 | $as_echo "$gcc_cv_math_func_tanf128" >&6; } |
| 29168 | if test $gcc_cv_math_func_tanf128 = yes; then |
| 29169 | |
| 29170 | cat >>confdefs.h <<_ACEOF |
| 29171 | #define HAVE_TANF128 1 |
| 29172 | _ACEOF |
| 29173 | |
| 29174 | fi |
| 29175 | |
| 29176 | |
| 29177 | |
| 29178 | |
| 29179 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5 |
| 29180 | $as_echo_n "checking for ctanf128... " >&6; } |
| 29181 | if ${gcc_cv_math_func_ctanf128+:} false; then : |
| 29182 | $as_echo_n "(cached) " >&6 |
| 29183 | else |
| 29184 | if test x$gcc_no_link = xyes; then |
| 29185 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29186 | fi |
| 29187 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29188 | /* end confdefs.h. */ |
| 29189 | |
| 29190 | #ifdef HAVE_COMPLEX_H |
| 29191 | #include <complex.h> |
| 29192 | #endif |
| 29193 | #ifdef HAVE_MATH_H |
| 29194 | #include <math.h> |
| 29195 | #endif |
| 29196 | |
| 29197 | int (*ptr)() = (int (*)())ctanf128; |
| 29198 | |
| 29199 | int |
| 29200 | main () |
| 29201 | { |
| 29202 | return 0; |
| 29203 | } |
| 29204 | |
| 29205 | _ACEOF |
| 29206 | if ac_fn_c_try_link "$LINENO"; then : |
| 29207 | gcc_cv_math_func_ctanf128=yes |
| 29208 | else |
| 29209 | gcc_cv_math_func_ctanf128=no |
| 29210 | fi |
| 29211 | rm -f core conftest.err conftest.$ac_objext \ |
| 29212 | conftest$ac_exeext conftest.$ac_ext |
| 29213 | fi |
| 29214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5 |
| 29215 | $as_echo "$gcc_cv_math_func_ctanf128" >&6; } |
| 29216 | if test $gcc_cv_math_func_ctanf128 = yes; then |
| 29217 | |
| 29218 | cat >>confdefs.h <<_ACEOF |
| 29219 | #define HAVE_CTANF128 1 |
| 29220 | _ACEOF |
| 29221 | |
| 29222 | fi |
| 29223 | |
| 29224 | |
| 29225 | |
| 29226 | |
| 29227 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5 |
| 29228 | $as_echo_n "checking for tanhf128... " >&6; } |
| 29229 | if ${gcc_cv_math_func_tanhf128+:} false; then : |
| 29230 | $as_echo_n "(cached) " >&6 |
| 29231 | else |
| 29232 | if test x$gcc_no_link = xyes; then |
| 29233 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29234 | fi |
| 29235 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29236 | /* end confdefs.h. */ |
| 29237 | |
| 29238 | #ifdef HAVE_COMPLEX_H |
| 29239 | #include <complex.h> |
| 29240 | #endif |
| 29241 | #ifdef HAVE_MATH_H |
| 29242 | #include <math.h> |
| 29243 | #endif |
| 29244 | |
| 29245 | int (*ptr)() = (int (*)())tanhf128; |
| 29246 | |
| 29247 | int |
| 29248 | main () |
| 29249 | { |
| 29250 | return 0; |
| 29251 | } |
| 29252 | |
| 29253 | _ACEOF |
| 29254 | if ac_fn_c_try_link "$LINENO"; then : |
| 29255 | gcc_cv_math_func_tanhf128=yes |
| 29256 | else |
| 29257 | gcc_cv_math_func_tanhf128=no |
| 29258 | fi |
| 29259 | rm -f core conftest.err conftest.$ac_objext \ |
| 29260 | conftest$ac_exeext conftest.$ac_ext |
| 29261 | fi |
| 29262 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5 |
| 29263 | $as_echo "$gcc_cv_math_func_tanhf128" >&6; } |
| 29264 | if test $gcc_cv_math_func_tanhf128 = yes; then |
| 29265 | |
| 29266 | cat >>confdefs.h <<_ACEOF |
| 29267 | #define HAVE_TANHF128 1 |
| 29268 | _ACEOF |
| 29269 | |
| 29270 | fi |
| 29271 | |
| 29272 | |
| 29273 | |
| 29274 | |
| 29275 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5 |
| 29276 | $as_echo_n "checking for ctanhf128... " >&6; } |
| 29277 | if ${gcc_cv_math_func_ctanhf128+:} false; then : |
| 29278 | $as_echo_n "(cached) " >&6 |
| 29279 | else |
| 29280 | if test x$gcc_no_link = xyes; then |
| 29281 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29282 | fi |
| 29283 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29284 | /* end confdefs.h. */ |
| 29285 | |
| 29286 | #ifdef HAVE_COMPLEX_H |
| 29287 | #include <complex.h> |
| 29288 | #endif |
| 29289 | #ifdef HAVE_MATH_H |
| 29290 | #include <math.h> |
| 29291 | #endif |
| 29292 | |
| 29293 | int (*ptr)() = (int (*)())ctanhf128; |
| 29294 | |
| 29295 | int |
| 29296 | main () |
| 29297 | { |
| 29298 | return 0; |
| 29299 | } |
| 29300 | |
| 29301 | _ACEOF |
| 29302 | if ac_fn_c_try_link "$LINENO"; then : |
| 29303 | gcc_cv_math_func_ctanhf128=yes |
| 29304 | else |
| 29305 | gcc_cv_math_func_ctanhf128=no |
| 29306 | fi |
| 29307 | rm -f core conftest.err conftest.$ac_objext \ |
| 29308 | conftest$ac_exeext conftest.$ac_ext |
| 29309 | fi |
| 29310 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5 |
| 29311 | $as_echo "$gcc_cv_math_func_ctanhf128" >&6; } |
| 29312 | if test $gcc_cv_math_func_ctanhf128 = yes; then |
| 29313 | |
| 29314 | cat >>confdefs.h <<_ACEOF |
| 29315 | #define HAVE_CTANHF128 1 |
| 29316 | _ACEOF |
| 29317 | |
| 29318 | fi |
| 29319 | |
| 29320 | |
| 29321 | |
| 29322 | |
| 29323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5 |
| 29324 | $as_echo_n "checking for truncf128... " >&6; } |
| 29325 | if ${gcc_cv_math_func_truncf128+:} false; then : |
| 29326 | $as_echo_n "(cached) " >&6 |
| 29327 | else |
| 29328 | if test x$gcc_no_link = xyes; then |
| 29329 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29330 | fi |
| 29331 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29332 | /* end confdefs.h. */ |
| 29333 | |
| 29334 | #ifdef HAVE_COMPLEX_H |
| 29335 | #include <complex.h> |
| 29336 | #endif |
| 29337 | #ifdef HAVE_MATH_H |
| 29338 | #include <math.h> |
| 29339 | #endif |
| 29340 | |
| 29341 | int (*ptr)() = (int (*)())truncf128; |
| 29342 | |
| 29343 | int |
| 29344 | main () |
| 29345 | { |
| 29346 | return 0; |
| 29347 | } |
| 29348 | |
| 29349 | _ACEOF |
| 29350 | if ac_fn_c_try_link "$LINENO"; then : |
| 29351 | gcc_cv_math_func_truncf128=yes |
| 29352 | else |
| 29353 | gcc_cv_math_func_truncf128=no |
| 29354 | fi |
| 29355 | rm -f core conftest.err conftest.$ac_objext \ |
| 29356 | conftest$ac_exeext conftest.$ac_ext |
| 29357 | fi |
| 29358 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5 |
| 29359 | $as_echo "$gcc_cv_math_func_truncf128" >&6; } |
| 29360 | if test $gcc_cv_math_func_truncf128 = yes; then |
| 29361 | |
| 29362 | cat >>confdefs.h <<_ACEOF |
| 29363 | #define HAVE_TRUNCF128 1 |
| 29364 | _ACEOF |
| 29365 | |
| 29366 | fi |
| 29367 | |
| 29368 | |
| 29369 | |
| 29370 | |
| 29371 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5 |
| 29372 | $as_echo_n "checking for erff128... " >&6; } |
| 29373 | if ${gcc_cv_math_func_erff128+:} false; then : |
| 29374 | $as_echo_n "(cached) " >&6 |
| 29375 | else |
| 29376 | if test x$gcc_no_link = xyes; then |
| 29377 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29378 | fi |
| 29379 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29380 | /* end confdefs.h. */ |
| 29381 | |
| 29382 | #ifdef HAVE_COMPLEX_H |
| 29383 | #include <complex.h> |
| 29384 | #endif |
| 29385 | #ifdef HAVE_MATH_H |
| 29386 | #include <math.h> |
| 29387 | #endif |
| 29388 | |
| 29389 | int (*ptr)() = (int (*)())erff128; |
| 29390 | |
| 29391 | int |
| 29392 | main () |
| 29393 | { |
| 29394 | return 0; |
| 29395 | } |
| 29396 | |
| 29397 | _ACEOF |
| 29398 | if ac_fn_c_try_link "$LINENO"; then : |
| 29399 | gcc_cv_math_func_erff128=yes |
| 29400 | else |
| 29401 | gcc_cv_math_func_erff128=no |
| 29402 | fi |
| 29403 | rm -f core conftest.err conftest.$ac_objext \ |
| 29404 | conftest$ac_exeext conftest.$ac_ext |
| 29405 | fi |
| 29406 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5 |
| 29407 | $as_echo "$gcc_cv_math_func_erff128" >&6; } |
| 29408 | if test $gcc_cv_math_func_erff128 = yes; then |
| 29409 | |
| 29410 | cat >>confdefs.h <<_ACEOF |
| 29411 | #define HAVE_ERFF128 1 |
| 29412 | _ACEOF |
| 29413 | |
| 29414 | fi |
| 29415 | |
| 29416 | |
| 29417 | |
| 29418 | |
| 29419 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5 |
| 29420 | $as_echo_n "checking for erfcf128... " >&6; } |
| 29421 | if ${gcc_cv_math_func_erfcf128+:} false; then : |
| 29422 | $as_echo_n "(cached) " >&6 |
| 29423 | else |
| 29424 | if test x$gcc_no_link = xyes; then |
| 29425 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29426 | fi |
| 29427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29428 | /* end confdefs.h. */ |
| 29429 | |
| 29430 | #ifdef HAVE_COMPLEX_H |
| 29431 | #include <complex.h> |
| 29432 | #endif |
| 29433 | #ifdef HAVE_MATH_H |
| 29434 | #include <math.h> |
| 29435 | #endif |
| 29436 | |
| 29437 | int (*ptr)() = (int (*)())erfcf128; |
| 29438 | |
| 29439 | int |
| 29440 | main () |
| 29441 | { |
| 29442 | return 0; |
| 29443 | } |
| 29444 | |
| 29445 | _ACEOF |
| 29446 | if ac_fn_c_try_link "$LINENO"; then : |
| 29447 | gcc_cv_math_func_erfcf128=yes |
| 29448 | else |
| 29449 | gcc_cv_math_func_erfcf128=no |
| 29450 | fi |
| 29451 | rm -f core conftest.err conftest.$ac_objext \ |
| 29452 | conftest$ac_exeext conftest.$ac_ext |
| 29453 | fi |
| 29454 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5 |
| 29455 | $as_echo "$gcc_cv_math_func_erfcf128" >&6; } |
| 29456 | if test $gcc_cv_math_func_erfcf128 = yes; then |
| 29457 | |
| 29458 | cat >>confdefs.h <<_ACEOF |
| 29459 | #define HAVE_ERFCF128 1 |
| 29460 | _ACEOF |
| 29461 | |
| 29462 | fi |
| 29463 | |
| 29464 | |
| 29465 | |
| 29466 | |
| 29467 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5 |
| 29468 | $as_echo_n "checking for j0f128... " >&6; } |
| 29469 | if ${gcc_cv_math_func_j0f128+:} false; then : |
| 29470 | $as_echo_n "(cached) " >&6 |
| 29471 | else |
| 29472 | if test x$gcc_no_link = xyes; then |
| 29473 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29474 | fi |
| 29475 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29476 | /* end confdefs.h. */ |
| 29477 | |
| 29478 | #ifdef HAVE_COMPLEX_H |
| 29479 | #include <complex.h> |
| 29480 | #endif |
| 29481 | #ifdef HAVE_MATH_H |
| 29482 | #include <math.h> |
| 29483 | #endif |
| 29484 | |
| 29485 | int (*ptr)() = (int (*)())j0f128; |
| 29486 | |
| 29487 | int |
| 29488 | main () |
| 29489 | { |
| 29490 | return 0; |
| 29491 | } |
| 29492 | |
| 29493 | _ACEOF |
| 29494 | if ac_fn_c_try_link "$LINENO"; then : |
| 29495 | gcc_cv_math_func_j0f128=yes |
| 29496 | else |
| 29497 | gcc_cv_math_func_j0f128=no |
| 29498 | fi |
| 29499 | rm -f core conftest.err conftest.$ac_objext \ |
| 29500 | conftest$ac_exeext conftest.$ac_ext |
| 29501 | fi |
| 29502 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5 |
| 29503 | $as_echo "$gcc_cv_math_func_j0f128" >&6; } |
| 29504 | if test $gcc_cv_math_func_j0f128 = yes; then |
| 29505 | |
| 29506 | cat >>confdefs.h <<_ACEOF |
| 29507 | #define HAVE_J0F128 1 |
| 29508 | _ACEOF |
| 29509 | |
| 29510 | fi |
| 29511 | |
| 29512 | |
| 29513 | |
| 29514 | |
| 29515 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5 |
| 29516 | $as_echo_n "checking for j1f128... " >&6; } |
| 29517 | if ${gcc_cv_math_func_j1f128+:} false; then : |
| 29518 | $as_echo_n "(cached) " >&6 |
| 29519 | else |
| 29520 | if test x$gcc_no_link = xyes; then |
| 29521 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29522 | fi |
| 29523 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29524 | /* end confdefs.h. */ |
| 29525 | |
| 29526 | #ifdef HAVE_COMPLEX_H |
| 29527 | #include <complex.h> |
| 29528 | #endif |
| 29529 | #ifdef HAVE_MATH_H |
| 29530 | #include <math.h> |
| 29531 | #endif |
| 29532 | |
| 29533 | int (*ptr)() = (int (*)())j1f128; |
| 29534 | |
| 29535 | int |
| 29536 | main () |
| 29537 | { |
| 29538 | return 0; |
| 29539 | } |
| 29540 | |
| 29541 | _ACEOF |
| 29542 | if ac_fn_c_try_link "$LINENO"; then : |
| 29543 | gcc_cv_math_func_j1f128=yes |
| 29544 | else |
| 29545 | gcc_cv_math_func_j1f128=no |
| 29546 | fi |
| 29547 | rm -f core conftest.err conftest.$ac_objext \ |
| 29548 | conftest$ac_exeext conftest.$ac_ext |
| 29549 | fi |
| 29550 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5 |
| 29551 | $as_echo "$gcc_cv_math_func_j1f128" >&6; } |
| 29552 | if test $gcc_cv_math_func_j1f128 = yes; then |
| 29553 | |
| 29554 | cat >>confdefs.h <<_ACEOF |
| 29555 | #define HAVE_J1F128 1 |
| 29556 | _ACEOF |
| 29557 | |
| 29558 | fi |
| 29559 | |
| 29560 | |
| 29561 | |
| 29562 | |
| 29563 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5 |
| 29564 | $as_echo_n "checking for jnf128... " >&6; } |
| 29565 | if ${gcc_cv_math_func_jnf128+:} false; then : |
| 29566 | $as_echo_n "(cached) " >&6 |
| 29567 | else |
| 29568 | if test x$gcc_no_link = xyes; then |
| 29569 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29570 | fi |
| 29571 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29572 | /* end confdefs.h. */ |
| 29573 | |
| 29574 | #ifdef HAVE_COMPLEX_H |
| 29575 | #include <complex.h> |
| 29576 | #endif |
| 29577 | #ifdef HAVE_MATH_H |
| 29578 | #include <math.h> |
| 29579 | #endif |
| 29580 | |
| 29581 | int (*ptr)() = (int (*)())jnf128; |
| 29582 | |
| 29583 | int |
| 29584 | main () |
| 29585 | { |
| 29586 | return 0; |
| 29587 | } |
| 29588 | |
| 29589 | _ACEOF |
| 29590 | if ac_fn_c_try_link "$LINENO"; then : |
| 29591 | gcc_cv_math_func_jnf128=yes |
| 29592 | else |
| 29593 | gcc_cv_math_func_jnf128=no |
| 29594 | fi |
| 29595 | rm -f core conftest.err conftest.$ac_objext \ |
| 29596 | conftest$ac_exeext conftest.$ac_ext |
| 29597 | fi |
| 29598 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5 |
| 29599 | $as_echo "$gcc_cv_math_func_jnf128" >&6; } |
| 29600 | if test $gcc_cv_math_func_jnf128 = yes; then |
| 29601 | |
| 29602 | cat >>confdefs.h <<_ACEOF |
| 29603 | #define HAVE_JNF128 1 |
| 29604 | _ACEOF |
| 29605 | |
| 29606 | fi |
| 29607 | |
| 29608 | |
| 29609 | |
| 29610 | |
| 29611 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5 |
| 29612 | $as_echo_n "checking for y0f128... " >&6; } |
| 29613 | if ${gcc_cv_math_func_y0f128+:} false; then : |
| 29614 | $as_echo_n "(cached) " >&6 |
| 29615 | else |
| 29616 | if test x$gcc_no_link = xyes; then |
| 29617 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29618 | fi |
| 29619 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29620 | /* end confdefs.h. */ |
| 29621 | |
| 29622 | #ifdef HAVE_COMPLEX_H |
| 29623 | #include <complex.h> |
| 29624 | #endif |
| 29625 | #ifdef HAVE_MATH_H |
| 29626 | #include <math.h> |
| 29627 | #endif |
| 29628 | |
| 29629 | int (*ptr)() = (int (*)())y0f128; |
| 29630 | |
| 29631 | int |
| 29632 | main () |
| 29633 | { |
| 29634 | return 0; |
| 29635 | } |
| 29636 | |
| 29637 | _ACEOF |
| 29638 | if ac_fn_c_try_link "$LINENO"; then : |
| 29639 | gcc_cv_math_func_y0f128=yes |
| 29640 | else |
| 29641 | gcc_cv_math_func_y0f128=no |
| 29642 | fi |
| 29643 | rm -f core conftest.err conftest.$ac_objext \ |
| 29644 | conftest$ac_exeext conftest.$ac_ext |
| 29645 | fi |
| 29646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5 |
| 29647 | $as_echo "$gcc_cv_math_func_y0f128" >&6; } |
| 29648 | if test $gcc_cv_math_func_y0f128 = yes; then |
| 29649 | |
| 29650 | cat >>confdefs.h <<_ACEOF |
| 29651 | #define HAVE_Y0F128 1 |
| 29652 | _ACEOF |
| 29653 | |
| 29654 | fi |
| 29655 | |
| 29656 | |
| 29657 | |
| 29658 | |
| 29659 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5 |
| 29660 | $as_echo_n "checking for y1f128... " >&6; } |
| 29661 | if ${gcc_cv_math_func_y1f128+:} false; then : |
| 29662 | $as_echo_n "(cached) " >&6 |
| 29663 | else |
| 29664 | if test x$gcc_no_link = xyes; then |
| 29665 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29666 | fi |
| 29667 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29668 | /* end confdefs.h. */ |
| 29669 | |
| 29670 | #ifdef HAVE_COMPLEX_H |
| 29671 | #include <complex.h> |
| 29672 | #endif |
| 29673 | #ifdef HAVE_MATH_H |
| 29674 | #include <math.h> |
| 29675 | #endif |
| 29676 | |
| 29677 | int (*ptr)() = (int (*)())y1f128; |
| 29678 | |
| 29679 | int |
| 29680 | main () |
| 29681 | { |
| 29682 | return 0; |
| 29683 | } |
| 29684 | |
| 29685 | _ACEOF |
| 29686 | if ac_fn_c_try_link "$LINENO"; then : |
| 29687 | gcc_cv_math_func_y1f128=yes |
| 29688 | else |
| 29689 | gcc_cv_math_func_y1f128=no |
| 29690 | fi |
| 29691 | rm -f core conftest.err conftest.$ac_objext \ |
| 29692 | conftest$ac_exeext conftest.$ac_ext |
| 29693 | fi |
| 29694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5 |
| 29695 | $as_echo "$gcc_cv_math_func_y1f128" >&6; } |
| 29696 | if test $gcc_cv_math_func_y1f128 = yes; then |
| 29697 | |
| 29698 | cat >>confdefs.h <<_ACEOF |
| 29699 | #define HAVE_Y1F128 1 |
| 29700 | _ACEOF |
| 29701 | |
| 29702 | fi |
| 29703 | |
| 29704 | |
| 29705 | |
| 29706 | |
| 29707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5 |
| 29708 | $as_echo_n "checking for ynf128... " >&6; } |
| 29709 | if ${gcc_cv_math_func_ynf128+:} false; then : |
| 29710 | $as_echo_n "(cached) " >&6 |
| 29711 | else |
| 29712 | if test x$gcc_no_link = xyes; then |
| 29713 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29714 | fi |
| 29715 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29716 | /* end confdefs.h. */ |
| 29717 | |
| 29718 | #ifdef HAVE_COMPLEX_H |
| 29719 | #include <complex.h> |
| 29720 | #endif |
| 29721 | #ifdef HAVE_MATH_H |
| 29722 | #include <math.h> |
| 29723 | #endif |
| 29724 | |
| 29725 | int (*ptr)() = (int (*)())ynf128; |
| 29726 | |
| 29727 | int |
| 29728 | main () |
| 29729 | { |
| 29730 | return 0; |
| 29731 | } |
| 29732 | |
| 29733 | _ACEOF |
| 29734 | if ac_fn_c_try_link "$LINENO"; then : |
| 29735 | gcc_cv_math_func_ynf128=yes |
| 29736 | else |
| 29737 | gcc_cv_math_func_ynf128=no |
| 29738 | fi |
| 29739 | rm -f core conftest.err conftest.$ac_objext \ |
| 29740 | conftest$ac_exeext conftest.$ac_ext |
| 29741 | fi |
| 29742 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5 |
| 29743 | $as_echo "$gcc_cv_math_func_ynf128" >&6; } |
| 29744 | if test $gcc_cv_math_func_ynf128 = yes; then |
| 29745 | |
| 29746 | cat >>confdefs.h <<_ACEOF |
| 29747 | #define HAVE_YNF128 1 |
| 29748 | _ACEOF |
| 29749 | |
| 29750 | fi |
| 29751 | |
| 29752 | |
| 29753 | |
| 29754 | |
| 29755 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5 |
| 29756 | $as_echo_n "checking for tgammaf128... " >&6; } |
| 29757 | if ${gcc_cv_math_func_tgammaf128+:} false; then : |
| 29758 | $as_echo_n "(cached) " >&6 |
| 29759 | else |
| 29760 | if test x$gcc_no_link = xyes; then |
| 29761 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29762 | fi |
| 29763 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29764 | /* end confdefs.h. */ |
| 29765 | |
| 29766 | #ifdef HAVE_COMPLEX_H |
| 29767 | #include <complex.h> |
| 29768 | #endif |
| 29769 | #ifdef HAVE_MATH_H |
| 29770 | #include <math.h> |
| 29771 | #endif |
| 29772 | |
| 29773 | int (*ptr)() = (int (*)())tgammaf128; |
| 29774 | |
| 29775 | int |
| 29776 | main () |
| 29777 | { |
| 29778 | return 0; |
| 29779 | } |
| 29780 | |
| 29781 | _ACEOF |
| 29782 | if ac_fn_c_try_link "$LINENO"; then : |
| 29783 | gcc_cv_math_func_tgammaf128=yes |
| 29784 | else |
| 29785 | gcc_cv_math_func_tgammaf128=no |
| 29786 | fi |
| 29787 | rm -f core conftest.err conftest.$ac_objext \ |
| 29788 | conftest$ac_exeext conftest.$ac_ext |
| 29789 | fi |
| 29790 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5 |
| 29791 | $as_echo "$gcc_cv_math_func_tgammaf128" >&6; } |
| 29792 | if test $gcc_cv_math_func_tgammaf128 = yes; then |
| 29793 | |
| 29794 | cat >>confdefs.h <<_ACEOF |
| 29795 | #define HAVE_TGAMMAF128 1 |
| 29796 | _ACEOF |
| 29797 | |
| 29798 | fi |
| 29799 | |
| 29800 | |
| 29801 | |
| 29802 | |
| 29803 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5 |
| 29804 | $as_echo_n "checking for lgammaf128... " >&6; } |
| 29805 | if ${gcc_cv_math_func_lgammaf128+:} false; then : |
| 29806 | $as_echo_n "(cached) " >&6 |
| 29807 | else |
| 29808 | if test x$gcc_no_link = xyes; then |
| 29809 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29810 | fi |
| 29811 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29812 | /* end confdefs.h. */ |
| 29813 | |
| 29814 | #ifdef HAVE_COMPLEX_H |
| 29815 | #include <complex.h> |
| 29816 | #endif |
| 29817 | #ifdef HAVE_MATH_H |
| 29818 | #include <math.h> |
| 29819 | #endif |
| 29820 | |
| 29821 | int (*ptr)() = (int (*)())lgammaf128; |
| 29822 | |
| 29823 | int |
| 29824 | main () |
| 29825 | { |
| 29826 | return 0; |
| 29827 | } |
| 29828 | |
| 29829 | _ACEOF |
| 29830 | if ac_fn_c_try_link "$LINENO"; then : |
| 29831 | gcc_cv_math_func_lgammaf128=yes |
| 29832 | else |
| 29833 | gcc_cv_math_func_lgammaf128=no |
| 29834 | fi |
| 29835 | rm -f core conftest.err conftest.$ac_objext \ |
| 29836 | conftest$ac_exeext conftest.$ac_ext |
| 29837 | fi |
| 29838 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5 |
| 29839 | $as_echo "$gcc_cv_math_func_lgammaf128" >&6; } |
| 29840 | if test $gcc_cv_math_func_lgammaf128 = yes; then |
| 29841 | |
| 29842 | cat >>confdefs.h <<_ACEOF |
| 29843 | #define HAVE_LGAMMAF128 1 |
| 29844 | _ACEOF |
| 29845 | |
| 29846 | fi |
| 29847 | |
| 29848 | |
| 29849 | |
| 29850 | |
| 29851 | |
| 29852 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5 |
| 29853 | $as_echo_n "checking for cacosf128... " >&6; } |
| 29854 | if ${gcc_cv_math_func_cacosf128+:} false; then : |
| 29855 | $as_echo_n "(cached) " >&6 |
| 29856 | else |
| 29857 | if test x$gcc_no_link = xyes; then |
| 29858 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29859 | fi |
| 29860 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29861 | /* end confdefs.h. */ |
| 29862 | |
| 29863 | #ifdef HAVE_COMPLEX_H |
| 29864 | #include <complex.h> |
| 29865 | #endif |
| 29866 | #ifdef HAVE_MATH_H |
| 29867 | #include <math.h> |
| 29868 | #endif |
| 29869 | |
| 29870 | int (*ptr)() = (int (*)())cacosf128; |
| 29871 | |
| 29872 | int |
| 29873 | main () |
| 29874 | { |
| 29875 | return 0; |
| 29876 | } |
| 29877 | |
| 29878 | _ACEOF |
| 29879 | if ac_fn_c_try_link "$LINENO"; then : |
| 29880 | gcc_cv_math_func_cacosf128=yes |
| 29881 | else |
| 29882 | gcc_cv_math_func_cacosf128=no |
| 29883 | fi |
| 29884 | rm -f core conftest.err conftest.$ac_objext \ |
| 29885 | conftest$ac_exeext conftest.$ac_ext |
| 29886 | fi |
| 29887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5 |
| 29888 | $as_echo "$gcc_cv_math_func_cacosf128" >&6; } |
| 29889 | if test $gcc_cv_math_func_cacosf128 = yes; then |
| 29890 | |
| 29891 | cat >>confdefs.h <<_ACEOF |
| 29892 | #define HAVE_CACOSF128 1 |
| 29893 | _ACEOF |
| 29894 | |
| 29895 | fi |
| 29896 | |
| 29897 | |
| 29898 | |
| 29899 | |
| 29900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5 |
| 29901 | $as_echo_n "checking for cacoshf128... " >&6; } |
| 29902 | if ${gcc_cv_math_func_cacoshf128+:} false; then : |
| 29903 | $as_echo_n "(cached) " >&6 |
| 29904 | else |
| 29905 | if test x$gcc_no_link = xyes; then |
| 29906 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29907 | fi |
| 29908 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29909 | /* end confdefs.h. */ |
| 29910 | |
| 29911 | #ifdef HAVE_COMPLEX_H |
| 29912 | #include <complex.h> |
| 29913 | #endif |
| 29914 | #ifdef HAVE_MATH_H |
| 29915 | #include <math.h> |
| 29916 | #endif |
| 29917 | |
| 29918 | int (*ptr)() = (int (*)())cacoshf128; |
| 29919 | |
| 29920 | int |
| 29921 | main () |
| 29922 | { |
| 29923 | return 0; |
| 29924 | } |
| 29925 | |
| 29926 | _ACEOF |
| 29927 | if ac_fn_c_try_link "$LINENO"; then : |
| 29928 | gcc_cv_math_func_cacoshf128=yes |
| 29929 | else |
| 29930 | gcc_cv_math_func_cacoshf128=no |
| 29931 | fi |
| 29932 | rm -f core conftest.err conftest.$ac_objext \ |
| 29933 | conftest$ac_exeext conftest.$ac_ext |
| 29934 | fi |
| 29935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5 |
| 29936 | $as_echo "$gcc_cv_math_func_cacoshf128" >&6; } |
| 29937 | if test $gcc_cv_math_func_cacoshf128 = yes; then |
| 29938 | |
| 29939 | cat >>confdefs.h <<_ACEOF |
| 29940 | #define HAVE_CACOSHF128 1 |
| 29941 | _ACEOF |
| 29942 | |
| 29943 | fi |
| 29944 | |
| 29945 | |
| 29946 | |
| 29947 | |
| 29948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5 |
| 29949 | $as_echo_n "checking for casinf128... " >&6; } |
| 29950 | if ${gcc_cv_math_func_casinf128+:} false; then : |
| 29951 | $as_echo_n "(cached) " >&6 |
| 29952 | else |
| 29953 | if test x$gcc_no_link = xyes; then |
| 29954 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 29955 | fi |
| 29956 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29957 | /* end confdefs.h. */ |
| 29958 | |
| 29959 | #ifdef HAVE_COMPLEX_H |
| 29960 | #include <complex.h> |
| 29961 | #endif |
| 29962 | #ifdef HAVE_MATH_H |
| 29963 | #include <math.h> |
| 29964 | #endif |
| 29965 | |
| 29966 | int (*ptr)() = (int (*)())casinf128; |
| 29967 | |
| 29968 | int |
| 29969 | main () |
| 29970 | { |
| 29971 | return 0; |
| 29972 | } |
| 29973 | |
| 29974 | _ACEOF |
| 29975 | if ac_fn_c_try_link "$LINENO"; then : |
| 29976 | gcc_cv_math_func_casinf128=yes |
| 29977 | else |
| 29978 | gcc_cv_math_func_casinf128=no |
| 29979 | fi |
| 29980 | rm -f core conftest.err conftest.$ac_objext \ |
| 29981 | conftest$ac_exeext conftest.$ac_ext |
| 29982 | fi |
| 29983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5 |
| 29984 | $as_echo "$gcc_cv_math_func_casinf128" >&6; } |
| 29985 | if test $gcc_cv_math_func_casinf128 = yes; then |
| 29986 | |
| 29987 | cat >>confdefs.h <<_ACEOF |
| 29988 | #define HAVE_CASINF128 1 |
| 29989 | _ACEOF |
| 29990 | |
| 29991 | fi |
| 29992 | |
| 29993 | |
| 29994 | |
| 29995 | |
| 29996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5 |
| 29997 | $as_echo_n "checking for casinhf128... " >&6; } |
| 29998 | if ${gcc_cv_math_func_casinhf128+:} false; then : |
| 29999 | $as_echo_n "(cached) " >&6 |
| 30000 | else |
| 30001 | if test x$gcc_no_link = xyes; then |
| 30002 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30003 | fi |
| 30004 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30005 | /* end confdefs.h. */ |
| 30006 | |
| 30007 | #ifdef HAVE_COMPLEX_H |
| 30008 | #include <complex.h> |
| 30009 | #endif |
| 30010 | #ifdef HAVE_MATH_H |
| 30011 | #include <math.h> |
| 30012 | #endif |
| 30013 | |
| 30014 | int (*ptr)() = (int (*)())casinhf128; |
| 30015 | |
| 30016 | int |
| 30017 | main () |
| 30018 | { |
| 30019 | return 0; |
| 30020 | } |
| 30021 | |
| 30022 | _ACEOF |
| 30023 | if ac_fn_c_try_link "$LINENO"; then : |
| 30024 | gcc_cv_math_func_casinhf128=yes |
| 30025 | else |
| 30026 | gcc_cv_math_func_casinhf128=no |
| 30027 | fi |
| 30028 | rm -f core conftest.err conftest.$ac_objext \ |
| 30029 | conftest$ac_exeext conftest.$ac_ext |
| 30030 | fi |
| 30031 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5 |
| 30032 | $as_echo "$gcc_cv_math_func_casinhf128" >&6; } |
| 30033 | if test $gcc_cv_math_func_casinhf128 = yes; then |
| 30034 | |
| 30035 | cat >>confdefs.h <<_ACEOF |
| 30036 | #define HAVE_CASINHF128 1 |
| 30037 | _ACEOF |
| 30038 | |
| 30039 | fi |
| 30040 | |
| 30041 | |
| 30042 | |
| 30043 | |
| 30044 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5 |
| 30045 | $as_echo_n "checking for catanf128... " >&6; } |
| 30046 | if ${gcc_cv_math_func_catanf128+:} false; then : |
| 30047 | $as_echo_n "(cached) " >&6 |
| 30048 | else |
| 30049 | if test x$gcc_no_link = xyes; then |
| 30050 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30051 | fi |
| 30052 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30053 | /* end confdefs.h. */ |
| 30054 | |
| 30055 | #ifdef HAVE_COMPLEX_H |
| 30056 | #include <complex.h> |
| 30057 | #endif |
| 30058 | #ifdef HAVE_MATH_H |
| 30059 | #include <math.h> |
| 30060 | #endif |
| 30061 | |
| 30062 | int (*ptr)() = (int (*)())catanf128; |
| 30063 | |
| 30064 | int |
| 30065 | main () |
| 30066 | { |
| 30067 | return 0; |
| 30068 | } |
| 30069 | |
| 30070 | _ACEOF |
| 30071 | if ac_fn_c_try_link "$LINENO"; then : |
| 30072 | gcc_cv_math_func_catanf128=yes |
| 30073 | else |
| 30074 | gcc_cv_math_func_catanf128=no |
| 30075 | fi |
| 30076 | rm -f core conftest.err conftest.$ac_objext \ |
| 30077 | conftest$ac_exeext conftest.$ac_ext |
| 30078 | fi |
| 30079 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5 |
| 30080 | $as_echo "$gcc_cv_math_func_catanf128" >&6; } |
| 30081 | if test $gcc_cv_math_func_catanf128 = yes; then |
| 30082 | |
| 30083 | cat >>confdefs.h <<_ACEOF |
| 30084 | #define HAVE_CATANF128 1 |
| 30085 | _ACEOF |
| 30086 | |
| 30087 | fi |
| 30088 | |
| 30089 | |
| 30090 | |
| 30091 | |
| 30092 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5 |
| 30093 | $as_echo_n "checking for catanhf128... " >&6; } |
| 30094 | if ${gcc_cv_math_func_catanhf128+:} false; then : |
| 30095 | $as_echo_n "(cached) " >&6 |
| 30096 | else |
| 30097 | if test x$gcc_no_link = xyes; then |
| 30098 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30099 | fi |
| 30100 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30101 | /* end confdefs.h. */ |
| 30102 | |
| 30103 | #ifdef HAVE_COMPLEX_H |
| 30104 | #include <complex.h> |
| 30105 | #endif |
| 30106 | #ifdef HAVE_MATH_H |
| 30107 | #include <math.h> |
| 30108 | #endif |
| 30109 | |
| 30110 | int (*ptr)() = (int (*)())catanhf128; |
| 30111 | |
| 30112 | int |
| 30113 | main () |
| 30114 | { |
| 30115 | return 0; |
| 30116 | } |
| 30117 | |
| 30118 | _ACEOF |
| 30119 | if ac_fn_c_try_link "$LINENO"; then : |
| 30120 | gcc_cv_math_func_catanhf128=yes |
| 30121 | else |
| 30122 | gcc_cv_math_func_catanhf128=no |
| 30123 | fi |
| 30124 | rm -f core conftest.err conftest.$ac_objext \ |
| 30125 | conftest$ac_exeext conftest.$ac_ext |
| 30126 | fi |
| 30127 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5 |
| 30128 | $as_echo "$gcc_cv_math_func_catanhf128" >&6; } |
| 30129 | if test $gcc_cv_math_func_catanhf128 = yes; then |
| 30130 | |
| 30131 | cat >>confdefs.h <<_ACEOF |
| 30132 | #define HAVE_CATANHF128 1 |
| 30133 | _ACEOF |
| 30134 | |
| 30135 | fi |
| 30136 | |
| 30137 | |
| 30138 | # Check whether the system has a working stat() |
| 30139 | |
| 30140 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5 |
| 30141 | $as_echo_n "checking whether the target stat is reliable... " >&6; } |
| 30142 | if ${libgfor_cv_have_working_stat+:} false; then : |
| 30143 | $as_echo_n "(cached) " >&6 |
| 30144 | else |
| 30145 | |
| 30146 | if test "$cross_compiling" = yes; then : |
| 30147 | |
| 30148 | case "${target}" in |
| 30149 | *mingw*) libgfor_cv_have_working_stat=no ;; |
| 30150 | *) libgfor_cv_have_working_stat=yes;; |
| 30151 | esac |
| 30152 | else |
| 30153 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30154 | /* end confdefs.h. */ |
| 30155 | |
| 30156 | #include <stdio.h> |
| 30157 | #include <sys/types.h> |
| 30158 | #include <sys/stat.h> |
| 30159 | #include <unistd.h> |
| 30160 | |
| 30161 | int main () |
| 30162 | { |
| 30163 | FILE *f, *g; |
| 30164 | struct stat st1, st2; |
| 30165 | |
| 30166 | f = fopen ("foo", "w"); |
| 30167 | g = fopen ("bar", "w"); |
| 30168 | if (stat ("foo", &st1) != 0 || stat ("bar", &st2)) |
| 30169 | return 1; |
| 30170 | if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino) |
| 30171 | return 1; |
| 30172 | fclose(f); |
| 30173 | fclose(g); |
| 30174 | return 0; |
| 30175 | } |
| 30176 | _ACEOF |
| 30177 | if ac_fn_c_try_run "$LINENO"; then : |
| 30178 | libgfor_cv_have_working_stat=yes |
| 30179 | else |
| 30180 | libgfor_cv_have_working_stat=no |
| 30181 | fi |
| 30182 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 30183 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 30184 | fi |
| 30185 | |
| 30186 | fi |
| 30187 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5 |
| 30188 | $as_echo "$libgfor_cv_have_working_stat" >&6; } |
| 30189 | if test x"$libgfor_cv_have_working_stat" = xyes; then |
| 30190 | |
| 30191 | $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h |
| 30192 | |
| 30193 | fi |
| 30194 | |
| 30195 | # Check whether __mingw_snprintf() is present |
| 30196 | |
| 30197 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5 |
| 30198 | $as_echo_n "checking whether __mingw_snprintf is present... " >&6; } |
| 30199 | if ${libgfor_cv_have_mingw_snprintf+:} false; then : |
| 30200 | $as_echo_n "(cached) " >&6 |
| 30201 | else |
| 30202 | |
| 30203 | if test x$gcc_no_link = xyes; then |
| 30204 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30205 | fi |
| 30206 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30207 | /* end confdefs.h. */ |
| 30208 | |
| 30209 | #include <stdio.h> |
| 30210 | extern int __mingw_snprintf (char *, size_t, const char *, ...); |
| 30211 | |
| 30212 | int |
| 30213 | main () |
| 30214 | { |
| 30215 | |
| 30216 | __mingw_snprintf (NULL, 0, "%d\n", 1); |
| 30217 | |
| 30218 | ; |
| 30219 | return 0; |
| 30220 | } |
| 30221 | _ACEOF |
| 30222 | if ac_fn_c_try_link "$LINENO"; then : |
| 30223 | eval "libgfor_cv_have_mingw_snprintf=yes" |
| 30224 | else |
| 30225 | eval "libgfor_cv_have_mingw_snprintf=no" |
| 30226 | fi |
| 30227 | rm -f core conftest.err conftest.$ac_objext \ |
| 30228 | conftest$ac_exeext conftest.$ac_ext |
| 30229 | |
| 30230 | fi |
| 30231 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5 |
| 30232 | $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; } |
| 30233 | if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then |
| 30234 | |
| 30235 | $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h |
| 30236 | |
| 30237 | fi |
| 30238 | |
| 30239 | |
| 30240 | have_iec_60559_libc_support=no |
| 30241 | if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \ |
| 30242 | && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then |
| 30243 | have_iec_60559_libc_support=yes |
| 30244 | fi |
| 30245 | |
| 30246 | # Check whether libquadmath should be used |
| 30247 | # Check whether --enable-libquadmath-support was given. |
| 30248 | if test "${enable_libquadmath_support+set}" = set; then : |
| 30249 | enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval |
| 30250 | else |
| 30251 | if test "x$have_iec_60559_libc_support" = xyes; then |
| 30252 | ENABLE_LIBQUADMATH_SUPPORT=default |
| 30253 | else |
| 30254 | ENABLE_LIBQUADMATH_SUPPORT=yes |
| 30255 | fi |
| 30256 | fi |
| 30257 | |
| 30258 | enable_libquadmath_support= |
| 30259 | if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then |
| 30260 | enable_libquadmath_support=no |
| 30261 | elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then |
| 30262 | enable_libquadmath_support=default |
| 30263 | fi |
| 30264 | |
| 30265 | # Check whether we have a _Float128 type, depends on enable_libquadmath_support |
| 30266 | # and have_iec_60559_libc_support. |
| 30267 | |
| 30268 | LIBQUADSPEC= |
| 30269 | LIBQUADLIB= |
| 30270 | LIBQUADLIB_DEP= |
| 30271 | LIBQUADINCLUDE= |
| 30272 | USE_IEC_60559=no |
| 30273 | |
| 30274 | if test "x$enable_libquadmath_support" != xno; then |
| 30275 | |
| 30276 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5 |
| 30277 | $as_echo_n "checking whether we have a usable _Float128 type... " >&6; } |
| 30278 | if ${libgfor_cv_have_float128+:} false; then : |
| 30279 | $as_echo_n "(cached) " >&6 |
| 30280 | else |
| 30281 | |
| 30282 | if test x$gcc_no_link = xyes; then |
| 30283 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30284 | /* end confdefs.h. */ |
| 30285 | |
| 30286 | #ifdef __loongarch__ |
| 30287 | #error On LoongArch we should use long double instead; __float128 is only for porting existing code easier. |
| 30288 | #endif |
| 30289 | |
| 30290 | _Float128 foo (_Float128 x) |
| 30291 | { |
| 30292 | _Complex _Float128 z1, z2; |
| 30293 | |
| 30294 | z1 = x; |
| 30295 | z2 = x / 7.F128; |
| 30296 | z2 /= z1; |
| 30297 | |
| 30298 | return (_Float128) z2; |
| 30299 | } |
| 30300 | |
| 30301 | _Float128 bar (_Float128 x) |
| 30302 | { |
| 30303 | return x * __builtin_huge_valf128 (); |
| 30304 | } |
| 30305 | |
| 30306 | __float128 baz (__float128 x) |
| 30307 | { |
| 30308 | return x * __builtin_huge_valf128 (); |
| 30309 | } |
| 30310 | |
| 30311 | int |
| 30312 | main () |
| 30313 | { |
| 30314 | |
| 30315 | foo (1.2F128); |
| 30316 | bar (1.2F128); |
| 30317 | baz (1.2F128); |
| 30318 | foo (1.2Q); |
| 30319 | bar (1.2Q); |
| 30320 | baz (1.2Q); |
| 30321 | |
| 30322 | ; |
| 30323 | return 0; |
| 30324 | } |
| 30325 | _ACEOF |
| 30326 | if ac_fn_c_try_compile "$LINENO"; then : |
| 30327 | |
| 30328 | libgfor_cv_have_float128=yes |
| 30329 | |
| 30330 | else |
| 30331 | |
| 30332 | libgfor_cv_have_float128=no |
| 30333 | |
| 30334 | fi |
| 30335 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 30336 | else |
| 30337 | if test x$gcc_no_link = xyes; then |
| 30338 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30339 | fi |
| 30340 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30341 | /* end confdefs.h. */ |
| 30342 | |
| 30343 | #ifdef __loongarch__ |
| 30344 | #error On LoongArch we should use long double instead; __float128 is only for porting existing code easier. |
| 30345 | #endif |
| 30346 | |
| 30347 | _Float128 foo (_Float128 x) |
| 30348 | { |
| 30349 | _Complex _Float128 z1, z2; |
| 30350 | |
| 30351 | z1 = x; |
| 30352 | z2 = x / 7.F128; |
| 30353 | z2 /= z1; |
| 30354 | |
| 30355 | return (_Float128) z2; |
| 30356 | } |
| 30357 | |
| 30358 | _Float128 bar (_Float128 x) |
| 30359 | { |
| 30360 | return x * __builtin_huge_valf128 (); |
| 30361 | } |
| 30362 | |
| 30363 | __float128 baz (__float128 x) |
| 30364 | { |
| 30365 | return x * __builtin_huge_valf128 (); |
| 30366 | } |
| 30367 | |
| 30368 | int |
| 30369 | main () |
| 30370 | { |
| 30371 | |
| 30372 | foo (1.2F128); |
| 30373 | bar (1.2F128); |
| 30374 | baz (1.2F128); |
| 30375 | foo (1.2Q); |
| 30376 | bar (1.2Q); |
| 30377 | baz (1.2Q); |
| 30378 | |
| 30379 | ; |
| 30380 | return 0; |
| 30381 | } |
| 30382 | _ACEOF |
| 30383 | if ac_fn_c_try_link "$LINENO"; then : |
| 30384 | |
| 30385 | libgfor_cv_have_float128=yes |
| 30386 | |
| 30387 | else |
| 30388 | |
| 30389 | libgfor_cv_have_float128=no |
| 30390 | |
| 30391 | fi |
| 30392 | rm -f core conftest.err conftest.$ac_objext \ |
| 30393 | conftest$ac_exeext conftest.$ac_ext |
| 30394 | fi |
| 30395 | fi |
| 30396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5 |
| 30397 | $as_echo "$libgfor_cv_have_float128" >&6; } |
| 30398 | |
| 30399 | if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then |
| 30400 | USE_IEC_60559=yes |
| 30401 | fi |
| 30402 | |
| 30403 | |
| 30404 | if test "x$libgfor_cv_have_float128" = xyes; then |
| 30405 | if test "x$USE_IEC_60559" = xyes; then |
| 30406 | |
| 30407 | $as_echo "#define USE_IEC_60559 1" >>confdefs.h |
| 30408 | |
| 30409 | fi |
| 30410 | |
| 30411 | $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h |
| 30412 | |
| 30413 | |
| 30414 | ac_xsave_c_werror_flag=$ac_c_werror_flag |
| 30415 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5 |
| 30416 | $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; } |
| 30417 | if ${libgfor_cv_have_as_needed+:} false; then : |
| 30418 | $as_echo_n "(cached) " >&6 |
| 30419 | else |
| 30420 | |
| 30421 | # Test for native Solaris options first. |
| 30422 | # No whitespace after -z to pass it through -Wl. |
| 30423 | libgfor_cv_as_needed_option="-zignore" |
| 30424 | libgfor_cv_no_as_needed_option="-zrecord" |
| 30425 | save_LDFLAGS="$LDFLAGS" |
| 30426 | LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option" |
| 30427 | libgfor_cv_have_as_needed=no |
| 30428 | |
| 30429 | ac_c_werror_flag=yes |
| 30430 | if test x$gcc_no_link = xyes; then |
| 30431 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30432 | fi |
| 30433 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30434 | /* end confdefs.h. */ |
| 30435 | |
| 30436 | int |
| 30437 | main () |
| 30438 | { |
| 30439 | |
| 30440 | ; |
| 30441 | return 0; |
| 30442 | } |
| 30443 | _ACEOF |
| 30444 | if ac_fn_c_try_link "$LINENO"; then : |
| 30445 | libgfor_cv_have_as_needed=yes |
| 30446 | else |
| 30447 | libgfor_cv_have_as_needed=no |
| 30448 | fi |
| 30449 | rm -f core conftest.err conftest.$ac_objext \ |
| 30450 | conftest$ac_exeext conftest.$ac_ext |
| 30451 | LDFLAGS="$save_LDFLAGS" |
| 30452 | if test "x$libgfor_cv_have_as_needed" = xno; then |
| 30453 | libgfor_cv_as_needed_option="--as-needed" |
| 30454 | libgfor_cv_no_as_needed_option="--no-as-needed" |
| 30455 | save_LDFLAGS="$LDFLAGS" |
| 30456 | LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option" |
| 30457 | libgfor_cv_have_as_needed=no |
| 30458 | |
| 30459 | ac_c_werror_flag=yes |
| 30460 | if test x$gcc_no_link = xyes; then |
| 30461 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30462 | fi |
| 30463 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30464 | /* end confdefs.h. */ |
| 30465 | |
| 30466 | int |
| 30467 | main () |
| 30468 | { |
| 30469 | |
| 30470 | ; |
| 30471 | return 0; |
| 30472 | } |
| 30473 | _ACEOF |
| 30474 | if ac_fn_c_try_link "$LINENO"; then : |
| 30475 | libgfor_cv_have_as_needed=yes |
| 30476 | else |
| 30477 | libgfor_cv_have_as_needed=no |
| 30478 | fi |
| 30479 | rm -f core conftest.err conftest.$ac_objext \ |
| 30480 | conftest$ac_exeext conftest.$ac_ext |
| 30481 | LDFLAGS="$save_LDFLAGS" |
| 30482 | fi |
| 30483 | ac_c_werror_flag=$ac_xsave_c_werror_flag |
| 30484 | |
| 30485 | fi |
| 30486 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5 |
| 30487 | $as_echo "$libgfor_cv_have_as_needed" >&6; } |
| 30488 | |
| 30489 | touch conftest1.$ac_objext conftest2.$ac_objext |
| 30490 | LQUADMATH=-lquadmath |
| 30491 | $FC -static-libgfortran -### -o conftest \ |
| 30492 | conftest1.$ac_objext -lgfortran conftest2.$ac_objext 2>&1 >/dev/null \ |
| 30493 | | grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd |
| 30494 | if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \ |
| 30495 | conftest.cmd >/dev/null 2>&1; then |
| 30496 | LQUADMATH="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}" |
| 30497 | elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \ |
| 30498 | conftest.cmd >/dev/null 2>&1; then |
| 30499 | LQUADMATH="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}" |
| 30500 | elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \ |
| 30501 | conftest.cmd >/dev/null 2>&1; then |
| 30502 | LQUADMATH="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}" |
| 30503 | elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \ |
| 30504 | conftest.cmd >/dev/null 2>&1; then |
| 30505 | LQUADMATH="%{static-libquadmath:libquadmath.a%s;:-lquadmath}" |
| 30506 | fi |
| 30507 | rm -f conftest1.$ac_objext conftest2.$ac_objext conftest conftest.cmd |
| 30508 | |
| 30509 | if test "x$libgfor_cv_have_as_needed" = xyes; then |
| 30510 | if test "x$USE_IEC_60559" = xyes; then |
| 30511 | LIBQUADSPEC="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option" |
| 30512 | else |
| 30513 | LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}" |
| 30514 | fi |
| 30515 | else |
| 30516 | LIBQUADSPEC="$LQUADMATH" |
| 30517 | fi |
| 30518 | if test "x$USE_IEC_60559" != xyes; then |
| 30519 | if test -f ../libquadmath/libquadmath.la; then |
| 30520 | LIBQUADLIB=../libquadmath/libquadmath.la |
| 30521 | LIBQUADLIB_DEP=../libquadmath/libquadmath.la |
| 30522 | LIBQUADINCLUDE='-I$(srcdir)/../libquadmath' |
| 30523 | else |
| 30524 | LIBQUADLIB="-lquadmath" |
| 30525 | fi |
| 30526 | fi |
| 30527 | else |
| 30528 | USE_IEC_60559=no |
| 30529 | fi |
| 30530 | fi |
| 30531 | |
| 30532 | |
| 30533 | |
| 30534 | |
| 30535 | |
| 30536 | |
| 30537 | |
| 30538 | |
| 30539 | # Check for GNU libc feenableexcept |
| 30540 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5 |
| 30541 | $as_echo_n "checking for feenableexcept in -lm... " >&6; } |
| 30542 | if ${ac_cv_lib_m_feenableexcept+:} false; then : |
| 30543 | $as_echo_n "(cached) " >&6 |
| 30544 | else |
| 30545 | ac_check_lib_save_LIBS=$LIBS |
| 30546 | LIBS="-lm $LIBS" |
| 30547 | if test x$gcc_no_link = xyes; then |
| 30548 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30549 | fi |
| 30550 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30551 | /* end confdefs.h. */ |
| 30552 | |
| 30553 | /* Override any GCC internal prototype to avoid an error. |
| 30554 | Use char because int might match the return type of a GCC |
| 30555 | builtin and then its argument prototype would still apply. */ |
| 30556 | #ifdef __cplusplus |
| 30557 | extern "C" |
| 30558 | #endif |
| 30559 | char feenableexcept (); |
| 30560 | int |
| 30561 | main () |
| 30562 | { |
| 30563 | return feenableexcept (); |
| 30564 | ; |
| 30565 | return 0; |
| 30566 | } |
| 30567 | _ACEOF |
| 30568 | if ac_fn_c_try_link "$LINENO"; then : |
| 30569 | ac_cv_lib_m_feenableexcept=yes |
| 30570 | else |
| 30571 | ac_cv_lib_m_feenableexcept=no |
| 30572 | fi |
| 30573 | rm -f core conftest.err conftest.$ac_objext \ |
| 30574 | conftest$ac_exeext conftest.$ac_ext |
| 30575 | LIBS=$ac_check_lib_save_LIBS |
| 30576 | fi |
| 30577 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5 |
| 30578 | $as_echo "$ac_cv_lib_m_feenableexcept" >&6; } |
| 30579 | if test "x$ac_cv_lib_m_feenableexcept" = xyes; then : |
| 30580 | have_feenableexcept=yes |
| 30581 | $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h |
| 30582 | |
| 30583 | fi |
| 30584 | |
| 30585 | |
| 30586 | # At least for glibc, clock_gettime is in librt. But don't |
| 30587 | # pull that in if it still doesn't give us the function we want. This |
| 30588 | # test is copied from libgomp, and modified to not link in -lrt as |
| 30589 | # libgfortran calls clock_gettime via a weak reference if it's found |
| 30590 | # in librt. |
| 30591 | if test "$ac_cv_func_clock_gettime" = no; then |
| 30592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
| 30593 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
| 30594 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
| 30595 | $as_echo_n "(cached) " >&6 |
| 30596 | else |
| 30597 | ac_check_lib_save_LIBS=$LIBS |
| 30598 | LIBS="-lrt $LIBS" |
| 30599 | if test x$gcc_no_link = xyes; then |
| 30600 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30601 | fi |
| 30602 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30603 | /* end confdefs.h. */ |
| 30604 | |
| 30605 | /* Override any GCC internal prototype to avoid an error. |
| 30606 | Use char because int might match the return type of a GCC |
| 30607 | builtin and then its argument prototype would still apply. */ |
| 30608 | #ifdef __cplusplus |
| 30609 | extern "C" |
| 30610 | #endif |
| 30611 | char clock_gettime (); |
| 30612 | int |
| 30613 | main () |
| 30614 | { |
| 30615 | return clock_gettime (); |
| 30616 | ; |
| 30617 | return 0; |
| 30618 | } |
| 30619 | _ACEOF |
| 30620 | if ac_fn_c_try_link "$LINENO"; then : |
| 30621 | ac_cv_lib_rt_clock_gettime=yes |
| 30622 | else |
| 30623 | ac_cv_lib_rt_clock_gettime=no |
| 30624 | fi |
| 30625 | rm -f core conftest.err conftest.$ac_objext \ |
| 30626 | conftest$ac_exeext conftest.$ac_ext |
| 30627 | LIBS=$ac_check_lib_save_LIBS |
| 30628 | fi |
| 30629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
| 30630 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
| 30631 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
| 30632 | |
| 30633 | $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h |
| 30634 | |
| 30635 | fi |
| 30636 | |
| 30637 | fi |
| 30638 | |
| 30639 | # Check for SysV fpsetmask |
| 30640 | |
| 30641 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5 |
| 30642 | $as_echo_n "checking whether fpsetmask is present... " >&6; } |
| 30643 | if ${libgfor_cv_have_fpsetmask+:} false; then : |
| 30644 | $as_echo_n "(cached) " >&6 |
| 30645 | else |
| 30646 | |
| 30647 | if test x$gcc_no_link = xyes; then |
| 30648 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30649 | fi |
| 30650 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30651 | /* end confdefs.h. */ |
| 30652 | |
| 30653 | #if HAVE_FLOATINGPOINT_H |
| 30654 | # include <floatingpoint.h> |
| 30655 | #endif /* HAVE_FLOATINGPOINT_H */ |
| 30656 | #if HAVE_IEEEFP_H |
| 30657 | # include <ieeefp.h> |
| 30658 | #endif /* HAVE_IEEEFP_H */ |
| 30659 | int |
| 30660 | main () |
| 30661 | { |
| 30662 | fpsetmask(0); |
| 30663 | ; |
| 30664 | return 0; |
| 30665 | } |
| 30666 | _ACEOF |
| 30667 | if ac_fn_c_try_link "$LINENO"; then : |
| 30668 | eval "libgfor_cv_have_fpsetmask=yes" |
| 30669 | else |
| 30670 | eval "libgfor_cv_have_fpsetmask=no" |
| 30671 | fi |
| 30672 | rm -f core conftest.err conftest.$ac_objext \ |
| 30673 | conftest$ac_exeext conftest.$ac_ext |
| 30674 | |
| 30675 | fi |
| 30676 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5 |
| 30677 | $as_echo "$libgfor_cv_have_fpsetmask" >&6; } |
| 30678 | if test x"$libgfor_cv_have_fpsetmask" = xyes; then |
| 30679 | have_fpsetmask=yes |
| 30680 | |
| 30681 | $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h |
| 30682 | |
| 30683 | fi |
| 30684 | |
| 30685 | ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" " |
| 30686 | #ifdef HAVE_IEEEFP_H |
| 30687 | #include <ieeefp.h> |
| 30688 | #endif |
| 30689 | #include <math.h> |
| 30690 | |
| 30691 | " |
| 30692 | if test "x$ac_cv_type_fp_except" = xyes; then : |
| 30693 | |
| 30694 | cat >>confdefs.h <<_ACEOF |
| 30695 | #define HAVE_FP_EXCEPT 1 |
| 30696 | _ACEOF |
| 30697 | |
| 30698 | |
| 30699 | fi |
| 30700 | ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" " |
| 30701 | #ifdef HAVE_IEEEFP_H |
| 30702 | #include <ieeefp.h> |
| 30703 | #endif |
| 30704 | #include <math.h> |
| 30705 | |
| 30706 | " |
| 30707 | if test "x$ac_cv_type_fp_except_t" = xyes; then : |
| 30708 | |
| 30709 | cat >>confdefs.h <<_ACEOF |
| 30710 | #define HAVE_FP_EXCEPT_T 1 |
| 30711 | _ACEOF |
| 30712 | |
| 30713 | |
| 30714 | fi |
| 30715 | |
| 30716 | ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" " |
| 30717 | #ifdef HAVE_IEEEFP_H |
| 30718 | #include <ieeefp.h> |
| 30719 | #endif |
| 30720 | #include <math.h> |
| 30721 | |
| 30722 | " |
| 30723 | if test "x$ac_cv_type_fp_rnd" = xyes; then : |
| 30724 | |
| 30725 | cat >>confdefs.h <<_ACEOF |
| 30726 | #define HAVE_FP_RND 1 |
| 30727 | _ACEOF |
| 30728 | |
| 30729 | |
| 30730 | fi |
| 30731 | ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" " |
| 30732 | #ifdef HAVE_IEEEFP_H |
| 30733 | #include <ieeefp.h> |
| 30734 | #endif |
| 30735 | #include <math.h> |
| 30736 | |
| 30737 | " |
| 30738 | if test "x$ac_cv_type_fp_rnd_t" = xyes; then : |
| 30739 | |
| 30740 | cat >>confdefs.h <<_ACEOF |
| 30741 | #define HAVE_FP_RND_T 1 |
| 30742 | _ACEOF |
| 30743 | |
| 30744 | |
| 30745 | fi |
| 30746 | |
| 30747 | |
| 30748 | # Check whether we have fpsetsticky or fpresetsticky |
| 30749 | ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky" |
| 30750 | if test "x$ac_cv_func_fpsetsticky" = xyes; then : |
| 30751 | have_fpsetsticky=yes |
| 30752 | $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h |
| 30753 | |
| 30754 | fi |
| 30755 | |
| 30756 | ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky" |
| 30757 | if test "x$ac_cv_func_fpresetsticky" = xyes; then : |
| 30758 | have_fpresetsticky=yes |
| 30759 | $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h |
| 30760 | |
| 30761 | fi |
| 30762 | |
| 30763 | |
| 30764 | # Check for AIX fp_trap and fp_enable |
| 30765 | ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap" |
| 30766 | if test "x$ac_cv_func_fp_trap" = xyes; then : |
| 30767 | have_fp_trap=yes |
| 30768 | $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h |
| 30769 | |
| 30770 | fi |
| 30771 | |
| 30772 | ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable" |
| 30773 | if test "x$ac_cv_func_fp_enable" = xyes; then : |
| 30774 | have_fp_enable=yes |
| 30775 | $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h |
| 30776 | |
| 30777 | fi |
| 30778 | |
| 30779 | |
| 30780 | # Check if _SOFT_FLOAT is defined |
| 30781 | |
| 30782 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5 |
| 30783 | $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; } |
| 30784 | if ${ac_cv_defined__SOFT_FLOAT+:} false; then : |
| 30785 | $as_echo_n "(cached) " >&6 |
| 30786 | else |
| 30787 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30788 | /* end confdefs.h. */ |
| 30789 | |
| 30790 | int |
| 30791 | main () |
| 30792 | { |
| 30793 | |
| 30794 | #ifdef _SOFT_FLOAT |
| 30795 | int ok; |
| 30796 | #else |
| 30797 | choke me |
| 30798 | #endif |
| 30799 | |
| 30800 | ; |
| 30801 | return 0; |
| 30802 | } |
| 30803 | _ACEOF |
| 30804 | if ac_fn_c_try_compile "$LINENO"; then : |
| 30805 | ac_cv_defined__SOFT_FLOAT=yes |
| 30806 | else |
| 30807 | ac_cv_defined__SOFT_FLOAT=no |
| 30808 | fi |
| 30809 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 30810 | fi |
| 30811 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5 |
| 30812 | $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; } |
| 30813 | if test $ac_cv_defined__SOFT_FLOAT != "no"; then : |
| 30814 | have_soft_float=yes |
| 30815 | fi |
| 30816 | |
| 30817 | # Runs configure.host to set up necessary host-dependent shell variables. |
| 30818 | # We then display a message about it, and propagate them through the |
| 30819 | # build chain. |
| 30820 | . ${srcdir}/configure.host |
| 30821 | { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5 |
| 30822 | $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;} |
| 30823 | { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5 |
| 30824 | $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;} |
| 30825 | FPU_HOST_HEADER=config/${fpu_host}.h |
| 30826 | |
| 30827 | |
| 30828 | # Whether we will build the IEEE modules |
| 30829 | if test x${ieee_support} = xyes; then |
| 30830 | IEEE_SUPPORT_TRUE= |
| 30831 | IEEE_SUPPORT_FALSE='#' |
| 30832 | else |
| 30833 | IEEE_SUPPORT_TRUE='#' |
| 30834 | IEEE_SUPPORT_FALSE= |
| 30835 | fi |
| 30836 | |
| 30837 | |
| 30838 | |
| 30839 | # Some targets require additional compiler options for IEEE compatibility. |
| 30840 | IEEE_FLAGS="${ieee_flags}" |
| 30841 | |
| 30842 | |
| 30843 | # Conditionalize the makefile for this target machine. |
| 30844 | tmake_file_= |
| 30845 | for f in ${tmake_file} |
| 30846 | do |
| 30847 | if test -f ${srcdir}/config/$f |
| 30848 | then |
| 30849 | tmake_file_="${tmake_file_} \$(srcdir)/config/$f" |
| 30850 | fi |
| 30851 | done |
| 30852 | tmake_file="${tmake_file_}" |
| 30853 | |
| 30854 | |
| 30855 | |
| 30856 | # Check for POSIX getpwuid_r |
| 30857 | # |
| 30858 | # There are two versions of getpwuid_r, the POSIX one with 5 |
| 30859 | # arguments, and another one with 4 arguments used by at least HP-UX |
| 30860 | # 10.2. |
| 30861 | if test "$ac_cv_func_getpwuid_r" = "yes"; then |
| 30862 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5 |
| 30863 | $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; } |
| 30864 | if ${libgfor_cv_posix_getpwuid_r+:} false; then : |
| 30865 | $as_echo_n "(cached) " >&6 |
| 30866 | else |
| 30867 | |
| 30868 | if test x$gcc_no_link = xyes; then |
| 30869 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30870 | fi |
| 30871 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30872 | /* end confdefs.h. */ |
| 30873 | |
| 30874 | #include <stdio.h> |
| 30875 | #include <sys/types.h> |
| 30876 | #include <pwd.h> |
| 30877 | int |
| 30878 | main () |
| 30879 | { |
| 30880 | |
| 30881 | getpwuid_r(0, NULL, NULL, 0, NULL); |
| 30882 | |
| 30883 | ; |
| 30884 | return 0; |
| 30885 | } |
| 30886 | _ACEOF |
| 30887 | if ac_fn_c_try_link "$LINENO"; then : |
| 30888 | libgfor_cv_posix_getpwuid_r="yes" |
| 30889 | else |
| 30890 | libgfor_cv_posix_getpwuid_r="no" |
| 30891 | fi |
| 30892 | rm -f core conftest.err conftest.$ac_objext \ |
| 30893 | conftest$ac_exeext conftest.$ac_ext |
| 30894 | fi |
| 30895 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5 |
| 30896 | $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; } |
| 30897 | fi |
| 30898 | if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then |
| 30899 | |
| 30900 | $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h |
| 30901 | |
| 30902 | fi |
| 30903 | |
| 30904 | |
| 30905 | # Check out attribute support. |
| 30906 | |
| 30907 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5 |
| 30908 | $as_echo_n "checking whether the target supports hidden visibility... " >&6; } |
| 30909 | if ${libgfor_cv_have_attribute_visibility+:} false; then : |
| 30910 | $as_echo_n "(cached) " >&6 |
| 30911 | else |
| 30912 | |
| 30913 | save_CFLAGS="$CFLAGS" |
| 30914 | CFLAGS="$CFLAGS -Werror" |
| 30915 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30916 | /* end confdefs.h. */ |
| 30917 | void __attribute__((visibility("hidden"))) foo(void) { } |
| 30918 | int |
| 30919 | main () |
| 30920 | { |
| 30921 | |
| 30922 | ; |
| 30923 | return 0; |
| 30924 | } |
| 30925 | _ACEOF |
| 30926 | if ac_fn_c_try_compile "$LINENO"; then : |
| 30927 | libgfor_cv_have_attribute_visibility=yes |
| 30928 | else |
| 30929 | libgfor_cv_have_attribute_visibility=no |
| 30930 | fi |
| 30931 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 30932 | CFLAGS="$save_CFLAGS" |
| 30933 | fi |
| 30934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5 |
| 30935 | $as_echo "$libgfor_cv_have_attribute_visibility" >&6; } |
| 30936 | if test $libgfor_cv_have_attribute_visibility = yes; then |
| 30937 | |
| 30938 | $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h |
| 30939 | |
| 30940 | fi |
| 30941 | |
| 30942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5 |
| 30943 | $as_echo_n "checking whether the target supports symbol aliases... " >&6; } |
| 30944 | if ${libgfor_cv_have_attribute_alias+:} false; then : |
| 30945 | $as_echo_n "(cached) " >&6 |
| 30946 | else |
| 30947 | |
| 30948 | if test x$gcc_no_link = xyes; then |
| 30949 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30950 | fi |
| 30951 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30952 | /* end confdefs.h. */ |
| 30953 | |
| 30954 | void foo(void) { } |
| 30955 | extern void bar(void) __attribute__((alias("foo"))); |
| 30956 | int |
| 30957 | main () |
| 30958 | { |
| 30959 | bar(); |
| 30960 | ; |
| 30961 | return 0; |
| 30962 | } |
| 30963 | _ACEOF |
| 30964 | if ac_fn_c_try_link "$LINENO"; then : |
| 30965 | libgfor_cv_have_attribute_alias=yes |
| 30966 | else |
| 30967 | libgfor_cv_have_attribute_alias=no |
| 30968 | fi |
| 30969 | rm -f core conftest.err conftest.$ac_objext \ |
| 30970 | conftest$ac_exeext conftest.$ac_ext |
| 30971 | fi |
| 30972 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5 |
| 30973 | $as_echo "$libgfor_cv_have_attribute_alias" >&6; } |
| 30974 | if test $libgfor_cv_have_attribute_alias = yes; then |
| 30975 | |
| 30976 | $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h |
| 30977 | |
| 30978 | fi |
| 30979 | |
| 30980 | # Check out atomic builtins support. |
| 30981 | |
| 30982 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5 |
| 30983 | $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; } |
| 30984 | if ${libgfor_cv_have_atomic_fetch_add+:} false; then : |
| 30985 | $as_echo_n "(cached) " >&6 |
| 30986 | else |
| 30987 | |
| 30988 | if test x$gcc_no_link = xyes; then |
| 30989 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 30990 | fi |
| 30991 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30992 | /* end confdefs.h. */ |
| 30993 | int foovar = 0; |
| 30994 | int |
| 30995 | main () |
| 30996 | { |
| 30997 | |
| 30998 | if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL); |
| 30999 | if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL); |
| 31000 | ; |
| 31001 | return 0; |
| 31002 | } |
| 31003 | _ACEOF |
| 31004 | if ac_fn_c_try_link "$LINENO"; then : |
| 31005 | libgfor_cv_have_atomic_fetch_add=yes |
| 31006 | else |
| 31007 | libgfor_cv_have_atomic_fetch_add=no |
| 31008 | fi |
| 31009 | rm -f core conftest.err conftest.$ac_objext \ |
| 31010 | conftest$ac_exeext conftest.$ac_ext |
| 31011 | fi |
| 31012 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5 |
| 31013 | $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; } |
| 31014 | if test $libgfor_cv_have_atomic_fetch_add = yes; then |
| 31015 | |
| 31016 | $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h |
| 31017 | |
| 31018 | fi |
| 31019 | |
| 31020 | # Check out #pragma weak. |
| 31021 | |
| 31022 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5 |
| 31023 | $as_echo_n "checking whether pragma weak works... " >&6; } |
| 31024 | if ${libgfor_cv_have_pragma_weak+:} false; then : |
| 31025 | $as_echo_n "(cached) " >&6 |
| 31026 | else |
| 31027 | |
| 31028 | gfor_save_CFLAGS="$CFLAGS" |
| 31029 | CFLAGS="$CFLAGS -Wunknown-pragmas" |
| 31030 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31031 | /* end confdefs.h. */ |
| 31032 | |
| 31033 | void foo (void); |
| 31034 | #pragma weak foo |
| 31035 | |
| 31036 | int |
| 31037 | main () |
| 31038 | { |
| 31039 | if (foo) foo (); |
| 31040 | ; |
| 31041 | return 0; |
| 31042 | } |
| 31043 | _ACEOF |
| 31044 | if ac_fn_c_try_compile "$LINENO"; then : |
| 31045 | libgfor_cv_have_pragma_weak=yes |
| 31046 | else |
| 31047 | libgfor_cv_have_pragma_weak=no |
| 31048 | fi |
| 31049 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 31050 | fi |
| 31051 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5 |
| 31052 | $as_echo "$libgfor_cv_have_pragma_weak" >&6; } |
| 31053 | if test $libgfor_cv_have_pragma_weak = yes; then |
| 31054 | |
| 31055 | $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h |
| 31056 | |
| 31057 | fi |
| 31058 | case "$host" in |
| 31059 | *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* ) |
| 31060 | |
| 31061 | $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h |
| 31062 | |
| 31063 | ;; |
| 31064 | esac |
| 31065 | |
| 31066 | # Check out weakref support. |
| 31067 | |
| 31068 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5 |
| 31069 | $as_echo_n "checking whether the target supports weakref... " >&6; } |
| 31070 | if ${libgfor_cv_have_weakref+:} false; then : |
| 31071 | $as_echo_n "(cached) " >&6 |
| 31072 | else |
| 31073 | |
| 31074 | save_CFLAGS="$CFLAGS" |
| 31075 | CFLAGS="$CFLAGS -Wunknown-pragmas -Werror" |
| 31076 | if test x$gcc_no_link = xyes; then |
| 31077 | as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
| 31078 | fi |
| 31079 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31080 | /* end confdefs.h. */ |
| 31081 | |
| 31082 | static int mytoto (int) __attribute__((__weakref__("toto"))); |
| 31083 | |
| 31084 | int |
| 31085 | main () |
| 31086 | { |
| 31087 | return (mytoto != 0); |
| 31088 | ; |
| 31089 | return 0; |
| 31090 | } |
| 31091 | _ACEOF |
| 31092 | if ac_fn_c_try_link "$LINENO"; then : |
| 31093 | libgfor_cv_have_weakref=yes |
| 31094 | else |
| 31095 | libgfor_cv_have_weakref=no |
| 31096 | fi |
| 31097 | rm -f core conftest.err conftest.$ac_objext \ |
| 31098 | conftest$ac_exeext conftest.$ac_ext |
| 31099 | CFLAGS="$save_CFLAGS" |
| 31100 | fi |
| 31101 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5 |
| 31102 | $as_echo "$libgfor_cv_have_weakref" >&6; } |
| 31103 | if test $libgfor_cv_have_weakref = yes; then |
| 31104 | |
| 31105 | $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h |
| 31106 | |
| 31107 | fi |
| 31108 | |
| 31109 | # Various other checks on target |
| 31110 | |
| 31111 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5 |
| 31112 | $as_echo_n "checking whether the target can unlink an open file... " >&6; } |
| 31113 | if ${libgfor_cv_have_unlink_open_file+:} false; then : |
| 31114 | $as_echo_n "(cached) " >&6 |
| 31115 | else |
| 31116 | |
| 31117 | if test "$cross_compiling" = yes; then : |
| 31118 | |
| 31119 | case "${target}" in |
| 31120 | *mingw*) libgfor_cv_have_unlink_open_file=no ;; |
| 31121 | *) libgfor_cv_have_unlink_open_file=yes;; |
| 31122 | esac |
| 31123 | else |
| 31124 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31125 | /* end confdefs.h. */ |
| 31126 | |
| 31127 | #include <errno.h> |
| 31128 | #include <fcntl.h> |
| 31129 | #include <unistd.h> |
| 31130 | #include <sys/stat.h> |
| 31131 | |
| 31132 | int main () |
| 31133 | { |
| 31134 | int fd; |
| 31135 | |
| 31136 | fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR); |
| 31137 | if (fd <= 0) |
| 31138 | return 0; |
| 31139 | if (unlink ("testfile") == -1) |
| 31140 | return 1; |
| 31141 | write (fd, "This is a test\n", 15); |
| 31142 | close (fd); |
| 31143 | |
| 31144 | if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT) |
| 31145 | return 0; |
| 31146 | else |
| 31147 | return 1; |
| 31148 | } |
| 31149 | _ACEOF |
| 31150 | if ac_fn_c_try_run "$LINENO"; then : |
| 31151 | libgfor_cv_have_unlink_open_file=yes |
| 31152 | else |
| 31153 | libgfor_cv_have_unlink_open_file=no |
| 31154 | fi |
| 31155 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 31156 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 31157 | fi |
| 31158 | |
| 31159 | fi |
| 31160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5 |
| 31161 | $as_echo "$libgfor_cv_have_unlink_open_file" >&6; } |
| 31162 | if test x"$libgfor_cv_have_unlink_open_file" = xyes; then |
| 31163 | |
| 31164 | $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h |
| 31165 | |
| 31166 | fi |
| 31167 | |
| 31168 | # Check whether line terminator is LF or CRLF |
| 31169 | |
| 31170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5 |
| 31171 | $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; } |
| 31172 | if ${libgfor_cv_have_crlf+:} false; then : |
| 31173 | $as_echo_n "(cached) " >&6 |
| 31174 | else |
| 31175 | |
| 31176 | if test "$cross_compiling" = yes; then : |
| 31177 | |
| 31178 | case "${target}" in |
| 31179 | *mingw*) libgfor_cv_have_crlf=yes ;; |
| 31180 | *) libgfor_cv_have_crlf=no;; |
| 31181 | esac |
| 31182 | else |
| 31183 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31184 | /* end confdefs.h. */ |
| 31185 | |
| 31186 | /* This test program should exit with status 0 if system uses a CRLF as |
| 31187 | line terminator, and status 1 otherwise. |
| 31188 | Since it is used to check for mingw systems, and should return 0 in any |
| 31189 | other case, in case of a failure we will not use CRLF. */ |
| 31190 | #include <sys/stat.h> |
| 31191 | #include <stdlib.h> |
| 31192 | #include <fcntl.h> |
| 31193 | #include <stdio.h> |
| 31194 | |
| 31195 | int main () |
| 31196 | { |
| 31197 | #ifndef O_BINARY |
| 31198 | exit(1); |
| 31199 | #else |
| 31200 | int fd, bytes; |
| 31201 | char buff[5]; |
| 31202 | |
| 31203 | fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU); |
| 31204 | if (fd < 0) |
| 31205 | exit(1); |
| 31206 | if (write (fd, "\n", 1) < 0) |
| 31207 | perror ("write"); |
| 31208 | |
| 31209 | close (fd); |
| 31210 | |
| 31211 | if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0) |
| 31212 | exit(1); |
| 31213 | bytes = read (fd, buff, 5); |
| 31214 | if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n') |
| 31215 | exit(0); |
| 31216 | else |
| 31217 | exit(1); |
| 31218 | #endif |
| 31219 | } |
| 31220 | _ACEOF |
| 31221 | if ac_fn_c_try_run "$LINENO"; then : |
| 31222 | libgfor_cv_have_crlf=yes |
| 31223 | else |
| 31224 | libgfor_cv_have_crlf=no |
| 31225 | fi |
| 31226 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 31227 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 31228 | fi |
| 31229 | |
| 31230 | fi |
| 31231 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5 |
| 31232 | $as_echo "$libgfor_cv_have_crlf" >&6; } |
| 31233 | if test x"$libgfor_cv_have_crlf" = xyes; then |
| 31234 | |
| 31235 | $as_echo "#define HAVE_CRLF 1" >>confdefs.h |
| 31236 | |
| 31237 | fi |
| 31238 | |
| 31239 | # Check whether we support AVX extensions |
| 31240 | |
| 31241 | ac_save_CFLAGS="$CFLAGS" |
| 31242 | CFLAGS="-O2 -mavx" |
| 31243 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31244 | /* end confdefs.h. */ |
| 31245 | |
| 31246 | void _mm256_zeroall (void) |
| 31247 | { |
| 31248 | __builtin_ia32_vzeroall (); |
| 31249 | } |
| 31250 | int |
| 31251 | main () |
| 31252 | { |
| 31253 | |
| 31254 | ; |
| 31255 | return 0; |
| 31256 | } |
| 31257 | _ACEOF |
| 31258 | if ac_fn_c_try_compile "$LINENO"; then : |
| 31259 | |
| 31260 | $as_echo "#define HAVE_AVX 1" >>confdefs.h |
| 31261 | |
| 31262 | fi |
| 31263 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 31264 | CFLAGS="$ac_save_CFLAGS" |
| 31265 | |
| 31266 | |
| 31267 | # Check whether we support AVX2 extensions |
| 31268 | |
| 31269 | ac_save_CFLAGS="$CFLAGS" |
| 31270 | CFLAGS="-O2 -mavx2" |
| 31271 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31272 | /* end confdefs.h. */ |
| 31273 | |
| 31274 | typedef long long __v4di __attribute__ ((__vector_size__ (32))); |
| 31275 | __v4di |
| 31276 | mm256_is32_andnotsi256 (__v4di __X, __v4di __Y) |
| 31277 | { |
| 31278 | return __builtin_ia32_andnotsi256 (__X, __Y); |
| 31279 | } |
| 31280 | int |
| 31281 | main () |
| 31282 | { |
| 31283 | |
| 31284 | ; |
| 31285 | return 0; |
| 31286 | } |
| 31287 | _ACEOF |
| 31288 | if ac_fn_c_try_compile "$LINENO"; then : |
| 31289 | |
| 31290 | $as_echo "#define HAVE_AVX2 1" >>confdefs.h |
| 31291 | |
| 31292 | fi |
| 31293 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 31294 | CFLAGS="$ac_save_CFLAGS" |
| 31295 | |
| 31296 | |
| 31297 | # Check whether we support AVX512f extensions |
| 31298 | |
| 31299 | ac_save_CFLAGS="$CFLAGS" |
| 31300 | CFLAGS="-O2 -mavx512f" |
| 31301 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31302 | /* end confdefs.h. */ |
| 31303 | |
| 31304 | typedef double __m512d __attribute__ ((__vector_size__ (64))); |
| 31305 | __m512d _mm512_add (__m512d a) |
| 31306 | { |
| 31307 | __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4); |
| 31308 | /* For -m64/-mx32 also verify that code will work even if |
| 31309 | the target uses call saved zmm16+ and needs to emit |
| 31310 | unwind info for them (e.g. on mingw). See PR79127. */ |
| 31311 | #ifdef __x86_64__ |
| 31312 | asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19"); |
| 31313 | #endif |
| 31314 | return b; |
| 31315 | } |
| 31316 | int |
| 31317 | main () |
| 31318 | { |
| 31319 | |
| 31320 | ; |
| 31321 | return 0; |
| 31322 | } |
| 31323 | _ACEOF |
| 31324 | if ac_fn_c_try_compile "$LINENO"; then : |
| 31325 | |
| 31326 | $as_echo "#define HAVE_AVX512F 1" >>confdefs.h |
| 31327 | |
| 31328 | fi |
| 31329 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 31330 | CFLAGS="$ac_save_CFLAGS" |
| 31331 | |
| 31332 | |
| 31333 | # Check for FMA3 extensions |
| 31334 | |
| 31335 | ac_save_CFLAGS="$CFLAGS" |
| 31336 | CFLAGS="-O2 -mfma -mno-fma4" |
| 31337 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31338 | /* end confdefs.h. */ |
| 31339 | |
| 31340 | typedef float __m128 __attribute__ ((__vector_size__ (16))); |
| 31341 | typedef float __v4sf __attribute__ ((__vector_size__ (16))); |
| 31342 | __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C) |
| 31343 | { |
| 31344 | return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A, |
| 31345 | (__v4sf)__B, |
| 31346 | (__v4sf)__C); |
| 31347 | } |
| 31348 | int |
| 31349 | main () |
| 31350 | { |
| 31351 | |
| 31352 | ; |
| 31353 | return 0; |
| 31354 | } |
| 31355 | _ACEOF |
| 31356 | if ac_fn_c_try_compile "$LINENO"; then : |
| 31357 | |
| 31358 | $as_echo "#define HAVE_FMA3 1" >>confdefs.h |
| 31359 | |
| 31360 | fi |
| 31361 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 31362 | CFLAGS="$ac_save_CFLAGS" |
| 31363 | |
| 31364 | |
| 31365 | # Check for FMA4 extensions |
| 31366 | |
| 31367 | ac_save_CFLAGS="$CFLAGS" |
| 31368 | CFLAGS="-O2 -mfma4 -mno-fma" |
| 31369 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31370 | /* end confdefs.h. */ |
| 31371 | |
| 31372 | typedef float __m128 __attribute__ ((__vector_size__ (16))); |
| 31373 | typedef float __v4sf __attribute__ ((__vector_size__ (16))); |
| 31374 | __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C) |
| 31375 | { |
| 31376 | return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A, |
| 31377 | (__v4sf)__B, |
| 31378 | (__v4sf)__C); |
| 31379 | } |
| 31380 | int |
| 31381 | main () |
| 31382 | { |
| 31383 | |
| 31384 | ; |
| 31385 | return 0; |
| 31386 | } |
| 31387 | _ACEOF |
| 31388 | if ac_fn_c_try_compile "$LINENO"; then : |
| 31389 | |
| 31390 | $as_echo "#define HAVE_FMA4 1" >>confdefs.h |
| 31391 | |
| 31392 | fi |
| 31393 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 31394 | CFLAGS="$ac_save_CFLAGS" |
| 31395 | |
| 31396 | |
| 31397 | # Check if AVX128 works |
| 31398 | |
| 31399 | ac_save_CFLAGS="$CFLAGS" |
| 31400 | CFLAGS="-O2 -mavx -mprefer-avx128" |
| 31401 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31402 | /* end confdefs.h. */ |
| 31403 | |
| 31404 | void foo() |
| 31405 | { |
| 31406 | } |
| 31407 | int |
| 31408 | main () |
| 31409 | { |
| 31410 | |
| 31411 | ; |
| 31412 | return 0; |
| 31413 | } |
| 31414 | _ACEOF |
| 31415 | if ac_fn_c_try_compile "$LINENO"; then : |
| 31416 | |
| 31417 | $as_echo "#define HAVE_AVX128 1" >>confdefs.h |
| 31418 | |
| 31419 | if true; then |
| 31420 | HAVE_AVX128_TRUE= |
| 31421 | HAVE_AVX128_FALSE='#' |
| 31422 | else |
| 31423 | HAVE_AVX128_TRUE='#' |
| 31424 | HAVE_AVX128_FALSE= |
| 31425 | fi |
| 31426 | |
| 31427 | else |
| 31428 | if false; then |
| 31429 | HAVE_AVX128_TRUE= |
| 31430 | HAVE_AVX128_FALSE='#' |
| 31431 | else |
| 31432 | HAVE_AVX128_TRUE='#' |
| 31433 | HAVE_AVX128_FALSE= |
| 31434 | fi |
| 31435 | |
| 31436 | fi |
| 31437 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 31438 | CFLAGS="$ac_save_CFLAGS" |
| 31439 | |
| 31440 | |
| 31441 | # Determine what GCC version number to use in filesystem paths. |
| 31442 | |
| 31443 | get_gcc_base_ver="cat" |
| 31444 | |
| 31445 | # Check whether --with-gcc-major-version-only was given. |
| 31446 | if test "${with_gcc_major_version_only+set}" = set; then : |
| 31447 | withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then |
| 31448 | get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'" |
| 31449 | fi |
| 31450 | |
| 31451 | fi |
| 31452 | |
| 31453 | |
| 31454 | |
| 31455 | |
| 31456 | cat >confcache <<\_ACEOF |
| 31457 | # This file is a shell script that caches the results of configure |
| 31458 | # tests run on this system so they can be shared between configure |
| 31459 | # scripts and configure runs, see configure's option --config-cache. |
| 31460 | # It is not useful on other systems. If it contains results you don't |
| 31461 | # want to keep, you may remove or edit it. |
| 31462 | # |
| 31463 | # config.status only pays attention to the cache file if you give it |
| 31464 | # the --recheck option to rerun configure. |
| 31465 | # |
| 31466 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 31467 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 31468 | # following values. |
| 31469 | |
| 31470 | _ACEOF |
| 31471 | |
| 31472 | # The following way of writing the cache mishandles newlines in values, |
| 31473 | # but we know of no workaround that is simple, portable, and efficient. |
| 31474 | # So, we kill variables containing newlines. |
| 31475 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 31476 | # and sets the high bit in the cache file unless we assign to the vars. |
| 31477 | ( |
| 31478 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 31479 | eval ac_val=\$$ac_var |
| 31480 | case $ac_val in #( |
| 31481 | *${as_nl}*) |
| 31482 | case $ac_var in #( |
| 31483 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 31484 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 31485 | esac |
| 31486 | case $ac_var in #( |
| 31487 | _ | IFS | as_nl) ;; #( |
| 31488 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 31489 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 31490 | esac ;; |
| 31491 | esac |
| 31492 | done |
| 31493 | |
| 31494 | (set) 2>&1 | |
| 31495 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 31496 | *${as_nl}ac_space=\ *) |
| 31497 | # `set' does not quote correctly, so add quotes: double-quote |
| 31498 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 31499 | sed -n \ |
| 31500 | "s/'/'\\\\''/g; |
| 31501 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 31502 | ;; #( |
| 31503 | *) |
| 31504 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 31505 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 31506 | ;; |
| 31507 | esac | |
| 31508 | sort |
| 31509 | ) | |
| 31510 | sed ' |
| 31511 | /^ac_cv_env_/b end |
| 31512 | t clear |
| 31513 | :clear |
| 31514 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 31515 | t end |
| 31516 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 31517 | :end' >>confcache |
| 31518 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 31519 | if test -w "$cache_file"; then |
| 31520 | if test "x$cache_file" != "x/dev/null"; then |
| 31521 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 31522 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
| 31523 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 31524 | cat confcache >"$cache_file" |
| 31525 | else |
| 31526 | case $cache_file in #( |
| 31527 | */* | ?:*) |
| 31528 | mv -f confcache "$cache_file"$$ && |
| 31529 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 31530 | *) |
| 31531 | mv -f confcache "$cache_file" ;; |
| 31532 | esac |
| 31533 | fi |
| 31534 | fi |
| 31535 | else |
| 31536 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 31537 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 31538 | fi |
| 31539 | fi |
| 31540 | rm -f confcache |
| 31541 | |
| 31542 | if test ${multilib} = yes; then |
| 31543 | multilib_arg="--enable-multilib" |
| 31544 | else |
| 31545 | multilib_arg= |
| 31546 | fi |
| 31547 | |
| 31548 | # Write our Makefile and spec file. |
| 31549 | ac_config_files="$ac_config_files Makefile libgfortran.spec" |
| 31550 | |
| 31551 | cat >confcache <<\_ACEOF |
| 31552 | # This file is a shell script that caches the results of configure |
| 31553 | # tests run on this system so they can be shared between configure |
| 31554 | # scripts and configure runs, see configure's option --config-cache. |
| 31555 | # It is not useful on other systems. If it contains results you don't |
| 31556 | # want to keep, you may remove or edit it. |
| 31557 | # |
| 31558 | # config.status only pays attention to the cache file if you give it |
| 31559 | # the --recheck option to rerun configure. |
| 31560 | # |
| 31561 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 31562 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 31563 | # following values. |
| 31564 | |
| 31565 | _ACEOF |
| 31566 | |
| 31567 | # The following way of writing the cache mishandles newlines in values, |
| 31568 | # but we know of no workaround that is simple, portable, and efficient. |
| 31569 | # So, we kill variables containing newlines. |
| 31570 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 31571 | # and sets the high bit in the cache file unless we assign to the vars. |
| 31572 | ( |
| 31573 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 31574 | eval ac_val=\$$ac_var |
| 31575 | case $ac_val in #( |
| 31576 | *${as_nl}*) |
| 31577 | case $ac_var in #( |
| 31578 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 31579 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 31580 | esac |
| 31581 | case $ac_var in #( |
| 31582 | _ | IFS | as_nl) ;; #( |
| 31583 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 31584 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 31585 | esac ;; |
| 31586 | esac |
| 31587 | done |
| 31588 | |
| 31589 | (set) 2>&1 | |
| 31590 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 31591 | *${as_nl}ac_space=\ *) |
| 31592 | # `set' does not quote correctly, so add quotes: double-quote |
| 31593 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 31594 | sed -n \ |
| 31595 | "s/'/'\\\\''/g; |
| 31596 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 31597 | ;; #( |
| 31598 | *) |
| 31599 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 31600 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 31601 | ;; |
| 31602 | esac | |
| 31603 | sort |
| 31604 | ) | |
| 31605 | sed ' |
| 31606 | /^ac_cv_env_/b end |
| 31607 | t clear |
| 31608 | :clear |
| 31609 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 31610 | t end |
| 31611 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 31612 | :end' >>confcache |
| 31613 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 31614 | if test -w "$cache_file"; then |
| 31615 | if test "x$cache_file" != "x/dev/null"; then |
| 31616 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 31617 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
| 31618 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 31619 | cat confcache >"$cache_file" |
| 31620 | else |
| 31621 | case $cache_file in #( |
| 31622 | */* | ?:*) |
| 31623 | mv -f confcache "$cache_file"$$ && |
| 31624 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 31625 | *) |
| 31626 | mv -f confcache "$cache_file" ;; |
| 31627 | esac |
| 31628 | fi |
| 31629 | fi |
| 31630 | else |
| 31631 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 31632 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 31633 | fi |
| 31634 | fi |
| 31635 | rm -f confcache |
| 31636 | |
| 31637 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 31638 | # Let make expand exec_prefix. |
| 31639 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 31640 | |
| 31641 | DEFS=-DHAVE_CONFIG_H |
| 31642 | |
| 31643 | ac_libobjs= |
| 31644 | ac_ltlibobjs= |
| 31645 | U= |
| 31646 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 31647 | # 1. Remove the extension, and $U if already installed. |
| 31648 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 31649 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 31650 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 31651 | # will be set to the directory where LIBOBJS objects are built. |
| 31652 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 31653 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 31654 | done |
| 31655 | LIBOBJS=$ac_libobjs |
| 31656 | |
| 31657 | LTLIBOBJS=$ac_ltlibobjs |
| 31658 | |
| 31659 | |
| 31660 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 31661 | $as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 31662 | if test -n "$am_sleep_pid"; then |
| 31663 | # Hide warnings about reused PIDs. |
| 31664 | wait $am_sleep_pid 2>/dev/null |
| 31665 | fi |
| 31666 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 31667 | $as_echo "done" >&6; } |
| 31668 | if test -n "$EXEEXT"; then |
| 31669 | am__EXEEXT_TRUE= |
| 31670 | am__EXEEXT_FALSE='#' |
| 31671 | else |
| 31672 | am__EXEEXT_TRUE='#' |
| 31673 | am__EXEEXT_FALSE= |
| 31674 | fi |
| 31675 | |
| 31676 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 31677 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
| 31678 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31679 | fi |
| 31680 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 31681 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
| 31682 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31683 | fi |
| 31684 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 31685 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 31686 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31687 | fi |
| 31688 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 31689 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 31690 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31691 | fi |
| 31692 | if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then |
| 31693 | as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined. |
| 31694 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31695 | fi |
| 31696 | if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then |
| 31697 | as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined. |
| 31698 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31699 | fi |
| 31700 | if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then |
| 31701 | as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined. |
| 31702 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31703 | fi |
| 31704 | if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then |
| 31705 | as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined. |
| 31706 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31707 | fi |
| 31708 | if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then |
| 31709 | as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined. |
| 31710 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31711 | fi |
| 31712 | if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then |
| 31713 | as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined. |
| 31714 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31715 | fi |
| 31716 | if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then |
| 31717 | as_fn_error $? "conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined. |
| 31718 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31719 | fi |
| 31720 | if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then |
| 31721 | as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined. |
| 31722 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31723 | fi |
| 31724 | if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then |
| 31725 | as_fn_error $? "conditional \"HAVE_AVX128\" was never defined. |
| 31726 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31727 | fi |
| 31728 | if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then |
| 31729 | as_fn_error $? "conditional \"HAVE_AVX128\" was never defined. |
| 31730 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 31731 | fi |
| 31732 | |
| 31733 | : "${CONFIG_STATUS=./config.status}" |
| 31734 | ac_write_fail=0 |
| 31735 | ac_clean_files_save=$ac_clean_files |
| 31736 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 31737 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 31738 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 31739 | as_write_fail=0 |
| 31740 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 31741 | #! $SHELL |
| 31742 | # Generated by $as_me. |
| 31743 | # Run this file to recreate the current configuration. |
| 31744 | # Compiler output produced by configure, useful for debugging |
| 31745 | # configure, is in config.log if it exists. |
| 31746 | |
| 31747 | debug=false |
| 31748 | ac_cs_recheck=false |
| 31749 | ac_cs_silent=false |
| 31750 | |
| 31751 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 31752 | export SHELL |
| 31753 | _ASEOF |
| 31754 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 31755 | ## -------------------- ## |
| 31756 | ## M4sh Initialization. ## |
| 31757 | ## -------------------- ## |
| 31758 | |
| 31759 | # Be more Bourne compatible |
| 31760 | DUALCASE=1; export DUALCASE # for MKS sh |
| 31761 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 31762 | emulate sh |
| 31763 | NULLCMD=: |
| 31764 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 31765 | # is contrary to our usage. Disable this feature. |
| 31766 | alias -g '${1+"$@"}'='"$@"' |
| 31767 | setopt NO_GLOB_SUBST |
| 31768 | else |
| 31769 | case `(set -o) 2>/dev/null` in #( |
| 31770 | *posix*) : |
| 31771 | set -o posix ;; #( |
| 31772 | *) : |
| 31773 | ;; |
| 31774 | esac |
| 31775 | fi |
| 31776 | |
| 31777 | |
| 31778 | as_nl=' |
| 31779 | ' |
| 31780 | export as_nl |
| 31781 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 31782 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 31783 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 31784 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 31785 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
| 31786 | # but without wasting forks for bash or zsh. |
| 31787 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 31788 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 31789 | as_echo='print -r --' |
| 31790 | as_echo_n='print -rn --' |
| 31791 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 31792 | as_echo='printf %s\n' |
| 31793 | as_echo_n='printf %s' |
| 31794 | else |
| 31795 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 31796 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 31797 | as_echo_n='/usr/ucb/echo -n' |
| 31798 | else |
| 31799 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 31800 | as_echo_n_body='eval |
| 31801 | arg=$1; |
| 31802 | case $arg in #( |
| 31803 | *"$as_nl"*) |
| 31804 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 31805 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 31806 | esac; |
| 31807 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 31808 | ' |
| 31809 | export as_echo_n_body |
| 31810 | as_echo_n='sh -c $as_echo_n_body as_echo' |
| 31811 | fi |
| 31812 | export as_echo_body |
| 31813 | as_echo='sh -c $as_echo_body as_echo' |
| 31814 | fi |
| 31815 | |
| 31816 | # The user is always right. |
| 31817 | if test "${PATH_SEPARATOR+set}" != set; then |
| 31818 | PATH_SEPARATOR=: |
| 31819 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 31820 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 31821 | PATH_SEPARATOR=';' |
| 31822 | } |
| 31823 | fi |
| 31824 | |
| 31825 | |
| 31826 | # IFS |
| 31827 | # We need space, tab and new line, in precisely that order. Quoting is |
| 31828 | # there to prevent editors from complaining about space-tab. |
| 31829 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 31830 | # splitting by setting IFS to empty value.) |
| 31831 | IFS=" "" $as_nl" |
| 31832 | |
| 31833 | # Find who we are. Look in the path if we contain no directory separator. |
| 31834 | as_myself= |
| 31835 | case $0 in #(( |
| 31836 | *[\\/]* ) as_myself=$0 ;; |
| 31837 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 31838 | for as_dir in $PATH |
| 31839 | do |
| 31840 | IFS=$as_save_IFS |
| 31841 | test -z "$as_dir" && as_dir=. |
| 31842 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 31843 | done |
| 31844 | IFS=$as_save_IFS |
| 31845 | |
| 31846 | ;; |
| 31847 | esac |
| 31848 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 31849 | # in which case we are not to be found in the path. |
| 31850 | if test "x$as_myself" = x; then |
| 31851 | as_myself=$0 |
| 31852 | fi |
| 31853 | if test ! -f "$as_myself"; then |
| 31854 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 31855 | exit 1 |
| 31856 | fi |
| 31857 | |
| 31858 | # Unset variables that we do not need and which cause bugs (e.g. in |
| 31859 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 31860 | # suppresses any "Segmentation fault" message there. '((' could |
| 31861 | # trigger a bug in pdksh 5.2.14. |
| 31862 | for as_var in BASH_ENV ENV MAIL MAILPATH |
| 31863 | do eval test x\${$as_var+set} = xset \ |
| 31864 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 31865 | done |
| 31866 | PS1='$ ' |
| 31867 | PS2='> ' |
| 31868 | PS4='+ ' |
| 31869 | |
| 31870 | # NLS nuisances. |
| 31871 | LC_ALL=C |
| 31872 | export LC_ALL |
| 31873 | LANGUAGE=C |
| 31874 | export LANGUAGE |
| 31875 | |
| 31876 | # CDPATH. |
| 31877 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 31878 | |
| 31879 | |
| 31880 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 31881 | # ---------------------------------------- |
| 31882 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 31883 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 31884 | # script with STATUS, using 1 if that was 0. |
| 31885 | as_fn_error () |
| 31886 | { |
| 31887 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 31888 | if test "$4"; then |
| 31889 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 31890 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 31891 | fi |
| 31892 | $as_echo "$as_me: error: $2" >&2 |
| 31893 | as_fn_exit $as_status |
| 31894 | } # as_fn_error |
| 31895 | |
| 31896 | |
| 31897 | # as_fn_set_status STATUS |
| 31898 | # ----------------------- |
| 31899 | # Set $? to STATUS, without forking. |
| 31900 | as_fn_set_status () |
| 31901 | { |
| 31902 | return $1 |
| 31903 | } # as_fn_set_status |
| 31904 | |
| 31905 | # as_fn_exit STATUS |
| 31906 | # ----------------- |
| 31907 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 31908 | as_fn_exit () |
| 31909 | { |
| 31910 | set +e |
| 31911 | as_fn_set_status $1 |
| 31912 | exit $1 |
| 31913 | } # as_fn_exit |
| 31914 | |
| 31915 | # as_fn_unset VAR |
| 31916 | # --------------- |
| 31917 | # Portably unset VAR. |
| 31918 | as_fn_unset () |
| 31919 | { |
| 31920 | { eval $1=; unset $1;} |
| 31921 | } |
| 31922 | as_unset=as_fn_unset |
| 31923 | # as_fn_append VAR VALUE |
| 31924 | # ---------------------- |
| 31925 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 31926 | # advantage of any shell optimizations that allow amortized linear growth over |
| 31927 | # repeated appends, instead of the typical quadratic growth present in naive |
| 31928 | # implementations. |
| 31929 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 31930 | eval 'as_fn_append () |
| 31931 | { |
| 31932 | eval $1+=\$2 |
| 31933 | }' |
| 31934 | else |
| 31935 | as_fn_append () |
| 31936 | { |
| 31937 | eval $1=\$$1\$2 |
| 31938 | } |
| 31939 | fi # as_fn_append |
| 31940 | |
| 31941 | # as_fn_arith ARG... |
| 31942 | # ------------------ |
| 31943 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 31944 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 31945 | # must be portable across $(()) and expr. |
| 31946 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 31947 | eval 'as_fn_arith () |
| 31948 | { |
| 31949 | as_val=$(( $* )) |
| 31950 | }' |
| 31951 | else |
| 31952 | as_fn_arith () |
| 31953 | { |
| 31954 | as_val=`expr "$@" || test $? -eq 1` |
| 31955 | } |
| 31956 | fi # as_fn_arith |
| 31957 | |
| 31958 | |
| 31959 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 31960 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 31961 | as_expr=expr |
| 31962 | else |
| 31963 | as_expr=false |
| 31964 | fi |
| 31965 | |
| 31966 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 31967 | as_basename=basename |
| 31968 | else |
| 31969 | as_basename=false |
| 31970 | fi |
| 31971 | |
| 31972 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 31973 | as_dirname=dirname |
| 31974 | else |
| 31975 | as_dirname=false |
| 31976 | fi |
| 31977 | |
| 31978 | as_me=`$as_basename -- "$0" || |
| 31979 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 31980 | X"$0" : 'X\(//\)$' \| \ |
| 31981 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 31982 | $as_echo X/"$0" | |
| 31983 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 31984 | s//\1/ |
| 31985 | q |
| 31986 | } |
| 31987 | /^X\/\(\/\/\)$/{ |
| 31988 | s//\1/ |
| 31989 | q |
| 31990 | } |
| 31991 | /^X\/\(\/\).*/{ |
| 31992 | s//\1/ |
| 31993 | q |
| 31994 | } |
| 31995 | s/.*/./; q'` |
| 31996 | |
| 31997 | # Avoid depending upon Character Ranges. |
| 31998 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 31999 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 32000 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 32001 | as_cr_digits='0123456789' |
| 32002 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 32003 | |
| 32004 | ECHO_C= ECHO_N= ECHO_T= |
| 32005 | case `echo -n x` in #((((( |
| 32006 | -n*) |
| 32007 | case `echo 'xy\c'` in |
| 32008 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 32009 | xy) ECHO_C='\c';; |
| 32010 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 32011 | ECHO_T=' ';; |
| 32012 | esac;; |
| 32013 | *) |
| 32014 | ECHO_N='-n';; |
| 32015 | esac |
| 32016 | |
| 32017 | rm -f conf$$ conf$$.exe conf$$.file |
| 32018 | if test -d conf$$.dir; then |
| 32019 | rm -f conf$$.dir/conf$$.file |
| 32020 | else |
| 32021 | rm -f conf$$.dir |
| 32022 | mkdir conf$$.dir 2>/dev/null |
| 32023 | fi |
| 32024 | if (echo >conf$$.file) 2>/dev/null; then |
| 32025 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 32026 | as_ln_s='ln -s' |
| 32027 | # ... but there are two gotchas: |
| 32028 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 32029 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 32030 | # In both cases, we have to default to `cp -pR'. |
| 32031 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 32032 | as_ln_s='cp -pR' |
| 32033 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 32034 | as_ln_s=ln |
| 32035 | else |
| 32036 | as_ln_s='cp -pR' |
| 32037 | fi |
| 32038 | else |
| 32039 | as_ln_s='cp -pR' |
| 32040 | fi |
| 32041 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 32042 | rmdir conf$$.dir 2>/dev/null |
| 32043 | |
| 32044 | |
| 32045 | # as_fn_mkdir_p |
| 32046 | # ------------- |
| 32047 | # Create "$as_dir" as a directory, including parents if necessary. |
| 32048 | as_fn_mkdir_p () |
| 32049 | { |
| 32050 | |
| 32051 | case $as_dir in #( |
| 32052 | -*) as_dir=./$as_dir;; |
| 32053 | esac |
| 32054 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 32055 | as_dirs= |
| 32056 | while :; do |
| 32057 | case $as_dir in #( |
| 32058 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 32059 | *) as_qdir=$as_dir;; |
| 32060 | esac |
| 32061 | as_dirs="'$as_qdir' $as_dirs" |
| 32062 | as_dir=`$as_dirname -- "$as_dir" || |
| 32063 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 32064 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 32065 | X"$as_dir" : 'X\(//\)$' \| \ |
| 32066 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 32067 | $as_echo X"$as_dir" | |
| 32068 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 32069 | s//\1/ |
| 32070 | q |
| 32071 | } |
| 32072 | /^X\(\/\/\)[^/].*/{ |
| 32073 | s//\1/ |
| 32074 | q |
| 32075 | } |
| 32076 | /^X\(\/\/\)$/{ |
| 32077 | s//\1/ |
| 32078 | q |
| 32079 | } |
| 32080 | /^X\(\/\).*/{ |
| 32081 | s//\1/ |
| 32082 | q |
| 32083 | } |
| 32084 | s/.*/./; q'` |
| 32085 | test -d "$as_dir" && break |
| 32086 | done |
| 32087 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 32088 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 32089 | |
| 32090 | |
| 32091 | } # as_fn_mkdir_p |
| 32092 | if mkdir -p . 2>/dev/null; then |
| 32093 | as_mkdir_p='mkdir -p "$as_dir"' |
| 32094 | else |
| 32095 | test -d ./-p && rmdir ./-p |
| 32096 | as_mkdir_p=false |
| 32097 | fi |
| 32098 | |
| 32099 | |
| 32100 | # as_fn_executable_p FILE |
| 32101 | # ----------------------- |
| 32102 | # Test if FILE is an executable regular file. |
| 32103 | as_fn_executable_p () |
| 32104 | { |
| 32105 | test -f "$1" && test -x "$1" |
| 32106 | } # as_fn_executable_p |
| 32107 | as_test_x='test -x' |
| 32108 | as_executable_p=as_fn_executable_p |
| 32109 | |
| 32110 | # Sed expression to map a string onto a valid CPP name. |
| 32111 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 32112 | |
| 32113 | # Sed expression to map a string onto a valid variable name. |
| 32114 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 32115 | |
| 32116 | |
| 32117 | exec 6>&1 |
| 32118 | ## ----------------------------------- ## |
| 32119 | ## Main body of $CONFIG_STATUS script. ## |
| 32120 | ## ----------------------------------- ## |
| 32121 | _ASEOF |
| 32122 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 32123 | |
| 32124 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 32125 | # Save the log message, to keep $0 and so on meaningful, and to |
| 32126 | # report actual input values of CONFIG_FILES etc. instead of their |
| 32127 | # values after options handling. |
| 32128 | ac_log=" |
| 32129 | This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was |
| 32130 | generated by GNU Autoconf 2.69. Invocation command line was |
| 32131 | |
| 32132 | CONFIG_FILES = $CONFIG_FILES |
| 32133 | CONFIG_HEADERS = $CONFIG_HEADERS |
| 32134 | CONFIG_LINKS = $CONFIG_LINKS |
| 32135 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 32136 | $ $0 $@ |
| 32137 | |
| 32138 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 32139 | " |
| 32140 | |
| 32141 | _ACEOF |
| 32142 | |
| 32143 | case $ac_config_files in *" |
| 32144 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 32145 | esac |
| 32146 | |
| 32147 | case $ac_config_headers in *" |
| 32148 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
| 32149 | esac |
| 32150 | |
| 32151 | |
| 32152 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 32153 | # Files that config.status was made for. |
| 32154 | config_files="$ac_config_files" |
| 32155 | config_headers="$ac_config_headers" |
| 32156 | config_commands="$ac_config_commands" |
| 32157 | |
| 32158 | _ACEOF |
| 32159 | |
| 32160 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 32161 | ac_cs_usage="\ |
| 32162 | \`$as_me' instantiates files and other configuration actions |
| 32163 | from templates according to the current configuration. Unless the files |
| 32164 | and actions are specified as TAGs, all are instantiated by default. |
| 32165 | |
| 32166 | Usage: $0 [OPTION]... [TAG]... |
| 32167 | |
| 32168 | -h, --help print this help, then exit |
| 32169 | -V, --version print version number and configuration settings, then exit |
| 32170 | --config print configuration, then exit |
| 32171 | -q, --quiet, --silent |
| 32172 | do not print progress messages |
| 32173 | -d, --debug don't remove temporary files |
| 32174 | --recheck update $as_me by reconfiguring in the same conditions |
| 32175 | --file=FILE[:TEMPLATE] |
| 32176 | instantiate the configuration file FILE |
| 32177 | --header=FILE[:TEMPLATE] |
| 32178 | instantiate the configuration header FILE |
| 32179 | |
| 32180 | Configuration files: |
| 32181 | $config_files |
| 32182 | |
| 32183 | Configuration headers: |
| 32184 | $config_headers |
| 32185 | |
| 32186 | Configuration commands: |
| 32187 | $config_commands |
| 32188 | |
| 32189 | Report bugs to the package provider. |
| 32190 | GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>. |
| 32191 | General help using GNU software: <http://www.gnu.org/gethelp/>." |
| 32192 | |
| 32193 | _ACEOF |
| 32194 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 32195 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 32196 | ac_cs_version="\\ |
| 32197 | GNU Fortran Runtime Library config.status 0.3 |
| 32198 | configured by $0, generated by GNU Autoconf 2.69, |
| 32199 | with options \\"\$ac_cs_config\\" |
| 32200 | |
| 32201 | Copyright (C) 2012 Free Software Foundation, Inc. |
| 32202 | This config.status script is free software; the Free Software Foundation |
| 32203 | gives unlimited permission to copy, distribute and modify it." |
| 32204 | |
| 32205 | ac_pwd='$ac_pwd' |
| 32206 | srcdir='$srcdir' |
| 32207 | INSTALL='$INSTALL' |
| 32208 | MKDIR_P='$MKDIR_P' |
| 32209 | AWK='$AWK' |
| 32210 | test -n "\$AWK" || AWK=awk |
| 32211 | _ACEOF |
| 32212 | |
| 32213 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 32214 | # The default lists apply if the user does not specify any file. |
| 32215 | ac_need_defaults=: |
| 32216 | while test $# != 0 |
| 32217 | do |
| 32218 | case $1 in |
| 32219 | --*=?*) |
| 32220 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 32221 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 32222 | ac_shift=: |
| 32223 | ;; |
| 32224 | --*=) |
| 32225 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 32226 | ac_optarg= |
| 32227 | ac_shift=: |
| 32228 | ;; |
| 32229 | *) |
| 32230 | ac_option=$1 |
| 32231 | ac_optarg=$2 |
| 32232 | ac_shift=shift |
| 32233 | ;; |
| 32234 | esac |
| 32235 | |
| 32236 | case $ac_option in |
| 32237 | # Handling of the options. |
| 32238 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 32239 | ac_cs_recheck=: ;; |
| 32240 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 32241 | $as_echo "$ac_cs_version"; exit ;; |
| 32242 | --config | --confi | --conf | --con | --co | --c ) |
| 32243 | $as_echo "$ac_cs_config"; exit ;; |
| 32244 | --debug | --debu | --deb | --de | --d | -d ) |
| 32245 | debug=: ;; |
| 32246 | --file | --fil | --fi | --f ) |
| 32247 | $ac_shift |
| 32248 | case $ac_optarg in |
| 32249 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 32250 | '') as_fn_error $? "missing file argument" ;; |
| 32251 | esac |
| 32252 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 32253 | ac_need_defaults=false;; |
| 32254 | --header | --heade | --head | --hea ) |
| 32255 | $ac_shift |
| 32256 | case $ac_optarg in |
| 32257 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 32258 | esac |
| 32259 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 32260 | ac_need_defaults=false;; |
| 32261 | --he | --h) |
| 32262 | # Conflict between --help and --header |
| 32263 | as_fn_error $? "ambiguous option: \`$1' |
| 32264 | Try \`$0 --help' for more information.";; |
| 32265 | --help | --hel | -h ) |
| 32266 | $as_echo "$ac_cs_usage"; exit ;; |
| 32267 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 32268 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 32269 | ac_cs_silent=: ;; |
| 32270 | |
| 32271 | # This is an error. |
| 32272 | -*) as_fn_error $? "unrecognized option: \`$1' |
| 32273 | Try \`$0 --help' for more information." ;; |
| 32274 | |
| 32275 | *) as_fn_append ac_config_targets " $1" |
| 32276 | ac_need_defaults=false ;; |
| 32277 | |
| 32278 | esac |
| 32279 | shift |
| 32280 | done |
| 32281 | |
| 32282 | ac_configure_extra_args= |
| 32283 | |
| 32284 | if $ac_cs_silent; then |
| 32285 | exec 6>/dev/null |
| 32286 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 32287 | fi |
| 32288 | |
| 32289 | _ACEOF |
| 32290 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 32291 | if \$ac_cs_recheck; then |
| 32292 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 32293 | shift |
| 32294 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 32295 | CONFIG_SHELL='$SHELL' |
| 32296 | export CONFIG_SHELL |
| 32297 | exec "\$@" |
| 32298 | fi |
| 32299 | |
| 32300 | _ACEOF |
| 32301 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 32302 | exec 5>>config.log |
| 32303 | { |
| 32304 | echo |
| 32305 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 32306 | ## Running $as_me. ## |
| 32307 | _ASBOX |
| 32308 | $as_echo "$ac_log" |
| 32309 | } >&5 |
| 32310 | |
| 32311 | _ACEOF |
| 32312 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 32313 | # |
| 32314 | # INIT-COMMANDS |
| 32315 | # |
| 32316 | |
| 32317 | srcdir="$srcdir" |
| 32318 | host="$host" |
| 32319 | target="$target" |
| 32320 | with_multisubdir="$with_multisubdir" |
| 32321 | with_multisrctop="$with_multisrctop" |
| 32322 | with_target_subdir="$with_target_subdir" |
| 32323 | ac_configure_args="${multilib_arg} ${ac_configure_args}" |
| 32324 | multi_basedir="$multi_basedir" |
| 32325 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
| 32326 | CC="$CC" |
| 32327 | CXX="$CXX" |
| 32328 | GFORTRAN="$GFORTRAN" |
| 32329 | GDC="$GDC" |
| 32330 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 32331 | |
| 32332 | |
| 32333 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
| 32334 | # if CDPATH is set. |
| 32335 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 32336 | |
| 32337 | sed_quote_subst='$sed_quote_subst' |
| 32338 | double_quote_subst='$double_quote_subst' |
| 32339 | delay_variable_subst='$delay_variable_subst' |
| 32340 | SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
| 32341 | Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
| 32342 | GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
| 32343 | EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
| 32344 | FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
| 32345 | SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 32346 | ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 32347 | LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
| 32348 | macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
| 32349 | macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
| 32350 | enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
| 32351 | enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
| 32352 | pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
| 32353 | enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 32354 | host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 32355 | host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 32356 | host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 32357 | build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
| 32358 | build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
| 32359 | build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
| 32360 | NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
| 32361 | LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
| 32362 | max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
| 32363 | ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
| 32364 | exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
| 32365 | lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
| 32366 | lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
| 32367 | lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
| 32368 | reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 32369 | reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 32370 | OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 32371 | deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 32372 | file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 32373 | AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 32374 | AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 32375 | STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 32376 | RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
| 32377 | old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 32378 | old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 32379 | old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 32380 | lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
| 32381 | CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
| 32382 | CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
| 32383 | compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
| 32384 | GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
| 32385 | lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
| 32386 | lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 32387 | lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 32388 | lt_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"`' |
| 32389 | objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 32390 | MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 32391 | lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 32392 | lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 32393 | lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
| 32394 | lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
| 32395 | lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
| 32396 | need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 32397 | DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| 32398 | NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
| 32399 | LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
| 32400 | OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
| 32401 | OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
| 32402 | libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
| 32403 | shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
| 32404 | extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 32405 | archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
| 32406 | enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
| 32407 | export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 32408 | whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 32409 | compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
| 32410 | old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
| 32411 | old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 32412 | archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 32413 | archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 32414 | module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
| 32415 | module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 32416 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
| 32417 | allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 32418 | no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 32419 | hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 32420 | hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
| 32421 | hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 32422 | hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 32423 | hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 32424 | hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
| 32425 | hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 32426 | hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
| 32427 | inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
| 32428 | link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
| 32429 | fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' |
| 32430 | always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
| 32431 | export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
| 32432 | exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
| 32433 | include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
| 32434 | prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
| 32435 | file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 32436 | variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
| 32437 | need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 32438 | need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
| 32439 | version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
| 32440 | runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
| 32441 | shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 32442 | shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
| 32443 | libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
| 32444 | library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
| 32445 | soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
| 32446 | install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
| 32447 | postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 32448 | postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 32449 | finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
| 32450 | finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 32451 | hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 32452 | sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 32453 | sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
| 32454 | hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 32455 | enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 32456 | enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 32457 | enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
| 32458 | old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
| 32459 | striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
| 32460 | compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' |
| 32461 | predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' |
| 32462 | postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' |
| 32463 | predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' |
| 32464 | postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' |
| 32465 | compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' |
| 32466 | LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`' |
| 32467 | reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`' |
| 32468 | reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32469 | old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32470 | compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`' |
| 32471 | GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`' |
| 32472 | lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`' |
| 32473 | lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`' |
| 32474 | lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`' |
| 32475 | lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`' |
| 32476 | lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`' |
| 32477 | archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`' |
| 32478 | enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`' |
| 32479 | export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`' |
| 32480 | whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`' |
| 32481 | compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`' |
| 32482 | old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32483 | old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32484 | archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32485 | archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32486 | module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32487 | module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32488 | with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`' |
| 32489 | allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`' |
| 32490 | no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`' |
| 32491 | hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`' |
| 32492 | hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`' |
| 32493 | hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`' |
| 32494 | hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`' |
| 32495 | hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`' |
| 32496 | hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`' |
| 32497 | hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`' |
| 32498 | hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`' |
| 32499 | inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`' |
| 32500 | link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`' |
| 32501 | fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`' |
| 32502 | always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`' |
| 32503 | export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32504 | exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`' |
| 32505 | include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`' |
| 32506 | prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`' |
| 32507 | file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`' |
| 32508 | hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`' |
| 32509 | compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`' |
| 32510 | predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`' |
| 32511 | postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`' |
| 32512 | predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`' |
| 32513 | postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`' |
| 32514 | compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`' |
| 32515 | |
| 32516 | LTCC='$LTCC' |
| 32517 | LTCFLAGS='$LTCFLAGS' |
| 32518 | compiler='$compiler_DEFAULT' |
| 32519 | |
| 32520 | # A function that is used when there is no print builtin or printf. |
| 32521 | func_fallback_echo () |
| 32522 | { |
| 32523 | eval 'cat <<_LTECHO_EOF |
| 32524 | \$1 |
| 32525 | _LTECHO_EOF' |
| 32526 | } |
| 32527 | |
| 32528 | # Quote evaled strings. |
| 32529 | for var in SED \ |
| 32530 | GREP \ |
| 32531 | EGREP \ |
| 32532 | FGREP \ |
| 32533 | SHELL \ |
| 32534 | ECHO \ |
| 32535 | LD \ |
| 32536 | NM \ |
| 32537 | LN_S \ |
| 32538 | lt_SP2NL \ |
| 32539 | lt_NL2SP \ |
| 32540 | reload_flag \ |
| 32541 | OBJDUMP \ |
| 32542 | deplibs_check_method \ |
| 32543 | file_magic_cmd \ |
| 32544 | AR \ |
| 32545 | AR_FLAGS \ |
| 32546 | STRIP \ |
| 32547 | RANLIB \ |
| 32548 | CC \ |
| 32549 | CFLAGS \ |
| 32550 | compiler \ |
| 32551 | lt_cv_sys_global_symbol_pipe \ |
| 32552 | lt_cv_sys_global_symbol_to_cdecl \ |
| 32553 | lt_cv_sys_global_symbol_to_c_name_address \ |
| 32554 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 32555 | lt_prog_compiler_no_builtin_flag \ |
| 32556 | lt_prog_compiler_wl \ |
| 32557 | lt_prog_compiler_pic \ |
| 32558 | lt_prog_compiler_static \ |
| 32559 | lt_cv_prog_compiler_c_o \ |
| 32560 | need_locks \ |
| 32561 | DSYMUTIL \ |
| 32562 | NMEDIT \ |
| 32563 | LIPO \ |
| 32564 | OTOOL \ |
| 32565 | OTOOL64 \ |
| 32566 | shrext_cmds \ |
| 32567 | export_dynamic_flag_spec \ |
| 32568 | whole_archive_flag_spec \ |
| 32569 | compiler_needs_object \ |
| 32570 | with_gnu_ld \ |
| 32571 | allow_undefined_flag \ |
| 32572 | no_undefined_flag \ |
| 32573 | hardcode_libdir_flag_spec \ |
| 32574 | hardcode_libdir_flag_spec_ld \ |
| 32575 | hardcode_libdir_separator \ |
| 32576 | fix_srcfile_path \ |
| 32577 | exclude_expsyms \ |
| 32578 | include_expsyms \ |
| 32579 | file_list_spec \ |
| 32580 | variables_saved_for_relink \ |
| 32581 | libname_spec \ |
| 32582 | library_names_spec \ |
| 32583 | soname_spec \ |
| 32584 | install_override_mode \ |
| 32585 | finish_eval \ |
| 32586 | old_striplib \ |
| 32587 | striplib \ |
| 32588 | compiler_lib_search_dirs \ |
| 32589 | predep_objects \ |
| 32590 | postdep_objects \ |
| 32591 | predeps \ |
| 32592 | postdeps \ |
| 32593 | compiler_lib_search_path \ |
| 32594 | LD_FC \ |
| 32595 | reload_flag_FC \ |
| 32596 | compiler_FC \ |
| 32597 | lt_prog_compiler_no_builtin_flag_FC \ |
| 32598 | lt_prog_compiler_wl_FC \ |
| 32599 | lt_prog_compiler_pic_FC \ |
| 32600 | lt_prog_compiler_static_FC \ |
| 32601 | lt_cv_prog_compiler_c_o_FC \ |
| 32602 | export_dynamic_flag_spec_FC \ |
| 32603 | whole_archive_flag_spec_FC \ |
| 32604 | compiler_needs_object_FC \ |
| 32605 | with_gnu_ld_FC \ |
| 32606 | allow_undefined_flag_FC \ |
| 32607 | no_undefined_flag_FC \ |
| 32608 | hardcode_libdir_flag_spec_FC \ |
| 32609 | hardcode_libdir_flag_spec_ld_FC \ |
| 32610 | hardcode_libdir_separator_FC \ |
| 32611 | fix_srcfile_path_FC \ |
| 32612 | exclude_expsyms_FC \ |
| 32613 | include_expsyms_FC \ |
| 32614 | file_list_spec_FC \ |
| 32615 | compiler_lib_search_dirs_FC \ |
| 32616 | predep_objects_FC \ |
| 32617 | postdep_objects_FC \ |
| 32618 | predeps_FC \ |
| 32619 | postdeps_FC \ |
| 32620 | compiler_lib_search_path_FC; do |
| 32621 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 32622 | *[\\\\\\\`\\"\\\$]*) |
| 32623 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
| 32624 | ;; |
| 32625 | *) |
| 32626 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 32627 | ;; |
| 32628 | esac |
| 32629 | done |
| 32630 | |
| 32631 | # Double-quote double-evaled strings. |
| 32632 | for var in reload_cmds \ |
| 32633 | old_postinstall_cmds \ |
| 32634 | old_postuninstall_cmds \ |
| 32635 | old_archive_cmds \ |
| 32636 | extract_expsyms_cmds \ |
| 32637 | old_archive_from_new_cmds \ |
| 32638 | old_archive_from_expsyms_cmds \ |
| 32639 | archive_cmds \ |
| 32640 | archive_expsym_cmds \ |
| 32641 | module_cmds \ |
| 32642 | module_expsym_cmds \ |
| 32643 | export_symbols_cmds \ |
| 32644 | prelink_cmds \ |
| 32645 | postinstall_cmds \ |
| 32646 | postuninstall_cmds \ |
| 32647 | finish_cmds \ |
| 32648 | sys_lib_search_path_spec \ |
| 32649 | sys_lib_dlsearch_path_spec \ |
| 32650 | reload_cmds_FC \ |
| 32651 | old_archive_cmds_FC \ |
| 32652 | old_archive_from_new_cmds_FC \ |
| 32653 | old_archive_from_expsyms_cmds_FC \ |
| 32654 | archive_cmds_FC \ |
| 32655 | archive_expsym_cmds_FC \ |
| 32656 | module_cmds_FC \ |
| 32657 | module_expsym_cmds_FC \ |
| 32658 | export_symbols_cmds_FC \ |
| 32659 | prelink_cmds_FC; do |
| 32660 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 32661 | *[\\\\\\\`\\"\\\$]*) |
| 32662 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
| 32663 | ;; |
| 32664 | *) |
| 32665 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 32666 | ;; |
| 32667 | esac |
| 32668 | done |
| 32669 | |
| 32670 | ac_aux_dir='$ac_aux_dir' |
| 32671 | xsi_shell='$xsi_shell' |
| 32672 | lt_shell_append='$lt_shell_append' |
| 32673 | |
| 32674 | # See if we are running on zsh, and set the options which allow our |
| 32675 | # commands through without removal of \ escapes INIT. |
| 32676 | if test -n "\${ZSH_VERSION+set}" ; then |
| 32677 | setopt NO_GLOB_SUBST |
| 32678 | fi |
| 32679 | |
| 32680 | |
| 32681 | PACKAGE='$PACKAGE' |
| 32682 | VERSION='$VERSION' |
| 32683 | TIMESTAMP='$TIMESTAMP' |
| 32684 | RM='$RM' |
| 32685 | ofile='$ofile' |
| 32686 | |
| 32687 | |
| 32688 | |
| 32689 | |
| 32690 | |
| 32691 | |
| 32692 | GCC="$GCC" |
| 32693 | CC="$CC" |
| 32694 | acx_cv_header_stdint="$acx_cv_header_stdint" |
| 32695 | acx_cv_type_int8_t="$acx_cv_type_int8_t" |
| 32696 | acx_cv_type_int16_t="$acx_cv_type_int16_t" |
| 32697 | acx_cv_type_int32_t="$acx_cv_type_int32_t" |
| 32698 | acx_cv_type_int64_t="$acx_cv_type_int64_t" |
| 32699 | acx_cv_type_intptr_t="$acx_cv_type_intptr_t" |
| 32700 | ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t" |
| 32701 | ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t" |
| 32702 | ac_cv_type_uint64_t="$ac_cv_type_uint64_t" |
| 32703 | ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t" |
| 32704 | ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t" |
| 32705 | ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t" |
| 32706 | ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t" |
| 32707 | ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p" |
| 32708 | |
| 32709 | |
| 32710 | _ACEOF |
| 32711 | |
| 32712 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 32713 | |
| 32714 | # Handling of arguments. |
| 32715 | for ac_config_target in $ac_config_targets |
| 32716 | do |
| 32717 | case $ac_config_target in |
| 32718 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
| 32719 | "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
| 32720 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 32721 | "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 32722 | "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;; |
| 32723 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 32724 | "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;; |
| 32725 | |
| 32726 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 32727 | esac |
| 32728 | done |
| 32729 | |
| 32730 | |
| 32731 | # If the user did not use the arguments to specify the items to instantiate, |
| 32732 | # then the envvar interface is used. Set only those that are not. |
| 32733 | # We use the long form for the default assignment because of an extremely |
| 32734 | # bizarre bug on SunOS 4.1.3. |
| 32735 | if $ac_need_defaults; then |
| 32736 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 32737 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 32738 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 32739 | fi |
| 32740 | |
| 32741 | # Have a temporary directory for convenience. Make it in the build tree |
| 32742 | # simply because there is no reason against having it here, and in addition, |
| 32743 | # creating and moving files from /tmp can sometimes cause problems. |
| 32744 | # Hook for its removal unless debugging. |
| 32745 | # Note that there is a small window in which the directory will not be cleaned: |
| 32746 | # after its creation but before its name has been assigned to `$tmp'. |
| 32747 | $debug || |
| 32748 | { |
| 32749 | tmp= ac_tmp= |
| 32750 | trap 'exit_status=$? |
| 32751 | : "${ac_tmp:=$tmp}" |
| 32752 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 32753 | ' 0 |
| 32754 | trap 'as_fn_exit 1' 1 2 13 15 |
| 32755 | } |
| 32756 | # Create a (secure) tmp directory for tmp files. |
| 32757 | |
| 32758 | { |
| 32759 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 32760 | test -d "$tmp" |
| 32761 | } || |
| 32762 | { |
| 32763 | tmp=./conf$$-$RANDOM |
| 32764 | (umask 077 && mkdir "$tmp") |
| 32765 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 32766 | ac_tmp=$tmp |
| 32767 | |
| 32768 | # Set up the scripts for CONFIG_FILES section. |
| 32769 | # No need to generate them if there are no CONFIG_FILES. |
| 32770 | # This happens for instance with `./config.status config.h'. |
| 32771 | if test -n "$CONFIG_FILES"; then |
| 32772 | |
| 32773 | |
| 32774 | ac_cr=`echo X | tr X '\015'` |
| 32775 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 32776 | # But we know of no other shell where ac_cr would be empty at this |
| 32777 | # point, so we can use a bashism as a fallback. |
| 32778 | if test "x$ac_cr" = x; then |
| 32779 | eval ac_cr=\$\'\\r\' |
| 32780 | fi |
| 32781 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 32782 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 32783 | ac_cs_awk_cr='\\r' |
| 32784 | else |
| 32785 | ac_cs_awk_cr=$ac_cr |
| 32786 | fi |
| 32787 | |
| 32788 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 32789 | _ACEOF |
| 32790 | |
| 32791 | |
| 32792 | { |
| 32793 | echo "cat >conf$$subs.awk <<_ACEOF" && |
| 32794 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 32795 | echo "_ACEOF" |
| 32796 | } >conf$$subs.sh || |
| 32797 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 32798 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 32799 | ac_delim='%!_!# ' |
| 32800 | for ac_last_try in false false false false false :; do |
| 32801 | . ./conf$$subs.sh || |
| 32802 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 32803 | |
| 32804 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 32805 | if test $ac_delim_n = $ac_delim_num; then |
| 32806 | break |
| 32807 | elif $ac_last_try; then |
| 32808 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 32809 | else |
| 32810 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 32811 | fi |
| 32812 | done |
| 32813 | rm -f conf$$subs.sh |
| 32814 | |
| 32815 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 32816 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 32817 | _ACEOF |
| 32818 | sed -n ' |
| 32819 | h |
| 32820 | s/^/S["/; s/!.*/"]=/ |
| 32821 | p |
| 32822 | g |
| 32823 | s/^[^!]*!// |
| 32824 | :repl |
| 32825 | t repl |
| 32826 | s/'"$ac_delim"'$// |
| 32827 | t delim |
| 32828 | :nl |
| 32829 | h |
| 32830 | s/\(.\{148\}\)..*/\1/ |
| 32831 | t more1 |
| 32832 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 32833 | p |
| 32834 | n |
| 32835 | b repl |
| 32836 | :more1 |
| 32837 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 32838 | p |
| 32839 | g |
| 32840 | s/.\{148\}// |
| 32841 | t nl |
| 32842 | :delim |
| 32843 | h |
| 32844 | s/\(.\{148\}\)..*/\1/ |
| 32845 | t more2 |
| 32846 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 32847 | p |
| 32848 | b |
| 32849 | :more2 |
| 32850 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 32851 | p |
| 32852 | g |
| 32853 | s/.\{148\}// |
| 32854 | t delim |
| 32855 | ' <conf$$subs.awk | sed ' |
| 32856 | /^[^""]/{ |
| 32857 | N |
| 32858 | s/\n// |
| 32859 | } |
| 32860 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 32861 | rm -f conf$$subs.awk |
| 32862 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 32863 | _ACAWK |
| 32864 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 32865 | for (key in S) S_is_set[key] = 1 |
| 32866 | FS = "" |
| 32867 | |
| 32868 | } |
| 32869 | { |
| 32870 | line = $ 0 |
| 32871 | nfields = split(line, field, "@") |
| 32872 | substed = 0 |
| 32873 | len = length(field[1]) |
| 32874 | for (i = 2; i < nfields; i++) { |
| 32875 | key = field[i] |
| 32876 | keylen = length(key) |
| 32877 | if (S_is_set[key]) { |
| 32878 | value = S[key] |
| 32879 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 32880 | len += length(value) + length(field[++i]) |
| 32881 | substed = 1 |
| 32882 | } else |
| 32883 | len += 1 + keylen |
| 32884 | } |
| 32885 | |
| 32886 | print line |
| 32887 | } |
| 32888 | |
| 32889 | _ACAWK |
| 32890 | _ACEOF |
| 32891 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 32892 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 32893 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 32894 | else |
| 32895 | cat |
| 32896 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 32897 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 32898 | _ACEOF |
| 32899 | |
| 32900 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 32901 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 32902 | # trailing colons and then remove the whole line if VPATH becomes empty |
| 32903 | # (actually we leave an empty line to preserve line numbers). |
| 32904 | if test "x$srcdir" = x.; then |
| 32905 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 32906 | h |
| 32907 | s/// |
| 32908 | s/^/:/ |
| 32909 | s/[ ]*$/:/ |
| 32910 | s/:\$(srcdir):/:/g |
| 32911 | s/:\${srcdir}:/:/g |
| 32912 | s/:@srcdir@:/:/g |
| 32913 | s/^:*// |
| 32914 | s/:*$// |
| 32915 | x |
| 32916 | s/\(=[ ]*\).*/\1/ |
| 32917 | G |
| 32918 | s/\n// |
| 32919 | s/^[^=]*=[ ]*$// |
| 32920 | }' |
| 32921 | fi |
| 32922 | |
| 32923 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 32924 | fi # test -n "$CONFIG_FILES" |
| 32925 | |
| 32926 | # Set up the scripts for CONFIG_HEADERS section. |
| 32927 | # No need to generate them if there are no CONFIG_HEADERS. |
| 32928 | # This happens for instance with `./config.status Makefile'. |
| 32929 | if test -n "$CONFIG_HEADERS"; then |
| 32930 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 32931 | BEGIN { |
| 32932 | _ACEOF |
| 32933 | |
| 32934 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
| 32935 | # here-document in config.status, that substitutes the proper values into |
| 32936 | # config.h.in to produce config.h. |
| 32937 | |
| 32938 | # Create a delimiter string that does not exist in confdefs.h, to ease |
| 32939 | # handling of long lines. |
| 32940 | ac_delim='%!_!# ' |
| 32941 | for ac_last_try in false false :; do |
| 32942 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
| 32943 | if test -z "$ac_tt"; then |
| 32944 | break |
| 32945 | elif $ac_last_try; then |
| 32946 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 32947 | else |
| 32948 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 32949 | fi |
| 32950 | done |
| 32951 | |
| 32952 | # For the awk script, D is an array of macro values keyed by name, |
| 32953 | # likewise P contains macro parameters if any. Preserve backslash |
| 32954 | # newline sequences. |
| 32955 | |
| 32956 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 32957 | sed -n ' |
| 32958 | s/.\{148\}/&'"$ac_delim"'/g |
| 32959 | t rset |
| 32960 | :rset |
| 32961 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
| 32962 | t def |
| 32963 | d |
| 32964 | :def |
| 32965 | s/\\$// |
| 32966 | t bsnl |
| 32967 | s/["\\]/\\&/g |
| 32968 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 32969 | D["\1"]=" \3"/p |
| 32970 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
| 32971 | d |
| 32972 | :bsnl |
| 32973 | s/["\\]/\\&/g |
| 32974 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 32975 | D["\1"]=" \3\\\\\\n"\\/p |
| 32976 | t cont |
| 32977 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
| 32978 | t cont |
| 32979 | d |
| 32980 | :cont |
| 32981 | n |
| 32982 | s/.\{148\}/&'"$ac_delim"'/g |
| 32983 | t clear |
| 32984 | :clear |
| 32985 | s/\\$// |
| 32986 | t bsnlc |
| 32987 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
| 32988 | d |
| 32989 | :bsnlc |
| 32990 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
| 32991 | b cont |
| 32992 | ' <confdefs.h | sed ' |
| 32993 | s/'"$ac_delim"'/"\\\ |
| 32994 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
| 32995 | |
| 32996 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 32997 | for (key in D) D_is_set[key] = 1 |
| 32998 | FS = "" |
| 32999 | } |
| 33000 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
| 33001 | line = \$ 0 |
| 33002 | split(line, arg, " ") |
| 33003 | if (arg[1] == "#") { |
| 33004 | defundef = arg[2] |
| 33005 | mac1 = arg[3] |
| 33006 | } else { |
| 33007 | defundef = substr(arg[1], 2) |
| 33008 | mac1 = arg[2] |
| 33009 | } |
| 33010 | split(mac1, mac2, "(") #) |
| 33011 | macro = mac2[1] |
| 33012 | prefix = substr(line, 1, index(line, defundef) - 1) |
| 33013 | if (D_is_set[macro]) { |
| 33014 | # Preserve the white space surrounding the "#". |
| 33015 | print prefix "define", macro P[macro] D[macro] |
| 33016 | next |
| 33017 | } else { |
| 33018 | # Replace #undef with comments. This is necessary, for example, |
| 33019 | # in the case of _POSIX_SOURCE, which is predefined and required |
| 33020 | # on some systems where configure will not decide to define it. |
| 33021 | if (defundef == "undef") { |
| 33022 | print "/*", prefix defundef, macro, "*/" |
| 33023 | next |
| 33024 | } |
| 33025 | } |
| 33026 | } |
| 33027 | { print } |
| 33028 | _ACAWK |
| 33029 | _ACEOF |
| 33030 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 33031 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 33032 | fi # test -n "$CONFIG_HEADERS" |
| 33033 | |
| 33034 | |
| 33035 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
| 33036 | shift |
| 33037 | for ac_tag |
| 33038 | do |
| 33039 | case $ac_tag in |
| 33040 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 33041 | esac |
| 33042 | case $ac_mode$ac_tag in |
| 33043 | :[FHL]*:*);; |
| 33044 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 33045 | :[FH]-) ac_tag=-:-;; |
| 33046 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 33047 | esac |
| 33048 | ac_save_IFS=$IFS |
| 33049 | IFS=: |
| 33050 | set x $ac_tag |
| 33051 | IFS=$ac_save_IFS |
| 33052 | shift |
| 33053 | ac_file=$1 |
| 33054 | shift |
| 33055 | |
| 33056 | case $ac_mode in |
| 33057 | :L) ac_source=$1;; |
| 33058 | :[FH]) |
| 33059 | ac_file_inputs= |
| 33060 | for ac_f |
| 33061 | do |
| 33062 | case $ac_f in |
| 33063 | -) ac_f="$ac_tmp/stdin";; |
| 33064 | *) # Look for the file first in the build tree, then in the source tree |
| 33065 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 33066 | # because $ac_f cannot contain `:'. |
| 33067 | test -f "$ac_f" || |
| 33068 | case $ac_f in |
| 33069 | [\\/$]*) false;; |
| 33070 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 33071 | esac || |
| 33072 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 33073 | esac |
| 33074 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 33075 | as_fn_append ac_file_inputs " '$ac_f'" |
| 33076 | done |
| 33077 | |
| 33078 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 33079 | # use $as_me), people would be surprised to read: |
| 33080 | # /* config.h. Generated by config.status. */ |
| 33081 | configure_input='Generated from '` |
| 33082 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 33083 | `' by configure.' |
| 33084 | if test x"$ac_file" != x-; then |
| 33085 | configure_input="$ac_file. $configure_input" |
| 33086 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 33087 | $as_echo "$as_me: creating $ac_file" >&6;} |
| 33088 | fi |
| 33089 | # Neutralize special characters interpreted by sed in replacement strings. |
| 33090 | case $configure_input in #( |
| 33091 | *\&* | *\|* | *\\* ) |
| 33092 | ac_sed_conf_input=`$as_echo "$configure_input" | |
| 33093 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 33094 | *) ac_sed_conf_input=$configure_input;; |
| 33095 | esac |
| 33096 | |
| 33097 | case $ac_tag in |
| 33098 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 33099 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 33100 | esac |
| 33101 | ;; |
| 33102 | esac |
| 33103 | |
| 33104 | ac_dir=`$as_dirname -- "$ac_file" || |
| 33105 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 33106 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 33107 | X"$ac_file" : 'X\(//\)$' \| \ |
| 33108 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 33109 | $as_echo X"$ac_file" | |
| 33110 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 33111 | s//\1/ |
| 33112 | q |
| 33113 | } |
| 33114 | /^X\(\/\/\)[^/].*/{ |
| 33115 | s//\1/ |
| 33116 | q |
| 33117 | } |
| 33118 | /^X\(\/\/\)$/{ |
| 33119 | s//\1/ |
| 33120 | q |
| 33121 | } |
| 33122 | /^X\(\/\).*/{ |
| 33123 | s//\1/ |
| 33124 | q |
| 33125 | } |
| 33126 | s/.*/./; q'` |
| 33127 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 33128 | ac_builddir=. |
| 33129 | |
| 33130 | case "$ac_dir" in |
| 33131 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 33132 | *) |
| 33133 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 33134 | # A ".." for each directory in $ac_dir_suffix. |
| 33135 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 33136 | case $ac_top_builddir_sub in |
| 33137 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 33138 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 33139 | esac ;; |
| 33140 | esac |
| 33141 | ac_abs_top_builddir=$ac_pwd |
| 33142 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 33143 | # for backward compatibility: |
| 33144 | ac_top_builddir=$ac_top_build_prefix |
| 33145 | |
| 33146 | case $srcdir in |
| 33147 | .) # We are building in place. |
| 33148 | ac_srcdir=. |
| 33149 | ac_top_srcdir=$ac_top_builddir_sub |
| 33150 | ac_abs_top_srcdir=$ac_pwd ;; |
| 33151 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 33152 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 33153 | ac_top_srcdir=$srcdir |
| 33154 | ac_abs_top_srcdir=$srcdir ;; |
| 33155 | *) # Relative name. |
| 33156 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 33157 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 33158 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 33159 | esac |
| 33160 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 33161 | |
| 33162 | |
| 33163 | case $ac_mode in |
| 33164 | :F) |
| 33165 | # |
| 33166 | # CONFIG_FILE |
| 33167 | # |
| 33168 | |
| 33169 | case $INSTALL in |
| 33170 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 33171 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 33172 | esac |
| 33173 | ac_MKDIR_P=$MKDIR_P |
| 33174 | case $MKDIR_P in |
| 33175 | [\\/$]* | ?:[\\/]* ) ;; |
| 33176 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| 33177 | esac |
| 33178 | _ACEOF |
| 33179 | |
| 33180 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 33181 | # If the template does not know about datarootdir, expand it. |
| 33182 | # FIXME: This hack should be removed a few years after 2.60. |
| 33183 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 33184 | ac_sed_dataroot=' |
| 33185 | /datarootdir/ { |
| 33186 | p |
| 33187 | q |
| 33188 | } |
| 33189 | /@datadir@/p |
| 33190 | /@docdir@/p |
| 33191 | /@infodir@/p |
| 33192 | /@localedir@/p |
| 33193 | /@mandir@/p' |
| 33194 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 33195 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 33196 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 33197 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 33198 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 33199 | _ACEOF |
| 33200 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 33201 | ac_datarootdir_hack=' |
| 33202 | s&@datadir@&$datadir&g |
| 33203 | s&@docdir@&$docdir&g |
| 33204 | s&@infodir@&$infodir&g |
| 33205 | s&@localedir@&$localedir&g |
| 33206 | s&@mandir@&$mandir&g |
| 33207 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 33208 | esac |
| 33209 | _ACEOF |
| 33210 | |
| 33211 | # Neutralize VPATH when `$srcdir' = `.'. |
| 33212 | # Shell code in configure.ac might set extrasub. |
| 33213 | # FIXME: do we really want to maintain this feature? |
| 33214 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 33215 | ac_sed_extra="$ac_vpsub |
| 33216 | $extrasub |
| 33217 | _ACEOF |
| 33218 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 33219 | :t |
| 33220 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 33221 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 33222 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 33223 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 33224 | s&@srcdir@&$ac_srcdir&;t t |
| 33225 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 33226 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 33227 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 33228 | s&@builddir@&$ac_builddir&;t t |
| 33229 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 33230 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 33231 | s&@INSTALL@&$ac_INSTALL&;t t |
| 33232 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 33233 | $ac_datarootdir_hack |
| 33234 | " |
| 33235 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 33236 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 33237 | |
| 33238 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 33239 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 33240 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 33241 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
| 33242 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 33243 | which seems to be undefined. Please make sure it is defined" >&5 |
| 33244 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 33245 | which seems to be undefined. Please make sure it is defined" >&2;} |
| 33246 | |
| 33247 | rm -f "$ac_tmp/stdin" |
| 33248 | case $ac_file in |
| 33249 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 33250 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 33251 | esac \ |
| 33252 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 33253 | ;; |
| 33254 | :H) |
| 33255 | # |
| 33256 | # CONFIG_HEADER |
| 33257 | # |
| 33258 | if test x"$ac_file" != x-; then |
| 33259 | { |
| 33260 | $as_echo "/* $configure_input */" \ |
| 33261 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 33262 | } >"$ac_tmp/config.h" \ |
| 33263 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 33264 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 33265 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 33266 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 33267 | else |
| 33268 | rm -f "$ac_file" |
| 33269 | mv "$ac_tmp/config.h" "$ac_file" \ |
| 33270 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 33271 | fi |
| 33272 | else |
| 33273 | $as_echo "/* $configure_input */" \ |
| 33274 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 33275 | || as_fn_error $? "could not create -" "$LINENO" 5 |
| 33276 | fi |
| 33277 | # Compute "$ac_file"'s index in $config_headers. |
| 33278 | _am_arg="$ac_file" |
| 33279 | _am_stamp_count=1 |
| 33280 | for _am_header in $config_headers :; do |
| 33281 | case $_am_header in |
| 33282 | $_am_arg | $_am_arg:* ) |
| 33283 | break ;; |
| 33284 | * ) |
| 33285 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 33286 | esac |
| 33287 | done |
| 33288 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
| 33289 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 33290 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 33291 | X"$_am_arg" : 'X\(//\)$' \| \ |
| 33292 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
| 33293 | $as_echo X"$_am_arg" | |
| 33294 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 33295 | s//\1/ |
| 33296 | q |
| 33297 | } |
| 33298 | /^X\(\/\/\)[^/].*/{ |
| 33299 | s//\1/ |
| 33300 | q |
| 33301 | } |
| 33302 | /^X\(\/\/\)$/{ |
| 33303 | s//\1/ |
| 33304 | q |
| 33305 | } |
| 33306 | /^X\(\/\).*/{ |
| 33307 | s//\1/ |
| 33308 | q |
| 33309 | } |
| 33310 | s/.*/./; q'`/stamp-h$_am_stamp_count |
| 33311 | ;; |
| 33312 | |
| 33313 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 33314 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
| 33315 | ;; |
| 33316 | esac |
| 33317 | |
| 33318 | |
| 33319 | case $ac_file$ac_mode in |
| 33320 | "default-1":C) |
| 33321 | # Only add multilib support code if we just rebuilt the top-level |
| 33322 | # Makefile. |
| 33323 | case " $CONFIG_FILES " in |
| 33324 | *" Makefile "*) |
| 33325 | ac_file=Makefile . ${multi_basedir}/config-ml.in |
| 33326 | ;; |
| 33327 | esac ;; |
| 33328 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 33329 | # Older Autoconf quotes --file arguments for eval, but not when files |
| 33330 | # are listed without --file. Let's play safe and only enable the eval |
| 33331 | # if we detect the quoting. |
| 33332 | case $CONFIG_FILES in |
| 33333 | *\'*) eval set x "$CONFIG_FILES" ;; |
| 33334 | *) set x $CONFIG_FILES ;; |
| 33335 | esac |
| 33336 | shift |
| 33337 | for mf |
| 33338 | do |
| 33339 | # Strip MF so we end up with the name of the file. |
| 33340 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 33341 | # Check whether this is an Automake generated Makefile or not. |
| 33342 | # We used to match only the files named 'Makefile.in', but |
| 33343 | # some people rename them; so instead we look at the file content. |
| 33344 | # Grep'ing the first line is not enough: some people post-process |
| 33345 | # each Makefile.in and add a new line on top of each file to say so. |
| 33346 | # Grep'ing the whole file is not good either: AIX grep has a line |
| 33347 | # limit of 2048, but all sed's we know have understand at least 4000. |
| 33348 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 33349 | dirpart=`$as_dirname -- "$mf" || |
| 33350 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 33351 | X"$mf" : 'X\(//\)[^/]' \| \ |
| 33352 | X"$mf" : 'X\(//\)$' \| \ |
| 33353 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 33354 | $as_echo X"$mf" | |
| 33355 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 33356 | s//\1/ |
| 33357 | q |
| 33358 | } |
| 33359 | /^X\(\/\/\)[^/].*/{ |
| 33360 | s//\1/ |
| 33361 | q |
| 33362 | } |
| 33363 | /^X\(\/\/\)$/{ |
| 33364 | s//\1/ |
| 33365 | q |
| 33366 | } |
| 33367 | /^X\(\/\).*/{ |
| 33368 | s//\1/ |
| 33369 | q |
| 33370 | } |
| 33371 | s/.*/./; q'` |
| 33372 | else |
| 33373 | continue |
| 33374 | fi |
| 33375 | # Extract the definition of DEPDIR, am__include, and am__quote |
| 33376 | # from the Makefile without running 'make'. |
| 33377 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 33378 | test -z "$DEPDIR" && continue |
| 33379 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 33380 | test -z "$am__include" && continue |
| 33381 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 33382 | # Find all dependency output files, they are included files with |
| 33383 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
| 33384 | # simplest approach to changing $(DEPDIR) to its actual value in the |
| 33385 | # expansion. |
| 33386 | for file in `sed -n " |
| 33387 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 33388 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 33389 | # Make sure the directory exists. |
| 33390 | test -f "$dirpart/$file" && continue |
| 33391 | fdir=`$as_dirname -- "$file" || |
| 33392 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 33393 | X"$file" : 'X\(//\)[^/]' \| \ |
| 33394 | X"$file" : 'X\(//\)$' \| \ |
| 33395 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
| 33396 | $as_echo X"$file" | |
| 33397 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 33398 | s//\1/ |
| 33399 | q |
| 33400 | } |
| 33401 | /^X\(\/\/\)[^/].*/{ |
| 33402 | s//\1/ |
| 33403 | q |
| 33404 | } |
| 33405 | /^X\(\/\/\)$/{ |
| 33406 | s//\1/ |
| 33407 | q |
| 33408 | } |
| 33409 | /^X\(\/\).*/{ |
| 33410 | s//\1/ |
| 33411 | q |
| 33412 | } |
| 33413 | s/.*/./; q'` |
| 33414 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 33415 | # echo "creating $dirpart/$file" |
| 33416 | echo '# dummy' > "$dirpart/$file" |
| 33417 | done |
| 33418 | done |
| 33419 | } |
| 33420 | ;; |
| 33421 | "libtool":C) |
| 33422 | |
| 33423 | # See if we are running on zsh, and set the options which allow our |
| 33424 | # commands through without removal of \ escapes. |
| 33425 | if test -n "${ZSH_VERSION+set}" ; then |
| 33426 | setopt NO_GLOB_SUBST |
| 33427 | fi |
| 33428 | |
| 33429 | cfgfile="${ofile}T" |
| 33430 | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
| 33431 | $RM "$cfgfile" |
| 33432 | |
| 33433 | cat <<_LT_EOF >> "$cfgfile" |
| 33434 | #! $SHELL |
| 33435 | |
| 33436 | # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
| 33437 | # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
| 33438 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 33439 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 33440 | # |
| 33441 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 33442 | # 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
| 33443 | # Written by Gordon Matzigkeit, 1996 |
| 33444 | # |
| 33445 | # This file is part of GNU Libtool. |
| 33446 | # |
| 33447 | # GNU Libtool is free software; you can redistribute it and/or |
| 33448 | # modify it under the terms of the GNU General Public License as |
| 33449 | # published by the Free Software Foundation; either version 2 of |
| 33450 | # the License, or (at your option) any later version. |
| 33451 | # |
| 33452 | # As a special exception to the GNU General Public License, |
| 33453 | # if you distribute this file as part of a program or library that |
| 33454 | # is built using GNU Libtool, you may include this file under the |
| 33455 | # same distribution terms that you use for the rest of that program. |
| 33456 | # |
| 33457 | # GNU Libtool is distributed in the hope that it will be useful, |
| 33458 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 33459 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 33460 | # GNU General Public License for more details. |
| 33461 | # |
| 33462 | # You should have received a copy of the GNU General Public License |
| 33463 | # along with GNU Libtool; see the file COPYING. If not, a copy |
| 33464 | # can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
| 33465 | # obtained by writing to the Free Software Foundation, Inc., |
| 33466 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 33467 | |
| 33468 | |
| 33469 | # The names of the tagged configurations supported by this script. |
| 33470 | available_tags="FC " |
| 33471 | |
| 33472 | # ### BEGIN LIBTOOL CONFIG |
| 33473 | |
| 33474 | # A sed program that does not truncate output. |
| 33475 | SED=$lt_SED |
| 33476 | |
| 33477 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
| 33478 | Xsed="\$SED -e 1s/^X//" |
| 33479 | |
| 33480 | # A grep program that handles long lines. |
| 33481 | GREP=$lt_GREP |
| 33482 | |
| 33483 | # An ERE matcher. |
| 33484 | EGREP=$lt_EGREP |
| 33485 | |
| 33486 | # A literal string matcher. |
| 33487 | FGREP=$lt_FGREP |
| 33488 | |
| 33489 | # Shell to use when invoking shell scripts. |
| 33490 | SHELL=$lt_SHELL |
| 33491 | |
| 33492 | # An echo program that protects backslashes. |
| 33493 | ECHO=$lt_ECHO |
| 33494 | |
| 33495 | # Which release of libtool.m4 was used? |
| 33496 | macro_version=$macro_version |
| 33497 | macro_revision=$macro_revision |
| 33498 | |
| 33499 | # Whether or not to build shared libraries. |
| 33500 | build_libtool_libs=$enable_shared |
| 33501 | |
| 33502 | # Whether or not to build static libraries. |
| 33503 | build_old_libs=$enable_static |
| 33504 | |
| 33505 | # What type of objects to build. |
| 33506 | pic_mode=$pic_mode |
| 33507 | |
| 33508 | # Whether or not to optimize for fast installation. |
| 33509 | fast_install=$enable_fast_install |
| 33510 | |
| 33511 | # The host system. |
| 33512 | host_alias=$host_alias |
| 33513 | host=$host |
| 33514 | host_os=$host_os |
| 33515 | |
| 33516 | # The build system. |
| 33517 | build_alias=$build_alias |
| 33518 | build=$build |
| 33519 | build_os=$build_os |
| 33520 | |
| 33521 | # A BSD- or MS-compatible name lister. |
| 33522 | NM=$lt_NM |
| 33523 | |
| 33524 | # Whether we need soft or hard links. |
| 33525 | LN_S=$lt_LN_S |
| 33526 | |
| 33527 | # What is the maximum length of a command? |
| 33528 | max_cmd_len=$max_cmd_len |
| 33529 | |
| 33530 | # Object file suffix (normally "o"). |
| 33531 | objext=$ac_objext |
| 33532 | |
| 33533 | # Executable file suffix (normally ""). |
| 33534 | exeext=$exeext |
| 33535 | |
| 33536 | # whether the shell understands "unset". |
| 33537 | lt_unset=$lt_unset |
| 33538 | |
| 33539 | # turn spaces into newlines. |
| 33540 | SP2NL=$lt_lt_SP2NL |
| 33541 | |
| 33542 | # turn newlines into spaces. |
| 33543 | NL2SP=$lt_lt_NL2SP |
| 33544 | |
| 33545 | # An object symbol dumper. |
| 33546 | OBJDUMP=$lt_OBJDUMP |
| 33547 | |
| 33548 | # Method to check whether dependent libraries are shared objects. |
| 33549 | deplibs_check_method=$lt_deplibs_check_method |
| 33550 | |
| 33551 | # Command to use when deplibs_check_method == "file_magic". |
| 33552 | file_magic_cmd=$lt_file_magic_cmd |
| 33553 | |
| 33554 | # The archiver. |
| 33555 | AR=$lt_AR |
| 33556 | AR_FLAGS=$lt_AR_FLAGS |
| 33557 | |
| 33558 | # A symbol stripping program. |
| 33559 | STRIP=$lt_STRIP |
| 33560 | |
| 33561 | # Commands used to install an old-style archive. |
| 33562 | RANLIB=$lt_RANLIB |
| 33563 | old_postinstall_cmds=$lt_old_postinstall_cmds |
| 33564 | old_postuninstall_cmds=$lt_old_postuninstall_cmds |
| 33565 | |
| 33566 | # Whether to use a lock for old archive extraction. |
| 33567 | lock_old_archive_extraction=$lock_old_archive_extraction |
| 33568 | |
| 33569 | # A C compiler. |
| 33570 | LTCC=$lt_CC |
| 33571 | |
| 33572 | # LTCC compiler flags. |
| 33573 | LTCFLAGS=$lt_CFLAGS |
| 33574 | |
| 33575 | # Take the output of nm and produce a listing of raw symbols and C names. |
| 33576 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
| 33577 | |
| 33578 | # Transform the output of nm in a proper C declaration. |
| 33579 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
| 33580 | |
| 33581 | # Transform the output of nm in a C name address pair. |
| 33582 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
| 33583 | |
| 33584 | # Transform the output of nm in a C name address pair when lib prefix is needed. |
| 33585 | global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
| 33586 | |
| 33587 | # The name of the directory that contains temporary libtool files. |
| 33588 | objdir=$objdir |
| 33589 | |
| 33590 | # Used to examine libraries when file_magic_cmd begins with "file". |
| 33591 | MAGIC_CMD=$MAGIC_CMD |
| 33592 | |
| 33593 | # Must we lock files when doing compilation? |
| 33594 | need_locks=$lt_need_locks |
| 33595 | |
| 33596 | # Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
| 33597 | DSYMUTIL=$lt_DSYMUTIL |
| 33598 | |
| 33599 | # Tool to change global to local symbols on Mac OS X. |
| 33600 | NMEDIT=$lt_NMEDIT |
| 33601 | |
| 33602 | # Tool to manipulate fat objects and archives on Mac OS X. |
| 33603 | LIPO=$lt_LIPO |
| 33604 | |
| 33605 | # ldd/readelf like tool for Mach-O binaries on Mac OS X. |
| 33606 | OTOOL=$lt_OTOOL |
| 33607 | |
| 33608 | # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
| 33609 | OTOOL64=$lt_OTOOL64 |
| 33610 | |
| 33611 | # Old archive suffix (normally "a"). |
| 33612 | libext=$libext |
| 33613 | |
| 33614 | # Shared library suffix (normally ".so"). |
| 33615 | shrext_cmds=$lt_shrext_cmds |
| 33616 | |
| 33617 | # The commands to extract the exported symbol list from a shared archive. |
| 33618 | extract_expsyms_cmds=$lt_extract_expsyms_cmds |
| 33619 | |
| 33620 | # Variables whose values should be saved in libtool wrapper scripts and |
| 33621 | # restored at link time. |
| 33622 | variables_saved_for_relink=$lt_variables_saved_for_relink |
| 33623 | |
| 33624 | # Do we need the "lib" prefix for modules? |
| 33625 | need_lib_prefix=$need_lib_prefix |
| 33626 | |
| 33627 | # Do we need a version for libraries? |
| 33628 | need_version=$need_version |
| 33629 | |
| 33630 | # Library versioning type. |
| 33631 | version_type=$version_type |
| 33632 | |
| 33633 | # Shared library runtime path variable. |
| 33634 | runpath_var=$runpath_var |
| 33635 | |
| 33636 | # Shared library path variable. |
| 33637 | shlibpath_var=$shlibpath_var |
| 33638 | |
| 33639 | # Is shlibpath searched before the hard-coded library search path? |
| 33640 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
| 33641 | |
| 33642 | # Format of library name prefix. |
| 33643 | libname_spec=$lt_libname_spec |
| 33644 | |
| 33645 | # List of archive names. First name is the real one, the rest are links. |
| 33646 | # The last name is the one that the linker finds with -lNAME |
| 33647 | library_names_spec=$lt_library_names_spec |
| 33648 | |
| 33649 | # The coded name of the library, if different from the real name. |
| 33650 | soname_spec=$lt_soname_spec |
| 33651 | |
| 33652 | # Permission mode override for installation of shared libraries. |
| 33653 | install_override_mode=$lt_install_override_mode |
| 33654 | |
| 33655 | # Command to use after installation of a shared archive. |
| 33656 | postinstall_cmds=$lt_postinstall_cmds |
| 33657 | |
| 33658 | # Command to use after uninstallation of a shared archive. |
| 33659 | postuninstall_cmds=$lt_postuninstall_cmds |
| 33660 | |
| 33661 | # Commands used to finish a libtool library installation in a directory. |
| 33662 | finish_cmds=$lt_finish_cmds |
| 33663 | |
| 33664 | # As "finish_cmds", except a single script fragment to be evaled but |
| 33665 | # not shown. |
| 33666 | finish_eval=$lt_finish_eval |
| 33667 | |
| 33668 | # Whether we should hardcode library paths into libraries. |
| 33669 | hardcode_into_libs=$hardcode_into_libs |
| 33670 | |
| 33671 | # Compile-time system search path for libraries. |
| 33672 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 33673 | |
| 33674 | # Run-time system search path for libraries. |
| 33675 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
| 33676 | |
| 33677 | # Whether dlopen is supported. |
| 33678 | dlopen_support=$enable_dlopen |
| 33679 | |
| 33680 | # Whether dlopen of programs is supported. |
| 33681 | dlopen_self=$enable_dlopen_self |
| 33682 | |
| 33683 | # Whether dlopen of statically linked programs is supported. |
| 33684 | dlopen_self_static=$enable_dlopen_self_static |
| 33685 | |
| 33686 | # Commands to strip libraries. |
| 33687 | old_striplib=$lt_old_striplib |
| 33688 | striplib=$lt_striplib |
| 33689 | |
| 33690 | |
| 33691 | # The linker used to build libraries. |
| 33692 | LD=$lt_LD |
| 33693 | |
| 33694 | # How to create reloadable object files. |
| 33695 | reload_flag=$lt_reload_flag |
| 33696 | reload_cmds=$lt_reload_cmds |
| 33697 | |
| 33698 | # Commands used to build an old-style archive. |
| 33699 | old_archive_cmds=$lt_old_archive_cmds |
| 33700 | |
| 33701 | # A language specific compiler. |
| 33702 | CC=$lt_compiler |
| 33703 | |
| 33704 | # Is the compiler the GNU compiler? |
| 33705 | with_gcc=$GCC |
| 33706 | |
| 33707 | # Compiler flag to turn off builtin functions. |
| 33708 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
| 33709 | |
| 33710 | # How to pass a linker flag through the compiler. |
| 33711 | wl=$lt_lt_prog_compiler_wl |
| 33712 | |
| 33713 | # Additional compiler flags for building library objects. |
| 33714 | pic_flag=$lt_lt_prog_compiler_pic |
| 33715 | |
| 33716 | # Compiler flag to prevent dynamic linking. |
| 33717 | link_static_flag=$lt_lt_prog_compiler_static |
| 33718 | |
| 33719 | # Does compiler simultaneously support -c and -o options? |
| 33720 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
| 33721 | |
| 33722 | # Whether or not to add -lc for building shared libraries. |
| 33723 | build_libtool_need_lc=$archive_cmds_need_lc |
| 33724 | |
| 33725 | # Whether or not to disallow shared libs when runtime libs are static. |
| 33726 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
| 33727 | |
| 33728 | # Compiler flag to allow reflexive dlopens. |
| 33729 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
| 33730 | |
| 33731 | # Compiler flag to generate shared objects directly from archives. |
| 33732 | whole_archive_flag_spec=$lt_whole_archive_flag_spec |
| 33733 | |
| 33734 | # Whether the compiler copes with passing no objects directly. |
| 33735 | compiler_needs_object=$lt_compiler_needs_object |
| 33736 | |
| 33737 | # Create an old-style archive from a shared archive. |
| 33738 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
| 33739 | |
| 33740 | # Create a temporary old-style archive to link instead of a shared archive. |
| 33741 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
| 33742 | |
| 33743 | # Commands used to build a shared archive. |
| 33744 | archive_cmds=$lt_archive_cmds |
| 33745 | archive_expsym_cmds=$lt_archive_expsym_cmds |
| 33746 | |
| 33747 | # Commands used to build a loadable module if different from building |
| 33748 | # a shared archive. |
| 33749 | module_cmds=$lt_module_cmds |
| 33750 | module_expsym_cmds=$lt_module_expsym_cmds |
| 33751 | |
| 33752 | # Whether we are building with GNU ld or not. |
| 33753 | with_gnu_ld=$lt_with_gnu_ld |
| 33754 | |
| 33755 | # Flag that allows shared libraries with undefined symbols to be built. |
| 33756 | allow_undefined_flag=$lt_allow_undefined_flag |
| 33757 | |
| 33758 | # Flag that enforces no undefined symbols. |
| 33759 | no_undefined_flag=$lt_no_undefined_flag |
| 33760 | |
| 33761 | # Flag to hardcode \$libdir into a binary during linking. |
| 33762 | # This must work even if \$libdir does not exist |
| 33763 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 33764 | |
| 33765 | # If ld is used when linking, flag to hardcode \$libdir into a binary |
| 33766 | # during linking. This must work even if \$libdir does not exist. |
| 33767 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
| 33768 | |
| 33769 | # Whether we need a single "-rpath" flag with a separated argument. |
| 33770 | hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 33771 | |
| 33772 | # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
| 33773 | # DIR into the resulting binary. |
| 33774 | hardcode_direct=$hardcode_direct |
| 33775 | |
| 33776 | # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
| 33777 | # DIR into the resulting binary and the resulting library dependency is |
| 33778 | # "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
| 33779 | # library is relocated. |
| 33780 | hardcode_direct_absolute=$hardcode_direct_absolute |
| 33781 | |
| 33782 | # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 33783 | # into the resulting binary. |
| 33784 | hardcode_minus_L=$hardcode_minus_L |
| 33785 | |
| 33786 | # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 33787 | # into the resulting binary. |
| 33788 | hardcode_shlibpath_var=$hardcode_shlibpath_var |
| 33789 | |
| 33790 | # Set to "yes" if building a shared library automatically hardcodes DIR |
| 33791 | # into the library and all subsequent libraries and executables linked |
| 33792 | # against it. |
| 33793 | hardcode_automatic=$hardcode_automatic |
| 33794 | |
| 33795 | # Set to yes if linker adds runtime paths of dependent libraries |
| 33796 | # to runtime path list. |
| 33797 | inherit_rpath=$inherit_rpath |
| 33798 | |
| 33799 | # Whether libtool must link a program against all its dependency libraries. |
| 33800 | link_all_deplibs=$link_all_deplibs |
| 33801 | |
| 33802 | # Fix the shell variable \$srcfile for the compiler. |
| 33803 | fix_srcfile_path=$lt_fix_srcfile_path |
| 33804 | |
| 33805 | # Set to "yes" if exported symbols are required. |
| 33806 | always_export_symbols=$always_export_symbols |
| 33807 | |
| 33808 | # The commands to list exported symbols. |
| 33809 | export_symbols_cmds=$lt_export_symbols_cmds |
| 33810 | |
| 33811 | # Symbols that should not be listed in the preloaded symbols. |
| 33812 | exclude_expsyms=$lt_exclude_expsyms |
| 33813 | |
| 33814 | # Symbols that must always be exported. |
| 33815 | include_expsyms=$lt_include_expsyms |
| 33816 | |
| 33817 | # Commands necessary for linking programs (against libraries) with templates. |
| 33818 | prelink_cmds=$lt_prelink_cmds |
| 33819 | |
| 33820 | # Specify filename containing input files. |
| 33821 | file_list_spec=$lt_file_list_spec |
| 33822 | |
| 33823 | # How to hardcode a shared library path into an executable. |
| 33824 | hardcode_action=$hardcode_action |
| 33825 | |
| 33826 | # The directories searched by this compiler when creating a shared library. |
| 33827 | compiler_lib_search_dirs=$lt_compiler_lib_search_dirs |
| 33828 | |
| 33829 | # Dependencies to place before and after the objects being linked to |
| 33830 | # create a shared library. |
| 33831 | predep_objects=$lt_predep_objects |
| 33832 | postdep_objects=$lt_postdep_objects |
| 33833 | predeps=$lt_predeps |
| 33834 | postdeps=$lt_postdeps |
| 33835 | |
| 33836 | # The library search path used internally by the compiler when linking |
| 33837 | # a shared library. |
| 33838 | compiler_lib_search_path=$lt_compiler_lib_search_path |
| 33839 | |
| 33840 | # ### END LIBTOOL CONFIG |
| 33841 | |
| 33842 | _LT_EOF |
| 33843 | |
| 33844 | case $host_os in |
| 33845 | aix3*) |
| 33846 | cat <<\_LT_EOF >> "$cfgfile" |
| 33847 | # AIX sometimes has problems with the GCC collect2 program. For some |
| 33848 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 33849 | # vanish in a puff of smoke. |
| 33850 | if test "X${COLLECT_NAMES+set}" != Xset; then |
| 33851 | COLLECT_NAMES= |
| 33852 | export COLLECT_NAMES |
| 33853 | fi |
| 33854 | _LT_EOF |
| 33855 | ;; |
| 33856 | esac |
| 33857 | |
| 33858 | |
| 33859 | ltmain="$ac_aux_dir/ltmain.sh" |
| 33860 | |
| 33861 | |
| 33862 | # We use sed instead of cat because bash on DJGPP gets confused if |
| 33863 | # if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 33864 | # text mode, it properly converts lines to CR/LF. This bash problem |
| 33865 | # is reportedly fixed, but why not run on old versions too? |
| 33866 | sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
| 33867 | || (rm -f "$cfgfile"; exit 1) |
| 33868 | |
| 33869 | case $xsi_shell in |
| 33870 | yes) |
| 33871 | cat << \_LT_EOF >> "$cfgfile" |
| 33872 | |
| 33873 | # func_dirname file append nondir_replacement |
| 33874 | # Compute the dirname of FILE. If nonempty, add APPEND to the result, |
| 33875 | # otherwise set result to NONDIR_REPLACEMENT. |
| 33876 | func_dirname () |
| 33877 | { |
| 33878 | case ${1} in |
| 33879 | */*) func_dirname_result="${1%/*}${2}" ;; |
| 33880 | * ) func_dirname_result="${3}" ;; |
| 33881 | esac |
| 33882 | } |
| 33883 | |
| 33884 | # func_basename file |
| 33885 | func_basename () |
| 33886 | { |
| 33887 | func_basename_result="${1##*/}" |
| 33888 | } |
| 33889 | |
| 33890 | # func_dirname_and_basename file append nondir_replacement |
| 33891 | # perform func_basename and func_dirname in a single function |
| 33892 | # call: |
| 33893 | # dirname: Compute the dirname of FILE. If nonempty, |
| 33894 | # add APPEND to the result, otherwise set result |
| 33895 | # to NONDIR_REPLACEMENT. |
| 33896 | # value returned in "$func_dirname_result" |
| 33897 | # basename: Compute filename of FILE. |
| 33898 | # value retuned in "$func_basename_result" |
| 33899 | # Implementation must be kept synchronized with func_dirname |
| 33900 | # and func_basename. For efficiency, we do not delegate to |
| 33901 | # those functions but instead duplicate the functionality here. |
| 33902 | func_dirname_and_basename () |
| 33903 | { |
| 33904 | case ${1} in |
| 33905 | */*) func_dirname_result="${1%/*}${2}" ;; |
| 33906 | * ) func_dirname_result="${3}" ;; |
| 33907 | esac |
| 33908 | func_basename_result="${1##*/}" |
| 33909 | } |
| 33910 | |
| 33911 | # func_stripname prefix suffix name |
| 33912 | # strip PREFIX and SUFFIX off of NAME. |
| 33913 | # PREFIX and SUFFIX must not contain globbing or regex special |
| 33914 | # characters, hashes, percent signs, but SUFFIX may contain a leading |
| 33915 | # dot (in which case that matches only a dot). |
| 33916 | func_stripname () |
| 33917 | { |
| 33918 | # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
| 33919 | # positional parameters, so assign one to ordinary parameter first. |
| 33920 | func_stripname_result=${3} |
| 33921 | func_stripname_result=${func_stripname_result#"${1}"} |
| 33922 | func_stripname_result=${func_stripname_result%"${2}"} |
| 33923 | } |
| 33924 | |
| 33925 | # func_opt_split |
| 33926 | func_opt_split () |
| 33927 | { |
| 33928 | func_opt_split_opt=${1%%=*} |
| 33929 | func_opt_split_arg=${1#*=} |
| 33930 | } |
| 33931 | |
| 33932 | # func_lo2o object |
| 33933 | func_lo2o () |
| 33934 | { |
| 33935 | case ${1} in |
| 33936 | *.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
| 33937 | *) func_lo2o_result=${1} ;; |
| 33938 | esac |
| 33939 | } |
| 33940 | |
| 33941 | # func_xform libobj-or-source |
| 33942 | func_xform () |
| 33943 | { |
| 33944 | func_xform_result=${1%.*}.lo |
| 33945 | } |
| 33946 | |
| 33947 | # func_arith arithmetic-term... |
| 33948 | func_arith () |
| 33949 | { |
| 33950 | func_arith_result=$(( $* )) |
| 33951 | } |
| 33952 | |
| 33953 | # func_len string |
| 33954 | # STRING may not start with a hyphen. |
| 33955 | func_len () |
| 33956 | { |
| 33957 | func_len_result=${#1} |
| 33958 | } |
| 33959 | |
| 33960 | _LT_EOF |
| 33961 | ;; |
| 33962 | *) # Bourne compatible functions. |
| 33963 | cat << \_LT_EOF >> "$cfgfile" |
| 33964 | |
| 33965 | # func_dirname file append nondir_replacement |
| 33966 | # Compute the dirname of FILE. If nonempty, add APPEND to the result, |
| 33967 | # otherwise set result to NONDIR_REPLACEMENT. |
| 33968 | func_dirname () |
| 33969 | { |
| 33970 | # Extract subdirectory from the argument. |
| 33971 | func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` |
| 33972 | if test "X$func_dirname_result" = "X${1}"; then |
| 33973 | func_dirname_result="${3}" |
| 33974 | else |
| 33975 | func_dirname_result="$func_dirname_result${2}" |
| 33976 | fi |
| 33977 | } |
| 33978 | |
| 33979 | # func_basename file |
| 33980 | func_basename () |
| 33981 | { |
| 33982 | func_basename_result=`$ECHO "${1}" | $SED "$basename"` |
| 33983 | } |
| 33984 | |
| 33985 | |
| 33986 | # func_stripname prefix suffix name |
| 33987 | # strip PREFIX and SUFFIX off of NAME. |
| 33988 | # PREFIX and SUFFIX must not contain globbing or regex special |
| 33989 | # characters, hashes, percent signs, but SUFFIX may contain a leading |
| 33990 | # dot (in which case that matches only a dot). |
| 33991 | # func_strip_suffix prefix name |
| 33992 | func_stripname () |
| 33993 | { |
| 33994 | case ${2} in |
| 33995 | .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
| 33996 | *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
| 33997 | esac |
| 33998 | } |
| 33999 | |
| 34000 | # sed scripts: |
| 34001 | my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
| 34002 | my_sed_long_arg='1s/^-[^=]*=//' |
| 34003 | |
| 34004 | # func_opt_split |
| 34005 | func_opt_split () |
| 34006 | { |
| 34007 | func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` |
| 34008 | func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` |
| 34009 | } |
| 34010 | |
| 34011 | # func_lo2o object |
| 34012 | func_lo2o () |
| 34013 | { |
| 34014 | func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` |
| 34015 | } |
| 34016 | |
| 34017 | # func_xform libobj-or-source |
| 34018 | func_xform () |
| 34019 | { |
| 34020 | func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` |
| 34021 | } |
| 34022 | |
| 34023 | # func_arith arithmetic-term... |
| 34024 | func_arith () |
| 34025 | { |
| 34026 | func_arith_result=`expr "$@"` |
| 34027 | } |
| 34028 | |
| 34029 | # func_len string |
| 34030 | # STRING may not start with a hyphen. |
| 34031 | func_len () |
| 34032 | { |
| 34033 | func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
| 34034 | } |
| 34035 | |
| 34036 | _LT_EOF |
| 34037 | esac |
| 34038 | |
| 34039 | case $lt_shell_append in |
| 34040 | yes) |
| 34041 | cat << \_LT_EOF >> "$cfgfile" |
| 34042 | |
| 34043 | # func_append var value |
| 34044 | # Append VALUE to the end of shell variable VAR. |
| 34045 | func_append () |
| 34046 | { |
| 34047 | eval "$1+=\$2" |
| 34048 | } |
| 34049 | _LT_EOF |
| 34050 | ;; |
| 34051 | *) |
| 34052 | cat << \_LT_EOF >> "$cfgfile" |
| 34053 | |
| 34054 | # func_append var value |
| 34055 | # Append VALUE to the end of shell variable VAR. |
| 34056 | func_append () |
| 34057 | { |
| 34058 | eval "$1=\$$1\$2" |
| 34059 | } |
| 34060 | |
| 34061 | _LT_EOF |
| 34062 | ;; |
| 34063 | esac |
| 34064 | |
| 34065 | |
| 34066 | sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
| 34067 | || (rm -f "$cfgfile"; exit 1) |
| 34068 | |
| 34069 | mv -f "$cfgfile" "$ofile" || |
| 34070 | (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 34071 | chmod +x "$ofile" |
| 34072 | |
| 34073 | |
| 34074 | cat <<_LT_EOF >> "$ofile" |
| 34075 | |
| 34076 | # ### BEGIN LIBTOOL TAG CONFIG: FC |
| 34077 | |
| 34078 | # The linker used to build libraries. |
| 34079 | LD=$lt_LD_FC |
| 34080 | |
| 34081 | # How to create reloadable object files. |
| 34082 | reload_flag=$lt_reload_flag_FC |
| 34083 | reload_cmds=$lt_reload_cmds_FC |
| 34084 | |
| 34085 | # Commands used to build an old-style archive. |
| 34086 | old_archive_cmds=$lt_old_archive_cmds_FC |
| 34087 | |
| 34088 | # A language specific compiler. |
| 34089 | CC=$lt_compiler_FC |
| 34090 | |
| 34091 | # Is the compiler the GNU compiler? |
| 34092 | with_gcc=$GCC_FC |
| 34093 | |
| 34094 | # Compiler flag to turn off builtin functions. |
| 34095 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC |
| 34096 | |
| 34097 | # How to pass a linker flag through the compiler. |
| 34098 | wl=$lt_lt_prog_compiler_wl_FC |
| 34099 | |
| 34100 | # Additional compiler flags for building library objects. |
| 34101 | pic_flag=$lt_lt_prog_compiler_pic_FC |
| 34102 | |
| 34103 | # Compiler flag to prevent dynamic linking. |
| 34104 | link_static_flag=$lt_lt_prog_compiler_static_FC |
| 34105 | |
| 34106 | # Does compiler simultaneously support -c and -o options? |
| 34107 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC |
| 34108 | |
| 34109 | # Whether or not to add -lc for building shared libraries. |
| 34110 | build_libtool_need_lc=$archive_cmds_need_lc_FC |
| 34111 | |
| 34112 | # Whether or not to disallow shared libs when runtime libs are static. |
| 34113 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC |
| 34114 | |
| 34115 | # Compiler flag to allow reflexive dlopens. |
| 34116 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC |
| 34117 | |
| 34118 | # Compiler flag to generate shared objects directly from archives. |
| 34119 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC |
| 34120 | |
| 34121 | # Whether the compiler copes with passing no objects directly. |
| 34122 | compiler_needs_object=$lt_compiler_needs_object_FC |
| 34123 | |
| 34124 | # Create an old-style archive from a shared archive. |
| 34125 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC |
| 34126 | |
| 34127 | # Create a temporary old-style archive to link instead of a shared archive. |
| 34128 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC |
| 34129 | |
| 34130 | # Commands used to build a shared archive. |
| 34131 | archive_cmds=$lt_archive_cmds_FC |
| 34132 | archive_expsym_cmds=$lt_archive_expsym_cmds_FC |
| 34133 | |
| 34134 | # Commands used to build a loadable module if different from building |
| 34135 | # a shared archive. |
| 34136 | module_cmds=$lt_module_cmds_FC |
| 34137 | module_expsym_cmds=$lt_module_expsym_cmds_FC |
| 34138 | |
| 34139 | # Whether we are building with GNU ld or not. |
| 34140 | with_gnu_ld=$lt_with_gnu_ld_FC |
| 34141 | |
| 34142 | # Flag that allows shared libraries with undefined symbols to be built. |
| 34143 | allow_undefined_flag=$lt_allow_undefined_flag_FC |
| 34144 | |
| 34145 | # Flag that enforces no undefined symbols. |
| 34146 | no_undefined_flag=$lt_no_undefined_flag_FC |
| 34147 | |
| 34148 | # Flag to hardcode \$libdir into a binary during linking. |
| 34149 | # This must work even if \$libdir does not exist |
| 34150 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC |
| 34151 | |
| 34152 | # If ld is used when linking, flag to hardcode \$libdir into a binary |
| 34153 | # during linking. This must work even if \$libdir does not exist. |
| 34154 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC |
| 34155 | |
| 34156 | # Whether we need a single "-rpath" flag with a separated argument. |
| 34157 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC |
| 34158 | |
| 34159 | # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
| 34160 | # DIR into the resulting binary. |
| 34161 | hardcode_direct=$hardcode_direct_FC |
| 34162 | |
| 34163 | # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
| 34164 | # DIR into the resulting binary and the resulting library dependency is |
| 34165 | # "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
| 34166 | # library is relocated. |
| 34167 | hardcode_direct_absolute=$hardcode_direct_absolute_FC |
| 34168 | |
| 34169 | # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 34170 | # into the resulting binary. |
| 34171 | hardcode_minus_L=$hardcode_minus_L_FC |
| 34172 | |
| 34173 | # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 34174 | # into the resulting binary. |
| 34175 | hardcode_shlibpath_var=$hardcode_shlibpath_var_FC |
| 34176 | |
| 34177 | # Set to "yes" if building a shared library automatically hardcodes DIR |
| 34178 | # into the library and all subsequent libraries and executables linked |
| 34179 | # against it. |
| 34180 | hardcode_automatic=$hardcode_automatic_FC |
| 34181 | |
| 34182 | # Set to yes if linker adds runtime paths of dependent libraries |
| 34183 | # to runtime path list. |
| 34184 | inherit_rpath=$inherit_rpath_FC |
| 34185 | |
| 34186 | # Whether libtool must link a program against all its dependency libraries. |
| 34187 | link_all_deplibs=$link_all_deplibs_FC |
| 34188 | |
| 34189 | # Fix the shell variable \$srcfile for the compiler. |
| 34190 | fix_srcfile_path=$lt_fix_srcfile_path_FC |
| 34191 | |
| 34192 | # Set to "yes" if exported symbols are required. |
| 34193 | always_export_symbols=$always_export_symbols_FC |
| 34194 | |
| 34195 | # The commands to list exported symbols. |
| 34196 | export_symbols_cmds=$lt_export_symbols_cmds_FC |
| 34197 | |
| 34198 | # Symbols that should not be listed in the preloaded symbols. |
| 34199 | exclude_expsyms=$lt_exclude_expsyms_FC |
| 34200 | |
| 34201 | # Symbols that must always be exported. |
| 34202 | include_expsyms=$lt_include_expsyms_FC |
| 34203 | |
| 34204 | # Commands necessary for linking programs (against libraries) with templates. |
| 34205 | prelink_cmds=$lt_prelink_cmds_FC |
| 34206 | |
| 34207 | # Specify filename containing input files. |
| 34208 | file_list_spec=$lt_file_list_spec_FC |
| 34209 | |
| 34210 | # How to hardcode a shared library path into an executable. |
| 34211 | hardcode_action=$hardcode_action_FC |
| 34212 | |
| 34213 | # The directories searched by this compiler when creating a shared library. |
| 34214 | compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC |
| 34215 | |
| 34216 | # Dependencies to place before and after the objects being linked to |
| 34217 | # create a shared library. |
| 34218 | predep_objects=$lt_predep_objects_FC |
| 34219 | postdep_objects=$lt_postdep_objects_FC |
| 34220 | predeps=$lt_predeps_FC |
| 34221 | postdeps=$lt_postdeps_FC |
| 34222 | |
| 34223 | # The library search path used internally by the compiler when linking |
| 34224 | # a shared library. |
| 34225 | compiler_lib_search_path=$lt_compiler_lib_search_path_FC |
| 34226 | |
| 34227 | # ### END LIBTOOL TAG CONFIG: FC |
| 34228 | _LT_EOF |
| 34229 | |
| 34230 | ;; |
| 34231 | "gstdint.h":C) |
| 34232 | if test "$GCC" = yes; then |
| 34233 | echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h |
| 34234 | else |
| 34235 | echo "/* generated for $CC */" > tmp-stdint.h |
| 34236 | fi |
| 34237 | |
| 34238 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34239 | |
| 34240 | #ifndef GCC_GENERATED_STDINT_H |
| 34241 | #define GCC_GENERATED_STDINT_H 1 |
| 34242 | |
| 34243 | #include <sys/types.h> |
| 34244 | EOF |
| 34245 | |
| 34246 | if test "$acx_cv_header_stdint" != stdint.h; then |
| 34247 | echo "#include <stddef.h>" >> tmp-stdint.h |
| 34248 | fi |
| 34249 | if test "$acx_cv_header_stdint" != stddef.h; then |
| 34250 | echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h |
| 34251 | fi |
| 34252 | |
| 34253 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34254 | /* glibc uses these symbols as guards to prevent redefinitions. */ |
| 34255 | #ifdef __int8_t_defined |
| 34256 | #define _INT8_T |
| 34257 | #define _INT16_T |
| 34258 | #define _INT32_T |
| 34259 | #endif |
| 34260 | #ifdef __uint32_t_defined |
| 34261 | #define _UINT32_T |
| 34262 | #endif |
| 34263 | |
| 34264 | EOF |
| 34265 | |
| 34266 | # ----------------- done header, emit basic int types ------------- |
| 34267 | if test "$acx_cv_header_stdint" = stddef.h; then |
| 34268 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34269 | |
| 34270 | #ifndef _UINT8_T |
| 34271 | #define _UINT8_T |
| 34272 | #ifndef __uint8_t_defined |
| 34273 | #define __uint8_t_defined |
| 34274 | #ifndef uint8_t |
| 34275 | typedef unsigned $acx_cv_type_int8_t uint8_t; |
| 34276 | #endif |
| 34277 | #endif |
| 34278 | #endif |
| 34279 | |
| 34280 | #ifndef _UINT16_T |
| 34281 | #define _UINT16_T |
| 34282 | #ifndef __uint16_t_defined |
| 34283 | #define __uint16_t_defined |
| 34284 | #ifndef uint16_t |
| 34285 | typedef unsigned $acx_cv_type_int16_t uint16_t; |
| 34286 | #endif |
| 34287 | #endif |
| 34288 | #endif |
| 34289 | |
| 34290 | #ifndef _UINT32_T |
| 34291 | #define _UINT32_T |
| 34292 | #ifndef __uint32_t_defined |
| 34293 | #define __uint32_t_defined |
| 34294 | #ifndef uint32_t |
| 34295 | typedef unsigned $acx_cv_type_int32_t uint32_t; |
| 34296 | #endif |
| 34297 | #endif |
| 34298 | #endif |
| 34299 | |
| 34300 | #ifndef _INT8_T |
| 34301 | #define _INT8_T |
| 34302 | #ifndef __int8_t_defined |
| 34303 | #define __int8_t_defined |
| 34304 | #ifndef int8_t |
| 34305 | typedef $acx_cv_type_int8_t int8_t; |
| 34306 | #endif |
| 34307 | #endif |
| 34308 | #endif |
| 34309 | |
| 34310 | #ifndef _INT16_T |
| 34311 | #define _INT16_T |
| 34312 | #ifndef __int16_t_defined |
| 34313 | #define __int16_t_defined |
| 34314 | #ifndef int16_t |
| 34315 | typedef $acx_cv_type_int16_t int16_t; |
| 34316 | #endif |
| 34317 | #endif |
| 34318 | #endif |
| 34319 | |
| 34320 | #ifndef _INT32_T |
| 34321 | #define _INT32_T |
| 34322 | #ifndef __int32_t_defined |
| 34323 | #define __int32_t_defined |
| 34324 | #ifndef int32_t |
| 34325 | typedef $acx_cv_type_int32_t int32_t; |
| 34326 | #endif |
| 34327 | #endif |
| 34328 | #endif |
| 34329 | EOF |
| 34330 | elif test "$ac_cv_type_u_int32_t" = yes; then |
| 34331 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34332 | |
| 34333 | /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */ |
| 34334 | #ifndef _INT8_T |
| 34335 | #define _INT8_T |
| 34336 | #endif |
| 34337 | #ifndef _INT16_T |
| 34338 | #define _INT16_T |
| 34339 | #endif |
| 34340 | #ifndef _INT32_T |
| 34341 | #define _INT32_T |
| 34342 | #endif |
| 34343 | |
| 34344 | #ifndef _UINT8_T |
| 34345 | #define _UINT8_T |
| 34346 | #ifndef __uint8_t_defined |
| 34347 | #define __uint8_t_defined |
| 34348 | #ifndef uint8_t |
| 34349 | typedef u_int8_t uint8_t; |
| 34350 | #endif |
| 34351 | #endif |
| 34352 | #endif |
| 34353 | |
| 34354 | #ifndef _UINT16_T |
| 34355 | #define _UINT16_T |
| 34356 | #ifndef __uint16_t_defined |
| 34357 | #define __uint16_t_defined |
| 34358 | #ifndef uint16_t |
| 34359 | typedef u_int16_t uint16_t; |
| 34360 | #endif |
| 34361 | #endif |
| 34362 | #endif |
| 34363 | |
| 34364 | #ifndef _UINT32_T |
| 34365 | #define _UINT32_T |
| 34366 | #ifndef __uint32_t_defined |
| 34367 | #define __uint32_t_defined |
| 34368 | #ifndef uint32_t |
| 34369 | typedef u_int32_t uint32_t; |
| 34370 | #endif |
| 34371 | #endif |
| 34372 | #endif |
| 34373 | EOF |
| 34374 | else |
| 34375 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34376 | |
| 34377 | /* Some systems have guard macros to prevent redefinitions, define them. */ |
| 34378 | #ifndef _INT8_T |
| 34379 | #define _INT8_T |
| 34380 | #endif |
| 34381 | #ifndef _INT16_T |
| 34382 | #define _INT16_T |
| 34383 | #endif |
| 34384 | #ifndef _INT32_T |
| 34385 | #define _INT32_T |
| 34386 | #endif |
| 34387 | #ifndef _UINT8_T |
| 34388 | #define _UINT8_T |
| 34389 | #endif |
| 34390 | #ifndef _UINT16_T |
| 34391 | #define _UINT16_T |
| 34392 | #endif |
| 34393 | #ifndef _UINT32_T |
| 34394 | #define _UINT32_T |
| 34395 | #endif |
| 34396 | EOF |
| 34397 | fi |
| 34398 | |
| 34399 | # ------------- done basic int types, emit int64_t types ------------ |
| 34400 | if test "$ac_cv_type_uint64_t" = yes; then |
| 34401 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34402 | |
| 34403 | /* system headers have good uint64_t and int64_t */ |
| 34404 | #ifndef _INT64_T |
| 34405 | #define _INT64_T |
| 34406 | #endif |
| 34407 | #ifndef _UINT64_T |
| 34408 | #define _UINT64_T |
| 34409 | #endif |
| 34410 | EOF |
| 34411 | elif test "$ac_cv_type_u_int64_t" = yes; then |
| 34412 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34413 | |
| 34414 | /* system headers have an u_int64_t (and int64_t) */ |
| 34415 | #ifndef _INT64_T |
| 34416 | #define _INT64_T |
| 34417 | #endif |
| 34418 | #ifndef _UINT64_T |
| 34419 | #define _UINT64_T |
| 34420 | #ifndef __uint64_t_defined |
| 34421 | #define __uint64_t_defined |
| 34422 | #ifndef uint64_t |
| 34423 | typedef u_int64_t uint64_t; |
| 34424 | #endif |
| 34425 | #endif |
| 34426 | #endif |
| 34427 | EOF |
| 34428 | elif test -n "$acx_cv_type_int64_t"; then |
| 34429 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34430 | |
| 34431 | /* architecture has a 64-bit type, $acx_cv_type_int64_t */ |
| 34432 | #ifndef _INT64_T |
| 34433 | #define _INT64_T |
| 34434 | #ifndef int64_t |
| 34435 | typedef $acx_cv_type_int64_t int64_t; |
| 34436 | #endif |
| 34437 | #endif |
| 34438 | #ifndef _UINT64_T |
| 34439 | #define _UINT64_T |
| 34440 | #ifndef __uint64_t_defined |
| 34441 | #define __uint64_t_defined |
| 34442 | #ifndef uint64_t |
| 34443 | typedef unsigned $acx_cv_type_int64_t uint64_t; |
| 34444 | #endif |
| 34445 | #endif |
| 34446 | #endif |
| 34447 | EOF |
| 34448 | else |
| 34449 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34450 | |
| 34451 | /* some common heuristics for int64_t, using compiler-specific tests */ |
| 34452 | #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L |
| 34453 | #ifndef _INT64_T |
| 34454 | #define _INT64_T |
| 34455 | #ifndef __int64_t_defined |
| 34456 | #ifndef int64_t |
| 34457 | typedef long long int64_t; |
| 34458 | #endif |
| 34459 | #endif |
| 34460 | #endif |
| 34461 | #ifndef _UINT64_T |
| 34462 | #define _UINT64_T |
| 34463 | #ifndef uint64_t |
| 34464 | typedef unsigned long long uint64_t; |
| 34465 | #endif |
| 34466 | #endif |
| 34467 | |
| 34468 | #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0 |
| 34469 | /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and |
| 34470 | does not implement __extension__. But that compiler doesn't define |
| 34471 | __GNUC_MINOR__. */ |
| 34472 | # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__) |
| 34473 | # define __extension__ |
| 34474 | # endif |
| 34475 | |
| 34476 | # ifndef _INT64_T |
| 34477 | # define _INT64_T |
| 34478 | # ifndef int64_t |
| 34479 | __extension__ typedef long long int64_t; |
| 34480 | # endif |
| 34481 | # endif |
| 34482 | # ifndef _UINT64_T |
| 34483 | # define _UINT64_T |
| 34484 | # ifndef uint64_t |
| 34485 | __extension__ typedef unsigned long long uint64_t; |
| 34486 | # endif |
| 34487 | # endif |
| 34488 | |
| 34489 | #elif !defined __STRICT_ANSI__ |
| 34490 | # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__ |
| 34491 | |
| 34492 | # ifndef _INT64_T |
| 34493 | # define _INT64_T |
| 34494 | # ifndef int64_t |
| 34495 | typedef __int64 int64_t; |
| 34496 | # endif |
| 34497 | # endif |
| 34498 | # ifndef _UINT64_T |
| 34499 | # define _UINT64_T |
| 34500 | # ifndef uint64_t |
| 34501 | typedef unsigned __int64 uint64_t; |
| 34502 | # endif |
| 34503 | # endif |
| 34504 | # endif /* compiler */ |
| 34505 | |
| 34506 | #endif /* ANSI version */ |
| 34507 | EOF |
| 34508 | fi |
| 34509 | |
| 34510 | # ------------- done int64_t types, emit intptr types ------------ |
| 34511 | if test "$ac_cv_type_uintptr_t" != yes; then |
| 34512 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34513 | |
| 34514 | /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */ |
| 34515 | #ifndef __uintptr_t_defined |
| 34516 | #ifndef uintptr_t |
| 34517 | typedef u$acx_cv_type_intptr_t uintptr_t; |
| 34518 | #endif |
| 34519 | #endif |
| 34520 | #ifndef __intptr_t_defined |
| 34521 | #ifndef intptr_t |
| 34522 | typedef $acx_cv_type_intptr_t intptr_t; |
| 34523 | #endif |
| 34524 | #endif |
| 34525 | EOF |
| 34526 | fi |
| 34527 | |
| 34528 | # ------------- done intptr types, emit int_least types ------------ |
| 34529 | if test "$ac_cv_type_int_least32_t" != yes; then |
| 34530 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34531 | |
| 34532 | /* Define int_least types */ |
| 34533 | typedef int8_t int_least8_t; |
| 34534 | typedef int16_t int_least16_t; |
| 34535 | typedef int32_t int_least32_t; |
| 34536 | #ifdef _INT64_T |
| 34537 | typedef int64_t int_least64_t; |
| 34538 | #endif |
| 34539 | |
| 34540 | typedef uint8_t uint_least8_t; |
| 34541 | typedef uint16_t uint_least16_t; |
| 34542 | typedef uint32_t uint_least32_t; |
| 34543 | #ifdef _UINT64_T |
| 34544 | typedef uint64_t uint_least64_t; |
| 34545 | #endif |
| 34546 | EOF |
| 34547 | fi |
| 34548 | |
| 34549 | # ------------- done intptr types, emit int_fast types ------------ |
| 34550 | if test "$ac_cv_type_int_fast32_t" != yes; then |
| 34551 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34552 | |
| 34553 | /* Define int_fast types. short is often slow */ |
| 34554 | typedef int8_t int_fast8_t; |
| 34555 | typedef int int_fast16_t; |
| 34556 | typedef int32_t int_fast32_t; |
| 34557 | #ifdef _INT64_T |
| 34558 | typedef int64_t int_fast64_t; |
| 34559 | #endif |
| 34560 | |
| 34561 | typedef uint8_t uint_fast8_t; |
| 34562 | typedef unsigned int uint_fast16_t; |
| 34563 | typedef uint32_t uint_fast32_t; |
| 34564 | #ifdef _UINT64_T |
| 34565 | typedef uint64_t uint_fast64_t; |
| 34566 | #endif |
| 34567 | EOF |
| 34568 | fi |
| 34569 | |
| 34570 | if test "$ac_cv_type_uintmax_t" != yes; then |
| 34571 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34572 | |
| 34573 | /* Define intmax based on what we found */ |
| 34574 | #ifndef intmax_t |
| 34575 | #ifdef _INT64_T |
| 34576 | typedef int64_t intmax_t; |
| 34577 | #else |
| 34578 | typedef long intmax_t; |
| 34579 | #endif |
| 34580 | #endif |
| 34581 | #ifndef uintmax_t |
| 34582 | #ifdef _UINT64_T |
| 34583 | typedef uint64_t uintmax_t; |
| 34584 | #else |
| 34585 | typedef unsigned long uintmax_t; |
| 34586 | #endif |
| 34587 | #endif |
| 34588 | EOF |
| 34589 | fi |
| 34590 | |
| 34591 | sed 's/^ *//' >> tmp-stdint.h <<EOF |
| 34592 | |
| 34593 | #endif /* GCC_GENERATED_STDINT_H */ |
| 34594 | EOF |
| 34595 | |
| 34596 | if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then |
| 34597 | rm -f tmp-stdint.h |
| 34598 | else |
| 34599 | mv -f tmp-stdint.h gstdint.h |
| 34600 | fi |
| 34601 | |
| 34602 | ;; |
| 34603 | |
| 34604 | esac |
| 34605 | done # for ac_tag |
| 34606 | |
| 34607 | |
| 34608 | as_fn_exit 0 |
| 34609 | _ACEOF |
| 34610 | ac_clean_files=$ac_clean_files_save |
| 34611 | |
| 34612 | test $ac_write_fail = 0 || |
| 34613 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 34614 | |
| 34615 | |
| 34616 | # configure is writing to config.log, and then calls config.status. |
| 34617 | # config.status does its own redirection, appending to config.log. |
| 34618 | # Unfortunately, on DOS this fails, as config.log is still kept open |
| 34619 | # by configure, so config.status won't be able to write to it; its |
| 34620 | # output is simply discarded. So we exec the FD to /dev/null, |
| 34621 | # effectively closing config.log, so it can be properly (re)opened and |
| 34622 | # appended to by config.status. When coming back to configure, we |
| 34623 | # need to make the FD available again. |
| 34624 | if test "$no_create" != yes; then |
| 34625 | ac_cs_success=: |
| 34626 | ac_config_status_args= |
| 34627 | test "$silent" = yes && |
| 34628 | ac_config_status_args="$ac_config_status_args --quiet" |
| 34629 | exec 5>/dev/null |
| 34630 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 34631 | exec 5>>config.log |
| 34632 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 34633 | # would make configure fail if this is the last instruction. |
| 34634 | $ac_cs_success || as_fn_exit 1 |
| 34635 | fi |
| 34636 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 34637 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 34638 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 34639 | fi |
| 34640 |