1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for lmfit 6:1. 4 # 5 # Report bugs to <http://apps.jcns.fz-juelich.de/lmfit>. 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 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if 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 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_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. 45 if 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 --' 49 elif (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' 52 else 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' 72 fi 73 74 # The user is always right. 75 if 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 } 81 fi 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.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 as_myself= 93 case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96 for as_dir in $PATH 97 do 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 102 IFS=$as_save_IFS 103 104 ;; 105 esac 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. 108 if test "x$as_myself" = x; then 109 as_myself=$0 110 fi 111 if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114 fi 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. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export 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. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $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 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if 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 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -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 209 test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212 else 213 as_have_required=no 214 fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217 else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219 as_found=false 220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221 do 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 235 fi 236 fi 237 done;; 238 esac 239 as_found=false 240 done 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 244 fi; } 245 IFS=$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. 254 BASH_ENV=/dev/null 255 ENV=/dev/null 256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257 case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262 esac 263 exec $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 267 exit 255 268 fi 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 (at] gnu.org and 278 $0: http://apps.jcns.fz-juelich.de/lmfit about your system, 279 $0: including any error possibly output before this 280 $0: message. Then install a modern shell, or manually run 281 $0: the script under such a shell if you do have one." 282 fi 283 exit 1 284 fi 285 fi 286 fi 287 SHELL=${CONFIG_SHELL-/bin/sh} 288 export SHELL 289 # Unset more variables known to interfere with behavior of common tools. 290 CLICOLOR_FORCE= GREP_OPTIONS= 291 unset CLICOLOR_FORCE GREP_OPTIONS 292 293 ## --------------------- ## 294 ## M4sh Shell Functions. ## 295 ## --------------------- ## 296 # as_fn_unset VAR 297 # --------------- 298 # Portably unset VAR. 299 as_fn_unset () 300 { 301 { eval $1=; unset $1;} 302 } 303 as_unset=as_fn_unset 304 305 # as_fn_set_status STATUS 306 # ----------------------- 307 # Set $? to STATUS, without forking. 308 as_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. 316 as_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. 326 as_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. 374 as_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. 384 if (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 }' 389 else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394 fi # 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. 401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406 else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411 fi # 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. 419 as_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 430 if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433 else 434 as_expr=false 435 fi 436 437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439 else 440 as_basename=false 441 fi 442 443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445 else 446 as_dirname=false 447 fi 448 449 as_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. 469 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472 as_cr_digits='0123456789' 473 as_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 511 ECHO_C= ECHO_N= ECHO_T= 512 case `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';; 522 esac 523 524 rm -f conf$$ conf$$.exe conf$$.file 525 if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527 else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530 fi 531 if (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 545 else 546 as_ln_s='cp -pR' 547 fi 548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549 rmdir conf$$.dir 2>/dev/null 550 551 if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553 else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556 fi 557 558 as_test_x='test -x' 559 as_executable_p=as_fn_executable_p 560 561 # Sed expression to map a string onto a valid CPP name. 562 as_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. 565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567 SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570 test -n "$DJDIR" || exec 7<&0 </dev/null 571 exec 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. 576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578 # 579 # Initializations. 580 # 581 ac_default_prefix=/usr/local 582 ac_clean_files= 583 ac_config_libobj_dir=. 584 LIBOBJS= 585 cross_compiling=no 586 subdirs= 587 MFLAGS= 588 MAKEFLAGS= 589 590 # Identity of this package. 591 PACKAGE_NAME='lmfit' 592 PACKAGE_TARNAME='lmfit' 593 PACKAGE_VERSION='6:1' 594 PACKAGE_STRING='lmfit 6:1' 595 PACKAGE_BUGREPORT='http://apps.jcns.fz-juelich.de/lmfit' 596 PACKAGE_URL='' 597 598 # Factoring default headers for most tests. 599 ac_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 634 ac_unique_file="lib/lmmin.c" 635 ac_subst_vars='am__EXEEXT_FALSE 636 am__EXEEXT_TRUE 637 LTLIBOBJS 638 LIBOBJS 639 AM_CFLAGS 640 MAINT 641 MAINTAINER_MODE_FALSE 642 MAINTAINER_MODE_TRUE 643 CPP 644 OTOOL64 645 OTOOL 646 LIPO 647 NMEDIT 648 DSYMUTIL 649 MANIFEST_TOOL 650 RANLIB 651 ac_ct_AR 652 AR 653 DLLTOOL 654 OBJDUMP 655 LN_S 656 NM 657 ac_ct_DUMPBIN 658 DUMPBIN 659 LD 660 FGREP 661 EGREP 662 GREP 663 SED 664 am__fastdepCC_FALSE 665 am__fastdepCC_TRUE 666 CCDEPMODE 667 am__nodep 668 AMDEPBACKSLASH 669 AMDEP_FALSE 670 AMDEP_TRUE 671 am__quote 672 am__include 673 DEPDIR 674 OBJEXT 675 EXEEXT 676 ac_ct_CC 677 CPPFLAGS 678 LDFLAGS 679 CFLAGS 680 CC 681 host_os 682 host_vendor 683 host_cpu 684 host 685 build_os 686 build_vendor 687 build_cpu 688 build 689 LIBTOOL 690 AM_BACKSLASH 691 AM_DEFAULT_VERBOSITY 692 AM_DEFAULT_V 693 AM_V 694 am__untar 695 am__tar 696 AMTAR 697 am__leading_dot 698 SET_MAKE 699 AWK 700 mkdir_p 701 MKDIR_P 702 INSTALL_STRIP_PROGRAM 703 STRIP 704 install_sh 705 MAKEINFO 706 AUTOHEADER 707 AUTOMAKE 708 AUTOCONF 709 ACLOCAL 710 VERSION 711 PACKAGE 712 CYGPATH_W 713 am__isrc 714 INSTALL_DATA 715 INSTALL_SCRIPT 716 INSTALL_PROGRAM 717 target_alias 718 host_alias 719 build_alias 720 LIBS 721 ECHO_T 722 ECHO_N 723 ECHO_C 724 DEFS 725 mandir 726 localedir 727 libdir 728 psdir 729 pdfdir 730 dvidir 731 htmldir 732 infodir 733 docdir 734 oldincludedir 735 includedir 736 runstatedir 737 localstatedir 738 sharedstatedir 739 sysconfdir 740 datadir 741 datarootdir 742 libexecdir 743 sbindir 744 bindir 745 program_transform_name 746 prefix 747 exec_prefix 748 PACKAGE_URL 749 PACKAGE_BUGREPORT 750 PACKAGE_STRING 751 PACKAGE_VERSION 752 PACKAGE_TARNAME 753 PACKAGE_NAME 754 PATH_SEPARATOR 755 SHELL' 756 ac_subst_files='' 757 ac_user_opts=' 758 enable_option_checking 759 enable_silent_rules 760 enable_static 761 enable_shared 762 with_pic 763 enable_fast_install 764 enable_dependency_tracking 765 with_gnu_ld 766 with_sysroot 767 enable_libtool_lock 768 enable_maintainer_mode 769 ' 770 ac_precious_vars='build_alias 771 host_alias 772 target_alias 773 CC 774 CFLAGS 775 LDFLAGS 776 LIBS 777 CPPFLAGS 778 CPP' 779 780 781 # Initialize some variables set by options. 782 ac_init_help= 783 ac_init_version=false 784 ac_unrecognized_opts= 785 ac_unrecognized_sep= 786 # The variables have the same names as the options, with 787 # dashes changed to underlines. 788 cache_file=/dev/null 789 exec_prefix=NONE 790 no_create= 791 no_recursion= 792 prefix=NONE 793 program_prefix=NONE 794 program_suffix=NONE 795 program_transform_name=s,x,x, 796 silent= 797 site= 798 srcdir= 799 verbose= 800 x_includes=NONE 801 x_libraries=NONE 802 803 # Installation directory options. 804 # These are left unexpanded so users can "make install exec_prefix=/foo" 805 # and all the variables that are supposed to be based on exec_prefix 806 # by default will actually change. 807 # Use braces instead of parens because sh, perl, etc. also accept them. 808 # (The list follows the same order as the GNU Coding Standards.) 809 bindir='${exec_prefix}/bin' 810 sbindir='${exec_prefix}/sbin' 811 libexecdir='${exec_prefix}/libexec' 812 datarootdir='${prefix}/share' 813 datadir='${datarootdir}' 814 sysconfdir='${prefix}/etc' 815 sharedstatedir='${prefix}/com' 816 localstatedir='${prefix}/var' 817 runstatedir='${localstatedir}/run' 818 includedir='${prefix}/include' 819 oldincludedir='/usr/include' 820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 821 infodir='${datarootdir}/info' 822 htmldir='${docdir}' 823 dvidir='${docdir}' 824 pdfdir='${docdir}' 825 psdir='${docdir}' 826 libdir='${exec_prefix}/lib' 827 localedir='${datarootdir}/locale' 828 mandir='${datarootdir}/man' 829 830 ac_prev= 831 ac_dashdash= 832 for ac_option 833 do 834 # If the previous option needs an argument, assign it. 835 if test -n "$ac_prev"; then 836 eval $ac_prev=\$ac_option 837 ac_prev= 838 continue 839 fi 840 841 case $ac_option in 842 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 843 *=) ac_optarg= ;; 844 *) ac_optarg=yes ;; 845 esac 846 847 # Accept the important Cygnus configure options, so we can diagnose typos. 848 849 case $ac_dashdash$ac_option in 850 --) 851 ac_dashdash=yes ;; 852 853 -bindir | --bindir | --bindi | --bind | --bin | --bi) 854 ac_prev=bindir ;; 855 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 856 bindir=$ac_optarg ;; 857 858 -build | --build | --buil | --bui | --bu) 859 ac_prev=build_alias ;; 860 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 861 build_alias=$ac_optarg ;; 862 863 -cache-file | --cache-file | --cache-fil | --cache-fi \ 864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 865 ac_prev=cache_file ;; 866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 868 cache_file=$ac_optarg ;; 869 870 --config-cache | -C) 871 cache_file=config.cache ;; 872 873 -datadir | --datadir | --datadi | --datad) 874 ac_prev=datadir ;; 875 -datadir=* | --datadir=* | --datadi=* | --datad=*) 876 datadir=$ac_optarg ;; 877 878 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 879 | --dataroo | --dataro | --datar) 880 ac_prev=datarootdir ;; 881 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 882 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 883 datarootdir=$ac_optarg ;; 884 885 -disable-* | --disable-*) 886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 887 # Reject names that are not valid shell variable names. 888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 889 as_fn_error $? "invalid feature name: $ac_useropt" 890 ac_useropt_orig=$ac_useropt 891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 892 case $ac_user_opts in 893 *" 894 "enable_$ac_useropt" 895 "*) ;; 896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 897 ac_unrecognized_sep=', ';; 898 esac 899 eval enable_$ac_useropt=no ;; 900 901 -docdir | --docdir | --docdi | --doc | --do) 902 ac_prev=docdir ;; 903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 904 docdir=$ac_optarg ;; 905 906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 907 ac_prev=dvidir ;; 908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 909 dvidir=$ac_optarg ;; 910 911 -enable-* | --enable-*) 912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 913 # Reject names that are not valid shell variable names. 914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 915 as_fn_error $? "invalid feature name: $ac_useropt" 916 ac_useropt_orig=$ac_useropt 917 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 918 case $ac_user_opts in 919 *" 920 "enable_$ac_useropt" 921 "*) ;; 922 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 923 ac_unrecognized_sep=', ';; 924 esac 925 eval enable_$ac_useropt=\$ac_optarg ;; 926 927 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 928 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 929 | --exec | --exe | --ex) 930 ac_prev=exec_prefix ;; 931 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 932 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 933 | --exec=* | --exe=* | --ex=*) 934 exec_prefix=$ac_optarg ;; 935 936 -gas | --gas | --ga | --g) 937 # Obsolete; use --with-gas. 938 with_gas=yes ;; 939 940 -help | --help | --hel | --he | -h) 941 ac_init_help=long ;; 942 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 943 ac_init_help=recursive ;; 944 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 945 ac_init_help=short ;; 946 947 -host | --host | --hos | --ho) 948 ac_prev=host_alias ;; 949 -host=* | --host=* | --hos=* | --ho=*) 950 host_alias=$ac_optarg ;; 951 952 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 953 ac_prev=htmldir ;; 954 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 955 | --ht=*) 956 htmldir=$ac_optarg ;; 957 958 -includedir | --includedir | --includedi | --included | --include \ 959 | --includ | --inclu | --incl | --inc) 960 ac_prev=includedir ;; 961 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 962 | --includ=* | --inclu=* | --incl=* | --inc=*) 963 includedir=$ac_optarg ;; 964 965 -infodir | --infodir | --infodi | --infod | --info | --inf) 966 ac_prev=infodir ;; 967 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 968 infodir=$ac_optarg ;; 969 970 -libdir | --libdir | --libdi | --libd) 971 ac_prev=libdir ;; 972 -libdir=* | --libdir=* | --libdi=* | --libd=*) 973 libdir=$ac_optarg ;; 974 975 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 976 | --libexe | --libex | --libe) 977 ac_prev=libexecdir ;; 978 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 979 | --libexe=* | --libex=* | --libe=*) 980 libexecdir=$ac_optarg ;; 981 982 -localedir | --localedir | --localedi | --localed | --locale) 983 ac_prev=localedir ;; 984 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 985 localedir=$ac_optarg ;; 986 987 -localstatedir | --localstatedir | --localstatedi | --localstated \ 988 | --localstate | --localstat | --localsta | --localst | --locals) 989 ac_prev=localstatedir ;; 990 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 991 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 992 localstatedir=$ac_optarg ;; 993 994 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 995 ac_prev=mandir ;; 996 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 997 mandir=$ac_optarg ;; 998 999 -nfp | --nfp | --nf) 1000 # Obsolete; use --without-fp. 1001 with_fp=no ;; 1002 1003 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1004 | --no-cr | --no-c | -n) 1005 no_create=yes ;; 1006 1007 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1008 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1009 no_recursion=yes ;; 1010 1011 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1012 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1013 | --oldin | --oldi | --old | --ol | --o) 1014 ac_prev=oldincludedir ;; 1015 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1016 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1017 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1018 oldincludedir=$ac_optarg ;; 1019 1020 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1021 ac_prev=prefix ;; 1022 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1023 prefix=$ac_optarg ;; 1024 1025 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1026 | --program-pre | --program-pr | --program-p) 1027 ac_prev=program_prefix ;; 1028 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1029 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1030 program_prefix=$ac_optarg ;; 1031 1032 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1033 | --program-suf | --program-su | --program-s) 1034 ac_prev=program_suffix ;; 1035 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1036 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1037 program_suffix=$ac_optarg ;; 1038 1039 -program-transform-name | --program-transform-name \ 1040 | --program-transform-nam | --program-transform-na \ 1041 | --program-transform-n | --program-transform- \ 1042 | --program-transform | --program-transfor \ 1043 | --program-transfo | --program-transf \ 1044 | --program-trans | --program-tran \ 1045 | --progr-tra | --program-tr | --program-t) 1046 ac_prev=program_transform_name ;; 1047 -program-transform-name=* | --program-transform-name=* \ 1048 | --program-transform-nam=* | --program-transform-na=* \ 1049 | --program-transform-n=* | --program-transform-=* \ 1050 | --program-transform=* | --program-transfor=* \ 1051 | --program-transfo=* | --program-transf=* \ 1052 | --program-trans=* | --program-tran=* \ 1053 | --progr-tra=* | --program-tr=* | --program-t=*) 1054 program_transform_name=$ac_optarg ;; 1055 1056 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1057 ac_prev=pdfdir ;; 1058 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1059 pdfdir=$ac_optarg ;; 1060 1061 -psdir | --psdir | --psdi | --psd | --ps) 1062 ac_prev=psdir ;; 1063 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1064 psdir=$ac_optarg ;; 1065 1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1067 | -silent | --silent | --silen | --sile | --sil) 1068 silent=yes ;; 1069 1070 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1071 | --runstate | --runstat | --runsta | --runst | --runs \ 1072 | --run | --ru | --r) 1073 ac_prev=runstatedir ;; 1074 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1075 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1076 | --run=* | --ru=* | --r=*) 1077 runstatedir=$ac_optarg ;; 1078 1079 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1080 ac_prev=sbindir ;; 1081 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1082 | --sbi=* | --sb=*) 1083 sbindir=$ac_optarg ;; 1084 1085 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1086 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1087 | --sharedst | --shareds | --shared | --share | --shar \ 1088 | --sha | --sh) 1089 ac_prev=sharedstatedir ;; 1090 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1091 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1092 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1093 | --sha=* | --sh=*) 1094 sharedstatedir=$ac_optarg ;; 1095 1096 -site | --site | --sit) 1097 ac_prev=site ;; 1098 -site=* | --site=* | --sit=*) 1099 site=$ac_optarg ;; 1100 1101 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1102 ac_prev=srcdir ;; 1103 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1104 srcdir=$ac_optarg ;; 1105 1106 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1107 | --syscon | --sysco | --sysc | --sys | --sy) 1108 ac_prev=sysconfdir ;; 1109 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1110 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1111 sysconfdir=$ac_optarg ;; 1112 1113 -target | --target | --targe | --targ | --tar | --ta | --t) 1114 ac_prev=target_alias ;; 1115 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1116 target_alias=$ac_optarg ;; 1117 1118 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1119 verbose=yes ;; 1120 1121 -version | --version | --versio | --versi | --vers | -V) 1122 ac_init_version=: ;; 1123 1124 -with-* | --with-*) 1125 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1126 # Reject names that are not valid shell variable names. 1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1128 as_fn_error $? "invalid package name: $ac_useropt" 1129 ac_useropt_orig=$ac_useropt 1130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1131 case $ac_user_opts in 1132 *" 1133 "with_$ac_useropt" 1134 "*) ;; 1135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1136 ac_unrecognized_sep=', ';; 1137 esac 1138 eval with_$ac_useropt=\$ac_optarg ;; 1139 1140 -without-* | --without-*) 1141 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 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--without-$ac_useropt_orig" 1152 ac_unrecognized_sep=', ';; 1153 esac 1154 eval with_$ac_useropt=no ;; 1155 1156 --x) 1157 # Obsolete; use --with-x. 1158 with_x=yes ;; 1159 1160 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1161 | --x-incl | --x-inc | --x-in | --x-i) 1162 ac_prev=x_includes ;; 1163 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1164 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1165 x_includes=$ac_optarg ;; 1166 1167 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1168 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1169 ac_prev=x_libraries ;; 1170 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1171 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1172 x_libraries=$ac_optarg ;; 1173 1174 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1175 Try \`$0 --help' for more information" 1176 ;; 1177 1178 *=*) 1179 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1180 # Reject names that are not valid shell variable names. 1181 case $ac_envvar in #( 1182 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1183 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1184 esac 1185 eval $ac_envvar=\$ac_optarg 1186 export $ac_envvar ;; 1187 1188 *) 1189 # FIXME: should be removed in autoconf 3.0. 1190 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1192 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1193 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1194 ;; 1195 1196 esac 1197 done 1198 1199 if test -n "$ac_prev"; then 1200 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1201 as_fn_error $? "missing argument to $ac_option" 1202 fi 1203 1204 if test -n "$ac_unrecognized_opts"; then 1205 case $enable_option_checking in 1206 no) ;; 1207 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1208 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1209 esac 1210 fi 1211 1212 # Check all directory arguments for consistency. 1213 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1214 datadir sysconfdir sharedstatedir localstatedir includedir \ 1215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1216 libdir localedir mandir runstatedir 1217 do 1218 eval ac_val=\$$ac_var 1219 # Remove trailing slashes. 1220 case $ac_val in 1221 */ ) 1222 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1223 eval $ac_var=\$ac_val;; 1224 esac 1225 # Be sure to have absolute directory names. 1226 case $ac_val in 1227 [\\/$]* | ?:[\\/]* ) continue;; 1228 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1229 esac 1230 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1231 done 1232 1233 # There might be people who depend on the old broken behavior: `$host' 1234 # used to hold the argument of --host etc. 1235 # FIXME: To remove some day. 1236 build=$build_alias 1237 host=$host_alias 1238 target=$target_alias 1239 1240 # FIXME: To remove some day. 1241 if test "x$host_alias" != x; then 1242 if test "x$build_alias" = x; then 1243 cross_compiling=maybe 1244 elif test "x$build_alias" != "x$host_alias"; then 1245 cross_compiling=yes 1246 fi 1247 fi 1248 1249 ac_tool_prefix= 1250 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1251 1252 test "$silent" = yes && exec 6>/dev/null 1253 1254 1255 ac_pwd=`pwd` && test -n "$ac_pwd" && 1256 ac_ls_di=`ls -di .` && 1257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1258 as_fn_error $? "working directory cannot be determined" 1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1260 as_fn_error $? "pwd does not report name of working directory" 1261 1262 1263 # Find the source files, if location was not specified. 1264 if test -z "$srcdir"; then 1265 ac_srcdir_defaulted=yes 1266 # Try the directory containing this script, then the parent directory. 1267 ac_confdir=`$as_dirname -- "$as_myself" || 1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1269 X"$as_myself" : 'X\(//\)[^/]' \| \ 1270 X"$as_myself" : 'X\(//\)$' \| \ 1271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1272 $as_echo X"$as_myself" | 1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1274 s//\1/ 1275 q 1276 } 1277 /^X\(\/\/\)[^/].*/{ 1278 s//\1/ 1279 q 1280 } 1281 /^X\(\/\/\)$/{ 1282 s//\1/ 1283 q 1284 } 1285 /^X\(\/\).*/{ 1286 s//\1/ 1287 q 1288 } 1289 s/.*/./; q'` 1290 srcdir=$ac_confdir 1291 if test ! -r "$srcdir/$ac_unique_file"; then 1292 srcdir=.. 1293 fi 1294 else 1295 ac_srcdir_defaulted=no 1296 fi 1297 if test ! -r "$srcdir/$ac_unique_file"; then 1298 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1299 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1300 fi 1301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1302 ac_abs_confdir=`( 1303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1304 pwd)` 1305 # When building in place, set srcdir=. 1306 if test "$ac_abs_confdir" = "$ac_pwd"; then 1307 srcdir=. 1308 fi 1309 # Remove unnecessary trailing slashes from srcdir. 1310 # Double slashes in file names in object file debugging info 1311 # mess up M-x gdb in Emacs. 1312 case $srcdir in 1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1314 esac 1315 for ac_var in $ac_precious_vars; do 1316 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1317 eval ac_env_${ac_var}_value=\$${ac_var} 1318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1319 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1320 done 1321 1322 # 1323 # Report the --help message. 1324 # 1325 if test "$ac_init_help" = "long"; then 1326 # Omit some internal or obsolete options to make the list less imposing. 1327 # This message is too long to be a string in the A/UX 3.1 sh. 1328 cat <<_ACEOF 1329 \`configure' configures lmfit 6:1 to adapt to many kinds of systems. 1330 1331 Usage: $0 [OPTION]... [VAR=VALUE]... 1332 1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1334 VAR=VALUE. See below for descriptions of some of the useful variables. 1335 1336 Defaults for the options are specified in brackets. 1337 1338 Configuration: 1339 -h, --help display this help and exit 1340 --help=short display options specific to this package 1341 --help=recursive display the short help of all the included packages 1342 -V, --version display version information and exit 1343 -q, --quiet, --silent do not print \`checking ...' messages 1344 --cache-file=FILE cache test results in FILE [disabled] 1345 -C, --config-cache alias for \`--cache-file=config.cache' 1346 -n, --no-create do not create output files 1347 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1348 1349 Installation directories: 1350 --prefix=PREFIX install architecture-independent files in PREFIX 1351 [$ac_default_prefix] 1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1353 [PREFIX] 1354 1355 By default, \`make install' will install all the files in 1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1358 for instance \`--prefix=\$HOME'. 1359 1360 For better control, use the options below. 1361 1362 Fine tuning of the installation directories: 1363 --bindir=DIR user executables [EPREFIX/bin] 1364 --sbindir=DIR system admin executables [EPREFIX/sbin] 1365 --libexecdir=DIR program executables [EPREFIX/libexec] 1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1369 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1370 --libdir=DIR object code libraries [EPREFIX/lib] 1371 --includedir=DIR C header files [PREFIX/include] 1372 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1375 --infodir=DIR info documentation [DATAROOTDIR/info] 1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1377 --mandir=DIR man documentation [DATAROOTDIR/man] 1378 --docdir=DIR documentation root [DATAROOTDIR/doc/lmfit] 1379 --htmldir=DIR html documentation [DOCDIR] 1380 --dvidir=DIR dvi documentation [DOCDIR] 1381 --pdfdir=DIR pdf documentation [DOCDIR] 1382 --psdir=DIR ps documentation [DOCDIR] 1383 _ACEOF 1384 1385 cat <<\_ACEOF 1386 1387 Program names: 1388 --program-prefix=PREFIX prepend PREFIX to installed program names 1389 --program-suffix=SUFFIX append SUFFIX to installed program names 1390 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1391 1392 System types: 1393 --build=BUILD configure for building on BUILD [guessed] 1394 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1395 _ACEOF 1396 fi 1397 1398 if test -n "$ac_init_help"; then 1399 case $ac_init_help in 1400 short | recursive ) echo "Configuration of lmfit 6:1:";; 1401 esac 1402 cat <<\_ACEOF 1403 1404 Optional Features: 1405 --disable-option-checking ignore unrecognized --enable/--with options 1406 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1407 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1408 --enable-silent-rules less verbose build output (undo: "make V=1") 1409 --disable-silent-rules verbose build output (undo: "make V=0") 1410 --enable-static[=PKGS] build static libraries [default=no] 1411 --enable-shared[=PKGS] build shared libraries [default=yes] 1412 --enable-fast-install[=PKGS] 1413 optimize for fast installation [default=yes] 1414 --enable-dependency-tracking 1415 do not reject slow dependency extractors 1416 --disable-dependency-tracking 1417 speeds up one-time build 1418 --disable-libtool-lock avoid locking (might break parallel builds) 1419 --enable-maintainer-mode 1420 enable make rules and dependencies not useful (and 1421 sometimes confusing) to the casual installer 1422 1423 Optional Packages: 1424 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1425 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1426 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1427 both] 1428 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1429 --with-sysroot=DIR Search for dependent libraries within DIR 1430 (or the compiler's sysroot if not specified). 1431 1432 Some influential environment variables: 1433 CC C compiler command 1434 CFLAGS C compiler flags 1435 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1436 nonstandard directory <lib dir> 1437 LIBS libraries to pass to the linker, e.g. -l<library> 1438 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1439 you have headers in a nonstandard directory <include dir> 1440 CPP C preprocessor 1441 1442 Use these variables to override the choices made by `configure' or to help 1443 it to find libraries and programs with nonstandard names/locations. 1444 1445 Report bugs to <http://apps.jcns.fz-juelich.de/lmfit>. 1446 _ACEOF 1447 ac_status=$? 1448 fi 1449 1450 if test "$ac_init_help" = "recursive"; then 1451 # If there are subdirs, report their specific --help. 1452 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1453 test -d "$ac_dir" || 1454 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1455 continue 1456 ac_builddir=. 1457 1458 case "$ac_dir" in 1459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1460 *) 1461 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1462 # A ".." for each directory in $ac_dir_suffix. 1463 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1464 case $ac_top_builddir_sub in 1465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1466 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1467 esac ;; 1468 esac 1469 ac_abs_top_builddir=$ac_pwd 1470 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1471 # for backward compatibility: 1472 ac_top_builddir=$ac_top_build_prefix 1473 1474 case $srcdir in 1475 .) # We are building in place. 1476 ac_srcdir=. 1477 ac_top_srcdir=$ac_top_builddir_sub 1478 ac_abs_top_srcdir=$ac_pwd ;; 1479 [\\/]* | ?:[\\/]* ) # Absolute name. 1480 ac_srcdir=$srcdir$ac_dir_suffix; 1481 ac_top_srcdir=$srcdir 1482 ac_abs_top_srcdir=$srcdir ;; 1483 *) # Relative name. 1484 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1485 ac_top_srcdir=$ac_top_build_prefix$srcdir 1486 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1487 esac 1488 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1489 1490 cd "$ac_dir" || { ac_status=$?; continue; } 1491 # Check for guested configure. 1492 if test -f "$ac_srcdir/configure.gnu"; then 1493 echo && 1494 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1495 elif test -f "$ac_srcdir/configure"; then 1496 echo && 1497 $SHELL "$ac_srcdir/configure" --help=recursive 1498 else 1499 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1500 fi || ac_status=$? 1501 cd "$ac_pwd" || { ac_status=$?; break; } 1502 done 1503 fi 1504 1505 test -n "$ac_init_help" && exit $ac_status 1506 if $ac_init_version; then 1507 cat <<\_ACEOF 1508 lmfit configure 6:1 1509 generated by GNU Autoconf 2.69 1510 1511 Copyright (C) 2012 Free Software Foundation, Inc. 1512 This configure script is free software; the Free Software Foundation 1513 gives unlimited permission to copy, distribute and modify it. 1514 _ACEOF 1515 exit 1516 fi 1517 1518 ## ------------------------ ## 1519 ## Autoconf initialization. ## 1520 ## ------------------------ ## 1521 1522 # ac_fn_c_try_compile LINENO 1523 # -------------------------- 1524 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1525 ac_fn_c_try_compile () 1526 { 1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1528 rm -f conftest.$ac_objext 1529 if { { ac_try="$ac_compile" 1530 case "(($ac_try" in 1531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1532 *) ac_try_echo=$ac_try;; 1533 esac 1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1535 $as_echo "$ac_try_echo"; } >&5 1536 (eval "$ac_compile") 2>conftest.err 1537 ac_status=$? 1538 if test -s conftest.err; then 1539 grep -v '^ *+' conftest.err >conftest.er1 1540 cat conftest.er1 >&5 1541 mv -f conftest.er1 conftest.err 1542 fi 1543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1544 test $ac_status = 0; } && { 1545 test -z "$ac_c_werror_flag" || 1546 test ! -s conftest.err 1547 } && test -s conftest.$ac_objext; then : 1548 ac_retval=0 1549 else 1550 $as_echo "$as_me: failed program was:" >&5 1551 sed 's/^/| /' conftest.$ac_ext >&5 1552 1553 ac_retval=1 1554 fi 1555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1556 as_fn_set_status $ac_retval 1557 1558 } # ac_fn_c_try_compile 1559 1560 # ac_fn_c_try_link LINENO 1561 # ----------------------- 1562 # Try to link conftest.$ac_ext, and return whether this succeeded. 1563 ac_fn_c_try_link () 1564 { 1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1566 rm -f conftest.$ac_objext conftest$ac_exeext 1567 if { { ac_try="$ac_link" 1568 case "(($ac_try" in 1569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1570 *) ac_try_echo=$ac_try;; 1571 esac 1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1573 $as_echo "$ac_try_echo"; } >&5 1574 (eval "$ac_link") 2>conftest.err 1575 ac_status=$? 1576 if test -s conftest.err; then 1577 grep -v '^ *+' conftest.err >conftest.er1 1578 cat conftest.er1 >&5 1579 mv -f conftest.er1 conftest.err 1580 fi 1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1582 test $ac_status = 0; } && { 1583 test -z "$ac_c_werror_flag" || 1584 test ! -s conftest.err 1585 } && test -s conftest$ac_exeext && { 1586 test "$cross_compiling" = yes || 1587 test -x conftest$ac_exeext 1588 }; then : 1589 ac_retval=0 1590 else 1591 $as_echo "$as_me: failed program was:" >&5 1592 sed 's/^/| /' conftest.$ac_ext >&5 1593 1594 ac_retval=1 1595 fi 1596 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1597 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1598 # interfere with the next link command; also delete a directory that is 1599 # left behind by Apple's compiler. We do this before executing the actions. 1600 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1602 as_fn_set_status $ac_retval 1603 1604 } # ac_fn_c_try_link 1605 1606 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1607 # ------------------------------------------------------- 1608 # Tests whether HEADER exists and can be compiled using the include files in 1609 # INCLUDES, setting the cache variable VAR accordingly. 1610 ac_fn_c_check_header_compile () 1611 { 1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1614 $as_echo_n "checking for $2... " >&6; } 1615 if eval \${$3+:} false; then : 1616 $as_echo_n "(cached) " >&6 1617 else 1618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1619 /* end confdefs.h. */ 1620 $4 1621 #include <$2> 1622 _ACEOF 1623 if ac_fn_c_try_compile "$LINENO"; then : 1624 eval "$3=yes" 1625 else 1626 eval "$3=no" 1627 fi 1628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1629 fi 1630 eval ac_res=\$$3 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1632 $as_echo "$ac_res" >&6; } 1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1634 1635 } # ac_fn_c_check_header_compile 1636 1637 # ac_fn_c_try_cpp LINENO 1638 # ---------------------- 1639 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1640 ac_fn_c_try_cpp () 1641 { 1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1643 if { { ac_try="$ac_cpp conftest.$ac_ext" 1644 case "(($ac_try" in 1645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1646 *) ac_try_echo=$ac_try;; 1647 esac 1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1649 $as_echo "$ac_try_echo"; } >&5 1650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1651 ac_status=$? 1652 if test -s conftest.err; then 1653 grep -v '^ *+' conftest.err >conftest.er1 1654 cat conftest.er1 >&5 1655 mv -f conftest.er1 conftest.err 1656 fi 1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1658 test $ac_status = 0; } > conftest.i && { 1659 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1660 test ! -s conftest.err 1661 }; then : 1662 ac_retval=0 1663 else 1664 $as_echo "$as_me: failed program was:" >&5 1665 sed 's/^/| /' conftest.$ac_ext >&5 1666 1667 ac_retval=1 1668 fi 1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1670 as_fn_set_status $ac_retval 1671 1672 } # ac_fn_c_try_cpp 1673 1674 # ac_fn_c_try_run LINENO 1675 # ---------------------- 1676 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1677 # that executables *can* be run. 1678 ac_fn_c_try_run () 1679 { 1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1681 if { { ac_try="$ac_link" 1682 case "(($ac_try" in 1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1684 *) ac_try_echo=$ac_try;; 1685 esac 1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1687 $as_echo "$ac_try_echo"; } >&5 1688 (eval "$ac_link") 2>&5 1689 ac_status=$? 1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1691 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1692 { { case "(($ac_try" in 1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1694 *) ac_try_echo=$ac_try;; 1695 esac 1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1697 $as_echo "$ac_try_echo"; } >&5 1698 (eval "$ac_try") 2>&5 1699 ac_status=$? 1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1701 test $ac_status = 0; }; }; then : 1702 ac_retval=0 1703 else 1704 $as_echo "$as_me: program exited with status $ac_status" >&5 1705 $as_echo "$as_me: failed program was:" >&5 1706 sed 's/^/| /' conftest.$ac_ext >&5 1707 1708 ac_retval=$ac_status 1709 fi 1710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1712 as_fn_set_status $ac_retval 1713 1714 } # ac_fn_c_try_run 1715 1716 # ac_fn_c_check_func LINENO FUNC VAR 1717 # ---------------------------------- 1718 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1719 ac_fn_c_check_func () 1720 { 1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1723 $as_echo_n "checking for $2... " >&6; } 1724 if eval \${$3+:} false; then : 1725 $as_echo_n "(cached) " >&6 1726 else 1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1728 /* end confdefs.h. */ 1729 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1730 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1731 #define $2 innocuous_$2 1732 1733 /* System header to define __stub macros and hopefully few prototypes, 1734 which can conflict with char $2 (); below. 1735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1736 <limits.h> exists even on freestanding compilers. */ 1737 1738 #ifdef __STDC__ 1739 # include <limits.h> 1740 #else 1741 # include <assert.h> 1742 #endif 1743 1744 #undef $2 1745 1746 /* Override any GCC internal prototype to avoid an error. 1747 Use char because int might match the return type of a GCC 1748 builtin and then its argument prototype would still apply. */ 1749 #ifdef __cplusplus 1750 extern "C" 1751 #endif 1752 char $2 (); 1753 /* The GNU C library defines this for functions which it implements 1754 to always fail with ENOSYS. Some functions are actually named 1755 something starting with __ and the normal name is an alias. */ 1756 #if defined __stub_$2 || defined __stub___$2 1757 choke me 1758 #endif 1759 1760 int 1761 main () 1762 { 1763 return $2 (); 1764 ; 1765 return 0; 1766 } 1767 _ACEOF 1768 if ac_fn_c_try_link "$LINENO"; then : 1769 eval "$3=yes" 1770 else 1771 eval "$3=no" 1772 fi 1773 rm -f core conftest.err conftest.$ac_objext \ 1774 conftest$ac_exeext conftest.$ac_ext 1775 fi 1776 eval ac_res=\$$3 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1778 $as_echo "$ac_res" >&6; } 1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1780 1781 } # ac_fn_c_check_func 1782 cat >config.log <<_ACEOF 1783 This file contains any messages produced by compilers while 1784 running configure, to aid debugging if configure makes a mistake. 1785 1786 It was created by lmfit $as_me 6:1, which was 1787 generated by GNU Autoconf 2.69. Invocation command line was 1788 1789 $ $0 $@ 1790 1791 _ACEOF 1792 exec 5>>config.log 1793 { 1794 cat <<_ASUNAME 1795 ## --------- ## 1796 ## Platform. ## 1797 ## --------- ## 1798 1799 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1800 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1801 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1802 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1803 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1804 1805 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1806 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1807 1808 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1809 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1810 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1811 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1812 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1813 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1814 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1815 1816 _ASUNAME 1817 1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1819 for as_dir in $PATH 1820 do 1821 IFS=$as_save_IFS 1822 test -z "$as_dir" && as_dir=. 1823 $as_echo "PATH: $as_dir" 1824 done 1825 IFS=$as_save_IFS 1826 1827 } >&5 1828 1829 cat >&5 <<_ACEOF 1830 1831 1832 ## ----------- ## 1833 ## Core tests. ## 1834 ## ----------- ## 1835 1836 _ACEOF 1837 1838 1839 # Keep a trace of the command line. 1840 # Strip out --no-create and --no-recursion so they do not pile up. 1841 # Strip out --silent because we don't want to record it for future runs. 1842 # Also quote any args containing shell meta-characters. 1843 # Make two passes to allow for proper duplicate-argument suppression. 1844 ac_configure_args= 1845 ac_configure_args0= 1846 ac_configure_args1= 1847 ac_must_keep_next=false 1848 for ac_pass in 1 2 1849 do 1850 for ac_arg 1851 do 1852 case $ac_arg in 1853 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1854 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1855 | -silent | --silent | --silen | --sile | --sil) 1856 continue ;; 1857 *\'*) 1858 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1859 esac 1860 case $ac_pass in 1861 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1862 2) 1863 as_fn_append ac_configure_args1 " '$ac_arg'" 1864 if test $ac_must_keep_next = true; then 1865 ac_must_keep_next=false # Got value, back to normal. 1866 else 1867 case $ac_arg in 1868 *=* | --config-cache | -C | -disable-* | --disable-* \ 1869 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1870 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1871 | -with-* | --with-* | -without-* | --without-* | --x) 1872 case "$ac_configure_args0 " in 1873 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1874 esac 1875 ;; 1876 -* ) ac_must_keep_next=true ;; 1877 esac 1878 fi 1879 as_fn_append ac_configure_args " '$ac_arg'" 1880 ;; 1881 esac 1882 done 1883 done 1884 { ac_configure_args0=; unset ac_configure_args0;} 1885 { ac_configure_args1=; unset ac_configure_args1;} 1886 1887 # When interrupted or exit'd, cleanup temporary files, and complete 1888 # config.log. We remove comments because anyway the quotes in there 1889 # would cause problems or look ugly. 1890 # WARNING: Use '\'' to represent an apostrophe within the trap. 1891 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1892 trap 'exit_status=$? 1893 # Save into config.log some information that might help in debugging. 1894 { 1895 echo 1896 1897 $as_echo "## ---------------- ## 1898 ## Cache variables. ## 1899 ## ---------------- ##" 1900 echo 1901 # The following way of writing the cache mishandles newlines in values, 1902 ( 1903 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1904 eval ac_val=\$$ac_var 1905 case $ac_val in #( 1906 *${as_nl}*) 1907 case $ac_var in #( 1908 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1909 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1910 esac 1911 case $ac_var in #( 1912 _ | IFS | as_nl) ;; #( 1913 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1914 *) { eval $ac_var=; unset $ac_var;} ;; 1915 esac ;; 1916 esac 1917 done 1918 (set) 2>&1 | 1919 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1920 *${as_nl}ac_space=\ *) 1921 sed -n \ 1922 "s/'\''/'\''\\\\'\'''\''/g; 1923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1924 ;; #( 1925 *) 1926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1927 ;; 1928 esac | 1929 sort 1930 ) 1931 echo 1932 1933 $as_echo "## ----------------- ## 1934 ## Output variables. ## 1935 ## ----------------- ##" 1936 echo 1937 for ac_var in $ac_subst_vars 1938 do 1939 eval ac_val=\$$ac_var 1940 case $ac_val in 1941 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1942 esac 1943 $as_echo "$ac_var='\''$ac_val'\''" 1944 done | sort 1945 echo 1946 1947 if test -n "$ac_subst_files"; then 1948 $as_echo "## ------------------- ## 1949 ## File substitutions. ## 1950 ## ------------------- ##" 1951 echo 1952 for ac_var in $ac_subst_files 1953 do 1954 eval ac_val=\$$ac_var 1955 case $ac_val in 1956 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1957 esac 1958 $as_echo "$ac_var='\''$ac_val'\''" 1959 done | sort 1960 echo 1961 fi 1962 1963 if test -s confdefs.h; then 1964 $as_echo "## ----------- ## 1965 ## confdefs.h. ## 1966 ## ----------- ##" 1967 echo 1968 cat confdefs.h 1969 echo 1970 fi 1971 test "$ac_signal" != 0 && 1972 $as_echo "$as_me: caught signal $ac_signal" 1973 $as_echo "$as_me: exit $exit_status" 1974 } >&5 1975 rm -f core *.core core.conftest.* && 1976 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1977 exit $exit_status 1978 ' 0 1979 for ac_signal in 1 2 13 15; do 1980 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1981 done 1982 ac_signal=0 1983 1984 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1985 rm -f -r conftest* confdefs.h 1986 1987 $as_echo "/* confdefs.h */" > confdefs.h 1988 1989 # Predefined preprocessor variables. 1990 1991 cat >>confdefs.h <<_ACEOF 1992 #define PACKAGE_NAME "$PACKAGE_NAME" 1993 _ACEOF 1994 1995 cat >>confdefs.h <<_ACEOF 1996 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1997 _ACEOF 1998 1999 cat >>confdefs.h <<_ACEOF 2000 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2001 _ACEOF 2002 2003 cat >>confdefs.h <<_ACEOF 2004 #define PACKAGE_STRING "$PACKAGE_STRING" 2005 _ACEOF 2006 2007 cat >>confdefs.h <<_ACEOF 2008 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2009 _ACEOF 2010 2011 cat >>confdefs.h <<_ACEOF 2012 #define PACKAGE_URL "$PACKAGE_URL" 2013 _ACEOF 2014 2015 2016 # Let the site file select an alternate cache file if it wants to. 2017 # Prefer an explicitly selected file to automatically selected ones. 2018 ac_site_file1=NONE 2019 ac_site_file2=NONE 2020 if test -n "$CONFIG_SITE"; then 2021 # We do not want a PATH search for config.site. 2022 case $CONFIG_SITE in #(( 2023 -*) ac_site_file1=./$CONFIG_SITE;; 2024 */*) ac_site_file1=$CONFIG_SITE;; 2025 *) ac_site_file1=./$CONFIG_SITE;; 2026 esac 2027 elif test "x$prefix" != xNONE; then 2028 ac_site_file1=$prefix/share/config.site 2029 ac_site_file2=$prefix/etc/config.site 2030 else 2031 ac_site_file1=$ac_default_prefix/share/config.site 2032 ac_site_file2=$ac_default_prefix/etc/config.site 2033 fi 2034 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2035 do 2036 test "x$ac_site_file" = xNONE && continue 2037 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2038 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2039 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2040 sed 's/^/| /' "$ac_site_file" >&5 2041 . "$ac_site_file" \ 2042 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2044 as_fn_error $? "failed to load site script $ac_site_file 2045 See \`config.log' for more details" "$LINENO" 5; } 2046 fi 2047 done 2048 2049 if test -r "$cache_file"; then 2050 # Some versions of bash will fail to source /dev/null (special files 2051 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2052 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2054 $as_echo "$as_me: loading cache $cache_file" >&6;} 2055 case $cache_file in 2056 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2057 *) . "./$cache_file";; 2058 esac 2059 fi 2060 else 2061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2062 $as_echo "$as_me: creating cache $cache_file" >&6;} 2063 >$cache_file 2064 fi 2065 2066 # Check that the precious variables saved in the cache have kept the same 2067 # value. 2068 ac_cache_corrupted=false 2069 for ac_var in $ac_precious_vars; do 2070 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2071 eval ac_new_set=\$ac_env_${ac_var}_set 2072 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2073 eval ac_new_val=\$ac_env_${ac_var}_value 2074 case $ac_old_set,$ac_new_set in 2075 set,) 2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2077 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2078 ac_cache_corrupted=: ;; 2079 ,set) 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2081 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2082 ac_cache_corrupted=: ;; 2083 ,);; 2084 *) 2085 if test "x$ac_old_val" != "x$ac_new_val"; then 2086 # differences in whitespace do not lead to failure. 2087 ac_old_val_w=`echo x $ac_old_val` 2088 ac_new_val_w=`echo x $ac_new_val` 2089 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2091 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2092 ac_cache_corrupted=: 2093 else 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2095 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2096 eval $ac_var=\$ac_old_val 2097 fi 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2099 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2100 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2101 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2102 fi;; 2103 esac 2104 # Pass precious variables to config.status. 2105 if test "$ac_new_set" = set; then 2106 case $ac_new_val in 2107 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2108 *) ac_arg=$ac_var=$ac_new_val ;; 2109 esac 2110 case " $ac_configure_args " in 2111 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2112 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2113 esac 2114 fi 2115 done 2116 if $ac_cache_corrupted; then 2117 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2120 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2121 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2122 fi 2123 ## -------------------- ## 2124 ## Main body of script. ## 2125 ## -------------------- ## 2126 2127 ac_ext=c 2128 ac_cpp='$CPP $CPPFLAGS' 2129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2131 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2132 2133 2134 2135 # standard configuration for shared libraries 2136 ac_aux_dir= 2137 for ac_dir in build-aux "$srcdir"/build-aux; do 2138 if test -f "$ac_dir/install-sh"; then 2139 ac_aux_dir=$ac_dir 2140 ac_install_sh="$ac_aux_dir/install-sh -c" 2141 break 2142 elif test -f "$ac_dir/install.sh"; then 2143 ac_aux_dir=$ac_dir 2144 ac_install_sh="$ac_aux_dir/install.sh -c" 2145 break 2146 elif test -f "$ac_dir/shtool"; then 2147 ac_aux_dir=$ac_dir 2148 ac_install_sh="$ac_aux_dir/shtool install -c" 2149 break 2150 fi 2151 done 2152 if test -z "$ac_aux_dir"; then 2153 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2154 fi 2155 2156 # These three variables are undocumented and unsupported, 2157 # and are intended to be withdrawn in a future Autoconf release. 2158 # They can cause serious problems if a builder's source tree is in a directory 2159 # whose full name contains unusual characters. 2160 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2161 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2162 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2163 2164 2165 2166 2167 am__api_version='1.15' 2168 2169 # Find a good install program. We prefer a C program (faster), 2170 # so one script is as good as another. But avoid the broken or 2171 # incompatible versions: 2172 # SysV /etc/install, /usr/sbin/install 2173 # SunOS /usr/etc/install 2174 # IRIX /sbin/install 2175 # AIX /bin/install 2176 # AmigaOS /C/install, which installs bootblocks on floppy discs 2177 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2178 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2179 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2180 # OS/2's system install, which has a completely different semantic 2181 # ./install, which can be erroneously created by make from ./install.sh. 2182 # Reject install programs that cannot install multiple files. 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2184 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2185 if test -z "$INSTALL"; then 2186 if ${ac_cv_path_install+:} false; then : 2187 $as_echo_n "(cached) " >&6 2188 else 2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2190 for as_dir in $PATH 2191 do 2192 IFS=$as_save_IFS 2193 test -z "$as_dir" && as_dir=. 2194 # Account for people who put trailing slashes in PATH elements. 2195 case $as_dir/ in #(( 2196 ./ | .// | /[cC]/* | \ 2197 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2198 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2199 /usr/ucb/* ) ;; 2200 *) 2201 # OSF1 and SCO ODT 3.0 have their own names for install. 2202 # Don't use installbsd from OSF since it installs stuff as root 2203 # by default. 2204 for ac_prog in ginstall scoinst install; do 2205 for ac_exec_ext in '' $ac_executable_extensions; do 2206 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2207 if test $ac_prog = install && 2208 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2209 # AIX install. It has an incompatible calling convention. 2210 : 2211 elif test $ac_prog = install && 2212 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2213 # program-specific install script used by HP pwplus--don't use. 2214 : 2215 else 2216 rm -rf conftest.one conftest.two conftest.dir 2217 echo one > conftest.one 2218 echo two > conftest.two 2219 mkdir conftest.dir 2220 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2221 test -s conftest.one && test -s conftest.two && 2222 test -s conftest.dir/conftest.one && 2223 test -s conftest.dir/conftest.two 2224 then 2225 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2226 break 3 2227 fi 2228 fi 2229 fi 2230 done 2231 done 2232 ;; 2233 esac 2234 2235 done 2236 IFS=$as_save_IFS 2237 2238 rm -rf conftest.one conftest.two conftest.dir 2239 2240 fi 2241 if test "${ac_cv_path_install+set}" = set; then 2242 INSTALL=$ac_cv_path_install 2243 else 2244 # As a last resort, use the slow shell script. Don't cache a 2245 # value for INSTALL within a source directory, because that will 2246 # break other packages using the cache if that directory is 2247 # removed, or if the value is a relative name. 2248 INSTALL=$ac_install_sh 2249 fi 2250 fi 2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2252 $as_echo "$INSTALL" >&6; } 2253 2254 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2255 # It thinks the first close brace ends the variable substitution. 2256 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2257 2258 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2259 2260 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2261 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2263 $as_echo_n "checking whether build environment is sane... " >&6; } 2264 # Reject unsafe characters in $srcdir or the absolute working directory 2265 # name. Accept space and tab only in the latter. 2266 am_lf=' 2267 ' 2268 case `pwd` in 2269 *[\\\"\#\$\&\'\`$am_lf]*) 2270 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2271 esac 2272 case $srcdir in 2273 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2274 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2275 esac 2276 2277 # Do 'set' in a subshell so we don't clobber the current shell's 2278 # arguments. Must try -L first in case configure is actually a 2279 # symlink; some systems play weird games with the mod time of symlinks 2280 # (eg FreeBSD returns the mod time of the symlink's containing 2281 # directory). 2282 if ( 2283 am_has_slept=no 2284 for am_try in 1 2; do 2285 echo "timestamp, slept: $am_has_slept" > conftest.file 2286 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2287 if test "$*" = "X"; then 2288 # -L didn't work. 2289 set X `ls -t "$srcdir/configure" conftest.file` 2290 fi 2291 if test "$*" != "X $srcdir/configure conftest.file" \ 2292 && test "$*" != "X conftest.file $srcdir/configure"; then 2293 2294 # If neither matched, then we have a broken ls. This can happen 2295 # if, for instance, CONFIG_SHELL is bash and it inherits a 2296 # broken ls alias from the environment. This has actually 2297 # happened. Such a system could not be considered "sane". 2298 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2299 alias in your environment" "$LINENO" 5 2300 fi 2301 if test "$2" = conftest.file || test $am_try -eq 2; then 2302 break 2303 fi 2304 # Just in case. 2305 sleep 1 2306 am_has_slept=yes 2307 done 2308 test "$2" = conftest.file 2309 ) 2310 then 2311 # Ok. 2312 : 2313 else 2314 as_fn_error $? "newly created file is older than distributed files! 2315 Check your system clock" "$LINENO" 5 2316 fi 2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2318 $as_echo "yes" >&6; } 2319 # If we didn't sleep, we still need to ensure time stamps of config.status and 2320 # generated files are strictly newer. 2321 am_sleep_pid= 2322 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2323 ( sleep 1 ) & 2324 am_sleep_pid=$! 2325 fi 2326 2327 rm -f conftest.file 2328 2329 test "$program_prefix" != NONE && 2330 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2331 # Use a double $ so make ignores it. 2332 test "$program_suffix" != NONE && 2333 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2334 # Double any \ or $. 2335 # By default was `s,x,x', remove it if useless. 2336 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2337 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2338 2339 # Expand $ac_aux_dir to an absolute path. 2340 am_aux_dir=`cd "$ac_aux_dir" && pwd` 2341 2342 if test x"${MISSING+set}" != xset; then 2343 case $am_aux_dir in 2344 *\ * | *\ *) 2345 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2346 *) 2347 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2348 esac 2349 fi 2350 # Use eval to expand $SHELL 2351 if eval "$MISSING --is-lightweight"; then 2352 am_missing_run="$MISSING " 2353 else 2354 am_missing_run= 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2356 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2357 fi 2358 2359 if test x"${install_sh+set}" != xset; then 2360 case $am_aux_dir in 2361 *\ * | *\ *) 2362 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2363 *) 2364 install_sh="\${SHELL} $am_aux_dir/install-sh" 2365 esac 2366 fi 2367 2368 # Installed binaries are usually stripped using 'strip' when the user 2369 # run "make install-strip". However 'strip' might not be the right 2370 # tool to use in cross-compilation environments, therefore Automake 2371 # will honor the 'STRIP' environment variable to overrule this program. 2372 if test "$cross_compiling" != no; then 2373 if test -n "$ac_tool_prefix"; then 2374 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2375 set dummy ${ac_tool_prefix}strip; ac_word=$2 2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2377 $as_echo_n "checking for $ac_word... " >&6; } 2378 if ${ac_cv_prog_STRIP+:} false; then : 2379 $as_echo_n "(cached) " >&6 2380 else 2381 if test -n "$STRIP"; then 2382 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2383 else 2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2385 for as_dir in $PATH 2386 do 2387 IFS=$as_save_IFS 2388 test -z "$as_dir" && as_dir=. 2389 for ac_exec_ext in '' $ac_executable_extensions; do 2390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2391 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2393 break 2 2394 fi 2395 done 2396 done 2397 IFS=$as_save_IFS 2398 2399 fi 2400 fi 2401 STRIP=$ac_cv_prog_STRIP 2402 if test -n "$STRIP"; then 2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2404 $as_echo "$STRIP" >&6; } 2405 else 2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2407 $as_echo "no" >&6; } 2408 fi 2409 2410 2411 fi 2412 if test -z "$ac_cv_prog_STRIP"; then 2413 ac_ct_STRIP=$STRIP 2414 # Extract the first word of "strip", so it can be a program name with args. 2415 set dummy strip; ac_word=$2 2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2417 $as_echo_n "checking for $ac_word... " >&6; } 2418 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2419 $as_echo_n "(cached) " >&6 2420 else 2421 if test -n "$ac_ct_STRIP"; then 2422 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2423 else 2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2425 for as_dir in $PATH 2426 do 2427 IFS=$as_save_IFS 2428 test -z "$as_dir" && as_dir=. 2429 for ac_exec_ext in '' $ac_executable_extensions; do 2430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2431 ac_cv_prog_ac_ct_STRIP="strip" 2432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2433 break 2 2434 fi 2435 done 2436 done 2437 IFS=$as_save_IFS 2438 2439 fi 2440 fi 2441 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2442 if test -n "$ac_ct_STRIP"; then 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2444 $as_echo "$ac_ct_STRIP" >&6; } 2445 else 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2447 $as_echo "no" >&6; } 2448 fi 2449 2450 if test "x$ac_ct_STRIP" = x; then 2451 STRIP=":" 2452 else 2453 case $cross_compiling:$ac_tool_warned in 2454 yes:) 2455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2457 ac_tool_warned=yes ;; 2458 esac 2459 STRIP=$ac_ct_STRIP 2460 fi 2461 else 2462 STRIP="$ac_cv_prog_STRIP" 2463 fi 2464 2465 fi 2466 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2467 2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2469 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2470 if test -z "$MKDIR_P"; then 2471 if ${ac_cv_path_mkdir+:} false; then : 2472 $as_echo_n "(cached) " >&6 2473 else 2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2475 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2476 do 2477 IFS=$as_save_IFS 2478 test -z "$as_dir" && as_dir=. 2479 for ac_prog in mkdir gmkdir; do 2480 for ac_exec_ext in '' $ac_executable_extensions; do 2481 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2482 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2483 'mkdir (GNU coreutils) '* | \ 2484 'mkdir (coreutils) '* | \ 2485 'mkdir (fileutils) '4.1*) 2486 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2487 break 3;; 2488 esac 2489 done 2490 done 2491 done 2492 IFS=$as_save_IFS 2493 2494 fi 2495 2496 test -d ./--version && rmdir ./--version 2497 if test "${ac_cv_path_mkdir+set}" = set; then 2498 MKDIR_P="$ac_cv_path_mkdir -p" 2499 else 2500 # As a last resort, use the slow shell script. Don't cache a 2501 # value for MKDIR_P within a source directory, because that will 2502 # break other packages using the cache if that directory is 2503 # removed, or if the value is a relative name. 2504 MKDIR_P="$ac_install_sh -d" 2505 fi 2506 fi 2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2508 $as_echo "$MKDIR_P" >&6; } 2509 2510 for ac_prog in gawk mawk nawk awk 2511 do 2512 # Extract the first word of "$ac_prog", so it can be a program name with args. 2513 set dummy $ac_prog; ac_word=$2 2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2515 $as_echo_n "checking for $ac_word... " >&6; } 2516 if ${ac_cv_prog_AWK+:} false; then : 2517 $as_echo_n "(cached) " >&6 2518 else 2519 if test -n "$AWK"; then 2520 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2521 else 2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2523 for as_dir in $PATH 2524 do 2525 IFS=$as_save_IFS 2526 test -z "$as_dir" && as_dir=. 2527 for ac_exec_ext in '' $ac_executable_extensions; do 2528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2529 ac_cv_prog_AWK="$ac_prog" 2530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2531 break 2 2532 fi 2533 done 2534 done 2535 IFS=$as_save_IFS 2536 2537 fi 2538 fi 2539 AWK=$ac_cv_prog_AWK 2540 if test -n "$AWK"; then 2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2542 $as_echo "$AWK" >&6; } 2543 else 2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2545 $as_echo "no" >&6; } 2546 fi 2547 2548 2549 test -n "$AWK" && break 2550 done 2551 2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2553 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2554 set x ${MAKE-make} 2555 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2556 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2557 $as_echo_n "(cached) " >&6 2558 else 2559 cat >conftest.make <<\_ACEOF 2560 SHELL = /bin/sh 2561 all: 2562 @echo '@@@%%%=$(MAKE)=@@@%%%' 2563 _ACEOF 2564 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2565 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2566 *@@@%%%=?*=@@@%%%*) 2567 eval ac_cv_prog_make_${ac_make}_set=yes;; 2568 *) 2569 eval ac_cv_prog_make_${ac_make}_set=no;; 2570 esac 2571 rm -f conftest.make 2572 fi 2573 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2575 $as_echo "yes" >&6; } 2576 SET_MAKE= 2577 else 2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2579 $as_echo "no" >&6; } 2580 SET_MAKE="MAKE=${MAKE-make}" 2581 fi 2582 2583 rm -rf .tst 2>/dev/null 2584 mkdir .tst 2>/dev/null 2585 if test -d .tst; then 2586 am__leading_dot=. 2587 else 2588 am__leading_dot=_ 2589 fi 2590 rmdir .tst 2>/dev/null 2591 2592 # Check whether --enable-silent-rules was given. 2593 if test "${enable_silent_rules+set}" = set; then : 2594 enableval=$enable_silent_rules; 2595 fi 2596 2597 case $enable_silent_rules in # ((( 2598 yes) AM_DEFAULT_VERBOSITY=0;; 2599 no) AM_DEFAULT_VERBOSITY=1;; 2600 *) AM_DEFAULT_VERBOSITY=1;; 2601 esac 2602 am_make=${MAKE-make} 2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2604 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2605 if ${am_cv_make_support_nested_variables+:} false; then : 2606 $as_echo_n "(cached) " >&6 2607 else 2608 if $as_echo 'TRUE=$(BAR$(V)) 2609 BAR0=false 2610 BAR1=true 2611 V=1 2612 am__doit: 2613 @$(TRUE) 2614 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2615 am_cv_make_support_nested_variables=yes 2616 else 2617 am_cv_make_support_nested_variables=no 2618 fi 2619 fi 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2621 $as_echo "$am_cv_make_support_nested_variables" >&6; } 2622 if test $am_cv_make_support_nested_variables = yes; then 2623 AM_V='$(V)' 2624 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2625 else 2626 AM_V=$AM_DEFAULT_VERBOSITY 2627 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2628 fi 2629 AM_BACKSLASH='\' 2630 2631 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2632 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2633 # is not polluted with repeated "-I." 2634 am__isrc=' -I$(srcdir)' 2635 # test to see if srcdir already configured 2636 if test -f $srcdir/config.status; then 2637 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2638 fi 2639 fi 2640 2641 # test whether we have cygpath 2642 if test -z "$CYGPATH_W"; then 2643 if (cygpath --version) >/dev/null 2>/dev/null; then 2644 CYGPATH_W='cygpath -w' 2645 else 2646 CYGPATH_W=echo 2647 fi 2648 fi 2649 2650 2651 # Define the identity of the package. 2652 PACKAGE='lmfit' 2653 VERSION='6:1' 2654 2655 2656 cat >>confdefs.h <<_ACEOF 2657 #define PACKAGE "$PACKAGE" 2658 _ACEOF 2659 2660 2661 cat >>confdefs.h <<_ACEOF 2662 #define VERSION "$VERSION" 2663 _ACEOF 2664 2665 # Some tools Automake needs. 2666 2667 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2668 2669 2670 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2671 2672 2673 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2674 2675 2676 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2677 2678 2679 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2680 2681 # For better backward compatibility. To be removed once Automake 1.9.x 2682 # dies out for good. For more background, see: 2683 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2684 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2685 mkdir_p='$(MKDIR_P)' 2686 2687 # We need awk for the "check" target (and possibly the TAP driver). The 2688 # system "awk" is bad on some platforms. 2689 # Always define AMTAR for backward compatibility. Yes, it's still used 2690 # in the wild :-( We should find a proper way to deprecate it ... 2691 AMTAR='$${TAR-tar}' 2692 2693 2694 # We'll loop over all known methods to create a tar archive until one works. 2695 _am_tools='gnutar pax cpio none' 2696 2697 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2698 2699 2700 2701 2702 2703 2704 # POSIX will say in a future version that running "rm -f" with no argument 2705 # is OK; and we want to be able to make that assumption in our Makefile 2706 # recipes. So use an aggressive probe to check that the usage we want is 2707 # actually supported "in the wild" to an acceptable degree. 2708 # See automake bug#10828. 2709 # To make any issue more visible, cause the running configure to be aborted 2710 # by default if the 'rm' program in use doesn't match our expectations; the 2711 # user can still override this though. 2712 if rm -f && rm -fr && rm -rf; then : OK; else 2713 cat >&2 <<'END' 2714 Oops! 2715 2716 Your 'rm' program seems unable to run without file operands specified 2717 on the command line, even when the '-f' option is present. This is contrary 2718 to the behaviour of most rm programs out there, and not conforming with 2719 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2720 2721 Please tell bug-automake@gnu.org about your system, including the value 2722 of your $PATH and any error possibly output before this message. This 2723 can help us improve future automake versions. 2724 2725 END 2726 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2727 echo 'Configuration will proceed anyway, since you have set the' >&2 2728 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2729 echo >&2 2730 else 2731 cat >&2 <<'END' 2732 Aborting the configuration process, to ensure you take notice of the issue. 2733 2734 You can download and install GNU coreutils to get an 'rm' implementation 2735 that behaves properly: <http://www.gnu.org/software/coreutils/>. 2736 2737 If you want to complete the configuration process using your problematic 2738 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2739 to "yes", and re-run configure. 2740 2741 END 2742 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2743 fi 2744 fi 2745 # don't insert GNU standard blabla 2746 case `pwd` in 2747 *\ * | *\ *) 2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2749 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2750 esac 2751 2752 2753 2754 macro_version='2.4.2' 2755 macro_revision='1.3337' 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 ltmain="$ac_aux_dir/ltmain.sh" 2770 2771 # Make sure we can run config.sub. 2772 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2773 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2774 2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2776 $as_echo_n "checking build system type... " >&6; } 2777 if ${ac_cv_build+:} false; then : 2778 $as_echo_n "(cached) " >&6 2779 else 2780 ac_build_alias=$build_alias 2781 test "x$ac_build_alias" = x && 2782 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2783 test "x$ac_build_alias" = x && 2784 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2785 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2786 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2787 2788 fi 2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2790 $as_echo "$ac_cv_build" >&6; } 2791 case $ac_cv_build in 2792 *-*-*) ;; 2793 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2794 esac 2795 build=$ac_cv_build 2796 ac_save_IFS=$IFS; IFS='-' 2797 set x $ac_cv_build 2798 shift 2799 build_cpu=$1 2800 build_vendor=$2 2801 shift; shift 2802 # Remember, the first character of IFS is used to create $*, 2803 # except with old shells: 2804 build_os=$* 2805 IFS=$ac_save_IFS 2806 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2807 2808 2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2810 $as_echo_n "checking host system type... " >&6; } 2811 if ${ac_cv_host+:} false; then : 2812 $as_echo_n "(cached) " >&6 2813 else 2814 if test "x$host_alias" = x; then 2815 ac_cv_host=$ac_cv_build 2816 else 2817 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2818 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2819 fi 2820 2821 fi 2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2823 $as_echo "$ac_cv_host" >&6; } 2824 case $ac_cv_host in 2825 *-*-*) ;; 2826 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2827 esac 2828 host=$ac_cv_host 2829 ac_save_IFS=$IFS; IFS='-' 2830 set x $ac_cv_host 2831 shift 2832 host_cpu=$1 2833 host_vendor=$2 2834 shift; shift 2835 # Remember, the first character of IFS is used to create $*, 2836 # except with old shells: 2837 host_os=$* 2838 IFS=$ac_save_IFS 2839 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2840 2841 2842 # Backslashify metacharacters that are still active within 2843 # double-quoted strings. 2844 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 2845 2846 # Same as above, but do not quote variable references. 2847 double_quote_subst='s/\(["`\\]\)/\\\1/g' 2848 2849 # Sed substitution to delay expansion of an escaped shell variable in a 2850 # double_quote_subst'ed string. 2851 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 2852 2853 # Sed substitution to delay expansion of an escaped single quote. 2854 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 2855 2856 # Sed substitution to avoid accidental globbing in evaled expressions 2857 no_glob_subst='s/\*/\\\*/g' 2858 2859 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 2860 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 2861 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2862 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2864 $as_echo_n "checking how to print strings... " >&6; } 2865 # Test print first, because it will be a builtin if present. 2866 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 2867 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 2868 ECHO='print -r --' 2869 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 2870 ECHO='printf %s\n' 2871 else 2872 # Use this function as a fallback that always works. 2873 func_fallback_echo () 2874 { 2875 eval 'cat <<_LTECHO_EOF 2876 $1 2877 _LTECHO_EOF' 2878 } 2879 ECHO='func_fallback_echo' 2880 fi 2881 2882 # func_echo_all arg... 2883 # Invoke $ECHO with all args, space-separated. 2884 func_echo_all () 2885 { 2886 $ECHO "" 2887 } 2888 2889 case "$ECHO" in 2890 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 2891 $as_echo "printf" >&6; } ;; 2892 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 2893 $as_echo "print -r" >&6; } ;; 2894 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 2895 $as_echo "cat" >&6; } ;; 2896 esac 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 DEPDIR="${am__leading_dot}deps" 2912 2913 ac_config_commands="$ac_config_commands depfiles" 2914 2915 2916 am_make=${MAKE-make} 2917 cat > confinc << 'END' 2918 am__doit: 2919 @echo this is the am__doit target 2920 .PHONY: am__doit 2921 END 2922 # If we don't find an include directive, just comment out the code. 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2924 $as_echo_n "checking for style of include used by $am_make... " >&6; } 2925 am__include="#" 2926 am__quote= 2927 _am_result=none 2928 # First try GNU make style include. 2929 echo "include confinc" > confmf 2930 # Ignore all kinds of additional output from 'make'. 2931 case `$am_make -s -f confmf 2> /dev/null` in #( 2932 *the\ am__doit\ target*) 2933 am__include=include 2934 am__quote= 2935 _am_result=GNU 2936 ;; 2937 esac 2938 # Now try BSD make style include. 2939 if test "$am__include" = "#"; then 2940 echo '.include "confinc"' > confmf 2941 case `$am_make -s -f confmf 2> /dev/null` in #( 2942 *the\ am__doit\ target*) 2943 am__include=.include 2944 am__quote="\"" 2945 _am_result=BSD 2946 ;; 2947 esac 2948 fi 2949 2950 2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2952 $as_echo "$_am_result" >&6; } 2953 rm -f confinc confmf 2954 2955 # Check whether --enable-dependency-tracking was given. 2956 if test "${enable_dependency_tracking+set}" = set; then : 2957 enableval=$enable_dependency_tracking; 2958 fi 2959 2960 if test "x$enable_dependency_tracking" != xno; then 2961 am_depcomp="$ac_aux_dir/depcomp" 2962 AMDEPBACKSLASH='\' 2963 am__nodep='_no' 2964 fi 2965 if test "x$enable_dependency_tracking" != xno; then 2966 AMDEP_TRUE= 2967 AMDEP_FALSE='#' 2968 else 2969 AMDEP_TRUE='#' 2970 AMDEP_FALSE= 2971 fi 2972 2973 2974 ac_ext=c 2975 ac_cpp='$CPP $CPPFLAGS' 2976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2978 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2979 if test -n "$ac_tool_prefix"; then 2980 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2981 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2983 $as_echo_n "checking for $ac_word... " >&6; } 2984 if ${ac_cv_prog_CC+:} false; then : 2985 $as_echo_n "(cached) " >&6 2986 else 2987 if test -n "$CC"; then 2988 ac_cv_prog_CC="$CC" # Let the user override the test. 2989 else 2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2991 for as_dir in $PATH 2992 do 2993 IFS=$as_save_IFS 2994 test -z "$as_dir" && as_dir=. 2995 for ac_exec_ext in '' $ac_executable_extensions; do 2996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2997 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2999 break 2 3000 fi 3001 done 3002 done 3003 IFS=$as_save_IFS 3004 3005 fi 3006 fi 3007 CC=$ac_cv_prog_CC 3008 if test -n "$CC"; then 3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3010 $as_echo "$CC" >&6; } 3011 else 3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3013 $as_echo "no" >&6; } 3014 fi 3015 3016 3017 fi 3018 if test -z "$ac_cv_prog_CC"; then 3019 ac_ct_CC=$CC 3020 # Extract the first word of "gcc", so it can be a program name with args. 3021 set dummy gcc; ac_word=$2 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3023 $as_echo_n "checking for $ac_word... " >&6; } 3024 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3025 $as_echo_n "(cached) " >&6 3026 else 3027 if test -n "$ac_ct_CC"; then 3028 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3029 else 3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3031 for as_dir in $PATH 3032 do 3033 IFS=$as_save_IFS 3034 test -z "$as_dir" && as_dir=. 3035 for ac_exec_ext in '' $ac_executable_extensions; do 3036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3037 ac_cv_prog_ac_ct_CC="gcc" 3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3039 break 2 3040 fi 3041 done 3042 done 3043 IFS=$as_save_IFS 3044 3045 fi 3046 fi 3047 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3048 if test -n "$ac_ct_CC"; then 3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3050 $as_echo "$ac_ct_CC" >&6; } 3051 else 3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3053 $as_echo "no" >&6; } 3054 fi 3055 3056 if test "x$ac_ct_CC" = x; then 3057 CC="" 3058 else 3059 case $cross_compiling:$ac_tool_warned in 3060 yes:) 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3063 ac_tool_warned=yes ;; 3064 esac 3065 CC=$ac_ct_CC 3066 fi 3067 else 3068 CC="$ac_cv_prog_CC" 3069 fi 3070 3071 if test -z "$CC"; then 3072 if test -n "$ac_tool_prefix"; then 3073 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3074 set dummy ${ac_tool_prefix}cc; ac_word=$2 3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3076 $as_echo_n "checking for $ac_word... " >&6; } 3077 if ${ac_cv_prog_CC+:} false; then : 3078 $as_echo_n "(cached) " >&6 3079 else 3080 if test -n "$CC"; then 3081 ac_cv_prog_CC="$CC" # Let the user override the test. 3082 else 3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3084 for as_dir in $PATH 3085 do 3086 IFS=$as_save_IFS 3087 test -z "$as_dir" && as_dir=. 3088 for ac_exec_ext in '' $ac_executable_extensions; do 3089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3090 ac_cv_prog_CC="${ac_tool_prefix}cc" 3091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3092 break 2 3093 fi 3094 done 3095 done 3096 IFS=$as_save_IFS 3097 3098 fi 3099 fi 3100 CC=$ac_cv_prog_CC 3101 if test -n "$CC"; then 3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3103 $as_echo "$CC" >&6; } 3104 else 3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3106 $as_echo "no" >&6; } 3107 fi 3108 3109 3110 fi 3111 fi 3112 if test -z "$CC"; then 3113 # Extract the first word of "cc", so it can be a program name with args. 3114 set dummy cc; ac_word=$2 3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3116 $as_echo_n "checking for $ac_word... " >&6; } 3117 if ${ac_cv_prog_CC+:} false; then : 3118 $as_echo_n "(cached) " >&6 3119 else 3120 if test -n "$CC"; then 3121 ac_cv_prog_CC="$CC" # Let the user override the test. 3122 else 3123 ac_prog_rejected=no 3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3125 for as_dir in $PATH 3126 do 3127 IFS=$as_save_IFS 3128 test -z "$as_dir" && as_dir=. 3129 for ac_exec_ext in '' $ac_executable_extensions; do 3130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3131 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3132 ac_prog_rejected=yes 3133 continue 3134 fi 3135 ac_cv_prog_CC="cc" 3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3137 break 2 3138 fi 3139 done 3140 done 3141 IFS=$as_save_IFS 3142 3143 if test $ac_prog_rejected = yes; then 3144 # We found a bogon in the path, so make sure we never use it. 3145 set dummy $ac_cv_prog_CC 3146 shift 3147 if test $# != 0; then 3148 # We chose a different compiler from the bogus one. 3149 # However, it has the same basename, so the bogon will be chosen 3150 # first if we set CC to just the basename; use the full file name. 3151 shift 3152 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3153 fi 3154 fi 3155 fi 3156 fi 3157 CC=$ac_cv_prog_CC 3158 if test -n "$CC"; then 3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3160 $as_echo "$CC" >&6; } 3161 else 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3163 $as_echo "no" >&6; } 3164 fi 3165 3166 3167 fi 3168 if test -z "$CC"; then 3169 if test -n "$ac_tool_prefix"; then 3170 for ac_prog in cl.exe 3171 do 3172 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3175 $as_echo_n "checking for $ac_word... " >&6; } 3176 if ${ac_cv_prog_CC+:} false; then : 3177 $as_echo_n "(cached) " >&6 3178 else 3179 if test -n "$CC"; then 3180 ac_cv_prog_CC="$CC" # Let the user override the test. 3181 else 3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3183 for as_dir in $PATH 3184 do 3185 IFS=$as_save_IFS 3186 test -z "$as_dir" && as_dir=. 3187 for ac_exec_ext in '' $ac_executable_extensions; do 3188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3189 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3191 break 2 3192 fi 3193 done 3194 done 3195 IFS=$as_save_IFS 3196 3197 fi 3198 fi 3199 CC=$ac_cv_prog_CC 3200 if test -n "$CC"; then 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3202 $as_echo "$CC" >&6; } 3203 else 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3205 $as_echo "no" >&6; } 3206 fi 3207 3208 3209 test -n "$CC" && break 3210 done 3211 fi 3212 if test -z "$CC"; then 3213 ac_ct_CC=$CC 3214 for ac_prog in cl.exe 3215 do 3216 # Extract the first word of "$ac_prog", so it can be a program name with args. 3217 set dummy $ac_prog; ac_word=$2 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3219 $as_echo_n "checking for $ac_word... " >&6; } 3220 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3221 $as_echo_n "(cached) " >&6 3222 else 3223 if test -n "$ac_ct_CC"; then 3224 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3225 else 3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3227 for as_dir in $PATH 3228 do 3229 IFS=$as_save_IFS 3230 test -z "$as_dir" && as_dir=. 3231 for ac_exec_ext in '' $ac_executable_extensions; do 3232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3233 ac_cv_prog_ac_ct_CC="$ac_prog" 3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3235 break 2 3236 fi 3237 done 3238 done 3239 IFS=$as_save_IFS 3240 3241 fi 3242 fi 3243 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3244 if test -n "$ac_ct_CC"; then 3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3246 $as_echo "$ac_ct_CC" >&6; } 3247 else 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3249 $as_echo "no" >&6; } 3250 fi 3251 3252 3253 test -n "$ac_ct_CC" && break 3254 done 3255 3256 if test "x$ac_ct_CC" = x; then 3257 CC="" 3258 else 3259 case $cross_compiling:$ac_tool_warned in 3260 yes:) 3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3263 ac_tool_warned=yes ;; 3264 esac 3265 CC=$ac_ct_CC 3266 fi 3267 fi 3268 3269 fi 3270 3271 3272 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3274 as_fn_error $? "no acceptable C compiler found in \$PATH 3275 See \`config.log' for more details" "$LINENO" 5; } 3276 3277 # Provide some information about the compiler. 3278 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3279 set X $ac_compile 3280 ac_compiler=$2 3281 for ac_option in --version -v -V -qversion; do 3282 { { ac_try="$ac_compiler $ac_option >&5" 3283 case "(($ac_try" in 3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3285 *) ac_try_echo=$ac_try;; 3286 esac 3287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3288 $as_echo "$ac_try_echo"; } >&5 3289 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3290 ac_status=$? 3291 if test -s conftest.err; then 3292 sed '10a\ 3293 ... rest of stderr output deleted ... 3294 10q' conftest.err >conftest.er1 3295 cat conftest.er1 >&5 3296 fi 3297 rm -f conftest.er1 conftest.err 3298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3299 test $ac_status = 0; } 3300 done 3301 3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3303 /* end confdefs.h. */ 3304 3305 int 3306 main () 3307 { 3308 3309 ; 3310 return 0; 3311 } 3312 _ACEOF 3313 ac_clean_files_save=$ac_clean_files 3314 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3315 # Try to create an executable without -o first, disregard a.out. 3316 # It will help us diagnose broken compilers, and finding out an intuition 3317 # of exeext. 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3319 $as_echo_n "checking whether the C compiler works... " >&6; } 3320 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3321 3322 # The possible output files: 3323 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3324 3325 ac_rmfiles= 3326 for ac_file in $ac_files 3327 do 3328 case $ac_file in 3329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3330 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3331 esac 3332 done 3333 rm -f $ac_rmfiles 3334 3335 if { { ac_try="$ac_link_default" 3336 case "(($ac_try" in 3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3338 *) ac_try_echo=$ac_try;; 3339 esac 3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3341 $as_echo "$ac_try_echo"; } >&5 3342 (eval "$ac_link_default") 2>&5 3343 ac_status=$? 3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3345 test $ac_status = 0; }; then : 3346 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3347 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3348 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3349 # so that the user can short-circuit this test for compilers unknown to 3350 # Autoconf. 3351 for ac_file in $ac_files '' 3352 do 3353 test -f "$ac_file" || continue 3354 case $ac_file in 3355 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3356 ;; 3357 [ab].out ) 3358 # We found the default executable, but exeext='' is most 3359 # certainly right. 3360 break;; 3361 *.* ) 3362 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3363 then :; else 3364 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3365 fi 3366 # We set ac_cv_exeext here because the later test for it is not 3367 # safe: cross compilers may not add the suffix if given an `-o' 3368 # argument, so we may need to know it at that point already. 3369 # Even if this section looks crufty: it has the advantage of 3370 # actually working. 3371 break;; 3372 * ) 3373 break;; 3374 esac 3375 done 3376 test "$ac_cv_exeext" = no && ac_cv_exeext= 3377 3378 else 3379 ac_file='' 3380 fi 3381 if test -z "$ac_file"; then : 3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3383 $as_echo "no" >&6; } 3384 $as_echo "$as_me: failed program was:" >&5 3385 sed 's/^/| /' conftest.$ac_ext >&5 3386 3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3389 as_fn_error 77 "C compiler cannot create executables 3390 See \`config.log' for more details" "$LINENO" 5; } 3391 else 3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3393 $as_echo "yes" >&6; } 3394 fi 3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3396 $as_echo_n "checking for C compiler default output file name... " >&6; } 3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3398 $as_echo "$ac_file" >&6; } 3399 ac_exeext=$ac_cv_exeext 3400 3401 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3402 ac_clean_files=$ac_clean_files_save 3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3404 $as_echo_n "checking for suffix of executables... " >&6; } 3405 if { { ac_try="$ac_link" 3406 case "(($ac_try" in 3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3408 *) ac_try_echo=$ac_try;; 3409 esac 3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3411 $as_echo "$ac_try_echo"; } >&5 3412 (eval "$ac_link") 2>&5 3413 ac_status=$? 3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3415 test $ac_status = 0; }; then : 3416 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3417 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3418 # work properly (i.e., refer to `conftest.exe'), while it won't with 3419 # `rm'. 3420 for ac_file in conftest.exe conftest conftest.*; do 3421 test -f "$ac_file" || continue 3422 case $ac_file in 3423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3424 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3425 break;; 3426 * ) break;; 3427 esac 3428 done 3429 else 3430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3432 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3433 See \`config.log' for more details" "$LINENO" 5; } 3434 fi 3435 rm -f conftest conftest$ac_cv_exeext 3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3437 $as_echo "$ac_cv_exeext" >&6; } 3438 3439 rm -f conftest.$ac_ext 3440 EXEEXT=$ac_cv_exeext 3441 ac_exeext=$EXEEXT 3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3443 /* end confdefs.h. */ 3444 #include <stdio.h> 3445 int 3446 main () 3447 { 3448 FILE *f = fopen ("conftest.out", "w"); 3449 return ferror (f) || fclose (f) != 0; 3450 3451 ; 3452 return 0; 3453 } 3454 _ACEOF 3455 ac_clean_files="$ac_clean_files conftest.out" 3456 # Check that the compiler produces executables we can run. If not, either 3457 # the compiler is broken, or we cross compile. 3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3459 $as_echo_n "checking whether we are cross compiling... " >&6; } 3460 if test "$cross_compiling" != yes; then 3461 { { ac_try="$ac_link" 3462 case "(($ac_try" in 3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3464 *) ac_try_echo=$ac_try;; 3465 esac 3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3467 $as_echo "$ac_try_echo"; } >&5 3468 (eval "$ac_link") 2>&5 3469 ac_status=$? 3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3471 test $ac_status = 0; } 3472 if { ac_try='./conftest$ac_cv_exeext' 3473 { { case "(($ac_try" in 3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3475 *) ac_try_echo=$ac_try;; 3476 esac 3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3478 $as_echo "$ac_try_echo"; } >&5 3479 (eval "$ac_try") 2>&5 3480 ac_status=$? 3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3482 test $ac_status = 0; }; }; then 3483 cross_compiling=no 3484 else 3485 if test "$cross_compiling" = maybe; then 3486 cross_compiling=yes 3487 else 3488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3490 as_fn_error $? "cannot run C compiled programs. 3491 If you meant to cross compile, use \`--host'. 3492 See \`config.log' for more details" "$LINENO" 5; } 3493 fi 3494 fi 3495 fi 3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3497 $as_echo "$cross_compiling" >&6; } 3498 3499 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3500 ac_clean_files=$ac_clean_files_save 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3502 $as_echo_n "checking for suffix of object files... " >&6; } 3503 if ${ac_cv_objext+:} false; then : 3504 $as_echo_n "(cached) " >&6 3505 else 3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3507 /* end confdefs.h. */ 3508 3509 int 3510 main () 3511 { 3512 3513 ; 3514 return 0; 3515 } 3516 _ACEOF 3517 rm -f conftest.o conftest.obj 3518 if { { ac_try="$ac_compile" 3519 case "(($ac_try" in 3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3521 *) ac_try_echo=$ac_try;; 3522 esac 3523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3524 $as_echo "$ac_try_echo"; } >&5 3525 (eval "$ac_compile") 2>&5 3526 ac_status=$? 3527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3528 test $ac_status = 0; }; then : 3529 for ac_file in conftest.o conftest.obj conftest.*; do 3530 test -f "$ac_file" || continue; 3531 case $ac_file in 3532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3533 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3534 break;; 3535 esac 3536 done 3537 else 3538 $as_echo "$as_me: failed program was:" >&5 3539 sed 's/^/| /' conftest.$ac_ext >&5 3540 3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3543 as_fn_error $? "cannot compute suffix of object files: cannot compile 3544 See \`config.log' for more details" "$LINENO" 5; } 3545 fi 3546 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3547 fi 3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3549 $as_echo "$ac_cv_objext" >&6; } 3550 OBJEXT=$ac_cv_objext 3551 ac_objext=$OBJEXT 3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3553 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3554 if ${ac_cv_c_compiler_gnu+:} false; then : 3555 $as_echo_n "(cached) " >&6 3556 else 3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3558 /* end confdefs.h. */ 3559 3560 int 3561 main () 3562 { 3563 #ifndef __GNUC__ 3564 choke me 3565 #endif 3566 3567 ; 3568 return 0; 3569 } 3570 _ACEOF 3571 if ac_fn_c_try_compile "$LINENO"; then : 3572 ac_compiler_gnu=yes 3573 else 3574 ac_compiler_gnu=no 3575 fi 3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3577 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3578 3579 fi 3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3581 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3582 if test $ac_compiler_gnu = yes; then 3583 GCC=yes 3584 else 3585 GCC= 3586 fi 3587 ac_test_CFLAGS=${CFLAGS+set} 3588 ac_save_CFLAGS=$CFLAGS 3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3590 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3591 if ${ac_cv_prog_cc_g+:} false; then : 3592 $as_echo_n "(cached) " >&6 3593 else 3594 ac_save_c_werror_flag=$ac_c_werror_flag 3595 ac_c_werror_flag=yes 3596 ac_cv_prog_cc_g=no 3597 CFLAGS="-g" 3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3599 /* end confdefs.h. */ 3600 3601 int 3602 main () 3603 { 3604 3605 ; 3606 return 0; 3607 } 3608 _ACEOF 3609 if ac_fn_c_try_compile "$LINENO"; then : 3610 ac_cv_prog_cc_g=yes 3611 else 3612 CFLAGS="" 3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3614 /* end confdefs.h. */ 3615 3616 int 3617 main () 3618 { 3619 3620 ; 3621 return 0; 3622 } 3623 _ACEOF 3624 if ac_fn_c_try_compile "$LINENO"; then : 3625 3626 else 3627 ac_c_werror_flag=$ac_save_c_werror_flag 3628 CFLAGS="-g" 3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3630 /* end confdefs.h. */ 3631 3632 int 3633 main () 3634 { 3635 3636 ; 3637 return 0; 3638 } 3639 _ACEOF 3640 if ac_fn_c_try_compile "$LINENO"; then : 3641 ac_cv_prog_cc_g=yes 3642 fi 3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3644 fi 3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3646 fi 3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3648 ac_c_werror_flag=$ac_save_c_werror_flag 3649 fi 3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3651 $as_echo "$ac_cv_prog_cc_g" >&6; } 3652 if test "$ac_test_CFLAGS" = set; then 3653 CFLAGS=$ac_save_CFLAGS 3654 elif test $ac_cv_prog_cc_g = yes; then 3655 if test "$GCC" = yes; then 3656 CFLAGS="-g -O2" 3657 else 3658 CFLAGS="-g" 3659 fi 3660 else 3661 if test "$GCC" = yes; then 3662 CFLAGS="-O2" 3663 else 3664 CFLAGS= 3665 fi 3666 fi 3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3668 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3669 if ${ac_cv_prog_cc_c89+:} false; then : 3670 $as_echo_n "(cached) " >&6 3671 else 3672 ac_cv_prog_cc_c89=no 3673 ac_save_CC=$CC 3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3675 /* end confdefs.h. */ 3676 #include <stdarg.h> 3677 #include <stdio.h> 3678 struct stat; 3679 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3680 struct buf { int x; }; 3681 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3682 static char *e (p, i) 3683 char **p; 3684 int i; 3685 { 3686 return p[i]; 3687 } 3688 static char *f (char * (*g) (char **, int), char **p, ...) 3689 { 3690 char *s; 3691 va_list v; 3692 va_start (v,p); 3693 s = g (p, va_arg (v,int)); 3694 va_end (v); 3695 return s; 3696 } 3697 3698 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3699 function prototypes and stuff, but not '\xHH' hex character constants. 3700 These don't provoke an error unfortunately, instead are silently treated 3701 as 'x'. The following induces an error, until -std is added to get 3702 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3703 array size at least. It's necessary to write '\x00'==0 to get something 3704 that's true only with -std. */ 3705 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3706 3707 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3708 inside strings and character constants. */ 3709 #define FOO(x) 'x' 3710 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3711 3712 int test (int i, double x); 3713 struct s1 {int (*f) (int a);}; 3714 struct s2 {int (*f) (double a);}; 3715 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3716 int argc; 3717 char **argv; 3718 int 3719 main () 3720 { 3721 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3722 ; 3723 return 0; 3724 } 3725 _ACEOF 3726 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3727 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3728 do 3729 CC="$ac_save_CC $ac_arg" 3730 if ac_fn_c_try_compile "$LINENO"; then : 3731 ac_cv_prog_cc_c89=$ac_arg 3732 fi 3733 rm -f core conftest.err conftest.$ac_objext 3734 test "x$ac_cv_prog_cc_c89" != "xno" && break 3735 done 3736 rm -f conftest.$ac_ext 3737 CC=$ac_save_CC 3738 3739 fi 3740 # AC_CACHE_VAL 3741 case "x$ac_cv_prog_cc_c89" in 3742 x) 3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3744 $as_echo "none needed" >&6; } ;; 3745 xno) 3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3747 $as_echo "unsupported" >&6; } ;; 3748 *) 3749 CC="$CC $ac_cv_prog_cc_c89" 3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3751 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3752 esac 3753 if test "x$ac_cv_prog_cc_c89" != xno; then : 3754 3755 fi 3756 3757 ac_ext=c 3758 ac_cpp='$CPP $CPPFLAGS' 3759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3761 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3762 3763 ac_ext=c 3764 ac_cpp='$CPP $CPPFLAGS' 3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3769 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3770 if ${am_cv_prog_cc_c_o+:} false; then : 3771 $as_echo_n "(cached) " >&6 3772 else 3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3774 /* end confdefs.h. */ 3775 3776 int 3777 main () 3778 { 3779 3780 ; 3781 return 0; 3782 } 3783 _ACEOF 3784 # Make sure it works both with $CC and with simple cc. 3785 # Following AC_PROG_CC_C_O, we do the test twice because some 3786 # compilers refuse to overwrite an existing .o file with -o, 3787 # though they will create one. 3788 am_cv_prog_cc_c_o=yes 3789 for am_i in 1 2; do 3790 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3791 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3792 ac_status=$? 3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3794 (exit $ac_status); } \ 3795 && test -f conftest2.$ac_objext; then 3796 : OK 3797 else 3798 am_cv_prog_cc_c_o=no 3799 break 3800 fi 3801 done 3802 rm -f core conftest* 3803 unset am_i 3804 fi 3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3806 $as_echo "$am_cv_prog_cc_c_o" >&6; } 3807 if test "$am_cv_prog_cc_c_o" != yes; then 3808 # Losing compiler, so override with the script. 3809 # FIXME: It is wrong to rewrite CC. 3810 # But if we don't then we get into trouble of one sort or another. 3811 # A longer-term fix would be to have automake use am__CC in this case, 3812 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3813 CC="$am_aux_dir/compile $CC" 3814 fi 3815 ac_ext=c 3816 ac_cpp='$CPP $CPPFLAGS' 3817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3819 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3820 3821 3822 depcc="$CC" am_compiler_list= 3823 3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3825 $as_echo_n "checking dependency style of $depcc... " >&6; } 3826 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3827 $as_echo_n "(cached) " >&6 3828 else 3829 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3830 # We make a subdir and do the tests there. Otherwise we can end up 3831 # making bogus files that we don't know about and never remove. For 3832 # instance it was reported that on HP-UX the gcc test will end up 3833 # making a dummy file named 'D' -- because '-MD' means "put the output 3834 # in D". 3835 rm -rf conftest.dir 3836 mkdir conftest.dir 3837 # Copy depcomp to subdir because otherwise we won't find it if we're 3838 # using a relative directory. 3839 cp "$am_depcomp" conftest.dir 3840 cd conftest.dir 3841 # We will build objects and dependencies in a subdirectory because 3842 # it helps to detect inapplicable dependency modes. For instance 3843 # both Tru64's cc and ICC support -MD to output dependencies as a 3844 # side effect of compilation, but ICC will put the dependencies in 3845 # the current directory while Tru64 will put them in the object 3846 # directory. 3847 mkdir sub 3848 3849 am_cv_CC_dependencies_compiler_type=none 3850 if test "$am_compiler_list" = ""; then 3851 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3852 fi 3853 am__universal=false 3854 case " $depcc " in #( 3855 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3856 esac 3857 3858 for depmode in $am_compiler_list; do 3859 # Setup a source with many dependencies, because some compilers 3860 # like to wrap large dependency lists on column 80 (with \), and 3861 # we should not choose a depcomp mode which is confused by this. 3862 # 3863 # We need to recreate these files for each test, as the compiler may 3864 # overwrite some of them when testing with obscure command lines. 3865 # This happens at least with the AIX C compiler. 3866 : > sub/conftest.c 3867 for i in 1 2 3 4 5 6; do 3868 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3869 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3870 # Solaris 10 /bin/sh. 3871 echo '/* dummy */' > sub/conftst$i.h 3872 done 3873 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3874 3875 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3876 # mode. It turns out that the SunPro C++ compiler does not properly 3877 # handle '-M -o', and we need to detect this. Also, some Intel 3878 # versions had trouble with output in subdirs. 3879 am__obj=sub/conftest.${OBJEXT-o} 3880 am__minus_obj="-o $am__obj" 3881 case $depmode in 3882 gcc) 3883 # This depmode causes a compiler race in universal mode. 3884 test "$am__universal" = false || continue 3885 ;; 3886 nosideeffect) 3887 # After this tag, mechanisms are not by side-effect, so they'll 3888 # only be used when explicitly requested. 3889 if test "x$enable_dependency_tracking" = xyes; then 3890 continue 3891 else 3892 break 3893 fi 3894 ;; 3895 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3896 # This compiler won't grok '-c -o', but also, the minuso test has 3897 # not run yet. These depmodes are late enough in the game, and 3898 # so weak that their functioning should not be impacted. 3899 am__obj=conftest.${OBJEXT-o} 3900 am__minus_obj= 3901 ;; 3902 none) break ;; 3903 esac 3904 if depmode=$depmode \ 3905 source=sub/conftest.c object=$am__obj \ 3906 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3907 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3908 >/dev/null 2>conftest.err && 3909 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3910 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3911 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3912 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3913 # icc doesn't choke on unknown options, it will just issue warnings 3914 # or remarks (even with -Werror). So we grep stderr for any message 3915 # that says an option was ignored or not supported. 3916 # When given -MP, icc 7.0 and 7.1 complain thusly: 3917 # icc: Command line warning: ignoring option '-M'; no argument required 3918 # The diagnosis changed in icc 8.0: 3919 # icc: Command line remark: option '-MP' not supported 3920 if (grep 'ignoring option' conftest.err || 3921 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3922 am_cv_CC_dependencies_compiler_type=$depmode 3923 break 3924 fi 3925 fi 3926 done 3927 3928 cd .. 3929 rm -rf conftest.dir 3930 else 3931 am_cv_CC_dependencies_compiler_type=none 3932 fi 3933 3934 fi 3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3936 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3937 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3938 3939 if 3940 test "x$enable_dependency_tracking" != xno \ 3941 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3942 am__fastdepCC_TRUE= 3943 am__fastdepCC_FALSE='#' 3944 else 3945 am__fastdepCC_TRUE='#' 3946 am__fastdepCC_FALSE= 3947 fi 3948 3949 3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3951 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 3952 if ${ac_cv_path_SED+:} false; then : 3953 $as_echo_n "(cached) " >&6 3954 else 3955 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3956 for ac_i in 1 2 3 4 5 6 7; do 3957 ac_script="$ac_script$as_nl$ac_script" 3958 done 3959 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3960 { ac_script=; unset ac_script;} 3961 if test -z "$SED"; then 3962 ac_path_SED_found=false 3963 # Loop through the user's path and test for each of PROGNAME-LIST 3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3965 for as_dir in $PATH 3966 do 3967 IFS=$as_save_IFS 3968 test -z "$as_dir" && as_dir=. 3969 for ac_prog in sed gsed; do 3970 for ac_exec_ext in '' $ac_executable_extensions; do 3971 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3972 as_fn_executable_p "$ac_path_SED" || continue 3973 # Check for GNU ac_path_SED and select it if it is found. 3974 # Check for GNU $ac_path_SED 3975 case `"$ac_path_SED" --version 2>&1` in 3976 *GNU*) 3977 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3978 *) 3979 ac_count=0 3980 $as_echo_n 0123456789 >"conftest.in" 3981 while : 3982 do 3983 cat "conftest.in" "conftest.in" >"conftest.tmp" 3984 mv "conftest.tmp" "conftest.in" 3985 cp "conftest.in" "conftest.nl" 3986 $as_echo '' >> "conftest.nl" 3987 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3988 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3989 as_fn_arith $ac_count + 1 && ac_count=$as_val 3990 if test $ac_count -gt ${ac_path_SED_max-0}; then 3991 # Best one so far, save it but keep looking for a better one 3992 ac_cv_path_SED="$ac_path_SED" 3993 ac_path_SED_max=$ac_count 3994 fi 3995 # 10*(2^10) chars as input seems more than enough 3996 test $ac_count -gt 10 && break 3997 done 3998 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3999 esac 4000 4001 $ac_path_SED_found && break 3 4002 done 4003 done 4004 done 4005 IFS=$as_save_IFS 4006 if test -z "$ac_cv_path_SED"; then 4007 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4008 fi 4009 else 4010 ac_cv_path_SED=$SED 4011 fi 4012 4013 fi 4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4015 $as_echo "$ac_cv_path_SED" >&6; } 4016 SED="$ac_cv_path_SED" 4017 rm -f conftest.sed 4018 4019 test -z "$SED" && SED=sed 4020 Xsed="$SED -e 1s/^X//" 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4033 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4034 if ${ac_cv_path_GREP+:} false; then : 4035 $as_echo_n "(cached) " >&6 4036 else 4037 if test -z "$GREP"; then 4038 ac_path_GREP_found=false 4039 # Loop through the user's path and test for each of PROGNAME-LIST 4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4041 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4042 do 4043 IFS=$as_save_IFS 4044 test -z "$as_dir" && as_dir=. 4045 for ac_prog in grep ggrep; do 4046 for ac_exec_ext in '' $ac_executable_extensions; do 4047 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4048 as_fn_executable_p "$ac_path_GREP" || continue 4049 # Check for GNU ac_path_GREP and select it if it is found. 4050 # Check for GNU $ac_path_GREP 4051 case `"$ac_path_GREP" --version 2>&1` in 4052 *GNU*) 4053 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4054 *) 4055 ac_count=0 4056 $as_echo_n 0123456789 >"conftest.in" 4057 while : 4058 do 4059 cat "conftest.in" "conftest.in" >"conftest.tmp" 4060 mv "conftest.tmp" "conftest.in" 4061 cp "conftest.in" "conftest.nl" 4062 $as_echo 'GREP' >> "conftest.nl" 4063 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4064 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4065 as_fn_arith $ac_count + 1 && ac_count=$as_val 4066 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4067 # Best one so far, save it but keep looking for a better one 4068 ac_cv_path_GREP="$ac_path_GREP" 4069 ac_path_GREP_max=$ac_count 4070 fi 4071 # 10*(2^10) chars as input seems more than enough 4072 test $ac_count -gt 10 && break 4073 done 4074 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4075 esac 4076 4077 $ac_path_GREP_found && break 3 4078 done 4079 done 4080 done 4081 IFS=$as_save_IFS 4082 if test -z "$ac_cv_path_GREP"; then 4083 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4084 fi 4085 else 4086 ac_cv_path_GREP=$GREP 4087 fi 4088 4089 fi 4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4091 $as_echo "$ac_cv_path_GREP" >&6; } 4092 GREP="$ac_cv_path_GREP" 4093 4094 4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4096 $as_echo_n "checking for egrep... " >&6; } 4097 if ${ac_cv_path_EGREP+:} false; then : 4098 $as_echo_n "(cached) " >&6 4099 else 4100 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4101 then ac_cv_path_EGREP="$GREP -E" 4102 else 4103 if test -z "$EGREP"; then 4104 ac_path_EGREP_found=false 4105 # Loop through the user's path and test for each of PROGNAME-LIST 4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4107 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4108 do 4109 IFS=$as_save_IFS 4110 test -z "$as_dir" && as_dir=. 4111 for ac_prog in egrep; do 4112 for ac_exec_ext in '' $ac_executable_extensions; do 4113 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4114 as_fn_executable_p "$ac_path_EGREP" || continue 4115 # Check for GNU ac_path_EGREP and select it if it is found. 4116 # Check for GNU $ac_path_EGREP 4117 case `"$ac_path_EGREP" --version 2>&1` in 4118 *GNU*) 4119 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4120 *) 4121 ac_count=0 4122 $as_echo_n 0123456789 >"conftest.in" 4123 while : 4124 do 4125 cat "conftest.in" "conftest.in" >"conftest.tmp" 4126 mv "conftest.tmp" "conftest.in" 4127 cp "conftest.in" "conftest.nl" 4128 $as_echo 'EGREP' >> "conftest.nl" 4129 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4131 as_fn_arith $ac_count + 1 && ac_count=$as_val 4132 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4133 # Best one so far, save it but keep looking for a better one 4134 ac_cv_path_EGREP="$ac_path_EGREP" 4135 ac_path_EGREP_max=$ac_count 4136 fi 4137 # 10*(2^10) chars as input seems more than enough 4138 test $ac_count -gt 10 && break 4139 done 4140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4141 esac 4142 4143 $ac_path_EGREP_found && break 3 4144 done 4145 done 4146 done 4147 IFS=$as_save_IFS 4148 if test -z "$ac_cv_path_EGREP"; then 4149 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4150 fi 4151 else 4152 ac_cv_path_EGREP=$EGREP 4153 fi 4154 4155 fi 4156 fi 4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4158 $as_echo "$ac_cv_path_EGREP" >&6; } 4159 EGREP="$ac_cv_path_EGREP" 4160 4161 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4163 $as_echo_n "checking for fgrep... " >&6; } 4164 if ${ac_cv_path_FGREP+:} false; then : 4165 $as_echo_n "(cached) " >&6 4166 else 4167 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4168 then ac_cv_path_FGREP="$GREP -F" 4169 else 4170 if test -z "$FGREP"; then 4171 ac_path_FGREP_found=false 4172 # Loop through the user's path and test for each of PROGNAME-LIST 4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4174 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4175 do 4176 IFS=$as_save_IFS 4177 test -z "$as_dir" && as_dir=. 4178 for ac_prog in fgrep; do 4179 for ac_exec_ext in '' $ac_executable_extensions; do 4180 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4181 as_fn_executable_p "$ac_path_FGREP" || continue 4182 # Check for GNU ac_path_FGREP and select it if it is found. 4183 # Check for GNU $ac_path_FGREP 4184 case `"$ac_path_FGREP" --version 2>&1` in 4185 *GNU*) 4186 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4187 *) 4188 ac_count=0 4189 $as_echo_n 0123456789 >"conftest.in" 4190 while : 4191 do 4192 cat "conftest.in" "conftest.in" >"conftest.tmp" 4193 mv "conftest.tmp" "conftest.in" 4194 cp "conftest.in" "conftest.nl" 4195 $as_echo 'FGREP' >> "conftest.nl" 4196 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4197 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4198 as_fn_arith $ac_count + 1 && ac_count=$as_val 4199 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4200 # Best one so far, save it but keep looking for a better one 4201 ac_cv_path_FGREP="$ac_path_FGREP" 4202 ac_path_FGREP_max=$ac_count 4203 fi 4204 # 10*(2^10) chars as input seems more than enough 4205 test $ac_count -gt 10 && break 4206 done 4207 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4208 esac 4209 4210 $ac_path_FGREP_found && break 3 4211 done 4212 done 4213 done 4214 IFS=$as_save_IFS 4215 if test -z "$ac_cv_path_FGREP"; then 4216 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4217 fi 4218 else 4219 ac_cv_path_FGREP=$FGREP 4220 fi 4221 4222 fi 4223 fi 4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4225 $as_echo "$ac_cv_path_FGREP" >&6; } 4226 FGREP="$ac_cv_path_FGREP" 4227 4228 4229 test -z "$GREP" && GREP=grep 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 # Check whether --with-gnu-ld was given. 4250 if test "${with_gnu_ld+set}" = set; then : 4251 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4252 else 4253 with_gnu_ld=no 4254 fi 4255 4256 ac_prog=ld 4257 if test "$GCC" = yes; then 4258 # Check if gcc -print-prog-name=ld gives a path. 4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4260 $as_echo_n "checking for ld used by $CC... " >&6; } 4261 case $host in 4262 *-*-mingw*) 4263 # gcc leaves a trailing carriage return which upsets mingw 4264 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4265 *) 4266 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4267 esac 4268 case $ac_prog in 4269 # Accept absolute paths. 4270 [\\/]* | ?:[\\/]*) 4271 re_direlt='/[^/][^/]*/\.\./' 4272 # Canonicalize the pathname of ld 4273 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4274 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4275 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4276 done 4277 test -z "$LD" && LD="$ac_prog" 4278 ;; 4279 "") 4280 # If it fails, then pretend we aren't using GCC. 4281 ac_prog=ld 4282 ;; 4283 *) 4284 # If it is relative, then search for the first ld in PATH. 4285 with_gnu_ld=unknown 4286 ;; 4287 esac 4288 elif test "$with_gnu_ld" = yes; then 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4290 $as_echo_n "checking for GNU ld... " >&6; } 4291 else 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4293 $as_echo_n "checking for non-GNU ld... " >&6; } 4294 fi 4295 if ${lt_cv_path_LD+:} false; then : 4296 $as_echo_n "(cached) " >&6 4297 else 4298 if test -z "$LD"; then 4299 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4300 for ac_dir in $PATH; do 4301 IFS="$lt_save_ifs" 4302 test -z "$ac_dir" && ac_dir=. 4303 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4304 lt_cv_path_LD="$ac_dir/$ac_prog" 4305 # Check to see if the program is GNU ld. I'd rather use --version, 4306 # but apparently some variants of GNU ld only accept -v. 4307 # Break only if it was the GNU/non-GNU ld that we prefer. 4308 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4309 *GNU* | *'with BFD'*) 4310 test "$with_gnu_ld" != no && break 4311 ;; 4312 *) 4313 test "$with_gnu_ld" != yes && break 4314 ;; 4315 esac 4316 fi 4317 done 4318 IFS="$lt_save_ifs" 4319 else 4320 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4321 fi 4322 fi 4323 4324 LD="$lt_cv_path_LD" 4325 if test -n "$LD"; then 4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4327 $as_echo "$LD" >&6; } 4328 else 4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4330 $as_echo "no" >&6; } 4331 fi 4332 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4334 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4335 if ${lt_cv_prog_gnu_ld+:} false; then : 4336 $as_echo_n "(cached) " >&6 4337 else 4338 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4339 case `$LD -v 2>&1 </dev/null` in 4340 *GNU* | *'with BFD'*) 4341 lt_cv_prog_gnu_ld=yes 4342 ;; 4343 *) 4344 lt_cv_prog_gnu_ld=no 4345 ;; 4346 esac 4347 fi 4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4349 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 4350 with_gnu_ld=$lt_cv_prog_gnu_ld 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4361 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4362 if ${lt_cv_path_NM+:} false; then : 4363 $as_echo_n "(cached) " >&6 4364 else 4365 if test -n "$NM"; then 4366 # Let the user override the test. 4367 lt_cv_path_NM="$NM" 4368 else 4369 lt_nm_to_check="${ac_tool_prefix}nm" 4370 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4371 lt_nm_to_check="$lt_nm_to_check nm" 4372 fi 4373 for lt_tmp_nm in $lt_nm_to_check; do 4374 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4375 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4376 IFS="$lt_save_ifs" 4377 test -z "$ac_dir" && ac_dir=. 4378 tmp_nm="$ac_dir/$lt_tmp_nm" 4379 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4380 # Check to see if the nm accepts a BSD-compat flag. 4381 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4382 # nm: unknown option "B" ignored 4383 # Tru64's nm complains that /dev/null is an invalid object file 4384 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4385 */dev/null* | *'Invalid file or object type'*) 4386 lt_cv_path_NM="$tmp_nm -B" 4387 break 4388 ;; 4389 *) 4390 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4391 */dev/null*) 4392 lt_cv_path_NM="$tmp_nm -p" 4393 break 4394 ;; 4395 *) 4396 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4397 continue # so that we can try to find one that supports BSD flags 4398 ;; 4399 esac 4400 ;; 4401 esac 4402 fi 4403 done 4404 IFS="$lt_save_ifs" 4405 done 4406 : ${lt_cv_path_NM=no} 4407 fi 4408 fi 4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4410 $as_echo "$lt_cv_path_NM" >&6; } 4411 if test "$lt_cv_path_NM" != "no"; then 4412 NM="$lt_cv_path_NM" 4413 else 4414 # Didn't find any BSD compatible name lister, look for dumpbin. 4415 if test -n "$DUMPBIN"; then : 4416 # Let the user override the test. 4417 else 4418 if test -n "$ac_tool_prefix"; then 4419 for ac_prog in dumpbin "link -dump" 4420 do 4421 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4422 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4424 $as_echo_n "checking for $ac_word... " >&6; } 4425 if ${ac_cv_prog_DUMPBIN+:} false; then : 4426 $as_echo_n "(cached) " >&6 4427 else 4428 if test -n "$DUMPBIN"; then 4429 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4430 else 4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4432 for as_dir in $PATH 4433 do 4434 IFS=$as_save_IFS 4435 test -z "$as_dir" && as_dir=. 4436 for ac_exec_ext in '' $ac_executable_extensions; do 4437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4438 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4440 break 2 4441 fi 4442 done 4443 done 4444 IFS=$as_save_IFS 4445 4446 fi 4447 fi 4448 DUMPBIN=$ac_cv_prog_DUMPBIN 4449 if test -n "$DUMPBIN"; then 4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4451 $as_echo "$DUMPBIN" >&6; } 4452 else 4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4454 $as_echo "no" >&6; } 4455 fi 4456 4457 4458 test -n "$DUMPBIN" && break 4459 done 4460 fi 4461 if test -z "$DUMPBIN"; then 4462 ac_ct_DUMPBIN=$DUMPBIN 4463 for ac_prog in dumpbin "link -dump" 4464 do 4465 # Extract the first word of "$ac_prog", so it can be a program name with args. 4466 set dummy $ac_prog; ac_word=$2 4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4468 $as_echo_n "checking for $ac_word... " >&6; } 4469 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4470 $as_echo_n "(cached) " >&6 4471 else 4472 if test -n "$ac_ct_DUMPBIN"; then 4473 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4474 else 4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4476 for as_dir in $PATH 4477 do 4478 IFS=$as_save_IFS 4479 test -z "$as_dir" && as_dir=. 4480 for ac_exec_ext in '' $ac_executable_extensions; do 4481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4482 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4484 break 2 4485 fi 4486 done 4487 done 4488 IFS=$as_save_IFS 4489 4490 fi 4491 fi 4492 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4493 if test -n "$ac_ct_DUMPBIN"; then 4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4495 $as_echo "$ac_ct_DUMPBIN" >&6; } 4496 else 4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4498 $as_echo "no" >&6; } 4499 fi 4500 4501 4502 test -n "$ac_ct_DUMPBIN" && break 4503 done 4504 4505 if test "x$ac_ct_DUMPBIN" = x; then 4506 DUMPBIN=":" 4507 else 4508 case $cross_compiling:$ac_tool_warned in 4509 yes:) 4510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4512 ac_tool_warned=yes ;; 4513 esac 4514 DUMPBIN=$ac_ct_DUMPBIN 4515 fi 4516 fi 4517 4518 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4519 *COFF*) 4520 DUMPBIN="$DUMPBIN -symbols" 4521 ;; 4522 *) 4523 DUMPBIN=: 4524 ;; 4525 esac 4526 fi 4527 4528 if test "$DUMPBIN" != ":"; then 4529 NM="$DUMPBIN" 4530 fi 4531 fi 4532 test -z "$NM" && NM=nm 4533 4534 4535 4536 4537 4538 4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4540 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 4541 if ${lt_cv_nm_interface+:} false; then : 4542 $as_echo_n "(cached) " >&6 4543 else 4544 lt_cv_nm_interface="BSD nm" 4545 echo "int some_variable = 0;" > conftest.$ac_ext 4546 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4547 (eval "$ac_compile" 2>conftest.err) 4548 cat conftest.err >&5 4549 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4550 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4551 cat conftest.err >&5 4552 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4553 cat conftest.out >&5 4554 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4555 lt_cv_nm_interface="MS dumpbin" 4556 fi 4557 rm -f conftest* 4558 fi 4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4560 $as_echo "$lt_cv_nm_interface" >&6; } 4561 4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4563 $as_echo_n "checking whether ln -s works... " >&6; } 4564 LN_S=$as_ln_s 4565 if test "$LN_S" = "ln -s"; then 4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4567 $as_echo "yes" >&6; } 4568 else 4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4570 $as_echo "no, using $LN_S" >&6; } 4571 fi 4572 4573 # find the maximum length of command line arguments 4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4575 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 4576 if ${lt_cv_sys_max_cmd_len+:} false; then : 4577 $as_echo_n "(cached) " >&6 4578 else 4579 i=0 4580 teststring="ABCD" 4581 4582 case $build_os in 4583 msdosdjgpp*) 4584 # On DJGPP, this test can blow up pretty badly due to problems in libc 4585 # (any single argument exceeding 2000 bytes causes a buffer overrun 4586 # during glob expansion). Even if it were fixed, the result of this 4587 # check would be larger than it should be. 4588 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4589 ;; 4590 4591 gnu*) 4592 # Under GNU Hurd, this test is not required because there is 4593 # no limit to the length of command line arguments. 4594 # Libtool will interpret -1 as no limit whatsoever 4595 lt_cv_sys_max_cmd_len=-1; 4596 ;; 4597 4598 cygwin* | mingw* | cegcc*) 4599 # On Win9x/ME, this test blows up -- it succeeds, but takes 4600 # about 5 minutes as the teststring grows exponentially. 4601 # Worse, since 9x/ME are not pre-emptively multitasking, 4602 # you end up with a "frozen" computer, even though with patience 4603 # the test eventually succeeds (with a max line length of 256k). 4604 # Instead, let's just punt: use the minimum linelength reported by 4605 # all of the supported platforms: 8192 (on NT/2K/XP). 4606 lt_cv_sys_max_cmd_len=8192; 4607 ;; 4608 4609 mint*) 4610 # On MiNT this can take a long time and run out of memory. 4611 lt_cv_sys_max_cmd_len=8192; 4612 ;; 4613 4614 amigaos*) 4615 # On AmigaOS with pdksh, this test takes hours, literally. 4616 # So we just punt and use a minimum line length of 8192. 4617 lt_cv_sys_max_cmd_len=8192; 4618 ;; 4619 4620 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4621 # This has been around since 386BSD, at least. Likely further. 4622 if test -x /sbin/sysctl; then 4623 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4624 elif test -x /usr/sbin/sysctl; then 4625 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4626 else 4627 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4628 fi 4629 # And add a safety zone 4630 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4631 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4632 ;; 4633 4634 interix*) 4635 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4636 lt_cv_sys_max_cmd_len=196608 4637 ;; 4638 4639 os2*) 4640 # The test takes a long time on OS/2. 4641 lt_cv_sys_max_cmd_len=8192 4642 ;; 4643 4644 osf*) 4645 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4646 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4647 # nice to cause kernel panics so lets avoid the loop below. 4648 # First set a reasonable default. 4649 lt_cv_sys_max_cmd_len=16384 4650 # 4651 if test -x /sbin/sysconfig; then 4652 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4653 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4654 esac 4655 fi 4656 ;; 4657 sco3.2v5*) 4658 lt_cv_sys_max_cmd_len=102400 4659 ;; 4660 sysv5* | sco5v6* | sysv4.2uw2*) 4661 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4662 if test -n "$kargmax"; then 4663 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4664 else 4665 lt_cv_sys_max_cmd_len=32768 4666 fi 4667 ;; 4668 *) 4669 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4670 if test -n "$lt_cv_sys_max_cmd_len" && \ 4671 test undefined != "$lt_cv_sys_max_cmd_len"; then 4672 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4673 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4674 else 4675 # Make teststring a little bigger before we do anything with it. 4676 # a 1K string should be a reasonable start. 4677 for i in 1 2 3 4 5 6 7 8 ; do 4678 teststring=$teststring$teststring 4679 done 4680 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4681 # If test is not a shell built-in, we'll probably end up computing a 4682 # maximum length that is only half of the actual maximum length, but 4683 # we can't tell. 4684 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 4685 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4686 test $i != 17 # 1/2 MB should be enough 4687 do 4688 i=`expr $i + 1` 4689 teststring=$teststring$teststring 4690 done 4691 # Only check the string length outside the loop. 4692 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4693 teststring= 4694 # Add a significant safety factor because C++ compilers can tack on 4695 # massive amounts of additional arguments before passing them to the 4696 # linker. It appears as though 1/2 is a usable value. 4697 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4698 fi 4699 ;; 4700 esac 4701 4702 fi 4703 4704 if test -n $lt_cv_sys_max_cmd_len ; then 4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4706 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4707 else 4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4709 $as_echo "none" >&6; } 4710 fi 4711 max_cmd_len=$lt_cv_sys_max_cmd_len 4712 4713 4714 4715 4716 4717 4718 : ${CP="cp -f"} 4719 : ${MV="mv -f"} 4720 : ${RM="rm -f"} 4721 4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4723 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4724 # Try some XSI features 4725 xsi_shell=no 4726 ( _lt_dummy="a/b/c" 4727 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 4728 = c,a/b,b/c, \ 4729 && eval 'test $(( 1 + 1 )) -eq 2 \ 4730 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4731 && xsi_shell=yes 4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4733 $as_echo "$xsi_shell" >&6; } 4734 4735 4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4737 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4738 lt_shell_append=no 4739 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4740 >/dev/null 2>&1 \ 4741 && lt_shell_append=yes 4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4743 $as_echo "$lt_shell_append" >&6; } 4744 4745 4746 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4747 lt_unset=unset 4748 else 4749 lt_unset=false 4750 fi 4751 4752 4753 4754 4755 4756 # test EBCDIC or ASCII 4757 case `echo X|tr X '\101'` in 4758 A) # ASCII based system 4759 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4760 lt_SP2NL='tr \040 \012' 4761 lt_NL2SP='tr \015\012 \040\040' 4762 ;; 4763 *) # EBCDIC based system 4764 lt_SP2NL='tr \100 \n' 4765 lt_NL2SP='tr \r\n \100\100' 4766 ;; 4767 esac 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4778 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4779 if ${lt_cv_to_host_file_cmd+:} false; then : 4780 $as_echo_n "(cached) " >&6 4781 else 4782 case $host in 4783 *-*-mingw* ) 4784 case $build in 4785 *-*-mingw* ) # actually msys 4786 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4787 ;; 4788 *-*-cygwin* ) 4789 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4790 ;; 4791 * ) # otherwise, assume *nix 4792 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4793 ;; 4794 esac 4795 ;; 4796 *-*-cygwin* ) 4797 case $build in 4798 *-*-mingw* ) # actually msys 4799 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4800 ;; 4801 *-*-cygwin* ) 4802 lt_cv_to_host_file_cmd=func_convert_file_noop 4803 ;; 4804 * ) # otherwise, assume *nix 4805 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4806 ;; 4807 esac 4808 ;; 4809 * ) # unhandled hosts (and "normal" native builds) 4810 lt_cv_to_host_file_cmd=func_convert_file_noop 4811 ;; 4812 esac 4813 4814 fi 4815 4816 to_host_file_cmd=$lt_cv_to_host_file_cmd 4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4818 $as_echo "$lt_cv_to_host_file_cmd" >&6; } 4819 4820 4821 4822 4823 4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4825 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4826 if ${lt_cv_to_tool_file_cmd+:} false; then : 4827 $as_echo_n "(cached) " >&6 4828 else 4829 #assume ordinary cross tools, or native build. 4830 lt_cv_to_tool_file_cmd=func_convert_file_noop 4831 case $host in 4832 *-*-mingw* ) 4833 case $build in 4834 *-*-mingw* ) # actually msys 4835 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4836 ;; 4837 esac 4838 ;; 4839 esac 4840 4841 fi 4842 4843 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4845 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4846 4847 4848 4849 4850 4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4852 $as_echo_n "checking for $LD option to reload object files... " >&6; } 4853 if ${lt_cv_ld_reload_flag+:} false; then : 4854 $as_echo_n "(cached) " >&6 4855 else 4856 lt_cv_ld_reload_flag='-r' 4857 fi 4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4859 $as_echo "$lt_cv_ld_reload_flag" >&6; } 4860 reload_flag=$lt_cv_ld_reload_flag 4861 case $reload_flag in 4862 "" | " "*) ;; 4863 *) reload_flag=" $reload_flag" ;; 4864 esac 4865 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4866 case $host_os in 4867 cygwin* | mingw* | pw32* | cegcc*) 4868 if test "$GCC" != yes; then 4869 reload_cmds=false 4870 fi 4871 ;; 4872 darwin*) 4873 if test "$GCC" = yes; then 4874 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4875 else 4876 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4877 fi 4878 ;; 4879 esac 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 if test -n "$ac_tool_prefix"; then 4890 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4891 set dummy ${ac_tool_prefix}objdump; ac_word=$2 4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4893 $as_echo_n "checking for $ac_word... " >&6; } 4894 if ${ac_cv_prog_OBJDUMP+:} false; then : 4895 $as_echo_n "(cached) " >&6 4896 else 4897 if test -n "$OBJDUMP"; then 4898 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4899 else 4900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4901 for as_dir in $PATH 4902 do 4903 IFS=$as_save_IFS 4904 test -z "$as_dir" && as_dir=. 4905 for ac_exec_ext in '' $ac_executable_extensions; do 4906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4907 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4909 break 2 4910 fi 4911 done 4912 done 4913 IFS=$as_save_IFS 4914 4915 fi 4916 fi 4917 OBJDUMP=$ac_cv_prog_OBJDUMP 4918 if test -n "$OBJDUMP"; then 4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4920 $as_echo "$OBJDUMP" >&6; } 4921 else 4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4923 $as_echo "no" >&6; } 4924 fi 4925 4926 4927 fi 4928 if test -z "$ac_cv_prog_OBJDUMP"; then 4929 ac_ct_OBJDUMP=$OBJDUMP 4930 # Extract the first word of "objdump", so it can be a program name with args. 4931 set dummy objdump; ac_word=$2 4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4933 $as_echo_n "checking for $ac_word... " >&6; } 4934 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4935 $as_echo_n "(cached) " >&6 4936 else 4937 if test -n "$ac_ct_OBJDUMP"; then 4938 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4939 else 4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4941 for as_dir in $PATH 4942 do 4943 IFS=$as_save_IFS 4944 test -z "$as_dir" && as_dir=. 4945 for ac_exec_ext in '' $ac_executable_extensions; do 4946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4947 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4949 break 2 4950 fi 4951 done 4952 done 4953 IFS=$as_save_IFS 4954 4955 fi 4956 fi 4957 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4958 if test -n "$ac_ct_OBJDUMP"; then 4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4960 $as_echo "$ac_ct_OBJDUMP" >&6; } 4961 else 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4963 $as_echo "no" >&6; } 4964 fi 4965 4966 if test "x$ac_ct_OBJDUMP" = x; then 4967 OBJDUMP="false" 4968 else 4969 case $cross_compiling:$ac_tool_warned in 4970 yes:) 4971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4973 ac_tool_warned=yes ;; 4974 esac 4975 OBJDUMP=$ac_ct_OBJDUMP 4976 fi 4977 else 4978 OBJDUMP="$ac_cv_prog_OBJDUMP" 4979 fi 4980 4981 test -z "$OBJDUMP" && OBJDUMP=objdump 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4992 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 4993 if ${lt_cv_deplibs_check_method+:} false; then : 4994 $as_echo_n "(cached) " >&6 4995 else 4996 lt_cv_file_magic_cmd='$MAGIC_CMD' 4997 lt_cv_file_magic_test_file= 4998 lt_cv_deplibs_check_method='unknown' 4999 # Need to set the preceding variable on all platforms that support 5000 # interlibrary dependencies. 5001 # 'none' -- dependencies not supported. 5002 # `unknown' -- same as none, but documents that we really don't know. 5003 # 'pass_all' -- all dependencies passed with no checks. 5004 # 'test_compile' -- check by making test program. 5005 # 'file_magic [[regex]]' -- check by looking for files in library path 5006 # which responds to the $file_magic_cmd with a given extended regex. 5007 # If you have `file' or equivalent on your system and you're not sure 5008 # whether `pass_all' will *always* work, you probably want this one. 5009 5010 case $host_os in 5011 aix[4-9]*) 5012 lt_cv_deplibs_check_method=pass_all 5013 ;; 5014 5015 beos*) 5016 lt_cv_deplibs_check_method=pass_all 5017 ;; 5018 5019 bsdi[45]*) 5020 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5021 lt_cv_file_magic_cmd='/usr/bin/file -L' 5022 lt_cv_file_magic_test_file=/shlib/libc.so 5023 ;; 5024 5025 cygwin*) 5026 # func_win32_libid is a shell function defined in ltmain.sh 5027 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5028 lt_cv_file_magic_cmd='func_win32_libid' 5029 ;; 5030 5031 mingw* | pw32*) 5032 # Base MSYS/MinGW do not provide the 'file' command needed by 5033 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5034 # unless we find 'file', for example because we are cross-compiling. 5035 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5036 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5037 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5038 lt_cv_file_magic_cmd='func_win32_libid' 5039 else 5040 # Keep this pattern in sync with the one in func_win32_libid. 5041 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5042 lt_cv_file_magic_cmd='$OBJDUMP -f' 5043 fi 5044 ;; 5045 5046 cegcc*) 5047 # use the weaker test based on 'objdump'. See mingw*. 5048 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5049 lt_cv_file_magic_cmd='$OBJDUMP -f' 5050 ;; 5051 5052 darwin* | rhapsody*) 5053 lt_cv_deplibs_check_method=pass_all 5054 ;; 5055 5056 freebsd* | dragonfly*) 5057 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5058 case $host_cpu in 5059 i*86 ) 5060 # Not sure whether the presence of OpenBSD here was a mistake. 5061 # Let's accept both of them until this is cleared up. 5062 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5063 lt_cv_file_magic_cmd=/usr/bin/file 5064 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5065 ;; 5066 esac 5067 else 5068 lt_cv_deplibs_check_method=pass_all 5069 fi 5070 ;; 5071 5072 haiku*) 5073 lt_cv_deplibs_check_method=pass_all 5074 ;; 5075 5076 hpux10.20* | hpux11*) 5077 lt_cv_file_magic_cmd=/usr/bin/file 5078 case $host_cpu in 5079 ia64*) 5080 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5081 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5082 ;; 5083 hppa*64*) 5084 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]' 5085 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5086 ;; 5087 *) 5088 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5089 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5090 ;; 5091 esac 5092 ;; 5093 5094 interix[3-9]*) 5095 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5096 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5097 ;; 5098 5099 irix5* | irix6* | nonstopux*) 5100 case $LD in 5101 *-32|*"-32 ") libmagic=32-bit;; 5102 *-n32|*"-n32 ") libmagic=N32;; 5103 *-64|*"-64 ") libmagic=64-bit;; 5104 *) libmagic=never-match;; 5105 esac 5106 lt_cv_deplibs_check_method=pass_all 5107 ;; 5108 5109 # This must be glibc/ELF. 5110 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5111 lt_cv_deplibs_check_method=pass_all 5112 ;; 5113 5114 netbsd* | netbsdelf*-gnu) 5115 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5116 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5117 else 5118 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5119 fi 5120 ;; 5121 5122 newos6*) 5123 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5124 lt_cv_file_magic_cmd=/usr/bin/file 5125 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5126 ;; 5127 5128 *nto* | *qnx*) 5129 lt_cv_deplibs_check_method=pass_all 5130 ;; 5131 5132 openbsd*) 5133 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5134 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5135 else 5136 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5137 fi 5138 ;; 5139 5140 osf3* | osf4* | osf5*) 5141 lt_cv_deplibs_check_method=pass_all 5142 ;; 5143 5144 rdos*) 5145 lt_cv_deplibs_check_method=pass_all 5146 ;; 5147 5148 solaris*) 5149 lt_cv_deplibs_check_method=pass_all 5150 ;; 5151 5152 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5153 lt_cv_deplibs_check_method=pass_all 5154 ;; 5155 5156 sysv4 | sysv4.3*) 5157 case $host_vendor in 5158 motorola) 5159 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]' 5160 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5161 ;; 5162 ncr) 5163 lt_cv_deplibs_check_method=pass_all 5164 ;; 5165 sequent) 5166 lt_cv_file_magic_cmd='/bin/file' 5167 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5168 ;; 5169 sni) 5170 lt_cv_file_magic_cmd='/bin/file' 5171 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5172 lt_cv_file_magic_test_file=/lib/libc.so 5173 ;; 5174 siemens) 5175 lt_cv_deplibs_check_method=pass_all 5176 ;; 5177 pc) 5178 lt_cv_deplibs_check_method=pass_all 5179 ;; 5180 esac 5181 ;; 5182 5183 tpf*) 5184 lt_cv_deplibs_check_method=pass_all 5185 ;; 5186 esac 5187 5188 fi 5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5190 $as_echo "$lt_cv_deplibs_check_method" >&6; } 5191 5192 file_magic_glob= 5193 want_nocaseglob=no 5194 if test "$build" = "$host"; then 5195 case $host_os in 5196 mingw* | pw32*) 5197 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5198 want_nocaseglob=yes 5199 else 5200 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5201 fi 5202 ;; 5203 esac 5204 fi 5205 5206 file_magic_cmd=$lt_cv_file_magic_cmd 5207 deplibs_check_method=$lt_cv_deplibs_check_method 5208 test -z "$deplibs_check_method" && deplibs_check_method=unknown 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 if test -n "$ac_tool_prefix"; then 5232 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5233 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5235 $as_echo_n "checking for $ac_word... " >&6; } 5236 if ${ac_cv_prog_DLLTOOL+:} false; then : 5237 $as_echo_n "(cached) " >&6 5238 else 5239 if test -n "$DLLTOOL"; then 5240 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5241 else 5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5243 for as_dir in $PATH 5244 do 5245 IFS=$as_save_IFS 5246 test -z "$as_dir" && as_dir=. 5247 for ac_exec_ext in '' $ac_executable_extensions; do 5248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5249 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5251 break 2 5252 fi 5253 done 5254 done 5255 IFS=$as_save_IFS 5256 5257 fi 5258 fi 5259 DLLTOOL=$ac_cv_prog_DLLTOOL 5260 if test -n "$DLLTOOL"; then 5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5262 $as_echo "$DLLTOOL" >&6; } 5263 else 5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5265 $as_echo "no" >&6; } 5266 fi 5267 5268 5269 fi 5270 if test -z "$ac_cv_prog_DLLTOOL"; then 5271 ac_ct_DLLTOOL=$DLLTOOL 5272 # Extract the first word of "dlltool", so it can be a program name with args. 5273 set dummy dlltool; ac_word=$2 5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5275 $as_echo_n "checking for $ac_word... " >&6; } 5276 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5277 $as_echo_n "(cached) " >&6 5278 else 5279 if test -n "$ac_ct_DLLTOOL"; then 5280 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5281 else 5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5283 for as_dir in $PATH 5284 do 5285 IFS=$as_save_IFS 5286 test -z "$as_dir" && as_dir=. 5287 for ac_exec_ext in '' $ac_executable_extensions; do 5288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5289 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5291 break 2 5292 fi 5293 done 5294 done 5295 IFS=$as_save_IFS 5296 5297 fi 5298 fi 5299 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5300 if test -n "$ac_ct_DLLTOOL"; then 5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5302 $as_echo "$ac_ct_DLLTOOL" >&6; } 5303 else 5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5305 $as_echo "no" >&6; } 5306 fi 5307 5308 if test "x$ac_ct_DLLTOOL" = x; then 5309 DLLTOOL="false" 5310 else 5311 case $cross_compiling:$ac_tool_warned in 5312 yes:) 5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5315 ac_tool_warned=yes ;; 5316 esac 5317 DLLTOOL=$ac_ct_DLLTOOL 5318 fi 5319 else 5320 DLLTOOL="$ac_cv_prog_DLLTOOL" 5321 fi 5322 5323 test -z "$DLLTOOL" && DLLTOOL=dlltool 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5335 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5336 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5337 $as_echo_n "(cached) " >&6 5338 else 5339 lt_cv_sharedlib_from_linklib_cmd='unknown' 5340 5341 case $host_os in 5342 cygwin* | mingw* | pw32* | cegcc*) 5343 # two different shell functions defined in ltmain.sh 5344 # decide which to use based on capabilities of $DLLTOOL 5345 case `$DLLTOOL --help 2>&1` in 5346 *--identify-strict*) 5347 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5348 ;; 5349 *) 5350 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5351 ;; 5352 esac 5353 ;; 5354 *) 5355 # fallback: assume linklib IS sharedlib 5356 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5357 ;; 5358 esac 5359 5360 fi 5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5362 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5363 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5364 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5365 5366 5367 5368 5369 5370 5371 5372 5373 if test -n "$ac_tool_prefix"; then 5374 for ac_prog in ar 5375 do 5376 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5377 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5379 $as_echo_n "checking for $ac_word... " >&6; } 5380 if ${ac_cv_prog_AR+:} false; then : 5381 $as_echo_n "(cached) " >&6 5382 else 5383 if test -n "$AR"; then 5384 ac_cv_prog_AR="$AR" # Let the user override the test. 5385 else 5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5387 for as_dir in $PATH 5388 do 5389 IFS=$as_save_IFS 5390 test -z "$as_dir" && as_dir=. 5391 for ac_exec_ext in '' $ac_executable_extensions; do 5392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5393 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5395 break 2 5396 fi 5397 done 5398 done 5399 IFS=$as_save_IFS 5400 5401 fi 5402 fi 5403 AR=$ac_cv_prog_AR 5404 if test -n "$AR"; then 5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5406 $as_echo "$AR" >&6; } 5407 else 5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5409 $as_echo "no" >&6; } 5410 fi 5411 5412 5413 test -n "$AR" && break 5414 done 5415 fi 5416 if test -z "$AR"; then 5417 ac_ct_AR=$AR 5418 for ac_prog in ar 5419 do 5420 # Extract the first word of "$ac_prog", so it can be a program name with args. 5421 set dummy $ac_prog; ac_word=$2 5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5423 $as_echo_n "checking for $ac_word... " >&6; } 5424 if ${ac_cv_prog_ac_ct_AR+:} false; then : 5425 $as_echo_n "(cached) " >&6 5426 else 5427 if test -n "$ac_ct_AR"; then 5428 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5429 else 5430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5431 for as_dir in $PATH 5432 do 5433 IFS=$as_save_IFS 5434 test -z "$as_dir" && as_dir=. 5435 for ac_exec_ext in '' $ac_executable_extensions; do 5436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5437 ac_cv_prog_ac_ct_AR="$ac_prog" 5438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5439 break 2 5440 fi 5441 done 5442 done 5443 IFS=$as_save_IFS 5444 5445 fi 5446 fi 5447 ac_ct_AR=$ac_cv_prog_ac_ct_AR 5448 if test -n "$ac_ct_AR"; then 5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5450 $as_echo "$ac_ct_AR" >&6; } 5451 else 5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5453 $as_echo "no" >&6; } 5454 fi 5455 5456 5457 test -n "$ac_ct_AR" && break 5458 done 5459 5460 if test "x$ac_ct_AR" = x; then 5461 AR="false" 5462 else 5463 case $cross_compiling:$ac_tool_warned in 5464 yes:) 5465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5467 ac_tool_warned=yes ;; 5468 esac 5469 AR=$ac_ct_AR 5470 fi 5471 fi 5472 5473 : ${AR=ar} 5474 : ${AR_FLAGS=cru} 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5487 $as_echo_n "checking for archiver @FILE support... " >&6; } 5488 if ${lt_cv_ar_at_file+:} false; then : 5489 $as_echo_n "(cached) " >&6 5490 else 5491 lt_cv_ar_at_file=no 5492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5493 /* end confdefs.h. */ 5494 5495 int 5496 main () 5497 { 5498 5499 ; 5500 return 0; 5501 } 5502 _ACEOF 5503 if ac_fn_c_try_compile "$LINENO"; then : 5504 echo conftest.$ac_objext > conftest.lst 5505 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5506 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5507 (eval $lt_ar_try) 2>&5 5508 ac_status=$? 5509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5510 test $ac_status = 0; } 5511 if test "$ac_status" -eq 0; then 5512 # Ensure the archiver fails upon bogus file names. 5513 rm -f conftest.$ac_objext libconftest.a 5514 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5515 (eval $lt_ar_try) 2>&5 5516 ac_status=$? 5517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5518 test $ac_status = 0; } 5519 if test "$ac_status" -ne 0; then 5520 lt_cv_ar_at_file=@ 5521 fi 5522 fi 5523 rm -f conftest.* libconftest.a 5524 5525 fi 5526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5527 5528 fi 5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5530 $as_echo "$lt_cv_ar_at_file" >&6; } 5531 5532 if test "x$lt_cv_ar_at_file" = xno; then 5533 archiver_list_spec= 5534 else 5535 archiver_list_spec=$lt_cv_ar_at_file 5536 fi 5537 5538 5539 5540 5541 5542 5543 5544 if test -n "$ac_tool_prefix"; then 5545 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5546 set dummy ${ac_tool_prefix}strip; 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; } 5549 if ${ac_cv_prog_STRIP+:} false; then : 5550 $as_echo_n "(cached) " >&6 5551 else 5552 if test -n "$STRIP"; then 5553 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5554 else 5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5556 for as_dir in $PATH 5557 do 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_STRIP="${ac_tool_prefix}strip" 5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5564 break 2 5565 fi 5566 done 5567 done 5568 IFS=$as_save_IFS 5569 5570 fi 5571 fi 5572 STRIP=$ac_cv_prog_STRIP 5573 if test -n "$STRIP"; then 5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5575 $as_echo "$STRIP" >&6; } 5576 else 5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5578 $as_echo "no" >&6; } 5579 fi 5580 5581 5582 fi 5583 if test -z "$ac_cv_prog_STRIP"; then 5584 ac_ct_STRIP=$STRIP 5585 # Extract the first word of "strip", so it can be a program name with args. 5586 set dummy strip; ac_word=$2 5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5588 $as_echo_n "checking for $ac_word... " >&6; } 5589 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5590 $as_echo_n "(cached) " >&6 5591 else 5592 if test -n "$ac_ct_STRIP"; then 5593 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5594 else 5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5596 for as_dir in $PATH 5597 do 5598 IFS=$as_save_IFS 5599 test -z "$as_dir" && as_dir=. 5600 for ac_exec_ext in '' $ac_executable_extensions; do 5601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5602 ac_cv_prog_ac_ct_STRIP="strip" 5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5604 break 2 5605 fi 5606 done 5607 done 5608 IFS=$as_save_IFS 5609 5610 fi 5611 fi 5612 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5613 if test -n "$ac_ct_STRIP"; then 5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5615 $as_echo "$ac_ct_STRIP" >&6; } 5616 else 5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5618 $as_echo "no" >&6; } 5619 fi 5620 5621 if test "x$ac_ct_STRIP" = x; then 5622 STRIP=":" 5623 else 5624 case $cross_compiling:$ac_tool_warned in 5625 yes:) 5626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5628 ac_tool_warned=yes ;; 5629 esac 5630 STRIP=$ac_ct_STRIP 5631 fi 5632 else 5633 STRIP="$ac_cv_prog_STRIP" 5634 fi 5635 5636 test -z "$STRIP" && STRIP=: 5637 5638 5639 5640 5641 5642 5643 if test -n "$ac_tool_prefix"; then 5644 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5645 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5647 $as_echo_n "checking for $ac_word... " >&6; } 5648 if ${ac_cv_prog_RANLIB+:} false; then : 5649 $as_echo_n "(cached) " >&6 5650 else 5651 if test -n "$RANLIB"; then 5652 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5653 else 5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5655 for as_dir in $PATH 5656 do 5657 IFS=$as_save_IFS 5658 test -z "$as_dir" && as_dir=. 5659 for ac_exec_ext in '' $ac_executable_extensions; do 5660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5661 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5663 break 2 5664 fi 5665 done 5666 done 5667 IFS=$as_save_IFS 5668 5669 fi 5670 fi 5671 RANLIB=$ac_cv_prog_RANLIB 5672 if test -n "$RANLIB"; then 5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5674 $as_echo "$RANLIB" >&6; } 5675 else 5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5677 $as_echo "no" >&6; } 5678 fi 5679 5680 5681 fi 5682 if test -z "$ac_cv_prog_RANLIB"; then 5683 ac_ct_RANLIB=$RANLIB 5684 # Extract the first word of "ranlib", so it can be a program name with args. 5685 set dummy ranlib; ac_word=$2 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5687 $as_echo_n "checking for $ac_word... " >&6; } 5688 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5689 $as_echo_n "(cached) " >&6 5690 else 5691 if test -n "$ac_ct_RANLIB"; then 5692 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5693 else 5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5695 for as_dir in $PATH 5696 do 5697 IFS=$as_save_IFS 5698 test -z "$as_dir" && as_dir=. 5699 for ac_exec_ext in '' $ac_executable_extensions; do 5700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5701 ac_cv_prog_ac_ct_RANLIB="ranlib" 5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5703 break 2 5704 fi 5705 done 5706 done 5707 IFS=$as_save_IFS 5708 5709 fi 5710 fi 5711 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5712 if test -n "$ac_ct_RANLIB"; then 5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5714 $as_echo "$ac_ct_RANLIB" >&6; } 5715 else 5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5717 $as_echo "no" >&6; } 5718 fi 5719 5720 if test "x$ac_ct_RANLIB" = x; then 5721 RANLIB=":" 5722 else 5723 case $cross_compiling:$ac_tool_warned in 5724 yes:) 5725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5727 ac_tool_warned=yes ;; 5728 esac 5729 RANLIB=$ac_ct_RANLIB 5730 fi 5731 else 5732 RANLIB="$ac_cv_prog_RANLIB" 5733 fi 5734 5735 test -z "$RANLIB" && RANLIB=: 5736 5737 5738 5739 5740 5741 5742 # Determine commands to create old-style static archives. 5743 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5744 old_postinstall_cmds='chmod 644 $oldlib' 5745 old_postuninstall_cmds= 5746 5747 if test -n "$RANLIB"; then 5748 case $host_os in 5749 openbsd*) 5750 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5751 ;; 5752 *) 5753 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5754 ;; 5755 esac 5756 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5757 fi 5758 5759 case $host_os in 5760 darwin*) 5761 lock_old_archive_extraction=yes ;; 5762 *) 5763 lock_old_archive_extraction=no ;; 5764 esac 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 # If no C compiler was specified, use CC. 5805 LTCC=${LTCC-"$CC"} 5806 5807 # If no C compiler flags were specified, use CFLAGS. 5808 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5809 5810 # Allow CC to be a program name with arguments. 5811 compiler=$CC 5812 5813 5814 # Check for command to grab the raw symbol name followed by C symbol from nm. 5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5816 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5817 if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5818 $as_echo_n "(cached) " >&6 5819 else 5820 5821 # These are sane defaults that work on at least a few old systems. 5822 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 5823 5824 # Character class describing NM global symbol codes. 5825 symcode='[BCDEGRST]' 5826 5827 # Regexp to match symbols that can be accessed directly from C. 5828 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5829 5830 # Define system-specific variables. 5831 case $host_os in 5832 aix*) 5833 symcode='[BCDT]' 5834 ;; 5835 cygwin* | mingw* | pw32* | cegcc*) 5836 symcode='[ABCDGISTW]' 5837 ;; 5838 hpux*) 5839 if test "$host_cpu" = ia64; then 5840 symcode='[ABCDEGRST]' 5841 fi 5842 ;; 5843 irix* | nonstopux*) 5844 symcode='[BCDEGRST]' 5845 ;; 5846 osf*) 5847 symcode='[BCDEGQRST]' 5848 ;; 5849 solaris*) 5850 symcode='[BDRT]' 5851 ;; 5852 sco3.2v5*) 5853 symcode='[DT]' 5854 ;; 5855 sysv4.2uw2*) 5856 symcode='[DT]' 5857 ;; 5858 sysv5* | sco5v6* | unixware* | OpenUNIX*) 5859 symcode='[ABDT]' 5860 ;; 5861 sysv4) 5862 symcode='[DFNSTU]' 5863 ;; 5864 esac 5865 5866 # If we're using GNU nm, then use its standard symbol codes. 5867 case `$NM -V 2>&1` in 5868 *GNU* | *'with BFD'*) 5869 symcode='[ABCDGIRSTW]' ;; 5870 esac 5871 5872 # Transform an extracted symbol line into a proper C declaration. 5873 # Some systems (esp. on ia64) link data and code symbols differently, 5874 # so use this general approach. 5875 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5876 5877 # Transform an extracted symbol line into symbol name and symbol address 5878 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5879 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 5880 5881 # Handle CRLF in mingw tool chain 5882 opt_cr= 5883 case $build_os in 5884 mingw*) 5885 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5886 ;; 5887 esac 5888 5889 # Try without a prefix underscore, then with it. 5890 for ac_symprfx in "" "_"; do 5891 5892 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5893 symxfrm="\\1 $ac_symprfx\\2 \\2" 5894 5895 # Write the raw and C identifiers. 5896 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5897 # Fake it for dumpbin and say T for any non-static function 5898 # and D for any global variable. 5899 # Also find C++ and __fastcall symbols from MSVC++, 5900 # which start with @ or ?. 5901 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5902 " {last_section=section; section=\$ 3};"\ 5903 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 5904 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5905 " \$ 0!~/External *\|/{next};"\ 5906 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5907 " {if(hide[section]) next};"\ 5908 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5909 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5910 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5911 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5912 " ' prfx=^$ac_symprfx" 5913 else 5914 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5915 fi 5916 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 5917 5918 # Check to see that the pipe works correctly. 5919 pipe_works=no 5920 5921 rm -f conftest* 5922 cat > conftest.$ac_ext <<_LT_EOF 5923 #ifdef __cplusplus 5924 extern "C" { 5925 #endif 5926 char nm_test_var; 5927 void nm_test_func(void); 5928 void nm_test_func(void){} 5929 #ifdef __cplusplus 5930 } 5931 #endif 5932 int main(){nm_test_var='a';nm_test_func();return(0);} 5933 _LT_EOF 5934 5935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5936 (eval $ac_compile) 2>&5 5937 ac_status=$? 5938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5939 test $ac_status = 0; }; then 5940 # Now try to grab the symbols. 5941 nlist=conftest.nm 5942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 5943 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 5944 ac_status=$? 5945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5946 test $ac_status = 0; } && test -s "$nlist"; then 5947 # Try sorting and uniquifying the output. 5948 if sort "$nlist" | uniq > "$nlist"T; then 5949 mv -f "$nlist"T "$nlist" 5950 else 5951 rm -f "$nlist"T 5952 fi 5953 5954 # Make sure that we snagged all the symbols we need. 5955 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5956 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5957 cat <<_LT_EOF > conftest.$ac_ext 5958 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 5959 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 5960 /* DATA imports from DLLs on WIN32 con't be const, because runtime 5961 relocations are performed -- see ld's documentation on pseudo-relocs. */ 5962 # define LT_DLSYM_CONST 5963 #elif defined(__osf__) 5964 /* This system does not cope well with relocations in const data. */ 5965 # define LT_DLSYM_CONST 5966 #else 5967 # define LT_DLSYM_CONST const 5968 #endif 5969 5970 #ifdef __cplusplus 5971 extern "C" { 5972 #endif 5973 5974 _LT_EOF 5975 # Now generate the symbol file. 5976 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5977 5978 cat <<_LT_EOF >> conftest.$ac_ext 5979 5980 /* The mapping between symbol names and symbols. */ 5981 LT_DLSYM_CONST struct { 5982 const char *name; 5983 void *address; 5984 } 5985 lt__PROGRAM__LTX_preloaded_symbols[] = 5986 { 5987 { "@PROGRAM@", (void *) 0 }, 5988 _LT_EOF 5989 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5990 cat <<\_LT_EOF >> conftest.$ac_ext 5991 {0, (void *) 0} 5992 }; 5993 5994 /* This works around a problem in FreeBSD linker */ 5995 #ifdef FREEBSD_WORKAROUND 5996 static const void *lt_preloaded_setup() { 5997 return lt__PROGRAM__LTX_preloaded_symbols; 5998 } 5999 #endif 6000 6001 #ifdef __cplusplus 6002 } 6003 #endif 6004 _LT_EOF 6005 # Now try linking the two files. 6006 mv conftest.$ac_objext conftstm.$ac_objext 6007 lt_globsym_save_LIBS=$LIBS 6008 lt_globsym_save_CFLAGS=$CFLAGS 6009 LIBS="conftstm.$ac_objext" 6010 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6012 (eval $ac_link) 2>&5 6013 ac_status=$? 6014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6015 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6016 pipe_works=yes 6017 fi 6018 LIBS=$lt_globsym_save_LIBS 6019 CFLAGS=$lt_globsym_save_CFLAGS 6020 else 6021 echo "cannot find nm_test_func in $nlist" >&5 6022 fi 6023 else 6024 echo "cannot find nm_test_var in $nlist" >&5 6025 fi 6026 else 6027 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6028 fi 6029 else 6030 echo "$progname: failed program was:" >&5 6031 cat conftest.$ac_ext >&5 6032 fi 6033 rm -rf conftest* conftst* 6034 6035 # Do not use the global_symbol_pipe unless it works. 6036 if test "$pipe_works" = yes; then 6037 break 6038 else 6039 lt_cv_sys_global_symbol_pipe= 6040 fi 6041 done 6042 6043 fi 6044 6045 if test -z "$lt_cv_sys_global_symbol_pipe"; then 6046 lt_cv_sys_global_symbol_to_cdecl= 6047 fi 6048 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6050 $as_echo "failed" >&6; } 6051 else 6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6053 $as_echo "ok" >&6; } 6054 fi 6055 6056 # Response file support. 6057 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6058 nm_file_list_spec='@' 6059 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6060 nm_file_list_spec='@' 6061 fi 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6090 $as_echo_n "checking for sysroot... " >&6; } 6091 6092 # Check whether --with-sysroot was given. 6093 if test "${with_sysroot+set}" = set; then : 6094 withval=$with_sysroot; 6095 else 6096 with_sysroot=no 6097 fi 6098 6099 6100 lt_sysroot= 6101 case ${with_sysroot} in #( 6102 yes) 6103 if test "$GCC" = yes; then 6104 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6105 fi 6106 ;; #( 6107 /*) 6108 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6109 ;; #( 6110 no|'') 6111 ;; #( 6112 *) 6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6114 $as_echo "${with_sysroot}" >&6; } 6115 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6116 ;; 6117 esac 6118 6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6120 $as_echo "${lt_sysroot:-no}" >&6; } 6121 6122 6123 6124 6125 6126 # Check whether --enable-libtool-lock was given. 6127 if test "${enable_libtool_lock+set}" = set; then : 6128 enableval=$enable_libtool_lock; 6129 fi 6130 6131 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6132 6133 # Some flags need to be propagated to the compiler or linker for good 6134 # libtool support. 6135 case $host in 6136 ia64-*-hpux*) 6137 # Find out which ABI we are using. 6138 echo 'int i;' > conftest.$ac_ext 6139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6140 (eval $ac_compile) 2>&5 6141 ac_status=$? 6142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6143 test $ac_status = 0; }; then 6144 case `/usr/bin/file conftest.$ac_objext` in 6145 *ELF-32*) 6146 HPUX_IA64_MODE="32" 6147 ;; 6148 *ELF-64*) 6149 HPUX_IA64_MODE="64" 6150 ;; 6151 esac 6152 fi 6153 rm -rf conftest* 6154 ;; 6155 *-*-irix6*) 6156 # Find out which ABI we are using. 6157 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6159 (eval $ac_compile) 2>&5 6160 ac_status=$? 6161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6162 test $ac_status = 0; }; then 6163 if test "$lt_cv_prog_gnu_ld" = yes; then 6164 case `/usr/bin/file conftest.$ac_objext` in 6165 *32-bit*) 6166 LD="${LD-ld} -melf32bsmip" 6167 ;; 6168 *N32*) 6169 LD="${LD-ld} -melf32bmipn32" 6170 ;; 6171 *64-bit*) 6172 LD="${LD-ld} -melf64bmip" 6173 ;; 6174 esac 6175 else 6176 case `/usr/bin/file conftest.$ac_objext` in 6177 *32-bit*) 6178 LD="${LD-ld} -32" 6179 ;; 6180 *N32*) 6181 LD="${LD-ld} -n32" 6182 ;; 6183 *64-bit*) 6184 LD="${LD-ld} -64" 6185 ;; 6186 esac 6187 fi 6188 fi 6189 rm -rf conftest* 6190 ;; 6191 6192 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6193 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6194 # Find out which ABI we are using. 6195 echo 'int i;' > conftest.$ac_ext 6196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6197 (eval $ac_compile) 2>&5 6198 ac_status=$? 6199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6200 test $ac_status = 0; }; then 6201 case `/usr/bin/file conftest.o` in 6202 *32-bit*) 6203 case $host in 6204 x86_64-*kfreebsd*-gnu) 6205 LD="${LD-ld} -m elf_i386_fbsd" 6206 ;; 6207 x86_64-*linux*) 6208 case `/usr/bin/file conftest.o` in 6209 *x86-64*) 6210 LD="${LD-ld} -m elf32_x86_64" 6211 ;; 6212 *) 6213 LD="${LD-ld} -m elf_i386" 6214 ;; 6215 esac 6216 ;; 6217 powerpc64le-*) 6218 LD="${LD-ld} -m elf32lppclinux" 6219 ;; 6220 powerpc64-*) 6221 LD="${LD-ld} -m elf32ppclinux" 6222 ;; 6223 s390x-*linux*) 6224 LD="${LD-ld} -m elf_s390" 6225 ;; 6226 sparc64-*linux*) 6227 LD="${LD-ld} -m elf32_sparc" 6228 ;; 6229 esac 6230 ;; 6231 *64-bit*) 6232 case $host in 6233 x86_64-*kfreebsd*-gnu) 6234 LD="${LD-ld} -m elf_x86_64_fbsd" 6235 ;; 6236 x86_64-*linux*) 6237 LD="${LD-ld} -m elf_x86_64" 6238 ;; 6239 powerpcle-*) 6240 LD="${LD-ld} -m elf64lppc" 6241 ;; 6242 powerpc-*) 6243 LD="${LD-ld} -m elf64ppc" 6244 ;; 6245 s390*-*linux*|s390*-*tpf*) 6246 LD="${LD-ld} -m elf64_s390" 6247 ;; 6248 sparc*-*linux*) 6249 LD="${LD-ld} -m elf64_sparc" 6250 ;; 6251 esac 6252 ;; 6253 esac 6254 fi 6255 rm -rf conftest* 6256 ;; 6257 6258 *-*-sco3.2v5*) 6259 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6260 SAVE_CFLAGS="$CFLAGS" 6261 CFLAGS="$CFLAGS -belf" 6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6263 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6264 if ${lt_cv_cc_needs_belf+:} false; then : 6265 $as_echo_n "(cached) " >&6 6266 else 6267 ac_ext=c 6268 ac_cpp='$CPP $CPPFLAGS' 6269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6271 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6272 6273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6274 /* end confdefs.h. */ 6275 6276 int 6277 main () 6278 { 6279 6280 ; 6281 return 0; 6282 } 6283 _ACEOF 6284 if ac_fn_c_try_link "$LINENO"; then : 6285 lt_cv_cc_needs_belf=yes 6286 else 6287 lt_cv_cc_needs_belf=no 6288 fi 6289 rm -f core conftest.err conftest.$ac_objext \ 6290 conftest$ac_exeext conftest.$ac_ext 6291 ac_ext=c 6292 ac_cpp='$CPP $CPPFLAGS' 6293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6295 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6296 6297 fi 6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6299 $as_echo "$lt_cv_cc_needs_belf" >&6; } 6300 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6301 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6302 CFLAGS="$SAVE_CFLAGS" 6303 fi 6304 ;; 6305 *-*solaris*) 6306 # Find out which ABI we are using. 6307 echo 'int i;' > conftest.$ac_ext 6308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6309 (eval $ac_compile) 2>&5 6310 ac_status=$? 6311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6312 test $ac_status = 0; }; then 6313 case `/usr/bin/file conftest.o` in 6314 *64-bit*) 6315 case $lt_cv_prog_gnu_ld in 6316 yes*) 6317 case $host in 6318 i?86-*-solaris*) 6319 LD="${LD-ld} -m elf_x86_64" 6320 ;; 6321 sparc*-*-solaris*) 6322 LD="${LD-ld} -m elf64_sparc" 6323 ;; 6324 esac 6325 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6326 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6327 LD="${LD-ld}_sol2" 6328 fi 6329 ;; 6330 *) 6331 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6332 LD="${LD-ld} -64" 6333 fi 6334 ;; 6335 esac 6336 ;; 6337 esac 6338 fi 6339 rm -rf conftest* 6340 ;; 6341 esac 6342 6343 need_locks="$enable_libtool_lock" 6344 6345 if test -n "$ac_tool_prefix"; then 6346 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6347 set dummy ${ac_tool_prefix}mt; ac_word=$2 6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6349 $as_echo_n "checking for $ac_word... " >&6; } 6350 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6351 $as_echo_n "(cached) " >&6 6352 else 6353 if test -n "$MANIFEST_TOOL"; then 6354 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6355 else 6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6357 for as_dir in $PATH 6358 do 6359 IFS=$as_save_IFS 6360 test -z "$as_dir" && as_dir=. 6361 for ac_exec_ext in '' $ac_executable_extensions; do 6362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6363 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6365 break 2 6366 fi 6367 done 6368 done 6369 IFS=$as_save_IFS 6370 6371 fi 6372 fi 6373 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6374 if test -n "$MANIFEST_TOOL"; then 6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6376 $as_echo "$MANIFEST_TOOL" >&6; } 6377 else 6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6379 $as_echo "no" >&6; } 6380 fi 6381 6382 6383 fi 6384 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6385 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6386 # Extract the first word of "mt", so it can be a program name with args. 6387 set dummy mt; ac_word=$2 6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6389 $as_echo_n "checking for $ac_word... " >&6; } 6390 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6391 $as_echo_n "(cached) " >&6 6392 else 6393 if test -n "$ac_ct_MANIFEST_TOOL"; then 6394 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6395 else 6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6397 for as_dir in $PATH 6398 do 6399 IFS=$as_save_IFS 6400 test -z "$as_dir" && as_dir=. 6401 for ac_exec_ext in '' $ac_executable_extensions; do 6402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6403 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6405 break 2 6406 fi 6407 done 6408 done 6409 IFS=$as_save_IFS 6410 6411 fi 6412 fi 6413 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6414 if test -n "$ac_ct_MANIFEST_TOOL"; then 6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6416 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6417 else 6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6419 $as_echo "no" >&6; } 6420 fi 6421 6422 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6423 MANIFEST_TOOL=":" 6424 else 6425 case $cross_compiling:$ac_tool_warned in 6426 yes:) 6427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6429 ac_tool_warned=yes ;; 6430 esac 6431 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6432 fi 6433 else 6434 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6435 fi 6436 6437 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6439 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6440 if ${lt_cv_path_mainfest_tool+:} false; then : 6441 $as_echo_n "(cached) " >&6 6442 else 6443 lt_cv_path_mainfest_tool=no 6444 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6445 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6446 cat conftest.err >&5 6447 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6448 lt_cv_path_mainfest_tool=yes 6449 fi 6450 rm -f conftest* 6451 fi 6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6453 $as_echo "$lt_cv_path_mainfest_tool" >&6; } 6454 if test "x$lt_cv_path_mainfest_tool" != xyes; then 6455 MANIFEST_TOOL=: 6456 fi 6457 6458 6459 6460 6461 6462 6463 case $host_os in 6464 rhapsody* | darwin*) 6465 if test -n "$ac_tool_prefix"; then 6466 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6467 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6469 $as_echo_n "checking for $ac_word... " >&6; } 6470 if ${ac_cv_prog_DSYMUTIL+:} false; then : 6471 $as_echo_n "(cached) " >&6 6472 else 6473 if test -n "$DSYMUTIL"; then 6474 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6475 else 6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6477 for as_dir in $PATH 6478 do 6479 IFS=$as_save_IFS 6480 test -z "$as_dir" && as_dir=. 6481 for ac_exec_ext in '' $ac_executable_extensions; do 6482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6483 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6485 break 2 6486 fi 6487 done 6488 done 6489 IFS=$as_save_IFS 6490 6491 fi 6492 fi 6493 DSYMUTIL=$ac_cv_prog_DSYMUTIL 6494 if test -n "$DSYMUTIL"; then 6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6496 $as_echo "$DSYMUTIL" >&6; } 6497 else 6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6499 $as_echo "no" >&6; } 6500 fi 6501 6502 6503 fi 6504 if test -z "$ac_cv_prog_DSYMUTIL"; then 6505 ac_ct_DSYMUTIL=$DSYMUTIL 6506 # Extract the first word of "dsymutil", so it can be a program name with args. 6507 set dummy dsymutil; ac_word=$2 6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6509 $as_echo_n "checking for $ac_word... " >&6; } 6510 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6511 $as_echo_n "(cached) " >&6 6512 else 6513 if test -n "$ac_ct_DSYMUTIL"; then 6514 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6515 else 6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6517 for as_dir in $PATH 6518 do 6519 IFS=$as_save_IFS 6520 test -z "$as_dir" && as_dir=. 6521 for ac_exec_ext in '' $ac_executable_extensions; do 6522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6523 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6525 break 2 6526 fi 6527 done 6528 done 6529 IFS=$as_save_IFS 6530 6531 fi 6532 fi 6533 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6534 if test -n "$ac_ct_DSYMUTIL"; then 6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6536 $as_echo "$ac_ct_DSYMUTIL" >&6; } 6537 else 6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6539 $as_echo "no" >&6; } 6540 fi 6541 6542 if test "x$ac_ct_DSYMUTIL" = x; then 6543 DSYMUTIL=":" 6544 else 6545 case $cross_compiling:$ac_tool_warned in 6546 yes:) 6547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6549 ac_tool_warned=yes ;; 6550 esac 6551 DSYMUTIL=$ac_ct_DSYMUTIL 6552 fi 6553 else 6554 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6555 fi 6556 6557 if test -n "$ac_tool_prefix"; then 6558 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6559 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6561 $as_echo_n "checking for $ac_word... " >&6; } 6562 if ${ac_cv_prog_NMEDIT+:} false; then : 6563 $as_echo_n "(cached) " >&6 6564 else 6565 if test -n "$NMEDIT"; then 6566 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6567 else 6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6569 for as_dir in $PATH 6570 do 6571 IFS=$as_save_IFS 6572 test -z "$as_dir" && as_dir=. 6573 for ac_exec_ext in '' $ac_executable_extensions; do 6574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6575 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6577 break 2 6578 fi 6579 done 6580 done 6581 IFS=$as_save_IFS 6582 6583 fi 6584 fi 6585 NMEDIT=$ac_cv_prog_NMEDIT 6586 if test -n "$NMEDIT"; then 6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6588 $as_echo "$NMEDIT" >&6; } 6589 else 6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6591 $as_echo "no" >&6; } 6592 fi 6593 6594 6595 fi 6596 if test -z "$ac_cv_prog_NMEDIT"; then 6597 ac_ct_NMEDIT=$NMEDIT 6598 # Extract the first word of "nmedit", so it can be a program name with args. 6599 set dummy nmedit; ac_word=$2 6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6601 $as_echo_n "checking for $ac_word... " >&6; } 6602 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6603 $as_echo_n "(cached) " >&6 6604 else 6605 if test -n "$ac_ct_NMEDIT"; then 6606 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6607 else 6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6609 for as_dir in $PATH 6610 do 6611 IFS=$as_save_IFS 6612 test -z "$as_dir" && as_dir=. 6613 for ac_exec_ext in '' $ac_executable_extensions; do 6614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6615 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6617 break 2 6618 fi 6619 done 6620 done 6621 IFS=$as_save_IFS 6622 6623 fi 6624 fi 6625 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6626 if test -n "$ac_ct_NMEDIT"; then 6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6628 $as_echo "$ac_ct_NMEDIT" >&6; } 6629 else 6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6631 $as_echo "no" >&6; } 6632 fi 6633 6634 if test "x$ac_ct_NMEDIT" = x; then 6635 NMEDIT=":" 6636 else 6637 case $cross_compiling:$ac_tool_warned in 6638 yes:) 6639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6641 ac_tool_warned=yes ;; 6642 esac 6643 NMEDIT=$ac_ct_NMEDIT 6644 fi 6645 else 6646 NMEDIT="$ac_cv_prog_NMEDIT" 6647 fi 6648 6649 if test -n "$ac_tool_prefix"; then 6650 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6651 set dummy ${ac_tool_prefix}lipo; ac_word=$2 6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6653 $as_echo_n "checking for $ac_word... " >&6; } 6654 if ${ac_cv_prog_LIPO+:} false; then : 6655 $as_echo_n "(cached) " >&6 6656 else 6657 if test -n "$LIPO"; then 6658 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6659 else 6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6661 for as_dir in $PATH 6662 do 6663 IFS=$as_save_IFS 6664 test -z "$as_dir" && as_dir=. 6665 for ac_exec_ext in '' $ac_executable_extensions; do 6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6667 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6669 break 2 6670 fi 6671 done 6672 done 6673 IFS=$as_save_IFS 6674 6675 fi 6676 fi 6677 LIPO=$ac_cv_prog_LIPO 6678 if test -n "$LIPO"; then 6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6680 $as_echo "$LIPO" >&6; } 6681 else 6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6683 $as_echo "no" >&6; } 6684 fi 6685 6686 6687 fi 6688 if test -z "$ac_cv_prog_LIPO"; then 6689 ac_ct_LIPO=$LIPO 6690 # Extract the first word of "lipo", so it can be a program name with args. 6691 set dummy lipo; ac_word=$2 6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6693 $as_echo_n "checking for $ac_word... " >&6; } 6694 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6695 $as_echo_n "(cached) " >&6 6696 else 6697 if test -n "$ac_ct_LIPO"; then 6698 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6699 else 6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6701 for as_dir in $PATH 6702 do 6703 IFS=$as_save_IFS 6704 test -z "$as_dir" && as_dir=. 6705 for ac_exec_ext in '' $ac_executable_extensions; do 6706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6707 ac_cv_prog_ac_ct_LIPO="lipo" 6708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6709 break 2 6710 fi 6711 done 6712 done 6713 IFS=$as_save_IFS 6714 6715 fi 6716 fi 6717 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6718 if test -n "$ac_ct_LIPO"; then 6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6720 $as_echo "$ac_ct_LIPO" >&6; } 6721 else 6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6723 $as_echo "no" >&6; } 6724 fi 6725 6726 if test "x$ac_ct_LIPO" = x; then 6727 LIPO=":" 6728 else 6729 case $cross_compiling:$ac_tool_warned in 6730 yes:) 6731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6733 ac_tool_warned=yes ;; 6734 esac 6735 LIPO=$ac_ct_LIPO 6736 fi 6737 else 6738 LIPO="$ac_cv_prog_LIPO" 6739 fi 6740 6741 if test -n "$ac_tool_prefix"; then 6742 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6743 set dummy ${ac_tool_prefix}otool; ac_word=$2 6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6745 $as_echo_n "checking for $ac_word... " >&6; } 6746 if ${ac_cv_prog_OTOOL+:} false; then : 6747 $as_echo_n "(cached) " >&6 6748 else 6749 if test -n "$OTOOL"; then 6750 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6751 else 6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6753 for as_dir in $PATH 6754 do 6755 IFS=$as_save_IFS 6756 test -z "$as_dir" && as_dir=. 6757 for ac_exec_ext in '' $ac_executable_extensions; do 6758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6759 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6761 break 2 6762 fi 6763 done 6764 done 6765 IFS=$as_save_IFS 6766 6767 fi 6768 fi 6769 OTOOL=$ac_cv_prog_OTOOL 6770 if test -n "$OTOOL"; then 6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6772 $as_echo "$OTOOL" >&6; } 6773 else 6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6775 $as_echo "no" >&6; } 6776 fi 6777 6778 6779 fi 6780 if test -z "$ac_cv_prog_OTOOL"; then 6781 ac_ct_OTOOL=$OTOOL 6782 # Extract the first word of "otool", so it can be a program name with args. 6783 set dummy otool; ac_word=$2 6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6785 $as_echo_n "checking for $ac_word... " >&6; } 6786 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6787 $as_echo_n "(cached) " >&6 6788 else 6789 if test -n "$ac_ct_OTOOL"; then 6790 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6791 else 6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6793 for as_dir in $PATH 6794 do 6795 IFS=$as_save_IFS 6796 test -z "$as_dir" && as_dir=. 6797 for ac_exec_ext in '' $ac_executable_extensions; do 6798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6799 ac_cv_prog_ac_ct_OTOOL="otool" 6800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6801 break 2 6802 fi 6803 done 6804 done 6805 IFS=$as_save_IFS 6806 6807 fi 6808 fi 6809 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6810 if test -n "$ac_ct_OTOOL"; then 6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6812 $as_echo "$ac_ct_OTOOL" >&6; } 6813 else 6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6815 $as_echo "no" >&6; } 6816 fi 6817 6818 if test "x$ac_ct_OTOOL" = x; then 6819 OTOOL=":" 6820 else 6821 case $cross_compiling:$ac_tool_warned in 6822 yes:) 6823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6825 ac_tool_warned=yes ;; 6826 esac 6827 OTOOL=$ac_ct_OTOOL 6828 fi 6829 else 6830 OTOOL="$ac_cv_prog_OTOOL" 6831 fi 6832 6833 if test -n "$ac_tool_prefix"; then 6834 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6835 set dummy ${ac_tool_prefix}otool64; ac_word=$2 6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6837 $as_echo_n "checking for $ac_word... " >&6; } 6838 if ${ac_cv_prog_OTOOL64+:} false; then : 6839 $as_echo_n "(cached) " >&6 6840 else 6841 if test -n "$OTOOL64"; then 6842 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6843 else 6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6845 for as_dir in $PATH 6846 do 6847 IFS=$as_save_IFS 6848 test -z "$as_dir" && as_dir=. 6849 for ac_exec_ext in '' $ac_executable_extensions; do 6850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6851 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6853 break 2 6854 fi 6855 done 6856 done 6857 IFS=$as_save_IFS 6858 6859 fi 6860 fi 6861 OTOOL64=$ac_cv_prog_OTOOL64 6862 if test -n "$OTOOL64"; then 6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6864 $as_echo "$OTOOL64" >&6; } 6865 else 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6867 $as_echo "no" >&6; } 6868 fi 6869 6870 6871 fi 6872 if test -z "$ac_cv_prog_OTOOL64"; then 6873 ac_ct_OTOOL64=$OTOOL64 6874 # Extract the first word of "otool64", so it can be a program name with args. 6875 set dummy otool64; ac_word=$2 6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6877 $as_echo_n "checking for $ac_word... " >&6; } 6878 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6879 $as_echo_n "(cached) " >&6 6880 else 6881 if test -n "$ac_ct_OTOOL64"; then 6882 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6883 else 6884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6885 for as_dir in $PATH 6886 do 6887 IFS=$as_save_IFS 6888 test -z "$as_dir" && as_dir=. 6889 for ac_exec_ext in '' $ac_executable_extensions; do 6890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6891 ac_cv_prog_ac_ct_OTOOL64="otool64" 6892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6893 break 2 6894 fi 6895 done 6896 done 6897 IFS=$as_save_IFS 6898 6899 fi 6900 fi 6901 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6902 if test -n "$ac_ct_OTOOL64"; then 6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6904 $as_echo "$ac_ct_OTOOL64" >&6; } 6905 else 6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6907 $as_echo "no" >&6; } 6908 fi 6909 6910 if test "x$ac_ct_OTOOL64" = x; then 6911 OTOOL64=":" 6912 else 6913 case $cross_compiling:$ac_tool_warned in 6914 yes:) 6915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6917 ac_tool_warned=yes ;; 6918 esac 6919 OTOOL64=$ac_ct_OTOOL64 6920 fi 6921 else 6922 OTOOL64="$ac_cv_prog_OTOOL64" 6923 fi 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6952 $as_echo_n "checking for -single_module linker flag... " >&6; } 6953 if ${lt_cv_apple_cc_single_mod+:} false; then : 6954 $as_echo_n "(cached) " >&6 6955 else 6956 lt_cv_apple_cc_single_mod=no 6957 if test -z "${LT_MULTI_MODULE}"; then 6958 # By default we will add the -single_module flag. You can override 6959 # by either setting the environment variable LT_MULTI_MODULE 6960 # non-empty at configure time, or by adding -multi_module to the 6961 # link flags. 6962 rm -rf libconftest.dylib* 6963 echo "int foo(void){return 1;}" > conftest.c 6964 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6965 -dynamiclib -Wl,-single_module conftest.c" >&5 6966 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6967 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6968 _lt_result=$? 6969 # If there is a non-empty error log, and "single_module" 6970 # appears in it, assume the flag caused a linker warning 6971 if test -s conftest.err && $GREP single_module conftest.err; then 6972 cat conftest.err >&5 6973 # Otherwise, if the output was created with a 0 exit code from 6974 # the compiler, it worked. 6975 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 6976 lt_cv_apple_cc_single_mod=yes 6977 else 6978 cat conftest.err >&5 6979 fi 6980 rm -rf libconftest.dylib* 6981 rm -f conftest.* 6982 fi 6983 fi 6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6985 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6986 6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6988 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6989 if ${lt_cv_ld_exported_symbols_list+:} false; then : 6990 $as_echo_n "(cached) " >&6 6991 else 6992 lt_cv_ld_exported_symbols_list=no 6993 save_LDFLAGS=$LDFLAGS 6994 echo "_main" > conftest.sym 6995 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6997 /* end confdefs.h. */ 6998 6999 int 7000 main () 7001 { 7002 7003 ; 7004 return 0; 7005 } 7006 _ACEOF 7007 if ac_fn_c_try_link "$LINENO"; then : 7008 lt_cv_ld_exported_symbols_list=yes 7009 else 7010 lt_cv_ld_exported_symbols_list=no 7011 fi 7012 rm -f core conftest.err conftest.$ac_objext \ 7013 conftest$ac_exeext conftest.$ac_ext 7014 LDFLAGS="$save_LDFLAGS" 7015 7016 fi 7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7018 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7019 7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7021 $as_echo_n "checking for -force_load linker flag... " >&6; } 7022 if ${lt_cv_ld_force_load+:} false; then : 7023 $as_echo_n "(cached) " >&6 7024 else 7025 lt_cv_ld_force_load=no 7026 cat > conftest.c << _LT_EOF 7027 int forced_loaded() { return 2;} 7028 _LT_EOF 7029 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7030 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7031 echo "$AR cru libconftest.a conftest.o" >&5 7032 $AR cru libconftest.a conftest.o 2>&5 7033 echo "$RANLIB libconftest.a" >&5 7034 $RANLIB libconftest.a 2>&5 7035 cat > conftest.c << _LT_EOF 7036 int main() { return 0;} 7037 _LT_EOF 7038 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7039 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7040 _lt_result=$? 7041 if test -s conftest.err && $GREP force_load conftest.err; then 7042 cat conftest.err >&5 7043 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7044 lt_cv_ld_force_load=yes 7045 else 7046 cat conftest.err >&5 7047 fi 7048 rm -f conftest.err libconftest.a conftest conftest.c 7049 rm -rf conftest.dSYM 7050 7051 fi 7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7053 $as_echo "$lt_cv_ld_force_load" >&6; } 7054 case $host_os in 7055 rhapsody* | darwin1.[012]) 7056 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7057 darwin1.*) 7058 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7059 darwin*) # darwin 5.x on 7060 # if running on 10.5 or later, the deployment target defaults 7061 # to the OS version, if on x86, and 10.4, the deployment 7062 # target defaults to 10.4. Don't you love it? 7063 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7064 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7065 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7066 10.[012]*) 7067 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7068 10.*) 7069 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7070 esac 7071 ;; 7072 esac 7073 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7074 _lt_dar_single_mod='$single_module' 7075 fi 7076 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7077 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7078 else 7079 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7080 fi 7081 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7082 _lt_dsymutil='~$DSYMUTIL $lib || :' 7083 else 7084 _lt_dsymutil= 7085 fi 7086 ;; 7087 esac 7088 7089 ac_ext=c 7090 ac_cpp='$CPP $CPPFLAGS' 7091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7093 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7095 $as_echo_n "checking how to run the C preprocessor... " >&6; } 7096 # On Suns, sometimes $CPP names a directory. 7097 if test -n "$CPP" && test -d "$CPP"; then 7098 CPP= 7099 fi 7100 if test -z "$CPP"; then 7101 if ${ac_cv_prog_CPP+:} false; then : 7102 $as_echo_n "(cached) " >&6 7103 else 7104 # Double quotes because CPP needs to be expanded 7105 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7106 do 7107 ac_preproc_ok=false 7108 for ac_c_preproc_warn_flag in '' yes 7109 do 7110 # Use a header file that comes with gcc, so configuring glibc 7111 # with a fresh cross-compiler works. 7112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7113 # <limits.h> exists even on freestanding compilers. 7114 # On the NeXT, cc -E runs the code through the compiler's parser, 7115 # not just through cpp. "Syntax error" is here to catch this case. 7116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7117 /* end confdefs.h. */ 7118 #ifdef __STDC__ 7119 # include <limits.h> 7120 #else 7121 # include <assert.h> 7122 #endif 7123 Syntax error 7124 _ACEOF 7125 if ac_fn_c_try_cpp "$LINENO"; then : 7126 7127 else 7128 # Broken: fails on valid input. 7129 continue 7130 fi 7131 rm -f conftest.err conftest.i conftest.$ac_ext 7132 7133 # OK, works on sane cases. Now check whether nonexistent headers 7134 # can be detected and how. 7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7136 /* end confdefs.h. */ 7137 #include <ac_nonexistent.h> 7138 _ACEOF 7139 if ac_fn_c_try_cpp "$LINENO"; then : 7140 # Broken: success on invalid input. 7141 continue 7142 else 7143 # Passes both tests. 7144 ac_preproc_ok=: 7145 break 7146 fi 7147 rm -f conftest.err conftest.i conftest.$ac_ext 7148 7149 done 7150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7151 rm -f conftest.i conftest.err conftest.$ac_ext 7152 if $ac_preproc_ok; then : 7153 break 7154 fi 7155 7156 done 7157 ac_cv_prog_CPP=$CPP 7158 7159 fi 7160 CPP=$ac_cv_prog_CPP 7161 else 7162 ac_cv_prog_CPP=$CPP 7163 fi 7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7165 $as_echo "$CPP" >&6; } 7166 ac_preproc_ok=false 7167 for ac_c_preproc_warn_flag in '' yes 7168 do 7169 # Use a header file that comes with gcc, so configuring glibc 7170 # with a fresh cross-compiler works. 7171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7172 # <limits.h> exists even on freestanding compilers. 7173 # On the NeXT, cc -E runs the code through the compiler's parser, 7174 # not just through cpp. "Syntax error" is here to catch this case. 7175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7176 /* end confdefs.h. */ 7177 #ifdef __STDC__ 7178 # include <limits.h> 7179 #else 7180 # include <assert.h> 7181 #endif 7182 Syntax error 7183 _ACEOF 7184 if ac_fn_c_try_cpp "$LINENO"; then : 7185 7186 else 7187 # Broken: fails on valid input. 7188 continue 7189 fi 7190 rm -f conftest.err conftest.i conftest.$ac_ext 7191 7192 # OK, works on sane cases. Now check whether nonexistent headers 7193 # can be detected and how. 7194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7195 /* end confdefs.h. */ 7196 #include <ac_nonexistent.h> 7197 _ACEOF 7198 if ac_fn_c_try_cpp "$LINENO"; then : 7199 # Broken: success on invalid input. 7200 continue 7201 else 7202 # Passes both tests. 7203 ac_preproc_ok=: 7204 break 7205 fi 7206 rm -f conftest.err conftest.i conftest.$ac_ext 7207 7208 done 7209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7210 rm -f conftest.i conftest.err conftest.$ac_ext 7211 if $ac_preproc_ok; then : 7212 7213 else 7214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7216 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7217 See \`config.log' for more details" "$LINENO" 5; } 7218 fi 7219 7220 ac_ext=c 7221 ac_cpp='$CPP $CPPFLAGS' 7222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7224 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7225 7226 7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7228 $as_echo_n "checking for ANSI C header files... " >&6; } 7229 if ${ac_cv_header_stdc+:} false; then : 7230 $as_echo_n "(cached) " >&6 7231 else 7232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7233 /* end confdefs.h. */ 7234 #include <stdlib.h> 7235 #include <stdarg.h> 7236 #include <string.h> 7237 #include <float.h> 7238 7239 int 7240 main () 7241 { 7242 7243 ; 7244 return 0; 7245 } 7246 _ACEOF 7247 if ac_fn_c_try_compile "$LINENO"; then : 7248 ac_cv_header_stdc=yes 7249 else 7250 ac_cv_header_stdc=no 7251 fi 7252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7253 7254 if test $ac_cv_header_stdc = yes; then 7255 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7257 /* end confdefs.h. */ 7258 #include <string.h> 7259 7260 _ACEOF 7261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7262 $EGREP "memchr" >/dev/null 2>&1; then : 7263 7264 else 7265 ac_cv_header_stdc=no 7266 fi 7267 rm -f conftest* 7268 7269 fi 7270 7271 if test $ac_cv_header_stdc = yes; then 7272 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7274 /* end confdefs.h. */ 7275 #include <stdlib.h> 7276 7277 _ACEOF 7278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7279 $EGREP "free" >/dev/null 2>&1; then : 7280 7281 else 7282 ac_cv_header_stdc=no 7283 fi 7284 rm -f conftest* 7285 7286 fi 7287 7288 if test $ac_cv_header_stdc = yes; then 7289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7290 if test "$cross_compiling" = yes; then : 7291 : 7292 else 7293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7294 /* end confdefs.h. */ 7295 #include <ctype.h> 7296 #include <stdlib.h> 7297 #if ((' ' & 0x0FF) == 0x020) 7298 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7299 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7300 #else 7301 # define ISLOWER(c) \ 7302 (('a' <= (c) && (c) <= 'i') \ 7303 || ('j' <= (c) && (c) <= 'r') \ 7304 || ('s' <= (c) && (c) <= 'z')) 7305 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7306 #endif 7307 7308 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7309 int 7310 main () 7311 { 7312 int i; 7313 for (i = 0; i < 256; i++) 7314 if (XOR (islower (i), ISLOWER (i)) 7315 || toupper (i) != TOUPPER (i)) 7316 return 2; 7317 return 0; 7318 } 7319 _ACEOF 7320 if ac_fn_c_try_run "$LINENO"; then : 7321 7322 else 7323 ac_cv_header_stdc=no 7324 fi 7325 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7326 conftest.$ac_objext conftest.beam conftest.$ac_ext 7327 fi 7328 7329 fi 7330 fi 7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7332 $as_echo "$ac_cv_header_stdc" >&6; } 7333 if test $ac_cv_header_stdc = yes; then 7334 7335 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 7336 7337 fi 7338 7339 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 7340 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7341 inttypes.h stdint.h unistd.h 7342 do : 7343 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7344 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7345 " 7346 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7347 cat >>confdefs.h <<_ACEOF 7348 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7349 _ACEOF 7350 7351 fi 7352 7353 done 7354 7355 7356 for ac_header in dlfcn.h 7357 do : 7358 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7359 " 7360 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7361 cat >>confdefs.h <<_ACEOF 7362 #define HAVE_DLFCN_H 1 7363 _ACEOF 7364 7365 fi 7366 7367 done 7368 7369 7370 7371 7372 7373 # Set options 7374 # Check whether --enable-static was given. 7375 if test "${enable_static+set}" = set; then : 7376 enableval=$enable_static; p=${PACKAGE-default} 7377 case $enableval in 7378 yes) enable_static=yes ;; 7379 no) enable_static=no ;; 7380 *) 7381 enable_static=no 7382 # Look at the argument we got. We use all the common list separators. 7383 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7384 for pkg in $enableval; do 7385 IFS="$lt_save_ifs" 7386 if test "X$pkg" = "X$p"; then 7387 enable_static=yes 7388 fi 7389 done 7390 IFS="$lt_save_ifs" 7391 ;; 7392 esac 7393 else 7394 enable_static=no 7395 fi 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 enable_dlopen=no 7407 7408 7409 enable_win32_dll=no 7410 7411 7412 # Check whether --enable-shared was given. 7413 if test "${enable_shared+set}" = set; then : 7414 enableval=$enable_shared; p=${PACKAGE-default} 7415 case $enableval in 7416 yes) enable_shared=yes ;; 7417 no) enable_shared=no ;; 7418 *) 7419 enable_shared=no 7420 # Look at the argument we got. We use all the common list separators. 7421 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7422 for pkg in $enableval; do 7423 IFS="$lt_save_ifs" 7424 if test "X$pkg" = "X$p"; then 7425 enable_shared=yes 7426 fi 7427 done 7428 IFS="$lt_save_ifs" 7429 ;; 7430 esac 7431 else 7432 enable_shared=yes 7433 fi 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 # Check whether --with-pic was given. 7446 if test "${with_pic+set}" = set; then : 7447 withval=$with_pic; lt_p=${PACKAGE-default} 7448 case $withval in 7449 yes|no) pic_mode=$withval ;; 7450 *) 7451 pic_mode=default 7452 # Look at the argument we got. We use all the common list separators. 7453 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7454 for lt_pkg in $withval; do 7455 IFS="$lt_save_ifs" 7456 if test "X$lt_pkg" = "X$lt_p"; then 7457 pic_mode=yes 7458 fi 7459 done 7460 IFS="$lt_save_ifs" 7461 ;; 7462 esac 7463 else 7464 pic_mode=default 7465 fi 7466 7467 7468 test -z "$pic_mode" && pic_mode=default 7469 7470 7471 7472 7473 7474 7475 7476 # Check whether --enable-fast-install was given. 7477 if test "${enable_fast_install+set}" = set; then : 7478 enableval=$enable_fast_install; p=${PACKAGE-default} 7479 case $enableval in 7480 yes) enable_fast_install=yes ;; 7481 no) enable_fast_install=no ;; 7482 *) 7483 enable_fast_install=no 7484 # Look at the argument we got. We use all the common list separators. 7485 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7486 for pkg in $enableval; do 7487 IFS="$lt_save_ifs" 7488 if test "X$pkg" = "X$p"; then 7489 enable_fast_install=yes 7490 fi 7491 done 7492 IFS="$lt_save_ifs" 7493 ;; 7494 esac 7495 else 7496 enable_fast_install=yes 7497 fi 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 # This can be used to rebuild libtool when needed 7510 LIBTOOL_DEPS="$ltmain" 7511 7512 # Always use our own libtool. 7513 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 test -z "$LN_S" && LN_S="ln -s" 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 if test -n "${ZSH_VERSION+set}" ; then 7560 setopt NO_GLOB_SUBST 7561 fi 7562 7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7564 $as_echo_n "checking for objdir... " >&6; } 7565 if ${lt_cv_objdir+:} false; then : 7566 $as_echo_n "(cached) " >&6 7567 else 7568 rm -f .libs 2>/dev/null 7569 mkdir .libs 2>/dev/null 7570 if test -d .libs; then 7571 lt_cv_objdir=.libs 7572 else 7573 # MS-DOS does not allow filenames that begin with a dot. 7574 lt_cv_objdir=_libs 7575 fi 7576 rmdir .libs 2>/dev/null 7577 fi 7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7579 $as_echo "$lt_cv_objdir" >&6; } 7580 objdir=$lt_cv_objdir 7581 7582 7583 7584 7585 7586 cat >>confdefs.h <<_ACEOF 7587 #define LT_OBJDIR "$lt_cv_objdir/" 7588 _ACEOF 7589 7590 7591 7592 7593 case $host_os in 7594 aix3*) 7595 # AIX sometimes has problems with the GCC collect2 program. For some 7596 # reason, if we set the COLLECT_NAMES environment variable, the problems 7597 # vanish in a puff of smoke. 7598 if test "X${COLLECT_NAMES+set}" != Xset; then 7599 COLLECT_NAMES= 7600 export COLLECT_NAMES 7601 fi 7602 ;; 7603 esac 7604 7605 # Global variables: 7606 ofile=libtool 7607 can_build_shared=yes 7608 7609 # All known linkers require a `.a' archive for static linking (except MSVC, 7610 # which needs '.lib'). 7611 libext=a 7612 7613 with_gnu_ld="$lt_cv_prog_gnu_ld" 7614 7615 old_CC="$CC" 7616 old_CFLAGS="$CFLAGS" 7617 7618 # Set sane defaults for various variables 7619 test -z "$CC" && CC=cc 7620 test -z "$LTCC" && LTCC=$CC 7621 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7622 test -z "$LD" && LD=ld 7623 test -z "$ac_objext" && ac_objext=o 7624 7625 for cc_temp in $compiler""; do 7626 case $cc_temp in 7627 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7628 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7629 \-*) ;; 7630 *) break;; 7631 esac 7632 done 7633 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7634 7635 7636 # Only perform the check for file, if the check method requires it 7637 test -z "$MAGIC_CMD" && MAGIC_CMD=file 7638 case $deplibs_check_method in 7639 file_magic*) 7640 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7642 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7643 if ${lt_cv_path_MAGIC_CMD+:} false; then : 7644 $as_echo_n "(cached) " >&6 7645 else 7646 case $MAGIC_CMD in 7647 [\\/*] | ?:[\\/]*) 7648 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7649 ;; 7650 *) 7651 lt_save_MAGIC_CMD="$MAGIC_CMD" 7652 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7653 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7654 for ac_dir in $ac_dummy; do 7655 IFS="$lt_save_ifs" 7656 test -z "$ac_dir" && ac_dir=. 7657 if test -f $ac_dir/${ac_tool_prefix}file; then 7658 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7659 if test -n "$file_magic_test_file"; then 7660 case $deplibs_check_method in 7661 "file_magic "*) 7662 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7663 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7664 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7665 $EGREP "$file_magic_regex" > /dev/null; then 7666 : 7667 else 7668 cat <<_LT_EOF 1>&2 7669 7670 *** Warning: the command libtool uses to detect shared libraries, 7671 *** $file_magic_cmd, produces output that libtool cannot recognize. 7672 *** The result is that libtool may fail to recognize shared libraries 7673 *** as such. This will affect the creation of libtool libraries that 7674 *** depend on shared libraries, but programs linked with such libtool 7675 *** libraries will work regardless of this problem. Nevertheless, you 7676 *** may want to report the problem to your system manager and/or to 7677 *** bug-libtool@gnu.org 7678 7679 _LT_EOF 7680 fi ;; 7681 esac 7682 fi 7683 break 7684 fi 7685 done 7686 IFS="$lt_save_ifs" 7687 MAGIC_CMD="$lt_save_MAGIC_CMD" 7688 ;; 7689 esac 7690 fi 7691 7692 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7693 if test -n "$MAGIC_CMD"; then 7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7695 $as_echo "$MAGIC_CMD" >&6; } 7696 else 7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7698 $as_echo "no" >&6; } 7699 fi 7700 7701 7702 7703 7704 7705 if test -z "$lt_cv_path_MAGIC_CMD"; then 7706 if test -n "$ac_tool_prefix"; then 7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7708 $as_echo_n "checking for file... " >&6; } 7709 if ${lt_cv_path_MAGIC_CMD+:} false; then : 7710 $as_echo_n "(cached) " >&6 7711 else 7712 case $MAGIC_CMD in 7713 [\\/*] | ?:[\\/]*) 7714 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7715 ;; 7716 *) 7717 lt_save_MAGIC_CMD="$MAGIC_CMD" 7718 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7719 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7720 for ac_dir in $ac_dummy; do 7721 IFS="$lt_save_ifs" 7722 test -z "$ac_dir" && ac_dir=. 7723 if test -f $ac_dir/file; then 7724 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7725 if test -n "$file_magic_test_file"; then 7726 case $deplibs_check_method in 7727 "file_magic "*) 7728 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7729 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7730 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7731 $EGREP "$file_magic_regex" > /dev/null; then 7732 : 7733 else 7734 cat <<_LT_EOF 1>&2 7735 7736 *** Warning: the command libtool uses to detect shared libraries, 7737 *** $file_magic_cmd, produces output that libtool cannot recognize. 7738 *** The result is that libtool may fail to recognize shared libraries 7739 *** as such. This will affect the creation of libtool libraries that 7740 *** depend on shared libraries, but programs linked with such libtool 7741 *** libraries will work regardless of this problem. Nevertheless, you 7742 *** may want to report the problem to your system manager and/or to 7743 *** bug-libtool@gnu.org 7744 7745 _LT_EOF 7746 fi ;; 7747 esac 7748 fi 7749 break 7750 fi 7751 done 7752 IFS="$lt_save_ifs" 7753 MAGIC_CMD="$lt_save_MAGIC_CMD" 7754 ;; 7755 esac 7756 fi 7757 7758 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7759 if test -n "$MAGIC_CMD"; then 7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7761 $as_echo "$MAGIC_CMD" >&6; } 7762 else 7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7764 $as_echo "no" >&6; } 7765 fi 7766 7767 7768 else 7769 MAGIC_CMD=: 7770 fi 7771 fi 7772 7773 fi 7774 ;; 7775 esac 7776 7777 # Use C for the default configuration in the libtool script 7778 7779 lt_save_CC="$CC" 7780 ac_ext=c 7781 ac_cpp='$CPP $CPPFLAGS' 7782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7784 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7785 7786 7787 # Source file extension for C test sources. 7788 ac_ext=c 7789 7790 # Object file extension for compiled C test sources. 7791 objext=o 7792 objext=$objext 7793 7794 # Code to be used in simple compile tests 7795 lt_simple_compile_test_code="int some_variable = 0;" 7796 7797 # Code to be used in simple link tests 7798 lt_simple_link_test_code='int main(){return(0);}' 7799 7800 7801 7802 7803 7804 7805 7806 # If no C compiler was specified, use CC. 7807 LTCC=${LTCC-"$CC"} 7808 7809 # If no C compiler flags were specified, use CFLAGS. 7810 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7811 7812 # Allow CC to be a program name with arguments. 7813 compiler=$CC 7814 7815 # Save the default compiler, since it gets overwritten when the other 7816 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7817 compiler_DEFAULT=$CC 7818 7819 # save warnings/boilerplate of simple test code 7820 ac_outfile=conftest.$ac_objext 7821 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7822 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7823 _lt_compiler_boilerplate=`cat conftest.err` 7824 $RM conftest* 7825 7826 ac_outfile=conftest.$ac_objext 7827 echo "$lt_simple_link_test_code" >conftest.$ac_ext 7828 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7829 _lt_linker_boilerplate=`cat conftest.err` 7830 $RM -r conftest* 7831 7832 7833 ## CAVEAT EMPTOR: 7834 ## There is no encapsulation within the following macros, do not change 7835 ## the running order or otherwise move them around unless you know exactly 7836 ## what you are doing... 7837 if test -n "$compiler"; then 7838 7839 lt_prog_compiler_no_builtin_flag= 7840 7841 if test "$GCC" = yes; then 7842 case $cc_basename in 7843 nvcc*) 7844 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7845 *) 7846 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7847 esac 7848 7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7850 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7851 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7852 $as_echo_n "(cached) " >&6 7853 else 7854 lt_cv_prog_compiler_rtti_exceptions=no 7855 ac_outfile=conftest.$ac_objext 7856 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7857 lt_compiler_flag="-fno-rtti -fno-exceptions" 7858 # Insert the option either (1) after the last *FLAGS variable, or 7859 # (2) before a word containing "conftest.", or (3) at the end. 7860 # Note that $ac_compile itself does not contain backslashes and begins 7861 # with a dollar sign (not a hyphen), so the echo should work correctly. 7862 # The option is referenced via a variable to avoid confusing sed. 7863 lt_compile=`echo "$ac_compile" | $SED \ 7864 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7865 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7866 -e 's:$: $lt_compiler_flag:'` 7867 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7868 (eval "$lt_compile" 2>conftest.err) 7869 ac_status=$? 7870 cat conftest.err >&5 7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7872 if (exit $ac_status) && test -s "$ac_outfile"; then 7873 # The compiler can only warn and ignore the option if not recognized 7874 # So say no if there are warnings other than the usual output. 7875 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7877 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7878 lt_cv_prog_compiler_rtti_exceptions=yes 7879 fi 7880 fi 7881 $RM conftest* 7882 7883 fi 7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7885 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7886 7887 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7888 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7889 else 7890 : 7891 fi 7892 7893 fi 7894 7895 7896 7897 7898 7899 7900 lt_prog_compiler_wl= 7901 lt_prog_compiler_pic= 7902 lt_prog_compiler_static= 7903 7904 7905 if test "$GCC" = yes; then 7906 lt_prog_compiler_wl='-Wl,' 7907 lt_prog_compiler_static='-static' 7908 7909 case $host_os in 7910 aix*) 7911 # All AIX code is PIC. 7912 if test "$host_cpu" = ia64; then 7913 # AIX 5 now supports IA64 processor 7914 lt_prog_compiler_static='-Bstatic' 7915 fi 7916 ;; 7917 7918 amigaos*) 7919 case $host_cpu in 7920 powerpc) 7921 # see comment about AmigaOS4 .so support 7922 lt_prog_compiler_pic='-fPIC' 7923 ;; 7924 m68k) 7925 # FIXME: we need at least 68020 code to build shared libraries, but 7926 # adding the `-m68020' flag to GCC prevents building anything better, 7927 # like `-m68040'. 7928 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7929 ;; 7930 esac 7931 ;; 7932 7933 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7934 # PIC is the default for these OSes. 7935 ;; 7936 7937 mingw* | cygwin* | pw32* | os2* | cegcc*) 7938 # This hack is so that the source file can tell whether it is being 7939 # built for inclusion in a dll (and should export symbols for example). 7940 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7941 # (--disable-auto-import) libraries 7942 lt_prog_compiler_pic='-DDLL_EXPORT' 7943 ;; 7944 7945 darwin* | rhapsody*) 7946 # PIC is the default on this platform 7947 # Common symbols not allowed in MH_DYLIB files 7948 lt_prog_compiler_pic='-fno-common' 7949 ;; 7950 7951 haiku*) 7952 # PIC is the default for Haiku. 7953 # The "-static" flag exists, but is broken. 7954 lt_prog_compiler_static= 7955 ;; 7956 7957 hpux*) 7958 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7959 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7960 # sets the default TLS model and affects inlining. 7961 case $host_cpu in 7962 hppa*64*) 7963 # +Z the default 7964 ;; 7965 *) 7966 lt_prog_compiler_pic='-fPIC' 7967 ;; 7968 esac 7969 ;; 7970 7971 interix[3-9]*) 7972 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7973 # Instead, we relocate shared libraries at runtime. 7974 ;; 7975 7976 msdosdjgpp*) 7977 # Just because we use GCC doesn't mean we suddenly get shared libraries 7978 # on systems that don't support them. 7979 lt_prog_compiler_can_build_shared=no 7980 enable_shared=no 7981 ;; 7982 7983 *nto* | *qnx*) 7984 # QNX uses GNU C++, but need to define -shared option too, otherwise 7985 # it will coredump. 7986 lt_prog_compiler_pic='-fPIC -shared' 7987 ;; 7988 7989 sysv4*MP*) 7990 if test -d /usr/nec; then 7991 lt_prog_compiler_pic=-Kconform_pic 7992 fi 7993 ;; 7994 7995 *) 7996 lt_prog_compiler_pic='-fPIC' 7997 ;; 7998 esac 7999 8000 case $cc_basename in 8001 nvcc*) # Cuda Compiler Driver 2.2 8002 lt_prog_compiler_wl='-Xlinker ' 8003 if test -n "$lt_prog_compiler_pic"; then 8004 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8005 fi 8006 ;; 8007 esac 8008 else 8009 # PORTME Check for flag to pass linker flags through the system compiler. 8010 case $host_os in 8011 aix*) 8012 lt_prog_compiler_wl='-Wl,' 8013 if test "$host_cpu" = ia64; then 8014 # AIX 5 now supports IA64 processor 8015 lt_prog_compiler_static='-Bstatic' 8016 else 8017 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8018 fi 8019 ;; 8020 8021 mingw* | cygwin* | pw32* | os2* | cegcc*) 8022 # This hack is so that the source file can tell whether it is being 8023 # built for inclusion in a dll (and should export symbols for example). 8024 lt_prog_compiler_pic='-DDLL_EXPORT' 8025 ;; 8026 8027 hpux9* | hpux10* | hpux11*) 8028 lt_prog_compiler_wl='-Wl,' 8029 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8030 # not for PA HP-UX. 8031 case $host_cpu in 8032 hppa*64*|ia64*) 8033 # +Z the default 8034 ;; 8035 *) 8036 lt_prog_compiler_pic='+Z' 8037 ;; 8038 esac 8039 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8040 lt_prog_compiler_static='${wl}-a ${wl}archive' 8041 ;; 8042 8043 irix5* | irix6* | nonstopux*) 8044 lt_prog_compiler_wl='-Wl,' 8045 # PIC (with -KPIC) is the default. 8046 lt_prog_compiler_static='-non_shared' 8047 ;; 8048 8049 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8050 case $cc_basename in 8051 # old Intel for x86_64 which still supported -KPIC. 8052 ecc*) 8053 lt_prog_compiler_wl='-Wl,' 8054 lt_prog_compiler_pic='-KPIC' 8055 lt_prog_compiler_static='-static' 8056 ;; 8057 # icc used to be incompatible with GCC. 8058 # ICC 10 doesn't accept -KPIC any more. 8059 icc* | ifort*) 8060 lt_prog_compiler_wl='-Wl,' 8061 lt_prog_compiler_pic='-fPIC' 8062 lt_prog_compiler_static='-static' 8063 ;; 8064 # Lahey Fortran 8.1. 8065 lf95*) 8066 lt_prog_compiler_wl='-Wl,' 8067 lt_prog_compiler_pic='--shared' 8068 lt_prog_compiler_static='--static' 8069 ;; 8070 nagfor*) 8071 # NAG Fortran compiler 8072 lt_prog_compiler_wl='-Wl,-Wl,,' 8073 lt_prog_compiler_pic='-PIC' 8074 lt_prog_compiler_static='-Bstatic' 8075 ;; 8076 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8077 # Portland Group compilers (*not* the Pentium gcc compiler, 8078 # which looks to be a dead project) 8079 lt_prog_compiler_wl='-Wl,' 8080 lt_prog_compiler_pic='-fpic' 8081 lt_prog_compiler_static='-Bstatic' 8082 ;; 8083 ccc*) 8084 lt_prog_compiler_wl='-Wl,' 8085 # All Alpha code is PIC. 8086 lt_prog_compiler_static='-non_shared' 8087 ;; 8088 xl* | bgxl* | bgf* | mpixl*) 8089 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8090 lt_prog_compiler_wl='-Wl,' 8091 lt_prog_compiler_pic='-qpic' 8092 lt_prog_compiler_static='-qstaticlink' 8093 ;; 8094 *) 8095 case `$CC -V 2>&1 | sed 5q` in 8096 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8097 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8098 lt_prog_compiler_pic='-KPIC' 8099 lt_prog_compiler_static='-Bstatic' 8100 lt_prog_compiler_wl='' 8101 ;; 8102 *Sun\ F* | *Sun*Fortran*) 8103 lt_prog_compiler_pic='-KPIC' 8104 lt_prog_compiler_static='-Bstatic' 8105 lt_prog_compiler_wl='-Qoption ld ' 8106 ;; 8107 *Sun\ C*) 8108 # Sun C 5.9 8109 lt_prog_compiler_pic='-KPIC' 8110 lt_prog_compiler_static='-Bstatic' 8111 lt_prog_compiler_wl='-Wl,' 8112 ;; 8113 *Intel*\ [CF]*Compiler*) 8114 lt_prog_compiler_wl='-Wl,' 8115 lt_prog_compiler_pic='-fPIC' 8116 lt_prog_compiler_static='-static' 8117 ;; 8118 *Portland\ Group*) 8119 lt_prog_compiler_wl='-Wl,' 8120 lt_prog_compiler_pic='-fpic' 8121 lt_prog_compiler_static='-Bstatic' 8122 ;; 8123 esac 8124 ;; 8125 esac 8126 ;; 8127 8128 newsos6) 8129 lt_prog_compiler_pic='-KPIC' 8130 lt_prog_compiler_static='-Bstatic' 8131 ;; 8132 8133 *nto* | *qnx*) 8134 # QNX uses GNU C++, but need to define -shared option too, otherwise 8135 # it will coredump. 8136 lt_prog_compiler_pic='-fPIC -shared' 8137 ;; 8138 8139 osf3* | osf4* | osf5*) 8140 lt_prog_compiler_wl='-Wl,' 8141 # All OSF/1 code is PIC. 8142 lt_prog_compiler_static='-non_shared' 8143 ;; 8144 8145 rdos*) 8146 lt_prog_compiler_static='-non_shared' 8147 ;; 8148 8149 solaris*) 8150 lt_prog_compiler_pic='-KPIC' 8151 lt_prog_compiler_static='-Bstatic' 8152 case $cc_basename in 8153 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8154 lt_prog_compiler_wl='-Qoption ld ';; 8155 *) 8156 lt_prog_compiler_wl='-Wl,';; 8157 esac 8158 ;; 8159 8160 sunos4*) 8161 lt_prog_compiler_wl='-Qoption ld ' 8162 lt_prog_compiler_pic='-PIC' 8163 lt_prog_compiler_static='-Bstatic' 8164 ;; 8165 8166 sysv4 | sysv4.2uw2* | sysv4.3*) 8167 lt_prog_compiler_wl='-Wl,' 8168 lt_prog_compiler_pic='-KPIC' 8169 lt_prog_compiler_static='-Bstatic' 8170 ;; 8171 8172 sysv4*MP*) 8173 if test -d /usr/nec ;then 8174 lt_prog_compiler_pic='-Kconform_pic' 8175 lt_prog_compiler_static='-Bstatic' 8176 fi 8177 ;; 8178 8179 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8180 lt_prog_compiler_wl='-Wl,' 8181 lt_prog_compiler_pic='-KPIC' 8182 lt_prog_compiler_static='-Bstatic' 8183 ;; 8184 8185 unicos*) 8186 lt_prog_compiler_wl='-Wl,' 8187 lt_prog_compiler_can_build_shared=no 8188 ;; 8189 8190 uts4*) 8191 lt_prog_compiler_pic='-pic' 8192 lt_prog_compiler_static='-Bstatic' 8193 ;; 8194 8195 *) 8196 lt_prog_compiler_can_build_shared=no 8197 ;; 8198 esac 8199 fi 8200 8201 case $host_os in 8202 # For platforms which do not support PIC, -DPIC is meaningless: 8203 *djgpp*) 8204 lt_prog_compiler_pic= 8205 ;; 8206 *) 8207 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8208 ;; 8209 esac 8210 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8213 if ${lt_cv_prog_compiler_pic+:} false; then : 8214 $as_echo_n "(cached) " >&6 8215 else 8216 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8217 fi 8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8219 $as_echo "$lt_cv_prog_compiler_pic" >&6; } 8220 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8221 8222 # 8223 # Check to make sure the PIC flag actually works. 8224 # 8225 if test -n "$lt_prog_compiler_pic"; then 8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8227 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8228 if ${lt_cv_prog_compiler_pic_works+:} false; then : 8229 $as_echo_n "(cached) " >&6 8230 else 8231 lt_cv_prog_compiler_pic_works=no 8232 ac_outfile=conftest.$ac_objext 8233 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8234 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8235 # Insert the option either (1) after the last *FLAGS variable, or 8236 # (2) before a word containing "conftest.", or (3) at the end. 8237 # Note that $ac_compile itself does not contain backslashes and begins 8238 # with a dollar sign (not a hyphen), so the echo should work correctly. 8239 # The option is referenced via a variable to avoid confusing sed. 8240 lt_compile=`echo "$ac_compile" | $SED \ 8241 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8242 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8243 -e 's:$: $lt_compiler_flag:'` 8244 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8245 (eval "$lt_compile" 2>conftest.err) 8246 ac_status=$? 8247 cat conftest.err >&5 8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8249 if (exit $ac_status) && test -s "$ac_outfile"; then 8250 # The compiler can only warn and ignore the option if not recognized 8251 # So say no if there are warnings other than the usual output. 8252 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8253 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8254 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8255 lt_cv_prog_compiler_pic_works=yes 8256 fi 8257 fi 8258 $RM conftest* 8259 8260 fi 8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8262 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8263 8264 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8265 case $lt_prog_compiler_pic in 8266 "" | " "*) ;; 8267 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8268 esac 8269 else 8270 lt_prog_compiler_pic= 8271 lt_prog_compiler_can_build_shared=no 8272 fi 8273 8274 fi 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 # 8287 # Check to make sure the static flag actually works. 8288 # 8289 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8291 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8292 if ${lt_cv_prog_compiler_static_works+:} false; then : 8293 $as_echo_n "(cached) " >&6 8294 else 8295 lt_cv_prog_compiler_static_works=no 8296 save_LDFLAGS="$LDFLAGS" 8297 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8298 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8299 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8300 # The linker can only warn and ignore the option if not recognized 8301 # So say no if there are warnings 8302 if test -s conftest.err; then 8303 # Append any errors to the config.log. 8304 cat conftest.err 1>&5 8305 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8306 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8307 if diff conftest.exp conftest.er2 >/dev/null; then 8308 lt_cv_prog_compiler_static_works=yes 8309 fi 8310 else 8311 lt_cv_prog_compiler_static_works=yes 8312 fi 8313 fi 8314 $RM -r conftest* 8315 LDFLAGS="$save_LDFLAGS" 8316 8317 fi 8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8319 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8320 8321 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8322 : 8323 else 8324 lt_prog_compiler_static= 8325 fi 8326 8327 8328 8329 8330 8331 8332 8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8334 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8335 if ${lt_cv_prog_compiler_c_o+:} false; then : 8336 $as_echo_n "(cached) " >&6 8337 else 8338 lt_cv_prog_compiler_c_o=no 8339 $RM -r conftest 2>/dev/null 8340 mkdir conftest 8341 cd conftest 8342 mkdir out 8343 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8344 8345 lt_compiler_flag="-o out/conftest2.$ac_objext" 8346 # Insert the option either (1) after the last *FLAGS variable, or 8347 # (2) before a word containing "conftest.", or (3) at the end. 8348 # Note that $ac_compile itself does not contain backslashes and begins 8349 # with a dollar sign (not a hyphen), so the echo should work correctly. 8350 lt_compile=`echo "$ac_compile" | $SED \ 8351 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8353 -e 's:$: $lt_compiler_flag:'` 8354 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8355 (eval "$lt_compile" 2>out/conftest.err) 8356 ac_status=$? 8357 cat out/conftest.err >&5 8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8359 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8360 then 8361 # The compiler can only warn and ignore the option if not recognized 8362 # So say no if there are warnings 8363 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8364 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8365 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8366 lt_cv_prog_compiler_c_o=yes 8367 fi 8368 fi 8369 chmod u+w . 2>&5 8370 $RM conftest* 8371 # SGI C++ compiler will create directory out/ii_files/ for 8372 # template instantiation 8373 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8374 $RM out/* && rmdir out 8375 cd .. 8376 $RM -r conftest 8377 $RM conftest* 8378 8379 fi 8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8381 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8382 8383 8384 8385 8386 8387 8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8389 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8390 if ${lt_cv_prog_compiler_c_o+:} false; then : 8391 $as_echo_n "(cached) " >&6 8392 else 8393 lt_cv_prog_compiler_c_o=no 8394 $RM -r conftest 2>/dev/null 8395 mkdir conftest 8396 cd conftest 8397 mkdir out 8398 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8399 8400 lt_compiler_flag="-o out/conftest2.$ac_objext" 8401 # Insert the option either (1) after the last *FLAGS variable, or 8402 # (2) before a word containing "conftest.", or (3) at the end. 8403 # Note that $ac_compile itself does not contain backslashes and begins 8404 # with a dollar sign (not a hyphen), so the echo should work correctly. 8405 lt_compile=`echo "$ac_compile" | $SED \ 8406 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8408 -e 's:$: $lt_compiler_flag:'` 8409 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8410 (eval "$lt_compile" 2>out/conftest.err) 8411 ac_status=$? 8412 cat out/conftest.err >&5 8413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8414 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8415 then 8416 # The compiler can only warn and ignore the option if not recognized 8417 # So say no if there are warnings 8418 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8419 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8420 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8421 lt_cv_prog_compiler_c_o=yes 8422 fi 8423 fi 8424 chmod u+w . 2>&5 8425 $RM conftest* 8426 # SGI C++ compiler will create directory out/ii_files/ for 8427 # template instantiation 8428 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8429 $RM out/* && rmdir out 8430 cd .. 8431 $RM -r conftest 8432 $RM conftest* 8433 8434 fi 8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8436 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8437 8438 8439 8440 8441 hard_links="nottested" 8442 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8443 # do not overwrite the value of need_locks provided by the user 8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8445 $as_echo_n "checking if we can lock with hard links... " >&6; } 8446 hard_links=yes 8447 $RM conftest* 8448 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8449 touch conftest.a 8450 ln conftest.a conftest.b 2>&5 || hard_links=no 8451 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8453 $as_echo "$hard_links" >&6; } 8454 if test "$hard_links" = no; then 8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8456 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8457 need_locks=warn 8458 fi 8459 else 8460 need_locks=no 8461 fi 8462 8463 8464 8465 8466 8467 8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8469 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8470 8471 runpath_var= 8472 allow_undefined_flag= 8473 always_export_symbols=no 8474 archive_cmds= 8475 archive_expsym_cmds= 8476 compiler_needs_object=no 8477 enable_shared_with_static_runtimes=no 8478 export_dynamic_flag_spec= 8479 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8480 hardcode_automatic=no 8481 hardcode_direct=no 8482 hardcode_direct_absolute=no 8483 hardcode_libdir_flag_spec= 8484 hardcode_libdir_separator= 8485 hardcode_minus_L=no 8486 hardcode_shlibpath_var=unsupported 8487 inherit_rpath=no 8488 link_all_deplibs=unknown 8489 module_cmds= 8490 module_expsym_cmds= 8491 old_archive_from_new_cmds= 8492 old_archive_from_expsyms_cmds= 8493 thread_safe_flag_spec= 8494 whole_archive_flag_spec= 8495 # include_expsyms should be a list of space-separated symbols to be *always* 8496 # included in the symbol list 8497 include_expsyms= 8498 # exclude_expsyms can be an extended regexp of symbols to exclude 8499 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8500 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8501 # as well as any symbol that contains `d'. 8502 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8503 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8504 # platforms (ab)use it in PIC code, but their linkers get confused if 8505 # the symbol is explicitly referenced. Since portable code cannot 8506 # rely on this symbol name, it's probably fine to never include it in 8507 # preloaded symbol tables. 8508 # Exclude shared library initialization/finalization symbols. 8509 extract_expsyms_cmds= 8510 8511 case $host_os in 8512 cygwin* | mingw* | pw32* | cegcc*) 8513 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8514 # When not using gcc, we currently assume that we are using 8515 # Microsoft Visual C++. 8516 if test "$GCC" != yes; then 8517 with_gnu_ld=no 8518 fi 8519 ;; 8520 interix*) 8521 # we just hope/assume this is gcc and not c89 (= MSVC++) 8522 with_gnu_ld=yes 8523 ;; 8524 openbsd*) 8525 with_gnu_ld=no 8526 ;; 8527 linux* | k*bsd*-gnu | gnu*) 8528 link_all_deplibs=no 8529 ;; 8530 esac 8531 8532 ld_shlibs=yes 8533 8534 # On some targets, GNU ld is compatible enough with the native linker 8535 # that we're better off using the native interface for both. 8536 lt_use_gnu_ld_interface=no 8537 if test "$with_gnu_ld" = yes; then 8538 case $host_os in 8539 aix*) 8540 # The AIX port of GNU ld has always aspired to compatibility 8541 # with the native linker. However, as the warning in the GNU ld 8542 # block says, versions before 2.19.5* couldn't really create working 8543 # shared libraries, regardless of the interface used. 8544 case `$LD -v 2>&1` in 8545 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8546 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8547 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8548 *) 8549 lt_use_gnu_ld_interface=yes 8550 ;; 8551 esac 8552 ;; 8553 *) 8554 lt_use_gnu_ld_interface=yes 8555 ;; 8556 esac 8557 fi 8558 8559 if test "$lt_use_gnu_ld_interface" = yes; then 8560 # If archive_cmds runs LD, not CC, wlarc should be empty 8561 wlarc='${wl}' 8562 8563 # Set some defaults for GNU ld with shared library support. These 8564 # are reset later if shared libraries are not supported. Putting them 8565 # here allows them to be overridden if necessary. 8566 runpath_var=LD_RUN_PATH 8567 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8568 export_dynamic_flag_spec='${wl}--export-dynamic' 8569 # ancient GNU ld didn't support --whole-archive et. al. 8570 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8571 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8572 else 8573 whole_archive_flag_spec= 8574 fi 8575 supports_anon_versioning=no 8576 case `$LD -v 2>&1` in 8577 *GNU\ gold*) supports_anon_versioning=yes ;; 8578 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8579 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8580 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8581 *\ 2.11.*) ;; # other 2.11 versions 8582 *) supports_anon_versioning=yes ;; 8583 esac 8584 8585 # See if GNU ld supports shared libraries. 8586 case $host_os in 8587 aix[3-9]*) 8588 # On AIX/PPC, the GNU linker is very broken 8589 if test "$host_cpu" != ia64; then 8590 ld_shlibs=no 8591 cat <<_LT_EOF 1>&2 8592 8593 *** Warning: the GNU linker, at least up to release 2.19, is reported 8594 *** to be unable to reliably create shared libraries on AIX. 8595 *** Therefore, libtool is disabling shared libraries support. If you 8596 *** really care for shared libraries, you may want to install binutils 8597 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8598 *** You will then need to restart the configuration process. 8599 8600 _LT_EOF 8601 fi 8602 ;; 8603 8604 amigaos*) 8605 case $host_cpu in 8606 powerpc) 8607 # see comment about AmigaOS4 .so support 8608 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8609 archive_expsym_cmds='' 8610 ;; 8611 m68k) 8612 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)' 8613 hardcode_libdir_flag_spec='-L$libdir' 8614 hardcode_minus_L=yes 8615 ;; 8616 esac 8617 ;; 8618 8619 beos*) 8620 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8621 allow_undefined_flag=unsupported 8622 # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc 8623 # support --undefined. This deserves some investigation. FIXME 8624 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8625 else 8626 ld_shlibs=no 8627 fi 8628 ;; 8629 8630 cygwin* | mingw* | pw32* | cegcc*) 8631 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8632 # as there is no search path for DLLs. 8633 hardcode_libdir_flag_spec='-L$libdir' 8634 export_dynamic_flag_spec='${wl}--export-all-symbols' 8635 allow_undefined_flag=unsupported 8636 always_export_symbols=no 8637 enable_shared_with_static_runtimes=yes 8638 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' 8639 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8640 8641 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8642 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8643 # If the export-symbols file already is a .def file (1st line 8644 # is EXPORTS), use it as is; otherwise, prepend... 8645 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8646 cp $export_symbols $output_objdir/$soname.def; 8647 else 8648 echo EXPORTS > $output_objdir/$soname.def; 8649 cat $export_symbols >> $output_objdir/$soname.def; 8650 fi~ 8651 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8652 else 8653 ld_shlibs=no 8654 fi 8655 ;; 8656 8657 haiku*) 8658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8659 link_all_deplibs=yes 8660 ;; 8661 8662 interix[3-9]*) 8663 hardcode_direct=no 8664 hardcode_shlibpath_var=no 8665 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8666 export_dynamic_flag_spec='${wl}-E' 8667 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8668 # Instead, shared libraries are loaded at an image base (0x10000000 by 8669 # default) and relocated if they conflict, which is a slow very memory 8670 # consuming and fragmenting process. To avoid this, we pick a random, 8671 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8672 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8673 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8674 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' 8675 ;; 8676 8677 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8678 tmp_diet=no 8679 if test "$host_os" = linux-dietlibc; then 8680 case $cc_basename in 8681 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8682 esac 8683 fi 8684 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8685 && test "$tmp_diet" = no 8686 then 8687 tmp_addflag=' $pic_flag' 8688 tmp_sharedflag='-shared' 8689 case $cc_basename,$host_cpu in 8690 pgcc*) # Portland Group C compiler 8691 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' 8692 tmp_addflag=' $pic_flag' 8693 ;; 8694 pgf77* | pgf90* | pgf95* | pgfortran*) 8695 # Portland Group f77 and f90 compilers 8696 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' 8697 tmp_addflag=' $pic_flag -Mnomain' ;; 8698 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8699 tmp_addflag=' -i_dynamic' ;; 8700 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8701 tmp_addflag=' -i_dynamic -nofor_main' ;; 8702 ifc* | ifort*) # Intel Fortran compiler 8703 tmp_addflag=' -nofor_main' ;; 8704 lf95*) # Lahey Fortran 8.1 8705 whole_archive_flag_spec= 8706 tmp_sharedflag='--shared' ;; 8707 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8708 tmp_sharedflag='-qmkshrobj' 8709 tmp_addflag= ;; 8710 nvcc*) # Cuda Compiler Driver 2.2 8711 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' 8712 compiler_needs_object=yes 8713 ;; 8714 esac 8715 case `$CC -V 2>&1 | sed 5q` in 8716 *Sun\ C*) # Sun C 5.9 8717 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' 8718 compiler_needs_object=yes 8719 tmp_sharedflag='-G' ;; 8720 *Sun\ F*) # Sun Fortran 8.3 8721 tmp_sharedflag='-G' ;; 8722 esac 8723 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8724 8725 if test "x$supports_anon_versioning" = xyes; then 8726 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8727 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8728 echo "local: *; };" >> $output_objdir/$libname.ver~ 8729 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8730 fi 8731 8732 case $cc_basename in 8733 xlf* | bgf* | bgxlf* | mpixlf*) 8734 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8735 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8736 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8737 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8738 if test "x$supports_anon_versioning" = xyes; then 8739 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8740 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8741 echo "local: *; };" >> $output_objdir/$libname.ver~ 8742 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8743 fi 8744 ;; 8745 esac 8746 else 8747 ld_shlibs=no 8748 fi 8749 ;; 8750 8751 netbsd* | netbsdelf*-gnu) 8752 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8753 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8754 wlarc= 8755 else 8756 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8757 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8758 fi 8759 ;; 8760 8761 solaris*) 8762 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8763 ld_shlibs=no 8764 cat <<_LT_EOF 1>&2 8765 8766 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 8767 *** create shared libraries on Solaris systems. Therefore, libtool 8768 *** is disabling shared libraries support. We urge you to upgrade GNU 8769 *** binutils to release 2.9.1 or newer. Another option is to modify 8770 *** your PATH or compiler configuration so that the native linker is 8771 *** used, and then restart. 8772 8773 _LT_EOF 8774 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8775 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8776 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8777 else 8778 ld_shlibs=no 8779 fi 8780 ;; 8781 8782 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8783 case `$LD -v 2>&1` in 8784 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8785 ld_shlibs=no 8786 cat <<_LT_EOF 1>&2 8787 8788 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8789 *** reliably create shared libraries on SCO systems. Therefore, libtool 8790 *** is disabling shared libraries support. We urge you to upgrade GNU 8791 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8792 *** your PATH or compiler configuration so that the native linker is 8793 *** used, and then restart. 8794 8795 _LT_EOF 8796 ;; 8797 *) 8798 # For security reasons, it is highly recommended that you always 8799 # use absolute paths for naming shared libraries, and exclude the 8800 # DT_RUNPATH tag from executables and libraries. But doing so 8801 # requires that you compile everything twice, which is a pain. 8802 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8803 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8804 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8805 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8806 else 8807 ld_shlibs=no 8808 fi 8809 ;; 8810 esac 8811 ;; 8812 8813 sunos4*) 8814 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8815 wlarc= 8816 hardcode_direct=yes 8817 hardcode_shlibpath_var=no 8818 ;; 8819 8820 *) 8821 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8822 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8823 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8824 else 8825 ld_shlibs=no 8826 fi 8827 ;; 8828 esac 8829 8830 if test "$ld_shlibs" = no; then 8831 runpath_var= 8832 hardcode_libdir_flag_spec= 8833 export_dynamic_flag_spec= 8834 whole_archive_flag_spec= 8835 fi 8836 else 8837 # PORTME fill in a description of your system's linker (not GNU ld) 8838 case $host_os in 8839 aix3*) 8840 allow_undefined_flag=unsupported 8841 always_export_symbols=yes 8842 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' 8843 # Note: this linker hardcodes the directories in LIBPATH if there 8844 # are no directories specified by -L. 8845 hardcode_minus_L=yes 8846 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8847 # Neither direct hardcoding nor static linking is supported with a 8848 # broken collect2. 8849 hardcode_direct=unsupported 8850 fi 8851 ;; 8852 8853 aix[4-9]*) 8854 if test "$host_cpu" = ia64; then 8855 # On IA64, the linker does run time linking by default, so we don't 8856 # have to do anything special. 8857 aix_use_runtimelinking=no 8858 exp_sym_flag='-Bexport' 8859 no_entry_flag="" 8860 else 8861 # If we're using GNU nm, then we don't want the "-C" option. 8862 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8863 # Also, AIX nm treats weak defined symbols like other global 8864 # defined symbols, whereas GNU nm marks them as "W". 8865 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8866 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' 8867 else 8868 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' 8869 fi 8870 aix_use_runtimelinking=no 8871 8872 # Test if we are trying to use run time linking or normal 8873 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8874 # need to do runtime linking. 8875 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8876 for ld_flag in $LDFLAGS; do 8877 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8878 aix_use_runtimelinking=yes 8879 break 8880 fi 8881 done 8882 ;; 8883 esac 8884 8885 exp_sym_flag='-bexport' 8886 no_entry_flag='-bnoentry' 8887 fi 8888 8889 # When large executables or shared objects are built, AIX ld can 8890 # have problems creating the table of contents. If linking a library 8891 # or program results in "error TOC overflow" add -mminimal-toc to 8892 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8893 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8894 8895 archive_cmds='' 8896 hardcode_direct=yes 8897 hardcode_direct_absolute=yes 8898 hardcode_libdir_separator=':' 8899 link_all_deplibs=yes 8900 file_list_spec='${wl}-f,' 8901 8902 if test "$GCC" = yes; then 8903 case $host_os in aix4.[012]|aix4.[012].*) 8904 # We only want to do this on AIX 4.2 and lower, the check 8905 # below for broken collect2 doesn't work under 4.3+ 8906 collect2name=`${CC} -print-prog-name=collect2` 8907 if test -f "$collect2name" && 8908 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8909 then 8910 # We have reworked collect2 8911 : 8912 else 8913 # We have old collect2 8914 hardcode_direct=unsupported 8915 # It fails to find uninstalled libraries when the uninstalled 8916 # path is not listed in the libpath. Setting hardcode_minus_L 8917 # to unsupported forces relinking 8918 hardcode_minus_L=yes 8919 hardcode_libdir_flag_spec='-L$libdir' 8920 hardcode_libdir_separator= 8921 fi 8922 ;; 8923 esac 8924 shared_flag='-shared' 8925 if test "$aix_use_runtimelinking" = yes; then 8926 shared_flag="$shared_flag "'${wl}-G' 8927 fi 8928 link_all_deplibs=no 8929 else 8930 # not using gcc 8931 if test "$host_cpu" = ia64; then 8932 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8933 # chokes on -Wl,-G. The following line is correct: 8934 shared_flag='-G' 8935 else 8936 if test "$aix_use_runtimelinking" = yes; then 8937 shared_flag='${wl}-G' 8938 else 8939 shared_flag='${wl}-bM:SRE' 8940 fi 8941 fi 8942 fi 8943 8944 export_dynamic_flag_spec='${wl}-bexpall' 8945 # It seems that -bexpall does not export symbols beginning with 8946 # underscore (_), so it is better to generate a list of symbols to export. 8947 always_export_symbols=yes 8948 if test "$aix_use_runtimelinking" = yes; then 8949 # Warning - without using the other runtime loading flags (-brtl), 8950 # -berok will link without error, but may produce a broken library. 8951 allow_undefined_flag='-berok' 8952 # Determine the default libpath from the value encoded in an 8953 # empty executable. 8954 if test "${lt_cv_aix_libpath+set}" = set; then 8955 aix_libpath=$lt_cv_aix_libpath 8956 else 8957 if ${lt_cv_aix_libpath_+:} false; then : 8958 $as_echo_n "(cached) " >&6 8959 else 8960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8961 /* end confdefs.h. */ 8962 8963 int 8964 main () 8965 { 8966 8967 ; 8968 return 0; 8969 } 8970 _ACEOF 8971 if ac_fn_c_try_link "$LINENO"; then : 8972 8973 lt_aix_libpath_sed=' 8974 /Import File Strings/,/^$/ { 8975 /^0/ { 8976 s/^0 *\([^ ]*\) *$/\1/ 8977 p 8978 } 8979 }' 8980 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8981 # Check for a 64-bit object if we didn't find anything. 8982 if test -z "$lt_cv_aix_libpath_"; then 8983 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8984 fi 8985 fi 8986 rm -f core conftest.err conftest.$ac_objext \ 8987 conftest$ac_exeext conftest.$ac_ext 8988 if test -z "$lt_cv_aix_libpath_"; then 8989 lt_cv_aix_libpath_="/usr/lib:/lib" 8990 fi 8991 8992 fi 8993 8994 aix_libpath=$lt_cv_aix_libpath_ 8995 fi 8996 8997 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8998 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" 8999 else 9000 if test "$host_cpu" = ia64; then 9001 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9002 allow_undefined_flag="-z nodefs" 9003 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" 9004 else 9005 # Determine the default libpath from the value encoded in an 9006 # empty executable. 9007 if test "${lt_cv_aix_libpath+set}" = set; then 9008 aix_libpath=$lt_cv_aix_libpath 9009 else 9010 if ${lt_cv_aix_libpath_+:} false; then : 9011 $as_echo_n "(cached) " >&6 9012 else 9013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9014 /* end confdefs.h. */ 9015 9016 int 9017 main () 9018 { 9019 9020 ; 9021 return 0; 9022 } 9023 _ACEOF 9024 if ac_fn_c_try_link "$LINENO"; then : 9025 9026 lt_aix_libpath_sed=' 9027 /Import File Strings/,/^$/ { 9028 /^0/ { 9029 s/^0 *\([^ ]*\) *$/\1/ 9030 p 9031 } 9032 }' 9033 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9034 # Check for a 64-bit object if we didn't find anything. 9035 if test -z "$lt_cv_aix_libpath_"; then 9036 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9037 fi 9038 fi 9039 rm -f core conftest.err conftest.$ac_objext \ 9040 conftest$ac_exeext conftest.$ac_ext 9041 if test -z "$lt_cv_aix_libpath_"; then 9042 lt_cv_aix_libpath_="/usr/lib:/lib" 9043 fi 9044 9045 fi 9046 9047 aix_libpath=$lt_cv_aix_libpath_ 9048 fi 9049 9050 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9051 # Warning - without using the other run time loading flags, 9052 # -berok will link without error, but may produce a broken library. 9053 no_undefined_flag=' ${wl}-bernotok' 9054 allow_undefined_flag=' ${wl}-berok' 9055 if test "$with_gnu_ld" = yes; then 9056 # We only use this code for GNU lds that support --whole-archive. 9057 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9058 else 9059 # Exported symbols can be pulled into shared objects from archives 9060 whole_archive_flag_spec='$convenience' 9061 fi 9062 archive_cmds_need_lc=yes 9063 # This is similar to how AIX traditionally builds its shared libraries. 9064 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' 9065 fi 9066 fi 9067 ;; 9068 9069 amigaos*) 9070 case $host_cpu in 9071 powerpc) 9072 # see comment about AmigaOS4 .so support 9073 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9074 archive_expsym_cmds='' 9075 ;; 9076 m68k) 9077 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)' 9078 hardcode_libdir_flag_spec='-L$libdir' 9079 hardcode_minus_L=yes 9080 ;; 9081 esac 9082 ;; 9083 9084 bsdi[45]*) 9085 export_dynamic_flag_spec=-rdynamic 9086 ;; 9087 9088 cygwin* | mingw* | pw32* | cegcc*) 9089 # When not using gcc, we currently assume that we are using 9090 # Microsoft Visual C++. 9091 # hardcode_libdir_flag_spec is actually meaningless, as there is 9092 # no search path for DLLs. 9093 case $cc_basename in 9094 cl*) 9095 # Native MSVC 9096 hardcode_libdir_flag_spec=' ' 9097 allow_undefined_flag=unsupported 9098 always_export_symbols=yes 9099 file_list_spec='@' 9100 # Tell ltmain to make .lib files, not .a files. 9101 libext=lib 9102 # Tell ltmain to make .dll files, not .so files. 9103 shrext_cmds=".dll" 9104 # FIXME: Setting linknames here is a bad hack. 9105 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9106 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9107 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9108 else 9109 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9110 fi~ 9111 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9112 linknames=' 9113 # The linker will not automatically build a static lib if we build a DLL. 9114 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9115 enable_shared_with_static_runtimes=yes 9116 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9117 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9118 # Don't use ranlib 9119 old_postinstall_cmds='chmod 644 $oldlib' 9120 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9121 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9122 case $lt_outputfile in 9123 *.exe|*.EXE) ;; 9124 *) 9125 lt_outputfile="$lt_outputfile.exe" 9126 lt_tool_outputfile="$lt_tool_outputfile.exe" 9127 ;; 9128 esac~ 9129 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9130 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9131 $RM "$lt_outputfile.manifest"; 9132 fi' 9133 ;; 9134 *) 9135 # Assume MSVC wrapper 9136 hardcode_libdir_flag_spec=' ' 9137 allow_undefined_flag=unsupported 9138 # Tell ltmain to make .lib files, not .a files. 9139 libext=lib 9140 # Tell ltmain to make .dll files, not .so files. 9141 shrext_cmds=".dll" 9142 # FIXME: Setting linknames here is a bad hack. 9143 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9144 # The linker will automatically build a .lib file if we build a DLL. 9145 old_archive_from_new_cmds='true' 9146 # FIXME: Should let the user specify the lib program. 9147 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9148 enable_shared_with_static_runtimes=yes 9149 ;; 9150 esac 9151 ;; 9152 9153 darwin* | rhapsody*) 9154 9155 9156 archive_cmds_need_lc=no 9157 hardcode_direct=no 9158 hardcode_automatic=yes 9159 hardcode_shlibpath_var=unsupported 9160 if test "$lt_cv_ld_force_load" = "yes"; then 9161 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\"`' 9162 9163 else 9164 whole_archive_flag_spec='' 9165 fi 9166 link_all_deplibs=yes 9167 allow_undefined_flag="$_lt_dar_allow_undefined" 9168 case $cc_basename in 9169 ifort*) _lt_dar_can_shared=yes ;; 9170 *) _lt_dar_can_shared=$GCC ;; 9171 esac 9172 if test "$_lt_dar_can_shared" = "yes"; then 9173 output_verbose_link_cmd=func_echo_all 9174 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9175 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9176 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}" 9177 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}" 9178 9179 else 9180 ld_shlibs=no 9181 fi 9182 9183 ;; 9184 9185 dgux*) 9186 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9187 hardcode_libdir_flag_spec='-L$libdir' 9188 hardcode_shlibpath_var=no 9189 ;; 9190 9191 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9192 # support. Future versions do this automatically, but an explicit c++rt0.o 9193 # does not break anything, and helps significantly (at the cost of a little 9194 # extra space). 9195 freebsd2.2*) 9196 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9197 hardcode_libdir_flag_spec='-R$libdir' 9198 hardcode_direct=yes 9199 hardcode_shlibpath_var=no 9200 ;; 9201 9202 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9203 freebsd2.*) 9204 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9205 hardcode_direct=yes 9206 hardcode_minus_L=yes 9207 hardcode_shlibpath_var=no 9208 ;; 9209 9210 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9211 freebsd* | dragonfly*) 9212 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9213 hardcode_libdir_flag_spec='-R$libdir' 9214 hardcode_direct=yes 9215 hardcode_shlibpath_var=no 9216 ;; 9217 9218 hpux9*) 9219 if test "$GCC" = yes; then 9220 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' 9221 else 9222 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' 9223 fi 9224 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9225 hardcode_libdir_separator=: 9226 hardcode_direct=yes 9227 9228 # hardcode_minus_L: Not really in the search PATH, 9229 # but as the default location of the library. 9230 hardcode_minus_L=yes 9231 export_dynamic_flag_spec='${wl}-E' 9232 ;; 9233 9234 hpux10*) 9235 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9236 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9237 else 9238 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9239 fi 9240 if test "$with_gnu_ld" = no; then 9241 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9242 hardcode_libdir_separator=: 9243 hardcode_direct=yes 9244 hardcode_direct_absolute=yes 9245 export_dynamic_flag_spec='${wl}-E' 9246 # hardcode_minus_L: Not really in the search PATH, 9247 # but as the default location of the library. 9248 hardcode_minus_L=yes 9249 fi 9250 ;; 9251 9252 hpux11*) 9253 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9254 case $host_cpu in 9255 hppa*64*) 9256 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9257 ;; 9258 ia64*) 9259 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9260 ;; 9261 *) 9262 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9263 ;; 9264 esac 9265 else 9266 case $host_cpu in 9267 hppa*64*) 9268 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9269 ;; 9270 ia64*) 9271 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9272 ;; 9273 *) 9274 9275 # Older versions of the 11.00 compiler do not understand -b yet 9276 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9278 $as_echo_n "checking if $CC understands -b... " >&6; } 9279 if ${lt_cv_prog_compiler__b+:} false; then : 9280 $as_echo_n "(cached) " >&6 9281 else 9282 lt_cv_prog_compiler__b=no 9283 save_LDFLAGS="$LDFLAGS" 9284 LDFLAGS="$LDFLAGS -b" 9285 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9286 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9287 # The linker can only warn and ignore the option if not recognized 9288 # So say no if there are warnings 9289 if test -s conftest.err; then 9290 # Append any errors to the config.log. 9291 cat conftest.err 1>&5 9292 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9293 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9294 if diff conftest.exp conftest.er2 >/dev/null; then 9295 lt_cv_prog_compiler__b=yes 9296 fi 9297 else 9298 lt_cv_prog_compiler__b=yes 9299 fi 9300 fi 9301 $RM -r conftest* 9302 LDFLAGS="$save_LDFLAGS" 9303 9304 fi 9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9306 $as_echo "$lt_cv_prog_compiler__b" >&6; } 9307 9308 if test x"$lt_cv_prog_compiler__b" = xyes; then 9309 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9310 else 9311 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9312 fi 9313 9314 ;; 9315 esac 9316 fi 9317 if test "$with_gnu_ld" = no; then 9318 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9319 hardcode_libdir_separator=: 9320 9321 case $host_cpu in 9322 hppa*64*|ia64*) 9323 hardcode_direct=no 9324 hardcode_shlibpath_var=no 9325 ;; 9326 *) 9327 hardcode_direct=yes 9328 hardcode_direct_absolute=yes 9329 export_dynamic_flag_spec='${wl}-E' 9330 9331 # hardcode_minus_L: Not really in the search PATH, 9332 # but as the default location of the library. 9333 hardcode_minus_L=yes 9334 ;; 9335 esac 9336 fi 9337 ;; 9338 9339 irix5* | irix6* | nonstopux*) 9340 if test "$GCC" = yes; then 9341 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' 9342 # Try to use the -exported_symbol ld option, if it does not 9343 # work, assume that -exports_file does not work either and 9344 # implicitly export all symbols. 9345 # This should be the same for all languages, so no per-tag cache variable. 9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9347 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9348 if ${lt_cv_irix_exported_symbol+:} false; then : 9349 $as_echo_n "(cached) " >&6 9350 else 9351 save_LDFLAGS="$LDFLAGS" 9352 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9354 /* end confdefs.h. */ 9355 int foo (void) { return 0; } 9356 _ACEOF 9357 if ac_fn_c_try_link "$LINENO"; then : 9358 lt_cv_irix_exported_symbol=yes 9359 else 9360 lt_cv_irix_exported_symbol=no 9361 fi 9362 rm -f core conftest.err conftest.$ac_objext \ 9363 conftest$ac_exeext conftest.$ac_ext 9364 LDFLAGS="$save_LDFLAGS" 9365 fi 9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9367 $as_echo "$lt_cv_irix_exported_symbol" >&6; } 9368 if test "$lt_cv_irix_exported_symbol" = yes; then 9369 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' 9370 fi 9371 else 9372 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' 9373 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' 9374 fi 9375 archive_cmds_need_lc='no' 9376 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9377 hardcode_libdir_separator=: 9378 inherit_rpath=yes 9379 link_all_deplibs=yes 9380 ;; 9381 9382 netbsd* | netbsdelf*-gnu) 9383 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9384 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9385 else 9386 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9387 fi 9388 hardcode_libdir_flag_spec='-R$libdir' 9389 hardcode_direct=yes 9390 hardcode_shlibpath_var=no 9391 ;; 9392 9393 newsos6) 9394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9395 hardcode_direct=yes 9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9397 hardcode_libdir_separator=: 9398 hardcode_shlibpath_var=no 9399 ;; 9400 9401 *nto* | *qnx*) 9402 ;; 9403 9404 openbsd*) 9405 if test -f /usr/libexec/ld.so; then 9406 hardcode_direct=yes 9407 hardcode_shlibpath_var=no 9408 hardcode_direct_absolute=yes 9409 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9410 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9411 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9412 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9413 export_dynamic_flag_spec='${wl}-E' 9414 else 9415 case $host_os in 9416 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9417 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9418 hardcode_libdir_flag_spec='-R$libdir' 9419 ;; 9420 *) 9421 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9422 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9423 ;; 9424 esac 9425 fi 9426 else 9427 ld_shlibs=no 9428 fi 9429 ;; 9430 9431 os2*) 9432 hardcode_libdir_flag_spec='-L$libdir' 9433 hardcode_minus_L=yes 9434 allow_undefined_flag=unsupported 9435 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' 9436 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9437 ;; 9438 9439 osf3*) 9440 if test "$GCC" = yes; then 9441 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9442 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' 9443 else 9444 allow_undefined_flag=' -expect_unresolved \*' 9445 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' 9446 fi 9447 archive_cmds_need_lc='no' 9448 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9449 hardcode_libdir_separator=: 9450 ;; 9451 9452 osf4* | osf5*) # as osf3* with the addition of -msym flag 9453 if test "$GCC" = yes; then 9454 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9455 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' 9456 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9457 else 9458 allow_undefined_flag=' -expect_unresolved \*' 9459 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' 9460 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~ 9461 $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' 9462 9463 # Both c and cxx compiler support -rpath directly 9464 hardcode_libdir_flag_spec='-rpath $libdir' 9465 fi 9466 archive_cmds_need_lc='no' 9467 hardcode_libdir_separator=: 9468 ;; 9469 9470 solaris*) 9471 no_undefined_flag=' -z defs' 9472 if test "$GCC" = yes; then 9473 wlarc='${wl}' 9474 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9475 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9476 $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' 9477 else 9478 case `$CC -V 2>&1` in 9479 *"Compilers 5.0"*) 9480 wlarc='' 9481 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9482 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9483 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9484 ;; 9485 *) 9486 wlarc='${wl}' 9487 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9488 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9489 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9490 ;; 9491 esac 9492 fi 9493 hardcode_libdir_flag_spec='-R$libdir' 9494 hardcode_shlibpath_var=no 9495 case $host_os in 9496 solaris2.[0-5] | solaris2.[0-5].*) ;; 9497 *) 9498 # The compiler driver will combine and reorder linker options, 9499 # but understands `-z linker_flag'. GCC discards it without `$wl', 9500 # but is careful enough not to reorder. 9501 # Supported since Solaris 2.6 (maybe 2.5.1?) 9502 if test "$GCC" = yes; then 9503 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9504 else 9505 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9506 fi 9507 ;; 9508 esac 9509 link_all_deplibs=yes 9510 ;; 9511 9512 sunos4*) 9513 if test "x$host_vendor" = xsequent; then 9514 # Use $CC to link under sequent, because it throws in some extra .o 9515 # files that make .init and .fini sections work. 9516 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9517 else 9518 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9519 fi 9520 hardcode_libdir_flag_spec='-L$libdir' 9521 hardcode_direct=yes 9522 hardcode_minus_L=yes 9523 hardcode_shlibpath_var=no 9524 ;; 9525 9526 sysv4) 9527 case $host_vendor in 9528 sni) 9529 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9530 hardcode_direct=yes # is this really true??? 9531 ;; 9532 siemens) 9533 ## LD is ld it makes a PLAMLIB 9534 ## CC just makes a GrossModule. 9535 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9536 reload_cmds='$CC -r -o $output$reload_objs' 9537 hardcode_direct=no 9538 ;; 9539 motorola) 9540 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9541 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9542 ;; 9543 esac 9544 runpath_var='LD_RUN_PATH' 9545 hardcode_shlibpath_var=no 9546 ;; 9547 9548 sysv4.3*) 9549 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9550 hardcode_shlibpath_var=no 9551 export_dynamic_flag_spec='-Bexport' 9552 ;; 9553 9554 sysv4*MP*) 9555 if test -d /usr/nec; then 9556 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9557 hardcode_shlibpath_var=no 9558 runpath_var=LD_RUN_PATH 9559 hardcode_runpath_var=yes 9560 ld_shlibs=yes 9561 fi 9562 ;; 9563 9564 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9565 no_undefined_flag='${wl}-z,text' 9566 archive_cmds_need_lc=no 9567 hardcode_shlibpath_var=no 9568 runpath_var='LD_RUN_PATH' 9569 9570 if test "$GCC" = yes; then 9571 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9572 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9573 else 9574 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9575 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9576 fi 9577 ;; 9578 9579 sysv5* | sco3.2v5* | sco5v6*) 9580 # Note: We can NOT use -z defs as we might desire, because we do not 9581 # link with -lc, and that would cause any symbols used from libc to 9582 # always be unresolved, which means just about no library would 9583 # ever link correctly. If we're not using GNU ld we use -z text 9584 # though, which does catch some bad symbols but isn't as heavy-handed 9585 # as -z defs. 9586 no_undefined_flag='${wl}-z,text' 9587 allow_undefined_flag='${wl}-z,nodefs' 9588 archive_cmds_need_lc=no 9589 hardcode_shlibpath_var=no 9590 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9591 hardcode_libdir_separator=':' 9592 link_all_deplibs=yes 9593 export_dynamic_flag_spec='${wl}-Bexport' 9594 runpath_var='LD_RUN_PATH' 9595 9596 if test "$GCC" = yes; then 9597 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9598 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9599 else 9600 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9601 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9602 fi 9603 ;; 9604 9605 uts4*) 9606 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9607 hardcode_libdir_flag_spec='-L$libdir' 9608 hardcode_shlibpath_var=no 9609 ;; 9610 9611 *) 9612 ld_shlibs=no 9613 ;; 9614 esac 9615 9616 if test x$host_vendor = xsni; then 9617 case $host in 9618 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9619 export_dynamic_flag_spec='${wl}-Blargedynsym' 9620 ;; 9621 esac 9622 fi 9623 fi 9624 9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9626 $as_echo "$ld_shlibs" >&6; } 9627 test "$ld_shlibs" = no && can_build_shared=no 9628 9629 with_gnu_ld=$with_gnu_ld 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 # 9646 # Do we need to explicitly link libc? 9647 # 9648 case "x$archive_cmds_need_lc" in 9649 x|xyes) 9650 # Assume -lc should be added 9651 archive_cmds_need_lc=yes 9652 9653 if test "$enable_shared" = yes && test "$GCC" = yes; then 9654 case $archive_cmds in 9655 *'~'*) 9656 # FIXME: we may have to deal with multi-command sequences. 9657 ;; 9658 '$CC '*) 9659 # Test whether the compiler implicitly links with -lc since on some 9660 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9661 # to ld, don't add -lc before -lgcc. 9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9663 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9664 if ${lt_cv_archive_cmds_need_lc+:} false; then : 9665 $as_echo_n "(cached) " >&6 9666 else 9667 $RM conftest* 9668 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9669 9670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9671 (eval $ac_compile) 2>&5 9672 ac_status=$? 9673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9674 test $ac_status = 0; } 2>conftest.err; then 9675 soname=conftest 9676 lib=conftest 9677 libobjs=conftest.$ac_objext 9678 deplibs= 9679 wl=$lt_prog_compiler_wl 9680 pic_flag=$lt_prog_compiler_pic 9681 compiler_flags=-v 9682 linker_flags=-v 9683 verstring= 9684 output_objdir=. 9685 libname=conftest 9686 lt_save_allow_undefined_flag=$allow_undefined_flag 9687 allow_undefined_flag= 9688 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9689 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9690 ac_status=$? 9691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9692 test $ac_status = 0; } 9693 then 9694 lt_cv_archive_cmds_need_lc=no 9695 else 9696 lt_cv_archive_cmds_need_lc=yes 9697 fi 9698 allow_undefined_flag=$lt_save_allow_undefined_flag 9699 else 9700 cat conftest.err 1>&5 9701 fi 9702 $RM conftest* 9703 9704 fi 9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9706 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9707 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9708 ;; 9709 esac 9710 fi 9711 ;; 9712 esac 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9866 $as_echo_n "checking dynamic linker characteristics... " >&6; } 9867 9868 if test "$GCC" = yes; then 9869 case $host_os in 9870 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9871 *) lt_awk_arg="/^libraries:/" ;; 9872 esac 9873 case $host_os in 9874 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9875 *) lt_sed_strip_eq="s,=/,/,g" ;; 9876 esac 9877 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9878 case $lt_search_path_spec in 9879 *\;*) 9880 # if the path contains ";" then we assume it to be the separator 9881 # otherwise default to the standard path separator (i.e. ":") - it is 9882 # assumed that no part of a normal pathname contains ";" but that should 9883 # okay in the real world where ";" in dirpaths is itself problematic. 9884 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9885 ;; 9886 *) 9887 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9888 ;; 9889 esac 9890 # Ok, now we have the path, separated by spaces, we can step through it 9891 # and add multilib dir if necessary. 9892 lt_tmp_lt_search_path_spec= 9893 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9894 for lt_sys_path in $lt_search_path_spec; do 9895 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9896 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9897 else 9898 test -d "$lt_sys_path" && \ 9899 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9900 fi 9901 done 9902 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9903 BEGIN {RS=" "; FS="/|\n";} { 9904 lt_foo=""; 9905 lt_count=0; 9906 for (lt_i = NF; lt_i > 0; lt_i--) { 9907 if ($lt_i != "" && $lt_i != ".") { 9908 if ($lt_i == "..") { 9909 lt_count++; 9910 } else { 9911 if (lt_count == 0) { 9912 lt_foo="/" $lt_i lt_foo; 9913 } else { 9914 lt_count--; 9915 } 9916 } 9917 } 9918 } 9919 if (lt_foo != "") { lt_freq[lt_foo]++; } 9920 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9921 }'` 9922 # AWK program above erroneously prepends '/' to C:/dos/paths 9923 # for these hosts. 9924 case $host_os in 9925 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 9926 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 9927 esac 9928 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 9929 else 9930 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9931 fi 9932 library_names_spec= 9933 libname_spec='lib$name' 9934 soname_spec= 9935 shrext_cmds=".so" 9936 postinstall_cmds= 9937 postuninstall_cmds= 9938 finish_cmds= 9939 finish_eval= 9940 shlibpath_var= 9941 shlibpath_overrides_runpath=unknown 9942 version_type=none 9943 dynamic_linker="$host_os ld.so" 9944 sys_lib_dlsearch_path_spec="/lib /usr/lib" 9945 need_lib_prefix=unknown 9946 hardcode_into_libs=no 9947 9948 # when you set need_version to no, make sure it does not cause -set_version 9949 # flags to be left without arguments 9950 need_version=unknown 9951 9952 case $host_os in 9953 aix3*) 9954 version_type=linux # correct to gnu/linux during the next big refactor 9955 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9956 shlibpath_var=LIBPATH 9957 9958 # AIX 3 has no versioning support, so we append a major version to the name. 9959 soname_spec='${libname}${release}${shared_ext}$major' 9960 ;; 9961 9962 aix[4-9]*) 9963 version_type=linux # correct to gnu/linux during the next big refactor 9964 need_lib_prefix=no 9965 need_version=no 9966 hardcode_into_libs=yes 9967 if test "$host_cpu" = ia64; then 9968 # AIX 5 supports IA64 9969 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9970 shlibpath_var=LD_LIBRARY_PATH 9971 else 9972 # With GCC up to 2.95.x, collect2 would create an import file 9973 # for dependence libraries. The import file would start with 9974 # the line `#! .'. This would cause the generated library to 9975 # depend on `.', always an invalid library. This was fixed in 9976 # development snapshots of GCC prior to 3.0. 9977 case $host_os in 9978 aix4 | aix4.[01] | aix4.[01].*) 9979 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9980 echo ' yes ' 9981 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9982 : 9983 else 9984 can_build_shared=no 9985 fi 9986 ;; 9987 esac 9988 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9989 # soname into executable. Probably we can add versioning support to 9990 # collect2, so additional links can be useful in future. 9991 if test "$aix_use_runtimelinking" = yes; then 9992 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9993 # instead of lib<name>.a to let people know that these are not 9994 # typical AIX shared libraries. 9995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9996 else 9997 # We preserve .a as extension for shared libraries through AIX4.2 9998 # and later when we are not doing run time linking. 9999 library_names_spec='${libname}${release}.a $libname.a' 10000 soname_spec='${libname}${release}${shared_ext}$major' 10001 fi 10002 shlibpath_var=LIBPATH 10003 fi 10004 ;; 10005 10006 amigaos*) 10007 case $host_cpu in 10008 powerpc) 10009 # Since July 2007 AmigaOS4 officially supports .so libraries. 10010 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10012 ;; 10013 m68k) 10014 library_names_spec='$libname.ixlibrary $libname.a' 10015 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10016 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' 10017 ;; 10018 esac 10019 ;; 10020 10021 beos*) 10022 library_names_spec='${libname}${shared_ext}' 10023 dynamic_linker="$host_os ld.so" 10024 shlibpath_var=LIBRARY_PATH 10025 ;; 10026 10027 bsdi[45]*) 10028 version_type=linux # correct to gnu/linux during the next big refactor 10029 need_version=no 10030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10031 soname_spec='${libname}${release}${shared_ext}$major' 10032 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10033 shlibpath_var=LD_LIBRARY_PATH 10034 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10035 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10036 # the default ld.so.conf also contains /usr/contrib/lib and 10037 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10038 # libtool to hard-code these into programs 10039 ;; 10040 10041 cygwin* | mingw* | pw32* | cegcc*) 10042 version_type=windows 10043 shrext_cmds=".dll" 10044 need_version=no 10045 need_lib_prefix=no 10046 10047 case $GCC,$cc_basename in 10048 yes,*) 10049 # gcc 10050 library_names_spec='$libname.dll.a' 10051 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10052 postinstall_cmds='base_file=`basename \${file}`~ 10053 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10054 dldir=$destdir/`dirname \$dlpath`~ 10055 test -d \$dldir || mkdir -p \$dldir~ 10056 $install_prog $dir/$dlname \$dldir/$dlname~ 10057 chmod a+x \$dldir/$dlname~ 10058 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10059 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10060 fi' 10061 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10062 dlpath=$dir/\$dldll~ 10063 $RM \$dlpath' 10064 shlibpath_overrides_runpath=yes 10065 10066 case $host_os in 10067 cygwin*) 10068 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10069 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10070 10071 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10072 ;; 10073 mingw* | cegcc*) 10074 # MinGW DLLs use traditional 'lib' prefix 10075 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10076 ;; 10077 pw32*) 10078 # pw32 DLLs use 'pw' prefix rather than 'lib' 10079 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10080 ;; 10081 esac 10082 dynamic_linker='Win32 ld.exe' 10083 ;; 10084 10085 *,cl*) 10086 # Native MSVC 10087 libname_spec='$name' 10088 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10089 library_names_spec='${libname}.dll.lib' 10090 10091 case $build_os in 10092 mingw*) 10093 sys_lib_search_path_spec= 10094 lt_save_ifs=$IFS 10095 IFS=';' 10096 for lt_path in $LIB 10097 do 10098 IFS=$lt_save_ifs 10099 # Let DOS variable expansion print the short 8.3 style file name. 10100 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10101 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10102 done 10103 IFS=$lt_save_ifs 10104 # Convert to MSYS style. 10105 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10106 ;; 10107 cygwin*) 10108 # Convert to unix form, then to dos form, then back to unix form 10109 # but this time dos style (no spaces!) so that the unix form looks 10110 # like /cygdrive/c/PROGRA~1:/cygdr... 10111 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10112 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10113 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10114 ;; 10115 *) 10116 sys_lib_search_path_spec="$LIB" 10117 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10118 # It is most probably a Windows format PATH. 10119 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10120 else 10121 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10122 fi 10123 # FIXME: find the short name or the path components, as spaces are 10124 # common. (e.g. "Program Files" -> "PROGRA~1") 10125 ;; 10126 esac 10127 10128 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10129 postinstall_cmds='base_file=`basename \${file}`~ 10130 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10131 dldir=$destdir/`dirname \$dlpath`~ 10132 test -d \$dldir || mkdir -p \$dldir~ 10133 $install_prog $dir/$dlname \$dldir/$dlname' 10134 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10135 dlpath=$dir/\$dldll~ 10136 $RM \$dlpath' 10137 shlibpath_overrides_runpath=yes 10138 dynamic_linker='Win32 link.exe' 10139 ;; 10140 10141 *) 10142 # Assume MSVC wrapper 10143 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10144 dynamic_linker='Win32 ld.exe' 10145 ;; 10146 esac 10147 # FIXME: first we should search . and the directory the executable is in 10148 shlibpath_var=PATH 10149 ;; 10150 10151 darwin* | rhapsody*) 10152 dynamic_linker="$host_os dyld" 10153 version_type=darwin 10154 need_lib_prefix=no 10155 need_version=no 10156 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10157 soname_spec='${libname}${release}${major}$shared_ext' 10158 shlibpath_overrides_runpath=yes 10159 shlibpath_var=DYLD_LIBRARY_PATH 10160 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10161 10162 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10163 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10164 ;; 10165 10166 dgux*) 10167 version_type=linux # correct to gnu/linux during the next big refactor 10168 need_lib_prefix=no 10169 need_version=no 10170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10171 soname_spec='${libname}${release}${shared_ext}$major' 10172 shlibpath_var=LD_LIBRARY_PATH 10173 ;; 10174 10175 freebsd* | dragonfly*) 10176 # DragonFly does not have aout. When/if they implement a new 10177 # versioning mechanism, adjust this. 10178 if test -x /usr/bin/objformat; then 10179 objformat=`/usr/bin/objformat` 10180 else 10181 case $host_os in 10182 freebsd[23].*) objformat=aout ;; 10183 *) objformat=elf ;; 10184 esac 10185 fi 10186 version_type=freebsd-$objformat 10187 case $version_type in 10188 freebsd-elf*) 10189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10190 need_version=no 10191 need_lib_prefix=no 10192 ;; 10193 freebsd-*) 10194 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10195 need_version=yes 10196 ;; 10197 esac 10198 shlibpath_var=LD_LIBRARY_PATH 10199 case $host_os in 10200 freebsd2.*) 10201 shlibpath_overrides_runpath=yes 10202 ;; 10203 freebsd3.[01]* | freebsdelf3.[01]*) 10204 shlibpath_overrides_runpath=yes 10205 hardcode_into_libs=yes 10206 ;; 10207 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10208 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10209 shlibpath_overrides_runpath=no 10210 hardcode_into_libs=yes 10211 ;; 10212 *) # from 4.6 on, and DragonFly 10213 shlibpath_overrides_runpath=yes 10214 hardcode_into_libs=yes 10215 ;; 10216 esac 10217 ;; 10218 10219 haiku*) 10220 version_type=linux # correct to gnu/linux during the next big refactor 10221 need_lib_prefix=no 10222 need_version=no 10223 dynamic_linker="$host_os runtime_loader" 10224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10225 soname_spec='${libname}${release}${shared_ext}$major' 10226 shlibpath_var=LIBRARY_PATH 10227 shlibpath_overrides_runpath=yes 10228 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10229 hardcode_into_libs=yes 10230 ;; 10231 10232 hpux9* | hpux10* | hpux11*) 10233 # Give a soname corresponding to the major version so that dld.sl refuses to 10234 # link against other versions. 10235 version_type=sunos 10236 need_lib_prefix=no 10237 need_version=no 10238 case $host_cpu in 10239 ia64*) 10240 shrext_cmds='.so' 10241 hardcode_into_libs=yes 10242 dynamic_linker="$host_os dld.so" 10243 shlibpath_var=LD_LIBRARY_PATH 10244 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10246 soname_spec='${libname}${release}${shared_ext}$major' 10247 if test "X$HPUX_IA64_MODE" = X32; then 10248 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10249 else 10250 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10251 fi 10252 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10253 ;; 10254 hppa*64*) 10255 shrext_cmds='.sl' 10256 hardcode_into_libs=yes 10257 dynamic_linker="$host_os dld.sl" 10258 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10259 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10261 soname_spec='${libname}${release}${shared_ext}$major' 10262 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10263 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10264 ;; 10265 *) 10266 shrext_cmds='.sl' 10267 dynamic_linker="$host_os dld.sl" 10268 shlibpath_var=SHLIB_PATH 10269 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10271 soname_spec='${libname}${release}${shared_ext}$major' 10272 ;; 10273 esac 10274 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10275 postinstall_cmds='chmod 555 $lib' 10276 # or fails outright, so override atomically: 10277 install_override_mode=555 10278 ;; 10279 10280 interix[3-9]*) 10281 version_type=linux # correct to gnu/linux during the next big refactor 10282 need_lib_prefix=no 10283 need_version=no 10284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10285 soname_spec='${libname}${release}${shared_ext}$major' 10286 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10287 shlibpath_var=LD_LIBRARY_PATH 10288 shlibpath_overrides_runpath=no 10289 hardcode_into_libs=yes 10290 ;; 10291 10292 irix5* | irix6* | nonstopux*) 10293 case $host_os in 10294 nonstopux*) version_type=nonstopux ;; 10295 *) 10296 if test "$lt_cv_prog_gnu_ld" = yes; then 10297 version_type=linux # correct to gnu/linux during the next big refactor 10298 else 10299 version_type=irix 10300 fi ;; 10301 esac 10302 need_lib_prefix=no 10303 need_version=no 10304 soname_spec='${libname}${release}${shared_ext}$major' 10305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10306 case $host_os in 10307 irix5* | nonstopux*) 10308 libsuff= shlibsuff= 10309 ;; 10310 *) 10311 case $LD in # libtool.m4 will add one of these switches to LD 10312 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10313 libsuff= shlibsuff= libmagic=32-bit;; 10314 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10315 libsuff=32 shlibsuff=N32 libmagic=N32;; 10316 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10317 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10318 *) libsuff= shlibsuff= libmagic=never-match;; 10319 esac 10320 ;; 10321 esac 10322 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10323 shlibpath_overrides_runpath=no 10324 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10325 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10326 hardcode_into_libs=yes 10327 ;; 10328 10329 # No shared lib support for Linux oldld, aout, or coff. 10330 linux*oldld* | linux*aout* | linux*coff*) 10331 dynamic_linker=no 10332 ;; 10333 10334 # This must be glibc/ELF. 10335 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10336 version_type=linux # correct to gnu/linux during the next big refactor 10337 need_lib_prefix=no 10338 need_version=no 10339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10340 soname_spec='${libname}${release}${shared_ext}$major' 10341 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10342 shlibpath_var=LD_LIBRARY_PATH 10343 shlibpath_overrides_runpath=no 10344 10345 # Some binutils ld are patched to set DT_RUNPATH 10346 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10347 $as_echo_n "(cached) " >&6 10348 else 10349 lt_cv_shlibpath_overrides_runpath=no 10350 save_LDFLAGS=$LDFLAGS 10351 save_libdir=$libdir 10352 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10353 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10355 /* end confdefs.h. */ 10356 10357 int 10358 main () 10359 { 10360 10361 ; 10362 return 0; 10363 } 10364 _ACEOF 10365 if ac_fn_c_try_link "$LINENO"; then : 10366 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10367 lt_cv_shlibpath_overrides_runpath=yes 10368 fi 10369 fi 10370 rm -f core conftest.err conftest.$ac_objext \ 10371 conftest$ac_exeext conftest.$ac_ext 10372 LDFLAGS=$save_LDFLAGS 10373 libdir=$save_libdir 10374 10375 fi 10376 10377 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10378 10379 # This implies no fast_install, which is unacceptable. 10380 # Some rework will be needed to allow for fast_install 10381 # before this can be enabled. 10382 hardcode_into_libs=yes 10383 10384 # Append ld.so.conf contents to the search path 10385 if test -f /etc/ld.so.conf; then 10386 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' ' '` 10387 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10388 fi 10389 10390 # We used to test for /lib/ld.so.1 and disable shared libraries on 10391 # powerpc, because MkLinux only supported shared libraries with the 10392 # GNU dynamic linker. Since this was broken with cross compilers, 10393 # most powerpc-linux boxes support dynamic linking these days and 10394 # people can always --disable-shared, the test was removed, and we 10395 # assume the GNU/Linux dynamic linker is in use. 10396 dynamic_linker='GNU/Linux ld.so' 10397 ;; 10398 10399 netbsdelf*-gnu) 10400 version_type=linux 10401 need_lib_prefix=no 10402 need_version=no 10403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10404 soname_spec='${libname}${release}${shared_ext}$major' 10405 shlibpath_var=LD_LIBRARY_PATH 10406 shlibpath_overrides_runpath=no 10407 hardcode_into_libs=yes 10408 dynamic_linker='NetBSD ld.elf_so' 10409 ;; 10410 10411 netbsd*) 10412 version_type=sunos 10413 need_lib_prefix=no 10414 need_version=no 10415 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10417 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10418 dynamic_linker='NetBSD (a.out) ld.so' 10419 else 10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10421 soname_spec='${libname}${release}${shared_ext}$major' 10422 dynamic_linker='NetBSD ld.elf_so' 10423 fi 10424 shlibpath_var=LD_LIBRARY_PATH 10425 shlibpath_overrides_runpath=yes 10426 hardcode_into_libs=yes 10427 ;; 10428 10429 newsos6) 10430 version_type=linux # correct to gnu/linux during the next big refactor 10431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10432 shlibpath_var=LD_LIBRARY_PATH 10433 shlibpath_overrides_runpath=yes 10434 ;; 10435 10436 *nto* | *qnx*) 10437 version_type=qnx 10438 need_lib_prefix=no 10439 need_version=no 10440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10441 soname_spec='${libname}${release}${shared_ext}$major' 10442 shlibpath_var=LD_LIBRARY_PATH 10443 shlibpath_overrides_runpath=no 10444 hardcode_into_libs=yes 10445 dynamic_linker='ldqnx.so' 10446 ;; 10447 10448 openbsd*) 10449 version_type=sunos 10450 sys_lib_dlsearch_path_spec="/usr/lib" 10451 need_lib_prefix=no 10452 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10453 case $host_os in 10454 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10455 *) need_version=no ;; 10456 esac 10457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10458 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10459 shlibpath_var=LD_LIBRARY_PATH 10460 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10461 case $host_os in 10462 openbsd2.[89] | openbsd2.[89].*) 10463 shlibpath_overrides_runpath=no 10464 ;; 10465 *) 10466 shlibpath_overrides_runpath=yes 10467 ;; 10468 esac 10469 else 10470 shlibpath_overrides_runpath=yes 10471 fi 10472 ;; 10473 10474 os2*) 10475 libname_spec='$name' 10476 shrext_cmds=".dll" 10477 need_lib_prefix=no 10478 library_names_spec='$libname${shared_ext} $libname.a' 10479 dynamic_linker='OS/2 ld.exe' 10480 shlibpath_var=LIBPATH 10481 ;; 10482 10483 osf3* | osf4* | osf5*) 10484 version_type=osf 10485 need_lib_prefix=no 10486 need_version=no 10487 soname_spec='${libname}${release}${shared_ext}$major' 10488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10489 shlibpath_var=LD_LIBRARY_PATH 10490 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10491 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10492 ;; 10493 10494 rdos*) 10495 dynamic_linker=no 10496 ;; 10497 10498 solaris*) 10499 version_type=linux # correct to gnu/linux during the next big refactor 10500 need_lib_prefix=no 10501 need_version=no 10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10503 soname_spec='${libname}${release}${shared_ext}$major' 10504 shlibpath_var=LD_LIBRARY_PATH 10505 shlibpath_overrides_runpath=yes 10506 hardcode_into_libs=yes 10507 # ldd complains unless libraries are executable 10508 postinstall_cmds='chmod +x $lib' 10509 ;; 10510 10511 sunos4*) 10512 version_type=sunos 10513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10514 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10515 shlibpath_var=LD_LIBRARY_PATH 10516 shlibpath_overrides_runpath=yes 10517 if test "$with_gnu_ld" = yes; then 10518 need_lib_prefix=no 10519 fi 10520 need_version=yes 10521 ;; 10522 10523 sysv4 | sysv4.3*) 10524 version_type=linux # correct to gnu/linux during the next big refactor 10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10526 soname_spec='${libname}${release}${shared_ext}$major' 10527 shlibpath_var=LD_LIBRARY_PATH 10528 case $host_vendor in 10529 sni) 10530 shlibpath_overrides_runpath=no 10531 need_lib_prefix=no 10532 runpath_var=LD_RUN_PATH 10533 ;; 10534 siemens) 10535 need_lib_prefix=no 10536 ;; 10537 motorola) 10538 need_lib_prefix=no 10539 need_version=no 10540 shlibpath_overrides_runpath=no 10541 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10542 ;; 10543 esac 10544 ;; 10545 10546 sysv4*MP*) 10547 if test -d /usr/nec ;then 10548 version_type=linux # correct to gnu/linux during the next big refactor 10549 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10550 soname_spec='$libname${shared_ext}.$major' 10551 shlibpath_var=LD_LIBRARY_PATH 10552 fi 10553 ;; 10554 10555 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10556 version_type=freebsd-elf 10557 need_lib_prefix=no 10558 need_version=no 10559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10560 soname_spec='${libname}${release}${shared_ext}$major' 10561 shlibpath_var=LD_LIBRARY_PATH 10562 shlibpath_overrides_runpath=yes 10563 hardcode_into_libs=yes 10564 if test "$with_gnu_ld" = yes; then 10565 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10566 else 10567 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10568 case $host_os in 10569 sco3.2v5*) 10570 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10571 ;; 10572 esac 10573 fi 10574 sys_lib_dlsearch_path_spec='/usr/lib' 10575 ;; 10576 10577 tpf*) 10578 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10579 version_type=linux # correct to gnu/linux during the next big refactor 10580 need_lib_prefix=no 10581 need_version=no 10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10583 shlibpath_var=LD_LIBRARY_PATH 10584 shlibpath_overrides_runpath=no 10585 hardcode_into_libs=yes 10586 ;; 10587 10588 uts4*) 10589 version_type=linux # correct to gnu/linux during the next big refactor 10590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10591 soname_spec='${libname}${release}${shared_ext}$major' 10592 shlibpath_var=LD_LIBRARY_PATH 10593 ;; 10594 10595 *) 10596 dynamic_linker=no 10597 ;; 10598 esac 10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10600 $as_echo "$dynamic_linker" >&6; } 10601 test "$dynamic_linker" = no && can_build_shared=no 10602 10603 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10604 if test "$GCC" = yes; then 10605 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10606 fi 10607 10608 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10609 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10610 fi 10611 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10612 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10613 fi 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10707 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10708 hardcode_action= 10709 if test -n "$hardcode_libdir_flag_spec" || 10710 test -n "$runpath_var" || 10711 test "X$hardcode_automatic" = "Xyes" ; then 10712 10713 # We can hardcode non-existent directories. 10714 if test "$hardcode_direct" != no && 10715 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10716 # have to relink, otherwise we might link with an installed library 10717 # when we should be linking with a yet-to-be-installed one 10718 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10719 test "$hardcode_minus_L" != no; then 10720 # Linking always hardcodes the temporary library directory. 10721 hardcode_action=relink 10722 else 10723 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10724 hardcode_action=immediate 10725 fi 10726 else 10727 # We cannot hardcode anything, or else we can only hardcode existing 10728 # directories. 10729 hardcode_action=unsupported 10730 fi 10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10732 $as_echo "$hardcode_action" >&6; } 10733 10734 if test "$hardcode_action" = relink || 10735 test "$inherit_rpath" = yes; then 10736 # Fast installation is not supported 10737 enable_fast_install=no 10738 elif test "$shlibpath_overrides_runpath" = yes || 10739 test "$enable_shared" = no; then 10740 # Fast installation is not necessary 10741 enable_fast_install=needless 10742 fi 10743 10744 10745 10746 10747 10748 10749 if test "x$enable_dlopen" != xyes; then 10750 enable_dlopen=unknown 10751 enable_dlopen_self=unknown 10752 enable_dlopen_self_static=unknown 10753 else 10754 lt_cv_dlopen=no 10755 lt_cv_dlopen_libs= 10756 10757 case $host_os in 10758 beos*) 10759 lt_cv_dlopen="load_add_on" 10760 lt_cv_dlopen_libs= 10761 lt_cv_dlopen_self=yes 10762 ;; 10763 10764 mingw* | pw32* | cegcc*) 10765 lt_cv_dlopen="LoadLibrary" 10766 lt_cv_dlopen_libs= 10767 ;; 10768 10769 cygwin*) 10770 lt_cv_dlopen="dlopen" 10771 lt_cv_dlopen_libs= 10772 ;; 10773 10774 darwin*) 10775 # if libdl is installed we need to link against it 10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10777 $as_echo_n "checking for dlopen in -ldl... " >&6; } 10778 if ${ac_cv_lib_dl_dlopen+:} false; then : 10779 $as_echo_n "(cached) " >&6 10780 else 10781 ac_check_lib_save_LIBS=$LIBS 10782 LIBS="-ldl $LIBS" 10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10784 /* end confdefs.h. */ 10785 10786 /* Override any GCC internal prototype to avoid an error. 10787 Use char because int might match the return type of a GCC 10788 builtin and then its argument prototype would still apply. */ 10789 #ifdef __cplusplus 10790 extern "C" 10791 #endif 10792 char dlopen (); 10793 int 10794 main () 10795 { 10796 return dlopen (); 10797 ; 10798 return 0; 10799 } 10800 _ACEOF 10801 if ac_fn_c_try_link "$LINENO"; then : 10802 ac_cv_lib_dl_dlopen=yes 10803 else 10804 ac_cv_lib_dl_dlopen=no 10805 fi 10806 rm -f core conftest.err conftest.$ac_objext \ 10807 conftest$ac_exeext conftest.$ac_ext 10808 LIBS=$ac_check_lib_save_LIBS 10809 fi 10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10811 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10812 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10813 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10814 else 10815 10816 lt_cv_dlopen="dyld" 10817 lt_cv_dlopen_libs= 10818 lt_cv_dlopen_self=yes 10819 10820 fi 10821 10822 ;; 10823 10824 *) 10825 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10826 if test "x$ac_cv_func_shl_load" = xyes; then : 10827 lt_cv_dlopen="shl_load" 10828 else 10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10830 $as_echo_n "checking for shl_load in -ldld... " >&6; } 10831 if ${ac_cv_lib_dld_shl_load+:} false; then : 10832 $as_echo_n "(cached) " >&6 10833 else 10834 ac_check_lib_save_LIBS=$LIBS 10835 LIBS="-ldld $LIBS" 10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10837 /* end confdefs.h. */ 10838 10839 /* Override any GCC internal prototype to avoid an error. 10840 Use char because int might match the return type of a GCC 10841 builtin and then its argument prototype would still apply. */ 10842 #ifdef __cplusplus 10843 extern "C" 10844 #endif 10845 char shl_load (); 10846 int 10847 main () 10848 { 10849 return shl_load (); 10850 ; 10851 return 0; 10852 } 10853 _ACEOF 10854 if ac_fn_c_try_link "$LINENO"; then : 10855 ac_cv_lib_dld_shl_load=yes 10856 else 10857 ac_cv_lib_dld_shl_load=no 10858 fi 10859 rm -f core conftest.err conftest.$ac_objext \ 10860 conftest$ac_exeext conftest.$ac_ext 10861 LIBS=$ac_check_lib_save_LIBS 10862 fi 10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10864 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10865 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10866 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10867 else 10868 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10869 if test "x$ac_cv_func_dlopen" = xyes; then : 10870 lt_cv_dlopen="dlopen" 10871 else 10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10873 $as_echo_n "checking for dlopen in -ldl... " >&6; } 10874 if ${ac_cv_lib_dl_dlopen+:} false; then : 10875 $as_echo_n "(cached) " >&6 10876 else 10877 ac_check_lib_save_LIBS=$LIBS 10878 LIBS="-ldl $LIBS" 10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10880 /* end confdefs.h. */ 10881 10882 /* Override any GCC internal prototype to avoid an error. 10883 Use char because int might match the return type of a GCC 10884 builtin and then its argument prototype would still apply. */ 10885 #ifdef __cplusplus 10886 extern "C" 10887 #endif 10888 char dlopen (); 10889 int 10890 main () 10891 { 10892 return dlopen (); 10893 ; 10894 return 0; 10895 } 10896 _ACEOF 10897 if ac_fn_c_try_link "$LINENO"; then : 10898 ac_cv_lib_dl_dlopen=yes 10899 else 10900 ac_cv_lib_dl_dlopen=no 10901 fi 10902 rm -f core conftest.err conftest.$ac_objext \ 10903 conftest$ac_exeext conftest.$ac_ext 10904 LIBS=$ac_check_lib_save_LIBS 10905 fi 10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10907 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10908 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10909 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10910 else 10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10912 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 10913 if ${ac_cv_lib_svld_dlopen+:} false; then : 10914 $as_echo_n "(cached) " >&6 10915 else 10916 ac_check_lib_save_LIBS=$LIBS 10917 LIBS="-lsvld $LIBS" 10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10919 /* end confdefs.h. */ 10920 10921 /* Override any GCC internal prototype to avoid an error. 10922 Use char because int might match the return type of a GCC 10923 builtin and then its argument prototype would still apply. */ 10924 #ifdef __cplusplus 10925 extern "C" 10926 #endif 10927 char dlopen (); 10928 int 10929 main () 10930 { 10931 return dlopen (); 10932 ; 10933 return 0; 10934 } 10935 _ACEOF 10936 if ac_fn_c_try_link "$LINENO"; then : 10937 ac_cv_lib_svld_dlopen=yes 10938 else 10939 ac_cv_lib_svld_dlopen=no 10940 fi 10941 rm -f core conftest.err conftest.$ac_objext \ 10942 conftest$ac_exeext conftest.$ac_ext 10943 LIBS=$ac_check_lib_save_LIBS 10944 fi 10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10946 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10947 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 10948 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10949 else 10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10951 $as_echo_n "checking for dld_link in -ldld... " >&6; } 10952 if ${ac_cv_lib_dld_dld_link+:} false; then : 10953 $as_echo_n "(cached) " >&6 10954 else 10955 ac_check_lib_save_LIBS=$LIBS 10956 LIBS="-ldld $LIBS" 10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10958 /* end confdefs.h. */ 10959 10960 /* Override any GCC internal prototype to avoid an error. 10961 Use char because int might match the return type of a GCC 10962 builtin and then its argument prototype would still apply. */ 10963 #ifdef __cplusplus 10964 extern "C" 10965 #endif 10966 char dld_link (); 10967 int 10968 main () 10969 { 10970 return dld_link (); 10971 ; 10972 return 0; 10973 } 10974 _ACEOF 10975 if ac_fn_c_try_link "$LINENO"; then : 10976 ac_cv_lib_dld_dld_link=yes 10977 else 10978 ac_cv_lib_dld_dld_link=no 10979 fi 10980 rm -f core conftest.err conftest.$ac_objext \ 10981 conftest$ac_exeext conftest.$ac_ext 10982 LIBS=$ac_check_lib_save_LIBS 10983 fi 10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10985 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10986 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 10987 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10988 fi 10989 10990 10991 fi 10992 10993 10994 fi 10995 10996 10997 fi 10998 10999 11000 fi 11001 11002 11003 fi 11004 11005 ;; 11006 esac 11007 11008 if test "x$lt_cv_dlopen" != xno; then 11009 enable_dlopen=yes 11010 else 11011 enable_dlopen=no 11012 fi 11013 11014 case $lt_cv_dlopen in 11015 dlopen) 11016 save_CPPFLAGS="$CPPFLAGS" 11017 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11018 11019 save_LDFLAGS="$LDFLAGS" 11020 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11021 11022 save_LIBS="$LIBS" 11023 LIBS="$lt_cv_dlopen_libs $LIBS" 11024 11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11026 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 11027 if ${lt_cv_dlopen_self+:} false; then : 11028 $as_echo_n "(cached) " >&6 11029 else 11030 if test "$cross_compiling" = yes; then : 11031 lt_cv_dlopen_self=cross 11032 else 11033 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11034 lt_status=$lt_dlunknown 11035 cat > conftest.$ac_ext <<_LT_EOF 11036 #line $LINENO "configure" 11037 #include "confdefs.h" 11038 11039 #if HAVE_DLFCN_H 11040 #include <dlfcn.h> 11041 #endif 11042 11043 #include <stdio.h> 11044 11045 #ifdef RTLD_GLOBAL 11046 # define LT_DLGLOBAL RTLD_GLOBAL 11047 #else 11048 # ifdef DL_GLOBAL 11049 # define LT_DLGLOBAL DL_GLOBAL 11050 # else 11051 # define LT_DLGLOBAL 0 11052 # endif 11053 #endif 11054 11055 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11056 find out it does not work in some platform. */ 11057 #ifndef LT_DLLAZY_OR_NOW 11058 # ifdef RTLD_LAZY 11059 # define LT_DLLAZY_OR_NOW RTLD_LAZY 11060 # else 11061 # ifdef DL_LAZY 11062 # define LT_DLLAZY_OR_NOW DL_LAZY 11063 # else 11064 # ifdef RTLD_NOW 11065 # define LT_DLLAZY_OR_NOW RTLD_NOW 11066 # else 11067 # ifdef DL_NOW 11068 # define LT_DLLAZY_OR_NOW DL_NOW 11069 # else 11070 # define LT_DLLAZY_OR_NOW 0 11071 # endif 11072 # endif 11073 # endif 11074 # endif 11075 #endif 11076 11077 /* When -fvisbility=hidden is used, assume the code has been annotated 11078 correspondingly for the symbols needed. */ 11079 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11080 int fnord () __attribute__((visibility("default"))); 11081 #endif 11082 11083 int fnord () { return 42; } 11084 int main () 11085 { 11086 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11087 int status = $lt_dlunknown; 11088 11089 if (self) 11090 { 11091 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11092 else 11093 { 11094 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11095 else puts (dlerror ()); 11096 } 11097 /* dlclose (self); */ 11098 } 11099 else 11100 puts (dlerror ()); 11101 11102 return status; 11103 } 11104 _LT_EOF 11105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11106 (eval $ac_link) 2>&5 11107 ac_status=$? 11108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11109 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11110 (./conftest; exit; ) >&5 2>/dev/null 11111 lt_status=$? 11112 case x$lt_status in 11113 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11114 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11115 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11116 esac 11117 else : 11118 # compilation failed 11119 lt_cv_dlopen_self=no 11120 fi 11121 fi 11122 rm -fr conftest* 11123 11124 11125 fi 11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11127 $as_echo "$lt_cv_dlopen_self" >&6; } 11128 11129 if test "x$lt_cv_dlopen_self" = xyes; then 11130 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11132 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11133 if ${lt_cv_dlopen_self_static+:} false; then : 11134 $as_echo_n "(cached) " >&6 11135 else 11136 if test "$cross_compiling" = yes; then : 11137 lt_cv_dlopen_self_static=cross 11138 else 11139 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11140 lt_status=$lt_dlunknown 11141 cat > conftest.$ac_ext <<_LT_EOF 11142 #line $LINENO "configure" 11143 #include "confdefs.h" 11144 11145 #if HAVE_DLFCN_H 11146 #include <dlfcn.h> 11147 #endif 11148 11149 #include <stdio.h> 11150 11151 #ifdef RTLD_GLOBAL 11152 # define LT_DLGLOBAL RTLD_GLOBAL 11153 #else 11154 # ifdef DL_GLOBAL 11155 # define LT_DLGLOBAL DL_GLOBAL 11156 # else 11157 # define LT_DLGLOBAL 0 11158 # endif 11159 #endif 11160 11161 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11162 find out it does not work in some platform. */ 11163 #ifndef LT_DLLAZY_OR_NOW 11164 # ifdef RTLD_LAZY 11165 # define LT_DLLAZY_OR_NOW RTLD_LAZY 11166 # else 11167 # ifdef DL_LAZY 11168 # define LT_DLLAZY_OR_NOW DL_LAZY 11169 # else 11170 # ifdef RTLD_NOW 11171 # define LT_DLLAZY_OR_NOW RTLD_NOW 11172 # else 11173 # ifdef DL_NOW 11174 # define LT_DLLAZY_OR_NOW DL_NOW 11175 # else 11176 # define LT_DLLAZY_OR_NOW 0 11177 # endif 11178 # endif 11179 # endif 11180 # endif 11181 #endif 11182 11183 /* When -fvisbility=hidden is used, assume the code has been annotated 11184 correspondingly for the symbols needed. */ 11185 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11186 int fnord () __attribute__((visibility("default"))); 11187 #endif 11188 11189 int fnord () { return 42; } 11190 int main () 11191 { 11192 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11193 int status = $lt_dlunknown; 11194 11195 if (self) 11196 { 11197 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11198 else 11199 { 11200 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11201 else puts (dlerror ()); 11202 } 11203 /* dlclose (self); */ 11204 } 11205 else 11206 puts (dlerror ()); 11207 11208 return status; 11209 } 11210 _LT_EOF 11211 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11212 (eval $ac_link) 2>&5 11213 ac_status=$? 11214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11215 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11216 (./conftest; exit; ) >&5 2>/dev/null 11217 lt_status=$? 11218 case x$lt_status in 11219 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11220 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11221 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11222 esac 11223 else : 11224 # compilation failed 11225 lt_cv_dlopen_self_static=no 11226 fi 11227 fi 11228 rm -fr conftest* 11229 11230 11231 fi 11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11233 $as_echo "$lt_cv_dlopen_self_static" >&6; } 11234 fi 11235 11236 CPPFLAGS="$save_CPPFLAGS" 11237 LDFLAGS="$save_LDFLAGS" 11238 LIBS="$save_LIBS" 11239 ;; 11240 esac 11241 11242 case $lt_cv_dlopen_self in 11243 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11244 *) enable_dlopen_self=unknown ;; 11245 esac 11246 11247 case $lt_cv_dlopen_self_static in 11248 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11249 *) enable_dlopen_self_static=unknown ;; 11250 esac 11251 fi 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 striplib= 11270 old_striplib= 11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11272 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 11273 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11274 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11275 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11277 $as_echo "yes" >&6; } 11278 else 11279 # FIXME - insert some real tests, host_os isn't really good enough 11280 case $host_os in 11281 darwin*) 11282 if test -n "$STRIP" ; then 11283 striplib="$STRIP -x" 11284 old_striplib="$STRIP -S" 11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11286 $as_echo "yes" >&6; } 11287 else 11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11289 $as_echo "no" >&6; } 11290 fi 11291 ;; 11292 *) 11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11294 $as_echo "no" >&6; } 11295 ;; 11296 esac 11297 fi 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 # Report which library types will actually be built 11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11312 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11314 $as_echo "$can_build_shared" >&6; } 11315 11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11317 $as_echo_n "checking whether to build shared libraries... " >&6; } 11318 test "$can_build_shared" = "no" && enable_shared=no 11319 11320 # On AIX, shared libraries and static libraries use the same namespace, and 11321 # are all built from PIC. 11322 case $host_os in 11323 aix3*) 11324 test "$enable_shared" = yes && enable_static=no 11325 if test -n "$RANLIB"; then 11326 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11327 postinstall_cmds='$RANLIB $lib' 11328 fi 11329 ;; 11330 11331 aix[4-9]*) 11332 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11333 test "$enable_shared" = yes && enable_static=no 11334 fi 11335 ;; 11336 esac 11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11338 $as_echo "$enable_shared" >&6; } 11339 11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11341 $as_echo_n "checking whether to build static libraries... " >&6; } 11342 # Make sure either enable_shared or enable_static is yes. 11343 test "$enable_shared" = yes || enable_static=yes 11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11345 $as_echo "$enable_static" >&6; } 11346 11347 11348 11349 11350 fi 11351 ac_ext=c 11352 ac_cpp='$CPP $CPPFLAGS' 11353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11355 ac_compiler_gnu=$ac_cv_c_compiler_gnu 11356 11357 CC="$lt_save_CC" 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 ac_config_commands="$ac_config_commands libtool" 11374 11375 11376 11377 11378 # Only expand once: 11379 11380 11381 11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 11383 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 11384 # Check whether --enable-maintainer-mode was given. 11385 if test "${enable_maintainer_mode+set}" = set; then : 11386 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 11387 else 11388 USE_MAINTAINER_MODE=no 11389 fi 11390 11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 11392 $as_echo "$USE_MAINTAINER_MODE" >&6; } 11393 if test $USE_MAINTAINER_MODE = yes; then 11394 MAINTAINER_MODE_TRUE= 11395 MAINTAINER_MODE_FALSE='#' 11396 else 11397 MAINTAINER_MODE_TRUE='#' 11398 MAINTAINER_MODE_FALSE= 11399 fi 11400 11401 MAINT=$MAINTAINER_MODE_TRUE 11402 11403 # work around rebuild rules 11404 11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 11406 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 11407 if ${ac_cv_prog_cc_c99+:} false; then : 11408 $as_echo_n "(cached) " >&6 11409 else 11410 ac_cv_prog_cc_c99=no 11411 ac_save_CC=$CC 11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11413 /* end confdefs.h. */ 11414 #include <stdarg.h> 11415 #include <stdbool.h> 11416 #include <stdlib.h> 11417 #include <wchar.h> 11418 #include <stdio.h> 11419 11420 // Check varargs macros. These examples are taken from C99 6.10.3.5. 11421 #define debug(...) fprintf (stderr, __VA_ARGS__) 11422 #define showlist(...) puts (#__VA_ARGS__) 11423 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 11424 static void 11425 test_varargs_macros (void) 11426 { 11427 int x = 1234; 11428 int y = 5678; 11429 debug ("Flag"); 11430 debug ("X = %d\n", x); 11431 showlist (The first, second, and third items.); 11432 report (x>y, "x is %d but y is %d", x, y); 11433 } 11434 11435 // Check long long types. 11436 #define BIG64 18446744073709551615ull 11437 #define BIG32 4294967295ul 11438 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 11439 #if !BIG_OK 11440 your preprocessor is broken; 11441 #endif 11442 #if BIG_OK 11443 #else 11444 your preprocessor is broken; 11445 #endif 11446 static long long int bignum = -9223372036854775807LL; 11447 static unsigned long long int ubignum = BIG64; 11448 11449 struct incomplete_array 11450 { 11451 int datasize; 11452 double data[]; 11453 }; 11454 11455 struct named_init { 11456 int number; 11457 const wchar_t *name; 11458 double average; 11459 }; 11460 11461 typedef const char *ccp; 11462 11463 static inline int 11464 test_restrict (ccp restrict text) 11465 { 11466 // See if C++-style comments work. 11467 // Iterate through items via the restricted pointer. 11468 // Also check for declarations in for loops. 11469 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 11470 continue; 11471 return 0; 11472 } 11473 11474 // Check varargs and va_copy. 11475 static void 11476 test_varargs (const char *format, ...) 11477 { 11478 va_list args; 11479 va_start (args, format); 11480 va_list args_copy; 11481 va_copy (args_copy, args); 11482 11483 const char *str; 11484 int number; 11485 float fnumber; 11486 11487 while (*format) 11488 { 11489 switch (*format++) 11490 { 11491 case 's': // string 11492 str = va_arg (args_copy, const char *); 11493 break; 11494 case 'd': // int 11495 number = va_arg (args_copy, int); 11496 break; 11497 case 'f': // float 11498 fnumber = va_arg (args_copy, double); 11499 break; 11500 default: 11501 break; 11502 } 11503 } 11504 va_end (args_copy); 11505 va_end (args); 11506 } 11507 11508 int 11509 main () 11510 { 11511 11512 // Check bool. 11513 _Bool success = false; 11514 11515 // Check restrict. 11516 if (test_restrict ("String literal") == 0) 11517 success = true; 11518 char *restrict newvar = "Another string"; 11519 11520 // Check varargs. 11521 test_varargs ("s, d' f .", "string", 65, 34.234); 11522 test_varargs_macros (); 11523 11524 // Check flexible array members. 11525 struct incomplete_array *ia = 11526 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 11527 ia->datasize = 10; 11528 for (int i = 0; i < ia->datasize; ++i) 11529 ia->data[i] = i * 1.234; 11530 11531 // Check named initializers. 11532 struct named_init ni = { 11533 .number = 34, 11534 .name = L"Test wide string", 11535 .average = 543.34343, 11536 }; 11537 11538 ni.number = 58; 11539 11540 int dynamic_array[ni.number]; 11541 dynamic_array[ni.number - 1] = 543; 11542 11543 // work around unused variable warnings 11544 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 11545 || dynamic_array[ni.number - 1] != 543); 11546 11547 ; 11548 return 0; 11549 } 11550 _ACEOF 11551 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 11552 do 11553 CC="$ac_save_CC $ac_arg" 11554 if ac_fn_c_try_compile "$LINENO"; then : 11555 ac_cv_prog_cc_c99=$ac_arg 11556 fi 11557 rm -f core conftest.err conftest.$ac_objext 11558 test "x$ac_cv_prog_cc_c99" != "xno" && break 11559 done 11560 rm -f conftest.$ac_ext 11561 CC=$ac_save_CC 11562 11563 fi 11564 # AC_CACHE_VAL 11565 case "x$ac_cv_prog_cc_c99" in 11566 x) 11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 11568 $as_echo "none needed" >&6; } ;; 11569 xno) 11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 11571 $as_echo "unsupported" >&6; } ;; 11572 *) 11573 CC="$CC $ac_cv_prog_cc_c99" 11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 11575 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 11576 esac 11577 if test "x$ac_cv_prog_cc_c99" != xno; then : 11578 11579 fi 11580 11581 11582 AM_CFLAGS="-O3 -g -pedantic -Wall -Werror" 11583 11584 ac_config_headers="$ac_config_headers config.h" 11585 # to avoid endless -D options 11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 11587 $as_echo_n "checking for ANSI C header files... " >&6; } 11588 if ${ac_cv_header_stdc+:} false; then : 11589 $as_echo_n "(cached) " >&6 11590 else 11591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11592 /* end confdefs.h. */ 11593 #include <stdlib.h> 11594 #include <stdarg.h> 11595 #include <string.h> 11596 #include <float.h> 11597 11598 int 11599 main () 11600 { 11601 11602 ; 11603 return 0; 11604 } 11605 _ACEOF 11606 if ac_fn_c_try_compile "$LINENO"; then : 11607 ac_cv_header_stdc=yes 11608 else 11609 ac_cv_header_stdc=no 11610 fi 11611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11612 11613 if test $ac_cv_header_stdc = yes; then 11614 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11616 /* end confdefs.h. */ 11617 #include <string.h> 11618 11619 _ACEOF 11620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11621 $EGREP "memchr" >/dev/null 2>&1; then : 11622 11623 else 11624 ac_cv_header_stdc=no 11625 fi 11626 rm -f conftest* 11627 11628 fi 11629 11630 if test $ac_cv_header_stdc = yes; then 11631 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11633 /* end confdefs.h. */ 11634 #include <stdlib.h> 11635 11636 _ACEOF 11637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11638 $EGREP "free" >/dev/null 2>&1; then : 11639 11640 else 11641 ac_cv_header_stdc=no 11642 fi 11643 rm -f conftest* 11644 11645 fi 11646 11647 if test $ac_cv_header_stdc = yes; then 11648 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 11649 if test "$cross_compiling" = yes; then : 11650 : 11651 else 11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11653 /* end confdefs.h. */ 11654 #include <ctype.h> 11655 #include <stdlib.h> 11656 #if ((' ' & 0x0FF) == 0x020) 11657 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 11658 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 11659 #else 11660 # define ISLOWER(c) \ 11661 (('a' <= (c) && (c) <= 'i') \ 11662 || ('j' <= (c) && (c) <= 'r') \ 11663 || ('s' <= (c) && (c) <= 'z')) 11664 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 11665 #endif 11666 11667 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 11668 int 11669 main () 11670 { 11671 int i; 11672 for (i = 0; i < 256; i++) 11673 if (XOR (islower (i), ISLOWER (i)) 11674 || toupper (i) != TOUPPER (i)) 11675 return 2; 11676 return 0; 11677 } 11678 _ACEOF 11679 if ac_fn_c_try_run "$LINENO"; then : 11680 11681 else 11682 ac_cv_header_stdc=no 11683 fi 11684 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11685 conftest.$ac_objext conftest.beam conftest.$ac_ext 11686 fi 11687 11688 fi 11689 fi 11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 11691 $as_echo "$ac_cv_header_stdc" >&6; } 11692 if test $ac_cv_header_stdc = yes; then 11693 11694 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 11695 11696 fi 11697 11698 11699 # consistency check: is source code present? 11700 11701 11702 # make these Makefiles 11703 ac_config_files="$ac_config_files Makefile lib/Makefile test/Makefile man/Makefile demo/Makefile lmfit.pc" 11704 11705 cat >confcache <<\_ACEOF 11706 # This file is a shell script that caches the results of configure 11707 # tests run on this system so they can be shared between configure 11708 # scripts and configure runs, see configure's option --config-cache. 11709 # It is not useful on other systems. If it contains results you don't 11710 # want to keep, you may remove or edit it. 11711 # 11712 # config.status only pays attention to the cache file if you give it 11713 # the --recheck option to rerun configure. 11714 # 11715 # `ac_cv_env_foo' variables (set or unset) will be overridden when 11716 # loading this file, other *unset* `ac_cv_foo' will be assigned the 11717 # following values. 11718 11719 _ACEOF 11720 11721 # The following way of writing the cache mishandles newlines in values, 11722 # but we know of no workaround that is simple, portable, and efficient. 11723 # So, we kill variables containing newlines. 11724 # Ultrix sh set writes to stderr and can't be redirected directly, 11725 # and sets the high bit in the cache file unless we assign to the vars. 11726 ( 11727 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11728 eval ac_val=\$$ac_var 11729 case $ac_val in #( 11730 *${as_nl}*) 11731 case $ac_var in #( 11732 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11733 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11734 esac 11735 case $ac_var in #( 11736 _ | IFS | as_nl) ;; #( 11737 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11738 *) { eval $ac_var=; unset $ac_var;} ;; 11739 esac ;; 11740 esac 11741 done 11742 11743 (set) 2>&1 | 11744 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11745 *${as_nl}ac_space=\ *) 11746 # `set' does not quote correctly, so add quotes: double-quote 11747 # substitution turns \\\\ into \\, and sed turns \\ into \. 11748 sed -n \ 11749 "s/'/'\\\\''/g; 11750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11751 ;; #( 11752 *) 11753 # `set' quotes correctly as required by POSIX, so do not add quotes. 11754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11755 ;; 11756 esac | 11757 sort 11758 ) | 11759 sed ' 11760 /^ac_cv_env_/b end 11761 t clear 11762 :clear 11763 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11764 t end 11765 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11766 :end' >>confcache 11767 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11768 if test -w "$cache_file"; then 11769 if test "x$cache_file" != "x/dev/null"; then 11770 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11771 $as_echo "$as_me: updating cache $cache_file" >&6;} 11772 if test ! -f "$cache_file" || test -h "$cache_file"; then 11773 cat confcache >"$cache_file" 11774 else 11775 case $cache_file in #( 11776 */* | ?:*) 11777 mv -f confcache "$cache_file"$$ && 11778 mv -f "$cache_file"$$ "$cache_file" ;; #( 11779 *) 11780 mv -f confcache "$cache_file" ;; 11781 esac 11782 fi 11783 fi 11784 else 11785 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11786 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11787 fi 11788 fi 11789 rm -f confcache 11790 11791 test "x$prefix" = xNONE && prefix=$ac_default_prefix 11792 # Let make expand exec_prefix. 11793 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11794 11795 DEFS=-DHAVE_CONFIG_H 11796 11797 ac_libobjs= 11798 ac_ltlibobjs= 11799 U= 11800 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11801 # 1. Remove the extension, and $U if already installed. 11802 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11803 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11804 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11805 # will be set to the directory where LIBOBJS objects are built. 11806 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11807 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 11808 done 11809 LIBOBJS=$ac_libobjs 11810 11811 LTLIBOBJS=$ac_ltlibobjs 11812 11813 11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 11815 $as_echo_n "checking that generated files are newer than configure... " >&6; } 11816 if test -n "$am_sleep_pid"; then 11817 # Hide warnings about reused PIDs. 11818 wait $am_sleep_pid 2>/dev/null 11819 fi 11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 11821 $as_echo "done" >&6; } 11822 if test -n "$EXEEXT"; then 11823 am__EXEEXT_TRUE= 11824 am__EXEEXT_FALSE='#' 11825 else 11826 am__EXEEXT_TRUE='#' 11827 am__EXEEXT_FALSE= 11828 fi 11829 11830 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11831 as_fn_error $? "conditional \"AMDEP\" was never defined. 11832 Usually this means the macro was only invoked conditionally." "$LINENO" 5 11833 fi 11834 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11835 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 11836 Usually this means the macro was only invoked conditionally." "$LINENO" 5 11837 fi 11838 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 11839 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 11840 Usually this means the macro was only invoked conditionally." "$LINENO" 5 11841 fi 11842 11843 : "${CONFIG_STATUS=./config.status}" 11844 ac_write_fail=0 11845 ac_clean_files_save=$ac_clean_files 11846 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11848 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11849 as_write_fail=0 11850 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 11851 #! $SHELL 11852 # Generated by $as_me. 11853 # Run this file to recreate the current configuration. 11854 # Compiler output produced by configure, useful for debugging 11855 # configure, is in config.log if it exists. 11856 11857 debug=false 11858 ac_cs_recheck=false 11859 ac_cs_silent=false 11860 11861 SHELL=\${CONFIG_SHELL-$SHELL} 11862 export SHELL 11863 _ASEOF 11864 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 11865 ## -------------------- ## 11866 ## M4sh Initialization. ## 11867 ## -------------------- ## 11868 11869 # Be more Bourne compatible 11870 DUALCASE=1; export DUALCASE # for MKS sh 11871 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11872 emulate sh 11873 NULLCMD=: 11874 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 11875 # is contrary to our usage. Disable this feature. 11876 alias -g '${1+"$@"}'='"$@"' 11877 setopt NO_GLOB_SUBST 11878 else 11879 case `(set -o) 2>/dev/null` in #( 11880 *posix*) : 11881 set -o posix ;; #( 11882 *) : 11883 ;; 11884 esac 11885 fi 11886 11887 11888 as_nl=' 11889 ' 11890 export as_nl 11891 # Printing a long string crashes Solaris 7 /usr/bin/printf. 11892 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 11893 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 11894 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 11895 # Prefer a ksh shell builtin over an external printf program on Solaris, 11896 # but without wasting forks for bash or zsh. 11897 if test -z "$BASH_VERSION$ZSH_VERSION" \ 11898 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 11899 as_echo='print -r --' 11900 as_echo_n='print -rn --' 11901 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 11902 as_echo='printf %s\n' 11903 as_echo_n='printf %s' 11904 else 11905 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 11906 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 11907 as_echo_n='/usr/ucb/echo -n' 11908 else 11909 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 11910 as_echo_n_body='eval 11911 arg=$1; 11912 case $arg in #( 11913 *"$as_nl"*) 11914 expr "X$arg" : "X\\(.*\\)$as_nl"; 11915 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 11916 esac; 11917 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 11918 ' 11919 export as_echo_n_body 11920 as_echo_n='sh -c $as_echo_n_body as_echo' 11921 fi 11922 export as_echo_body 11923 as_echo='sh -c $as_echo_body as_echo' 11924 fi 11925 11926 # The user is always right. 11927 if test "${PATH_SEPARATOR+set}" != set; then 11928 PATH_SEPARATOR=: 11929 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 11930 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 11931 PATH_SEPARATOR=';' 11932 } 11933 fi 11934 11935 11936 # IFS 11937 # We need space, tab and new line, in precisely that order. Quoting is 11938 # there to prevent editors from complaining about space-tab. 11939 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 11940 # splitting by setting IFS to empty value.) 11941 IFS=" "" $as_nl" 11942 11943 # Find who we are. Look in the path if we contain no directory separator. 11944 as_myself= 11945 case $0 in #(( 11946 *[\\/]* ) as_myself=$0 ;; 11947 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11948 for as_dir in $PATH 11949 do 11950 IFS=$as_save_IFS 11951 test -z "$as_dir" && as_dir=. 11952 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11953 done 11954 IFS=$as_save_IFS 11955 11956 ;; 11957 esac 11958 # We did not find ourselves, most probably we were run as `sh COMMAND' 11959 # in which case we are not to be found in the path. 11960 if test "x$as_myself" = x; then 11961 as_myself=$0 11962 fi 11963 if test ! -f "$as_myself"; then 11964 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11965 exit 1 11966 fi 11967 11968 # Unset variables that we do not need and which cause bugs (e.g. in 11969 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 11970 # suppresses any "Segmentation fault" message there. '((' could 11971 # trigger a bug in pdksh 5.2.14. 11972 for as_var in BASH_ENV ENV MAIL MAILPATH 11973 do eval test x\${$as_var+set} = xset \ 11974 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11975 done 11976 PS1='$ ' 11977 PS2='> ' 11978 PS4='+ ' 11979 11980 # NLS nuisances. 11981 LC_ALL=C 11982 export LC_ALL 11983 LANGUAGE=C 11984 export LANGUAGE 11985 11986 # CDPATH. 11987 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11988 11989 11990 # as_fn_error STATUS ERROR [LINENO LOG_FD] 11991 # ---------------------------------------- 11992 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11993 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 11994 # script with STATUS, using 1 if that was 0. 11995 as_fn_error () 11996 { 11997 as_status=$1; test $as_status -eq 0 && as_status=1 11998 if test "$4"; then 11999 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12000 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12001 fi 12002 $as_echo "$as_me: error: $2" >&2 12003 as_fn_exit $as_status 12004 } # as_fn_error 12005 12006 12007 # as_fn_set_status STATUS 12008 # ----------------------- 12009 # Set $? to STATUS, without forking. 12010 as_fn_set_status () 12011 { 12012 return $1 12013 } # as_fn_set_status 12014 12015 # as_fn_exit STATUS 12016 # ----------------- 12017 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12018 as_fn_exit () 12019 { 12020 set +e 12021 as_fn_set_status $1 12022 exit $1 12023 } # as_fn_exit 12024 12025 # as_fn_unset VAR 12026 # --------------- 12027 # Portably unset VAR. 12028 as_fn_unset () 12029 { 12030 { eval $1=; unset $1;} 12031 } 12032 as_unset=as_fn_unset 12033 # as_fn_append VAR VALUE 12034 # ---------------------- 12035 # Append the text in VALUE to the end of the definition contained in VAR. Take 12036 # advantage of any shell optimizations that allow amortized linear growth over 12037 # repeated appends, instead of the typical quadratic growth present in naive 12038 # implementations. 12039 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12040 eval 'as_fn_append () 12041 { 12042 eval $1+=\$2 12043 }' 12044 else 12045 as_fn_append () 12046 { 12047 eval $1=\$$1\$2 12048 } 12049 fi # as_fn_append 12050 12051 # as_fn_arith ARG... 12052 # ------------------ 12053 # Perform arithmetic evaluation on the ARGs, and store the result in the 12054 # global $as_val. Take advantage of shells that can avoid forks. The arguments 12055 # must be portable across $(()) and expr. 12056 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12057 eval 'as_fn_arith () 12058 { 12059 as_val=$(( $* )) 12060 }' 12061 else 12062 as_fn_arith () 12063 { 12064 as_val=`expr "$@" || test $? -eq 1` 12065 } 12066 fi # as_fn_arith 12067 12068 12069 if expr a : '\(a\)' >/dev/null 2>&1 && 12070 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12071 as_expr=expr 12072 else 12073 as_expr=false 12074 fi 12075 12076 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12077 as_basename=basename 12078 else 12079 as_basename=false 12080 fi 12081 12082 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12083 as_dirname=dirname 12084 else 12085 as_dirname=false 12086 fi 12087 12088 as_me=`$as_basename -- "$0" || 12089 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12090 X"$0" : 'X\(//\)$' \| \ 12091 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12092 $as_echo X/"$0" | 12093 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12094 s//\1/ 12095 q 12096 } 12097 /^X\/\(\/\/\)$/{ 12098 s//\1/ 12099 q 12100 } 12101 /^X\/\(\/\).*/{ 12102 s//\1/ 12103 q 12104 } 12105 s/.*/./; q'` 12106 12107 # Avoid depending upon Character Ranges. 12108 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12109 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12110 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12111 as_cr_digits='0123456789' 12112 as_cr_alnum=$as_cr_Letters$as_cr_digits 12113 12114 ECHO_C= ECHO_N= ECHO_T= 12115 case `echo -n x` in #((((( 12116 -n*) 12117 case `echo 'xy\c'` in 12118 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12119 xy) ECHO_C='\c';; 12120 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12121 ECHO_T=' ';; 12122 esac;; 12123 *) 12124 ECHO_N='-n';; 12125 esac 12126 12127 rm -f conf$$ conf$$.exe conf$$.file 12128 if test -d conf$$.dir; then 12129 rm -f conf$$.dir/conf$$.file 12130 else 12131 rm -f conf$$.dir 12132 mkdir conf$$.dir 2>/dev/null 12133 fi 12134 if (echo >conf$$.file) 2>/dev/null; then 12135 if ln -s conf$$.file conf$$ 2>/dev/null; then 12136 as_ln_s='ln -s' 12137 # ... but there are two gotchas: 12138 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12139 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12140 # In both cases, we have to default to `cp -pR'. 12141 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12142 as_ln_s='cp -pR' 12143 elif ln conf$$.file conf$$ 2>/dev/null; then 12144 as_ln_s=ln 12145 else 12146 as_ln_s='cp -pR' 12147 fi 12148 else 12149 as_ln_s='cp -pR' 12150 fi 12151 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12152 rmdir conf$$.dir 2>/dev/null 12153 12154 12155 # as_fn_mkdir_p 12156 # ------------- 12157 # Create "$as_dir" as a directory, including parents if necessary. 12158 as_fn_mkdir_p () 12159 { 12160 12161 case $as_dir in #( 12162 -*) as_dir=./$as_dir;; 12163 esac 12164 test -d "$as_dir" || eval $as_mkdir_p || { 12165 as_dirs= 12166 while :; do 12167 case $as_dir in #( 12168 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12169 *) as_qdir=$as_dir;; 12170 esac 12171 as_dirs="'$as_qdir' $as_dirs" 12172 as_dir=`$as_dirname -- "$as_dir" || 12173 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12174 X"$as_dir" : 'X\(//\)[^/]' \| \ 12175 X"$as_dir" : 'X\(//\)$' \| \ 12176 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12177 $as_echo X"$as_dir" | 12178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12179 s//\1/ 12180 q 12181 } 12182 /^X\(\/\/\)[^/].*/{ 12183 s//\1/ 12184 q 12185 } 12186 /^X\(\/\/\)$/{ 12187 s//\1/ 12188 q 12189 } 12190 /^X\(\/\).*/{ 12191 s//\1/ 12192 q 12193 } 12194 s/.*/./; q'` 12195 test -d "$as_dir" && break 12196 done 12197 test -z "$as_dirs" || eval "mkdir $as_dirs" 12198 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12199 12200 12201 } # as_fn_mkdir_p 12202 if mkdir -p . 2>/dev/null; then 12203 as_mkdir_p='mkdir -p "$as_dir"' 12204 else 12205 test -d ./-p && rmdir ./-p 12206 as_mkdir_p=false 12207 fi 12208 12209 12210 # as_fn_executable_p FILE 12211 # ----------------------- 12212 # Test if FILE is an executable regular file. 12213 as_fn_executable_p () 12214 { 12215 test -f "$1" && test -x "$1" 12216 } # as_fn_executable_p 12217 as_test_x='test -x' 12218 as_executable_p=as_fn_executable_p 12219 12220 # Sed expression to map a string onto a valid CPP name. 12221 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12222 12223 # Sed expression to map a string onto a valid variable name. 12224 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12225 12226 12227 exec 6>&1 12228 ## ----------------------------------- ## 12229 ## Main body of $CONFIG_STATUS script. ## 12230 ## ----------------------------------- ## 12231 _ASEOF 12232 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12233 12234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12235 # Save the log message, to keep $0 and so on meaningful, and to 12236 # report actual input values of CONFIG_FILES etc. instead of their 12237 # values after options handling. 12238 ac_log=" 12239 This file was extended by lmfit $as_me 6:1, which was 12240 generated by GNU Autoconf 2.69. Invocation command line was 12241 12242 CONFIG_FILES = $CONFIG_FILES 12243 CONFIG_HEADERS = $CONFIG_HEADERS 12244 CONFIG_LINKS = $CONFIG_LINKS 12245 CONFIG_COMMANDS = $CONFIG_COMMANDS 12246 $ $0 $@ 12247 12248 on `(hostname || uname -n) 2>/dev/null | sed 1q` 12249 " 12250 12251 _ACEOF 12252 12253 case $ac_config_files in *" 12254 "*) set x $ac_config_files; shift; ac_config_files=$*;; 12255 esac 12256 12257 case $ac_config_headers in *" 12258 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 12259 esac 12260 12261 12262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12263 # Files that config.status was made for. 12264 config_files="$ac_config_files" 12265 config_headers="$ac_config_headers" 12266 config_commands="$ac_config_commands" 12267 12268 _ACEOF 12269 12270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12271 ac_cs_usage="\ 12272 \`$as_me' instantiates files and other configuration actions 12273 from templates according to the current configuration. Unless the files 12274 and actions are specified as TAGs, all are instantiated by default. 12275 12276 Usage: $0 [OPTION]... [TAG]... 12277 12278 -h, --help print this help, then exit 12279 -V, --version print version number and configuration settings, then exit 12280 --config print configuration, then exit 12281 -q, --quiet, --silent 12282 do not print progress messages 12283 -d, --debug don't remove temporary files 12284 --recheck update $as_me by reconfiguring in the same conditions 12285 --file=FILE[:TEMPLATE] 12286 instantiate the configuration file FILE 12287 --header=FILE[:TEMPLATE] 12288 instantiate the configuration header FILE 12289 12290 Configuration files: 12291 $config_files 12292 12293 Configuration headers: 12294 $config_headers 12295 12296 Configuration commands: 12297 $config_commands 12298 12299 Report bugs to <http://apps.jcns.fz-juelich.de/lmfit>." 12300 12301 _ACEOF 12302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12303 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12304 ac_cs_version="\\ 12305 lmfit config.status 6:1 12306 configured by $0, generated by GNU Autoconf 2.69, 12307 with options \\"\$ac_cs_config\\" 12308 12309 Copyright (C) 2012 Free Software Foundation, Inc. 12310 This config.status script is free software; the Free Software Foundation 12311 gives unlimited permission to copy, distribute and modify it." 12312 12313 ac_pwd='$ac_pwd' 12314 srcdir='$srcdir' 12315 INSTALL='$INSTALL' 12316 MKDIR_P='$MKDIR_P' 12317 AWK='$AWK' 12318 test -n "\$AWK" || AWK=awk 12319 _ACEOF 12320 12321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12322 # The default lists apply if the user does not specify any file. 12323 ac_need_defaults=: 12324 while test $# != 0 12325 do 12326 case $1 in 12327 --*=?*) 12328 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12329 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12330 ac_shift=: 12331 ;; 12332 --*=) 12333 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12334 ac_optarg= 12335 ac_shift=: 12336 ;; 12337 *) 12338 ac_option=$1 12339 ac_optarg=$2 12340 ac_shift=shift 12341 ;; 12342 esac 12343 12344 case $ac_option in 12345 # Handling of the options. 12346 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12347 ac_cs_recheck=: ;; 12348 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12349 $as_echo "$ac_cs_version"; exit ;; 12350 --config | --confi | --conf | --con | --co | --c ) 12351 $as_echo "$ac_cs_config"; exit ;; 12352 --debug | --debu | --deb | --de | --d | -d ) 12353 debug=: ;; 12354 --file | --fil | --fi | --f ) 12355 $ac_shift 12356 case $ac_optarg in 12357 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12358 '') as_fn_error $? "missing file argument" ;; 12359 esac 12360 as_fn_append CONFIG_FILES " '$ac_optarg'" 12361 ac_need_defaults=false;; 12362 --header | --heade | --head | --hea ) 12363 $ac_shift 12364 case $ac_optarg in 12365 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12366 esac 12367 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 12368 ac_need_defaults=false;; 12369 --he | --h) 12370 # Conflict between --help and --header 12371 as_fn_error $? "ambiguous option: \`$1' 12372 Try \`$0 --help' for more information.";; 12373 --help | --hel | -h ) 12374 $as_echo "$ac_cs_usage"; exit ;; 12375 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12376 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12377 ac_cs_silent=: ;; 12378 12379 # This is an error. 12380 -*) as_fn_error $? "unrecognized option: \`$1' 12381 Try \`$0 --help' for more information." ;; 12382 12383 *) as_fn_append ac_config_targets " $1" 12384 ac_need_defaults=false ;; 12385 12386 esac 12387 shift 12388 done 12389 12390 ac_configure_extra_args= 12391 12392 if $ac_cs_silent; then 12393 exec 6>/dev/null 12394 ac_configure_extra_args="$ac_configure_extra_args --silent" 12395 fi 12396 12397 _ACEOF 12398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12399 if \$ac_cs_recheck; then 12400 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12401 shift 12402 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12403 CONFIG_SHELL='$SHELL' 12404 export CONFIG_SHELL 12405 exec "\$@" 12406 fi 12407 12408 _ACEOF 12409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12410 exec 5>>config.log 12411 { 12412 echo 12413 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12414 ## Running $as_me. ## 12415 _ASBOX 12416 $as_echo "$ac_log" 12417 } >&5 12418 12419 _ACEOF 12420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12421 # 12422 # INIT-COMMANDS 12423 # 12424 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12425 12426 12427 # The HP-UX ksh and POSIX shell print the target directory to stdout 12428 # if CDPATH is set. 12429 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12430 12431 sed_quote_subst='$sed_quote_subst' 12432 double_quote_subst='$double_quote_subst' 12433 delay_variable_subst='$delay_variable_subst' 12434 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 12435 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 12436 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 12437 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 12438 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 12439 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 12440 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 12441 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 12442 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 12443 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 12444 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 12445 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 12446 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 12447 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 12448 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 12449 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 12450 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 12451 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 12452 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 12453 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 12454 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 12455 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 12456 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 12457 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 12458 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 12459 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 12460 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12461 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12462 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12463 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 12464 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 12465 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 12466 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 12467 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 12468 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 12469 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 12470 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 12471 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 12472 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 12473 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 12474 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 12475 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 12476 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 12477 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12478 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12479 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12480 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12481 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 12482 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 12483 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 12484 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 12485 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 12486 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 12487 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 12488 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12489 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12490 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 12491 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 12492 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 12493 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 12494 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 12495 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 12496 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 12497 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 12498 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 12499 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 12500 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 12501 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 12502 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12503 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12504 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12505 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 12506 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 12507 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 12508 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 12509 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12510 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 12511 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 12512 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 12513 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 12514 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 12515 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 12516 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12517 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 12518 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12519 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 12520 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12521 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 12522 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 12523 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 12524 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 12525 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 12526 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 12527 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 12528 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 12529 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 12530 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12531 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12532 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12533 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 12534 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 12535 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 12536 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 12537 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 12538 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 12539 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12540 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12541 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12542 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 12543 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 12544 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 12545 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 12546 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 12547 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 12548 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 12549 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 12550 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 12551 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12552 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12553 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 12554 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 12555 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 12556 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 12557 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 12558 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 12559 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 12560 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 12561 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 12562 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 12563 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 12564 12565 LTCC='$LTCC' 12566 LTCFLAGS='$LTCFLAGS' 12567 compiler='$compiler_DEFAULT' 12568 12569 # A function that is used when there is no print builtin or printf. 12570 func_fallback_echo () 12571 { 12572 eval 'cat <<_LTECHO_EOF 12573 \$1 12574 _LTECHO_EOF' 12575 } 12576 12577 # Quote evaled strings. 12578 for var in SHELL \ 12579 ECHO \ 12580 PATH_SEPARATOR \ 12581 SED \ 12582 GREP \ 12583 EGREP \ 12584 FGREP \ 12585 LD \ 12586 NM \ 12587 LN_S \ 12588 lt_SP2NL \ 12589 lt_NL2SP \ 12590 reload_flag \ 12591 OBJDUMP \ 12592 deplibs_check_method \ 12593 file_magic_cmd \ 12594 file_magic_glob \ 12595 want_nocaseglob \ 12596 DLLTOOL \ 12597 sharedlib_from_linklib_cmd \ 12598 AR \ 12599 AR_FLAGS \ 12600 archiver_list_spec \ 12601 STRIP \ 12602 RANLIB \ 12603 CC \ 12604 CFLAGS \ 12605 compiler \ 12606 lt_cv_sys_global_symbol_pipe \ 12607 lt_cv_sys_global_symbol_to_cdecl \ 12608 lt_cv_sys_global_symbol_to_c_name_address \ 12609 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12610 nm_file_list_spec \ 12611 lt_prog_compiler_no_builtin_flag \ 12612 lt_prog_compiler_pic \ 12613 lt_prog_compiler_wl \ 12614 lt_prog_compiler_static \ 12615 lt_cv_prog_compiler_c_o \ 12616 need_locks \ 12617 MANIFEST_TOOL \ 12618 DSYMUTIL \ 12619 NMEDIT \ 12620 LIPO \ 12621 OTOOL \ 12622 OTOOL64 \ 12623 shrext_cmds \ 12624 export_dynamic_flag_spec \ 12625 whole_archive_flag_spec \ 12626 compiler_needs_object \ 12627 with_gnu_ld \ 12628 allow_undefined_flag \ 12629 no_undefined_flag \ 12630 hardcode_libdir_flag_spec \ 12631 hardcode_libdir_separator \ 12632 exclude_expsyms \ 12633 include_expsyms \ 12634 file_list_spec \ 12635 variables_saved_for_relink \ 12636 libname_spec \ 12637 library_names_spec \ 12638 soname_spec \ 12639 install_override_mode \ 12640 finish_eval \ 12641 old_striplib \ 12642 striplib; do 12643 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12644 *[\\\\\\\`\\"\\\$]*) 12645 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12646 ;; 12647 *) 12648 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12649 ;; 12650 esac 12651 done 12652 12653 # Double-quote double-evaled strings. 12654 for var in reload_cmds \ 12655 old_postinstall_cmds \ 12656 old_postuninstall_cmds \ 12657 old_archive_cmds \ 12658 extract_expsyms_cmds \ 12659 old_archive_from_new_cmds \ 12660 old_archive_from_expsyms_cmds \ 12661 archive_cmds \ 12662 archive_expsym_cmds \ 12663 module_cmds \ 12664 module_expsym_cmds \ 12665 export_symbols_cmds \ 12666 prelink_cmds \ 12667 postlink_cmds \ 12668 postinstall_cmds \ 12669 postuninstall_cmds \ 12670 finish_cmds \ 12671 sys_lib_search_path_spec \ 12672 sys_lib_dlsearch_path_spec; do 12673 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12674 *[\\\\\\\`\\"\\\$]*) 12675 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 12676 ;; 12677 *) 12678 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12679 ;; 12680 esac 12681 done 12682 12683 ac_aux_dir='$ac_aux_dir' 12684 xsi_shell='$xsi_shell' 12685 lt_shell_append='$lt_shell_append' 12686 12687 # See if we are running on zsh, and set the options which allow our 12688 # commands through without removal of \ escapes INIT. 12689 if test -n "\${ZSH_VERSION+set}" ; then 12690 setopt NO_GLOB_SUBST 12691 fi 12692 12693 12694 PACKAGE='$PACKAGE' 12695 VERSION='$VERSION' 12696 TIMESTAMP='$TIMESTAMP' 12697 RM='$RM' 12698 ofile='$ofile' 12699 12700 12701 12702 12703 _ACEOF 12704 12705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12706 12707 # Handling of arguments. 12708 for ac_config_target in $ac_config_targets 12709 do 12710 case $ac_config_target in 12711 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12712 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12713 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 12714 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12715 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 12716 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 12717 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 12718 "demo/Makefile") CONFIG_FILES="$CONFIG_FILES demo/Makefile" ;; 12719 "lmfit.pc") CONFIG_FILES="$CONFIG_FILES lmfit.pc" ;; 12720 12721 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12722 esac 12723 done 12724 12725 12726 # If the user did not use the arguments to specify the items to instantiate, 12727 # then the envvar interface is used. Set only those that are not. 12728 # We use the long form for the default assignment because of an extremely 12729 # bizarre bug on SunOS 4.1.3. 12730 if $ac_need_defaults; then 12731 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12732 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 12733 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 12734 fi 12735 12736 # Have a temporary directory for convenience. Make it in the build tree 12737 # simply because there is no reason against having it here, and in addition, 12738 # creating and moving files from /tmp can sometimes cause problems. 12739 # Hook for its removal unless debugging. 12740 # Note that there is a small window in which the directory will not be cleaned: 12741 # after its creation but before its name has been assigned to `$tmp'. 12742 $debug || 12743 { 12744 tmp= ac_tmp= 12745 trap 'exit_status=$? 12746 : "${ac_tmp:=$tmp}" 12747 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 12748 ' 0 12749 trap 'as_fn_exit 1' 1 2 13 15 12750 } 12751 # Create a (secure) tmp directory for tmp files. 12752 12753 { 12754 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12755 test -d "$tmp" 12756 } || 12757 { 12758 tmp=./conf$$-$RANDOM 12759 (umask 077 && mkdir "$tmp") 12760 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 12761 ac_tmp=$tmp 12762 12763 # Set up the scripts for CONFIG_FILES section. 12764 # No need to generate them if there are no CONFIG_FILES. 12765 # This happens for instance with `./config.status config.h'. 12766 if test -n "$CONFIG_FILES"; then 12767 12768 12769 ac_cr=`echo X | tr X '\015'` 12770 # On cygwin, bash can eat \r inside `` if the user requested igncr. 12771 # But we know of no other shell where ac_cr would be empty at this 12772 # point, so we can use a bashism as a fallback. 12773 if test "x$ac_cr" = x; then 12774 eval ac_cr=\$\'\\r\' 12775 fi 12776 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12777 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12778 ac_cs_awk_cr='\\r' 12779 else 12780 ac_cs_awk_cr=$ac_cr 12781 fi 12782 12783 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 12784 _ACEOF 12785 12786 12787 { 12788 echo "cat >conf$$subs.awk <<_ACEOF" && 12789 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12790 echo "_ACEOF" 12791 } >conf$$subs.sh || 12792 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12793 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 12794 ac_delim='%!_!# ' 12795 for ac_last_try in false false false false false :; do 12796 . ./conf$$subs.sh || 12797 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12798 12799 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12800 if test $ac_delim_n = $ac_delim_num; then 12801 break 12802 elif $ac_last_try; then 12803 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12804 else 12805 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12806 fi 12807 done 12808 rm -f conf$$subs.sh 12809 12810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12811 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 12812 _ACEOF 12813 sed -n ' 12814 h 12815 s/^/S["/; s/!.*/"]=/ 12816 p 12817 g 12818 s/^[^!]*!// 12819 :repl 12820 t repl 12821 s/'"$ac_delim"'$// 12822 t delim 12823 :nl 12824 h 12825 s/\(.\{148\}\)..*/\1/ 12826 t more1 12827 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 12828 p 12829 n 12830 b repl 12831 :more1 12832 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12833 p 12834 g 12835 s/.\{148\}// 12836 t nl 12837 :delim 12838 h 12839 s/\(.\{148\}\)..*/\1/ 12840 t more2 12841 s/["\\]/\\&/g; s/^/"/; s/$/"/ 12842 p 12843 b 12844 :more2 12845 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12846 p 12847 g 12848 s/.\{148\}// 12849 t delim 12850 ' <conf$$subs.awk | sed ' 12851 /^[^""]/{ 12852 N 12853 s/\n// 12854 } 12855 ' >>$CONFIG_STATUS || ac_write_fail=1 12856 rm -f conf$$subs.awk 12857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12858 _ACAWK 12859 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 12860 for (key in S) S_is_set[key] = 1 12861 FS = "" 12862 12863 } 12864 { 12865 line = $ 0 12866 nfields = split(line, field, "@") 12867 substed = 0 12868 len = length(field[1]) 12869 for (i = 2; i < nfields; i++) { 12870 key = field[i] 12871 keylen = length(key) 12872 if (S_is_set[key]) { 12873 value = S[key] 12874 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 12875 len += length(value) + length(field[++i]) 12876 substed = 1 12877 } else 12878 len += 1 + keylen 12879 } 12880 12881 print line 12882 } 12883 12884 _ACAWK 12885 _ACEOF 12886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12887 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 12888 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 12889 else 12890 cat 12891 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 12892 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 12893 _ACEOF 12894 12895 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 12896 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 12897 # trailing colons and then remove the whole line if VPATH becomes empty 12898 # (actually we leave an empty line to preserve line numbers). 12899 if test "x$srcdir" = x.; then 12900 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 12901 h 12902 s/// 12903 s/^/:/ 12904 s/[ ]*$/:/ 12905 s/:\$(srcdir):/:/g 12906 s/:\${srcdir}:/:/g 12907 s/:@srcdir@:/:/g 12908 s/^:*// 12909 s/:*$// 12910 x 12911 s/\(=[ ]*\).*/\1/ 12912 G 12913 s/\n// 12914 s/^[^=]*=[ ]*$// 12915 }' 12916 fi 12917 12918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12919 fi # test -n "$CONFIG_FILES" 12920 12921 # Set up the scripts for CONFIG_HEADERS section. 12922 # No need to generate them if there are no CONFIG_HEADERS. 12923 # This happens for instance with `./config.status Makefile'. 12924 if test -n "$CONFIG_HEADERS"; then 12925 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 12926 BEGIN { 12927 _ACEOF 12928 12929 # Transform confdefs.h into an awk script `defines.awk', embedded as 12930 # here-document in config.status, that substitutes the proper values into 12931 # config.h.in to produce config.h. 12932 12933 # Create a delimiter string that does not exist in confdefs.h, to ease 12934 # handling of long lines. 12935 ac_delim='%!_!# ' 12936 for ac_last_try in false false :; do 12937 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 12938 if test -z "$ac_tt"; then 12939 break 12940 elif $ac_last_try; then 12941 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 12942 else 12943 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12944 fi 12945 done 12946 12947 # For the awk script, D is an array of macro values keyed by name, 12948 # likewise P contains macro parameters if any. Preserve backslash 12949 # newline sequences. 12950 12951 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 12952 sed -n ' 12953 s/.\{148\}/&'"$ac_delim"'/g 12954 t rset 12955 :rset 12956 s/^[ ]*#[ ]*define[ ][ ]*/ / 12957 t def 12958 d 12959 :def 12960 s/\\$// 12961 t bsnl 12962 s/["\\]/\\&/g 12963 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12964 D["\1"]=" \3"/p 12965 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 12966 d 12967 :bsnl 12968 s/["\\]/\\&/g 12969 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12970 D["\1"]=" \3\\\\\\n"\\/p 12971 t cont 12972 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 12973 t cont 12974 d 12975 :cont 12976 n 12977 s/.\{148\}/&'"$ac_delim"'/g 12978 t clear 12979 :clear 12980 s/\\$// 12981 t bsnlc 12982 s/["\\]/\\&/g; s/^/"/; s/$/"/p 12983 d 12984 :bsnlc 12985 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 12986 b cont 12987 ' <confdefs.h | sed ' 12988 s/'"$ac_delim"'/"\\\ 12989 "/g' >>$CONFIG_STATUS || ac_write_fail=1 12990 12991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12992 for (key in D) D_is_set[key] = 1 12993 FS = "" 12994 } 12995 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 12996 line = \$ 0 12997 split(line, arg, " ") 12998 if (arg[1] == "#") { 12999 defundef = arg[2] 13000 mac1 = arg[3] 13001 } else { 13002 defundef = substr(arg[1], 2) 13003 mac1 = arg[2] 13004 } 13005 split(mac1, mac2, "(") #) 13006 macro = mac2[1] 13007 prefix = substr(line, 1, index(line, defundef) - 1) 13008 if (D_is_set[macro]) { 13009 # Preserve the white space surrounding the "#". 13010 print prefix "define", macro P[macro] D[macro] 13011 next 13012 } else { 13013 # Replace #undef with comments. This is necessary, for example, 13014 # in the case of _POSIX_SOURCE, which is predefined and required 13015 # on some systems where configure will not decide to define it. 13016 if (defundef == "undef") { 13017 print "/*", prefix defundef, macro, "*/" 13018 next 13019 } 13020 } 13021 } 13022 { print } 13023 _ACAWK 13024 _ACEOF 13025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13026 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13027 fi # test -n "$CONFIG_HEADERS" 13028 13029 13030 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13031 shift 13032 for ac_tag 13033 do 13034 case $ac_tag in 13035 :[FHLC]) ac_mode=$ac_tag; continue;; 13036 esac 13037 case $ac_mode$ac_tag in 13038 :[FHL]*:*);; 13039 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13040 :[FH]-) ac_tag=-:-;; 13041 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13042 esac 13043 ac_save_IFS=$IFS 13044 IFS=: 13045 set x $ac_tag 13046 IFS=$ac_save_IFS 13047 shift 13048 ac_file=$1 13049 shift 13050 13051 case $ac_mode in 13052 :L) ac_source=$1;; 13053 :[FH]) 13054 ac_file_inputs= 13055 for ac_f 13056 do 13057 case $ac_f in 13058 -) ac_f="$ac_tmp/stdin";; 13059 *) # Look for the file first in the build tree, then in the source tree 13060 # (if the path is not absolute). The absolute path cannot be DOS-style, 13061 # because $ac_f cannot contain `:'. 13062 test -f "$ac_f" || 13063 case $ac_f in 13064 [\\/$]*) false;; 13065 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13066 esac || 13067 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13068 esac 13069 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13070 as_fn_append ac_file_inputs " '$ac_f'" 13071 done 13072 13073 # Let's still pretend it is `configure' which instantiates (i.e., don't 13074 # use $as_me), people would be surprised to read: 13075 # /* config.h. Generated by config.status. */ 13076 configure_input='Generated from '` 13077 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13078 `' by configure.' 13079 if test x"$ac_file" != x-; then 13080 configure_input="$ac_file. $configure_input" 13081 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13082 $as_echo "$as_me: creating $ac_file" >&6;} 13083 fi 13084 # Neutralize special characters interpreted by sed in replacement strings. 13085 case $configure_input in #( 13086 *\&* | *\|* | *\\* ) 13087 ac_sed_conf_input=`$as_echo "$configure_input" | 13088 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13089 *) ac_sed_conf_input=$configure_input;; 13090 esac 13091 13092 case $ac_tag in 13093 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13095 esac 13096 ;; 13097 esac 13098 13099 ac_dir=`$as_dirname -- "$ac_file" || 13100 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13101 X"$ac_file" : 'X\(//\)[^/]' \| \ 13102 X"$ac_file" : 'X\(//\)$' \| \ 13103 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13104 $as_echo X"$ac_file" | 13105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13106 s//\1/ 13107 q 13108 } 13109 /^X\(\/\/\)[^/].*/{ 13110 s//\1/ 13111 q 13112 } 13113 /^X\(\/\/\)$/{ 13114 s//\1/ 13115 q 13116 } 13117 /^X\(\/\).*/{ 13118 s//\1/ 13119 q 13120 } 13121 s/.*/./; q'` 13122 as_dir="$ac_dir"; as_fn_mkdir_p 13123 ac_builddir=. 13124 13125 case "$ac_dir" in 13126 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13127 *) 13128 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13129 # A ".." for each directory in $ac_dir_suffix. 13130 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13131 case $ac_top_builddir_sub in 13132 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13133 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13134 esac ;; 13135 esac 13136 ac_abs_top_builddir=$ac_pwd 13137 ac_abs_builddir=$ac_pwd$ac_dir_suffix 13138 # for backward compatibility: 13139 ac_top_builddir=$ac_top_build_prefix 13140 13141 case $srcdir in 13142 .) # We are building in place. 13143 ac_srcdir=. 13144 ac_top_srcdir=$ac_top_builddir_sub 13145 ac_abs_top_srcdir=$ac_pwd ;; 13146 [\\/]* | ?:[\\/]* ) # Absolute name. 13147 ac_srcdir=$srcdir$ac_dir_suffix; 13148 ac_top_srcdir=$srcdir 13149 ac_abs_top_srcdir=$srcdir ;; 13150 *) # Relative name. 13151 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13152 ac_top_srcdir=$ac_top_build_prefix$srcdir 13153 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13154 esac 13155 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13156 13157 13158 case $ac_mode in 13159 :F) 13160 # 13161 # CONFIG_FILE 13162 # 13163 13164 case $INSTALL in 13165 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13166 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13167 esac 13168 ac_MKDIR_P=$MKDIR_P 13169 case $MKDIR_P in 13170 [\\/$]* | ?:[\\/]* ) ;; 13171 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13172 esac 13173 _ACEOF 13174 13175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13176 # If the template does not know about datarootdir, expand it. 13177 # FIXME: This hack should be removed a few years after 2.60. 13178 ac_datarootdir_hack=; ac_datarootdir_seen= 13179 ac_sed_dataroot=' 13180 /datarootdir/ { 13181 p 13182 q 13183 } 13184 /@datadir@/p 13185 /@docdir@/p 13186 /@infodir@/p 13187 /@localedir@/p 13188 /@mandir@/p' 13189 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13190 *datarootdir*) ac_datarootdir_seen=yes;; 13191 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13193 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13194 _ACEOF 13195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13196 ac_datarootdir_hack=' 13197 s&@datadir@&$datadir&g 13198 s&@docdir@&$docdir&g 13199 s&@infodir@&$infodir&g 13200 s&@localedir@&$localedir&g 13201 s&@mandir@&$mandir&g 13202 s&\\\${datarootdir}&$datarootdir&g' ;; 13203 esac 13204 _ACEOF 13205 13206 # Neutralize VPATH when `$srcdir' = `.'. 13207 # Shell code in configure.ac might set extrasub. 13208 # FIXME: do we really want to maintain this feature? 13209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13210 ac_sed_extra="$ac_vpsub 13211 $extrasub 13212 _ACEOF 13213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13214 :t 13215 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13216 s|@configure_input@|$ac_sed_conf_input|;t t 13217 s&@top_builddir@&$ac_top_builddir_sub&;t t 13218 s&@top_build_prefix@&$ac_top_build_prefix&;t t 13219 s&@srcdir@&$ac_srcdir&;t t 13220 s&@abs_srcdir@&$ac_abs_srcdir&;t t 13221 s&@top_srcdir@&$ac_top_srcdir&;t t 13222 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13223 s&@builddir@&$ac_builddir&;t t 13224 s&@abs_builddir@&$ac_abs_builddir&;t t 13225 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13226 s&@INSTALL@&$ac_INSTALL&;t t 13227 s&@MKDIR_P@&$ac_MKDIR_P&;t t 13228 $ac_datarootdir_hack 13229 " 13230 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 13231 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13232 13233 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13234 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 13235 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 13236 "$ac_tmp/out"`; test -z "$ac_out"; } && 13237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13238 which seems to be undefined. Please make sure it is defined" >&5 13239 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13240 which seems to be undefined. Please make sure it is defined" >&2;} 13241 13242 rm -f "$ac_tmp/stdin" 13243 case $ac_file in 13244 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 13245 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13246 esac \ 13247 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13248 ;; 13249 :H) 13250 # 13251 # CONFIG_HEADER 13252 # 13253 if test x"$ac_file" != x-; then 13254 { 13255 $as_echo "/* $configure_input */" \ 13256 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 13257 } >"$ac_tmp/config.h" \ 13258 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13259 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 13260 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13261 $as_echo "$as_me: $ac_file is unchanged" >&6;} 13262 else 13263 rm -f "$ac_file" 13264 mv "$ac_tmp/config.h" "$ac_file" \ 13265 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13266 fi 13267 else 13268 $as_echo "/* $configure_input */" \ 13269 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 13270 || as_fn_error $? "could not create -" "$LINENO" 5 13271 fi 13272 # Compute "$ac_file"'s index in $config_headers. 13273 _am_arg="$ac_file" 13274 _am_stamp_count=1 13275 for _am_header in $config_headers :; do 13276 case $_am_header in 13277 $_am_arg | $_am_arg:* ) 13278 break ;; 13279 * ) 13280 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 13281 esac 13282 done 13283 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 13284 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13285 X"$_am_arg" : 'X\(//\)[^/]' \| \ 13286 X"$_am_arg" : 'X\(//\)$' \| \ 13287 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 13288 $as_echo X"$_am_arg" | 13289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13290 s//\1/ 13291 q 13292 } 13293 /^X\(\/\/\)[^/].*/{ 13294 s//\1/ 13295 q 13296 } 13297 /^X\(\/\/\)$/{ 13298 s//\1/ 13299 q 13300 } 13301 /^X\(\/\).*/{ 13302 s//\1/ 13303 q 13304 } 13305 s/.*/./; q'`/stamp-h$_am_stamp_count 13306 ;; 13307 13308 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13309 $as_echo "$as_me: executing $ac_file commands" >&6;} 13310 ;; 13311 esac 13312 13313 13314 case $ac_file$ac_mode in 13315 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13316 # Older Autoconf quotes --file arguments for eval, but not when files 13317 # are listed without --file. Let's play safe and only enable the eval 13318 # if we detect the quoting. 13319 case $CONFIG_FILES in 13320 *\'*) eval set x "$CONFIG_FILES" ;; 13321 *) set x $CONFIG_FILES ;; 13322 esac 13323 shift 13324 for mf 13325 do 13326 # Strip MF so we end up with the name of the file. 13327 mf=`echo "$mf" | sed -e 's/:.*$//'` 13328 # Check whether this is an Automake generated Makefile or not. 13329 # We used to match only the files named 'Makefile.in', but 13330 # some people rename them; so instead we look at the file content. 13331 # Grep'ing the first line is not enough: some people post-process 13332 # each Makefile.in and add a new line on top of each file to say so. 13333 # Grep'ing the whole file is not good either: AIX grep has a line 13334 # limit of 2048, but all sed's we know have understand at least 4000. 13335 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13336 dirpart=`$as_dirname -- "$mf" || 13337 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13338 X"$mf" : 'X\(//\)[^/]' \| \ 13339 X"$mf" : 'X\(//\)$' \| \ 13340 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13341 $as_echo X"$mf" | 13342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13343 s//\1/ 13344 q 13345 } 13346 /^X\(\/\/\)[^/].*/{ 13347 s//\1/ 13348 q 13349 } 13350 /^X\(\/\/\)$/{ 13351 s//\1/ 13352 q 13353 } 13354 /^X\(\/\).*/{ 13355 s//\1/ 13356 q 13357 } 13358 s/.*/./; q'` 13359 else 13360 continue 13361 fi 13362 # Extract the definition of DEPDIR, am__include, and am__quote 13363 # from the Makefile without running 'make'. 13364 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13365 test -z "$DEPDIR" && continue 13366 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13367 test -z "$am__include" && continue 13368 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13369 # Find all dependency output files, they are included files with 13370 # $(DEPDIR) in their names. We invoke sed twice because it is the 13371 # simplest approach to changing $(DEPDIR) to its actual value in the 13372 # expansion. 13373 for file in `sed -n " 13374 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13375 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 13376 # Make sure the directory exists. 13377 test -f "$dirpart/$file" && continue 13378 fdir=`$as_dirname -- "$file" || 13379 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13380 X"$file" : 'X\(//\)[^/]' \| \ 13381 X"$file" : 'X\(//\)$' \| \ 13382 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13383 $as_echo X"$file" | 13384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13385 s//\1/ 13386 q 13387 } 13388 /^X\(\/\/\)[^/].*/{ 13389 s//\1/ 13390 q 13391 } 13392 /^X\(\/\/\)$/{ 13393 s//\1/ 13394 q 13395 } 13396 /^X\(\/\).*/{ 13397 s//\1/ 13398 q 13399 } 13400 s/.*/./; q'` 13401 as_dir=$dirpart/$fdir; as_fn_mkdir_p 13402 # echo "creating $dirpart/$file" 13403 echo '# dummy' > "$dirpart/$file" 13404 done 13405 done 13406 } 13407 ;; 13408 "libtool":C) 13409 13410 # See if we are running on zsh, and set the options which allow our 13411 # commands through without removal of \ escapes. 13412 if test -n "${ZSH_VERSION+set}" ; then 13413 setopt NO_GLOB_SUBST 13414 fi 13415 13416 cfgfile="${ofile}T" 13417 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13418 $RM "$cfgfile" 13419 13420 cat <<_LT_EOF >> "$cfgfile" 13421 #! $SHELL 13422 13423 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13424 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13425 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13426 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 13427 # 13428 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13429 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software 13430 # Foundation, Inc. 13431 # Written by Gordon Matzigkeit, 1996 13432 # 13433 # This file is part of GNU Libtool. 13434 # 13435 # GNU Libtool is free software; you can redistribute it and/or 13436 # modify it under the terms of the GNU General Public License as 13437 # published by the Free Software Foundation; either version 2 of 13438 # the License, or (at your option) any later version. 13439 # 13440 # As a special exception to the GNU General Public License, 13441 # if you distribute this file as part of a program or library that 13442 # is built using GNU Libtool, you may include this file under the 13443 # same distribution terms that you use for the rest of that program. 13444 # 13445 # GNU Libtool is distributed in the hope that it will be useful, 13446 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13447 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13448 # GNU General Public License for more details. 13449 # 13450 # You should have received a copy of the GNU General Public License 13451 # along with GNU Libtool; see the file COPYING. If not, a copy 13452 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13453 # obtained by writing to the Free Software Foundation, Inc., 13454 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13455 13456 13457 # The names of the tagged configurations supported by this script. 13458 available_tags="" 13459 13460 # ### BEGIN LIBTOOL CONFIG 13461 13462 # Which release of libtool.m4 was used? 13463 macro_version=$macro_version 13464 macro_revision=$macro_revision 13465 13466 # Whether or not to build static libraries. 13467 build_old_libs=$enable_static 13468 13469 # Whether or not to build shared libraries. 13470 build_libtool_libs=$enable_shared 13471 13472 # What type of objects to build. 13473 pic_mode=$pic_mode 13474 13475 # Whether or not to optimize for fast installation. 13476 fast_install=$enable_fast_install 13477 13478 # Shell to use when invoking shell scripts. 13479 SHELL=$lt_SHELL 13480 13481 # An echo program that protects backslashes. 13482 ECHO=$lt_ECHO 13483 13484 # The PATH separator for the build system. 13485 PATH_SEPARATOR=$lt_PATH_SEPARATOR 13486 13487 # The host system. 13488 host_alias=$host_alias 13489 host=$host 13490 host_os=$host_os 13491 13492 # The build system. 13493 build_alias=$build_alias 13494 build=$build 13495 build_os=$build_os 13496 13497 # A sed program that does not truncate output. 13498 SED=$lt_SED 13499 13500 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 13501 Xsed="\$SED -e 1s/^X//" 13502 13503 # A grep program that handles long lines. 13504 GREP=$lt_GREP 13505 13506 # An ERE matcher. 13507 EGREP=$lt_EGREP 13508 13509 # A literal string matcher. 13510 FGREP=$lt_FGREP 13511 13512 # A BSD- or MS-compatible name lister. 13513 NM=$lt_NM 13514 13515 # Whether we need soft or hard links. 13516 LN_S=$lt_LN_S 13517 13518 # What is the maximum length of a command? 13519 max_cmd_len=$max_cmd_len 13520 13521 # Object file suffix (normally "o"). 13522 objext=$ac_objext 13523 13524 # Executable file suffix (normally ""). 13525 exeext=$exeext 13526 13527 # whether the shell understands "unset". 13528 lt_unset=$lt_unset 13529 13530 # turn spaces into newlines. 13531 SP2NL=$lt_lt_SP2NL 13532 13533 # turn newlines into spaces. 13534 NL2SP=$lt_lt_NL2SP 13535 13536 # convert \$build file names to \$host format. 13537 to_host_file_cmd=$lt_cv_to_host_file_cmd 13538 13539 # convert \$build files to toolchain format. 13540 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 13541 13542 # An object symbol dumper. 13543 OBJDUMP=$lt_OBJDUMP 13544 13545 # Method to check whether dependent libraries are shared objects. 13546 deplibs_check_method=$lt_deplibs_check_method 13547 13548 # Command to use when deplibs_check_method = "file_magic". 13549 file_magic_cmd=$lt_file_magic_cmd 13550 13551 # How to find potential files when deplibs_check_method = "file_magic". 13552 file_magic_glob=$lt_file_magic_glob 13553 13554 # Find potential files using nocaseglob when deplibs_check_method = "file_magic". 13555 want_nocaseglob=$lt_want_nocaseglob 13556 13557 # DLL creation program. 13558 DLLTOOL=$lt_DLLTOOL 13559 13560 # Command to associate shared and link libraries. 13561 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 13562 13563 # The archiver. 13564 AR=$lt_AR 13565 13566 # Flags to create an archive. 13567 AR_FLAGS=$lt_AR_FLAGS 13568 13569 # How to feed a file listing to the archiver. 13570 archiver_list_spec=$lt_archiver_list_spec 13571 13572 # A symbol stripping program. 13573 STRIP=$lt_STRIP 13574 13575 # Commands used to install an old-style archive. 13576 RANLIB=$lt_RANLIB 13577 old_postinstall_cmds=$lt_old_postinstall_cmds 13578 old_postuninstall_cmds=$lt_old_postuninstall_cmds 13579 13580 # Whether to use a lock for old archive extraction. 13581 lock_old_archive_extraction=$lock_old_archive_extraction 13582 13583 # A C compiler. 13584 LTCC=$lt_CC 13585 13586 # LTCC compiler flags. 13587 LTCFLAGS=$lt_CFLAGS 13588 13589 # Take the output of nm and produce a listing of raw symbols and C names. 13590 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13591 13592 # Transform the output of nm in a proper C declaration. 13593 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13594 13595 # Transform the output of nm in a C name address pair. 13596 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13597 13598 # Transform the output of nm in a C name address pair when lib prefix is needed. 13599 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13600 13601 # Specify filename containing input files for \$NM. 13602 nm_file_list_spec=$lt_nm_file_list_spec 13603 13604 # The root where to search for dependent libraries,and in which our libraries should be installed. 13605 lt_sysroot=$lt_sysroot 13606 13607 # The name of the directory that contains temporary libtool files. 13608 objdir=$objdir 13609 13610 # Used to examine libraries when file_magic_cmd begins with "file". 13611 MAGIC_CMD=$MAGIC_CMD 13612 13613 # Must we lock files when doing compilation? 13614 need_locks=$lt_need_locks 13615 13616 # Manifest tool. 13617 MANIFEST_TOOL=$lt_MANIFEST_TOOL 13618 13619 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13620 DSYMUTIL=$lt_DSYMUTIL 13621 13622 # Tool to change global to local symbols on Mac OS X. 13623 NMEDIT=$lt_NMEDIT 13624 13625 # Tool to manipulate fat objects and archives on Mac OS X. 13626 LIPO=$lt_LIPO 13627 13628 # ldd/readelf like tool for Mach-O binaries on Mac OS X. 13629 OTOOL=$lt_OTOOL 13630 13631 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13632 OTOOL64=$lt_OTOOL64 13633 13634 # Old archive suffix (normally "a"). 13635 libext=$libext 13636 13637 # Shared library suffix (normally ".so"). 13638 shrext_cmds=$lt_shrext_cmds 13639 13640 # The commands to extract the exported symbol list from a shared archive. 13641 extract_expsyms_cmds=$lt_extract_expsyms_cmds 13642 13643 # Variables whose values should be saved in libtool wrapper scripts and 13644 # restored at link time. 13645 variables_saved_for_relink=$lt_variables_saved_for_relink 13646 13647 # Do we need the "lib" prefix for modules? 13648 need_lib_prefix=$need_lib_prefix 13649 13650 # Do we need a version for libraries? 13651 need_version=$need_version 13652 13653 # Library versioning type. 13654 version_type=$version_type 13655 13656 # Shared library runtime path variable. 13657 runpath_var=$runpath_var 13658 13659 # Shared library path variable. 13660 shlibpath_var=$shlibpath_var 13661 13662 # Is shlibpath searched before the hard-coded library search path? 13663 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13664 13665 # Format of library name prefix. 13666 libname_spec=$lt_libname_spec 13667 13668 # List of archive names. First name is the real one, the rest are links. 13669 # The last name is the one that the linker finds with -lNAME 13670 library_names_spec=$lt_library_names_spec 13671 13672 # The coded name of the library, if different from the real name. 13673 soname_spec=$lt_soname_spec 13674 13675 # Permission mode override for installation of shared libraries. 13676 install_override_mode=$lt_install_override_mode 13677 13678 # Command to use after installation of a shared archive. 13679 postinstall_cmds=$lt_postinstall_cmds 13680 13681 # Command to use after uninstallation of a shared archive. 13682 postuninstall_cmds=$lt_postuninstall_cmds 13683 13684 # Commands used to finish a libtool library installation in a directory. 13685 finish_cmds=$lt_finish_cmds 13686 13687 # As "finish_cmds", except a single script fragment to be evaled but 13688 # not shown. 13689 finish_eval=$lt_finish_eval 13690 13691 # Whether we should hardcode library paths into libraries. 13692 hardcode_into_libs=$hardcode_into_libs 13693 13694 # Compile-time system search path for libraries. 13695 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13696 13697 # Run-time system search path for libraries. 13698 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13699 13700 # Whether dlopen is supported. 13701 dlopen_support=$enable_dlopen 13702 13703 # Whether dlopen of programs is supported. 13704 dlopen_self=$enable_dlopen_self 13705 13706 # Whether dlopen of statically linked programs is supported. 13707 dlopen_self_static=$enable_dlopen_self_static 13708 13709 # Commands to strip libraries. 13710 old_striplib=$lt_old_striplib 13711 striplib=$lt_striplib 13712 13713 13714 # The linker used to build libraries. 13715 LD=$lt_LD 13716 13717 # How to create reloadable object files. 13718 reload_flag=$lt_reload_flag 13719 reload_cmds=$lt_reload_cmds 13720 13721 # Commands used to build an old-style archive. 13722 old_archive_cmds=$lt_old_archive_cmds 13723 13724 # A language specific compiler. 13725 CC=$lt_compiler 13726 13727 # Is the compiler the GNU compiler? 13728 with_gcc=$GCC 13729 13730 # Compiler flag to turn off builtin functions. 13731 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13732 13733 # Additional compiler flags for building library objects. 13734 pic_flag=$lt_lt_prog_compiler_pic 13735 13736 # How to pass a linker flag through the compiler. 13737 wl=$lt_lt_prog_compiler_wl 13738 13739 # Compiler flag to prevent dynamic linking. 13740 link_static_flag=$lt_lt_prog_compiler_static 13741 13742 # Does compiler simultaneously support -c and -o options? 13743 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13744 13745 # Whether or not to add -lc for building shared libraries. 13746 build_libtool_need_lc=$archive_cmds_need_lc 13747 13748 # Whether or not to disallow shared libs when runtime libs are static. 13749 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13750 13751 # Compiler flag to allow reflexive dlopens. 13752 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13753 13754 # Compiler flag to generate shared objects directly from archives. 13755 whole_archive_flag_spec=$lt_whole_archive_flag_spec 13756 13757 # Whether the compiler copes with passing no objects directly. 13758 compiler_needs_object=$lt_compiler_needs_object 13759 13760 # Create an old-style archive from a shared archive. 13761 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13762 13763 # Create a temporary old-style archive to link instead of a shared archive. 13764 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13765 13766 # Commands used to build a shared archive. 13767 archive_cmds=$lt_archive_cmds 13768 archive_expsym_cmds=$lt_archive_expsym_cmds 13769 13770 # Commands used to build a loadable module if different from building 13771 # a shared archive. 13772 module_cmds=$lt_module_cmds 13773 module_expsym_cmds=$lt_module_expsym_cmds 13774 13775 # Whether we are building with GNU ld or not. 13776 with_gnu_ld=$lt_with_gnu_ld 13777 13778 # Flag that allows shared libraries with undefined symbols to be built. 13779 allow_undefined_flag=$lt_allow_undefined_flag 13780 13781 # Flag that enforces no undefined symbols. 13782 no_undefined_flag=$lt_no_undefined_flag 13783 13784 # Flag to hardcode \$libdir into a binary during linking. 13785 # This must work even if \$libdir does not exist 13786 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13787 13788 # Whether we need a single "-rpath" flag with a separated argument. 13789 hardcode_libdir_separator=$lt_hardcode_libdir_separator 13790 13791 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13792 # DIR into the resulting binary. 13793 hardcode_direct=$hardcode_direct 13794 13795 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13796 # DIR into the resulting binary and the resulting library dependency is 13797 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 13798 # library is relocated. 13799 hardcode_direct_absolute=$hardcode_direct_absolute 13800 13801 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13802 # into the resulting binary. 13803 hardcode_minus_L=$hardcode_minus_L 13804 13805 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13806 # into the resulting binary. 13807 hardcode_shlibpath_var=$hardcode_shlibpath_var 13808 13809 # Set to "yes" if building a shared library automatically hardcodes DIR 13810 # into the library and all subsequent libraries and executables linked 13811 # against it. 13812 hardcode_automatic=$hardcode_automatic 13813 13814 # Set to yes if linker adds runtime paths of dependent libraries 13815 # to runtime path list. 13816 inherit_rpath=$inherit_rpath 13817 13818 # Whether libtool must link a program against all its dependency libraries. 13819 link_all_deplibs=$link_all_deplibs 13820 13821 # Set to "yes" if exported symbols are required. 13822 always_export_symbols=$always_export_symbols 13823 13824 # The commands to list exported symbols. 13825 export_symbols_cmds=$lt_export_symbols_cmds 13826 13827 # Symbols that should not be listed in the preloaded symbols. 13828 exclude_expsyms=$lt_exclude_expsyms 13829 13830 # Symbols that must always be exported. 13831 include_expsyms=$lt_include_expsyms 13832 13833 # Commands necessary for linking programs (against libraries) with templates. 13834 prelink_cmds=$lt_prelink_cmds 13835 13836 # Commands necessary for finishing linking programs. 13837 postlink_cmds=$lt_postlink_cmds 13838 13839 # Specify filename containing input files. 13840 file_list_spec=$lt_file_list_spec 13841 13842 # How to hardcode a shared library path into an executable. 13843 hardcode_action=$hardcode_action 13844 13845 # ### END LIBTOOL CONFIG 13846 13847 _LT_EOF 13848 13849 case $host_os in 13850 aix3*) 13851 cat <<\_LT_EOF >> "$cfgfile" 13852 # AIX sometimes has problems with the GCC collect2 program. For some 13853 # reason, if we set the COLLECT_NAMES environment variable, the problems 13854 # vanish in a puff of smoke. 13855 if test "X${COLLECT_NAMES+set}" != Xset; then 13856 COLLECT_NAMES= 13857 export COLLECT_NAMES 13858 fi 13859 _LT_EOF 13860 ;; 13861 esac 13862 13863 13864 ltmain="$ac_aux_dir/ltmain.sh" 13865 13866 13867 # We use sed instead of cat because bash on DJGPP gets confused if 13868 # if finds mixed CR/LF and LF-only lines. Since sed operates in 13869 # text mode, it properly converts lines to CR/LF. This bash problem 13870 # is reportedly fixed, but why not run on old versions too? 13871 sed '$q' "$ltmain" >> "$cfgfile" \ 13872 || (rm -f "$cfgfile"; exit 1) 13873 13874 if test x"$xsi_shell" = xyes; then 13875 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 13876 func_dirname ()\ 13877 {\ 13878 \ case ${1} in\ 13879 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 13880 \ * ) func_dirname_result="${3}" ;;\ 13881 \ esac\ 13882 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 13883 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13884 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13885 test 0 -eq $? || _lt_function_replace_fail=: 13886 13887 13888 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 13889 func_basename ()\ 13890 {\ 13891 \ func_basename_result="${1##*/}"\ 13892 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 13893 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13894 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13895 test 0 -eq $? || _lt_function_replace_fail=: 13896 13897 13898 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 13899 func_dirname_and_basename ()\ 13900 {\ 13901 \ case ${1} in\ 13902 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 13903 \ * ) func_dirname_result="${3}" ;;\ 13904 \ esac\ 13905 \ func_basename_result="${1##*/}"\ 13906 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 13907 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13908 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13909 test 0 -eq $? || _lt_function_replace_fail=: 13910 13911 13912 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 13913 func_stripname ()\ 13914 {\ 13915 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 13916 \ # positional parameters, so assign one to ordinary parameter first.\ 13917 \ func_stripname_result=${3}\ 13918 \ func_stripname_result=${func_stripname_result#"${1}"}\ 13919 \ func_stripname_result=${func_stripname_result%"${2}"}\ 13920 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 13921 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13922 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13923 test 0 -eq $? || _lt_function_replace_fail=: 13924 13925 13926 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 13927 func_split_long_opt ()\ 13928 {\ 13929 \ func_split_long_opt_name=${1%%=*}\ 13930 \ func_split_long_opt_arg=${1#*=}\ 13931 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 13932 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13933 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13934 test 0 -eq $? || _lt_function_replace_fail=: 13935 13936 13937 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 13938 func_split_short_opt ()\ 13939 {\ 13940 \ func_split_short_opt_arg=${1#??}\ 13941 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 13942 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 13943 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13944 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13945 test 0 -eq $? || _lt_function_replace_fail=: 13946 13947 13948 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 13949 func_lo2o ()\ 13950 {\ 13951 \ case ${1} in\ 13952 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 13953 \ *) func_lo2o_result=${1} ;;\ 13954 \ esac\ 13955 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 13956 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13957 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13958 test 0 -eq $? || _lt_function_replace_fail=: 13959 13960 13961 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 13962 func_xform ()\ 13963 {\ 13964 func_xform_result=${1%.*}.lo\ 13965 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 13966 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13967 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13968 test 0 -eq $? || _lt_function_replace_fail=: 13969 13970 13971 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 13972 func_arith ()\ 13973 {\ 13974 func_arith_result=$(( $* ))\ 13975 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 13976 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13977 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13978 test 0 -eq $? || _lt_function_replace_fail=: 13979 13980 13981 sed -e '/^func_len ()$/,/^} # func_len /c\ 13982 func_len ()\ 13983 {\ 13984 func_len_result=${#1}\ 13985 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 13986 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13987 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13988 test 0 -eq $? || _lt_function_replace_fail=: 13989 13990 fi 13991 13992 if test x"$lt_shell_append" = xyes; then 13993 sed -e '/^func_append ()$/,/^} # func_append /c\ 13994 func_append ()\ 13995 {\ 13996 eval "${1}+=\\${2}"\ 13997 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 13998 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13999 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14000 test 0 -eq $? || _lt_function_replace_fail=: 14001 14002 14003 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 14004 func_append_quoted ()\ 14005 {\ 14006 \ func_quote_for_eval "${2}"\ 14007 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 14008 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 14009 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14010 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14011 test 0 -eq $? || _lt_function_replace_fail=: 14012 14013 14014 # Save a `func_append' function call where possible by direct use of '+=' 14015 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 14016 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14017 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14018 test 0 -eq $? || _lt_function_replace_fail=: 14019 else 14020 # Save a `func_append' function call even when '+=' is not available 14021 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 14022 && mv -f "$cfgfile.tmp" "$cfgfile" \ 14023 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 14024 test 0 -eq $? || _lt_function_replace_fail=: 14025 fi 14026 14027 if test x"$_lt_function_replace_fail" = x":"; then 14028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 14029 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 14030 fi 14031 14032 14033 mv -f "$cfgfile" "$ofile" || 14034 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14035 chmod +x "$ofile" 14036 14037 ;; 14038 14039 esac 14040 done # for ac_tag 14041 14042 14043 as_fn_exit 0 14044 _ACEOF 14045 ac_clean_files=$ac_clean_files_save 14046 14047 test $ac_write_fail = 0 || 14048 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14049 14050 14051 # configure is writing to config.log, and then calls config.status. 14052 # config.status does its own redirection, appending to config.log. 14053 # Unfortunately, on DOS this fails, as config.log is still kept open 14054 # by configure, so config.status won't be able to write to it; its 14055 # output is simply discarded. So we exec the FD to /dev/null, 14056 # effectively closing config.log, so it can be properly (re)opened and 14057 # appended to by config.status. When coming back to configure, we 14058 # need to make the FD available again. 14059 if test "$no_create" != yes; then 14060 ac_cs_success=: 14061 ac_config_status_args= 14062 test "$silent" = yes && 14063 ac_config_status_args="$ac_config_status_args --quiet" 14064 exec 5>/dev/null 14065 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14066 exec 5>>config.log 14067 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14068 # would make configure fail if this is the last instruction. 14069 $ac_cs_success || as_fn_exit 1 14070 fi 14071 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14073 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14074 fi 14075 14076