1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for cudd 3.0.0. 4# 5# Report bugs to <Fabio@Colorado.EDU>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and Fabio@Colorado.EDU 278$0: about your system, including any error possibly output 279$0: before this message. Then install a modern shell, or 280$0: manually run the script under such a shell if you do 281$0: have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='cudd' 592PACKAGE_TARNAME='cudd' 593PACKAGE_VERSION='3.0.0' 594PACKAGE_STRING='cudd 3.0.0' 595PACKAGE_BUGREPORT='Fabio@Colorado.EDU' 596PACKAGE_URL='' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> 603#endif 604#ifdef HAVE_SYS_STAT_H 605# include <sys/stat.h> 606#endif 607#ifdef STDC_HEADERS 608# include <stdlib.h> 609# include <stddef.h> 610#else 611# ifdef HAVE_STDLIB_H 612# include <stdlib.h> 613# endif 614#endif 615#ifdef HAVE_STRING_H 616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 617# include <memory.h> 618# endif 619# include <string.h> 620#endif 621#ifdef HAVE_STRINGS_H 622# include <strings.h> 623#endif 624#ifdef HAVE_INTTYPES_H 625# include <inttypes.h> 626#endif 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_unique_file="st/st.c" 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639MINGW64_FALSE 640MINGW64_TRUE 641HAVE_PTHREADS_FALSE 642HAVE_PTHREADS_TRUE 643HAVE_PDFLATEX_FALSE 644HAVE_PDFLATEX_TRUE 645MAKEINDEX 646PDFLATEX 647HAVE_DOXYGEN_FALSE 648HAVE_DOXYGEN_TRUE 649DOXYGEN 650CROSS_COMPILING_FALSE 651CROSS_COMPILING_TRUE 652CXXCPP 653CPP 654OTOOL64 655OTOOL 656LIPO 657NMEDIT 658DSYMUTIL 659MANIFEST_TOOL 660RANLIB 661LN_S 662NM 663ac_ct_DUMPBIN 664DUMPBIN 665LD 666FGREP 667EGREP 668GREP 669SED 670LIBTOOL 671OBJDUMP 672DLLTOOL 673AS 674ac_ct_AR 675AR 676am__fastdepCXX_FALSE 677am__fastdepCXX_TRUE 678CXXDEPMODE 679ac_ct_CXX 680CXXFLAGS 681CXX 682am__fastdepCC_FALSE 683am__fastdepCC_TRUE 684CCDEPMODE 685am__nodep 686AMDEPBACKSLASH 687AMDEP_FALSE 688AMDEP_TRUE 689am__quote 690am__include 691DEPDIR 692OBJEXT 693EXEEXT 694ac_ct_CC 695CPPFLAGS 696LDFLAGS 697CFLAGS 698CC 699OBJ_FALSE 700OBJ_TRUE 701DDDMP_FALSE 702DDDMP_TRUE 703AM_BACKSLASH 704AM_DEFAULT_VERBOSITY 705AM_DEFAULT_V 706AM_V 707am__untar 708am__tar 709AMTAR 710am__leading_dot 711SET_MAKE 712AWK 713mkdir_p 714MKDIR_P 715INSTALL_STRIP_PROGRAM 716STRIP 717install_sh 718MAKEINFO 719AUTOHEADER 720AUTOMAKE 721AUTOCONF 722ACLOCAL 723VERSION 724PACKAGE 725CYGPATH_W 726am__isrc 727INSTALL_DATA 728INSTALL_SCRIPT 729INSTALL_PROGRAM 730host_os 731host_vendor 732host_cpu 733host 734build_os 735build_vendor 736build_cpu 737build 738target_alias 739host_alias 740build_alias 741LIBS 742ECHO_T 743ECHO_N 744ECHO_C 745DEFS 746mandir 747localedir 748libdir 749psdir 750pdfdir 751dvidir 752htmldir 753infodir 754docdir 755oldincludedir 756includedir 757localstatedir 758sharedstatedir 759sysconfdir 760datadir 761datarootdir 762libexecdir 763sbindir 764bindir 765program_transform_name 766prefix 767exec_prefix 768PACKAGE_URL 769PACKAGE_BUGREPORT 770PACKAGE_STRING 771PACKAGE_VERSION 772PACKAGE_TARNAME 773PACKAGE_NAME 774PATH_SEPARATOR 775SHELL' 776ac_subst_files='' 777ac_user_opts=' 778enable_option_checking 779enable_silent_rules 780enable_dddmp 781enable_obj 782with_system_qsort 783enable_dependency_tracking 784enable_shared 785enable_static 786with_pic 787enable_fast_install 788with_gnu_ld 789with_sysroot 790enable_libtool_lock 791' 792 ac_precious_vars='build_alias 793host_alias 794target_alias 795CC 796CFLAGS 797LDFLAGS 798LIBS 799CPPFLAGS 800CXX 801CXXFLAGS 802CCC 803CPP 804CXXCPP' 805 806 807# Initialize some variables set by options. 808ac_init_help= 809ac_init_version=false 810ac_unrecognized_opts= 811ac_unrecognized_sep= 812# The variables have the same names as the options, with 813# dashes changed to underlines. 814cache_file=/dev/null 815exec_prefix=NONE 816no_create= 817no_recursion= 818prefix=NONE 819program_prefix=NONE 820program_suffix=NONE 821program_transform_name=s,x,x, 822silent= 823site= 824srcdir= 825verbose= 826x_includes=NONE 827x_libraries=NONE 828 829# Installation directory options. 830# These are left unexpanded so users can "make install exec_prefix=/foo" 831# and all the variables that are supposed to be based on exec_prefix 832# by default will actually change. 833# Use braces instead of parens because sh, perl, etc. also accept them. 834# (The list follows the same order as the GNU Coding Standards.) 835bindir='${exec_prefix}/bin' 836sbindir='${exec_prefix}/sbin' 837libexecdir='${exec_prefix}/libexec' 838datarootdir='${prefix}/share' 839datadir='${datarootdir}' 840sysconfdir='${prefix}/etc' 841sharedstatedir='${prefix}/com' 842localstatedir='${prefix}/var' 843includedir='${prefix}/include' 844oldincludedir='/usr/include' 845docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 846infodir='${datarootdir}/info' 847htmldir='${docdir}' 848dvidir='${docdir}' 849pdfdir='${docdir}' 850psdir='${docdir}' 851libdir='${exec_prefix}/lib' 852localedir='${datarootdir}/locale' 853mandir='${datarootdir}/man' 854 855ac_prev= 856ac_dashdash= 857for ac_option 858do 859 # If the previous option needs an argument, assign it. 860 if test -n "$ac_prev"; then 861 eval $ac_prev=\$ac_option 862 ac_prev= 863 continue 864 fi 865 866 case $ac_option in 867 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 868 *=) ac_optarg= ;; 869 *) ac_optarg=yes ;; 870 esac 871 872 # Accept the important Cygnus configure options, so we can diagnose typos. 873 874 case $ac_dashdash$ac_option in 875 --) 876 ac_dashdash=yes ;; 877 878 -bindir | --bindir | --bindi | --bind | --bin | --bi) 879 ac_prev=bindir ;; 880 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 881 bindir=$ac_optarg ;; 882 883 -build | --build | --buil | --bui | --bu) 884 ac_prev=build_alias ;; 885 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 886 build_alias=$ac_optarg ;; 887 888 -cache-file | --cache-file | --cache-fil | --cache-fi \ 889 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 890 ac_prev=cache_file ;; 891 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 892 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 893 cache_file=$ac_optarg ;; 894 895 --config-cache | -C) 896 cache_file=config.cache ;; 897 898 -datadir | --datadir | --datadi | --datad) 899 ac_prev=datadir ;; 900 -datadir=* | --datadir=* | --datadi=* | --datad=*) 901 datadir=$ac_optarg ;; 902 903 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 904 | --dataroo | --dataro | --datar) 905 ac_prev=datarootdir ;; 906 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 907 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 908 datarootdir=$ac_optarg ;; 909 910 -disable-* | --disable-*) 911 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 912 # Reject names that are not valid shell variable names. 913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 914 as_fn_error $? "invalid feature name: $ac_useropt" 915 ac_useropt_orig=$ac_useropt 916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 917 case $ac_user_opts in 918 *" 919"enable_$ac_useropt" 920"*) ;; 921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 922 ac_unrecognized_sep=', ';; 923 esac 924 eval enable_$ac_useropt=no ;; 925 926 -docdir | --docdir | --docdi | --doc | --do) 927 ac_prev=docdir ;; 928 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 929 docdir=$ac_optarg ;; 930 931 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 932 ac_prev=dvidir ;; 933 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 934 dvidir=$ac_optarg ;; 935 936 -enable-* | --enable-*) 937 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 938 # Reject names that are not valid shell variable names. 939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 940 as_fn_error $? "invalid feature name: $ac_useropt" 941 ac_useropt_orig=$ac_useropt 942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 943 case $ac_user_opts in 944 *" 945"enable_$ac_useropt" 946"*) ;; 947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 948 ac_unrecognized_sep=', ';; 949 esac 950 eval enable_$ac_useropt=\$ac_optarg ;; 951 952 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 953 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 954 | --exec | --exe | --ex) 955 ac_prev=exec_prefix ;; 956 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 957 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 958 | --exec=* | --exe=* | --ex=*) 959 exec_prefix=$ac_optarg ;; 960 961 -gas | --gas | --ga | --g) 962 # Obsolete; use --with-gas. 963 with_gas=yes ;; 964 965 -help | --help | --hel | --he | -h) 966 ac_init_help=long ;; 967 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 968 ac_init_help=recursive ;; 969 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 970 ac_init_help=short ;; 971 972 -host | --host | --hos | --ho) 973 ac_prev=host_alias ;; 974 -host=* | --host=* | --hos=* | --ho=*) 975 host_alias=$ac_optarg ;; 976 977 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 978 ac_prev=htmldir ;; 979 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 980 | --ht=*) 981 htmldir=$ac_optarg ;; 982 983 -includedir | --includedir | --includedi | --included | --include \ 984 | --includ | --inclu | --incl | --inc) 985 ac_prev=includedir ;; 986 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 987 | --includ=* | --inclu=* | --incl=* | --inc=*) 988 includedir=$ac_optarg ;; 989 990 -infodir | --infodir | --infodi | --infod | --info | --inf) 991 ac_prev=infodir ;; 992 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 993 infodir=$ac_optarg ;; 994 995 -libdir | --libdir | --libdi | --libd) 996 ac_prev=libdir ;; 997 -libdir=* | --libdir=* | --libdi=* | --libd=*) 998 libdir=$ac_optarg ;; 999 1000 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1001 | --libexe | --libex | --libe) 1002 ac_prev=libexecdir ;; 1003 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1004 | --libexe=* | --libex=* | --libe=*) 1005 libexecdir=$ac_optarg ;; 1006 1007 -localedir | --localedir | --localedi | --localed | --locale) 1008 ac_prev=localedir ;; 1009 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1010 localedir=$ac_optarg ;; 1011 1012 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1013 | --localstate | --localstat | --localsta | --localst | --locals) 1014 ac_prev=localstatedir ;; 1015 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1016 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1017 localstatedir=$ac_optarg ;; 1018 1019 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1020 ac_prev=mandir ;; 1021 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1022 mandir=$ac_optarg ;; 1023 1024 -nfp | --nfp | --nf) 1025 # Obsolete; use --without-fp. 1026 with_fp=no ;; 1027 1028 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1029 | --no-cr | --no-c | -n) 1030 no_create=yes ;; 1031 1032 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1033 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1034 no_recursion=yes ;; 1035 1036 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1037 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1038 | --oldin | --oldi | --old | --ol | --o) 1039 ac_prev=oldincludedir ;; 1040 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1041 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1042 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1043 oldincludedir=$ac_optarg ;; 1044 1045 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1046 ac_prev=prefix ;; 1047 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1048 prefix=$ac_optarg ;; 1049 1050 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1051 | --program-pre | --program-pr | --program-p) 1052 ac_prev=program_prefix ;; 1053 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1054 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1055 program_prefix=$ac_optarg ;; 1056 1057 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1058 | --program-suf | --program-su | --program-s) 1059 ac_prev=program_suffix ;; 1060 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1061 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1062 program_suffix=$ac_optarg ;; 1063 1064 -program-transform-name | --program-transform-name \ 1065 | --program-transform-nam | --program-transform-na \ 1066 | --program-transform-n | --program-transform- \ 1067 | --program-transform | --program-transfor \ 1068 | --program-transfo | --program-transf \ 1069 | --program-trans | --program-tran \ 1070 | --progr-tra | --program-tr | --program-t) 1071 ac_prev=program_transform_name ;; 1072 -program-transform-name=* | --program-transform-name=* \ 1073 | --program-transform-nam=* | --program-transform-na=* \ 1074 | --program-transform-n=* | --program-transform-=* \ 1075 | --program-transform=* | --program-transfor=* \ 1076 | --program-transfo=* | --program-transf=* \ 1077 | --program-trans=* | --program-tran=* \ 1078 | --progr-tra=* | --program-tr=* | --program-t=*) 1079 program_transform_name=$ac_optarg ;; 1080 1081 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1082 ac_prev=pdfdir ;; 1083 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1084 pdfdir=$ac_optarg ;; 1085 1086 -psdir | --psdir | --psdi | --psd | --ps) 1087 ac_prev=psdir ;; 1088 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1089 psdir=$ac_optarg ;; 1090 1091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1092 | -silent | --silent | --silen | --sile | --sil) 1093 silent=yes ;; 1094 1095 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1096 ac_prev=sbindir ;; 1097 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1098 | --sbi=* | --sb=*) 1099 sbindir=$ac_optarg ;; 1100 1101 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1102 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1103 | --sharedst | --shareds | --shared | --share | --shar \ 1104 | --sha | --sh) 1105 ac_prev=sharedstatedir ;; 1106 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1107 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1108 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1109 | --sha=* | --sh=*) 1110 sharedstatedir=$ac_optarg ;; 1111 1112 -site | --site | --sit) 1113 ac_prev=site ;; 1114 -site=* | --site=* | --sit=*) 1115 site=$ac_optarg ;; 1116 1117 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1118 ac_prev=srcdir ;; 1119 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1120 srcdir=$ac_optarg ;; 1121 1122 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1123 | --syscon | --sysco | --sysc | --sys | --sy) 1124 ac_prev=sysconfdir ;; 1125 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1126 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1127 sysconfdir=$ac_optarg ;; 1128 1129 -target | --target | --targe | --targ | --tar | --ta | --t) 1130 ac_prev=target_alias ;; 1131 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1132 target_alias=$ac_optarg ;; 1133 1134 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1135 verbose=yes ;; 1136 1137 -version | --version | --versio | --versi | --vers | -V) 1138 ac_init_version=: ;; 1139 1140 -with-* | --with-*) 1141 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1142 # Reject names that are not valid shell variable names. 1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1144 as_fn_error $? "invalid package name: $ac_useropt" 1145 ac_useropt_orig=$ac_useropt 1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1147 case $ac_user_opts in 1148 *" 1149"with_$ac_useropt" 1150"*) ;; 1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1152 ac_unrecognized_sep=', ';; 1153 esac 1154 eval with_$ac_useropt=\$ac_optarg ;; 1155 1156 -without-* | --without-*) 1157 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1158 # Reject names that are not valid shell variable names. 1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1160 as_fn_error $? "invalid package name: $ac_useropt" 1161 ac_useropt_orig=$ac_useropt 1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1163 case $ac_user_opts in 1164 *" 1165"with_$ac_useropt" 1166"*) ;; 1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1168 ac_unrecognized_sep=', ';; 1169 esac 1170 eval with_$ac_useropt=no ;; 1171 1172 --x) 1173 # Obsolete; use --with-x. 1174 with_x=yes ;; 1175 1176 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1177 | --x-incl | --x-inc | --x-in | --x-i) 1178 ac_prev=x_includes ;; 1179 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1180 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1181 x_includes=$ac_optarg ;; 1182 1183 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1184 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1185 ac_prev=x_libraries ;; 1186 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1187 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1188 x_libraries=$ac_optarg ;; 1189 1190 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1191Try \`$0 --help' for more information" 1192 ;; 1193 1194 *=*) 1195 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1196 # Reject names that are not valid shell variable names. 1197 case $ac_envvar in #( 1198 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1199 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1200 esac 1201 eval $ac_envvar=\$ac_optarg 1202 export $ac_envvar ;; 1203 1204 *) 1205 # FIXME: should be removed in autoconf 3.0. 1206 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1207 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1208 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1209 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1210 ;; 1211 1212 esac 1213done 1214 1215if test -n "$ac_prev"; then 1216 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1217 as_fn_error $? "missing argument to $ac_option" 1218fi 1219 1220if test -n "$ac_unrecognized_opts"; then 1221 case $enable_option_checking in 1222 no) ;; 1223 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1224 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1225 esac 1226fi 1227 1228# Check all directory arguments for consistency. 1229for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1230 datadir sysconfdir sharedstatedir localstatedir includedir \ 1231 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1232 libdir localedir mandir 1233do 1234 eval ac_val=\$$ac_var 1235 # Remove trailing slashes. 1236 case $ac_val in 1237 */ ) 1238 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1239 eval $ac_var=\$ac_val;; 1240 esac 1241 # Be sure to have absolute directory names. 1242 case $ac_val in 1243 [\\/$]* | ?:[\\/]* ) continue;; 1244 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1245 esac 1246 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1247done 1248 1249# There might be people who depend on the old broken behavior: `$host' 1250# used to hold the argument of --host etc. 1251# FIXME: To remove some day. 1252build=$build_alias 1253host=$host_alias 1254target=$target_alias 1255 1256# FIXME: To remove some day. 1257if test "x$host_alias" != x; then 1258 if test "x$build_alias" = x; then 1259 cross_compiling=maybe 1260 elif test "x$build_alias" != "x$host_alias"; then 1261 cross_compiling=yes 1262 fi 1263fi 1264 1265ac_tool_prefix= 1266test -n "$host_alias" && ac_tool_prefix=$host_alias- 1267 1268test "$silent" = yes && exec 6>/dev/null 1269 1270 1271ac_pwd=`pwd` && test -n "$ac_pwd" && 1272ac_ls_di=`ls -di .` && 1273ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1274 as_fn_error $? "working directory cannot be determined" 1275test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1276 as_fn_error $? "pwd does not report name of working directory" 1277 1278 1279# Find the source files, if location was not specified. 1280if test -z "$srcdir"; then 1281 ac_srcdir_defaulted=yes 1282 # Try the directory containing this script, then the parent directory. 1283 ac_confdir=`$as_dirname -- "$as_myself" || 1284$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1285 X"$as_myself" : 'X\(//\)[^/]' \| \ 1286 X"$as_myself" : 'X\(//\)$' \| \ 1287 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1288$as_echo X"$as_myself" | 1289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1290 s//\1/ 1291 q 1292 } 1293 /^X\(\/\/\)[^/].*/{ 1294 s//\1/ 1295 q 1296 } 1297 /^X\(\/\/\)$/{ 1298 s//\1/ 1299 q 1300 } 1301 /^X\(\/\).*/{ 1302 s//\1/ 1303 q 1304 } 1305 s/.*/./; q'` 1306 srcdir=$ac_confdir 1307 if test ! -r "$srcdir/$ac_unique_file"; then 1308 srcdir=.. 1309 fi 1310else 1311 ac_srcdir_defaulted=no 1312fi 1313if test ! -r "$srcdir/$ac_unique_file"; then 1314 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1315 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1316fi 1317ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1318ac_abs_confdir=`( 1319 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1320 pwd)` 1321# When building in place, set srcdir=. 1322if test "$ac_abs_confdir" = "$ac_pwd"; then 1323 srcdir=. 1324fi 1325# Remove unnecessary trailing slashes from srcdir. 1326# Double slashes in file names in object file debugging info 1327# mess up M-x gdb in Emacs. 1328case $srcdir in 1329*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1330esac 1331for ac_var in $ac_precious_vars; do 1332 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1333 eval ac_env_${ac_var}_value=\$${ac_var} 1334 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1335 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1336done 1337 1338# 1339# Report the --help message. 1340# 1341if test "$ac_init_help" = "long"; then 1342 # Omit some internal or obsolete options to make the list less imposing. 1343 # This message is too long to be a string in the A/UX 3.1 sh. 1344 cat <<_ACEOF 1345\`configure' configures cudd 3.0.0 to adapt to many kinds of systems. 1346 1347Usage: $0 [OPTION]... [VAR=VALUE]... 1348 1349To assign environment variables (e.g., CC, CFLAGS...), specify them as 1350VAR=VALUE. See below for descriptions of some of the useful variables. 1351 1352Defaults for the options are specified in brackets. 1353 1354Configuration: 1355 -h, --help display this help and exit 1356 --help=short display options specific to this package 1357 --help=recursive display the short help of all the included packages 1358 -V, --version display version information and exit 1359 -q, --quiet, --silent do not print \`checking ...' messages 1360 --cache-file=FILE cache test results in FILE [disabled] 1361 -C, --config-cache alias for \`--cache-file=config.cache' 1362 -n, --no-create do not create output files 1363 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1364 1365Installation directories: 1366 --prefix=PREFIX install architecture-independent files in PREFIX 1367 [$ac_default_prefix] 1368 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1369 [PREFIX] 1370 1371By default, \`make install' will install all the files in 1372\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1373an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1374for instance \`--prefix=\$HOME'. 1375 1376For better control, use the options below. 1377 1378Fine tuning of the installation directories: 1379 --bindir=DIR user executables [EPREFIX/bin] 1380 --sbindir=DIR system admin executables [EPREFIX/sbin] 1381 --libexecdir=DIR program executables [EPREFIX/libexec] 1382 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1383 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1384 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1385 --libdir=DIR object code libraries [EPREFIX/lib] 1386 --includedir=DIR C header files [PREFIX/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1390 --infodir=DIR info documentation [DATAROOTDIR/info] 1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1392 --mandir=DIR man documentation [DATAROOTDIR/man] 1393 --docdir=DIR documentation root [DATAROOTDIR/doc/cudd] 1394 --htmldir=DIR html documentation [DOCDIR] 1395 --dvidir=DIR dvi documentation [DOCDIR] 1396 --pdfdir=DIR pdf documentation [DOCDIR] 1397 --psdir=DIR ps documentation [DOCDIR] 1398_ACEOF 1399 1400 cat <<\_ACEOF 1401 1402Program names: 1403 --program-prefix=PREFIX prepend PREFIX to installed program names 1404 --program-suffix=SUFFIX append SUFFIX to installed program names 1405 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1406 1407System types: 1408 --build=BUILD configure for building on BUILD [guessed] 1409 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1410_ACEOF 1411fi 1412 1413if test -n "$ac_init_help"; then 1414 case $ac_init_help in 1415 short | recursive ) echo "Configuration of cudd 3.0.0:";; 1416 esac 1417 cat <<\_ACEOF 1418 1419Optional Features: 1420 --disable-option-checking ignore unrecognized --enable/--with options 1421 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1422 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1423 --enable-silent-rules less verbose build output (undo: "make V=1") 1424 --disable-silent-rules verbose build output (undo: "make V=0") 1425 --enable-dddmp include libdddmp in libcudd 1426 --enable-obj include libobj in libcudd 1427 --enable-dependency-tracking 1428 do not reject slow dependency extractors 1429 --disable-dependency-tracking 1430 speeds up one-time build 1431 --enable-shared[=PKGS] build shared libraries [default=no] 1432 --enable-static[=PKGS] build static libraries [default=yes] 1433 --enable-fast-install[=PKGS] 1434 optimize for fast installation [default=yes] 1435 --disable-libtool-lock avoid locking (might break parallel builds) 1436 1437Optional Packages: 1438 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1439 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1440 --with-system-qsort use system qsort instead of portable one 1441 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1442 both] 1443 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1444 --with-sysroot=DIR Search for dependent libraries within DIR 1445 (or the compiler's sysroot if not specified). 1446 1447Some influential environment variables: 1448 CC C compiler command 1449 CFLAGS C compiler flags 1450 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1451 nonstandard directory <lib dir> 1452 LIBS libraries to pass to the linker, e.g. -l<library> 1453 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1454 you have headers in a nonstandard directory <include dir> 1455 CXX C++ compiler command 1456 CXXFLAGS C++ compiler flags 1457 CPP C preprocessor 1458 CXXCPP C++ preprocessor 1459 1460Use these variables to override the choices made by `configure' or to help 1461it to find libraries and programs with nonstandard names/locations. 1462 1463Report bugs to <Fabio@Colorado.EDU>. 1464_ACEOF 1465ac_status=$? 1466fi 1467 1468if test "$ac_init_help" = "recursive"; then 1469 # If there are subdirs, report their specific --help. 1470 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1471 test -d "$ac_dir" || 1472 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1473 continue 1474 ac_builddir=. 1475 1476case "$ac_dir" in 1477.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1478*) 1479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1480 # A ".." for each directory in $ac_dir_suffix. 1481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1482 case $ac_top_builddir_sub in 1483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1485 esac ;; 1486esac 1487ac_abs_top_builddir=$ac_pwd 1488ac_abs_builddir=$ac_pwd$ac_dir_suffix 1489# for backward compatibility: 1490ac_top_builddir=$ac_top_build_prefix 1491 1492case $srcdir in 1493 .) # We are building in place. 1494 ac_srcdir=. 1495 ac_top_srcdir=$ac_top_builddir_sub 1496 ac_abs_top_srcdir=$ac_pwd ;; 1497 [\\/]* | ?:[\\/]* ) # Absolute name. 1498 ac_srcdir=$srcdir$ac_dir_suffix; 1499 ac_top_srcdir=$srcdir 1500 ac_abs_top_srcdir=$srcdir ;; 1501 *) # Relative name. 1502 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1503 ac_top_srcdir=$ac_top_build_prefix$srcdir 1504 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1505esac 1506ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1507 1508 cd "$ac_dir" || { ac_status=$?; continue; } 1509 # Check for guested configure. 1510 if test -f "$ac_srcdir/configure.gnu"; then 1511 echo && 1512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1513 elif test -f "$ac_srcdir/configure"; then 1514 echo && 1515 $SHELL "$ac_srcdir/configure" --help=recursive 1516 else 1517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1518 fi || ac_status=$? 1519 cd "$ac_pwd" || { ac_status=$?; break; } 1520 done 1521fi 1522 1523test -n "$ac_init_help" && exit $ac_status 1524if $ac_init_version; then 1525 cat <<\_ACEOF 1526cudd configure 3.0.0 1527generated by GNU Autoconf 2.69 1528 1529Copyright (C) 2012 Free Software Foundation, Inc. 1530This configure script is free software; the Free Software Foundation 1531gives unlimited permission to copy, distribute and modify it. 1532_ACEOF 1533 exit 1534fi 1535 1536## ------------------------ ## 1537## Autoconf initialization. ## 1538## ------------------------ ## 1539 1540# ac_fn_c_try_compile LINENO 1541# -------------------------- 1542# Try to compile conftest.$ac_ext, and return whether this succeeded. 1543ac_fn_c_try_compile () 1544{ 1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1546 rm -f conftest.$ac_objext 1547 if { { ac_try="$ac_compile" 1548case "(($ac_try" in 1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1550 *) ac_try_echo=$ac_try;; 1551esac 1552eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1553$as_echo "$ac_try_echo"; } >&5 1554 (eval "$ac_compile") 2>conftest.err 1555 ac_status=$? 1556 if test -s conftest.err; then 1557 grep -v '^ *+' conftest.err >conftest.er1 1558 cat conftest.er1 >&5 1559 mv -f conftest.er1 conftest.err 1560 fi 1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1562 test $ac_status = 0; } && { 1563 test -z "$ac_c_werror_flag" || 1564 test ! -s conftest.err 1565 } && test -s conftest.$ac_objext; then : 1566 ac_retval=0 1567else 1568 $as_echo "$as_me: failed program was:" >&5 1569sed 's/^/| /' conftest.$ac_ext >&5 1570 1571 ac_retval=1 1572fi 1573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1574 as_fn_set_status $ac_retval 1575 1576} # ac_fn_c_try_compile 1577 1578# ac_fn_cxx_try_compile LINENO 1579# ---------------------------- 1580# Try to compile conftest.$ac_ext, and return whether this succeeded. 1581ac_fn_cxx_try_compile () 1582{ 1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1584 rm -f conftest.$ac_objext 1585 if { { ac_try="$ac_compile" 1586case "(($ac_try" in 1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1588 *) ac_try_echo=$ac_try;; 1589esac 1590eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1591$as_echo "$ac_try_echo"; } >&5 1592 (eval "$ac_compile") 2>conftest.err 1593 ac_status=$? 1594 if test -s conftest.err; then 1595 grep -v '^ *+' conftest.err >conftest.er1 1596 cat conftest.er1 >&5 1597 mv -f conftest.er1 conftest.err 1598 fi 1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1600 test $ac_status = 0; } && { 1601 test -z "$ac_cxx_werror_flag" || 1602 test ! -s conftest.err 1603 } && test -s conftest.$ac_objext; then : 1604 ac_retval=0 1605else 1606 $as_echo "$as_me: failed program was:" >&5 1607sed 's/^/| /' conftest.$ac_ext >&5 1608 1609 ac_retval=1 1610fi 1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1612 as_fn_set_status $ac_retval 1613 1614} # ac_fn_cxx_try_compile 1615 1616# ac_fn_c_try_link LINENO 1617# ----------------------- 1618# Try to link conftest.$ac_ext, and return whether this succeeded. 1619ac_fn_c_try_link () 1620{ 1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1622 rm -f conftest.$ac_objext conftest$ac_exeext 1623 if { { ac_try="$ac_link" 1624case "(($ac_try" in 1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1626 *) ac_try_echo=$ac_try;; 1627esac 1628eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1629$as_echo "$ac_try_echo"; } >&5 1630 (eval "$ac_link") 2>conftest.err 1631 ac_status=$? 1632 if test -s conftest.err; then 1633 grep -v '^ *+' conftest.err >conftest.er1 1634 cat conftest.er1 >&5 1635 mv -f conftest.er1 conftest.err 1636 fi 1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1638 test $ac_status = 0; } && { 1639 test -z "$ac_c_werror_flag" || 1640 test ! -s conftest.err 1641 } && test -s conftest$ac_exeext && { 1642 test "$cross_compiling" = yes || 1643 test -x conftest$ac_exeext 1644 }; then : 1645 ac_retval=0 1646else 1647 $as_echo "$as_me: failed program was:" >&5 1648sed 's/^/| /' conftest.$ac_ext >&5 1649 1650 ac_retval=1 1651fi 1652 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1653 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1654 # interfere with the next link command; also delete a directory that is 1655 # left behind by Apple's compiler. We do this before executing the actions. 1656 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1658 as_fn_set_status $ac_retval 1659 1660} # ac_fn_c_try_link 1661 1662# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1663# ------------------------------------------------------- 1664# Tests whether HEADER exists and can be compiled using the include files in 1665# INCLUDES, setting the cache variable VAR accordingly. 1666ac_fn_c_check_header_compile () 1667{ 1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1670$as_echo_n "checking for $2... " >&6; } 1671if eval \${$3+:} false; then : 1672 $as_echo_n "(cached) " >&6 1673else 1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1675/* end confdefs.h. */ 1676$4 1677#include <$2> 1678_ACEOF 1679if ac_fn_c_try_compile "$LINENO"; then : 1680 eval "$3=yes" 1681else 1682 eval "$3=no" 1683fi 1684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1685fi 1686eval ac_res=\$$3 1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1688$as_echo "$ac_res" >&6; } 1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1690 1691} # ac_fn_c_check_header_compile 1692 1693# ac_fn_c_try_cpp LINENO 1694# ---------------------- 1695# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1696ac_fn_c_try_cpp () 1697{ 1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1699 if { { ac_try="$ac_cpp conftest.$ac_ext" 1700case "(($ac_try" in 1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1702 *) ac_try_echo=$ac_try;; 1703esac 1704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1705$as_echo "$ac_try_echo"; } >&5 1706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1707 ac_status=$? 1708 if test -s conftest.err; then 1709 grep -v '^ *+' conftest.err >conftest.er1 1710 cat conftest.er1 >&5 1711 mv -f conftest.er1 conftest.err 1712 fi 1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1714 test $ac_status = 0; } > conftest.i && { 1715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1716 test ! -s conftest.err 1717 }; then : 1718 ac_retval=0 1719else 1720 $as_echo "$as_me: failed program was:" >&5 1721sed 's/^/| /' conftest.$ac_ext >&5 1722 1723 ac_retval=1 1724fi 1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1726 as_fn_set_status $ac_retval 1727 1728} # ac_fn_c_try_cpp 1729 1730# ac_fn_c_try_run LINENO 1731# ---------------------- 1732# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1733# that executables *can* be run. 1734ac_fn_c_try_run () 1735{ 1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1737 if { { ac_try="$ac_link" 1738case "(($ac_try" in 1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1740 *) ac_try_echo=$ac_try;; 1741esac 1742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1743$as_echo "$ac_try_echo"; } >&5 1744 (eval "$ac_link") 2>&5 1745 ac_status=$? 1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1747 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1748 { { case "(($ac_try" in 1749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1750 *) ac_try_echo=$ac_try;; 1751esac 1752eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1753$as_echo "$ac_try_echo"; } >&5 1754 (eval "$ac_try") 2>&5 1755 ac_status=$? 1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1757 test $ac_status = 0; }; }; then : 1758 ac_retval=0 1759else 1760 $as_echo "$as_me: program exited with status $ac_status" >&5 1761 $as_echo "$as_me: failed program was:" >&5 1762sed 's/^/| /' conftest.$ac_ext >&5 1763 1764 ac_retval=$ac_status 1765fi 1766 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1768 as_fn_set_status $ac_retval 1769 1770} # ac_fn_c_try_run 1771 1772# ac_fn_c_check_func LINENO FUNC VAR 1773# ---------------------------------- 1774# Tests whether FUNC exists, setting the cache variable VAR accordingly 1775ac_fn_c_check_func () 1776{ 1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1779$as_echo_n "checking for $2... " >&6; } 1780if eval \${$3+:} false; then : 1781 $as_echo_n "(cached) " >&6 1782else 1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1784/* end confdefs.h. */ 1785/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1786 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1787#define $2 innocuous_$2 1788 1789/* System header to define __stub macros and hopefully few prototypes, 1790 which can conflict with char $2 (); below. 1791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1792 <limits.h> exists even on freestanding compilers. */ 1793 1794#ifdef __STDC__ 1795# include <limits.h> 1796#else 1797# include <assert.h> 1798#endif 1799 1800#undef $2 1801 1802/* Override any GCC internal prototype to avoid an error. 1803 Use char because int might match the return type of a GCC 1804 builtin and then its argument prototype would still apply. */ 1805#ifdef __cplusplus 1806extern "C" 1807#endif 1808char $2 (); 1809/* The GNU C library defines this for functions which it implements 1810 to always fail with ENOSYS. Some functions are actually named 1811 something starting with __ and the normal name is an alias. */ 1812#if defined __stub_$2 || defined __stub___$2 1813choke me 1814#endif 1815 1816int 1817main () 1818{ 1819return $2 (); 1820 ; 1821 return 0; 1822} 1823_ACEOF 1824if ac_fn_c_try_link "$LINENO"; then : 1825 eval "$3=yes" 1826else 1827 eval "$3=no" 1828fi 1829rm -f core conftest.err conftest.$ac_objext \ 1830 conftest$ac_exeext conftest.$ac_ext 1831fi 1832eval ac_res=\$$3 1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1834$as_echo "$ac_res" >&6; } 1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1836 1837} # ac_fn_c_check_func 1838 1839# ac_fn_cxx_try_cpp LINENO 1840# ------------------------ 1841# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1842ac_fn_cxx_try_cpp () 1843{ 1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1845 if { { ac_try="$ac_cpp conftest.$ac_ext" 1846case "(($ac_try" in 1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1848 *) ac_try_echo=$ac_try;; 1849esac 1850eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1851$as_echo "$ac_try_echo"; } >&5 1852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1853 ac_status=$? 1854 if test -s conftest.err; then 1855 grep -v '^ *+' conftest.err >conftest.er1 1856 cat conftest.er1 >&5 1857 mv -f conftest.er1 conftest.err 1858 fi 1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1860 test $ac_status = 0; } > conftest.i && { 1861 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1862 test ! -s conftest.err 1863 }; then : 1864 ac_retval=0 1865else 1866 $as_echo "$as_me: failed program was:" >&5 1867sed 's/^/| /' conftest.$ac_ext >&5 1868 1869 ac_retval=1 1870fi 1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1872 as_fn_set_status $ac_retval 1873 1874} # ac_fn_cxx_try_cpp 1875 1876# ac_fn_cxx_try_link LINENO 1877# ------------------------- 1878# Try to link conftest.$ac_ext, and return whether this succeeded. 1879ac_fn_cxx_try_link () 1880{ 1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1882 rm -f conftest.$ac_objext conftest$ac_exeext 1883 if { { ac_try="$ac_link" 1884case "(($ac_try" in 1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1886 *) ac_try_echo=$ac_try;; 1887esac 1888eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1889$as_echo "$ac_try_echo"; } >&5 1890 (eval "$ac_link") 2>conftest.err 1891 ac_status=$? 1892 if test -s conftest.err; then 1893 grep -v '^ *+' conftest.err >conftest.er1 1894 cat conftest.er1 >&5 1895 mv -f conftest.er1 conftest.err 1896 fi 1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1898 test $ac_status = 0; } && { 1899 test -z "$ac_cxx_werror_flag" || 1900 test ! -s conftest.err 1901 } && test -s conftest$ac_exeext && { 1902 test "$cross_compiling" = yes || 1903 test -x conftest$ac_exeext 1904 }; then : 1905 ac_retval=0 1906else 1907 $as_echo "$as_me: failed program was:" >&5 1908sed 's/^/| /' conftest.$ac_ext >&5 1909 1910 ac_retval=1 1911fi 1912 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1913 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1914 # interfere with the next link command; also delete a directory that is 1915 # left behind by Apple's compiler. We do this before executing the actions. 1916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1918 as_fn_set_status $ac_retval 1919 1920} # ac_fn_cxx_try_link 1921 1922# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1923# ------------------------------------------------------- 1924# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1925# the include files in INCLUDES and setting the cache variable VAR 1926# accordingly. 1927ac_fn_c_check_header_mongrel () 1928{ 1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1930 if eval \${$3+:} false; then : 1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1932$as_echo_n "checking for $2... " >&6; } 1933if eval \${$3+:} false; then : 1934 $as_echo_n "(cached) " >&6 1935fi 1936eval ac_res=\$$3 1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1938$as_echo "$ac_res" >&6; } 1939else 1940 # Is the header compilable? 1941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1942$as_echo_n "checking $2 usability... " >&6; } 1943cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1944/* end confdefs.h. */ 1945$4 1946#include <$2> 1947_ACEOF 1948if ac_fn_c_try_compile "$LINENO"; then : 1949 ac_header_compiler=yes 1950else 1951 ac_header_compiler=no 1952fi 1953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1955$as_echo "$ac_header_compiler" >&6; } 1956 1957# Is the header present? 1958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1959$as_echo_n "checking $2 presence... " >&6; } 1960cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1961/* end confdefs.h. */ 1962#include <$2> 1963_ACEOF 1964if ac_fn_c_try_cpp "$LINENO"; then : 1965 ac_header_preproc=yes 1966else 1967 ac_header_preproc=no 1968fi 1969rm -f conftest.err conftest.i conftest.$ac_ext 1970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1971$as_echo "$ac_header_preproc" >&6; } 1972 1973# So? What about this header? 1974case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1975 yes:no: ) 1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1977$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1979$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1980 ;; 1981 no:yes:* ) 1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1983$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1985$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1987$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1989$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1991$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1992( $as_echo "## --------------------------------- ## 1993## Report this to Fabio@Colorado.EDU ## 1994## --------------------------------- ##" 1995 ) | sed "s/^/$as_me: WARNING: /" >&2 1996 ;; 1997esac 1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1999$as_echo_n "checking for $2... " >&6; } 2000if eval \${$3+:} false; then : 2001 $as_echo_n "(cached) " >&6 2002else 2003 eval "$3=\$ac_header_compiler" 2004fi 2005eval ac_res=\$$3 2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2007$as_echo "$ac_res" >&6; } 2008fi 2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2010 2011} # ac_fn_c_check_header_mongrel 2012 2013# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2014# ------------------------------------------- 2015# Tests whether TYPE exists after having included INCLUDES, setting cache 2016# variable VAR accordingly. 2017ac_fn_c_check_type () 2018{ 2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2021$as_echo_n "checking for $2... " >&6; } 2022if eval \${$3+:} false; then : 2023 $as_echo_n "(cached) " >&6 2024else 2025 eval "$3=no" 2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2027/* end confdefs.h. */ 2028$4 2029int 2030main () 2031{ 2032if (sizeof ($2)) 2033 return 0; 2034 ; 2035 return 0; 2036} 2037_ACEOF 2038if ac_fn_c_try_compile "$LINENO"; then : 2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2040/* end confdefs.h. */ 2041$4 2042int 2043main () 2044{ 2045if (sizeof (($2))) 2046 return 0; 2047 ; 2048 return 0; 2049} 2050_ACEOF 2051if ac_fn_c_try_compile "$LINENO"; then : 2052 2053else 2054 eval "$3=yes" 2055fi 2056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2057fi 2058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2059fi 2060eval ac_res=\$$3 2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2062$as_echo "$ac_res" >&6; } 2063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2064 2065} # ac_fn_c_check_type 2066 2067# ac_fn_c_find_uintX_t LINENO BITS VAR 2068# ------------------------------------ 2069# Finds an unsigned integer type with width BITS, setting cache variable VAR 2070# accordingly. 2071ac_fn_c_find_uintX_t () 2072{ 2073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2075$as_echo_n "checking for uint$2_t... " >&6; } 2076if eval \${$3+:} false; then : 2077 $as_echo_n "(cached) " >&6 2078else 2079 eval "$3=no" 2080 # Order is important - never check a type that is potentially smaller 2081 # than half of the expected target width. 2082 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2083 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2085/* end confdefs.h. */ 2086$ac_includes_default 2087int 2088main () 2089{ 2090static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2091test_array [0] = 0; 2092return test_array [0]; 2093 2094 ; 2095 return 0; 2096} 2097_ACEOF 2098if ac_fn_c_try_compile "$LINENO"; then : 2099 case $ac_type in #( 2100 uint$2_t) : 2101 eval "$3=yes" ;; #( 2102 *) : 2103 eval "$3=\$ac_type" ;; 2104esac 2105fi 2106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2107 if eval test \"x\$"$3"\" = x"no"; then : 2108 2109else 2110 break 2111fi 2112 done 2113fi 2114eval ac_res=\$$3 2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2116$as_echo "$ac_res" >&6; } 2117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2118 2119} # ac_fn_c_find_uintX_t 2120 2121# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2122# -------------------------------------------- 2123# Tries to find the compile-time value of EXPR in a program that includes 2124# INCLUDES, setting VAR accordingly. Returns whether the value could be 2125# computed 2126ac_fn_c_compute_int () 2127{ 2128 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2129 if test "$cross_compiling" = yes; then 2130 # Depending upon the size, compute the lo and hi bounds. 2131cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2132/* end confdefs.h. */ 2133$4 2134int 2135main () 2136{ 2137static int test_array [1 - 2 * !(($2) >= 0)]; 2138test_array [0] = 0; 2139return test_array [0]; 2140 2141 ; 2142 return 0; 2143} 2144_ACEOF 2145if ac_fn_c_try_compile "$LINENO"; then : 2146 ac_lo=0 ac_mid=0 2147 while :; do 2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2149/* end confdefs.h. */ 2150$4 2151int 2152main () 2153{ 2154static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2155test_array [0] = 0; 2156return test_array [0]; 2157 2158 ; 2159 return 0; 2160} 2161_ACEOF 2162if ac_fn_c_try_compile "$LINENO"; then : 2163 ac_hi=$ac_mid; break 2164else 2165 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2166 if test $ac_lo -le $ac_mid; then 2167 ac_lo= ac_hi= 2168 break 2169 fi 2170 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2171fi 2172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2173 done 2174else 2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2176/* end confdefs.h. */ 2177$4 2178int 2179main () 2180{ 2181static int test_array [1 - 2 * !(($2) < 0)]; 2182test_array [0] = 0; 2183return test_array [0]; 2184 2185 ; 2186 return 0; 2187} 2188_ACEOF 2189if ac_fn_c_try_compile "$LINENO"; then : 2190 ac_hi=-1 ac_mid=-1 2191 while :; do 2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2193/* end confdefs.h. */ 2194$4 2195int 2196main () 2197{ 2198static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2199test_array [0] = 0; 2200return test_array [0]; 2201 2202 ; 2203 return 0; 2204} 2205_ACEOF 2206if ac_fn_c_try_compile "$LINENO"; then : 2207 ac_lo=$ac_mid; break 2208else 2209 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2210 if test $ac_mid -le $ac_hi; then 2211 ac_lo= ac_hi= 2212 break 2213 fi 2214 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2215fi 2216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2217 done 2218else 2219 ac_lo= ac_hi= 2220fi 2221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2222fi 2223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2224# Binary search between lo and hi bounds. 2225while test "x$ac_lo" != "x$ac_hi"; do 2226 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2228/* end confdefs.h. */ 2229$4 2230int 2231main () 2232{ 2233static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2234test_array [0] = 0; 2235return test_array [0]; 2236 2237 ; 2238 return 0; 2239} 2240_ACEOF 2241if ac_fn_c_try_compile "$LINENO"; then : 2242 ac_hi=$ac_mid 2243else 2244 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2245fi 2246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2247done 2248case $ac_lo in #(( 2249?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2250'') ac_retval=1 ;; 2251esac 2252 else 2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2254/* end confdefs.h. */ 2255$4 2256static long int longval () { return $2; } 2257static unsigned long int ulongval () { return $2; } 2258#include <stdio.h> 2259#include <stdlib.h> 2260int 2261main () 2262{ 2263 2264 FILE *f = fopen ("conftest.val", "w"); 2265 if (! f) 2266 return 1; 2267 if (($2) < 0) 2268 { 2269 long int i = longval (); 2270 if (i != ($2)) 2271 return 1; 2272 fprintf (f, "%ld", i); 2273 } 2274 else 2275 { 2276 unsigned long int i = ulongval (); 2277 if (i != ($2)) 2278 return 1; 2279 fprintf (f, "%lu", i); 2280 } 2281 /* Do not output a trailing newline, as this causes \r\n confusion 2282 on some platforms. */ 2283 return ferror (f) || fclose (f) != 0; 2284 2285 ; 2286 return 0; 2287} 2288_ACEOF 2289if ac_fn_c_try_run "$LINENO"; then : 2290 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2291else 2292 ac_retval=1 2293fi 2294rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2295 conftest.$ac_objext conftest.beam conftest.$ac_ext 2296rm -f conftest.val 2297 2298 fi 2299 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2300 as_fn_set_status $ac_retval 2301 2302} # ac_fn_c_compute_int 2303cat >config.log <<_ACEOF 2304This file contains any messages produced by compilers while 2305running configure, to aid debugging if configure makes a mistake. 2306 2307It was created by cudd $as_me 3.0.0, which was 2308generated by GNU Autoconf 2.69. Invocation command line was 2309 2310 $ $0 $@ 2311 2312_ACEOF 2313exec 5>>config.log 2314{ 2315cat <<_ASUNAME 2316## --------- ## 2317## Platform. ## 2318## --------- ## 2319 2320hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2321uname -m = `(uname -m) 2>/dev/null || echo unknown` 2322uname -r = `(uname -r) 2>/dev/null || echo unknown` 2323uname -s = `(uname -s) 2>/dev/null || echo unknown` 2324uname -v = `(uname -v) 2>/dev/null || echo unknown` 2325 2326/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2327/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2328 2329/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2330/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2331/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2332/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2333/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2334/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2335/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2336 2337_ASUNAME 2338 2339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2340for as_dir in $PATH 2341do 2342 IFS=$as_save_IFS 2343 test -z "$as_dir" && as_dir=. 2344 $as_echo "PATH: $as_dir" 2345 done 2346IFS=$as_save_IFS 2347 2348} >&5 2349 2350cat >&5 <<_ACEOF 2351 2352 2353## ----------- ## 2354## Core tests. ## 2355## ----------- ## 2356 2357_ACEOF 2358 2359 2360# Keep a trace of the command line. 2361# Strip out --no-create and --no-recursion so they do not pile up. 2362# Strip out --silent because we don't want to record it for future runs. 2363# Also quote any args containing shell meta-characters. 2364# Make two passes to allow for proper duplicate-argument suppression. 2365ac_configure_args= 2366ac_configure_args0= 2367ac_configure_args1= 2368ac_must_keep_next=false 2369for ac_pass in 1 2 2370do 2371 for ac_arg 2372 do 2373 case $ac_arg in 2374 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2375 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2376 | -silent | --silent | --silen | --sile | --sil) 2377 continue ;; 2378 *\'*) 2379 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2380 esac 2381 case $ac_pass in 2382 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2383 2) 2384 as_fn_append ac_configure_args1 " '$ac_arg'" 2385 if test $ac_must_keep_next = true; then 2386 ac_must_keep_next=false # Got value, back to normal. 2387 else 2388 case $ac_arg in 2389 *=* | --config-cache | -C | -disable-* | --disable-* \ 2390 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2391 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2392 | -with-* | --with-* | -without-* | --without-* | --x) 2393 case "$ac_configure_args0 " in 2394 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2395 esac 2396 ;; 2397 -* ) ac_must_keep_next=true ;; 2398 esac 2399 fi 2400 as_fn_append ac_configure_args " '$ac_arg'" 2401 ;; 2402 esac 2403 done 2404done 2405{ ac_configure_args0=; unset ac_configure_args0;} 2406{ ac_configure_args1=; unset ac_configure_args1;} 2407 2408# When interrupted or exit'd, cleanup temporary files, and complete 2409# config.log. We remove comments because anyway the quotes in there 2410# would cause problems or look ugly. 2411# WARNING: Use '\'' to represent an apostrophe within the trap. 2412# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2413trap 'exit_status=$? 2414 # Save into config.log some information that might help in debugging. 2415 { 2416 echo 2417 2418 $as_echo "## ---------------- ## 2419## Cache variables. ## 2420## ---------------- ##" 2421 echo 2422 # The following way of writing the cache mishandles newlines in values, 2423( 2424 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2425 eval ac_val=\$$ac_var 2426 case $ac_val in #( 2427 *${as_nl}*) 2428 case $ac_var in #( 2429 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2430$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2431 esac 2432 case $ac_var in #( 2433 _ | IFS | as_nl) ;; #( 2434 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2435 *) { eval $ac_var=; unset $ac_var;} ;; 2436 esac ;; 2437 esac 2438 done 2439 (set) 2>&1 | 2440 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2441 *${as_nl}ac_space=\ *) 2442 sed -n \ 2443 "s/'\''/'\''\\\\'\'''\''/g; 2444 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2445 ;; #( 2446 *) 2447 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2448 ;; 2449 esac | 2450 sort 2451) 2452 echo 2453 2454 $as_echo "## ----------------- ## 2455## Output variables. ## 2456## ----------------- ##" 2457 echo 2458 for ac_var in $ac_subst_vars 2459 do 2460 eval ac_val=\$$ac_var 2461 case $ac_val in 2462 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2463 esac 2464 $as_echo "$ac_var='\''$ac_val'\''" 2465 done | sort 2466 echo 2467 2468 if test -n "$ac_subst_files"; then 2469 $as_echo "## ------------------- ## 2470## File substitutions. ## 2471## ------------------- ##" 2472 echo 2473 for ac_var in $ac_subst_files 2474 do 2475 eval ac_val=\$$ac_var 2476 case $ac_val in 2477 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2478 esac 2479 $as_echo "$ac_var='\''$ac_val'\''" 2480 done | sort 2481 echo 2482 fi 2483 2484 if test -s confdefs.h; then 2485 $as_echo "## ----------- ## 2486## confdefs.h. ## 2487## ----------- ##" 2488 echo 2489 cat confdefs.h 2490 echo 2491 fi 2492 test "$ac_signal" != 0 && 2493 $as_echo "$as_me: caught signal $ac_signal" 2494 $as_echo "$as_me: exit $exit_status" 2495 } >&5 2496 rm -f core *.core core.conftest.* && 2497 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2498 exit $exit_status 2499' 0 2500for ac_signal in 1 2 13 15; do 2501 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2502done 2503ac_signal=0 2504 2505# confdefs.h avoids OS command line length limits that DEFS can exceed. 2506rm -f -r conftest* confdefs.h 2507 2508$as_echo "/* confdefs.h */" > confdefs.h 2509 2510# Predefined preprocessor variables. 2511 2512cat >>confdefs.h <<_ACEOF 2513#define PACKAGE_NAME "$PACKAGE_NAME" 2514_ACEOF 2515 2516cat >>confdefs.h <<_ACEOF 2517#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2518_ACEOF 2519 2520cat >>confdefs.h <<_ACEOF 2521#define PACKAGE_VERSION "$PACKAGE_VERSION" 2522_ACEOF 2523 2524cat >>confdefs.h <<_ACEOF 2525#define PACKAGE_STRING "$PACKAGE_STRING" 2526_ACEOF 2527 2528cat >>confdefs.h <<_ACEOF 2529#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2530_ACEOF 2531 2532cat >>confdefs.h <<_ACEOF 2533#define PACKAGE_URL "$PACKAGE_URL" 2534_ACEOF 2535 2536 2537# Let the site file select an alternate cache file if it wants to. 2538# Prefer an explicitly selected file to automatically selected ones. 2539ac_site_file1=NONE 2540ac_site_file2=NONE 2541if test -n "$CONFIG_SITE"; then 2542 # We do not want a PATH search for config.site. 2543 case $CONFIG_SITE in #(( 2544 -*) ac_site_file1=./$CONFIG_SITE;; 2545 */*) ac_site_file1=$CONFIG_SITE;; 2546 *) ac_site_file1=./$CONFIG_SITE;; 2547 esac 2548elif test "x$prefix" != xNONE; then 2549 ac_site_file1=$prefix/share/config.site 2550 ac_site_file2=$prefix/etc/config.site 2551else 2552 ac_site_file1=$ac_default_prefix/share/config.site 2553 ac_site_file2=$ac_default_prefix/etc/config.site 2554fi 2555for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2556do 2557 test "x$ac_site_file" = xNONE && continue 2558 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2559 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2560$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2561 sed 's/^/| /' "$ac_site_file" >&5 2562 . "$ac_site_file" \ 2563 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2564$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2565as_fn_error $? "failed to load site script $ac_site_file 2566See \`config.log' for more details" "$LINENO" 5; } 2567 fi 2568done 2569 2570if test -r "$cache_file"; then 2571 # Some versions of bash will fail to source /dev/null (special files 2572 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2573 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2575$as_echo "$as_me: loading cache $cache_file" >&6;} 2576 case $cache_file in 2577 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2578 *) . "./$cache_file";; 2579 esac 2580 fi 2581else 2582 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2583$as_echo "$as_me: creating cache $cache_file" >&6;} 2584 >$cache_file 2585fi 2586 2587# Check that the precious variables saved in the cache have kept the same 2588# value. 2589ac_cache_corrupted=false 2590for ac_var in $ac_precious_vars; do 2591 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2592 eval ac_new_set=\$ac_env_${ac_var}_set 2593 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2594 eval ac_new_val=\$ac_env_${ac_var}_value 2595 case $ac_old_set,$ac_new_set in 2596 set,) 2597 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2598$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2599 ac_cache_corrupted=: ;; 2600 ,set) 2601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2602$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2603 ac_cache_corrupted=: ;; 2604 ,);; 2605 *) 2606 if test "x$ac_old_val" != "x$ac_new_val"; then 2607 # differences in whitespace do not lead to failure. 2608 ac_old_val_w=`echo x $ac_old_val` 2609 ac_new_val_w=`echo x $ac_new_val` 2610 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2612$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2613 ac_cache_corrupted=: 2614 else 2615 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2616$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2617 eval $ac_var=\$ac_old_val 2618 fi 2619 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2620$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2621 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2622$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2623 fi;; 2624 esac 2625 # Pass precious variables to config.status. 2626 if test "$ac_new_set" = set; then 2627 case $ac_new_val in 2628 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2629 *) ac_arg=$ac_var=$ac_new_val ;; 2630 esac 2631 case " $ac_configure_args " in 2632 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2633 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2634 esac 2635 fi 2636done 2637if $ac_cache_corrupted; then 2638 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2639$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2640 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2641$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2642 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2643fi 2644## -------------------- ## 2645## Main body of script. ## 2646## -------------------- ## 2647 2648ac_ext=c 2649ac_cpp='$CPP $CPPFLAGS' 2650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2652ac_compiler_gnu=$ac_cv_c_compiler_gnu 2653 2654 2655ac_aux_dir= 2656for ac_dir in build-aux "$srcdir"/build-aux; do 2657 if test -f "$ac_dir/install-sh"; then 2658 ac_aux_dir=$ac_dir 2659 ac_install_sh="$ac_aux_dir/install-sh -c" 2660 break 2661 elif test -f "$ac_dir/install.sh"; then 2662 ac_aux_dir=$ac_dir 2663 ac_install_sh="$ac_aux_dir/install.sh -c" 2664 break 2665 elif test -f "$ac_dir/shtool"; then 2666 ac_aux_dir=$ac_dir 2667 ac_install_sh="$ac_aux_dir/shtool install -c" 2668 break 2669 fi 2670done 2671if test -z "$ac_aux_dir"; then 2672 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2673fi 2674 2675# These three variables are undocumented and unsupported, 2676# and are intended to be withdrawn in a future Autoconf release. 2677# They can cause serious problems if a builder's source tree is in a directory 2678# whose full name contains unusual characters. 2679ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2680ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2681ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2682 2683 2684 2685# Make sure we can run config.sub. 2686$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2687 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2688 2689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2690$as_echo_n "checking build system type... " >&6; } 2691if ${ac_cv_build+:} false; then : 2692 $as_echo_n "(cached) " >&6 2693else 2694 ac_build_alias=$build_alias 2695test "x$ac_build_alias" = x && 2696 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2697test "x$ac_build_alias" = x && 2698 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2699ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2700 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2701 2702fi 2703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2704$as_echo "$ac_cv_build" >&6; } 2705case $ac_cv_build in 2706*-*-*) ;; 2707*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2708esac 2709build=$ac_cv_build 2710ac_save_IFS=$IFS; IFS='-' 2711set x $ac_cv_build 2712shift 2713build_cpu=$1 2714build_vendor=$2 2715shift; shift 2716# Remember, the first character of IFS is used to create $*, 2717# except with old shells: 2718build_os=$* 2719IFS=$ac_save_IFS 2720case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2721 2722 2723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2724$as_echo_n "checking host system type... " >&6; } 2725if ${ac_cv_host+:} false; then : 2726 $as_echo_n "(cached) " >&6 2727else 2728 if test "x$host_alias" = x; then 2729 ac_cv_host=$ac_cv_build 2730else 2731 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2732 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2733fi 2734 2735fi 2736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2737$as_echo "$ac_cv_host" >&6; } 2738case $ac_cv_host in 2739*-*-*) ;; 2740*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2741esac 2742host=$ac_cv_host 2743ac_save_IFS=$IFS; IFS='-' 2744set x $ac_cv_host 2745shift 2746host_cpu=$1 2747host_vendor=$2 2748shift; shift 2749# Remember, the first character of IFS is used to create $*, 2750# except with old shells: 2751host_os=$* 2752IFS=$ac_save_IFS 2753case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2754 2755 2756am__api_version='1.14' 2757 2758# Find a good install program. We prefer a C program (faster), 2759# so one script is as good as another. But avoid the broken or 2760# incompatible versions: 2761# SysV /etc/install, /usr/sbin/install 2762# SunOS /usr/etc/install 2763# IRIX /sbin/install 2764# AIX /bin/install 2765# AmigaOS /C/install, which installs bootblocks on floppy discs 2766# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2767# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2768# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2769# OS/2's system install, which has a completely different semantic 2770# ./install, which can be erroneously created by make from ./install.sh. 2771# Reject install programs that cannot install multiple files. 2772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2773$as_echo_n "checking for a BSD-compatible install... " >&6; } 2774if test -z "$INSTALL"; then 2775if ${ac_cv_path_install+:} false; then : 2776 $as_echo_n "(cached) " >&6 2777else 2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2779for as_dir in $PATH 2780do 2781 IFS=$as_save_IFS 2782 test -z "$as_dir" && as_dir=. 2783 # Account for people who put trailing slashes in PATH elements. 2784case $as_dir/ in #(( 2785 ./ | .// | /[cC]/* | \ 2786 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2787 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2788 /usr/ucb/* ) ;; 2789 *) 2790 # OSF1 and SCO ODT 3.0 have their own names for install. 2791 # Don't use installbsd from OSF since it installs stuff as root 2792 # by default. 2793 for ac_prog in ginstall scoinst install; do 2794 for ac_exec_ext in '' $ac_executable_extensions; do 2795 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2796 if test $ac_prog = install && 2797 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2798 # AIX install. It has an incompatible calling convention. 2799 : 2800 elif test $ac_prog = install && 2801 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2802 # program-specific install script used by HP pwplus--don't use. 2803 : 2804 else 2805 rm -rf conftest.one conftest.two conftest.dir 2806 echo one > conftest.one 2807 echo two > conftest.two 2808 mkdir conftest.dir 2809 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2810 test -s conftest.one && test -s conftest.two && 2811 test -s conftest.dir/conftest.one && 2812 test -s conftest.dir/conftest.two 2813 then 2814 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2815 break 3 2816 fi 2817 fi 2818 fi 2819 done 2820 done 2821 ;; 2822esac 2823 2824 done 2825IFS=$as_save_IFS 2826 2827rm -rf conftest.one conftest.two conftest.dir 2828 2829fi 2830 if test "${ac_cv_path_install+set}" = set; then 2831 INSTALL=$ac_cv_path_install 2832 else 2833 # As a last resort, use the slow shell script. Don't cache a 2834 # value for INSTALL within a source directory, because that will 2835 # break other packages using the cache if that directory is 2836 # removed, or if the value is a relative name. 2837 INSTALL=$ac_install_sh 2838 fi 2839fi 2840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2841$as_echo "$INSTALL" >&6; } 2842 2843# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2844# It thinks the first close brace ends the variable substitution. 2845test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2846 2847test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2848 2849test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2850 2851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2852$as_echo_n "checking whether build environment is sane... " >&6; } 2853# Reject unsafe characters in $srcdir or the absolute working directory 2854# name. Accept space and tab only in the latter. 2855am_lf=' 2856' 2857case `pwd` in 2858 *[\\\"\#\$\&\'\`$am_lf]*) 2859 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2860esac 2861case $srcdir in 2862 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2863 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2864esac 2865 2866# Do 'set' in a subshell so we don't clobber the current shell's 2867# arguments. Must try -L first in case configure is actually a 2868# symlink; some systems play weird games with the mod time of symlinks 2869# (eg FreeBSD returns the mod time of the symlink's containing 2870# directory). 2871if ( 2872 am_has_slept=no 2873 for am_try in 1 2; do 2874 echo "timestamp, slept: $am_has_slept" > conftest.file 2875 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2876 if test "$*" = "X"; then 2877 # -L didn't work. 2878 set X `ls -t "$srcdir/configure" conftest.file` 2879 fi 2880 if test "$*" != "X $srcdir/configure conftest.file" \ 2881 && test "$*" != "X conftest.file $srcdir/configure"; then 2882 2883 # If neither matched, then we have a broken ls. This can happen 2884 # if, for instance, CONFIG_SHELL is bash and it inherits a 2885 # broken ls alias from the environment. This has actually 2886 # happened. Such a system could not be considered "sane". 2887 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2888 alias in your environment" "$LINENO" 5 2889 fi 2890 if test "$2" = conftest.file || test $am_try -eq 2; then 2891 break 2892 fi 2893 # Just in case. 2894 sleep 1 2895 am_has_slept=yes 2896 done 2897 test "$2" = conftest.file 2898 ) 2899then 2900 # Ok. 2901 : 2902else 2903 as_fn_error $? "newly created file is older than distributed files! 2904Check your system clock" "$LINENO" 5 2905fi 2906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2907$as_echo "yes" >&6; } 2908# If we didn't sleep, we still need to ensure time stamps of config.status and 2909# generated files are strictly newer. 2910am_sleep_pid= 2911if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2912 ( sleep 1 ) & 2913 am_sleep_pid=$! 2914fi 2915 2916rm -f conftest.file 2917 2918test "$program_prefix" != NONE && 2919 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2920# Use a double $ so make ignores it. 2921test "$program_suffix" != NONE && 2922 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2923# Double any \ or $. 2924# By default was `s,x,x', remove it if useless. 2925ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2926program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2927 2928# expand $ac_aux_dir to an absolute path 2929am_aux_dir=`cd $ac_aux_dir && pwd` 2930 2931if test x"${MISSING+set}" != xset; then 2932 case $am_aux_dir in 2933 *\ * | *\ *) 2934 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2935 *) 2936 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2937 esac 2938fi 2939# Use eval to expand $SHELL 2940if eval "$MISSING --is-lightweight"; then 2941 am_missing_run="$MISSING " 2942else 2943 am_missing_run= 2944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2945$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2946fi 2947 2948if test x"${install_sh}" != xset; then 2949 case $am_aux_dir in 2950 *\ * | *\ *) 2951 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2952 *) 2953 install_sh="\${SHELL} $am_aux_dir/install-sh" 2954 esac 2955fi 2956 2957# Installed binaries are usually stripped using 'strip' when the user 2958# run "make install-strip". However 'strip' might not be the right 2959# tool to use in cross-compilation environments, therefore Automake 2960# will honor the 'STRIP' environment variable to overrule this program. 2961if test "$cross_compiling" != no; then 2962 if test -n "$ac_tool_prefix"; then 2963 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2964set dummy ${ac_tool_prefix}strip; ac_word=$2 2965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2966$as_echo_n "checking for $ac_word... " >&6; } 2967if ${ac_cv_prog_STRIP+:} false; then : 2968 $as_echo_n "(cached) " >&6 2969else 2970 if test -n "$STRIP"; then 2971 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2972else 2973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2974for as_dir in $PATH 2975do 2976 IFS=$as_save_IFS 2977 test -z "$as_dir" && as_dir=. 2978 for ac_exec_ext in '' $ac_executable_extensions; do 2979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2980 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2982 break 2 2983 fi 2984done 2985 done 2986IFS=$as_save_IFS 2987 2988fi 2989fi 2990STRIP=$ac_cv_prog_STRIP 2991if test -n "$STRIP"; then 2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2993$as_echo "$STRIP" >&6; } 2994else 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2996$as_echo "no" >&6; } 2997fi 2998 2999 3000fi 3001if test -z "$ac_cv_prog_STRIP"; then 3002 ac_ct_STRIP=$STRIP 3003 # Extract the first word of "strip", so it can be a program name with args. 3004set dummy strip; ac_word=$2 3005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3006$as_echo_n "checking for $ac_word... " >&6; } 3007if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3008 $as_echo_n "(cached) " >&6 3009else 3010 if test -n "$ac_ct_STRIP"; then 3011 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3012else 3013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3014for as_dir in $PATH 3015do 3016 IFS=$as_save_IFS 3017 test -z "$as_dir" && as_dir=. 3018 for ac_exec_ext in '' $ac_executable_extensions; do 3019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3020 ac_cv_prog_ac_ct_STRIP="strip" 3021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3022 break 2 3023 fi 3024done 3025 done 3026IFS=$as_save_IFS 3027 3028fi 3029fi 3030ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3031if test -n "$ac_ct_STRIP"; then 3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3033$as_echo "$ac_ct_STRIP" >&6; } 3034else 3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3036$as_echo "no" >&6; } 3037fi 3038 3039 if test "x$ac_ct_STRIP" = x; then 3040 STRIP=":" 3041 else 3042 case $cross_compiling:$ac_tool_warned in 3043yes:) 3044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3046ac_tool_warned=yes ;; 3047esac 3048 STRIP=$ac_ct_STRIP 3049 fi 3050else 3051 STRIP="$ac_cv_prog_STRIP" 3052fi 3053 3054fi 3055INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3056 3057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3058$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3059if test -z "$MKDIR_P"; then 3060 if ${ac_cv_path_mkdir+:} false; then : 3061 $as_echo_n "(cached) " >&6 3062else 3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3064for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3065do 3066 IFS=$as_save_IFS 3067 test -z "$as_dir" && as_dir=. 3068 for ac_prog in mkdir gmkdir; do 3069 for ac_exec_ext in '' $ac_executable_extensions; do 3070 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3071 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3072 'mkdir (GNU coreutils) '* | \ 3073 'mkdir (coreutils) '* | \ 3074 'mkdir (fileutils) '4.1*) 3075 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3076 break 3;; 3077 esac 3078 done 3079 done 3080 done 3081IFS=$as_save_IFS 3082 3083fi 3084 3085 test -d ./--version && rmdir ./--version 3086 if test "${ac_cv_path_mkdir+set}" = set; then 3087 MKDIR_P="$ac_cv_path_mkdir -p" 3088 else 3089 # As a last resort, use the slow shell script. Don't cache a 3090 # value for MKDIR_P within a source directory, because that will 3091 # break other packages using the cache if that directory is 3092 # removed, or if the value is a relative name. 3093 MKDIR_P="$ac_install_sh -d" 3094 fi 3095fi 3096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3097$as_echo "$MKDIR_P" >&6; } 3098 3099for ac_prog in gawk mawk nawk awk 3100do 3101 # Extract the first word of "$ac_prog", so it can be a program name with args. 3102set dummy $ac_prog; ac_word=$2 3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3104$as_echo_n "checking for $ac_word... " >&6; } 3105if ${ac_cv_prog_AWK+:} false; then : 3106 $as_echo_n "(cached) " >&6 3107else 3108 if test -n "$AWK"; then 3109 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3110else 3111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3112for as_dir in $PATH 3113do 3114 IFS=$as_save_IFS 3115 test -z "$as_dir" && as_dir=. 3116 for ac_exec_ext in '' $ac_executable_extensions; do 3117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3118 ac_cv_prog_AWK="$ac_prog" 3119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3120 break 2 3121 fi 3122done 3123 done 3124IFS=$as_save_IFS 3125 3126fi 3127fi 3128AWK=$ac_cv_prog_AWK 3129if test -n "$AWK"; then 3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3131$as_echo "$AWK" >&6; } 3132else 3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3134$as_echo "no" >&6; } 3135fi 3136 3137 3138 test -n "$AWK" && break 3139done 3140 3141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3142$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3143set x ${MAKE-make} 3144ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3145if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3146 $as_echo_n "(cached) " >&6 3147else 3148 cat >conftest.make <<\_ACEOF 3149SHELL = /bin/sh 3150all: 3151 @echo '@@@%%%=$(MAKE)=@@@%%%' 3152_ACEOF 3153# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3154case `${MAKE-make} -f conftest.make 2>/dev/null` in 3155 *@@@%%%=?*=@@@%%%*) 3156 eval ac_cv_prog_make_${ac_make}_set=yes;; 3157 *) 3158 eval ac_cv_prog_make_${ac_make}_set=no;; 3159esac 3160rm -f conftest.make 3161fi 3162if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3164$as_echo "yes" >&6; } 3165 SET_MAKE= 3166else 3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3168$as_echo "no" >&6; } 3169 SET_MAKE="MAKE=${MAKE-make}" 3170fi 3171 3172rm -rf .tst 2>/dev/null 3173mkdir .tst 2>/dev/null 3174if test -d .tst; then 3175 am__leading_dot=. 3176else 3177 am__leading_dot=_ 3178fi 3179rmdir .tst 2>/dev/null 3180 3181# Check whether --enable-silent-rules was given. 3182if test "${enable_silent_rules+set}" = set; then : 3183 enableval=$enable_silent_rules; 3184fi 3185 3186case $enable_silent_rules in # ((( 3187 yes) AM_DEFAULT_VERBOSITY=0;; 3188 no) AM_DEFAULT_VERBOSITY=1;; 3189 *) AM_DEFAULT_VERBOSITY=1;; 3190esac 3191am_make=${MAKE-make} 3192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3193$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3194if ${am_cv_make_support_nested_variables+:} false; then : 3195 $as_echo_n "(cached) " >&6 3196else 3197 if $as_echo 'TRUE=$(BAR$(V)) 3198BAR0=false 3199BAR1=true 3200V=1 3201am__doit: 3202 @$(TRUE) 3203.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3204 am_cv_make_support_nested_variables=yes 3205else 3206 am_cv_make_support_nested_variables=no 3207fi 3208fi 3209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3210$as_echo "$am_cv_make_support_nested_variables" >&6; } 3211if test $am_cv_make_support_nested_variables = yes; then 3212 AM_V='$(V)' 3213 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3214else 3215 AM_V=$AM_DEFAULT_VERBOSITY 3216 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3217fi 3218AM_BACKSLASH='\' 3219 3220if test "`cd $srcdir && pwd`" != "`pwd`"; then 3221 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3222 # is not polluted with repeated "-I." 3223 am__isrc=' -I$(srcdir)' 3224 # test to see if srcdir already configured 3225 if test -f $srcdir/config.status; then 3226 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3227 fi 3228fi 3229 3230# test whether we have cygpath 3231if test -z "$CYGPATH_W"; then 3232 if (cygpath --version) >/dev/null 2>/dev/null; then 3233 CYGPATH_W='cygpath -w' 3234 else 3235 CYGPATH_W=echo 3236 fi 3237fi 3238 3239 3240# Define the identity of the package. 3241 PACKAGE='cudd' 3242 VERSION='3.0.0' 3243 3244 3245cat >>confdefs.h <<_ACEOF 3246#define PACKAGE "$PACKAGE" 3247_ACEOF 3248 3249 3250cat >>confdefs.h <<_ACEOF 3251#define VERSION "$VERSION" 3252_ACEOF 3253 3254# Some tools Automake needs. 3255 3256ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3257 3258 3259AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3260 3261 3262AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3263 3264 3265AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3266 3267 3268MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3269 3270# For better backward compatibility. To be removed once Automake 1.9.x 3271# dies out for good. For more background, see: 3272# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3273# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3274mkdir_p='$(MKDIR_P)' 3275 3276# We need awk for the "check" target. The system "awk" is bad on 3277# some platforms. 3278# Always define AMTAR for backward compatibility. Yes, it's still used 3279# in the wild :-( We should find a proper way to deprecate it ... 3280AMTAR='$${TAR-tar}' 3281 3282 3283# We'll loop over all known methods to create a tar archive until one works. 3284_am_tools='gnutar pax cpio none' 3285 3286am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3287 3288 3289 3290 3291 3292 3293# POSIX will say in a future version that running "rm -f" with no argument 3294# is OK; and we want to be able to make that assumption in our Makefile 3295# recipes. So use an aggressive probe to check that the usage we want is 3296# actually supported "in the wild" to an acceptable degree. 3297# See automake bug#10828. 3298# To make any issue more visible, cause the running configure to be aborted 3299# by default if the 'rm' program in use doesn't match our expectations; the 3300# user can still override this though. 3301if rm -f && rm -fr && rm -rf; then : OK; else 3302 cat >&2 <<'END' 3303Oops! 3304 3305Your 'rm' program seems unable to run without file operands specified 3306on the command line, even when the '-f' option is present. This is contrary 3307to the behaviour of most rm programs out there, and not conforming with 3308the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3309 3310Please tell bug-automake@gnu.org about your system, including the value 3311of your $PATH and any error possibly output before this message. This 3312can help us improve future automake versions. 3313 3314END 3315 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3316 echo 'Configuration will proceed anyway, since you have set the' >&2 3317 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3318 echo >&2 3319 else 3320 cat >&2 <<'END' 3321Aborting the configuration process, to ensure you take notice of the issue. 3322 3323You can download and install GNU coreutils to get an 'rm' implementation 3324that behaves properly: <http://www.gnu.org/software/coreutils/>. 3325 3326If you want to complete the configuration process using your problematic 3327'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3328to "yes", and re-run configure. 3329 3330END 3331 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3332 fi 3333fi 3334 3335 3336 3337# Check whether --enable-dddmp was given. 3338if test "${enable_dddmp+set}" = set; then : 3339 enableval=$enable_dddmp; 3340fi 3341 3342 if test x$enable_dddmp = xyes; then 3343 DDDMP_TRUE= 3344 DDDMP_FALSE='#' 3345else 3346 DDDMP_TRUE='#' 3347 DDDMP_FALSE= 3348fi 3349 3350 3351# Check whether --enable-obj was given. 3352if test "${enable_obj+set}" = set; then : 3353 enableval=$enable_obj; 3354fi 3355 3356 if test x$enable_obj = xyes; then 3357 OBJ_TRUE= 3358 OBJ_FALSE='#' 3359else 3360 OBJ_TRUE='#' 3361 OBJ_FALSE= 3362fi 3363 3364 3365 3366# Check whether --with-system-qsort was given. 3367if test "${with_system_qsort+set}" = set; then : 3368 withval=$with_system_qsort; 3369else 3370 with_system_qsort=no 3371fi 3372 3373if test x$with_system_qsort != xno ; then 3374 3375$as_echo "#define USE_SYSTEM_QSORT 1" >>confdefs.h 3376 3377fi 3378 3379# Set our own default (instead of "-g -O2") unless CFLAGS is already defined. 3380: ${CFLAGS="-Wall -Wextra -g -O3"} 3381: ${CXXFLAGS="-Wall -Wextra -std=c++0x -g -O3"} 3382 3383ac_ext=c 3384ac_cpp='$CPP $CPPFLAGS' 3385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3387ac_compiler_gnu=$ac_cv_c_compiler_gnu 3388if test -n "$ac_tool_prefix"; then 3389 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3390set dummy ${ac_tool_prefix}gcc; ac_word=$2 3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3392$as_echo_n "checking for $ac_word... " >&6; } 3393if ${ac_cv_prog_CC+:} false; then : 3394 $as_echo_n "(cached) " >&6 3395else 3396 if test -n "$CC"; then 3397 ac_cv_prog_CC="$CC" # Let the user override the test. 3398else 3399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3400for as_dir in $PATH 3401do 3402 IFS=$as_save_IFS 3403 test -z "$as_dir" && as_dir=. 3404 for ac_exec_ext in '' $ac_executable_extensions; do 3405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3406 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3408 break 2 3409 fi 3410done 3411 done 3412IFS=$as_save_IFS 3413 3414fi 3415fi 3416CC=$ac_cv_prog_CC 3417if test -n "$CC"; then 3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3419$as_echo "$CC" >&6; } 3420else 3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3422$as_echo "no" >&6; } 3423fi 3424 3425 3426fi 3427if test -z "$ac_cv_prog_CC"; then 3428 ac_ct_CC=$CC 3429 # Extract the first word of "gcc", so it can be a program name with args. 3430set dummy gcc; ac_word=$2 3431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3432$as_echo_n "checking for $ac_word... " >&6; } 3433if ${ac_cv_prog_ac_ct_CC+:} false; then : 3434 $as_echo_n "(cached) " >&6 3435else 3436 if test -n "$ac_ct_CC"; then 3437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3438else 3439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3440for as_dir in $PATH 3441do 3442 IFS=$as_save_IFS 3443 test -z "$as_dir" && as_dir=. 3444 for ac_exec_ext in '' $ac_executable_extensions; do 3445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3446 ac_cv_prog_ac_ct_CC="gcc" 3447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3448 break 2 3449 fi 3450done 3451 done 3452IFS=$as_save_IFS 3453 3454fi 3455fi 3456ac_ct_CC=$ac_cv_prog_ac_ct_CC 3457if test -n "$ac_ct_CC"; then 3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3459$as_echo "$ac_ct_CC" >&6; } 3460else 3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3462$as_echo "no" >&6; } 3463fi 3464 3465 if test "x$ac_ct_CC" = x; then 3466 CC="" 3467 else 3468 case $cross_compiling:$ac_tool_warned in 3469yes:) 3470{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3471$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3472ac_tool_warned=yes ;; 3473esac 3474 CC=$ac_ct_CC 3475 fi 3476else 3477 CC="$ac_cv_prog_CC" 3478fi 3479 3480if test -z "$CC"; then 3481 if test -n "$ac_tool_prefix"; then 3482 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3483set dummy ${ac_tool_prefix}cc; ac_word=$2 3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3485$as_echo_n "checking for $ac_word... " >&6; } 3486if ${ac_cv_prog_CC+:} false; then : 3487 $as_echo_n "(cached) " >&6 3488else 3489 if test -n "$CC"; then 3490 ac_cv_prog_CC="$CC" # Let the user override the test. 3491else 3492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3493for as_dir in $PATH 3494do 3495 IFS=$as_save_IFS 3496 test -z "$as_dir" && as_dir=. 3497 for ac_exec_ext in '' $ac_executable_extensions; do 3498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3499 ac_cv_prog_CC="${ac_tool_prefix}cc" 3500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3501 break 2 3502 fi 3503done 3504 done 3505IFS=$as_save_IFS 3506 3507fi 3508fi 3509CC=$ac_cv_prog_CC 3510if test -n "$CC"; then 3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3512$as_echo "$CC" >&6; } 3513else 3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3515$as_echo "no" >&6; } 3516fi 3517 3518 3519 fi 3520fi 3521if test -z "$CC"; then 3522 # Extract the first word of "cc", so it can be a program name with args. 3523set dummy cc; ac_word=$2 3524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3525$as_echo_n "checking for $ac_word... " >&6; } 3526if ${ac_cv_prog_CC+:} false; then : 3527 $as_echo_n "(cached) " >&6 3528else 3529 if test -n "$CC"; then 3530 ac_cv_prog_CC="$CC" # Let the user override the test. 3531else 3532 ac_prog_rejected=no 3533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3534for as_dir in $PATH 3535do 3536 IFS=$as_save_IFS 3537 test -z "$as_dir" && as_dir=. 3538 for ac_exec_ext in '' $ac_executable_extensions; do 3539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3540 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3541 ac_prog_rejected=yes 3542 continue 3543 fi 3544 ac_cv_prog_CC="cc" 3545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3546 break 2 3547 fi 3548done 3549 done 3550IFS=$as_save_IFS 3551 3552if test $ac_prog_rejected = yes; then 3553 # We found a bogon in the path, so make sure we never use it. 3554 set dummy $ac_cv_prog_CC 3555 shift 3556 if test $# != 0; then 3557 # We chose a different compiler from the bogus one. 3558 # However, it has the same basename, so the bogon will be chosen 3559 # first if we set CC to just the basename; use the full file name. 3560 shift 3561 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3562 fi 3563fi 3564fi 3565fi 3566CC=$ac_cv_prog_CC 3567if test -n "$CC"; then 3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3569$as_echo "$CC" >&6; } 3570else 3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3572$as_echo "no" >&6; } 3573fi 3574 3575 3576fi 3577if test -z "$CC"; then 3578 if test -n "$ac_tool_prefix"; then 3579 for ac_prog in cl.exe 3580 do 3581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3582set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3584$as_echo_n "checking for $ac_word... " >&6; } 3585if ${ac_cv_prog_CC+:} false; then : 3586 $as_echo_n "(cached) " >&6 3587else 3588 if test -n "$CC"; then 3589 ac_cv_prog_CC="$CC" # Let the user override the test. 3590else 3591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3592for as_dir in $PATH 3593do 3594 IFS=$as_save_IFS 3595 test -z "$as_dir" && as_dir=. 3596 for ac_exec_ext in '' $ac_executable_extensions; do 3597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3598 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3600 break 2 3601 fi 3602done 3603 done 3604IFS=$as_save_IFS 3605 3606fi 3607fi 3608CC=$ac_cv_prog_CC 3609if test -n "$CC"; then 3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3611$as_echo "$CC" >&6; } 3612else 3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3614$as_echo "no" >&6; } 3615fi 3616 3617 3618 test -n "$CC" && break 3619 done 3620fi 3621if test -z "$CC"; then 3622 ac_ct_CC=$CC 3623 for ac_prog in cl.exe 3624do 3625 # Extract the first word of "$ac_prog", so it can be a program name with args. 3626set dummy $ac_prog; ac_word=$2 3627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3628$as_echo_n "checking for $ac_word... " >&6; } 3629if ${ac_cv_prog_ac_ct_CC+:} false; then : 3630 $as_echo_n "(cached) " >&6 3631else 3632 if test -n "$ac_ct_CC"; then 3633 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3634else 3635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3636for as_dir in $PATH 3637do 3638 IFS=$as_save_IFS 3639 test -z "$as_dir" && as_dir=. 3640 for ac_exec_ext in '' $ac_executable_extensions; do 3641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3642 ac_cv_prog_ac_ct_CC="$ac_prog" 3643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3644 break 2 3645 fi 3646done 3647 done 3648IFS=$as_save_IFS 3649 3650fi 3651fi 3652ac_ct_CC=$ac_cv_prog_ac_ct_CC 3653if test -n "$ac_ct_CC"; then 3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3655$as_echo "$ac_ct_CC" >&6; } 3656else 3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3658$as_echo "no" >&6; } 3659fi 3660 3661 3662 test -n "$ac_ct_CC" && break 3663done 3664 3665 if test "x$ac_ct_CC" = x; then 3666 CC="" 3667 else 3668 case $cross_compiling:$ac_tool_warned in 3669yes:) 3670{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3671$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3672ac_tool_warned=yes ;; 3673esac 3674 CC=$ac_ct_CC 3675 fi 3676fi 3677 3678fi 3679 3680 3681test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3683as_fn_error $? "no acceptable C compiler found in \$PATH 3684See \`config.log' for more details" "$LINENO" 5; } 3685 3686# Provide some information about the compiler. 3687$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3688set X $ac_compile 3689ac_compiler=$2 3690for ac_option in --version -v -V -qversion; do 3691 { { ac_try="$ac_compiler $ac_option >&5" 3692case "(($ac_try" in 3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3694 *) ac_try_echo=$ac_try;; 3695esac 3696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3697$as_echo "$ac_try_echo"; } >&5 3698 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3699 ac_status=$? 3700 if test -s conftest.err; then 3701 sed '10a\ 3702... rest of stderr output deleted ... 3703 10q' conftest.err >conftest.er1 3704 cat conftest.er1 >&5 3705 fi 3706 rm -f conftest.er1 conftest.err 3707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3708 test $ac_status = 0; } 3709done 3710 3711cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3712/* end confdefs.h. */ 3713 3714int 3715main () 3716{ 3717 3718 ; 3719 return 0; 3720} 3721_ACEOF 3722ac_clean_files_save=$ac_clean_files 3723ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3724# Try to create an executable without -o first, disregard a.out. 3725# It will help us diagnose broken compilers, and finding out an intuition 3726# of exeext. 3727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3728$as_echo_n "checking whether the C compiler works... " >&6; } 3729ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3730 3731# The possible output files: 3732ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3733 3734ac_rmfiles= 3735for ac_file in $ac_files 3736do 3737 case $ac_file in 3738 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3739 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3740 esac 3741done 3742rm -f $ac_rmfiles 3743 3744if { { ac_try="$ac_link_default" 3745case "(($ac_try" in 3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3747 *) ac_try_echo=$ac_try;; 3748esac 3749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3750$as_echo "$ac_try_echo"; } >&5 3751 (eval "$ac_link_default") 2>&5 3752 ac_status=$? 3753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3754 test $ac_status = 0; }; then : 3755 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3756# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3757# in a Makefile. We should not override ac_cv_exeext if it was cached, 3758# so that the user can short-circuit this test for compilers unknown to 3759# Autoconf. 3760for ac_file in $ac_files '' 3761do 3762 test -f "$ac_file" || continue 3763 case $ac_file in 3764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3765 ;; 3766 [ab].out ) 3767 # We found the default executable, but exeext='' is most 3768 # certainly right. 3769 break;; 3770 *.* ) 3771 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3772 then :; else 3773 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3774 fi 3775 # We set ac_cv_exeext here because the later test for it is not 3776 # safe: cross compilers may not add the suffix if given an `-o' 3777 # argument, so we may need to know it at that point already. 3778 # Even if this section looks crufty: it has the advantage of 3779 # actually working. 3780 break;; 3781 * ) 3782 break;; 3783 esac 3784done 3785test "$ac_cv_exeext" = no && ac_cv_exeext= 3786 3787else 3788 ac_file='' 3789fi 3790if test -z "$ac_file"; then : 3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3792$as_echo "no" >&6; } 3793$as_echo "$as_me: failed program was:" >&5 3794sed 's/^/| /' conftest.$ac_ext >&5 3795 3796{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3798as_fn_error 77 "C compiler cannot create executables 3799See \`config.log' for more details" "$LINENO" 5; } 3800else 3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3802$as_echo "yes" >&6; } 3803fi 3804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3805$as_echo_n "checking for C compiler default output file name... " >&6; } 3806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3807$as_echo "$ac_file" >&6; } 3808ac_exeext=$ac_cv_exeext 3809 3810rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3811ac_clean_files=$ac_clean_files_save 3812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3813$as_echo_n "checking for suffix of executables... " >&6; } 3814if { { ac_try="$ac_link" 3815case "(($ac_try" in 3816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3817 *) ac_try_echo=$ac_try;; 3818esac 3819eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3820$as_echo "$ac_try_echo"; } >&5 3821 (eval "$ac_link") 2>&5 3822 ac_status=$? 3823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3824 test $ac_status = 0; }; then : 3825 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3826# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3827# work properly (i.e., refer to `conftest.exe'), while it won't with 3828# `rm'. 3829for ac_file in conftest.exe conftest conftest.*; do 3830 test -f "$ac_file" || continue 3831 case $ac_file in 3832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3833 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3834 break;; 3835 * ) break;; 3836 esac 3837done 3838else 3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3840$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3841as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3842See \`config.log' for more details" "$LINENO" 5; } 3843fi 3844rm -f conftest conftest$ac_cv_exeext 3845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3846$as_echo "$ac_cv_exeext" >&6; } 3847 3848rm -f conftest.$ac_ext 3849EXEEXT=$ac_cv_exeext 3850ac_exeext=$EXEEXT 3851cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3852/* end confdefs.h. */ 3853#include <stdio.h> 3854int 3855main () 3856{ 3857FILE *f = fopen ("conftest.out", "w"); 3858 return ferror (f) || fclose (f) != 0; 3859 3860 ; 3861 return 0; 3862} 3863_ACEOF 3864ac_clean_files="$ac_clean_files conftest.out" 3865# Check that the compiler produces executables we can run. If not, either 3866# the compiler is broken, or we cross compile. 3867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3868$as_echo_n "checking whether we are cross compiling... " >&6; } 3869if test "$cross_compiling" != yes; then 3870 { { ac_try="$ac_link" 3871case "(($ac_try" in 3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3873 *) ac_try_echo=$ac_try;; 3874esac 3875eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3876$as_echo "$ac_try_echo"; } >&5 3877 (eval "$ac_link") 2>&5 3878 ac_status=$? 3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3880 test $ac_status = 0; } 3881 if { ac_try='./conftest$ac_cv_exeext' 3882 { { case "(($ac_try" in 3883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3884 *) ac_try_echo=$ac_try;; 3885esac 3886eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3887$as_echo "$ac_try_echo"; } >&5 3888 (eval "$ac_try") 2>&5 3889 ac_status=$? 3890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3891 test $ac_status = 0; }; }; then 3892 cross_compiling=no 3893 else 3894 if test "$cross_compiling" = maybe; then 3895 cross_compiling=yes 3896 else 3897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3898$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3899as_fn_error $? "cannot run C compiled programs. 3900If you meant to cross compile, use \`--host'. 3901See \`config.log' for more details" "$LINENO" 5; } 3902 fi 3903 fi 3904fi 3905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3906$as_echo "$cross_compiling" >&6; } 3907 3908rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3909ac_clean_files=$ac_clean_files_save 3910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3911$as_echo_n "checking for suffix of object files... " >&6; } 3912if ${ac_cv_objext+:} false; then : 3913 $as_echo_n "(cached) " >&6 3914else 3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3916/* end confdefs.h. */ 3917 3918int 3919main () 3920{ 3921 3922 ; 3923 return 0; 3924} 3925_ACEOF 3926rm -f conftest.o conftest.obj 3927if { { ac_try="$ac_compile" 3928case "(($ac_try" in 3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3930 *) ac_try_echo=$ac_try;; 3931esac 3932eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3933$as_echo "$ac_try_echo"; } >&5 3934 (eval "$ac_compile") 2>&5 3935 ac_status=$? 3936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3937 test $ac_status = 0; }; then : 3938 for ac_file in conftest.o conftest.obj conftest.*; do 3939 test -f "$ac_file" || continue; 3940 case $ac_file in 3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3942 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3943 break;; 3944 esac 3945done 3946else 3947 $as_echo "$as_me: failed program was:" >&5 3948sed 's/^/| /' conftest.$ac_ext >&5 3949 3950{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3951$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3952as_fn_error $? "cannot compute suffix of object files: cannot compile 3953See \`config.log' for more details" "$LINENO" 5; } 3954fi 3955rm -f conftest.$ac_cv_objext conftest.$ac_ext 3956fi 3957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3958$as_echo "$ac_cv_objext" >&6; } 3959OBJEXT=$ac_cv_objext 3960ac_objext=$OBJEXT 3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3962$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3963if ${ac_cv_c_compiler_gnu+:} false; then : 3964 $as_echo_n "(cached) " >&6 3965else 3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3967/* end confdefs.h. */ 3968 3969int 3970main () 3971{ 3972#ifndef __GNUC__ 3973 choke me 3974#endif 3975 3976 ; 3977 return 0; 3978} 3979_ACEOF 3980if ac_fn_c_try_compile "$LINENO"; then : 3981 ac_compiler_gnu=yes 3982else 3983 ac_compiler_gnu=no 3984fi 3985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3986ac_cv_c_compiler_gnu=$ac_compiler_gnu 3987 3988fi 3989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3990$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3991if test $ac_compiler_gnu = yes; then 3992 GCC=yes 3993else 3994 GCC= 3995fi 3996ac_test_CFLAGS=${CFLAGS+set} 3997ac_save_CFLAGS=$CFLAGS 3998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3999$as_echo_n "checking whether $CC accepts -g... " >&6; } 4000if ${ac_cv_prog_cc_g+:} false; then : 4001 $as_echo_n "(cached) " >&6 4002else 4003 ac_save_c_werror_flag=$ac_c_werror_flag 4004 ac_c_werror_flag=yes 4005 ac_cv_prog_cc_g=no 4006 CFLAGS="-g" 4007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4008/* end confdefs.h. */ 4009 4010int 4011main () 4012{ 4013 4014 ; 4015 return 0; 4016} 4017_ACEOF 4018if ac_fn_c_try_compile "$LINENO"; then : 4019 ac_cv_prog_cc_g=yes 4020else 4021 CFLAGS="" 4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4023/* end confdefs.h. */ 4024 4025int 4026main () 4027{ 4028 4029 ; 4030 return 0; 4031} 4032_ACEOF 4033if ac_fn_c_try_compile "$LINENO"; then : 4034 4035else 4036 ac_c_werror_flag=$ac_save_c_werror_flag 4037 CFLAGS="-g" 4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4039/* end confdefs.h. */ 4040 4041int 4042main () 4043{ 4044 4045 ; 4046 return 0; 4047} 4048_ACEOF 4049if ac_fn_c_try_compile "$LINENO"; then : 4050 ac_cv_prog_cc_g=yes 4051fi 4052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4053fi 4054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4055fi 4056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4057 ac_c_werror_flag=$ac_save_c_werror_flag 4058fi 4059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4060$as_echo "$ac_cv_prog_cc_g" >&6; } 4061if test "$ac_test_CFLAGS" = set; then 4062 CFLAGS=$ac_save_CFLAGS 4063elif test $ac_cv_prog_cc_g = yes; then 4064 if test "$GCC" = yes; then 4065 CFLAGS="-g -O2" 4066 else 4067 CFLAGS="-g" 4068 fi 4069else 4070 if test "$GCC" = yes; then 4071 CFLAGS="-O2" 4072 else 4073 CFLAGS= 4074 fi 4075fi 4076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4077$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4078if ${ac_cv_prog_cc_c89+:} false; then : 4079 $as_echo_n "(cached) " >&6 4080else 4081 ac_cv_prog_cc_c89=no 4082ac_save_CC=$CC 4083cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4084/* end confdefs.h. */ 4085#include <stdarg.h> 4086#include <stdio.h> 4087struct stat; 4088/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4089struct buf { int x; }; 4090FILE * (*rcsopen) (struct buf *, struct stat *, int); 4091static char *e (p, i) 4092 char **p; 4093 int i; 4094{ 4095 return p[i]; 4096} 4097static char *f (char * (*g) (char **, int), char **p, ...) 4098{ 4099 char *s; 4100 va_list v; 4101 va_start (v,p); 4102 s = g (p, va_arg (v,int)); 4103 va_end (v); 4104 return s; 4105} 4106 4107/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4108 function prototypes and stuff, but not '\xHH' hex character constants. 4109 These don't provoke an error unfortunately, instead are silently treated 4110 as 'x'. The following induces an error, until -std is added to get 4111 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4112 array size at least. It's necessary to write '\x00'==0 to get something 4113 that's true only with -std. */ 4114int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4115 4116/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4117 inside strings and character constants. */ 4118#define FOO(x) 'x' 4119int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4120 4121int test (int i, double x); 4122struct s1 {int (*f) (int a);}; 4123struct s2 {int (*f) (double a);}; 4124int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4125int argc; 4126char **argv; 4127int 4128main () 4129{ 4130return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4131 ; 4132 return 0; 4133} 4134_ACEOF 4135for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4136 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4137do 4138 CC="$ac_save_CC $ac_arg" 4139 if ac_fn_c_try_compile "$LINENO"; then : 4140 ac_cv_prog_cc_c89=$ac_arg 4141fi 4142rm -f core conftest.err conftest.$ac_objext 4143 test "x$ac_cv_prog_cc_c89" != "xno" && break 4144done 4145rm -f conftest.$ac_ext 4146CC=$ac_save_CC 4147 4148fi 4149# AC_CACHE_VAL 4150case "x$ac_cv_prog_cc_c89" in 4151 x) 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4153$as_echo "none needed" >&6; } ;; 4154 xno) 4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4156$as_echo "unsupported" >&6; } ;; 4157 *) 4158 CC="$CC $ac_cv_prog_cc_c89" 4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4160$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4161esac 4162if test "x$ac_cv_prog_cc_c89" != xno; then : 4163 4164fi 4165 4166ac_ext=c 4167ac_cpp='$CPP $CPPFLAGS' 4168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4170ac_compiler_gnu=$ac_cv_c_compiler_gnu 4171 4172ac_ext=c 4173ac_cpp='$CPP $CPPFLAGS' 4174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4176ac_compiler_gnu=$ac_cv_c_compiler_gnu 4177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4178$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4179if ${am_cv_prog_cc_c_o+:} false; then : 4180 $as_echo_n "(cached) " >&6 4181else 4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4183/* end confdefs.h. */ 4184 4185int 4186main () 4187{ 4188 4189 ; 4190 return 0; 4191} 4192_ACEOF 4193 # Make sure it works both with $CC and with simple cc. 4194 # Following AC_PROG_CC_C_O, we do the test twice because some 4195 # compilers refuse to overwrite an existing .o file with -o, 4196 # though they will create one. 4197 am_cv_prog_cc_c_o=yes 4198 for am_i in 1 2; do 4199 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4200 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4201 ac_status=$? 4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4203 (exit $ac_status); } \ 4204 && test -f conftest2.$ac_objext; then 4205 : OK 4206 else 4207 am_cv_prog_cc_c_o=no 4208 break 4209 fi 4210 done 4211 rm -f core conftest* 4212 unset am_i 4213fi 4214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4215$as_echo "$am_cv_prog_cc_c_o" >&6; } 4216if test "$am_cv_prog_cc_c_o" != yes; then 4217 # Losing compiler, so override with the script. 4218 # FIXME: It is wrong to rewrite CC. 4219 # But if we don't then we get into trouble of one sort or another. 4220 # A longer-term fix would be to have automake use am__CC in this case, 4221 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4222 CC="$am_aux_dir/compile $CC" 4223fi 4224ac_ext=c 4225ac_cpp='$CPP $CPPFLAGS' 4226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4228ac_compiler_gnu=$ac_cv_c_compiler_gnu 4229 4230DEPDIR="${am__leading_dot}deps" 4231 4232ac_config_commands="$ac_config_commands depfiles" 4233 4234 4235am_make=${MAKE-make} 4236cat > confinc << 'END' 4237am__doit: 4238 @echo this is the am__doit target 4239.PHONY: am__doit 4240END 4241# If we don't find an include directive, just comment out the code. 4242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4243$as_echo_n "checking for style of include used by $am_make... " >&6; } 4244am__include="#" 4245am__quote= 4246_am_result=none 4247# First try GNU make style include. 4248echo "include confinc" > confmf 4249# Ignore all kinds of additional output from 'make'. 4250case `$am_make -s -f confmf 2> /dev/null` in #( 4251*the\ am__doit\ target*) 4252 am__include=include 4253 am__quote= 4254 _am_result=GNU 4255 ;; 4256esac 4257# Now try BSD make style include. 4258if test "$am__include" = "#"; then 4259 echo '.include "confinc"' > confmf 4260 case `$am_make -s -f confmf 2> /dev/null` in #( 4261 *the\ am__doit\ target*) 4262 am__include=.include 4263 am__quote="\"" 4264 _am_result=BSD 4265 ;; 4266 esac 4267fi 4268 4269 4270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4271$as_echo "$_am_result" >&6; } 4272rm -f confinc confmf 4273 4274# Check whether --enable-dependency-tracking was given. 4275if test "${enable_dependency_tracking+set}" = set; then : 4276 enableval=$enable_dependency_tracking; 4277fi 4278 4279if test "x$enable_dependency_tracking" != xno; then 4280 am_depcomp="$ac_aux_dir/depcomp" 4281 AMDEPBACKSLASH='\' 4282 am__nodep='_no' 4283fi 4284 if test "x$enable_dependency_tracking" != xno; then 4285 AMDEP_TRUE= 4286 AMDEP_FALSE='#' 4287else 4288 AMDEP_TRUE='#' 4289 AMDEP_FALSE= 4290fi 4291 4292 4293 4294depcc="$CC" am_compiler_list= 4295 4296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4297$as_echo_n "checking dependency style of $depcc... " >&6; } 4298if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4299 $as_echo_n "(cached) " >&6 4300else 4301 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4302 # We make a subdir and do the tests there. Otherwise we can end up 4303 # making bogus files that we don't know about and never remove. For 4304 # instance it was reported that on HP-UX the gcc test will end up 4305 # making a dummy file named 'D' -- because '-MD' means "put the output 4306 # in D". 4307 rm -rf conftest.dir 4308 mkdir conftest.dir 4309 # Copy depcomp to subdir because otherwise we won't find it if we're 4310 # using a relative directory. 4311 cp "$am_depcomp" conftest.dir 4312 cd conftest.dir 4313 # We will build objects and dependencies in a subdirectory because 4314 # it helps to detect inapplicable dependency modes. For instance 4315 # both Tru64's cc and ICC support -MD to output dependencies as a 4316 # side effect of compilation, but ICC will put the dependencies in 4317 # the current directory while Tru64 will put them in the object 4318 # directory. 4319 mkdir sub 4320 4321 am_cv_CC_dependencies_compiler_type=none 4322 if test "$am_compiler_list" = ""; then 4323 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4324 fi 4325 am__universal=false 4326 case " $depcc " in #( 4327 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4328 esac 4329 4330 for depmode in $am_compiler_list; do 4331 # Setup a source with many dependencies, because some compilers 4332 # like to wrap large dependency lists on column 80 (with \), and 4333 # we should not choose a depcomp mode which is confused by this. 4334 # 4335 # We need to recreate these files for each test, as the compiler may 4336 # overwrite some of them when testing with obscure command lines. 4337 # This happens at least with the AIX C compiler. 4338 : > sub/conftest.c 4339 for i in 1 2 3 4 5 6; do 4340 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4341 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4342 # Solaris 10 /bin/sh. 4343 echo '/* dummy */' > sub/conftst$i.h 4344 done 4345 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4346 4347 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4348 # mode. It turns out that the SunPro C++ compiler does not properly 4349 # handle '-M -o', and we need to detect this. Also, some Intel 4350 # versions had trouble with output in subdirs. 4351 am__obj=sub/conftest.${OBJEXT-o} 4352 am__minus_obj="-o $am__obj" 4353 case $depmode in 4354 gcc) 4355 # This depmode causes a compiler race in universal mode. 4356 test "$am__universal" = false || continue 4357 ;; 4358 nosideeffect) 4359 # After this tag, mechanisms are not by side-effect, so they'll 4360 # only be used when explicitly requested. 4361 if test "x$enable_dependency_tracking" = xyes; then 4362 continue 4363 else 4364 break 4365 fi 4366 ;; 4367 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4368 # This compiler won't grok '-c -o', but also, the minuso test has 4369 # not run yet. These depmodes are late enough in the game, and 4370 # so weak that their functioning should not be impacted. 4371 am__obj=conftest.${OBJEXT-o} 4372 am__minus_obj= 4373 ;; 4374 none) break ;; 4375 esac 4376 if depmode=$depmode \ 4377 source=sub/conftest.c object=$am__obj \ 4378 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4379 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4380 >/dev/null 2>conftest.err && 4381 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4382 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4383 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4384 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4385 # icc doesn't choke on unknown options, it will just issue warnings 4386 # or remarks (even with -Werror). So we grep stderr for any message 4387 # that says an option was ignored or not supported. 4388 # When given -MP, icc 7.0 and 7.1 complain thusly: 4389 # icc: Command line warning: ignoring option '-M'; no argument required 4390 # The diagnosis changed in icc 8.0: 4391 # icc: Command line remark: option '-MP' not supported 4392 if (grep 'ignoring option' conftest.err || 4393 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4394 am_cv_CC_dependencies_compiler_type=$depmode 4395 break 4396 fi 4397 fi 4398 done 4399 4400 cd .. 4401 rm -rf conftest.dir 4402else 4403 am_cv_CC_dependencies_compiler_type=none 4404fi 4405 4406fi 4407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4408$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4409CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4410 4411 if 4412 test "x$enable_dependency_tracking" != xno \ 4413 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4414 am__fastdepCC_TRUE= 4415 am__fastdepCC_FALSE='#' 4416else 4417 am__fastdepCC_TRUE='#' 4418 am__fastdepCC_FALSE= 4419fi 4420 4421 4422ac_ext=cpp 4423ac_cpp='$CXXCPP $CPPFLAGS' 4424ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4425ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4426ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4427if test -z "$CXX"; then 4428 if test -n "$CCC"; then 4429 CXX=$CCC 4430 else 4431 if test -n "$ac_tool_prefix"; then 4432 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4433 do 4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4435set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4437$as_echo_n "checking for $ac_word... " >&6; } 4438if ${ac_cv_prog_CXX+:} false; then : 4439 $as_echo_n "(cached) " >&6 4440else 4441 if test -n "$CXX"; then 4442 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4443else 4444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4445for as_dir in $PATH 4446do 4447 IFS=$as_save_IFS 4448 test -z "$as_dir" && as_dir=. 4449 for ac_exec_ext in '' $ac_executable_extensions; do 4450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4451 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4453 break 2 4454 fi 4455done 4456 done 4457IFS=$as_save_IFS 4458 4459fi 4460fi 4461CXX=$ac_cv_prog_CXX 4462if test -n "$CXX"; then 4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4464$as_echo "$CXX" >&6; } 4465else 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4467$as_echo "no" >&6; } 4468fi 4469 4470 4471 test -n "$CXX" && break 4472 done 4473fi 4474if test -z "$CXX"; then 4475 ac_ct_CXX=$CXX 4476 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4477do 4478 # Extract the first word of "$ac_prog", so it can be a program name with args. 4479set dummy $ac_prog; ac_word=$2 4480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4481$as_echo_n "checking for $ac_word... " >&6; } 4482if ${ac_cv_prog_ac_ct_CXX+:} false; then : 4483 $as_echo_n "(cached) " >&6 4484else 4485 if test -n "$ac_ct_CXX"; then 4486 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4487else 4488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4489for as_dir in $PATH 4490do 4491 IFS=$as_save_IFS 4492 test -z "$as_dir" && as_dir=. 4493 for ac_exec_ext in '' $ac_executable_extensions; do 4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4495 ac_cv_prog_ac_ct_CXX="$ac_prog" 4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4497 break 2 4498 fi 4499done 4500 done 4501IFS=$as_save_IFS 4502 4503fi 4504fi 4505ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4506if test -n "$ac_ct_CXX"; then 4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4508$as_echo "$ac_ct_CXX" >&6; } 4509else 4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4511$as_echo "no" >&6; } 4512fi 4513 4514 4515 test -n "$ac_ct_CXX" && break 4516done 4517 4518 if test "x$ac_ct_CXX" = x; then 4519 CXX="g++" 4520 else 4521 case $cross_compiling:$ac_tool_warned in 4522yes:) 4523{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4524$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4525ac_tool_warned=yes ;; 4526esac 4527 CXX=$ac_ct_CXX 4528 fi 4529fi 4530 4531 fi 4532fi 4533# Provide some information about the compiler. 4534$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4535set X $ac_compile 4536ac_compiler=$2 4537for ac_option in --version -v -V -qversion; do 4538 { { ac_try="$ac_compiler $ac_option >&5" 4539case "(($ac_try" in 4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4541 *) ac_try_echo=$ac_try;; 4542esac 4543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4544$as_echo "$ac_try_echo"; } >&5 4545 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4546 ac_status=$? 4547 if test -s conftest.err; then 4548 sed '10a\ 4549... rest of stderr output deleted ... 4550 10q' conftest.err >conftest.er1 4551 cat conftest.er1 >&5 4552 fi 4553 rm -f conftest.er1 conftest.err 4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4555 test $ac_status = 0; } 4556done 4557 4558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4559$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4560if ${ac_cv_cxx_compiler_gnu+:} false; then : 4561 $as_echo_n "(cached) " >&6 4562else 4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4564/* end confdefs.h. */ 4565 4566int 4567main () 4568{ 4569#ifndef __GNUC__ 4570 choke me 4571#endif 4572 4573 ; 4574 return 0; 4575} 4576_ACEOF 4577if ac_fn_cxx_try_compile "$LINENO"; then : 4578 ac_compiler_gnu=yes 4579else 4580 ac_compiler_gnu=no 4581fi 4582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4583ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4584 4585fi 4586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4587$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4588if test $ac_compiler_gnu = yes; then 4589 GXX=yes 4590else 4591 GXX= 4592fi 4593ac_test_CXXFLAGS=${CXXFLAGS+set} 4594ac_save_CXXFLAGS=$CXXFLAGS 4595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4596$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4597if ${ac_cv_prog_cxx_g+:} false; then : 4598 $as_echo_n "(cached) " >&6 4599else 4600 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4601 ac_cxx_werror_flag=yes 4602 ac_cv_prog_cxx_g=no 4603 CXXFLAGS="-g" 4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4605/* end confdefs.h. */ 4606 4607int 4608main () 4609{ 4610 4611 ; 4612 return 0; 4613} 4614_ACEOF 4615if ac_fn_cxx_try_compile "$LINENO"; then : 4616 ac_cv_prog_cxx_g=yes 4617else 4618 CXXFLAGS="" 4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4620/* end confdefs.h. */ 4621 4622int 4623main () 4624{ 4625 4626 ; 4627 return 0; 4628} 4629_ACEOF 4630if ac_fn_cxx_try_compile "$LINENO"; then : 4631 4632else 4633 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4634 CXXFLAGS="-g" 4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4636/* end confdefs.h. */ 4637 4638int 4639main () 4640{ 4641 4642 ; 4643 return 0; 4644} 4645_ACEOF 4646if ac_fn_cxx_try_compile "$LINENO"; then : 4647 ac_cv_prog_cxx_g=yes 4648fi 4649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4650fi 4651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4652fi 4653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4654 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4655fi 4656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4657$as_echo "$ac_cv_prog_cxx_g" >&6; } 4658if test "$ac_test_CXXFLAGS" = set; then 4659 CXXFLAGS=$ac_save_CXXFLAGS 4660elif test $ac_cv_prog_cxx_g = yes; then 4661 if test "$GXX" = yes; then 4662 CXXFLAGS="-g -O2" 4663 else 4664 CXXFLAGS="-g" 4665 fi 4666else 4667 if test "$GXX" = yes; then 4668 CXXFLAGS="-O2" 4669 else 4670 CXXFLAGS= 4671 fi 4672fi 4673ac_ext=c 4674ac_cpp='$CPP $CPPFLAGS' 4675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4677ac_compiler_gnu=$ac_cv_c_compiler_gnu 4678 4679depcc="$CXX" am_compiler_list= 4680 4681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4682$as_echo_n "checking dependency style of $depcc... " >&6; } 4683if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 4684 $as_echo_n "(cached) " >&6 4685else 4686 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4687 # We make a subdir and do the tests there. Otherwise we can end up 4688 # making bogus files that we don't know about and never remove. For 4689 # instance it was reported that on HP-UX the gcc test will end up 4690 # making a dummy file named 'D' -- because '-MD' means "put the output 4691 # in D". 4692 rm -rf conftest.dir 4693 mkdir conftest.dir 4694 # Copy depcomp to subdir because otherwise we won't find it if we're 4695 # using a relative directory. 4696 cp "$am_depcomp" conftest.dir 4697 cd conftest.dir 4698 # We will build objects and dependencies in a subdirectory because 4699 # it helps to detect inapplicable dependency modes. For instance 4700 # both Tru64's cc and ICC support -MD to output dependencies as a 4701 # side effect of compilation, but ICC will put the dependencies in 4702 # the current directory while Tru64 will put them in the object 4703 # directory. 4704 mkdir sub 4705 4706 am_cv_CXX_dependencies_compiler_type=none 4707 if test "$am_compiler_list" = ""; then 4708 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4709 fi 4710 am__universal=false 4711 case " $depcc " in #( 4712 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4713 esac 4714 4715 for depmode in $am_compiler_list; do 4716 # Setup a source with many dependencies, because some compilers 4717 # like to wrap large dependency lists on column 80 (with \), and 4718 # we should not choose a depcomp mode which is confused by this. 4719 # 4720 # We need to recreate these files for each test, as the compiler may 4721 # overwrite some of them when testing with obscure command lines. 4722 # This happens at least with the AIX C compiler. 4723 : > sub/conftest.c 4724 for i in 1 2 3 4 5 6; do 4725 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4726 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4727 # Solaris 10 /bin/sh. 4728 echo '/* dummy */' > sub/conftst$i.h 4729 done 4730 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4731 4732 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4733 # mode. It turns out that the SunPro C++ compiler does not properly 4734 # handle '-M -o', and we need to detect this. Also, some Intel 4735 # versions had trouble with output in subdirs. 4736 am__obj=sub/conftest.${OBJEXT-o} 4737 am__minus_obj="-o $am__obj" 4738 case $depmode in 4739 gcc) 4740 # This depmode causes a compiler race in universal mode. 4741 test "$am__universal" = false || continue 4742 ;; 4743 nosideeffect) 4744 # After this tag, mechanisms are not by side-effect, so they'll 4745 # only be used when explicitly requested. 4746 if test "x$enable_dependency_tracking" = xyes; then 4747 continue 4748 else 4749 break 4750 fi 4751 ;; 4752 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4753 # This compiler won't grok '-c -o', but also, the minuso test has 4754 # not run yet. These depmodes are late enough in the game, and 4755 # so weak that their functioning should not be impacted. 4756 am__obj=conftest.${OBJEXT-o} 4757 am__minus_obj= 4758 ;; 4759 none) break ;; 4760 esac 4761 if depmode=$depmode \ 4762 source=sub/conftest.c object=$am__obj \ 4763 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4764 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4765 >/dev/null 2>conftest.err && 4766 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4767 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4768 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4769 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4770 # icc doesn't choke on unknown options, it will just issue warnings 4771 # or remarks (even with -Werror). So we grep stderr for any message 4772 # that says an option was ignored or not supported. 4773 # When given -MP, icc 7.0 and 7.1 complain thusly: 4774 # icc: Command line warning: ignoring option '-M'; no argument required 4775 # The diagnosis changed in icc 8.0: 4776 # icc: Command line remark: option '-MP' not supported 4777 if (grep 'ignoring option' conftest.err || 4778 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4779 am_cv_CXX_dependencies_compiler_type=$depmode 4780 break 4781 fi 4782 fi 4783 done 4784 4785 cd .. 4786 rm -rf conftest.dir 4787else 4788 am_cv_CXX_dependencies_compiler_type=none 4789fi 4790 4791fi 4792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4793$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4794CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4795 4796 if 4797 test "x$enable_dependency_tracking" != xno \ 4798 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4799 am__fastdepCXX_TRUE= 4800 am__fastdepCXX_FALSE='#' 4801else 4802 am__fastdepCXX_TRUE='#' 4803 am__fastdepCXX_FALSE= 4804fi 4805 4806 4807 4808if test -n "$ac_tool_prefix"; then 4809 for ac_prog in ar lib "link -lib" 4810 do 4811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4812set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4814$as_echo_n "checking for $ac_word... " >&6; } 4815if ${ac_cv_prog_AR+:} false; then : 4816 $as_echo_n "(cached) " >&6 4817else 4818 if test -n "$AR"; then 4819 ac_cv_prog_AR="$AR" # Let the user override the test. 4820else 4821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4822for as_dir in $PATH 4823do 4824 IFS=$as_save_IFS 4825 test -z "$as_dir" && as_dir=. 4826 for ac_exec_ext in '' $ac_executable_extensions; do 4827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4828 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4830 break 2 4831 fi 4832done 4833 done 4834IFS=$as_save_IFS 4835 4836fi 4837fi 4838AR=$ac_cv_prog_AR 4839if test -n "$AR"; then 4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4841$as_echo "$AR" >&6; } 4842else 4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4844$as_echo "no" >&6; } 4845fi 4846 4847 4848 test -n "$AR" && break 4849 done 4850fi 4851if test -z "$AR"; then 4852 ac_ct_AR=$AR 4853 for ac_prog in ar lib "link -lib" 4854do 4855 # Extract the first word of "$ac_prog", so it can be a program name with args. 4856set dummy $ac_prog; ac_word=$2 4857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4858$as_echo_n "checking for $ac_word... " >&6; } 4859if ${ac_cv_prog_ac_ct_AR+:} false; then : 4860 $as_echo_n "(cached) " >&6 4861else 4862 if test -n "$ac_ct_AR"; then 4863 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4864else 4865as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4866for as_dir in $PATH 4867do 4868 IFS=$as_save_IFS 4869 test -z "$as_dir" && as_dir=. 4870 for ac_exec_ext in '' $ac_executable_extensions; do 4871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4872 ac_cv_prog_ac_ct_AR="$ac_prog" 4873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4874 break 2 4875 fi 4876done 4877 done 4878IFS=$as_save_IFS 4879 4880fi 4881fi 4882ac_ct_AR=$ac_cv_prog_ac_ct_AR 4883if test -n "$ac_ct_AR"; then 4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4885$as_echo "$ac_ct_AR" >&6; } 4886else 4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4888$as_echo "no" >&6; } 4889fi 4890 4891 4892 test -n "$ac_ct_AR" && break 4893done 4894 4895 if test "x$ac_ct_AR" = x; then 4896 AR="false" 4897 else 4898 case $cross_compiling:$ac_tool_warned in 4899yes:) 4900{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4901$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4902ac_tool_warned=yes ;; 4903esac 4904 AR=$ac_ct_AR 4905 fi 4906fi 4907 4908: ${AR=ar} 4909 4910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4911$as_echo_n "checking the archiver ($AR) interface... " >&6; } 4912if ${am_cv_ar_interface+:} false; then : 4913 $as_echo_n "(cached) " >&6 4914else 4915 ac_ext=c 4916ac_cpp='$CPP $CPPFLAGS' 4917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4919ac_compiler_gnu=$ac_cv_c_compiler_gnu 4920 4921 am_cv_ar_interface=ar 4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4923/* end confdefs.h. */ 4924int some_variable = 0; 4925_ACEOF 4926if ac_fn_c_try_compile "$LINENO"; then : 4927 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4928 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4929 (eval $am_ar_try) 2>&5 4930 ac_status=$? 4931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4932 test $ac_status = 0; } 4933 if test "$ac_status" -eq 0; then 4934 am_cv_ar_interface=ar 4935 else 4936 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4937 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4938 (eval $am_ar_try) 2>&5 4939 ac_status=$? 4940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4941 test $ac_status = 0; } 4942 if test "$ac_status" -eq 0; then 4943 am_cv_ar_interface=lib 4944 else 4945 am_cv_ar_interface=unknown 4946 fi 4947 fi 4948 rm -f conftest.lib libconftest.a 4949 4950fi 4951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4952 ac_ext=c 4953ac_cpp='$CPP $CPPFLAGS' 4954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4956ac_compiler_gnu=$ac_cv_c_compiler_gnu 4957 4958fi 4959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4960$as_echo "$am_cv_ar_interface" >&6; } 4961 4962case $am_cv_ar_interface in 4963ar) 4964 ;; 4965lib) 4966 # Microsoft lib, so override with the ar-lib wrapper script. 4967 # FIXME: It is wrong to rewrite AR. 4968 # But if we don't then we get into trouble of one sort or another. 4969 # A longer-term fix would be to have automake use am__AR in this case, 4970 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4971 # similar. 4972 AR="$am_aux_dir/ar-lib $AR" 4973 ;; 4974unknown) 4975 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4976 ;; 4977esac 4978 4979 4980case `pwd` in 4981 *\ * | *\ *) 4982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4983$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4984esac 4985 4986 4987 4988macro_version='2.4.2' 4989macro_revision='1.3337' 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003ltmain="$ac_aux_dir/ltmain.sh" 5004 5005# Backslashify metacharacters that are still active within 5006# double-quoted strings. 5007sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5008 5009# Same as above, but do not quote variable references. 5010double_quote_subst='s/\(["`\\]\)/\\\1/g' 5011 5012# Sed substitution to delay expansion of an escaped shell variable in a 5013# double_quote_subst'ed string. 5014delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5015 5016# Sed substitution to delay expansion of an escaped single quote. 5017delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5018 5019# Sed substitution to avoid accidental globbing in evaled expressions 5020no_glob_subst='s/\*/\\\*/g' 5021 5022ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5023ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5024ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5025 5026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5027$as_echo_n "checking how to print strings... " >&6; } 5028# Test print first, because it will be a builtin if present. 5029if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5030 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5031 ECHO='print -r --' 5032elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5033 ECHO='printf %s\n' 5034else 5035 # Use this function as a fallback that always works. 5036 func_fallback_echo () 5037 { 5038 eval 'cat <<_LTECHO_EOF 5039$1 5040_LTECHO_EOF' 5041 } 5042 ECHO='func_fallback_echo' 5043fi 5044 5045# func_echo_all arg... 5046# Invoke $ECHO with all args, space-separated. 5047func_echo_all () 5048{ 5049 $ECHO "" 5050} 5051 5052case "$ECHO" in 5053 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5054$as_echo "printf" >&6; } ;; 5055 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5056$as_echo "print -r" >&6; } ;; 5057 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5058$as_echo "cat" >&6; } ;; 5059esac 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5075$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5076if ${ac_cv_path_SED+:} false; then : 5077 $as_echo_n "(cached) " >&6 5078else 5079 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5080 for ac_i in 1 2 3 4 5 6 7; do 5081 ac_script="$ac_script$as_nl$ac_script" 5082 done 5083 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5084 { ac_script=; unset ac_script;} 5085 if test -z "$SED"; then 5086 ac_path_SED_found=false 5087 # Loop through the user's path and test for each of PROGNAME-LIST 5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5089for as_dir in $PATH 5090do 5091 IFS=$as_save_IFS 5092 test -z "$as_dir" && as_dir=. 5093 for ac_prog in sed gsed; do 5094 for ac_exec_ext in '' $ac_executable_extensions; do 5095 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5096 as_fn_executable_p "$ac_path_SED" || continue 5097# Check for GNU ac_path_SED and select it if it is found. 5098 # Check for GNU $ac_path_SED 5099case `"$ac_path_SED" --version 2>&1` in 5100*GNU*) 5101 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5102*) 5103 ac_count=0 5104 $as_echo_n 0123456789 >"conftest.in" 5105 while : 5106 do 5107 cat "conftest.in" "conftest.in" >"conftest.tmp" 5108 mv "conftest.tmp" "conftest.in" 5109 cp "conftest.in" "conftest.nl" 5110 $as_echo '' >> "conftest.nl" 5111 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5112 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5113 as_fn_arith $ac_count + 1 && ac_count=$as_val 5114 if test $ac_count -gt ${ac_path_SED_max-0}; then 5115 # Best one so far, save it but keep looking for a better one 5116 ac_cv_path_SED="$ac_path_SED" 5117 ac_path_SED_max=$ac_count 5118 fi 5119 # 10*(2^10) chars as input seems more than enough 5120 test $ac_count -gt 10 && break 5121 done 5122 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5123esac 5124 5125 $ac_path_SED_found && break 3 5126 done 5127 done 5128 done 5129IFS=$as_save_IFS 5130 if test -z "$ac_cv_path_SED"; then 5131 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5132 fi 5133else 5134 ac_cv_path_SED=$SED 5135fi 5136 5137fi 5138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5139$as_echo "$ac_cv_path_SED" >&6; } 5140 SED="$ac_cv_path_SED" 5141 rm -f conftest.sed 5142 5143test -z "$SED" && SED=sed 5144Xsed="$SED -e 1s/^X//" 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5157$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5158if ${ac_cv_path_GREP+:} false; then : 5159 $as_echo_n "(cached) " >&6 5160else 5161 if test -z "$GREP"; then 5162 ac_path_GREP_found=false 5163 # Loop through the user's path and test for each of PROGNAME-LIST 5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5165for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5166do 5167 IFS=$as_save_IFS 5168 test -z "$as_dir" && as_dir=. 5169 for ac_prog in grep ggrep; do 5170 for ac_exec_ext in '' $ac_executable_extensions; do 5171 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5172 as_fn_executable_p "$ac_path_GREP" || continue 5173# Check for GNU ac_path_GREP and select it if it is found. 5174 # Check for GNU $ac_path_GREP 5175case `"$ac_path_GREP" --version 2>&1` in 5176*GNU*) 5177 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5178*) 5179 ac_count=0 5180 $as_echo_n 0123456789 >"conftest.in" 5181 while : 5182 do 5183 cat "conftest.in" "conftest.in" >"conftest.tmp" 5184 mv "conftest.tmp" "conftest.in" 5185 cp "conftest.in" "conftest.nl" 5186 $as_echo 'GREP' >> "conftest.nl" 5187 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5188 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5189 as_fn_arith $ac_count + 1 && ac_count=$as_val 5190 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5191 # Best one so far, save it but keep looking for a better one 5192 ac_cv_path_GREP="$ac_path_GREP" 5193 ac_path_GREP_max=$ac_count 5194 fi 5195 # 10*(2^10) chars as input seems more than enough 5196 test $ac_count -gt 10 && break 5197 done 5198 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5199esac 5200 5201 $ac_path_GREP_found && break 3 5202 done 5203 done 5204 done 5205IFS=$as_save_IFS 5206 if test -z "$ac_cv_path_GREP"; then 5207 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5208 fi 5209else 5210 ac_cv_path_GREP=$GREP 5211fi 5212 5213fi 5214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5215$as_echo "$ac_cv_path_GREP" >&6; } 5216 GREP="$ac_cv_path_GREP" 5217 5218 5219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5220$as_echo_n "checking for egrep... " >&6; } 5221if ${ac_cv_path_EGREP+:} false; then : 5222 $as_echo_n "(cached) " >&6 5223else 5224 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5225 then ac_cv_path_EGREP="$GREP -E" 5226 else 5227 if test -z "$EGREP"; then 5228 ac_path_EGREP_found=false 5229 # Loop through the user's path and test for each of PROGNAME-LIST 5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5231for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5232do 5233 IFS=$as_save_IFS 5234 test -z "$as_dir" && as_dir=. 5235 for ac_prog in egrep; do 5236 for ac_exec_ext in '' $ac_executable_extensions; do 5237 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5238 as_fn_executable_p "$ac_path_EGREP" || continue 5239# Check for GNU ac_path_EGREP and select it if it is found. 5240 # Check for GNU $ac_path_EGREP 5241case `"$ac_path_EGREP" --version 2>&1` in 5242*GNU*) 5243 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5244*) 5245 ac_count=0 5246 $as_echo_n 0123456789 >"conftest.in" 5247 while : 5248 do 5249 cat "conftest.in" "conftest.in" >"conftest.tmp" 5250 mv "conftest.tmp" "conftest.in" 5251 cp "conftest.in" "conftest.nl" 5252 $as_echo 'EGREP' >> "conftest.nl" 5253 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5254 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5255 as_fn_arith $ac_count + 1 && ac_count=$as_val 5256 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5257 # Best one so far, save it but keep looking for a better one 5258 ac_cv_path_EGREP="$ac_path_EGREP" 5259 ac_path_EGREP_max=$ac_count 5260 fi 5261 # 10*(2^10) chars as input seems more than enough 5262 test $ac_count -gt 10 && break 5263 done 5264 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5265esac 5266 5267 $ac_path_EGREP_found && break 3 5268 done 5269 done 5270 done 5271IFS=$as_save_IFS 5272 if test -z "$ac_cv_path_EGREP"; then 5273 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5274 fi 5275else 5276 ac_cv_path_EGREP=$EGREP 5277fi 5278 5279 fi 5280fi 5281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5282$as_echo "$ac_cv_path_EGREP" >&6; } 5283 EGREP="$ac_cv_path_EGREP" 5284 5285 5286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5287$as_echo_n "checking for fgrep... " >&6; } 5288if ${ac_cv_path_FGREP+:} false; then : 5289 $as_echo_n "(cached) " >&6 5290else 5291 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5292 then ac_cv_path_FGREP="$GREP -F" 5293 else 5294 if test -z "$FGREP"; then 5295 ac_path_FGREP_found=false 5296 # Loop through the user's path and test for each of PROGNAME-LIST 5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5298for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5299do 5300 IFS=$as_save_IFS 5301 test -z "$as_dir" && as_dir=. 5302 for ac_prog in fgrep; do 5303 for ac_exec_ext in '' $ac_executable_extensions; do 5304 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5305 as_fn_executable_p "$ac_path_FGREP" || continue 5306# Check for GNU ac_path_FGREP and select it if it is found. 5307 # Check for GNU $ac_path_FGREP 5308case `"$ac_path_FGREP" --version 2>&1` in 5309*GNU*) 5310 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5311*) 5312 ac_count=0 5313 $as_echo_n 0123456789 >"conftest.in" 5314 while : 5315 do 5316 cat "conftest.in" "conftest.in" >"conftest.tmp" 5317 mv "conftest.tmp" "conftest.in" 5318 cp "conftest.in" "conftest.nl" 5319 $as_echo 'FGREP' >> "conftest.nl" 5320 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5321 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5322 as_fn_arith $ac_count + 1 && ac_count=$as_val 5323 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5324 # Best one so far, save it but keep looking for a better one 5325 ac_cv_path_FGREP="$ac_path_FGREP" 5326 ac_path_FGREP_max=$ac_count 5327 fi 5328 # 10*(2^10) chars as input seems more than enough 5329 test $ac_count -gt 10 && break 5330 done 5331 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5332esac 5333 5334 $ac_path_FGREP_found && break 3 5335 done 5336 done 5337 done 5338IFS=$as_save_IFS 5339 if test -z "$ac_cv_path_FGREP"; then 5340 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5341 fi 5342else 5343 ac_cv_path_FGREP=$FGREP 5344fi 5345 5346 fi 5347fi 5348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5349$as_echo "$ac_cv_path_FGREP" >&6; } 5350 FGREP="$ac_cv_path_FGREP" 5351 5352 5353test -z "$GREP" && GREP=grep 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373# Check whether --with-gnu-ld was given. 5374if test "${with_gnu_ld+set}" = set; then : 5375 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5376else 5377 with_gnu_ld=no 5378fi 5379 5380ac_prog=ld 5381if test "$GCC" = yes; then 5382 # Check if gcc -print-prog-name=ld gives a path. 5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5384$as_echo_n "checking for ld used by $CC... " >&6; } 5385 case $host in 5386 *-*-mingw*) 5387 # gcc leaves a trailing carriage return which upsets mingw 5388 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5389 *) 5390 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5391 esac 5392 case $ac_prog in 5393 # Accept absolute paths. 5394 [\\/]* | ?:[\\/]*) 5395 re_direlt='/[^/][^/]*/\.\./' 5396 # Canonicalize the pathname of ld 5397 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5398 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5399 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5400 done 5401 test -z "$LD" && LD="$ac_prog" 5402 ;; 5403 "") 5404 # If it fails, then pretend we aren't using GCC. 5405 ac_prog=ld 5406 ;; 5407 *) 5408 # If it is relative, then search for the first ld in PATH. 5409 with_gnu_ld=unknown 5410 ;; 5411 esac 5412elif test "$with_gnu_ld" = yes; then 5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5414$as_echo_n "checking for GNU ld... " >&6; } 5415else 5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5417$as_echo_n "checking for non-GNU ld... " >&6; } 5418fi 5419if ${lt_cv_path_LD+:} false; then : 5420 $as_echo_n "(cached) " >&6 5421else 5422 if test -z "$LD"; then 5423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5424 for ac_dir in $PATH; do 5425 IFS="$lt_save_ifs" 5426 test -z "$ac_dir" && ac_dir=. 5427 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5428 lt_cv_path_LD="$ac_dir/$ac_prog" 5429 # Check to see if the program is GNU ld. I'd rather use --version, 5430 # but apparently some variants of GNU ld only accept -v. 5431 # Break only if it was the GNU/non-GNU ld that we prefer. 5432 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5433 *GNU* | *'with BFD'*) 5434 test "$with_gnu_ld" != no && break 5435 ;; 5436 *) 5437 test "$with_gnu_ld" != yes && break 5438 ;; 5439 esac 5440 fi 5441 done 5442 IFS="$lt_save_ifs" 5443else 5444 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5445fi 5446fi 5447 5448LD="$lt_cv_path_LD" 5449if test -n "$LD"; then 5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5451$as_echo "$LD" >&6; } 5452else 5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5454$as_echo "no" >&6; } 5455fi 5456test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5458$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5459if ${lt_cv_prog_gnu_ld+:} false; then : 5460 $as_echo_n "(cached) " >&6 5461else 5462 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5463case `$LD -v 2>&1 </dev/null` in 5464*GNU* | *'with BFD'*) 5465 lt_cv_prog_gnu_ld=yes 5466 ;; 5467*) 5468 lt_cv_prog_gnu_ld=no 5469 ;; 5470esac 5471fi 5472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5473$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5474with_gnu_ld=$lt_cv_prog_gnu_ld 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5485$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5486if ${lt_cv_path_NM+:} false; then : 5487 $as_echo_n "(cached) " >&6 5488else 5489 if test -n "$NM"; then 5490 # Let the user override the test. 5491 lt_cv_path_NM="$NM" 5492else 5493 lt_nm_to_check="${ac_tool_prefix}nm" 5494 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5495 lt_nm_to_check="$lt_nm_to_check nm" 5496 fi 5497 for lt_tmp_nm in $lt_nm_to_check; do 5498 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5499 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5500 IFS="$lt_save_ifs" 5501 test -z "$ac_dir" && ac_dir=. 5502 tmp_nm="$ac_dir/$lt_tmp_nm" 5503 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5504 # Check to see if the nm accepts a BSD-compat flag. 5505 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5506 # nm: unknown option "B" ignored 5507 # Tru64's nm complains that /dev/null is an invalid object file 5508 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5509 */dev/null* | *'Invalid file or object type'*) 5510 lt_cv_path_NM="$tmp_nm -B" 5511 break 5512 ;; 5513 *) 5514 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5515 */dev/null*) 5516 lt_cv_path_NM="$tmp_nm -p" 5517 break 5518 ;; 5519 *) 5520 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5521 continue # so that we can try to find one that supports BSD flags 5522 ;; 5523 esac 5524 ;; 5525 esac 5526 fi 5527 done 5528 IFS="$lt_save_ifs" 5529 done 5530 : ${lt_cv_path_NM=no} 5531fi 5532fi 5533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5534$as_echo "$lt_cv_path_NM" >&6; } 5535if test "$lt_cv_path_NM" != "no"; then 5536 NM="$lt_cv_path_NM" 5537else 5538 # Didn't find any BSD compatible name lister, look for dumpbin. 5539 if test -n "$DUMPBIN"; then : 5540 # Let the user override the test. 5541 else 5542 if test -n "$ac_tool_prefix"; then 5543 for ac_prog in dumpbin "link -dump" 5544 do 5545 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5546set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5548$as_echo_n "checking for $ac_word... " >&6; } 5549if ${ac_cv_prog_DUMPBIN+:} false; then : 5550 $as_echo_n "(cached) " >&6 5551else 5552 if test -n "$DUMPBIN"; then 5553 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5554else 5555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5556for as_dir in $PATH 5557do 5558 IFS=$as_save_IFS 5559 test -z "$as_dir" && as_dir=. 5560 for ac_exec_ext in '' $ac_executable_extensions; do 5561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5562 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5564 break 2 5565 fi 5566done 5567 done 5568IFS=$as_save_IFS 5569 5570fi 5571fi 5572DUMPBIN=$ac_cv_prog_DUMPBIN 5573if test -n "$DUMPBIN"; then 5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5575$as_echo "$DUMPBIN" >&6; } 5576else 5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5578$as_echo "no" >&6; } 5579fi 5580 5581 5582 test -n "$DUMPBIN" && break 5583 done 5584fi 5585if test -z "$DUMPBIN"; then 5586 ac_ct_DUMPBIN=$DUMPBIN 5587 for ac_prog in dumpbin "link -dump" 5588do 5589 # Extract the first word of "$ac_prog", so it can be a program name with args. 5590set dummy $ac_prog; ac_word=$2 5591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5592$as_echo_n "checking for $ac_word... " >&6; } 5593if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5594 $as_echo_n "(cached) " >&6 5595else 5596 if test -n "$ac_ct_DUMPBIN"; then 5597 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5598else 5599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5600for as_dir in $PATH 5601do 5602 IFS=$as_save_IFS 5603 test -z "$as_dir" && as_dir=. 5604 for ac_exec_ext in '' $ac_executable_extensions; do 5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5606 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5608 break 2 5609 fi 5610done 5611 done 5612IFS=$as_save_IFS 5613 5614fi 5615fi 5616ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5617if test -n "$ac_ct_DUMPBIN"; then 5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5619$as_echo "$ac_ct_DUMPBIN" >&6; } 5620else 5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5622$as_echo "no" >&6; } 5623fi 5624 5625 5626 test -n "$ac_ct_DUMPBIN" && break 5627done 5628 5629 if test "x$ac_ct_DUMPBIN" = x; then 5630 DUMPBIN=":" 5631 else 5632 case $cross_compiling:$ac_tool_warned in 5633yes:) 5634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5636ac_tool_warned=yes ;; 5637esac 5638 DUMPBIN=$ac_ct_DUMPBIN 5639 fi 5640fi 5641 5642 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5643 *COFF*) 5644 DUMPBIN="$DUMPBIN -symbols" 5645 ;; 5646 *) 5647 DUMPBIN=: 5648 ;; 5649 esac 5650 fi 5651 5652 if test "$DUMPBIN" != ":"; then 5653 NM="$DUMPBIN" 5654 fi 5655fi 5656test -z "$NM" && NM=nm 5657 5658 5659 5660 5661 5662 5663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5664$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5665if ${lt_cv_nm_interface+:} false; then : 5666 $as_echo_n "(cached) " >&6 5667else 5668 lt_cv_nm_interface="BSD nm" 5669 echo "int some_variable = 0;" > conftest.$ac_ext 5670 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5671 (eval "$ac_compile" 2>conftest.err) 5672 cat conftest.err >&5 5673 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5674 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5675 cat conftest.err >&5 5676 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5677 cat conftest.out >&5 5678 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5679 lt_cv_nm_interface="MS dumpbin" 5680 fi 5681 rm -f conftest* 5682fi 5683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5684$as_echo "$lt_cv_nm_interface" >&6; } 5685 5686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5687$as_echo_n "checking whether ln -s works... " >&6; } 5688LN_S=$as_ln_s 5689if test "$LN_S" = "ln -s"; then 5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5691$as_echo "yes" >&6; } 5692else 5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5694$as_echo "no, using $LN_S" >&6; } 5695fi 5696 5697# find the maximum length of command line arguments 5698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5699$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5700if ${lt_cv_sys_max_cmd_len+:} false; then : 5701 $as_echo_n "(cached) " >&6 5702else 5703 i=0 5704 teststring="ABCD" 5705 5706 case $build_os in 5707 msdosdjgpp*) 5708 # On DJGPP, this test can blow up pretty badly due to problems in libc 5709 # (any single argument exceeding 2000 bytes causes a buffer overrun 5710 # during glob expansion). Even if it were fixed, the result of this 5711 # check would be larger than it should be. 5712 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5713 ;; 5714 5715 gnu*) 5716 # Under GNU Hurd, this test is not required because there is 5717 # no limit to the length of command line arguments. 5718 # Libtool will interpret -1 as no limit whatsoever 5719 lt_cv_sys_max_cmd_len=-1; 5720 ;; 5721 5722 cygwin* | mingw* | cegcc*) 5723 # On Win9x/ME, this test blows up -- it succeeds, but takes 5724 # about 5 minutes as the teststring grows exponentially. 5725 # Worse, since 9x/ME are not pre-emptively multitasking, 5726 # you end up with a "frozen" computer, even though with patience 5727 # the test eventually succeeds (with a max line length of 256k). 5728 # Instead, let's just punt: use the minimum linelength reported by 5729 # all of the supported platforms: 8192 (on NT/2K/XP). 5730 lt_cv_sys_max_cmd_len=8192; 5731 ;; 5732 5733 mint*) 5734 # On MiNT this can take a long time and run out of memory. 5735 lt_cv_sys_max_cmd_len=8192; 5736 ;; 5737 5738 amigaos*) 5739 # On AmigaOS with pdksh, this test takes hours, literally. 5740 # So we just punt and use a minimum line length of 8192. 5741 lt_cv_sys_max_cmd_len=8192; 5742 ;; 5743 5744 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5745 # This has been around since 386BSD, at least. Likely further. 5746 if test -x /sbin/sysctl; then 5747 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5748 elif test -x /usr/sbin/sysctl; then 5749 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5750 else 5751 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5752 fi 5753 # And add a safety zone 5754 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5755 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5756 ;; 5757 5758 interix*) 5759 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5760 lt_cv_sys_max_cmd_len=196608 5761 ;; 5762 5763 os2*) 5764 # The test takes a long time on OS/2. 5765 lt_cv_sys_max_cmd_len=8192 5766 ;; 5767 5768 osf*) 5769 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5770 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5771 # nice to cause kernel panics so lets avoid the loop below. 5772 # First set a reasonable default. 5773 lt_cv_sys_max_cmd_len=16384 5774 # 5775 if test -x /sbin/sysconfig; then 5776 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5777 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5778 esac 5779 fi 5780 ;; 5781 sco3.2v5*) 5782 lt_cv_sys_max_cmd_len=102400 5783 ;; 5784 sysv5* | sco5v6* | sysv4.2uw2*) 5785 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5786 if test -n "$kargmax"; then 5787 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5788 else 5789 lt_cv_sys_max_cmd_len=32768 5790 fi 5791 ;; 5792 *) 5793 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5794 if test -n "$lt_cv_sys_max_cmd_len" && \ 5795 test undefined != "$lt_cv_sys_max_cmd_len"; then 5796 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5797 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5798 else 5799 # Make teststring a little bigger before we do anything with it. 5800 # a 1K string should be a reasonable start. 5801 for i in 1 2 3 4 5 6 7 8 ; do 5802 teststring=$teststring$teststring 5803 done 5804 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5805 # If test is not a shell built-in, we'll probably end up computing a 5806 # maximum length that is only half of the actual maximum length, but 5807 # we can't tell. 5808 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5809 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5810 test $i != 17 # 1/2 MB should be enough 5811 do 5812 i=`expr $i + 1` 5813 teststring=$teststring$teststring 5814 done 5815 # Only check the string length outside the loop. 5816 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5817 teststring= 5818 # Add a significant safety factor because C++ compilers can tack on 5819 # massive amounts of additional arguments before passing them to the 5820 # linker. It appears as though 1/2 is a usable value. 5821 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5822 fi 5823 ;; 5824 esac 5825 5826fi 5827 5828if test -n $lt_cv_sys_max_cmd_len ; then 5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5830$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5831else 5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5833$as_echo "none" >&6; } 5834fi 5835max_cmd_len=$lt_cv_sys_max_cmd_len 5836 5837 5838 5839 5840 5841 5842: ${CP="cp -f"} 5843: ${MV="mv -f"} 5844: ${RM="rm -f"} 5845 5846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5847$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5848# Try some XSI features 5849xsi_shell=no 5850( _lt_dummy="a/b/c" 5851 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5852 = c,a/b,b/c, \ 5853 && eval 'test $(( 1 + 1 )) -eq 2 \ 5854 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5855 && xsi_shell=yes 5856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5857$as_echo "$xsi_shell" >&6; } 5858 5859 5860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5861$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5862lt_shell_append=no 5863( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5864 >/dev/null 2>&1 \ 5865 && lt_shell_append=yes 5866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5867$as_echo "$lt_shell_append" >&6; } 5868 5869 5870if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5871 lt_unset=unset 5872else 5873 lt_unset=false 5874fi 5875 5876 5877 5878 5879 5880# test EBCDIC or ASCII 5881case `echo X|tr X '\101'` in 5882 A) # ASCII based system 5883 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5884 lt_SP2NL='tr \040 \012' 5885 lt_NL2SP='tr \015\012 \040\040' 5886 ;; 5887 *) # EBCDIC based system 5888 lt_SP2NL='tr \100 \n' 5889 lt_NL2SP='tr \r\n \100\100' 5890 ;; 5891esac 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5902$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5903if ${lt_cv_to_host_file_cmd+:} false; then : 5904 $as_echo_n "(cached) " >&6 5905else 5906 case $host in 5907 *-*-mingw* ) 5908 case $build in 5909 *-*-mingw* ) # actually msys 5910 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5911 ;; 5912 *-*-cygwin* ) 5913 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5914 ;; 5915 * ) # otherwise, assume *nix 5916 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5917 ;; 5918 esac 5919 ;; 5920 *-*-cygwin* ) 5921 case $build in 5922 *-*-mingw* ) # actually msys 5923 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5924 ;; 5925 *-*-cygwin* ) 5926 lt_cv_to_host_file_cmd=func_convert_file_noop 5927 ;; 5928 * ) # otherwise, assume *nix 5929 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5930 ;; 5931 esac 5932 ;; 5933 * ) # unhandled hosts (and "normal" native builds) 5934 lt_cv_to_host_file_cmd=func_convert_file_noop 5935 ;; 5936esac 5937 5938fi 5939 5940to_host_file_cmd=$lt_cv_to_host_file_cmd 5941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5942$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5943 5944 5945 5946 5947 5948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5949$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5950if ${lt_cv_to_tool_file_cmd+:} false; then : 5951 $as_echo_n "(cached) " >&6 5952else 5953 #assume ordinary cross tools, or native build. 5954lt_cv_to_tool_file_cmd=func_convert_file_noop 5955case $host in 5956 *-*-mingw* ) 5957 case $build in 5958 *-*-mingw* ) # actually msys 5959 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5960 ;; 5961 esac 5962 ;; 5963esac 5964 5965fi 5966 5967to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5969$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5970 5971 5972 5973 5974 5975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5976$as_echo_n "checking for $LD option to reload object files... " >&6; } 5977if ${lt_cv_ld_reload_flag+:} false; then : 5978 $as_echo_n "(cached) " >&6 5979else 5980 lt_cv_ld_reload_flag='-r' 5981fi 5982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5983$as_echo "$lt_cv_ld_reload_flag" >&6; } 5984reload_flag=$lt_cv_ld_reload_flag 5985case $reload_flag in 5986"" | " "*) ;; 5987*) reload_flag=" $reload_flag" ;; 5988esac 5989reload_cmds='$LD$reload_flag -o $output$reload_objs' 5990case $host_os in 5991 cygwin* | mingw* | pw32* | cegcc*) 5992 if test "$GCC" != yes; then 5993 reload_cmds=false 5994 fi 5995 ;; 5996 darwin*) 5997 if test "$GCC" = yes; then 5998 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5999 else 6000 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6001 fi 6002 ;; 6003esac 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013if test -n "$ac_tool_prefix"; then 6014 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6015set dummy ${ac_tool_prefix}objdump; ac_word=$2 6016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6017$as_echo_n "checking for $ac_word... " >&6; } 6018if ${ac_cv_prog_OBJDUMP+:} false; then : 6019 $as_echo_n "(cached) " >&6 6020else 6021 if test -n "$OBJDUMP"; then 6022 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6023else 6024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6025for as_dir in $PATH 6026do 6027 IFS=$as_save_IFS 6028 test -z "$as_dir" && as_dir=. 6029 for ac_exec_ext in '' $ac_executable_extensions; do 6030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6031 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6033 break 2 6034 fi 6035done 6036 done 6037IFS=$as_save_IFS 6038 6039fi 6040fi 6041OBJDUMP=$ac_cv_prog_OBJDUMP 6042if test -n "$OBJDUMP"; then 6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6044$as_echo "$OBJDUMP" >&6; } 6045else 6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6047$as_echo "no" >&6; } 6048fi 6049 6050 6051fi 6052if test -z "$ac_cv_prog_OBJDUMP"; then 6053 ac_ct_OBJDUMP=$OBJDUMP 6054 # Extract the first word of "objdump", so it can be a program name with args. 6055set dummy objdump; ac_word=$2 6056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6057$as_echo_n "checking for $ac_word... " >&6; } 6058if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6059 $as_echo_n "(cached) " >&6 6060else 6061 if test -n "$ac_ct_OBJDUMP"; then 6062 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6063else 6064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6065for as_dir in $PATH 6066do 6067 IFS=$as_save_IFS 6068 test -z "$as_dir" && as_dir=. 6069 for ac_exec_ext in '' $ac_executable_extensions; do 6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6071 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6073 break 2 6074 fi 6075done 6076 done 6077IFS=$as_save_IFS 6078 6079fi 6080fi 6081ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6082if test -n "$ac_ct_OBJDUMP"; then 6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6084$as_echo "$ac_ct_OBJDUMP" >&6; } 6085else 6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6087$as_echo "no" >&6; } 6088fi 6089 6090 if test "x$ac_ct_OBJDUMP" = x; then 6091 OBJDUMP="false" 6092 else 6093 case $cross_compiling:$ac_tool_warned in 6094yes:) 6095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6097ac_tool_warned=yes ;; 6098esac 6099 OBJDUMP=$ac_ct_OBJDUMP 6100 fi 6101else 6102 OBJDUMP="$ac_cv_prog_OBJDUMP" 6103fi 6104 6105test -z "$OBJDUMP" && OBJDUMP=objdump 6106 6107 6108 6109 6110 6111 6112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6113$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6114if ${lt_cv_deplibs_check_method+:} false; then : 6115 $as_echo_n "(cached) " >&6 6116else 6117 lt_cv_file_magic_cmd='$MAGIC_CMD' 6118lt_cv_file_magic_test_file= 6119lt_cv_deplibs_check_method='unknown' 6120# Need to set the preceding variable on all platforms that support 6121# interlibrary dependencies. 6122# 'none' -- dependencies not supported. 6123# `unknown' -- same as none, but documents that we really don't know. 6124# 'pass_all' -- all dependencies passed with no checks. 6125# 'test_compile' -- check by making test program. 6126# 'file_magic [[regex]]' -- check by looking for files in library path 6127# which responds to the $file_magic_cmd with a given extended regex. 6128# If you have `file' or equivalent on your system and you're not sure 6129# whether `pass_all' will *always* work, you probably want this one. 6130 6131case $host_os in 6132aix[4-9]*) 6133 lt_cv_deplibs_check_method=pass_all 6134 ;; 6135 6136beos*) 6137 lt_cv_deplibs_check_method=pass_all 6138 ;; 6139 6140bsdi[45]*) 6141 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6142 lt_cv_file_magic_cmd='/usr/bin/file -L' 6143 lt_cv_file_magic_test_file=/shlib/libc.so 6144 ;; 6145 6146cygwin*) 6147 # func_win32_libid is a shell function defined in ltmain.sh 6148 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6149 lt_cv_file_magic_cmd='func_win32_libid' 6150 ;; 6151 6152mingw* | pw32*) 6153 # Base MSYS/MinGW do not provide the 'file' command needed by 6154 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6155 # unless we find 'file', for example because we are cross-compiling. 6156 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6157 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 6158 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6159 lt_cv_file_magic_cmd='func_win32_libid' 6160 else 6161 # Keep this pattern in sync with the one in func_win32_libid. 6162 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6163 lt_cv_file_magic_cmd='$OBJDUMP -f' 6164 fi 6165 ;; 6166 6167cegcc*) 6168 # use the weaker test based on 'objdump'. See mingw*. 6169 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6170 lt_cv_file_magic_cmd='$OBJDUMP -f' 6171 ;; 6172 6173darwin* | rhapsody*) 6174 lt_cv_deplibs_check_method=pass_all 6175 ;; 6176 6177freebsd* | dragonfly*) 6178 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6179 case $host_cpu in 6180 i*86 ) 6181 # Not sure whether the presence of OpenBSD here was a mistake. 6182 # Let's accept both of them until this is cleared up. 6183 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6184 lt_cv_file_magic_cmd=/usr/bin/file 6185 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6186 ;; 6187 esac 6188 else 6189 lt_cv_deplibs_check_method=pass_all 6190 fi 6191 ;; 6192 6193haiku*) 6194 lt_cv_deplibs_check_method=pass_all 6195 ;; 6196 6197hpux10.20* | hpux11*) 6198 lt_cv_file_magic_cmd=/usr/bin/file 6199 case $host_cpu in 6200 ia64*) 6201 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6202 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6203 ;; 6204 hppa*64*) 6205 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]' 6206 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6207 ;; 6208 *) 6209 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6210 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6211 ;; 6212 esac 6213 ;; 6214 6215interix[3-9]*) 6216 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6217 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6218 ;; 6219 6220irix5* | irix6* | nonstopux*) 6221 case $LD in 6222 *-32|*"-32 ") libmagic=32-bit;; 6223 *-n32|*"-n32 ") libmagic=N32;; 6224 *-64|*"-64 ") libmagic=64-bit;; 6225 *) libmagic=never-match;; 6226 esac 6227 lt_cv_deplibs_check_method=pass_all 6228 ;; 6229 6230# This must be glibc/ELF. 6231linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6232 lt_cv_deplibs_check_method=pass_all 6233 ;; 6234 6235netbsd* | netbsdelf*-gnu) 6236 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6237 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6238 else 6239 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6240 fi 6241 ;; 6242 6243newos6*) 6244 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6245 lt_cv_file_magic_cmd=/usr/bin/file 6246 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6247 ;; 6248 6249*nto* | *qnx*) 6250 lt_cv_deplibs_check_method=pass_all 6251 ;; 6252 6253openbsd*) 6254 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6255 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6256 else 6257 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6258 fi 6259 ;; 6260 6261osf3* | osf4* | osf5*) 6262 lt_cv_deplibs_check_method=pass_all 6263 ;; 6264 6265rdos*) 6266 lt_cv_deplibs_check_method=pass_all 6267 ;; 6268 6269solaris*) 6270 lt_cv_deplibs_check_method=pass_all 6271 ;; 6272 6273sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6274 lt_cv_deplibs_check_method=pass_all 6275 ;; 6276 6277sysv4 | sysv4.3*) 6278 case $host_vendor in 6279 motorola) 6280 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]' 6281 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6282 ;; 6283 ncr) 6284 lt_cv_deplibs_check_method=pass_all 6285 ;; 6286 sequent) 6287 lt_cv_file_magic_cmd='/bin/file' 6288 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6289 ;; 6290 sni) 6291 lt_cv_file_magic_cmd='/bin/file' 6292 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6293 lt_cv_file_magic_test_file=/lib/libc.so 6294 ;; 6295 siemens) 6296 lt_cv_deplibs_check_method=pass_all 6297 ;; 6298 pc) 6299 lt_cv_deplibs_check_method=pass_all 6300 ;; 6301 esac 6302 ;; 6303 6304tpf*) 6305 lt_cv_deplibs_check_method=pass_all 6306 ;; 6307esac 6308 6309fi 6310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6311$as_echo "$lt_cv_deplibs_check_method" >&6; } 6312 6313file_magic_glob= 6314want_nocaseglob=no 6315if test "$build" = "$host"; then 6316 case $host_os in 6317 mingw* | pw32*) 6318 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6319 want_nocaseglob=yes 6320 else 6321 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6322 fi 6323 ;; 6324 esac 6325fi 6326 6327file_magic_cmd=$lt_cv_file_magic_cmd 6328deplibs_check_method=$lt_cv_deplibs_check_method 6329test -z "$deplibs_check_method" && deplibs_check_method=unknown 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352if test -n "$ac_tool_prefix"; then 6353 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6354set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6356$as_echo_n "checking for $ac_word... " >&6; } 6357if ${ac_cv_prog_DLLTOOL+:} false; then : 6358 $as_echo_n "(cached) " >&6 6359else 6360 if test -n "$DLLTOOL"; then 6361 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6362else 6363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6364for as_dir in $PATH 6365do 6366 IFS=$as_save_IFS 6367 test -z "$as_dir" && as_dir=. 6368 for ac_exec_ext in '' $ac_executable_extensions; do 6369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6370 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6372 break 2 6373 fi 6374done 6375 done 6376IFS=$as_save_IFS 6377 6378fi 6379fi 6380DLLTOOL=$ac_cv_prog_DLLTOOL 6381if test -n "$DLLTOOL"; then 6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6383$as_echo "$DLLTOOL" >&6; } 6384else 6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6386$as_echo "no" >&6; } 6387fi 6388 6389 6390fi 6391if test -z "$ac_cv_prog_DLLTOOL"; then 6392 ac_ct_DLLTOOL=$DLLTOOL 6393 # Extract the first word of "dlltool", so it can be a program name with args. 6394set dummy dlltool; ac_word=$2 6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6396$as_echo_n "checking for $ac_word... " >&6; } 6397if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6398 $as_echo_n "(cached) " >&6 6399else 6400 if test -n "$ac_ct_DLLTOOL"; then 6401 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6402else 6403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6404for as_dir in $PATH 6405do 6406 IFS=$as_save_IFS 6407 test -z "$as_dir" && as_dir=. 6408 for ac_exec_ext in '' $ac_executable_extensions; do 6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6410 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6412 break 2 6413 fi 6414done 6415 done 6416IFS=$as_save_IFS 6417 6418fi 6419fi 6420ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6421if test -n "$ac_ct_DLLTOOL"; then 6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6423$as_echo "$ac_ct_DLLTOOL" >&6; } 6424else 6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6426$as_echo "no" >&6; } 6427fi 6428 6429 if test "x$ac_ct_DLLTOOL" = x; then 6430 DLLTOOL="false" 6431 else 6432 case $cross_compiling:$ac_tool_warned in 6433yes:) 6434{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6435$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6436ac_tool_warned=yes ;; 6437esac 6438 DLLTOOL=$ac_ct_DLLTOOL 6439 fi 6440else 6441 DLLTOOL="$ac_cv_prog_DLLTOOL" 6442fi 6443 6444test -z "$DLLTOOL" && DLLTOOL=dlltool 6445 6446 6447 6448 6449 6450 6451 6452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6453$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6454if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6455 $as_echo_n "(cached) " >&6 6456else 6457 lt_cv_sharedlib_from_linklib_cmd='unknown' 6458 6459case $host_os in 6460cygwin* | mingw* | pw32* | cegcc*) 6461 # two different shell functions defined in ltmain.sh 6462 # decide which to use based on capabilities of $DLLTOOL 6463 case `$DLLTOOL --help 2>&1` in 6464 *--identify-strict*) 6465 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6466 ;; 6467 *) 6468 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6469 ;; 6470 esac 6471 ;; 6472*) 6473 # fallback: assume linklib IS sharedlib 6474 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6475 ;; 6476esac 6477 6478fi 6479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6480$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6481sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6482test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6483 6484 6485 6486 6487 6488 6489 6490if test -n "$ac_tool_prefix"; then 6491 for ac_prog in ar 6492 do 6493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6494set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6496$as_echo_n "checking for $ac_word... " >&6; } 6497if ${ac_cv_prog_AR+:} false; then : 6498 $as_echo_n "(cached) " >&6 6499else 6500 if test -n "$AR"; then 6501 ac_cv_prog_AR="$AR" # Let the user override the test. 6502else 6503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6504for as_dir in $PATH 6505do 6506 IFS=$as_save_IFS 6507 test -z "$as_dir" && as_dir=. 6508 for ac_exec_ext in '' $ac_executable_extensions; do 6509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6510 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6512 break 2 6513 fi 6514done 6515 done 6516IFS=$as_save_IFS 6517 6518fi 6519fi 6520AR=$ac_cv_prog_AR 6521if test -n "$AR"; then 6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6523$as_echo "$AR" >&6; } 6524else 6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6526$as_echo "no" >&6; } 6527fi 6528 6529 6530 test -n "$AR" && break 6531 done 6532fi 6533if test -z "$AR"; then 6534 ac_ct_AR=$AR 6535 for ac_prog in ar 6536do 6537 # Extract the first word of "$ac_prog", so it can be a program name with args. 6538set dummy $ac_prog; ac_word=$2 6539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6540$as_echo_n "checking for $ac_word... " >&6; } 6541if ${ac_cv_prog_ac_ct_AR+:} false; then : 6542 $as_echo_n "(cached) " >&6 6543else 6544 if test -n "$ac_ct_AR"; then 6545 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6546else 6547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6548for as_dir in $PATH 6549do 6550 IFS=$as_save_IFS 6551 test -z "$as_dir" && as_dir=. 6552 for ac_exec_ext in '' $ac_executable_extensions; do 6553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6554 ac_cv_prog_ac_ct_AR="$ac_prog" 6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6556 break 2 6557 fi 6558done 6559 done 6560IFS=$as_save_IFS 6561 6562fi 6563fi 6564ac_ct_AR=$ac_cv_prog_ac_ct_AR 6565if test -n "$ac_ct_AR"; then 6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6567$as_echo "$ac_ct_AR" >&6; } 6568else 6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6570$as_echo "no" >&6; } 6571fi 6572 6573 6574 test -n "$ac_ct_AR" && break 6575done 6576 6577 if test "x$ac_ct_AR" = x; then 6578 AR="false" 6579 else 6580 case $cross_compiling:$ac_tool_warned in 6581yes:) 6582{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6583$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6584ac_tool_warned=yes ;; 6585esac 6586 AR=$ac_ct_AR 6587 fi 6588fi 6589 6590: ${AR=ar} 6591: ${AR_FLAGS=cru} 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6604$as_echo_n "checking for archiver @FILE support... " >&6; } 6605if ${lt_cv_ar_at_file+:} false; then : 6606 $as_echo_n "(cached) " >&6 6607else 6608 lt_cv_ar_at_file=no 6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6610/* end confdefs.h. */ 6611 6612int 6613main () 6614{ 6615 6616 ; 6617 return 0; 6618} 6619_ACEOF 6620if ac_fn_c_try_compile "$LINENO"; then : 6621 echo conftest.$ac_objext > conftest.lst 6622 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6623 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6624 (eval $lt_ar_try) 2>&5 6625 ac_status=$? 6626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6627 test $ac_status = 0; } 6628 if test "$ac_status" -eq 0; then 6629 # Ensure the archiver fails upon bogus file names. 6630 rm -f conftest.$ac_objext libconftest.a 6631 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6632 (eval $lt_ar_try) 2>&5 6633 ac_status=$? 6634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6635 test $ac_status = 0; } 6636 if test "$ac_status" -ne 0; then 6637 lt_cv_ar_at_file=@ 6638 fi 6639 fi 6640 rm -f conftest.* libconftest.a 6641 6642fi 6643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6644 6645fi 6646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6647$as_echo "$lt_cv_ar_at_file" >&6; } 6648 6649if test "x$lt_cv_ar_at_file" = xno; then 6650 archiver_list_spec= 6651else 6652 archiver_list_spec=$lt_cv_ar_at_file 6653fi 6654 6655 6656 6657 6658 6659 6660 6661if test -n "$ac_tool_prefix"; then 6662 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6663set dummy ${ac_tool_prefix}strip; ac_word=$2 6664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6665$as_echo_n "checking for $ac_word... " >&6; } 6666if ${ac_cv_prog_STRIP+:} false; then : 6667 $as_echo_n "(cached) " >&6 6668else 6669 if test -n "$STRIP"; then 6670 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6671else 6672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6673for as_dir in $PATH 6674do 6675 IFS=$as_save_IFS 6676 test -z "$as_dir" && as_dir=. 6677 for ac_exec_ext in '' $ac_executable_extensions; do 6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6679 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6681 break 2 6682 fi 6683done 6684 done 6685IFS=$as_save_IFS 6686 6687fi 6688fi 6689STRIP=$ac_cv_prog_STRIP 6690if test -n "$STRIP"; then 6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6692$as_echo "$STRIP" >&6; } 6693else 6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6695$as_echo "no" >&6; } 6696fi 6697 6698 6699fi 6700if test -z "$ac_cv_prog_STRIP"; then 6701 ac_ct_STRIP=$STRIP 6702 # Extract the first word of "strip", so it can be a program name with args. 6703set dummy strip; ac_word=$2 6704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6705$as_echo_n "checking for $ac_word... " >&6; } 6706if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6707 $as_echo_n "(cached) " >&6 6708else 6709 if test -n "$ac_ct_STRIP"; then 6710 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6711else 6712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6713for as_dir in $PATH 6714do 6715 IFS=$as_save_IFS 6716 test -z "$as_dir" && as_dir=. 6717 for ac_exec_ext in '' $ac_executable_extensions; do 6718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6719 ac_cv_prog_ac_ct_STRIP="strip" 6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6721 break 2 6722 fi 6723done 6724 done 6725IFS=$as_save_IFS 6726 6727fi 6728fi 6729ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6730if test -n "$ac_ct_STRIP"; then 6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6732$as_echo "$ac_ct_STRIP" >&6; } 6733else 6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6735$as_echo "no" >&6; } 6736fi 6737 6738 if test "x$ac_ct_STRIP" = x; then 6739 STRIP=":" 6740 else 6741 case $cross_compiling:$ac_tool_warned in 6742yes:) 6743{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6744$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6745ac_tool_warned=yes ;; 6746esac 6747 STRIP=$ac_ct_STRIP 6748 fi 6749else 6750 STRIP="$ac_cv_prog_STRIP" 6751fi 6752 6753test -z "$STRIP" && STRIP=: 6754 6755 6756 6757 6758 6759 6760if test -n "$ac_tool_prefix"; then 6761 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6762set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6764$as_echo_n "checking for $ac_word... " >&6; } 6765if ${ac_cv_prog_RANLIB+:} false; then : 6766 $as_echo_n "(cached) " >&6 6767else 6768 if test -n "$RANLIB"; then 6769 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6770else 6771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6772for as_dir in $PATH 6773do 6774 IFS=$as_save_IFS 6775 test -z "$as_dir" && as_dir=. 6776 for ac_exec_ext in '' $ac_executable_extensions; do 6777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6778 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6780 break 2 6781 fi 6782done 6783 done 6784IFS=$as_save_IFS 6785 6786fi 6787fi 6788RANLIB=$ac_cv_prog_RANLIB 6789if test -n "$RANLIB"; then 6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6791$as_echo "$RANLIB" >&6; } 6792else 6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6794$as_echo "no" >&6; } 6795fi 6796 6797 6798fi 6799if test -z "$ac_cv_prog_RANLIB"; then 6800 ac_ct_RANLIB=$RANLIB 6801 # Extract the first word of "ranlib", so it can be a program name with args. 6802set dummy ranlib; ac_word=$2 6803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6804$as_echo_n "checking for $ac_word... " >&6; } 6805if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6806 $as_echo_n "(cached) " >&6 6807else 6808 if test -n "$ac_ct_RANLIB"; then 6809 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6810else 6811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6812for as_dir in $PATH 6813do 6814 IFS=$as_save_IFS 6815 test -z "$as_dir" && as_dir=. 6816 for ac_exec_ext in '' $ac_executable_extensions; do 6817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6818 ac_cv_prog_ac_ct_RANLIB="ranlib" 6819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6820 break 2 6821 fi 6822done 6823 done 6824IFS=$as_save_IFS 6825 6826fi 6827fi 6828ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6829if test -n "$ac_ct_RANLIB"; then 6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6831$as_echo "$ac_ct_RANLIB" >&6; } 6832else 6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6834$as_echo "no" >&6; } 6835fi 6836 6837 if test "x$ac_ct_RANLIB" = x; then 6838 RANLIB=":" 6839 else 6840 case $cross_compiling:$ac_tool_warned in 6841yes:) 6842{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6843$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6844ac_tool_warned=yes ;; 6845esac 6846 RANLIB=$ac_ct_RANLIB 6847 fi 6848else 6849 RANLIB="$ac_cv_prog_RANLIB" 6850fi 6851 6852test -z "$RANLIB" && RANLIB=: 6853 6854 6855 6856 6857 6858 6859# Determine commands to create old-style static archives. 6860old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6861old_postinstall_cmds='chmod 644 $oldlib' 6862old_postuninstall_cmds= 6863 6864if test -n "$RANLIB"; then 6865 case $host_os in 6866 openbsd*) 6867 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6868 ;; 6869 *) 6870 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6871 ;; 6872 esac 6873 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6874fi 6875 6876case $host_os in 6877 darwin*) 6878 lock_old_archive_extraction=yes ;; 6879 *) 6880 lock_old_archive_extraction=no ;; 6881esac 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921# If no C compiler was specified, use CC. 6922LTCC=${LTCC-"$CC"} 6923 6924# If no C compiler flags were specified, use CFLAGS. 6925LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6926 6927# Allow CC to be a program name with arguments. 6928compiler=$CC 6929 6930 6931# Check for command to grab the raw symbol name followed by C symbol from nm. 6932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6933$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6934if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6935 $as_echo_n "(cached) " >&6 6936else 6937 6938# These are sane defaults that work on at least a few old systems. 6939# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6940 6941# Character class describing NM global symbol codes. 6942symcode='[BCDEGRST]' 6943 6944# Regexp to match symbols that can be accessed directly from C. 6945sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6946 6947# Define system-specific variables. 6948case $host_os in 6949aix*) 6950 symcode='[BCDT]' 6951 ;; 6952cygwin* | mingw* | pw32* | cegcc*) 6953 symcode='[ABCDGISTW]' 6954 ;; 6955hpux*) 6956 if test "$host_cpu" = ia64; then 6957 symcode='[ABCDEGRST]' 6958 fi 6959 ;; 6960irix* | nonstopux*) 6961 symcode='[BCDEGRST]' 6962 ;; 6963osf*) 6964 symcode='[BCDEGQRST]' 6965 ;; 6966solaris*) 6967 symcode='[BDRT]' 6968 ;; 6969sco3.2v5*) 6970 symcode='[DT]' 6971 ;; 6972sysv4.2uw2*) 6973 symcode='[DT]' 6974 ;; 6975sysv5* | sco5v6* | unixware* | OpenUNIX*) 6976 symcode='[ABDT]' 6977 ;; 6978sysv4) 6979 symcode='[DFNSTU]' 6980 ;; 6981esac 6982 6983# If we're using GNU nm, then use its standard symbol codes. 6984case `$NM -V 2>&1` in 6985*GNU* | *'with BFD'*) 6986 symcode='[ABCDGIRSTW]' ;; 6987esac 6988 6989# Transform an extracted symbol line into a proper C declaration. 6990# Some systems (esp. on ia64) link data and code symbols differently, 6991# so use this general approach. 6992lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6993 6994# Transform an extracted symbol line into symbol name and symbol address 6995lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6996lt_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'" 6997 6998# Handle CRLF in mingw tool chain 6999opt_cr= 7000case $build_os in 7001mingw*) 7002 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7003 ;; 7004esac 7005 7006# Try without a prefix underscore, then with it. 7007for ac_symprfx in "" "_"; do 7008 7009 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7010 symxfrm="\\1 $ac_symprfx\\2 \\2" 7011 7012 # Write the raw and C identifiers. 7013 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7014 # Fake it for dumpbin and say T for any non-static function 7015 # and D for any global variable. 7016 # Also find C++ and __fastcall symbols from MSVC++, 7017 # which start with @ or ?. 7018 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7019" {last_section=section; section=\$ 3};"\ 7020" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7021" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7022" \$ 0!~/External *\|/{next};"\ 7023" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7024" {if(hide[section]) next};"\ 7025" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7026" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7027" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7028" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7029" ' prfx=^$ac_symprfx" 7030 else 7031 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7032 fi 7033 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7034 7035 # Check to see that the pipe works correctly. 7036 pipe_works=no 7037 7038 rm -f conftest* 7039 cat > conftest.$ac_ext <<_LT_EOF 7040#ifdef __cplusplus 7041extern "C" { 7042#endif 7043char nm_test_var; 7044void nm_test_func(void); 7045void nm_test_func(void){} 7046#ifdef __cplusplus 7047} 7048#endif 7049int main(){nm_test_var='a';nm_test_func();return(0);} 7050_LT_EOF 7051 7052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7053 (eval $ac_compile) 2>&5 7054 ac_status=$? 7055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7056 test $ac_status = 0; }; then 7057 # Now try to grab the symbols. 7058 nlist=conftest.nm 7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7060 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7061 ac_status=$? 7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7063 test $ac_status = 0; } && test -s "$nlist"; then 7064 # Try sorting and uniquifying the output. 7065 if sort "$nlist" | uniq > "$nlist"T; then 7066 mv -f "$nlist"T "$nlist" 7067 else 7068 rm -f "$nlist"T 7069 fi 7070 7071 # Make sure that we snagged all the symbols we need. 7072 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7073 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7074 cat <<_LT_EOF > conftest.$ac_ext 7075/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7076#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 7077/* DATA imports from DLLs on WIN32 con't be const, because runtime 7078 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7079# define LT_DLSYM_CONST 7080#elif defined(__osf__) 7081/* This system does not cope well with relocations in const data. */ 7082# define LT_DLSYM_CONST 7083#else 7084# define LT_DLSYM_CONST const 7085#endif 7086 7087#ifdef __cplusplus 7088extern "C" { 7089#endif 7090 7091_LT_EOF 7092 # Now generate the symbol file. 7093 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7094 7095 cat <<_LT_EOF >> conftest.$ac_ext 7096 7097/* The mapping between symbol names and symbols. */ 7098LT_DLSYM_CONST struct { 7099 const char *name; 7100 void *address; 7101} 7102lt__PROGRAM__LTX_preloaded_symbols[] = 7103{ 7104 { "@PROGRAM@", (void *) 0 }, 7105_LT_EOF 7106 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7107 cat <<\_LT_EOF >> conftest.$ac_ext 7108 {0, (void *) 0} 7109}; 7110 7111/* This works around a problem in FreeBSD linker */ 7112#ifdef FREEBSD_WORKAROUND 7113static const void *lt_preloaded_setup() { 7114 return lt__PROGRAM__LTX_preloaded_symbols; 7115} 7116#endif 7117 7118#ifdef __cplusplus 7119} 7120#endif 7121_LT_EOF 7122 # Now try linking the two files. 7123 mv conftest.$ac_objext conftstm.$ac_objext 7124 lt_globsym_save_LIBS=$LIBS 7125 lt_globsym_save_CFLAGS=$CFLAGS 7126 LIBS="conftstm.$ac_objext" 7127 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7128 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7129 (eval $ac_link) 2>&5 7130 ac_status=$? 7131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7132 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7133 pipe_works=yes 7134 fi 7135 LIBS=$lt_globsym_save_LIBS 7136 CFLAGS=$lt_globsym_save_CFLAGS 7137 else 7138 echo "cannot find nm_test_func in $nlist" >&5 7139 fi 7140 else 7141 echo "cannot find nm_test_var in $nlist" >&5 7142 fi 7143 else 7144 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7145 fi 7146 else 7147 echo "$progname: failed program was:" >&5 7148 cat conftest.$ac_ext >&5 7149 fi 7150 rm -rf conftest* conftst* 7151 7152 # Do not use the global_symbol_pipe unless it works. 7153 if test "$pipe_works" = yes; then 7154 break 7155 else 7156 lt_cv_sys_global_symbol_pipe= 7157 fi 7158done 7159 7160fi 7161 7162if test -z "$lt_cv_sys_global_symbol_pipe"; then 7163 lt_cv_sys_global_symbol_to_cdecl= 7164fi 7165if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7167$as_echo "failed" >&6; } 7168else 7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7170$as_echo "ok" >&6; } 7171fi 7172 7173# Response file support. 7174if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7175 nm_file_list_spec='@' 7176elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7177 nm_file_list_spec='@' 7178fi 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7207$as_echo_n "checking for sysroot... " >&6; } 7208 7209# Check whether --with-sysroot was given. 7210if test "${with_sysroot+set}" = set; then : 7211 withval=$with_sysroot; 7212else 7213 with_sysroot=no 7214fi 7215 7216 7217lt_sysroot= 7218case ${with_sysroot} in #( 7219 yes) 7220 if test "$GCC" = yes; then 7221 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7222 fi 7223 ;; #( 7224 /*) 7225 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7226 ;; #( 7227 no|'') 7228 ;; #( 7229 *) 7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 7231$as_echo "${with_sysroot}" >&6; } 7232 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7233 ;; 7234esac 7235 7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7237$as_echo "${lt_sysroot:-no}" >&6; } 7238 7239 7240 7241 7242 7243# Check whether --enable-libtool-lock was given. 7244if test "${enable_libtool_lock+set}" = set; then : 7245 enableval=$enable_libtool_lock; 7246fi 7247 7248test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7249 7250# Some flags need to be propagated to the compiler or linker for good 7251# libtool support. 7252case $host in 7253ia64-*-hpux*) 7254 # Find out which ABI we are using. 7255 echo 'int i;' > conftest.$ac_ext 7256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7257 (eval $ac_compile) 2>&5 7258 ac_status=$? 7259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7260 test $ac_status = 0; }; then 7261 case `/usr/bin/file conftest.$ac_objext` in 7262 *ELF-32*) 7263 HPUX_IA64_MODE="32" 7264 ;; 7265 *ELF-64*) 7266 HPUX_IA64_MODE="64" 7267 ;; 7268 esac 7269 fi 7270 rm -rf conftest* 7271 ;; 7272*-*-irix6*) 7273 # Find out which ABI we are using. 7274 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7276 (eval $ac_compile) 2>&5 7277 ac_status=$? 7278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7279 test $ac_status = 0; }; then 7280 if test "$lt_cv_prog_gnu_ld" = yes; then 7281 case `/usr/bin/file conftest.$ac_objext` in 7282 *32-bit*) 7283 LD="${LD-ld} -melf32bsmip" 7284 ;; 7285 *N32*) 7286 LD="${LD-ld} -melf32bmipn32" 7287 ;; 7288 *64-bit*) 7289 LD="${LD-ld} -melf64bmip" 7290 ;; 7291 esac 7292 else 7293 case `/usr/bin/file conftest.$ac_objext` in 7294 *32-bit*) 7295 LD="${LD-ld} -32" 7296 ;; 7297 *N32*) 7298 LD="${LD-ld} -n32" 7299 ;; 7300 *64-bit*) 7301 LD="${LD-ld} -64" 7302 ;; 7303 esac 7304 fi 7305 fi 7306 rm -rf conftest* 7307 ;; 7308 7309x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7310s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7311 # Find out which ABI we are using. 7312 echo 'int i;' > conftest.$ac_ext 7313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7314 (eval $ac_compile) 2>&5 7315 ac_status=$? 7316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7317 test $ac_status = 0; }; then 7318 case `/usr/bin/file conftest.o` in 7319 *32-bit*) 7320 case $host in 7321 x86_64-*kfreebsd*-gnu) 7322 LD="${LD-ld} -m elf_i386_fbsd" 7323 ;; 7324 x86_64-*linux*) 7325 case `/usr/bin/file conftest.o` in 7326 *x86-64*) 7327 LD="${LD-ld} -m elf32_x86_64" 7328 ;; 7329 *) 7330 LD="${LD-ld} -m elf_i386" 7331 ;; 7332 esac 7333 ;; 7334 powerpc64le-*) 7335 LD="${LD-ld} -m elf32lppclinux" 7336 ;; 7337 powerpc64-*) 7338 LD="${LD-ld} -m elf32ppclinux" 7339 ;; 7340 s390x-*linux*) 7341 LD="${LD-ld} -m elf_s390" 7342 ;; 7343 sparc64-*linux*) 7344 LD="${LD-ld} -m elf32_sparc" 7345 ;; 7346 esac 7347 ;; 7348 *64-bit*) 7349 case $host in 7350 x86_64-*kfreebsd*-gnu) 7351 LD="${LD-ld} -m elf_x86_64_fbsd" 7352 ;; 7353 x86_64-*linux*) 7354 LD="${LD-ld} -m elf_x86_64" 7355 ;; 7356 powerpcle-*) 7357 LD="${LD-ld} -m elf64lppc" 7358 ;; 7359 powerpc-*) 7360 LD="${LD-ld} -m elf64ppc" 7361 ;; 7362 s390*-*linux*|s390*-*tpf*) 7363 LD="${LD-ld} -m elf64_s390" 7364 ;; 7365 sparc*-*linux*) 7366 LD="${LD-ld} -m elf64_sparc" 7367 ;; 7368 esac 7369 ;; 7370 esac 7371 fi 7372 rm -rf conftest* 7373 ;; 7374 7375*-*-sco3.2v5*) 7376 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7377 SAVE_CFLAGS="$CFLAGS" 7378 CFLAGS="$CFLAGS -belf" 7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7380$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7381if ${lt_cv_cc_needs_belf+:} false; then : 7382 $as_echo_n "(cached) " >&6 7383else 7384 ac_ext=c 7385ac_cpp='$CPP $CPPFLAGS' 7386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7388ac_compiler_gnu=$ac_cv_c_compiler_gnu 7389 7390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7391/* end confdefs.h. */ 7392 7393int 7394main () 7395{ 7396 7397 ; 7398 return 0; 7399} 7400_ACEOF 7401if ac_fn_c_try_link "$LINENO"; then : 7402 lt_cv_cc_needs_belf=yes 7403else 7404 lt_cv_cc_needs_belf=no 7405fi 7406rm -f core conftest.err conftest.$ac_objext \ 7407 conftest$ac_exeext conftest.$ac_ext 7408 ac_ext=c 7409ac_cpp='$CPP $CPPFLAGS' 7410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7412ac_compiler_gnu=$ac_cv_c_compiler_gnu 7413 7414fi 7415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7416$as_echo "$lt_cv_cc_needs_belf" >&6; } 7417 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7418 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7419 CFLAGS="$SAVE_CFLAGS" 7420 fi 7421 ;; 7422*-*solaris*) 7423 # Find out which ABI we are using. 7424 echo 'int i;' > conftest.$ac_ext 7425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7426 (eval $ac_compile) 2>&5 7427 ac_status=$? 7428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7429 test $ac_status = 0; }; then 7430 case `/usr/bin/file conftest.o` in 7431 *64-bit*) 7432 case $lt_cv_prog_gnu_ld in 7433 yes*) 7434 case $host in 7435 i?86-*-solaris*) 7436 LD="${LD-ld} -m elf_x86_64" 7437 ;; 7438 sparc*-*-solaris*) 7439 LD="${LD-ld} -m elf64_sparc" 7440 ;; 7441 esac 7442 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7443 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7444 LD="${LD-ld}_sol2" 7445 fi 7446 ;; 7447 *) 7448 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7449 LD="${LD-ld} -64" 7450 fi 7451 ;; 7452 esac 7453 ;; 7454 esac 7455 fi 7456 rm -rf conftest* 7457 ;; 7458esac 7459 7460need_locks="$enable_libtool_lock" 7461 7462if test -n "$ac_tool_prefix"; then 7463 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7464set dummy ${ac_tool_prefix}mt; ac_word=$2 7465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7466$as_echo_n "checking for $ac_word... " >&6; } 7467if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7468 $as_echo_n "(cached) " >&6 7469else 7470 if test -n "$MANIFEST_TOOL"; then 7471 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7472else 7473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7474for as_dir in $PATH 7475do 7476 IFS=$as_save_IFS 7477 test -z "$as_dir" && as_dir=. 7478 for ac_exec_ext in '' $ac_executable_extensions; do 7479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7480 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7482 break 2 7483 fi 7484done 7485 done 7486IFS=$as_save_IFS 7487 7488fi 7489fi 7490MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7491if test -n "$MANIFEST_TOOL"; then 7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7493$as_echo "$MANIFEST_TOOL" >&6; } 7494else 7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7496$as_echo "no" >&6; } 7497fi 7498 7499 7500fi 7501if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7502 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7503 # Extract the first word of "mt", so it can be a program name with args. 7504set dummy mt; ac_word=$2 7505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7506$as_echo_n "checking for $ac_word... " >&6; } 7507if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7508 $as_echo_n "(cached) " >&6 7509else 7510 if test -n "$ac_ct_MANIFEST_TOOL"; then 7511 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7512else 7513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7514for as_dir in $PATH 7515do 7516 IFS=$as_save_IFS 7517 test -z "$as_dir" && as_dir=. 7518 for ac_exec_ext in '' $ac_executable_extensions; do 7519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7520 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7522 break 2 7523 fi 7524done 7525 done 7526IFS=$as_save_IFS 7527 7528fi 7529fi 7530ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7531if test -n "$ac_ct_MANIFEST_TOOL"; then 7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7533$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7534else 7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7536$as_echo "no" >&6; } 7537fi 7538 7539 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7540 MANIFEST_TOOL=":" 7541 else 7542 case $cross_compiling:$ac_tool_warned in 7543yes:) 7544{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7545$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7546ac_tool_warned=yes ;; 7547esac 7548 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7549 fi 7550else 7551 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7552fi 7553 7554test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7556$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7557if ${lt_cv_path_mainfest_tool+:} false; then : 7558 $as_echo_n "(cached) " >&6 7559else 7560 lt_cv_path_mainfest_tool=no 7561 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7562 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7563 cat conftest.err >&5 7564 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7565 lt_cv_path_mainfest_tool=yes 7566 fi 7567 rm -f conftest* 7568fi 7569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7570$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7571if test "x$lt_cv_path_mainfest_tool" != xyes; then 7572 MANIFEST_TOOL=: 7573fi 7574 7575 7576 7577 7578 7579 7580 case $host_os in 7581 rhapsody* | darwin*) 7582 if test -n "$ac_tool_prefix"; then 7583 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7584set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7586$as_echo_n "checking for $ac_word... " >&6; } 7587if ${ac_cv_prog_DSYMUTIL+:} false; then : 7588 $as_echo_n "(cached) " >&6 7589else 7590 if test -n "$DSYMUTIL"; then 7591 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7592else 7593as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7594for as_dir in $PATH 7595do 7596 IFS=$as_save_IFS 7597 test -z "$as_dir" && as_dir=. 7598 for ac_exec_ext in '' $ac_executable_extensions; do 7599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7600 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7602 break 2 7603 fi 7604done 7605 done 7606IFS=$as_save_IFS 7607 7608fi 7609fi 7610DSYMUTIL=$ac_cv_prog_DSYMUTIL 7611if test -n "$DSYMUTIL"; then 7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7613$as_echo "$DSYMUTIL" >&6; } 7614else 7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7616$as_echo "no" >&6; } 7617fi 7618 7619 7620fi 7621if test -z "$ac_cv_prog_DSYMUTIL"; then 7622 ac_ct_DSYMUTIL=$DSYMUTIL 7623 # Extract the first word of "dsymutil", so it can be a program name with args. 7624set dummy dsymutil; ac_word=$2 7625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7626$as_echo_n "checking for $ac_word... " >&6; } 7627if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7628 $as_echo_n "(cached) " >&6 7629else 7630 if test -n "$ac_ct_DSYMUTIL"; then 7631 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7632else 7633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7634for as_dir in $PATH 7635do 7636 IFS=$as_save_IFS 7637 test -z "$as_dir" && as_dir=. 7638 for ac_exec_ext in '' $ac_executable_extensions; do 7639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7640 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7642 break 2 7643 fi 7644done 7645 done 7646IFS=$as_save_IFS 7647 7648fi 7649fi 7650ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7651if test -n "$ac_ct_DSYMUTIL"; then 7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7653$as_echo "$ac_ct_DSYMUTIL" >&6; } 7654else 7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7656$as_echo "no" >&6; } 7657fi 7658 7659 if test "x$ac_ct_DSYMUTIL" = x; then 7660 DSYMUTIL=":" 7661 else 7662 case $cross_compiling:$ac_tool_warned in 7663yes:) 7664{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7665$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7666ac_tool_warned=yes ;; 7667esac 7668 DSYMUTIL=$ac_ct_DSYMUTIL 7669 fi 7670else 7671 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7672fi 7673 7674 if test -n "$ac_tool_prefix"; then 7675 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7676set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7678$as_echo_n "checking for $ac_word... " >&6; } 7679if ${ac_cv_prog_NMEDIT+:} false; then : 7680 $as_echo_n "(cached) " >&6 7681else 7682 if test -n "$NMEDIT"; then 7683 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7684else 7685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7686for as_dir in $PATH 7687do 7688 IFS=$as_save_IFS 7689 test -z "$as_dir" && as_dir=. 7690 for ac_exec_ext in '' $ac_executable_extensions; do 7691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7692 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7694 break 2 7695 fi 7696done 7697 done 7698IFS=$as_save_IFS 7699 7700fi 7701fi 7702NMEDIT=$ac_cv_prog_NMEDIT 7703if test -n "$NMEDIT"; then 7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7705$as_echo "$NMEDIT" >&6; } 7706else 7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7708$as_echo "no" >&6; } 7709fi 7710 7711 7712fi 7713if test -z "$ac_cv_prog_NMEDIT"; then 7714 ac_ct_NMEDIT=$NMEDIT 7715 # Extract the first word of "nmedit", so it can be a program name with args. 7716set dummy nmedit; ac_word=$2 7717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7718$as_echo_n "checking for $ac_word... " >&6; } 7719if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7720 $as_echo_n "(cached) " >&6 7721else 7722 if test -n "$ac_ct_NMEDIT"; then 7723 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7724else 7725as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7726for as_dir in $PATH 7727do 7728 IFS=$as_save_IFS 7729 test -z "$as_dir" && as_dir=. 7730 for ac_exec_ext in '' $ac_executable_extensions; do 7731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7732 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7734 break 2 7735 fi 7736done 7737 done 7738IFS=$as_save_IFS 7739 7740fi 7741fi 7742ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7743if test -n "$ac_ct_NMEDIT"; then 7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7745$as_echo "$ac_ct_NMEDIT" >&6; } 7746else 7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7748$as_echo "no" >&6; } 7749fi 7750 7751 if test "x$ac_ct_NMEDIT" = x; then 7752 NMEDIT=":" 7753 else 7754 case $cross_compiling:$ac_tool_warned in 7755yes:) 7756{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7757$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7758ac_tool_warned=yes ;; 7759esac 7760 NMEDIT=$ac_ct_NMEDIT 7761 fi 7762else 7763 NMEDIT="$ac_cv_prog_NMEDIT" 7764fi 7765 7766 if test -n "$ac_tool_prefix"; then 7767 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7768set dummy ${ac_tool_prefix}lipo; ac_word=$2 7769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7770$as_echo_n "checking for $ac_word... " >&6; } 7771if ${ac_cv_prog_LIPO+:} false; then : 7772 $as_echo_n "(cached) " >&6 7773else 7774 if test -n "$LIPO"; then 7775 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7776else 7777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7778for as_dir in $PATH 7779do 7780 IFS=$as_save_IFS 7781 test -z "$as_dir" && as_dir=. 7782 for ac_exec_ext in '' $ac_executable_extensions; do 7783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7784 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7786 break 2 7787 fi 7788done 7789 done 7790IFS=$as_save_IFS 7791 7792fi 7793fi 7794LIPO=$ac_cv_prog_LIPO 7795if test -n "$LIPO"; then 7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7797$as_echo "$LIPO" >&6; } 7798else 7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7800$as_echo "no" >&6; } 7801fi 7802 7803 7804fi 7805if test -z "$ac_cv_prog_LIPO"; then 7806 ac_ct_LIPO=$LIPO 7807 # Extract the first word of "lipo", so it can be a program name with args. 7808set dummy lipo; ac_word=$2 7809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7810$as_echo_n "checking for $ac_word... " >&6; } 7811if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7812 $as_echo_n "(cached) " >&6 7813else 7814 if test -n "$ac_ct_LIPO"; then 7815 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7816else 7817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7818for as_dir in $PATH 7819do 7820 IFS=$as_save_IFS 7821 test -z "$as_dir" && as_dir=. 7822 for ac_exec_ext in '' $ac_executable_extensions; do 7823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7824 ac_cv_prog_ac_ct_LIPO="lipo" 7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7826 break 2 7827 fi 7828done 7829 done 7830IFS=$as_save_IFS 7831 7832fi 7833fi 7834ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7835if test -n "$ac_ct_LIPO"; then 7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7837$as_echo "$ac_ct_LIPO" >&6; } 7838else 7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7840$as_echo "no" >&6; } 7841fi 7842 7843 if test "x$ac_ct_LIPO" = x; then 7844 LIPO=":" 7845 else 7846 case $cross_compiling:$ac_tool_warned in 7847yes:) 7848{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7849$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7850ac_tool_warned=yes ;; 7851esac 7852 LIPO=$ac_ct_LIPO 7853 fi 7854else 7855 LIPO="$ac_cv_prog_LIPO" 7856fi 7857 7858 if test -n "$ac_tool_prefix"; then 7859 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7860set dummy ${ac_tool_prefix}otool; ac_word=$2 7861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7862$as_echo_n "checking for $ac_word... " >&6; } 7863if ${ac_cv_prog_OTOOL+:} false; then : 7864 $as_echo_n "(cached) " >&6 7865else 7866 if test -n "$OTOOL"; then 7867 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7868else 7869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7870for as_dir in $PATH 7871do 7872 IFS=$as_save_IFS 7873 test -z "$as_dir" && as_dir=. 7874 for ac_exec_ext in '' $ac_executable_extensions; do 7875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7876 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7878 break 2 7879 fi 7880done 7881 done 7882IFS=$as_save_IFS 7883 7884fi 7885fi 7886OTOOL=$ac_cv_prog_OTOOL 7887if test -n "$OTOOL"; then 7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7889$as_echo "$OTOOL" >&6; } 7890else 7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7892$as_echo "no" >&6; } 7893fi 7894 7895 7896fi 7897if test -z "$ac_cv_prog_OTOOL"; then 7898 ac_ct_OTOOL=$OTOOL 7899 # Extract the first word of "otool", so it can be a program name with args. 7900set dummy otool; ac_word=$2 7901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7902$as_echo_n "checking for $ac_word... " >&6; } 7903if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7904 $as_echo_n "(cached) " >&6 7905else 7906 if test -n "$ac_ct_OTOOL"; then 7907 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7908else 7909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7910for as_dir in $PATH 7911do 7912 IFS=$as_save_IFS 7913 test -z "$as_dir" && as_dir=. 7914 for ac_exec_ext in '' $ac_executable_extensions; do 7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7916 ac_cv_prog_ac_ct_OTOOL="otool" 7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7918 break 2 7919 fi 7920done 7921 done 7922IFS=$as_save_IFS 7923 7924fi 7925fi 7926ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7927if test -n "$ac_ct_OTOOL"; then 7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7929$as_echo "$ac_ct_OTOOL" >&6; } 7930else 7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7932$as_echo "no" >&6; } 7933fi 7934 7935 if test "x$ac_ct_OTOOL" = x; then 7936 OTOOL=":" 7937 else 7938 case $cross_compiling:$ac_tool_warned in 7939yes:) 7940{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7941$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7942ac_tool_warned=yes ;; 7943esac 7944 OTOOL=$ac_ct_OTOOL 7945 fi 7946else 7947 OTOOL="$ac_cv_prog_OTOOL" 7948fi 7949 7950 if test -n "$ac_tool_prefix"; then 7951 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7952set dummy ${ac_tool_prefix}otool64; ac_word=$2 7953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7954$as_echo_n "checking for $ac_word... " >&6; } 7955if ${ac_cv_prog_OTOOL64+:} false; then : 7956 $as_echo_n "(cached) " >&6 7957else 7958 if test -n "$OTOOL64"; then 7959 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7960else 7961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7962for as_dir in $PATH 7963do 7964 IFS=$as_save_IFS 7965 test -z "$as_dir" && as_dir=. 7966 for ac_exec_ext in '' $ac_executable_extensions; do 7967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7968 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7970 break 2 7971 fi 7972done 7973 done 7974IFS=$as_save_IFS 7975 7976fi 7977fi 7978OTOOL64=$ac_cv_prog_OTOOL64 7979if test -n "$OTOOL64"; then 7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7981$as_echo "$OTOOL64" >&6; } 7982else 7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7984$as_echo "no" >&6; } 7985fi 7986 7987 7988fi 7989if test -z "$ac_cv_prog_OTOOL64"; then 7990 ac_ct_OTOOL64=$OTOOL64 7991 # Extract the first word of "otool64", so it can be a program name with args. 7992set dummy otool64; ac_word=$2 7993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7994$as_echo_n "checking for $ac_word... " >&6; } 7995if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7996 $as_echo_n "(cached) " >&6 7997else 7998 if test -n "$ac_ct_OTOOL64"; then 7999 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8000else 8001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8002for as_dir in $PATH 8003do 8004 IFS=$as_save_IFS 8005 test -z "$as_dir" && as_dir=. 8006 for ac_exec_ext in '' $ac_executable_extensions; do 8007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8008 ac_cv_prog_ac_ct_OTOOL64="otool64" 8009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8010 break 2 8011 fi 8012done 8013 done 8014IFS=$as_save_IFS 8015 8016fi 8017fi 8018ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8019if test -n "$ac_ct_OTOOL64"; then 8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8021$as_echo "$ac_ct_OTOOL64" >&6; } 8022else 8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8024$as_echo "no" >&6; } 8025fi 8026 8027 if test "x$ac_ct_OTOOL64" = x; then 8028 OTOOL64=":" 8029 else 8030 case $cross_compiling:$ac_tool_warned in 8031yes:) 8032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8034ac_tool_warned=yes ;; 8035esac 8036 OTOOL64=$ac_ct_OTOOL64 8037 fi 8038else 8039 OTOOL64="$ac_cv_prog_OTOOL64" 8040fi 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8069$as_echo_n "checking for -single_module linker flag... " >&6; } 8070if ${lt_cv_apple_cc_single_mod+:} false; then : 8071 $as_echo_n "(cached) " >&6 8072else 8073 lt_cv_apple_cc_single_mod=no 8074 if test -z "${LT_MULTI_MODULE}"; then 8075 # By default we will add the -single_module flag. You can override 8076 # by either setting the environment variable LT_MULTI_MODULE 8077 # non-empty at configure time, or by adding -multi_module to the 8078 # link flags. 8079 rm -rf libconftest.dylib* 8080 echo "int foo(void){return 1;}" > conftest.c 8081 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8082-dynamiclib -Wl,-single_module conftest.c" >&5 8083 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8084 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8085 _lt_result=$? 8086 # If there is a non-empty error log, and "single_module" 8087 # appears in it, assume the flag caused a linker warning 8088 if test -s conftest.err && $GREP single_module conftest.err; then 8089 cat conftest.err >&5 8090 # Otherwise, if the output was created with a 0 exit code from 8091 # the compiler, it worked. 8092 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 8093 lt_cv_apple_cc_single_mod=yes 8094 else 8095 cat conftest.err >&5 8096 fi 8097 rm -rf libconftest.dylib* 8098 rm -f conftest.* 8099 fi 8100fi 8101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8102$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8103 8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8105$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8106if ${lt_cv_ld_exported_symbols_list+:} false; then : 8107 $as_echo_n "(cached) " >&6 8108else 8109 lt_cv_ld_exported_symbols_list=no 8110 save_LDFLAGS=$LDFLAGS 8111 echo "_main" > conftest.sym 8112 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8114/* end confdefs.h. */ 8115 8116int 8117main () 8118{ 8119 8120 ; 8121 return 0; 8122} 8123_ACEOF 8124if ac_fn_c_try_link "$LINENO"; then : 8125 lt_cv_ld_exported_symbols_list=yes 8126else 8127 lt_cv_ld_exported_symbols_list=no 8128fi 8129rm -f core conftest.err conftest.$ac_objext \ 8130 conftest$ac_exeext conftest.$ac_ext 8131 LDFLAGS="$save_LDFLAGS" 8132 8133fi 8134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8135$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8136 8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8138$as_echo_n "checking for -force_load linker flag... " >&6; } 8139if ${lt_cv_ld_force_load+:} false; then : 8140 $as_echo_n "(cached) " >&6 8141else 8142 lt_cv_ld_force_load=no 8143 cat > conftest.c << _LT_EOF 8144int forced_loaded() { return 2;} 8145_LT_EOF 8146 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8147 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8148 echo "$AR cru libconftest.a conftest.o" >&5 8149 $AR cru libconftest.a conftest.o 2>&5 8150 echo "$RANLIB libconftest.a" >&5 8151 $RANLIB libconftest.a 2>&5 8152 cat > conftest.c << _LT_EOF 8153int main() { return 0;} 8154_LT_EOF 8155 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8156 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8157 _lt_result=$? 8158 if test -s conftest.err && $GREP force_load conftest.err; then 8159 cat conftest.err >&5 8160 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 8161 lt_cv_ld_force_load=yes 8162 else 8163 cat conftest.err >&5 8164 fi 8165 rm -f conftest.err libconftest.a conftest conftest.c 8166 rm -rf conftest.dSYM 8167 8168fi 8169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8170$as_echo "$lt_cv_ld_force_load" >&6; } 8171 case $host_os in 8172 rhapsody* | darwin1.[012]) 8173 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8174 darwin1.*) 8175 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8176 darwin*) # darwin 5.x on 8177 # if running on 10.5 or later, the deployment target defaults 8178 # to the OS version, if on x86, and 10.4, the deployment 8179 # target defaults to 10.4. Don't you love it? 8180 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8181 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8182 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8183 10.[012]*) 8184 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8185 10.*) 8186 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8187 esac 8188 ;; 8189 esac 8190 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8191 _lt_dar_single_mod='$single_module' 8192 fi 8193 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8194 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8195 else 8196 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8197 fi 8198 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 8199 _lt_dsymutil='~$DSYMUTIL $lib || :' 8200 else 8201 _lt_dsymutil= 8202 fi 8203 ;; 8204 esac 8205 8206ac_ext=c 8207ac_cpp='$CPP $CPPFLAGS' 8208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8210ac_compiler_gnu=$ac_cv_c_compiler_gnu 8211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8212$as_echo_n "checking how to run the C preprocessor... " >&6; } 8213# On Suns, sometimes $CPP names a directory. 8214if test -n "$CPP" && test -d "$CPP"; then 8215 CPP= 8216fi 8217if test -z "$CPP"; then 8218 if ${ac_cv_prog_CPP+:} false; then : 8219 $as_echo_n "(cached) " >&6 8220else 8221 # Double quotes because CPP needs to be expanded 8222 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8223 do 8224 ac_preproc_ok=false 8225for ac_c_preproc_warn_flag in '' yes 8226do 8227 # Use a header file that comes with gcc, so configuring glibc 8228 # with a fresh cross-compiler works. 8229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8230 # <limits.h> exists even on freestanding compilers. 8231 # On the NeXT, cc -E runs the code through the compiler's parser, 8232 # not just through cpp. "Syntax error" is here to catch this case. 8233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8234/* end confdefs.h. */ 8235#ifdef __STDC__ 8236# include <limits.h> 8237#else 8238# include <assert.h> 8239#endif 8240 Syntax error 8241_ACEOF 8242if ac_fn_c_try_cpp "$LINENO"; then : 8243 8244else 8245 # Broken: fails on valid input. 8246continue 8247fi 8248rm -f conftest.err conftest.i conftest.$ac_ext 8249 8250 # OK, works on sane cases. Now check whether nonexistent headers 8251 # can be detected and how. 8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8253/* end confdefs.h. */ 8254#include <ac_nonexistent.h> 8255_ACEOF 8256if ac_fn_c_try_cpp "$LINENO"; then : 8257 # Broken: success on invalid input. 8258continue 8259else 8260 # Passes both tests. 8261ac_preproc_ok=: 8262break 8263fi 8264rm -f conftest.err conftest.i conftest.$ac_ext 8265 8266done 8267# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8268rm -f conftest.i conftest.err conftest.$ac_ext 8269if $ac_preproc_ok; then : 8270 break 8271fi 8272 8273 done 8274 ac_cv_prog_CPP=$CPP 8275 8276fi 8277 CPP=$ac_cv_prog_CPP 8278else 8279 ac_cv_prog_CPP=$CPP 8280fi 8281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8282$as_echo "$CPP" >&6; } 8283ac_preproc_ok=false 8284for ac_c_preproc_warn_flag in '' yes 8285do 8286 # Use a header file that comes with gcc, so configuring glibc 8287 # with a fresh cross-compiler works. 8288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8289 # <limits.h> exists even on freestanding compilers. 8290 # On the NeXT, cc -E runs the code through the compiler's parser, 8291 # not just through cpp. "Syntax error" is here to catch this case. 8292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8293/* end confdefs.h. */ 8294#ifdef __STDC__ 8295# include <limits.h> 8296#else 8297# include <assert.h> 8298#endif 8299 Syntax error 8300_ACEOF 8301if ac_fn_c_try_cpp "$LINENO"; then : 8302 8303else 8304 # Broken: fails on valid input. 8305continue 8306fi 8307rm -f conftest.err conftest.i conftest.$ac_ext 8308 8309 # OK, works on sane cases. Now check whether nonexistent headers 8310 # can be detected and how. 8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8312/* end confdefs.h. */ 8313#include <ac_nonexistent.h> 8314_ACEOF 8315if ac_fn_c_try_cpp "$LINENO"; then : 8316 # Broken: success on invalid input. 8317continue 8318else 8319 # Passes both tests. 8320ac_preproc_ok=: 8321break 8322fi 8323rm -f conftest.err conftest.i conftest.$ac_ext 8324 8325done 8326# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8327rm -f conftest.i conftest.err conftest.$ac_ext 8328if $ac_preproc_ok; then : 8329 8330else 8331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8332$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8333as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8334See \`config.log' for more details" "$LINENO" 5; } 8335fi 8336 8337ac_ext=c 8338ac_cpp='$CPP $CPPFLAGS' 8339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8341ac_compiler_gnu=$ac_cv_c_compiler_gnu 8342 8343 8344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8345$as_echo_n "checking for ANSI C header files... " >&6; } 8346if ${ac_cv_header_stdc+:} false; then : 8347 $as_echo_n "(cached) " >&6 8348else 8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8350/* end confdefs.h. */ 8351#include <stdlib.h> 8352#include <stdarg.h> 8353#include <string.h> 8354#include <float.h> 8355 8356int 8357main () 8358{ 8359 8360 ; 8361 return 0; 8362} 8363_ACEOF 8364if ac_fn_c_try_compile "$LINENO"; then : 8365 ac_cv_header_stdc=yes 8366else 8367 ac_cv_header_stdc=no 8368fi 8369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8370 8371if test $ac_cv_header_stdc = yes; then 8372 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8374/* end confdefs.h. */ 8375#include <string.h> 8376 8377_ACEOF 8378if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8379 $EGREP "memchr" >/dev/null 2>&1; then : 8380 8381else 8382 ac_cv_header_stdc=no 8383fi 8384rm -f conftest* 8385 8386fi 8387 8388if test $ac_cv_header_stdc = yes; then 8389 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8391/* end confdefs.h. */ 8392#include <stdlib.h> 8393 8394_ACEOF 8395if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8396 $EGREP "free" >/dev/null 2>&1; then : 8397 8398else 8399 ac_cv_header_stdc=no 8400fi 8401rm -f conftest* 8402 8403fi 8404 8405if test $ac_cv_header_stdc = yes; then 8406 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8407 if test "$cross_compiling" = yes; then : 8408 : 8409else 8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8411/* end confdefs.h. */ 8412#include <ctype.h> 8413#include <stdlib.h> 8414#if ((' ' & 0x0FF) == 0x020) 8415# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8416# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8417#else 8418# define ISLOWER(c) \ 8419 (('a' <= (c) && (c) <= 'i') \ 8420 || ('j' <= (c) && (c) <= 'r') \ 8421 || ('s' <= (c) && (c) <= 'z')) 8422# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8423#endif 8424 8425#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8426int 8427main () 8428{ 8429 int i; 8430 for (i = 0; i < 256; i++) 8431 if (XOR (islower (i), ISLOWER (i)) 8432 || toupper (i) != TOUPPER (i)) 8433 return 2; 8434 return 0; 8435} 8436_ACEOF 8437if ac_fn_c_try_run "$LINENO"; then : 8438 8439else 8440 ac_cv_header_stdc=no 8441fi 8442rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8443 conftest.$ac_objext conftest.beam conftest.$ac_ext 8444fi 8445 8446fi 8447fi 8448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8449$as_echo "$ac_cv_header_stdc" >&6; } 8450if test $ac_cv_header_stdc = yes; then 8451 8452$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8453 8454fi 8455 8456# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8457for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8458 inttypes.h stdint.h unistd.h 8459do : 8460 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8461ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8462" 8463if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8464 cat >>confdefs.h <<_ACEOF 8465#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8466_ACEOF 8467 8468fi 8469 8470done 8471 8472 8473for ac_header in dlfcn.h 8474do : 8475 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8476" 8477if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8478 cat >>confdefs.h <<_ACEOF 8479#define HAVE_DLFCN_H 1 8480_ACEOF 8481 8482fi 8483 8484done 8485 8486 8487 8488 8489func_stripname_cnf () 8490{ 8491 case ${2} in 8492 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 8493 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 8494 esac 8495} # func_stripname_cnf 8496 8497 8498 8499 8500 8501# Set options 8502enable_win32_dll=yes 8503 8504case $host in 8505*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8506 if test -n "$ac_tool_prefix"; then 8507 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8508set dummy ${ac_tool_prefix}as; ac_word=$2 8509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8510$as_echo_n "checking for $ac_word... " >&6; } 8511if ${ac_cv_prog_AS+:} false; then : 8512 $as_echo_n "(cached) " >&6 8513else 8514 if test -n "$AS"; then 8515 ac_cv_prog_AS="$AS" # Let the user override the test. 8516else 8517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8518for as_dir in $PATH 8519do 8520 IFS=$as_save_IFS 8521 test -z "$as_dir" && as_dir=. 8522 for ac_exec_ext in '' $ac_executable_extensions; do 8523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8524 ac_cv_prog_AS="${ac_tool_prefix}as" 8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8526 break 2 8527 fi 8528done 8529 done 8530IFS=$as_save_IFS 8531 8532fi 8533fi 8534AS=$ac_cv_prog_AS 8535if test -n "$AS"; then 8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8537$as_echo "$AS" >&6; } 8538else 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8540$as_echo "no" >&6; } 8541fi 8542 8543 8544fi 8545if test -z "$ac_cv_prog_AS"; then 8546 ac_ct_AS=$AS 8547 # Extract the first word of "as", so it can be a program name with args. 8548set dummy as; ac_word=$2 8549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8550$as_echo_n "checking for $ac_word... " >&6; } 8551if ${ac_cv_prog_ac_ct_AS+:} false; then : 8552 $as_echo_n "(cached) " >&6 8553else 8554 if test -n "$ac_ct_AS"; then 8555 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8556else 8557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8558for as_dir in $PATH 8559do 8560 IFS=$as_save_IFS 8561 test -z "$as_dir" && as_dir=. 8562 for ac_exec_ext in '' $ac_executable_extensions; do 8563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8564 ac_cv_prog_ac_ct_AS="as" 8565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8566 break 2 8567 fi 8568done 8569 done 8570IFS=$as_save_IFS 8571 8572fi 8573fi 8574ac_ct_AS=$ac_cv_prog_ac_ct_AS 8575if test -n "$ac_ct_AS"; then 8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8577$as_echo "$ac_ct_AS" >&6; } 8578else 8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8580$as_echo "no" >&6; } 8581fi 8582 8583 if test "x$ac_ct_AS" = x; then 8584 AS="false" 8585 else 8586 case $cross_compiling:$ac_tool_warned in 8587yes:) 8588{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8589$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8590ac_tool_warned=yes ;; 8591esac 8592 AS=$ac_ct_AS 8593 fi 8594else 8595 AS="$ac_cv_prog_AS" 8596fi 8597 8598 if test -n "$ac_tool_prefix"; then 8599 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8600set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8602$as_echo_n "checking for $ac_word... " >&6; } 8603if ${ac_cv_prog_DLLTOOL+:} false; then : 8604 $as_echo_n "(cached) " >&6 8605else 8606 if test -n "$DLLTOOL"; then 8607 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8608else 8609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8610for as_dir in $PATH 8611do 8612 IFS=$as_save_IFS 8613 test -z "$as_dir" && as_dir=. 8614 for ac_exec_ext in '' $ac_executable_extensions; do 8615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8616 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8618 break 2 8619 fi 8620done 8621 done 8622IFS=$as_save_IFS 8623 8624fi 8625fi 8626DLLTOOL=$ac_cv_prog_DLLTOOL 8627if test -n "$DLLTOOL"; then 8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8629$as_echo "$DLLTOOL" >&6; } 8630else 8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8632$as_echo "no" >&6; } 8633fi 8634 8635 8636fi 8637if test -z "$ac_cv_prog_DLLTOOL"; then 8638 ac_ct_DLLTOOL=$DLLTOOL 8639 # Extract the first word of "dlltool", so it can be a program name with args. 8640set dummy dlltool; ac_word=$2 8641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8642$as_echo_n "checking for $ac_word... " >&6; } 8643if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8644 $as_echo_n "(cached) " >&6 8645else 8646 if test -n "$ac_ct_DLLTOOL"; then 8647 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8648else 8649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8650for as_dir in $PATH 8651do 8652 IFS=$as_save_IFS 8653 test -z "$as_dir" && as_dir=. 8654 for ac_exec_ext in '' $ac_executable_extensions; do 8655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8656 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8658 break 2 8659 fi 8660done 8661 done 8662IFS=$as_save_IFS 8663 8664fi 8665fi 8666ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8667if test -n "$ac_ct_DLLTOOL"; then 8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8669$as_echo "$ac_ct_DLLTOOL" >&6; } 8670else 8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8672$as_echo "no" >&6; } 8673fi 8674 8675 if test "x$ac_ct_DLLTOOL" = x; then 8676 DLLTOOL="false" 8677 else 8678 case $cross_compiling:$ac_tool_warned in 8679yes:) 8680{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8681$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8682ac_tool_warned=yes ;; 8683esac 8684 DLLTOOL=$ac_ct_DLLTOOL 8685 fi 8686else 8687 DLLTOOL="$ac_cv_prog_DLLTOOL" 8688fi 8689 8690 if test -n "$ac_tool_prefix"; then 8691 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8692set dummy ${ac_tool_prefix}objdump; ac_word=$2 8693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8694$as_echo_n "checking for $ac_word... " >&6; } 8695if ${ac_cv_prog_OBJDUMP+:} false; then : 8696 $as_echo_n "(cached) " >&6 8697else 8698 if test -n "$OBJDUMP"; then 8699 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8700else 8701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8702for as_dir in $PATH 8703do 8704 IFS=$as_save_IFS 8705 test -z "$as_dir" && as_dir=. 8706 for ac_exec_ext in '' $ac_executable_extensions; do 8707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8708 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8710 break 2 8711 fi 8712done 8713 done 8714IFS=$as_save_IFS 8715 8716fi 8717fi 8718OBJDUMP=$ac_cv_prog_OBJDUMP 8719if test -n "$OBJDUMP"; then 8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8721$as_echo "$OBJDUMP" >&6; } 8722else 8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8724$as_echo "no" >&6; } 8725fi 8726 8727 8728fi 8729if test -z "$ac_cv_prog_OBJDUMP"; then 8730 ac_ct_OBJDUMP=$OBJDUMP 8731 # Extract the first word of "objdump", so it can be a program name with args. 8732set dummy objdump; ac_word=$2 8733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8734$as_echo_n "checking for $ac_word... " >&6; } 8735if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8736 $as_echo_n "(cached) " >&6 8737else 8738 if test -n "$ac_ct_OBJDUMP"; then 8739 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8740else 8741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8742for as_dir in $PATH 8743do 8744 IFS=$as_save_IFS 8745 test -z "$as_dir" && as_dir=. 8746 for ac_exec_ext in '' $ac_executable_extensions; do 8747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8748 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8750 break 2 8751 fi 8752done 8753 done 8754IFS=$as_save_IFS 8755 8756fi 8757fi 8758ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8759if test -n "$ac_ct_OBJDUMP"; then 8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8761$as_echo "$ac_ct_OBJDUMP" >&6; } 8762else 8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8764$as_echo "no" >&6; } 8765fi 8766 8767 if test "x$ac_ct_OBJDUMP" = x; then 8768 OBJDUMP="false" 8769 else 8770 case $cross_compiling:$ac_tool_warned in 8771yes:) 8772{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8773$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8774ac_tool_warned=yes ;; 8775esac 8776 OBJDUMP=$ac_ct_OBJDUMP 8777 fi 8778else 8779 OBJDUMP="$ac_cv_prog_OBJDUMP" 8780fi 8781 8782 ;; 8783esac 8784 8785test -z "$AS" && AS=as 8786 8787 8788 8789 8790 8791test -z "$DLLTOOL" && DLLTOOL=dlltool 8792 8793 8794 8795 8796 8797test -z "$OBJDUMP" && OBJDUMP=objdump 8798 8799 8800 8801 8802# Check whether --enable-shared was given. 8803if test "${enable_shared+set}" = set; then : 8804 enableval=$enable_shared; p=${PACKAGE-default} 8805 case $enableval in 8806 yes) enable_shared=yes ;; 8807 no) enable_shared=no ;; 8808 *) 8809 enable_shared=no 8810 # Look at the argument we got. We use all the common list separators. 8811 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8812 for pkg in $enableval; do 8813 IFS="$lt_save_ifs" 8814 if test "X$pkg" = "X$p"; then 8815 enable_shared=yes 8816 fi 8817 done 8818 IFS="$lt_save_ifs" 8819 ;; 8820 esac 8821else 8822 enable_shared=no 8823fi 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 enable_dlopen=no 8835 8836 8837 8838 8839 # Check whether --enable-static was given. 8840if test "${enable_static+set}" = set; then : 8841 enableval=$enable_static; p=${PACKAGE-default} 8842 case $enableval in 8843 yes) enable_static=yes ;; 8844 no) enable_static=no ;; 8845 *) 8846 enable_static=no 8847 # Look at the argument we got. We use all the common list separators. 8848 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8849 for pkg in $enableval; do 8850 IFS="$lt_save_ifs" 8851 if test "X$pkg" = "X$p"; then 8852 enable_static=yes 8853 fi 8854 done 8855 IFS="$lt_save_ifs" 8856 ;; 8857 esac 8858else 8859 enable_static=yes 8860fi 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871# Check whether --with-pic was given. 8872if test "${with_pic+set}" = set; then : 8873 withval=$with_pic; lt_p=${PACKAGE-default} 8874 case $withval in 8875 yes|no) pic_mode=$withval ;; 8876 *) 8877 pic_mode=default 8878 # Look at the argument we got. We use all the common list separators. 8879 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8880 for lt_pkg in $withval; do 8881 IFS="$lt_save_ifs" 8882 if test "X$lt_pkg" = "X$lt_p"; then 8883 pic_mode=yes 8884 fi 8885 done 8886 IFS="$lt_save_ifs" 8887 ;; 8888 esac 8889else 8890 pic_mode=default 8891fi 8892 8893 8894test -z "$pic_mode" && pic_mode=default 8895 8896 8897 8898 8899 8900 8901 8902 # Check whether --enable-fast-install was given. 8903if test "${enable_fast_install+set}" = set; then : 8904 enableval=$enable_fast_install; p=${PACKAGE-default} 8905 case $enableval in 8906 yes) enable_fast_install=yes ;; 8907 no) enable_fast_install=no ;; 8908 *) 8909 enable_fast_install=no 8910 # Look at the argument we got. We use all the common list separators. 8911 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8912 for pkg in $enableval; do 8913 IFS="$lt_save_ifs" 8914 if test "X$pkg" = "X$p"; then 8915 enable_fast_install=yes 8916 fi 8917 done 8918 IFS="$lt_save_ifs" 8919 ;; 8920 esac 8921else 8922 enable_fast_install=yes 8923fi 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935# This can be used to rebuild libtool when needed 8936LIBTOOL_DEPS="$ltmain" 8937 8938# Always use our own libtool. 8939LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970test -z "$LN_S" && LN_S="ln -s" 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985if test -n "${ZSH_VERSION+set}" ; then 8986 setopt NO_GLOB_SUBST 8987fi 8988 8989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8990$as_echo_n "checking for objdir... " >&6; } 8991if ${lt_cv_objdir+:} false; then : 8992 $as_echo_n "(cached) " >&6 8993else 8994 rm -f .libs 2>/dev/null 8995mkdir .libs 2>/dev/null 8996if test -d .libs; then 8997 lt_cv_objdir=.libs 8998else 8999 # MS-DOS does not allow filenames that begin with a dot. 9000 lt_cv_objdir=_libs 9001fi 9002rmdir .libs 2>/dev/null 9003fi 9004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9005$as_echo "$lt_cv_objdir" >&6; } 9006objdir=$lt_cv_objdir 9007 9008 9009 9010 9011 9012cat >>confdefs.h <<_ACEOF 9013#define LT_OBJDIR "$lt_cv_objdir/" 9014_ACEOF 9015 9016 9017 9018 9019case $host_os in 9020aix3*) 9021 # AIX sometimes has problems with the GCC collect2 program. For some 9022 # reason, if we set the COLLECT_NAMES environment variable, the problems 9023 # vanish in a puff of smoke. 9024 if test "X${COLLECT_NAMES+set}" != Xset; then 9025 COLLECT_NAMES= 9026 export COLLECT_NAMES 9027 fi 9028 ;; 9029esac 9030 9031# Global variables: 9032ofile=libtool 9033can_build_shared=yes 9034 9035# All known linkers require a `.a' archive for static linking (except MSVC, 9036# which needs '.lib'). 9037libext=a 9038 9039with_gnu_ld="$lt_cv_prog_gnu_ld" 9040 9041old_CC="$CC" 9042old_CFLAGS="$CFLAGS" 9043 9044# Set sane defaults for various variables 9045test -z "$CC" && CC=cc 9046test -z "$LTCC" && LTCC=$CC 9047test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9048test -z "$LD" && LD=ld 9049test -z "$ac_objext" && ac_objext=o 9050 9051for cc_temp in $compiler""; do 9052 case $cc_temp in 9053 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9054 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9055 \-*) ;; 9056 *) break;; 9057 esac 9058done 9059cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 9060 9061 9062# Only perform the check for file, if the check method requires it 9063test -z "$MAGIC_CMD" && MAGIC_CMD=file 9064case $deplibs_check_method in 9065file_magic*) 9066 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9068$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9069if ${lt_cv_path_MAGIC_CMD+:} false; then : 9070 $as_echo_n "(cached) " >&6 9071else 9072 case $MAGIC_CMD in 9073[\\/*] | ?:[\\/]*) 9074 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9075 ;; 9076*) 9077 lt_save_MAGIC_CMD="$MAGIC_CMD" 9078 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9079 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9080 for ac_dir in $ac_dummy; do 9081 IFS="$lt_save_ifs" 9082 test -z "$ac_dir" && ac_dir=. 9083 if test -f $ac_dir/${ac_tool_prefix}file; then 9084 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 9085 if test -n "$file_magic_test_file"; then 9086 case $deplibs_check_method in 9087 "file_magic "*) 9088 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9089 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9090 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9091 $EGREP "$file_magic_regex" > /dev/null; then 9092 : 9093 else 9094 cat <<_LT_EOF 1>&2 9095 9096*** Warning: the command libtool uses to detect shared libraries, 9097*** $file_magic_cmd, produces output that libtool cannot recognize. 9098*** The result is that libtool may fail to recognize shared libraries 9099*** as such. This will affect the creation of libtool libraries that 9100*** depend on shared libraries, but programs linked with such libtool 9101*** libraries will work regardless of this problem. Nevertheless, you 9102*** may want to report the problem to your system manager and/or to 9103*** bug-libtool@gnu.org 9104 9105_LT_EOF 9106 fi ;; 9107 esac 9108 fi 9109 break 9110 fi 9111 done 9112 IFS="$lt_save_ifs" 9113 MAGIC_CMD="$lt_save_MAGIC_CMD" 9114 ;; 9115esac 9116fi 9117 9118MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9119if test -n "$MAGIC_CMD"; then 9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9121$as_echo "$MAGIC_CMD" >&6; } 9122else 9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9124$as_echo "no" >&6; } 9125fi 9126 9127 9128 9129 9130 9131if test -z "$lt_cv_path_MAGIC_CMD"; then 9132 if test -n "$ac_tool_prefix"; then 9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9134$as_echo_n "checking for file... " >&6; } 9135if ${lt_cv_path_MAGIC_CMD+:} false; then : 9136 $as_echo_n "(cached) " >&6 9137else 9138 case $MAGIC_CMD in 9139[\\/*] | ?:[\\/]*) 9140 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 9141 ;; 9142*) 9143 lt_save_MAGIC_CMD="$MAGIC_CMD" 9144 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9145 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9146 for ac_dir in $ac_dummy; do 9147 IFS="$lt_save_ifs" 9148 test -z "$ac_dir" && ac_dir=. 9149 if test -f $ac_dir/file; then 9150 lt_cv_path_MAGIC_CMD="$ac_dir/file" 9151 if test -n "$file_magic_test_file"; then 9152 case $deplibs_check_method in 9153 "file_magic "*) 9154 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9155 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9156 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9157 $EGREP "$file_magic_regex" > /dev/null; then 9158 : 9159 else 9160 cat <<_LT_EOF 1>&2 9161 9162*** Warning: the command libtool uses to detect shared libraries, 9163*** $file_magic_cmd, produces output that libtool cannot recognize. 9164*** The result is that libtool may fail to recognize shared libraries 9165*** as such. This will affect the creation of libtool libraries that 9166*** depend on shared libraries, but programs linked with such libtool 9167*** libraries will work regardless of this problem. Nevertheless, you 9168*** may want to report the problem to your system manager and/or to 9169*** bug-libtool@gnu.org 9170 9171_LT_EOF 9172 fi ;; 9173 esac 9174 fi 9175 break 9176 fi 9177 done 9178 IFS="$lt_save_ifs" 9179 MAGIC_CMD="$lt_save_MAGIC_CMD" 9180 ;; 9181esac 9182fi 9183 9184MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9185if test -n "$MAGIC_CMD"; then 9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9187$as_echo "$MAGIC_CMD" >&6; } 9188else 9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9190$as_echo "no" >&6; } 9191fi 9192 9193 9194 else 9195 MAGIC_CMD=: 9196 fi 9197fi 9198 9199 fi 9200 ;; 9201esac 9202 9203# Use C for the default configuration in the libtool script 9204 9205lt_save_CC="$CC" 9206ac_ext=c 9207ac_cpp='$CPP $CPPFLAGS' 9208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9210ac_compiler_gnu=$ac_cv_c_compiler_gnu 9211 9212 9213# Source file extension for C test sources. 9214ac_ext=c 9215 9216# Object file extension for compiled C test sources. 9217objext=o 9218objext=$objext 9219 9220# Code to be used in simple compile tests 9221lt_simple_compile_test_code="int some_variable = 0;" 9222 9223# Code to be used in simple link tests 9224lt_simple_link_test_code='int main(){return(0);}' 9225 9226 9227 9228 9229 9230 9231 9232# If no C compiler was specified, use CC. 9233LTCC=${LTCC-"$CC"} 9234 9235# If no C compiler flags were specified, use CFLAGS. 9236LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9237 9238# Allow CC to be a program name with arguments. 9239compiler=$CC 9240 9241# Save the default compiler, since it gets overwritten when the other 9242# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9243compiler_DEFAULT=$CC 9244 9245# save warnings/boilerplate of simple test code 9246ac_outfile=conftest.$ac_objext 9247echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9248eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9249_lt_compiler_boilerplate=`cat conftest.err` 9250$RM conftest* 9251 9252ac_outfile=conftest.$ac_objext 9253echo "$lt_simple_link_test_code" >conftest.$ac_ext 9254eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9255_lt_linker_boilerplate=`cat conftest.err` 9256$RM -r conftest* 9257 9258 9259## CAVEAT EMPTOR: 9260## There is no encapsulation within the following macros, do not change 9261## the running order or otherwise move them around unless you know exactly 9262## what you are doing... 9263if test -n "$compiler"; then 9264 9265lt_prog_compiler_no_builtin_flag= 9266 9267if test "$GCC" = yes; then 9268 case $cc_basename in 9269 nvcc*) 9270 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9271 *) 9272 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9273 esac 9274 9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9276$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9277if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9278 $as_echo_n "(cached) " >&6 9279else 9280 lt_cv_prog_compiler_rtti_exceptions=no 9281 ac_outfile=conftest.$ac_objext 9282 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9283 lt_compiler_flag="-fno-rtti -fno-exceptions" 9284 # Insert the option either (1) after the last *FLAGS variable, or 9285 # (2) before a word containing "conftest.", or (3) at the end. 9286 # Note that $ac_compile itself does not contain backslashes and begins 9287 # with a dollar sign (not a hyphen), so the echo should work correctly. 9288 # The option is referenced via a variable to avoid confusing sed. 9289 lt_compile=`echo "$ac_compile" | $SED \ 9290 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9291 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9292 -e 's:$: $lt_compiler_flag:'` 9293 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9294 (eval "$lt_compile" 2>conftest.err) 9295 ac_status=$? 9296 cat conftest.err >&5 9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9298 if (exit $ac_status) && test -s "$ac_outfile"; then 9299 # The compiler can only warn and ignore the option if not recognized 9300 # So say no if there are warnings other than the usual output. 9301 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9302 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9303 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9304 lt_cv_prog_compiler_rtti_exceptions=yes 9305 fi 9306 fi 9307 $RM conftest* 9308 9309fi 9310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9311$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9312 9313if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9314 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9315else 9316 : 9317fi 9318 9319fi 9320 9321 9322 9323 9324 9325 9326 lt_prog_compiler_wl= 9327lt_prog_compiler_pic= 9328lt_prog_compiler_static= 9329 9330 9331 if test "$GCC" = yes; then 9332 lt_prog_compiler_wl='-Wl,' 9333 lt_prog_compiler_static='-static' 9334 9335 case $host_os in 9336 aix*) 9337 # All AIX code is PIC. 9338 if test "$host_cpu" = ia64; then 9339 # AIX 5 now supports IA64 processor 9340 lt_prog_compiler_static='-Bstatic' 9341 fi 9342 ;; 9343 9344 amigaos*) 9345 case $host_cpu in 9346 powerpc) 9347 # see comment about AmigaOS4 .so support 9348 lt_prog_compiler_pic='-fPIC' 9349 ;; 9350 m68k) 9351 # FIXME: we need at least 68020 code to build shared libraries, but 9352 # adding the `-m68020' flag to GCC prevents building anything better, 9353 # like `-m68040'. 9354 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9355 ;; 9356 esac 9357 ;; 9358 9359 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9360 # PIC is the default for these OSes. 9361 ;; 9362 9363 mingw* | cygwin* | pw32* | os2* | cegcc*) 9364 # This hack is so that the source file can tell whether it is being 9365 # built for inclusion in a dll (and should export symbols for example). 9366 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9367 # (--disable-auto-import) libraries 9368 lt_prog_compiler_pic='-DDLL_EXPORT' 9369 ;; 9370 9371 darwin* | rhapsody*) 9372 # PIC is the default on this platform 9373 # Common symbols not allowed in MH_DYLIB files 9374 lt_prog_compiler_pic='-fno-common' 9375 ;; 9376 9377 haiku*) 9378 # PIC is the default for Haiku. 9379 # The "-static" flag exists, but is broken. 9380 lt_prog_compiler_static= 9381 ;; 9382 9383 hpux*) 9384 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9385 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9386 # sets the default TLS model and affects inlining. 9387 case $host_cpu in 9388 hppa*64*) 9389 # +Z the default 9390 ;; 9391 *) 9392 lt_prog_compiler_pic='-fPIC' 9393 ;; 9394 esac 9395 ;; 9396 9397 interix[3-9]*) 9398 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9399 # Instead, we relocate shared libraries at runtime. 9400 ;; 9401 9402 msdosdjgpp*) 9403 # Just because we use GCC doesn't mean we suddenly get shared libraries 9404 # on systems that don't support them. 9405 lt_prog_compiler_can_build_shared=no 9406 enable_shared=no 9407 ;; 9408 9409 *nto* | *qnx*) 9410 # QNX uses GNU C++, but need to define -shared option too, otherwise 9411 # it will coredump. 9412 lt_prog_compiler_pic='-fPIC -shared' 9413 ;; 9414 9415 sysv4*MP*) 9416 if test -d /usr/nec; then 9417 lt_prog_compiler_pic=-Kconform_pic 9418 fi 9419 ;; 9420 9421 *) 9422 lt_prog_compiler_pic='-fPIC' 9423 ;; 9424 esac 9425 9426 case $cc_basename in 9427 nvcc*) # Cuda Compiler Driver 2.2 9428 lt_prog_compiler_wl='-Xlinker ' 9429 if test -n "$lt_prog_compiler_pic"; then 9430 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9431 fi 9432 ;; 9433 esac 9434 else 9435 # PORTME Check for flag to pass linker flags through the system compiler. 9436 case $host_os in 9437 aix*) 9438 lt_prog_compiler_wl='-Wl,' 9439 if test "$host_cpu" = ia64; then 9440 # AIX 5 now supports IA64 processor 9441 lt_prog_compiler_static='-Bstatic' 9442 else 9443 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9444 fi 9445 ;; 9446 9447 mingw* | cygwin* | pw32* | os2* | cegcc*) 9448 # This hack is so that the source file can tell whether it is being 9449 # built for inclusion in a dll (and should export symbols for example). 9450 lt_prog_compiler_pic='-DDLL_EXPORT' 9451 ;; 9452 9453 hpux9* | hpux10* | hpux11*) 9454 lt_prog_compiler_wl='-Wl,' 9455 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9456 # not for PA HP-UX. 9457 case $host_cpu in 9458 hppa*64*|ia64*) 9459 # +Z the default 9460 ;; 9461 *) 9462 lt_prog_compiler_pic='+Z' 9463 ;; 9464 esac 9465 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9466 lt_prog_compiler_static='${wl}-a ${wl}archive' 9467 ;; 9468 9469 irix5* | irix6* | nonstopux*) 9470 lt_prog_compiler_wl='-Wl,' 9471 # PIC (with -KPIC) is the default. 9472 lt_prog_compiler_static='-non_shared' 9473 ;; 9474 9475 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9476 case $cc_basename in 9477 # old Intel for x86_64 which still supported -KPIC. 9478 ecc*) 9479 lt_prog_compiler_wl='-Wl,' 9480 lt_prog_compiler_pic='-KPIC' 9481 lt_prog_compiler_static='-static' 9482 ;; 9483 # icc used to be incompatible with GCC. 9484 # ICC 10 doesn't accept -KPIC any more. 9485 icc* | ifort*) 9486 lt_prog_compiler_wl='-Wl,' 9487 lt_prog_compiler_pic='-fPIC' 9488 lt_prog_compiler_static='-static' 9489 ;; 9490 # Lahey Fortran 8.1. 9491 lf95*) 9492 lt_prog_compiler_wl='-Wl,' 9493 lt_prog_compiler_pic='--shared' 9494 lt_prog_compiler_static='--static' 9495 ;; 9496 nagfor*) 9497 # NAG Fortran compiler 9498 lt_prog_compiler_wl='-Wl,-Wl,,' 9499 lt_prog_compiler_pic='-PIC' 9500 lt_prog_compiler_static='-Bstatic' 9501 ;; 9502 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9503 # Portland Group compilers (*not* the Pentium gcc compiler, 9504 # which looks to be a dead project) 9505 lt_prog_compiler_wl='-Wl,' 9506 lt_prog_compiler_pic='-fpic' 9507 lt_prog_compiler_static='-Bstatic' 9508 ;; 9509 ccc*) 9510 lt_prog_compiler_wl='-Wl,' 9511 # All Alpha code is PIC. 9512 lt_prog_compiler_static='-non_shared' 9513 ;; 9514 xl* | bgxl* | bgf* | mpixl*) 9515 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9516 lt_prog_compiler_wl='-Wl,' 9517 lt_prog_compiler_pic='-qpic' 9518 lt_prog_compiler_static='-qstaticlink' 9519 ;; 9520 *) 9521 case `$CC -V 2>&1 | sed 5q` in 9522 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9523 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9524 lt_prog_compiler_pic='-KPIC' 9525 lt_prog_compiler_static='-Bstatic' 9526 lt_prog_compiler_wl='' 9527 ;; 9528 *Sun\ F* | *Sun*Fortran*) 9529 lt_prog_compiler_pic='-KPIC' 9530 lt_prog_compiler_static='-Bstatic' 9531 lt_prog_compiler_wl='-Qoption ld ' 9532 ;; 9533 *Sun\ C*) 9534 # Sun C 5.9 9535 lt_prog_compiler_pic='-KPIC' 9536 lt_prog_compiler_static='-Bstatic' 9537 lt_prog_compiler_wl='-Wl,' 9538 ;; 9539 *Intel*\ [CF]*Compiler*) 9540 lt_prog_compiler_wl='-Wl,' 9541 lt_prog_compiler_pic='-fPIC' 9542 lt_prog_compiler_static='-static' 9543 ;; 9544 *Portland\ Group*) 9545 lt_prog_compiler_wl='-Wl,' 9546 lt_prog_compiler_pic='-fpic' 9547 lt_prog_compiler_static='-Bstatic' 9548 ;; 9549 esac 9550 ;; 9551 esac 9552 ;; 9553 9554 newsos6) 9555 lt_prog_compiler_pic='-KPIC' 9556 lt_prog_compiler_static='-Bstatic' 9557 ;; 9558 9559 *nto* | *qnx*) 9560 # QNX uses GNU C++, but need to define -shared option too, otherwise 9561 # it will coredump. 9562 lt_prog_compiler_pic='-fPIC -shared' 9563 ;; 9564 9565 osf3* | osf4* | osf5*) 9566 lt_prog_compiler_wl='-Wl,' 9567 # All OSF/1 code is PIC. 9568 lt_prog_compiler_static='-non_shared' 9569 ;; 9570 9571 rdos*) 9572 lt_prog_compiler_static='-non_shared' 9573 ;; 9574 9575 solaris*) 9576 lt_prog_compiler_pic='-KPIC' 9577 lt_prog_compiler_static='-Bstatic' 9578 case $cc_basename in 9579 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9580 lt_prog_compiler_wl='-Qoption ld ';; 9581 *) 9582 lt_prog_compiler_wl='-Wl,';; 9583 esac 9584 ;; 9585 9586 sunos4*) 9587 lt_prog_compiler_wl='-Qoption ld ' 9588 lt_prog_compiler_pic='-PIC' 9589 lt_prog_compiler_static='-Bstatic' 9590 ;; 9591 9592 sysv4 | sysv4.2uw2* | sysv4.3*) 9593 lt_prog_compiler_wl='-Wl,' 9594 lt_prog_compiler_pic='-KPIC' 9595 lt_prog_compiler_static='-Bstatic' 9596 ;; 9597 9598 sysv4*MP*) 9599 if test -d /usr/nec ;then 9600 lt_prog_compiler_pic='-Kconform_pic' 9601 lt_prog_compiler_static='-Bstatic' 9602 fi 9603 ;; 9604 9605 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9606 lt_prog_compiler_wl='-Wl,' 9607 lt_prog_compiler_pic='-KPIC' 9608 lt_prog_compiler_static='-Bstatic' 9609 ;; 9610 9611 unicos*) 9612 lt_prog_compiler_wl='-Wl,' 9613 lt_prog_compiler_can_build_shared=no 9614 ;; 9615 9616 uts4*) 9617 lt_prog_compiler_pic='-pic' 9618 lt_prog_compiler_static='-Bstatic' 9619 ;; 9620 9621 *) 9622 lt_prog_compiler_can_build_shared=no 9623 ;; 9624 esac 9625 fi 9626 9627case $host_os in 9628 # For platforms which do not support PIC, -DPIC is meaningless: 9629 *djgpp*) 9630 lt_prog_compiler_pic= 9631 ;; 9632 *) 9633 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9634 ;; 9635esac 9636 9637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9638$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9639if ${lt_cv_prog_compiler_pic+:} false; then : 9640 $as_echo_n "(cached) " >&6 9641else 9642 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9643fi 9644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9645$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9646lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9647 9648# 9649# Check to make sure the PIC flag actually works. 9650# 9651if test -n "$lt_prog_compiler_pic"; then 9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9653$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9654if ${lt_cv_prog_compiler_pic_works+:} false; then : 9655 $as_echo_n "(cached) " >&6 9656else 9657 lt_cv_prog_compiler_pic_works=no 9658 ac_outfile=conftest.$ac_objext 9659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9660 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9661 # Insert the option either (1) after the last *FLAGS variable, or 9662 # (2) before a word containing "conftest.", or (3) at the end. 9663 # Note that $ac_compile itself does not contain backslashes and begins 9664 # with a dollar sign (not a hyphen), so the echo should work correctly. 9665 # The option is referenced via a variable to avoid confusing sed. 9666 lt_compile=`echo "$ac_compile" | $SED \ 9667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9669 -e 's:$: $lt_compiler_flag:'` 9670 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9671 (eval "$lt_compile" 2>conftest.err) 9672 ac_status=$? 9673 cat conftest.err >&5 9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9675 if (exit $ac_status) && test -s "$ac_outfile"; then 9676 # The compiler can only warn and ignore the option if not recognized 9677 # So say no if there are warnings other than the usual output. 9678 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9679 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9680 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9681 lt_cv_prog_compiler_pic_works=yes 9682 fi 9683 fi 9684 $RM conftest* 9685 9686fi 9687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9688$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9689 9690if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9691 case $lt_prog_compiler_pic in 9692 "" | " "*) ;; 9693 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9694 esac 9695else 9696 lt_prog_compiler_pic= 9697 lt_prog_compiler_can_build_shared=no 9698fi 9699 9700fi 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712# 9713# Check to make sure the static flag actually works. 9714# 9715wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9717$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9718if ${lt_cv_prog_compiler_static_works+:} false; then : 9719 $as_echo_n "(cached) " >&6 9720else 9721 lt_cv_prog_compiler_static_works=no 9722 save_LDFLAGS="$LDFLAGS" 9723 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9724 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9725 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9726 # The linker can only warn and ignore the option if not recognized 9727 # So say no if there are warnings 9728 if test -s conftest.err; then 9729 # Append any errors to the config.log. 9730 cat conftest.err 1>&5 9731 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9732 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9733 if diff conftest.exp conftest.er2 >/dev/null; then 9734 lt_cv_prog_compiler_static_works=yes 9735 fi 9736 else 9737 lt_cv_prog_compiler_static_works=yes 9738 fi 9739 fi 9740 $RM -r conftest* 9741 LDFLAGS="$save_LDFLAGS" 9742 9743fi 9744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9745$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9746 9747if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9748 : 9749else 9750 lt_prog_compiler_static= 9751fi 9752 9753 9754 9755 9756 9757 9758 9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9760$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9761if ${lt_cv_prog_compiler_c_o+:} false; then : 9762 $as_echo_n "(cached) " >&6 9763else 9764 lt_cv_prog_compiler_c_o=no 9765 $RM -r conftest 2>/dev/null 9766 mkdir conftest 9767 cd conftest 9768 mkdir out 9769 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9770 9771 lt_compiler_flag="-o out/conftest2.$ac_objext" 9772 # Insert the option either (1) after the last *FLAGS variable, or 9773 # (2) before a word containing "conftest.", or (3) at the end. 9774 # Note that $ac_compile itself does not contain backslashes and begins 9775 # with a dollar sign (not a hyphen), so the echo should work correctly. 9776 lt_compile=`echo "$ac_compile" | $SED \ 9777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9779 -e 's:$: $lt_compiler_flag:'` 9780 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9781 (eval "$lt_compile" 2>out/conftest.err) 9782 ac_status=$? 9783 cat out/conftest.err >&5 9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9785 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9786 then 9787 # The compiler can only warn and ignore the option if not recognized 9788 # So say no if there are warnings 9789 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9790 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9791 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9792 lt_cv_prog_compiler_c_o=yes 9793 fi 9794 fi 9795 chmod u+w . 2>&5 9796 $RM conftest* 9797 # SGI C++ compiler will create directory out/ii_files/ for 9798 # template instantiation 9799 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9800 $RM out/* && rmdir out 9801 cd .. 9802 $RM -r conftest 9803 $RM conftest* 9804 9805fi 9806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9807$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9808 9809 9810 9811 9812 9813 9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9815$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9816if ${lt_cv_prog_compiler_c_o+:} false; then : 9817 $as_echo_n "(cached) " >&6 9818else 9819 lt_cv_prog_compiler_c_o=no 9820 $RM -r conftest 2>/dev/null 9821 mkdir conftest 9822 cd conftest 9823 mkdir out 9824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9825 9826 lt_compiler_flag="-o out/conftest2.$ac_objext" 9827 # Insert the option either (1) after the last *FLAGS variable, or 9828 # (2) before a word containing "conftest.", or (3) at the end. 9829 # Note that $ac_compile itself does not contain backslashes and begins 9830 # with a dollar sign (not a hyphen), so the echo should work correctly. 9831 lt_compile=`echo "$ac_compile" | $SED \ 9832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9834 -e 's:$: $lt_compiler_flag:'` 9835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9836 (eval "$lt_compile" 2>out/conftest.err) 9837 ac_status=$? 9838 cat out/conftest.err >&5 9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9840 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9841 then 9842 # The compiler can only warn and ignore the option if not recognized 9843 # So say no if there are warnings 9844 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9845 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9846 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9847 lt_cv_prog_compiler_c_o=yes 9848 fi 9849 fi 9850 chmod u+w . 2>&5 9851 $RM conftest* 9852 # SGI C++ compiler will create directory out/ii_files/ for 9853 # template instantiation 9854 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9855 $RM out/* && rmdir out 9856 cd .. 9857 $RM -r conftest 9858 $RM conftest* 9859 9860fi 9861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9862$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9863 9864 9865 9866 9867hard_links="nottested" 9868if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9869 # do not overwrite the value of need_locks provided by the user 9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9871$as_echo_n "checking if we can lock with hard links... " >&6; } 9872 hard_links=yes 9873 $RM conftest* 9874 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9875 touch conftest.a 9876 ln conftest.a conftest.b 2>&5 || hard_links=no 9877 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9879$as_echo "$hard_links" >&6; } 9880 if test "$hard_links" = no; then 9881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9882$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9883 need_locks=warn 9884 fi 9885else 9886 need_locks=no 9887fi 9888 9889 9890 9891 9892 9893 9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9895$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9896 9897 runpath_var= 9898 allow_undefined_flag= 9899 always_export_symbols=no 9900 archive_cmds= 9901 archive_expsym_cmds= 9902 compiler_needs_object=no 9903 enable_shared_with_static_runtimes=no 9904 export_dynamic_flag_spec= 9905 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9906 hardcode_automatic=no 9907 hardcode_direct=no 9908 hardcode_direct_absolute=no 9909 hardcode_libdir_flag_spec= 9910 hardcode_libdir_separator= 9911 hardcode_minus_L=no 9912 hardcode_shlibpath_var=unsupported 9913 inherit_rpath=no 9914 link_all_deplibs=unknown 9915 module_cmds= 9916 module_expsym_cmds= 9917 old_archive_from_new_cmds= 9918 old_archive_from_expsyms_cmds= 9919 thread_safe_flag_spec= 9920 whole_archive_flag_spec= 9921 # include_expsyms should be a list of space-separated symbols to be *always* 9922 # included in the symbol list 9923 include_expsyms= 9924 # exclude_expsyms can be an extended regexp of symbols to exclude 9925 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9926 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9927 # as well as any symbol that contains `d'. 9928 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9929 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9930 # platforms (ab)use it in PIC code, but their linkers get confused if 9931 # the symbol is explicitly referenced. Since portable code cannot 9932 # rely on this symbol name, it's probably fine to never include it in 9933 # preloaded symbol tables. 9934 # Exclude shared library initialization/finalization symbols. 9935 extract_expsyms_cmds= 9936 9937 case $host_os in 9938 cygwin* | mingw* | pw32* | cegcc*) 9939 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9940 # When not using gcc, we currently assume that we are using 9941 # Microsoft Visual C++. 9942 if test "$GCC" != yes; then 9943 with_gnu_ld=no 9944 fi 9945 ;; 9946 interix*) 9947 # we just hope/assume this is gcc and not c89 (= MSVC++) 9948 with_gnu_ld=yes 9949 ;; 9950 openbsd*) 9951 with_gnu_ld=no 9952 ;; 9953 linux* | k*bsd*-gnu | gnu*) 9954 link_all_deplibs=no 9955 ;; 9956 esac 9957 9958 ld_shlibs=yes 9959 9960 # On some targets, GNU ld is compatible enough with the native linker 9961 # that we're better off using the native interface for both. 9962 lt_use_gnu_ld_interface=no 9963 if test "$with_gnu_ld" = yes; then 9964 case $host_os in 9965 aix*) 9966 # The AIX port of GNU ld has always aspired to compatibility 9967 # with the native linker. However, as the warning in the GNU ld 9968 # block says, versions before 2.19.5* couldn't really create working 9969 # shared libraries, regardless of the interface used. 9970 case `$LD -v 2>&1` in 9971 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9972 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9973 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9974 *) 9975 lt_use_gnu_ld_interface=yes 9976 ;; 9977 esac 9978 ;; 9979 *) 9980 lt_use_gnu_ld_interface=yes 9981 ;; 9982 esac 9983 fi 9984 9985 if test "$lt_use_gnu_ld_interface" = yes; then 9986 # If archive_cmds runs LD, not CC, wlarc should be empty 9987 wlarc='${wl}' 9988 9989 # Set some defaults for GNU ld with shared library support. These 9990 # are reset later if shared libraries are not supported. Putting them 9991 # here allows them to be overridden if necessary. 9992 runpath_var=LD_RUN_PATH 9993 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9994 export_dynamic_flag_spec='${wl}--export-dynamic' 9995 # ancient GNU ld didn't support --whole-archive et. al. 9996 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9997 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9998 else 9999 whole_archive_flag_spec= 10000 fi 10001 supports_anon_versioning=no 10002 case `$LD -v 2>&1` in 10003 *GNU\ gold*) supports_anon_versioning=yes ;; 10004 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10005 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10006 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10007 *\ 2.11.*) ;; # other 2.11 versions 10008 *) supports_anon_versioning=yes ;; 10009 esac 10010 10011 # See if GNU ld supports shared libraries. 10012 case $host_os in 10013 aix[3-9]*) 10014 # On AIX/PPC, the GNU linker is very broken 10015 if test "$host_cpu" != ia64; then 10016 ld_shlibs=no 10017 cat <<_LT_EOF 1>&2 10018 10019*** Warning: the GNU linker, at least up to release 2.19, is reported 10020*** to be unable to reliably create shared libraries on AIX. 10021*** Therefore, libtool is disabling shared libraries support. If you 10022*** really care for shared libraries, you may want to install binutils 10023*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10024*** You will then need to restart the configuration process. 10025 10026_LT_EOF 10027 fi 10028 ;; 10029 10030 amigaos*) 10031 case $host_cpu in 10032 powerpc) 10033 # see comment about AmigaOS4 .so support 10034 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10035 archive_expsym_cmds='' 10036 ;; 10037 m68k) 10038 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)' 10039 hardcode_libdir_flag_spec='-L$libdir' 10040 hardcode_minus_L=yes 10041 ;; 10042 esac 10043 ;; 10044 10045 beos*) 10046 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10047 allow_undefined_flag=unsupported 10048 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10049 # support --undefined. This deserves some investigation. FIXME 10050 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10051 else 10052 ld_shlibs=no 10053 fi 10054 ;; 10055 10056 cygwin* | mingw* | pw32* | cegcc*) 10057 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10058 # as there is no search path for DLLs. 10059 hardcode_libdir_flag_spec='-L$libdir' 10060 export_dynamic_flag_spec='${wl}--export-all-symbols' 10061 allow_undefined_flag=unsupported 10062 always_export_symbols=no 10063 enable_shared_with_static_runtimes=yes 10064 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 10065 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10066 10067 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10068 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10069 # If the export-symbols file already is a .def file (1st line 10070 # is EXPORTS), use it as is; otherwise, prepend... 10071 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10072 cp $export_symbols $output_objdir/$soname.def; 10073 else 10074 echo EXPORTS > $output_objdir/$soname.def; 10075 cat $export_symbols >> $output_objdir/$soname.def; 10076 fi~ 10077 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10078 else 10079 ld_shlibs=no 10080 fi 10081 ;; 10082 10083 haiku*) 10084 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10085 link_all_deplibs=yes 10086 ;; 10087 10088 interix[3-9]*) 10089 hardcode_direct=no 10090 hardcode_shlibpath_var=no 10091 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10092 export_dynamic_flag_spec='${wl}-E' 10093 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10094 # Instead, shared libraries are loaded at an image base (0x10000000 by 10095 # default) and relocated if they conflict, which is a slow very memory 10096 # consuming and fragmenting process. To avoid this, we pick a random, 10097 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10098 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10099 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10100 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' 10101 ;; 10102 10103 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10104 tmp_diet=no 10105 if test "$host_os" = linux-dietlibc; then 10106 case $cc_basename in 10107 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10108 esac 10109 fi 10110 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10111 && test "$tmp_diet" = no 10112 then 10113 tmp_addflag=' $pic_flag' 10114 tmp_sharedflag='-shared' 10115 case $cc_basename,$host_cpu in 10116 pgcc*) # Portland Group C compiler 10117 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' 10118 tmp_addflag=' $pic_flag' 10119 ;; 10120 pgf77* | pgf90* | pgf95* | pgfortran*) 10121 # Portland Group f77 and f90 compilers 10122 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' 10123 tmp_addflag=' $pic_flag -Mnomain' ;; 10124 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10125 tmp_addflag=' -i_dynamic' ;; 10126 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10127 tmp_addflag=' -i_dynamic -nofor_main' ;; 10128 ifc* | ifort*) # Intel Fortran compiler 10129 tmp_addflag=' -nofor_main' ;; 10130 lf95*) # Lahey Fortran 8.1 10131 whole_archive_flag_spec= 10132 tmp_sharedflag='--shared' ;; 10133 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10134 tmp_sharedflag='-qmkshrobj' 10135 tmp_addflag= ;; 10136 nvcc*) # Cuda Compiler Driver 2.2 10137 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' 10138 compiler_needs_object=yes 10139 ;; 10140 esac 10141 case `$CC -V 2>&1 | sed 5q` in 10142 *Sun\ C*) # Sun C 5.9 10143 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' 10144 compiler_needs_object=yes 10145 tmp_sharedflag='-G' ;; 10146 *Sun\ F*) # Sun Fortran 8.3 10147 tmp_sharedflag='-G' ;; 10148 esac 10149 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10150 10151 if test "x$supports_anon_versioning" = xyes; then 10152 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10153 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10154 echo "local: *; };" >> $output_objdir/$libname.ver~ 10155 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 10156 fi 10157 10158 case $cc_basename in 10159 xlf* | bgf* | bgxlf* | mpixlf*) 10160 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10161 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10162 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10163 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10164 if test "x$supports_anon_versioning" = xyes; then 10165 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10166 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10167 echo "local: *; };" >> $output_objdir/$libname.ver~ 10168 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10169 fi 10170 ;; 10171 esac 10172 else 10173 ld_shlibs=no 10174 fi 10175 ;; 10176 10177 netbsd* | netbsdelf*-gnu) 10178 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10179 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10180 wlarc= 10181 else 10182 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10183 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10184 fi 10185 ;; 10186 10187 solaris*) 10188 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10189 ld_shlibs=no 10190 cat <<_LT_EOF 1>&2 10191 10192*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10193*** create shared libraries on Solaris systems. Therefore, libtool 10194*** is disabling shared libraries support. We urge you to upgrade GNU 10195*** binutils to release 2.9.1 or newer. Another option is to modify 10196*** your PATH or compiler configuration so that the native linker is 10197*** used, and then restart. 10198 10199_LT_EOF 10200 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10201 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10202 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10203 else 10204 ld_shlibs=no 10205 fi 10206 ;; 10207 10208 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10209 case `$LD -v 2>&1` in 10210 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10211 ld_shlibs=no 10212 cat <<_LT_EOF 1>&2 10213 10214*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 10215*** reliably create shared libraries on SCO systems. Therefore, libtool 10216*** is disabling shared libraries support. We urge you to upgrade GNU 10217*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10218*** your PATH or compiler configuration so that the native linker is 10219*** used, and then restart. 10220 10221_LT_EOF 10222 ;; 10223 *) 10224 # For security reasons, it is highly recommended that you always 10225 # use absolute paths for naming shared libraries, and exclude the 10226 # DT_RUNPATH tag from executables and libraries. But doing so 10227 # requires that you compile everything twice, which is a pain. 10228 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10229 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10230 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10231 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10232 else 10233 ld_shlibs=no 10234 fi 10235 ;; 10236 esac 10237 ;; 10238 10239 sunos4*) 10240 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10241 wlarc= 10242 hardcode_direct=yes 10243 hardcode_shlibpath_var=no 10244 ;; 10245 10246 *) 10247 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10248 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10249 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10250 else 10251 ld_shlibs=no 10252 fi 10253 ;; 10254 esac 10255 10256 if test "$ld_shlibs" = no; then 10257 runpath_var= 10258 hardcode_libdir_flag_spec= 10259 export_dynamic_flag_spec= 10260 whole_archive_flag_spec= 10261 fi 10262 else 10263 # PORTME fill in a description of your system's linker (not GNU ld) 10264 case $host_os in 10265 aix3*) 10266 allow_undefined_flag=unsupported 10267 always_export_symbols=yes 10268 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' 10269 # Note: this linker hardcodes the directories in LIBPATH if there 10270 # are no directories specified by -L. 10271 hardcode_minus_L=yes 10272 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 10273 # Neither direct hardcoding nor static linking is supported with a 10274 # broken collect2. 10275 hardcode_direct=unsupported 10276 fi 10277 ;; 10278 10279 aix[4-9]*) 10280 if test "$host_cpu" = ia64; then 10281 # On IA64, the linker does run time linking by default, so we don't 10282 # have to do anything special. 10283 aix_use_runtimelinking=no 10284 exp_sym_flag='-Bexport' 10285 no_entry_flag="" 10286 else 10287 # If we're using GNU nm, then we don't want the "-C" option. 10288 # -C means demangle to AIX nm, but means don't demangle with GNU nm 10289 # Also, AIX nm treats weak defined symbols like other global 10290 # defined symbols, whereas GNU nm marks them as "W". 10291 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10292 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' 10293 else 10294 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 10295 fi 10296 aix_use_runtimelinking=no 10297 10298 # Test if we are trying to use run time linking or normal 10299 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10300 # need to do runtime linking. 10301 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10302 for ld_flag in $LDFLAGS; do 10303 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 10304 aix_use_runtimelinking=yes 10305 break 10306 fi 10307 done 10308 ;; 10309 esac 10310 10311 exp_sym_flag='-bexport' 10312 no_entry_flag='-bnoentry' 10313 fi 10314 10315 # When large executables or shared objects are built, AIX ld can 10316 # have problems creating the table of contents. If linking a library 10317 # or program results in "error TOC overflow" add -mminimal-toc to 10318 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10319 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10320 10321 archive_cmds='' 10322 hardcode_direct=yes 10323 hardcode_direct_absolute=yes 10324 hardcode_libdir_separator=':' 10325 link_all_deplibs=yes 10326 file_list_spec='${wl}-f,' 10327 10328 if test "$GCC" = yes; then 10329 case $host_os in aix4.[012]|aix4.[012].*) 10330 # We only want to do this on AIX 4.2 and lower, the check 10331 # below for broken collect2 doesn't work under 4.3+ 10332 collect2name=`${CC} -print-prog-name=collect2` 10333 if test -f "$collect2name" && 10334 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10335 then 10336 # We have reworked collect2 10337 : 10338 else 10339 # We have old collect2 10340 hardcode_direct=unsupported 10341 # It fails to find uninstalled libraries when the uninstalled 10342 # path is not listed in the libpath. Setting hardcode_minus_L 10343 # to unsupported forces relinking 10344 hardcode_minus_L=yes 10345 hardcode_libdir_flag_spec='-L$libdir' 10346 hardcode_libdir_separator= 10347 fi 10348 ;; 10349 esac 10350 shared_flag='-shared' 10351 if test "$aix_use_runtimelinking" = yes; then 10352 shared_flag="$shared_flag "'${wl}-G' 10353 fi 10354 link_all_deplibs=no 10355 else 10356 # not using gcc 10357 if test "$host_cpu" = ia64; then 10358 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10359 # chokes on -Wl,-G. The following line is correct: 10360 shared_flag='-G' 10361 else 10362 if test "$aix_use_runtimelinking" = yes; then 10363 shared_flag='${wl}-G' 10364 else 10365 shared_flag='${wl}-bM:SRE' 10366 fi 10367 fi 10368 fi 10369 10370 export_dynamic_flag_spec='${wl}-bexpall' 10371 # It seems that -bexpall does not export symbols beginning with 10372 # underscore (_), so it is better to generate a list of symbols to export. 10373 always_export_symbols=yes 10374 if test "$aix_use_runtimelinking" = yes; then 10375 # Warning - without using the other runtime loading flags (-brtl), 10376 # -berok will link without error, but may produce a broken library. 10377 allow_undefined_flag='-berok' 10378 # Determine the default libpath from the value encoded in an 10379 # empty executable. 10380 if test "${lt_cv_aix_libpath+set}" = set; then 10381 aix_libpath=$lt_cv_aix_libpath 10382else 10383 if ${lt_cv_aix_libpath_+:} false; then : 10384 $as_echo_n "(cached) " >&6 10385else 10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10387/* end confdefs.h. */ 10388 10389int 10390main () 10391{ 10392 10393 ; 10394 return 0; 10395} 10396_ACEOF 10397if ac_fn_c_try_link "$LINENO"; then : 10398 10399 lt_aix_libpath_sed=' 10400 /Import File Strings/,/^$/ { 10401 /^0/ { 10402 s/^0 *\([^ ]*\) *$/\1/ 10403 p 10404 } 10405 }' 10406 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10407 # Check for a 64-bit object if we didn't find anything. 10408 if test -z "$lt_cv_aix_libpath_"; then 10409 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10410 fi 10411fi 10412rm -f core conftest.err conftest.$ac_objext \ 10413 conftest$ac_exeext conftest.$ac_ext 10414 if test -z "$lt_cv_aix_libpath_"; then 10415 lt_cv_aix_libpath_="/usr/lib:/lib" 10416 fi 10417 10418fi 10419 10420 aix_libpath=$lt_cv_aix_libpath_ 10421fi 10422 10423 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10424 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" 10425 else 10426 if test "$host_cpu" = ia64; then 10427 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10428 allow_undefined_flag="-z nodefs" 10429 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" 10430 else 10431 # Determine the default libpath from the value encoded in an 10432 # empty executable. 10433 if test "${lt_cv_aix_libpath+set}" = set; then 10434 aix_libpath=$lt_cv_aix_libpath 10435else 10436 if ${lt_cv_aix_libpath_+:} false; then : 10437 $as_echo_n "(cached) " >&6 10438else 10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10440/* end confdefs.h. */ 10441 10442int 10443main () 10444{ 10445 10446 ; 10447 return 0; 10448} 10449_ACEOF 10450if ac_fn_c_try_link "$LINENO"; then : 10451 10452 lt_aix_libpath_sed=' 10453 /Import File Strings/,/^$/ { 10454 /^0/ { 10455 s/^0 *\([^ ]*\) *$/\1/ 10456 p 10457 } 10458 }' 10459 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10460 # Check for a 64-bit object if we didn't find anything. 10461 if test -z "$lt_cv_aix_libpath_"; then 10462 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10463 fi 10464fi 10465rm -f core conftest.err conftest.$ac_objext \ 10466 conftest$ac_exeext conftest.$ac_ext 10467 if test -z "$lt_cv_aix_libpath_"; then 10468 lt_cv_aix_libpath_="/usr/lib:/lib" 10469 fi 10470 10471fi 10472 10473 aix_libpath=$lt_cv_aix_libpath_ 10474fi 10475 10476 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10477 # Warning - without using the other run time loading flags, 10478 # -berok will link without error, but may produce a broken library. 10479 no_undefined_flag=' ${wl}-bernotok' 10480 allow_undefined_flag=' ${wl}-berok' 10481 if test "$with_gnu_ld" = yes; then 10482 # We only use this code for GNU lds that support --whole-archive. 10483 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 10484 else 10485 # Exported symbols can be pulled into shared objects from archives 10486 whole_archive_flag_spec='$convenience' 10487 fi 10488 archive_cmds_need_lc=yes 10489 # This is similar to how AIX traditionally builds its shared libraries. 10490 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' 10491 fi 10492 fi 10493 ;; 10494 10495 amigaos*) 10496 case $host_cpu in 10497 powerpc) 10498 # see comment about AmigaOS4 .so support 10499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10500 archive_expsym_cmds='' 10501 ;; 10502 m68k) 10503 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)' 10504 hardcode_libdir_flag_spec='-L$libdir' 10505 hardcode_minus_L=yes 10506 ;; 10507 esac 10508 ;; 10509 10510 bsdi[45]*) 10511 export_dynamic_flag_spec=-rdynamic 10512 ;; 10513 10514 cygwin* | mingw* | pw32* | cegcc*) 10515 # When not using gcc, we currently assume that we are using 10516 # Microsoft Visual C++. 10517 # hardcode_libdir_flag_spec is actually meaningless, as there is 10518 # no search path for DLLs. 10519 case $cc_basename in 10520 cl*) 10521 # Native MSVC 10522 hardcode_libdir_flag_spec=' ' 10523 allow_undefined_flag=unsupported 10524 always_export_symbols=yes 10525 file_list_spec='@' 10526 # Tell ltmain to make .lib files, not .a files. 10527 libext=lib 10528 # Tell ltmain to make .dll files, not .so files. 10529 shrext_cmds=".dll" 10530 # FIXME: Setting linknames here is a bad hack. 10531 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 10532 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10533 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 10534 else 10535 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 10536 fi~ 10537 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10538 linknames=' 10539 # The linker will not automatically build a static lib if we build a DLL. 10540 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10541 enable_shared_with_static_runtimes=yes 10542 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10543 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10544 # Don't use ranlib 10545 old_postinstall_cmds='chmod 644 $oldlib' 10546 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10547 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10548 case $lt_outputfile in 10549 *.exe|*.EXE) ;; 10550 *) 10551 lt_outputfile="$lt_outputfile.exe" 10552 lt_tool_outputfile="$lt_tool_outputfile.exe" 10553 ;; 10554 esac~ 10555 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 10556 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10557 $RM "$lt_outputfile.manifest"; 10558 fi' 10559 ;; 10560 *) 10561 # Assume MSVC wrapper 10562 hardcode_libdir_flag_spec=' ' 10563 allow_undefined_flag=unsupported 10564 # Tell ltmain to make .lib files, not .a files. 10565 libext=lib 10566 # Tell ltmain to make .dll files, not .so files. 10567 shrext_cmds=".dll" 10568 # FIXME: Setting linknames here is a bad hack. 10569 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10570 # The linker will automatically build a .lib file if we build a DLL. 10571 old_archive_from_new_cmds='true' 10572 # FIXME: Should let the user specify the lib program. 10573 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10574 enable_shared_with_static_runtimes=yes 10575 ;; 10576 esac 10577 ;; 10578 10579 darwin* | rhapsody*) 10580 10581 10582 archive_cmds_need_lc=no 10583 hardcode_direct=no 10584 hardcode_automatic=yes 10585 hardcode_shlibpath_var=unsupported 10586 if test "$lt_cv_ld_force_load" = "yes"; then 10587 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\"`' 10588 10589 else 10590 whole_archive_flag_spec='' 10591 fi 10592 link_all_deplibs=yes 10593 allow_undefined_flag="$_lt_dar_allow_undefined" 10594 case $cc_basename in 10595 ifort*) _lt_dar_can_shared=yes ;; 10596 *) _lt_dar_can_shared=$GCC ;; 10597 esac 10598 if test "$_lt_dar_can_shared" = "yes"; then 10599 output_verbose_link_cmd=func_echo_all 10600 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10601 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10602 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 10603 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}" 10604 10605 else 10606 ld_shlibs=no 10607 fi 10608 10609 ;; 10610 10611 dgux*) 10612 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10613 hardcode_libdir_flag_spec='-L$libdir' 10614 hardcode_shlibpath_var=no 10615 ;; 10616 10617 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10618 # support. Future versions do this automatically, but an explicit c++rt0.o 10619 # does not break anything, and helps significantly (at the cost of a little 10620 # extra space). 10621 freebsd2.2*) 10622 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10623 hardcode_libdir_flag_spec='-R$libdir' 10624 hardcode_direct=yes 10625 hardcode_shlibpath_var=no 10626 ;; 10627 10628 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10629 freebsd2.*) 10630 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10631 hardcode_direct=yes 10632 hardcode_minus_L=yes 10633 hardcode_shlibpath_var=no 10634 ;; 10635 10636 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10637 freebsd* | dragonfly*) 10638 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10639 hardcode_libdir_flag_spec='-R$libdir' 10640 hardcode_direct=yes 10641 hardcode_shlibpath_var=no 10642 ;; 10643 10644 hpux9*) 10645 if test "$GCC" = yes; then 10646 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 10647 else 10648 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' 10649 fi 10650 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10651 hardcode_libdir_separator=: 10652 hardcode_direct=yes 10653 10654 # hardcode_minus_L: Not really in the search PATH, 10655 # but as the default location of the library. 10656 hardcode_minus_L=yes 10657 export_dynamic_flag_spec='${wl}-E' 10658 ;; 10659 10660 hpux10*) 10661 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10662 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10663 else 10664 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10665 fi 10666 if test "$with_gnu_ld" = no; then 10667 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10668 hardcode_libdir_separator=: 10669 hardcode_direct=yes 10670 hardcode_direct_absolute=yes 10671 export_dynamic_flag_spec='${wl}-E' 10672 # hardcode_minus_L: Not really in the search PATH, 10673 # but as the default location of the library. 10674 hardcode_minus_L=yes 10675 fi 10676 ;; 10677 10678 hpux11*) 10679 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10680 case $host_cpu in 10681 hppa*64*) 10682 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10683 ;; 10684 ia64*) 10685 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10686 ;; 10687 *) 10688 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10689 ;; 10690 esac 10691 else 10692 case $host_cpu in 10693 hppa*64*) 10694 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10695 ;; 10696 ia64*) 10697 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10698 ;; 10699 *) 10700 10701 # Older versions of the 11.00 compiler do not understand -b yet 10702 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10704$as_echo_n "checking if $CC understands -b... " >&6; } 10705if ${lt_cv_prog_compiler__b+:} false; then : 10706 $as_echo_n "(cached) " >&6 10707else 10708 lt_cv_prog_compiler__b=no 10709 save_LDFLAGS="$LDFLAGS" 10710 LDFLAGS="$LDFLAGS -b" 10711 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10712 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10713 # The linker can only warn and ignore the option if not recognized 10714 # So say no if there are warnings 10715 if test -s conftest.err; then 10716 # Append any errors to the config.log. 10717 cat conftest.err 1>&5 10718 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10719 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10720 if diff conftest.exp conftest.er2 >/dev/null; then 10721 lt_cv_prog_compiler__b=yes 10722 fi 10723 else 10724 lt_cv_prog_compiler__b=yes 10725 fi 10726 fi 10727 $RM -r conftest* 10728 LDFLAGS="$save_LDFLAGS" 10729 10730fi 10731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10732$as_echo "$lt_cv_prog_compiler__b" >&6; } 10733 10734if test x"$lt_cv_prog_compiler__b" = xyes; then 10735 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10736else 10737 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10738fi 10739 10740 ;; 10741 esac 10742 fi 10743 if test "$with_gnu_ld" = no; then 10744 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10745 hardcode_libdir_separator=: 10746 10747 case $host_cpu in 10748 hppa*64*|ia64*) 10749 hardcode_direct=no 10750 hardcode_shlibpath_var=no 10751 ;; 10752 *) 10753 hardcode_direct=yes 10754 hardcode_direct_absolute=yes 10755 export_dynamic_flag_spec='${wl}-E' 10756 10757 # hardcode_minus_L: Not really in the search PATH, 10758 # but as the default location of the library. 10759 hardcode_minus_L=yes 10760 ;; 10761 esac 10762 fi 10763 ;; 10764 10765 irix5* | irix6* | nonstopux*) 10766 if test "$GCC" = yes; then 10767 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10768 # Try to use the -exported_symbol ld option, if it does not 10769 # work, assume that -exports_file does not work either and 10770 # implicitly export all symbols. 10771 # This should be the same for all languages, so no per-tag cache variable. 10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10773$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10774if ${lt_cv_irix_exported_symbol+:} false; then : 10775 $as_echo_n "(cached) " >&6 10776else 10777 save_LDFLAGS="$LDFLAGS" 10778 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10780/* end confdefs.h. */ 10781int foo (void) { return 0; } 10782_ACEOF 10783if ac_fn_c_try_link "$LINENO"; then : 10784 lt_cv_irix_exported_symbol=yes 10785else 10786 lt_cv_irix_exported_symbol=no 10787fi 10788rm -f core conftest.err conftest.$ac_objext \ 10789 conftest$ac_exeext conftest.$ac_ext 10790 LDFLAGS="$save_LDFLAGS" 10791fi 10792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10793$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10794 if test "$lt_cv_irix_exported_symbol" = yes; then 10795 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 10796 fi 10797 else 10798 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' 10799 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' 10800 fi 10801 archive_cmds_need_lc='no' 10802 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10803 hardcode_libdir_separator=: 10804 inherit_rpath=yes 10805 link_all_deplibs=yes 10806 ;; 10807 10808 netbsd* | netbsdelf*-gnu) 10809 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10810 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10811 else 10812 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10813 fi 10814 hardcode_libdir_flag_spec='-R$libdir' 10815 hardcode_direct=yes 10816 hardcode_shlibpath_var=no 10817 ;; 10818 10819 newsos6) 10820 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10821 hardcode_direct=yes 10822 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10823 hardcode_libdir_separator=: 10824 hardcode_shlibpath_var=no 10825 ;; 10826 10827 *nto* | *qnx*) 10828 ;; 10829 10830 openbsd*) 10831 if test -f /usr/libexec/ld.so; then 10832 hardcode_direct=yes 10833 hardcode_shlibpath_var=no 10834 hardcode_direct_absolute=yes 10835 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10836 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10837 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10838 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10839 export_dynamic_flag_spec='${wl}-E' 10840 else 10841 case $host_os in 10842 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10843 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10844 hardcode_libdir_flag_spec='-R$libdir' 10845 ;; 10846 *) 10847 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10848 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10849 ;; 10850 esac 10851 fi 10852 else 10853 ld_shlibs=no 10854 fi 10855 ;; 10856 10857 os2*) 10858 hardcode_libdir_flag_spec='-L$libdir' 10859 hardcode_minus_L=yes 10860 allow_undefined_flag=unsupported 10861 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' 10862 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10863 ;; 10864 10865 osf3*) 10866 if test "$GCC" = yes; then 10867 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10868 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' 10869 else 10870 allow_undefined_flag=' -expect_unresolved \*' 10871 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' 10872 fi 10873 archive_cmds_need_lc='no' 10874 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10875 hardcode_libdir_separator=: 10876 ;; 10877 10878 osf4* | osf5*) # as osf3* with the addition of -msym flag 10879 if test "$GCC" = yes; then 10880 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10881 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10882 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10883 else 10884 allow_undefined_flag=' -expect_unresolved \*' 10885 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' 10886 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~ 10887 $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' 10888 10889 # Both c and cxx compiler support -rpath directly 10890 hardcode_libdir_flag_spec='-rpath $libdir' 10891 fi 10892 archive_cmds_need_lc='no' 10893 hardcode_libdir_separator=: 10894 ;; 10895 10896 solaris*) 10897 no_undefined_flag=' -z defs' 10898 if test "$GCC" = yes; then 10899 wlarc='${wl}' 10900 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10901 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10902 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10903 else 10904 case `$CC -V 2>&1` in 10905 *"Compilers 5.0"*) 10906 wlarc='' 10907 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10908 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10909 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10910 ;; 10911 *) 10912 wlarc='${wl}' 10913 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10914 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10915 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10916 ;; 10917 esac 10918 fi 10919 hardcode_libdir_flag_spec='-R$libdir' 10920 hardcode_shlibpath_var=no 10921 case $host_os in 10922 solaris2.[0-5] | solaris2.[0-5].*) ;; 10923 *) 10924 # The compiler driver will combine and reorder linker options, 10925 # but understands `-z linker_flag'. GCC discards it without `$wl', 10926 # but is careful enough not to reorder. 10927 # Supported since Solaris 2.6 (maybe 2.5.1?) 10928 if test "$GCC" = yes; then 10929 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10930 else 10931 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10932 fi 10933 ;; 10934 esac 10935 link_all_deplibs=yes 10936 ;; 10937 10938 sunos4*) 10939 if test "x$host_vendor" = xsequent; then 10940 # Use $CC to link under sequent, because it throws in some extra .o 10941 # files that make .init and .fini sections work. 10942 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10943 else 10944 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10945 fi 10946 hardcode_libdir_flag_spec='-L$libdir' 10947 hardcode_direct=yes 10948 hardcode_minus_L=yes 10949 hardcode_shlibpath_var=no 10950 ;; 10951 10952 sysv4) 10953 case $host_vendor in 10954 sni) 10955 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10956 hardcode_direct=yes # is this really true??? 10957 ;; 10958 siemens) 10959 ## LD is ld it makes a PLAMLIB 10960 ## CC just makes a GrossModule. 10961 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10962 reload_cmds='$CC -r -o $output$reload_objs' 10963 hardcode_direct=no 10964 ;; 10965 motorola) 10966 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10967 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10968 ;; 10969 esac 10970 runpath_var='LD_RUN_PATH' 10971 hardcode_shlibpath_var=no 10972 ;; 10973 10974 sysv4.3*) 10975 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10976 hardcode_shlibpath_var=no 10977 export_dynamic_flag_spec='-Bexport' 10978 ;; 10979 10980 sysv4*MP*) 10981 if test -d /usr/nec; then 10982 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10983 hardcode_shlibpath_var=no 10984 runpath_var=LD_RUN_PATH 10985 hardcode_runpath_var=yes 10986 ld_shlibs=yes 10987 fi 10988 ;; 10989 10990 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10991 no_undefined_flag='${wl}-z,text' 10992 archive_cmds_need_lc=no 10993 hardcode_shlibpath_var=no 10994 runpath_var='LD_RUN_PATH' 10995 10996 if test "$GCC" = yes; then 10997 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10998 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10999 else 11000 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11001 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11002 fi 11003 ;; 11004 11005 sysv5* | sco3.2v5* | sco5v6*) 11006 # Note: We can NOT use -z defs as we might desire, because we do not 11007 # link with -lc, and that would cause any symbols used from libc to 11008 # always be unresolved, which means just about no library would 11009 # ever link correctly. If we're not using GNU ld we use -z text 11010 # though, which does catch some bad symbols but isn't as heavy-handed 11011 # as -z defs. 11012 no_undefined_flag='${wl}-z,text' 11013 allow_undefined_flag='${wl}-z,nodefs' 11014 archive_cmds_need_lc=no 11015 hardcode_shlibpath_var=no 11016 hardcode_libdir_flag_spec='${wl}-R,$libdir' 11017 hardcode_libdir_separator=':' 11018 link_all_deplibs=yes 11019 export_dynamic_flag_spec='${wl}-Bexport' 11020 runpath_var='LD_RUN_PATH' 11021 11022 if test "$GCC" = yes; then 11023 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11024 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11025 else 11026 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11027 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11028 fi 11029 ;; 11030 11031 uts4*) 11032 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11033 hardcode_libdir_flag_spec='-L$libdir' 11034 hardcode_shlibpath_var=no 11035 ;; 11036 11037 *) 11038 ld_shlibs=no 11039 ;; 11040 esac 11041 11042 if test x$host_vendor = xsni; then 11043 case $host in 11044 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11045 export_dynamic_flag_spec='${wl}-Blargedynsym' 11046 ;; 11047 esac 11048 fi 11049 fi 11050 11051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11052$as_echo "$ld_shlibs" >&6; } 11053test "$ld_shlibs" = no && can_build_shared=no 11054 11055with_gnu_ld=$with_gnu_ld 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071# 11072# Do we need to explicitly link libc? 11073# 11074case "x$archive_cmds_need_lc" in 11075x|xyes) 11076 # Assume -lc should be added 11077 archive_cmds_need_lc=yes 11078 11079 if test "$enable_shared" = yes && test "$GCC" = yes; then 11080 case $archive_cmds in 11081 *'~'*) 11082 # FIXME: we may have to deal with multi-command sequences. 11083 ;; 11084 '$CC '*) 11085 # Test whether the compiler implicitly links with -lc since on some 11086 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11087 # to ld, don't add -lc before -lgcc. 11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11089$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11090if ${lt_cv_archive_cmds_need_lc+:} false; then : 11091 $as_echo_n "(cached) " >&6 11092else 11093 $RM conftest* 11094 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11095 11096 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11097 (eval $ac_compile) 2>&5 11098 ac_status=$? 11099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11100 test $ac_status = 0; } 2>conftest.err; then 11101 soname=conftest 11102 lib=conftest 11103 libobjs=conftest.$ac_objext 11104 deplibs= 11105 wl=$lt_prog_compiler_wl 11106 pic_flag=$lt_prog_compiler_pic 11107 compiler_flags=-v 11108 linker_flags=-v 11109 verstring= 11110 output_objdir=. 11111 libname=conftest 11112 lt_save_allow_undefined_flag=$allow_undefined_flag 11113 allow_undefined_flag= 11114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11115 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11116 ac_status=$? 11117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11118 test $ac_status = 0; } 11119 then 11120 lt_cv_archive_cmds_need_lc=no 11121 else 11122 lt_cv_archive_cmds_need_lc=yes 11123 fi 11124 allow_undefined_flag=$lt_save_allow_undefined_flag 11125 else 11126 cat conftest.err 1>&5 11127 fi 11128 $RM conftest* 11129 11130fi 11131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11132$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11133 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11134 ;; 11135 esac 11136 fi 11137 ;; 11138esac 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11292$as_echo_n "checking dynamic linker characteristics... " >&6; } 11293 11294if test "$GCC" = yes; then 11295 case $host_os in 11296 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 11297 *) lt_awk_arg="/^libraries:/" ;; 11298 esac 11299 case $host_os in 11300 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 11301 *) lt_sed_strip_eq="s,=/,/,g" ;; 11302 esac 11303 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11304 case $lt_search_path_spec in 11305 *\;*) 11306 # if the path contains ";" then we assume it to be the separator 11307 # otherwise default to the standard path separator (i.e. ":") - it is 11308 # assumed that no part of a normal pathname contains ";" but that should 11309 # okay in the real world where ";" in dirpaths is itself problematic. 11310 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11311 ;; 11312 *) 11313 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11314 ;; 11315 esac 11316 # Ok, now we have the path, separated by spaces, we can step through it 11317 # and add multilib dir if necessary. 11318 lt_tmp_lt_search_path_spec= 11319 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11320 for lt_sys_path in $lt_search_path_spec; do 11321 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11322 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 11323 else 11324 test -d "$lt_sys_path" && \ 11325 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11326 fi 11327 done 11328 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11329BEGIN {RS=" "; FS="/|\n";} { 11330 lt_foo=""; 11331 lt_count=0; 11332 for (lt_i = NF; lt_i > 0; lt_i--) { 11333 if ($lt_i != "" && $lt_i != ".") { 11334 if ($lt_i == "..") { 11335 lt_count++; 11336 } else { 11337 if (lt_count == 0) { 11338 lt_foo="/" $lt_i lt_foo; 11339 } else { 11340 lt_count--; 11341 } 11342 } 11343 } 11344 } 11345 if (lt_foo != "") { lt_freq[lt_foo]++; } 11346 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11347}'` 11348 # AWK program above erroneously prepends '/' to C:/dos/paths 11349 # for these hosts. 11350 case $host_os in 11351 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11352 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 11353 esac 11354 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11355else 11356 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11357fi 11358library_names_spec= 11359libname_spec='lib$name' 11360soname_spec= 11361shrext_cmds=".so" 11362postinstall_cmds= 11363postuninstall_cmds= 11364finish_cmds= 11365finish_eval= 11366shlibpath_var= 11367shlibpath_overrides_runpath=unknown 11368version_type=none 11369dynamic_linker="$host_os ld.so" 11370sys_lib_dlsearch_path_spec="/lib /usr/lib" 11371need_lib_prefix=unknown 11372hardcode_into_libs=no 11373 11374# when you set need_version to no, make sure it does not cause -set_version 11375# flags to be left without arguments 11376need_version=unknown 11377 11378case $host_os in 11379aix3*) 11380 version_type=linux # correct to gnu/linux during the next big refactor 11381 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11382 shlibpath_var=LIBPATH 11383 11384 # AIX 3 has no versioning support, so we append a major version to the name. 11385 soname_spec='${libname}${release}${shared_ext}$major' 11386 ;; 11387 11388aix[4-9]*) 11389 version_type=linux # correct to gnu/linux during the next big refactor 11390 need_lib_prefix=no 11391 need_version=no 11392 hardcode_into_libs=yes 11393 if test "$host_cpu" = ia64; then 11394 # AIX 5 supports IA64 11395 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11396 shlibpath_var=LD_LIBRARY_PATH 11397 else 11398 # With GCC up to 2.95.x, collect2 would create an import file 11399 # for dependence libraries. The import file would start with 11400 # the line `#! .'. This would cause the generated library to 11401 # depend on `.', always an invalid library. This was fixed in 11402 # development snapshots of GCC prior to 3.0. 11403 case $host_os in 11404 aix4 | aix4.[01] | aix4.[01].*) 11405 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11406 echo ' yes ' 11407 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11408 : 11409 else 11410 can_build_shared=no 11411 fi 11412 ;; 11413 esac 11414 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11415 # soname into executable. Probably we can add versioning support to 11416 # collect2, so additional links can be useful in future. 11417 if test "$aix_use_runtimelinking" = yes; then 11418 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11419 # instead of lib<name>.a to let people know that these are not 11420 # typical AIX shared libraries. 11421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11422 else 11423 # We preserve .a as extension for shared libraries through AIX4.2 11424 # and later when we are not doing run time linking. 11425 library_names_spec='${libname}${release}.a $libname.a' 11426 soname_spec='${libname}${release}${shared_ext}$major' 11427 fi 11428 shlibpath_var=LIBPATH 11429 fi 11430 ;; 11431 11432amigaos*) 11433 case $host_cpu in 11434 powerpc) 11435 # Since July 2007 AmigaOS4 officially supports .so libraries. 11436 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11438 ;; 11439 m68k) 11440 library_names_spec='$libname.ixlibrary $libname.a' 11441 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11442 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' 11443 ;; 11444 esac 11445 ;; 11446 11447beos*) 11448 library_names_spec='${libname}${shared_ext}' 11449 dynamic_linker="$host_os ld.so" 11450 shlibpath_var=LIBRARY_PATH 11451 ;; 11452 11453bsdi[45]*) 11454 version_type=linux # correct to gnu/linux during the next big refactor 11455 need_version=no 11456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11457 soname_spec='${libname}${release}${shared_ext}$major' 11458 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11459 shlibpath_var=LD_LIBRARY_PATH 11460 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11461 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11462 # the default ld.so.conf also contains /usr/contrib/lib and 11463 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11464 # libtool to hard-code these into programs 11465 ;; 11466 11467cygwin* | mingw* | pw32* | cegcc*) 11468 version_type=windows 11469 shrext_cmds=".dll" 11470 need_version=no 11471 need_lib_prefix=no 11472 11473 case $GCC,$cc_basename in 11474 yes,*) 11475 # gcc 11476 library_names_spec='$libname.dll.a' 11477 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11478 postinstall_cmds='base_file=`basename \${file}`~ 11479 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11480 dldir=$destdir/`dirname \$dlpath`~ 11481 test -d \$dldir || mkdir -p \$dldir~ 11482 $install_prog $dir/$dlname \$dldir/$dlname~ 11483 chmod a+x \$dldir/$dlname~ 11484 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11485 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11486 fi' 11487 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11488 dlpath=$dir/\$dldll~ 11489 $RM \$dlpath' 11490 shlibpath_overrides_runpath=yes 11491 11492 case $host_os in 11493 cygwin*) 11494 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11495 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11496 11497 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11498 ;; 11499 mingw* | cegcc*) 11500 # MinGW DLLs use traditional 'lib' prefix 11501 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11502 ;; 11503 pw32*) 11504 # pw32 DLLs use 'pw' prefix rather than 'lib' 11505 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11506 ;; 11507 esac 11508 dynamic_linker='Win32 ld.exe' 11509 ;; 11510 11511 *,cl*) 11512 # Native MSVC 11513 libname_spec='$name' 11514 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11515 library_names_spec='${libname}.dll.lib' 11516 11517 case $build_os in 11518 mingw*) 11519 sys_lib_search_path_spec= 11520 lt_save_ifs=$IFS 11521 IFS=';' 11522 for lt_path in $LIB 11523 do 11524 IFS=$lt_save_ifs 11525 # Let DOS variable expansion print the short 8.3 style file name. 11526 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11527 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11528 done 11529 IFS=$lt_save_ifs 11530 # Convert to MSYS style. 11531 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11532 ;; 11533 cygwin*) 11534 # Convert to unix form, then to dos form, then back to unix form 11535 # but this time dos style (no spaces!) so that the unix form looks 11536 # like /cygdrive/c/PROGRA~1:/cygdr... 11537 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11538 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11539 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11540 ;; 11541 *) 11542 sys_lib_search_path_spec="$LIB" 11543 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11544 # It is most probably a Windows format PATH. 11545 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11546 else 11547 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11548 fi 11549 # FIXME: find the short name or the path components, as spaces are 11550 # common. (e.g. "Program Files" -> "PROGRA~1") 11551 ;; 11552 esac 11553 11554 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11555 postinstall_cmds='base_file=`basename \${file}`~ 11556 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11557 dldir=$destdir/`dirname \$dlpath`~ 11558 test -d \$dldir || mkdir -p \$dldir~ 11559 $install_prog $dir/$dlname \$dldir/$dlname' 11560 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11561 dlpath=$dir/\$dldll~ 11562 $RM \$dlpath' 11563 shlibpath_overrides_runpath=yes 11564 dynamic_linker='Win32 link.exe' 11565 ;; 11566 11567 *) 11568 # Assume MSVC wrapper 11569 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11570 dynamic_linker='Win32 ld.exe' 11571 ;; 11572 esac 11573 # FIXME: first we should search . and the directory the executable is in 11574 shlibpath_var=PATH 11575 ;; 11576 11577darwin* | rhapsody*) 11578 dynamic_linker="$host_os dyld" 11579 version_type=darwin 11580 need_lib_prefix=no 11581 need_version=no 11582 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11583 soname_spec='${libname}${release}${major}$shared_ext' 11584 shlibpath_overrides_runpath=yes 11585 shlibpath_var=DYLD_LIBRARY_PATH 11586 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11587 11588 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11589 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11590 ;; 11591 11592dgux*) 11593 version_type=linux # correct to gnu/linux during the next big refactor 11594 need_lib_prefix=no 11595 need_version=no 11596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11597 soname_spec='${libname}${release}${shared_ext}$major' 11598 shlibpath_var=LD_LIBRARY_PATH 11599 ;; 11600 11601freebsd* | dragonfly*) 11602 # DragonFly does not have aout. When/if they implement a new 11603 # versioning mechanism, adjust this. 11604 if test -x /usr/bin/objformat; then 11605 objformat=`/usr/bin/objformat` 11606 else 11607 case $host_os in 11608 freebsd[23].*) objformat=aout ;; 11609 *) objformat=elf ;; 11610 esac 11611 fi 11612 version_type=freebsd-$objformat 11613 case $version_type in 11614 freebsd-elf*) 11615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11616 need_version=no 11617 need_lib_prefix=no 11618 ;; 11619 freebsd-*) 11620 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11621 need_version=yes 11622 ;; 11623 esac 11624 shlibpath_var=LD_LIBRARY_PATH 11625 case $host_os in 11626 freebsd2.*) 11627 shlibpath_overrides_runpath=yes 11628 ;; 11629 freebsd3.[01]* | freebsdelf3.[01]*) 11630 shlibpath_overrides_runpath=yes 11631 hardcode_into_libs=yes 11632 ;; 11633 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11634 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11635 shlibpath_overrides_runpath=no 11636 hardcode_into_libs=yes 11637 ;; 11638 *) # from 4.6 on, and DragonFly 11639 shlibpath_overrides_runpath=yes 11640 hardcode_into_libs=yes 11641 ;; 11642 esac 11643 ;; 11644 11645haiku*) 11646 version_type=linux # correct to gnu/linux during the next big refactor 11647 need_lib_prefix=no 11648 need_version=no 11649 dynamic_linker="$host_os runtime_loader" 11650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11651 soname_spec='${libname}${release}${shared_ext}$major' 11652 shlibpath_var=LIBRARY_PATH 11653 shlibpath_overrides_runpath=yes 11654 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11655 hardcode_into_libs=yes 11656 ;; 11657 11658hpux9* | hpux10* | hpux11*) 11659 # Give a soname corresponding to the major version so that dld.sl refuses to 11660 # link against other versions. 11661 version_type=sunos 11662 need_lib_prefix=no 11663 need_version=no 11664 case $host_cpu in 11665 ia64*) 11666 shrext_cmds='.so' 11667 hardcode_into_libs=yes 11668 dynamic_linker="$host_os dld.so" 11669 shlibpath_var=LD_LIBRARY_PATH 11670 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11672 soname_spec='${libname}${release}${shared_ext}$major' 11673 if test "X$HPUX_IA64_MODE" = X32; then 11674 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11675 else 11676 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11677 fi 11678 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11679 ;; 11680 hppa*64*) 11681 shrext_cmds='.sl' 11682 hardcode_into_libs=yes 11683 dynamic_linker="$host_os dld.sl" 11684 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11685 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11687 soname_spec='${libname}${release}${shared_ext}$major' 11688 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11689 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11690 ;; 11691 *) 11692 shrext_cmds='.sl' 11693 dynamic_linker="$host_os dld.sl" 11694 shlibpath_var=SHLIB_PATH 11695 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11697 soname_spec='${libname}${release}${shared_ext}$major' 11698 ;; 11699 esac 11700 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11701 postinstall_cmds='chmod 555 $lib' 11702 # or fails outright, so override atomically: 11703 install_override_mode=555 11704 ;; 11705 11706interix[3-9]*) 11707 version_type=linux # correct to gnu/linux during the next big refactor 11708 need_lib_prefix=no 11709 need_version=no 11710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11711 soname_spec='${libname}${release}${shared_ext}$major' 11712 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11713 shlibpath_var=LD_LIBRARY_PATH 11714 shlibpath_overrides_runpath=no 11715 hardcode_into_libs=yes 11716 ;; 11717 11718irix5* | irix6* | nonstopux*) 11719 case $host_os in 11720 nonstopux*) version_type=nonstopux ;; 11721 *) 11722 if test "$lt_cv_prog_gnu_ld" = yes; then 11723 version_type=linux # correct to gnu/linux during the next big refactor 11724 else 11725 version_type=irix 11726 fi ;; 11727 esac 11728 need_lib_prefix=no 11729 need_version=no 11730 soname_spec='${libname}${release}${shared_ext}$major' 11731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11732 case $host_os in 11733 irix5* | nonstopux*) 11734 libsuff= shlibsuff= 11735 ;; 11736 *) 11737 case $LD in # libtool.m4 will add one of these switches to LD 11738 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11739 libsuff= shlibsuff= libmagic=32-bit;; 11740 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11741 libsuff=32 shlibsuff=N32 libmagic=N32;; 11742 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11743 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11744 *) libsuff= shlibsuff= libmagic=never-match;; 11745 esac 11746 ;; 11747 esac 11748 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11749 shlibpath_overrides_runpath=no 11750 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11751 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11752 hardcode_into_libs=yes 11753 ;; 11754 11755# No shared lib support for Linux oldld, aout, or coff. 11756linux*oldld* | linux*aout* | linux*coff*) 11757 dynamic_linker=no 11758 ;; 11759 11760# This must be glibc/ELF. 11761linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11762 version_type=linux # correct to gnu/linux during the next big refactor 11763 need_lib_prefix=no 11764 need_version=no 11765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11766 soname_spec='${libname}${release}${shared_ext}$major' 11767 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11768 shlibpath_var=LD_LIBRARY_PATH 11769 shlibpath_overrides_runpath=no 11770 11771 # Some binutils ld are patched to set DT_RUNPATH 11772 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11773 $as_echo_n "(cached) " >&6 11774else 11775 lt_cv_shlibpath_overrides_runpath=no 11776 save_LDFLAGS=$LDFLAGS 11777 save_libdir=$libdir 11778 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11779 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11781/* end confdefs.h. */ 11782 11783int 11784main () 11785{ 11786 11787 ; 11788 return 0; 11789} 11790_ACEOF 11791if ac_fn_c_try_link "$LINENO"; then : 11792 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11793 lt_cv_shlibpath_overrides_runpath=yes 11794fi 11795fi 11796rm -f core conftest.err conftest.$ac_objext \ 11797 conftest$ac_exeext conftest.$ac_ext 11798 LDFLAGS=$save_LDFLAGS 11799 libdir=$save_libdir 11800 11801fi 11802 11803 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11804 11805 # This implies no fast_install, which is unacceptable. 11806 # Some rework will be needed to allow for fast_install 11807 # before this can be enabled. 11808 hardcode_into_libs=yes 11809 11810 # Append ld.so.conf contents to the search path 11811 if test -f /etc/ld.so.conf; then 11812 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' ' '` 11813 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11814 fi 11815 11816 # We used to test for /lib/ld.so.1 and disable shared libraries on 11817 # powerpc, because MkLinux only supported shared libraries with the 11818 # GNU dynamic linker. Since this was broken with cross compilers, 11819 # most powerpc-linux boxes support dynamic linking these days and 11820 # people can always --disable-shared, the test was removed, and we 11821 # assume the GNU/Linux dynamic linker is in use. 11822 dynamic_linker='GNU/Linux ld.so' 11823 ;; 11824 11825netbsdelf*-gnu) 11826 version_type=linux 11827 need_lib_prefix=no 11828 need_version=no 11829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11830 soname_spec='${libname}${release}${shared_ext}$major' 11831 shlibpath_var=LD_LIBRARY_PATH 11832 shlibpath_overrides_runpath=no 11833 hardcode_into_libs=yes 11834 dynamic_linker='NetBSD ld.elf_so' 11835 ;; 11836 11837netbsd*) 11838 version_type=sunos 11839 need_lib_prefix=no 11840 need_version=no 11841 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11843 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11844 dynamic_linker='NetBSD (a.out) ld.so' 11845 else 11846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11847 soname_spec='${libname}${release}${shared_ext}$major' 11848 dynamic_linker='NetBSD ld.elf_so' 11849 fi 11850 shlibpath_var=LD_LIBRARY_PATH 11851 shlibpath_overrides_runpath=yes 11852 hardcode_into_libs=yes 11853 ;; 11854 11855newsos6) 11856 version_type=linux # correct to gnu/linux during the next big refactor 11857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11858 shlibpath_var=LD_LIBRARY_PATH 11859 shlibpath_overrides_runpath=yes 11860 ;; 11861 11862*nto* | *qnx*) 11863 version_type=qnx 11864 need_lib_prefix=no 11865 need_version=no 11866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11867 soname_spec='${libname}${release}${shared_ext}$major' 11868 shlibpath_var=LD_LIBRARY_PATH 11869 shlibpath_overrides_runpath=no 11870 hardcode_into_libs=yes 11871 dynamic_linker='ldqnx.so' 11872 ;; 11873 11874openbsd*) 11875 version_type=sunos 11876 sys_lib_dlsearch_path_spec="/usr/lib" 11877 need_lib_prefix=no 11878 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11879 case $host_os in 11880 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11881 *) need_version=no ;; 11882 esac 11883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11884 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11885 shlibpath_var=LD_LIBRARY_PATH 11886 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11887 case $host_os in 11888 openbsd2.[89] | openbsd2.[89].*) 11889 shlibpath_overrides_runpath=no 11890 ;; 11891 *) 11892 shlibpath_overrides_runpath=yes 11893 ;; 11894 esac 11895 else 11896 shlibpath_overrides_runpath=yes 11897 fi 11898 ;; 11899 11900os2*) 11901 libname_spec='$name' 11902 shrext_cmds=".dll" 11903 need_lib_prefix=no 11904 library_names_spec='$libname${shared_ext} $libname.a' 11905 dynamic_linker='OS/2 ld.exe' 11906 shlibpath_var=LIBPATH 11907 ;; 11908 11909osf3* | osf4* | osf5*) 11910 version_type=osf 11911 need_lib_prefix=no 11912 need_version=no 11913 soname_spec='${libname}${release}${shared_ext}$major' 11914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11915 shlibpath_var=LD_LIBRARY_PATH 11916 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11917 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11918 ;; 11919 11920rdos*) 11921 dynamic_linker=no 11922 ;; 11923 11924solaris*) 11925 version_type=linux # correct to gnu/linux during the next big refactor 11926 need_lib_prefix=no 11927 need_version=no 11928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11929 soname_spec='${libname}${release}${shared_ext}$major' 11930 shlibpath_var=LD_LIBRARY_PATH 11931 shlibpath_overrides_runpath=yes 11932 hardcode_into_libs=yes 11933 # ldd complains unless libraries are executable 11934 postinstall_cmds='chmod +x $lib' 11935 ;; 11936 11937sunos4*) 11938 version_type=sunos 11939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11940 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11941 shlibpath_var=LD_LIBRARY_PATH 11942 shlibpath_overrides_runpath=yes 11943 if test "$with_gnu_ld" = yes; then 11944 need_lib_prefix=no 11945 fi 11946 need_version=yes 11947 ;; 11948 11949sysv4 | sysv4.3*) 11950 version_type=linux # correct to gnu/linux during the next big refactor 11951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11952 soname_spec='${libname}${release}${shared_ext}$major' 11953 shlibpath_var=LD_LIBRARY_PATH 11954 case $host_vendor in 11955 sni) 11956 shlibpath_overrides_runpath=no 11957 need_lib_prefix=no 11958 runpath_var=LD_RUN_PATH 11959 ;; 11960 siemens) 11961 need_lib_prefix=no 11962 ;; 11963 motorola) 11964 need_lib_prefix=no 11965 need_version=no 11966 shlibpath_overrides_runpath=no 11967 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11968 ;; 11969 esac 11970 ;; 11971 11972sysv4*MP*) 11973 if test -d /usr/nec ;then 11974 version_type=linux # correct to gnu/linux during the next big refactor 11975 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11976 soname_spec='$libname${shared_ext}.$major' 11977 shlibpath_var=LD_LIBRARY_PATH 11978 fi 11979 ;; 11980 11981sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11982 version_type=freebsd-elf 11983 need_lib_prefix=no 11984 need_version=no 11985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11986 soname_spec='${libname}${release}${shared_ext}$major' 11987 shlibpath_var=LD_LIBRARY_PATH 11988 shlibpath_overrides_runpath=yes 11989 hardcode_into_libs=yes 11990 if test "$with_gnu_ld" = yes; then 11991 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11992 else 11993 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11994 case $host_os in 11995 sco3.2v5*) 11996 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11997 ;; 11998 esac 11999 fi 12000 sys_lib_dlsearch_path_spec='/usr/lib' 12001 ;; 12002 12003tpf*) 12004 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12005 version_type=linux # correct to gnu/linux during the next big refactor 12006 need_lib_prefix=no 12007 need_version=no 12008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12009 shlibpath_var=LD_LIBRARY_PATH 12010 shlibpath_overrides_runpath=no 12011 hardcode_into_libs=yes 12012 ;; 12013 12014uts4*) 12015 version_type=linux # correct to gnu/linux during the next big refactor 12016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12017 soname_spec='${libname}${release}${shared_ext}$major' 12018 shlibpath_var=LD_LIBRARY_PATH 12019 ;; 12020 12021*) 12022 dynamic_linker=no 12023 ;; 12024esac 12025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12026$as_echo "$dynamic_linker" >&6; } 12027test "$dynamic_linker" = no && can_build_shared=no 12028 12029variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12030if test "$GCC" = yes; then 12031 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12032fi 12033 12034if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 12035 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 12036fi 12037if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 12038 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 12039fi 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12133$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12134hardcode_action= 12135if test -n "$hardcode_libdir_flag_spec" || 12136 test -n "$runpath_var" || 12137 test "X$hardcode_automatic" = "Xyes" ; then 12138 12139 # We can hardcode non-existent directories. 12140 if test "$hardcode_direct" != no && 12141 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12142 # have to relink, otherwise we might link with an installed library 12143 # when we should be linking with a yet-to-be-installed one 12144 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 12145 test "$hardcode_minus_L" != no; then 12146 # Linking always hardcodes the temporary library directory. 12147 hardcode_action=relink 12148 else 12149 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12150 hardcode_action=immediate 12151 fi 12152else 12153 # We cannot hardcode anything, or else we can only hardcode existing 12154 # directories. 12155 hardcode_action=unsupported 12156fi 12157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12158$as_echo "$hardcode_action" >&6; } 12159 12160if test "$hardcode_action" = relink || 12161 test "$inherit_rpath" = yes; then 12162 # Fast installation is not supported 12163 enable_fast_install=no 12164elif test "$shlibpath_overrides_runpath" = yes || 12165 test "$enable_shared" = no; then 12166 # Fast installation is not necessary 12167 enable_fast_install=needless 12168fi 12169 12170 12171 12172 12173 12174 12175 if test "x$enable_dlopen" != xyes; then 12176 enable_dlopen=unknown 12177 enable_dlopen_self=unknown 12178 enable_dlopen_self_static=unknown 12179else 12180 lt_cv_dlopen=no 12181 lt_cv_dlopen_libs= 12182 12183 case $host_os in 12184 beos*) 12185 lt_cv_dlopen="load_add_on" 12186 lt_cv_dlopen_libs= 12187 lt_cv_dlopen_self=yes 12188 ;; 12189 12190 mingw* | pw32* | cegcc*) 12191 lt_cv_dlopen="LoadLibrary" 12192 lt_cv_dlopen_libs= 12193 ;; 12194 12195 cygwin*) 12196 lt_cv_dlopen="dlopen" 12197 lt_cv_dlopen_libs= 12198 ;; 12199 12200 darwin*) 12201 # if libdl is installed we need to link against it 12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12203$as_echo_n "checking for dlopen in -ldl... " >&6; } 12204if ${ac_cv_lib_dl_dlopen+:} false; then : 12205 $as_echo_n "(cached) " >&6 12206else 12207 ac_check_lib_save_LIBS=$LIBS 12208LIBS="-ldl $LIBS" 12209cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12210/* end confdefs.h. */ 12211 12212/* Override any GCC internal prototype to avoid an error. 12213 Use char because int might match the return type of a GCC 12214 builtin and then its argument prototype would still apply. */ 12215#ifdef __cplusplus 12216extern "C" 12217#endif 12218char dlopen (); 12219int 12220main () 12221{ 12222return dlopen (); 12223 ; 12224 return 0; 12225} 12226_ACEOF 12227if ac_fn_c_try_link "$LINENO"; then : 12228 ac_cv_lib_dl_dlopen=yes 12229else 12230 ac_cv_lib_dl_dlopen=no 12231fi 12232rm -f core conftest.err conftest.$ac_objext \ 12233 conftest$ac_exeext conftest.$ac_ext 12234LIBS=$ac_check_lib_save_LIBS 12235fi 12236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12237$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12238if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12239 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12240else 12241 12242 lt_cv_dlopen="dyld" 12243 lt_cv_dlopen_libs= 12244 lt_cv_dlopen_self=yes 12245 12246fi 12247 12248 ;; 12249 12250 *) 12251 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12252if test "x$ac_cv_func_shl_load" = xyes; then : 12253 lt_cv_dlopen="shl_load" 12254else 12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12256$as_echo_n "checking for shl_load in -ldld... " >&6; } 12257if ${ac_cv_lib_dld_shl_load+:} false; then : 12258 $as_echo_n "(cached) " >&6 12259else 12260 ac_check_lib_save_LIBS=$LIBS 12261LIBS="-ldld $LIBS" 12262cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12263/* end confdefs.h. */ 12264 12265/* Override any GCC internal prototype to avoid an error. 12266 Use char because int might match the return type of a GCC 12267 builtin and then its argument prototype would still apply. */ 12268#ifdef __cplusplus 12269extern "C" 12270#endif 12271char shl_load (); 12272int 12273main () 12274{ 12275return shl_load (); 12276 ; 12277 return 0; 12278} 12279_ACEOF 12280if ac_fn_c_try_link "$LINENO"; then : 12281 ac_cv_lib_dld_shl_load=yes 12282else 12283 ac_cv_lib_dld_shl_load=no 12284fi 12285rm -f core conftest.err conftest.$ac_objext \ 12286 conftest$ac_exeext conftest.$ac_ext 12287LIBS=$ac_check_lib_save_LIBS 12288fi 12289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12290$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12291if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12292 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 12293else 12294 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12295if test "x$ac_cv_func_dlopen" = xyes; then : 12296 lt_cv_dlopen="dlopen" 12297else 12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12299$as_echo_n "checking for dlopen in -ldl... " >&6; } 12300if ${ac_cv_lib_dl_dlopen+:} false; then : 12301 $as_echo_n "(cached) " >&6 12302else 12303 ac_check_lib_save_LIBS=$LIBS 12304LIBS="-ldl $LIBS" 12305cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12306/* end confdefs.h. */ 12307 12308/* Override any GCC internal prototype to avoid an error. 12309 Use char because int might match the return type of a GCC 12310 builtin and then its argument prototype would still apply. */ 12311#ifdef __cplusplus 12312extern "C" 12313#endif 12314char dlopen (); 12315int 12316main () 12317{ 12318return dlopen (); 12319 ; 12320 return 0; 12321} 12322_ACEOF 12323if ac_fn_c_try_link "$LINENO"; then : 12324 ac_cv_lib_dl_dlopen=yes 12325else 12326 ac_cv_lib_dl_dlopen=no 12327fi 12328rm -f core conftest.err conftest.$ac_objext \ 12329 conftest$ac_exeext conftest.$ac_ext 12330LIBS=$ac_check_lib_save_LIBS 12331fi 12332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12333$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12334if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12335 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12336else 12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12338$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12339if ${ac_cv_lib_svld_dlopen+:} false; then : 12340 $as_echo_n "(cached) " >&6 12341else 12342 ac_check_lib_save_LIBS=$LIBS 12343LIBS="-lsvld $LIBS" 12344cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12345/* end confdefs.h. */ 12346 12347/* Override any GCC internal prototype to avoid an error. 12348 Use char because int might match the return type of a GCC 12349 builtin and then its argument prototype would still apply. */ 12350#ifdef __cplusplus 12351extern "C" 12352#endif 12353char dlopen (); 12354int 12355main () 12356{ 12357return dlopen (); 12358 ; 12359 return 0; 12360} 12361_ACEOF 12362if ac_fn_c_try_link "$LINENO"; then : 12363 ac_cv_lib_svld_dlopen=yes 12364else 12365 ac_cv_lib_svld_dlopen=no 12366fi 12367rm -f core conftest.err conftest.$ac_objext \ 12368 conftest$ac_exeext conftest.$ac_ext 12369LIBS=$ac_check_lib_save_LIBS 12370fi 12371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12372$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12373if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12374 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12375else 12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12377$as_echo_n "checking for dld_link in -ldld... " >&6; } 12378if ${ac_cv_lib_dld_dld_link+:} false; then : 12379 $as_echo_n "(cached) " >&6 12380else 12381 ac_check_lib_save_LIBS=$LIBS 12382LIBS="-ldld $LIBS" 12383cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12384/* end confdefs.h. */ 12385 12386/* Override any GCC internal prototype to avoid an error. 12387 Use char because int might match the return type of a GCC 12388 builtin and then its argument prototype would still apply. */ 12389#ifdef __cplusplus 12390extern "C" 12391#endif 12392char dld_link (); 12393int 12394main () 12395{ 12396return dld_link (); 12397 ; 12398 return 0; 12399} 12400_ACEOF 12401if ac_fn_c_try_link "$LINENO"; then : 12402 ac_cv_lib_dld_dld_link=yes 12403else 12404 ac_cv_lib_dld_dld_link=no 12405fi 12406rm -f core conftest.err conftest.$ac_objext \ 12407 conftest$ac_exeext conftest.$ac_ext 12408LIBS=$ac_check_lib_save_LIBS 12409fi 12410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12411$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12412if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12413 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12414fi 12415 12416 12417fi 12418 12419 12420fi 12421 12422 12423fi 12424 12425 12426fi 12427 12428 12429fi 12430 12431 ;; 12432 esac 12433 12434 if test "x$lt_cv_dlopen" != xno; then 12435 enable_dlopen=yes 12436 else 12437 enable_dlopen=no 12438 fi 12439 12440 case $lt_cv_dlopen in 12441 dlopen) 12442 save_CPPFLAGS="$CPPFLAGS" 12443 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12444 12445 save_LDFLAGS="$LDFLAGS" 12446 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12447 12448 save_LIBS="$LIBS" 12449 LIBS="$lt_cv_dlopen_libs $LIBS" 12450 12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12452$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12453if ${lt_cv_dlopen_self+:} false; then : 12454 $as_echo_n "(cached) " >&6 12455else 12456 if test "$cross_compiling" = yes; then : 12457 lt_cv_dlopen_self=cross 12458else 12459 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12460 lt_status=$lt_dlunknown 12461 cat > conftest.$ac_ext <<_LT_EOF 12462#line $LINENO "configure" 12463#include "confdefs.h" 12464 12465#if HAVE_DLFCN_H 12466#include <dlfcn.h> 12467#endif 12468 12469#include <stdio.h> 12470 12471#ifdef RTLD_GLOBAL 12472# define LT_DLGLOBAL RTLD_GLOBAL 12473#else 12474# ifdef DL_GLOBAL 12475# define LT_DLGLOBAL DL_GLOBAL 12476# else 12477# define LT_DLGLOBAL 0 12478# endif 12479#endif 12480 12481/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12482 find out it does not work in some platform. */ 12483#ifndef LT_DLLAZY_OR_NOW 12484# ifdef RTLD_LAZY 12485# define LT_DLLAZY_OR_NOW RTLD_LAZY 12486# else 12487# ifdef DL_LAZY 12488# define LT_DLLAZY_OR_NOW DL_LAZY 12489# else 12490# ifdef RTLD_NOW 12491# define LT_DLLAZY_OR_NOW RTLD_NOW 12492# else 12493# ifdef DL_NOW 12494# define LT_DLLAZY_OR_NOW DL_NOW 12495# else 12496# define LT_DLLAZY_OR_NOW 0 12497# endif 12498# endif 12499# endif 12500# endif 12501#endif 12502 12503/* When -fvisbility=hidden is used, assume the code has been annotated 12504 correspondingly for the symbols needed. */ 12505#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12506int fnord () __attribute__((visibility("default"))); 12507#endif 12508 12509int fnord () { return 42; } 12510int main () 12511{ 12512 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12513 int status = $lt_dlunknown; 12514 12515 if (self) 12516 { 12517 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12518 else 12519 { 12520 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12521 else puts (dlerror ()); 12522 } 12523 /* dlclose (self); */ 12524 } 12525 else 12526 puts (dlerror ()); 12527 12528 return status; 12529} 12530_LT_EOF 12531 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12532 (eval $ac_link) 2>&5 12533 ac_status=$? 12534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12535 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12536 (./conftest; exit; ) >&5 2>/dev/null 12537 lt_status=$? 12538 case x$lt_status in 12539 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12540 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12541 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12542 esac 12543 else : 12544 # compilation failed 12545 lt_cv_dlopen_self=no 12546 fi 12547fi 12548rm -fr conftest* 12549 12550 12551fi 12552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12553$as_echo "$lt_cv_dlopen_self" >&6; } 12554 12555 if test "x$lt_cv_dlopen_self" = xyes; then 12556 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12558$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12559if ${lt_cv_dlopen_self_static+:} false; then : 12560 $as_echo_n "(cached) " >&6 12561else 12562 if test "$cross_compiling" = yes; then : 12563 lt_cv_dlopen_self_static=cross 12564else 12565 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12566 lt_status=$lt_dlunknown 12567 cat > conftest.$ac_ext <<_LT_EOF 12568#line $LINENO "configure" 12569#include "confdefs.h" 12570 12571#if HAVE_DLFCN_H 12572#include <dlfcn.h> 12573#endif 12574 12575#include <stdio.h> 12576 12577#ifdef RTLD_GLOBAL 12578# define LT_DLGLOBAL RTLD_GLOBAL 12579#else 12580# ifdef DL_GLOBAL 12581# define LT_DLGLOBAL DL_GLOBAL 12582# else 12583# define LT_DLGLOBAL 0 12584# endif 12585#endif 12586 12587/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12588 find out it does not work in some platform. */ 12589#ifndef LT_DLLAZY_OR_NOW 12590# ifdef RTLD_LAZY 12591# define LT_DLLAZY_OR_NOW RTLD_LAZY 12592# else 12593# ifdef DL_LAZY 12594# define LT_DLLAZY_OR_NOW DL_LAZY 12595# else 12596# ifdef RTLD_NOW 12597# define LT_DLLAZY_OR_NOW RTLD_NOW 12598# else 12599# ifdef DL_NOW 12600# define LT_DLLAZY_OR_NOW DL_NOW 12601# else 12602# define LT_DLLAZY_OR_NOW 0 12603# endif 12604# endif 12605# endif 12606# endif 12607#endif 12608 12609/* When -fvisbility=hidden is used, assume the code has been annotated 12610 correspondingly for the symbols needed. */ 12611#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12612int fnord () __attribute__((visibility("default"))); 12613#endif 12614 12615int fnord () { return 42; } 12616int main () 12617{ 12618 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12619 int status = $lt_dlunknown; 12620 12621 if (self) 12622 { 12623 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12624 else 12625 { 12626 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12627 else puts (dlerror ()); 12628 } 12629 /* dlclose (self); */ 12630 } 12631 else 12632 puts (dlerror ()); 12633 12634 return status; 12635} 12636_LT_EOF 12637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12638 (eval $ac_link) 2>&5 12639 ac_status=$? 12640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12641 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12642 (./conftest; exit; ) >&5 2>/dev/null 12643 lt_status=$? 12644 case x$lt_status in 12645 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12646 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12647 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12648 esac 12649 else : 12650 # compilation failed 12651 lt_cv_dlopen_self_static=no 12652 fi 12653fi 12654rm -fr conftest* 12655 12656 12657fi 12658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12659$as_echo "$lt_cv_dlopen_self_static" >&6; } 12660 fi 12661 12662 CPPFLAGS="$save_CPPFLAGS" 12663 LDFLAGS="$save_LDFLAGS" 12664 LIBS="$save_LIBS" 12665 ;; 12666 esac 12667 12668 case $lt_cv_dlopen_self in 12669 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12670 *) enable_dlopen_self=unknown ;; 12671 esac 12672 12673 case $lt_cv_dlopen_self_static in 12674 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12675 *) enable_dlopen_self_static=unknown ;; 12676 esac 12677fi 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695striplib= 12696old_striplib= 12697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12698$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12699if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12700 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12701 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12703$as_echo "yes" >&6; } 12704else 12705# FIXME - insert some real tests, host_os isn't really good enough 12706 case $host_os in 12707 darwin*) 12708 if test -n "$STRIP" ; then 12709 striplib="$STRIP -x" 12710 old_striplib="$STRIP -S" 12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12712$as_echo "yes" >&6; } 12713 else 12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12715$as_echo "no" >&6; } 12716 fi 12717 ;; 12718 *) 12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12720$as_echo "no" >&6; } 12721 ;; 12722 esac 12723fi 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 # Report which library types will actually be built 12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12738$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12740$as_echo "$can_build_shared" >&6; } 12741 12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12743$as_echo_n "checking whether to build shared libraries... " >&6; } 12744 test "$can_build_shared" = "no" && enable_shared=no 12745 12746 # On AIX, shared libraries and static libraries use the same namespace, and 12747 # are all built from PIC. 12748 case $host_os in 12749 aix3*) 12750 test "$enable_shared" = yes && enable_static=no 12751 if test -n "$RANLIB"; then 12752 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12753 postinstall_cmds='$RANLIB $lib' 12754 fi 12755 ;; 12756 12757 aix[4-9]*) 12758 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12759 test "$enable_shared" = yes && enable_static=no 12760 fi 12761 ;; 12762 esac 12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12764$as_echo "$enable_shared" >&6; } 12765 12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12767$as_echo_n "checking whether to build static libraries... " >&6; } 12768 # Make sure either enable_shared or enable_static is yes. 12769 test "$enable_shared" = yes || enable_static=yes 12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12771$as_echo "$enable_static" >&6; } 12772 12773 12774 12775 12776fi 12777ac_ext=c 12778ac_cpp='$CPP $CPPFLAGS' 12779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12781ac_compiler_gnu=$ac_cv_c_compiler_gnu 12782 12783CC="$lt_save_CC" 12784 12785 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 12786 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 12787 (test "X$CXX" != "Xg++"))) ; then 12788 ac_ext=cpp 12789ac_cpp='$CXXCPP $CPPFLAGS' 12790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 12794$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 12795if test -z "$CXXCPP"; then 12796 if ${ac_cv_prog_CXXCPP+:} false; then : 12797 $as_echo_n "(cached) " >&6 12798else 12799 # Double quotes because CXXCPP needs to be expanded 12800 for CXXCPP in "$CXX -E" "/lib/cpp" 12801 do 12802 ac_preproc_ok=false 12803for ac_cxx_preproc_warn_flag in '' yes 12804do 12805 # Use a header file that comes with gcc, so configuring glibc 12806 # with a fresh cross-compiler works. 12807 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12808 # <limits.h> exists even on freestanding compilers. 12809 # On the NeXT, cc -E runs the code through the compiler's parser, 12810 # not just through cpp. "Syntax error" is here to catch this case. 12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12812/* end confdefs.h. */ 12813#ifdef __STDC__ 12814# include <limits.h> 12815#else 12816# include <assert.h> 12817#endif 12818 Syntax error 12819_ACEOF 12820if ac_fn_cxx_try_cpp "$LINENO"; then : 12821 12822else 12823 # Broken: fails on valid input. 12824continue 12825fi 12826rm -f conftest.err conftest.i conftest.$ac_ext 12827 12828 # OK, works on sane cases. Now check whether nonexistent headers 12829 # can be detected and how. 12830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12831/* end confdefs.h. */ 12832#include <ac_nonexistent.h> 12833_ACEOF 12834if ac_fn_cxx_try_cpp "$LINENO"; then : 12835 # Broken: success on invalid input. 12836continue 12837else 12838 # Passes both tests. 12839ac_preproc_ok=: 12840break 12841fi 12842rm -f conftest.err conftest.i conftest.$ac_ext 12843 12844done 12845# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12846rm -f conftest.i conftest.err conftest.$ac_ext 12847if $ac_preproc_ok; then : 12848 break 12849fi 12850 12851 done 12852 ac_cv_prog_CXXCPP=$CXXCPP 12853 12854fi 12855 CXXCPP=$ac_cv_prog_CXXCPP 12856else 12857 ac_cv_prog_CXXCPP=$CXXCPP 12858fi 12859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 12860$as_echo "$CXXCPP" >&6; } 12861ac_preproc_ok=false 12862for ac_cxx_preproc_warn_flag in '' yes 12863do 12864 # Use a header file that comes with gcc, so configuring glibc 12865 # with a fresh cross-compiler works. 12866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12867 # <limits.h> exists even on freestanding compilers. 12868 # On the NeXT, cc -E runs the code through the compiler's parser, 12869 # not just through cpp. "Syntax error" is here to catch this case. 12870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12871/* end confdefs.h. */ 12872#ifdef __STDC__ 12873# include <limits.h> 12874#else 12875# include <assert.h> 12876#endif 12877 Syntax error 12878_ACEOF 12879if ac_fn_cxx_try_cpp "$LINENO"; then : 12880 12881else 12882 # Broken: fails on valid input. 12883continue 12884fi 12885rm -f conftest.err conftest.i conftest.$ac_ext 12886 12887 # OK, works on sane cases. Now check whether nonexistent headers 12888 # can be detected and how. 12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12890/* end confdefs.h. */ 12891#include <ac_nonexistent.h> 12892_ACEOF 12893if ac_fn_cxx_try_cpp "$LINENO"; then : 12894 # Broken: success on invalid input. 12895continue 12896else 12897 # Passes both tests. 12898ac_preproc_ok=: 12899break 12900fi 12901rm -f conftest.err conftest.i conftest.$ac_ext 12902 12903done 12904# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12905rm -f conftest.i conftest.err conftest.$ac_ext 12906if $ac_preproc_ok; then : 12907 12908else 12909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12910$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12911as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 12912See \`config.log' for more details" "$LINENO" 5; } 12913fi 12914 12915ac_ext=c 12916ac_cpp='$CPP $CPPFLAGS' 12917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12919ac_compiler_gnu=$ac_cv_c_compiler_gnu 12920 12921else 12922 _lt_caught_CXX_error=yes 12923fi 12924 12925ac_ext=cpp 12926ac_cpp='$CXXCPP $CPPFLAGS' 12927ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12928ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12929ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12930 12931archive_cmds_need_lc_CXX=no 12932allow_undefined_flag_CXX= 12933always_export_symbols_CXX=no 12934archive_expsym_cmds_CXX= 12935compiler_needs_object_CXX=no 12936export_dynamic_flag_spec_CXX= 12937hardcode_direct_CXX=no 12938hardcode_direct_absolute_CXX=no 12939hardcode_libdir_flag_spec_CXX= 12940hardcode_libdir_separator_CXX= 12941hardcode_minus_L_CXX=no 12942hardcode_shlibpath_var_CXX=unsupported 12943hardcode_automatic_CXX=no 12944inherit_rpath_CXX=no 12945module_cmds_CXX= 12946module_expsym_cmds_CXX= 12947link_all_deplibs_CXX=unknown 12948old_archive_cmds_CXX=$old_archive_cmds 12949reload_flag_CXX=$reload_flag 12950reload_cmds_CXX=$reload_cmds 12951no_undefined_flag_CXX= 12952whole_archive_flag_spec_CXX= 12953enable_shared_with_static_runtimes_CXX=no 12954 12955# Source file extension for C++ test sources. 12956ac_ext=cpp 12957 12958# Object file extension for compiled C++ test sources. 12959objext=o 12960objext_CXX=$objext 12961 12962# No sense in running all these tests if we already determined that 12963# the CXX compiler isn't working. Some variables (like enable_shared) 12964# are currently assumed to apply to all compilers on this platform, 12965# and will be corrupted by setting them based on a non-working compiler. 12966if test "$_lt_caught_CXX_error" != yes; then 12967 # Code to be used in simple compile tests 12968 lt_simple_compile_test_code="int some_variable = 0;" 12969 12970 # Code to be used in simple link tests 12971 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 12972 12973 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 12974 12975 12976 12977 12978 12979 12980# If no C compiler was specified, use CC. 12981LTCC=${LTCC-"$CC"} 12982 12983# If no C compiler flags were specified, use CFLAGS. 12984LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 12985 12986# Allow CC to be a program name with arguments. 12987compiler=$CC 12988 12989 12990 # save warnings/boilerplate of simple test code 12991 ac_outfile=conftest.$ac_objext 12992echo "$lt_simple_compile_test_code" >conftest.$ac_ext 12993eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12994_lt_compiler_boilerplate=`cat conftest.err` 12995$RM conftest* 12996 12997 ac_outfile=conftest.$ac_objext 12998echo "$lt_simple_link_test_code" >conftest.$ac_ext 12999eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13000_lt_linker_boilerplate=`cat conftest.err` 13001$RM -r conftest* 13002 13003 13004 # Allow CC to be a program name with arguments. 13005 lt_save_CC=$CC 13006 lt_save_CFLAGS=$CFLAGS 13007 lt_save_LD=$LD 13008 lt_save_GCC=$GCC 13009 GCC=$GXX 13010 lt_save_with_gnu_ld=$with_gnu_ld 13011 lt_save_path_LD=$lt_cv_path_LD 13012 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13013 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13014 else 13015 $as_unset lt_cv_prog_gnu_ld 13016 fi 13017 if test -n "${lt_cv_path_LDCXX+set}"; then 13018 lt_cv_path_LD=$lt_cv_path_LDCXX 13019 else 13020 $as_unset lt_cv_path_LD 13021 fi 13022 test -z "${LDCXX+set}" || LD=$LDCXX 13023 CC=${CXX-"c++"} 13024 CFLAGS=$CXXFLAGS 13025 compiler=$CC 13026 compiler_CXX=$CC 13027 for cc_temp in $compiler""; do 13028 case $cc_temp in 13029 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 13030 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 13031 \-*) ;; 13032 *) break;; 13033 esac 13034done 13035cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 13036 13037 13038 if test -n "$compiler"; then 13039 # We don't want -fno-exception when compiling C++ code, so set the 13040 # no_builtin_flag separately 13041 if test "$GXX" = yes; then 13042 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13043 else 13044 lt_prog_compiler_no_builtin_flag_CXX= 13045 fi 13046 13047 if test "$GXX" = yes; then 13048 # Set up default GNU C++ configuration 13049 13050 13051 13052# Check whether --with-gnu-ld was given. 13053if test "${with_gnu_ld+set}" = set; then : 13054 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 13055else 13056 with_gnu_ld=no 13057fi 13058 13059ac_prog=ld 13060if test "$GCC" = yes; then 13061 # Check if gcc -print-prog-name=ld gives a path. 13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13063$as_echo_n "checking for ld used by $CC... " >&6; } 13064 case $host in 13065 *-*-mingw*) 13066 # gcc leaves a trailing carriage return which upsets mingw 13067 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13068 *) 13069 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13070 esac 13071 case $ac_prog in 13072 # Accept absolute paths. 13073 [\\/]* | ?:[\\/]*) 13074 re_direlt='/[^/][^/]*/\.\./' 13075 # Canonicalize the pathname of ld 13076 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13077 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13078 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13079 done 13080 test -z "$LD" && LD="$ac_prog" 13081 ;; 13082 "") 13083 # If it fails, then pretend we aren't using GCC. 13084 ac_prog=ld 13085 ;; 13086 *) 13087 # If it is relative, then search for the first ld in PATH. 13088 with_gnu_ld=unknown 13089 ;; 13090 esac 13091elif test "$with_gnu_ld" = yes; then 13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13093$as_echo_n "checking for GNU ld... " >&6; } 13094else 13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13096$as_echo_n "checking for non-GNU ld... " >&6; } 13097fi 13098if ${lt_cv_path_LD+:} false; then : 13099 $as_echo_n "(cached) " >&6 13100else 13101 if test -z "$LD"; then 13102 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 13103 for ac_dir in $PATH; do 13104 IFS="$lt_save_ifs" 13105 test -z "$ac_dir" && ac_dir=. 13106 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13107 lt_cv_path_LD="$ac_dir/$ac_prog" 13108 # Check to see if the program is GNU ld. I'd rather use --version, 13109 # but apparently some variants of GNU ld only accept -v. 13110 # Break only if it was the GNU/non-GNU ld that we prefer. 13111 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13112 *GNU* | *'with BFD'*) 13113 test "$with_gnu_ld" != no && break 13114 ;; 13115 *) 13116 test "$with_gnu_ld" != yes && break 13117 ;; 13118 esac 13119 fi 13120 done 13121 IFS="$lt_save_ifs" 13122else 13123 lt_cv_path_LD="$LD" # Let the user override the test with a path. 13124fi 13125fi 13126 13127LD="$lt_cv_path_LD" 13128if test -n "$LD"; then 13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13130$as_echo "$LD" >&6; } 13131else 13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13133$as_echo "no" >&6; } 13134fi 13135test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13137$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13138if ${lt_cv_prog_gnu_ld+:} false; then : 13139 $as_echo_n "(cached) " >&6 13140else 13141 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13142case `$LD -v 2>&1 </dev/null` in 13143*GNU* | *'with BFD'*) 13144 lt_cv_prog_gnu_ld=yes 13145 ;; 13146*) 13147 lt_cv_prog_gnu_ld=no 13148 ;; 13149esac 13150fi 13151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 13152$as_echo "$lt_cv_prog_gnu_ld" >&6; } 13153with_gnu_ld=$lt_cv_prog_gnu_ld 13154 13155 13156 13157 13158 13159 13160 13161 # Check if GNU C++ uses GNU ld as the underlying linker, since the 13162 # archiving commands below assume that GNU ld is being used. 13163 if test "$with_gnu_ld" = yes; then 13164 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13165 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 13166 13167 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13168 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13169 13170 # If archive_cmds runs LD, not CC, wlarc should be empty 13171 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 13172 # investigate it a little bit more. (MM) 13173 wlarc='${wl}' 13174 13175 # ancient GNU ld didn't support --whole-archive et. al. 13176 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 13177 $GREP 'no-whole-archive' > /dev/null; then 13178 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13179 else 13180 whole_archive_flag_spec_CXX= 13181 fi 13182 else 13183 with_gnu_ld=no 13184 wlarc= 13185 13186 # A generic and very simple default shared library creation 13187 # command for GNU C++ for the case where it uses the native 13188 # linker, instead of GNU ld. If possible, this setting should 13189 # overridden to take advantage of the native linker features on 13190 # the platform it is being used on. 13191 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13192 fi 13193 13194 # Commands to make compiler produce verbose output that lists 13195 # what "hidden" libraries, object files and flags are used when 13196 # linking a shared library. 13197 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13198 13199 else 13200 GXX=no 13201 with_gnu_ld=no 13202 wlarc= 13203 fi 13204 13205 # PORTME: fill in a description of your system's C++ link characteristics 13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13207$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 13208 ld_shlibs_CXX=yes 13209 case $host_os in 13210 aix3*) 13211 # FIXME: insert proper C++ library support 13212 ld_shlibs_CXX=no 13213 ;; 13214 aix[4-9]*) 13215 if test "$host_cpu" = ia64; then 13216 # On IA64, the linker does run time linking by default, so we don't 13217 # have to do anything special. 13218 aix_use_runtimelinking=no 13219 exp_sym_flag='-Bexport' 13220 no_entry_flag="" 13221 else 13222 aix_use_runtimelinking=no 13223 13224 # Test if we are trying to use run time linking or normal 13225 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 13226 # need to do runtime linking. 13227 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 13228 for ld_flag in $LDFLAGS; do 13229 case $ld_flag in 13230 *-brtl*) 13231 aix_use_runtimelinking=yes 13232 break 13233 ;; 13234 esac 13235 done 13236 ;; 13237 esac 13238 13239 exp_sym_flag='-bexport' 13240 no_entry_flag='-bnoentry' 13241 fi 13242 13243 # When large executables or shared objects are built, AIX ld can 13244 # have problems creating the table of contents. If linking a library 13245 # or program results in "error TOC overflow" add -mminimal-toc to 13246 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 13247 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 13248 13249 archive_cmds_CXX='' 13250 hardcode_direct_CXX=yes 13251 hardcode_direct_absolute_CXX=yes 13252 hardcode_libdir_separator_CXX=':' 13253 link_all_deplibs_CXX=yes 13254 file_list_spec_CXX='${wl}-f,' 13255 13256 if test "$GXX" = yes; then 13257 case $host_os in aix4.[012]|aix4.[012].*) 13258 # We only want to do this on AIX 4.2 and lower, the check 13259 # below for broken collect2 doesn't work under 4.3+ 13260 collect2name=`${CC} -print-prog-name=collect2` 13261 if test -f "$collect2name" && 13262 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 13263 then 13264 # We have reworked collect2 13265 : 13266 else 13267 # We have old collect2 13268 hardcode_direct_CXX=unsupported 13269 # It fails to find uninstalled libraries when the uninstalled 13270 # path is not listed in the libpath. Setting hardcode_minus_L 13271 # to unsupported forces relinking 13272 hardcode_minus_L_CXX=yes 13273 hardcode_libdir_flag_spec_CXX='-L$libdir' 13274 hardcode_libdir_separator_CXX= 13275 fi 13276 esac 13277 shared_flag='-shared' 13278 if test "$aix_use_runtimelinking" = yes; then 13279 shared_flag="$shared_flag "'${wl}-G' 13280 fi 13281 else 13282 # not using gcc 13283 if test "$host_cpu" = ia64; then 13284 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 13285 # chokes on -Wl,-G. The following line is correct: 13286 shared_flag='-G' 13287 else 13288 if test "$aix_use_runtimelinking" = yes; then 13289 shared_flag='${wl}-G' 13290 else 13291 shared_flag='${wl}-bM:SRE' 13292 fi 13293 fi 13294 fi 13295 13296 export_dynamic_flag_spec_CXX='${wl}-bexpall' 13297 # It seems that -bexpall does not export symbols beginning with 13298 # underscore (_), so it is better to generate a list of symbols to 13299 # export. 13300 always_export_symbols_CXX=yes 13301 if test "$aix_use_runtimelinking" = yes; then 13302 # Warning - without using the other runtime loading flags (-brtl), 13303 # -berok will link without error, but may produce a broken library. 13304 allow_undefined_flag_CXX='-berok' 13305 # Determine the default libpath from the value encoded in an empty 13306 # executable. 13307 if test "${lt_cv_aix_libpath+set}" = set; then 13308 aix_libpath=$lt_cv_aix_libpath 13309else 13310 if ${lt_cv_aix_libpath__CXX+:} false; then : 13311 $as_echo_n "(cached) " >&6 13312else 13313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13314/* end confdefs.h. */ 13315 13316int 13317main () 13318{ 13319 13320 ; 13321 return 0; 13322} 13323_ACEOF 13324if ac_fn_cxx_try_link "$LINENO"; then : 13325 13326 lt_aix_libpath_sed=' 13327 /Import File Strings/,/^$/ { 13328 /^0/ { 13329 s/^0 *\([^ ]*\) *$/\1/ 13330 p 13331 } 13332 }' 13333 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13334 # Check for a 64-bit object if we didn't find anything. 13335 if test -z "$lt_cv_aix_libpath__CXX"; then 13336 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13337 fi 13338fi 13339rm -f core conftest.err conftest.$ac_objext \ 13340 conftest$ac_exeext conftest.$ac_ext 13341 if test -z "$lt_cv_aix_libpath__CXX"; then 13342 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 13343 fi 13344 13345fi 13346 13347 aix_libpath=$lt_cv_aix_libpath__CXX 13348fi 13349 13350 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 13351 13352 archive_expsym_cmds_CXX='$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" 13353 else 13354 if test "$host_cpu" = ia64; then 13355 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 13356 allow_undefined_flag_CXX="-z nodefs" 13357 archive_expsym_cmds_CXX="\$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" 13358 else 13359 # Determine the default libpath from the value encoded in an 13360 # empty executable. 13361 if test "${lt_cv_aix_libpath+set}" = set; then 13362 aix_libpath=$lt_cv_aix_libpath 13363else 13364 if ${lt_cv_aix_libpath__CXX+:} false; then : 13365 $as_echo_n "(cached) " >&6 13366else 13367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13368/* end confdefs.h. */ 13369 13370int 13371main () 13372{ 13373 13374 ; 13375 return 0; 13376} 13377_ACEOF 13378if ac_fn_cxx_try_link "$LINENO"; then : 13379 13380 lt_aix_libpath_sed=' 13381 /Import File Strings/,/^$/ { 13382 /^0/ { 13383 s/^0 *\([^ ]*\) *$/\1/ 13384 p 13385 } 13386 }' 13387 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13388 # Check for a 64-bit object if we didn't find anything. 13389 if test -z "$lt_cv_aix_libpath__CXX"; then 13390 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13391 fi 13392fi 13393rm -f core conftest.err conftest.$ac_objext \ 13394 conftest$ac_exeext conftest.$ac_ext 13395 if test -z "$lt_cv_aix_libpath__CXX"; then 13396 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 13397 fi 13398 13399fi 13400 13401 aix_libpath=$lt_cv_aix_libpath__CXX 13402fi 13403 13404 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 13405 # Warning - without using the other run time loading flags, 13406 # -berok will link without error, but may produce a broken library. 13407 no_undefined_flag_CXX=' ${wl}-bernotok' 13408 allow_undefined_flag_CXX=' ${wl}-berok' 13409 if test "$with_gnu_ld" = yes; then 13410 # We only use this code for GNU lds that support --whole-archive. 13411 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 13412 else 13413 # Exported symbols can be pulled into shared objects from archives 13414 whole_archive_flag_spec_CXX='$convenience' 13415 fi 13416 archive_cmds_need_lc_CXX=yes 13417 # This is similar to how AIX traditionally builds its shared 13418 # libraries. 13419 archive_expsym_cmds_CXX="\$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' 13420 fi 13421 fi 13422 ;; 13423 13424 beos*) 13425 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13426 allow_undefined_flag_CXX=unsupported 13427 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13428 # support --undefined. This deserves some investigation. FIXME 13429 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13430 else 13431 ld_shlibs_CXX=no 13432 fi 13433 ;; 13434 13435 chorus*) 13436 case $cc_basename in 13437 *) 13438 # FIXME: insert proper C++ library support 13439 ld_shlibs_CXX=no 13440 ;; 13441 esac 13442 ;; 13443 13444 cygwin* | mingw* | pw32* | cegcc*) 13445 case $GXX,$cc_basename in 13446 ,cl* | no,cl*) 13447 # Native MSVC 13448 # hardcode_libdir_flag_spec is actually meaningless, as there is 13449 # no search path for DLLs. 13450 hardcode_libdir_flag_spec_CXX=' ' 13451 allow_undefined_flag_CXX=unsupported 13452 always_export_symbols_CXX=yes 13453 file_list_spec_CXX='@' 13454 # Tell ltmain to make .lib files, not .a files. 13455 libext=lib 13456 # Tell ltmain to make .dll files, not .so files. 13457 shrext_cmds=".dll" 13458 # FIXME: Setting linknames here is a bad hack. 13459 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 13460 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 13461 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 13462 else 13463 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 13464 fi~ 13465 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13466 linknames=' 13467 # The linker will not automatically build a static lib if we build a DLL. 13468 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13469 enable_shared_with_static_runtimes_CXX=yes 13470 # Don't use ranlib 13471 old_postinstall_cmds_CXX='chmod 644 $oldlib' 13472 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 13473 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13474 case $lt_outputfile in 13475 *.exe|*.EXE) ;; 13476 *) 13477 lt_outputfile="$lt_outputfile.exe" 13478 lt_tool_outputfile="$lt_tool_outputfile.exe" 13479 ;; 13480 esac~ 13481 func_to_tool_file "$lt_outputfile"~ 13482 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 13483 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13484 $RM "$lt_outputfile.manifest"; 13485 fi' 13486 ;; 13487 *) 13488 # g++ 13489 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13490 # as there is no search path for DLLs. 13491 hardcode_libdir_flag_spec_CXX='-L$libdir' 13492 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' 13493 allow_undefined_flag_CXX=unsupported 13494 always_export_symbols_CXX=no 13495 enable_shared_with_static_runtimes_CXX=yes 13496 13497 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13498 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13499 # If the export-symbols file already is a .def file (1st line 13500 # is EXPORTS), use it as is; otherwise, prepend... 13501 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 13502 cp $export_symbols $output_objdir/$soname.def; 13503 else 13504 echo EXPORTS > $output_objdir/$soname.def; 13505 cat $export_symbols >> $output_objdir/$soname.def; 13506 fi~ 13507 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13508 else 13509 ld_shlibs_CXX=no 13510 fi 13511 ;; 13512 esac 13513 ;; 13514 darwin* | rhapsody*) 13515 13516 13517 archive_cmds_need_lc_CXX=no 13518 hardcode_direct_CXX=no 13519 hardcode_automatic_CXX=yes 13520 hardcode_shlibpath_var_CXX=unsupported 13521 if test "$lt_cv_ld_force_load" = "yes"; then 13522 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 13523 13524 else 13525 whole_archive_flag_spec_CXX='' 13526 fi 13527 link_all_deplibs_CXX=yes 13528 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 13529 case $cc_basename in 13530 ifort*) _lt_dar_can_shared=yes ;; 13531 *) _lt_dar_can_shared=$GCC ;; 13532 esac 13533 if test "$_lt_dar_can_shared" = "yes"; then 13534 output_verbose_link_cmd=func_echo_all 13535 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 13536 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 13537 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 13538 module_expsym_cmds_CXX="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}" 13539 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 13540 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 13541 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 13542 fi 13543 13544 else 13545 ld_shlibs_CXX=no 13546 fi 13547 13548 ;; 13549 13550 dgux*) 13551 case $cc_basename in 13552 ec++*) 13553 # FIXME: insert proper C++ library support 13554 ld_shlibs_CXX=no 13555 ;; 13556 ghcx*) 13557 # Green Hills C++ Compiler 13558 # FIXME: insert proper C++ library support 13559 ld_shlibs_CXX=no 13560 ;; 13561 *) 13562 # FIXME: insert proper C++ library support 13563 ld_shlibs_CXX=no 13564 ;; 13565 esac 13566 ;; 13567 13568 freebsd2.*) 13569 # C++ shared libraries reported to be fairly broken before 13570 # switch to ELF 13571 ld_shlibs_CXX=no 13572 ;; 13573 13574 freebsd-elf*) 13575 archive_cmds_need_lc_CXX=no 13576 ;; 13577 13578 freebsd* | dragonfly*) 13579 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 13580 # conventions 13581 ld_shlibs_CXX=yes 13582 ;; 13583 13584 haiku*) 13585 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13586 link_all_deplibs_CXX=yes 13587 ;; 13588 13589 hpux9*) 13590 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 13591 hardcode_libdir_separator_CXX=: 13592 export_dynamic_flag_spec_CXX='${wl}-E' 13593 hardcode_direct_CXX=yes 13594 hardcode_minus_L_CXX=yes # Not in the search PATH, 13595 # but as the default 13596 # location of the library. 13597 13598 case $cc_basename in 13599 CC*) 13600 # FIXME: insert proper C++ library support 13601 ld_shlibs_CXX=no 13602 ;; 13603 aCC*) 13604 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13605 # Commands to make compiler produce verbose output that lists 13606 # what "hidden" libraries, object files and flags are used when 13607 # linking a shared library. 13608 # 13609 # There doesn't appear to be a way to prevent this compiler from 13610 # explicitly linking system object files so we need to strip them 13611 # from the output so that they don't get included in the library 13612 # dependencies. 13613 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13614 ;; 13615 *) 13616 if test "$GXX" = yes; then 13617 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13618 else 13619 # FIXME: insert proper C++ library support 13620 ld_shlibs_CXX=no 13621 fi 13622 ;; 13623 esac 13624 ;; 13625 13626 hpux10*|hpux11*) 13627 if test $with_gnu_ld = no; then 13628 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 13629 hardcode_libdir_separator_CXX=: 13630 13631 case $host_cpu in 13632 hppa*64*|ia64*) 13633 ;; 13634 *) 13635 export_dynamic_flag_spec_CXX='${wl}-E' 13636 ;; 13637 esac 13638 fi 13639 case $host_cpu in 13640 hppa*64*|ia64*) 13641 hardcode_direct_CXX=no 13642 hardcode_shlibpath_var_CXX=no 13643 ;; 13644 *) 13645 hardcode_direct_CXX=yes 13646 hardcode_direct_absolute_CXX=yes 13647 hardcode_minus_L_CXX=yes # Not in the search PATH, 13648 # but as the default 13649 # location of the library. 13650 ;; 13651 esac 13652 13653 case $cc_basename in 13654 CC*) 13655 # FIXME: insert proper C++ library support 13656 ld_shlibs_CXX=no 13657 ;; 13658 aCC*) 13659 case $host_cpu in 13660 hppa*64*) 13661 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13662 ;; 13663 ia64*) 13664 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13665 ;; 13666 *) 13667 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13668 ;; 13669 esac 13670 # Commands to make compiler produce verbose output that lists 13671 # what "hidden" libraries, object files and flags are used when 13672 # linking a shared library. 13673 # 13674 # There doesn't appear to be a way to prevent this compiler from 13675 # explicitly linking system object files so we need to strip them 13676 # from the output so that they don't get included in the library 13677 # dependencies. 13678 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13679 ;; 13680 *) 13681 if test "$GXX" = yes; then 13682 if test $with_gnu_ld = no; then 13683 case $host_cpu in 13684 hppa*64*) 13685 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13686 ;; 13687 ia64*) 13688 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13689 ;; 13690 *) 13691 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13692 ;; 13693 esac 13694 fi 13695 else 13696 # FIXME: insert proper C++ library support 13697 ld_shlibs_CXX=no 13698 fi 13699 ;; 13700 esac 13701 ;; 13702 13703 interix[3-9]*) 13704 hardcode_direct_CXX=no 13705 hardcode_shlibpath_var_CXX=no 13706 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13707 export_dynamic_flag_spec_CXX='${wl}-E' 13708 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 13709 # Instead, shared libraries are loaded at an image base (0x10000000 by 13710 # default) and relocated if they conflict, which is a slow very memory 13711 # consuming and fragmenting process. To avoid this, we pick a random, 13712 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 13713 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 13714 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 13715 archive_expsym_cmds_CXX='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' 13716 ;; 13717 irix5* | irix6*) 13718 case $cc_basename in 13719 CC*) 13720 # SGI C++ 13721 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 13722 13723 # Archives containing C++ object files must be created using 13724 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 13725 # necessary to make sure instantiated templates are included 13726 # in the archive. 13727 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 13728 ;; 13729 *) 13730 if test "$GXX" = yes; then 13731 if test "$with_gnu_ld" = no; then 13732 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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' 13733 else 13734 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' 13735 fi 13736 fi 13737 link_all_deplibs_CXX=yes 13738 ;; 13739 esac 13740 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13741 hardcode_libdir_separator_CXX=: 13742 inherit_rpath_CXX=yes 13743 ;; 13744 13745 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 13746 case $cc_basename in 13747 KCC*) 13748 # Kuck and Associates, Inc. (KAI) C++ Compiler 13749 13750 # KCC will only create a shared library if the output file 13751 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13752 # to its proper name (with version) after linking. 13753 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13754 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 13755 # Commands to make compiler produce verbose output that lists 13756 # what "hidden" libraries, object files and flags are used when 13757 # linking a shared library. 13758 # 13759 # There doesn't appear to be a way to prevent this compiler from 13760 # explicitly linking system object files so we need to strip them 13761 # from the output so that they don't get included in the library 13762 # dependencies. 13763 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13764 13765 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13766 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13767 13768 # Archives containing C++ object files must be created using 13769 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 13770 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 13771 ;; 13772 icpc* | ecpc* ) 13773 # Intel C++ 13774 with_gnu_ld=yes 13775 # version 8.0 and above of icpc choke on multiply defined symbols 13776 # if we add $predep_objects and $postdep_objects, however 7.1 and 13777 # earlier do not add the objects themselves. 13778 case `$CC -V 2>&1` in 13779 *"Version 7."*) 13780 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13781 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 13782 ;; 13783 *) # Version 8.0 or newer 13784 tmp_idyn= 13785 case $host_cpu in 13786 ia64*) tmp_idyn=' -i_dynamic';; 13787 esac 13788 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13789 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 13790 ;; 13791 esac 13792 archive_cmds_need_lc_CXX=no 13793 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13794 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13795 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 13796 ;; 13797 pgCC* | pgcpp*) 13798 # Portland Group C++ compiler 13799 case `$CC -V` in 13800 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 13801 prelink_cmds_CXX='tpldir=Template.dir~ 13802 rm -rf $tpldir~ 13803 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 13804 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 13805 old_archive_cmds_CXX='tpldir=Template.dir~ 13806 rm -rf $tpldir~ 13807 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 13808 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 13809 $RANLIB $oldlib' 13810 archive_cmds_CXX='tpldir=Template.dir~ 13811 rm -rf $tpldir~ 13812 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13813 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13814 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13815 rm -rf $tpldir~ 13816 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13817 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 13818 ;; 13819 *) # Version 6 and above use weak symbols 13820 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13821 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 13822 ;; 13823 esac 13824 13825 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 13826 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13827 whole_archive_flag_spec_CXX='${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' 13828 ;; 13829 cxx*) 13830 # Compaq C++ 13831 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13832 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 13833 13834 runpath_var=LD_RUN_PATH 13835 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13836 hardcode_libdir_separator_CXX=: 13837 13838 # Commands to make compiler produce verbose output that lists 13839 # what "hidden" libraries, object files and flags are used when 13840 # linking a shared library. 13841 # 13842 # There doesn't appear to be a way to prevent this compiler from 13843 # explicitly linking system object files so we need to strip them 13844 # from the output so that they don't get included in the library 13845 # dependencies. 13846 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 13847 ;; 13848 xl* | mpixl* | bgxl*) 13849 # IBM XL 8.0 on PPC, with GNU ld 13850 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13851 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13852 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13853 if test "x$supports_anon_versioning" = xyes; then 13854 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 13855 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13856 echo "local: *; };" >> $output_objdir/$libname.ver~ 13857 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 13858 fi 13859 ;; 13860 *) 13861 case `$CC -V 2>&1 | sed 5q` in 13862 *Sun\ C*) 13863 # Sun C++ 5.9 13864 no_undefined_flag_CXX=' -zdefs' 13865 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13866 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 13867 hardcode_libdir_flag_spec_CXX='-R$libdir' 13868 whole_archive_flag_spec_CXX='${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' 13869 compiler_needs_object_CXX=yes 13870 13871 # Not sure whether something based on 13872 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13873 # would be better. 13874 output_verbose_link_cmd='func_echo_all' 13875 13876 # Archives containing C++ object files must be created using 13877 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13878 # necessary to make sure instantiated templates are included 13879 # in the archive. 13880 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13881 ;; 13882 esac 13883 ;; 13884 esac 13885 ;; 13886 13887 lynxos*) 13888 # FIXME: insert proper C++ library support 13889 ld_shlibs_CXX=no 13890 ;; 13891 13892 m88k*) 13893 # FIXME: insert proper C++ library support 13894 ld_shlibs_CXX=no 13895 ;; 13896 13897 mvs*) 13898 case $cc_basename in 13899 cxx*) 13900 # FIXME: insert proper C++ library support 13901 ld_shlibs_CXX=no 13902 ;; 13903 *) 13904 # FIXME: insert proper C++ library support 13905 ld_shlibs_CXX=no 13906 ;; 13907 esac 13908 ;; 13909 13910 netbsd*) 13911 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13912 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 13913 wlarc= 13914 hardcode_libdir_flag_spec_CXX='-R$libdir' 13915 hardcode_direct_CXX=yes 13916 hardcode_shlibpath_var_CXX=no 13917 fi 13918 # Workaround some broken pre-1.5 toolchains 13919 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 13920 ;; 13921 13922 *nto* | *qnx*) 13923 ld_shlibs_CXX=yes 13924 ;; 13925 13926 openbsd2*) 13927 # C++ shared libraries are fairly broken 13928 ld_shlibs_CXX=no 13929 ;; 13930 13931 openbsd*) 13932 if test -f /usr/libexec/ld.so; then 13933 hardcode_direct_CXX=yes 13934 hardcode_shlibpath_var_CXX=no 13935 hardcode_direct_absolute_CXX=yes 13936 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13937 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13938 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 13939 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 13940 export_dynamic_flag_spec_CXX='${wl}-E' 13941 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13942 fi 13943 output_verbose_link_cmd=func_echo_all 13944 else 13945 ld_shlibs_CXX=no 13946 fi 13947 ;; 13948 13949 osf3* | osf4* | osf5*) 13950 case $cc_basename in 13951 KCC*) 13952 # Kuck and Associates, Inc. (KAI) C++ Compiler 13953 13954 # KCC will only create a shared library if the output file 13955 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13956 # to its proper name (with version) after linking. 13957 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13958 13959 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13960 hardcode_libdir_separator_CXX=: 13961 13962 # Archives containing C++ object files must be created using 13963 # the KAI C++ compiler. 13964 case $host in 13965 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 13966 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 13967 esac 13968 ;; 13969 RCC*) 13970 # Rational C++ 2.4.1 13971 # FIXME: insert proper C++ library support 13972 ld_shlibs_CXX=no 13973 ;; 13974 cxx*) 13975 case $host in 13976 osf3*) 13977 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13978 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 13979 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13980 ;; 13981 *) 13982 allow_undefined_flag_CXX=' -expect_unresolved \*' 13983 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 13984 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 13985 echo "-hidden">> $lib.exp~ 13986 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ 13987 $RM $lib.exp' 13988 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13989 ;; 13990 esac 13991 13992 hardcode_libdir_separator_CXX=: 13993 13994 # Commands to make compiler produce verbose output that lists 13995 # what "hidden" libraries, object files and flags are used when 13996 # linking a shared library. 13997 # 13998 # There doesn't appear to be a way to prevent this compiler from 13999 # explicitly linking system object files so we need to strip them 14000 # from the output so that they don't get included in the library 14001 # dependencies. 14002 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14003 ;; 14004 *) 14005 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 14006 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 14007 case $host in 14008 osf3*) 14009 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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' 14010 ;; 14011 *) 14012 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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' 14013 ;; 14014 esac 14015 14016 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14017 hardcode_libdir_separator_CXX=: 14018 14019 # Commands to make compiler produce verbose output that lists 14020 # what "hidden" libraries, object files and flags are used when 14021 # linking a shared library. 14022 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14023 14024 else 14025 # FIXME: insert proper C++ library support 14026 ld_shlibs_CXX=no 14027 fi 14028 ;; 14029 esac 14030 ;; 14031 14032 psos*) 14033 # FIXME: insert proper C++ library support 14034 ld_shlibs_CXX=no 14035 ;; 14036 14037 sunos4*) 14038 case $cc_basename in 14039 CC*) 14040 # Sun C++ 4.x 14041 # FIXME: insert proper C++ library support 14042 ld_shlibs_CXX=no 14043 ;; 14044 lcc*) 14045 # Lucid 14046 # FIXME: insert proper C++ library support 14047 ld_shlibs_CXX=no 14048 ;; 14049 *) 14050 # FIXME: insert proper C++ library support 14051 ld_shlibs_CXX=no 14052 ;; 14053 esac 14054 ;; 14055 14056 solaris*) 14057 case $cc_basename in 14058 CC* | sunCC*) 14059 # Sun C++ 4.2, 5.x and Centerline C++ 14060 archive_cmds_need_lc_CXX=yes 14061 no_undefined_flag_CXX=' -zdefs' 14062 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14063 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14064 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14065 14066 hardcode_libdir_flag_spec_CXX='-R$libdir' 14067 hardcode_shlibpath_var_CXX=no 14068 case $host_os in 14069 solaris2.[0-5] | solaris2.[0-5].*) ;; 14070 *) 14071 # The compiler driver will combine and reorder linker options, 14072 # but understands `-z linker_flag'. 14073 # Supported since Solaris 2.6 (maybe 2.5.1?) 14074 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14075 ;; 14076 esac 14077 link_all_deplibs_CXX=yes 14078 14079 output_verbose_link_cmd='func_echo_all' 14080 14081 # Archives containing C++ object files must be created using 14082 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14083 # necessary to make sure instantiated templates are included 14084 # in the archive. 14085 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14086 ;; 14087 gcx*) 14088 # Green Hills C++ Compiler 14089 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14090 14091 # The C++ compiler must be used to create the archive. 14092 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 14093 ;; 14094 *) 14095 # GNU C++ compiler with Solaris linker 14096 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 14097 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 14098 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14099 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14101 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14102 14103 # Commands to make compiler produce verbose output that lists 14104 # what "hidden" libraries, object files and flags are used when 14105 # linking a shared library. 14106 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14107 else 14108 # g++ 2.7 appears to require `-G' NOT `-shared' on this 14109 # platform. 14110 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14111 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14112 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14113 14114 # Commands to make compiler produce verbose output that lists 14115 # what "hidden" libraries, object files and flags are used when 14116 # linking a shared library. 14117 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14118 fi 14119 14120 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 14121 case $host_os in 14122 solaris2.[0-5] | solaris2.[0-5].*) ;; 14123 *) 14124 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 14125 ;; 14126 esac 14127 fi 14128 ;; 14129 esac 14130 ;; 14131 14132 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 14133 no_undefined_flag_CXX='${wl}-z,text' 14134 archive_cmds_need_lc_CXX=no 14135 hardcode_shlibpath_var_CXX=no 14136 runpath_var='LD_RUN_PATH' 14137 14138 case $cc_basename in 14139 CC*) 14140 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14141 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14142 ;; 14143 *) 14144 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14145 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14146 ;; 14147 esac 14148 ;; 14149 14150 sysv5* | sco3.2v5* | sco5v6*) 14151 # Note: We can NOT use -z defs as we might desire, because we do not 14152 # link with -lc, and that would cause any symbols used from libc to 14153 # always be unresolved, which means just about no library would 14154 # ever link correctly. If we're not using GNU ld we use -z text 14155 # though, which does catch some bad symbols but isn't as heavy-handed 14156 # as -z defs. 14157 no_undefined_flag_CXX='${wl}-z,text' 14158 allow_undefined_flag_CXX='${wl}-z,nodefs' 14159 archive_cmds_need_lc_CXX=no 14160 hardcode_shlibpath_var_CXX=no 14161 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 14162 hardcode_libdir_separator_CXX=':' 14163 link_all_deplibs_CXX=yes 14164 export_dynamic_flag_spec_CXX='${wl}-Bexport' 14165 runpath_var='LD_RUN_PATH' 14166 14167 case $cc_basename in 14168 CC*) 14169 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14170 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14171 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 14172 '"$old_archive_cmds_CXX" 14173 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 14174 '"$reload_cmds_CXX" 14175 ;; 14176 *) 14177 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14178 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14179 ;; 14180 esac 14181 ;; 14182 14183 tandem*) 14184 case $cc_basename in 14185 NCC*) 14186 # NonStop-UX NCC 3.20 14187 # FIXME: insert proper C++ library support 14188 ld_shlibs_CXX=no 14189 ;; 14190 *) 14191 # FIXME: insert proper C++ library support 14192 ld_shlibs_CXX=no 14193 ;; 14194 esac 14195 ;; 14196 14197 vxworks*) 14198 # FIXME: insert proper C++ library support 14199 ld_shlibs_CXX=no 14200 ;; 14201 14202 *) 14203 # FIXME: insert proper C++ library support 14204 ld_shlibs_CXX=no 14205 ;; 14206 esac 14207 14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14209$as_echo "$ld_shlibs_CXX" >&6; } 14210 test "$ld_shlibs_CXX" = no && can_build_shared=no 14211 14212 GCC_CXX="$GXX" 14213 LD_CXX="$LD" 14214 14215 ## CAVEAT EMPTOR: 14216 ## There is no encapsulation within the following macros, do not change 14217 ## the running order or otherwise move them around unless you know exactly 14218 ## what you are doing... 14219 # Dependencies to place before and after the object being linked: 14220predep_objects_CXX= 14221postdep_objects_CXX= 14222predeps_CXX= 14223postdeps_CXX= 14224compiler_lib_search_path_CXX= 14225 14226cat > conftest.$ac_ext <<_LT_EOF 14227class Foo 14228{ 14229public: 14230 Foo (void) { a = 0; } 14231private: 14232 int a; 14233}; 14234_LT_EOF 14235 14236 14237_lt_libdeps_save_CFLAGS=$CFLAGS 14238case "$CC $CFLAGS " in #( 14239*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 14240*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14241*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 14242esac 14243 14244if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14245 (eval $ac_compile) 2>&5 14246 ac_status=$? 14247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14248 test $ac_status = 0; }; then 14249 # Parse the compiler output and extract the necessary 14250 # objects, libraries and library flags. 14251 14252 # Sentinel used to keep track of whether or not we are before 14253 # the conftest object file. 14254 pre_test_object_deps_done=no 14255 14256 for p in `eval "$output_verbose_link_cmd"`; do 14257 case ${prev}${p} in 14258 14259 -L* | -R* | -l*) 14260 # Some compilers place space between "-{L,R}" and the path. 14261 # Remove the space. 14262 if test $p = "-L" || 14263 test $p = "-R"; then 14264 prev=$p 14265 continue 14266 fi 14267 14268 # Expand the sysroot to ease extracting the directories later. 14269 if test -z "$prev"; then 14270 case $p in 14271 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 14272 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 14273 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 14274 esac 14275 fi 14276 case $p in 14277 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 14278 esac 14279 if test "$pre_test_object_deps_done" = no; then 14280 case ${prev} in 14281 -L | -R) 14282 # Internal compiler library paths should come after those 14283 # provided the user. The postdeps already come after the 14284 # user supplied libs so there is no need to process them. 14285 if test -z "$compiler_lib_search_path_CXX"; then 14286 compiler_lib_search_path_CXX="${prev}${p}" 14287 else 14288 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 14289 fi 14290 ;; 14291 # The "-l" case would never come before the object being 14292 # linked, so don't bother handling this case. 14293 esac 14294 else 14295 if test -z "$postdeps_CXX"; then 14296 postdeps_CXX="${prev}${p}" 14297 else 14298 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 14299 fi 14300 fi 14301 prev= 14302 ;; 14303 14304 *.lto.$objext) ;; # Ignore GCC LTO objects 14305 *.$objext) 14306 # This assumes that the test object file only shows up 14307 # once in the compiler output. 14308 if test "$p" = "conftest.$objext"; then 14309 pre_test_object_deps_done=yes 14310 continue 14311 fi 14312 14313 if test "$pre_test_object_deps_done" = no; then 14314 if test -z "$predep_objects_CXX"; then 14315 predep_objects_CXX="$p" 14316 else 14317 predep_objects_CXX="$predep_objects_CXX $p" 14318 fi 14319 else 14320 if test -z "$postdep_objects_CXX"; then 14321 postdep_objects_CXX="$p" 14322 else 14323 postdep_objects_CXX="$postdep_objects_CXX $p" 14324 fi 14325 fi 14326 ;; 14327 14328 *) ;; # Ignore the rest. 14329 14330 esac 14331 done 14332 14333 # Clean up. 14334 rm -f a.out a.exe 14335else 14336 echo "libtool.m4: error: problem compiling CXX test program" 14337fi 14338 14339$RM -f confest.$objext 14340CFLAGS=$_lt_libdeps_save_CFLAGS 14341 14342# PORTME: override above test on systems where it is broken 14343case $host_os in 14344interix[3-9]*) 14345 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14346 # hack all around it, let's just trust "g++" to DTRT. 14347 predep_objects_CXX= 14348 postdep_objects_CXX= 14349 postdeps_CXX= 14350 ;; 14351 14352linux*) 14353 case `$CC -V 2>&1 | sed 5q` in 14354 *Sun\ C*) 14355 # Sun C++ 5.9 14356 14357 # The more standards-conforming stlport4 library is 14358 # incompatible with the Cstd library. Avoid specifying 14359 # it if it's in CXXFLAGS. Ignore libCrun as 14360 # -library=stlport4 depends on it. 14361 case " $CXX $CXXFLAGS " in 14362 *" -library=stlport4 "*) 14363 solaris_use_stlport4=yes 14364 ;; 14365 esac 14366 14367 if test "$solaris_use_stlport4" != yes; then 14368 postdeps_CXX='-library=Cstd -library=Crun' 14369 fi 14370 ;; 14371 esac 14372 ;; 14373 14374solaris*) 14375 case $cc_basename in 14376 CC* | sunCC*) 14377 # The more standards-conforming stlport4 library is 14378 # incompatible with the Cstd library. Avoid specifying 14379 # it if it's in CXXFLAGS. Ignore libCrun as 14380 # -library=stlport4 depends on it. 14381 case " $CXX $CXXFLAGS " in 14382 *" -library=stlport4 "*) 14383 solaris_use_stlport4=yes 14384 ;; 14385 esac 14386 14387 # Adding this requires a known-good setup of shared libraries for 14388 # Sun compiler versions before 5.6, else PIC objects from an old 14389 # archive will be linked into the output, leading to subtle bugs. 14390 if test "$solaris_use_stlport4" != yes; then 14391 postdeps_CXX='-library=Cstd -library=Crun' 14392 fi 14393 ;; 14394 esac 14395 ;; 14396esac 14397 14398 14399case " $postdeps_CXX " in 14400*" -lc "*) archive_cmds_need_lc_CXX=no ;; 14401esac 14402 compiler_lib_search_dirs_CXX= 14403if test -n "${compiler_lib_search_path_CXX}"; then 14404 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 14405fi 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 lt_prog_compiler_wl_CXX= 14438lt_prog_compiler_pic_CXX= 14439lt_prog_compiler_static_CXX= 14440 14441 14442 # C++ specific cases for pic, static, wl, etc. 14443 if test "$GXX" = yes; then 14444 lt_prog_compiler_wl_CXX='-Wl,' 14445 lt_prog_compiler_static_CXX='-static' 14446 14447 case $host_os in 14448 aix*) 14449 # All AIX code is PIC. 14450 if test "$host_cpu" = ia64; then 14451 # AIX 5 now supports IA64 processor 14452 lt_prog_compiler_static_CXX='-Bstatic' 14453 fi 14454 ;; 14455 14456 amigaos*) 14457 case $host_cpu in 14458 powerpc) 14459 # see comment about AmigaOS4 .so support 14460 lt_prog_compiler_pic_CXX='-fPIC' 14461 ;; 14462 m68k) 14463 # FIXME: we need at least 68020 code to build shared libraries, but 14464 # adding the `-m68020' flag to GCC prevents building anything better, 14465 # like `-m68040'. 14466 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14467 ;; 14468 esac 14469 ;; 14470 14471 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14472 # PIC is the default for these OSes. 14473 ;; 14474 mingw* | cygwin* | os2* | pw32* | cegcc*) 14475 # This hack is so that the source file can tell whether it is being 14476 # built for inclusion in a dll (and should export symbols for example). 14477 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14478 # (--disable-auto-import) libraries 14479 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14480 ;; 14481 darwin* | rhapsody*) 14482 # PIC is the default on this platform 14483 # Common symbols not allowed in MH_DYLIB files 14484 lt_prog_compiler_pic_CXX='-fno-common' 14485 ;; 14486 *djgpp*) 14487 # DJGPP does not support shared libraries at all 14488 lt_prog_compiler_pic_CXX= 14489 ;; 14490 haiku*) 14491 # PIC is the default for Haiku. 14492 # The "-static" flag exists, but is broken. 14493 lt_prog_compiler_static_CXX= 14494 ;; 14495 interix[3-9]*) 14496 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14497 # Instead, we relocate shared libraries at runtime. 14498 ;; 14499 sysv4*MP*) 14500 if test -d /usr/nec; then 14501 lt_prog_compiler_pic_CXX=-Kconform_pic 14502 fi 14503 ;; 14504 hpux*) 14505 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 14506 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 14507 # sets the default TLS model and affects inlining. 14508 case $host_cpu in 14509 hppa*64*) 14510 ;; 14511 *) 14512 lt_prog_compiler_pic_CXX='-fPIC' 14513 ;; 14514 esac 14515 ;; 14516 *qnx* | *nto*) 14517 # QNX uses GNU C++, but need to define -shared option too, otherwise 14518 # it will coredump. 14519 lt_prog_compiler_pic_CXX='-fPIC -shared' 14520 ;; 14521 *) 14522 lt_prog_compiler_pic_CXX='-fPIC' 14523 ;; 14524 esac 14525 else 14526 case $host_os in 14527 aix[4-9]*) 14528 # All AIX code is PIC. 14529 if test "$host_cpu" = ia64; then 14530 # AIX 5 now supports IA64 processor 14531 lt_prog_compiler_static_CXX='-Bstatic' 14532 else 14533 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 14534 fi 14535 ;; 14536 chorus*) 14537 case $cc_basename in 14538 cxch68*) 14539 # Green Hills C++ Compiler 14540 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 14541 ;; 14542 esac 14543 ;; 14544 mingw* | cygwin* | os2* | pw32* | cegcc*) 14545 # This hack is so that the source file can tell whether it is being 14546 # built for inclusion in a dll (and should export symbols for example). 14547 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14548 ;; 14549 dgux*) 14550 case $cc_basename in 14551 ec++*) 14552 lt_prog_compiler_pic_CXX='-KPIC' 14553 ;; 14554 ghcx*) 14555 # Green Hills C++ Compiler 14556 lt_prog_compiler_pic_CXX='-pic' 14557 ;; 14558 *) 14559 ;; 14560 esac 14561 ;; 14562 freebsd* | dragonfly*) 14563 # FreeBSD uses GNU C++ 14564 ;; 14565 hpux9* | hpux10* | hpux11*) 14566 case $cc_basename in 14567 CC*) 14568 lt_prog_compiler_wl_CXX='-Wl,' 14569 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 14570 if test "$host_cpu" != ia64; then 14571 lt_prog_compiler_pic_CXX='+Z' 14572 fi 14573 ;; 14574 aCC*) 14575 lt_prog_compiler_wl_CXX='-Wl,' 14576 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 14577 case $host_cpu in 14578 hppa*64*|ia64*) 14579 # +Z the default 14580 ;; 14581 *) 14582 lt_prog_compiler_pic_CXX='+Z' 14583 ;; 14584 esac 14585 ;; 14586 *) 14587 ;; 14588 esac 14589 ;; 14590 interix*) 14591 # This is c89, which is MS Visual C++ (no shared libs) 14592 # Anyone wants to do a port? 14593 ;; 14594 irix5* | irix6* | nonstopux*) 14595 case $cc_basename in 14596 CC*) 14597 lt_prog_compiler_wl_CXX='-Wl,' 14598 lt_prog_compiler_static_CXX='-non_shared' 14599 # CC pic flag -KPIC is the default. 14600 ;; 14601 *) 14602 ;; 14603 esac 14604 ;; 14605 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14606 case $cc_basename in 14607 KCC*) 14608 # KAI C++ Compiler 14609 lt_prog_compiler_wl_CXX='--backend -Wl,' 14610 lt_prog_compiler_pic_CXX='-fPIC' 14611 ;; 14612 ecpc* ) 14613 # old Intel C++ for x86_64 which still supported -KPIC. 14614 lt_prog_compiler_wl_CXX='-Wl,' 14615 lt_prog_compiler_pic_CXX='-KPIC' 14616 lt_prog_compiler_static_CXX='-static' 14617 ;; 14618 icpc* ) 14619 # Intel C++, used to be incompatible with GCC. 14620 # ICC 10 doesn't accept -KPIC any more. 14621 lt_prog_compiler_wl_CXX='-Wl,' 14622 lt_prog_compiler_pic_CXX='-fPIC' 14623 lt_prog_compiler_static_CXX='-static' 14624 ;; 14625 pgCC* | pgcpp*) 14626 # Portland Group C++ compiler 14627 lt_prog_compiler_wl_CXX='-Wl,' 14628 lt_prog_compiler_pic_CXX='-fpic' 14629 lt_prog_compiler_static_CXX='-Bstatic' 14630 ;; 14631 cxx*) 14632 # Compaq C++ 14633 # Make sure the PIC flag is empty. It appears that all Alpha 14634 # Linux and Compaq Tru64 Unix objects are PIC. 14635 lt_prog_compiler_pic_CXX= 14636 lt_prog_compiler_static_CXX='-non_shared' 14637 ;; 14638 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 14639 # IBM XL 8.0, 9.0 on PPC and BlueGene 14640 lt_prog_compiler_wl_CXX='-Wl,' 14641 lt_prog_compiler_pic_CXX='-qpic' 14642 lt_prog_compiler_static_CXX='-qstaticlink' 14643 ;; 14644 *) 14645 case `$CC -V 2>&1 | sed 5q` in 14646 *Sun\ C*) 14647 # Sun C++ 5.9 14648 lt_prog_compiler_pic_CXX='-KPIC' 14649 lt_prog_compiler_static_CXX='-Bstatic' 14650 lt_prog_compiler_wl_CXX='-Qoption ld ' 14651 ;; 14652 esac 14653 ;; 14654 esac 14655 ;; 14656 lynxos*) 14657 ;; 14658 m88k*) 14659 ;; 14660 mvs*) 14661 case $cc_basename in 14662 cxx*) 14663 lt_prog_compiler_pic_CXX='-W c,exportall' 14664 ;; 14665 *) 14666 ;; 14667 esac 14668 ;; 14669 netbsd* | netbsdelf*-gnu) 14670 ;; 14671 *qnx* | *nto*) 14672 # QNX uses GNU C++, but need to define -shared option too, otherwise 14673 # it will coredump. 14674 lt_prog_compiler_pic_CXX='-fPIC -shared' 14675 ;; 14676 osf3* | osf4* | osf5*) 14677 case $cc_basename in 14678 KCC*) 14679 lt_prog_compiler_wl_CXX='--backend -Wl,' 14680 ;; 14681 RCC*) 14682 # Rational C++ 2.4.1 14683 lt_prog_compiler_pic_CXX='-pic' 14684 ;; 14685 cxx*) 14686 # Digital/Compaq C++ 14687 lt_prog_compiler_wl_CXX='-Wl,' 14688 # Make sure the PIC flag is empty. It appears that all Alpha 14689 # Linux and Compaq Tru64 Unix objects are PIC. 14690 lt_prog_compiler_pic_CXX= 14691 lt_prog_compiler_static_CXX='-non_shared' 14692 ;; 14693 *) 14694 ;; 14695 esac 14696 ;; 14697 psos*) 14698 ;; 14699 solaris*) 14700 case $cc_basename in 14701 CC* | sunCC*) 14702 # Sun C++ 4.2, 5.x and Centerline C++ 14703 lt_prog_compiler_pic_CXX='-KPIC' 14704 lt_prog_compiler_static_CXX='-Bstatic' 14705 lt_prog_compiler_wl_CXX='-Qoption ld ' 14706 ;; 14707 gcx*) 14708 # Green Hills C++ Compiler 14709 lt_prog_compiler_pic_CXX='-PIC' 14710 ;; 14711 *) 14712 ;; 14713 esac 14714 ;; 14715 sunos4*) 14716 case $cc_basename in 14717 CC*) 14718 # Sun C++ 4.x 14719 lt_prog_compiler_pic_CXX='-pic' 14720 lt_prog_compiler_static_CXX='-Bstatic' 14721 ;; 14722 lcc*) 14723 # Lucid 14724 lt_prog_compiler_pic_CXX='-pic' 14725 ;; 14726 *) 14727 ;; 14728 esac 14729 ;; 14730 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14731 case $cc_basename in 14732 CC*) 14733 lt_prog_compiler_wl_CXX='-Wl,' 14734 lt_prog_compiler_pic_CXX='-KPIC' 14735 lt_prog_compiler_static_CXX='-Bstatic' 14736 ;; 14737 esac 14738 ;; 14739 tandem*) 14740 case $cc_basename in 14741 NCC*) 14742 # NonStop-UX NCC 3.20 14743 lt_prog_compiler_pic_CXX='-KPIC' 14744 ;; 14745 *) 14746 ;; 14747 esac 14748 ;; 14749 vxworks*) 14750 ;; 14751 *) 14752 lt_prog_compiler_can_build_shared_CXX=no 14753 ;; 14754 esac 14755 fi 14756 14757case $host_os in 14758 # For platforms which do not support PIC, -DPIC is meaningless: 14759 *djgpp*) 14760 lt_prog_compiler_pic_CXX= 14761 ;; 14762 *) 14763 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 14764 ;; 14765esac 14766 14767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 14768$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 14769if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 14770 $as_echo_n "(cached) " >&6 14771else 14772 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 14773fi 14774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 14775$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 14776lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 14777 14778# 14779# Check to make sure the PIC flag actually works. 14780# 14781if test -n "$lt_prog_compiler_pic_CXX"; then 14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 14783$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 14784if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 14785 $as_echo_n "(cached) " >&6 14786else 14787 lt_cv_prog_compiler_pic_works_CXX=no 14788 ac_outfile=conftest.$ac_objext 14789 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14790 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 14791 # Insert the option either (1) after the last *FLAGS variable, or 14792 # (2) before a word containing "conftest.", or (3) at the end. 14793 # Note that $ac_compile itself does not contain backslashes and begins 14794 # with a dollar sign (not a hyphen), so the echo should work correctly. 14795 # The option is referenced via a variable to avoid confusing sed. 14796 lt_compile=`echo "$ac_compile" | $SED \ 14797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14799 -e 's:$: $lt_compiler_flag:'` 14800 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14801 (eval "$lt_compile" 2>conftest.err) 14802 ac_status=$? 14803 cat conftest.err >&5 14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14805 if (exit $ac_status) && test -s "$ac_outfile"; then 14806 # The compiler can only warn and ignore the option if not recognized 14807 # So say no if there are warnings other than the usual output. 14808 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 14809 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14810 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14811 lt_cv_prog_compiler_pic_works_CXX=yes 14812 fi 14813 fi 14814 $RM conftest* 14815 14816fi 14817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 14818$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 14819 14820if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 14821 case $lt_prog_compiler_pic_CXX in 14822 "" | " "*) ;; 14823 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 14824 esac 14825else 14826 lt_prog_compiler_pic_CXX= 14827 lt_prog_compiler_can_build_shared_CXX=no 14828fi 14829 14830fi 14831 14832 14833 14834 14835 14836# 14837# Check to make sure the static flag actually works. 14838# 14839wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 14840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14841$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14842if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 14843 $as_echo_n "(cached) " >&6 14844else 14845 lt_cv_prog_compiler_static_works_CXX=no 14846 save_LDFLAGS="$LDFLAGS" 14847 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14848 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14849 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14850 # The linker can only warn and ignore the option if not recognized 14851 # So say no if there are warnings 14852 if test -s conftest.err; then 14853 # Append any errors to the config.log. 14854 cat conftest.err 1>&5 14855 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14856 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14857 if diff conftest.exp conftest.er2 >/dev/null; then 14858 lt_cv_prog_compiler_static_works_CXX=yes 14859 fi 14860 else 14861 lt_cv_prog_compiler_static_works_CXX=yes 14862 fi 14863 fi 14864 $RM -r conftest* 14865 LDFLAGS="$save_LDFLAGS" 14866 14867fi 14868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 14869$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 14870 14871if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 14872 : 14873else 14874 lt_prog_compiler_static_CXX= 14875fi 14876 14877 14878 14879 14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14881$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14882if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14883 $as_echo_n "(cached) " >&6 14884else 14885 lt_cv_prog_compiler_c_o_CXX=no 14886 $RM -r conftest 2>/dev/null 14887 mkdir conftest 14888 cd conftest 14889 mkdir out 14890 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14891 14892 lt_compiler_flag="-o out/conftest2.$ac_objext" 14893 # Insert the option either (1) after the last *FLAGS variable, or 14894 # (2) before a word containing "conftest.", or (3) at the end. 14895 # Note that $ac_compile itself does not contain backslashes and begins 14896 # with a dollar sign (not a hyphen), so the echo should work correctly. 14897 lt_compile=`echo "$ac_compile" | $SED \ 14898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14900 -e 's:$: $lt_compiler_flag:'` 14901 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14902 (eval "$lt_compile" 2>out/conftest.err) 14903 ac_status=$? 14904 cat out/conftest.err >&5 14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14906 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14907 then 14908 # The compiler can only warn and ignore the option if not recognized 14909 # So say no if there are warnings 14910 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14911 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14912 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14913 lt_cv_prog_compiler_c_o_CXX=yes 14914 fi 14915 fi 14916 chmod u+w . 2>&5 14917 $RM conftest* 14918 # SGI C++ compiler will create directory out/ii_files/ for 14919 # template instantiation 14920 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14921 $RM out/* && rmdir out 14922 cd .. 14923 $RM -r conftest 14924 $RM conftest* 14925 14926fi 14927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14928$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14929 14930 14931 14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14933$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14934if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14935 $as_echo_n "(cached) " >&6 14936else 14937 lt_cv_prog_compiler_c_o_CXX=no 14938 $RM -r conftest 2>/dev/null 14939 mkdir conftest 14940 cd conftest 14941 mkdir out 14942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14943 14944 lt_compiler_flag="-o out/conftest2.$ac_objext" 14945 # Insert the option either (1) after the last *FLAGS variable, or 14946 # (2) before a word containing "conftest.", or (3) at the end. 14947 # Note that $ac_compile itself does not contain backslashes and begins 14948 # with a dollar sign (not a hyphen), so the echo should work correctly. 14949 lt_compile=`echo "$ac_compile" | $SED \ 14950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14952 -e 's:$: $lt_compiler_flag:'` 14953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14954 (eval "$lt_compile" 2>out/conftest.err) 14955 ac_status=$? 14956 cat out/conftest.err >&5 14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14958 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14959 then 14960 # The compiler can only warn and ignore the option if not recognized 14961 # So say no if there are warnings 14962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14965 lt_cv_prog_compiler_c_o_CXX=yes 14966 fi 14967 fi 14968 chmod u+w . 2>&5 14969 $RM conftest* 14970 # SGI C++ compiler will create directory out/ii_files/ for 14971 # template instantiation 14972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14973 $RM out/* && rmdir out 14974 cd .. 14975 $RM -r conftest 14976 $RM conftest* 14977 14978fi 14979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14980$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14981 14982 14983 14984 14985hard_links="nottested" 14986if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 14987 # do not overwrite the value of need_locks provided by the user 14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14989$as_echo_n "checking if we can lock with hard links... " >&6; } 14990 hard_links=yes 14991 $RM conftest* 14992 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14993 touch conftest.a 14994 ln conftest.a conftest.b 2>&5 || hard_links=no 14995 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14997$as_echo "$hard_links" >&6; } 14998 if test "$hard_links" = no; then 14999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 15000$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 15001 need_locks=warn 15002 fi 15003else 15004 need_locks=no 15005fi 15006 15007 15008 15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15010$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15011 15012 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15013 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15014 case $host_os in 15015 aix[4-9]*) 15016 # If we're using GNU nm, then we don't want the "-C" option. 15017 # -C means demangle to AIX nm, but means don't demangle with GNU nm 15018 # Also, AIX nm treats weak defined symbols like other global defined 15019 # symbols, whereas GNU nm marks them as "W". 15020 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15021 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 15022 else 15023 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 15024 fi 15025 ;; 15026 pw32*) 15027 export_symbols_cmds_CXX="$ltdll_cmds" 15028 ;; 15029 cygwin* | mingw* | cegcc*) 15030 case $cc_basename in 15031 cl*) 15032 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15033 ;; 15034 *) 15035 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 15036 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15037 ;; 15038 esac 15039 ;; 15040 linux* | k*bsd*-gnu | gnu*) 15041 link_all_deplibs_CXX=no 15042 ;; 15043 *) 15044 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15045 ;; 15046 esac 15047 15048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15049$as_echo "$ld_shlibs_CXX" >&6; } 15050test "$ld_shlibs_CXX" = no && can_build_shared=no 15051 15052with_gnu_ld_CXX=$with_gnu_ld 15053 15054 15055 15056 15057 15058 15059# 15060# Do we need to explicitly link libc? 15061# 15062case "x$archive_cmds_need_lc_CXX" in 15063x|xyes) 15064 # Assume -lc should be added 15065 archive_cmds_need_lc_CXX=yes 15066 15067 if test "$enable_shared" = yes && test "$GCC" = yes; then 15068 case $archive_cmds_CXX in 15069 *'~'*) 15070 # FIXME: we may have to deal with multi-command sequences. 15071 ;; 15072 '$CC '*) 15073 # Test whether the compiler implicitly links with -lc since on some 15074 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15075 # to ld, don't add -lc before -lgcc. 15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15077$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15078if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15079 $as_echo_n "(cached) " >&6 15080else 15081 $RM conftest* 15082 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15083 15084 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15085 (eval $ac_compile) 2>&5 15086 ac_status=$? 15087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15088 test $ac_status = 0; } 2>conftest.err; then 15089 soname=conftest 15090 lib=conftest 15091 libobjs=conftest.$ac_objext 15092 deplibs= 15093 wl=$lt_prog_compiler_wl_CXX 15094 pic_flag=$lt_prog_compiler_pic_CXX 15095 compiler_flags=-v 15096 linker_flags=-v 15097 verstring= 15098 output_objdir=. 15099 libname=conftest 15100 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15101 allow_undefined_flag_CXX= 15102 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15103 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15104 ac_status=$? 15105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15106 test $ac_status = 0; } 15107 then 15108 lt_cv_archive_cmds_need_lc_CXX=no 15109 else 15110 lt_cv_archive_cmds_need_lc_CXX=yes 15111 fi 15112 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15113 else 15114 cat conftest.err 1>&5 15115 fi 15116 $RM conftest* 15117 15118fi 15119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 15120$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 15121 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 15122 ;; 15123 esac 15124 fi 15125 ;; 15126esac 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15190$as_echo_n "checking dynamic linker characteristics... " >&6; } 15191 15192library_names_spec= 15193libname_spec='lib$name' 15194soname_spec= 15195shrext_cmds=".so" 15196postinstall_cmds= 15197postuninstall_cmds= 15198finish_cmds= 15199finish_eval= 15200shlibpath_var= 15201shlibpath_overrides_runpath=unknown 15202version_type=none 15203dynamic_linker="$host_os ld.so" 15204sys_lib_dlsearch_path_spec="/lib /usr/lib" 15205need_lib_prefix=unknown 15206hardcode_into_libs=no 15207 15208# when you set need_version to no, make sure it does not cause -set_version 15209# flags to be left without arguments 15210need_version=unknown 15211 15212case $host_os in 15213aix3*) 15214 version_type=linux # correct to gnu/linux during the next big refactor 15215 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 15216 shlibpath_var=LIBPATH 15217 15218 # AIX 3 has no versioning support, so we append a major version to the name. 15219 soname_spec='${libname}${release}${shared_ext}$major' 15220 ;; 15221 15222aix[4-9]*) 15223 version_type=linux # correct to gnu/linux during the next big refactor 15224 need_lib_prefix=no 15225 need_version=no 15226 hardcode_into_libs=yes 15227 if test "$host_cpu" = ia64; then 15228 # AIX 5 supports IA64 15229 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 15230 shlibpath_var=LD_LIBRARY_PATH 15231 else 15232 # With GCC up to 2.95.x, collect2 would create an import file 15233 # for dependence libraries. The import file would start with 15234 # the line `#! .'. This would cause the generated library to 15235 # depend on `.', always an invalid library. This was fixed in 15236 # development snapshots of GCC prior to 3.0. 15237 case $host_os in 15238 aix4 | aix4.[01] | aix4.[01].*) 15239 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15240 echo ' yes ' 15241 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 15242 : 15243 else 15244 can_build_shared=no 15245 fi 15246 ;; 15247 esac 15248 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 15249 # soname into executable. Probably we can add versioning support to 15250 # collect2, so additional links can be useful in future. 15251 if test "$aix_use_runtimelinking" = yes; then 15252 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15253 # instead of lib<name>.a to let people know that these are not 15254 # typical AIX shared libraries. 15255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15256 else 15257 # We preserve .a as extension for shared libraries through AIX4.2 15258 # and later when we are not doing run time linking. 15259 library_names_spec='${libname}${release}.a $libname.a' 15260 soname_spec='${libname}${release}${shared_ext}$major' 15261 fi 15262 shlibpath_var=LIBPATH 15263 fi 15264 ;; 15265 15266amigaos*) 15267 case $host_cpu in 15268 powerpc) 15269 # Since July 2007 AmigaOS4 officially supports .so libraries. 15270 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15272 ;; 15273 m68k) 15274 library_names_spec='$libname.ixlibrary $libname.a' 15275 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15276 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' 15277 ;; 15278 esac 15279 ;; 15280 15281beos*) 15282 library_names_spec='${libname}${shared_ext}' 15283 dynamic_linker="$host_os ld.so" 15284 shlibpath_var=LIBRARY_PATH 15285 ;; 15286 15287bsdi[45]*) 15288 version_type=linux # correct to gnu/linux during the next big refactor 15289 need_version=no 15290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15291 soname_spec='${libname}${release}${shared_ext}$major' 15292 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15293 shlibpath_var=LD_LIBRARY_PATH 15294 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15295 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15296 # the default ld.so.conf also contains /usr/contrib/lib and 15297 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15298 # libtool to hard-code these into programs 15299 ;; 15300 15301cygwin* | mingw* | pw32* | cegcc*) 15302 version_type=windows 15303 shrext_cmds=".dll" 15304 need_version=no 15305 need_lib_prefix=no 15306 15307 case $GCC,$cc_basename in 15308 yes,*) 15309 # gcc 15310 library_names_spec='$libname.dll.a' 15311 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15312 postinstall_cmds='base_file=`basename \${file}`~ 15313 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 15314 dldir=$destdir/`dirname \$dlpath`~ 15315 test -d \$dldir || mkdir -p \$dldir~ 15316 $install_prog $dir/$dlname \$dldir/$dlname~ 15317 chmod a+x \$dldir/$dlname~ 15318 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15319 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15320 fi' 15321 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15322 dlpath=$dir/\$dldll~ 15323 $RM \$dlpath' 15324 shlibpath_overrides_runpath=yes 15325 15326 case $host_os in 15327 cygwin*) 15328 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15329 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15330 15331 ;; 15332 mingw* | cegcc*) 15333 # MinGW DLLs use traditional 'lib' prefix 15334 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15335 ;; 15336 pw32*) 15337 # pw32 DLLs use 'pw' prefix rather than 'lib' 15338 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15339 ;; 15340 esac 15341 dynamic_linker='Win32 ld.exe' 15342 ;; 15343 15344 *,cl*) 15345 # Native MSVC 15346 libname_spec='$name' 15347 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15348 library_names_spec='${libname}.dll.lib' 15349 15350 case $build_os in 15351 mingw*) 15352 sys_lib_search_path_spec= 15353 lt_save_ifs=$IFS 15354 IFS=';' 15355 for lt_path in $LIB 15356 do 15357 IFS=$lt_save_ifs 15358 # Let DOS variable expansion print the short 8.3 style file name. 15359 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15360 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15361 done 15362 IFS=$lt_save_ifs 15363 # Convert to MSYS style. 15364 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15365 ;; 15366 cygwin*) 15367 # Convert to unix form, then to dos form, then back to unix form 15368 # but this time dos style (no spaces!) so that the unix form looks 15369 # like /cygdrive/c/PROGRA~1:/cygdr... 15370 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15371 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15372 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15373 ;; 15374 *) 15375 sys_lib_search_path_spec="$LIB" 15376 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15377 # It is most probably a Windows format PATH. 15378 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15379 else 15380 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15381 fi 15382 # FIXME: find the short name or the path components, as spaces are 15383 # common. (e.g. "Program Files" -> "PROGRA~1") 15384 ;; 15385 esac 15386 15387 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15388 postinstall_cmds='base_file=`basename \${file}`~ 15389 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 15390 dldir=$destdir/`dirname \$dlpath`~ 15391 test -d \$dldir || mkdir -p \$dldir~ 15392 $install_prog $dir/$dlname \$dldir/$dlname' 15393 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15394 dlpath=$dir/\$dldll~ 15395 $RM \$dlpath' 15396 shlibpath_overrides_runpath=yes 15397 dynamic_linker='Win32 link.exe' 15398 ;; 15399 15400 *) 15401 # Assume MSVC wrapper 15402 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 15403 dynamic_linker='Win32 ld.exe' 15404 ;; 15405 esac 15406 # FIXME: first we should search . and the directory the executable is in 15407 shlibpath_var=PATH 15408 ;; 15409 15410darwin* | rhapsody*) 15411 dynamic_linker="$host_os dyld" 15412 version_type=darwin 15413 need_lib_prefix=no 15414 need_version=no 15415 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 15416 soname_spec='${libname}${release}${major}$shared_ext' 15417 shlibpath_overrides_runpath=yes 15418 shlibpath_var=DYLD_LIBRARY_PATH 15419 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15420 15421 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15422 ;; 15423 15424dgux*) 15425 version_type=linux # correct to gnu/linux during the next big refactor 15426 need_lib_prefix=no 15427 need_version=no 15428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 15429 soname_spec='${libname}${release}${shared_ext}$major' 15430 shlibpath_var=LD_LIBRARY_PATH 15431 ;; 15432 15433freebsd* | dragonfly*) 15434 # DragonFly does not have aout. When/if they implement a new 15435 # versioning mechanism, adjust this. 15436 if test -x /usr/bin/objformat; then 15437 objformat=`/usr/bin/objformat` 15438 else 15439 case $host_os in 15440 freebsd[23].*) objformat=aout ;; 15441 *) objformat=elf ;; 15442 esac 15443 fi 15444 version_type=freebsd-$objformat 15445 case $version_type in 15446 freebsd-elf*) 15447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15448 need_version=no 15449 need_lib_prefix=no 15450 ;; 15451 freebsd-*) 15452 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 15453 need_version=yes 15454 ;; 15455 esac 15456 shlibpath_var=LD_LIBRARY_PATH 15457 case $host_os in 15458 freebsd2.*) 15459 shlibpath_overrides_runpath=yes 15460 ;; 15461 freebsd3.[01]* | freebsdelf3.[01]*) 15462 shlibpath_overrides_runpath=yes 15463 hardcode_into_libs=yes 15464 ;; 15465 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15466 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15467 shlibpath_overrides_runpath=no 15468 hardcode_into_libs=yes 15469 ;; 15470 *) # from 4.6 on, and DragonFly 15471 shlibpath_overrides_runpath=yes 15472 hardcode_into_libs=yes 15473 ;; 15474 esac 15475 ;; 15476 15477haiku*) 15478 version_type=linux # correct to gnu/linux during the next big refactor 15479 need_lib_prefix=no 15480 need_version=no 15481 dynamic_linker="$host_os runtime_loader" 15482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15483 soname_spec='${libname}${release}${shared_ext}$major' 15484 shlibpath_var=LIBRARY_PATH 15485 shlibpath_overrides_runpath=yes 15486 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15487 hardcode_into_libs=yes 15488 ;; 15489 15490hpux9* | hpux10* | hpux11*) 15491 # Give a soname corresponding to the major version so that dld.sl refuses to 15492 # link against other versions. 15493 version_type=sunos 15494 need_lib_prefix=no 15495 need_version=no 15496 case $host_cpu in 15497 ia64*) 15498 shrext_cmds='.so' 15499 hardcode_into_libs=yes 15500 dynamic_linker="$host_os dld.so" 15501 shlibpath_var=LD_LIBRARY_PATH 15502 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15504 soname_spec='${libname}${release}${shared_ext}$major' 15505 if test "X$HPUX_IA64_MODE" = X32; then 15506 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15507 else 15508 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15509 fi 15510 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15511 ;; 15512 hppa*64*) 15513 shrext_cmds='.sl' 15514 hardcode_into_libs=yes 15515 dynamic_linker="$host_os dld.sl" 15516 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15517 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15519 soname_spec='${libname}${release}${shared_ext}$major' 15520 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15521 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15522 ;; 15523 *) 15524 shrext_cmds='.sl' 15525 dynamic_linker="$host_os dld.sl" 15526 shlibpath_var=SHLIB_PATH 15527 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15529 soname_spec='${libname}${release}${shared_ext}$major' 15530 ;; 15531 esac 15532 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 15533 postinstall_cmds='chmod 555 $lib' 15534 # or fails outright, so override atomically: 15535 install_override_mode=555 15536 ;; 15537 15538interix[3-9]*) 15539 version_type=linux # correct to gnu/linux during the next big refactor 15540 need_lib_prefix=no 15541 need_version=no 15542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15543 soname_spec='${libname}${release}${shared_ext}$major' 15544 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 15545 shlibpath_var=LD_LIBRARY_PATH 15546 shlibpath_overrides_runpath=no 15547 hardcode_into_libs=yes 15548 ;; 15549 15550irix5* | irix6* | nonstopux*) 15551 case $host_os in 15552 nonstopux*) version_type=nonstopux ;; 15553 *) 15554 if test "$lt_cv_prog_gnu_ld" = yes; then 15555 version_type=linux # correct to gnu/linux during the next big refactor 15556 else 15557 version_type=irix 15558 fi ;; 15559 esac 15560 need_lib_prefix=no 15561 need_version=no 15562 soname_spec='${libname}${release}${shared_ext}$major' 15563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 15564 case $host_os in 15565 irix5* | nonstopux*) 15566 libsuff= shlibsuff= 15567 ;; 15568 *) 15569 case $LD in # libtool.m4 will add one of these switches to LD 15570 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 15571 libsuff= shlibsuff= libmagic=32-bit;; 15572 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 15573 libsuff=32 shlibsuff=N32 libmagic=N32;; 15574 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 15575 libsuff=64 shlibsuff=64 libmagic=64-bit;; 15576 *) libsuff= shlibsuff= libmagic=never-match;; 15577 esac 15578 ;; 15579 esac 15580 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 15581 shlibpath_overrides_runpath=no 15582 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 15583 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 15584 hardcode_into_libs=yes 15585 ;; 15586 15587# No shared lib support for Linux oldld, aout, or coff. 15588linux*oldld* | linux*aout* | linux*coff*) 15589 dynamic_linker=no 15590 ;; 15591 15592# This must be glibc/ELF. 15593linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15594 version_type=linux # correct to gnu/linux during the next big refactor 15595 need_lib_prefix=no 15596 need_version=no 15597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15598 soname_spec='${libname}${release}${shared_ext}$major' 15599 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15600 shlibpath_var=LD_LIBRARY_PATH 15601 shlibpath_overrides_runpath=no 15602 15603 # Some binutils ld are patched to set DT_RUNPATH 15604 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 15605 $as_echo_n "(cached) " >&6 15606else 15607 lt_cv_shlibpath_overrides_runpath=no 15608 save_LDFLAGS=$LDFLAGS 15609 save_libdir=$libdir 15610 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 15611 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 15612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15613/* end confdefs.h. */ 15614 15615int 15616main () 15617{ 15618 15619 ; 15620 return 0; 15621} 15622_ACEOF 15623if ac_fn_cxx_try_link "$LINENO"; then : 15624 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 15625 lt_cv_shlibpath_overrides_runpath=yes 15626fi 15627fi 15628rm -f core conftest.err conftest.$ac_objext \ 15629 conftest$ac_exeext conftest.$ac_ext 15630 LDFLAGS=$save_LDFLAGS 15631 libdir=$save_libdir 15632 15633fi 15634 15635 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 15636 15637 # This implies no fast_install, which is unacceptable. 15638 # Some rework will be needed to allow for fast_install 15639 # before this can be enabled. 15640 hardcode_into_libs=yes 15641 15642 # Append ld.so.conf contents to the search path 15643 if test -f /etc/ld.so.conf; then 15644 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' ' '` 15645 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 15646 fi 15647 15648 # We used to test for /lib/ld.so.1 and disable shared libraries on 15649 # powerpc, because MkLinux only supported shared libraries with the 15650 # GNU dynamic linker. Since this was broken with cross compilers, 15651 # most powerpc-linux boxes support dynamic linking these days and 15652 # people can always --disable-shared, the test was removed, and we 15653 # assume the GNU/Linux dynamic linker is in use. 15654 dynamic_linker='GNU/Linux ld.so' 15655 ;; 15656 15657netbsdelf*-gnu) 15658 version_type=linux 15659 need_lib_prefix=no 15660 need_version=no 15661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15662 soname_spec='${libname}${release}${shared_ext}$major' 15663 shlibpath_var=LD_LIBRARY_PATH 15664 shlibpath_overrides_runpath=no 15665 hardcode_into_libs=yes 15666 dynamic_linker='NetBSD ld.elf_so' 15667 ;; 15668 15669netbsd*) 15670 version_type=sunos 15671 need_lib_prefix=no 15672 need_version=no 15673 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15675 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15676 dynamic_linker='NetBSD (a.out) ld.so' 15677 else 15678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15679 soname_spec='${libname}${release}${shared_ext}$major' 15680 dynamic_linker='NetBSD ld.elf_so' 15681 fi 15682 shlibpath_var=LD_LIBRARY_PATH 15683 shlibpath_overrides_runpath=yes 15684 hardcode_into_libs=yes 15685 ;; 15686 15687newsos6) 15688 version_type=linux # correct to gnu/linux during the next big refactor 15689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15690 shlibpath_var=LD_LIBRARY_PATH 15691 shlibpath_overrides_runpath=yes 15692 ;; 15693 15694*nto* | *qnx*) 15695 version_type=qnx 15696 need_lib_prefix=no 15697 need_version=no 15698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15699 soname_spec='${libname}${release}${shared_ext}$major' 15700 shlibpath_var=LD_LIBRARY_PATH 15701 shlibpath_overrides_runpath=no 15702 hardcode_into_libs=yes 15703 dynamic_linker='ldqnx.so' 15704 ;; 15705 15706openbsd*) 15707 version_type=sunos 15708 sys_lib_dlsearch_path_spec="/usr/lib" 15709 need_lib_prefix=no 15710 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 15711 case $host_os in 15712 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 15713 *) need_version=no ;; 15714 esac 15715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15716 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15717 shlibpath_var=LD_LIBRARY_PATH 15718 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15719 case $host_os in 15720 openbsd2.[89] | openbsd2.[89].*) 15721 shlibpath_overrides_runpath=no 15722 ;; 15723 *) 15724 shlibpath_overrides_runpath=yes 15725 ;; 15726 esac 15727 else 15728 shlibpath_overrides_runpath=yes 15729 fi 15730 ;; 15731 15732os2*) 15733 libname_spec='$name' 15734 shrext_cmds=".dll" 15735 need_lib_prefix=no 15736 library_names_spec='$libname${shared_ext} $libname.a' 15737 dynamic_linker='OS/2 ld.exe' 15738 shlibpath_var=LIBPATH 15739 ;; 15740 15741osf3* | osf4* | osf5*) 15742 version_type=osf 15743 need_lib_prefix=no 15744 need_version=no 15745 soname_spec='${libname}${release}${shared_ext}$major' 15746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15747 shlibpath_var=LD_LIBRARY_PATH 15748 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 15749 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 15750 ;; 15751 15752rdos*) 15753 dynamic_linker=no 15754 ;; 15755 15756solaris*) 15757 version_type=linux # correct to gnu/linux during the next big refactor 15758 need_lib_prefix=no 15759 need_version=no 15760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15761 soname_spec='${libname}${release}${shared_ext}$major' 15762 shlibpath_var=LD_LIBRARY_PATH 15763 shlibpath_overrides_runpath=yes 15764 hardcode_into_libs=yes 15765 # ldd complains unless libraries are executable 15766 postinstall_cmds='chmod +x $lib' 15767 ;; 15768 15769sunos4*) 15770 version_type=sunos 15771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15772 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 15773 shlibpath_var=LD_LIBRARY_PATH 15774 shlibpath_overrides_runpath=yes 15775 if test "$with_gnu_ld" = yes; then 15776 need_lib_prefix=no 15777 fi 15778 need_version=yes 15779 ;; 15780 15781sysv4 | sysv4.3*) 15782 version_type=linux # correct to gnu/linux during the next big refactor 15783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15784 soname_spec='${libname}${release}${shared_ext}$major' 15785 shlibpath_var=LD_LIBRARY_PATH 15786 case $host_vendor in 15787 sni) 15788 shlibpath_overrides_runpath=no 15789 need_lib_prefix=no 15790 runpath_var=LD_RUN_PATH 15791 ;; 15792 siemens) 15793 need_lib_prefix=no 15794 ;; 15795 motorola) 15796 need_lib_prefix=no 15797 need_version=no 15798 shlibpath_overrides_runpath=no 15799 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 15800 ;; 15801 esac 15802 ;; 15803 15804sysv4*MP*) 15805 if test -d /usr/nec ;then 15806 version_type=linux # correct to gnu/linux during the next big refactor 15807 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 15808 soname_spec='$libname${shared_ext}.$major' 15809 shlibpath_var=LD_LIBRARY_PATH 15810 fi 15811 ;; 15812 15813sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 15814 version_type=freebsd-elf 15815 need_lib_prefix=no 15816 need_version=no 15817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15818 soname_spec='${libname}${release}${shared_ext}$major' 15819 shlibpath_var=LD_LIBRARY_PATH 15820 shlibpath_overrides_runpath=yes 15821 hardcode_into_libs=yes 15822 if test "$with_gnu_ld" = yes; then 15823 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 15824 else 15825 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 15826 case $host_os in 15827 sco3.2v5*) 15828 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 15829 ;; 15830 esac 15831 fi 15832 sys_lib_dlsearch_path_spec='/usr/lib' 15833 ;; 15834 15835tpf*) 15836 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 15837 version_type=linux # correct to gnu/linux during the next big refactor 15838 need_lib_prefix=no 15839 need_version=no 15840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15841 shlibpath_var=LD_LIBRARY_PATH 15842 shlibpath_overrides_runpath=no 15843 hardcode_into_libs=yes 15844 ;; 15845 15846uts4*) 15847 version_type=linux # correct to gnu/linux during the next big refactor 15848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15849 soname_spec='${libname}${release}${shared_ext}$major' 15850 shlibpath_var=LD_LIBRARY_PATH 15851 ;; 15852 15853*) 15854 dynamic_linker=no 15855 ;; 15856esac 15857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15858$as_echo "$dynamic_linker" >&6; } 15859test "$dynamic_linker" = no && can_build_shared=no 15860 15861variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15862if test "$GCC" = yes; then 15863 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15864fi 15865 15866if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 15867 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 15868fi 15869if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 15870 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 15871fi 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 15911$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 15912hardcode_action_CXX= 15913if test -n "$hardcode_libdir_flag_spec_CXX" || 15914 test -n "$runpath_var_CXX" || 15915 test "X$hardcode_automatic_CXX" = "Xyes" ; then 15916 15917 # We can hardcode non-existent directories. 15918 if test "$hardcode_direct_CXX" != no && 15919 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15920 # have to relink, otherwise we might link with an installed library 15921 # when we should be linking with a yet-to-be-installed one 15922 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 15923 test "$hardcode_minus_L_CXX" != no; then 15924 # Linking always hardcodes the temporary library directory. 15925 hardcode_action_CXX=relink 15926 else 15927 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15928 hardcode_action_CXX=immediate 15929 fi 15930else 15931 # We cannot hardcode anything, or else we can only hardcode existing 15932 # directories. 15933 hardcode_action_CXX=unsupported 15934fi 15935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 15936$as_echo "$hardcode_action_CXX" >&6; } 15937 15938if test "$hardcode_action_CXX" = relink || 15939 test "$inherit_rpath_CXX" = yes; then 15940 # Fast installation is not supported 15941 enable_fast_install=no 15942elif test "$shlibpath_overrides_runpath" = yes || 15943 test "$enable_shared" = no; then 15944 # Fast installation is not necessary 15945 enable_fast_install=needless 15946fi 15947 15948 15949 15950 15951 15952 15953 15954 fi # test -n "$compiler" 15955 15956 CC=$lt_save_CC 15957 CFLAGS=$lt_save_CFLAGS 15958 LDCXX=$LD 15959 LD=$lt_save_LD 15960 GCC=$lt_save_GCC 15961 with_gnu_ld=$lt_save_with_gnu_ld 15962 lt_cv_path_LDCXX=$lt_cv_path_LD 15963 lt_cv_path_LD=$lt_save_path_LD 15964 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 15965 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 15966fi # test "$_lt_caught_CXX_error" != yes 15967 15968ac_ext=c 15969ac_cpp='$CPP $CPPFLAGS' 15970ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15971ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15972ac_compiler_gnu=$ac_cv_c_compiler_gnu 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 ac_config_commands="$ac_config_commands libtool" 15989 15990 15991 15992 15993# Only expand once: 15994 15995 15996 15997 15998ac_config_headers="$ac_config_headers config.h" 15999 16000 16001# Checks for programs. 16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 16003$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 16004if ${ac_cv_c_bigendian+:} false; then : 16005 $as_echo_n "(cached) " >&6 16006else 16007 ac_cv_c_bigendian=unknown 16008 # See if we're dealing with a universal compiler. 16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16010/* end confdefs.h. */ 16011#ifndef __APPLE_CC__ 16012 not a universal capable compiler 16013 #endif 16014 typedef int dummy; 16015 16016_ACEOF 16017if ac_fn_c_try_compile "$LINENO"; then : 16018 16019 # Check for potential -arch flags. It is not universal unless 16020 # there are at least two -arch flags with different values. 16021 ac_arch= 16022 ac_prev= 16023 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 16024 if test -n "$ac_prev"; then 16025 case $ac_word in 16026 i?86 | x86_64 | ppc | ppc64) 16027 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 16028 ac_arch=$ac_word 16029 else 16030 ac_cv_c_bigendian=universal 16031 break 16032 fi 16033 ;; 16034 esac 16035 ac_prev= 16036 elif test "x$ac_word" = "x-arch"; then 16037 ac_prev=arch 16038 fi 16039 done 16040fi 16041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16042 if test $ac_cv_c_bigendian = unknown; then 16043 # See if sys/param.h defines the BYTE_ORDER macro. 16044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16045/* end confdefs.h. */ 16046#include <sys/types.h> 16047 #include <sys/param.h> 16048 16049int 16050main () 16051{ 16052#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 16053 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 16054 && LITTLE_ENDIAN) 16055 bogus endian macros 16056 #endif 16057 16058 ; 16059 return 0; 16060} 16061_ACEOF 16062if ac_fn_c_try_compile "$LINENO"; then : 16063 # It does; now see whether it defined to BIG_ENDIAN or not. 16064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16065/* end confdefs.h. */ 16066#include <sys/types.h> 16067 #include <sys/param.h> 16068 16069int 16070main () 16071{ 16072#if BYTE_ORDER != BIG_ENDIAN 16073 not big endian 16074 #endif 16075 16076 ; 16077 return 0; 16078} 16079_ACEOF 16080if ac_fn_c_try_compile "$LINENO"; then : 16081 ac_cv_c_bigendian=yes 16082else 16083 ac_cv_c_bigendian=no 16084fi 16085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16086fi 16087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16088 fi 16089 if test $ac_cv_c_bigendian = unknown; then 16090 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16092/* end confdefs.h. */ 16093#include <limits.h> 16094 16095int 16096main () 16097{ 16098#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 16099 bogus endian macros 16100 #endif 16101 16102 ; 16103 return 0; 16104} 16105_ACEOF 16106if ac_fn_c_try_compile "$LINENO"; then : 16107 # It does; now see whether it defined to _BIG_ENDIAN or not. 16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16109/* end confdefs.h. */ 16110#include <limits.h> 16111 16112int 16113main () 16114{ 16115#ifndef _BIG_ENDIAN 16116 not big endian 16117 #endif 16118 16119 ; 16120 return 0; 16121} 16122_ACEOF 16123if ac_fn_c_try_compile "$LINENO"; then : 16124 ac_cv_c_bigendian=yes 16125else 16126 ac_cv_c_bigendian=no 16127fi 16128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16129fi 16130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16131 fi 16132 if test $ac_cv_c_bigendian = unknown; then 16133 # Compile a test program. 16134 if test "$cross_compiling" = yes; then : 16135 # Try to guess by grepping values from an object file. 16136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16137/* end confdefs.h. */ 16138short int ascii_mm[] = 16139 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 16140 short int ascii_ii[] = 16141 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 16142 int use_ascii (int i) { 16143 return ascii_mm[i] + ascii_ii[i]; 16144 } 16145 short int ebcdic_ii[] = 16146 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 16147 short int ebcdic_mm[] = 16148 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 16149 int use_ebcdic (int i) { 16150 return ebcdic_mm[i] + ebcdic_ii[i]; 16151 } 16152 extern int foo; 16153 16154int 16155main () 16156{ 16157return use_ascii (foo) == use_ebcdic (foo); 16158 ; 16159 return 0; 16160} 16161_ACEOF 16162if ac_fn_c_try_compile "$LINENO"; then : 16163 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 16164 ac_cv_c_bigendian=yes 16165 fi 16166 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 16167 if test "$ac_cv_c_bigendian" = unknown; then 16168 ac_cv_c_bigendian=no 16169 else 16170 # finding both strings is unlikely to happen, but who knows? 16171 ac_cv_c_bigendian=unknown 16172 fi 16173 fi 16174fi 16175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16176else 16177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16178/* end confdefs.h. */ 16179$ac_includes_default 16180int 16181main () 16182{ 16183 16184 /* Are we little or big endian? From Harbison&Steele. */ 16185 union 16186 { 16187 long int l; 16188 char c[sizeof (long int)]; 16189 } u; 16190 u.l = 1; 16191 return u.c[sizeof (long int) - 1] == 1; 16192 16193 ; 16194 return 0; 16195} 16196_ACEOF 16197if ac_fn_c_try_run "$LINENO"; then : 16198 ac_cv_c_bigendian=no 16199else 16200 ac_cv_c_bigendian=yes 16201fi 16202rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 16203 conftest.$ac_objext conftest.beam conftest.$ac_ext 16204fi 16205 16206 fi 16207fi 16208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 16209$as_echo "$ac_cv_c_bigendian" >&6; } 16210 case $ac_cv_c_bigendian in #( 16211 yes) 16212 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 16213;; #( 16214 no) 16215 ;; #( 16216 universal) 16217 16218$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 16219 16220 ;; #( 16221 *) 16222 as_fn_error $? "unknown endianness 16223 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 16224 esac 16225 16226 if test x$cross_compiling = xyes; then 16227 CROSS_COMPILING_TRUE= 16228 CROSS_COMPILING_FALSE='#' 16229else 16230 CROSS_COMPILING_TRUE='#' 16231 CROSS_COMPILING_FALSE= 16232fi 16233 16234 16235# Building documentation requires doxygen, pdflatex, and makeindex. 16236for ac_prog in doxygen 16237do 16238 # Extract the first word of "$ac_prog", so it can be a program name with args. 16239set dummy $ac_prog; ac_word=$2 16240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16241$as_echo_n "checking for $ac_word... " >&6; } 16242if ${ac_cv_prog_DOXYGEN+:} false; then : 16243 $as_echo_n "(cached) " >&6 16244else 16245 if test -n "$DOXYGEN"; then 16246 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test. 16247else 16248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16249for as_dir in $PATH 16250do 16251 IFS=$as_save_IFS 16252 test -z "$as_dir" && as_dir=. 16253 for ac_exec_ext in '' $ac_executable_extensions; do 16254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16255 ac_cv_prog_DOXYGEN="$ac_prog" 16256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16257 break 2 16258 fi 16259done 16260 done 16261IFS=$as_save_IFS 16262 16263fi 16264fi 16265DOXYGEN=$ac_cv_prog_DOXYGEN 16266if test -n "$DOXYGEN"; then 16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 16268$as_echo "$DOXYGEN" >&6; } 16269else 16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16271$as_echo "no" >&6; } 16272fi 16273 16274 16275 test -n "$DOXYGEN" && break 16276done 16277 16278if test -z "$DOXYGEN"; then 16279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen not found - continuing without Doxygen support" >&5 16280$as_echo "$as_me: WARNING: Doxygen not found - continuing without Doxygen support" >&2;} 16281fi 16282 if test -n "$DOXYGEN"; then 16283 HAVE_DOXYGEN_TRUE= 16284 HAVE_DOXYGEN_FALSE='#' 16285else 16286 HAVE_DOXYGEN_TRUE='#' 16287 HAVE_DOXYGEN_FALSE= 16288fi 16289 16290if test -z "$HAVE_DOXYGEN_TRUE"; then : 16291 ac_config_files="$ac_config_files Doxyfile" 16292 16293fi 16294 16295for ac_prog in pdflatex 16296do 16297 # Extract the first word of "$ac_prog", so it can be a program name with args. 16298set dummy $ac_prog; ac_word=$2 16299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16300$as_echo_n "checking for $ac_word... " >&6; } 16301if ${ac_cv_prog_PDFLATEX+:} false; then : 16302 $as_echo_n "(cached) " >&6 16303else 16304 if test -n "$PDFLATEX"; then 16305 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test. 16306else 16307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16308for as_dir in $PATH 16309do 16310 IFS=$as_save_IFS 16311 test -z "$as_dir" && as_dir=. 16312 for ac_exec_ext in '' $ac_executable_extensions; do 16313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16314 ac_cv_prog_PDFLATEX="$ac_prog" 16315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16316 break 2 16317 fi 16318done 16319 done 16320IFS=$as_save_IFS 16321 16322fi 16323fi 16324PDFLATEX=$ac_cv_prog_PDFLATEX 16325if test -n "$PDFLATEX"; then 16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5 16327$as_echo "$PDFLATEX" >&6; } 16328else 16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16330$as_echo "no" >&6; } 16331fi 16332 16333 16334 test -n "$PDFLATEX" && break 16335done 16336 16337if test -z "$PDFLATEX"; then 16338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - unable to compile manual to PDF" >&5 16339$as_echo "$as_me: WARNING: pdflatex not found - unable to compile manual to PDF" >&2;} 16340fi 16341for ac_prog in makeindex 16342do 16343 # Extract the first word of "$ac_prog", so it can be a program name with args. 16344set dummy $ac_prog; ac_word=$2 16345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16346$as_echo_n "checking for $ac_word... " >&6; } 16347if ${ac_cv_prog_MAKEINDEX+:} false; then : 16348 $as_echo_n "(cached) " >&6 16349else 16350 if test -n "$MAKEINDEX"; then 16351 ac_cv_prog_MAKEINDEX="$MAKEINDEX" # Let the user override the test. 16352else 16353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16354for as_dir in $PATH 16355do 16356 IFS=$as_save_IFS 16357 test -z "$as_dir" && as_dir=. 16358 for ac_exec_ext in '' $ac_executable_extensions; do 16359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16360 ac_cv_prog_MAKEINDEX="$ac_prog" 16361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16362 break 2 16363 fi 16364done 16365 done 16366IFS=$as_save_IFS 16367 16368fi 16369fi 16370MAKEINDEX=$ac_cv_prog_MAKEINDEX 16371if test -n "$MAKEINDEX"; then 16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINDEX" >&5 16373$as_echo "$MAKEINDEX" >&6; } 16374else 16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16376$as_echo "no" >&6; } 16377fi 16378 16379 16380 test -n "$MAKEINDEX" && break 16381done 16382 16383if test -z "$MAKEINDEX"; then 16384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - unable to compile manual to PDF" >&5 16385$as_echo "$as_me: WARNING: makeindex not found - unable to compile manual to PDF" >&2;} 16386fi 16387 if test -n "$PDFLATEX" && test -n "$MAKEINDEX"; then 16388 HAVE_PDFLATEX_TRUE= 16389 HAVE_PDFLATEX_FALSE='#' 16390else 16391 HAVE_PDFLATEX_TRUE='#' 16392 HAVE_PDFLATEX_FALSE= 16393fi 16394 16395if test -z "$HAVE_PDFLATEX_TRUE"; then : 16396 ac_config_files="$ac_config_files doc/cudd.tex" 16397 16398fi 16399 16400# Checks for libraries. 16401#AC_CHECK_LIB([m],[pow]) 16402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5 16403$as_echo_n "checking for library containing pow... " >&6; } 16404if ${ac_cv_search_pow+:} false; then : 16405 $as_echo_n "(cached) " >&6 16406else 16407 ac_func_search_save_LIBS=$LIBS 16408cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16409/* end confdefs.h. */ 16410 16411/* Override any GCC internal prototype to avoid an error. 16412 Use char because int might match the return type of a GCC 16413 builtin and then its argument prototype would still apply. */ 16414#ifdef __cplusplus 16415extern "C" 16416#endif 16417char pow (); 16418int 16419main () 16420{ 16421return pow (); 16422 ; 16423 return 0; 16424} 16425_ACEOF 16426for ac_lib in '' m; do 16427 if test -z "$ac_lib"; then 16428 ac_res="none required" 16429 else 16430 ac_res=-l$ac_lib 16431 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16432 fi 16433 if ac_fn_c_try_link "$LINENO"; then : 16434 ac_cv_search_pow=$ac_res 16435fi 16436rm -f core conftest.err conftest.$ac_objext \ 16437 conftest$ac_exeext 16438 if ${ac_cv_search_pow+:} false; then : 16439 break 16440fi 16441done 16442if ${ac_cv_search_pow+:} false; then : 16443 16444else 16445 ac_cv_search_pow=no 16446fi 16447rm conftest.$ac_ext 16448LIBS=$ac_func_search_save_LIBS 16449fi 16450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5 16451$as_echo "$ac_cv_search_pow" >&6; } 16452ac_res=$ac_cv_search_pow 16453if test "$ac_res" != no; then : 16454 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16455 16456fi 16457 16458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 16459$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 16460if ${ac_cv_lib_pthread_pthread_create+:} false; then : 16461 $as_echo_n "(cached) " >&6 16462else 16463 ac_check_lib_save_LIBS=$LIBS 16464LIBS="-lpthread $LIBS" 16465cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16466/* end confdefs.h. */ 16467 16468/* Override any GCC internal prototype to avoid an error. 16469 Use char because int might match the return type of a GCC 16470 builtin and then its argument prototype would still apply. */ 16471#ifdef __cplusplus 16472extern "C" 16473#endif 16474char pthread_create (); 16475int 16476main () 16477{ 16478return pthread_create (); 16479 ; 16480 return 0; 16481} 16482_ACEOF 16483if ac_fn_c_try_link "$LINENO"; then : 16484 ac_cv_lib_pthread_pthread_create=yes 16485else 16486 ac_cv_lib_pthread_pthread_create=no 16487fi 16488rm -f core conftest.err conftest.$ac_objext \ 16489 conftest$ac_exeext conftest.$ac_ext 16490LIBS=$ac_check_lib_save_LIBS 16491fi 16492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 16493$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 16494if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 16495 have_pthreads=yes 16496else 16497 have_pthreads=no 16498fi 16499 16500 if test x$have_pthreads = xyes; then 16501 HAVE_PTHREADS_TRUE= 16502 HAVE_PTHREADS_FALSE='#' 16503else 16504 HAVE_PTHREADS_TRUE='#' 16505 HAVE_PTHREADS_FALSE= 16506fi 16507 16508# Check for Windows API functions. 16509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing WSAStartup" >&5 16510$as_echo_n "checking for library containing WSAStartup... " >&6; } 16511if ${ac_cv_search_WSAStartup+:} false; then : 16512 $as_echo_n "(cached) " >&6 16513else 16514 ac_func_search_save_LIBS=$LIBS 16515cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16516/* end confdefs.h. */ 16517 16518/* Override any GCC internal prototype to avoid an error. 16519 Use char because int might match the return type of a GCC 16520 builtin and then its argument prototype would still apply. */ 16521#ifdef __cplusplus 16522extern "C" 16523#endif 16524char WSAStartup (); 16525int 16526main () 16527{ 16528return WSAStartup (); 16529 ; 16530 return 0; 16531} 16532_ACEOF 16533for ac_lib in '' ws2_32; do 16534 if test -z "$ac_lib"; then 16535 ac_res="none required" 16536 else 16537 ac_res=-l$ac_lib 16538 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16539 fi 16540 if ac_fn_c_try_link "$LINENO"; then : 16541 ac_cv_search_WSAStartup=$ac_res 16542fi 16543rm -f core conftest.err conftest.$ac_objext \ 16544 conftest$ac_exeext 16545 if ${ac_cv_search_WSAStartup+:} false; then : 16546 break 16547fi 16548done 16549if ${ac_cv_search_WSAStartup+:} false; then : 16550 16551else 16552 ac_cv_search_WSAStartup=no 16553fi 16554rm conftest.$ac_ext 16555LIBS=$ac_func_search_save_LIBS 16556fi 16557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_WSAStartup" >&5 16558$as_echo "$ac_cv_search_WSAStartup" >&6; } 16559ac_res=$ac_cv_search_WSAStartup 16560if test "$ac_res" != no; then : 16561 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16562 16563fi 16564 16565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GetProcessMemoryInfo" >&5 16566$as_echo_n "checking for library containing GetProcessMemoryInfo... " >&6; } 16567if ${ac_cv_search_GetProcessMemoryInfo+:} false; then : 16568 $as_echo_n "(cached) " >&6 16569else 16570 ac_func_search_save_LIBS=$LIBS 16571cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16572/* end confdefs.h. */ 16573 16574/* Override any GCC internal prototype to avoid an error. 16575 Use char because int might match the return type of a GCC 16576 builtin and then its argument prototype would still apply. */ 16577#ifdef __cplusplus 16578extern "C" 16579#endif 16580char GetProcessMemoryInfo (); 16581int 16582main () 16583{ 16584return GetProcessMemoryInfo (); 16585 ; 16586 return 0; 16587} 16588_ACEOF 16589for ac_lib in '' psapi; do 16590 if test -z "$ac_lib"; then 16591 ac_res="none required" 16592 else 16593 ac_res=-l$ac_lib 16594 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16595 fi 16596 if ac_fn_c_try_link "$LINENO"; then : 16597 ac_cv_search_GetProcessMemoryInfo=$ac_res 16598fi 16599rm -f core conftest.err conftest.$ac_objext \ 16600 conftest$ac_exeext 16601 if ${ac_cv_search_GetProcessMemoryInfo+:} false; then : 16602 break 16603fi 16604done 16605if ${ac_cv_search_GetProcessMemoryInfo+:} false; then : 16606 16607else 16608 ac_cv_search_GetProcessMemoryInfo=no 16609fi 16610rm conftest.$ac_ext 16611LIBS=$ac_func_search_save_LIBS 16612fi 16613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GetProcessMemoryInfo" >&5 16614$as_echo "$ac_cv_search_GetProcessMemoryInfo" >&6; } 16615ac_res=$ac_cv_search_GetProcessMemoryInfo 16616if test "$ac_res" != no; then : 16617 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16618 16619fi 16620 16621 16622# Checks for header files. 16623# First check for mandatory headers... 16624for ac_header in float.h inttypes.h limits.h stddef.h stdlib.h string.h assert.h math.h 16625do : 16626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16627ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 16628if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16629 cat >>confdefs.h <<_ACEOF 16630#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16631_ACEOF 16632 16633else 16634 have_mandatory_headers=no 16635fi 16636 16637done 16638 16639if test "x${have_mandatory_headers}" = xno; then 16640 as_fn_error $? "One or more mandatory headers missing. Check 'config.log'." "$LINENO" 5 16641fi 16642# ...then check for optional C headers. 16643for ac_header in unistd.h sys/time.h sys/times.h sys/resource.h sys/wait.h 16644do : 16645 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16646ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 16647if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16648 cat >>confdefs.h <<_ACEOF 16649#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16650_ACEOF 16651 16652fi 16653 16654done 16655 16656# Finally, check C++ optional headers. 16657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C++ thread header" >&5 16658$as_echo_n "checking for working C++ thread header... " >&6; } 16659ac_ext=cpp 16660ac_cpp='$CXXCPP $CPPFLAGS' 16661ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16662ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16663ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 16664 16665cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16666/* end confdefs.h. */ 16667#include <thread> 16668int 16669main () 16670{ 16671 std::thread([] {}).join() 16672 ; 16673 return 0; 16674} 16675_ACEOF 16676if ac_fn_cxx_try_compile "$LINENO"; then : 16677 have_working_thread=yes 16678else 16679 have_working_thread=no 16680fi 16681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16682ac_ext=c 16683ac_cpp='$CPP $CPPFLAGS' 16684ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16685ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16686ac_compiler_gnu=$ac_cv_c_compiler_gnu 16687 16688if test x$have_working_thread = xyes ; then 16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16690$as_echo "yes" >&6; } 16691 16692$as_echo "#define HAVE_WORKING_THREAD 1" >>confdefs.h 16693 16694else 16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16696$as_echo "no" >&6; } 16697fi 16698 16699# Checks for typedefs, structures, and compiler characteristics. 16700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 16701$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 16702if ${ac_cv_header_stdbool_h+:} false; then : 16703 $as_echo_n "(cached) " >&6 16704else 16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16706/* end confdefs.h. */ 16707 16708 #include <stdbool.h> 16709 #ifndef bool 16710 "error: bool is not defined" 16711 #endif 16712 #ifndef false 16713 "error: false is not defined" 16714 #endif 16715 #if false 16716 "error: false is not 0" 16717 #endif 16718 #ifndef true 16719 "error: true is not defined" 16720 #endif 16721 #if true != 1 16722 "error: true is not 1" 16723 #endif 16724 #ifndef __bool_true_false_are_defined 16725 "error: __bool_true_false_are_defined is not defined" 16726 #endif 16727 16728 struct s { _Bool s: 1; _Bool t; } s; 16729 16730 char a[true == 1 ? 1 : -1]; 16731 char b[false == 0 ? 1 : -1]; 16732 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 16733 char d[(bool) 0.5 == true ? 1 : -1]; 16734 /* See body of main program for 'e'. */ 16735 char f[(_Bool) 0.0 == false ? 1 : -1]; 16736 char g[true]; 16737 char h[sizeof (_Bool)]; 16738 char i[sizeof s.t]; 16739 enum { j = false, k = true, l = false * true, m = true * 256 }; 16740 /* The following fails for 16741 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 16742 _Bool n[m]; 16743 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 16744 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 16745 /* Catch a bug in an HP-UX C compiler. See 16746 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 16747 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 16748 */ 16749 _Bool q = true; 16750 _Bool *pq = &q; 16751 16752int 16753main () 16754{ 16755 16756 bool e = &s; 16757 *pq |= q; 16758 *pq |= ! q; 16759 /* Refer to every declared value, to avoid compiler optimizations. */ 16760 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 16761 + !m + !n + !o + !p + !q + !pq); 16762 16763 ; 16764 return 0; 16765} 16766_ACEOF 16767if ac_fn_c_try_compile "$LINENO"; then : 16768 ac_cv_header_stdbool_h=yes 16769else 16770 ac_cv_header_stdbool_h=no 16771fi 16772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16773fi 16774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 16775$as_echo "$ac_cv_header_stdbool_h" >&6; } 16776 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 16777if test "x$ac_cv_type__Bool" = xyes; then : 16778 16779cat >>confdefs.h <<_ACEOF 16780#define HAVE__BOOL 1 16781_ACEOF 16782 16783 16784fi 16785 16786 16787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 16788$as_echo_n "checking for inline... " >&6; } 16789if ${ac_cv_c_inline+:} false; then : 16790 $as_echo_n "(cached) " >&6 16791else 16792 ac_cv_c_inline=no 16793for ac_kw in inline __inline__ __inline; do 16794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16795/* end confdefs.h. */ 16796#ifndef __cplusplus 16797typedef int foo_t; 16798static $ac_kw foo_t static_foo () {return 0; } 16799$ac_kw foo_t foo () {return 0; } 16800#endif 16801 16802_ACEOF 16803if ac_fn_c_try_compile "$LINENO"; then : 16804 ac_cv_c_inline=$ac_kw 16805fi 16806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16807 test "$ac_cv_c_inline" != no && break 16808done 16809 16810fi 16811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 16812$as_echo "$ac_cv_c_inline" >&6; } 16813 16814case $ac_cv_c_inline in 16815 inline | yes) ;; 16816 *) 16817 case $ac_cv_c_inline in 16818 no) ac_val=;; 16819 *) ac_val=$ac_cv_c_inline;; 16820 esac 16821 cat >>confdefs.h <<_ACEOF 16822#ifndef __cplusplus 16823#define inline $ac_val 16824#endif 16825_ACEOF 16826 ;; 16827esac 16828 16829ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 16830if test "x$ac_cv_type_size_t" = xyes; then : 16831 16832else 16833 16834cat >>confdefs.h <<_ACEOF 16835#define size_t unsigned int 16836_ACEOF 16837 16838fi 16839 16840ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" 16841case $ac_cv_c_uint16_t in #( 16842 no|yes) ;; #( 16843 *) 16844 16845 16846cat >>confdefs.h <<_ACEOF 16847#define uint16_t $ac_cv_c_uint16_t 16848_ACEOF 16849;; 16850 esac 16851 16852ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" 16853case $ac_cv_c_uint32_t in #( 16854 no|yes) ;; #( 16855 *) 16856 16857$as_echo "#define _UINT32_T 1" >>confdefs.h 16858 16859 16860cat >>confdefs.h <<_ACEOF 16861#define uint32_t $ac_cv_c_uint32_t 16862_ACEOF 16863;; 16864 esac 16865 16866ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" 16867if test "x$ac_cv_type_ptrdiff_t" = xyes; then : 16868 16869cat >>confdefs.h <<_ACEOF 16870#define HAVE_PTRDIFF_T 1 16871_ACEOF 16872 16873 16874fi 16875 16876# The cast to long int works around a bug in the HP C Compiler 16877# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16878# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16879# This bug is HP SR number 8606223364. 16880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 16881$as_echo_n "checking size of int... " >&6; } 16882if ${ac_cv_sizeof_int+:} false; then : 16883 $as_echo_n "(cached) " >&6 16884else 16885 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 16886 16887else 16888 if test "$ac_cv_type_int" = yes; then 16889 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16890$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16891as_fn_error 77 "cannot compute sizeof (int) 16892See \`config.log' for more details" "$LINENO" 5; } 16893 else 16894 ac_cv_sizeof_int=0 16895 fi 16896fi 16897 16898fi 16899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 16900$as_echo "$ac_cv_sizeof_int" >&6; } 16901 16902 16903 16904cat >>confdefs.h <<_ACEOF 16905#define SIZEOF_INT $ac_cv_sizeof_int 16906_ACEOF 16907 16908 16909# The cast to long int works around a bug in the HP C Compiler 16910# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16911# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16912# This bug is HP SR number 8606223364. 16913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 16914$as_echo_n "checking size of long... " >&6; } 16915if ${ac_cv_sizeof_long+:} false; then : 16916 $as_echo_n "(cached) " >&6 16917else 16918 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 16919 16920else 16921 if test "$ac_cv_type_long" = yes; then 16922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16923$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16924as_fn_error 77 "cannot compute sizeof (long) 16925See \`config.log' for more details" "$LINENO" 5; } 16926 else 16927 ac_cv_sizeof_long=0 16928 fi 16929fi 16930 16931fi 16932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 16933$as_echo "$ac_cv_sizeof_long" >&6; } 16934 16935 16936 16937cat >>confdefs.h <<_ACEOF 16938#define SIZEOF_LONG $ac_cv_sizeof_long 16939_ACEOF 16940 16941 16942# The cast to long int works around a bug in the HP C Compiler 16943# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16944# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16945# This bug is HP SR number 8606223364. 16946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 16947$as_echo_n "checking size of void *... " >&6; } 16948if ${ac_cv_sizeof_void_p+:} false; then : 16949 $as_echo_n "(cached) " >&6 16950else 16951 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 16952 16953else 16954 if test "$ac_cv_type_void_p" = yes; then 16955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16956$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16957as_fn_error 77 "cannot compute sizeof (void *) 16958See \`config.log' for more details" "$LINENO" 5; } 16959 else 16960 ac_cv_sizeof_void_p=0 16961 fi 16962fi 16963 16964fi 16965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 16966$as_echo "$ac_cv_sizeof_void_p" >&6; } 16967 16968 16969 16970cat >>confdefs.h <<_ACEOF 16971#define SIZEOF_VOID_P $ac_cv_sizeof_void_p 16972_ACEOF 16973 16974 16975# The cast to long int works around a bug in the HP C Compiler 16976# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16977# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16978# This bug is HP SR number 8606223364. 16979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5 16980$as_echo_n "checking size of long double... " >&6; } 16981if ${ac_cv_sizeof_long_double+:} false; then : 16982 $as_echo_n "(cached) " >&6 16983else 16984 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then : 16985 16986else 16987 if test "$ac_cv_type_long_double" = yes; then 16988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16989$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16990as_fn_error 77 "cannot compute sizeof (long double) 16991See \`config.log' for more details" "$LINENO" 5; } 16992 else 16993 ac_cv_sizeof_long_double=0 16994 fi 16995fi 16996 16997fi 16998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5 16999$as_echo "$ac_cv_sizeof_long_double" >&6; } 17000 17001 17002 17003cat >>confdefs.h <<_ACEOF 17004#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double 17005_ACEOF 17006 17007 17008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are building for a Win32 host" >&5 17009$as_echo_n "checking whether we are building for a Win32 host... " >&6; } 17010if ${mingw_cv_win32_host+:} false; then : 17011 $as_echo_n "(cached) " >&6 17012else 17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17014/* end confdefs.h. */ 17015 17016#ifdef _WIN32 17017 choke me 17018#endif 17019_ACEOF 17020if ac_fn_c_try_compile "$LINENO"; then : 17021 mingw_cv_win32_host=no 17022else 17023 mingw_cv_win32_host=yes 17024fi 17025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17026fi 17027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mingw_cv_win32_host" >&5 17028$as_echo "$mingw_cv_win32_host" >&6; } 17029 if test x$mingw_cv_win32_host = xyes; then 17030 MINGW64_TRUE= 17031 MINGW64_FALSE='#' 17032else 17033 MINGW64_TRUE='#' 17034 MINGW64_FALSE= 17035fi 17036 17037if test x$mingw_cv_win32_host = xyes ; then 17038 17039$as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h 17040 17041fi 17042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether enough of C++11 is supported" >&5 17043$as_echo_n "checking whether enough of C++11 is supported... " >&6; } 17044if ${ac_cv_have_modern_cxx+:} false; then : 17045 $as_echo_n "(cached) " >&6 17046else 17047 ac_ext=cpp 17048ac_cpp='$CXXCPP $CPPFLAGS' 17049ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17050ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17051ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17052 17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17054/* end confdefs.h. */ 17055 17056class Myclass { explicit operator bool() const { return true; } }; 17057int main() { 17058 void *p = nullptr; 17059} 17060_ACEOF 17061if ac_fn_cxx_try_compile "$LINENO"; then : 17062 ac_cv_have_modern_cxx=yes 17063else 17064 ac_cv_have_modern_cxx=no 17065fi 17066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17067 ac_ext=c 17068ac_cpp='$CPP $CPPFLAGS' 17069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17071ac_compiler_gnu=$ac_cv_c_compiler_gnu 17072 17073fi 17074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_modern_cxx" >&5 17075$as_echo "$ac_cv_have_modern_cxx" >&6; } 17076if test x$ac_cv_have_modern_cxx = xyes ; then 17077 17078$as_echo "#define HAVE_MODERN_CXX 1" >>confdefs.h 17079 17080fi 17081 17082# Checks for library functions. 17083# First the mandatory functions... 17084for ac_func in pow sqrt strchr strstr 17085do : 17086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17087ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17088if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 17089 cat >>confdefs.h <<_ACEOF 17090#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17091_ACEOF 17092 17093else 17094 have_mandatory_functions=no 17095fi 17096done 17097 17098if test "x${have_mandatory_functions}" = xno; then 17099 as_fn_error $? "One or more mandatory functions missing. Check 'config.log'." "$LINENO" 5 17100fi 17101# ...then check for optional functions. 17102for ac_func in powl gethostname getrlimit getrusage sysconf 17103do : 17104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17105ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17106if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 17107 cat >>confdefs.h <<_ACEOF 17108#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17109_ACEOF 17110 17111fi 17112done 17113 17114 17115# Check for a working implementation of IEEE 754 floating point 17116# Specifically, check for correct treatment of +Infinity 17117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for +Infinity (IEEE 754 floating point)" >&5 17118$as_echo_n "checking for +Infinity (IEEE 754 floating point)... " >&6; } 17119if ${ac_cv_have_ieee_754+:} false; then : 17120 $as_echo_n "(cached) " >&6 17121else 17122 if test "$cross_compiling" = yes; then : 17123 ac_cv_have_ieee_754=maybe 17124else 17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17126/* end confdefs.h. */ 17127 17128#include <math.h> 17129main(void) 17130{ 17131 if (HUGE_VAL != HUGE_VAL * 3 || HUGE_VAL != HUGE_VAL / 3) return 1; 17132 return 0; 17133} 17134 17135_ACEOF 17136if ac_fn_c_try_run "$LINENO"; then : 17137 ac_cv_have_ieee_754=yes 17138else 17139 ac_cv_have_ieee_754=no 17140fi 17141rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17142 conftest.$ac_objext conftest.beam conftest.$ac_ext 17143fi 17144 17145fi 17146 17147if test x$ac_cv_have_ieee_754 = xmaybe ; then 17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17149/* end confdefs.h. */ 17150#include <math.h> 17151int 17152main () 17153{ 17154 double x = INFINITY 17155 ; 17156 return 0; 17157} 17158_ACEOF 17159if ac_fn_c_try_compile "$LINENO"; then : 17160 ac_cv_have_ieee_754=yes 17161else 17162 ac_cv_have_ieee_754=no 17163fi 17164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17165fi 17166if test x$ac_cv_have_ieee_754 = xyes ; then 17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17168$as_echo "yes" >&6; } 17169 17170$as_echo "#define HAVE_IEEE_754 1" >>confdefs.h 17171 17172else 17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17174$as_echo "no" >&6; } 17175fi 17176 17177 17178ac_config_files="$ac_config_files Makefile" 17179 17180ac_config_files="$ac_config_files dddmp/exp/test1.sh" 17181 17182ac_config_files="$ac_config_files dddmp/exp/test2.sh" 17183 17184ac_config_files="$ac_config_files dddmp/exp/test3.sh" 17185 17186ac_config_files="$ac_config_files dddmp/exp/test4.sh" 17187 17188ac_config_files="$ac_config_files dddmp/exp/test5.sh" 17189 17190ac_config_files="$ac_config_files dddmp/exp/test6.sh" 17191 17192ac_config_files="$ac_config_files dddmp/exp/test7.sh" 17193 17194 17195cat >confcache <<\_ACEOF 17196# This file is a shell script that caches the results of configure 17197# tests run on this system so they can be shared between configure 17198# scripts and configure runs, see configure's option --config-cache. 17199# It is not useful on other systems. If it contains results you don't 17200# want to keep, you may remove or edit it. 17201# 17202# config.status only pays attention to the cache file if you give it 17203# the --recheck option to rerun configure. 17204# 17205# `ac_cv_env_foo' variables (set or unset) will be overridden when 17206# loading this file, other *unset* `ac_cv_foo' will be assigned the 17207# following values. 17208 17209_ACEOF 17210 17211# The following way of writing the cache mishandles newlines in values, 17212# but we know of no workaround that is simple, portable, and efficient. 17213# So, we kill variables containing newlines. 17214# Ultrix sh set writes to stderr and can't be redirected directly, 17215# and sets the high bit in the cache file unless we assign to the vars. 17216( 17217 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17218 eval ac_val=\$$ac_var 17219 case $ac_val in #( 17220 *${as_nl}*) 17221 case $ac_var in #( 17222 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17223$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17224 esac 17225 case $ac_var in #( 17226 _ | IFS | as_nl) ;; #( 17227 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17228 *) { eval $ac_var=; unset $ac_var;} ;; 17229 esac ;; 17230 esac 17231 done 17232 17233 (set) 2>&1 | 17234 case $as_nl`(ac_space=' '; set) 2>&1` in #( 17235 *${as_nl}ac_space=\ *) 17236 # `set' does not quote correctly, so add quotes: double-quote 17237 # substitution turns \\\\ into \\, and sed turns \\ into \. 17238 sed -n \ 17239 "s/'/'\\\\''/g; 17240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 17241 ;; #( 17242 *) 17243 # `set' quotes correctly as required by POSIX, so do not add quotes. 17244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17245 ;; 17246 esac | 17247 sort 17248) | 17249 sed ' 17250 /^ac_cv_env_/b end 17251 t clear 17252 :clear 17253 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 17254 t end 17255 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17256 :end' >>confcache 17257if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17258 if test -w "$cache_file"; then 17259 if test "x$cache_file" != "x/dev/null"; then 17260 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17261$as_echo "$as_me: updating cache $cache_file" >&6;} 17262 if test ! -f "$cache_file" || test -h "$cache_file"; then 17263 cat confcache >"$cache_file" 17264 else 17265 case $cache_file in #( 17266 */* | ?:*) 17267 mv -f confcache "$cache_file"$$ && 17268 mv -f "$cache_file"$$ "$cache_file" ;; #( 17269 *) 17270 mv -f confcache "$cache_file" ;; 17271 esac 17272 fi 17273 fi 17274 else 17275 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17276$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 17277 fi 17278fi 17279rm -f confcache 17280 17281test "x$prefix" = xNONE && prefix=$ac_default_prefix 17282# Let make expand exec_prefix. 17283test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17284 17285DEFS=-DHAVE_CONFIG_H 17286 17287ac_libobjs= 17288ac_ltlibobjs= 17289U= 17290for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17291 # 1. Remove the extension, and $U if already installed. 17292 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17293 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 17294 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17295 # will be set to the directory where LIBOBJS objects are built. 17296 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17297 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 17298done 17299LIBOBJS=$ac_libobjs 17300 17301LTLIBOBJS=$ac_ltlibobjs 17302 17303 17304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 17305$as_echo_n "checking that generated files are newer than configure... " >&6; } 17306 if test -n "$am_sleep_pid"; then 17307 # Hide warnings about reused PIDs. 17308 wait $am_sleep_pid 2>/dev/null 17309 fi 17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 17311$as_echo "done" >&6; } 17312 if test -n "$EXEEXT"; then 17313 am__EXEEXT_TRUE= 17314 am__EXEEXT_FALSE='#' 17315else 17316 am__EXEEXT_TRUE='#' 17317 am__EXEEXT_FALSE= 17318fi 17319 17320if test -z "${DDDMP_TRUE}" && test -z "${DDDMP_FALSE}"; then 17321 as_fn_error $? "conditional \"DDDMP\" was never defined. 17322Usually this means the macro was only invoked conditionally." "$LINENO" 5 17323fi 17324if test -z "${OBJ_TRUE}" && test -z "${OBJ_FALSE}"; then 17325 as_fn_error $? "conditional \"OBJ\" was never defined. 17326Usually this means the macro was only invoked conditionally." "$LINENO" 5 17327fi 17328if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17329 as_fn_error $? "conditional \"AMDEP\" was never defined. 17330Usually this means the macro was only invoked conditionally." "$LINENO" 5 17331fi 17332if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17333 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17334Usually this means the macro was only invoked conditionally." "$LINENO" 5 17335fi 17336if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 17337 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 17338Usually this means the macro was only invoked conditionally." "$LINENO" 5 17339fi 17340 17341if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then 17342 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined. 17343Usually this means the macro was only invoked conditionally." "$LINENO" 5 17344fi 17345if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then 17346 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined. 17347Usually this means the macro was only invoked conditionally." "$LINENO" 5 17348fi 17349if test -z "${HAVE_PDFLATEX_TRUE}" && test -z "${HAVE_PDFLATEX_FALSE}"; then 17350 as_fn_error $? "conditional \"HAVE_PDFLATEX\" was never defined. 17351Usually this means the macro was only invoked conditionally." "$LINENO" 5 17352fi 17353if test -z "${HAVE_PTHREADS_TRUE}" && test -z "${HAVE_PTHREADS_FALSE}"; then 17354 as_fn_error $? "conditional \"HAVE_PTHREADS\" was never defined. 17355Usually this means the macro was only invoked conditionally." "$LINENO" 5 17356fi 17357if test -z "${MINGW64_TRUE}" && test -z "${MINGW64_FALSE}"; then 17358 as_fn_error $? "conditional \"MINGW64\" was never defined. 17359Usually this means the macro was only invoked conditionally." "$LINENO" 5 17360fi 17361 17362: "${CONFIG_STATUS=./config.status}" 17363ac_write_fail=0 17364ac_clean_files_save=$ac_clean_files 17365ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17366{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17367$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17368as_write_fail=0 17369cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17370#! $SHELL 17371# Generated by $as_me. 17372# Run this file to recreate the current configuration. 17373# Compiler output produced by configure, useful for debugging 17374# configure, is in config.log if it exists. 17375 17376debug=false 17377ac_cs_recheck=false 17378ac_cs_silent=false 17379 17380SHELL=\${CONFIG_SHELL-$SHELL} 17381export SHELL 17382_ASEOF 17383cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 17384## -------------------- ## 17385## M4sh Initialization. ## 17386## -------------------- ## 17387 17388# Be more Bourne compatible 17389DUALCASE=1; export DUALCASE # for MKS sh 17390if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 17391 emulate sh 17392 NULLCMD=: 17393 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17394 # is contrary to our usage. Disable this feature. 17395 alias -g '${1+"$@"}'='"$@"' 17396 setopt NO_GLOB_SUBST 17397else 17398 case `(set -o) 2>/dev/null` in #( 17399 *posix*) : 17400 set -o posix ;; #( 17401 *) : 17402 ;; 17403esac 17404fi 17405 17406 17407as_nl=' 17408' 17409export as_nl 17410# Printing a long string crashes Solaris 7 /usr/bin/printf. 17411as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17412as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17413as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17414# Prefer a ksh shell builtin over an external printf program on Solaris, 17415# but without wasting forks for bash or zsh. 17416if test -z "$BASH_VERSION$ZSH_VERSION" \ 17417 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17418 as_echo='print -r --' 17419 as_echo_n='print -rn --' 17420elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17421 as_echo='printf %s\n' 17422 as_echo_n='printf %s' 17423else 17424 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17425 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17426 as_echo_n='/usr/ucb/echo -n' 17427 else 17428 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17429 as_echo_n_body='eval 17430 arg=$1; 17431 case $arg in #( 17432 *"$as_nl"*) 17433 expr "X$arg" : "X\\(.*\\)$as_nl"; 17434 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17435 esac; 17436 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17437 ' 17438 export as_echo_n_body 17439 as_echo_n='sh -c $as_echo_n_body as_echo' 17440 fi 17441 export as_echo_body 17442 as_echo='sh -c $as_echo_body as_echo' 17443fi 17444 17445# The user is always right. 17446if test "${PATH_SEPARATOR+set}" != set; then 17447 PATH_SEPARATOR=: 17448 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17449 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 17450 PATH_SEPARATOR=';' 17451 } 17452fi 17453 17454 17455# IFS 17456# We need space, tab and new line, in precisely that order. Quoting is 17457# there to prevent editors from complaining about space-tab. 17458# (If _AS_PATH_WALK were called with IFS unset, it would disable word 17459# splitting by setting IFS to empty value.) 17460IFS=" "" $as_nl" 17461 17462# Find who we are. Look in the path if we contain no directory separator. 17463as_myself= 17464case $0 in #(( 17465 *[\\/]* ) as_myself=$0 ;; 17466 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17467for as_dir in $PATH 17468do 17469 IFS=$as_save_IFS 17470 test -z "$as_dir" && as_dir=. 17471 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17472 done 17473IFS=$as_save_IFS 17474 17475 ;; 17476esac 17477# We did not find ourselves, most probably we were run as `sh COMMAND' 17478# in which case we are not to be found in the path. 17479if test "x$as_myself" = x; then 17480 as_myself=$0 17481fi 17482if test ! -f "$as_myself"; then 17483 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17484 exit 1 17485fi 17486 17487# Unset variables that we do not need and which cause bugs (e.g. in 17488# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17489# suppresses any "Segmentation fault" message there. '((' could 17490# trigger a bug in pdksh 5.2.14. 17491for as_var in BASH_ENV ENV MAIL MAILPATH 17492do eval test x\${$as_var+set} = xset \ 17493 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17494done 17495PS1='$ ' 17496PS2='> ' 17497PS4='+ ' 17498 17499# NLS nuisances. 17500LC_ALL=C 17501export LC_ALL 17502LANGUAGE=C 17503export LANGUAGE 17504 17505# CDPATH. 17506(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17507 17508 17509# as_fn_error STATUS ERROR [LINENO LOG_FD] 17510# ---------------------------------------- 17511# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 17512# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 17513# script with STATUS, using 1 if that was 0. 17514as_fn_error () 17515{ 17516 as_status=$1; test $as_status -eq 0 && as_status=1 17517 if test "$4"; then 17518 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17519 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 17520 fi 17521 $as_echo "$as_me: error: $2" >&2 17522 as_fn_exit $as_status 17523} # as_fn_error 17524 17525 17526# as_fn_set_status STATUS 17527# ----------------------- 17528# Set $? to STATUS, without forking. 17529as_fn_set_status () 17530{ 17531 return $1 17532} # as_fn_set_status 17533 17534# as_fn_exit STATUS 17535# ----------------- 17536# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 17537as_fn_exit () 17538{ 17539 set +e 17540 as_fn_set_status $1 17541 exit $1 17542} # as_fn_exit 17543 17544# as_fn_unset VAR 17545# --------------- 17546# Portably unset VAR. 17547as_fn_unset () 17548{ 17549 { eval $1=; unset $1;} 17550} 17551as_unset=as_fn_unset 17552# as_fn_append VAR VALUE 17553# ---------------------- 17554# Append the text in VALUE to the end of the definition contained in VAR. Take 17555# advantage of any shell optimizations that allow amortized linear growth over 17556# repeated appends, instead of the typical quadratic growth present in naive 17557# implementations. 17558if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 17559 eval 'as_fn_append () 17560 { 17561 eval $1+=\$2 17562 }' 17563else 17564 as_fn_append () 17565 { 17566 eval $1=\$$1\$2 17567 } 17568fi # as_fn_append 17569 17570# as_fn_arith ARG... 17571# ------------------ 17572# Perform arithmetic evaluation on the ARGs, and store the result in the 17573# global $as_val. Take advantage of shells that can avoid forks. The arguments 17574# must be portable across $(()) and expr. 17575if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 17576 eval 'as_fn_arith () 17577 { 17578 as_val=$(( $* )) 17579 }' 17580else 17581 as_fn_arith () 17582 { 17583 as_val=`expr "$@" || test $? -eq 1` 17584 } 17585fi # as_fn_arith 17586 17587 17588if expr a : '\(a\)' >/dev/null 2>&1 && 17589 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17590 as_expr=expr 17591else 17592 as_expr=false 17593fi 17594 17595if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 17596 as_basename=basename 17597else 17598 as_basename=false 17599fi 17600 17601if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17602 as_dirname=dirname 17603else 17604 as_dirname=false 17605fi 17606 17607as_me=`$as_basename -- "$0" || 17608$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 17609 X"$0" : 'X\(//\)$' \| \ 17610 X"$0" : 'X\(/\)' \| . 2>/dev/null || 17611$as_echo X/"$0" | 17612 sed '/^.*\/\([^/][^/]*\)\/*$/{ 17613 s//\1/ 17614 q 17615 } 17616 /^X\/\(\/\/\)$/{ 17617 s//\1/ 17618 q 17619 } 17620 /^X\/\(\/\).*/{ 17621 s//\1/ 17622 q 17623 } 17624 s/.*/./; q'` 17625 17626# Avoid depending upon Character Ranges. 17627as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17628as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17629as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17630as_cr_digits='0123456789' 17631as_cr_alnum=$as_cr_Letters$as_cr_digits 17632 17633ECHO_C= ECHO_N= ECHO_T= 17634case `echo -n x` in #((((( 17635-n*) 17636 case `echo 'xy\c'` in 17637 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 17638 xy) ECHO_C='\c';; 17639 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 17640 ECHO_T=' ';; 17641 esac;; 17642*) 17643 ECHO_N='-n';; 17644esac 17645 17646rm -f conf$$ conf$$.exe conf$$.file 17647if test -d conf$$.dir; then 17648 rm -f conf$$.dir/conf$$.file 17649else 17650 rm -f conf$$.dir 17651 mkdir conf$$.dir 2>/dev/null 17652fi 17653if (echo >conf$$.file) 2>/dev/null; then 17654 if ln -s conf$$.file conf$$ 2>/dev/null; then 17655 as_ln_s='ln -s' 17656 # ... but there are two gotchas: 17657 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 17658 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 17659 # In both cases, we have to default to `cp -pR'. 17660 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 17661 as_ln_s='cp -pR' 17662 elif ln conf$$.file conf$$ 2>/dev/null; then 17663 as_ln_s=ln 17664 else 17665 as_ln_s='cp -pR' 17666 fi 17667else 17668 as_ln_s='cp -pR' 17669fi 17670rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 17671rmdir conf$$.dir 2>/dev/null 17672 17673 17674# as_fn_mkdir_p 17675# ------------- 17676# Create "$as_dir" as a directory, including parents if necessary. 17677as_fn_mkdir_p () 17678{ 17679 17680 case $as_dir in #( 17681 -*) as_dir=./$as_dir;; 17682 esac 17683 test -d "$as_dir" || eval $as_mkdir_p || { 17684 as_dirs= 17685 while :; do 17686 case $as_dir in #( 17687 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17688 *) as_qdir=$as_dir;; 17689 esac 17690 as_dirs="'$as_qdir' $as_dirs" 17691 as_dir=`$as_dirname -- "$as_dir" || 17692$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17693 X"$as_dir" : 'X\(//\)[^/]' \| \ 17694 X"$as_dir" : 'X\(//\)$' \| \ 17695 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17696$as_echo X"$as_dir" | 17697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17698 s//\1/ 17699 q 17700 } 17701 /^X\(\/\/\)[^/].*/{ 17702 s//\1/ 17703 q 17704 } 17705 /^X\(\/\/\)$/{ 17706 s//\1/ 17707 q 17708 } 17709 /^X\(\/\).*/{ 17710 s//\1/ 17711 q 17712 } 17713 s/.*/./; q'` 17714 test -d "$as_dir" && break 17715 done 17716 test -z "$as_dirs" || eval "mkdir $as_dirs" 17717 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17718 17719 17720} # as_fn_mkdir_p 17721if mkdir -p . 2>/dev/null; then 17722 as_mkdir_p='mkdir -p "$as_dir"' 17723else 17724 test -d ./-p && rmdir ./-p 17725 as_mkdir_p=false 17726fi 17727 17728 17729# as_fn_executable_p FILE 17730# ----------------------- 17731# Test if FILE is an executable regular file. 17732as_fn_executable_p () 17733{ 17734 test -f "$1" && test -x "$1" 17735} # as_fn_executable_p 17736as_test_x='test -x' 17737as_executable_p=as_fn_executable_p 17738 17739# Sed expression to map a string onto a valid CPP name. 17740as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17741 17742# Sed expression to map a string onto a valid variable name. 17743as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17744 17745 17746exec 6>&1 17747## ----------------------------------- ## 17748## Main body of $CONFIG_STATUS script. ## 17749## ----------------------------------- ## 17750_ASEOF 17751test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17752 17753cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17754# Save the log message, to keep $0 and so on meaningful, and to 17755# report actual input values of CONFIG_FILES etc. instead of their 17756# values after options handling. 17757ac_log=" 17758This file was extended by cudd $as_me 3.0.0, which was 17759generated by GNU Autoconf 2.69. Invocation command line was 17760 17761 CONFIG_FILES = $CONFIG_FILES 17762 CONFIG_HEADERS = $CONFIG_HEADERS 17763 CONFIG_LINKS = $CONFIG_LINKS 17764 CONFIG_COMMANDS = $CONFIG_COMMANDS 17765 $ $0 $@ 17766 17767on `(hostname || uname -n) 2>/dev/null | sed 1q` 17768" 17769 17770_ACEOF 17771 17772case $ac_config_files in *" 17773"*) set x $ac_config_files; shift; ac_config_files=$*;; 17774esac 17775 17776case $ac_config_headers in *" 17777"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17778esac 17779 17780 17781cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17782# Files that config.status was made for. 17783config_files="$ac_config_files" 17784config_headers="$ac_config_headers" 17785config_commands="$ac_config_commands" 17786 17787_ACEOF 17788 17789cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17790ac_cs_usage="\ 17791\`$as_me' instantiates files and other configuration actions 17792from templates according to the current configuration. Unless the files 17793and actions are specified as TAGs, all are instantiated by default. 17794 17795Usage: $0 [OPTION]... [TAG]... 17796 17797 -h, --help print this help, then exit 17798 -V, --version print version number and configuration settings, then exit 17799 --config print configuration, then exit 17800 -q, --quiet, --silent 17801 do not print progress messages 17802 -d, --debug don't remove temporary files 17803 --recheck update $as_me by reconfiguring in the same conditions 17804 --file=FILE[:TEMPLATE] 17805 instantiate the configuration file FILE 17806 --header=FILE[:TEMPLATE] 17807 instantiate the configuration header FILE 17808 17809Configuration files: 17810$config_files 17811 17812Configuration headers: 17813$config_headers 17814 17815Configuration commands: 17816$config_commands 17817 17818Report bugs to <Fabio@Colorado.EDU>." 17819 17820_ACEOF 17821cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17822ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17823ac_cs_version="\\ 17824cudd config.status 3.0.0 17825configured by $0, generated by GNU Autoconf 2.69, 17826 with options \\"\$ac_cs_config\\" 17827 17828Copyright (C) 2012 Free Software Foundation, Inc. 17829This config.status script is free software; the Free Software Foundation 17830gives unlimited permission to copy, distribute and modify it." 17831 17832ac_pwd='$ac_pwd' 17833srcdir='$srcdir' 17834INSTALL='$INSTALL' 17835MKDIR_P='$MKDIR_P' 17836AWK='$AWK' 17837test -n "\$AWK" || AWK=awk 17838_ACEOF 17839 17840cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17841# The default lists apply if the user does not specify any file. 17842ac_need_defaults=: 17843while test $# != 0 17844do 17845 case $1 in 17846 --*=?*) 17847 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17848 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17849 ac_shift=: 17850 ;; 17851 --*=) 17852 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17853 ac_optarg= 17854 ac_shift=: 17855 ;; 17856 *) 17857 ac_option=$1 17858 ac_optarg=$2 17859 ac_shift=shift 17860 ;; 17861 esac 17862 17863 case $ac_option in 17864 # Handling of the options. 17865 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17866 ac_cs_recheck=: ;; 17867 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17868 $as_echo "$ac_cs_version"; exit ;; 17869 --config | --confi | --conf | --con | --co | --c ) 17870 $as_echo "$ac_cs_config"; exit ;; 17871 --debug | --debu | --deb | --de | --d | -d ) 17872 debug=: ;; 17873 --file | --fil | --fi | --f ) 17874 $ac_shift 17875 case $ac_optarg in 17876 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17877 '') as_fn_error $? "missing file argument" ;; 17878 esac 17879 as_fn_append CONFIG_FILES " '$ac_optarg'" 17880 ac_need_defaults=false;; 17881 --header | --heade | --head | --hea ) 17882 $ac_shift 17883 case $ac_optarg in 17884 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17885 esac 17886 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17887 ac_need_defaults=false;; 17888 --he | --h) 17889 # Conflict between --help and --header 17890 as_fn_error $? "ambiguous option: \`$1' 17891Try \`$0 --help' for more information.";; 17892 --help | --hel | -h ) 17893 $as_echo "$ac_cs_usage"; exit ;; 17894 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17895 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17896 ac_cs_silent=: ;; 17897 17898 # This is an error. 17899 -*) as_fn_error $? "unrecognized option: \`$1' 17900Try \`$0 --help' for more information." ;; 17901 17902 *) as_fn_append ac_config_targets " $1" 17903 ac_need_defaults=false ;; 17904 17905 esac 17906 shift 17907done 17908 17909ac_configure_extra_args= 17910 17911if $ac_cs_silent; then 17912 exec 6>/dev/null 17913 ac_configure_extra_args="$ac_configure_extra_args --silent" 17914fi 17915 17916_ACEOF 17917cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17918if \$ac_cs_recheck; then 17919 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17920 shift 17921 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17922 CONFIG_SHELL='$SHELL' 17923 export CONFIG_SHELL 17924 exec "\$@" 17925fi 17926 17927_ACEOF 17928cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17929exec 5>>config.log 17930{ 17931 echo 17932 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17933## Running $as_me. ## 17934_ASBOX 17935 $as_echo "$ac_log" 17936} >&5 17937 17938_ACEOF 17939cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17940# 17941# INIT-COMMANDS 17942# 17943AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17944 17945 17946# The HP-UX ksh and POSIX shell print the target directory to stdout 17947# if CDPATH is set. 17948(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17949 17950sed_quote_subst='$sed_quote_subst' 17951double_quote_subst='$double_quote_subst' 17952delay_variable_subst='$delay_variable_subst' 17953macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17954macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17955AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 17956DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17957OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17958enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17959enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17960pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17961enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17962SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17963ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17964PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17965host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17966host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17967host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17968build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17969build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17970build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17971SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17972Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17973GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17974EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17975FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17976LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17977NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17978LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17979max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17980ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17981exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17982lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17983lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17984lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17985lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17986lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17987reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17988reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17989deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17990file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17991file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17992want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17993sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17994AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17995AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17996archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17997STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17998RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17999old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18000old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18001old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 18002lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 18003CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 18004CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 18005compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 18006GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 18007lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 18008lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18009lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 18010lt_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"`' 18011nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 18012lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 18013objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 18014MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 18015lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 18016lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 18017lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 18018lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 18019lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 18020need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 18021MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 18022DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18023NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18024LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18025OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 18026OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 18027libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 18028shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 18029extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18030archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 18031enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 18032export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 18033whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 18034compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 18035old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 18036old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18037archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 18038archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18039module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 18040module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18041with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 18042allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 18043no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 18044hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 18045hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 18046hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 18047hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 18048hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 18049hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 18050hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18051inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18052link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18053always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 18054export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 18055exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 18056include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 18057prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 18058postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 18059file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18060variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18061need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18062need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 18063version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 18064runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 18065shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 18066shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 18067libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 18068library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 18069soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 18070install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 18071postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18072postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18073finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 18074finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 18075hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 18076sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 18077sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 18078hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 18079enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 18080enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 18081enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 18082old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 18083striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 18084compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 18085predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 18086postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 18087predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 18088postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 18089compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 18090LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 18091reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 18092reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18093old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18094compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 18095GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 18096lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 18097lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 18098lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 18099lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 18100lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 18101archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 18102enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 18103export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18104whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18105compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 18106old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18107old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18108archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18109archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18110module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18111module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18112with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 18113allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18114no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18115hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18116hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 18117hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 18118hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 18119hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 18120hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 18121hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 18122inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 18123link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 18124always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 18125export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18126exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18127include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18128prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18129postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18130file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 18131hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 18132compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 18133predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18134postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18135predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 18136postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 18137compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 18138 18139LTCC='$LTCC' 18140LTCFLAGS='$LTCFLAGS' 18141compiler='$compiler_DEFAULT' 18142 18143# A function that is used when there is no print builtin or printf. 18144func_fallback_echo () 18145{ 18146 eval 'cat <<_LTECHO_EOF 18147\$1 18148_LTECHO_EOF' 18149} 18150 18151# Quote evaled strings. 18152for var in AS \ 18153DLLTOOL \ 18154OBJDUMP \ 18155SHELL \ 18156ECHO \ 18157PATH_SEPARATOR \ 18158SED \ 18159GREP \ 18160EGREP \ 18161FGREP \ 18162LD \ 18163NM \ 18164LN_S \ 18165lt_SP2NL \ 18166lt_NL2SP \ 18167reload_flag \ 18168deplibs_check_method \ 18169file_magic_cmd \ 18170file_magic_glob \ 18171want_nocaseglob \ 18172sharedlib_from_linklib_cmd \ 18173AR \ 18174AR_FLAGS \ 18175archiver_list_spec \ 18176STRIP \ 18177RANLIB \ 18178CC \ 18179CFLAGS \ 18180compiler \ 18181lt_cv_sys_global_symbol_pipe \ 18182lt_cv_sys_global_symbol_to_cdecl \ 18183lt_cv_sys_global_symbol_to_c_name_address \ 18184lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18185nm_file_list_spec \ 18186lt_prog_compiler_no_builtin_flag \ 18187lt_prog_compiler_pic \ 18188lt_prog_compiler_wl \ 18189lt_prog_compiler_static \ 18190lt_cv_prog_compiler_c_o \ 18191need_locks \ 18192MANIFEST_TOOL \ 18193DSYMUTIL \ 18194NMEDIT \ 18195LIPO \ 18196OTOOL \ 18197OTOOL64 \ 18198shrext_cmds \ 18199export_dynamic_flag_spec \ 18200whole_archive_flag_spec \ 18201compiler_needs_object \ 18202with_gnu_ld \ 18203allow_undefined_flag \ 18204no_undefined_flag \ 18205hardcode_libdir_flag_spec \ 18206hardcode_libdir_separator \ 18207exclude_expsyms \ 18208include_expsyms \ 18209file_list_spec \ 18210variables_saved_for_relink \ 18211libname_spec \ 18212library_names_spec \ 18213soname_spec \ 18214install_override_mode \ 18215finish_eval \ 18216old_striplib \ 18217striplib \ 18218compiler_lib_search_dirs \ 18219predep_objects \ 18220postdep_objects \ 18221predeps \ 18222postdeps \ 18223compiler_lib_search_path \ 18224LD_CXX \ 18225reload_flag_CXX \ 18226compiler_CXX \ 18227lt_prog_compiler_no_builtin_flag_CXX \ 18228lt_prog_compiler_pic_CXX \ 18229lt_prog_compiler_wl_CXX \ 18230lt_prog_compiler_static_CXX \ 18231lt_cv_prog_compiler_c_o_CXX \ 18232export_dynamic_flag_spec_CXX \ 18233whole_archive_flag_spec_CXX \ 18234compiler_needs_object_CXX \ 18235with_gnu_ld_CXX \ 18236allow_undefined_flag_CXX \ 18237no_undefined_flag_CXX \ 18238hardcode_libdir_flag_spec_CXX \ 18239hardcode_libdir_separator_CXX \ 18240exclude_expsyms_CXX \ 18241include_expsyms_CXX \ 18242file_list_spec_CXX \ 18243compiler_lib_search_dirs_CXX \ 18244predep_objects_CXX \ 18245postdep_objects_CXX \ 18246predeps_CXX \ 18247postdeps_CXX \ 18248compiler_lib_search_path_CXX; do 18249 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18250 *[\\\\\\\`\\"\\\$]*) 18251 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 18252 ;; 18253 *) 18254 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18255 ;; 18256 esac 18257done 18258 18259# Double-quote double-evaled strings. 18260for var in reload_cmds \ 18261old_postinstall_cmds \ 18262old_postuninstall_cmds \ 18263old_archive_cmds \ 18264extract_expsyms_cmds \ 18265old_archive_from_new_cmds \ 18266old_archive_from_expsyms_cmds \ 18267archive_cmds \ 18268archive_expsym_cmds \ 18269module_cmds \ 18270module_expsym_cmds \ 18271export_symbols_cmds \ 18272prelink_cmds \ 18273postlink_cmds \ 18274postinstall_cmds \ 18275postuninstall_cmds \ 18276finish_cmds \ 18277sys_lib_search_path_spec \ 18278sys_lib_dlsearch_path_spec \ 18279reload_cmds_CXX \ 18280old_archive_cmds_CXX \ 18281old_archive_from_new_cmds_CXX \ 18282old_archive_from_expsyms_cmds_CXX \ 18283archive_cmds_CXX \ 18284archive_expsym_cmds_CXX \ 18285module_cmds_CXX \ 18286module_expsym_cmds_CXX \ 18287export_symbols_cmds_CXX \ 18288prelink_cmds_CXX \ 18289postlink_cmds_CXX; do 18290 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18291 *[\\\\\\\`\\"\\\$]*) 18292 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 18293 ;; 18294 *) 18295 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18296 ;; 18297 esac 18298done 18299 18300ac_aux_dir='$ac_aux_dir' 18301xsi_shell='$xsi_shell' 18302lt_shell_append='$lt_shell_append' 18303 18304# See if we are running on zsh, and set the options which allow our 18305# commands through without removal of \ escapes INIT. 18306if test -n "\${ZSH_VERSION+set}" ; then 18307 setopt NO_GLOB_SUBST 18308fi 18309 18310 18311 PACKAGE='$PACKAGE' 18312 VERSION='$VERSION' 18313 TIMESTAMP='$TIMESTAMP' 18314 RM='$RM' 18315 ofile='$ofile' 18316 18317 18318 18319 18320 18321 18322_ACEOF 18323 18324cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18325 18326# Handling of arguments. 18327for ac_config_target in $ac_config_targets 18328do 18329 case $ac_config_target in 18330 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18331 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18332 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 18333 "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; 18334 "doc/cudd.tex") CONFIG_FILES="$CONFIG_FILES doc/cudd.tex" ;; 18335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18336 "dddmp/exp/test1.sh") CONFIG_FILES="$CONFIG_FILES dddmp/exp/test1.sh" ;; 18337 "dddmp/exp/test2.sh") CONFIG_FILES="$CONFIG_FILES dddmp/exp/test2.sh" ;; 18338 "dddmp/exp/test3.sh") CONFIG_FILES="$CONFIG_FILES dddmp/exp/test3.sh" ;; 18339 "dddmp/exp/test4.sh") CONFIG_FILES="$CONFIG_FILES dddmp/exp/test4.sh" ;; 18340 "dddmp/exp/test5.sh") CONFIG_FILES="$CONFIG_FILES dddmp/exp/test5.sh" ;; 18341 "dddmp/exp/test6.sh") CONFIG_FILES="$CONFIG_FILES dddmp/exp/test6.sh" ;; 18342 "dddmp/exp/test7.sh") CONFIG_FILES="$CONFIG_FILES dddmp/exp/test7.sh" ;; 18343 18344 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 18345 esac 18346done 18347 18348 18349# If the user did not use the arguments to specify the items to instantiate, 18350# then the envvar interface is used. Set only those that are not. 18351# We use the long form for the default assignment because of an extremely 18352# bizarre bug on SunOS 4.1.3. 18353if $ac_need_defaults; then 18354 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18355 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18356 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18357fi 18358 18359# Have a temporary directory for convenience. Make it in the build tree 18360# simply because there is no reason against having it here, and in addition, 18361# creating and moving files from /tmp can sometimes cause problems. 18362# Hook for its removal unless debugging. 18363# Note that there is a small window in which the directory will not be cleaned: 18364# after its creation but before its name has been assigned to `$tmp'. 18365$debug || 18366{ 18367 tmp= ac_tmp= 18368 trap 'exit_status=$? 18369 : "${ac_tmp:=$tmp}" 18370 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 18371' 0 18372 trap 'as_fn_exit 1' 1 2 13 15 18373} 18374# Create a (secure) tmp directory for tmp files. 18375 18376{ 18377 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18378 test -d "$tmp" 18379} || 18380{ 18381 tmp=./conf$$-$RANDOM 18382 (umask 077 && mkdir "$tmp") 18383} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 18384ac_tmp=$tmp 18385 18386# Set up the scripts for CONFIG_FILES section. 18387# No need to generate them if there are no CONFIG_FILES. 18388# This happens for instance with `./config.status config.h'. 18389if test -n "$CONFIG_FILES"; then 18390 18391 18392ac_cr=`echo X | tr X '\015'` 18393# On cygwin, bash can eat \r inside `` if the user requested igncr. 18394# But we know of no other shell where ac_cr would be empty at this 18395# point, so we can use a bashism as a fallback. 18396if test "x$ac_cr" = x; then 18397 eval ac_cr=\$\'\\r\' 18398fi 18399ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 18400if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 18401 ac_cs_awk_cr='\\r' 18402else 18403 ac_cs_awk_cr=$ac_cr 18404fi 18405 18406echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 18407_ACEOF 18408 18409 18410{ 18411 echo "cat >conf$$subs.awk <<_ACEOF" && 18412 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 18413 echo "_ACEOF" 18414} >conf$$subs.sh || 18415 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18416ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 18417ac_delim='%!_!# ' 18418for ac_last_try in false false false false false :; do 18419 . ./conf$$subs.sh || 18420 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18421 18422 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 18423 if test $ac_delim_n = $ac_delim_num; then 18424 break 18425 elif $ac_last_try; then 18426 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18427 else 18428 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18429 fi 18430done 18431rm -f conf$$subs.sh 18432 18433cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18434cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 18435_ACEOF 18436sed -n ' 18437h 18438s/^/S["/; s/!.*/"]=/ 18439p 18440g 18441s/^[^!]*!// 18442:repl 18443t repl 18444s/'"$ac_delim"'$// 18445t delim 18446:nl 18447h 18448s/\(.\{148\}\)..*/\1/ 18449t more1 18450s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 18451p 18452n 18453b repl 18454:more1 18455s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18456p 18457g 18458s/.\{148\}// 18459t nl 18460:delim 18461h 18462s/\(.\{148\}\)..*/\1/ 18463t more2 18464s/["\\]/\\&/g; s/^/"/; s/$/"/ 18465p 18466b 18467:more2 18468s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18469p 18470g 18471s/.\{148\}// 18472t delim 18473' <conf$$subs.awk | sed ' 18474/^[^""]/{ 18475 N 18476 s/\n// 18477} 18478' >>$CONFIG_STATUS || ac_write_fail=1 18479rm -f conf$$subs.awk 18480cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18481_ACAWK 18482cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 18483 for (key in S) S_is_set[key] = 1 18484 FS = "" 18485 18486} 18487{ 18488 line = $ 0 18489 nfields = split(line, field, "@") 18490 substed = 0 18491 len = length(field[1]) 18492 for (i = 2; i < nfields; i++) { 18493 key = field[i] 18494 keylen = length(key) 18495 if (S_is_set[key]) { 18496 value = S[key] 18497 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 18498 len += length(value) + length(field[++i]) 18499 substed = 1 18500 } else 18501 len += 1 + keylen 18502 } 18503 18504 print line 18505} 18506 18507_ACAWK 18508_ACEOF 18509cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18510if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 18511 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 18512else 18513 cat 18514fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 18515 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 18516_ACEOF 18517 18518# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 18519# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 18520# trailing colons and then remove the whole line if VPATH becomes empty 18521# (actually we leave an empty line to preserve line numbers). 18522if test "x$srcdir" = x.; then 18523 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 18524h 18525s/// 18526s/^/:/ 18527s/[ ]*$/:/ 18528s/:\$(srcdir):/:/g 18529s/:\${srcdir}:/:/g 18530s/:@srcdir@:/:/g 18531s/^:*// 18532s/:*$// 18533x 18534s/\(=[ ]*\).*/\1/ 18535G 18536s/\n// 18537s/^[^=]*=[ ]*$// 18538}' 18539fi 18540 18541cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18542fi # test -n "$CONFIG_FILES" 18543 18544# Set up the scripts for CONFIG_HEADERS section. 18545# No need to generate them if there are no CONFIG_HEADERS. 18546# This happens for instance with `./config.status Makefile'. 18547if test -n "$CONFIG_HEADERS"; then 18548cat >"$ac_tmp/defines.awk" <<\_ACAWK || 18549BEGIN { 18550_ACEOF 18551 18552# Transform confdefs.h into an awk script `defines.awk', embedded as 18553# here-document in config.status, that substitutes the proper values into 18554# config.h.in to produce config.h. 18555 18556# Create a delimiter string that does not exist in confdefs.h, to ease 18557# handling of long lines. 18558ac_delim='%!_!# ' 18559for ac_last_try in false false :; do 18560 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 18561 if test -z "$ac_tt"; then 18562 break 18563 elif $ac_last_try; then 18564 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 18565 else 18566 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18567 fi 18568done 18569 18570# For the awk script, D is an array of macro values keyed by name, 18571# likewise P contains macro parameters if any. Preserve backslash 18572# newline sequences. 18573 18574ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 18575sed -n ' 18576s/.\{148\}/&'"$ac_delim"'/g 18577t rset 18578:rset 18579s/^[ ]*#[ ]*define[ ][ ]*/ / 18580t def 18581d 18582:def 18583s/\\$// 18584t bsnl 18585s/["\\]/\\&/g 18586s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18587D["\1"]=" \3"/p 18588s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 18589d 18590:bsnl 18591s/["\\]/\\&/g 18592s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18593D["\1"]=" \3\\\\\\n"\\/p 18594t cont 18595s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 18596t cont 18597d 18598:cont 18599n 18600s/.\{148\}/&'"$ac_delim"'/g 18601t clear 18602:clear 18603s/\\$// 18604t bsnlc 18605s/["\\]/\\&/g; s/^/"/; s/$/"/p 18606d 18607:bsnlc 18608s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 18609b cont 18610' <confdefs.h | sed ' 18611s/'"$ac_delim"'/"\\\ 18612"/g' >>$CONFIG_STATUS || ac_write_fail=1 18613 18614cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18615 for (key in D) D_is_set[key] = 1 18616 FS = "" 18617} 18618/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 18619 line = \$ 0 18620 split(line, arg, " ") 18621 if (arg[1] == "#") { 18622 defundef = arg[2] 18623 mac1 = arg[3] 18624 } else { 18625 defundef = substr(arg[1], 2) 18626 mac1 = arg[2] 18627 } 18628 split(mac1, mac2, "(") #) 18629 macro = mac2[1] 18630 prefix = substr(line, 1, index(line, defundef) - 1) 18631 if (D_is_set[macro]) { 18632 # Preserve the white space surrounding the "#". 18633 print prefix "define", macro P[macro] D[macro] 18634 next 18635 } else { 18636 # Replace #undef with comments. This is necessary, for example, 18637 # in the case of _POSIX_SOURCE, which is predefined and required 18638 # on some systems where configure will not decide to define it. 18639 if (defundef == "undef") { 18640 print "/*", prefix defundef, macro, "*/" 18641 next 18642 } 18643 } 18644} 18645{ print } 18646_ACAWK 18647_ACEOF 18648cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18649 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 18650fi # test -n "$CONFIG_HEADERS" 18651 18652 18653eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 18654shift 18655for ac_tag 18656do 18657 case $ac_tag in 18658 :[FHLC]) ac_mode=$ac_tag; continue;; 18659 esac 18660 case $ac_mode$ac_tag in 18661 :[FHL]*:*);; 18662 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 18663 :[FH]-) ac_tag=-:-;; 18664 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 18665 esac 18666 ac_save_IFS=$IFS 18667 IFS=: 18668 set x $ac_tag 18669 IFS=$ac_save_IFS 18670 shift 18671 ac_file=$1 18672 shift 18673 18674 case $ac_mode in 18675 :L) ac_source=$1;; 18676 :[FH]) 18677 ac_file_inputs= 18678 for ac_f 18679 do 18680 case $ac_f in 18681 -) ac_f="$ac_tmp/stdin";; 18682 *) # Look for the file first in the build tree, then in the source tree 18683 # (if the path is not absolute). The absolute path cannot be DOS-style, 18684 # because $ac_f cannot contain `:'. 18685 test -f "$ac_f" || 18686 case $ac_f in 18687 [\\/$]*) false;; 18688 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 18689 esac || 18690 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 18691 esac 18692 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 18693 as_fn_append ac_file_inputs " '$ac_f'" 18694 done 18695 18696 # Let's still pretend it is `configure' which instantiates (i.e., don't 18697 # use $as_me), people would be surprised to read: 18698 # /* config.h. Generated by config.status. */ 18699 configure_input='Generated from '` 18700 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 18701 `' by configure.' 18702 if test x"$ac_file" != x-; then 18703 configure_input="$ac_file. $configure_input" 18704 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 18705$as_echo "$as_me: creating $ac_file" >&6;} 18706 fi 18707 # Neutralize special characters interpreted by sed in replacement strings. 18708 case $configure_input in #( 18709 *\&* | *\|* | *\\* ) 18710 ac_sed_conf_input=`$as_echo "$configure_input" | 18711 sed 's/[\\\\&|]/\\\\&/g'`;; #( 18712 *) ac_sed_conf_input=$configure_input;; 18713 esac 18714 18715 case $ac_tag in 18716 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 18717 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18718 esac 18719 ;; 18720 esac 18721 18722 ac_dir=`$as_dirname -- "$ac_file" || 18723$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18724 X"$ac_file" : 'X\(//\)[^/]' \| \ 18725 X"$ac_file" : 'X\(//\)$' \| \ 18726 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 18727$as_echo X"$ac_file" | 18728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18729 s//\1/ 18730 q 18731 } 18732 /^X\(\/\/\)[^/].*/{ 18733 s//\1/ 18734 q 18735 } 18736 /^X\(\/\/\)$/{ 18737 s//\1/ 18738 q 18739 } 18740 /^X\(\/\).*/{ 18741 s//\1/ 18742 q 18743 } 18744 s/.*/./; q'` 18745 as_dir="$ac_dir"; as_fn_mkdir_p 18746 ac_builddir=. 18747 18748case "$ac_dir" in 18749.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18750*) 18751 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18752 # A ".." for each directory in $ac_dir_suffix. 18753 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18754 case $ac_top_builddir_sub in 18755 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18756 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18757 esac ;; 18758esac 18759ac_abs_top_builddir=$ac_pwd 18760ac_abs_builddir=$ac_pwd$ac_dir_suffix 18761# for backward compatibility: 18762ac_top_builddir=$ac_top_build_prefix 18763 18764case $srcdir in 18765 .) # We are building in place. 18766 ac_srcdir=. 18767 ac_top_srcdir=$ac_top_builddir_sub 18768 ac_abs_top_srcdir=$ac_pwd ;; 18769 [\\/]* | ?:[\\/]* ) # Absolute name. 18770 ac_srcdir=$srcdir$ac_dir_suffix; 18771 ac_top_srcdir=$srcdir 18772 ac_abs_top_srcdir=$srcdir ;; 18773 *) # Relative name. 18774 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18775 ac_top_srcdir=$ac_top_build_prefix$srcdir 18776 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18777esac 18778ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18779 18780 18781 case $ac_mode in 18782 :F) 18783 # 18784 # CONFIG_FILE 18785 # 18786 18787 case $INSTALL in 18788 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18789 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18790 esac 18791 ac_MKDIR_P=$MKDIR_P 18792 case $MKDIR_P in 18793 [\\/$]* | ?:[\\/]* ) ;; 18794 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18795 esac 18796_ACEOF 18797 18798cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18799# If the template does not know about datarootdir, expand it. 18800# FIXME: This hack should be removed a few years after 2.60. 18801ac_datarootdir_hack=; ac_datarootdir_seen= 18802ac_sed_dataroot=' 18803/datarootdir/ { 18804 p 18805 q 18806} 18807/@datadir@/p 18808/@docdir@/p 18809/@infodir@/p 18810/@localedir@/p 18811/@mandir@/p' 18812case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18813*datarootdir*) ac_datarootdir_seen=yes;; 18814*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18816$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18817_ACEOF 18818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18819 ac_datarootdir_hack=' 18820 s&@datadir@&$datadir&g 18821 s&@docdir@&$docdir&g 18822 s&@infodir@&$infodir&g 18823 s&@localedir@&$localedir&g 18824 s&@mandir@&$mandir&g 18825 s&\\\${datarootdir}&$datarootdir&g' ;; 18826esac 18827_ACEOF 18828 18829# Neutralize VPATH when `$srcdir' = `.'. 18830# Shell code in configure.ac might set extrasub. 18831# FIXME: do we really want to maintain this feature? 18832cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18833ac_sed_extra="$ac_vpsub 18834$extrasub 18835_ACEOF 18836cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18837:t 18838/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18839s|@configure_input@|$ac_sed_conf_input|;t t 18840s&@top_builddir@&$ac_top_builddir_sub&;t t 18841s&@top_build_prefix@&$ac_top_build_prefix&;t t 18842s&@srcdir@&$ac_srcdir&;t t 18843s&@abs_srcdir@&$ac_abs_srcdir&;t t 18844s&@top_srcdir@&$ac_top_srcdir&;t t 18845s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18846s&@builddir@&$ac_builddir&;t t 18847s&@abs_builddir@&$ac_abs_builddir&;t t 18848s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18849s&@INSTALL@&$ac_INSTALL&;t t 18850s&@MKDIR_P@&$ac_MKDIR_P&;t t 18851$ac_datarootdir_hack 18852" 18853eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18854 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18855 18856test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18857 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18858 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18859 "$ac_tmp/out"`; test -z "$ac_out"; } && 18860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18861which seems to be undefined. Please make sure it is defined" >&5 18862$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18863which seems to be undefined. Please make sure it is defined" >&2;} 18864 18865 rm -f "$ac_tmp/stdin" 18866 case $ac_file in 18867 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18868 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18869 esac \ 18870 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18871 ;; 18872 :H) 18873 # 18874 # CONFIG_HEADER 18875 # 18876 if test x"$ac_file" != x-; then 18877 { 18878 $as_echo "/* $configure_input */" \ 18879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18880 } >"$ac_tmp/config.h" \ 18881 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18882 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18883 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18884$as_echo "$as_me: $ac_file is unchanged" >&6;} 18885 else 18886 rm -f "$ac_file" 18887 mv "$ac_tmp/config.h" "$ac_file" \ 18888 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18889 fi 18890 else 18891 $as_echo "/* $configure_input */" \ 18892 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18893 || as_fn_error $? "could not create -" "$LINENO" 5 18894 fi 18895# Compute "$ac_file"'s index in $config_headers. 18896_am_arg="$ac_file" 18897_am_stamp_count=1 18898for _am_header in $config_headers :; do 18899 case $_am_header in 18900 $_am_arg | $_am_arg:* ) 18901 break ;; 18902 * ) 18903 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18904 esac 18905done 18906echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18907$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18908 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18909 X"$_am_arg" : 'X\(//\)$' \| \ 18910 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18911$as_echo X"$_am_arg" | 18912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18913 s//\1/ 18914 q 18915 } 18916 /^X\(\/\/\)[^/].*/{ 18917 s//\1/ 18918 q 18919 } 18920 /^X\(\/\/\)$/{ 18921 s//\1/ 18922 q 18923 } 18924 /^X\(\/\).*/{ 18925 s//\1/ 18926 q 18927 } 18928 s/.*/./; q'`/stamp-h$_am_stamp_count 18929 ;; 18930 18931 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18932$as_echo "$as_me: executing $ac_file commands" >&6;} 18933 ;; 18934 esac 18935 18936 18937 case $ac_file$ac_mode in 18938 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18939 # Older Autoconf quotes --file arguments for eval, but not when files 18940 # are listed without --file. Let's play safe and only enable the eval 18941 # if we detect the quoting. 18942 case $CONFIG_FILES in 18943 *\'*) eval set x "$CONFIG_FILES" ;; 18944 *) set x $CONFIG_FILES ;; 18945 esac 18946 shift 18947 for mf 18948 do 18949 # Strip MF so we end up with the name of the file. 18950 mf=`echo "$mf" | sed -e 's/:.*$//'` 18951 # Check whether this is an Automake generated Makefile or not. 18952 # We used to match only the files named 'Makefile.in', but 18953 # some people rename them; so instead we look at the file content. 18954 # Grep'ing the first line is not enough: some people post-process 18955 # each Makefile.in and add a new line on top of each file to say so. 18956 # Grep'ing the whole file is not good either: AIX grep has a line 18957 # limit of 2048, but all sed's we know have understand at least 4000. 18958 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 18959 dirpart=`$as_dirname -- "$mf" || 18960$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18961 X"$mf" : 'X\(//\)[^/]' \| \ 18962 X"$mf" : 'X\(//\)$' \| \ 18963 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 18964$as_echo X"$mf" | 18965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18966 s//\1/ 18967 q 18968 } 18969 /^X\(\/\/\)[^/].*/{ 18970 s//\1/ 18971 q 18972 } 18973 /^X\(\/\/\)$/{ 18974 s//\1/ 18975 q 18976 } 18977 /^X\(\/\).*/{ 18978 s//\1/ 18979 q 18980 } 18981 s/.*/./; q'` 18982 else 18983 continue 18984 fi 18985 # Extract the definition of DEPDIR, am__include, and am__quote 18986 # from the Makefile without running 'make'. 18987 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 18988 test -z "$DEPDIR" && continue 18989 am__include=`sed -n 's/^am__include = //p' < "$mf"` 18990 test -z "$am__include" && continue 18991 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 18992 # Find all dependency output files, they are included files with 18993 # $(DEPDIR) in their names. We invoke sed twice because it is the 18994 # simplest approach to changing $(DEPDIR) to its actual value in the 18995 # expansion. 18996 for file in `sed -n " 18997 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 18998 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 18999 # Make sure the directory exists. 19000 test -f "$dirpart/$file" && continue 19001 fdir=`$as_dirname -- "$file" || 19002$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19003 X"$file" : 'X\(//\)[^/]' \| \ 19004 X"$file" : 'X\(//\)$' \| \ 19005 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19006$as_echo X"$file" | 19007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19008 s//\1/ 19009 q 19010 } 19011 /^X\(\/\/\)[^/].*/{ 19012 s//\1/ 19013 q 19014 } 19015 /^X\(\/\/\)$/{ 19016 s//\1/ 19017 q 19018 } 19019 /^X\(\/\).*/{ 19020 s//\1/ 19021 q 19022 } 19023 s/.*/./; q'` 19024 as_dir=$dirpart/$fdir; as_fn_mkdir_p 19025 # echo "creating $dirpart/$file" 19026 echo '# dummy' > "$dirpart/$file" 19027 done 19028 done 19029} 19030 ;; 19031 "libtool":C) 19032 19033 # See if we are running on zsh, and set the options which allow our 19034 # commands through without removal of \ escapes. 19035 if test -n "${ZSH_VERSION+set}" ; then 19036 setopt NO_GLOB_SUBST 19037 fi 19038 19039 cfgfile="${ofile}T" 19040 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 19041 $RM "$cfgfile" 19042 19043 cat <<_LT_EOF >> "$cfgfile" 19044#! $SHELL 19045 19046# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 19047# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 19048# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19049# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19050# 19051# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 19052# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 19053# Foundation, Inc. 19054# Written by Gordon Matzigkeit, 1996 19055# 19056# This file is part of GNU Libtool. 19057# 19058# GNU Libtool is free software; you can redistribute it and/or 19059# modify it under the terms of the GNU General Public License as 19060# published by the Free Software Foundation; either version 2 of 19061# the License, or (at your option) any later version. 19062# 19063# As a special exception to the GNU General Public License, 19064# if you distribute this file as part of a program or library that 19065# is built using GNU Libtool, you may include this file under the 19066# same distribution terms that you use for the rest of that program. 19067# 19068# GNU Libtool is distributed in the hope that it will be useful, 19069# but WITHOUT ANY WARRANTY; without even the implied warranty of 19070# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19071# GNU General Public License for more details. 19072# 19073# You should have received a copy of the GNU General Public License 19074# along with GNU Libtool; see the file COPYING. If not, a copy 19075# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 19076# obtained by writing to the Free Software Foundation, Inc., 19077# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19078 19079 19080# The names of the tagged configurations supported by this script. 19081available_tags="CXX " 19082 19083# ### BEGIN LIBTOOL CONFIG 19084 19085# Which release of libtool.m4 was used? 19086macro_version=$macro_version 19087macro_revision=$macro_revision 19088 19089# Assembler program. 19090AS=$lt_AS 19091 19092# DLL creation program. 19093DLLTOOL=$lt_DLLTOOL 19094 19095# Object dumper program. 19096OBJDUMP=$lt_OBJDUMP 19097 19098# Whether or not to build shared libraries. 19099build_libtool_libs=$enable_shared 19100 19101# Whether or not to build static libraries. 19102build_old_libs=$enable_static 19103 19104# What type of objects to build. 19105pic_mode=$pic_mode 19106 19107# Whether or not to optimize for fast installation. 19108fast_install=$enable_fast_install 19109 19110# Shell to use when invoking shell scripts. 19111SHELL=$lt_SHELL 19112 19113# An echo program that protects backslashes. 19114ECHO=$lt_ECHO 19115 19116# The PATH separator for the build system. 19117PATH_SEPARATOR=$lt_PATH_SEPARATOR 19118 19119# The host system. 19120host_alias=$host_alias 19121host=$host 19122host_os=$host_os 19123 19124# The build system. 19125build_alias=$build_alias 19126build=$build 19127build_os=$build_os 19128 19129# A sed program that does not truncate output. 19130SED=$lt_SED 19131 19132# Sed that helps us avoid accidentally triggering echo(1) options like -n. 19133Xsed="\$SED -e 1s/^X//" 19134 19135# A grep program that handles long lines. 19136GREP=$lt_GREP 19137 19138# An ERE matcher. 19139EGREP=$lt_EGREP 19140 19141# A literal string matcher. 19142FGREP=$lt_FGREP 19143 19144# A BSD- or MS-compatible name lister. 19145NM=$lt_NM 19146 19147# Whether we need soft or hard links. 19148LN_S=$lt_LN_S 19149 19150# What is the maximum length of a command? 19151max_cmd_len=$max_cmd_len 19152 19153# Object file suffix (normally "o"). 19154objext=$ac_objext 19155 19156# Executable file suffix (normally ""). 19157exeext=$exeext 19158 19159# whether the shell understands "unset". 19160lt_unset=$lt_unset 19161 19162# turn spaces into newlines. 19163SP2NL=$lt_lt_SP2NL 19164 19165# turn newlines into spaces. 19166NL2SP=$lt_lt_NL2SP 19167 19168# convert \$build file names to \$host format. 19169to_host_file_cmd=$lt_cv_to_host_file_cmd 19170 19171# convert \$build files to toolchain format. 19172to_tool_file_cmd=$lt_cv_to_tool_file_cmd 19173 19174# Method to check whether dependent libraries are shared objects. 19175deplibs_check_method=$lt_deplibs_check_method 19176 19177# Command to use when deplibs_check_method = "file_magic". 19178file_magic_cmd=$lt_file_magic_cmd 19179 19180# How to find potential files when deplibs_check_method = "file_magic". 19181file_magic_glob=$lt_file_magic_glob 19182 19183# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 19184want_nocaseglob=$lt_want_nocaseglob 19185 19186# Command to associate shared and link libraries. 19187sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 19188 19189# The archiver. 19190AR=$lt_AR 19191 19192# Flags to create an archive. 19193AR_FLAGS=$lt_AR_FLAGS 19194 19195# How to feed a file listing to the archiver. 19196archiver_list_spec=$lt_archiver_list_spec 19197 19198# A symbol stripping program. 19199STRIP=$lt_STRIP 19200 19201# Commands used to install an old-style archive. 19202RANLIB=$lt_RANLIB 19203old_postinstall_cmds=$lt_old_postinstall_cmds 19204old_postuninstall_cmds=$lt_old_postuninstall_cmds 19205 19206# Whether to use a lock for old archive extraction. 19207lock_old_archive_extraction=$lock_old_archive_extraction 19208 19209# A C compiler. 19210LTCC=$lt_CC 19211 19212# LTCC compiler flags. 19213LTCFLAGS=$lt_CFLAGS 19214 19215# Take the output of nm and produce a listing of raw symbols and C names. 19216global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19217 19218# Transform the output of nm in a proper C declaration. 19219global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19220 19221# Transform the output of nm in a C name address pair. 19222global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19223 19224# Transform the output of nm in a C name address pair when lib prefix is needed. 19225global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19226 19227# Specify filename containing input files for \$NM. 19228nm_file_list_spec=$lt_nm_file_list_spec 19229 19230# The root where to search for dependent libraries,and in which our libraries should be installed. 19231lt_sysroot=$lt_sysroot 19232 19233# The name of the directory that contains temporary libtool files. 19234objdir=$objdir 19235 19236# Used to examine libraries when file_magic_cmd begins with "file". 19237MAGIC_CMD=$MAGIC_CMD 19238 19239# Must we lock files when doing compilation? 19240need_locks=$lt_need_locks 19241 19242# Manifest tool. 19243MANIFEST_TOOL=$lt_MANIFEST_TOOL 19244 19245# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19246DSYMUTIL=$lt_DSYMUTIL 19247 19248# Tool to change global to local symbols on Mac OS X. 19249NMEDIT=$lt_NMEDIT 19250 19251# Tool to manipulate fat objects and archives on Mac OS X. 19252LIPO=$lt_LIPO 19253 19254# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19255OTOOL=$lt_OTOOL 19256 19257# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19258OTOOL64=$lt_OTOOL64 19259 19260# Old archive suffix (normally "a"). 19261libext=$libext 19262 19263# Shared library suffix (normally ".so"). 19264shrext_cmds=$lt_shrext_cmds 19265 19266# The commands to extract the exported symbol list from a shared archive. 19267extract_expsyms_cmds=$lt_extract_expsyms_cmds 19268 19269# Variables whose values should be saved in libtool wrapper scripts and 19270# restored at link time. 19271variables_saved_for_relink=$lt_variables_saved_for_relink 19272 19273# Do we need the "lib" prefix for modules? 19274need_lib_prefix=$need_lib_prefix 19275 19276# Do we need a version for libraries? 19277need_version=$need_version 19278 19279# Library versioning type. 19280version_type=$version_type 19281 19282# Shared library runtime path variable. 19283runpath_var=$runpath_var 19284 19285# Shared library path variable. 19286shlibpath_var=$shlibpath_var 19287 19288# Is shlibpath searched before the hard-coded library search path? 19289shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19290 19291# Format of library name prefix. 19292libname_spec=$lt_libname_spec 19293 19294# List of archive names. First name is the real one, the rest are links. 19295# The last name is the one that the linker finds with -lNAME 19296library_names_spec=$lt_library_names_spec 19297 19298# The coded name of the library, if different from the real name. 19299soname_spec=$lt_soname_spec 19300 19301# Permission mode override for installation of shared libraries. 19302install_override_mode=$lt_install_override_mode 19303 19304# Command to use after installation of a shared archive. 19305postinstall_cmds=$lt_postinstall_cmds 19306 19307# Command to use after uninstallation of a shared archive. 19308postuninstall_cmds=$lt_postuninstall_cmds 19309 19310# Commands used to finish a libtool library installation in a directory. 19311finish_cmds=$lt_finish_cmds 19312 19313# As "finish_cmds", except a single script fragment to be evaled but 19314# not shown. 19315finish_eval=$lt_finish_eval 19316 19317# Whether we should hardcode library paths into libraries. 19318hardcode_into_libs=$hardcode_into_libs 19319 19320# Compile-time system search path for libraries. 19321sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19322 19323# Run-time system search path for libraries. 19324sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19325 19326# Whether dlopen is supported. 19327dlopen_support=$enable_dlopen 19328 19329# Whether dlopen of programs is supported. 19330dlopen_self=$enable_dlopen_self 19331 19332# Whether dlopen of statically linked programs is supported. 19333dlopen_self_static=$enable_dlopen_self_static 19334 19335# Commands to strip libraries. 19336old_striplib=$lt_old_striplib 19337striplib=$lt_striplib 19338 19339 19340# The linker used to build libraries. 19341LD=$lt_LD 19342 19343# How to create reloadable object files. 19344reload_flag=$lt_reload_flag 19345reload_cmds=$lt_reload_cmds 19346 19347# Commands used to build an old-style archive. 19348old_archive_cmds=$lt_old_archive_cmds 19349 19350# A language specific compiler. 19351CC=$lt_compiler 19352 19353# Is the compiler the GNU compiler? 19354with_gcc=$GCC 19355 19356# Compiler flag to turn off builtin functions. 19357no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19358 19359# Additional compiler flags for building library objects. 19360pic_flag=$lt_lt_prog_compiler_pic 19361 19362# How to pass a linker flag through the compiler. 19363wl=$lt_lt_prog_compiler_wl 19364 19365# Compiler flag to prevent dynamic linking. 19366link_static_flag=$lt_lt_prog_compiler_static 19367 19368# Does compiler simultaneously support -c and -o options? 19369compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19370 19371# Whether or not to add -lc for building shared libraries. 19372build_libtool_need_lc=$archive_cmds_need_lc 19373 19374# Whether or not to disallow shared libs when runtime libs are static. 19375allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19376 19377# Compiler flag to allow reflexive dlopens. 19378export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19379 19380# Compiler flag to generate shared objects directly from archives. 19381whole_archive_flag_spec=$lt_whole_archive_flag_spec 19382 19383# Whether the compiler copes with passing no objects directly. 19384compiler_needs_object=$lt_compiler_needs_object 19385 19386# Create an old-style archive from a shared archive. 19387old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19388 19389# Create a temporary old-style archive to link instead of a shared archive. 19390old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19391 19392# Commands used to build a shared archive. 19393archive_cmds=$lt_archive_cmds 19394archive_expsym_cmds=$lt_archive_expsym_cmds 19395 19396# Commands used to build a loadable module if different from building 19397# a shared archive. 19398module_cmds=$lt_module_cmds 19399module_expsym_cmds=$lt_module_expsym_cmds 19400 19401# Whether we are building with GNU ld or not. 19402with_gnu_ld=$lt_with_gnu_ld 19403 19404# Flag that allows shared libraries with undefined symbols to be built. 19405allow_undefined_flag=$lt_allow_undefined_flag 19406 19407# Flag that enforces no undefined symbols. 19408no_undefined_flag=$lt_no_undefined_flag 19409 19410# Flag to hardcode \$libdir into a binary during linking. 19411# This must work even if \$libdir does not exist 19412hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19413 19414# Whether we need a single "-rpath" flag with a separated argument. 19415hardcode_libdir_separator=$lt_hardcode_libdir_separator 19416 19417# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19418# DIR into the resulting binary. 19419hardcode_direct=$hardcode_direct 19420 19421# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19422# DIR into the resulting binary and the resulting library dependency is 19423# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 19424# library is relocated. 19425hardcode_direct_absolute=$hardcode_direct_absolute 19426 19427# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19428# into the resulting binary. 19429hardcode_minus_L=$hardcode_minus_L 19430 19431# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19432# into the resulting binary. 19433hardcode_shlibpath_var=$hardcode_shlibpath_var 19434 19435# Set to "yes" if building a shared library automatically hardcodes DIR 19436# into the library and all subsequent libraries and executables linked 19437# against it. 19438hardcode_automatic=$hardcode_automatic 19439 19440# Set to yes if linker adds runtime paths of dependent libraries 19441# to runtime path list. 19442inherit_rpath=$inherit_rpath 19443 19444# Whether libtool must link a program against all its dependency libraries. 19445link_all_deplibs=$link_all_deplibs 19446 19447# Set to "yes" if exported symbols are required. 19448always_export_symbols=$always_export_symbols 19449 19450# The commands to list exported symbols. 19451export_symbols_cmds=$lt_export_symbols_cmds 19452 19453# Symbols that should not be listed in the preloaded symbols. 19454exclude_expsyms=$lt_exclude_expsyms 19455 19456# Symbols that must always be exported. 19457include_expsyms=$lt_include_expsyms 19458 19459# Commands necessary for linking programs (against libraries) with templates. 19460prelink_cmds=$lt_prelink_cmds 19461 19462# Commands necessary for finishing linking programs. 19463postlink_cmds=$lt_postlink_cmds 19464 19465# Specify filename containing input files. 19466file_list_spec=$lt_file_list_spec 19467 19468# How to hardcode a shared library path into an executable. 19469hardcode_action=$hardcode_action 19470 19471# The directories searched by this compiler when creating a shared library. 19472compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 19473 19474# Dependencies to place before and after the objects being linked to 19475# create a shared library. 19476predep_objects=$lt_predep_objects 19477postdep_objects=$lt_postdep_objects 19478predeps=$lt_predeps 19479postdeps=$lt_postdeps 19480 19481# The library search path used internally by the compiler when linking 19482# a shared library. 19483compiler_lib_search_path=$lt_compiler_lib_search_path 19484 19485# ### END LIBTOOL CONFIG 19486 19487_LT_EOF 19488 19489 case $host_os in 19490 aix3*) 19491 cat <<\_LT_EOF >> "$cfgfile" 19492# AIX sometimes has problems with the GCC collect2 program. For some 19493# reason, if we set the COLLECT_NAMES environment variable, the problems 19494# vanish in a puff of smoke. 19495if test "X${COLLECT_NAMES+set}" != Xset; then 19496 COLLECT_NAMES= 19497 export COLLECT_NAMES 19498fi 19499_LT_EOF 19500 ;; 19501 esac 19502 19503 19504ltmain="$ac_aux_dir/ltmain.sh" 19505 19506 19507 # We use sed instead of cat because bash on DJGPP gets confused if 19508 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19509 # text mode, it properly converts lines to CR/LF. This bash problem 19510 # is reportedly fixed, but why not run on old versions too? 19511 sed '$q' "$ltmain" >> "$cfgfile" \ 19512 || (rm -f "$cfgfile"; exit 1) 19513 19514 if test x"$xsi_shell" = xyes; then 19515 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 19516func_dirname ()\ 19517{\ 19518\ case ${1} in\ 19519\ */*) func_dirname_result="${1%/*}${2}" ;;\ 19520\ * ) func_dirname_result="${3}" ;;\ 19521\ esac\ 19522} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 19523 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19524 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19525test 0 -eq $? || _lt_function_replace_fail=: 19526 19527 19528 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 19529func_basename ()\ 19530{\ 19531\ func_basename_result="${1##*/}"\ 19532} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 19533 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19534 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19535test 0 -eq $? || _lt_function_replace_fail=: 19536 19537 19538 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 19539func_dirname_and_basename ()\ 19540{\ 19541\ case ${1} in\ 19542\ */*) func_dirname_result="${1%/*}${2}" ;;\ 19543\ * ) func_dirname_result="${3}" ;;\ 19544\ esac\ 19545\ func_basename_result="${1##*/}"\ 19546} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 19547 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19548 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19549test 0 -eq $? || _lt_function_replace_fail=: 19550 19551 19552 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 19553func_stripname ()\ 19554{\ 19555\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 19556\ # positional parameters, so assign one to ordinary parameter first.\ 19557\ func_stripname_result=${3}\ 19558\ func_stripname_result=${func_stripname_result#"${1}"}\ 19559\ func_stripname_result=${func_stripname_result%"${2}"}\ 19560} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 19561 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19562 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19563test 0 -eq $? || _lt_function_replace_fail=: 19564 19565 19566 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 19567func_split_long_opt ()\ 19568{\ 19569\ func_split_long_opt_name=${1%%=*}\ 19570\ func_split_long_opt_arg=${1#*=}\ 19571} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 19572 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19573 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19574test 0 -eq $? || _lt_function_replace_fail=: 19575 19576 19577 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 19578func_split_short_opt ()\ 19579{\ 19580\ func_split_short_opt_arg=${1#??}\ 19581\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 19582} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 19583 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19584 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19585test 0 -eq $? || _lt_function_replace_fail=: 19586 19587 19588 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 19589func_lo2o ()\ 19590{\ 19591\ case ${1} in\ 19592\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 19593\ *) func_lo2o_result=${1} ;;\ 19594\ esac\ 19595} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 19596 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19597 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19598test 0 -eq $? || _lt_function_replace_fail=: 19599 19600 19601 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 19602func_xform ()\ 19603{\ 19604 func_xform_result=${1%.*}.lo\ 19605} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 19606 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19607 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19608test 0 -eq $? || _lt_function_replace_fail=: 19609 19610 19611 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 19612func_arith ()\ 19613{\ 19614 func_arith_result=$(( $* ))\ 19615} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 19616 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19617 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19618test 0 -eq $? || _lt_function_replace_fail=: 19619 19620 19621 sed -e '/^func_len ()$/,/^} # func_len /c\ 19622func_len ()\ 19623{\ 19624 func_len_result=${#1}\ 19625} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 19626 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19627 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19628test 0 -eq $? || _lt_function_replace_fail=: 19629 19630fi 19631 19632if test x"$lt_shell_append" = xyes; then 19633 sed -e '/^func_append ()$/,/^} # func_append /c\ 19634func_append ()\ 19635{\ 19636 eval "${1}+=\\${2}"\ 19637} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 19638 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19639 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19640test 0 -eq $? || _lt_function_replace_fail=: 19641 19642 19643 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 19644func_append_quoted ()\ 19645{\ 19646\ func_quote_for_eval "${2}"\ 19647\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 19648} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 19649 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19650 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19651test 0 -eq $? || _lt_function_replace_fail=: 19652 19653 19654 # Save a `func_append' function call where possible by direct use of '+=' 19655 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 19656 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19657 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19658 test 0 -eq $? || _lt_function_replace_fail=: 19659else 19660 # Save a `func_append' function call even when '+=' is not available 19661 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 19662 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19663 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19664 test 0 -eq $? || _lt_function_replace_fail=: 19665fi 19666 19667if test x"$_lt_function_replace_fail" = x":"; then 19668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 19669$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 19670fi 19671 19672 19673 mv -f "$cfgfile" "$ofile" || 19674 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 19675 chmod +x "$ofile" 19676 19677 19678 cat <<_LT_EOF >> "$ofile" 19679 19680# ### BEGIN LIBTOOL TAG CONFIG: CXX 19681 19682# The linker used to build libraries. 19683LD=$lt_LD_CXX 19684 19685# How to create reloadable object files. 19686reload_flag=$lt_reload_flag_CXX 19687reload_cmds=$lt_reload_cmds_CXX 19688 19689# Commands used to build an old-style archive. 19690old_archive_cmds=$lt_old_archive_cmds_CXX 19691 19692# A language specific compiler. 19693CC=$lt_compiler_CXX 19694 19695# Is the compiler the GNU compiler? 19696with_gcc=$GCC_CXX 19697 19698# Compiler flag to turn off builtin functions. 19699no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 19700 19701# Additional compiler flags for building library objects. 19702pic_flag=$lt_lt_prog_compiler_pic_CXX 19703 19704# How to pass a linker flag through the compiler. 19705wl=$lt_lt_prog_compiler_wl_CXX 19706 19707# Compiler flag to prevent dynamic linking. 19708link_static_flag=$lt_lt_prog_compiler_static_CXX 19709 19710# Does compiler simultaneously support -c and -o options? 19711compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 19712 19713# Whether or not to add -lc for building shared libraries. 19714build_libtool_need_lc=$archive_cmds_need_lc_CXX 19715 19716# Whether or not to disallow shared libs when runtime libs are static. 19717allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 19718 19719# Compiler flag to allow reflexive dlopens. 19720export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 19721 19722# Compiler flag to generate shared objects directly from archives. 19723whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 19724 19725# Whether the compiler copes with passing no objects directly. 19726compiler_needs_object=$lt_compiler_needs_object_CXX 19727 19728# Create an old-style archive from a shared archive. 19729old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 19730 19731# Create a temporary old-style archive to link instead of a shared archive. 19732old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 19733 19734# Commands used to build a shared archive. 19735archive_cmds=$lt_archive_cmds_CXX 19736archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 19737 19738# Commands used to build a loadable module if different from building 19739# a shared archive. 19740module_cmds=$lt_module_cmds_CXX 19741module_expsym_cmds=$lt_module_expsym_cmds_CXX 19742 19743# Whether we are building with GNU ld or not. 19744with_gnu_ld=$lt_with_gnu_ld_CXX 19745 19746# Flag that allows shared libraries with undefined symbols to be built. 19747allow_undefined_flag=$lt_allow_undefined_flag_CXX 19748 19749# Flag that enforces no undefined symbols. 19750no_undefined_flag=$lt_no_undefined_flag_CXX 19751 19752# Flag to hardcode \$libdir into a binary during linking. 19753# This must work even if \$libdir does not exist 19754hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 19755 19756# Whether we need a single "-rpath" flag with a separated argument. 19757hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 19758 19759# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19760# DIR into the resulting binary. 19761hardcode_direct=$hardcode_direct_CXX 19762 19763# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19764# DIR into the resulting binary and the resulting library dependency is 19765# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 19766# library is relocated. 19767hardcode_direct_absolute=$hardcode_direct_absolute_CXX 19768 19769# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19770# into the resulting binary. 19771hardcode_minus_L=$hardcode_minus_L_CXX 19772 19773# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19774# into the resulting binary. 19775hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 19776 19777# Set to "yes" if building a shared library automatically hardcodes DIR 19778# into the library and all subsequent libraries and executables linked 19779# against it. 19780hardcode_automatic=$hardcode_automatic_CXX 19781 19782# Set to yes if linker adds runtime paths of dependent libraries 19783# to runtime path list. 19784inherit_rpath=$inherit_rpath_CXX 19785 19786# Whether libtool must link a program against all its dependency libraries. 19787link_all_deplibs=$link_all_deplibs_CXX 19788 19789# Set to "yes" if exported symbols are required. 19790always_export_symbols=$always_export_symbols_CXX 19791 19792# The commands to list exported symbols. 19793export_symbols_cmds=$lt_export_symbols_cmds_CXX 19794 19795# Symbols that should not be listed in the preloaded symbols. 19796exclude_expsyms=$lt_exclude_expsyms_CXX 19797 19798# Symbols that must always be exported. 19799include_expsyms=$lt_include_expsyms_CXX 19800 19801# Commands necessary for linking programs (against libraries) with templates. 19802prelink_cmds=$lt_prelink_cmds_CXX 19803 19804# Commands necessary for finishing linking programs. 19805postlink_cmds=$lt_postlink_cmds_CXX 19806 19807# Specify filename containing input files. 19808file_list_spec=$lt_file_list_spec_CXX 19809 19810# How to hardcode a shared library path into an executable. 19811hardcode_action=$hardcode_action_CXX 19812 19813# The directories searched by this compiler when creating a shared library. 19814compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 19815 19816# Dependencies to place before and after the objects being linked to 19817# create a shared library. 19818predep_objects=$lt_predep_objects_CXX 19819postdep_objects=$lt_postdep_objects_CXX 19820predeps=$lt_predeps_CXX 19821postdeps=$lt_postdeps_CXX 19822 19823# The library search path used internally by the compiler when linking 19824# a shared library. 19825compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 19826 19827# ### END LIBTOOL TAG CONFIG: CXX 19828_LT_EOF 19829 19830 ;; 19831 "dddmp/exp/test1.sh":F) chmod +x dddmp/exp/test1.sh ;; 19832 "dddmp/exp/test2.sh":F) chmod +x dddmp/exp/test2.sh ;; 19833 "dddmp/exp/test3.sh":F) chmod +x dddmp/exp/test3.sh ;; 19834 "dddmp/exp/test4.sh":F) chmod +x dddmp/exp/test4.sh ;; 19835 "dddmp/exp/test5.sh":F) chmod +x dddmp/exp/test5.sh ;; 19836 "dddmp/exp/test6.sh":F) chmod +x dddmp/exp/test6.sh ;; 19837 "dddmp/exp/test7.sh":F) chmod +x dddmp/exp/test7.sh ;; 19838 19839 esac 19840done # for ac_tag 19841 19842 19843as_fn_exit 0 19844_ACEOF 19845ac_clean_files=$ac_clean_files_save 19846 19847test $ac_write_fail = 0 || 19848 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 19849 19850 19851# configure is writing to config.log, and then calls config.status. 19852# config.status does its own redirection, appending to config.log. 19853# Unfortunately, on DOS this fails, as config.log is still kept open 19854# by configure, so config.status won't be able to write to it; its 19855# output is simply discarded. So we exec the FD to /dev/null, 19856# effectively closing config.log, so it can be properly (re)opened and 19857# appended to by config.status. When coming back to configure, we 19858# need to make the FD available again. 19859if test "$no_create" != yes; then 19860 ac_cs_success=: 19861 ac_config_status_args= 19862 test "$silent" = yes && 19863 ac_config_status_args="$ac_config_status_args --quiet" 19864 exec 5>/dev/null 19865 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 19866 exec 5>>config.log 19867 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19868 # would make configure fail if this is the last instruction. 19869 $ac_cs_success || as_fn_exit 1 19870fi 19871if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 19872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 19873$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 19874fi 19875 19876 19877echo \ 19878"-------------------------------------------------- 19879Configuration summary for ${PACKAGE_NAME} ${PACKAGE_VERSION} 19880 19881Build system : ${build} 19882Host system : ${host} 19883Prefix : '${prefix}' 19884Compilers : '${CC} ${AM_CPPFLAGS} ${CPPFLAGS} ${AM_CFLAGS} ${CFLAGS}' 19885 : '${CXX} ${AM_CPPFLAGS} ${CPPFLAGS} ${AM_CXXFLAGS} ${CXXFLAGS}' 19886Shared library : ${enable_shared} 19887 dddmp enabled : ${enable_dddmp:-no} 19888 obj enabled : ${enable_obj:-no} 19889--------------------------------------------------" 19890