1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for psftools 1.0.13. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='psftools' 589PACKAGE_TARNAME='psftools' 590PACKAGE_VERSION='1.0.13' 591PACKAGE_STRING='psftools 1.0.13' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595# Factoring default headers for most tests. 596ac_includes_default="\ 597#include <stdio.h> 598#ifdef HAVE_SYS_TYPES_H 599# include <sys/types.h> 600#endif 601#ifdef HAVE_SYS_STAT_H 602# include <sys/stat.h> 603#endif 604#ifdef STDC_HEADERS 605# include <stdlib.h> 606# include <stddef.h> 607#else 608# ifdef HAVE_STDLIB_H 609# include <stdlib.h> 610# endif 611#endif 612#ifdef HAVE_STRING_H 613# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 614# include <memory.h> 615# endif 616# include <string.h> 617#endif 618#ifdef HAVE_STRINGS_H 619# include <strings.h> 620#endif 621#ifdef HAVE_INTTYPES_H 622# include <inttypes.h> 623#endif 624#ifdef HAVE_STDINT_H 625# include <stdint.h> 626#endif 627#ifdef HAVE_UNISTD_H 628# include <unistd.h> 629#endif" 630 631ac_subst_vars='am__EXEEXT_FALSE 632am__EXEEXT_TRUE 633LTLIBOBJS 634LIBOBJS 635CPP 636LT_SYS_LIBRARY_PATH 637OTOOL64 638OTOOL 639LIPO 640NMEDIT 641DSYMUTIL 642MANIFEST_TOOL 643RANLIB 644ac_ct_AR 645AR 646DLLTOOL 647OBJDUMP 648LN_S 649NM 650ac_ct_DUMPBIN 651DUMPBIN 652LD 653FGREP 654EGREP 655GREP 656SED 657LIBTOOL 658am__fastdepCC_FALSE 659am__fastdepCC_TRUE 660CCDEPMODE 661am__nodep 662AMDEPBACKSLASH 663AMDEP_FALSE 664AMDEP_TRUE 665am__quote 666am__include 667DEPDIR 668OBJEXT 669EXEEXT 670ac_ct_CC 671CPPFLAGS 672LDFLAGS 673CFLAGS 674CC 675AM_BACKSLASH 676AM_DEFAULT_VERBOSITY 677AM_DEFAULT_V 678AM_V 679am__untar 680am__tar 681AMTAR 682am__leading_dot 683SET_MAKE 684AWK 685mkdir_p 686MKDIR_P 687INSTALL_STRIP_PROGRAM 688STRIP 689install_sh 690MAKEINFO 691AUTOHEADER 692AUTOMAKE 693AUTOCONF 694ACLOCAL 695VERSION 696PACKAGE 697CYGPATH_W 698am__isrc 699INSTALL_DATA 700INSTALL_SCRIPT 701INSTALL_PROGRAM 702target_os 703target_vendor 704target_cpu 705target 706host_os 707host_vendor 708host_cpu 709host 710build_os 711build_vendor 712build_cpu 713build 714target_alias 715host_alias 716build_alias 717LIBS 718ECHO_T 719ECHO_N 720ECHO_C 721DEFS 722mandir 723localedir 724libdir 725psdir 726pdfdir 727dvidir 728htmldir 729infodir 730docdir 731oldincludedir 732includedir 733runstatedir 734localstatedir 735sharedstatedir 736sysconfdir 737datadir 738datarootdir 739libexecdir 740sbindir 741bindir 742program_transform_name 743prefix 744exec_prefix 745PACKAGE_URL 746PACKAGE_BUGREPORT 747PACKAGE_STRING 748PACKAGE_VERSION 749PACKAGE_TARNAME 750PACKAGE_NAME 751PATH_SEPARATOR 752SHELL' 753ac_subst_files='' 754ac_user_opts=' 755enable_option_checking 756enable_silent_rules 757enable_dependency_tracking 758enable_shared 759enable_static 760with_pic 761enable_fast_install 762with_aix_soname 763with_gnu_ld 764with_sysroot 765enable_libtool_lock 766' 767 ac_precious_vars='build_alias 768host_alias 769target_alias 770CC 771CFLAGS 772LDFLAGS 773LIBS 774CPPFLAGS 775LT_SYS_LIBRARY_PATH 776CPP' 777 778 779# Initialize some variables set by options. 780ac_init_help= 781ac_init_version=false 782ac_unrecognized_opts= 783ac_unrecognized_sep= 784# The variables have the same names as the options, with 785# dashes changed to underlines. 786cache_file=/dev/null 787exec_prefix=NONE 788no_create= 789no_recursion= 790prefix=NONE 791program_prefix=NONE 792program_suffix=NONE 793program_transform_name=s,x,x, 794silent= 795site= 796srcdir= 797verbose= 798x_includes=NONE 799x_libraries=NONE 800 801# Installation directory options. 802# These are left unexpanded so users can "make install exec_prefix=/foo" 803# and all the variables that are supposed to be based on exec_prefix 804# by default will actually change. 805# Use braces instead of parens because sh, perl, etc. also accept them. 806# (The list follows the same order as the GNU Coding Standards.) 807bindir='${exec_prefix}/bin' 808sbindir='${exec_prefix}/sbin' 809libexecdir='${exec_prefix}/libexec' 810datarootdir='${prefix}/share' 811datadir='${datarootdir}' 812sysconfdir='${prefix}/etc' 813sharedstatedir='${prefix}/com' 814localstatedir='${prefix}/var' 815runstatedir='${localstatedir}/run' 816includedir='${prefix}/include' 817oldincludedir='/usr/include' 818docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 819infodir='${datarootdir}/info' 820htmldir='${docdir}' 821dvidir='${docdir}' 822pdfdir='${docdir}' 823psdir='${docdir}' 824libdir='${exec_prefix}/lib' 825localedir='${datarootdir}/locale' 826mandir='${datarootdir}/man' 827 828ac_prev= 829ac_dashdash= 830for ac_option 831do 832 # If the previous option needs an argument, assign it. 833 if test -n "$ac_prev"; then 834 eval $ac_prev=\$ac_option 835 ac_prev= 836 continue 837 fi 838 839 case $ac_option in 840 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 841 *=) ac_optarg= ;; 842 *) ac_optarg=yes ;; 843 esac 844 845 # Accept the important Cygnus configure options, so we can diagnose typos. 846 847 case $ac_dashdash$ac_option in 848 --) 849 ac_dashdash=yes ;; 850 851 -bindir | --bindir | --bindi | --bind | --bin | --bi) 852 ac_prev=bindir ;; 853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 854 bindir=$ac_optarg ;; 855 856 -build | --build | --buil | --bui | --bu) 857 ac_prev=build_alias ;; 858 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 859 build_alias=$ac_optarg ;; 860 861 -cache-file | --cache-file | --cache-fil | --cache-fi \ 862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 863 ac_prev=cache_file ;; 864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 866 cache_file=$ac_optarg ;; 867 868 --config-cache | -C) 869 cache_file=config.cache ;; 870 871 -datadir | --datadir | --datadi | --datad) 872 ac_prev=datadir ;; 873 -datadir=* | --datadir=* | --datadi=* | --datad=*) 874 datadir=$ac_optarg ;; 875 876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 877 | --dataroo | --dataro | --datar) 878 ac_prev=datarootdir ;; 879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 881 datarootdir=$ac_optarg ;; 882 883 -disable-* | --disable-*) 884 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 885 # Reject names that are not valid shell variable names. 886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 887 as_fn_error $? "invalid feature name: $ac_useropt" 888 ac_useropt_orig=$ac_useropt 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 890 case $ac_user_opts in 891 *" 892"enable_$ac_useropt" 893"*) ;; 894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 895 ac_unrecognized_sep=', ';; 896 esac 897 eval enable_$ac_useropt=no ;; 898 899 -docdir | --docdir | --docdi | --doc | --do) 900 ac_prev=docdir ;; 901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 902 docdir=$ac_optarg ;; 903 904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 905 ac_prev=dvidir ;; 906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 907 dvidir=$ac_optarg ;; 908 909 -enable-* | --enable-*) 910 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 911 # Reject names that are not valid shell variable names. 912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 913 as_fn_error $? "invalid feature name: $ac_useropt" 914 ac_useropt_orig=$ac_useropt 915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 916 case $ac_user_opts in 917 *" 918"enable_$ac_useropt" 919"*) ;; 920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 921 ac_unrecognized_sep=', ';; 922 esac 923 eval enable_$ac_useropt=\$ac_optarg ;; 924 925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 926 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 927 | --exec | --exe | --ex) 928 ac_prev=exec_prefix ;; 929 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 930 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 931 | --exec=* | --exe=* | --ex=*) 932 exec_prefix=$ac_optarg ;; 933 934 -gas | --gas | --ga | --g) 935 # Obsolete; use --with-gas. 936 with_gas=yes ;; 937 938 -help | --help | --hel | --he | -h) 939 ac_init_help=long ;; 940 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 941 ac_init_help=recursive ;; 942 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 943 ac_init_help=short ;; 944 945 -host | --host | --hos | --ho) 946 ac_prev=host_alias ;; 947 -host=* | --host=* | --hos=* | --ho=*) 948 host_alias=$ac_optarg ;; 949 950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 951 ac_prev=htmldir ;; 952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 953 | --ht=*) 954 htmldir=$ac_optarg ;; 955 956 -includedir | --includedir | --includedi | --included | --include \ 957 | --includ | --inclu | --incl | --inc) 958 ac_prev=includedir ;; 959 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 960 | --includ=* | --inclu=* | --incl=* | --inc=*) 961 includedir=$ac_optarg ;; 962 963 -infodir | --infodir | --infodi | --infod | --info | --inf) 964 ac_prev=infodir ;; 965 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 966 infodir=$ac_optarg ;; 967 968 -libdir | --libdir | --libdi | --libd) 969 ac_prev=libdir ;; 970 -libdir=* | --libdir=* | --libdi=* | --libd=*) 971 libdir=$ac_optarg ;; 972 973 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 974 | --libexe | --libex | --libe) 975 ac_prev=libexecdir ;; 976 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 977 | --libexe=* | --libex=* | --libe=*) 978 libexecdir=$ac_optarg ;; 979 980 -localedir | --localedir | --localedi | --localed | --locale) 981 ac_prev=localedir ;; 982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 983 localedir=$ac_optarg ;; 984 985 -localstatedir | --localstatedir | --localstatedi | --localstated \ 986 | --localstate | --localstat | --localsta | --localst | --locals) 987 ac_prev=localstatedir ;; 988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 990 localstatedir=$ac_optarg ;; 991 992 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 993 ac_prev=mandir ;; 994 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 995 mandir=$ac_optarg ;; 996 997 -nfp | --nfp | --nf) 998 # Obsolete; use --without-fp. 999 with_fp=no ;; 1000 1001 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1002 | --no-cr | --no-c | -n) 1003 no_create=yes ;; 1004 1005 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1006 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1007 no_recursion=yes ;; 1008 1009 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1010 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1011 | --oldin | --oldi | --old | --ol | --o) 1012 ac_prev=oldincludedir ;; 1013 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1014 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1015 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1016 oldincludedir=$ac_optarg ;; 1017 1018 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1019 ac_prev=prefix ;; 1020 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1021 prefix=$ac_optarg ;; 1022 1023 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1024 | --program-pre | --program-pr | --program-p) 1025 ac_prev=program_prefix ;; 1026 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1027 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1028 program_prefix=$ac_optarg ;; 1029 1030 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1031 | --program-suf | --program-su | --program-s) 1032 ac_prev=program_suffix ;; 1033 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1034 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1035 program_suffix=$ac_optarg ;; 1036 1037 -program-transform-name | --program-transform-name \ 1038 | --program-transform-nam | --program-transform-na \ 1039 | --program-transform-n | --program-transform- \ 1040 | --program-transform | --program-transfor \ 1041 | --program-transfo | --program-transf \ 1042 | --program-trans | --program-tran \ 1043 | --progr-tra | --program-tr | --program-t) 1044 ac_prev=program_transform_name ;; 1045 -program-transform-name=* | --program-transform-name=* \ 1046 | --program-transform-nam=* | --program-transform-na=* \ 1047 | --program-transform-n=* | --program-transform-=* \ 1048 | --program-transform=* | --program-transfor=* \ 1049 | --program-transfo=* | --program-transf=* \ 1050 | --program-trans=* | --program-tran=* \ 1051 | --progr-tra=* | --program-tr=* | --program-t=*) 1052 program_transform_name=$ac_optarg ;; 1053 1054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1055 ac_prev=pdfdir ;; 1056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1057 pdfdir=$ac_optarg ;; 1058 1059 -psdir | --psdir | --psdi | --psd | --ps) 1060 ac_prev=psdir ;; 1061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1062 psdir=$ac_optarg ;; 1063 1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1065 | -silent | --silent | --silen | --sile | --sil) 1066 silent=yes ;; 1067 1068 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1069 | --runstate | --runstat | --runsta | --runst | --runs \ 1070 | --run | --ru | --r) 1071 ac_prev=runstatedir ;; 1072 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1073 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1074 | --run=* | --ru=* | --r=*) 1075 runstatedir=$ac_optarg ;; 1076 1077 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1078 ac_prev=sbindir ;; 1079 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1080 | --sbi=* | --sb=*) 1081 sbindir=$ac_optarg ;; 1082 1083 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1084 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1085 | --sharedst | --shareds | --shared | --share | --shar \ 1086 | --sha | --sh) 1087 ac_prev=sharedstatedir ;; 1088 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1089 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1090 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1091 | --sha=* | --sh=*) 1092 sharedstatedir=$ac_optarg ;; 1093 1094 -site | --site | --sit) 1095 ac_prev=site ;; 1096 -site=* | --site=* | --sit=*) 1097 site=$ac_optarg ;; 1098 1099 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1100 ac_prev=srcdir ;; 1101 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1102 srcdir=$ac_optarg ;; 1103 1104 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1105 | --syscon | --sysco | --sysc | --sys | --sy) 1106 ac_prev=sysconfdir ;; 1107 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1108 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1109 sysconfdir=$ac_optarg ;; 1110 1111 -target | --target | --targe | --targ | --tar | --ta | --t) 1112 ac_prev=target_alias ;; 1113 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1114 target_alias=$ac_optarg ;; 1115 1116 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1117 verbose=yes ;; 1118 1119 -version | --version | --versio | --versi | --vers | -V) 1120 ac_init_version=: ;; 1121 1122 -with-* | --with-*) 1123 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1124 # Reject names that are not valid shell variable names. 1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1126 as_fn_error $? "invalid package name: $ac_useropt" 1127 ac_useropt_orig=$ac_useropt 1128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1129 case $ac_user_opts in 1130 *" 1131"with_$ac_useropt" 1132"*) ;; 1133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1134 ac_unrecognized_sep=', ';; 1135 esac 1136 eval with_$ac_useropt=\$ac_optarg ;; 1137 1138 -without-* | --without-*) 1139 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1140 # Reject names that are not valid shell variable names. 1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1142 as_fn_error $? "invalid package name: $ac_useropt" 1143 ac_useropt_orig=$ac_useropt 1144 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1145 case $ac_user_opts in 1146 *" 1147"with_$ac_useropt" 1148"*) ;; 1149 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1150 ac_unrecognized_sep=', ';; 1151 esac 1152 eval with_$ac_useropt=no ;; 1153 1154 --x) 1155 # Obsolete; use --with-x. 1156 with_x=yes ;; 1157 1158 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1159 | --x-incl | --x-inc | --x-in | --x-i) 1160 ac_prev=x_includes ;; 1161 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1162 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1163 x_includes=$ac_optarg ;; 1164 1165 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1166 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1167 ac_prev=x_libraries ;; 1168 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1169 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1170 x_libraries=$ac_optarg ;; 1171 1172 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1173Try \`$0 --help' for more information" 1174 ;; 1175 1176 *=*) 1177 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1178 # Reject names that are not valid shell variable names. 1179 case $ac_envvar in #( 1180 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1181 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1182 esac 1183 eval $ac_envvar=\$ac_optarg 1184 export $ac_envvar ;; 1185 1186 *) 1187 # FIXME: should be removed in autoconf 3.0. 1188 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1190 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1191 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1192 ;; 1193 1194 esac 1195done 1196 1197if test -n "$ac_prev"; then 1198 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1199 as_fn_error $? "missing argument to $ac_option" 1200fi 1201 1202if test -n "$ac_unrecognized_opts"; then 1203 case $enable_option_checking in 1204 no) ;; 1205 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1207 esac 1208fi 1209 1210# Check all directory arguments for consistency. 1211for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1212 datadir sysconfdir sharedstatedir localstatedir includedir \ 1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1214 libdir localedir mandir runstatedir 1215do 1216 eval ac_val=\$$ac_var 1217 # Remove trailing slashes. 1218 case $ac_val in 1219 */ ) 1220 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1221 eval $ac_var=\$ac_val;; 1222 esac 1223 # Be sure to have absolute directory names. 1224 case $ac_val in 1225 [\\/$]* | ?:[\\/]* ) continue;; 1226 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1227 esac 1228 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1229done 1230 1231# There might be people who depend on the old broken behavior: `$host' 1232# used to hold the argument of --host etc. 1233# FIXME: To remove some day. 1234build=$build_alias 1235host=$host_alias 1236target=$target_alias 1237 1238# FIXME: To remove some day. 1239if test "x$host_alias" != x; then 1240 if test "x$build_alias" = x; then 1241 cross_compiling=maybe 1242 elif test "x$build_alias" != "x$host_alias"; then 1243 cross_compiling=yes 1244 fi 1245fi 1246 1247ac_tool_prefix= 1248test -n "$host_alias" && ac_tool_prefix=$host_alias- 1249 1250test "$silent" = yes && exec 6>/dev/null 1251 1252 1253ac_pwd=`pwd` && test -n "$ac_pwd" && 1254ac_ls_di=`ls -di .` && 1255ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1256 as_fn_error $? "working directory cannot be determined" 1257test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1258 as_fn_error $? "pwd does not report name of working directory" 1259 1260 1261# Find the source files, if location was not specified. 1262if test -z "$srcdir"; then 1263 ac_srcdir_defaulted=yes 1264 # Try the directory containing this script, then the parent directory. 1265 ac_confdir=`$as_dirname -- "$as_myself" || 1266$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1267 X"$as_myself" : 'X\(//\)[^/]' \| \ 1268 X"$as_myself" : 'X\(//\)$' \| \ 1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1270$as_echo X"$as_myself" | 1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)[^/].*/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\/\)$/{ 1280 s//\1/ 1281 q 1282 } 1283 /^X\(\/\).*/{ 1284 s//\1/ 1285 q 1286 } 1287 s/.*/./; q'` 1288 srcdir=$ac_confdir 1289 if test ! -r "$srcdir/$ac_unique_file"; then 1290 srcdir=.. 1291 fi 1292else 1293 ac_srcdir_defaulted=no 1294fi 1295if test ! -r "$srcdir/$ac_unique_file"; then 1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1297 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1298fi 1299ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1300ac_abs_confdir=`( 1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1302 pwd)` 1303# When building in place, set srcdir=. 1304if test "$ac_abs_confdir" = "$ac_pwd"; then 1305 srcdir=. 1306fi 1307# Remove unnecessary trailing slashes from srcdir. 1308# Double slashes in file names in object file debugging info 1309# mess up M-x gdb in Emacs. 1310case $srcdir in 1311*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1312esac 1313for ac_var in $ac_precious_vars; do 1314 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1315 eval ac_env_${ac_var}_value=\$${ac_var} 1316 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1317 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1318done 1319 1320# 1321# Report the --help message. 1322# 1323if test "$ac_init_help" = "long"; then 1324 # Omit some internal or obsolete options to make the list less imposing. 1325 # This message is too long to be a string in the A/UX 3.1 sh. 1326 cat <<_ACEOF 1327\`configure' configures psftools 1.0.13 to adapt to many kinds of systems. 1328 1329Usage: $0 [OPTION]... [VAR=VALUE]... 1330 1331To assign environment variables (e.g., CC, CFLAGS...), specify them as 1332VAR=VALUE. See below for descriptions of some of the useful variables. 1333 1334Defaults for the options are specified in brackets. 1335 1336Configuration: 1337 -h, --help display this help and exit 1338 --help=short display options specific to this package 1339 --help=recursive display the short help of all the included packages 1340 -V, --version display version information and exit 1341 -q, --quiet, --silent do not print \`checking ...' messages 1342 --cache-file=FILE cache test results in FILE [disabled] 1343 -C, --config-cache alias for \`--cache-file=config.cache' 1344 -n, --no-create do not create output files 1345 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1346 1347Installation directories: 1348 --prefix=PREFIX install architecture-independent files in PREFIX 1349 [$ac_default_prefix] 1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1351 [PREFIX] 1352 1353By default, \`make install' will install all the files in 1354\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1355an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1356for instance \`--prefix=\$HOME'. 1357 1358For better control, use the options below. 1359 1360Fine tuning of the installation directories: 1361 --bindir=DIR user executables [EPREFIX/bin] 1362 --sbindir=DIR system admin executables [EPREFIX/sbin] 1363 --libexecdir=DIR program executables [EPREFIX/libexec] 1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1367 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1368 --libdir=DIR object code libraries [EPREFIX/lib] 1369 --includedir=DIR C header files [PREFIX/include] 1370 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1373 --infodir=DIR info documentation [DATAROOTDIR/info] 1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1375 --mandir=DIR man documentation [DATAROOTDIR/man] 1376 --docdir=DIR documentation root [DATAROOTDIR/doc/psftools] 1377 --htmldir=DIR html documentation [DOCDIR] 1378 --dvidir=DIR dvi documentation [DOCDIR] 1379 --pdfdir=DIR pdf documentation [DOCDIR] 1380 --psdir=DIR ps documentation [DOCDIR] 1381_ACEOF 1382 1383 cat <<\_ACEOF 1384 1385Program names: 1386 --program-prefix=PREFIX prepend PREFIX to installed program names 1387 --program-suffix=SUFFIX append SUFFIX to installed program names 1388 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1389 1390System types: 1391 --build=BUILD configure for building on BUILD [guessed] 1392 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1393 --target=TARGET configure for building compilers for TARGET [HOST] 1394_ACEOF 1395fi 1396 1397if test -n "$ac_init_help"; then 1398 case $ac_init_help in 1399 short | recursive ) echo "Configuration of psftools 1.0.13:";; 1400 esac 1401 cat <<\_ACEOF 1402 1403Optional Features: 1404 --disable-option-checking ignore unrecognized --enable/--with options 1405 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1406 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1407 --enable-silent-rules less verbose build output (undo: "make V=1") 1408 --disable-silent-rules verbose build output (undo: "make V=0") 1409 --enable-dependency-tracking 1410 do not reject slow dependency extractors 1411 --disable-dependency-tracking 1412 speeds up one-time build 1413 --enable-shared[=PKGS] build shared libraries [default=yes] 1414 --enable-static[=PKGS] build static libraries [default=yes] 1415 --enable-fast-install[=PKGS] 1416 optimize for fast installation [default=yes] 1417 --disable-libtool-lock avoid locking (might break parallel builds) 1418 1419Optional Packages: 1420 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1421 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1422 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1423 both] 1424 --with-aix-soname=aix|svr4|both 1425 shared library versioning (aka "SONAME") variant to 1426 provide on AIX, [default=aix]. 1427 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1428 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1429 compiler's sysroot if not specified). 1430 1431Some influential environment variables: 1432 CC C compiler command 1433 CFLAGS C compiler flags 1434 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1435 nonstandard directory <lib dir> 1436 LIBS libraries to pass to the linker, e.g. -l<library> 1437 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1438 you have headers in a nonstandard directory <include dir> 1439 LT_SYS_LIBRARY_PATH 1440 User-defined run-time library search path. 1441 CPP C preprocessor 1442 1443Use these variables to override the choices made by `configure' or to help 1444it to find libraries and programs with nonstandard names/locations. 1445 1446Report bugs to the package provider. 1447_ACEOF 1448ac_status=$? 1449fi 1450 1451if test "$ac_init_help" = "recursive"; then 1452 # If there are subdirs, report their specific --help. 1453 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1454 test -d "$ac_dir" || 1455 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1456 continue 1457 ac_builddir=. 1458 1459case "$ac_dir" in 1460.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1461*) 1462 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1463 # A ".." for each directory in $ac_dir_suffix. 1464 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1465 case $ac_top_builddir_sub in 1466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1468 esac ;; 1469esac 1470ac_abs_top_builddir=$ac_pwd 1471ac_abs_builddir=$ac_pwd$ac_dir_suffix 1472# for backward compatibility: 1473ac_top_builddir=$ac_top_build_prefix 1474 1475case $srcdir in 1476 .) # We are building in place. 1477 ac_srcdir=. 1478 ac_top_srcdir=$ac_top_builddir_sub 1479 ac_abs_top_srcdir=$ac_pwd ;; 1480 [\\/]* | ?:[\\/]* ) # Absolute name. 1481 ac_srcdir=$srcdir$ac_dir_suffix; 1482 ac_top_srcdir=$srcdir 1483 ac_abs_top_srcdir=$srcdir ;; 1484 *) # Relative name. 1485 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1486 ac_top_srcdir=$ac_top_build_prefix$srcdir 1487 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1488esac 1489ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1490 1491 cd "$ac_dir" || { ac_status=$?; continue; } 1492 # Check for guested configure. 1493 if test -f "$ac_srcdir/configure.gnu"; then 1494 echo && 1495 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1496 elif test -f "$ac_srcdir/configure"; then 1497 echo && 1498 $SHELL "$ac_srcdir/configure" --help=recursive 1499 else 1500 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1501 fi || ac_status=$? 1502 cd "$ac_pwd" || { ac_status=$?; break; } 1503 done 1504fi 1505 1506test -n "$ac_init_help" && exit $ac_status 1507if $ac_init_version; then 1508 cat <<\_ACEOF 1509psftools configure 1.0.13 1510generated by GNU Autoconf 2.69 1511 1512Copyright (C) 2012 Free Software Foundation, Inc. 1513This configure script is free software; the Free Software Foundation 1514gives unlimited permission to copy, distribute and modify it. 1515_ACEOF 1516 exit 1517fi 1518 1519## ------------------------ ## 1520## Autoconf initialization. ## 1521## ------------------------ ## 1522 1523# ac_fn_c_try_compile LINENO 1524# -------------------------- 1525# Try to compile conftest.$ac_ext, and return whether this succeeded. 1526ac_fn_c_try_compile () 1527{ 1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1529 rm -f conftest.$ac_objext 1530 if { { ac_try="$ac_compile" 1531case "(($ac_try" in 1532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1533 *) ac_try_echo=$ac_try;; 1534esac 1535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1536$as_echo "$ac_try_echo"; } >&5 1537 (eval "$ac_compile") 2>conftest.err 1538 ac_status=$? 1539 if test -s conftest.err; then 1540 grep -v '^ *+' conftest.err >conftest.er1 1541 cat conftest.er1 >&5 1542 mv -f conftest.er1 conftest.err 1543 fi 1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1545 test $ac_status = 0; } && { 1546 test -z "$ac_c_werror_flag" || 1547 test ! -s conftest.err 1548 } && test -s conftest.$ac_objext; then : 1549 ac_retval=0 1550else 1551 $as_echo "$as_me: failed program was:" >&5 1552sed 's/^/| /' conftest.$ac_ext >&5 1553 1554 ac_retval=1 1555fi 1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1557 as_fn_set_status $ac_retval 1558 1559} # ac_fn_c_try_compile 1560 1561# ac_fn_c_try_link LINENO 1562# ----------------------- 1563# Try to link conftest.$ac_ext, and return whether this succeeded. 1564ac_fn_c_try_link () 1565{ 1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1567 rm -f conftest.$ac_objext conftest$ac_exeext 1568 if { { ac_try="$ac_link" 1569case "(($ac_try" in 1570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1571 *) ac_try_echo=$ac_try;; 1572esac 1573eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1574$as_echo "$ac_try_echo"; } >&5 1575 (eval "$ac_link") 2>conftest.err 1576 ac_status=$? 1577 if test -s conftest.err; then 1578 grep -v '^ *+' conftest.err >conftest.er1 1579 cat conftest.er1 >&5 1580 mv -f conftest.er1 conftest.err 1581 fi 1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1583 test $ac_status = 0; } && { 1584 test -z "$ac_c_werror_flag" || 1585 test ! -s conftest.err 1586 } && test -s conftest$ac_exeext && { 1587 test "$cross_compiling" = yes || 1588 test -x conftest$ac_exeext 1589 }; then : 1590 ac_retval=0 1591else 1592 $as_echo "$as_me: failed program was:" >&5 1593sed 's/^/| /' conftest.$ac_ext >&5 1594 1595 ac_retval=1 1596fi 1597 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1598 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1599 # interfere with the next link command; also delete a directory that is 1600 # left behind by Apple's compiler. We do this before executing the actions. 1601 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1603 as_fn_set_status $ac_retval 1604 1605} # ac_fn_c_try_link 1606 1607# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1608# ------------------------------------------------------- 1609# Tests whether HEADER exists and can be compiled using the include files in 1610# INCLUDES, setting the cache variable VAR accordingly. 1611ac_fn_c_check_header_compile () 1612{ 1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1615$as_echo_n "checking for $2... " >&6; } 1616if eval \${$3+:} false; then : 1617 $as_echo_n "(cached) " >&6 1618else 1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1620/* end confdefs.h. */ 1621$4 1622#include <$2> 1623_ACEOF 1624if ac_fn_c_try_compile "$LINENO"; then : 1625 eval "$3=yes" 1626else 1627 eval "$3=no" 1628fi 1629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1630fi 1631eval ac_res=\$$3 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1633$as_echo "$ac_res" >&6; } 1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1635 1636} # ac_fn_c_check_header_compile 1637 1638# ac_fn_c_try_cpp LINENO 1639# ---------------------- 1640# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1641ac_fn_c_try_cpp () 1642{ 1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1644 if { { ac_try="$ac_cpp conftest.$ac_ext" 1645case "(($ac_try" in 1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1647 *) ac_try_echo=$ac_try;; 1648esac 1649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1650$as_echo "$ac_try_echo"; } >&5 1651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1652 ac_status=$? 1653 if test -s conftest.err; then 1654 grep -v '^ *+' conftest.err >conftest.er1 1655 cat conftest.er1 >&5 1656 mv -f conftest.er1 conftest.err 1657 fi 1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1659 test $ac_status = 0; } > conftest.i && { 1660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1661 test ! -s conftest.err 1662 }; then : 1663 ac_retval=0 1664else 1665 $as_echo "$as_me: failed program was:" >&5 1666sed 's/^/| /' conftest.$ac_ext >&5 1667 1668 ac_retval=1 1669fi 1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1671 as_fn_set_status $ac_retval 1672 1673} # ac_fn_c_try_cpp 1674 1675# ac_fn_c_try_run LINENO 1676# ---------------------- 1677# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1678# that executables *can* be run. 1679ac_fn_c_try_run () 1680{ 1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1682 if { { ac_try="$ac_link" 1683case "(($ac_try" in 1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1685 *) ac_try_echo=$ac_try;; 1686esac 1687eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1688$as_echo "$ac_try_echo"; } >&5 1689 (eval "$ac_link") 2>&5 1690 ac_status=$? 1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1692 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1693 { { case "(($ac_try" in 1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1695 *) ac_try_echo=$ac_try;; 1696esac 1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1698$as_echo "$ac_try_echo"; } >&5 1699 (eval "$ac_try") 2>&5 1700 ac_status=$? 1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1702 test $ac_status = 0; }; }; then : 1703 ac_retval=0 1704else 1705 $as_echo "$as_me: program exited with status $ac_status" >&5 1706 $as_echo "$as_me: failed program was:" >&5 1707sed 's/^/| /' conftest.$ac_ext >&5 1708 1709 ac_retval=$ac_status 1710fi 1711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1713 as_fn_set_status $ac_retval 1714 1715} # ac_fn_c_try_run 1716 1717# ac_fn_c_check_func LINENO FUNC VAR 1718# ---------------------------------- 1719# Tests whether FUNC exists, setting the cache variable VAR accordingly 1720ac_fn_c_check_func () 1721{ 1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1724$as_echo_n "checking for $2... " >&6; } 1725if eval \${$3+:} false; then : 1726 $as_echo_n "(cached) " >&6 1727else 1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1729/* end confdefs.h. */ 1730/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1731 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1732#define $2 innocuous_$2 1733 1734/* System header to define __stub macros and hopefully few prototypes, 1735 which can conflict with char $2 (); below. 1736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1737 <limits.h> exists even on freestanding compilers. */ 1738 1739#ifdef __STDC__ 1740# include <limits.h> 1741#else 1742# include <assert.h> 1743#endif 1744 1745#undef $2 1746 1747/* Override any GCC internal prototype to avoid an error. 1748 Use char because int might match the return type of a GCC 1749 builtin and then its argument prototype would still apply. */ 1750#ifdef __cplusplus 1751extern "C" 1752#endif 1753char $2 (); 1754/* The GNU C library defines this for functions which it implements 1755 to always fail with ENOSYS. Some functions are actually named 1756 something starting with __ and the normal name is an alias. */ 1757#if defined __stub_$2 || defined __stub___$2 1758choke me 1759#endif 1760 1761int 1762main () 1763{ 1764return $2 (); 1765 ; 1766 return 0; 1767} 1768_ACEOF 1769if ac_fn_c_try_link "$LINENO"; then : 1770 eval "$3=yes" 1771else 1772 eval "$3=no" 1773fi 1774rm -f core conftest.err conftest.$ac_objext \ 1775 conftest$ac_exeext conftest.$ac_ext 1776fi 1777eval ac_res=\$$3 1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1779$as_echo "$ac_res" >&6; } 1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1781 1782} # ac_fn_c_check_func 1783 1784# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1785# ------------------------------------------------------- 1786# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1787# the include files in INCLUDES and setting the cache variable VAR 1788# accordingly. 1789ac_fn_c_check_header_mongrel () 1790{ 1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1792 if eval \${$3+:} false; then : 1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1794$as_echo_n "checking for $2... " >&6; } 1795if eval \${$3+:} false; then : 1796 $as_echo_n "(cached) " >&6 1797fi 1798eval ac_res=\$$3 1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1800$as_echo "$ac_res" >&6; } 1801else 1802 # Is the header compilable? 1803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1804$as_echo_n "checking $2 usability... " >&6; } 1805cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1806/* end confdefs.h. */ 1807$4 1808#include <$2> 1809_ACEOF 1810if ac_fn_c_try_compile "$LINENO"; then : 1811 ac_header_compiler=yes 1812else 1813 ac_header_compiler=no 1814fi 1815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1817$as_echo "$ac_header_compiler" >&6; } 1818 1819# Is the header present? 1820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1821$as_echo_n "checking $2 presence... " >&6; } 1822cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1823/* end confdefs.h. */ 1824#include <$2> 1825_ACEOF 1826if ac_fn_c_try_cpp "$LINENO"; then : 1827 ac_header_preproc=yes 1828else 1829 ac_header_preproc=no 1830fi 1831rm -f conftest.err conftest.i conftest.$ac_ext 1832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1833$as_echo "$ac_header_preproc" >&6; } 1834 1835# So? What about this header? 1836case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1837 yes:no: ) 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1839$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1841$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1842 ;; 1843 no:yes:* ) 1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1845$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1847$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1849$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1851$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1853$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1854 ;; 1855esac 1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1857$as_echo_n "checking for $2... " >&6; } 1858if eval \${$3+:} false; then : 1859 $as_echo_n "(cached) " >&6 1860else 1861 eval "$3=\$ac_header_compiler" 1862fi 1863eval ac_res=\$$3 1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1865$as_echo "$ac_res" >&6; } 1866fi 1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1868 1869} # ac_fn_c_check_header_mongrel 1870 1871# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1872# ------------------------------------------- 1873# Tests whether TYPE exists after having included INCLUDES, setting cache 1874# variable VAR accordingly. 1875ac_fn_c_check_type () 1876{ 1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1879$as_echo_n "checking for $2... " >&6; } 1880if eval \${$3+:} false; then : 1881 $as_echo_n "(cached) " >&6 1882else 1883 eval "$3=no" 1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1885/* end confdefs.h. */ 1886$4 1887int 1888main () 1889{ 1890if (sizeof ($2)) 1891 return 0; 1892 ; 1893 return 0; 1894} 1895_ACEOF 1896if ac_fn_c_try_compile "$LINENO"; then : 1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1898/* end confdefs.h. */ 1899$4 1900int 1901main () 1902{ 1903if (sizeof (($2))) 1904 return 0; 1905 ; 1906 return 0; 1907} 1908_ACEOF 1909if ac_fn_c_try_compile "$LINENO"; then : 1910 1911else 1912 eval "$3=yes" 1913fi 1914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1915fi 1916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1917fi 1918eval ac_res=\$$3 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1920$as_echo "$ac_res" >&6; } 1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1922 1923} # ac_fn_c_check_type 1924cat >config.log <<_ACEOF 1925This file contains any messages produced by compilers while 1926running configure, to aid debugging if configure makes a mistake. 1927 1928It was created by psftools $as_me 1.0.13, which was 1929generated by GNU Autoconf 2.69. Invocation command line was 1930 1931 $ $0 $@ 1932 1933_ACEOF 1934exec 5>>config.log 1935{ 1936cat <<_ASUNAME 1937## --------- ## 1938## Platform. ## 1939## --------- ## 1940 1941hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1942uname -m = `(uname -m) 2>/dev/null || echo unknown` 1943uname -r = `(uname -r) 2>/dev/null || echo unknown` 1944uname -s = `(uname -s) 2>/dev/null || echo unknown` 1945uname -v = `(uname -v) 2>/dev/null || echo unknown` 1946 1947/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1948/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1949 1950/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1951/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1952/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1953/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1954/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1955/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1956/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1957 1958_ASUNAME 1959 1960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1961for as_dir in $PATH 1962do 1963 IFS=$as_save_IFS 1964 test -z "$as_dir" && as_dir=. 1965 $as_echo "PATH: $as_dir" 1966 done 1967IFS=$as_save_IFS 1968 1969} >&5 1970 1971cat >&5 <<_ACEOF 1972 1973 1974## ----------- ## 1975## Core tests. ## 1976## ----------- ## 1977 1978_ACEOF 1979 1980 1981# Keep a trace of the command line. 1982# Strip out --no-create and --no-recursion so they do not pile up. 1983# Strip out --silent because we don't want to record it for future runs. 1984# Also quote any args containing shell meta-characters. 1985# Make two passes to allow for proper duplicate-argument suppression. 1986ac_configure_args= 1987ac_configure_args0= 1988ac_configure_args1= 1989ac_must_keep_next=false 1990for ac_pass in 1 2 1991do 1992 for ac_arg 1993 do 1994 case $ac_arg in 1995 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1997 | -silent | --silent | --silen | --sile | --sil) 1998 continue ;; 1999 *\'*) 2000 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2001 esac 2002 case $ac_pass in 2003 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2004 2) 2005 as_fn_append ac_configure_args1 " '$ac_arg'" 2006 if test $ac_must_keep_next = true; then 2007 ac_must_keep_next=false # Got value, back to normal. 2008 else 2009 case $ac_arg in 2010 *=* | --config-cache | -C | -disable-* | --disable-* \ 2011 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2012 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2013 | -with-* | --with-* | -without-* | --without-* | --x) 2014 case "$ac_configure_args0 " in 2015 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2016 esac 2017 ;; 2018 -* ) ac_must_keep_next=true ;; 2019 esac 2020 fi 2021 as_fn_append ac_configure_args " '$ac_arg'" 2022 ;; 2023 esac 2024 done 2025done 2026{ ac_configure_args0=; unset ac_configure_args0;} 2027{ ac_configure_args1=; unset ac_configure_args1;} 2028 2029# When interrupted or exit'd, cleanup temporary files, and complete 2030# config.log. We remove comments because anyway the quotes in there 2031# would cause problems or look ugly. 2032# WARNING: Use '\'' to represent an apostrophe within the trap. 2033# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2034trap 'exit_status=$? 2035 # Save into config.log some information that might help in debugging. 2036 { 2037 echo 2038 2039 $as_echo "## ---------------- ## 2040## Cache variables. ## 2041## ---------------- ##" 2042 echo 2043 # The following way of writing the cache mishandles newlines in values, 2044( 2045 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2046 eval ac_val=\$$ac_var 2047 case $ac_val in #( 2048 *${as_nl}*) 2049 case $ac_var in #( 2050 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2051$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2052 esac 2053 case $ac_var in #( 2054 _ | IFS | as_nl) ;; #( 2055 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2056 *) { eval $ac_var=; unset $ac_var;} ;; 2057 esac ;; 2058 esac 2059 done 2060 (set) 2>&1 | 2061 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2062 *${as_nl}ac_space=\ *) 2063 sed -n \ 2064 "s/'\''/'\''\\\\'\'''\''/g; 2065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2066 ;; #( 2067 *) 2068 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2069 ;; 2070 esac | 2071 sort 2072) 2073 echo 2074 2075 $as_echo "## ----------------- ## 2076## Output variables. ## 2077## ----------------- ##" 2078 echo 2079 for ac_var in $ac_subst_vars 2080 do 2081 eval ac_val=\$$ac_var 2082 case $ac_val in 2083 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2084 esac 2085 $as_echo "$ac_var='\''$ac_val'\''" 2086 done | sort 2087 echo 2088 2089 if test -n "$ac_subst_files"; then 2090 $as_echo "## ------------------- ## 2091## File substitutions. ## 2092## ------------------- ##" 2093 echo 2094 for ac_var in $ac_subst_files 2095 do 2096 eval ac_val=\$$ac_var 2097 case $ac_val in 2098 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2099 esac 2100 $as_echo "$ac_var='\''$ac_val'\''" 2101 done | sort 2102 echo 2103 fi 2104 2105 if test -s confdefs.h; then 2106 $as_echo "## ----------- ## 2107## confdefs.h. ## 2108## ----------- ##" 2109 echo 2110 cat confdefs.h 2111 echo 2112 fi 2113 test "$ac_signal" != 0 && 2114 $as_echo "$as_me: caught signal $ac_signal" 2115 $as_echo "$as_me: exit $exit_status" 2116 } >&5 2117 rm -f core *.core core.conftest.* && 2118 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2119 exit $exit_status 2120' 0 2121for ac_signal in 1 2 13 15; do 2122 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2123done 2124ac_signal=0 2125 2126# confdefs.h avoids OS command line length limits that DEFS can exceed. 2127rm -f -r conftest* confdefs.h 2128 2129$as_echo "/* confdefs.h */" > confdefs.h 2130 2131# Predefined preprocessor variables. 2132 2133cat >>confdefs.h <<_ACEOF 2134#define PACKAGE_NAME "$PACKAGE_NAME" 2135_ACEOF 2136 2137cat >>confdefs.h <<_ACEOF 2138#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2139_ACEOF 2140 2141cat >>confdefs.h <<_ACEOF 2142#define PACKAGE_VERSION "$PACKAGE_VERSION" 2143_ACEOF 2144 2145cat >>confdefs.h <<_ACEOF 2146#define PACKAGE_STRING "$PACKAGE_STRING" 2147_ACEOF 2148 2149cat >>confdefs.h <<_ACEOF 2150#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2151_ACEOF 2152 2153cat >>confdefs.h <<_ACEOF 2154#define PACKAGE_URL "$PACKAGE_URL" 2155_ACEOF 2156 2157 2158# Let the site file select an alternate cache file if it wants to. 2159# Prefer an explicitly selected file to automatically selected ones. 2160ac_site_file1=NONE 2161ac_site_file2=NONE 2162if test -n "$CONFIG_SITE"; then 2163 # We do not want a PATH search for config.site. 2164 case $CONFIG_SITE in #(( 2165 -*) ac_site_file1=./$CONFIG_SITE;; 2166 */*) ac_site_file1=$CONFIG_SITE;; 2167 *) ac_site_file1=./$CONFIG_SITE;; 2168 esac 2169elif test "x$prefix" != xNONE; then 2170 ac_site_file1=$prefix/share/config.site 2171 ac_site_file2=$prefix/etc/config.site 2172else 2173 ac_site_file1=$ac_default_prefix/share/config.site 2174 ac_site_file2=$ac_default_prefix/etc/config.site 2175fi 2176for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2177do 2178 test "x$ac_site_file" = xNONE && continue 2179 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2181$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2182 sed 's/^/| /' "$ac_site_file" >&5 2183 . "$ac_site_file" \ 2184 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2185$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2186as_fn_error $? "failed to load site script $ac_site_file 2187See \`config.log' for more details" "$LINENO" 5; } 2188 fi 2189done 2190 2191if test -r "$cache_file"; then 2192 # Some versions of bash will fail to source /dev/null (special files 2193 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2194 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2196$as_echo "$as_me: loading cache $cache_file" >&6;} 2197 case $cache_file in 2198 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2199 *) . "./$cache_file";; 2200 esac 2201 fi 2202else 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2204$as_echo "$as_me: creating cache $cache_file" >&6;} 2205 >$cache_file 2206fi 2207 2208# Check that the precious variables saved in the cache have kept the same 2209# value. 2210ac_cache_corrupted=false 2211for ac_var in $ac_precious_vars; do 2212 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2213 eval ac_new_set=\$ac_env_${ac_var}_set 2214 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2215 eval ac_new_val=\$ac_env_${ac_var}_value 2216 case $ac_old_set,$ac_new_set in 2217 set,) 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2219$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2220 ac_cache_corrupted=: ;; 2221 ,set) 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2223$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2224 ac_cache_corrupted=: ;; 2225 ,);; 2226 *) 2227 if test "x$ac_old_val" != "x$ac_new_val"; then 2228 # differences in whitespace do not lead to failure. 2229 ac_old_val_w=`echo x $ac_old_val` 2230 ac_new_val_w=`echo x $ac_new_val` 2231 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2233$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2234 ac_cache_corrupted=: 2235 else 2236 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2237$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2238 eval $ac_var=\$ac_old_val 2239 fi 2240 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2241$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2242 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2243$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2244 fi;; 2245 esac 2246 # Pass precious variables to config.status. 2247 if test "$ac_new_set" = set; then 2248 case $ac_new_val in 2249 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2250 *) ac_arg=$ac_var=$ac_new_val ;; 2251 esac 2252 case " $ac_configure_args " in 2253 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2254 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2255 esac 2256 fi 2257done 2258if $ac_cache_corrupted; then 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2260$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2262$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2263 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2264fi 2265## -------------------- ## 2266## Main body of script. ## 2267## -------------------- ## 2268 2269ac_ext=c 2270ac_cpp='$CPP $CPPFLAGS' 2271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2273ac_compiler_gnu=$ac_cv_c_compiler_gnu 2274 2275 2276ac_aux_dir= 2277for ac_dir in config "$srcdir"/config; do 2278 if test -f "$ac_dir/install-sh"; then 2279 ac_aux_dir=$ac_dir 2280 ac_install_sh="$ac_aux_dir/install-sh -c" 2281 break 2282 elif test -f "$ac_dir/install.sh"; then 2283 ac_aux_dir=$ac_dir 2284 ac_install_sh="$ac_aux_dir/install.sh -c" 2285 break 2286 elif test -f "$ac_dir/shtool"; then 2287 ac_aux_dir=$ac_dir 2288 ac_install_sh="$ac_aux_dir/shtool install -c" 2289 break 2290 fi 2291done 2292if test -z "$ac_aux_dir"; then 2293 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2294fi 2295 2296# These three variables are undocumented and unsupported, 2297# and are intended to be withdrawn in a future Autoconf release. 2298# They can cause serious problems if a builder's source tree is in a directory 2299# whose full name contains unusual characters. 2300ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2301ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2302ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2303 2304 2305 2306# Make sure we can run config.sub. 2307$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2308 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2309 2310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2311$as_echo_n "checking build system type... " >&6; } 2312if ${ac_cv_build+:} false; then : 2313 $as_echo_n "(cached) " >&6 2314else 2315 ac_build_alias=$build_alias 2316test "x$ac_build_alias" = x && 2317 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2318test "x$ac_build_alias" = x && 2319 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2320ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2321 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2322 2323fi 2324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2325$as_echo "$ac_cv_build" >&6; } 2326case $ac_cv_build in 2327*-*-*) ;; 2328*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2329esac 2330build=$ac_cv_build 2331ac_save_IFS=$IFS; IFS='-' 2332set x $ac_cv_build 2333shift 2334build_cpu=$1 2335build_vendor=$2 2336shift; shift 2337# Remember, the first character of IFS is used to create $*, 2338# except with old shells: 2339build_os=$* 2340IFS=$ac_save_IFS 2341case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2342 2343 2344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2345$as_echo_n "checking host system type... " >&6; } 2346if ${ac_cv_host+:} false; then : 2347 $as_echo_n "(cached) " >&6 2348else 2349 if test "x$host_alias" = x; then 2350 ac_cv_host=$ac_cv_build 2351else 2352 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2353 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2354fi 2355 2356fi 2357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2358$as_echo "$ac_cv_host" >&6; } 2359case $ac_cv_host in 2360*-*-*) ;; 2361*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2362esac 2363host=$ac_cv_host 2364ac_save_IFS=$IFS; IFS='-' 2365set x $ac_cv_host 2366shift 2367host_cpu=$1 2368host_vendor=$2 2369shift; shift 2370# Remember, the first character of IFS is used to create $*, 2371# except with old shells: 2372host_os=$* 2373IFS=$ac_save_IFS 2374case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2375 2376 2377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2378$as_echo_n "checking target system type... " >&6; } 2379if ${ac_cv_target+:} false; then : 2380 $as_echo_n "(cached) " >&6 2381else 2382 if test "x$target_alias" = x; then 2383 ac_cv_target=$ac_cv_host 2384else 2385 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2386 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2387fi 2388 2389fi 2390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2391$as_echo "$ac_cv_target" >&6; } 2392case $ac_cv_target in 2393*-*-*) ;; 2394*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2395esac 2396target=$ac_cv_target 2397ac_save_IFS=$IFS; IFS='-' 2398set x $ac_cv_target 2399shift 2400target_cpu=$1 2401target_vendor=$2 2402shift; shift 2403# Remember, the first character of IFS is used to create $*, 2404# except with old shells: 2405target_os=$* 2406IFS=$ac_save_IFS 2407case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2408 2409 2410# The aliases save the names the user supplied, while $host etc. 2411# will get canonicalized. 2412test -n "$target_alias" && 2413 test "$program_prefix$program_suffix$program_transform_name" = \ 2414 NONENONEs,x,x, && 2415 program_prefix=${target_alias}- 2416 2417am__api_version='1.15' 2418 2419# Find a good install program. We prefer a C program (faster), 2420# so one script is as good as another. But avoid the broken or 2421# incompatible versions: 2422# SysV /etc/install, /usr/sbin/install 2423# SunOS /usr/etc/install 2424# IRIX /sbin/install 2425# AIX /bin/install 2426# AmigaOS /C/install, which installs bootblocks on floppy discs 2427# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2428# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2429# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2430# OS/2's system install, which has a completely different semantic 2431# ./install, which can be erroneously created by make from ./install.sh. 2432# Reject install programs that cannot install multiple files. 2433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2434$as_echo_n "checking for a BSD-compatible install... " >&6; } 2435if test -z "$INSTALL"; then 2436if ${ac_cv_path_install+:} false; then : 2437 $as_echo_n "(cached) " >&6 2438else 2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2440for as_dir in $PATH 2441do 2442 IFS=$as_save_IFS 2443 test -z "$as_dir" && as_dir=. 2444 # Account for people who put trailing slashes in PATH elements. 2445case $as_dir/ in #(( 2446 ./ | .// | /[cC]/* | \ 2447 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2448 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2449 /usr/ucb/* ) ;; 2450 *) 2451 # OSF1 and SCO ODT 3.0 have their own names for install. 2452 # Don't use installbsd from OSF since it installs stuff as root 2453 # by default. 2454 for ac_prog in ginstall scoinst install; do 2455 for ac_exec_ext in '' $ac_executable_extensions; do 2456 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2457 if test $ac_prog = install && 2458 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2459 # AIX install. It has an incompatible calling convention. 2460 : 2461 elif test $ac_prog = install && 2462 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2463 # program-specific install script used by HP pwplus--don't use. 2464 : 2465 else 2466 rm -rf conftest.one conftest.two conftest.dir 2467 echo one > conftest.one 2468 echo two > conftest.two 2469 mkdir conftest.dir 2470 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2471 test -s conftest.one && test -s conftest.two && 2472 test -s conftest.dir/conftest.one && 2473 test -s conftest.dir/conftest.two 2474 then 2475 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2476 break 3 2477 fi 2478 fi 2479 fi 2480 done 2481 done 2482 ;; 2483esac 2484 2485 done 2486IFS=$as_save_IFS 2487 2488rm -rf conftest.one conftest.two conftest.dir 2489 2490fi 2491 if test "${ac_cv_path_install+set}" = set; then 2492 INSTALL=$ac_cv_path_install 2493 else 2494 # As a last resort, use the slow shell script. Don't cache a 2495 # value for INSTALL within a source directory, because that will 2496 # break other packages using the cache if that directory is 2497 # removed, or if the value is a relative name. 2498 INSTALL=$ac_install_sh 2499 fi 2500fi 2501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2502$as_echo "$INSTALL" >&6; } 2503 2504# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2505# It thinks the first close brace ends the variable substitution. 2506test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2507 2508test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2509 2510test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2511 2512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2513$as_echo_n "checking whether build environment is sane... " >&6; } 2514# Reject unsafe characters in $srcdir or the absolute working directory 2515# name. Accept space and tab only in the latter. 2516am_lf=' 2517' 2518case `pwd` in 2519 *[\\\"\#\$\&\'\`$am_lf]*) 2520 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2521esac 2522case $srcdir in 2523 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2524 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2525esac 2526 2527# Do 'set' in a subshell so we don't clobber the current shell's 2528# arguments. Must try -L first in case configure is actually a 2529# symlink; some systems play weird games with the mod time of symlinks 2530# (eg FreeBSD returns the mod time of the symlink's containing 2531# directory). 2532if ( 2533 am_has_slept=no 2534 for am_try in 1 2; do 2535 echo "timestamp, slept: $am_has_slept" > conftest.file 2536 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2537 if test "$*" = "X"; then 2538 # -L didn't work. 2539 set X `ls -t "$srcdir/configure" conftest.file` 2540 fi 2541 if test "$*" != "X $srcdir/configure conftest.file" \ 2542 && test "$*" != "X conftest.file $srcdir/configure"; then 2543 2544 # If neither matched, then we have a broken ls. This can happen 2545 # if, for instance, CONFIG_SHELL is bash and it inherits a 2546 # broken ls alias from the environment. This has actually 2547 # happened. Such a system could not be considered "sane". 2548 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2549 alias in your environment" "$LINENO" 5 2550 fi 2551 if test "$2" = conftest.file || test $am_try -eq 2; then 2552 break 2553 fi 2554 # Just in case. 2555 sleep 1 2556 am_has_slept=yes 2557 done 2558 test "$2" = conftest.file 2559 ) 2560then 2561 # Ok. 2562 : 2563else 2564 as_fn_error $? "newly created file is older than distributed files! 2565Check your system clock" "$LINENO" 5 2566fi 2567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2568$as_echo "yes" >&6; } 2569# If we didn't sleep, we still need to ensure time stamps of config.status and 2570# generated files are strictly newer. 2571am_sleep_pid= 2572if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2573 ( sleep 1 ) & 2574 am_sleep_pid=$! 2575fi 2576 2577rm -f conftest.file 2578 2579test "$program_prefix" != NONE && 2580 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2581# Use a double $ so make ignores it. 2582test "$program_suffix" != NONE && 2583 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2584# Double any \ or $. 2585# By default was `s,x,x', remove it if useless. 2586ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2587program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2588 2589# Expand $ac_aux_dir to an absolute path. 2590am_aux_dir=`cd "$ac_aux_dir" && pwd` 2591 2592if test x"${MISSING+set}" != xset; then 2593 case $am_aux_dir in 2594 *\ * | *\ *) 2595 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2596 *) 2597 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2598 esac 2599fi 2600# Use eval to expand $SHELL 2601if eval "$MISSING --is-lightweight"; then 2602 am_missing_run="$MISSING " 2603else 2604 am_missing_run= 2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2606$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2607fi 2608 2609if test x"${install_sh+set}" != xset; then 2610 case $am_aux_dir in 2611 *\ * | *\ *) 2612 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2613 *) 2614 install_sh="\${SHELL} $am_aux_dir/install-sh" 2615 esac 2616fi 2617 2618# Installed binaries are usually stripped using 'strip' when the user 2619# run "make install-strip". However 'strip' might not be the right 2620# tool to use in cross-compilation environments, therefore Automake 2621# will honor the 'STRIP' environment variable to overrule this program. 2622if test "$cross_compiling" != no; then 2623 if test -n "$ac_tool_prefix"; then 2624 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2625set dummy ${ac_tool_prefix}strip; ac_word=$2 2626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2627$as_echo_n "checking for $ac_word... " >&6; } 2628if ${ac_cv_prog_STRIP+:} false; then : 2629 $as_echo_n "(cached) " >&6 2630else 2631 if test -n "$STRIP"; then 2632 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2633else 2634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2635for as_dir in $PATH 2636do 2637 IFS=$as_save_IFS 2638 test -z "$as_dir" && as_dir=. 2639 for ac_exec_ext in '' $ac_executable_extensions; do 2640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2641 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2643 break 2 2644 fi 2645done 2646 done 2647IFS=$as_save_IFS 2648 2649fi 2650fi 2651STRIP=$ac_cv_prog_STRIP 2652if test -n "$STRIP"; then 2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2654$as_echo "$STRIP" >&6; } 2655else 2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2657$as_echo "no" >&6; } 2658fi 2659 2660 2661fi 2662if test -z "$ac_cv_prog_STRIP"; then 2663 ac_ct_STRIP=$STRIP 2664 # Extract the first word of "strip", so it can be a program name with args. 2665set dummy strip; ac_word=$2 2666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2667$as_echo_n "checking for $ac_word... " >&6; } 2668if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2669 $as_echo_n "(cached) " >&6 2670else 2671 if test -n "$ac_ct_STRIP"; then 2672 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2673else 2674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2675for as_dir in $PATH 2676do 2677 IFS=$as_save_IFS 2678 test -z "$as_dir" && as_dir=. 2679 for ac_exec_ext in '' $ac_executable_extensions; do 2680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2681 ac_cv_prog_ac_ct_STRIP="strip" 2682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2683 break 2 2684 fi 2685done 2686 done 2687IFS=$as_save_IFS 2688 2689fi 2690fi 2691ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2692if test -n "$ac_ct_STRIP"; then 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2694$as_echo "$ac_ct_STRIP" >&6; } 2695else 2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2697$as_echo "no" >&6; } 2698fi 2699 2700 if test "x$ac_ct_STRIP" = x; then 2701 STRIP=":" 2702 else 2703 case $cross_compiling:$ac_tool_warned in 2704yes:) 2705{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2706$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2707ac_tool_warned=yes ;; 2708esac 2709 STRIP=$ac_ct_STRIP 2710 fi 2711else 2712 STRIP="$ac_cv_prog_STRIP" 2713fi 2714 2715fi 2716INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2717 2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2719$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2720if test -z "$MKDIR_P"; then 2721 if ${ac_cv_path_mkdir+:} false; then : 2722 $as_echo_n "(cached) " >&6 2723else 2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2725for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2726do 2727 IFS=$as_save_IFS 2728 test -z "$as_dir" && as_dir=. 2729 for ac_prog in mkdir gmkdir; do 2730 for ac_exec_ext in '' $ac_executable_extensions; do 2731 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2732 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2733 'mkdir (GNU coreutils) '* | \ 2734 'mkdir (coreutils) '* | \ 2735 'mkdir (fileutils) '4.1*) 2736 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2737 break 3;; 2738 esac 2739 done 2740 done 2741 done 2742IFS=$as_save_IFS 2743 2744fi 2745 2746 test -d ./--version && rmdir ./--version 2747 if test "${ac_cv_path_mkdir+set}" = set; then 2748 MKDIR_P="$ac_cv_path_mkdir -p" 2749 else 2750 # As a last resort, use the slow shell script. Don't cache a 2751 # value for MKDIR_P within a source directory, because that will 2752 # break other packages using the cache if that directory is 2753 # removed, or if the value is a relative name. 2754 MKDIR_P="$ac_install_sh -d" 2755 fi 2756fi 2757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2758$as_echo "$MKDIR_P" >&6; } 2759 2760for ac_prog in gawk mawk nawk awk 2761do 2762 # Extract the first word of "$ac_prog", so it can be a program name with args. 2763set dummy $ac_prog; ac_word=$2 2764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2765$as_echo_n "checking for $ac_word... " >&6; } 2766if ${ac_cv_prog_AWK+:} false; then : 2767 $as_echo_n "(cached) " >&6 2768else 2769 if test -n "$AWK"; then 2770 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2771else 2772as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2773for as_dir in $PATH 2774do 2775 IFS=$as_save_IFS 2776 test -z "$as_dir" && as_dir=. 2777 for ac_exec_ext in '' $ac_executable_extensions; do 2778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2779 ac_cv_prog_AWK="$ac_prog" 2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2781 break 2 2782 fi 2783done 2784 done 2785IFS=$as_save_IFS 2786 2787fi 2788fi 2789AWK=$ac_cv_prog_AWK 2790if test -n "$AWK"; then 2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2792$as_echo "$AWK" >&6; } 2793else 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2795$as_echo "no" >&6; } 2796fi 2797 2798 2799 test -n "$AWK" && break 2800done 2801 2802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2803$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2804set x ${MAKE-make} 2805ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2806if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2807 $as_echo_n "(cached) " >&6 2808else 2809 cat >conftest.make <<\_ACEOF 2810SHELL = /bin/sh 2811all: 2812 @echo '@@@%%%=$(MAKE)=@@@%%%' 2813_ACEOF 2814# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2815case `${MAKE-make} -f conftest.make 2>/dev/null` in 2816 *@@@%%%=?*=@@@%%%*) 2817 eval ac_cv_prog_make_${ac_make}_set=yes;; 2818 *) 2819 eval ac_cv_prog_make_${ac_make}_set=no;; 2820esac 2821rm -f conftest.make 2822fi 2823if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2825$as_echo "yes" >&6; } 2826 SET_MAKE= 2827else 2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2829$as_echo "no" >&6; } 2830 SET_MAKE="MAKE=${MAKE-make}" 2831fi 2832 2833rm -rf .tst 2>/dev/null 2834mkdir .tst 2>/dev/null 2835if test -d .tst; then 2836 am__leading_dot=. 2837else 2838 am__leading_dot=_ 2839fi 2840rmdir .tst 2>/dev/null 2841 2842# Check whether --enable-silent-rules was given. 2843if test "${enable_silent_rules+set}" = set; then : 2844 enableval=$enable_silent_rules; 2845fi 2846 2847case $enable_silent_rules in # ((( 2848 yes) AM_DEFAULT_VERBOSITY=0;; 2849 no) AM_DEFAULT_VERBOSITY=1;; 2850 *) AM_DEFAULT_VERBOSITY=1;; 2851esac 2852am_make=${MAKE-make} 2853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2854$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2855if ${am_cv_make_support_nested_variables+:} false; then : 2856 $as_echo_n "(cached) " >&6 2857else 2858 if $as_echo 'TRUE=$(BAR$(V)) 2859BAR0=false 2860BAR1=true 2861V=1 2862am__doit: 2863 @$(TRUE) 2864.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2865 am_cv_make_support_nested_variables=yes 2866else 2867 am_cv_make_support_nested_variables=no 2868fi 2869fi 2870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2871$as_echo "$am_cv_make_support_nested_variables" >&6; } 2872if test $am_cv_make_support_nested_variables = yes; then 2873 AM_V='$(V)' 2874 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2875else 2876 AM_V=$AM_DEFAULT_VERBOSITY 2877 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2878fi 2879AM_BACKSLASH='\' 2880 2881if test "`cd $srcdir && pwd`" != "`pwd`"; then 2882 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2883 # is not polluted with repeated "-I." 2884 am__isrc=' -I$(srcdir)' 2885 # test to see if srcdir already configured 2886 if test -f $srcdir/config.status; then 2887 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2888 fi 2889fi 2890 2891# test whether we have cygpath 2892if test -z "$CYGPATH_W"; then 2893 if (cygpath --version) >/dev/null 2>/dev/null; then 2894 CYGPATH_W='cygpath -w' 2895 else 2896 CYGPATH_W=echo 2897 fi 2898fi 2899 2900 2901# Define the identity of the package. 2902 PACKAGE='psftools' 2903 VERSION='1.0.13' 2904 2905 2906cat >>confdefs.h <<_ACEOF 2907#define PACKAGE "$PACKAGE" 2908_ACEOF 2909 2910 2911cat >>confdefs.h <<_ACEOF 2912#define VERSION "$VERSION" 2913_ACEOF 2914 2915# Some tools Automake needs. 2916 2917ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2918 2919 2920AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2921 2922 2923AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2924 2925 2926AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2927 2928 2929MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2930 2931# For better backward compatibility. To be removed once Automake 1.9.x 2932# dies out for good. For more background, see: 2933# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2934# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2935mkdir_p='$(MKDIR_P)' 2936 2937# We need awk for the "check" target (and possibly the TAP driver). The 2938# system "awk" is bad on some platforms. 2939# Always define AMTAR for backward compatibility. Yes, it's still used 2940# in the wild :-( We should find a proper way to deprecate it ... 2941AMTAR='$${TAR-tar}' 2942 2943 2944# We'll loop over all known methods to create a tar archive until one works. 2945_am_tools='gnutar pax cpio none' 2946 2947am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2948 2949 2950 2951 2952 2953 2954# POSIX will say in a future version that running "rm -f" with no argument 2955# is OK; and we want to be able to make that assumption in our Makefile 2956# recipes. So use an aggressive probe to check that the usage we want is 2957# actually supported "in the wild" to an acceptable degree. 2958# See automake bug#10828. 2959# To make any issue more visible, cause the running configure to be aborted 2960# by default if the 'rm' program in use doesn't match our expectations; the 2961# user can still override this though. 2962if rm -f && rm -fr && rm -rf; then : OK; else 2963 cat >&2 <<'END' 2964Oops! 2965 2966Your 'rm' program seems unable to run without file operands specified 2967on the command line, even when the '-f' option is present. This is contrary 2968to the behaviour of most rm programs out there, and not conforming with 2969the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2970 2971Please tell bug-automake@gnu.org about your system, including the value 2972of your $PATH and any error possibly output before this message. This 2973can help us improve future automake versions. 2974 2975END 2976 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2977 echo 'Configuration will proceed anyway, since you have set the' >&2 2978 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2979 echo >&2 2980 else 2981 cat >&2 <<'END' 2982Aborting the configuration process, to ensure you take notice of the issue. 2983 2984You can download and install GNU coreutils to get an 'rm' implementation 2985that behaves properly: <http://www.gnu.org/software/coreutils/>. 2986 2987If you want to complete the configuration process using your problematic 2988'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2989to "yes", and re-run configure. 2990 2991END 2992 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2993 fi 2994fi 2995 2996ac_config_headers="$ac_config_headers config.h" 2997 2998 2999ac_ext=c 3000ac_cpp='$CPP $CPPFLAGS' 3001ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3002ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3003ac_compiler_gnu=$ac_cv_c_compiler_gnu 3004if test -n "$ac_tool_prefix"; then 3005 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3006set dummy ${ac_tool_prefix}gcc; ac_word=$2 3007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3008$as_echo_n "checking for $ac_word... " >&6; } 3009if ${ac_cv_prog_CC+:} false; then : 3010 $as_echo_n "(cached) " >&6 3011else 3012 if test -n "$CC"; then 3013 ac_cv_prog_CC="$CC" # Let the user override the test. 3014else 3015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3016for as_dir in $PATH 3017do 3018 IFS=$as_save_IFS 3019 test -z "$as_dir" && as_dir=. 3020 for ac_exec_ext in '' $ac_executable_extensions; do 3021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3022 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3024 break 2 3025 fi 3026done 3027 done 3028IFS=$as_save_IFS 3029 3030fi 3031fi 3032CC=$ac_cv_prog_CC 3033if test -n "$CC"; then 3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3035$as_echo "$CC" >&6; } 3036else 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3038$as_echo "no" >&6; } 3039fi 3040 3041 3042fi 3043if test -z "$ac_cv_prog_CC"; then 3044 ac_ct_CC=$CC 3045 # Extract the first word of "gcc", so it can be a program name with args. 3046set dummy gcc; ac_word=$2 3047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3048$as_echo_n "checking for $ac_word... " >&6; } 3049if ${ac_cv_prog_ac_ct_CC+:} false; then : 3050 $as_echo_n "(cached) " >&6 3051else 3052 if test -n "$ac_ct_CC"; then 3053 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3054else 3055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3056for as_dir in $PATH 3057do 3058 IFS=$as_save_IFS 3059 test -z "$as_dir" && as_dir=. 3060 for ac_exec_ext in '' $ac_executable_extensions; do 3061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3062 ac_cv_prog_ac_ct_CC="gcc" 3063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3064 break 2 3065 fi 3066done 3067 done 3068IFS=$as_save_IFS 3069 3070fi 3071fi 3072ac_ct_CC=$ac_cv_prog_ac_ct_CC 3073if test -n "$ac_ct_CC"; then 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3075$as_echo "$ac_ct_CC" >&6; } 3076else 3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3078$as_echo "no" >&6; } 3079fi 3080 3081 if test "x$ac_ct_CC" = x; then 3082 CC="" 3083 else 3084 case $cross_compiling:$ac_tool_warned in 3085yes:) 3086{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3087$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3088ac_tool_warned=yes ;; 3089esac 3090 CC=$ac_ct_CC 3091 fi 3092else 3093 CC="$ac_cv_prog_CC" 3094fi 3095 3096if test -z "$CC"; then 3097 if test -n "$ac_tool_prefix"; then 3098 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3099set dummy ${ac_tool_prefix}cc; ac_word=$2 3100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3101$as_echo_n "checking for $ac_word... " >&6; } 3102if ${ac_cv_prog_CC+:} false; then : 3103 $as_echo_n "(cached) " >&6 3104else 3105 if test -n "$CC"; then 3106 ac_cv_prog_CC="$CC" # Let the user override the test. 3107else 3108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3109for as_dir in $PATH 3110do 3111 IFS=$as_save_IFS 3112 test -z "$as_dir" && as_dir=. 3113 for ac_exec_ext in '' $ac_executable_extensions; do 3114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3115 ac_cv_prog_CC="${ac_tool_prefix}cc" 3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3117 break 2 3118 fi 3119done 3120 done 3121IFS=$as_save_IFS 3122 3123fi 3124fi 3125CC=$ac_cv_prog_CC 3126if test -n "$CC"; then 3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3128$as_echo "$CC" >&6; } 3129else 3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3131$as_echo "no" >&6; } 3132fi 3133 3134 3135 fi 3136fi 3137if test -z "$CC"; then 3138 # Extract the first word of "cc", so it can be a program name with args. 3139set dummy cc; ac_word=$2 3140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3141$as_echo_n "checking for $ac_word... " >&6; } 3142if ${ac_cv_prog_CC+:} false; then : 3143 $as_echo_n "(cached) " >&6 3144else 3145 if test -n "$CC"; then 3146 ac_cv_prog_CC="$CC" # Let the user override the test. 3147else 3148 ac_prog_rejected=no 3149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3150for as_dir in $PATH 3151do 3152 IFS=$as_save_IFS 3153 test -z "$as_dir" && as_dir=. 3154 for ac_exec_ext in '' $ac_executable_extensions; do 3155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3156 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3157 ac_prog_rejected=yes 3158 continue 3159 fi 3160 ac_cv_prog_CC="cc" 3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3162 break 2 3163 fi 3164done 3165 done 3166IFS=$as_save_IFS 3167 3168if test $ac_prog_rejected = yes; then 3169 # We found a bogon in the path, so make sure we never use it. 3170 set dummy $ac_cv_prog_CC 3171 shift 3172 if test $# != 0; then 3173 # We chose a different compiler from the bogus one. 3174 # However, it has the same basename, so the bogon will be chosen 3175 # first if we set CC to just the basename; use the full file name. 3176 shift 3177 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3178 fi 3179fi 3180fi 3181fi 3182CC=$ac_cv_prog_CC 3183if test -n "$CC"; then 3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3185$as_echo "$CC" >&6; } 3186else 3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3188$as_echo "no" >&6; } 3189fi 3190 3191 3192fi 3193if test -z "$CC"; then 3194 if test -n "$ac_tool_prefix"; then 3195 for ac_prog in cl.exe 3196 do 3197 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3198set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3200$as_echo_n "checking for $ac_word... " >&6; } 3201if ${ac_cv_prog_CC+:} false; then : 3202 $as_echo_n "(cached) " >&6 3203else 3204 if test -n "$CC"; then 3205 ac_cv_prog_CC="$CC" # Let the user override the test. 3206else 3207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3208for as_dir in $PATH 3209do 3210 IFS=$as_save_IFS 3211 test -z "$as_dir" && as_dir=. 3212 for ac_exec_ext in '' $ac_executable_extensions; do 3213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3214 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3216 break 2 3217 fi 3218done 3219 done 3220IFS=$as_save_IFS 3221 3222fi 3223fi 3224CC=$ac_cv_prog_CC 3225if test -n "$CC"; then 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3227$as_echo "$CC" >&6; } 3228else 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3230$as_echo "no" >&6; } 3231fi 3232 3233 3234 test -n "$CC" && break 3235 done 3236fi 3237if test -z "$CC"; then 3238 ac_ct_CC=$CC 3239 for ac_prog in cl.exe 3240do 3241 # Extract the first word of "$ac_prog", so it can be a program name with args. 3242set dummy $ac_prog; ac_word=$2 3243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3244$as_echo_n "checking for $ac_word... " >&6; } 3245if ${ac_cv_prog_ac_ct_CC+:} false; then : 3246 $as_echo_n "(cached) " >&6 3247else 3248 if test -n "$ac_ct_CC"; then 3249 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3250else 3251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3252for as_dir in $PATH 3253do 3254 IFS=$as_save_IFS 3255 test -z "$as_dir" && as_dir=. 3256 for ac_exec_ext in '' $ac_executable_extensions; do 3257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3258 ac_cv_prog_ac_ct_CC="$ac_prog" 3259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3260 break 2 3261 fi 3262done 3263 done 3264IFS=$as_save_IFS 3265 3266fi 3267fi 3268ac_ct_CC=$ac_cv_prog_ac_ct_CC 3269if test -n "$ac_ct_CC"; then 3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3271$as_echo "$ac_ct_CC" >&6; } 3272else 3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3274$as_echo "no" >&6; } 3275fi 3276 3277 3278 test -n "$ac_ct_CC" && break 3279done 3280 3281 if test "x$ac_ct_CC" = x; then 3282 CC="" 3283 else 3284 case $cross_compiling:$ac_tool_warned in 3285yes:) 3286{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3287$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3288ac_tool_warned=yes ;; 3289esac 3290 CC=$ac_ct_CC 3291 fi 3292fi 3293 3294fi 3295 3296 3297test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3298$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3299as_fn_error $? "no acceptable C compiler found in \$PATH 3300See \`config.log' for more details" "$LINENO" 5; } 3301 3302# Provide some information about the compiler. 3303$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3304set X $ac_compile 3305ac_compiler=$2 3306for ac_option in --version -v -V -qversion; do 3307 { { ac_try="$ac_compiler $ac_option >&5" 3308case "(($ac_try" in 3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3310 *) ac_try_echo=$ac_try;; 3311esac 3312eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3313$as_echo "$ac_try_echo"; } >&5 3314 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3315 ac_status=$? 3316 if test -s conftest.err; then 3317 sed '10a\ 3318... rest of stderr output deleted ... 3319 10q' conftest.err >conftest.er1 3320 cat conftest.er1 >&5 3321 fi 3322 rm -f conftest.er1 conftest.err 3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3324 test $ac_status = 0; } 3325done 3326 3327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3328/* end confdefs.h. */ 3329 3330int 3331main () 3332{ 3333 3334 ; 3335 return 0; 3336} 3337_ACEOF 3338ac_clean_files_save=$ac_clean_files 3339ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3340# Try to create an executable without -o first, disregard a.out. 3341# It will help us diagnose broken compilers, and finding out an intuition 3342# of exeext. 3343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3344$as_echo_n "checking whether the C compiler works... " >&6; } 3345ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3346 3347# The possible output files: 3348ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3349 3350ac_rmfiles= 3351for ac_file in $ac_files 3352do 3353 case $ac_file in 3354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3355 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3356 esac 3357done 3358rm -f $ac_rmfiles 3359 3360if { { ac_try="$ac_link_default" 3361case "(($ac_try" in 3362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3363 *) ac_try_echo=$ac_try;; 3364esac 3365eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3366$as_echo "$ac_try_echo"; } >&5 3367 (eval "$ac_link_default") 2>&5 3368 ac_status=$? 3369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3370 test $ac_status = 0; }; then : 3371 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3372# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3373# in a Makefile. We should not override ac_cv_exeext if it was cached, 3374# so that the user can short-circuit this test for compilers unknown to 3375# Autoconf. 3376for ac_file in $ac_files '' 3377do 3378 test -f "$ac_file" || continue 3379 case $ac_file in 3380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3381 ;; 3382 [ab].out ) 3383 # We found the default executable, but exeext='' is most 3384 # certainly right. 3385 break;; 3386 *.* ) 3387 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3388 then :; else 3389 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3390 fi 3391 # We set ac_cv_exeext here because the later test for it is not 3392 # safe: cross compilers may not add the suffix if given an `-o' 3393 # argument, so we may need to know it at that point already. 3394 # Even if this section looks crufty: it has the advantage of 3395 # actually working. 3396 break;; 3397 * ) 3398 break;; 3399 esac 3400done 3401test "$ac_cv_exeext" = no && ac_cv_exeext= 3402 3403else 3404 ac_file='' 3405fi 3406if test -z "$ac_file"; then : 3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3408$as_echo "no" >&6; } 3409$as_echo "$as_me: failed program was:" >&5 3410sed 's/^/| /' conftest.$ac_ext >&5 3411 3412{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3414as_fn_error 77 "C compiler cannot create executables 3415See \`config.log' for more details" "$LINENO" 5; } 3416else 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3418$as_echo "yes" >&6; } 3419fi 3420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3421$as_echo_n "checking for C compiler default output file name... " >&6; } 3422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3423$as_echo "$ac_file" >&6; } 3424ac_exeext=$ac_cv_exeext 3425 3426rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3427ac_clean_files=$ac_clean_files_save 3428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3429$as_echo_n "checking for suffix of executables... " >&6; } 3430if { { ac_try="$ac_link" 3431case "(($ac_try" in 3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3433 *) ac_try_echo=$ac_try;; 3434esac 3435eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3436$as_echo "$ac_try_echo"; } >&5 3437 (eval "$ac_link") 2>&5 3438 ac_status=$? 3439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3440 test $ac_status = 0; }; then : 3441 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3442# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3443# work properly (i.e., refer to `conftest.exe'), while it won't with 3444# `rm'. 3445for ac_file in conftest.exe conftest conftest.*; do 3446 test -f "$ac_file" || continue 3447 case $ac_file in 3448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3449 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3450 break;; 3451 * ) break;; 3452 esac 3453done 3454else 3455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3457as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3458See \`config.log' for more details" "$LINENO" 5; } 3459fi 3460rm -f conftest conftest$ac_cv_exeext 3461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3462$as_echo "$ac_cv_exeext" >&6; } 3463 3464rm -f conftest.$ac_ext 3465EXEEXT=$ac_cv_exeext 3466ac_exeext=$EXEEXT 3467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3468/* end confdefs.h. */ 3469#include <stdio.h> 3470int 3471main () 3472{ 3473FILE *f = fopen ("conftest.out", "w"); 3474 return ferror (f) || fclose (f) != 0; 3475 3476 ; 3477 return 0; 3478} 3479_ACEOF 3480ac_clean_files="$ac_clean_files conftest.out" 3481# Check that the compiler produces executables we can run. If not, either 3482# the compiler is broken, or we cross compile. 3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3484$as_echo_n "checking whether we are cross compiling... " >&6; } 3485if test "$cross_compiling" != yes; then 3486 { { ac_try="$ac_link" 3487case "(($ac_try" in 3488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3489 *) ac_try_echo=$ac_try;; 3490esac 3491eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3492$as_echo "$ac_try_echo"; } >&5 3493 (eval "$ac_link") 2>&5 3494 ac_status=$? 3495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3496 test $ac_status = 0; } 3497 if { ac_try='./conftest$ac_cv_exeext' 3498 { { case "(($ac_try" in 3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3500 *) ac_try_echo=$ac_try;; 3501esac 3502eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3503$as_echo "$ac_try_echo"; } >&5 3504 (eval "$ac_try") 2>&5 3505 ac_status=$? 3506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3507 test $ac_status = 0; }; }; then 3508 cross_compiling=no 3509 else 3510 if test "$cross_compiling" = maybe; then 3511 cross_compiling=yes 3512 else 3513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3514$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3515as_fn_error $? "cannot run C compiled programs. 3516If you meant to cross compile, use \`--host'. 3517See \`config.log' for more details" "$LINENO" 5; } 3518 fi 3519 fi 3520fi 3521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3522$as_echo "$cross_compiling" >&6; } 3523 3524rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3525ac_clean_files=$ac_clean_files_save 3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3527$as_echo_n "checking for suffix of object files... " >&6; } 3528if ${ac_cv_objext+:} false; then : 3529 $as_echo_n "(cached) " >&6 3530else 3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3532/* end confdefs.h. */ 3533 3534int 3535main () 3536{ 3537 3538 ; 3539 return 0; 3540} 3541_ACEOF 3542rm -f conftest.o conftest.obj 3543if { { ac_try="$ac_compile" 3544case "(($ac_try" in 3545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3546 *) ac_try_echo=$ac_try;; 3547esac 3548eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3549$as_echo "$ac_try_echo"; } >&5 3550 (eval "$ac_compile") 2>&5 3551 ac_status=$? 3552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3553 test $ac_status = 0; }; then : 3554 for ac_file in conftest.o conftest.obj conftest.*; do 3555 test -f "$ac_file" || continue; 3556 case $ac_file in 3557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3558 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3559 break;; 3560 esac 3561done 3562else 3563 $as_echo "$as_me: failed program was:" >&5 3564sed 's/^/| /' conftest.$ac_ext >&5 3565 3566{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3567$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3568as_fn_error $? "cannot compute suffix of object files: cannot compile 3569See \`config.log' for more details" "$LINENO" 5; } 3570fi 3571rm -f conftest.$ac_cv_objext conftest.$ac_ext 3572fi 3573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3574$as_echo "$ac_cv_objext" >&6; } 3575OBJEXT=$ac_cv_objext 3576ac_objext=$OBJEXT 3577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3578$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3579if ${ac_cv_c_compiler_gnu+:} false; then : 3580 $as_echo_n "(cached) " >&6 3581else 3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3583/* end confdefs.h. */ 3584 3585int 3586main () 3587{ 3588#ifndef __GNUC__ 3589 choke me 3590#endif 3591 3592 ; 3593 return 0; 3594} 3595_ACEOF 3596if ac_fn_c_try_compile "$LINENO"; then : 3597 ac_compiler_gnu=yes 3598else 3599 ac_compiler_gnu=no 3600fi 3601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3602ac_cv_c_compiler_gnu=$ac_compiler_gnu 3603 3604fi 3605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3606$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3607if test $ac_compiler_gnu = yes; then 3608 GCC=yes 3609else 3610 GCC= 3611fi 3612ac_test_CFLAGS=${CFLAGS+set} 3613ac_save_CFLAGS=$CFLAGS 3614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3615$as_echo_n "checking whether $CC accepts -g... " >&6; } 3616if ${ac_cv_prog_cc_g+:} false; then : 3617 $as_echo_n "(cached) " >&6 3618else 3619 ac_save_c_werror_flag=$ac_c_werror_flag 3620 ac_c_werror_flag=yes 3621 ac_cv_prog_cc_g=no 3622 CFLAGS="-g" 3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3624/* end confdefs.h. */ 3625 3626int 3627main () 3628{ 3629 3630 ; 3631 return 0; 3632} 3633_ACEOF 3634if ac_fn_c_try_compile "$LINENO"; then : 3635 ac_cv_prog_cc_g=yes 3636else 3637 CFLAGS="" 3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3639/* end confdefs.h. */ 3640 3641int 3642main () 3643{ 3644 3645 ; 3646 return 0; 3647} 3648_ACEOF 3649if ac_fn_c_try_compile "$LINENO"; then : 3650 3651else 3652 ac_c_werror_flag=$ac_save_c_werror_flag 3653 CFLAGS="-g" 3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3655/* end confdefs.h. */ 3656 3657int 3658main () 3659{ 3660 3661 ; 3662 return 0; 3663} 3664_ACEOF 3665if ac_fn_c_try_compile "$LINENO"; then : 3666 ac_cv_prog_cc_g=yes 3667fi 3668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3669fi 3670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3671fi 3672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3673 ac_c_werror_flag=$ac_save_c_werror_flag 3674fi 3675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3676$as_echo "$ac_cv_prog_cc_g" >&6; } 3677if test "$ac_test_CFLAGS" = set; then 3678 CFLAGS=$ac_save_CFLAGS 3679elif test $ac_cv_prog_cc_g = yes; then 3680 if test "$GCC" = yes; then 3681 CFLAGS="-g -O2" 3682 else 3683 CFLAGS="-g" 3684 fi 3685else 3686 if test "$GCC" = yes; then 3687 CFLAGS="-O2" 3688 else 3689 CFLAGS= 3690 fi 3691fi 3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3693$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3694if ${ac_cv_prog_cc_c89+:} false; then : 3695 $as_echo_n "(cached) " >&6 3696else 3697 ac_cv_prog_cc_c89=no 3698ac_save_CC=$CC 3699cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3700/* end confdefs.h. */ 3701#include <stdarg.h> 3702#include <stdio.h> 3703struct stat; 3704/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3705struct buf { int x; }; 3706FILE * (*rcsopen) (struct buf *, struct stat *, int); 3707static char *e (p, i) 3708 char **p; 3709 int i; 3710{ 3711 return p[i]; 3712} 3713static char *f (char * (*g) (char **, int), char **p, ...) 3714{ 3715 char *s; 3716 va_list v; 3717 va_start (v,p); 3718 s = g (p, va_arg (v,int)); 3719 va_end (v); 3720 return s; 3721} 3722 3723/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3724 function prototypes and stuff, but not '\xHH' hex character constants. 3725 These don't provoke an error unfortunately, instead are silently treated 3726 as 'x'. The following induces an error, until -std is added to get 3727 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3728 array size at least. It's necessary to write '\x00'==0 to get something 3729 that's true only with -std. */ 3730int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3731 3732/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3733 inside strings and character constants. */ 3734#define FOO(x) 'x' 3735int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3736 3737int test (int i, double x); 3738struct s1 {int (*f) (int a);}; 3739struct s2 {int (*f) (double a);}; 3740int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3741int argc; 3742char **argv; 3743int 3744main () 3745{ 3746return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3747 ; 3748 return 0; 3749} 3750_ACEOF 3751for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3752 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3753do 3754 CC="$ac_save_CC $ac_arg" 3755 if ac_fn_c_try_compile "$LINENO"; then : 3756 ac_cv_prog_cc_c89=$ac_arg 3757fi 3758rm -f core conftest.err conftest.$ac_objext 3759 test "x$ac_cv_prog_cc_c89" != "xno" && break 3760done 3761rm -f conftest.$ac_ext 3762CC=$ac_save_CC 3763 3764fi 3765# AC_CACHE_VAL 3766case "x$ac_cv_prog_cc_c89" in 3767 x) 3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3769$as_echo "none needed" >&6; } ;; 3770 xno) 3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3772$as_echo "unsupported" >&6; } ;; 3773 *) 3774 CC="$CC $ac_cv_prog_cc_c89" 3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3776$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3777esac 3778if test "x$ac_cv_prog_cc_c89" != xno; then : 3779 3780fi 3781 3782ac_ext=c 3783ac_cpp='$CPP $CPPFLAGS' 3784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3786ac_compiler_gnu=$ac_cv_c_compiler_gnu 3787 3788ac_ext=c 3789ac_cpp='$CPP $CPPFLAGS' 3790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3792ac_compiler_gnu=$ac_cv_c_compiler_gnu 3793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3794$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3795if ${am_cv_prog_cc_c_o+:} false; then : 3796 $as_echo_n "(cached) " >&6 3797else 3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3799/* end confdefs.h. */ 3800 3801int 3802main () 3803{ 3804 3805 ; 3806 return 0; 3807} 3808_ACEOF 3809 # Make sure it works both with $CC and with simple cc. 3810 # Following AC_PROG_CC_C_O, we do the test twice because some 3811 # compilers refuse to overwrite an existing .o file with -o, 3812 # though they will create one. 3813 am_cv_prog_cc_c_o=yes 3814 for am_i in 1 2; do 3815 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3816 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3817 ac_status=$? 3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3819 (exit $ac_status); } \ 3820 && test -f conftest2.$ac_objext; then 3821 : OK 3822 else 3823 am_cv_prog_cc_c_o=no 3824 break 3825 fi 3826 done 3827 rm -f core conftest* 3828 unset am_i 3829fi 3830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3831$as_echo "$am_cv_prog_cc_c_o" >&6; } 3832if test "$am_cv_prog_cc_c_o" != yes; then 3833 # Losing compiler, so override with the script. 3834 # FIXME: It is wrong to rewrite CC. 3835 # But if we don't then we get into trouble of one sort or another. 3836 # A longer-term fix would be to have automake use am__CC in this case, 3837 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3838 CC="$am_aux_dir/compile $CC" 3839fi 3840ac_ext=c 3841ac_cpp='$CPP $CPPFLAGS' 3842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3844ac_compiler_gnu=$ac_cv_c_compiler_gnu 3845 3846DEPDIR="${am__leading_dot}deps" 3847 3848ac_config_commands="$ac_config_commands depfiles" 3849 3850 3851am_make=${MAKE-make} 3852cat > confinc << 'END' 3853am__doit: 3854 @echo this is the am__doit target 3855.PHONY: am__doit 3856END 3857# If we don't find an include directive, just comment out the code. 3858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3859$as_echo_n "checking for style of include used by $am_make... " >&6; } 3860am__include="#" 3861am__quote= 3862_am_result=none 3863# First try GNU make style include. 3864echo "include confinc" > confmf 3865# Ignore all kinds of additional output from 'make'. 3866case `$am_make -s -f confmf 2> /dev/null` in #( 3867*the\ am__doit\ target*) 3868 am__include=include 3869 am__quote= 3870 _am_result=GNU 3871 ;; 3872esac 3873# Now try BSD make style include. 3874if test "$am__include" = "#"; then 3875 echo '.include "confinc"' > confmf 3876 case `$am_make -s -f confmf 2> /dev/null` in #( 3877 *the\ am__doit\ target*) 3878 am__include=.include 3879 am__quote="\"" 3880 _am_result=BSD 3881 ;; 3882 esac 3883fi 3884 3885 3886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3887$as_echo "$_am_result" >&6; } 3888rm -f confinc confmf 3889 3890# Check whether --enable-dependency-tracking was given. 3891if test "${enable_dependency_tracking+set}" = set; then : 3892 enableval=$enable_dependency_tracking; 3893fi 3894 3895if test "x$enable_dependency_tracking" != xno; then 3896 am_depcomp="$ac_aux_dir/depcomp" 3897 AMDEPBACKSLASH='\' 3898 am__nodep='_no' 3899fi 3900 if test "x$enable_dependency_tracking" != xno; then 3901 AMDEP_TRUE= 3902 AMDEP_FALSE='#' 3903else 3904 AMDEP_TRUE='#' 3905 AMDEP_FALSE= 3906fi 3907 3908 3909 3910depcc="$CC" am_compiler_list= 3911 3912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3913$as_echo_n "checking dependency style of $depcc... " >&6; } 3914if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3915 $as_echo_n "(cached) " >&6 3916else 3917 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3918 # We make a subdir and do the tests there. Otherwise we can end up 3919 # making bogus files that we don't know about and never remove. For 3920 # instance it was reported that on HP-UX the gcc test will end up 3921 # making a dummy file named 'D' -- because '-MD' means "put the output 3922 # in D". 3923 rm -rf conftest.dir 3924 mkdir conftest.dir 3925 # Copy depcomp to subdir because otherwise we won't find it if we're 3926 # using a relative directory. 3927 cp "$am_depcomp" conftest.dir 3928 cd conftest.dir 3929 # We will build objects and dependencies in a subdirectory because 3930 # it helps to detect inapplicable dependency modes. For instance 3931 # both Tru64's cc and ICC support -MD to output dependencies as a 3932 # side effect of compilation, but ICC will put the dependencies in 3933 # the current directory while Tru64 will put them in the object 3934 # directory. 3935 mkdir sub 3936 3937 am_cv_CC_dependencies_compiler_type=none 3938 if test "$am_compiler_list" = ""; then 3939 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3940 fi 3941 am__universal=false 3942 case " $depcc " in #( 3943 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3944 esac 3945 3946 for depmode in $am_compiler_list; do 3947 # Setup a source with many dependencies, because some compilers 3948 # like to wrap large dependency lists on column 80 (with \), and 3949 # we should not choose a depcomp mode which is confused by this. 3950 # 3951 # We need to recreate these files for each test, as the compiler may 3952 # overwrite some of them when testing with obscure command lines. 3953 # This happens at least with the AIX C compiler. 3954 : > sub/conftest.c 3955 for i in 1 2 3 4 5 6; do 3956 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3957 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3958 # Solaris 10 /bin/sh. 3959 echo '/* dummy */' > sub/conftst$i.h 3960 done 3961 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3962 3963 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3964 # mode. It turns out that the SunPro C++ compiler does not properly 3965 # handle '-M -o', and we need to detect this. Also, some Intel 3966 # versions had trouble with output in subdirs. 3967 am__obj=sub/conftest.${OBJEXT-o} 3968 am__minus_obj="-o $am__obj" 3969 case $depmode in 3970 gcc) 3971 # This depmode causes a compiler race in universal mode. 3972 test "$am__universal" = false || continue 3973 ;; 3974 nosideeffect) 3975 # After this tag, mechanisms are not by side-effect, so they'll 3976 # only be used when explicitly requested. 3977 if test "x$enable_dependency_tracking" = xyes; then 3978 continue 3979 else 3980 break 3981 fi 3982 ;; 3983 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3984 # This compiler won't grok '-c -o', but also, the minuso test has 3985 # not run yet. These depmodes are late enough in the game, and 3986 # so weak that their functioning should not be impacted. 3987 am__obj=conftest.${OBJEXT-o} 3988 am__minus_obj= 3989 ;; 3990 none) break ;; 3991 esac 3992 if depmode=$depmode \ 3993 source=sub/conftest.c object=$am__obj \ 3994 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3995 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3996 >/dev/null 2>conftest.err && 3997 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3998 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3999 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4000 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4001 # icc doesn't choke on unknown options, it will just issue warnings 4002 # or remarks (even with -Werror). So we grep stderr for any message 4003 # that says an option was ignored or not supported. 4004 # When given -MP, icc 7.0 and 7.1 complain thusly: 4005 # icc: Command line warning: ignoring option '-M'; no argument required 4006 # The diagnosis changed in icc 8.0: 4007 # icc: Command line remark: option '-MP' not supported 4008 if (grep 'ignoring option' conftest.err || 4009 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4010 am_cv_CC_dependencies_compiler_type=$depmode 4011 break 4012 fi 4013 fi 4014 done 4015 4016 cd .. 4017 rm -rf conftest.dir 4018else 4019 am_cv_CC_dependencies_compiler_type=none 4020fi 4021 4022fi 4023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4024$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4025CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4026 4027 if 4028 test "x$enable_dependency_tracking" != xno \ 4029 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4030 am__fastdepCC_TRUE= 4031 am__fastdepCC_FALSE='#' 4032else 4033 am__fastdepCC_TRUE='#' 4034 am__fastdepCC_FALSE= 4035fi 4036 4037 4038 4039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4040$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4041set x ${MAKE-make} 4042ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4043if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4044 $as_echo_n "(cached) " >&6 4045else 4046 cat >conftest.make <<\_ACEOF 4047SHELL = /bin/sh 4048all: 4049 @echo '@@@%%%=$(MAKE)=@@@%%%' 4050_ACEOF 4051# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4052case `${MAKE-make} -f conftest.make 2>/dev/null` in 4053 *@@@%%%=?*=@@@%%%*) 4054 eval ac_cv_prog_make_${ac_make}_set=yes;; 4055 *) 4056 eval ac_cv_prog_make_${ac_make}_set=no;; 4057esac 4058rm -f conftest.make 4059fi 4060if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4062$as_echo "yes" >&6; } 4063 SET_MAKE= 4064else 4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4066$as_echo "no" >&6; } 4067 SET_MAKE="MAKE=${MAKE-make}" 4068fi 4069 4070case `pwd` in 4071 *\ * | *\ *) 4072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4073$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4074esac 4075 4076 4077 4078macro_version='2.4.6' 4079macro_revision='2.4.6' 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093ltmain=$ac_aux_dir/ltmain.sh 4094 4095# Backslashify metacharacters that are still active within 4096# double-quoted strings. 4097sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4098 4099# Same as above, but do not quote variable references. 4100double_quote_subst='s/\(["`\\]\)/\\\1/g' 4101 4102# Sed substitution to delay expansion of an escaped shell variable in a 4103# double_quote_subst'ed string. 4104delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4105 4106# Sed substitution to delay expansion of an escaped single quote. 4107delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4108 4109# Sed substitution to avoid accidental globbing in evaled expressions 4110no_glob_subst='s/\*/\\\*/g' 4111 4112ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4113ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4114ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4115 4116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4117$as_echo_n "checking how to print strings... " >&6; } 4118# Test print first, because it will be a builtin if present. 4119if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4120 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4121 ECHO='print -r --' 4122elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4123 ECHO='printf %s\n' 4124else 4125 # Use this function as a fallback that always works. 4126 func_fallback_echo () 4127 { 4128 eval 'cat <<_LTECHO_EOF 4129$1 4130_LTECHO_EOF' 4131 } 4132 ECHO='func_fallback_echo' 4133fi 4134 4135# func_echo_all arg... 4136# Invoke $ECHO with all args, space-separated. 4137func_echo_all () 4138{ 4139 $ECHO "" 4140} 4141 4142case $ECHO in 4143 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4144$as_echo "printf" >&6; } ;; 4145 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4146$as_echo "print -r" >&6; } ;; 4147 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4148$as_echo "cat" >&6; } ;; 4149esac 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4165$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4166if ${ac_cv_path_SED+:} false; then : 4167 $as_echo_n "(cached) " >&6 4168else 4169 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4170 for ac_i in 1 2 3 4 5 6 7; do 4171 ac_script="$ac_script$as_nl$ac_script" 4172 done 4173 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4174 { ac_script=; unset ac_script;} 4175 if test -z "$SED"; then 4176 ac_path_SED_found=false 4177 # Loop through the user's path and test for each of PROGNAME-LIST 4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4179for as_dir in $PATH 4180do 4181 IFS=$as_save_IFS 4182 test -z "$as_dir" && as_dir=. 4183 for ac_prog in sed gsed; do 4184 for ac_exec_ext in '' $ac_executable_extensions; do 4185 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4186 as_fn_executable_p "$ac_path_SED" || continue 4187# Check for GNU ac_path_SED and select it if it is found. 4188 # Check for GNU $ac_path_SED 4189case `"$ac_path_SED" --version 2>&1` in 4190*GNU*) 4191 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4192*) 4193 ac_count=0 4194 $as_echo_n 0123456789 >"conftest.in" 4195 while : 4196 do 4197 cat "conftest.in" "conftest.in" >"conftest.tmp" 4198 mv "conftest.tmp" "conftest.in" 4199 cp "conftest.in" "conftest.nl" 4200 $as_echo '' >> "conftest.nl" 4201 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4202 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4203 as_fn_arith $ac_count + 1 && ac_count=$as_val 4204 if test $ac_count -gt ${ac_path_SED_max-0}; then 4205 # Best one so far, save it but keep looking for a better one 4206 ac_cv_path_SED="$ac_path_SED" 4207 ac_path_SED_max=$ac_count 4208 fi 4209 # 10*(2^10) chars as input seems more than enough 4210 test $ac_count -gt 10 && break 4211 done 4212 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4213esac 4214 4215 $ac_path_SED_found && break 3 4216 done 4217 done 4218 done 4219IFS=$as_save_IFS 4220 if test -z "$ac_cv_path_SED"; then 4221 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4222 fi 4223else 4224 ac_cv_path_SED=$SED 4225fi 4226 4227fi 4228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4229$as_echo "$ac_cv_path_SED" >&6; } 4230 SED="$ac_cv_path_SED" 4231 rm -f conftest.sed 4232 4233test -z "$SED" && SED=sed 4234Xsed="$SED -e 1s/^X//" 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4247$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4248if ${ac_cv_path_GREP+:} false; then : 4249 $as_echo_n "(cached) " >&6 4250else 4251 if test -z "$GREP"; then 4252 ac_path_GREP_found=false 4253 # Loop through the user's path and test for each of PROGNAME-LIST 4254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4255for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4256do 4257 IFS=$as_save_IFS 4258 test -z "$as_dir" && as_dir=. 4259 for ac_prog in grep ggrep; do 4260 for ac_exec_ext in '' $ac_executable_extensions; do 4261 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4262 as_fn_executable_p "$ac_path_GREP" || continue 4263# Check for GNU ac_path_GREP and select it if it is found. 4264 # Check for GNU $ac_path_GREP 4265case `"$ac_path_GREP" --version 2>&1` in 4266*GNU*) 4267 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4268*) 4269 ac_count=0 4270 $as_echo_n 0123456789 >"conftest.in" 4271 while : 4272 do 4273 cat "conftest.in" "conftest.in" >"conftest.tmp" 4274 mv "conftest.tmp" "conftest.in" 4275 cp "conftest.in" "conftest.nl" 4276 $as_echo 'GREP' >> "conftest.nl" 4277 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4278 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4279 as_fn_arith $ac_count + 1 && ac_count=$as_val 4280 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4281 # Best one so far, save it but keep looking for a better one 4282 ac_cv_path_GREP="$ac_path_GREP" 4283 ac_path_GREP_max=$ac_count 4284 fi 4285 # 10*(2^10) chars as input seems more than enough 4286 test $ac_count -gt 10 && break 4287 done 4288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4289esac 4290 4291 $ac_path_GREP_found && break 3 4292 done 4293 done 4294 done 4295IFS=$as_save_IFS 4296 if test -z "$ac_cv_path_GREP"; then 4297 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4298 fi 4299else 4300 ac_cv_path_GREP=$GREP 4301fi 4302 4303fi 4304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4305$as_echo "$ac_cv_path_GREP" >&6; } 4306 GREP="$ac_cv_path_GREP" 4307 4308 4309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4310$as_echo_n "checking for egrep... " >&6; } 4311if ${ac_cv_path_EGREP+:} false; then : 4312 $as_echo_n "(cached) " >&6 4313else 4314 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4315 then ac_cv_path_EGREP="$GREP -E" 4316 else 4317 if test -z "$EGREP"; then 4318 ac_path_EGREP_found=false 4319 # Loop through the user's path and test for each of PROGNAME-LIST 4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4321for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4322do 4323 IFS=$as_save_IFS 4324 test -z "$as_dir" && as_dir=. 4325 for ac_prog in egrep; do 4326 for ac_exec_ext in '' $ac_executable_extensions; do 4327 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4328 as_fn_executable_p "$ac_path_EGREP" || continue 4329# Check for GNU ac_path_EGREP and select it if it is found. 4330 # Check for GNU $ac_path_EGREP 4331case `"$ac_path_EGREP" --version 2>&1` in 4332*GNU*) 4333 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4334*) 4335 ac_count=0 4336 $as_echo_n 0123456789 >"conftest.in" 4337 while : 4338 do 4339 cat "conftest.in" "conftest.in" >"conftest.tmp" 4340 mv "conftest.tmp" "conftest.in" 4341 cp "conftest.in" "conftest.nl" 4342 $as_echo 'EGREP' >> "conftest.nl" 4343 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4345 as_fn_arith $ac_count + 1 && ac_count=$as_val 4346 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4347 # Best one so far, save it but keep looking for a better one 4348 ac_cv_path_EGREP="$ac_path_EGREP" 4349 ac_path_EGREP_max=$ac_count 4350 fi 4351 # 10*(2^10) chars as input seems more than enough 4352 test $ac_count -gt 10 && break 4353 done 4354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4355esac 4356 4357 $ac_path_EGREP_found && break 3 4358 done 4359 done 4360 done 4361IFS=$as_save_IFS 4362 if test -z "$ac_cv_path_EGREP"; then 4363 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4364 fi 4365else 4366 ac_cv_path_EGREP=$EGREP 4367fi 4368 4369 fi 4370fi 4371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4372$as_echo "$ac_cv_path_EGREP" >&6; } 4373 EGREP="$ac_cv_path_EGREP" 4374 4375 4376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4377$as_echo_n "checking for fgrep... " >&6; } 4378if ${ac_cv_path_FGREP+:} false; then : 4379 $as_echo_n "(cached) " >&6 4380else 4381 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4382 then ac_cv_path_FGREP="$GREP -F" 4383 else 4384 if test -z "$FGREP"; then 4385 ac_path_FGREP_found=false 4386 # Loop through the user's path and test for each of PROGNAME-LIST 4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4388for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4389do 4390 IFS=$as_save_IFS 4391 test -z "$as_dir" && as_dir=. 4392 for ac_prog in fgrep; do 4393 for ac_exec_ext in '' $ac_executable_extensions; do 4394 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4395 as_fn_executable_p "$ac_path_FGREP" || continue 4396# Check for GNU ac_path_FGREP and select it if it is found. 4397 # Check for GNU $ac_path_FGREP 4398case `"$ac_path_FGREP" --version 2>&1` in 4399*GNU*) 4400 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4401*) 4402 ac_count=0 4403 $as_echo_n 0123456789 >"conftest.in" 4404 while : 4405 do 4406 cat "conftest.in" "conftest.in" >"conftest.tmp" 4407 mv "conftest.tmp" "conftest.in" 4408 cp "conftest.in" "conftest.nl" 4409 $as_echo 'FGREP' >> "conftest.nl" 4410 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4411 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4412 as_fn_arith $ac_count + 1 && ac_count=$as_val 4413 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4414 # Best one so far, save it but keep looking for a better one 4415 ac_cv_path_FGREP="$ac_path_FGREP" 4416 ac_path_FGREP_max=$ac_count 4417 fi 4418 # 10*(2^10) chars as input seems more than enough 4419 test $ac_count -gt 10 && break 4420 done 4421 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4422esac 4423 4424 $ac_path_FGREP_found && break 3 4425 done 4426 done 4427 done 4428IFS=$as_save_IFS 4429 if test -z "$ac_cv_path_FGREP"; then 4430 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4431 fi 4432else 4433 ac_cv_path_FGREP=$FGREP 4434fi 4435 4436 fi 4437fi 4438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4439$as_echo "$ac_cv_path_FGREP" >&6; } 4440 FGREP="$ac_cv_path_FGREP" 4441 4442 4443test -z "$GREP" && GREP=grep 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463# Check whether --with-gnu-ld was given. 4464if test "${with_gnu_ld+set}" = set; then : 4465 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4466else 4467 with_gnu_ld=no 4468fi 4469 4470ac_prog=ld 4471if test yes = "$GCC"; then 4472 # Check if gcc -print-prog-name=ld gives a path. 4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4474$as_echo_n "checking for ld used by $CC... " >&6; } 4475 case $host in 4476 *-*-mingw*) 4477 # gcc leaves a trailing carriage return, which upsets mingw 4478 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4479 *) 4480 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4481 esac 4482 case $ac_prog in 4483 # Accept absolute paths. 4484 [\\/]* | ?:[\\/]*) 4485 re_direlt='/[^/][^/]*/\.\./' 4486 # Canonicalize the pathname of ld 4487 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4488 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4489 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4490 done 4491 test -z "$LD" && LD=$ac_prog 4492 ;; 4493 "") 4494 # If it fails, then pretend we aren't using GCC. 4495 ac_prog=ld 4496 ;; 4497 *) 4498 # If it is relative, then search for the first ld in PATH. 4499 with_gnu_ld=unknown 4500 ;; 4501 esac 4502elif test yes = "$with_gnu_ld"; then 4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4504$as_echo_n "checking for GNU ld... " >&6; } 4505else 4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4507$as_echo_n "checking for non-GNU ld... " >&6; } 4508fi 4509if ${lt_cv_path_LD+:} false; then : 4510 $as_echo_n "(cached) " >&6 4511else 4512 if test -z "$LD"; then 4513 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4514 for ac_dir in $PATH; do 4515 IFS=$lt_save_ifs 4516 test -z "$ac_dir" && ac_dir=. 4517 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4518 lt_cv_path_LD=$ac_dir/$ac_prog 4519 # Check to see if the program is GNU ld. I'd rather use --version, 4520 # but apparently some variants of GNU ld only accept -v. 4521 # Break only if it was the GNU/non-GNU ld that we prefer. 4522 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4523 *GNU* | *'with BFD'*) 4524 test no != "$with_gnu_ld" && break 4525 ;; 4526 *) 4527 test yes != "$with_gnu_ld" && break 4528 ;; 4529 esac 4530 fi 4531 done 4532 IFS=$lt_save_ifs 4533else 4534 lt_cv_path_LD=$LD # Let the user override the test with a path. 4535fi 4536fi 4537 4538LD=$lt_cv_path_LD 4539if test -n "$LD"; then 4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4541$as_echo "$LD" >&6; } 4542else 4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4544$as_echo "no" >&6; } 4545fi 4546test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4548$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4549if ${lt_cv_prog_gnu_ld+:} false; then : 4550 $as_echo_n "(cached) " >&6 4551else 4552 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4553case `$LD -v 2>&1 </dev/null` in 4554*GNU* | *'with BFD'*) 4555 lt_cv_prog_gnu_ld=yes 4556 ;; 4557*) 4558 lt_cv_prog_gnu_ld=no 4559 ;; 4560esac 4561fi 4562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4563$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4564with_gnu_ld=$lt_cv_prog_gnu_ld 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4575$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4576if ${lt_cv_path_NM+:} false; then : 4577 $as_echo_n "(cached) " >&6 4578else 4579 if test -n "$NM"; then 4580 # Let the user override the test. 4581 lt_cv_path_NM=$NM 4582else 4583 lt_nm_to_check=${ac_tool_prefix}nm 4584 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4585 lt_nm_to_check="$lt_nm_to_check nm" 4586 fi 4587 for lt_tmp_nm in $lt_nm_to_check; do 4588 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4589 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4590 IFS=$lt_save_ifs 4591 test -z "$ac_dir" && ac_dir=. 4592 tmp_nm=$ac_dir/$lt_tmp_nm 4593 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4594 # Check to see if the nm accepts a BSD-compat flag. 4595 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4596 # nm: unknown option "B" ignored 4597 # Tru64's nm complains that /dev/null is an invalid object file 4598 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4599 case $build_os in 4600 mingw*) lt_bad_file=conftest.nm/nofile ;; 4601 *) lt_bad_file=/dev/null ;; 4602 esac 4603 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4604 *$lt_bad_file* | *'Invalid file or object type'*) 4605 lt_cv_path_NM="$tmp_nm -B" 4606 break 2 4607 ;; 4608 *) 4609 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4610 */dev/null*) 4611 lt_cv_path_NM="$tmp_nm -p" 4612 break 2 4613 ;; 4614 *) 4615 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4616 continue # so that we can try to find one that supports BSD flags 4617 ;; 4618 esac 4619 ;; 4620 esac 4621 fi 4622 done 4623 IFS=$lt_save_ifs 4624 done 4625 : ${lt_cv_path_NM=no} 4626fi 4627fi 4628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4629$as_echo "$lt_cv_path_NM" >&6; } 4630if test no != "$lt_cv_path_NM"; then 4631 NM=$lt_cv_path_NM 4632else 4633 # Didn't find any BSD compatible name lister, look for dumpbin. 4634 if test -n "$DUMPBIN"; then : 4635 # Let the user override the test. 4636 else 4637 if test -n "$ac_tool_prefix"; then 4638 for ac_prog in dumpbin "link -dump" 4639 do 4640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4641set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4643$as_echo_n "checking for $ac_word... " >&6; } 4644if ${ac_cv_prog_DUMPBIN+:} false; then : 4645 $as_echo_n "(cached) " >&6 4646else 4647 if test -n "$DUMPBIN"; then 4648 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4649else 4650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4651for as_dir in $PATH 4652do 4653 IFS=$as_save_IFS 4654 test -z "$as_dir" && as_dir=. 4655 for ac_exec_ext in '' $ac_executable_extensions; do 4656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4657 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4659 break 2 4660 fi 4661done 4662 done 4663IFS=$as_save_IFS 4664 4665fi 4666fi 4667DUMPBIN=$ac_cv_prog_DUMPBIN 4668if test -n "$DUMPBIN"; then 4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4670$as_echo "$DUMPBIN" >&6; } 4671else 4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4673$as_echo "no" >&6; } 4674fi 4675 4676 4677 test -n "$DUMPBIN" && break 4678 done 4679fi 4680if test -z "$DUMPBIN"; then 4681 ac_ct_DUMPBIN=$DUMPBIN 4682 for ac_prog in dumpbin "link -dump" 4683do 4684 # Extract the first word of "$ac_prog", so it can be a program name with args. 4685set dummy $ac_prog; ac_word=$2 4686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4687$as_echo_n "checking for $ac_word... " >&6; } 4688if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4689 $as_echo_n "(cached) " >&6 4690else 4691 if test -n "$ac_ct_DUMPBIN"; then 4692 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4693else 4694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4695for as_dir in $PATH 4696do 4697 IFS=$as_save_IFS 4698 test -z "$as_dir" && as_dir=. 4699 for ac_exec_ext in '' $ac_executable_extensions; do 4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4701 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4703 break 2 4704 fi 4705done 4706 done 4707IFS=$as_save_IFS 4708 4709fi 4710fi 4711ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4712if test -n "$ac_ct_DUMPBIN"; then 4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4714$as_echo "$ac_ct_DUMPBIN" >&6; } 4715else 4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4717$as_echo "no" >&6; } 4718fi 4719 4720 4721 test -n "$ac_ct_DUMPBIN" && break 4722done 4723 4724 if test "x$ac_ct_DUMPBIN" = x; then 4725 DUMPBIN=":" 4726 else 4727 case $cross_compiling:$ac_tool_warned in 4728yes:) 4729{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4730$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4731ac_tool_warned=yes ;; 4732esac 4733 DUMPBIN=$ac_ct_DUMPBIN 4734 fi 4735fi 4736 4737 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4738 *COFF*) 4739 DUMPBIN="$DUMPBIN -symbols -headers" 4740 ;; 4741 *) 4742 DUMPBIN=: 4743 ;; 4744 esac 4745 fi 4746 4747 if test : != "$DUMPBIN"; then 4748 NM=$DUMPBIN 4749 fi 4750fi 4751test -z "$NM" && NM=nm 4752 4753 4754 4755 4756 4757 4758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4759$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4760if ${lt_cv_nm_interface+:} false; then : 4761 $as_echo_n "(cached) " >&6 4762else 4763 lt_cv_nm_interface="BSD nm" 4764 echo "int some_variable = 0;" > conftest.$ac_ext 4765 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4766 (eval "$ac_compile" 2>conftest.err) 4767 cat conftest.err >&5 4768 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4769 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4770 cat conftest.err >&5 4771 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4772 cat conftest.out >&5 4773 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4774 lt_cv_nm_interface="MS dumpbin" 4775 fi 4776 rm -f conftest* 4777fi 4778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4779$as_echo "$lt_cv_nm_interface" >&6; } 4780 4781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4782$as_echo_n "checking whether ln -s works... " >&6; } 4783LN_S=$as_ln_s 4784if test "$LN_S" = "ln -s"; then 4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4786$as_echo "yes" >&6; } 4787else 4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4789$as_echo "no, using $LN_S" >&6; } 4790fi 4791 4792# find the maximum length of command line arguments 4793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4794$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4795if ${lt_cv_sys_max_cmd_len+:} false; then : 4796 $as_echo_n "(cached) " >&6 4797else 4798 i=0 4799 teststring=ABCD 4800 4801 case $build_os in 4802 msdosdjgpp*) 4803 # On DJGPP, this test can blow up pretty badly due to problems in libc 4804 # (any single argument exceeding 2000 bytes causes a buffer overrun 4805 # during glob expansion). Even if it were fixed, the result of this 4806 # check would be larger than it should be. 4807 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4808 ;; 4809 4810 gnu*) 4811 # Under GNU Hurd, this test is not required because there is 4812 # no limit to the length of command line arguments. 4813 # Libtool will interpret -1 as no limit whatsoever 4814 lt_cv_sys_max_cmd_len=-1; 4815 ;; 4816 4817 cygwin* | mingw* | cegcc*) 4818 # On Win9x/ME, this test blows up -- it succeeds, but takes 4819 # about 5 minutes as the teststring grows exponentially. 4820 # Worse, since 9x/ME are not pre-emptively multitasking, 4821 # you end up with a "frozen" computer, even though with patience 4822 # the test eventually succeeds (with a max line length of 256k). 4823 # Instead, let's just punt: use the minimum linelength reported by 4824 # all of the supported platforms: 8192 (on NT/2K/XP). 4825 lt_cv_sys_max_cmd_len=8192; 4826 ;; 4827 4828 mint*) 4829 # On MiNT this can take a long time and run out of memory. 4830 lt_cv_sys_max_cmd_len=8192; 4831 ;; 4832 4833 amigaos*) 4834 # On AmigaOS with pdksh, this test takes hours, literally. 4835 # So we just punt and use a minimum line length of 8192. 4836 lt_cv_sys_max_cmd_len=8192; 4837 ;; 4838 4839 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4840 # This has been around since 386BSD, at least. Likely further. 4841 if test -x /sbin/sysctl; then 4842 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4843 elif test -x /usr/sbin/sysctl; then 4844 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4845 else 4846 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4847 fi 4848 # And add a safety zone 4849 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4850 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4851 ;; 4852 4853 interix*) 4854 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4855 lt_cv_sys_max_cmd_len=196608 4856 ;; 4857 4858 os2*) 4859 # The test takes a long time on OS/2. 4860 lt_cv_sys_max_cmd_len=8192 4861 ;; 4862 4863 osf*) 4864 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4865 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4866 # nice to cause kernel panics so lets avoid the loop below. 4867 # First set a reasonable default. 4868 lt_cv_sys_max_cmd_len=16384 4869 # 4870 if test -x /sbin/sysconfig; then 4871 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4872 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4873 esac 4874 fi 4875 ;; 4876 sco3.2v5*) 4877 lt_cv_sys_max_cmd_len=102400 4878 ;; 4879 sysv5* | sco5v6* | sysv4.2uw2*) 4880 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4881 if test -n "$kargmax"; then 4882 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4883 else 4884 lt_cv_sys_max_cmd_len=32768 4885 fi 4886 ;; 4887 *) 4888 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4889 if test -n "$lt_cv_sys_max_cmd_len" && \ 4890 test undefined != "$lt_cv_sys_max_cmd_len"; then 4891 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4892 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4893 else 4894 # Make teststring a little bigger before we do anything with it. 4895 # a 1K string should be a reasonable start. 4896 for i in 1 2 3 4 5 6 7 8; do 4897 teststring=$teststring$teststring 4898 done 4899 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4900 # If test is not a shell built-in, we'll probably end up computing a 4901 # maximum length that is only half of the actual maximum length, but 4902 # we can't tell. 4903 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4904 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4905 test 17 != "$i" # 1/2 MB should be enough 4906 do 4907 i=`expr $i + 1` 4908 teststring=$teststring$teststring 4909 done 4910 # Only check the string length outside the loop. 4911 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4912 teststring= 4913 # Add a significant safety factor because C++ compilers can tack on 4914 # massive amounts of additional arguments before passing them to the 4915 # linker. It appears as though 1/2 is a usable value. 4916 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4917 fi 4918 ;; 4919 esac 4920 4921fi 4922 4923if test -n "$lt_cv_sys_max_cmd_len"; then 4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4925$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4926else 4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4928$as_echo "none" >&6; } 4929fi 4930max_cmd_len=$lt_cv_sys_max_cmd_len 4931 4932 4933 4934 4935 4936 4937: ${CP="cp -f"} 4938: ${MV="mv -f"} 4939: ${RM="rm -f"} 4940 4941if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4942 lt_unset=unset 4943else 4944 lt_unset=false 4945fi 4946 4947 4948 4949 4950 4951# test EBCDIC or ASCII 4952case `echo X|tr X '\101'` in 4953 A) # ASCII based system 4954 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4955 lt_SP2NL='tr \040 \012' 4956 lt_NL2SP='tr \015\012 \040\040' 4957 ;; 4958 *) # EBCDIC based system 4959 lt_SP2NL='tr \100 \n' 4960 lt_NL2SP='tr \r\n \100\100' 4961 ;; 4962esac 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4973$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4974if ${lt_cv_to_host_file_cmd+:} false; then : 4975 $as_echo_n "(cached) " >&6 4976else 4977 case $host in 4978 *-*-mingw* ) 4979 case $build in 4980 *-*-mingw* ) # actually msys 4981 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4982 ;; 4983 *-*-cygwin* ) 4984 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4985 ;; 4986 * ) # otherwise, assume *nix 4987 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4988 ;; 4989 esac 4990 ;; 4991 *-*-cygwin* ) 4992 case $build in 4993 *-*-mingw* ) # actually msys 4994 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4995 ;; 4996 *-*-cygwin* ) 4997 lt_cv_to_host_file_cmd=func_convert_file_noop 4998 ;; 4999 * ) # otherwise, assume *nix 5000 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5001 ;; 5002 esac 5003 ;; 5004 * ) # unhandled hosts (and "normal" native builds) 5005 lt_cv_to_host_file_cmd=func_convert_file_noop 5006 ;; 5007esac 5008 5009fi 5010 5011to_host_file_cmd=$lt_cv_to_host_file_cmd 5012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5013$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5014 5015 5016 5017 5018 5019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5020$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5021if ${lt_cv_to_tool_file_cmd+:} false; then : 5022 $as_echo_n "(cached) " >&6 5023else 5024 #assume ordinary cross tools, or native build. 5025lt_cv_to_tool_file_cmd=func_convert_file_noop 5026case $host in 5027 *-*-mingw* ) 5028 case $build in 5029 *-*-mingw* ) # actually msys 5030 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5031 ;; 5032 esac 5033 ;; 5034esac 5035 5036fi 5037 5038to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5040$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5041 5042 5043 5044 5045 5046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5047$as_echo_n "checking for $LD option to reload object files... " >&6; } 5048if ${lt_cv_ld_reload_flag+:} false; then : 5049 $as_echo_n "(cached) " >&6 5050else 5051 lt_cv_ld_reload_flag='-r' 5052fi 5053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5054$as_echo "$lt_cv_ld_reload_flag" >&6; } 5055reload_flag=$lt_cv_ld_reload_flag 5056case $reload_flag in 5057"" | " "*) ;; 5058*) reload_flag=" $reload_flag" ;; 5059esac 5060reload_cmds='$LD$reload_flag -o $output$reload_objs' 5061case $host_os in 5062 cygwin* | mingw* | pw32* | cegcc*) 5063 if test yes != "$GCC"; then 5064 reload_cmds=false 5065 fi 5066 ;; 5067 darwin*) 5068 if test yes = "$GCC"; then 5069 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5070 else 5071 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5072 fi 5073 ;; 5074esac 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084if test -n "$ac_tool_prefix"; then 5085 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5086set dummy ${ac_tool_prefix}objdump; ac_word=$2 5087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5088$as_echo_n "checking for $ac_word... " >&6; } 5089if ${ac_cv_prog_OBJDUMP+:} false; then : 5090 $as_echo_n "(cached) " >&6 5091else 5092 if test -n "$OBJDUMP"; then 5093 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5094else 5095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5096for as_dir in $PATH 5097do 5098 IFS=$as_save_IFS 5099 test -z "$as_dir" && as_dir=. 5100 for ac_exec_ext in '' $ac_executable_extensions; do 5101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5102 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5104 break 2 5105 fi 5106done 5107 done 5108IFS=$as_save_IFS 5109 5110fi 5111fi 5112OBJDUMP=$ac_cv_prog_OBJDUMP 5113if test -n "$OBJDUMP"; then 5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5115$as_echo "$OBJDUMP" >&6; } 5116else 5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5118$as_echo "no" >&6; } 5119fi 5120 5121 5122fi 5123if test -z "$ac_cv_prog_OBJDUMP"; then 5124 ac_ct_OBJDUMP=$OBJDUMP 5125 # Extract the first word of "objdump", so it can be a program name with args. 5126set dummy objdump; ac_word=$2 5127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5128$as_echo_n "checking for $ac_word... " >&6; } 5129if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5130 $as_echo_n "(cached) " >&6 5131else 5132 if test -n "$ac_ct_OBJDUMP"; then 5133 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5134else 5135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5136for as_dir in $PATH 5137do 5138 IFS=$as_save_IFS 5139 test -z "$as_dir" && as_dir=. 5140 for ac_exec_ext in '' $ac_executable_extensions; do 5141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5142 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5144 break 2 5145 fi 5146done 5147 done 5148IFS=$as_save_IFS 5149 5150fi 5151fi 5152ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5153if test -n "$ac_ct_OBJDUMP"; then 5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5155$as_echo "$ac_ct_OBJDUMP" >&6; } 5156else 5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5158$as_echo "no" >&6; } 5159fi 5160 5161 if test "x$ac_ct_OBJDUMP" = x; then 5162 OBJDUMP="false" 5163 else 5164 case $cross_compiling:$ac_tool_warned in 5165yes:) 5166{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5167$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5168ac_tool_warned=yes ;; 5169esac 5170 OBJDUMP=$ac_ct_OBJDUMP 5171 fi 5172else 5173 OBJDUMP="$ac_cv_prog_OBJDUMP" 5174fi 5175 5176test -z "$OBJDUMP" && OBJDUMP=objdump 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5187$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5188if ${lt_cv_deplibs_check_method+:} false; then : 5189 $as_echo_n "(cached) " >&6 5190else 5191 lt_cv_file_magic_cmd='$MAGIC_CMD' 5192lt_cv_file_magic_test_file= 5193lt_cv_deplibs_check_method='unknown' 5194# Need to set the preceding variable on all platforms that support 5195# interlibrary dependencies. 5196# 'none' -- dependencies not supported. 5197# 'unknown' -- same as none, but documents that we really don't know. 5198# 'pass_all' -- all dependencies passed with no checks. 5199# 'test_compile' -- check by making test program. 5200# 'file_magic [[regex]]' -- check by looking for files in library path 5201# that responds to the $file_magic_cmd with a given extended regex. 5202# If you have 'file' or equivalent on your system and you're not sure 5203# whether 'pass_all' will *always* work, you probably want this one. 5204 5205case $host_os in 5206aix[4-9]*) 5207 lt_cv_deplibs_check_method=pass_all 5208 ;; 5209 5210beos*) 5211 lt_cv_deplibs_check_method=pass_all 5212 ;; 5213 5214bsdi[45]*) 5215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5216 lt_cv_file_magic_cmd='/usr/bin/file -L' 5217 lt_cv_file_magic_test_file=/shlib/libc.so 5218 ;; 5219 5220cygwin*) 5221 # func_win32_libid is a shell function defined in ltmain.sh 5222 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5223 lt_cv_file_magic_cmd='func_win32_libid' 5224 ;; 5225 5226mingw* | pw32*) 5227 # Base MSYS/MinGW do not provide the 'file' command needed by 5228 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5229 # unless we find 'file', for example because we are cross-compiling. 5230 if ( file / ) >/dev/null 2>&1; then 5231 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5232 lt_cv_file_magic_cmd='func_win32_libid' 5233 else 5234 # Keep this pattern in sync with the one in func_win32_libid. 5235 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5236 lt_cv_file_magic_cmd='$OBJDUMP -f' 5237 fi 5238 ;; 5239 5240cegcc*) 5241 # use the weaker test based on 'objdump'. See mingw*. 5242 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5243 lt_cv_file_magic_cmd='$OBJDUMP -f' 5244 ;; 5245 5246darwin* | rhapsody*) 5247 lt_cv_deplibs_check_method=pass_all 5248 ;; 5249 5250freebsd* | dragonfly*) 5251 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5252 case $host_cpu in 5253 i*86 ) 5254 # Not sure whether the presence of OpenBSD here was a mistake. 5255 # Let's accept both of them until this is cleared up. 5256 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5257 lt_cv_file_magic_cmd=/usr/bin/file 5258 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5259 ;; 5260 esac 5261 else 5262 lt_cv_deplibs_check_method=pass_all 5263 fi 5264 ;; 5265 5266haiku*) 5267 lt_cv_deplibs_check_method=pass_all 5268 ;; 5269 5270hpux10.20* | hpux11*) 5271 lt_cv_file_magic_cmd=/usr/bin/file 5272 case $host_cpu in 5273 ia64*) 5274 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5275 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5276 ;; 5277 hppa*64*) 5278 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]' 5279 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5280 ;; 5281 *) 5282 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5283 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5284 ;; 5285 esac 5286 ;; 5287 5288interix[3-9]*) 5289 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5291 ;; 5292 5293irix5* | irix6* | nonstopux*) 5294 case $LD in 5295 *-32|*"-32 ") libmagic=32-bit;; 5296 *-n32|*"-n32 ") libmagic=N32;; 5297 *-64|*"-64 ") libmagic=64-bit;; 5298 *) libmagic=never-match;; 5299 esac 5300 lt_cv_deplibs_check_method=pass_all 5301 ;; 5302 5303# This must be glibc/ELF. 5304linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5305 lt_cv_deplibs_check_method=pass_all 5306 ;; 5307 5308netbsd* | netbsdelf*-gnu) 5309 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5310 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5311 else 5312 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5313 fi 5314 ;; 5315 5316newos6*) 5317 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5318 lt_cv_file_magic_cmd=/usr/bin/file 5319 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5320 ;; 5321 5322*nto* | *qnx*) 5323 lt_cv_deplibs_check_method=pass_all 5324 ;; 5325 5326openbsd* | bitrig*) 5327 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5329 else 5330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5331 fi 5332 ;; 5333 5334osf3* | osf4* | osf5*) 5335 lt_cv_deplibs_check_method=pass_all 5336 ;; 5337 5338rdos*) 5339 lt_cv_deplibs_check_method=pass_all 5340 ;; 5341 5342solaris*) 5343 lt_cv_deplibs_check_method=pass_all 5344 ;; 5345 5346sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5347 lt_cv_deplibs_check_method=pass_all 5348 ;; 5349 5350sysv4 | sysv4.3*) 5351 case $host_vendor in 5352 motorola) 5353 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]' 5354 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5355 ;; 5356 ncr) 5357 lt_cv_deplibs_check_method=pass_all 5358 ;; 5359 sequent) 5360 lt_cv_file_magic_cmd='/bin/file' 5361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5362 ;; 5363 sni) 5364 lt_cv_file_magic_cmd='/bin/file' 5365 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5366 lt_cv_file_magic_test_file=/lib/libc.so 5367 ;; 5368 siemens) 5369 lt_cv_deplibs_check_method=pass_all 5370 ;; 5371 pc) 5372 lt_cv_deplibs_check_method=pass_all 5373 ;; 5374 esac 5375 ;; 5376 5377tpf*) 5378 lt_cv_deplibs_check_method=pass_all 5379 ;; 5380os2*) 5381 lt_cv_deplibs_check_method=pass_all 5382 ;; 5383esac 5384 5385fi 5386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5387$as_echo "$lt_cv_deplibs_check_method" >&6; } 5388 5389file_magic_glob= 5390want_nocaseglob=no 5391if test "$build" = "$host"; then 5392 case $host_os in 5393 mingw* | pw32*) 5394 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5395 want_nocaseglob=yes 5396 else 5397 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5398 fi 5399 ;; 5400 esac 5401fi 5402 5403file_magic_cmd=$lt_cv_file_magic_cmd 5404deplibs_check_method=$lt_cv_deplibs_check_method 5405test -z "$deplibs_check_method" && deplibs_check_method=unknown 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428if test -n "$ac_tool_prefix"; then 5429 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5430set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5432$as_echo_n "checking for $ac_word... " >&6; } 5433if ${ac_cv_prog_DLLTOOL+:} false; then : 5434 $as_echo_n "(cached) " >&6 5435else 5436 if test -n "$DLLTOOL"; then 5437 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5438else 5439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5440for as_dir in $PATH 5441do 5442 IFS=$as_save_IFS 5443 test -z "$as_dir" && as_dir=. 5444 for ac_exec_ext in '' $ac_executable_extensions; do 5445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5446 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5448 break 2 5449 fi 5450done 5451 done 5452IFS=$as_save_IFS 5453 5454fi 5455fi 5456DLLTOOL=$ac_cv_prog_DLLTOOL 5457if test -n "$DLLTOOL"; then 5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5459$as_echo "$DLLTOOL" >&6; } 5460else 5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5462$as_echo "no" >&6; } 5463fi 5464 5465 5466fi 5467if test -z "$ac_cv_prog_DLLTOOL"; then 5468 ac_ct_DLLTOOL=$DLLTOOL 5469 # Extract the first word of "dlltool", so it can be a program name with args. 5470set dummy dlltool; ac_word=$2 5471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5472$as_echo_n "checking for $ac_word... " >&6; } 5473if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5474 $as_echo_n "(cached) " >&6 5475else 5476 if test -n "$ac_ct_DLLTOOL"; then 5477 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5478else 5479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5480for as_dir in $PATH 5481do 5482 IFS=$as_save_IFS 5483 test -z "$as_dir" && as_dir=. 5484 for ac_exec_ext in '' $ac_executable_extensions; do 5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5486 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5488 break 2 5489 fi 5490done 5491 done 5492IFS=$as_save_IFS 5493 5494fi 5495fi 5496ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5497if test -n "$ac_ct_DLLTOOL"; then 5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5499$as_echo "$ac_ct_DLLTOOL" >&6; } 5500else 5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5502$as_echo "no" >&6; } 5503fi 5504 5505 if test "x$ac_ct_DLLTOOL" = x; then 5506 DLLTOOL="false" 5507 else 5508 case $cross_compiling:$ac_tool_warned in 5509yes:) 5510{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5511$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5512ac_tool_warned=yes ;; 5513esac 5514 DLLTOOL=$ac_ct_DLLTOOL 5515 fi 5516else 5517 DLLTOOL="$ac_cv_prog_DLLTOOL" 5518fi 5519 5520test -z "$DLLTOOL" && DLLTOOL=dlltool 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5532$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5533if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5534 $as_echo_n "(cached) " >&6 5535else 5536 lt_cv_sharedlib_from_linklib_cmd='unknown' 5537 5538case $host_os in 5539cygwin* | mingw* | pw32* | cegcc*) 5540 # two different shell functions defined in ltmain.sh; 5541 # decide which one to use based on capabilities of $DLLTOOL 5542 case `$DLLTOOL --help 2>&1` in 5543 *--identify-strict*) 5544 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5545 ;; 5546 *) 5547 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5548 ;; 5549 esac 5550 ;; 5551*) 5552 # fallback: assume linklib IS sharedlib 5553 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5554 ;; 5555esac 5556 5557fi 5558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5559$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5560sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5561test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5562 5563 5564 5565 5566 5567 5568 5569 5570if test -n "$ac_tool_prefix"; then 5571 for ac_prog in ar 5572 do 5573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5574set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5576$as_echo_n "checking for $ac_word... " >&6; } 5577if ${ac_cv_prog_AR+:} false; then : 5578 $as_echo_n "(cached) " >&6 5579else 5580 if test -n "$AR"; then 5581 ac_cv_prog_AR="$AR" # Let the user override the test. 5582else 5583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5584for as_dir in $PATH 5585do 5586 IFS=$as_save_IFS 5587 test -z "$as_dir" && as_dir=. 5588 for ac_exec_ext in '' $ac_executable_extensions; do 5589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5590 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5592 break 2 5593 fi 5594done 5595 done 5596IFS=$as_save_IFS 5597 5598fi 5599fi 5600AR=$ac_cv_prog_AR 5601if test -n "$AR"; then 5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5603$as_echo "$AR" >&6; } 5604else 5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5606$as_echo "no" >&6; } 5607fi 5608 5609 5610 test -n "$AR" && break 5611 done 5612fi 5613if test -z "$AR"; then 5614 ac_ct_AR=$AR 5615 for ac_prog in ar 5616do 5617 # Extract the first word of "$ac_prog", so it can be a program name with args. 5618set dummy $ac_prog; ac_word=$2 5619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5620$as_echo_n "checking for $ac_word... " >&6; } 5621if ${ac_cv_prog_ac_ct_AR+:} false; then : 5622 $as_echo_n "(cached) " >&6 5623else 5624 if test -n "$ac_ct_AR"; then 5625 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5626else 5627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5628for as_dir in $PATH 5629do 5630 IFS=$as_save_IFS 5631 test -z "$as_dir" && as_dir=. 5632 for ac_exec_ext in '' $ac_executable_extensions; do 5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5634 ac_cv_prog_ac_ct_AR="$ac_prog" 5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5636 break 2 5637 fi 5638done 5639 done 5640IFS=$as_save_IFS 5641 5642fi 5643fi 5644ac_ct_AR=$ac_cv_prog_ac_ct_AR 5645if test -n "$ac_ct_AR"; then 5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5647$as_echo "$ac_ct_AR" >&6; } 5648else 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5650$as_echo "no" >&6; } 5651fi 5652 5653 5654 test -n "$ac_ct_AR" && break 5655done 5656 5657 if test "x$ac_ct_AR" = x; then 5658 AR="false" 5659 else 5660 case $cross_compiling:$ac_tool_warned in 5661yes:) 5662{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5663$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5664ac_tool_warned=yes ;; 5665esac 5666 AR=$ac_ct_AR 5667 fi 5668fi 5669 5670: ${AR=ar} 5671: ${AR_FLAGS=cru} 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5684$as_echo_n "checking for archiver @FILE support... " >&6; } 5685if ${lt_cv_ar_at_file+:} false; then : 5686 $as_echo_n "(cached) " >&6 5687else 5688 lt_cv_ar_at_file=no 5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5690/* end confdefs.h. */ 5691 5692int 5693main () 5694{ 5695 5696 ; 5697 return 0; 5698} 5699_ACEOF 5700if ac_fn_c_try_compile "$LINENO"; then : 5701 echo conftest.$ac_objext > conftest.lst 5702 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5703 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5704 (eval $lt_ar_try) 2>&5 5705 ac_status=$? 5706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5707 test $ac_status = 0; } 5708 if test 0 -eq "$ac_status"; then 5709 # Ensure the archiver fails upon bogus file names. 5710 rm -f conftest.$ac_objext libconftest.a 5711 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5712 (eval $lt_ar_try) 2>&5 5713 ac_status=$? 5714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5715 test $ac_status = 0; } 5716 if test 0 -ne "$ac_status"; then 5717 lt_cv_ar_at_file=@ 5718 fi 5719 fi 5720 rm -f conftest.* libconftest.a 5721 5722fi 5723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5724 5725fi 5726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5727$as_echo "$lt_cv_ar_at_file" >&6; } 5728 5729if test no = "$lt_cv_ar_at_file"; then 5730 archiver_list_spec= 5731else 5732 archiver_list_spec=$lt_cv_ar_at_file 5733fi 5734 5735 5736 5737 5738 5739 5740 5741if test -n "$ac_tool_prefix"; then 5742 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5743set dummy ${ac_tool_prefix}strip; ac_word=$2 5744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5745$as_echo_n "checking for $ac_word... " >&6; } 5746if ${ac_cv_prog_STRIP+:} false; then : 5747 $as_echo_n "(cached) " >&6 5748else 5749 if test -n "$STRIP"; then 5750 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5751else 5752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5753for as_dir in $PATH 5754do 5755 IFS=$as_save_IFS 5756 test -z "$as_dir" && as_dir=. 5757 for ac_exec_ext in '' $ac_executable_extensions; do 5758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5759 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5761 break 2 5762 fi 5763done 5764 done 5765IFS=$as_save_IFS 5766 5767fi 5768fi 5769STRIP=$ac_cv_prog_STRIP 5770if test -n "$STRIP"; then 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5772$as_echo "$STRIP" >&6; } 5773else 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5775$as_echo "no" >&6; } 5776fi 5777 5778 5779fi 5780if test -z "$ac_cv_prog_STRIP"; then 5781 ac_ct_STRIP=$STRIP 5782 # Extract the first word of "strip", so it can be a program name with args. 5783set dummy strip; ac_word=$2 5784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5785$as_echo_n "checking for $ac_word... " >&6; } 5786if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5787 $as_echo_n "(cached) " >&6 5788else 5789 if test -n "$ac_ct_STRIP"; then 5790 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5791else 5792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5793for as_dir in $PATH 5794do 5795 IFS=$as_save_IFS 5796 test -z "$as_dir" && as_dir=. 5797 for ac_exec_ext in '' $ac_executable_extensions; do 5798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5799 ac_cv_prog_ac_ct_STRIP="strip" 5800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5801 break 2 5802 fi 5803done 5804 done 5805IFS=$as_save_IFS 5806 5807fi 5808fi 5809ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5810if test -n "$ac_ct_STRIP"; then 5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5812$as_echo "$ac_ct_STRIP" >&6; } 5813else 5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5815$as_echo "no" >&6; } 5816fi 5817 5818 if test "x$ac_ct_STRIP" = x; then 5819 STRIP=":" 5820 else 5821 case $cross_compiling:$ac_tool_warned in 5822yes:) 5823{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5824$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5825ac_tool_warned=yes ;; 5826esac 5827 STRIP=$ac_ct_STRIP 5828 fi 5829else 5830 STRIP="$ac_cv_prog_STRIP" 5831fi 5832 5833test -z "$STRIP" && STRIP=: 5834 5835 5836 5837 5838 5839 5840if test -n "$ac_tool_prefix"; then 5841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5842set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5844$as_echo_n "checking for $ac_word... " >&6; } 5845if ${ac_cv_prog_RANLIB+:} false; then : 5846 $as_echo_n "(cached) " >&6 5847else 5848 if test -n "$RANLIB"; then 5849 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5850else 5851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5852for as_dir in $PATH 5853do 5854 IFS=$as_save_IFS 5855 test -z "$as_dir" && as_dir=. 5856 for ac_exec_ext in '' $ac_executable_extensions; do 5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5858 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5860 break 2 5861 fi 5862done 5863 done 5864IFS=$as_save_IFS 5865 5866fi 5867fi 5868RANLIB=$ac_cv_prog_RANLIB 5869if test -n "$RANLIB"; then 5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5871$as_echo "$RANLIB" >&6; } 5872else 5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5874$as_echo "no" >&6; } 5875fi 5876 5877 5878fi 5879if test -z "$ac_cv_prog_RANLIB"; then 5880 ac_ct_RANLIB=$RANLIB 5881 # Extract the first word of "ranlib", so it can be a program name with args. 5882set dummy ranlib; ac_word=$2 5883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5884$as_echo_n "checking for $ac_word... " >&6; } 5885if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5886 $as_echo_n "(cached) " >&6 5887else 5888 if test -n "$ac_ct_RANLIB"; then 5889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5890else 5891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5892for as_dir in $PATH 5893do 5894 IFS=$as_save_IFS 5895 test -z "$as_dir" && as_dir=. 5896 for ac_exec_ext in '' $ac_executable_extensions; do 5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5898 ac_cv_prog_ac_ct_RANLIB="ranlib" 5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5900 break 2 5901 fi 5902done 5903 done 5904IFS=$as_save_IFS 5905 5906fi 5907fi 5908ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5909if test -n "$ac_ct_RANLIB"; then 5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5911$as_echo "$ac_ct_RANLIB" >&6; } 5912else 5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5914$as_echo "no" >&6; } 5915fi 5916 5917 if test "x$ac_ct_RANLIB" = x; then 5918 RANLIB=":" 5919 else 5920 case $cross_compiling:$ac_tool_warned in 5921yes:) 5922{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5923$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5924ac_tool_warned=yes ;; 5925esac 5926 RANLIB=$ac_ct_RANLIB 5927 fi 5928else 5929 RANLIB="$ac_cv_prog_RANLIB" 5930fi 5931 5932test -z "$RANLIB" && RANLIB=: 5933 5934 5935 5936 5937 5938 5939# Determine commands to create old-style static archives. 5940old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5941old_postinstall_cmds='chmod 644 $oldlib' 5942old_postuninstall_cmds= 5943 5944if test -n "$RANLIB"; then 5945 case $host_os in 5946 bitrig* | openbsd*) 5947 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5948 ;; 5949 *) 5950 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5951 ;; 5952 esac 5953 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5954fi 5955 5956case $host_os in 5957 darwin*) 5958 lock_old_archive_extraction=yes ;; 5959 *) 5960 lock_old_archive_extraction=no ;; 5961esac 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001# If no C compiler was specified, use CC. 6002LTCC=${LTCC-"$CC"} 6003 6004# If no C compiler flags were specified, use CFLAGS. 6005LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6006 6007# Allow CC to be a program name with arguments. 6008compiler=$CC 6009 6010 6011# Check for command to grab the raw symbol name followed by C symbol from nm. 6012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6013$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6014if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6015 $as_echo_n "(cached) " >&6 6016else 6017 6018# These are sane defaults that work on at least a few old systems. 6019# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6020 6021# Character class describing NM global symbol codes. 6022symcode='[BCDEGRST]' 6023 6024# Regexp to match symbols that can be accessed directly from C. 6025sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6026 6027# Define system-specific variables. 6028case $host_os in 6029aix*) 6030 symcode='[BCDT]' 6031 ;; 6032cygwin* | mingw* | pw32* | cegcc*) 6033 symcode='[ABCDGISTW]' 6034 ;; 6035hpux*) 6036 if test ia64 = "$host_cpu"; then 6037 symcode='[ABCDEGRST]' 6038 fi 6039 ;; 6040irix* | nonstopux*) 6041 symcode='[BCDEGRST]' 6042 ;; 6043osf*) 6044 symcode='[BCDEGQRST]' 6045 ;; 6046solaris*) 6047 symcode='[BDRT]' 6048 ;; 6049sco3.2v5*) 6050 symcode='[DT]' 6051 ;; 6052sysv4.2uw2*) 6053 symcode='[DT]' 6054 ;; 6055sysv5* | sco5v6* | unixware* | OpenUNIX*) 6056 symcode='[ABDT]' 6057 ;; 6058sysv4) 6059 symcode='[DFNSTU]' 6060 ;; 6061esac 6062 6063# If we're using GNU nm, then use its standard symbol codes. 6064case `$NM -V 2>&1` in 6065*GNU* | *'with BFD'*) 6066 symcode='[ABCDGIRSTW]' ;; 6067esac 6068 6069if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6070 # Gets list of data symbols to import. 6071 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6072 # Adjust the below global symbol transforms to fixup imported variables. 6073 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6074 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6075 lt_c_name_lib_hook="\ 6076 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6077 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6078else 6079 # Disable hooks by default. 6080 lt_cv_sys_global_symbol_to_import= 6081 lt_cdecl_hook= 6082 lt_c_name_hook= 6083 lt_c_name_lib_hook= 6084fi 6085 6086# Transform an extracted symbol line into a proper C declaration. 6087# Some systems (esp. on ia64) link data and code symbols differently, 6088# so use this general approach. 6089lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6090$lt_cdecl_hook\ 6091" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6092" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6093 6094# Transform an extracted symbol line into symbol name and symbol address 6095lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6096$lt_c_name_hook\ 6097" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6098" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6099 6100# Transform an extracted symbol line into symbol name with lib prefix and 6101# symbol address. 6102lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6103$lt_c_name_lib_hook\ 6104" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6105" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6106" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6107 6108# Handle CRLF in mingw tool chain 6109opt_cr= 6110case $build_os in 6111mingw*) 6112 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6113 ;; 6114esac 6115 6116# Try without a prefix underscore, then with it. 6117for ac_symprfx in "" "_"; do 6118 6119 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6120 symxfrm="\\1 $ac_symprfx\\2 \\2" 6121 6122 # Write the raw and C identifiers. 6123 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6124 # Fake it for dumpbin and say T for any non-static function, 6125 # D for any global variable and I for any imported variable. 6126 # Also find C++ and __fastcall symbols from MSVC++, 6127 # which start with @ or ?. 6128 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6129" {last_section=section; section=\$ 3};"\ 6130" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6131" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6132" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6133" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6134" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6135" \$ 0!~/External *\|/{next};"\ 6136" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6137" {if(hide[section]) next};"\ 6138" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6139" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6140" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6141" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6142" ' prfx=^$ac_symprfx" 6143 else 6144 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6145 fi 6146 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6147 6148 # Check to see that the pipe works correctly. 6149 pipe_works=no 6150 6151 rm -f conftest* 6152 cat > conftest.$ac_ext <<_LT_EOF 6153#ifdef __cplusplus 6154extern "C" { 6155#endif 6156char nm_test_var; 6157void nm_test_func(void); 6158void nm_test_func(void){} 6159#ifdef __cplusplus 6160} 6161#endif 6162int main(){nm_test_var='a';nm_test_func();return(0);} 6163_LT_EOF 6164 6165 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6166 (eval $ac_compile) 2>&5 6167 ac_status=$? 6168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6169 test $ac_status = 0; }; then 6170 # Now try to grab the symbols. 6171 nlist=conftest.nm 6172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6173 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6174 ac_status=$? 6175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6176 test $ac_status = 0; } && test -s "$nlist"; then 6177 # Try sorting and uniquifying the output. 6178 if sort "$nlist" | uniq > "$nlist"T; then 6179 mv -f "$nlist"T "$nlist" 6180 else 6181 rm -f "$nlist"T 6182 fi 6183 6184 # Make sure that we snagged all the symbols we need. 6185 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6186 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6187 cat <<_LT_EOF > conftest.$ac_ext 6188/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6189#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6190/* DATA imports from DLLs on WIN32 can't be const, because runtime 6191 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6192# define LT_DLSYM_CONST 6193#elif defined __osf__ 6194/* This system does not cope well with relocations in const data. */ 6195# define LT_DLSYM_CONST 6196#else 6197# define LT_DLSYM_CONST const 6198#endif 6199 6200#ifdef __cplusplus 6201extern "C" { 6202#endif 6203 6204_LT_EOF 6205 # Now generate the symbol file. 6206 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6207 6208 cat <<_LT_EOF >> conftest.$ac_ext 6209 6210/* The mapping between symbol names and symbols. */ 6211LT_DLSYM_CONST struct { 6212 const char *name; 6213 void *address; 6214} 6215lt__PROGRAM__LTX_preloaded_symbols[] = 6216{ 6217 { "@PROGRAM@", (void *) 0 }, 6218_LT_EOF 6219 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6220 cat <<\_LT_EOF >> conftest.$ac_ext 6221 {0, (void *) 0} 6222}; 6223 6224/* This works around a problem in FreeBSD linker */ 6225#ifdef FREEBSD_WORKAROUND 6226static const void *lt_preloaded_setup() { 6227 return lt__PROGRAM__LTX_preloaded_symbols; 6228} 6229#endif 6230 6231#ifdef __cplusplus 6232} 6233#endif 6234_LT_EOF 6235 # Now try linking the two files. 6236 mv conftest.$ac_objext conftstm.$ac_objext 6237 lt_globsym_save_LIBS=$LIBS 6238 lt_globsym_save_CFLAGS=$CFLAGS 6239 LIBS=conftstm.$ac_objext 6240 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6242 (eval $ac_link) 2>&5 6243 ac_status=$? 6244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6245 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6246 pipe_works=yes 6247 fi 6248 LIBS=$lt_globsym_save_LIBS 6249 CFLAGS=$lt_globsym_save_CFLAGS 6250 else 6251 echo "cannot find nm_test_func in $nlist" >&5 6252 fi 6253 else 6254 echo "cannot find nm_test_var in $nlist" >&5 6255 fi 6256 else 6257 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6258 fi 6259 else 6260 echo "$progname: failed program was:" >&5 6261 cat conftest.$ac_ext >&5 6262 fi 6263 rm -rf conftest* conftst* 6264 6265 # Do not use the global_symbol_pipe unless it works. 6266 if test yes = "$pipe_works"; then 6267 break 6268 else 6269 lt_cv_sys_global_symbol_pipe= 6270 fi 6271done 6272 6273fi 6274 6275if test -z "$lt_cv_sys_global_symbol_pipe"; then 6276 lt_cv_sys_global_symbol_to_cdecl= 6277fi 6278if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6280$as_echo "failed" >&6; } 6281else 6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6283$as_echo "ok" >&6; } 6284fi 6285 6286# Response file support. 6287if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6288 nm_file_list_spec='@' 6289elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6290 nm_file_list_spec='@' 6291fi 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6330$as_echo_n "checking for sysroot... " >&6; } 6331 6332# Check whether --with-sysroot was given. 6333if test "${with_sysroot+set}" = set; then : 6334 withval=$with_sysroot; 6335else 6336 with_sysroot=no 6337fi 6338 6339 6340lt_sysroot= 6341case $with_sysroot in #( 6342 yes) 6343 if test yes = "$GCC"; then 6344 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6345 fi 6346 ;; #( 6347 /*) 6348 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6349 ;; #( 6350 no|'') 6351 ;; #( 6352 *) 6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6354$as_echo "$with_sysroot" >&6; } 6355 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6356 ;; 6357esac 6358 6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6360$as_echo "${lt_sysroot:-no}" >&6; } 6361 6362 6363 6364 6365 6366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6367$as_echo_n "checking for a working dd... " >&6; } 6368if ${ac_cv_path_lt_DD+:} false; then : 6369 $as_echo_n "(cached) " >&6 6370else 6371 printf 0123456789abcdef0123456789abcdef >conftest.i 6372cat conftest.i conftest.i >conftest2.i 6373: ${lt_DD:=$DD} 6374if test -z "$lt_DD"; then 6375 ac_path_lt_DD_found=false 6376 # Loop through the user's path and test for each of PROGNAME-LIST 6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6378for as_dir in $PATH 6379do 6380 IFS=$as_save_IFS 6381 test -z "$as_dir" && as_dir=. 6382 for ac_prog in dd; do 6383 for ac_exec_ext in '' $ac_executable_extensions; do 6384 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6385 as_fn_executable_p "$ac_path_lt_DD" || continue 6386if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6387 cmp -s conftest.i conftest.out \ 6388 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6389fi 6390 $ac_path_lt_DD_found && break 3 6391 done 6392 done 6393 done 6394IFS=$as_save_IFS 6395 if test -z "$ac_cv_path_lt_DD"; then 6396 : 6397 fi 6398else 6399 ac_cv_path_lt_DD=$lt_DD 6400fi 6401 6402rm -f conftest.i conftest2.i conftest.out 6403fi 6404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6405$as_echo "$ac_cv_path_lt_DD" >&6; } 6406 6407 6408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6409$as_echo_n "checking how to truncate binary pipes... " >&6; } 6410if ${lt_cv_truncate_bin+:} false; then : 6411 $as_echo_n "(cached) " >&6 6412else 6413 printf 0123456789abcdef0123456789abcdef >conftest.i 6414cat conftest.i conftest.i >conftest2.i 6415lt_cv_truncate_bin= 6416if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6417 cmp -s conftest.i conftest.out \ 6418 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6419fi 6420rm -f conftest.i conftest2.i conftest.out 6421test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6422fi 6423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6424$as_echo "$lt_cv_truncate_bin" >&6; } 6425 6426 6427 6428 6429 6430 6431 6432# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6433func_cc_basename () 6434{ 6435 for cc_temp in $*""; do 6436 case $cc_temp in 6437 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6438 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6439 \-*) ;; 6440 *) break;; 6441 esac 6442 done 6443 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6444} 6445 6446# Check whether --enable-libtool-lock was given. 6447if test "${enable_libtool_lock+set}" = set; then : 6448 enableval=$enable_libtool_lock; 6449fi 6450 6451test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6452 6453# Some flags need to be propagated to the compiler or linker for good 6454# libtool support. 6455case $host in 6456ia64-*-hpux*) 6457 # Find out what ABI is being produced by ac_compile, and set mode 6458 # options accordingly. 6459 echo 'int i;' > conftest.$ac_ext 6460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6461 (eval $ac_compile) 2>&5 6462 ac_status=$? 6463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6464 test $ac_status = 0; }; then 6465 case `/usr/bin/file conftest.$ac_objext` in 6466 *ELF-32*) 6467 HPUX_IA64_MODE=32 6468 ;; 6469 *ELF-64*) 6470 HPUX_IA64_MODE=64 6471 ;; 6472 esac 6473 fi 6474 rm -rf conftest* 6475 ;; 6476*-*-irix6*) 6477 # Find out what ABI is being produced by ac_compile, and set linker 6478 # options accordingly. 6479 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6480 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6481 (eval $ac_compile) 2>&5 6482 ac_status=$? 6483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6484 test $ac_status = 0; }; then 6485 if test yes = "$lt_cv_prog_gnu_ld"; then 6486 case `/usr/bin/file conftest.$ac_objext` in 6487 *32-bit*) 6488 LD="${LD-ld} -melf32bsmip" 6489 ;; 6490 *N32*) 6491 LD="${LD-ld} -melf32bmipn32" 6492 ;; 6493 *64-bit*) 6494 LD="${LD-ld} -melf64bmip" 6495 ;; 6496 esac 6497 else 6498 case `/usr/bin/file conftest.$ac_objext` in 6499 *32-bit*) 6500 LD="${LD-ld} -32" 6501 ;; 6502 *N32*) 6503 LD="${LD-ld} -n32" 6504 ;; 6505 *64-bit*) 6506 LD="${LD-ld} -64" 6507 ;; 6508 esac 6509 fi 6510 fi 6511 rm -rf conftest* 6512 ;; 6513 6514mips64*-*linux*) 6515 # Find out what ABI is being produced by ac_compile, and set linker 6516 # options accordingly. 6517 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6518 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6519 (eval $ac_compile) 2>&5 6520 ac_status=$? 6521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6522 test $ac_status = 0; }; then 6523 emul=elf 6524 case `/usr/bin/file conftest.$ac_objext` in 6525 *32-bit*) 6526 emul="${emul}32" 6527 ;; 6528 *64-bit*) 6529 emul="${emul}64" 6530 ;; 6531 esac 6532 case `/usr/bin/file conftest.$ac_objext` in 6533 *MSB*) 6534 emul="${emul}btsmip" 6535 ;; 6536 *LSB*) 6537 emul="${emul}ltsmip" 6538 ;; 6539 esac 6540 case `/usr/bin/file conftest.$ac_objext` in 6541 *N32*) 6542 emul="${emul}n32" 6543 ;; 6544 esac 6545 LD="${LD-ld} -m $emul" 6546 fi 6547 rm -rf conftest* 6548 ;; 6549 6550x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6551s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6552 # Find out what ABI is being produced by ac_compile, and set linker 6553 # options accordingly. Note that the listed cases only cover the 6554 # situations where additional linker options are needed (such as when 6555 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6556 # vice versa); the common cases where no linker options are needed do 6557 # not appear in the list. 6558 echo 'int i;' > conftest.$ac_ext 6559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6560 (eval $ac_compile) 2>&5 6561 ac_status=$? 6562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6563 test $ac_status = 0; }; then 6564 case `/usr/bin/file conftest.o` in 6565 *32-bit*) 6566 case $host in 6567 x86_64-*kfreebsd*-gnu) 6568 LD="${LD-ld} -m elf_i386_fbsd" 6569 ;; 6570 x86_64-*linux*) 6571 case `/usr/bin/file conftest.o` in 6572 *x86-64*) 6573 LD="${LD-ld} -m elf32_x86_64" 6574 ;; 6575 *) 6576 LD="${LD-ld} -m elf_i386" 6577 ;; 6578 esac 6579 ;; 6580 powerpc64le-*linux*) 6581 LD="${LD-ld} -m elf32lppclinux" 6582 ;; 6583 powerpc64-*linux*) 6584 LD="${LD-ld} -m elf32ppclinux" 6585 ;; 6586 s390x-*linux*) 6587 LD="${LD-ld} -m elf_s390" 6588 ;; 6589 sparc64-*linux*) 6590 LD="${LD-ld} -m elf32_sparc" 6591 ;; 6592 esac 6593 ;; 6594 *64-bit*) 6595 case $host in 6596 x86_64-*kfreebsd*-gnu) 6597 LD="${LD-ld} -m elf_x86_64_fbsd" 6598 ;; 6599 x86_64-*linux*) 6600 LD="${LD-ld} -m elf_x86_64" 6601 ;; 6602 powerpcle-*linux*) 6603 LD="${LD-ld} -m elf64lppc" 6604 ;; 6605 powerpc-*linux*) 6606 LD="${LD-ld} -m elf64ppc" 6607 ;; 6608 s390*-*linux*|s390*-*tpf*) 6609 LD="${LD-ld} -m elf64_s390" 6610 ;; 6611 sparc*-*linux*) 6612 LD="${LD-ld} -m elf64_sparc" 6613 ;; 6614 esac 6615 ;; 6616 esac 6617 fi 6618 rm -rf conftest* 6619 ;; 6620 6621*-*-sco3.2v5*) 6622 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6623 SAVE_CFLAGS=$CFLAGS 6624 CFLAGS="$CFLAGS -belf" 6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6626$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6627if ${lt_cv_cc_needs_belf+:} false; then : 6628 $as_echo_n "(cached) " >&6 6629else 6630 ac_ext=c 6631ac_cpp='$CPP $CPPFLAGS' 6632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6634ac_compiler_gnu=$ac_cv_c_compiler_gnu 6635 6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6637/* end confdefs.h. */ 6638 6639int 6640main () 6641{ 6642 6643 ; 6644 return 0; 6645} 6646_ACEOF 6647if ac_fn_c_try_link "$LINENO"; then : 6648 lt_cv_cc_needs_belf=yes 6649else 6650 lt_cv_cc_needs_belf=no 6651fi 6652rm -f core conftest.err conftest.$ac_objext \ 6653 conftest$ac_exeext conftest.$ac_ext 6654 ac_ext=c 6655ac_cpp='$CPP $CPPFLAGS' 6656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6658ac_compiler_gnu=$ac_cv_c_compiler_gnu 6659 6660fi 6661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6662$as_echo "$lt_cv_cc_needs_belf" >&6; } 6663 if test yes != "$lt_cv_cc_needs_belf"; then 6664 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6665 CFLAGS=$SAVE_CFLAGS 6666 fi 6667 ;; 6668*-*solaris*) 6669 # Find out what ABI is being produced by ac_compile, and set linker 6670 # options accordingly. 6671 echo 'int i;' > conftest.$ac_ext 6672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6673 (eval $ac_compile) 2>&5 6674 ac_status=$? 6675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6676 test $ac_status = 0; }; then 6677 case `/usr/bin/file conftest.o` in 6678 *64-bit*) 6679 case $lt_cv_prog_gnu_ld in 6680 yes*) 6681 case $host in 6682 i?86-*-solaris*|x86_64-*-solaris*) 6683 LD="${LD-ld} -m elf_x86_64" 6684 ;; 6685 sparc*-*-solaris*) 6686 LD="${LD-ld} -m elf64_sparc" 6687 ;; 6688 esac 6689 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6690 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6691 LD=${LD-ld}_sol2 6692 fi 6693 ;; 6694 *) 6695 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6696 LD="${LD-ld} -64" 6697 fi 6698 ;; 6699 esac 6700 ;; 6701 esac 6702 fi 6703 rm -rf conftest* 6704 ;; 6705esac 6706 6707need_locks=$enable_libtool_lock 6708 6709if test -n "$ac_tool_prefix"; then 6710 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6711set dummy ${ac_tool_prefix}mt; ac_word=$2 6712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6713$as_echo_n "checking for $ac_word... " >&6; } 6714if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6715 $as_echo_n "(cached) " >&6 6716else 6717 if test -n "$MANIFEST_TOOL"; then 6718 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6719else 6720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6721for as_dir in $PATH 6722do 6723 IFS=$as_save_IFS 6724 test -z "$as_dir" && as_dir=. 6725 for ac_exec_ext in '' $ac_executable_extensions; do 6726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6727 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6729 break 2 6730 fi 6731done 6732 done 6733IFS=$as_save_IFS 6734 6735fi 6736fi 6737MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6738if test -n "$MANIFEST_TOOL"; then 6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6740$as_echo "$MANIFEST_TOOL" >&6; } 6741else 6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6743$as_echo "no" >&6; } 6744fi 6745 6746 6747fi 6748if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6749 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6750 # Extract the first word of "mt", so it can be a program name with args. 6751set dummy mt; ac_word=$2 6752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6753$as_echo_n "checking for $ac_word... " >&6; } 6754if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6755 $as_echo_n "(cached) " >&6 6756else 6757 if test -n "$ac_ct_MANIFEST_TOOL"; then 6758 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6759else 6760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6761for as_dir in $PATH 6762do 6763 IFS=$as_save_IFS 6764 test -z "$as_dir" && as_dir=. 6765 for ac_exec_ext in '' $ac_executable_extensions; do 6766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6767 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6769 break 2 6770 fi 6771done 6772 done 6773IFS=$as_save_IFS 6774 6775fi 6776fi 6777ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6778if test -n "$ac_ct_MANIFEST_TOOL"; then 6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6780$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6781else 6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6783$as_echo "no" >&6; } 6784fi 6785 6786 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6787 MANIFEST_TOOL=":" 6788 else 6789 case $cross_compiling:$ac_tool_warned in 6790yes:) 6791{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6792$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6793ac_tool_warned=yes ;; 6794esac 6795 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6796 fi 6797else 6798 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6799fi 6800 6801test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6803$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6804if ${lt_cv_path_mainfest_tool+:} false; then : 6805 $as_echo_n "(cached) " >&6 6806else 6807 lt_cv_path_mainfest_tool=no 6808 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6809 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6810 cat conftest.err >&5 6811 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6812 lt_cv_path_mainfest_tool=yes 6813 fi 6814 rm -f conftest* 6815fi 6816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6817$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6818if test yes != "$lt_cv_path_mainfest_tool"; then 6819 MANIFEST_TOOL=: 6820fi 6821 6822 6823 6824 6825 6826 6827 case $host_os in 6828 rhapsody* | darwin*) 6829 if test -n "$ac_tool_prefix"; then 6830 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6831set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6833$as_echo_n "checking for $ac_word... " >&6; } 6834if ${ac_cv_prog_DSYMUTIL+:} false; then : 6835 $as_echo_n "(cached) " >&6 6836else 6837 if test -n "$DSYMUTIL"; then 6838 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6839else 6840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6841for as_dir in $PATH 6842do 6843 IFS=$as_save_IFS 6844 test -z "$as_dir" && as_dir=. 6845 for ac_exec_ext in '' $ac_executable_extensions; do 6846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6847 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6849 break 2 6850 fi 6851done 6852 done 6853IFS=$as_save_IFS 6854 6855fi 6856fi 6857DSYMUTIL=$ac_cv_prog_DSYMUTIL 6858if test -n "$DSYMUTIL"; then 6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6860$as_echo "$DSYMUTIL" >&6; } 6861else 6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6863$as_echo "no" >&6; } 6864fi 6865 6866 6867fi 6868if test -z "$ac_cv_prog_DSYMUTIL"; then 6869 ac_ct_DSYMUTIL=$DSYMUTIL 6870 # Extract the first word of "dsymutil", so it can be a program name with args. 6871set dummy dsymutil; ac_word=$2 6872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6873$as_echo_n "checking for $ac_word... " >&6; } 6874if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6875 $as_echo_n "(cached) " >&6 6876else 6877 if test -n "$ac_ct_DSYMUTIL"; then 6878 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6879else 6880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6881for as_dir in $PATH 6882do 6883 IFS=$as_save_IFS 6884 test -z "$as_dir" && as_dir=. 6885 for ac_exec_ext in '' $ac_executable_extensions; do 6886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6887 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6889 break 2 6890 fi 6891done 6892 done 6893IFS=$as_save_IFS 6894 6895fi 6896fi 6897ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6898if test -n "$ac_ct_DSYMUTIL"; then 6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6900$as_echo "$ac_ct_DSYMUTIL" >&6; } 6901else 6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6903$as_echo "no" >&6; } 6904fi 6905 6906 if test "x$ac_ct_DSYMUTIL" = x; then 6907 DSYMUTIL=":" 6908 else 6909 case $cross_compiling:$ac_tool_warned in 6910yes:) 6911{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6912$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6913ac_tool_warned=yes ;; 6914esac 6915 DSYMUTIL=$ac_ct_DSYMUTIL 6916 fi 6917else 6918 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6919fi 6920 6921 if test -n "$ac_tool_prefix"; then 6922 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6923set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6925$as_echo_n "checking for $ac_word... " >&6; } 6926if ${ac_cv_prog_NMEDIT+:} false; then : 6927 $as_echo_n "(cached) " >&6 6928else 6929 if test -n "$NMEDIT"; then 6930 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6931else 6932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6933for as_dir in $PATH 6934do 6935 IFS=$as_save_IFS 6936 test -z "$as_dir" && as_dir=. 6937 for ac_exec_ext in '' $ac_executable_extensions; do 6938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6939 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6941 break 2 6942 fi 6943done 6944 done 6945IFS=$as_save_IFS 6946 6947fi 6948fi 6949NMEDIT=$ac_cv_prog_NMEDIT 6950if test -n "$NMEDIT"; then 6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6952$as_echo "$NMEDIT" >&6; } 6953else 6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6955$as_echo "no" >&6; } 6956fi 6957 6958 6959fi 6960if test -z "$ac_cv_prog_NMEDIT"; then 6961 ac_ct_NMEDIT=$NMEDIT 6962 # Extract the first word of "nmedit", so it can be a program name with args. 6963set dummy nmedit; ac_word=$2 6964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6965$as_echo_n "checking for $ac_word... " >&6; } 6966if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6967 $as_echo_n "(cached) " >&6 6968else 6969 if test -n "$ac_ct_NMEDIT"; then 6970 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6971else 6972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6973for as_dir in $PATH 6974do 6975 IFS=$as_save_IFS 6976 test -z "$as_dir" && as_dir=. 6977 for ac_exec_ext in '' $ac_executable_extensions; do 6978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6979 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6981 break 2 6982 fi 6983done 6984 done 6985IFS=$as_save_IFS 6986 6987fi 6988fi 6989ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6990if test -n "$ac_ct_NMEDIT"; then 6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6992$as_echo "$ac_ct_NMEDIT" >&6; } 6993else 6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6995$as_echo "no" >&6; } 6996fi 6997 6998 if test "x$ac_ct_NMEDIT" = x; then 6999 NMEDIT=":" 7000 else 7001 case $cross_compiling:$ac_tool_warned in 7002yes:) 7003{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7004$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7005ac_tool_warned=yes ;; 7006esac 7007 NMEDIT=$ac_ct_NMEDIT 7008 fi 7009else 7010 NMEDIT="$ac_cv_prog_NMEDIT" 7011fi 7012 7013 if test -n "$ac_tool_prefix"; then 7014 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7015set dummy ${ac_tool_prefix}lipo; ac_word=$2 7016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7017$as_echo_n "checking for $ac_word... " >&6; } 7018if ${ac_cv_prog_LIPO+:} false; then : 7019 $as_echo_n "(cached) " >&6 7020else 7021 if test -n "$LIPO"; then 7022 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7023else 7024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7025for as_dir in $PATH 7026do 7027 IFS=$as_save_IFS 7028 test -z "$as_dir" && as_dir=. 7029 for ac_exec_ext in '' $ac_executable_extensions; do 7030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7031 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7033 break 2 7034 fi 7035done 7036 done 7037IFS=$as_save_IFS 7038 7039fi 7040fi 7041LIPO=$ac_cv_prog_LIPO 7042if test -n "$LIPO"; then 7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7044$as_echo "$LIPO" >&6; } 7045else 7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7047$as_echo "no" >&6; } 7048fi 7049 7050 7051fi 7052if test -z "$ac_cv_prog_LIPO"; then 7053 ac_ct_LIPO=$LIPO 7054 # Extract the first word of "lipo", so it can be a program name with args. 7055set dummy lipo; ac_word=$2 7056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7057$as_echo_n "checking for $ac_word... " >&6; } 7058if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7059 $as_echo_n "(cached) " >&6 7060else 7061 if test -n "$ac_ct_LIPO"; then 7062 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7063else 7064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7065for as_dir in $PATH 7066do 7067 IFS=$as_save_IFS 7068 test -z "$as_dir" && as_dir=. 7069 for ac_exec_ext in '' $ac_executable_extensions; do 7070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7071 ac_cv_prog_ac_ct_LIPO="lipo" 7072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7073 break 2 7074 fi 7075done 7076 done 7077IFS=$as_save_IFS 7078 7079fi 7080fi 7081ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7082if test -n "$ac_ct_LIPO"; then 7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7084$as_echo "$ac_ct_LIPO" >&6; } 7085else 7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7087$as_echo "no" >&6; } 7088fi 7089 7090 if test "x$ac_ct_LIPO" = x; then 7091 LIPO=":" 7092 else 7093 case $cross_compiling:$ac_tool_warned in 7094yes:) 7095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7097ac_tool_warned=yes ;; 7098esac 7099 LIPO=$ac_ct_LIPO 7100 fi 7101else 7102 LIPO="$ac_cv_prog_LIPO" 7103fi 7104 7105 if test -n "$ac_tool_prefix"; then 7106 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7107set dummy ${ac_tool_prefix}otool; ac_word=$2 7108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7109$as_echo_n "checking for $ac_word... " >&6; } 7110if ${ac_cv_prog_OTOOL+:} false; then : 7111 $as_echo_n "(cached) " >&6 7112else 7113 if test -n "$OTOOL"; then 7114 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7115else 7116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7117for as_dir in $PATH 7118do 7119 IFS=$as_save_IFS 7120 test -z "$as_dir" && as_dir=. 7121 for ac_exec_ext in '' $ac_executable_extensions; do 7122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7123 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7125 break 2 7126 fi 7127done 7128 done 7129IFS=$as_save_IFS 7130 7131fi 7132fi 7133OTOOL=$ac_cv_prog_OTOOL 7134if test -n "$OTOOL"; then 7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7136$as_echo "$OTOOL" >&6; } 7137else 7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7139$as_echo "no" >&6; } 7140fi 7141 7142 7143fi 7144if test -z "$ac_cv_prog_OTOOL"; then 7145 ac_ct_OTOOL=$OTOOL 7146 # Extract the first word of "otool", so it can be a program name with args. 7147set dummy otool; ac_word=$2 7148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7149$as_echo_n "checking for $ac_word... " >&6; } 7150if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7151 $as_echo_n "(cached) " >&6 7152else 7153 if test -n "$ac_ct_OTOOL"; then 7154 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7155else 7156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7157for as_dir in $PATH 7158do 7159 IFS=$as_save_IFS 7160 test -z "$as_dir" && as_dir=. 7161 for ac_exec_ext in '' $ac_executable_extensions; do 7162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7163 ac_cv_prog_ac_ct_OTOOL="otool" 7164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7165 break 2 7166 fi 7167done 7168 done 7169IFS=$as_save_IFS 7170 7171fi 7172fi 7173ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7174if test -n "$ac_ct_OTOOL"; then 7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7176$as_echo "$ac_ct_OTOOL" >&6; } 7177else 7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7179$as_echo "no" >&6; } 7180fi 7181 7182 if test "x$ac_ct_OTOOL" = x; then 7183 OTOOL=":" 7184 else 7185 case $cross_compiling:$ac_tool_warned in 7186yes:) 7187{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7188$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7189ac_tool_warned=yes ;; 7190esac 7191 OTOOL=$ac_ct_OTOOL 7192 fi 7193else 7194 OTOOL="$ac_cv_prog_OTOOL" 7195fi 7196 7197 if test -n "$ac_tool_prefix"; then 7198 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7199set dummy ${ac_tool_prefix}otool64; ac_word=$2 7200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7201$as_echo_n "checking for $ac_word... " >&6; } 7202if ${ac_cv_prog_OTOOL64+:} false; then : 7203 $as_echo_n "(cached) " >&6 7204else 7205 if test -n "$OTOOL64"; then 7206 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7207else 7208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7209for as_dir in $PATH 7210do 7211 IFS=$as_save_IFS 7212 test -z "$as_dir" && as_dir=. 7213 for ac_exec_ext in '' $ac_executable_extensions; do 7214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7215 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7217 break 2 7218 fi 7219done 7220 done 7221IFS=$as_save_IFS 7222 7223fi 7224fi 7225OTOOL64=$ac_cv_prog_OTOOL64 7226if test -n "$OTOOL64"; then 7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7228$as_echo "$OTOOL64" >&6; } 7229else 7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7231$as_echo "no" >&6; } 7232fi 7233 7234 7235fi 7236if test -z "$ac_cv_prog_OTOOL64"; then 7237 ac_ct_OTOOL64=$OTOOL64 7238 # Extract the first word of "otool64", so it can be a program name with args. 7239set dummy otool64; ac_word=$2 7240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7241$as_echo_n "checking for $ac_word... " >&6; } 7242if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7243 $as_echo_n "(cached) " >&6 7244else 7245 if test -n "$ac_ct_OTOOL64"; then 7246 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7247else 7248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7249for as_dir in $PATH 7250do 7251 IFS=$as_save_IFS 7252 test -z "$as_dir" && as_dir=. 7253 for ac_exec_ext in '' $ac_executable_extensions; do 7254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7255 ac_cv_prog_ac_ct_OTOOL64="otool64" 7256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7257 break 2 7258 fi 7259done 7260 done 7261IFS=$as_save_IFS 7262 7263fi 7264fi 7265ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7266if test -n "$ac_ct_OTOOL64"; then 7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7268$as_echo "$ac_ct_OTOOL64" >&6; } 7269else 7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7271$as_echo "no" >&6; } 7272fi 7273 7274 if test "x$ac_ct_OTOOL64" = x; then 7275 OTOOL64=":" 7276 else 7277 case $cross_compiling:$ac_tool_warned in 7278yes:) 7279{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7280$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7281ac_tool_warned=yes ;; 7282esac 7283 OTOOL64=$ac_ct_OTOOL64 7284 fi 7285else 7286 OTOOL64="$ac_cv_prog_OTOOL64" 7287fi 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7316$as_echo_n "checking for -single_module linker flag... " >&6; } 7317if ${lt_cv_apple_cc_single_mod+:} false; then : 7318 $as_echo_n "(cached) " >&6 7319else 7320 lt_cv_apple_cc_single_mod=no 7321 if test -z "$LT_MULTI_MODULE"; then 7322 # By default we will add the -single_module flag. You can override 7323 # by either setting the environment variable LT_MULTI_MODULE 7324 # non-empty at configure time, or by adding -multi_module to the 7325 # link flags. 7326 rm -rf libconftest.dylib* 7327 echo "int foo(void){return 1;}" > conftest.c 7328 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7329-dynamiclib -Wl,-single_module conftest.c" >&5 7330 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7331 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7332 _lt_result=$? 7333 # If there is a non-empty error log, and "single_module" 7334 # appears in it, assume the flag caused a linker warning 7335 if test -s conftest.err && $GREP single_module conftest.err; then 7336 cat conftest.err >&5 7337 # Otherwise, if the output was created with a 0 exit code from 7338 # the compiler, it worked. 7339 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7340 lt_cv_apple_cc_single_mod=yes 7341 else 7342 cat conftest.err >&5 7343 fi 7344 rm -rf libconftest.dylib* 7345 rm -f conftest.* 7346 fi 7347fi 7348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7349$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7350 7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7352$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7353if ${lt_cv_ld_exported_symbols_list+:} false; then : 7354 $as_echo_n "(cached) " >&6 7355else 7356 lt_cv_ld_exported_symbols_list=no 7357 save_LDFLAGS=$LDFLAGS 7358 echo "_main" > conftest.sym 7359 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7361/* end confdefs.h. */ 7362 7363int 7364main () 7365{ 7366 7367 ; 7368 return 0; 7369} 7370_ACEOF 7371if ac_fn_c_try_link "$LINENO"; then : 7372 lt_cv_ld_exported_symbols_list=yes 7373else 7374 lt_cv_ld_exported_symbols_list=no 7375fi 7376rm -f core conftest.err conftest.$ac_objext \ 7377 conftest$ac_exeext conftest.$ac_ext 7378 LDFLAGS=$save_LDFLAGS 7379 7380fi 7381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7382$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7383 7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7385$as_echo_n "checking for -force_load linker flag... " >&6; } 7386if ${lt_cv_ld_force_load+:} false; then : 7387 $as_echo_n "(cached) " >&6 7388else 7389 lt_cv_ld_force_load=no 7390 cat > conftest.c << _LT_EOF 7391int forced_loaded() { return 2;} 7392_LT_EOF 7393 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7394 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7395 echo "$AR cru libconftest.a conftest.o" >&5 7396 $AR cru libconftest.a conftest.o 2>&5 7397 echo "$RANLIB libconftest.a" >&5 7398 $RANLIB libconftest.a 2>&5 7399 cat > conftest.c << _LT_EOF 7400int main() { return 0;} 7401_LT_EOF 7402 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7403 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7404 _lt_result=$? 7405 if test -s conftest.err && $GREP force_load conftest.err; then 7406 cat conftest.err >&5 7407 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7408 lt_cv_ld_force_load=yes 7409 else 7410 cat conftest.err >&5 7411 fi 7412 rm -f conftest.err libconftest.a conftest conftest.c 7413 rm -rf conftest.dSYM 7414 7415fi 7416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7417$as_echo "$lt_cv_ld_force_load" >&6; } 7418 case $host_os in 7419 rhapsody* | darwin1.[012]) 7420 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7421 darwin1.*) 7422 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7423 darwin*) # darwin 5.x on 7424 # if running on 10.5 or later, the deployment target defaults 7425 # to the OS version, if on x86, and 10.4, the deployment 7426 # target defaults to 10.4. Don't you love it? 7427 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7428 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7429 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7430 10.[012][,.]*) 7431 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7432 10.*) 7433 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7434 esac 7435 ;; 7436 esac 7437 if test yes = "$lt_cv_apple_cc_single_mod"; then 7438 _lt_dar_single_mod='$single_module' 7439 fi 7440 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7441 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7442 else 7443 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7444 fi 7445 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7446 _lt_dsymutil='~$DSYMUTIL $lib || :' 7447 else 7448 _lt_dsymutil= 7449 fi 7450 ;; 7451 esac 7452 7453# func_munge_path_list VARIABLE PATH 7454# ----------------------------------- 7455# VARIABLE is name of variable containing _space_ separated list of 7456# directories to be munged by the contents of PATH, which is string 7457# having a format: 7458# "DIR[:DIR]:" 7459# string "DIR[ DIR]" will be prepended to VARIABLE 7460# ":DIR[:DIR]" 7461# string "DIR[ DIR]" will be appended to VARIABLE 7462# "DIRP[:DIRP]::[DIRA:]DIRA" 7463# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7464# "DIRA[ DIRA]" will be appended to VARIABLE 7465# "DIR[:DIR]" 7466# VARIABLE will be replaced by "DIR[ DIR]" 7467func_munge_path_list () 7468{ 7469 case x$2 in 7470 x) 7471 ;; 7472 *:) 7473 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7474 ;; 7475 x:*) 7476 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7477 ;; 7478 *::*) 7479 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7480 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7481 ;; 7482 *) 7483 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7484 ;; 7485 esac 7486} 7487 7488ac_ext=c 7489ac_cpp='$CPP $CPPFLAGS' 7490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7492ac_compiler_gnu=$ac_cv_c_compiler_gnu 7493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7494$as_echo_n "checking how to run the C preprocessor... " >&6; } 7495# On Suns, sometimes $CPP names a directory. 7496if test -n "$CPP" && test -d "$CPP"; then 7497 CPP= 7498fi 7499if test -z "$CPP"; then 7500 if ${ac_cv_prog_CPP+:} false; then : 7501 $as_echo_n "(cached) " >&6 7502else 7503 # Double quotes because CPP needs to be expanded 7504 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7505 do 7506 ac_preproc_ok=false 7507for ac_c_preproc_warn_flag in '' yes 7508do 7509 # Use a header file that comes with gcc, so configuring glibc 7510 # with a fresh cross-compiler works. 7511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7512 # <limits.h> exists even on freestanding compilers. 7513 # On the NeXT, cc -E runs the code through the compiler's parser, 7514 # not just through cpp. "Syntax error" is here to catch this case. 7515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7516/* end confdefs.h. */ 7517#ifdef __STDC__ 7518# include <limits.h> 7519#else 7520# include <assert.h> 7521#endif 7522 Syntax error 7523_ACEOF 7524if ac_fn_c_try_cpp "$LINENO"; then : 7525 7526else 7527 # Broken: fails on valid input. 7528continue 7529fi 7530rm -f conftest.err conftest.i conftest.$ac_ext 7531 7532 # OK, works on sane cases. Now check whether nonexistent headers 7533 # can be detected and how. 7534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7535/* end confdefs.h. */ 7536#include <ac_nonexistent.h> 7537_ACEOF 7538if ac_fn_c_try_cpp "$LINENO"; then : 7539 # Broken: success on invalid input. 7540continue 7541else 7542 # Passes both tests. 7543ac_preproc_ok=: 7544break 7545fi 7546rm -f conftest.err conftest.i conftest.$ac_ext 7547 7548done 7549# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7550rm -f conftest.i conftest.err conftest.$ac_ext 7551if $ac_preproc_ok; then : 7552 break 7553fi 7554 7555 done 7556 ac_cv_prog_CPP=$CPP 7557 7558fi 7559 CPP=$ac_cv_prog_CPP 7560else 7561 ac_cv_prog_CPP=$CPP 7562fi 7563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7564$as_echo "$CPP" >&6; } 7565ac_preproc_ok=false 7566for ac_c_preproc_warn_flag in '' yes 7567do 7568 # Use a header file that comes with gcc, so configuring glibc 7569 # with a fresh cross-compiler works. 7570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7571 # <limits.h> exists even on freestanding compilers. 7572 # On the NeXT, cc -E runs the code through the compiler's parser, 7573 # not just through cpp. "Syntax error" is here to catch this case. 7574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7575/* end confdefs.h. */ 7576#ifdef __STDC__ 7577# include <limits.h> 7578#else 7579# include <assert.h> 7580#endif 7581 Syntax error 7582_ACEOF 7583if ac_fn_c_try_cpp "$LINENO"; then : 7584 7585else 7586 # Broken: fails on valid input. 7587continue 7588fi 7589rm -f conftest.err conftest.i conftest.$ac_ext 7590 7591 # OK, works on sane cases. Now check whether nonexistent headers 7592 # can be detected and how. 7593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7594/* end confdefs.h. */ 7595#include <ac_nonexistent.h> 7596_ACEOF 7597if ac_fn_c_try_cpp "$LINENO"; then : 7598 # Broken: success on invalid input. 7599continue 7600else 7601 # Passes both tests. 7602ac_preproc_ok=: 7603break 7604fi 7605rm -f conftest.err conftest.i conftest.$ac_ext 7606 7607done 7608# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7609rm -f conftest.i conftest.err conftest.$ac_ext 7610if $ac_preproc_ok; then : 7611 7612else 7613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7614$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7615as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7616See \`config.log' for more details" "$LINENO" 5; } 7617fi 7618 7619ac_ext=c 7620ac_cpp='$CPP $CPPFLAGS' 7621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7623ac_compiler_gnu=$ac_cv_c_compiler_gnu 7624 7625 7626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7627$as_echo_n "checking for ANSI C header files... " >&6; } 7628if ${ac_cv_header_stdc+:} false; then : 7629 $as_echo_n "(cached) " >&6 7630else 7631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7632/* end confdefs.h. */ 7633#include <stdlib.h> 7634#include <stdarg.h> 7635#include <string.h> 7636#include <float.h> 7637 7638int 7639main () 7640{ 7641 7642 ; 7643 return 0; 7644} 7645_ACEOF 7646if ac_fn_c_try_compile "$LINENO"; then : 7647 ac_cv_header_stdc=yes 7648else 7649 ac_cv_header_stdc=no 7650fi 7651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7652 7653if test $ac_cv_header_stdc = yes; then 7654 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7656/* end confdefs.h. */ 7657#include <string.h> 7658 7659_ACEOF 7660if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7661 $EGREP "memchr" >/dev/null 2>&1; then : 7662 7663else 7664 ac_cv_header_stdc=no 7665fi 7666rm -f conftest* 7667 7668fi 7669 7670if test $ac_cv_header_stdc = yes; then 7671 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7673/* end confdefs.h. */ 7674#include <stdlib.h> 7675 7676_ACEOF 7677if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7678 $EGREP "free" >/dev/null 2>&1; then : 7679 7680else 7681 ac_cv_header_stdc=no 7682fi 7683rm -f conftest* 7684 7685fi 7686 7687if test $ac_cv_header_stdc = yes; then 7688 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7689 if test "$cross_compiling" = yes; then : 7690 : 7691else 7692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7693/* end confdefs.h. */ 7694#include <ctype.h> 7695#include <stdlib.h> 7696#if ((' ' & 0x0FF) == 0x020) 7697# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7698# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7699#else 7700# define ISLOWER(c) \ 7701 (('a' <= (c) && (c) <= 'i') \ 7702 || ('j' <= (c) && (c) <= 'r') \ 7703 || ('s' <= (c) && (c) <= 'z')) 7704# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7705#endif 7706 7707#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7708int 7709main () 7710{ 7711 int i; 7712 for (i = 0; i < 256; i++) 7713 if (XOR (islower (i), ISLOWER (i)) 7714 || toupper (i) != TOUPPER (i)) 7715 return 2; 7716 return 0; 7717} 7718_ACEOF 7719if ac_fn_c_try_run "$LINENO"; then : 7720 7721else 7722 ac_cv_header_stdc=no 7723fi 7724rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7725 conftest.$ac_objext conftest.beam conftest.$ac_ext 7726fi 7727 7728fi 7729fi 7730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7731$as_echo "$ac_cv_header_stdc" >&6; } 7732if test $ac_cv_header_stdc = yes; then 7733 7734$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7735 7736fi 7737 7738# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7739for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7740 inttypes.h stdint.h unistd.h 7741do : 7742 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7743ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7744" 7745if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7746 cat >>confdefs.h <<_ACEOF 7747#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7748_ACEOF 7749 7750fi 7751 7752done 7753 7754 7755for ac_header in dlfcn.h 7756do : 7757 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7758" 7759if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7760 cat >>confdefs.h <<_ACEOF 7761#define HAVE_DLFCN_H 1 7762_ACEOF 7763 7764fi 7765 7766done 7767 7768 7769 7770 7771 7772# Set options 7773 7774 7775 7776 enable_dlopen=no 7777 7778 7779 enable_win32_dll=no 7780 7781 7782 # Check whether --enable-shared was given. 7783if test "${enable_shared+set}" = set; then : 7784 enableval=$enable_shared; p=${PACKAGE-default} 7785 case $enableval in 7786 yes) enable_shared=yes ;; 7787 no) enable_shared=no ;; 7788 *) 7789 enable_shared=no 7790 # Look at the argument we got. We use all the common list separators. 7791 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7792 for pkg in $enableval; do 7793 IFS=$lt_save_ifs 7794 if test "X$pkg" = "X$p"; then 7795 enable_shared=yes 7796 fi 7797 done 7798 IFS=$lt_save_ifs 7799 ;; 7800 esac 7801else 7802 enable_shared=yes 7803fi 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 # Check whether --enable-static was given. 7814if test "${enable_static+set}" = set; then : 7815 enableval=$enable_static; p=${PACKAGE-default} 7816 case $enableval in 7817 yes) enable_static=yes ;; 7818 no) enable_static=no ;; 7819 *) 7820 enable_static=no 7821 # Look at the argument we got. We use all the common list separators. 7822 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7823 for pkg in $enableval; do 7824 IFS=$lt_save_ifs 7825 if test "X$pkg" = "X$p"; then 7826 enable_static=yes 7827 fi 7828 done 7829 IFS=$lt_save_ifs 7830 ;; 7831 esac 7832else 7833 enable_static=yes 7834fi 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845# Check whether --with-pic was given. 7846if test "${with_pic+set}" = set; then : 7847 withval=$with_pic; lt_p=${PACKAGE-default} 7848 case $withval in 7849 yes|no) pic_mode=$withval ;; 7850 *) 7851 pic_mode=default 7852 # Look at the argument we got. We use all the common list separators. 7853 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7854 for lt_pkg in $withval; do 7855 IFS=$lt_save_ifs 7856 if test "X$lt_pkg" = "X$lt_p"; then 7857 pic_mode=yes 7858 fi 7859 done 7860 IFS=$lt_save_ifs 7861 ;; 7862 esac 7863else 7864 pic_mode=default 7865fi 7866 7867 7868 7869 7870 7871 7872 7873 7874 # Check whether --enable-fast-install was given. 7875if test "${enable_fast_install+set}" = set; then : 7876 enableval=$enable_fast_install; p=${PACKAGE-default} 7877 case $enableval in 7878 yes) enable_fast_install=yes ;; 7879 no) enable_fast_install=no ;; 7880 *) 7881 enable_fast_install=no 7882 # Look at the argument we got. We use all the common list separators. 7883 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7884 for pkg in $enableval; do 7885 IFS=$lt_save_ifs 7886 if test "X$pkg" = "X$p"; then 7887 enable_fast_install=yes 7888 fi 7889 done 7890 IFS=$lt_save_ifs 7891 ;; 7892 esac 7893else 7894 enable_fast_install=yes 7895fi 7896 7897 7898 7899 7900 7901 7902 7903 7904 shared_archive_member_spec= 7905case $host,$enable_shared in 7906power*-*-aix[5-9]*,yes) 7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 7908$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 7909 7910# Check whether --with-aix-soname was given. 7911if test "${with_aix_soname+set}" = set; then : 7912 withval=$with_aix_soname; case $withval in 7913 aix|svr4|both) 7914 ;; 7915 *) 7916 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 7917 ;; 7918 esac 7919 lt_cv_with_aix_soname=$with_aix_soname 7920else 7921 if ${lt_cv_with_aix_soname+:} false; then : 7922 $as_echo_n "(cached) " >&6 7923else 7924 lt_cv_with_aix_soname=aix 7925fi 7926 7927 with_aix_soname=$lt_cv_with_aix_soname 7928fi 7929 7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 7931$as_echo "$with_aix_soname" >&6; } 7932 if test aix != "$with_aix_soname"; then 7933 # For the AIX way of multilib, we name the shared archive member 7934 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 7935 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 7936 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 7937 # the AIX toolchain works better with OBJECT_MODE set (default 32). 7938 if test 64 = "${OBJECT_MODE-32}"; then 7939 shared_archive_member_spec=shr_64 7940 else 7941 shared_archive_member_spec=shr 7942 fi 7943 fi 7944 ;; 7945*) 7946 with_aix_soname=aix 7947 ;; 7948esac 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959# This can be used to rebuild libtool when needed 7960LIBTOOL_DEPS=$ltmain 7961 7962# Always use our own libtool. 7963LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994test -z "$LN_S" && LN_S="ln -s" 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009if test -n "${ZSH_VERSION+set}"; then 8010 setopt NO_GLOB_SUBST 8011fi 8012 8013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8014$as_echo_n "checking for objdir... " >&6; } 8015if ${lt_cv_objdir+:} false; then : 8016 $as_echo_n "(cached) " >&6 8017else 8018 rm -f .libs 2>/dev/null 8019mkdir .libs 2>/dev/null 8020if test -d .libs; then 8021 lt_cv_objdir=.libs 8022else 8023 # MS-DOS does not allow filenames that begin with a dot. 8024 lt_cv_objdir=_libs 8025fi 8026rmdir .libs 2>/dev/null 8027fi 8028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8029$as_echo "$lt_cv_objdir" >&6; } 8030objdir=$lt_cv_objdir 8031 8032 8033 8034 8035 8036cat >>confdefs.h <<_ACEOF 8037#define LT_OBJDIR "$lt_cv_objdir/" 8038_ACEOF 8039 8040 8041 8042 8043case $host_os in 8044aix3*) 8045 # AIX sometimes has problems with the GCC collect2 program. For some 8046 # reason, if we set the COLLECT_NAMES environment variable, the problems 8047 # vanish in a puff of smoke. 8048 if test set != "${COLLECT_NAMES+set}"; then 8049 COLLECT_NAMES= 8050 export COLLECT_NAMES 8051 fi 8052 ;; 8053esac 8054 8055# Global variables: 8056ofile=libtool 8057can_build_shared=yes 8058 8059# All known linkers require a '.a' archive for static linking (except MSVC, 8060# which needs '.lib'). 8061libext=a 8062 8063with_gnu_ld=$lt_cv_prog_gnu_ld 8064 8065old_CC=$CC 8066old_CFLAGS=$CFLAGS 8067 8068# Set sane defaults for various variables 8069test -z "$CC" && CC=cc 8070test -z "$LTCC" && LTCC=$CC 8071test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8072test -z "$LD" && LD=ld 8073test -z "$ac_objext" && ac_objext=o 8074 8075func_cc_basename $compiler 8076cc_basename=$func_cc_basename_result 8077 8078 8079# Only perform the check for file, if the check method requires it 8080test -z "$MAGIC_CMD" && MAGIC_CMD=file 8081case $deplibs_check_method in 8082file_magic*) 8083 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8085$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8086if ${lt_cv_path_MAGIC_CMD+:} false; then : 8087 $as_echo_n "(cached) " >&6 8088else 8089 case $MAGIC_CMD in 8090[\\/*] | ?:[\\/]*) 8091 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8092 ;; 8093*) 8094 lt_save_MAGIC_CMD=$MAGIC_CMD 8095 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8096 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8097 for ac_dir in $ac_dummy; do 8098 IFS=$lt_save_ifs 8099 test -z "$ac_dir" && ac_dir=. 8100 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8101 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8102 if test -n "$file_magic_test_file"; then 8103 case $deplibs_check_method in 8104 "file_magic "*) 8105 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8106 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8107 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8108 $EGREP "$file_magic_regex" > /dev/null; then 8109 : 8110 else 8111 cat <<_LT_EOF 1>&2 8112 8113*** Warning: the command libtool uses to detect shared libraries, 8114*** $file_magic_cmd, produces output that libtool cannot recognize. 8115*** The result is that libtool may fail to recognize shared libraries 8116*** as such. This will affect the creation of libtool libraries that 8117*** depend on shared libraries, but programs linked with such libtool 8118*** libraries will work regardless of this problem. Nevertheless, you 8119*** may want to report the problem to your system manager and/or to 8120*** bug-libtool@gnu.org 8121 8122_LT_EOF 8123 fi ;; 8124 esac 8125 fi 8126 break 8127 fi 8128 done 8129 IFS=$lt_save_ifs 8130 MAGIC_CMD=$lt_save_MAGIC_CMD 8131 ;; 8132esac 8133fi 8134 8135MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8136if test -n "$MAGIC_CMD"; then 8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8138$as_echo "$MAGIC_CMD" >&6; } 8139else 8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8141$as_echo "no" >&6; } 8142fi 8143 8144 8145 8146 8147 8148if test -z "$lt_cv_path_MAGIC_CMD"; then 8149 if test -n "$ac_tool_prefix"; then 8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8151$as_echo_n "checking for file... " >&6; } 8152if ${lt_cv_path_MAGIC_CMD+:} false; then : 8153 $as_echo_n "(cached) " >&6 8154else 8155 case $MAGIC_CMD in 8156[\\/*] | ?:[\\/]*) 8157 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8158 ;; 8159*) 8160 lt_save_MAGIC_CMD=$MAGIC_CMD 8161 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8162 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8163 for ac_dir in $ac_dummy; do 8164 IFS=$lt_save_ifs 8165 test -z "$ac_dir" && ac_dir=. 8166 if test -f "$ac_dir/file"; then 8167 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8168 if test -n "$file_magic_test_file"; then 8169 case $deplibs_check_method in 8170 "file_magic "*) 8171 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8172 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8173 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8174 $EGREP "$file_magic_regex" > /dev/null; then 8175 : 8176 else 8177 cat <<_LT_EOF 1>&2 8178 8179*** Warning: the command libtool uses to detect shared libraries, 8180*** $file_magic_cmd, produces output that libtool cannot recognize. 8181*** The result is that libtool may fail to recognize shared libraries 8182*** as such. This will affect the creation of libtool libraries that 8183*** depend on shared libraries, but programs linked with such libtool 8184*** libraries will work regardless of this problem. Nevertheless, you 8185*** may want to report the problem to your system manager and/or to 8186*** bug-libtool@gnu.org 8187 8188_LT_EOF 8189 fi ;; 8190 esac 8191 fi 8192 break 8193 fi 8194 done 8195 IFS=$lt_save_ifs 8196 MAGIC_CMD=$lt_save_MAGIC_CMD 8197 ;; 8198esac 8199fi 8200 8201MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8202if test -n "$MAGIC_CMD"; then 8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8204$as_echo "$MAGIC_CMD" >&6; } 8205else 8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8207$as_echo "no" >&6; } 8208fi 8209 8210 8211 else 8212 MAGIC_CMD=: 8213 fi 8214fi 8215 8216 fi 8217 ;; 8218esac 8219 8220# Use C for the default configuration in the libtool script 8221 8222lt_save_CC=$CC 8223ac_ext=c 8224ac_cpp='$CPP $CPPFLAGS' 8225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8227ac_compiler_gnu=$ac_cv_c_compiler_gnu 8228 8229 8230# Source file extension for C test sources. 8231ac_ext=c 8232 8233# Object file extension for compiled C test sources. 8234objext=o 8235objext=$objext 8236 8237# Code to be used in simple compile tests 8238lt_simple_compile_test_code="int some_variable = 0;" 8239 8240# Code to be used in simple link tests 8241lt_simple_link_test_code='int main(){return(0);}' 8242 8243 8244 8245 8246 8247 8248 8249# If no C compiler was specified, use CC. 8250LTCC=${LTCC-"$CC"} 8251 8252# If no C compiler flags were specified, use CFLAGS. 8253LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8254 8255# Allow CC to be a program name with arguments. 8256compiler=$CC 8257 8258# Save the default compiler, since it gets overwritten when the other 8259# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8260compiler_DEFAULT=$CC 8261 8262# save warnings/boilerplate of simple test code 8263ac_outfile=conftest.$ac_objext 8264echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8265eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8266_lt_compiler_boilerplate=`cat conftest.err` 8267$RM conftest* 8268 8269ac_outfile=conftest.$ac_objext 8270echo "$lt_simple_link_test_code" >conftest.$ac_ext 8271eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8272_lt_linker_boilerplate=`cat conftest.err` 8273$RM -r conftest* 8274 8275 8276## CAVEAT EMPTOR: 8277## There is no encapsulation within the following macros, do not change 8278## the running order or otherwise move them around unless you know exactly 8279## what you are doing... 8280if test -n "$compiler"; then 8281 8282lt_prog_compiler_no_builtin_flag= 8283 8284if test yes = "$GCC"; then 8285 case $cc_basename in 8286 nvcc*) 8287 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8288 *) 8289 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8290 esac 8291 8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8293$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8294if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8295 $as_echo_n "(cached) " >&6 8296else 8297 lt_cv_prog_compiler_rtti_exceptions=no 8298 ac_outfile=conftest.$ac_objext 8299 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8300 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8301 # Insert the option either (1) after the last *FLAGS variable, or 8302 # (2) before a word containing "conftest.", or (3) at the end. 8303 # Note that $ac_compile itself does not contain backslashes and begins 8304 # with a dollar sign (not a hyphen), so the echo should work correctly. 8305 # The option is referenced via a variable to avoid confusing sed. 8306 lt_compile=`echo "$ac_compile" | $SED \ 8307 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8308 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8309 -e 's:$: $lt_compiler_flag:'` 8310 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8311 (eval "$lt_compile" 2>conftest.err) 8312 ac_status=$? 8313 cat conftest.err >&5 8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8315 if (exit $ac_status) && test -s "$ac_outfile"; then 8316 # The compiler can only warn and ignore the option if not recognized 8317 # So say no if there are warnings other than the usual output. 8318 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8319 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8320 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8321 lt_cv_prog_compiler_rtti_exceptions=yes 8322 fi 8323 fi 8324 $RM conftest* 8325 8326fi 8327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8328$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8329 8330if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8331 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8332else 8333 : 8334fi 8335 8336fi 8337 8338 8339 8340 8341 8342 8343 lt_prog_compiler_wl= 8344lt_prog_compiler_pic= 8345lt_prog_compiler_static= 8346 8347 8348 if test yes = "$GCC"; then 8349 lt_prog_compiler_wl='-Wl,' 8350 lt_prog_compiler_static='-static' 8351 8352 case $host_os in 8353 aix*) 8354 # All AIX code is PIC. 8355 if test ia64 = "$host_cpu"; then 8356 # AIX 5 now supports IA64 processor 8357 lt_prog_compiler_static='-Bstatic' 8358 fi 8359 lt_prog_compiler_pic='-fPIC' 8360 ;; 8361 8362 amigaos*) 8363 case $host_cpu in 8364 powerpc) 8365 # see comment about AmigaOS4 .so support 8366 lt_prog_compiler_pic='-fPIC' 8367 ;; 8368 m68k) 8369 # FIXME: we need at least 68020 code to build shared libraries, but 8370 # adding the '-m68020' flag to GCC prevents building anything better, 8371 # like '-m68040'. 8372 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8373 ;; 8374 esac 8375 ;; 8376 8377 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8378 # PIC is the default for these OSes. 8379 ;; 8380 8381 mingw* | cygwin* | pw32* | os2* | cegcc*) 8382 # This hack is so that the source file can tell whether it is being 8383 # built for inclusion in a dll (and should export symbols for example). 8384 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8385 # (--disable-auto-import) libraries 8386 lt_prog_compiler_pic='-DDLL_EXPORT' 8387 case $host_os in 8388 os2*) 8389 lt_prog_compiler_static='$wl-static' 8390 ;; 8391 esac 8392 ;; 8393 8394 darwin* | rhapsody*) 8395 # PIC is the default on this platform 8396 # Common symbols not allowed in MH_DYLIB files 8397 lt_prog_compiler_pic='-fno-common' 8398 ;; 8399 8400 haiku*) 8401 # PIC is the default for Haiku. 8402 # The "-static" flag exists, but is broken. 8403 lt_prog_compiler_static= 8404 ;; 8405 8406 hpux*) 8407 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8408 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8409 # sets the default TLS model and affects inlining. 8410 case $host_cpu in 8411 hppa*64*) 8412 # +Z the default 8413 ;; 8414 *) 8415 lt_prog_compiler_pic='-fPIC' 8416 ;; 8417 esac 8418 ;; 8419 8420 interix[3-9]*) 8421 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8422 # Instead, we relocate shared libraries at runtime. 8423 ;; 8424 8425 msdosdjgpp*) 8426 # Just because we use GCC doesn't mean we suddenly get shared libraries 8427 # on systems that don't support them. 8428 lt_prog_compiler_can_build_shared=no 8429 enable_shared=no 8430 ;; 8431 8432 *nto* | *qnx*) 8433 # QNX uses GNU C++, but need to define -shared option too, otherwise 8434 # it will coredump. 8435 lt_prog_compiler_pic='-fPIC -shared' 8436 ;; 8437 8438 sysv4*MP*) 8439 if test -d /usr/nec; then 8440 lt_prog_compiler_pic=-Kconform_pic 8441 fi 8442 ;; 8443 8444 *) 8445 lt_prog_compiler_pic='-fPIC' 8446 ;; 8447 esac 8448 8449 case $cc_basename in 8450 nvcc*) # Cuda Compiler Driver 2.2 8451 lt_prog_compiler_wl='-Xlinker ' 8452 if test -n "$lt_prog_compiler_pic"; then 8453 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8454 fi 8455 ;; 8456 esac 8457 else 8458 # PORTME Check for flag to pass linker flags through the system compiler. 8459 case $host_os in 8460 aix*) 8461 lt_prog_compiler_wl='-Wl,' 8462 if test ia64 = "$host_cpu"; then 8463 # AIX 5 now supports IA64 processor 8464 lt_prog_compiler_static='-Bstatic' 8465 else 8466 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8467 fi 8468 ;; 8469 8470 darwin* | rhapsody*) 8471 # PIC is the default on this platform 8472 # Common symbols not allowed in MH_DYLIB files 8473 lt_prog_compiler_pic='-fno-common' 8474 case $cc_basename in 8475 nagfor*) 8476 # NAG Fortran compiler 8477 lt_prog_compiler_wl='-Wl,-Wl,,' 8478 lt_prog_compiler_pic='-PIC' 8479 lt_prog_compiler_static='-Bstatic' 8480 ;; 8481 esac 8482 ;; 8483 8484 mingw* | cygwin* | pw32* | os2* | cegcc*) 8485 # This hack is so that the source file can tell whether it is being 8486 # built for inclusion in a dll (and should export symbols for example). 8487 lt_prog_compiler_pic='-DDLL_EXPORT' 8488 case $host_os in 8489 os2*) 8490 lt_prog_compiler_static='$wl-static' 8491 ;; 8492 esac 8493 ;; 8494 8495 hpux9* | hpux10* | hpux11*) 8496 lt_prog_compiler_wl='-Wl,' 8497 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8498 # not for PA HP-UX. 8499 case $host_cpu in 8500 hppa*64*|ia64*) 8501 # +Z the default 8502 ;; 8503 *) 8504 lt_prog_compiler_pic='+Z' 8505 ;; 8506 esac 8507 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8508 lt_prog_compiler_static='$wl-a ${wl}archive' 8509 ;; 8510 8511 irix5* | irix6* | nonstopux*) 8512 lt_prog_compiler_wl='-Wl,' 8513 # PIC (with -KPIC) is the default. 8514 lt_prog_compiler_static='-non_shared' 8515 ;; 8516 8517 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8518 case $cc_basename in 8519 # old Intel for x86_64, which still supported -KPIC. 8520 ecc*) 8521 lt_prog_compiler_wl='-Wl,' 8522 lt_prog_compiler_pic='-KPIC' 8523 lt_prog_compiler_static='-static' 8524 ;; 8525 # icc used to be incompatible with GCC. 8526 # ICC 10 doesn't accept -KPIC any more. 8527 icc* | ifort*) 8528 lt_prog_compiler_wl='-Wl,' 8529 lt_prog_compiler_pic='-fPIC' 8530 lt_prog_compiler_static='-static' 8531 ;; 8532 # Lahey Fortran 8.1. 8533 lf95*) 8534 lt_prog_compiler_wl='-Wl,' 8535 lt_prog_compiler_pic='--shared' 8536 lt_prog_compiler_static='--static' 8537 ;; 8538 nagfor*) 8539 # NAG Fortran compiler 8540 lt_prog_compiler_wl='-Wl,-Wl,,' 8541 lt_prog_compiler_pic='-PIC' 8542 lt_prog_compiler_static='-Bstatic' 8543 ;; 8544 tcc*) 8545 # Fabrice Bellard et al's Tiny C Compiler 8546 lt_prog_compiler_wl='-Wl,' 8547 lt_prog_compiler_pic='-fPIC' 8548 lt_prog_compiler_static='-static' 8549 ;; 8550 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8551 # Portland Group compilers (*not* the Pentium gcc compiler, 8552 # which looks to be a dead project) 8553 lt_prog_compiler_wl='-Wl,' 8554 lt_prog_compiler_pic='-fpic' 8555 lt_prog_compiler_static='-Bstatic' 8556 ;; 8557 ccc*) 8558 lt_prog_compiler_wl='-Wl,' 8559 # All Alpha code is PIC. 8560 lt_prog_compiler_static='-non_shared' 8561 ;; 8562 xl* | bgxl* | bgf* | mpixl*) 8563 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8564 lt_prog_compiler_wl='-Wl,' 8565 lt_prog_compiler_pic='-qpic' 8566 lt_prog_compiler_static='-qstaticlink' 8567 ;; 8568 *) 8569 case `$CC -V 2>&1 | sed 5q` in 8570 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8571 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8572 lt_prog_compiler_pic='-KPIC' 8573 lt_prog_compiler_static='-Bstatic' 8574 lt_prog_compiler_wl='' 8575 ;; 8576 *Sun\ F* | *Sun*Fortran*) 8577 lt_prog_compiler_pic='-KPIC' 8578 lt_prog_compiler_static='-Bstatic' 8579 lt_prog_compiler_wl='-Qoption ld ' 8580 ;; 8581 *Sun\ C*) 8582 # Sun C 5.9 8583 lt_prog_compiler_pic='-KPIC' 8584 lt_prog_compiler_static='-Bstatic' 8585 lt_prog_compiler_wl='-Wl,' 8586 ;; 8587 *Intel*\ [CF]*Compiler*) 8588 lt_prog_compiler_wl='-Wl,' 8589 lt_prog_compiler_pic='-fPIC' 8590 lt_prog_compiler_static='-static' 8591 ;; 8592 *Portland\ Group*) 8593 lt_prog_compiler_wl='-Wl,' 8594 lt_prog_compiler_pic='-fpic' 8595 lt_prog_compiler_static='-Bstatic' 8596 ;; 8597 esac 8598 ;; 8599 esac 8600 ;; 8601 8602 newsos6) 8603 lt_prog_compiler_pic='-KPIC' 8604 lt_prog_compiler_static='-Bstatic' 8605 ;; 8606 8607 *nto* | *qnx*) 8608 # QNX uses GNU C++, but need to define -shared option too, otherwise 8609 # it will coredump. 8610 lt_prog_compiler_pic='-fPIC -shared' 8611 ;; 8612 8613 osf3* | osf4* | osf5*) 8614 lt_prog_compiler_wl='-Wl,' 8615 # All OSF/1 code is PIC. 8616 lt_prog_compiler_static='-non_shared' 8617 ;; 8618 8619 rdos*) 8620 lt_prog_compiler_static='-non_shared' 8621 ;; 8622 8623 solaris*) 8624 lt_prog_compiler_pic='-KPIC' 8625 lt_prog_compiler_static='-Bstatic' 8626 case $cc_basename in 8627 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8628 lt_prog_compiler_wl='-Qoption ld ';; 8629 *) 8630 lt_prog_compiler_wl='-Wl,';; 8631 esac 8632 ;; 8633 8634 sunos4*) 8635 lt_prog_compiler_wl='-Qoption ld ' 8636 lt_prog_compiler_pic='-PIC' 8637 lt_prog_compiler_static='-Bstatic' 8638 ;; 8639 8640 sysv4 | sysv4.2uw2* | sysv4.3*) 8641 lt_prog_compiler_wl='-Wl,' 8642 lt_prog_compiler_pic='-KPIC' 8643 lt_prog_compiler_static='-Bstatic' 8644 ;; 8645 8646 sysv4*MP*) 8647 if test -d /usr/nec; then 8648 lt_prog_compiler_pic='-Kconform_pic' 8649 lt_prog_compiler_static='-Bstatic' 8650 fi 8651 ;; 8652 8653 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8654 lt_prog_compiler_wl='-Wl,' 8655 lt_prog_compiler_pic='-KPIC' 8656 lt_prog_compiler_static='-Bstatic' 8657 ;; 8658 8659 unicos*) 8660 lt_prog_compiler_wl='-Wl,' 8661 lt_prog_compiler_can_build_shared=no 8662 ;; 8663 8664 uts4*) 8665 lt_prog_compiler_pic='-pic' 8666 lt_prog_compiler_static='-Bstatic' 8667 ;; 8668 8669 *) 8670 lt_prog_compiler_can_build_shared=no 8671 ;; 8672 esac 8673 fi 8674 8675case $host_os in 8676 # For platforms that do not support PIC, -DPIC is meaningless: 8677 *djgpp*) 8678 lt_prog_compiler_pic= 8679 ;; 8680 *) 8681 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8682 ;; 8683esac 8684 8685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8686$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8687if ${lt_cv_prog_compiler_pic+:} false; then : 8688 $as_echo_n "(cached) " >&6 8689else 8690 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8691fi 8692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8693$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8694lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8695 8696# 8697# Check to make sure the PIC flag actually works. 8698# 8699if test -n "$lt_prog_compiler_pic"; then 8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8701$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8702if ${lt_cv_prog_compiler_pic_works+:} false; then : 8703 $as_echo_n "(cached) " >&6 8704else 8705 lt_cv_prog_compiler_pic_works=no 8706 ac_outfile=conftest.$ac_objext 8707 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8708 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8709 # Insert the option either (1) after the last *FLAGS variable, or 8710 # (2) before a word containing "conftest.", or (3) at the end. 8711 # Note that $ac_compile itself does not contain backslashes and begins 8712 # with a dollar sign (not a hyphen), so the echo should work correctly. 8713 # The option is referenced via a variable to avoid confusing sed. 8714 lt_compile=`echo "$ac_compile" | $SED \ 8715 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8716 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8717 -e 's:$: $lt_compiler_flag:'` 8718 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8719 (eval "$lt_compile" 2>conftest.err) 8720 ac_status=$? 8721 cat conftest.err >&5 8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8723 if (exit $ac_status) && test -s "$ac_outfile"; then 8724 # The compiler can only warn and ignore the option if not recognized 8725 # So say no if there are warnings other than the usual output. 8726 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8727 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8728 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8729 lt_cv_prog_compiler_pic_works=yes 8730 fi 8731 fi 8732 $RM conftest* 8733 8734fi 8735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8736$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8737 8738if test yes = "$lt_cv_prog_compiler_pic_works"; then 8739 case $lt_prog_compiler_pic in 8740 "" | " "*) ;; 8741 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8742 esac 8743else 8744 lt_prog_compiler_pic= 8745 lt_prog_compiler_can_build_shared=no 8746fi 8747 8748fi 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760# 8761# Check to make sure the static flag actually works. 8762# 8763wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8765$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8766if ${lt_cv_prog_compiler_static_works+:} false; then : 8767 $as_echo_n "(cached) " >&6 8768else 8769 lt_cv_prog_compiler_static_works=no 8770 save_LDFLAGS=$LDFLAGS 8771 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8772 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8773 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8774 # The linker can only warn and ignore the option if not recognized 8775 # So say no if there are warnings 8776 if test -s conftest.err; then 8777 # Append any errors to the config.log. 8778 cat conftest.err 1>&5 8779 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8780 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8781 if diff conftest.exp conftest.er2 >/dev/null; then 8782 lt_cv_prog_compiler_static_works=yes 8783 fi 8784 else 8785 lt_cv_prog_compiler_static_works=yes 8786 fi 8787 fi 8788 $RM -r conftest* 8789 LDFLAGS=$save_LDFLAGS 8790 8791fi 8792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8793$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8794 8795if test yes = "$lt_cv_prog_compiler_static_works"; then 8796 : 8797else 8798 lt_prog_compiler_static= 8799fi 8800 8801 8802 8803 8804 8805 8806 8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8808$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8809if ${lt_cv_prog_compiler_c_o+:} false; then : 8810 $as_echo_n "(cached) " >&6 8811else 8812 lt_cv_prog_compiler_c_o=no 8813 $RM -r conftest 2>/dev/null 8814 mkdir conftest 8815 cd conftest 8816 mkdir out 8817 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8818 8819 lt_compiler_flag="-o out/conftest2.$ac_objext" 8820 # Insert the option either (1) after the last *FLAGS variable, or 8821 # (2) before a word containing "conftest.", or (3) at the end. 8822 # Note that $ac_compile itself does not contain backslashes and begins 8823 # with a dollar sign (not a hyphen), so the echo should work correctly. 8824 lt_compile=`echo "$ac_compile" | $SED \ 8825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8827 -e 's:$: $lt_compiler_flag:'` 8828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8829 (eval "$lt_compile" 2>out/conftest.err) 8830 ac_status=$? 8831 cat out/conftest.err >&5 8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8833 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8834 then 8835 # The compiler can only warn and ignore the option if not recognized 8836 # So say no if there are warnings 8837 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8838 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8839 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8840 lt_cv_prog_compiler_c_o=yes 8841 fi 8842 fi 8843 chmod u+w . 2>&5 8844 $RM conftest* 8845 # SGI C++ compiler will create directory out/ii_files/ for 8846 # template instantiation 8847 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8848 $RM out/* && rmdir out 8849 cd .. 8850 $RM -r conftest 8851 $RM conftest* 8852 8853fi 8854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8855$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8856 8857 8858 8859 8860 8861 8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8863$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8864if ${lt_cv_prog_compiler_c_o+:} false; then : 8865 $as_echo_n "(cached) " >&6 8866else 8867 lt_cv_prog_compiler_c_o=no 8868 $RM -r conftest 2>/dev/null 8869 mkdir conftest 8870 cd conftest 8871 mkdir out 8872 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8873 8874 lt_compiler_flag="-o out/conftest2.$ac_objext" 8875 # Insert the option either (1) after the last *FLAGS variable, or 8876 # (2) before a word containing "conftest.", or (3) at the end. 8877 # Note that $ac_compile itself does not contain backslashes and begins 8878 # with a dollar sign (not a hyphen), so the echo should work correctly. 8879 lt_compile=`echo "$ac_compile" | $SED \ 8880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8882 -e 's:$: $lt_compiler_flag:'` 8883 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8884 (eval "$lt_compile" 2>out/conftest.err) 8885 ac_status=$? 8886 cat out/conftest.err >&5 8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8888 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8889 then 8890 # The compiler can only warn and ignore the option if not recognized 8891 # So say no if there are warnings 8892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8893 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8894 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8895 lt_cv_prog_compiler_c_o=yes 8896 fi 8897 fi 8898 chmod u+w . 2>&5 8899 $RM conftest* 8900 # SGI C++ compiler will create directory out/ii_files/ for 8901 # template instantiation 8902 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8903 $RM out/* && rmdir out 8904 cd .. 8905 $RM -r conftest 8906 $RM conftest* 8907 8908fi 8909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8910$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8911 8912 8913 8914 8915hard_links=nottested 8916if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 8917 # do not overwrite the value of need_locks provided by the user 8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8919$as_echo_n "checking if we can lock with hard links... " >&6; } 8920 hard_links=yes 8921 $RM conftest* 8922 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8923 touch conftest.a 8924 ln conftest.a conftest.b 2>&5 || hard_links=no 8925 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8927$as_echo "$hard_links" >&6; } 8928 if test no = "$hard_links"; then 8929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 8930$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 8931 need_locks=warn 8932 fi 8933else 8934 need_locks=no 8935fi 8936 8937 8938 8939 8940 8941 8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8943$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8944 8945 runpath_var= 8946 allow_undefined_flag= 8947 always_export_symbols=no 8948 archive_cmds= 8949 archive_expsym_cmds= 8950 compiler_needs_object=no 8951 enable_shared_with_static_runtimes=no 8952 export_dynamic_flag_spec= 8953 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8954 hardcode_automatic=no 8955 hardcode_direct=no 8956 hardcode_direct_absolute=no 8957 hardcode_libdir_flag_spec= 8958 hardcode_libdir_separator= 8959 hardcode_minus_L=no 8960 hardcode_shlibpath_var=unsupported 8961 inherit_rpath=no 8962 link_all_deplibs=unknown 8963 module_cmds= 8964 module_expsym_cmds= 8965 old_archive_from_new_cmds= 8966 old_archive_from_expsyms_cmds= 8967 thread_safe_flag_spec= 8968 whole_archive_flag_spec= 8969 # include_expsyms should be a list of space-separated symbols to be *always* 8970 # included in the symbol list 8971 include_expsyms= 8972 # exclude_expsyms can be an extended regexp of symbols to exclude 8973 # it will be wrapped by ' (' and ')$', so one must not match beginning or 8974 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 8975 # as well as any symbol that contains 'd'. 8976 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8977 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8978 # platforms (ab)use it in PIC code, but their linkers get confused if 8979 # the symbol is explicitly referenced. Since portable code cannot 8980 # rely on this symbol name, it's probably fine to never include it in 8981 # preloaded symbol tables. 8982 # Exclude shared library initialization/finalization symbols. 8983 extract_expsyms_cmds= 8984 8985 case $host_os in 8986 cygwin* | mingw* | pw32* | cegcc*) 8987 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8988 # When not using gcc, we currently assume that we are using 8989 # Microsoft Visual C++. 8990 if test yes != "$GCC"; then 8991 with_gnu_ld=no 8992 fi 8993 ;; 8994 interix*) 8995 # we just hope/assume this is gcc and not c89 (= MSVC++) 8996 with_gnu_ld=yes 8997 ;; 8998 openbsd* | bitrig*) 8999 with_gnu_ld=no 9000 ;; 9001 linux* | k*bsd*-gnu | gnu*) 9002 link_all_deplibs=no 9003 ;; 9004 esac 9005 9006 ld_shlibs=yes 9007 9008 # On some targets, GNU ld is compatible enough with the native linker 9009 # that we're better off using the native interface for both. 9010 lt_use_gnu_ld_interface=no 9011 if test yes = "$with_gnu_ld"; then 9012 case $host_os in 9013 aix*) 9014 # The AIX port of GNU ld has always aspired to compatibility 9015 # with the native linker. However, as the warning in the GNU ld 9016 # block says, versions before 2.19.5* couldn't really create working 9017 # shared libraries, regardless of the interface used. 9018 case `$LD -v 2>&1` in 9019 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9020 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9021 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9022 *) 9023 lt_use_gnu_ld_interface=yes 9024 ;; 9025 esac 9026 ;; 9027 *) 9028 lt_use_gnu_ld_interface=yes 9029 ;; 9030 esac 9031 fi 9032 9033 if test yes = "$lt_use_gnu_ld_interface"; then 9034 # If archive_cmds runs LD, not CC, wlarc should be empty 9035 wlarc='$wl' 9036 9037 # Set some defaults for GNU ld with shared library support. These 9038 # are reset later if shared libraries are not supported. Putting them 9039 # here allows them to be overridden if necessary. 9040 runpath_var=LD_RUN_PATH 9041 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9042 export_dynamic_flag_spec='$wl--export-dynamic' 9043 # ancient GNU ld didn't support --whole-archive et. al. 9044 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9045 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9046 else 9047 whole_archive_flag_spec= 9048 fi 9049 supports_anon_versioning=no 9050 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9051 *GNU\ gold*) supports_anon_versioning=yes ;; 9052 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9053 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9054 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9055 *\ 2.11.*) ;; # other 2.11 versions 9056 *) supports_anon_versioning=yes ;; 9057 esac 9058 9059 # See if GNU ld supports shared libraries. 9060 case $host_os in 9061 aix[3-9]*) 9062 # On AIX/PPC, the GNU linker is very broken 9063 if test ia64 != "$host_cpu"; then 9064 ld_shlibs=no 9065 cat <<_LT_EOF 1>&2 9066 9067*** Warning: the GNU linker, at least up to release 2.19, is reported 9068*** to be unable to reliably create shared libraries on AIX. 9069*** Therefore, libtool is disabling shared libraries support. If you 9070*** really care for shared libraries, you may want to install binutils 9071*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9072*** You will then need to restart the configuration process. 9073 9074_LT_EOF 9075 fi 9076 ;; 9077 9078 amigaos*) 9079 case $host_cpu in 9080 powerpc) 9081 # see comment about AmigaOS4 .so support 9082 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9083 archive_expsym_cmds='' 9084 ;; 9085 m68k) 9086 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)' 9087 hardcode_libdir_flag_spec='-L$libdir' 9088 hardcode_minus_L=yes 9089 ;; 9090 esac 9091 ;; 9092 9093 beos*) 9094 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9095 allow_undefined_flag=unsupported 9096 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9097 # support --undefined. This deserves some investigation. FIXME 9098 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9099 else 9100 ld_shlibs=no 9101 fi 9102 ;; 9103 9104 cygwin* | mingw* | pw32* | cegcc*) 9105 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9106 # as there is no search path for DLLs. 9107 hardcode_libdir_flag_spec='-L$libdir' 9108 export_dynamic_flag_spec='$wl--export-all-symbols' 9109 allow_undefined_flag=unsupported 9110 always_export_symbols=no 9111 enable_shared_with_static_runtimes=yes 9112 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' 9113 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9114 9115 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9116 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9117 # If the export-symbols file already is a .def file, use it as 9118 # is; otherwise, prepend EXPORTS... 9119 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9120 cp $export_symbols $output_objdir/$soname.def; 9121 else 9122 echo EXPORTS > $output_objdir/$soname.def; 9123 cat $export_symbols >> $output_objdir/$soname.def; 9124 fi~ 9125 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9126 else 9127 ld_shlibs=no 9128 fi 9129 ;; 9130 9131 haiku*) 9132 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9133 link_all_deplibs=yes 9134 ;; 9135 9136 os2*) 9137 hardcode_libdir_flag_spec='-L$libdir' 9138 hardcode_minus_L=yes 9139 allow_undefined_flag=unsupported 9140 shrext_cmds=.dll 9141 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9142 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9143 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9144 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9145 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9146 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9147 emximp -o $lib $output_objdir/$libname.def' 9148 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9149 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9150 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9151 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9152 prefix_cmds="$SED"~ 9153 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9154 prefix_cmds="$prefix_cmds -e 1d"; 9155 fi~ 9156 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9157 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9158 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9159 emximp -o $lib $output_objdir/$libname.def' 9160 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9161 enable_shared_with_static_runtimes=yes 9162 ;; 9163 9164 interix[3-9]*) 9165 hardcode_direct=no 9166 hardcode_shlibpath_var=no 9167 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9168 export_dynamic_flag_spec='$wl-E' 9169 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9170 # Instead, shared libraries are loaded at an image base (0x10000000 by 9171 # default) and relocated if they conflict, which is a slow very memory 9172 # consuming and fragmenting process. To avoid this, we pick a random, 9173 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9174 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9175 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9176 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' 9177 ;; 9178 9179 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9180 tmp_diet=no 9181 if test linux-dietlibc = "$host_os"; then 9182 case $cc_basename in 9183 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9184 esac 9185 fi 9186 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9187 && test no = "$tmp_diet" 9188 then 9189 tmp_addflag=' $pic_flag' 9190 tmp_sharedflag='-shared' 9191 case $cc_basename,$host_cpu in 9192 pgcc*) # Portland Group C compiler 9193 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' 9194 tmp_addflag=' $pic_flag' 9195 ;; 9196 pgf77* | pgf90* | pgf95* | pgfortran*) 9197 # Portland Group f77 and f90 compilers 9198 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' 9199 tmp_addflag=' $pic_flag -Mnomain' ;; 9200 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9201 tmp_addflag=' -i_dynamic' ;; 9202 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9203 tmp_addflag=' -i_dynamic -nofor_main' ;; 9204 ifc* | ifort*) # Intel Fortran compiler 9205 tmp_addflag=' -nofor_main' ;; 9206 lf95*) # Lahey Fortran 8.1 9207 whole_archive_flag_spec= 9208 tmp_sharedflag='--shared' ;; 9209 nagfor*) # NAGFOR 5.3 9210 tmp_sharedflag='-Wl,-shared' ;; 9211 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9212 tmp_sharedflag='-qmkshrobj' 9213 tmp_addflag= ;; 9214 nvcc*) # Cuda Compiler Driver 2.2 9215 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' 9216 compiler_needs_object=yes 9217 ;; 9218 esac 9219 case `$CC -V 2>&1 | sed 5q` in 9220 *Sun\ C*) # Sun C 5.9 9221 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' 9222 compiler_needs_object=yes 9223 tmp_sharedflag='-G' ;; 9224 *Sun\ F*) # Sun Fortran 8.3 9225 tmp_sharedflag='-G' ;; 9226 esac 9227 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9228 9229 if test yes = "$supports_anon_versioning"; then 9230 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9231 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9232 echo "local: *; };" >> $output_objdir/$libname.ver~ 9233 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9234 fi 9235 9236 case $cc_basename in 9237 tcc*) 9238 export_dynamic_flag_spec='-rdynamic' 9239 ;; 9240 xlf* | bgf* | bgxlf* | mpixlf*) 9241 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9242 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9243 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9244 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9245 if test yes = "$supports_anon_versioning"; then 9246 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9247 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9248 echo "local: *; };" >> $output_objdir/$libname.ver~ 9249 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9250 fi 9251 ;; 9252 esac 9253 else 9254 ld_shlibs=no 9255 fi 9256 ;; 9257 9258 netbsd* | netbsdelf*-gnu) 9259 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9260 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9261 wlarc= 9262 else 9263 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9264 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9265 fi 9266 ;; 9267 9268 solaris*) 9269 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9270 ld_shlibs=no 9271 cat <<_LT_EOF 1>&2 9272 9273*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9274*** create shared libraries on Solaris systems. Therefore, libtool 9275*** is disabling shared libraries support. We urge you to upgrade GNU 9276*** binutils to release 2.9.1 or newer. Another option is to modify 9277*** your PATH or compiler configuration so that the native linker is 9278*** used, and then restart. 9279 9280_LT_EOF 9281 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9282 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9283 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9284 else 9285 ld_shlibs=no 9286 fi 9287 ;; 9288 9289 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9290 case `$LD -v 2>&1` in 9291 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9292 ld_shlibs=no 9293 cat <<_LT_EOF 1>&2 9294 9295*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9296*** reliably create shared libraries on SCO systems. Therefore, libtool 9297*** is disabling shared libraries support. We urge you to upgrade GNU 9298*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9299*** your PATH or compiler configuration so that the native linker is 9300*** used, and then restart. 9301 9302_LT_EOF 9303 ;; 9304 *) 9305 # For security reasons, it is highly recommended that you always 9306 # use absolute paths for naming shared libraries, and exclude the 9307 # DT_RUNPATH tag from executables and libraries. But doing so 9308 # requires that you compile everything twice, which is a pain. 9309 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9310 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9311 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9312 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9313 else 9314 ld_shlibs=no 9315 fi 9316 ;; 9317 esac 9318 ;; 9319 9320 sunos4*) 9321 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9322 wlarc= 9323 hardcode_direct=yes 9324 hardcode_shlibpath_var=no 9325 ;; 9326 9327 *) 9328 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9329 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9330 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9331 else 9332 ld_shlibs=no 9333 fi 9334 ;; 9335 esac 9336 9337 if test no = "$ld_shlibs"; then 9338 runpath_var= 9339 hardcode_libdir_flag_spec= 9340 export_dynamic_flag_spec= 9341 whole_archive_flag_spec= 9342 fi 9343 else 9344 # PORTME fill in a description of your system's linker (not GNU ld) 9345 case $host_os in 9346 aix3*) 9347 allow_undefined_flag=unsupported 9348 always_export_symbols=yes 9349 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' 9350 # Note: this linker hardcodes the directories in LIBPATH if there 9351 # are no directories specified by -L. 9352 hardcode_minus_L=yes 9353 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9354 # Neither direct hardcoding nor static linking is supported with a 9355 # broken collect2. 9356 hardcode_direct=unsupported 9357 fi 9358 ;; 9359 9360 aix[4-9]*) 9361 if test ia64 = "$host_cpu"; then 9362 # On IA64, the linker does run time linking by default, so we don't 9363 # have to do anything special. 9364 aix_use_runtimelinking=no 9365 exp_sym_flag='-Bexport' 9366 no_entry_flag= 9367 else 9368 # If we're using GNU nm, then we don't want the "-C" option. 9369 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9370 # Without the "-l" option, or with the "-B" option, AIX nm treats 9371 # weak defined symbols like other global defined symbols, whereas 9372 # GNU nm marks them as "W". 9373 # While the 'weak' keyword is ignored in the Export File, we need 9374 # it in the Import File for the 'aix-soname' feature, so we have 9375 # to replace the "-B" option with "-P" for AIX nm. 9376 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9377 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9378 else 9379 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9380 fi 9381 aix_use_runtimelinking=no 9382 9383 # Test if we are trying to use run time linking or normal 9384 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9385 # have runtime linking enabled, and use it for executables. 9386 # For shared libraries, we enable/disable runtime linking 9387 # depending on the kind of the shared library created - 9388 # when "with_aix_soname,aix_use_runtimelinking" is: 9389 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9390 # "aix,yes" lib.so shared, rtl:yes, for executables 9391 # lib.a static archive 9392 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9393 # lib.a(lib.so.V) shared, rtl:no, for executables 9394 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9395 # lib.a(lib.so.V) shared, rtl:no 9396 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9397 # lib.a static archive 9398 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9399 for ld_flag in $LDFLAGS; do 9400 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9401 aix_use_runtimelinking=yes 9402 break 9403 fi 9404 done 9405 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9406 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9407 # so we don't have lib.a shared libs to link our executables. 9408 # We have to force runtime linking in this case. 9409 aix_use_runtimelinking=yes 9410 LDFLAGS="$LDFLAGS -Wl,-brtl" 9411 fi 9412 ;; 9413 esac 9414 9415 exp_sym_flag='-bexport' 9416 no_entry_flag='-bnoentry' 9417 fi 9418 9419 # When large executables or shared objects are built, AIX ld can 9420 # have problems creating the table of contents. If linking a library 9421 # or program results in "error TOC overflow" add -mminimal-toc to 9422 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9423 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9424 9425 archive_cmds='' 9426 hardcode_direct=yes 9427 hardcode_direct_absolute=yes 9428 hardcode_libdir_separator=':' 9429 link_all_deplibs=yes 9430 file_list_spec='$wl-f,' 9431 case $with_aix_soname,$aix_use_runtimelinking in 9432 aix,*) ;; # traditional, no import file 9433 svr4,* | *,yes) # use import file 9434 # The Import File defines what to hardcode. 9435 hardcode_direct=no 9436 hardcode_direct_absolute=no 9437 ;; 9438 esac 9439 9440 if test yes = "$GCC"; then 9441 case $host_os in aix4.[012]|aix4.[012].*) 9442 # We only want to do this on AIX 4.2 and lower, the check 9443 # below for broken collect2 doesn't work under 4.3+ 9444 collect2name=`$CC -print-prog-name=collect2` 9445 if test -f "$collect2name" && 9446 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9447 then 9448 # We have reworked collect2 9449 : 9450 else 9451 # We have old collect2 9452 hardcode_direct=unsupported 9453 # It fails to find uninstalled libraries when the uninstalled 9454 # path is not listed in the libpath. Setting hardcode_minus_L 9455 # to unsupported forces relinking 9456 hardcode_minus_L=yes 9457 hardcode_libdir_flag_spec='-L$libdir' 9458 hardcode_libdir_separator= 9459 fi 9460 ;; 9461 esac 9462 shared_flag='-shared' 9463 if test yes = "$aix_use_runtimelinking"; then 9464 shared_flag="$shared_flag "'$wl-G' 9465 fi 9466 # Need to ensure runtime linking is disabled for the traditional 9467 # shared library, or the linker may eventually find shared libraries 9468 # /with/ Import File - we do not want to mix them. 9469 shared_flag_aix='-shared' 9470 shared_flag_svr4='-shared $wl-G' 9471 else 9472 # not using gcc 9473 if test ia64 = "$host_cpu"; then 9474 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9475 # chokes on -Wl,-G. The following line is correct: 9476 shared_flag='-G' 9477 else 9478 if test yes = "$aix_use_runtimelinking"; then 9479 shared_flag='$wl-G' 9480 else 9481 shared_flag='$wl-bM:SRE' 9482 fi 9483 shared_flag_aix='$wl-bM:SRE' 9484 shared_flag_svr4='$wl-G' 9485 fi 9486 fi 9487 9488 export_dynamic_flag_spec='$wl-bexpall' 9489 # It seems that -bexpall does not export symbols beginning with 9490 # underscore (_), so it is better to generate a list of symbols to export. 9491 always_export_symbols=yes 9492 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9493 # Warning - without using the other runtime loading flags (-brtl), 9494 # -berok will link without error, but may produce a broken library. 9495 allow_undefined_flag='-berok' 9496 # Determine the default libpath from the value encoded in an 9497 # empty executable. 9498 if test set = "${lt_cv_aix_libpath+set}"; then 9499 aix_libpath=$lt_cv_aix_libpath 9500else 9501 if ${lt_cv_aix_libpath_+:} false; then : 9502 $as_echo_n "(cached) " >&6 9503else 9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9505/* end confdefs.h. */ 9506 9507int 9508main () 9509{ 9510 9511 ; 9512 return 0; 9513} 9514_ACEOF 9515if ac_fn_c_try_link "$LINENO"; then : 9516 9517 lt_aix_libpath_sed=' 9518 /Import File Strings/,/^$/ { 9519 /^0/ { 9520 s/^0 *\([^ ]*\) *$/\1/ 9521 p 9522 } 9523 }' 9524 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9525 # Check for a 64-bit object if we didn't find anything. 9526 if test -z "$lt_cv_aix_libpath_"; then 9527 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9528 fi 9529fi 9530rm -f core conftest.err conftest.$ac_objext \ 9531 conftest$ac_exeext conftest.$ac_ext 9532 if test -z "$lt_cv_aix_libpath_"; then 9533 lt_cv_aix_libpath_=/usr/lib:/lib 9534 fi 9535 9536fi 9537 9538 aix_libpath=$lt_cv_aix_libpath_ 9539fi 9540 9541 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9542 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 9543 else 9544 if test ia64 = "$host_cpu"; then 9545 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9546 allow_undefined_flag="-z nodefs" 9547 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" 9548 else 9549 # Determine the default libpath from the value encoded in an 9550 # empty executable. 9551 if test set = "${lt_cv_aix_libpath+set}"; then 9552 aix_libpath=$lt_cv_aix_libpath 9553else 9554 if ${lt_cv_aix_libpath_+:} false; then : 9555 $as_echo_n "(cached) " >&6 9556else 9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9558/* end confdefs.h. */ 9559 9560int 9561main () 9562{ 9563 9564 ; 9565 return 0; 9566} 9567_ACEOF 9568if ac_fn_c_try_link "$LINENO"; then : 9569 9570 lt_aix_libpath_sed=' 9571 /Import File Strings/,/^$/ { 9572 /^0/ { 9573 s/^0 *\([^ ]*\) *$/\1/ 9574 p 9575 } 9576 }' 9577 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9578 # Check for a 64-bit object if we didn't find anything. 9579 if test -z "$lt_cv_aix_libpath_"; then 9580 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9581 fi 9582fi 9583rm -f core conftest.err conftest.$ac_objext \ 9584 conftest$ac_exeext conftest.$ac_ext 9585 if test -z "$lt_cv_aix_libpath_"; then 9586 lt_cv_aix_libpath_=/usr/lib:/lib 9587 fi 9588 9589fi 9590 9591 aix_libpath=$lt_cv_aix_libpath_ 9592fi 9593 9594 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9595 # Warning - without using the other run time loading flags, 9596 # -berok will link without error, but may produce a broken library. 9597 no_undefined_flag=' $wl-bernotok' 9598 allow_undefined_flag=' $wl-berok' 9599 if test yes = "$with_gnu_ld"; then 9600 # We only use this code for GNU lds that support --whole-archive. 9601 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9602 else 9603 # Exported symbols can be pulled into shared objects from archives 9604 whole_archive_flag_spec='$convenience' 9605 fi 9606 archive_cmds_need_lc=yes 9607 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9608 # -brtl affects multiple linker settings, -berok does not and is overridden later 9609 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9610 if test svr4 != "$with_aix_soname"; then 9611 # This is similar to how AIX traditionally builds its shared libraries. 9612 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 9613 fi 9614 if test aix != "$with_aix_soname"; then 9615 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 9616 else 9617 # used by -dlpreopen to get the symbols 9618 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9619 fi 9620 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9621 fi 9622 fi 9623 ;; 9624 9625 amigaos*) 9626 case $host_cpu in 9627 powerpc) 9628 # see comment about AmigaOS4 .so support 9629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9630 archive_expsym_cmds='' 9631 ;; 9632 m68k) 9633 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)' 9634 hardcode_libdir_flag_spec='-L$libdir' 9635 hardcode_minus_L=yes 9636 ;; 9637 esac 9638 ;; 9639 9640 bsdi[45]*) 9641 export_dynamic_flag_spec=-rdynamic 9642 ;; 9643 9644 cygwin* | mingw* | pw32* | cegcc*) 9645 # When not using gcc, we currently assume that we are using 9646 # Microsoft Visual C++. 9647 # hardcode_libdir_flag_spec is actually meaningless, as there is 9648 # no search path for DLLs. 9649 case $cc_basename in 9650 cl*) 9651 # Native MSVC 9652 hardcode_libdir_flag_spec=' ' 9653 allow_undefined_flag=unsupported 9654 always_export_symbols=yes 9655 file_list_spec='@' 9656 # Tell ltmain to make .lib files, not .a files. 9657 libext=lib 9658 # Tell ltmain to make .dll files, not .so files. 9659 shrext_cmds=.dll 9660 # FIXME: Setting linknames here is a bad hack. 9661 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9662 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9663 cp "$export_symbols" "$output_objdir/$soname.def"; 9664 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9665 else 9666 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9667 fi~ 9668 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9669 linknames=' 9670 # The linker will not automatically build a static lib if we build a DLL. 9671 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9672 enable_shared_with_static_runtimes=yes 9673 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9674 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9675 # Don't use ranlib 9676 old_postinstall_cmds='chmod 644 $oldlib' 9677 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9678 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9679 case $lt_outputfile in 9680 *.exe|*.EXE) ;; 9681 *) 9682 lt_outputfile=$lt_outputfile.exe 9683 lt_tool_outputfile=$lt_tool_outputfile.exe 9684 ;; 9685 esac~ 9686 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9687 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9688 $RM "$lt_outputfile.manifest"; 9689 fi' 9690 ;; 9691 *) 9692 # Assume MSVC wrapper 9693 hardcode_libdir_flag_spec=' ' 9694 allow_undefined_flag=unsupported 9695 # Tell ltmain to make .lib files, not .a files. 9696 libext=lib 9697 # Tell ltmain to make .dll files, not .so files. 9698 shrext_cmds=.dll 9699 # FIXME: Setting linknames here is a bad hack. 9700 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9701 # The linker will automatically build a .lib file if we build a DLL. 9702 old_archive_from_new_cmds='true' 9703 # FIXME: Should let the user specify the lib program. 9704 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9705 enable_shared_with_static_runtimes=yes 9706 ;; 9707 esac 9708 ;; 9709 9710 darwin* | rhapsody*) 9711 9712 9713 archive_cmds_need_lc=no 9714 hardcode_direct=no 9715 hardcode_automatic=yes 9716 hardcode_shlibpath_var=unsupported 9717 if test yes = "$lt_cv_ld_force_load"; then 9718 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\"`' 9719 9720 else 9721 whole_archive_flag_spec='' 9722 fi 9723 link_all_deplibs=yes 9724 allow_undefined_flag=$_lt_dar_allow_undefined 9725 case $cc_basename in 9726 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9727 *) _lt_dar_can_shared=$GCC ;; 9728 esac 9729 if test yes = "$_lt_dar_can_shared"; then 9730 output_verbose_link_cmd=func_echo_all 9731 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9732 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9733 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" 9734 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" 9735 9736 else 9737 ld_shlibs=no 9738 fi 9739 9740 ;; 9741 9742 dgux*) 9743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9744 hardcode_libdir_flag_spec='-L$libdir' 9745 hardcode_shlibpath_var=no 9746 ;; 9747 9748 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9749 # support. Future versions do this automatically, but an explicit c++rt0.o 9750 # does not break anything, and helps significantly (at the cost of a little 9751 # extra space). 9752 freebsd2.2*) 9753 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9754 hardcode_libdir_flag_spec='-R$libdir' 9755 hardcode_direct=yes 9756 hardcode_shlibpath_var=no 9757 ;; 9758 9759 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9760 freebsd2.*) 9761 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9762 hardcode_direct=yes 9763 hardcode_minus_L=yes 9764 hardcode_shlibpath_var=no 9765 ;; 9766 9767 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9768 freebsd* | dragonfly*) 9769 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9770 hardcode_libdir_flag_spec='-R$libdir' 9771 hardcode_direct=yes 9772 hardcode_shlibpath_var=no 9773 ;; 9774 9775 hpux9*) 9776 if test yes = "$GCC"; then 9777 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 9778 else 9779 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 9780 fi 9781 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9782 hardcode_libdir_separator=: 9783 hardcode_direct=yes 9784 9785 # hardcode_minus_L: Not really in the search PATH, 9786 # but as the default location of the library. 9787 hardcode_minus_L=yes 9788 export_dynamic_flag_spec='$wl-E' 9789 ;; 9790 9791 hpux10*) 9792 if test yes,no = "$GCC,$with_gnu_ld"; then 9793 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9794 else 9795 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9796 fi 9797 if test no = "$with_gnu_ld"; then 9798 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9799 hardcode_libdir_separator=: 9800 hardcode_direct=yes 9801 hardcode_direct_absolute=yes 9802 export_dynamic_flag_spec='$wl-E' 9803 # hardcode_minus_L: Not really in the search PATH, 9804 # but as the default location of the library. 9805 hardcode_minus_L=yes 9806 fi 9807 ;; 9808 9809 hpux11*) 9810 if test yes,no = "$GCC,$with_gnu_ld"; then 9811 case $host_cpu in 9812 hppa*64*) 9813 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9814 ;; 9815 ia64*) 9816 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9817 ;; 9818 *) 9819 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9820 ;; 9821 esac 9822 else 9823 case $host_cpu in 9824 hppa*64*) 9825 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9826 ;; 9827 ia64*) 9828 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9829 ;; 9830 *) 9831 9832 # Older versions of the 11.00 compiler do not understand -b yet 9833 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9835$as_echo_n "checking if $CC understands -b... " >&6; } 9836if ${lt_cv_prog_compiler__b+:} false; then : 9837 $as_echo_n "(cached) " >&6 9838else 9839 lt_cv_prog_compiler__b=no 9840 save_LDFLAGS=$LDFLAGS 9841 LDFLAGS="$LDFLAGS -b" 9842 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9843 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9844 # The linker can only warn and ignore the option if not recognized 9845 # So say no if there are warnings 9846 if test -s conftest.err; then 9847 # Append any errors to the config.log. 9848 cat conftest.err 1>&5 9849 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9851 if diff conftest.exp conftest.er2 >/dev/null; then 9852 lt_cv_prog_compiler__b=yes 9853 fi 9854 else 9855 lt_cv_prog_compiler__b=yes 9856 fi 9857 fi 9858 $RM -r conftest* 9859 LDFLAGS=$save_LDFLAGS 9860 9861fi 9862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9863$as_echo "$lt_cv_prog_compiler__b" >&6; } 9864 9865if test yes = "$lt_cv_prog_compiler__b"; then 9866 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9867else 9868 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9869fi 9870 9871 ;; 9872 esac 9873 fi 9874 if test no = "$with_gnu_ld"; then 9875 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9876 hardcode_libdir_separator=: 9877 9878 case $host_cpu in 9879 hppa*64*|ia64*) 9880 hardcode_direct=no 9881 hardcode_shlibpath_var=no 9882 ;; 9883 *) 9884 hardcode_direct=yes 9885 hardcode_direct_absolute=yes 9886 export_dynamic_flag_spec='$wl-E' 9887 9888 # hardcode_minus_L: Not really in the search PATH, 9889 # but as the default location of the library. 9890 hardcode_minus_L=yes 9891 ;; 9892 esac 9893 fi 9894 ;; 9895 9896 irix5* | irix6* | nonstopux*) 9897 if test yes = "$GCC"; then 9898 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' 9899 # Try to use the -exported_symbol ld option, if it does not 9900 # work, assume that -exports_file does not work either and 9901 # implicitly export all symbols. 9902 # This should be the same for all languages, so no per-tag cache variable. 9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9904$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9905if ${lt_cv_irix_exported_symbol+:} false; then : 9906 $as_echo_n "(cached) " >&6 9907else 9908 save_LDFLAGS=$LDFLAGS 9909 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9911/* end confdefs.h. */ 9912int foo (void) { return 0; } 9913_ACEOF 9914if ac_fn_c_try_link "$LINENO"; then : 9915 lt_cv_irix_exported_symbol=yes 9916else 9917 lt_cv_irix_exported_symbol=no 9918fi 9919rm -f core conftest.err conftest.$ac_objext \ 9920 conftest$ac_exeext conftest.$ac_ext 9921 LDFLAGS=$save_LDFLAGS 9922fi 9923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9924$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9925 if test yes = "$lt_cv_irix_exported_symbol"; then 9926 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' 9927 fi 9928 link_all_deplibs=no 9929 else 9930 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' 9931 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' 9932 fi 9933 archive_cmds_need_lc='no' 9934 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9935 hardcode_libdir_separator=: 9936 inherit_rpath=yes 9937 link_all_deplibs=yes 9938 ;; 9939 9940 linux*) 9941 case $cc_basename in 9942 tcc*) 9943 # Fabrice Bellard et al's Tiny C Compiler 9944 ld_shlibs=yes 9945 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9946 ;; 9947 esac 9948 ;; 9949 9950 netbsd* | netbsdelf*-gnu) 9951 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9952 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9953 else 9954 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9955 fi 9956 hardcode_libdir_flag_spec='-R$libdir' 9957 hardcode_direct=yes 9958 hardcode_shlibpath_var=no 9959 ;; 9960 9961 newsos6) 9962 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9963 hardcode_direct=yes 9964 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9965 hardcode_libdir_separator=: 9966 hardcode_shlibpath_var=no 9967 ;; 9968 9969 *nto* | *qnx*) 9970 ;; 9971 9972 openbsd* | bitrig*) 9973 if test -f /usr/libexec/ld.so; then 9974 hardcode_direct=yes 9975 hardcode_shlibpath_var=no 9976 hardcode_direct_absolute=yes 9977 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 9978 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9979 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 9980 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9981 export_dynamic_flag_spec='$wl-E' 9982 else 9983 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9984 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9985 fi 9986 else 9987 ld_shlibs=no 9988 fi 9989 ;; 9990 9991 os2*) 9992 hardcode_libdir_flag_spec='-L$libdir' 9993 hardcode_minus_L=yes 9994 allow_undefined_flag=unsupported 9995 shrext_cmds=.dll 9996 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9997 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9998 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9999 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10000 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10001 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10002 emximp -o $lib $output_objdir/$libname.def' 10003 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10004 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10005 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10006 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10007 prefix_cmds="$SED"~ 10008 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10009 prefix_cmds="$prefix_cmds -e 1d"; 10010 fi~ 10011 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10012 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10013 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10014 emximp -o $lib $output_objdir/$libname.def' 10015 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10016 enable_shared_with_static_runtimes=yes 10017 ;; 10018 10019 osf3*) 10020 if test yes = "$GCC"; then 10021 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10022 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' 10023 else 10024 allow_undefined_flag=' -expect_unresolved \*' 10025 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' 10026 fi 10027 archive_cmds_need_lc='no' 10028 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10029 hardcode_libdir_separator=: 10030 ;; 10031 10032 osf4* | osf5*) # as osf3* with the addition of -msym flag 10033 if test yes = "$GCC"; then 10034 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10035 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' 10036 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10037 else 10038 allow_undefined_flag=' -expect_unresolved \*' 10039 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' 10040 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~ 10041 $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' 10042 10043 # Both c and cxx compiler support -rpath directly 10044 hardcode_libdir_flag_spec='-rpath $libdir' 10045 fi 10046 archive_cmds_need_lc='no' 10047 hardcode_libdir_separator=: 10048 ;; 10049 10050 solaris*) 10051 no_undefined_flag=' -z defs' 10052 if test yes = "$GCC"; then 10053 wlarc='$wl' 10054 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10055 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10056 $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' 10057 else 10058 case `$CC -V 2>&1` in 10059 *"Compilers 5.0"*) 10060 wlarc='' 10061 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10062 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10063 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10064 ;; 10065 *) 10066 wlarc='$wl' 10067 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10068 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10069 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10070 ;; 10071 esac 10072 fi 10073 hardcode_libdir_flag_spec='-R$libdir' 10074 hardcode_shlibpath_var=no 10075 case $host_os in 10076 solaris2.[0-5] | solaris2.[0-5].*) ;; 10077 *) 10078 # The compiler driver will combine and reorder linker options, 10079 # but understands '-z linker_flag'. GCC discards it without '$wl', 10080 # but is careful enough not to reorder. 10081 # Supported since Solaris 2.6 (maybe 2.5.1?) 10082 if test yes = "$GCC"; then 10083 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10084 else 10085 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10086 fi 10087 ;; 10088 esac 10089 link_all_deplibs=yes 10090 ;; 10091 10092 sunos4*) 10093 if test sequent = "$host_vendor"; then 10094 # Use $CC to link under sequent, because it throws in some extra .o 10095 # files that make .init and .fini sections work. 10096 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10097 else 10098 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10099 fi 10100 hardcode_libdir_flag_spec='-L$libdir' 10101 hardcode_direct=yes 10102 hardcode_minus_L=yes 10103 hardcode_shlibpath_var=no 10104 ;; 10105 10106 sysv4) 10107 case $host_vendor in 10108 sni) 10109 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10110 hardcode_direct=yes # is this really true??? 10111 ;; 10112 siemens) 10113 ## LD is ld it makes a PLAMLIB 10114 ## CC just makes a GrossModule. 10115 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10116 reload_cmds='$CC -r -o $output$reload_objs' 10117 hardcode_direct=no 10118 ;; 10119 motorola) 10120 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10121 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10122 ;; 10123 esac 10124 runpath_var='LD_RUN_PATH' 10125 hardcode_shlibpath_var=no 10126 ;; 10127 10128 sysv4.3*) 10129 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10130 hardcode_shlibpath_var=no 10131 export_dynamic_flag_spec='-Bexport' 10132 ;; 10133 10134 sysv4*MP*) 10135 if test -d /usr/nec; then 10136 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10137 hardcode_shlibpath_var=no 10138 runpath_var=LD_RUN_PATH 10139 hardcode_runpath_var=yes 10140 ld_shlibs=yes 10141 fi 10142 ;; 10143 10144 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10145 no_undefined_flag='$wl-z,text' 10146 archive_cmds_need_lc=no 10147 hardcode_shlibpath_var=no 10148 runpath_var='LD_RUN_PATH' 10149 10150 if test yes = "$GCC"; then 10151 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10152 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10153 else 10154 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10155 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10156 fi 10157 ;; 10158 10159 sysv5* | sco3.2v5* | sco5v6*) 10160 # Note: We CANNOT use -z defs as we might desire, because we do not 10161 # link with -lc, and that would cause any symbols used from libc to 10162 # always be unresolved, which means just about no library would 10163 # ever link correctly. If we're not using GNU ld we use -z text 10164 # though, which does catch some bad symbols but isn't as heavy-handed 10165 # as -z defs. 10166 no_undefined_flag='$wl-z,text' 10167 allow_undefined_flag='$wl-z,nodefs' 10168 archive_cmds_need_lc=no 10169 hardcode_shlibpath_var=no 10170 hardcode_libdir_flag_spec='$wl-R,$libdir' 10171 hardcode_libdir_separator=':' 10172 link_all_deplibs=yes 10173 export_dynamic_flag_spec='$wl-Bexport' 10174 runpath_var='LD_RUN_PATH' 10175 10176 if test yes = "$GCC"; then 10177 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10178 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10179 else 10180 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10181 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10182 fi 10183 ;; 10184 10185 uts4*) 10186 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10187 hardcode_libdir_flag_spec='-L$libdir' 10188 hardcode_shlibpath_var=no 10189 ;; 10190 10191 *) 10192 ld_shlibs=no 10193 ;; 10194 esac 10195 10196 if test sni = "$host_vendor"; then 10197 case $host in 10198 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10199 export_dynamic_flag_spec='$wl-Blargedynsym' 10200 ;; 10201 esac 10202 fi 10203 fi 10204 10205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10206$as_echo "$ld_shlibs" >&6; } 10207test no = "$ld_shlibs" && can_build_shared=no 10208 10209with_gnu_ld=$with_gnu_ld 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225# 10226# Do we need to explicitly link libc? 10227# 10228case "x$archive_cmds_need_lc" in 10229x|xyes) 10230 # Assume -lc should be added 10231 archive_cmds_need_lc=yes 10232 10233 if test yes,yes = "$GCC,$enable_shared"; then 10234 case $archive_cmds in 10235 *'~'*) 10236 # FIXME: we may have to deal with multi-command sequences. 10237 ;; 10238 '$CC '*) 10239 # Test whether the compiler implicitly links with -lc since on some 10240 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10241 # to ld, don't add -lc before -lgcc. 10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10243$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10244if ${lt_cv_archive_cmds_need_lc+:} false; then : 10245 $as_echo_n "(cached) " >&6 10246else 10247 $RM conftest* 10248 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10249 10250 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10251 (eval $ac_compile) 2>&5 10252 ac_status=$? 10253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10254 test $ac_status = 0; } 2>conftest.err; then 10255 soname=conftest 10256 lib=conftest 10257 libobjs=conftest.$ac_objext 10258 deplibs= 10259 wl=$lt_prog_compiler_wl 10260 pic_flag=$lt_prog_compiler_pic 10261 compiler_flags=-v 10262 linker_flags=-v 10263 verstring= 10264 output_objdir=. 10265 libname=conftest 10266 lt_save_allow_undefined_flag=$allow_undefined_flag 10267 allow_undefined_flag= 10268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10269 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10270 ac_status=$? 10271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10272 test $ac_status = 0; } 10273 then 10274 lt_cv_archive_cmds_need_lc=no 10275 else 10276 lt_cv_archive_cmds_need_lc=yes 10277 fi 10278 allow_undefined_flag=$lt_save_allow_undefined_flag 10279 else 10280 cat conftest.err 1>&5 10281 fi 10282 $RM conftest* 10283 10284fi 10285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10286$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10287 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10288 ;; 10289 esac 10290 fi 10291 ;; 10292esac 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10446$as_echo_n "checking dynamic linker characteristics... " >&6; } 10447 10448if test yes = "$GCC"; then 10449 case $host_os in 10450 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10451 *) lt_awk_arg='/^libraries:/' ;; 10452 esac 10453 case $host_os in 10454 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10455 *) lt_sed_strip_eq='s|=/|/|g' ;; 10456 esac 10457 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10458 case $lt_search_path_spec in 10459 *\;*) 10460 # if the path contains ";" then we assume it to be the separator 10461 # otherwise default to the standard path separator (i.e. ":") - it is 10462 # assumed that no part of a normal pathname contains ";" but that should 10463 # okay in the real world where ";" in dirpaths is itself problematic. 10464 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10465 ;; 10466 *) 10467 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10468 ;; 10469 esac 10470 # Ok, now we have the path, separated by spaces, we can step through it 10471 # and add multilib dir if necessary... 10472 lt_tmp_lt_search_path_spec= 10473 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10474 # ...but if some path component already ends with the multilib dir we assume 10475 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10476 case "$lt_multi_os_dir; $lt_search_path_spec " in 10477 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10478 lt_multi_os_dir= 10479 ;; 10480 esac 10481 for lt_sys_path in $lt_search_path_spec; do 10482 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10483 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10484 elif test -n "$lt_multi_os_dir"; then 10485 test -d "$lt_sys_path" && \ 10486 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10487 fi 10488 done 10489 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10490BEGIN {RS = " "; FS = "/|\n";} { 10491 lt_foo = ""; 10492 lt_count = 0; 10493 for (lt_i = NF; lt_i > 0; lt_i--) { 10494 if ($lt_i != "" && $lt_i != ".") { 10495 if ($lt_i == "..") { 10496 lt_count++; 10497 } else { 10498 if (lt_count == 0) { 10499 lt_foo = "/" $lt_i lt_foo; 10500 } else { 10501 lt_count--; 10502 } 10503 } 10504 } 10505 } 10506 if (lt_foo != "") { lt_freq[lt_foo]++; } 10507 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10508}'` 10509 # AWK program above erroneously prepends '/' to C:/dos/paths 10510 # for these hosts. 10511 case $host_os in 10512 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10513 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10514 esac 10515 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10516else 10517 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10518fi 10519library_names_spec= 10520libname_spec='lib$name' 10521soname_spec= 10522shrext_cmds=.so 10523postinstall_cmds= 10524postuninstall_cmds= 10525finish_cmds= 10526finish_eval= 10527shlibpath_var= 10528shlibpath_overrides_runpath=unknown 10529version_type=none 10530dynamic_linker="$host_os ld.so" 10531sys_lib_dlsearch_path_spec="/lib /usr/lib" 10532need_lib_prefix=unknown 10533hardcode_into_libs=no 10534 10535# when you set need_version to no, make sure it does not cause -set_version 10536# flags to be left without arguments 10537need_version=unknown 10538 10539 10540 10541case $host_os in 10542aix3*) 10543 version_type=linux # correct to gnu/linux during the next big refactor 10544 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10545 shlibpath_var=LIBPATH 10546 10547 # AIX 3 has no versioning support, so we append a major version to the name. 10548 soname_spec='$libname$release$shared_ext$major' 10549 ;; 10550 10551aix[4-9]*) 10552 version_type=linux # correct to gnu/linux during the next big refactor 10553 need_lib_prefix=no 10554 need_version=no 10555 hardcode_into_libs=yes 10556 if test ia64 = "$host_cpu"; then 10557 # AIX 5 supports IA64 10558 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10559 shlibpath_var=LD_LIBRARY_PATH 10560 else 10561 # With GCC up to 2.95.x, collect2 would create an import file 10562 # for dependence libraries. The import file would start with 10563 # the line '#! .'. This would cause the generated library to 10564 # depend on '.', always an invalid library. This was fixed in 10565 # development snapshots of GCC prior to 3.0. 10566 case $host_os in 10567 aix4 | aix4.[01] | aix4.[01].*) 10568 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10569 echo ' yes ' 10570 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10571 : 10572 else 10573 can_build_shared=no 10574 fi 10575 ;; 10576 esac 10577 # Using Import Files as archive members, it is possible to support 10578 # filename-based versioning of shared library archives on AIX. While 10579 # this would work for both with and without runtime linking, it will 10580 # prevent static linking of such archives. So we do filename-based 10581 # shared library versioning with .so extension only, which is used 10582 # when both runtime linking and shared linking is enabled. 10583 # Unfortunately, runtime linking may impact performance, so we do 10584 # not want this to be the default eventually. Also, we use the 10585 # versioned .so libs for executables only if there is the -brtl 10586 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10587 # To allow for filename-based versioning support, we need to create 10588 # libNAME.so.V as an archive file, containing: 10589 # *) an Import File, referring to the versioned filename of the 10590 # archive as well as the shared archive member, telling the 10591 # bitwidth (32 or 64) of that shared object, and providing the 10592 # list of exported symbols of that shared object, eventually 10593 # decorated with the 'weak' keyword 10594 # *) the shared object with the F_LOADONLY flag set, to really avoid 10595 # it being seen by the linker. 10596 # At run time we better use the real file rather than another symlink, 10597 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10598 10599 case $with_aix_soname,$aix_use_runtimelinking in 10600 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10601 # soname into executable. Probably we can add versioning support to 10602 # collect2, so additional links can be useful in future. 10603 aix,yes) # traditional libtool 10604 dynamic_linker='AIX unversionable lib.so' 10605 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10606 # instead of lib<name>.a to let people know that these are not 10607 # typical AIX shared libraries. 10608 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10609 ;; 10610 aix,no) # traditional AIX only 10611 dynamic_linker='AIX lib.a(lib.so.V)' 10612 # We preserve .a as extension for shared libraries through AIX4.2 10613 # and later when we are not doing run time linking. 10614 library_names_spec='$libname$release.a $libname.a' 10615 soname_spec='$libname$release$shared_ext$major' 10616 ;; 10617 svr4,*) # full svr4 only 10618 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10619 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10620 # We do not specify a path in Import Files, so LIBPATH fires. 10621 shlibpath_overrides_runpath=yes 10622 ;; 10623 *,yes) # both, prefer svr4 10624 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10625 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10626 # unpreferred sharedlib libNAME.a needs extra handling 10627 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 10628 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 10629 # We do not specify a path in Import Files, so LIBPATH fires. 10630 shlibpath_overrides_runpath=yes 10631 ;; 10632 *,no) # both, prefer aix 10633 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10634 library_names_spec='$libname$release.a $libname.a' 10635 soname_spec='$libname$release$shared_ext$major' 10636 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10637 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 10638 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 10639 ;; 10640 esac 10641 shlibpath_var=LIBPATH 10642 fi 10643 ;; 10644 10645amigaos*) 10646 case $host_cpu in 10647 powerpc) 10648 # Since July 2007 AmigaOS4 officially supports .so libraries. 10649 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10650 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10651 ;; 10652 m68k) 10653 library_names_spec='$libname.ixlibrary $libname.a' 10654 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10655 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 10656 ;; 10657 esac 10658 ;; 10659 10660beos*) 10661 library_names_spec='$libname$shared_ext' 10662 dynamic_linker="$host_os ld.so" 10663 shlibpath_var=LIBRARY_PATH 10664 ;; 10665 10666bsdi[45]*) 10667 version_type=linux # correct to gnu/linux during the next big refactor 10668 need_version=no 10669 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10670 soname_spec='$libname$release$shared_ext$major' 10671 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10672 shlibpath_var=LD_LIBRARY_PATH 10673 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10674 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10675 # the default ld.so.conf also contains /usr/contrib/lib and 10676 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10677 # libtool to hard-code these into programs 10678 ;; 10679 10680cygwin* | mingw* | pw32* | cegcc*) 10681 version_type=windows 10682 shrext_cmds=.dll 10683 need_version=no 10684 need_lib_prefix=no 10685 10686 case $GCC,$cc_basename in 10687 yes,*) 10688 # gcc 10689 library_names_spec='$libname.dll.a' 10690 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10691 postinstall_cmds='base_file=`basename \$file`~ 10692 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10693 dldir=$destdir/`dirname \$dlpath`~ 10694 test -d \$dldir || mkdir -p \$dldir~ 10695 $install_prog $dir/$dlname \$dldir/$dlname~ 10696 chmod a+x \$dldir/$dlname~ 10697 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10698 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10699 fi' 10700 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10701 dlpath=$dir/\$dldll~ 10702 $RM \$dlpath' 10703 shlibpath_overrides_runpath=yes 10704 10705 case $host_os in 10706 cygwin*) 10707 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10708 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10709 10710 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10711 ;; 10712 mingw* | cegcc*) 10713 # MinGW DLLs use traditional 'lib' prefix 10714 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10715 ;; 10716 pw32*) 10717 # pw32 DLLs use 'pw' prefix rather than 'lib' 10718 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10719 ;; 10720 esac 10721 dynamic_linker='Win32 ld.exe' 10722 ;; 10723 10724 *,cl*) 10725 # Native MSVC 10726 libname_spec='$name' 10727 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10728 library_names_spec='$libname.dll.lib' 10729 10730 case $build_os in 10731 mingw*) 10732 sys_lib_search_path_spec= 10733 lt_save_ifs=$IFS 10734 IFS=';' 10735 for lt_path in $LIB 10736 do 10737 IFS=$lt_save_ifs 10738 # Let DOS variable expansion print the short 8.3 style file name. 10739 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10740 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10741 done 10742 IFS=$lt_save_ifs 10743 # Convert to MSYS style. 10744 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10745 ;; 10746 cygwin*) 10747 # Convert to unix form, then to dos form, then back to unix form 10748 # but this time dos style (no spaces!) so that the unix form looks 10749 # like /cygdrive/c/PROGRA~1:/cygdr... 10750 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10751 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10752 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10753 ;; 10754 *) 10755 sys_lib_search_path_spec=$LIB 10756 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10757 # It is most probably a Windows format PATH. 10758 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10759 else 10760 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10761 fi 10762 # FIXME: find the short name or the path components, as spaces are 10763 # common. (e.g. "Program Files" -> "PROGRA~1") 10764 ;; 10765 esac 10766 10767 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10768 postinstall_cmds='base_file=`basename \$file`~ 10769 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10770 dldir=$destdir/`dirname \$dlpath`~ 10771 test -d \$dldir || mkdir -p \$dldir~ 10772 $install_prog $dir/$dlname \$dldir/$dlname' 10773 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10774 dlpath=$dir/\$dldll~ 10775 $RM \$dlpath' 10776 shlibpath_overrides_runpath=yes 10777 dynamic_linker='Win32 link.exe' 10778 ;; 10779 10780 *) 10781 # Assume MSVC wrapper 10782 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10783 dynamic_linker='Win32 ld.exe' 10784 ;; 10785 esac 10786 # FIXME: first we should search . and the directory the executable is in 10787 shlibpath_var=PATH 10788 ;; 10789 10790darwin* | rhapsody*) 10791 dynamic_linker="$host_os dyld" 10792 version_type=darwin 10793 need_lib_prefix=no 10794 need_version=no 10795 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10796 soname_spec='$libname$release$major$shared_ext' 10797 shlibpath_overrides_runpath=yes 10798 shlibpath_var=DYLD_LIBRARY_PATH 10799 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10800 10801 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10802 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10803 ;; 10804 10805dgux*) 10806 version_type=linux # correct to gnu/linux during the next big refactor 10807 need_lib_prefix=no 10808 need_version=no 10809 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10810 soname_spec='$libname$release$shared_ext$major' 10811 shlibpath_var=LD_LIBRARY_PATH 10812 ;; 10813 10814freebsd* | dragonfly*) 10815 # DragonFly does not have aout. When/if they implement a new 10816 # versioning mechanism, adjust this. 10817 if test -x /usr/bin/objformat; then 10818 objformat=`/usr/bin/objformat` 10819 else 10820 case $host_os in 10821 freebsd[23].*) objformat=aout ;; 10822 *) objformat=elf ;; 10823 esac 10824 fi 10825 version_type=freebsd-$objformat 10826 case $version_type in 10827 freebsd-elf*) 10828 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10829 soname_spec='$libname$release$shared_ext$major' 10830 need_version=no 10831 need_lib_prefix=no 10832 ;; 10833 freebsd-*) 10834 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10835 need_version=yes 10836 ;; 10837 esac 10838 shlibpath_var=LD_LIBRARY_PATH 10839 case $host_os in 10840 freebsd2.*) 10841 shlibpath_overrides_runpath=yes 10842 ;; 10843 freebsd3.[01]* | freebsdelf3.[01]*) 10844 shlibpath_overrides_runpath=yes 10845 hardcode_into_libs=yes 10846 ;; 10847 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10848 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10849 shlibpath_overrides_runpath=no 10850 hardcode_into_libs=yes 10851 ;; 10852 *) # from 4.6 on, and DragonFly 10853 shlibpath_overrides_runpath=yes 10854 hardcode_into_libs=yes 10855 ;; 10856 esac 10857 ;; 10858 10859haiku*) 10860 version_type=linux # correct to gnu/linux during the next big refactor 10861 need_lib_prefix=no 10862 need_version=no 10863 dynamic_linker="$host_os runtime_loader" 10864 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10865 soname_spec='$libname$release$shared_ext$major' 10866 shlibpath_var=LIBRARY_PATH 10867 shlibpath_overrides_runpath=no 10868 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10869 hardcode_into_libs=yes 10870 ;; 10871 10872hpux9* | hpux10* | hpux11*) 10873 # Give a soname corresponding to the major version so that dld.sl refuses to 10874 # link against other versions. 10875 version_type=sunos 10876 need_lib_prefix=no 10877 need_version=no 10878 case $host_cpu in 10879 ia64*) 10880 shrext_cmds='.so' 10881 hardcode_into_libs=yes 10882 dynamic_linker="$host_os dld.so" 10883 shlibpath_var=LD_LIBRARY_PATH 10884 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10885 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10886 soname_spec='$libname$release$shared_ext$major' 10887 if test 32 = "$HPUX_IA64_MODE"; then 10888 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10889 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 10890 else 10891 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10892 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 10893 fi 10894 ;; 10895 hppa*64*) 10896 shrext_cmds='.sl' 10897 hardcode_into_libs=yes 10898 dynamic_linker="$host_os dld.sl" 10899 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10900 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10901 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10902 soname_spec='$libname$release$shared_ext$major' 10903 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10904 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10905 ;; 10906 *) 10907 shrext_cmds='.sl' 10908 dynamic_linker="$host_os dld.sl" 10909 shlibpath_var=SHLIB_PATH 10910 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10911 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10912 soname_spec='$libname$release$shared_ext$major' 10913 ;; 10914 esac 10915 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10916 postinstall_cmds='chmod 555 $lib' 10917 # or fails outright, so override atomically: 10918 install_override_mode=555 10919 ;; 10920 10921interix[3-9]*) 10922 version_type=linux # correct to gnu/linux during the next big refactor 10923 need_lib_prefix=no 10924 need_version=no 10925 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10926 soname_spec='$libname$release$shared_ext$major' 10927 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10928 shlibpath_var=LD_LIBRARY_PATH 10929 shlibpath_overrides_runpath=no 10930 hardcode_into_libs=yes 10931 ;; 10932 10933irix5* | irix6* | nonstopux*) 10934 case $host_os in 10935 nonstopux*) version_type=nonstopux ;; 10936 *) 10937 if test yes = "$lt_cv_prog_gnu_ld"; then 10938 version_type=linux # correct to gnu/linux during the next big refactor 10939 else 10940 version_type=irix 10941 fi ;; 10942 esac 10943 need_lib_prefix=no 10944 need_version=no 10945 soname_spec='$libname$release$shared_ext$major' 10946 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 10947 case $host_os in 10948 irix5* | nonstopux*) 10949 libsuff= shlibsuff= 10950 ;; 10951 *) 10952 case $LD in # libtool.m4 will add one of these switches to LD 10953 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10954 libsuff= shlibsuff= libmagic=32-bit;; 10955 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10956 libsuff=32 shlibsuff=N32 libmagic=N32;; 10957 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10958 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10959 *) libsuff= shlibsuff= libmagic=never-match;; 10960 esac 10961 ;; 10962 esac 10963 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10964 shlibpath_overrides_runpath=no 10965 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 10966 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 10967 hardcode_into_libs=yes 10968 ;; 10969 10970# No shared lib support for Linux oldld, aout, or coff. 10971linux*oldld* | linux*aout* | linux*coff*) 10972 dynamic_linker=no 10973 ;; 10974 10975linux*android*) 10976 version_type=none # Android doesn't support versioned libraries. 10977 need_lib_prefix=no 10978 need_version=no 10979 library_names_spec='$libname$release$shared_ext' 10980 soname_spec='$libname$release$shared_ext' 10981 finish_cmds= 10982 shlibpath_var=LD_LIBRARY_PATH 10983 shlibpath_overrides_runpath=yes 10984 10985 # This implies no fast_install, which is unacceptable. 10986 # Some rework will be needed to allow for fast_install 10987 # before this can be enabled. 10988 hardcode_into_libs=yes 10989 10990 dynamic_linker='Android linker' 10991 # Don't embed -rpath directories since the linker doesn't support them. 10992 hardcode_libdir_flag_spec='-L$libdir' 10993 ;; 10994 10995# This must be glibc/ELF. 10996linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10997 version_type=linux # correct to gnu/linux during the next big refactor 10998 need_lib_prefix=no 10999 need_version=no 11000 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11001 soname_spec='$libname$release$shared_ext$major' 11002 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11003 shlibpath_var=LD_LIBRARY_PATH 11004 shlibpath_overrides_runpath=no 11005 11006 # Some binutils ld are patched to set DT_RUNPATH 11007 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11008 $as_echo_n "(cached) " >&6 11009else 11010 lt_cv_shlibpath_overrides_runpath=no 11011 save_LDFLAGS=$LDFLAGS 11012 save_libdir=$libdir 11013 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11014 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11016/* end confdefs.h. */ 11017 11018int 11019main () 11020{ 11021 11022 ; 11023 return 0; 11024} 11025_ACEOF 11026if ac_fn_c_try_link "$LINENO"; then : 11027 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11028 lt_cv_shlibpath_overrides_runpath=yes 11029fi 11030fi 11031rm -f core conftest.err conftest.$ac_objext \ 11032 conftest$ac_exeext conftest.$ac_ext 11033 LDFLAGS=$save_LDFLAGS 11034 libdir=$save_libdir 11035 11036fi 11037 11038 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11039 11040 # This implies no fast_install, which is unacceptable. 11041 # Some rework will be needed to allow for fast_install 11042 # before this can be enabled. 11043 hardcode_into_libs=yes 11044 11045 # Ideally, we could use ldconfig to report *all* directores which are 11046 # searched for libraries, however this is still not possible. Aside from not 11047 # being certain /sbin/ldconfig is available, command 11048 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11049 # even though it is searched at run-time. Try to do the best guess by 11050 # appending ld.so.conf contents (and includes) to the search path. 11051 if test -f /etc/ld.so.conf; then 11052 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' ' '` 11053 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11054 fi 11055 11056 # We used to test for /lib/ld.so.1 and disable shared libraries on 11057 # powerpc, because MkLinux only supported shared libraries with the 11058 # GNU dynamic linker. Since this was broken with cross compilers, 11059 # most powerpc-linux boxes support dynamic linking these days and 11060 # people can always --disable-shared, the test was removed, and we 11061 # assume the GNU/Linux dynamic linker is in use. 11062 dynamic_linker='GNU/Linux ld.so' 11063 ;; 11064 11065netbsdelf*-gnu) 11066 version_type=linux 11067 need_lib_prefix=no 11068 need_version=no 11069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11070 soname_spec='${libname}${release}${shared_ext}$major' 11071 shlibpath_var=LD_LIBRARY_PATH 11072 shlibpath_overrides_runpath=no 11073 hardcode_into_libs=yes 11074 dynamic_linker='NetBSD ld.elf_so' 11075 ;; 11076 11077netbsd*) 11078 version_type=sunos 11079 need_lib_prefix=no 11080 need_version=no 11081 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11082 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11083 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11084 dynamic_linker='NetBSD (a.out) ld.so' 11085 else 11086 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11087 soname_spec='$libname$release$shared_ext$major' 11088 dynamic_linker='NetBSD ld.elf_so' 11089 fi 11090 shlibpath_var=LD_LIBRARY_PATH 11091 shlibpath_overrides_runpath=yes 11092 hardcode_into_libs=yes 11093 ;; 11094 11095newsos6) 11096 version_type=linux # correct to gnu/linux during the next big refactor 11097 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11098 shlibpath_var=LD_LIBRARY_PATH 11099 shlibpath_overrides_runpath=yes 11100 ;; 11101 11102*nto* | *qnx*) 11103 version_type=qnx 11104 need_lib_prefix=no 11105 need_version=no 11106 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11107 soname_spec='$libname$release$shared_ext$major' 11108 shlibpath_var=LD_LIBRARY_PATH 11109 shlibpath_overrides_runpath=no 11110 hardcode_into_libs=yes 11111 dynamic_linker='ldqnx.so' 11112 ;; 11113 11114openbsd* | bitrig*) 11115 version_type=sunos 11116 sys_lib_dlsearch_path_spec=/usr/lib 11117 need_lib_prefix=no 11118 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11119 need_version=no 11120 else 11121 need_version=yes 11122 fi 11123 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11124 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11125 shlibpath_var=LD_LIBRARY_PATH 11126 shlibpath_overrides_runpath=yes 11127 ;; 11128 11129os2*) 11130 libname_spec='$name' 11131 version_type=windows 11132 shrext_cmds=.dll 11133 need_version=no 11134 need_lib_prefix=no 11135 # OS/2 can only load a DLL with a base name of 8 characters or less. 11136 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11137 v=$($ECHO $release$versuffix | tr -d .-); 11138 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11139 $ECHO $n$v`$shared_ext' 11140 library_names_spec='${libname}_dll.$libext' 11141 dynamic_linker='OS/2 ld.exe' 11142 shlibpath_var=BEGINLIBPATH 11143 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11144 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11145 postinstall_cmds='base_file=`basename \$file`~ 11146 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11147 dldir=$destdir/`dirname \$dlpath`~ 11148 test -d \$dldir || mkdir -p \$dldir~ 11149 $install_prog $dir/$dlname \$dldir/$dlname~ 11150 chmod a+x \$dldir/$dlname~ 11151 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11152 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11153 fi' 11154 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11155 dlpath=$dir/\$dldll~ 11156 $RM \$dlpath' 11157 ;; 11158 11159osf3* | osf4* | osf5*) 11160 version_type=osf 11161 need_lib_prefix=no 11162 need_version=no 11163 soname_spec='$libname$release$shared_ext$major' 11164 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11165 shlibpath_var=LD_LIBRARY_PATH 11166 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11167 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11168 ;; 11169 11170rdos*) 11171 dynamic_linker=no 11172 ;; 11173 11174solaris*) 11175 version_type=linux # correct to gnu/linux during the next big refactor 11176 need_lib_prefix=no 11177 need_version=no 11178 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11179 soname_spec='$libname$release$shared_ext$major' 11180 shlibpath_var=LD_LIBRARY_PATH 11181 shlibpath_overrides_runpath=yes 11182 hardcode_into_libs=yes 11183 # ldd complains unless libraries are executable 11184 postinstall_cmds='chmod +x $lib' 11185 ;; 11186 11187sunos4*) 11188 version_type=sunos 11189 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11190 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11191 shlibpath_var=LD_LIBRARY_PATH 11192 shlibpath_overrides_runpath=yes 11193 if test yes = "$with_gnu_ld"; then 11194 need_lib_prefix=no 11195 fi 11196 need_version=yes 11197 ;; 11198 11199sysv4 | sysv4.3*) 11200 version_type=linux # correct to gnu/linux during the next big refactor 11201 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11202 soname_spec='$libname$release$shared_ext$major' 11203 shlibpath_var=LD_LIBRARY_PATH 11204 case $host_vendor in 11205 sni) 11206 shlibpath_overrides_runpath=no 11207 need_lib_prefix=no 11208 runpath_var=LD_RUN_PATH 11209 ;; 11210 siemens) 11211 need_lib_prefix=no 11212 ;; 11213 motorola) 11214 need_lib_prefix=no 11215 need_version=no 11216 shlibpath_overrides_runpath=no 11217 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11218 ;; 11219 esac 11220 ;; 11221 11222sysv4*MP*) 11223 if test -d /usr/nec; then 11224 version_type=linux # correct to gnu/linux during the next big refactor 11225 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11226 soname_spec='$libname$shared_ext.$major' 11227 shlibpath_var=LD_LIBRARY_PATH 11228 fi 11229 ;; 11230 11231sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11232 version_type=sco 11233 need_lib_prefix=no 11234 need_version=no 11235 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11236 soname_spec='$libname$release$shared_ext$major' 11237 shlibpath_var=LD_LIBRARY_PATH 11238 shlibpath_overrides_runpath=yes 11239 hardcode_into_libs=yes 11240 if test yes = "$with_gnu_ld"; then 11241 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11242 else 11243 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11244 case $host_os in 11245 sco3.2v5*) 11246 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11247 ;; 11248 esac 11249 fi 11250 sys_lib_dlsearch_path_spec='/usr/lib' 11251 ;; 11252 11253tpf*) 11254 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11255 version_type=linux # correct to gnu/linux during the next big refactor 11256 need_lib_prefix=no 11257 need_version=no 11258 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11259 shlibpath_var=LD_LIBRARY_PATH 11260 shlibpath_overrides_runpath=no 11261 hardcode_into_libs=yes 11262 ;; 11263 11264uts4*) 11265 version_type=linux # correct to gnu/linux during the next big refactor 11266 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11267 soname_spec='$libname$release$shared_ext$major' 11268 shlibpath_var=LD_LIBRARY_PATH 11269 ;; 11270 11271*) 11272 dynamic_linker=no 11273 ;; 11274esac 11275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11276$as_echo "$dynamic_linker" >&6; } 11277test no = "$dynamic_linker" && can_build_shared=no 11278 11279variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11280if test yes = "$GCC"; then 11281 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11282fi 11283 11284if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11285 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11286fi 11287 11288if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11289 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11290fi 11291 11292# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11293configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11294 11295# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11296func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11297 11298# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11299configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11398$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11399hardcode_action= 11400if test -n "$hardcode_libdir_flag_spec" || 11401 test -n "$runpath_var" || 11402 test yes = "$hardcode_automatic"; then 11403 11404 # We can hardcode non-existent directories. 11405 if test no != "$hardcode_direct" && 11406 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11407 # have to relink, otherwise we might link with an installed library 11408 # when we should be linking with a yet-to-be-installed one 11409 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11410 test no != "$hardcode_minus_L"; then 11411 # Linking always hardcodes the temporary library directory. 11412 hardcode_action=relink 11413 else 11414 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11415 hardcode_action=immediate 11416 fi 11417else 11418 # We cannot hardcode anything, or else we can only hardcode existing 11419 # directories. 11420 hardcode_action=unsupported 11421fi 11422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11423$as_echo "$hardcode_action" >&6; } 11424 11425if test relink = "$hardcode_action" || 11426 test yes = "$inherit_rpath"; then 11427 # Fast installation is not supported 11428 enable_fast_install=no 11429elif test yes = "$shlibpath_overrides_runpath" || 11430 test no = "$enable_shared"; then 11431 # Fast installation is not necessary 11432 enable_fast_install=needless 11433fi 11434 11435 11436 11437 11438 11439 11440 if test yes != "$enable_dlopen"; then 11441 enable_dlopen=unknown 11442 enable_dlopen_self=unknown 11443 enable_dlopen_self_static=unknown 11444else 11445 lt_cv_dlopen=no 11446 lt_cv_dlopen_libs= 11447 11448 case $host_os in 11449 beos*) 11450 lt_cv_dlopen=load_add_on 11451 lt_cv_dlopen_libs= 11452 lt_cv_dlopen_self=yes 11453 ;; 11454 11455 mingw* | pw32* | cegcc*) 11456 lt_cv_dlopen=LoadLibrary 11457 lt_cv_dlopen_libs= 11458 ;; 11459 11460 cygwin*) 11461 lt_cv_dlopen=dlopen 11462 lt_cv_dlopen_libs= 11463 ;; 11464 11465 darwin*) 11466 # if libdl is installed we need to link against it 11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11468$as_echo_n "checking for dlopen in -ldl... " >&6; } 11469if ${ac_cv_lib_dl_dlopen+:} false; then : 11470 $as_echo_n "(cached) " >&6 11471else 11472 ac_check_lib_save_LIBS=$LIBS 11473LIBS="-ldl $LIBS" 11474cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11475/* end confdefs.h. */ 11476 11477/* Override any GCC internal prototype to avoid an error. 11478 Use char because int might match the return type of a GCC 11479 builtin and then its argument prototype would still apply. */ 11480#ifdef __cplusplus 11481extern "C" 11482#endif 11483char dlopen (); 11484int 11485main () 11486{ 11487return dlopen (); 11488 ; 11489 return 0; 11490} 11491_ACEOF 11492if ac_fn_c_try_link "$LINENO"; then : 11493 ac_cv_lib_dl_dlopen=yes 11494else 11495 ac_cv_lib_dl_dlopen=no 11496fi 11497rm -f core conftest.err conftest.$ac_objext \ 11498 conftest$ac_exeext conftest.$ac_ext 11499LIBS=$ac_check_lib_save_LIBS 11500fi 11501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11502$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11503if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11504 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11505else 11506 11507 lt_cv_dlopen=dyld 11508 lt_cv_dlopen_libs= 11509 lt_cv_dlopen_self=yes 11510 11511fi 11512 11513 ;; 11514 11515 tpf*) 11516 # Don't try to run any link tests for TPF. We know it's impossible 11517 # because TPF is a cross-compiler, and we know how we open DSOs. 11518 lt_cv_dlopen=dlopen 11519 lt_cv_dlopen_libs= 11520 lt_cv_dlopen_self=no 11521 ;; 11522 11523 *) 11524 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11525if test "x$ac_cv_func_shl_load" = xyes; then : 11526 lt_cv_dlopen=shl_load 11527else 11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11529$as_echo_n "checking for shl_load in -ldld... " >&6; } 11530if ${ac_cv_lib_dld_shl_load+:} false; then : 11531 $as_echo_n "(cached) " >&6 11532else 11533 ac_check_lib_save_LIBS=$LIBS 11534LIBS="-ldld $LIBS" 11535cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11536/* end confdefs.h. */ 11537 11538/* Override any GCC internal prototype to avoid an error. 11539 Use char because int might match the return type of a GCC 11540 builtin and then its argument prototype would still apply. */ 11541#ifdef __cplusplus 11542extern "C" 11543#endif 11544char shl_load (); 11545int 11546main () 11547{ 11548return shl_load (); 11549 ; 11550 return 0; 11551} 11552_ACEOF 11553if ac_fn_c_try_link "$LINENO"; then : 11554 ac_cv_lib_dld_shl_load=yes 11555else 11556 ac_cv_lib_dld_shl_load=no 11557fi 11558rm -f core conftest.err conftest.$ac_objext \ 11559 conftest$ac_exeext conftest.$ac_ext 11560LIBS=$ac_check_lib_save_LIBS 11561fi 11562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11563$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11564if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11565 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11566else 11567 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11568if test "x$ac_cv_func_dlopen" = xyes; then : 11569 lt_cv_dlopen=dlopen 11570else 11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11572$as_echo_n "checking for dlopen in -ldl... " >&6; } 11573if ${ac_cv_lib_dl_dlopen+:} false; then : 11574 $as_echo_n "(cached) " >&6 11575else 11576 ac_check_lib_save_LIBS=$LIBS 11577LIBS="-ldl $LIBS" 11578cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11579/* end confdefs.h. */ 11580 11581/* Override any GCC internal prototype to avoid an error. 11582 Use char because int might match the return type of a GCC 11583 builtin and then its argument prototype would still apply. */ 11584#ifdef __cplusplus 11585extern "C" 11586#endif 11587char dlopen (); 11588int 11589main () 11590{ 11591return dlopen (); 11592 ; 11593 return 0; 11594} 11595_ACEOF 11596if ac_fn_c_try_link "$LINENO"; then : 11597 ac_cv_lib_dl_dlopen=yes 11598else 11599 ac_cv_lib_dl_dlopen=no 11600fi 11601rm -f core conftest.err conftest.$ac_objext \ 11602 conftest$ac_exeext conftest.$ac_ext 11603LIBS=$ac_check_lib_save_LIBS 11604fi 11605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11606$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11607if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11608 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11609else 11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11611$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11612if ${ac_cv_lib_svld_dlopen+:} false; then : 11613 $as_echo_n "(cached) " >&6 11614else 11615 ac_check_lib_save_LIBS=$LIBS 11616LIBS="-lsvld $LIBS" 11617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11618/* end confdefs.h. */ 11619 11620/* Override any GCC internal prototype to avoid an error. 11621 Use char because int might match the return type of a GCC 11622 builtin and then its argument prototype would still apply. */ 11623#ifdef __cplusplus 11624extern "C" 11625#endif 11626char dlopen (); 11627int 11628main () 11629{ 11630return dlopen (); 11631 ; 11632 return 0; 11633} 11634_ACEOF 11635if ac_fn_c_try_link "$LINENO"; then : 11636 ac_cv_lib_svld_dlopen=yes 11637else 11638 ac_cv_lib_svld_dlopen=no 11639fi 11640rm -f core conftest.err conftest.$ac_objext \ 11641 conftest$ac_exeext conftest.$ac_ext 11642LIBS=$ac_check_lib_save_LIBS 11643fi 11644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11645$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11646if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11647 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11648else 11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11650$as_echo_n "checking for dld_link in -ldld... " >&6; } 11651if ${ac_cv_lib_dld_dld_link+:} false; then : 11652 $as_echo_n "(cached) " >&6 11653else 11654 ac_check_lib_save_LIBS=$LIBS 11655LIBS="-ldld $LIBS" 11656cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11657/* end confdefs.h. */ 11658 11659/* Override any GCC internal prototype to avoid an error. 11660 Use char because int might match the return type of a GCC 11661 builtin and then its argument prototype would still apply. */ 11662#ifdef __cplusplus 11663extern "C" 11664#endif 11665char dld_link (); 11666int 11667main () 11668{ 11669return dld_link (); 11670 ; 11671 return 0; 11672} 11673_ACEOF 11674if ac_fn_c_try_link "$LINENO"; then : 11675 ac_cv_lib_dld_dld_link=yes 11676else 11677 ac_cv_lib_dld_dld_link=no 11678fi 11679rm -f core conftest.err conftest.$ac_objext \ 11680 conftest$ac_exeext conftest.$ac_ext 11681LIBS=$ac_check_lib_save_LIBS 11682fi 11683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11684$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11685if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11686 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11687fi 11688 11689 11690fi 11691 11692 11693fi 11694 11695 11696fi 11697 11698 11699fi 11700 11701 11702fi 11703 11704 ;; 11705 esac 11706 11707 if test no = "$lt_cv_dlopen"; then 11708 enable_dlopen=no 11709 else 11710 enable_dlopen=yes 11711 fi 11712 11713 case $lt_cv_dlopen in 11714 dlopen) 11715 save_CPPFLAGS=$CPPFLAGS 11716 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11717 11718 save_LDFLAGS=$LDFLAGS 11719 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11720 11721 save_LIBS=$LIBS 11722 LIBS="$lt_cv_dlopen_libs $LIBS" 11723 11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11725$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11726if ${lt_cv_dlopen_self+:} false; then : 11727 $as_echo_n "(cached) " >&6 11728else 11729 if test yes = "$cross_compiling"; then : 11730 lt_cv_dlopen_self=cross 11731else 11732 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11733 lt_status=$lt_dlunknown 11734 cat > conftest.$ac_ext <<_LT_EOF 11735#line $LINENO "configure" 11736#include "confdefs.h" 11737 11738#if HAVE_DLFCN_H 11739#include <dlfcn.h> 11740#endif 11741 11742#include <stdio.h> 11743 11744#ifdef RTLD_GLOBAL 11745# define LT_DLGLOBAL RTLD_GLOBAL 11746#else 11747# ifdef DL_GLOBAL 11748# define LT_DLGLOBAL DL_GLOBAL 11749# else 11750# define LT_DLGLOBAL 0 11751# endif 11752#endif 11753 11754/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11755 find out it does not work in some platform. */ 11756#ifndef LT_DLLAZY_OR_NOW 11757# ifdef RTLD_LAZY 11758# define LT_DLLAZY_OR_NOW RTLD_LAZY 11759# else 11760# ifdef DL_LAZY 11761# define LT_DLLAZY_OR_NOW DL_LAZY 11762# else 11763# ifdef RTLD_NOW 11764# define LT_DLLAZY_OR_NOW RTLD_NOW 11765# else 11766# ifdef DL_NOW 11767# define LT_DLLAZY_OR_NOW DL_NOW 11768# else 11769# define LT_DLLAZY_OR_NOW 0 11770# endif 11771# endif 11772# endif 11773# endif 11774#endif 11775 11776/* When -fvisibility=hidden is used, assume the code has been annotated 11777 correspondingly for the symbols needed. */ 11778#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11779int fnord () __attribute__((visibility("default"))); 11780#endif 11781 11782int fnord () { return 42; } 11783int main () 11784{ 11785 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11786 int status = $lt_dlunknown; 11787 11788 if (self) 11789 { 11790 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11791 else 11792 { 11793 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11794 else puts (dlerror ()); 11795 } 11796 /* dlclose (self); */ 11797 } 11798 else 11799 puts (dlerror ()); 11800 11801 return status; 11802} 11803_LT_EOF 11804 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11805 (eval $ac_link) 2>&5 11806 ac_status=$? 11807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11808 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11809 (./conftest; exit; ) >&5 2>/dev/null 11810 lt_status=$? 11811 case x$lt_status in 11812 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11813 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11814 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11815 esac 11816 else : 11817 # compilation failed 11818 lt_cv_dlopen_self=no 11819 fi 11820fi 11821rm -fr conftest* 11822 11823 11824fi 11825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11826$as_echo "$lt_cv_dlopen_self" >&6; } 11827 11828 if test yes = "$lt_cv_dlopen_self"; then 11829 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11831$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11832if ${lt_cv_dlopen_self_static+:} false; then : 11833 $as_echo_n "(cached) " >&6 11834else 11835 if test yes = "$cross_compiling"; then : 11836 lt_cv_dlopen_self_static=cross 11837else 11838 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11839 lt_status=$lt_dlunknown 11840 cat > conftest.$ac_ext <<_LT_EOF 11841#line $LINENO "configure" 11842#include "confdefs.h" 11843 11844#if HAVE_DLFCN_H 11845#include <dlfcn.h> 11846#endif 11847 11848#include <stdio.h> 11849 11850#ifdef RTLD_GLOBAL 11851# define LT_DLGLOBAL RTLD_GLOBAL 11852#else 11853# ifdef DL_GLOBAL 11854# define LT_DLGLOBAL DL_GLOBAL 11855# else 11856# define LT_DLGLOBAL 0 11857# endif 11858#endif 11859 11860/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11861 find out it does not work in some platform. */ 11862#ifndef LT_DLLAZY_OR_NOW 11863# ifdef RTLD_LAZY 11864# define LT_DLLAZY_OR_NOW RTLD_LAZY 11865# else 11866# ifdef DL_LAZY 11867# define LT_DLLAZY_OR_NOW DL_LAZY 11868# else 11869# ifdef RTLD_NOW 11870# define LT_DLLAZY_OR_NOW RTLD_NOW 11871# else 11872# ifdef DL_NOW 11873# define LT_DLLAZY_OR_NOW DL_NOW 11874# else 11875# define LT_DLLAZY_OR_NOW 0 11876# endif 11877# endif 11878# endif 11879# endif 11880#endif 11881 11882/* When -fvisibility=hidden is used, assume the code has been annotated 11883 correspondingly for the symbols needed. */ 11884#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11885int fnord () __attribute__((visibility("default"))); 11886#endif 11887 11888int fnord () { return 42; } 11889int main () 11890{ 11891 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11892 int status = $lt_dlunknown; 11893 11894 if (self) 11895 { 11896 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11897 else 11898 { 11899 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11900 else puts (dlerror ()); 11901 } 11902 /* dlclose (self); */ 11903 } 11904 else 11905 puts (dlerror ()); 11906 11907 return status; 11908} 11909_LT_EOF 11910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11911 (eval $ac_link) 2>&5 11912 ac_status=$? 11913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11914 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11915 (./conftest; exit; ) >&5 2>/dev/null 11916 lt_status=$? 11917 case x$lt_status in 11918 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11919 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11920 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11921 esac 11922 else : 11923 # compilation failed 11924 lt_cv_dlopen_self_static=no 11925 fi 11926fi 11927rm -fr conftest* 11928 11929 11930fi 11931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11932$as_echo "$lt_cv_dlopen_self_static" >&6; } 11933 fi 11934 11935 CPPFLAGS=$save_CPPFLAGS 11936 LDFLAGS=$save_LDFLAGS 11937 LIBS=$save_LIBS 11938 ;; 11939 esac 11940 11941 case $lt_cv_dlopen_self in 11942 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11943 *) enable_dlopen_self=unknown ;; 11944 esac 11945 11946 case $lt_cv_dlopen_self_static in 11947 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11948 *) enable_dlopen_self_static=unknown ;; 11949 esac 11950fi 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968striplib= 11969old_striplib= 11970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11971$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11972if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11973 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11974 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11976$as_echo "yes" >&6; } 11977else 11978# FIXME - insert some real tests, host_os isn't really good enough 11979 case $host_os in 11980 darwin*) 11981 if test -n "$STRIP"; then 11982 striplib="$STRIP -x" 11983 old_striplib="$STRIP -S" 11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11985$as_echo "yes" >&6; } 11986 else 11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11988$as_echo "no" >&6; } 11989 fi 11990 ;; 11991 *) 11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11993$as_echo "no" >&6; } 11994 ;; 11995 esac 11996fi 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 # Report what library types will actually be built 12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12011$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12013$as_echo "$can_build_shared" >&6; } 12014 12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12016$as_echo_n "checking whether to build shared libraries... " >&6; } 12017 test no = "$can_build_shared" && enable_shared=no 12018 12019 # On AIX, shared libraries and static libraries use the same namespace, and 12020 # are all built from PIC. 12021 case $host_os in 12022 aix3*) 12023 test yes = "$enable_shared" && enable_static=no 12024 if test -n "$RANLIB"; then 12025 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12026 postinstall_cmds='$RANLIB $lib' 12027 fi 12028 ;; 12029 12030 aix[4-9]*) 12031 if test ia64 != "$host_cpu"; then 12032 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12033 yes,aix,yes) ;; # shared object as lib.so file only 12034 yes,svr4,*) ;; # shared object as lib.so archive member only 12035 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12036 esac 12037 fi 12038 ;; 12039 esac 12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12041$as_echo "$enable_shared" >&6; } 12042 12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12044$as_echo_n "checking whether to build static libraries... " >&6; } 12045 # Make sure either enable_shared or enable_static is yes. 12046 test yes = "$enable_shared" || enable_static=yes 12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12048$as_echo "$enable_static" >&6; } 12049 12050 12051 12052 12053fi 12054ac_ext=c 12055ac_cpp='$CPP $CPPFLAGS' 12056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12058ac_compiler_gnu=$ac_cv_c_compiler_gnu 12059 12060CC=$lt_save_CC 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 ac_config_commands="$ac_config_commands libtool" 12077 12078 12079 12080 12081# Only expand once: 12082 12083 12084 12085if test "$ac_cv_c_compiler_gnu" = "yes"; then 12086 CFLAGS="-Wall $CFLAGS" 12087fi 12088 12089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 12090$as_echo_n "checking for ANSI C header files... " >&6; } 12091if ${ac_cv_header_stdc+:} false; then : 12092 $as_echo_n "(cached) " >&6 12093else 12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12095/* end confdefs.h. */ 12096#include <stdlib.h> 12097#include <stdarg.h> 12098#include <string.h> 12099#include <float.h> 12100 12101int 12102main () 12103{ 12104 12105 ; 12106 return 0; 12107} 12108_ACEOF 12109if ac_fn_c_try_compile "$LINENO"; then : 12110 ac_cv_header_stdc=yes 12111else 12112 ac_cv_header_stdc=no 12113fi 12114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12115 12116if test $ac_cv_header_stdc = yes; then 12117 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12119/* end confdefs.h. */ 12120#include <string.h> 12121 12122_ACEOF 12123if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12124 $EGREP "memchr" >/dev/null 2>&1; then : 12125 12126else 12127 ac_cv_header_stdc=no 12128fi 12129rm -f conftest* 12130 12131fi 12132 12133if test $ac_cv_header_stdc = yes; then 12134 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12136/* end confdefs.h. */ 12137#include <stdlib.h> 12138 12139_ACEOF 12140if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12141 $EGREP "free" >/dev/null 2>&1; then : 12142 12143else 12144 ac_cv_header_stdc=no 12145fi 12146rm -f conftest* 12147 12148fi 12149 12150if test $ac_cv_header_stdc = yes; then 12151 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12152 if test "$cross_compiling" = yes; then : 12153 : 12154else 12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12156/* end confdefs.h. */ 12157#include <ctype.h> 12158#include <stdlib.h> 12159#if ((' ' & 0x0FF) == 0x020) 12160# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12161# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12162#else 12163# define ISLOWER(c) \ 12164 (('a' <= (c) && (c) <= 'i') \ 12165 || ('j' <= (c) && (c) <= 'r') \ 12166 || ('s' <= (c) && (c) <= 'z')) 12167# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12168#endif 12169 12170#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12171int 12172main () 12173{ 12174 int i; 12175 for (i = 0; i < 256; i++) 12176 if (XOR (islower (i), ISLOWER (i)) 12177 || toupper (i) != TOUPPER (i)) 12178 return 2; 12179 return 0; 12180} 12181_ACEOF 12182if ac_fn_c_try_run "$LINENO"; then : 12183 12184else 12185 ac_cv_header_stdc=no 12186fi 12187rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12188 conftest.$ac_objext conftest.beam conftest.$ac_ext 12189fi 12190 12191fi 12192fi 12193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 12194$as_echo "$ac_cv_header_stdc" >&6; } 12195if test $ac_cv_header_stdc = yes; then 12196 12197$as_echo "#define STDC_HEADERS 1" >>confdefs.h 12198 12199fi 12200 12201for ac_header in errno.h sys/ioctl.h sys/stat.h unistd.h fcntl.h limits.h 12202do : 12203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12204ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12205if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12206 cat >>confdefs.h <<_ACEOF 12207#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12208_ACEOF 12209 12210fi 12211 12212done 12213 12214 12215for ac_func in strcmpi stricmp strcasecmp 12216do : 12217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12218ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 12219if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 12220 cat >>confdefs.h <<_ACEOF 12221#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12222_ACEOF 12223 break 12224fi 12225done 12226 12227 12228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 12229$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12230if ${ac_cv_c_const+:} false; then : 12231 $as_echo_n "(cached) " >&6 12232else 12233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12234/* end confdefs.h. */ 12235 12236int 12237main () 12238{ 12239 12240#ifndef __cplusplus 12241 /* Ultrix mips cc rejects this sort of thing. */ 12242 typedef int charset[2]; 12243 const charset cs = { 0, 0 }; 12244 /* SunOS 4.1.1 cc rejects this. */ 12245 char const *const *pcpcc; 12246 char **ppc; 12247 /* NEC SVR4.0.2 mips cc rejects this. */ 12248 struct point {int x, y;}; 12249 static struct point const zero = {0,0}; 12250 /* AIX XL C 1.02.0.0 rejects this. 12251 It does not let you subtract one const X* pointer from another in 12252 an arm of an if-expression whose if-part is not a constant 12253 expression */ 12254 const char *g = "string"; 12255 pcpcc = &g + (g ? g-g : 0); 12256 /* HPUX 7.0 cc rejects these. */ 12257 ++pcpcc; 12258 ppc = (char**) pcpcc; 12259 pcpcc = (char const *const *) ppc; 12260 { /* SCO 3.2v4 cc rejects this sort of thing. */ 12261 char tx; 12262 char *t = &tx; 12263 char const *s = 0 ? (char *) 0 : (char const *) 0; 12264 12265 *t++ = 0; 12266 if (s) return 0; 12267 } 12268 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12269 int x[] = {25, 17}; 12270 const int *foo = &x[0]; 12271 ++foo; 12272 } 12273 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12274 typedef const int *iptr; 12275 iptr p = 0; 12276 ++p; 12277 } 12278 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 12279 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12280 struct s { int j; const int *ap[3]; } bx; 12281 struct s *b = &bx; b->j = 5; 12282 } 12283 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12284 const int foo = 10; 12285 if (!foo) return 0; 12286 } 12287 return !cs[0] && !zero.x; 12288#endif 12289 12290 ; 12291 return 0; 12292} 12293_ACEOF 12294if ac_fn_c_try_compile "$LINENO"; then : 12295 ac_cv_c_const=yes 12296else 12297 ac_cv_c_const=no 12298fi 12299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12300fi 12301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 12302$as_echo "$ac_cv_c_const" >&6; } 12303if test $ac_cv_c_const = no; then 12304 12305$as_echo "#define const /**/" >>confdefs.h 12306 12307fi 12308 12309ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 12310if test "x$ac_cv_type_size_t" = xyes; then : 12311 12312else 12313 12314cat >>confdefs.h <<_ACEOF 12315#define size_t unsigned int 12316_ACEOF 12317 12318fi 12319 12320 12321 12322 12323if test $ac_cv_c_compiler_gnu = yes; then 12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 12325$as_echo_n "checking whether $CC needs -traditional... " >&6; } 12326if ${ac_cv_prog_gcc_traditional+:} false; then : 12327 $as_echo_n "(cached) " >&6 12328else 12329 ac_pattern="Autoconf.*'x'" 12330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12331/* end confdefs.h. */ 12332#include <sgtty.h> 12333Autoconf TIOCGETP 12334_ACEOF 12335if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12336 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 12337 ac_cv_prog_gcc_traditional=yes 12338else 12339 ac_cv_prog_gcc_traditional=no 12340fi 12341rm -f conftest* 12342 12343 12344 if test $ac_cv_prog_gcc_traditional = no; then 12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12346/* end confdefs.h. */ 12347#include <termio.h> 12348Autoconf TCGETA 12349_ACEOF 12350if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12351 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 12352 ac_cv_prog_gcc_traditional=yes 12353fi 12354rm -f conftest* 12355 12356 fi 12357fi 12358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 12359$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 12360 if test $ac_cv_prog_gcc_traditional = yes; then 12361 CC="$CC -traditional" 12362 fi 12363fi 12364 12365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5 12366$as_echo_n "checking whether sys/types.h defines makedev... " >&6; } 12367if ${ac_cv_header_sys_types_h_makedev+:} false; then : 12368 $as_echo_n "(cached) " >&6 12369else 12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12371/* end confdefs.h. */ 12372#include <sys/types.h> 12373int 12374main () 12375{ 12376return makedev(0, 0); 12377 ; 12378 return 0; 12379} 12380_ACEOF 12381if ac_fn_c_try_link "$LINENO"; then : 12382 ac_cv_header_sys_types_h_makedev=yes 12383else 12384 ac_cv_header_sys_types_h_makedev=no 12385fi 12386rm -f core conftest.err conftest.$ac_objext \ 12387 conftest$ac_exeext conftest.$ac_ext 12388 12389fi 12390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5 12391$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; } 12392 12393if test $ac_cv_header_sys_types_h_makedev = no; then 12394ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" 12395if test "x$ac_cv_header_sys_mkdev_h" = xyes; then : 12396 12397$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h 12398 12399fi 12400 12401 12402 12403 if test $ac_cv_header_sys_mkdev_h = no; then 12404 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" 12405if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then : 12406 12407$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h 12408 12409fi 12410 12411 12412 fi 12413fi 12414 12415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5 12416$as_echo_n "checking for working memcmp... " >&6; } 12417if ${ac_cv_func_memcmp_working+:} false; then : 12418 $as_echo_n "(cached) " >&6 12419else 12420 if test "$cross_compiling" = yes; then : 12421 ac_cv_func_memcmp_working=no 12422else 12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12424/* end confdefs.h. */ 12425$ac_includes_default 12426int 12427main () 12428{ 12429 12430 /* Some versions of memcmp are not 8-bit clean. */ 12431 char c0 = '\100', c1 = '\200', c2 = '\201'; 12432 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 12433 return 1; 12434 12435 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes 12436 or more and with at least one buffer not starting on a 4-byte boundary. 12437 William Lewis provided this test program. */ 12438 { 12439 char foo[21]; 12440 char bar[21]; 12441 int i; 12442 for (i = 0; i < 4; i++) 12443 { 12444 char *a = foo + i; 12445 char *b = bar + i; 12446 strcpy (a, "--------01111111"); 12447 strcpy (b, "--------10000000"); 12448 if (memcmp (a, b, 16) >= 0) 12449 return 1; 12450 } 12451 return 0; 12452 } 12453 12454 ; 12455 return 0; 12456} 12457_ACEOF 12458if ac_fn_c_try_run "$LINENO"; then : 12459 ac_cv_func_memcmp_working=yes 12460else 12461 ac_cv_func_memcmp_working=no 12462fi 12463rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12464 conftest.$ac_objext conftest.beam conftest.$ac_ext 12465fi 12466 12467fi 12468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5 12469$as_echo "$ac_cv_func_memcmp_working" >&6; } 12470test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in 12471 *" memcmp.$ac_objext "* ) ;; 12472 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" 12473 ;; 12474esac 12475 12476 12477for ac_func in strerror 12478do : 12479 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 12480if test "x$ac_cv_func_strerror" = xyes; then : 12481 cat >>confdefs.h <<_ACEOF 12482#define HAVE_STRERROR 1 12483_ACEOF 12484 12485fi 12486done 12487 12488 12489ac_config_files="$ac_config_files Makefile include/Makefile lib/Makefile winfonts/Makefile tools/Makefile man/Makefile doc/Makefile Fonts/Makefile" 12490 12491cat >confcache <<\_ACEOF 12492# This file is a shell script that caches the results of configure 12493# tests run on this system so they can be shared between configure 12494# scripts and configure runs, see configure's option --config-cache. 12495# It is not useful on other systems. If it contains results you don't 12496# want to keep, you may remove or edit it. 12497# 12498# config.status only pays attention to the cache file if you give it 12499# the --recheck option to rerun configure. 12500# 12501# `ac_cv_env_foo' variables (set or unset) will be overridden when 12502# loading this file, other *unset* `ac_cv_foo' will be assigned the 12503# following values. 12504 12505_ACEOF 12506 12507# The following way of writing the cache mishandles newlines in values, 12508# but we know of no workaround that is simple, portable, and efficient. 12509# So, we kill variables containing newlines. 12510# Ultrix sh set writes to stderr and can't be redirected directly, 12511# and sets the high bit in the cache file unless we assign to the vars. 12512( 12513 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12514 eval ac_val=\$$ac_var 12515 case $ac_val in #( 12516 *${as_nl}*) 12517 case $ac_var in #( 12518 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12519$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12520 esac 12521 case $ac_var in #( 12522 _ | IFS | as_nl) ;; #( 12523 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12524 *) { eval $ac_var=; unset $ac_var;} ;; 12525 esac ;; 12526 esac 12527 done 12528 12529 (set) 2>&1 | 12530 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12531 *${as_nl}ac_space=\ *) 12532 # `set' does not quote correctly, so add quotes: double-quote 12533 # substitution turns \\\\ into \\, and sed turns \\ into \. 12534 sed -n \ 12535 "s/'/'\\\\''/g; 12536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12537 ;; #( 12538 *) 12539 # `set' quotes correctly as required by POSIX, so do not add quotes. 12540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12541 ;; 12542 esac | 12543 sort 12544) | 12545 sed ' 12546 /^ac_cv_env_/b end 12547 t clear 12548 :clear 12549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12550 t end 12551 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12552 :end' >>confcache 12553if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12554 if test -w "$cache_file"; then 12555 if test "x$cache_file" != "x/dev/null"; then 12556 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12557$as_echo "$as_me: updating cache $cache_file" >&6;} 12558 if test ! -f "$cache_file" || test -h "$cache_file"; then 12559 cat confcache >"$cache_file" 12560 else 12561 case $cache_file in #( 12562 */* | ?:*) 12563 mv -f confcache "$cache_file"$$ && 12564 mv -f "$cache_file"$$ "$cache_file" ;; #( 12565 *) 12566 mv -f confcache "$cache_file" ;; 12567 esac 12568 fi 12569 fi 12570 else 12571 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12572$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12573 fi 12574fi 12575rm -f confcache 12576 12577test "x$prefix" = xNONE && prefix=$ac_default_prefix 12578# Let make expand exec_prefix. 12579test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12580 12581DEFS=-DHAVE_CONFIG_H 12582 12583ac_libobjs= 12584ac_ltlibobjs= 12585for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12586 # 1. Remove the extension, and $U if already installed. 12587 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12588 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12589 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12590 # will be set to the directory where LIBOBJS objects are built. 12591 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12592 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12593done 12594LIBOBJS=$ac_libobjs 12595 12596LTLIBOBJS=$ac_ltlibobjs 12597 12598 12599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 12600$as_echo_n "checking that generated files are newer than configure... " >&6; } 12601 if test -n "$am_sleep_pid"; then 12602 # Hide warnings about reused PIDs. 12603 wait $am_sleep_pid 2>/dev/null 12604 fi 12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12606$as_echo "done" >&6; } 12607 if test -n "$EXEEXT"; then 12608 am__EXEEXT_TRUE= 12609 am__EXEEXT_FALSE='#' 12610else 12611 am__EXEEXT_TRUE='#' 12612 am__EXEEXT_FALSE= 12613fi 12614 12615if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12616 as_fn_error $? "conditional \"AMDEP\" was never defined. 12617Usually this means the macro was only invoked conditionally." "$LINENO" 5 12618fi 12619if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12620 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12621Usually this means the macro was only invoked conditionally." "$LINENO" 5 12622fi 12623 12624: "${CONFIG_STATUS=./config.status}" 12625ac_write_fail=0 12626ac_clean_files_save=$ac_clean_files 12627ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12628{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12629$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12630as_write_fail=0 12631cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12632#! $SHELL 12633# Generated by $as_me. 12634# Run this file to recreate the current configuration. 12635# Compiler output produced by configure, useful for debugging 12636# configure, is in config.log if it exists. 12637 12638debug=false 12639ac_cs_recheck=false 12640ac_cs_silent=false 12641 12642SHELL=\${CONFIG_SHELL-$SHELL} 12643export SHELL 12644_ASEOF 12645cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12646## -------------------- ## 12647## M4sh Initialization. ## 12648## -------------------- ## 12649 12650# Be more Bourne compatible 12651DUALCASE=1; export DUALCASE # for MKS sh 12652if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12653 emulate sh 12654 NULLCMD=: 12655 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12656 # is contrary to our usage. Disable this feature. 12657 alias -g '${1+"$@"}'='"$@"' 12658 setopt NO_GLOB_SUBST 12659else 12660 case `(set -o) 2>/dev/null` in #( 12661 *posix*) : 12662 set -o posix ;; #( 12663 *) : 12664 ;; 12665esac 12666fi 12667 12668 12669as_nl=' 12670' 12671export as_nl 12672# Printing a long string crashes Solaris 7 /usr/bin/printf. 12673as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12674as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12675as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12676# Prefer a ksh shell builtin over an external printf program on Solaris, 12677# but without wasting forks for bash or zsh. 12678if test -z "$BASH_VERSION$ZSH_VERSION" \ 12679 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12680 as_echo='print -r --' 12681 as_echo_n='print -rn --' 12682elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12683 as_echo='printf %s\n' 12684 as_echo_n='printf %s' 12685else 12686 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12687 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12688 as_echo_n='/usr/ucb/echo -n' 12689 else 12690 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12691 as_echo_n_body='eval 12692 arg=$1; 12693 case $arg in #( 12694 *"$as_nl"*) 12695 expr "X$arg" : "X\\(.*\\)$as_nl"; 12696 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12697 esac; 12698 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12699 ' 12700 export as_echo_n_body 12701 as_echo_n='sh -c $as_echo_n_body as_echo' 12702 fi 12703 export as_echo_body 12704 as_echo='sh -c $as_echo_body as_echo' 12705fi 12706 12707# The user is always right. 12708if test "${PATH_SEPARATOR+set}" != set; then 12709 PATH_SEPARATOR=: 12710 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12711 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12712 PATH_SEPARATOR=';' 12713 } 12714fi 12715 12716 12717# IFS 12718# We need space, tab and new line, in precisely that order. Quoting is 12719# there to prevent editors from complaining about space-tab. 12720# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12721# splitting by setting IFS to empty value.) 12722IFS=" "" $as_nl" 12723 12724# Find who we are. Look in the path if we contain no directory separator. 12725as_myself= 12726case $0 in #(( 12727 *[\\/]* ) as_myself=$0 ;; 12728 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12729for as_dir in $PATH 12730do 12731 IFS=$as_save_IFS 12732 test -z "$as_dir" && as_dir=. 12733 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12734 done 12735IFS=$as_save_IFS 12736 12737 ;; 12738esac 12739# We did not find ourselves, most probably we were run as `sh COMMAND' 12740# in which case we are not to be found in the path. 12741if test "x$as_myself" = x; then 12742 as_myself=$0 12743fi 12744if test ! -f "$as_myself"; then 12745 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12746 exit 1 12747fi 12748 12749# Unset variables that we do not need and which cause bugs (e.g. in 12750# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12751# suppresses any "Segmentation fault" message there. '((' could 12752# trigger a bug in pdksh 5.2.14. 12753for as_var in BASH_ENV ENV MAIL MAILPATH 12754do eval test x\${$as_var+set} = xset \ 12755 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12756done 12757PS1='$ ' 12758PS2='> ' 12759PS4='+ ' 12760 12761# NLS nuisances. 12762LC_ALL=C 12763export LC_ALL 12764LANGUAGE=C 12765export LANGUAGE 12766 12767# CDPATH. 12768(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12769 12770 12771# as_fn_error STATUS ERROR [LINENO LOG_FD] 12772# ---------------------------------------- 12773# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12774# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12775# script with STATUS, using 1 if that was 0. 12776as_fn_error () 12777{ 12778 as_status=$1; test $as_status -eq 0 && as_status=1 12779 if test "$4"; then 12780 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12781 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12782 fi 12783 $as_echo "$as_me: error: $2" >&2 12784 as_fn_exit $as_status 12785} # as_fn_error 12786 12787 12788# as_fn_set_status STATUS 12789# ----------------------- 12790# Set $? to STATUS, without forking. 12791as_fn_set_status () 12792{ 12793 return $1 12794} # as_fn_set_status 12795 12796# as_fn_exit STATUS 12797# ----------------- 12798# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12799as_fn_exit () 12800{ 12801 set +e 12802 as_fn_set_status $1 12803 exit $1 12804} # as_fn_exit 12805 12806# as_fn_unset VAR 12807# --------------- 12808# Portably unset VAR. 12809as_fn_unset () 12810{ 12811 { eval $1=; unset $1;} 12812} 12813as_unset=as_fn_unset 12814# as_fn_append VAR VALUE 12815# ---------------------- 12816# Append the text in VALUE to the end of the definition contained in VAR. Take 12817# advantage of any shell optimizations that allow amortized linear growth over 12818# repeated appends, instead of the typical quadratic growth present in naive 12819# implementations. 12820if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12821 eval 'as_fn_append () 12822 { 12823 eval $1+=\$2 12824 }' 12825else 12826 as_fn_append () 12827 { 12828 eval $1=\$$1\$2 12829 } 12830fi # as_fn_append 12831 12832# as_fn_arith ARG... 12833# ------------------ 12834# Perform arithmetic evaluation on the ARGs, and store the result in the 12835# global $as_val. Take advantage of shells that can avoid forks. The arguments 12836# must be portable across $(()) and expr. 12837if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12838 eval 'as_fn_arith () 12839 { 12840 as_val=$(( $* )) 12841 }' 12842else 12843 as_fn_arith () 12844 { 12845 as_val=`expr "$@" || test $? -eq 1` 12846 } 12847fi # as_fn_arith 12848 12849 12850if expr a : '\(a\)' >/dev/null 2>&1 && 12851 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12852 as_expr=expr 12853else 12854 as_expr=false 12855fi 12856 12857if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12858 as_basename=basename 12859else 12860 as_basename=false 12861fi 12862 12863if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12864 as_dirname=dirname 12865else 12866 as_dirname=false 12867fi 12868 12869as_me=`$as_basename -- "$0" || 12870$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12871 X"$0" : 'X\(//\)$' \| \ 12872 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12873$as_echo X/"$0" | 12874 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12875 s//\1/ 12876 q 12877 } 12878 /^X\/\(\/\/\)$/{ 12879 s//\1/ 12880 q 12881 } 12882 /^X\/\(\/\).*/{ 12883 s//\1/ 12884 q 12885 } 12886 s/.*/./; q'` 12887 12888# Avoid depending upon Character Ranges. 12889as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12890as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12891as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12892as_cr_digits='0123456789' 12893as_cr_alnum=$as_cr_Letters$as_cr_digits 12894 12895ECHO_C= ECHO_N= ECHO_T= 12896case `echo -n x` in #((((( 12897-n*) 12898 case `echo 'xy\c'` in 12899 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12900 xy) ECHO_C='\c';; 12901 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12902 ECHO_T=' ';; 12903 esac;; 12904*) 12905 ECHO_N='-n';; 12906esac 12907 12908rm -f conf$$ conf$$.exe conf$$.file 12909if test -d conf$$.dir; then 12910 rm -f conf$$.dir/conf$$.file 12911else 12912 rm -f conf$$.dir 12913 mkdir conf$$.dir 2>/dev/null 12914fi 12915if (echo >conf$$.file) 2>/dev/null; then 12916 if ln -s conf$$.file conf$$ 2>/dev/null; then 12917 as_ln_s='ln -s' 12918 # ... but there are two gotchas: 12919 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12920 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12921 # In both cases, we have to default to `cp -pR'. 12922 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12923 as_ln_s='cp -pR' 12924 elif ln conf$$.file conf$$ 2>/dev/null; then 12925 as_ln_s=ln 12926 else 12927 as_ln_s='cp -pR' 12928 fi 12929else 12930 as_ln_s='cp -pR' 12931fi 12932rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12933rmdir conf$$.dir 2>/dev/null 12934 12935 12936# as_fn_mkdir_p 12937# ------------- 12938# Create "$as_dir" as a directory, including parents if necessary. 12939as_fn_mkdir_p () 12940{ 12941 12942 case $as_dir in #( 12943 -*) as_dir=./$as_dir;; 12944 esac 12945 test -d "$as_dir" || eval $as_mkdir_p || { 12946 as_dirs= 12947 while :; do 12948 case $as_dir in #( 12949 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12950 *) as_qdir=$as_dir;; 12951 esac 12952 as_dirs="'$as_qdir' $as_dirs" 12953 as_dir=`$as_dirname -- "$as_dir" || 12954$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12955 X"$as_dir" : 'X\(//\)[^/]' \| \ 12956 X"$as_dir" : 'X\(//\)$' \| \ 12957 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12958$as_echo X"$as_dir" | 12959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12960 s//\1/ 12961 q 12962 } 12963 /^X\(\/\/\)[^/].*/{ 12964 s//\1/ 12965 q 12966 } 12967 /^X\(\/\/\)$/{ 12968 s//\1/ 12969 q 12970 } 12971 /^X\(\/\).*/{ 12972 s//\1/ 12973 q 12974 } 12975 s/.*/./; q'` 12976 test -d "$as_dir" && break 12977 done 12978 test -z "$as_dirs" || eval "mkdir $as_dirs" 12979 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12980 12981 12982} # as_fn_mkdir_p 12983if mkdir -p . 2>/dev/null; then 12984 as_mkdir_p='mkdir -p "$as_dir"' 12985else 12986 test -d ./-p && rmdir ./-p 12987 as_mkdir_p=false 12988fi 12989 12990 12991# as_fn_executable_p FILE 12992# ----------------------- 12993# Test if FILE is an executable regular file. 12994as_fn_executable_p () 12995{ 12996 test -f "$1" && test -x "$1" 12997} # as_fn_executable_p 12998as_test_x='test -x' 12999as_executable_p=as_fn_executable_p 13000 13001# Sed expression to map a string onto a valid CPP name. 13002as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13003 13004# Sed expression to map a string onto a valid variable name. 13005as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13006 13007 13008exec 6>&1 13009## ----------------------------------- ## 13010## Main body of $CONFIG_STATUS script. ## 13011## ----------------------------------- ## 13012_ASEOF 13013test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13014 13015cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13016# Save the log message, to keep $0 and so on meaningful, and to 13017# report actual input values of CONFIG_FILES etc. instead of their 13018# values after options handling. 13019ac_log=" 13020This file was extended by psftools $as_me 1.0.13, which was 13021generated by GNU Autoconf 2.69. Invocation command line was 13022 13023 CONFIG_FILES = $CONFIG_FILES 13024 CONFIG_HEADERS = $CONFIG_HEADERS 13025 CONFIG_LINKS = $CONFIG_LINKS 13026 CONFIG_COMMANDS = $CONFIG_COMMANDS 13027 $ $0 $@ 13028 13029on `(hostname || uname -n) 2>/dev/null | sed 1q` 13030" 13031 13032_ACEOF 13033 13034case $ac_config_files in *" 13035"*) set x $ac_config_files; shift; ac_config_files=$*;; 13036esac 13037 13038case $ac_config_headers in *" 13039"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13040esac 13041 13042 13043cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13044# Files that config.status was made for. 13045config_files="$ac_config_files" 13046config_headers="$ac_config_headers" 13047config_commands="$ac_config_commands" 13048 13049_ACEOF 13050 13051cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13052ac_cs_usage="\ 13053\`$as_me' instantiates files and other configuration actions 13054from templates according to the current configuration. Unless the files 13055and actions are specified as TAGs, all are instantiated by default. 13056 13057Usage: $0 [OPTION]... [TAG]... 13058 13059 -h, --help print this help, then exit 13060 -V, --version print version number and configuration settings, then exit 13061 --config print configuration, then exit 13062 -q, --quiet, --silent 13063 do not print progress messages 13064 -d, --debug don't remove temporary files 13065 --recheck update $as_me by reconfiguring in the same conditions 13066 --file=FILE[:TEMPLATE] 13067 instantiate the configuration file FILE 13068 --header=FILE[:TEMPLATE] 13069 instantiate the configuration header FILE 13070 13071Configuration files: 13072$config_files 13073 13074Configuration headers: 13075$config_headers 13076 13077Configuration commands: 13078$config_commands 13079 13080Report bugs to the package provider." 13081 13082_ACEOF 13083cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13084ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13085ac_cs_version="\\ 13086psftools config.status 1.0.13 13087configured by $0, generated by GNU Autoconf 2.69, 13088 with options \\"\$ac_cs_config\\" 13089 13090Copyright (C) 2012 Free Software Foundation, Inc. 13091This config.status script is free software; the Free Software Foundation 13092gives unlimited permission to copy, distribute and modify it." 13093 13094ac_pwd='$ac_pwd' 13095srcdir='$srcdir' 13096INSTALL='$INSTALL' 13097MKDIR_P='$MKDIR_P' 13098AWK='$AWK' 13099test -n "\$AWK" || AWK=awk 13100_ACEOF 13101 13102cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13103# The default lists apply if the user does not specify any file. 13104ac_need_defaults=: 13105while test $# != 0 13106do 13107 case $1 in 13108 --*=?*) 13109 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13110 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13111 ac_shift=: 13112 ;; 13113 --*=) 13114 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13115 ac_optarg= 13116 ac_shift=: 13117 ;; 13118 *) 13119 ac_option=$1 13120 ac_optarg=$2 13121 ac_shift=shift 13122 ;; 13123 esac 13124 13125 case $ac_option in 13126 # Handling of the options. 13127 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13128 ac_cs_recheck=: ;; 13129 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13130 $as_echo "$ac_cs_version"; exit ;; 13131 --config | --confi | --conf | --con | --co | --c ) 13132 $as_echo "$ac_cs_config"; exit ;; 13133 --debug | --debu | --deb | --de | --d | -d ) 13134 debug=: ;; 13135 --file | --fil | --fi | --f ) 13136 $ac_shift 13137 case $ac_optarg in 13138 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13139 '') as_fn_error $? "missing file argument" ;; 13140 esac 13141 as_fn_append CONFIG_FILES " '$ac_optarg'" 13142 ac_need_defaults=false;; 13143 --header | --heade | --head | --hea ) 13144 $ac_shift 13145 case $ac_optarg in 13146 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13147 esac 13148 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13149 ac_need_defaults=false;; 13150 --he | --h) 13151 # Conflict between --help and --header 13152 as_fn_error $? "ambiguous option: \`$1' 13153Try \`$0 --help' for more information.";; 13154 --help | --hel | -h ) 13155 $as_echo "$ac_cs_usage"; exit ;; 13156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13157 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13158 ac_cs_silent=: ;; 13159 13160 # This is an error. 13161 -*) as_fn_error $? "unrecognized option: \`$1' 13162Try \`$0 --help' for more information." ;; 13163 13164 *) as_fn_append ac_config_targets " $1" 13165 ac_need_defaults=false ;; 13166 13167 esac 13168 shift 13169done 13170 13171ac_configure_extra_args= 13172 13173if $ac_cs_silent; then 13174 exec 6>/dev/null 13175 ac_configure_extra_args="$ac_configure_extra_args --silent" 13176fi 13177 13178_ACEOF 13179cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13180if \$ac_cs_recheck; then 13181 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13182 shift 13183 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13184 CONFIG_SHELL='$SHELL' 13185 export CONFIG_SHELL 13186 exec "\$@" 13187fi 13188 13189_ACEOF 13190cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13191exec 5>>config.log 13192{ 13193 echo 13194 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13195## Running $as_me. ## 13196_ASBOX 13197 $as_echo "$ac_log" 13198} >&5 13199 13200_ACEOF 13201cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13202# 13203# INIT-COMMANDS 13204# 13205AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13206 13207 13208# The HP-UX ksh and POSIX shell print the target directory to stdout 13209# if CDPATH is set. 13210(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13211 13212sed_quote_subst='$sed_quote_subst' 13213double_quote_subst='$double_quote_subst' 13214delay_variable_subst='$delay_variable_subst' 13215macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13216macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13217enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13218enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13219pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13220enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13221shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 13222SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13223ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13224PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13225host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13226host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13227host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13228build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13229build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13230build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13231SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13232Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13233GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13234EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13235FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13236LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13237NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13238LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13239max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13240ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13241exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13242lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13243lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13244lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13245lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13246lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13247reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13248reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13249OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13250deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13251file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13252file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13253want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13254DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13255sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13256AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13257AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13258archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13259STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13260RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13261old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13262old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13263old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13264lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13265CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13266CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13267compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13268GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13269lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13270lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13271lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13272lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13273lt_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"`' 13274lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13275nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13276lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13277lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 13278objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13279MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13280lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13281lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13282lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13283lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13284lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13285need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13286MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13287DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13288NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13289LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13290OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13291OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13292libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13293shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13294extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13295archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13296enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13297export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13298whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13299compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13300old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13301old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13302archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13303archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13304module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13305module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13306with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13307allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13308no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13309hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13310hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13311hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13312hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13313hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13314hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13315hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13316inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13317link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13318always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13319export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13320exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13321include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13322prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13323postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13324file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13325variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13326need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13327need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13328version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13329runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13330shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13331shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13332libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13333library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13334soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13335install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13336postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13337postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13338finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13339finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13340hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13341sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13342configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 13343configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 13344hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13345enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13346enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13347enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13348old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13349striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13350 13351LTCC='$LTCC' 13352LTCFLAGS='$LTCFLAGS' 13353compiler='$compiler_DEFAULT' 13354 13355# A function that is used when there is no print builtin or printf. 13356func_fallback_echo () 13357{ 13358 eval 'cat <<_LTECHO_EOF 13359\$1 13360_LTECHO_EOF' 13361} 13362 13363# Quote evaled strings. 13364for var in SHELL \ 13365ECHO \ 13366PATH_SEPARATOR \ 13367SED \ 13368GREP \ 13369EGREP \ 13370FGREP \ 13371LD \ 13372NM \ 13373LN_S \ 13374lt_SP2NL \ 13375lt_NL2SP \ 13376reload_flag \ 13377OBJDUMP \ 13378deplibs_check_method \ 13379file_magic_cmd \ 13380file_magic_glob \ 13381want_nocaseglob \ 13382DLLTOOL \ 13383sharedlib_from_linklib_cmd \ 13384AR \ 13385AR_FLAGS \ 13386archiver_list_spec \ 13387STRIP \ 13388RANLIB \ 13389CC \ 13390CFLAGS \ 13391compiler \ 13392lt_cv_sys_global_symbol_pipe \ 13393lt_cv_sys_global_symbol_to_cdecl \ 13394lt_cv_sys_global_symbol_to_import \ 13395lt_cv_sys_global_symbol_to_c_name_address \ 13396lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13397lt_cv_nm_interface \ 13398nm_file_list_spec \ 13399lt_cv_truncate_bin \ 13400lt_prog_compiler_no_builtin_flag \ 13401lt_prog_compiler_pic \ 13402lt_prog_compiler_wl \ 13403lt_prog_compiler_static \ 13404lt_cv_prog_compiler_c_o \ 13405need_locks \ 13406MANIFEST_TOOL \ 13407DSYMUTIL \ 13408NMEDIT \ 13409LIPO \ 13410OTOOL \ 13411OTOOL64 \ 13412shrext_cmds \ 13413export_dynamic_flag_spec \ 13414whole_archive_flag_spec \ 13415compiler_needs_object \ 13416with_gnu_ld \ 13417allow_undefined_flag \ 13418no_undefined_flag \ 13419hardcode_libdir_flag_spec \ 13420hardcode_libdir_separator \ 13421exclude_expsyms \ 13422include_expsyms \ 13423file_list_spec \ 13424variables_saved_for_relink \ 13425libname_spec \ 13426library_names_spec \ 13427soname_spec \ 13428install_override_mode \ 13429finish_eval \ 13430old_striplib \ 13431striplib; do 13432 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13433 *[\\\\\\\`\\"\\\$]*) 13434 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13435 ;; 13436 *) 13437 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13438 ;; 13439 esac 13440done 13441 13442# Double-quote double-evaled strings. 13443for var in reload_cmds \ 13444old_postinstall_cmds \ 13445old_postuninstall_cmds \ 13446old_archive_cmds \ 13447extract_expsyms_cmds \ 13448old_archive_from_new_cmds \ 13449old_archive_from_expsyms_cmds \ 13450archive_cmds \ 13451archive_expsym_cmds \ 13452module_cmds \ 13453module_expsym_cmds \ 13454export_symbols_cmds \ 13455prelink_cmds \ 13456postlink_cmds \ 13457postinstall_cmds \ 13458postuninstall_cmds \ 13459finish_cmds \ 13460sys_lib_search_path_spec \ 13461configure_time_dlsearch_path \ 13462configure_time_lt_sys_library_path; do 13463 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13464 *[\\\\\\\`\\"\\\$]*) 13465 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13466 ;; 13467 *) 13468 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13469 ;; 13470 esac 13471done 13472 13473ac_aux_dir='$ac_aux_dir' 13474 13475# See if we are running on zsh, and set the options that allow our 13476# commands through without removal of \ escapes INIT. 13477if test -n "\${ZSH_VERSION+set}"; then 13478 setopt NO_GLOB_SUBST 13479fi 13480 13481 13482 PACKAGE='$PACKAGE' 13483 VERSION='$VERSION' 13484 RM='$RM' 13485 ofile='$ofile' 13486 13487 13488 13489 13490_ACEOF 13491 13492cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13493 13494# Handling of arguments. 13495for ac_config_target in $ac_config_targets 13496do 13497 case $ac_config_target in 13498 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13499 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13500 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13501 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13502 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 13503 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 13504 "winfonts/Makefile") CONFIG_FILES="$CONFIG_FILES winfonts/Makefile" ;; 13505 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; 13506 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 13507 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13508 "Fonts/Makefile") CONFIG_FILES="$CONFIG_FILES Fonts/Makefile" ;; 13509 13510 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13511 esac 13512done 13513 13514 13515# If the user did not use the arguments to specify the items to instantiate, 13516# then the envvar interface is used. Set only those that are not. 13517# We use the long form for the default assignment because of an extremely 13518# bizarre bug on SunOS 4.1.3. 13519if $ac_need_defaults; then 13520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13521 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13523fi 13524 13525# Have a temporary directory for convenience. Make it in the build tree 13526# simply because there is no reason against having it here, and in addition, 13527# creating and moving files from /tmp can sometimes cause problems. 13528# Hook for its removal unless debugging. 13529# Note that there is a small window in which the directory will not be cleaned: 13530# after its creation but before its name has been assigned to `$tmp'. 13531$debug || 13532{ 13533 tmp= ac_tmp= 13534 trap 'exit_status=$? 13535 : "${ac_tmp:=$tmp}" 13536 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13537' 0 13538 trap 'as_fn_exit 1' 1 2 13 15 13539} 13540# Create a (secure) tmp directory for tmp files. 13541 13542{ 13543 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13544 test -d "$tmp" 13545} || 13546{ 13547 tmp=./conf$$-$RANDOM 13548 (umask 077 && mkdir "$tmp") 13549} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13550ac_tmp=$tmp 13551 13552# Set up the scripts for CONFIG_FILES section. 13553# No need to generate them if there are no CONFIG_FILES. 13554# This happens for instance with `./config.status config.h'. 13555if test -n "$CONFIG_FILES"; then 13556 13557 13558ac_cr=`echo X | tr X '\015'` 13559# On cygwin, bash can eat \r inside `` if the user requested igncr. 13560# But we know of no other shell where ac_cr would be empty at this 13561# point, so we can use a bashism as a fallback. 13562if test "x$ac_cr" = x; then 13563 eval ac_cr=\$\'\\r\' 13564fi 13565ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13566if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13567 ac_cs_awk_cr='\\r' 13568else 13569 ac_cs_awk_cr=$ac_cr 13570fi 13571 13572echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13573_ACEOF 13574 13575 13576{ 13577 echo "cat >conf$$subs.awk <<_ACEOF" && 13578 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13579 echo "_ACEOF" 13580} >conf$$subs.sh || 13581 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13582ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13583ac_delim='%!_!# ' 13584for ac_last_try in false false false false false :; do 13585 . ./conf$$subs.sh || 13586 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13587 13588 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13589 if test $ac_delim_n = $ac_delim_num; then 13590 break 13591 elif $ac_last_try; then 13592 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13593 else 13594 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13595 fi 13596done 13597rm -f conf$$subs.sh 13598 13599cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13600cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13601_ACEOF 13602sed -n ' 13603h 13604s/^/S["/; s/!.*/"]=/ 13605p 13606g 13607s/^[^!]*!// 13608:repl 13609t repl 13610s/'"$ac_delim"'$// 13611t delim 13612:nl 13613h 13614s/\(.\{148\}\)..*/\1/ 13615t more1 13616s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13617p 13618n 13619b repl 13620:more1 13621s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13622p 13623g 13624s/.\{148\}// 13625t nl 13626:delim 13627h 13628s/\(.\{148\}\)..*/\1/ 13629t more2 13630s/["\\]/\\&/g; s/^/"/; s/$/"/ 13631p 13632b 13633:more2 13634s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13635p 13636g 13637s/.\{148\}// 13638t delim 13639' <conf$$subs.awk | sed ' 13640/^[^""]/{ 13641 N 13642 s/\n// 13643} 13644' >>$CONFIG_STATUS || ac_write_fail=1 13645rm -f conf$$subs.awk 13646cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13647_ACAWK 13648cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13649 for (key in S) S_is_set[key] = 1 13650 FS = "" 13651 13652} 13653{ 13654 line = $ 0 13655 nfields = split(line, field, "@") 13656 substed = 0 13657 len = length(field[1]) 13658 for (i = 2; i < nfields; i++) { 13659 key = field[i] 13660 keylen = length(key) 13661 if (S_is_set[key]) { 13662 value = S[key] 13663 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13664 len += length(value) + length(field[++i]) 13665 substed = 1 13666 } else 13667 len += 1 + keylen 13668 } 13669 13670 print line 13671} 13672 13673_ACAWK 13674_ACEOF 13675cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13676if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13677 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13678else 13679 cat 13680fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13681 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13682_ACEOF 13683 13684# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13685# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13686# trailing colons and then remove the whole line if VPATH becomes empty 13687# (actually we leave an empty line to preserve line numbers). 13688if test "x$srcdir" = x.; then 13689 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13690h 13691s/// 13692s/^/:/ 13693s/[ ]*$/:/ 13694s/:\$(srcdir):/:/g 13695s/:\${srcdir}:/:/g 13696s/:@srcdir@:/:/g 13697s/^:*// 13698s/:*$// 13699x 13700s/\(=[ ]*\).*/\1/ 13701G 13702s/\n// 13703s/^[^=]*=[ ]*$// 13704}' 13705fi 13706 13707cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13708fi # test -n "$CONFIG_FILES" 13709 13710# Set up the scripts for CONFIG_HEADERS section. 13711# No need to generate them if there are no CONFIG_HEADERS. 13712# This happens for instance with `./config.status Makefile'. 13713if test -n "$CONFIG_HEADERS"; then 13714cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13715BEGIN { 13716_ACEOF 13717 13718# Transform confdefs.h into an awk script `defines.awk', embedded as 13719# here-document in config.status, that substitutes the proper values into 13720# config.h.in to produce config.h. 13721 13722# Create a delimiter string that does not exist in confdefs.h, to ease 13723# handling of long lines. 13724ac_delim='%!_!# ' 13725for ac_last_try in false false :; do 13726 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13727 if test -z "$ac_tt"; then 13728 break 13729 elif $ac_last_try; then 13730 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13731 else 13732 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13733 fi 13734done 13735 13736# For the awk script, D is an array of macro values keyed by name, 13737# likewise P contains macro parameters if any. Preserve backslash 13738# newline sequences. 13739 13740ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13741sed -n ' 13742s/.\{148\}/&'"$ac_delim"'/g 13743t rset 13744:rset 13745s/^[ ]*#[ ]*define[ ][ ]*/ / 13746t def 13747d 13748:def 13749s/\\$// 13750t bsnl 13751s/["\\]/\\&/g 13752s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13753D["\1"]=" \3"/p 13754s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13755d 13756:bsnl 13757s/["\\]/\\&/g 13758s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13759D["\1"]=" \3\\\\\\n"\\/p 13760t cont 13761s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13762t cont 13763d 13764:cont 13765n 13766s/.\{148\}/&'"$ac_delim"'/g 13767t clear 13768:clear 13769s/\\$// 13770t bsnlc 13771s/["\\]/\\&/g; s/^/"/; s/$/"/p 13772d 13773:bsnlc 13774s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13775b cont 13776' <confdefs.h | sed ' 13777s/'"$ac_delim"'/"\\\ 13778"/g' >>$CONFIG_STATUS || ac_write_fail=1 13779 13780cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13781 for (key in D) D_is_set[key] = 1 13782 FS = "" 13783} 13784/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13785 line = \$ 0 13786 split(line, arg, " ") 13787 if (arg[1] == "#") { 13788 defundef = arg[2] 13789 mac1 = arg[3] 13790 } else { 13791 defundef = substr(arg[1], 2) 13792 mac1 = arg[2] 13793 } 13794 split(mac1, mac2, "(") #) 13795 macro = mac2[1] 13796 prefix = substr(line, 1, index(line, defundef) - 1) 13797 if (D_is_set[macro]) { 13798 # Preserve the white space surrounding the "#". 13799 print prefix "define", macro P[macro] D[macro] 13800 next 13801 } else { 13802 # Replace #undef with comments. This is necessary, for example, 13803 # in the case of _POSIX_SOURCE, which is predefined and required 13804 # on some systems where configure will not decide to define it. 13805 if (defundef == "undef") { 13806 print "/*", prefix defundef, macro, "*/" 13807 next 13808 } 13809 } 13810} 13811{ print } 13812_ACAWK 13813_ACEOF 13814cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13815 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13816fi # test -n "$CONFIG_HEADERS" 13817 13818 13819eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13820shift 13821for ac_tag 13822do 13823 case $ac_tag in 13824 :[FHLC]) ac_mode=$ac_tag; continue;; 13825 esac 13826 case $ac_mode$ac_tag in 13827 :[FHL]*:*);; 13828 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13829 :[FH]-) ac_tag=-:-;; 13830 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13831 esac 13832 ac_save_IFS=$IFS 13833 IFS=: 13834 set x $ac_tag 13835 IFS=$ac_save_IFS 13836 shift 13837 ac_file=$1 13838 shift 13839 13840 case $ac_mode in 13841 :L) ac_source=$1;; 13842 :[FH]) 13843 ac_file_inputs= 13844 for ac_f 13845 do 13846 case $ac_f in 13847 -) ac_f="$ac_tmp/stdin";; 13848 *) # Look for the file first in the build tree, then in the source tree 13849 # (if the path is not absolute). The absolute path cannot be DOS-style, 13850 # because $ac_f cannot contain `:'. 13851 test -f "$ac_f" || 13852 case $ac_f in 13853 [\\/$]*) false;; 13854 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13855 esac || 13856 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13857 esac 13858 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13859 as_fn_append ac_file_inputs " '$ac_f'" 13860 done 13861 13862 # Let's still pretend it is `configure' which instantiates (i.e., don't 13863 # use $as_me), people would be surprised to read: 13864 # /* config.h. Generated by config.status. */ 13865 configure_input='Generated from '` 13866 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13867 `' by configure.' 13868 if test x"$ac_file" != x-; then 13869 configure_input="$ac_file. $configure_input" 13870 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13871$as_echo "$as_me: creating $ac_file" >&6;} 13872 fi 13873 # Neutralize special characters interpreted by sed in replacement strings. 13874 case $configure_input in #( 13875 *\&* | *\|* | *\\* ) 13876 ac_sed_conf_input=`$as_echo "$configure_input" | 13877 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13878 *) ac_sed_conf_input=$configure_input;; 13879 esac 13880 13881 case $ac_tag in 13882 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13883 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13884 esac 13885 ;; 13886 esac 13887 13888 ac_dir=`$as_dirname -- "$ac_file" || 13889$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13890 X"$ac_file" : 'X\(//\)[^/]' \| \ 13891 X"$ac_file" : 'X\(//\)$' \| \ 13892 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13893$as_echo X"$ac_file" | 13894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13895 s//\1/ 13896 q 13897 } 13898 /^X\(\/\/\)[^/].*/{ 13899 s//\1/ 13900 q 13901 } 13902 /^X\(\/\/\)$/{ 13903 s//\1/ 13904 q 13905 } 13906 /^X\(\/\).*/{ 13907 s//\1/ 13908 q 13909 } 13910 s/.*/./; q'` 13911 as_dir="$ac_dir"; as_fn_mkdir_p 13912 ac_builddir=. 13913 13914case "$ac_dir" in 13915.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13916*) 13917 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13918 # A ".." for each directory in $ac_dir_suffix. 13919 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13920 case $ac_top_builddir_sub in 13921 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13922 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13923 esac ;; 13924esac 13925ac_abs_top_builddir=$ac_pwd 13926ac_abs_builddir=$ac_pwd$ac_dir_suffix 13927# for backward compatibility: 13928ac_top_builddir=$ac_top_build_prefix 13929 13930case $srcdir in 13931 .) # We are building in place. 13932 ac_srcdir=. 13933 ac_top_srcdir=$ac_top_builddir_sub 13934 ac_abs_top_srcdir=$ac_pwd ;; 13935 [\\/]* | ?:[\\/]* ) # Absolute name. 13936 ac_srcdir=$srcdir$ac_dir_suffix; 13937 ac_top_srcdir=$srcdir 13938 ac_abs_top_srcdir=$srcdir ;; 13939 *) # Relative name. 13940 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13941 ac_top_srcdir=$ac_top_build_prefix$srcdir 13942 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13943esac 13944ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13945 13946 13947 case $ac_mode in 13948 :F) 13949 # 13950 # CONFIG_FILE 13951 # 13952 13953 case $INSTALL in 13954 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13955 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13956 esac 13957 ac_MKDIR_P=$MKDIR_P 13958 case $MKDIR_P in 13959 [\\/$]* | ?:[\\/]* ) ;; 13960 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13961 esac 13962_ACEOF 13963 13964cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13965# If the template does not know about datarootdir, expand it. 13966# FIXME: This hack should be removed a few years after 2.60. 13967ac_datarootdir_hack=; ac_datarootdir_seen= 13968ac_sed_dataroot=' 13969/datarootdir/ { 13970 p 13971 q 13972} 13973/@datadir@/p 13974/@docdir@/p 13975/@infodir@/p 13976/@localedir@/p 13977/@mandir@/p' 13978case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13979*datarootdir*) ac_datarootdir_seen=yes;; 13980*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13982$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13983_ACEOF 13984cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13985 ac_datarootdir_hack=' 13986 s&@datadir@&$datadir&g 13987 s&@docdir@&$docdir&g 13988 s&@infodir@&$infodir&g 13989 s&@localedir@&$localedir&g 13990 s&@mandir@&$mandir&g 13991 s&\\\${datarootdir}&$datarootdir&g' ;; 13992esac 13993_ACEOF 13994 13995# Neutralize VPATH when `$srcdir' = `.'. 13996# Shell code in configure.ac might set extrasub. 13997# FIXME: do we really want to maintain this feature? 13998cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13999ac_sed_extra="$ac_vpsub 14000$extrasub 14001_ACEOF 14002cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14003:t 14004/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14005s|@configure_input@|$ac_sed_conf_input|;t t 14006s&@top_builddir@&$ac_top_builddir_sub&;t t 14007s&@top_build_prefix@&$ac_top_build_prefix&;t t 14008s&@srcdir@&$ac_srcdir&;t t 14009s&@abs_srcdir@&$ac_abs_srcdir&;t t 14010s&@top_srcdir@&$ac_top_srcdir&;t t 14011s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14012s&@builddir@&$ac_builddir&;t t 14013s&@abs_builddir@&$ac_abs_builddir&;t t 14014s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14015s&@INSTALL@&$ac_INSTALL&;t t 14016s&@MKDIR_P@&$ac_MKDIR_P&;t t 14017$ac_datarootdir_hack 14018" 14019eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14020 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14021 14022test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14023 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14024 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14025 "$ac_tmp/out"`; test -z "$ac_out"; } && 14026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14027which seems to be undefined. Please make sure it is defined" >&5 14028$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14029which seems to be undefined. Please make sure it is defined" >&2;} 14030 14031 rm -f "$ac_tmp/stdin" 14032 case $ac_file in 14033 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14034 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14035 esac \ 14036 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14037 ;; 14038 :H) 14039 # 14040 # CONFIG_HEADER 14041 # 14042 if test x"$ac_file" != x-; then 14043 { 14044 $as_echo "/* $configure_input */" \ 14045 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14046 } >"$ac_tmp/config.h" \ 14047 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14048 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14049 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14050$as_echo "$as_me: $ac_file is unchanged" >&6;} 14051 else 14052 rm -f "$ac_file" 14053 mv "$ac_tmp/config.h" "$ac_file" \ 14054 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14055 fi 14056 else 14057 $as_echo "/* $configure_input */" \ 14058 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14059 || as_fn_error $? "could not create -" "$LINENO" 5 14060 fi 14061# Compute "$ac_file"'s index in $config_headers. 14062_am_arg="$ac_file" 14063_am_stamp_count=1 14064for _am_header in $config_headers :; do 14065 case $_am_header in 14066 $_am_arg | $_am_arg:* ) 14067 break ;; 14068 * ) 14069 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14070 esac 14071done 14072echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14073$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14074 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14075 X"$_am_arg" : 'X\(//\)$' \| \ 14076 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14077$as_echo X"$_am_arg" | 14078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14079 s//\1/ 14080 q 14081 } 14082 /^X\(\/\/\)[^/].*/{ 14083 s//\1/ 14084 q 14085 } 14086 /^X\(\/\/\)$/{ 14087 s//\1/ 14088 q 14089 } 14090 /^X\(\/\).*/{ 14091 s//\1/ 14092 q 14093 } 14094 s/.*/./; q'`/stamp-h$_am_stamp_count 14095 ;; 14096 14097 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14098$as_echo "$as_me: executing $ac_file commands" >&6;} 14099 ;; 14100 esac 14101 14102 14103 case $ac_file$ac_mode in 14104 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14105 # Older Autoconf quotes --file arguments for eval, but not when files 14106 # are listed without --file. Let's play safe and only enable the eval 14107 # if we detect the quoting. 14108 case $CONFIG_FILES in 14109 *\'*) eval set x "$CONFIG_FILES" ;; 14110 *) set x $CONFIG_FILES ;; 14111 esac 14112 shift 14113 for mf 14114 do 14115 # Strip MF so we end up with the name of the file. 14116 mf=`echo "$mf" | sed -e 's/:.*$//'` 14117 # Check whether this is an Automake generated Makefile or not. 14118 # We used to match only the files named 'Makefile.in', but 14119 # some people rename them; so instead we look at the file content. 14120 # Grep'ing the first line is not enough: some people post-process 14121 # each Makefile.in and add a new line on top of each file to say so. 14122 # Grep'ing the whole file is not good either: AIX grep has a line 14123 # limit of 2048, but all sed's we know have understand at least 4000. 14124 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14125 dirpart=`$as_dirname -- "$mf" || 14126$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14127 X"$mf" : 'X\(//\)[^/]' \| \ 14128 X"$mf" : 'X\(//\)$' \| \ 14129 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14130$as_echo X"$mf" | 14131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14132 s//\1/ 14133 q 14134 } 14135 /^X\(\/\/\)[^/].*/{ 14136 s//\1/ 14137 q 14138 } 14139 /^X\(\/\/\)$/{ 14140 s//\1/ 14141 q 14142 } 14143 /^X\(\/\).*/{ 14144 s//\1/ 14145 q 14146 } 14147 s/.*/./; q'` 14148 else 14149 continue 14150 fi 14151 # Extract the definition of DEPDIR, am__include, and am__quote 14152 # from the Makefile without running 'make'. 14153 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14154 test -z "$DEPDIR" && continue 14155 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14156 test -z "$am__include" && continue 14157 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14158 # Find all dependency output files, they are included files with 14159 # $(DEPDIR) in their names. We invoke sed twice because it is the 14160 # simplest approach to changing $(DEPDIR) to its actual value in the 14161 # expansion. 14162 for file in `sed -n " 14163 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14164 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 14165 # Make sure the directory exists. 14166 test -f "$dirpart/$file" && continue 14167 fdir=`$as_dirname -- "$file" || 14168$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14169 X"$file" : 'X\(//\)[^/]' \| \ 14170 X"$file" : 'X\(//\)$' \| \ 14171 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14172$as_echo X"$file" | 14173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14174 s//\1/ 14175 q 14176 } 14177 /^X\(\/\/\)[^/].*/{ 14178 s//\1/ 14179 q 14180 } 14181 /^X\(\/\/\)$/{ 14182 s//\1/ 14183 q 14184 } 14185 /^X\(\/\).*/{ 14186 s//\1/ 14187 q 14188 } 14189 s/.*/./; q'` 14190 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14191 # echo "creating $dirpart/$file" 14192 echo '# dummy' > "$dirpart/$file" 14193 done 14194 done 14195} 14196 ;; 14197 "libtool":C) 14198 14199 # See if we are running on zsh, and set the options that allow our 14200 # commands through without removal of \ escapes. 14201 if test -n "${ZSH_VERSION+set}"; then 14202 setopt NO_GLOB_SUBST 14203 fi 14204 14205 cfgfile=${ofile}T 14206 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14207 $RM "$cfgfile" 14208 14209 cat <<_LT_EOF >> "$cfgfile" 14210#! $SHELL 14211# Generated automatically by $as_me ($PACKAGE) $VERSION 14212# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14213 14214# Provide generalized library-building support services. 14215# Written by Gordon Matzigkeit, 1996 14216 14217# Copyright (C) 2014 Free Software Foundation, Inc. 14218# This is free software; see the source for copying conditions. There is NO 14219# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14220 14221# GNU Libtool is free software; you can redistribute it and/or modify 14222# it under the terms of the GNU General Public License as published by 14223# the Free Software Foundation; either version 2 of of the License, or 14224# (at your option) any later version. 14225# 14226# As a special exception to the GNU General Public License, if you 14227# distribute this file as part of a program or library that is built 14228# using GNU Libtool, you may include this file under the same 14229# distribution terms that you use for the rest of that program. 14230# 14231# GNU Libtool is distributed in the hope that it will be useful, but 14232# WITHOUT ANY WARRANTY; without even the implied warranty of 14233# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14234# GNU General Public License for more details. 14235# 14236# You should have received a copy of the GNU General Public License 14237# along with this program. If not, see <http://www.gnu.org/licenses/>. 14238 14239 14240# The names of the tagged configurations supported by this script. 14241available_tags='' 14242 14243# Configured defaults for sys_lib_dlsearch_path munging. 14244: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14245 14246# ### BEGIN LIBTOOL CONFIG 14247 14248# Which release of libtool.m4 was used? 14249macro_version=$macro_version 14250macro_revision=$macro_revision 14251 14252# Whether or not to build shared libraries. 14253build_libtool_libs=$enable_shared 14254 14255# Whether or not to build static libraries. 14256build_old_libs=$enable_static 14257 14258# What type of objects to build. 14259pic_mode=$pic_mode 14260 14261# Whether or not to optimize for fast installation. 14262fast_install=$enable_fast_install 14263 14264# Shared archive member basename,for filename based shared library versioning on AIX. 14265shared_archive_member_spec=$shared_archive_member_spec 14266 14267# Shell to use when invoking shell scripts. 14268SHELL=$lt_SHELL 14269 14270# An echo program that protects backslashes. 14271ECHO=$lt_ECHO 14272 14273# The PATH separator for the build system. 14274PATH_SEPARATOR=$lt_PATH_SEPARATOR 14275 14276# The host system. 14277host_alias=$host_alias 14278host=$host 14279host_os=$host_os 14280 14281# The build system. 14282build_alias=$build_alias 14283build=$build 14284build_os=$build_os 14285 14286# A sed program that does not truncate output. 14287SED=$lt_SED 14288 14289# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14290Xsed="\$SED -e 1s/^X//" 14291 14292# A grep program that handles long lines. 14293GREP=$lt_GREP 14294 14295# An ERE matcher. 14296EGREP=$lt_EGREP 14297 14298# A literal string matcher. 14299FGREP=$lt_FGREP 14300 14301# A BSD- or MS-compatible name lister. 14302NM=$lt_NM 14303 14304# Whether we need soft or hard links. 14305LN_S=$lt_LN_S 14306 14307# What is the maximum length of a command? 14308max_cmd_len=$max_cmd_len 14309 14310# Object file suffix (normally "o"). 14311objext=$ac_objext 14312 14313# Executable file suffix (normally ""). 14314exeext=$exeext 14315 14316# whether the shell understands "unset". 14317lt_unset=$lt_unset 14318 14319# turn spaces into newlines. 14320SP2NL=$lt_lt_SP2NL 14321 14322# turn newlines into spaces. 14323NL2SP=$lt_lt_NL2SP 14324 14325# convert \$build file names to \$host format. 14326to_host_file_cmd=$lt_cv_to_host_file_cmd 14327 14328# convert \$build files to toolchain format. 14329to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14330 14331# An object symbol dumper. 14332OBJDUMP=$lt_OBJDUMP 14333 14334# Method to check whether dependent libraries are shared objects. 14335deplibs_check_method=$lt_deplibs_check_method 14336 14337# Command to use when deplibs_check_method = "file_magic". 14338file_magic_cmd=$lt_file_magic_cmd 14339 14340# How to find potential files when deplibs_check_method = "file_magic". 14341file_magic_glob=$lt_file_magic_glob 14342 14343# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14344want_nocaseglob=$lt_want_nocaseglob 14345 14346# DLL creation program. 14347DLLTOOL=$lt_DLLTOOL 14348 14349# Command to associate shared and link libraries. 14350sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14351 14352# The archiver. 14353AR=$lt_AR 14354 14355# Flags to create an archive. 14356AR_FLAGS=$lt_AR_FLAGS 14357 14358# How to feed a file listing to the archiver. 14359archiver_list_spec=$lt_archiver_list_spec 14360 14361# A symbol stripping program. 14362STRIP=$lt_STRIP 14363 14364# Commands used to install an old-style archive. 14365RANLIB=$lt_RANLIB 14366old_postinstall_cmds=$lt_old_postinstall_cmds 14367old_postuninstall_cmds=$lt_old_postuninstall_cmds 14368 14369# Whether to use a lock for old archive extraction. 14370lock_old_archive_extraction=$lock_old_archive_extraction 14371 14372# A C compiler. 14373LTCC=$lt_CC 14374 14375# LTCC compiler flags. 14376LTCFLAGS=$lt_CFLAGS 14377 14378# Take the output of nm and produce a listing of raw symbols and C names. 14379global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14380 14381# Transform the output of nm in a proper C declaration. 14382global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14383 14384# Transform the output of nm into a list of symbols to manually relocate. 14385global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14386 14387# Transform the output of nm in a C name address pair. 14388global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14389 14390# Transform the output of nm in a C name address pair when lib prefix is needed. 14391global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14392 14393# The name lister interface. 14394nm_interface=$lt_lt_cv_nm_interface 14395 14396# Specify filename containing input files for \$NM. 14397nm_file_list_spec=$lt_nm_file_list_spec 14398 14399# The root where to search for dependent libraries,and where our libraries should be installed. 14400lt_sysroot=$lt_sysroot 14401 14402# Command to truncate a binary pipe. 14403lt_truncate_bin=$lt_lt_cv_truncate_bin 14404 14405# The name of the directory that contains temporary libtool files. 14406objdir=$objdir 14407 14408# Used to examine libraries when file_magic_cmd begins with "file". 14409MAGIC_CMD=$MAGIC_CMD 14410 14411# Must we lock files when doing compilation? 14412need_locks=$lt_need_locks 14413 14414# Manifest tool. 14415MANIFEST_TOOL=$lt_MANIFEST_TOOL 14416 14417# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14418DSYMUTIL=$lt_DSYMUTIL 14419 14420# Tool to change global to local symbols on Mac OS X. 14421NMEDIT=$lt_NMEDIT 14422 14423# Tool to manipulate fat objects and archives on Mac OS X. 14424LIPO=$lt_LIPO 14425 14426# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14427OTOOL=$lt_OTOOL 14428 14429# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14430OTOOL64=$lt_OTOOL64 14431 14432# Old archive suffix (normally "a"). 14433libext=$libext 14434 14435# Shared library suffix (normally ".so"). 14436shrext_cmds=$lt_shrext_cmds 14437 14438# The commands to extract the exported symbol list from a shared archive. 14439extract_expsyms_cmds=$lt_extract_expsyms_cmds 14440 14441# Variables whose values should be saved in libtool wrapper scripts and 14442# restored at link time. 14443variables_saved_for_relink=$lt_variables_saved_for_relink 14444 14445# Do we need the "lib" prefix for modules? 14446need_lib_prefix=$need_lib_prefix 14447 14448# Do we need a version for libraries? 14449need_version=$need_version 14450 14451# Library versioning type. 14452version_type=$version_type 14453 14454# Shared library runtime path variable. 14455runpath_var=$runpath_var 14456 14457# Shared library path variable. 14458shlibpath_var=$shlibpath_var 14459 14460# Is shlibpath searched before the hard-coded library search path? 14461shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14462 14463# Format of library name prefix. 14464libname_spec=$lt_libname_spec 14465 14466# List of archive names. First name is the real one, the rest are links. 14467# The last name is the one that the linker finds with -lNAME 14468library_names_spec=$lt_library_names_spec 14469 14470# The coded name of the library, if different from the real name. 14471soname_spec=$lt_soname_spec 14472 14473# Permission mode override for installation of shared libraries. 14474install_override_mode=$lt_install_override_mode 14475 14476# Command to use after installation of a shared archive. 14477postinstall_cmds=$lt_postinstall_cmds 14478 14479# Command to use after uninstallation of a shared archive. 14480postuninstall_cmds=$lt_postuninstall_cmds 14481 14482# Commands used to finish a libtool library installation in a directory. 14483finish_cmds=$lt_finish_cmds 14484 14485# As "finish_cmds", except a single script fragment to be evaled but 14486# not shown. 14487finish_eval=$lt_finish_eval 14488 14489# Whether we should hardcode library paths into libraries. 14490hardcode_into_libs=$hardcode_into_libs 14491 14492# Compile-time system search path for libraries. 14493sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14494 14495# Detected run-time system search path for libraries. 14496sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 14497 14498# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 14499configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 14500 14501# Whether dlopen is supported. 14502dlopen_support=$enable_dlopen 14503 14504# Whether dlopen of programs is supported. 14505dlopen_self=$enable_dlopen_self 14506 14507# Whether dlopen of statically linked programs is supported. 14508dlopen_self_static=$enable_dlopen_self_static 14509 14510# Commands to strip libraries. 14511old_striplib=$lt_old_striplib 14512striplib=$lt_striplib 14513 14514 14515# The linker used to build libraries. 14516LD=$lt_LD 14517 14518# How to create reloadable object files. 14519reload_flag=$lt_reload_flag 14520reload_cmds=$lt_reload_cmds 14521 14522# Commands used to build an old-style archive. 14523old_archive_cmds=$lt_old_archive_cmds 14524 14525# A language specific compiler. 14526CC=$lt_compiler 14527 14528# Is the compiler the GNU compiler? 14529with_gcc=$GCC 14530 14531# Compiler flag to turn off builtin functions. 14532no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14533 14534# Additional compiler flags for building library objects. 14535pic_flag=$lt_lt_prog_compiler_pic 14536 14537# How to pass a linker flag through the compiler. 14538wl=$lt_lt_prog_compiler_wl 14539 14540# Compiler flag to prevent dynamic linking. 14541link_static_flag=$lt_lt_prog_compiler_static 14542 14543# Does compiler simultaneously support -c and -o options? 14544compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14545 14546# Whether or not to add -lc for building shared libraries. 14547build_libtool_need_lc=$archive_cmds_need_lc 14548 14549# Whether or not to disallow shared libs when runtime libs are static. 14550allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14551 14552# Compiler flag to allow reflexive dlopens. 14553export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14554 14555# Compiler flag to generate shared objects directly from archives. 14556whole_archive_flag_spec=$lt_whole_archive_flag_spec 14557 14558# Whether the compiler copes with passing no objects directly. 14559compiler_needs_object=$lt_compiler_needs_object 14560 14561# Create an old-style archive from a shared archive. 14562old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14563 14564# Create a temporary old-style archive to link instead of a shared archive. 14565old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14566 14567# Commands used to build a shared archive. 14568archive_cmds=$lt_archive_cmds 14569archive_expsym_cmds=$lt_archive_expsym_cmds 14570 14571# Commands used to build a loadable module if different from building 14572# a shared archive. 14573module_cmds=$lt_module_cmds 14574module_expsym_cmds=$lt_module_expsym_cmds 14575 14576# Whether we are building with GNU ld or not. 14577with_gnu_ld=$lt_with_gnu_ld 14578 14579# Flag that allows shared libraries with undefined symbols to be built. 14580allow_undefined_flag=$lt_allow_undefined_flag 14581 14582# Flag that enforces no undefined symbols. 14583no_undefined_flag=$lt_no_undefined_flag 14584 14585# Flag to hardcode \$libdir into a binary during linking. 14586# This must work even if \$libdir does not exist 14587hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14588 14589# Whether we need a single "-rpath" flag with a separated argument. 14590hardcode_libdir_separator=$lt_hardcode_libdir_separator 14591 14592# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14593# DIR into the resulting binary. 14594hardcode_direct=$hardcode_direct 14595 14596# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14597# DIR into the resulting binary and the resulting library dependency is 14598# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14599# library is relocated. 14600hardcode_direct_absolute=$hardcode_direct_absolute 14601 14602# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14603# into the resulting binary. 14604hardcode_minus_L=$hardcode_minus_L 14605 14606# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14607# into the resulting binary. 14608hardcode_shlibpath_var=$hardcode_shlibpath_var 14609 14610# Set to "yes" if building a shared library automatically hardcodes DIR 14611# into the library and all subsequent libraries and executables linked 14612# against it. 14613hardcode_automatic=$hardcode_automatic 14614 14615# Set to yes if linker adds runtime paths of dependent libraries 14616# to runtime path list. 14617inherit_rpath=$inherit_rpath 14618 14619# Whether libtool must link a program against all its dependency libraries. 14620link_all_deplibs=$link_all_deplibs 14621 14622# Set to "yes" if exported symbols are required. 14623always_export_symbols=$always_export_symbols 14624 14625# The commands to list exported symbols. 14626export_symbols_cmds=$lt_export_symbols_cmds 14627 14628# Symbols that should not be listed in the preloaded symbols. 14629exclude_expsyms=$lt_exclude_expsyms 14630 14631# Symbols that must always be exported. 14632include_expsyms=$lt_include_expsyms 14633 14634# Commands necessary for linking programs (against libraries) with templates. 14635prelink_cmds=$lt_prelink_cmds 14636 14637# Commands necessary for finishing linking programs. 14638postlink_cmds=$lt_postlink_cmds 14639 14640# Specify filename containing input files. 14641file_list_spec=$lt_file_list_spec 14642 14643# How to hardcode a shared library path into an executable. 14644hardcode_action=$hardcode_action 14645 14646# ### END LIBTOOL CONFIG 14647 14648_LT_EOF 14649 14650 cat <<'_LT_EOF' >> "$cfgfile" 14651 14652# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14653 14654# func_munge_path_list VARIABLE PATH 14655# ----------------------------------- 14656# VARIABLE is name of variable containing _space_ separated list of 14657# directories to be munged by the contents of PATH, which is string 14658# having a format: 14659# "DIR[:DIR]:" 14660# string "DIR[ DIR]" will be prepended to VARIABLE 14661# ":DIR[:DIR]" 14662# string "DIR[ DIR]" will be appended to VARIABLE 14663# "DIRP[:DIRP]::[DIRA:]DIRA" 14664# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14665# "DIRA[ DIRA]" will be appended to VARIABLE 14666# "DIR[:DIR]" 14667# VARIABLE will be replaced by "DIR[ DIR]" 14668func_munge_path_list () 14669{ 14670 case x$2 in 14671 x) 14672 ;; 14673 *:) 14674 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14675 ;; 14676 x:*) 14677 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14678 ;; 14679 *::*) 14680 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14681 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14682 ;; 14683 *) 14684 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14685 ;; 14686 esac 14687} 14688 14689 14690# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14691func_cc_basename () 14692{ 14693 for cc_temp in $*""; do 14694 case $cc_temp in 14695 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14696 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14697 \-*) ;; 14698 *) break;; 14699 esac 14700 done 14701 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14702} 14703 14704 14705# ### END FUNCTIONS SHARED WITH CONFIGURE 14706 14707_LT_EOF 14708 14709 case $host_os in 14710 aix3*) 14711 cat <<\_LT_EOF >> "$cfgfile" 14712# AIX sometimes has problems with the GCC collect2 program. For some 14713# reason, if we set the COLLECT_NAMES environment variable, the problems 14714# vanish in a puff of smoke. 14715if test set != "${COLLECT_NAMES+set}"; then 14716 COLLECT_NAMES= 14717 export COLLECT_NAMES 14718fi 14719_LT_EOF 14720 ;; 14721 esac 14722 14723 14724ltmain=$ac_aux_dir/ltmain.sh 14725 14726 14727 # We use sed instead of cat because bash on DJGPP gets confused if 14728 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14729 # text mode, it properly converts lines to CR/LF. This bash problem 14730 # is reportedly fixed, but why not run on old versions too? 14731 sed '$q' "$ltmain" >> "$cfgfile" \ 14732 || (rm -f "$cfgfile"; exit 1) 14733 14734 mv -f "$cfgfile" "$ofile" || 14735 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14736 chmod +x "$ofile" 14737 14738 ;; 14739 14740 esac 14741done # for ac_tag 14742 14743 14744as_fn_exit 0 14745_ACEOF 14746ac_clean_files=$ac_clean_files_save 14747 14748test $ac_write_fail = 0 || 14749 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14750 14751 14752# configure is writing to config.log, and then calls config.status. 14753# config.status does its own redirection, appending to config.log. 14754# Unfortunately, on DOS this fails, as config.log is still kept open 14755# by configure, so config.status won't be able to write to it; its 14756# output is simply discarded. So we exec the FD to /dev/null, 14757# effectively closing config.log, so it can be properly (re)opened and 14758# appended to by config.status. When coming back to configure, we 14759# need to make the FD available again. 14760if test "$no_create" != yes; then 14761 ac_cs_success=: 14762 ac_config_status_args= 14763 test "$silent" = yes && 14764 ac_config_status_args="$ac_config_status_args --quiet" 14765 exec 5>/dev/null 14766 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14767 exec 5>>config.log 14768 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14769 # would make configure fail if this is the last instruction. 14770 $ac_cs_success || as_fn_exit 1 14771fi 14772if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14774$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14775fi 14776 14777