1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libdvbpsi 1.3.3. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1 200 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 PATH=/empty FPATH=/empty; export PATH FPATH 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='libdvbpsi' 589PACKAGE_TARNAME='libdvbpsi' 590PACKAGE_VERSION='1.3.3' 591PACKAGE_STRING='libdvbpsi 1.3.3' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="src/dvbpsi.c" 596# Factoring default headers for most tests. 597ac_includes_default="\ 598#include <stdio.h> 599#ifdef HAVE_SYS_TYPES_H 600# include <sys/types.h> 601#endif 602#ifdef HAVE_SYS_STAT_H 603# include <sys/stat.h> 604#endif 605#ifdef STDC_HEADERS 606# include <stdlib.h> 607# include <stddef.h> 608#else 609# ifdef HAVE_STDLIB_H 610# include <stdlib.h> 611# endif 612#endif 613#ifdef HAVE_STRING_H 614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615# include <memory.h> 616# endif 617# include <string.h> 618#endif 619#ifdef HAVE_STRINGS_H 620# include <strings.h> 621#endif 622#ifdef HAVE_INTTYPES_H 623# include <inttypes.h> 624#endif 625#ifdef HAVE_STDINT_H 626# include <stdint.h> 627#endif 628#ifdef HAVE_UNISTD_H 629# include <unistd.h> 630#endif" 631 632ac_subst_vars='am__EXEEXT_FALSE 633am__EXEEXT_TRUE 634LTLIBOBJS 635LIBOBJS 636HAVE_SYS_SOCKET_H_FALSE 637HAVE_SYS_SOCKET_H_TRUE 638LT_SYS_LIBRARY_PATH 639OTOOL64 640OTOOL 641LIPO 642NMEDIT 643DSYMUTIL 644MANIFEST_TOOL 645RANLIB 646ac_ct_AR 647AR 648LN_S 649NM 650ac_ct_DUMPBIN 651DUMPBIN 652LD 653FGREP 654SED 655LIBTOOL 656OBJDUMP 657DLLTOOL 658AS 659EGREP 660GREP 661CPP 662am__fastdepCC_FALSE 663am__fastdepCC_TRUE 664CCDEPMODE 665am__nodep 666AMDEPBACKSLASH 667AMDEP_FALSE 668AMDEP_TRUE 669am__quote 670am__include 671DEPDIR 672OBJEXT 673EXEEXT 674ac_ct_CC 675CPPFLAGS 676LDFLAGS 677CFLAGS 678CC 679AM_BACKSLASH 680AM_DEFAULT_VERBOSITY 681AM_DEFAULT_V 682AM_V 683am__untar 684am__tar 685AMTAR 686am__leading_dot 687SET_MAKE 688AWK 689mkdir_p 690MKDIR_P 691INSTALL_STRIP_PROGRAM 692STRIP 693install_sh 694MAKEINFO 695AUTOHEADER 696AUTOMAKE 697AUTOCONF 698ACLOCAL 699VERSION 700PACKAGE 701CYGPATH_W 702am__isrc 703INSTALL_DATA 704INSTALL_SCRIPT 705INSTALL_PROGRAM 706target_os 707target_vendor 708target_cpu 709target 710host_os 711host_vendor 712host_cpu 713host 714build_os 715build_vendor 716build_cpu 717build 718target_alias 719host_alias 720build_alias 721LIBS 722ECHO_T 723ECHO_N 724ECHO_C 725DEFS 726mandir 727localedir 728libdir 729psdir 730pdfdir 731dvidir 732htmldir 733infodir 734docdir 735oldincludedir 736includedir 737localstatedir 738sharedstatedir 739sysconfdir 740datadir 741datarootdir 742libexecdir 743sbindir 744bindir 745program_transform_name 746prefix 747exec_prefix 748PACKAGE_URL 749PACKAGE_BUGREPORT 750PACKAGE_STRING 751PACKAGE_VERSION 752PACKAGE_TARNAME 753PACKAGE_NAME 754PATH_SEPARATOR 755SHELL' 756ac_subst_files='' 757ac_user_opts=' 758enable_option_checking 759enable_silent_rules 760enable_dependency_tracking 761enable_shared 762enable_static 763with_pic 764enable_fast_install 765with_aix_soname 766with_gnu_ld 767with_sysroot 768enable_libtool_lock 769enable_debug 770enable_gcc_sanitize 771enable_release 772' 773 ac_precious_vars='build_alias 774host_alias 775target_alias 776CC 777CFLAGS 778LDFLAGS 779LIBS 780CPPFLAGS 781CPP 782LT_SYS_LIBRARY_PATH' 783 784 785# Initialize some variables set by options. 786ac_init_help= 787ac_init_version=false 788ac_unrecognized_opts= 789ac_unrecognized_sep= 790# The variables have the same names as the options, with 791# dashes changed to underlines. 792cache_file=/dev/null 793exec_prefix=NONE 794no_create= 795no_recursion= 796prefix=NONE 797program_prefix=NONE 798program_suffix=NONE 799program_transform_name=s,x,x, 800silent= 801site= 802srcdir= 803verbose= 804x_includes=NONE 805x_libraries=NONE 806 807# Installation directory options. 808# These are left unexpanded so users can "make install exec_prefix=/foo" 809# and all the variables that are supposed to be based on exec_prefix 810# by default will actually change. 811# Use braces instead of parens because sh, perl, etc. also accept them. 812# (The list follows the same order as the GNU Coding Standards.) 813bindir='${exec_prefix}/bin' 814sbindir='${exec_prefix}/sbin' 815libexecdir='${exec_prefix}/libexec' 816datarootdir='${prefix}/share' 817datadir='${datarootdir}' 818sysconfdir='${prefix}/etc' 819sharedstatedir='${prefix}/com' 820localstatedir='${prefix}/var' 821includedir='${prefix}/include' 822oldincludedir='/usr/include' 823docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 824infodir='${datarootdir}/info' 825htmldir='${docdir}' 826dvidir='${docdir}' 827pdfdir='${docdir}' 828psdir='${docdir}' 829libdir='${exec_prefix}/lib' 830localedir='${datarootdir}/locale' 831mandir='${datarootdir}/man' 832 833ac_prev= 834ac_dashdash= 835for ac_option 836do 837 # If the previous option needs an argument, assign it. 838 if test -n "$ac_prev"; then 839 eval $ac_prev=\$ac_option 840 ac_prev= 841 continue 842 fi 843 844 case $ac_option in 845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 846 *=) ac_optarg= ;; 847 *) ac_optarg=yes ;; 848 esac 849 850 # Accept the important Cygnus configure options, so we can diagnose typos. 851 852 case $ac_dashdash$ac_option in 853 --) 854 ac_dashdash=yes ;; 855 856 -bindir | --bindir | --bindi | --bind | --bin | --bi) 857 ac_prev=bindir ;; 858 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 859 bindir=$ac_optarg ;; 860 861 -build | --build | --buil | --bui | --bu) 862 ac_prev=build_alias ;; 863 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 864 build_alias=$ac_optarg ;; 865 866 -cache-file | --cache-file | --cache-fil | --cache-fi \ 867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 868 ac_prev=cache_file ;; 869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 871 cache_file=$ac_optarg ;; 872 873 --config-cache | -C) 874 cache_file=config.cache ;; 875 876 -datadir | --datadir | --datadi | --datad) 877 ac_prev=datadir ;; 878 -datadir=* | --datadir=* | --datadi=* | --datad=*) 879 datadir=$ac_optarg ;; 880 881 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 882 | --dataroo | --dataro | --datar) 883 ac_prev=datarootdir ;; 884 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 885 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 886 datarootdir=$ac_optarg ;; 887 888 -disable-* | --disable-*) 889 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 890 # Reject names that are not valid shell variable names. 891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 892 as_fn_error $? "invalid feature name: $ac_useropt" 893 ac_useropt_orig=$ac_useropt 894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 895 case $ac_user_opts in 896 *" 897"enable_$ac_useropt" 898"*) ;; 899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 900 ac_unrecognized_sep=', ';; 901 esac 902 eval enable_$ac_useropt=no ;; 903 904 -docdir | --docdir | --docdi | --doc | --do) 905 ac_prev=docdir ;; 906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 907 docdir=$ac_optarg ;; 908 909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 910 ac_prev=dvidir ;; 911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 912 dvidir=$ac_optarg ;; 913 914 -enable-* | --enable-*) 915 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 916 # Reject names that are not valid shell variable names. 917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 918 as_fn_error $? "invalid feature name: $ac_useropt" 919 ac_useropt_orig=$ac_useropt 920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 921 case $ac_user_opts in 922 *" 923"enable_$ac_useropt" 924"*) ;; 925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 926 ac_unrecognized_sep=', ';; 927 esac 928 eval enable_$ac_useropt=\$ac_optarg ;; 929 930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 932 | --exec | --exe | --ex) 933 ac_prev=exec_prefix ;; 934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 936 | --exec=* | --exe=* | --ex=*) 937 exec_prefix=$ac_optarg ;; 938 939 -gas | --gas | --ga | --g) 940 # Obsolete; use --with-gas. 941 with_gas=yes ;; 942 943 -help | --help | --hel | --he | -h) 944 ac_init_help=long ;; 945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 946 ac_init_help=recursive ;; 947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 948 ac_init_help=short ;; 949 950 -host | --host | --hos | --ho) 951 ac_prev=host_alias ;; 952 -host=* | --host=* | --hos=* | --ho=*) 953 host_alias=$ac_optarg ;; 954 955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 956 ac_prev=htmldir ;; 957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 958 | --ht=*) 959 htmldir=$ac_optarg ;; 960 961 -includedir | --includedir | --includedi | --included | --include \ 962 | --includ | --inclu | --incl | --inc) 963 ac_prev=includedir ;; 964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 965 | --includ=* | --inclu=* | --incl=* | --inc=*) 966 includedir=$ac_optarg ;; 967 968 -infodir | --infodir | --infodi | --infod | --info | --inf) 969 ac_prev=infodir ;; 970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 971 infodir=$ac_optarg ;; 972 973 -libdir | --libdir | --libdi | --libd) 974 ac_prev=libdir ;; 975 -libdir=* | --libdir=* | --libdi=* | --libd=*) 976 libdir=$ac_optarg ;; 977 978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 979 | --libexe | --libex | --libe) 980 ac_prev=libexecdir ;; 981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 982 | --libexe=* | --libex=* | --libe=*) 983 libexecdir=$ac_optarg ;; 984 985 -localedir | --localedir | --localedi | --localed | --locale) 986 ac_prev=localedir ;; 987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 988 localedir=$ac_optarg ;; 989 990 -localstatedir | --localstatedir | --localstatedi | --localstated \ 991 | --localstate | --localstat | --localsta | --localst | --locals) 992 ac_prev=localstatedir ;; 993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 995 localstatedir=$ac_optarg ;; 996 997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 998 ac_prev=mandir ;; 999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1000 mandir=$ac_optarg ;; 1001 1002 -nfp | --nfp | --nf) 1003 # Obsolete; use --without-fp. 1004 with_fp=no ;; 1005 1006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1007 | --no-cr | --no-c | -n) 1008 no_create=yes ;; 1009 1010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1012 no_recursion=yes ;; 1013 1014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1016 | --oldin | --oldi | --old | --ol | --o) 1017 ac_prev=oldincludedir ;; 1018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1021 oldincludedir=$ac_optarg ;; 1022 1023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1024 ac_prev=prefix ;; 1025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1026 prefix=$ac_optarg ;; 1027 1028 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1029 | --program-pre | --program-pr | --program-p) 1030 ac_prev=program_prefix ;; 1031 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1033 program_prefix=$ac_optarg ;; 1034 1035 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1036 | --program-suf | --program-su | --program-s) 1037 ac_prev=program_suffix ;; 1038 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1040 program_suffix=$ac_optarg ;; 1041 1042 -program-transform-name | --program-transform-name \ 1043 | --program-transform-nam | --program-transform-na \ 1044 | --program-transform-n | --program-transform- \ 1045 | --program-transform | --program-transfor \ 1046 | --program-transfo | --program-transf \ 1047 | --program-trans | --program-tran \ 1048 | --progr-tra | --program-tr | --program-t) 1049 ac_prev=program_transform_name ;; 1050 -program-transform-name=* | --program-transform-name=* \ 1051 | --program-transform-nam=* | --program-transform-na=* \ 1052 | --program-transform-n=* | --program-transform-=* \ 1053 | --program-transform=* | --program-transfor=* \ 1054 | --program-transfo=* | --program-transf=* \ 1055 | --program-trans=* | --program-tran=* \ 1056 | --progr-tra=* | --program-tr=* | --program-t=*) 1057 program_transform_name=$ac_optarg ;; 1058 1059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1060 ac_prev=pdfdir ;; 1061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1062 pdfdir=$ac_optarg ;; 1063 1064 -psdir | --psdir | --psdi | --psd | --ps) 1065 ac_prev=psdir ;; 1066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1067 psdir=$ac_optarg ;; 1068 1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1070 | -silent | --silent | --silen | --sile | --sil) 1071 silent=yes ;; 1072 1073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1074 ac_prev=sbindir ;; 1075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1076 | --sbi=* | --sb=*) 1077 sbindir=$ac_optarg ;; 1078 1079 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1081 | --sharedst | --shareds | --shared | --share | --shar \ 1082 | --sha | --sh) 1083 ac_prev=sharedstatedir ;; 1084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1087 | --sha=* | --sh=*) 1088 sharedstatedir=$ac_optarg ;; 1089 1090 -site | --site | --sit) 1091 ac_prev=site ;; 1092 -site=* | --site=* | --sit=*) 1093 site=$ac_optarg ;; 1094 1095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1096 ac_prev=srcdir ;; 1097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1098 srcdir=$ac_optarg ;; 1099 1100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1101 | --syscon | --sysco | --sysc | --sys | --sy) 1102 ac_prev=sysconfdir ;; 1103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1105 sysconfdir=$ac_optarg ;; 1106 1107 -target | --target | --targe | --targ | --tar | --ta | --t) 1108 ac_prev=target_alias ;; 1109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1110 target_alias=$ac_optarg ;; 1111 1112 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1113 verbose=yes ;; 1114 1115 -version | --version | --versio | --versi | --vers | -V) 1116 ac_init_version=: ;; 1117 1118 -with-* | --with-*) 1119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1120 # Reject names that are not valid shell variable names. 1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1122 as_fn_error $? "invalid package name: $ac_useropt" 1123 ac_useropt_orig=$ac_useropt 1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1125 case $ac_user_opts in 1126 *" 1127"with_$ac_useropt" 1128"*) ;; 1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1130 ac_unrecognized_sep=', ';; 1131 esac 1132 eval with_$ac_useropt=\$ac_optarg ;; 1133 1134 -without-* | --without-*) 1135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1136 # Reject names that are not valid shell variable names. 1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1138 as_fn_error $? "invalid package name: $ac_useropt" 1139 ac_useropt_orig=$ac_useropt 1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1141 case $ac_user_opts in 1142 *" 1143"with_$ac_useropt" 1144"*) ;; 1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1146 ac_unrecognized_sep=', ';; 1147 esac 1148 eval with_$ac_useropt=no ;; 1149 1150 --x) 1151 # Obsolete; use --with-x. 1152 with_x=yes ;; 1153 1154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1155 | --x-incl | --x-inc | --x-in | --x-i) 1156 ac_prev=x_includes ;; 1157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1159 x_includes=$ac_optarg ;; 1160 1161 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1163 ac_prev=x_libraries ;; 1164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1166 x_libraries=$ac_optarg ;; 1167 1168 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1169Try \`$0 --help' for more information" 1170 ;; 1171 1172 *=*) 1173 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1174 # Reject names that are not valid shell variable names. 1175 case $ac_envvar in #( 1176 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1177 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1178 esac 1179 eval $ac_envvar=\$ac_optarg 1180 export $ac_envvar ;; 1181 1182 *) 1183 # FIXME: should be removed in autoconf 3.0. 1184 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1186 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1188 ;; 1189 1190 esac 1191done 1192 1193if test -n "$ac_prev"; then 1194 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1195 as_fn_error $? "missing argument to $ac_option" 1196fi 1197 1198if test -n "$ac_unrecognized_opts"; then 1199 case $enable_option_checking in 1200 no) ;; 1201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1203 esac 1204fi 1205 1206# Check all directory arguments for consistency. 1207for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1208 datadir sysconfdir sharedstatedir localstatedir includedir \ 1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1210 libdir localedir mandir 1211do 1212 eval ac_val=\$$ac_var 1213 # Remove trailing slashes. 1214 case $ac_val in 1215 */ ) 1216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1217 eval $ac_var=\$ac_val;; 1218 esac 1219 # Be sure to have absolute directory names. 1220 case $ac_val in 1221 [\\/$]* | ?:[\\/]* ) continue;; 1222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1223 esac 1224 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1225done 1226 1227# There might be people who depend on the old broken behavior: `$host' 1228# used to hold the argument of --host etc. 1229# FIXME: To remove some day. 1230build=$build_alias 1231host=$host_alias 1232target=$target_alias 1233 1234# FIXME: To remove some day. 1235if test "x$host_alias" != x; then 1236 if test "x$build_alias" = x; then 1237 cross_compiling=maybe 1238 elif test "x$build_alias" != "x$host_alias"; then 1239 cross_compiling=yes 1240 fi 1241fi 1242 1243ac_tool_prefix= 1244test -n "$host_alias" && ac_tool_prefix=$host_alias- 1245 1246test "$silent" = yes && exec 6>/dev/null 1247 1248 1249ac_pwd=`pwd` && test -n "$ac_pwd" && 1250ac_ls_di=`ls -di .` && 1251ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1252 as_fn_error $? "working directory cannot be determined" 1253test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1254 as_fn_error $? "pwd does not report name of working directory" 1255 1256 1257# Find the source files, if location was not specified. 1258if test -z "$srcdir"; then 1259 ac_srcdir_defaulted=yes 1260 # Try the directory containing this script, then the parent directory. 1261 ac_confdir=`$as_dirname -- "$as_myself" || 1262$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1263 X"$as_myself" : 'X\(//\)[^/]' \| \ 1264 X"$as_myself" : 'X\(//\)$' \| \ 1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1266$as_echo X"$as_myself" | 1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1268 s//\1/ 1269 q 1270 } 1271 /^X\(\/\/\)[^/].*/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)$/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\).*/{ 1280 s//\1/ 1281 q 1282 } 1283 s/.*/./; q'` 1284 srcdir=$ac_confdir 1285 if test ! -r "$srcdir/$ac_unique_file"; then 1286 srcdir=.. 1287 fi 1288else 1289 ac_srcdir_defaulted=no 1290fi 1291if test ! -r "$srcdir/$ac_unique_file"; then 1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1294fi 1295ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1296ac_abs_confdir=`( 1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1298 pwd)` 1299# When building in place, set srcdir=. 1300if test "$ac_abs_confdir" = "$ac_pwd"; then 1301 srcdir=. 1302fi 1303# Remove unnecessary trailing slashes from srcdir. 1304# Double slashes in file names in object file debugging info 1305# mess up M-x gdb in Emacs. 1306case $srcdir in 1307*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1308esac 1309for ac_var in $ac_precious_vars; do 1310 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1311 eval ac_env_${ac_var}_value=\$${ac_var} 1312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1313 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1314done 1315 1316# 1317# Report the --help message. 1318# 1319if test "$ac_init_help" = "long"; then 1320 # Omit some internal or obsolete options to make the list less imposing. 1321 # This message is too long to be a string in the A/UX 3.1 sh. 1322 cat <<_ACEOF 1323\`configure' configures libdvbpsi 1.3.3 to adapt to many kinds of systems. 1324 1325Usage: $0 [OPTION]... [VAR=VALUE]... 1326 1327To assign environment variables (e.g., CC, CFLAGS...), specify them as 1328VAR=VALUE. See below for descriptions of some of the useful variables. 1329 1330Defaults for the options are specified in brackets. 1331 1332Configuration: 1333 -h, --help display this help and exit 1334 --help=short display options specific to this package 1335 --help=recursive display the short help of all the included packages 1336 -V, --version display version information and exit 1337 -q, --quiet, --silent do not print \`checking ...' messages 1338 --cache-file=FILE cache test results in FILE [disabled] 1339 -C, --config-cache alias for \`--cache-file=config.cache' 1340 -n, --no-create do not create output files 1341 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1342 1343Installation directories: 1344 --prefix=PREFIX install architecture-independent files in PREFIX 1345 [$ac_default_prefix] 1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1347 [PREFIX] 1348 1349By default, \`make install' will install all the files in 1350\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1351an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1352for instance \`--prefix=\$HOME'. 1353 1354For better control, use the options below. 1355 1356Fine tuning of the installation directories: 1357 --bindir=DIR user executables [EPREFIX/bin] 1358 --sbindir=DIR system admin executables [EPREFIX/sbin] 1359 --libexecdir=DIR program executables [EPREFIX/libexec] 1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1363 --libdir=DIR object code libraries [EPREFIX/lib] 1364 --includedir=DIR C header files [PREFIX/include] 1365 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1368 --infodir=DIR info documentation [DATAROOTDIR/info] 1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1370 --mandir=DIR man documentation [DATAROOTDIR/man] 1371 --docdir=DIR documentation root [DATAROOTDIR/doc/libdvbpsi] 1372 --htmldir=DIR html documentation [DOCDIR] 1373 --dvidir=DIR dvi documentation [DOCDIR] 1374 --pdfdir=DIR pdf documentation [DOCDIR] 1375 --psdir=DIR ps documentation [DOCDIR] 1376_ACEOF 1377 1378 cat <<\_ACEOF 1379 1380Program names: 1381 --program-prefix=PREFIX prepend PREFIX to installed program names 1382 --program-suffix=SUFFIX append SUFFIX to installed program names 1383 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1384 1385System types: 1386 --build=BUILD configure for building on BUILD [guessed] 1387 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1388 --target=TARGET configure for building compilers for TARGET [HOST] 1389_ACEOF 1390fi 1391 1392if test -n "$ac_init_help"; then 1393 case $ac_init_help in 1394 short | recursive ) echo "Configuration of libdvbpsi 1.3.3:";; 1395 esac 1396 cat <<\_ACEOF 1397 1398Optional Features: 1399 --disable-option-checking ignore unrecognized --enable/--with options 1400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1402 --enable-silent-rules less verbose build output (undo: "make V=1") 1403 --disable-silent-rules verbose build output (undo: "make V=0") 1404 --enable-dependency-tracking 1405 do not reject slow dependency extractors 1406 --disable-dependency-tracking 1407 speeds up one-time build 1408 --enable-shared[=PKGS] build shared libraries [default=yes] 1409 --enable-static[=PKGS] build static libraries [default=yes] 1410 --enable-fast-install[=PKGS] 1411 optimize for fast installation [default=yes] 1412 --disable-libtool-lock avoid locking (might break parallel builds) 1413 --enable-debug Enable debug mode (default disabled) 1414 --enable-gcc-sanitize Use gcc address sanitizer (default disabled) 1415 --enable-release Enable release mode (default disabled) 1416 1417Optional Packages: 1418 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1419 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1420 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1421 both] 1422 --with-aix-soname=aix|svr4|both 1423 shared library versioning (aka "SONAME") variant to 1424 provide on AIX, [default=aix]. 1425 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1426 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1427 compiler's sysroot if not specified). 1428 1429Some influential environment variables: 1430 CC C compiler command 1431 CFLAGS C compiler flags 1432 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1433 nonstandard directory <lib dir> 1434 LIBS libraries to pass to the linker, e.g. -l<library> 1435 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1436 you have headers in a nonstandard directory <include dir> 1437 CPP C preprocessor 1438 LT_SYS_LIBRARY_PATH 1439 User-defined run-time library search path. 1440 1441Use these variables to override the choices made by `configure' or to help 1442it to find libraries and programs with nonstandard names/locations. 1443 1444Report bugs to the package provider. 1445_ACEOF 1446ac_status=$? 1447fi 1448 1449if test "$ac_init_help" = "recursive"; then 1450 # If there are subdirs, report their specific --help. 1451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1452 test -d "$ac_dir" || 1453 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1454 continue 1455 ac_builddir=. 1456 1457case "$ac_dir" in 1458.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1459*) 1460 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1461 # A ".." for each directory in $ac_dir_suffix. 1462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1463 case $ac_top_builddir_sub in 1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1466 esac ;; 1467esac 1468ac_abs_top_builddir=$ac_pwd 1469ac_abs_builddir=$ac_pwd$ac_dir_suffix 1470# for backward compatibility: 1471ac_top_builddir=$ac_top_build_prefix 1472 1473case $srcdir in 1474 .) # We are building in place. 1475 ac_srcdir=. 1476 ac_top_srcdir=$ac_top_builddir_sub 1477 ac_abs_top_srcdir=$ac_pwd ;; 1478 [\\/]* | ?:[\\/]* ) # Absolute name. 1479 ac_srcdir=$srcdir$ac_dir_suffix; 1480 ac_top_srcdir=$srcdir 1481 ac_abs_top_srcdir=$srcdir ;; 1482 *) # Relative name. 1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1484 ac_top_srcdir=$ac_top_build_prefix$srcdir 1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1486esac 1487ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1488 1489 cd "$ac_dir" || { ac_status=$?; continue; } 1490 # Check for guested configure. 1491 if test -f "$ac_srcdir/configure.gnu"; then 1492 echo && 1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1494 elif test -f "$ac_srcdir/configure"; then 1495 echo && 1496 $SHELL "$ac_srcdir/configure" --help=recursive 1497 else 1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1499 fi || ac_status=$? 1500 cd "$ac_pwd" || { ac_status=$?; break; } 1501 done 1502fi 1503 1504test -n "$ac_init_help" && exit $ac_status 1505if $ac_init_version; then 1506 cat <<\_ACEOF 1507libdvbpsi configure 1.3.3 1508generated by GNU Autoconf 2.69 1509 1510Copyright (C) 2012 Free Software Foundation, Inc. 1511This configure script is free software; the Free Software Foundation 1512gives unlimited permission to copy, distribute and modify it. 1513_ACEOF 1514 exit 1515fi 1516 1517## ------------------------ ## 1518## Autoconf initialization. ## 1519## ------------------------ ## 1520 1521# ac_fn_c_try_compile LINENO 1522# -------------------------- 1523# Try to compile conftest.$ac_ext, and return whether this succeeded. 1524ac_fn_c_try_compile () 1525{ 1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1527 rm -f conftest.$ac_objext 1528 if { { ac_try="$ac_compile" 1529case "(($ac_try" in 1530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1531 *) ac_try_echo=$ac_try;; 1532esac 1533eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1534$as_echo "$ac_try_echo"; } >&5 1535 (eval "$ac_compile") 2>conftest.err 1536 ac_status=$? 1537 if test -s conftest.err; then 1538 grep -v '^ *+' conftest.err >conftest.er1 1539 cat conftest.er1 >&5 1540 mv -f conftest.er1 conftest.err 1541 fi 1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1543 test $ac_status = 0; } && { 1544 test -z "$ac_c_werror_flag" || 1545 test ! -s conftest.err 1546 } && test -s conftest.$ac_objext; then : 1547 ac_retval=0 1548else 1549 $as_echo "$as_me: failed program was:" >&5 1550sed 's/^/| /' conftest.$ac_ext >&5 1551 1552 ac_retval=1 1553fi 1554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1555 as_fn_set_status $ac_retval 1556 1557} # ac_fn_c_try_compile 1558 1559# ac_fn_c_try_cpp LINENO 1560# ---------------------- 1561# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1562ac_fn_c_try_cpp () 1563{ 1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1565 if { { ac_try="$ac_cpp conftest.$ac_ext" 1566case "(($ac_try" in 1567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1568 *) ac_try_echo=$ac_try;; 1569esac 1570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1571$as_echo "$ac_try_echo"; } >&5 1572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1573 ac_status=$? 1574 if test -s conftest.err; then 1575 grep -v '^ *+' conftest.err >conftest.er1 1576 cat conftest.er1 >&5 1577 mv -f conftest.er1 conftest.err 1578 fi 1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1580 test $ac_status = 0; } > conftest.i && { 1581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1582 test ! -s conftest.err 1583 }; then : 1584 ac_retval=0 1585else 1586 $as_echo "$as_me: failed program was:" >&5 1587sed 's/^/| /' conftest.$ac_ext >&5 1588 1589 ac_retval=1 1590fi 1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1592 as_fn_set_status $ac_retval 1593 1594} # ac_fn_c_try_cpp 1595 1596# ac_fn_c_try_run LINENO 1597# ---------------------- 1598# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1599# that executables *can* be run. 1600ac_fn_c_try_run () 1601{ 1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1603 if { { ac_try="$ac_link" 1604case "(($ac_try" in 1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1606 *) ac_try_echo=$ac_try;; 1607esac 1608eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1609$as_echo "$ac_try_echo"; } >&5 1610 (eval "$ac_link") 2>&5 1611 ac_status=$? 1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1613 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1614 { { case "(($ac_try" in 1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1616 *) ac_try_echo=$ac_try;; 1617esac 1618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1619$as_echo "$ac_try_echo"; } >&5 1620 (eval "$ac_try") 2>&5 1621 ac_status=$? 1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1623 test $ac_status = 0; }; }; then : 1624 ac_retval=0 1625else 1626 $as_echo "$as_me: program exited with status $ac_status" >&5 1627 $as_echo "$as_me: failed program was:" >&5 1628sed 's/^/| /' conftest.$ac_ext >&5 1629 1630 ac_retval=$ac_status 1631fi 1632 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1634 as_fn_set_status $ac_retval 1635 1636} # ac_fn_c_try_run 1637 1638# ac_fn_c_try_link LINENO 1639# ----------------------- 1640# Try to link conftest.$ac_ext, and return whether this succeeded. 1641ac_fn_c_try_link () 1642{ 1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1644 rm -f conftest.$ac_objext conftest$ac_exeext 1645 if { { ac_try="$ac_link" 1646case "(($ac_try" in 1647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1648 *) ac_try_echo=$ac_try;; 1649esac 1650eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1651$as_echo "$ac_try_echo"; } >&5 1652 (eval "$ac_link") 2>conftest.err 1653 ac_status=$? 1654 if test -s conftest.err; then 1655 grep -v '^ *+' conftest.err >conftest.er1 1656 cat conftest.er1 >&5 1657 mv -f conftest.er1 conftest.err 1658 fi 1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1660 test $ac_status = 0; } && { 1661 test -z "$ac_c_werror_flag" || 1662 test ! -s conftest.err 1663 } && test -s conftest$ac_exeext && { 1664 test "$cross_compiling" = yes || 1665 test -x conftest$ac_exeext 1666 }; then : 1667 ac_retval=0 1668else 1669 $as_echo "$as_me: failed program was:" >&5 1670sed 's/^/| /' conftest.$ac_ext >&5 1671 1672 ac_retval=1 1673fi 1674 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1675 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1676 # interfere with the next link command; also delete a directory that is 1677 # left behind by Apple's compiler. We do this before executing the actions. 1678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1680 as_fn_set_status $ac_retval 1681 1682} # ac_fn_c_try_link 1683 1684# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1685# ------------------------------------------------------- 1686# Tests whether HEADER exists and can be compiled using the include files in 1687# INCLUDES, setting the cache variable VAR accordingly. 1688ac_fn_c_check_header_compile () 1689{ 1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1692$as_echo_n "checking for $2... " >&6; } 1693if eval \${$3+:} false; then : 1694 $as_echo_n "(cached) " >&6 1695else 1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1697/* end confdefs.h. */ 1698$4 1699#include <$2> 1700_ACEOF 1701if ac_fn_c_try_compile "$LINENO"; then : 1702 eval "$3=yes" 1703else 1704 eval "$3=no" 1705fi 1706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1707fi 1708eval ac_res=\$$3 1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1710$as_echo "$ac_res" >&6; } 1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1712 1713} # ac_fn_c_check_header_compile 1714 1715# ac_fn_c_check_func LINENO FUNC VAR 1716# ---------------------------------- 1717# Tests whether FUNC exists, setting the cache variable VAR accordingly 1718ac_fn_c_check_func () 1719{ 1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1722$as_echo_n "checking for $2... " >&6; } 1723if eval \${$3+:} false; then : 1724 $as_echo_n "(cached) " >&6 1725else 1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1727/* end confdefs.h. */ 1728/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1729 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1730#define $2 innocuous_$2 1731 1732/* System header to define __stub macros and hopefully few prototypes, 1733 which can conflict with char $2 (); below. 1734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1735 <limits.h> exists even on freestanding compilers. */ 1736 1737#ifdef __STDC__ 1738# include <limits.h> 1739#else 1740# include <assert.h> 1741#endif 1742 1743#undef $2 1744 1745/* Override any GCC internal prototype to avoid an error. 1746 Use char because int might match the return type of a GCC 1747 builtin and then its argument prototype would still apply. */ 1748#ifdef __cplusplus 1749extern "C" 1750#endif 1751char $2 (); 1752/* The GNU C library defines this for functions which it implements 1753 to always fail with ENOSYS. Some functions are actually named 1754 something starting with __ and the normal name is an alias. */ 1755#if defined __stub_$2 || defined __stub___$2 1756choke me 1757#endif 1758 1759int 1760main () 1761{ 1762return $2 (); 1763 ; 1764 return 0; 1765} 1766_ACEOF 1767if ac_fn_c_try_link "$LINENO"; then : 1768 eval "$3=yes" 1769else 1770 eval "$3=no" 1771fi 1772rm -f core conftest.err conftest.$ac_objext \ 1773 conftest$ac_exeext conftest.$ac_ext 1774fi 1775eval ac_res=\$$3 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1777$as_echo "$ac_res" >&6; } 1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1779 1780} # ac_fn_c_check_func 1781 1782# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1783# ------------------------------------------------------- 1784# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1785# the include files in INCLUDES and setting the cache variable VAR 1786# accordingly. 1787ac_fn_c_check_header_mongrel () 1788{ 1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1790 if eval \${$3+:} false; then : 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1792$as_echo_n "checking for $2... " >&6; } 1793if eval \${$3+:} false; then : 1794 $as_echo_n "(cached) " >&6 1795fi 1796eval ac_res=\$$3 1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1798$as_echo "$ac_res" >&6; } 1799else 1800 # Is the header compilable? 1801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1802$as_echo_n "checking $2 usability... " >&6; } 1803cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1804/* end confdefs.h. */ 1805$4 1806#include <$2> 1807_ACEOF 1808if ac_fn_c_try_compile "$LINENO"; then : 1809 ac_header_compiler=yes 1810else 1811 ac_header_compiler=no 1812fi 1813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1815$as_echo "$ac_header_compiler" >&6; } 1816 1817# Is the header present? 1818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1819$as_echo_n "checking $2 presence... " >&6; } 1820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1821/* end confdefs.h. */ 1822#include <$2> 1823_ACEOF 1824if ac_fn_c_try_cpp "$LINENO"; then : 1825 ac_header_preproc=yes 1826else 1827 ac_header_preproc=no 1828fi 1829rm -f conftest.err conftest.i conftest.$ac_ext 1830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1831$as_echo "$ac_header_preproc" >&6; } 1832 1833# So? What about this header? 1834case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1835 yes:no: ) 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1837$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1839$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1840 ;; 1841 no:yes:* ) 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1843$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1845$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1847$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1849$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1851$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1852 ;; 1853esac 1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1855$as_echo_n "checking for $2... " >&6; } 1856if eval \${$3+:} false; then : 1857 $as_echo_n "(cached) " >&6 1858else 1859 eval "$3=\$ac_header_compiler" 1860fi 1861eval ac_res=\$$3 1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1863$as_echo "$ac_res" >&6; } 1864fi 1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1866 1867} # ac_fn_c_check_header_mongrel 1868cat >config.log <<_ACEOF 1869This file contains any messages produced by compilers while 1870running configure, to aid debugging if configure makes a mistake. 1871 1872It was created by libdvbpsi $as_me 1.3.3, which was 1873generated by GNU Autoconf 2.69. Invocation command line was 1874 1875 $ $0 $@ 1876 1877_ACEOF 1878exec 5>>config.log 1879{ 1880cat <<_ASUNAME 1881## --------- ## 1882## Platform. ## 1883## --------- ## 1884 1885hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1886uname -m = `(uname -m) 2>/dev/null || echo unknown` 1887uname -r = `(uname -r) 2>/dev/null || echo unknown` 1888uname -s = `(uname -s) 2>/dev/null || echo unknown` 1889uname -v = `(uname -v) 2>/dev/null || echo unknown` 1890 1891/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1892/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1893 1894/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1895/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1896/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1897/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1898/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1899/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1900/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1901 1902_ASUNAME 1903 1904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1905for as_dir in $PATH 1906do 1907 IFS=$as_save_IFS 1908 test -z "$as_dir" && as_dir=. 1909 $as_echo "PATH: $as_dir" 1910 done 1911IFS=$as_save_IFS 1912 1913} >&5 1914 1915cat >&5 <<_ACEOF 1916 1917 1918## ----------- ## 1919## Core tests. ## 1920## ----------- ## 1921 1922_ACEOF 1923 1924 1925# Keep a trace of the command line. 1926# Strip out --no-create and --no-recursion so they do not pile up. 1927# Strip out --silent because we don't want to record it for future runs. 1928# Also quote any args containing shell meta-characters. 1929# Make two passes to allow for proper duplicate-argument suppression. 1930ac_configure_args= 1931ac_configure_args0= 1932ac_configure_args1= 1933ac_must_keep_next=false 1934for ac_pass in 1 2 1935do 1936 for ac_arg 1937 do 1938 case $ac_arg in 1939 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1940 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1941 | -silent | --silent | --silen | --sile | --sil) 1942 continue ;; 1943 *\'*) 1944 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1945 esac 1946 case $ac_pass in 1947 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1948 2) 1949 as_fn_append ac_configure_args1 " '$ac_arg'" 1950 if test $ac_must_keep_next = true; then 1951 ac_must_keep_next=false # Got value, back to normal. 1952 else 1953 case $ac_arg in 1954 *=* | --config-cache | -C | -disable-* | --disable-* \ 1955 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1956 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1957 | -with-* | --with-* | -without-* | --without-* | --x) 1958 case "$ac_configure_args0 " in 1959 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1960 esac 1961 ;; 1962 -* ) ac_must_keep_next=true ;; 1963 esac 1964 fi 1965 as_fn_append ac_configure_args " '$ac_arg'" 1966 ;; 1967 esac 1968 done 1969done 1970{ ac_configure_args0=; unset ac_configure_args0;} 1971{ ac_configure_args1=; unset ac_configure_args1;} 1972 1973# When interrupted or exit'd, cleanup temporary files, and complete 1974# config.log. We remove comments because anyway the quotes in there 1975# would cause problems or look ugly. 1976# WARNING: Use '\'' to represent an apostrophe within the trap. 1977# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1978trap 'exit_status=$? 1979 # Save into config.log some information that might help in debugging. 1980 { 1981 echo 1982 1983 $as_echo "## ---------------- ## 1984## Cache variables. ## 1985## ---------------- ##" 1986 echo 1987 # The following way of writing the cache mishandles newlines in values, 1988( 1989 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1990 eval ac_val=\$$ac_var 1991 case $ac_val in #( 1992 *${as_nl}*) 1993 case $ac_var in #( 1994 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1995$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1996 esac 1997 case $ac_var in #( 1998 _ | IFS | as_nl) ;; #( 1999 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2000 *) { eval $ac_var=; unset $ac_var;} ;; 2001 esac ;; 2002 esac 2003 done 2004 (set) 2>&1 | 2005 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2006 *${as_nl}ac_space=\ *) 2007 sed -n \ 2008 "s/'\''/'\''\\\\'\'''\''/g; 2009 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2010 ;; #( 2011 *) 2012 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2013 ;; 2014 esac | 2015 sort 2016) 2017 echo 2018 2019 $as_echo "## ----------------- ## 2020## Output variables. ## 2021## ----------------- ##" 2022 echo 2023 for ac_var in $ac_subst_vars 2024 do 2025 eval ac_val=\$$ac_var 2026 case $ac_val in 2027 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2028 esac 2029 $as_echo "$ac_var='\''$ac_val'\''" 2030 done | sort 2031 echo 2032 2033 if test -n "$ac_subst_files"; then 2034 $as_echo "## ------------------- ## 2035## File substitutions. ## 2036## ------------------- ##" 2037 echo 2038 for ac_var in $ac_subst_files 2039 do 2040 eval ac_val=\$$ac_var 2041 case $ac_val in 2042 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2043 esac 2044 $as_echo "$ac_var='\''$ac_val'\''" 2045 done | sort 2046 echo 2047 fi 2048 2049 if test -s confdefs.h; then 2050 $as_echo "## ----------- ## 2051## confdefs.h. ## 2052## ----------- ##" 2053 echo 2054 cat confdefs.h 2055 echo 2056 fi 2057 test "$ac_signal" != 0 && 2058 $as_echo "$as_me: caught signal $ac_signal" 2059 $as_echo "$as_me: exit $exit_status" 2060 } >&5 2061 rm -f core *.core core.conftest.* && 2062 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2063 exit $exit_status 2064' 0 2065for ac_signal in 1 2 13 15; do 2066 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2067done 2068ac_signal=0 2069 2070# confdefs.h avoids OS command line length limits that DEFS can exceed. 2071rm -f -r conftest* confdefs.h 2072 2073$as_echo "/* confdefs.h */" > confdefs.h 2074 2075# Predefined preprocessor variables. 2076 2077cat >>confdefs.h <<_ACEOF 2078#define PACKAGE_NAME "$PACKAGE_NAME" 2079_ACEOF 2080 2081cat >>confdefs.h <<_ACEOF 2082#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2083_ACEOF 2084 2085cat >>confdefs.h <<_ACEOF 2086#define PACKAGE_VERSION "$PACKAGE_VERSION" 2087_ACEOF 2088 2089cat >>confdefs.h <<_ACEOF 2090#define PACKAGE_STRING "$PACKAGE_STRING" 2091_ACEOF 2092 2093cat >>confdefs.h <<_ACEOF 2094#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2095_ACEOF 2096 2097cat >>confdefs.h <<_ACEOF 2098#define PACKAGE_URL "$PACKAGE_URL" 2099_ACEOF 2100 2101 2102# Let the site file select an alternate cache file if it wants to. 2103# Prefer an explicitly selected file to automatically selected ones. 2104ac_site_file1=NONE 2105ac_site_file2=NONE 2106if test -n "$CONFIG_SITE"; then 2107 # We do not want a PATH search for config.site. 2108 case $CONFIG_SITE in #(( 2109 -*) ac_site_file1=./$CONFIG_SITE;; 2110 */*) ac_site_file1=$CONFIG_SITE;; 2111 *) ac_site_file1=./$CONFIG_SITE;; 2112 esac 2113elif test "x$prefix" != xNONE; then 2114 ac_site_file1=$prefix/share/config.site 2115 ac_site_file2=$prefix/etc/config.site 2116else 2117 ac_site_file1=$ac_default_prefix/share/config.site 2118 ac_site_file2=$ac_default_prefix/etc/config.site 2119fi 2120for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2121do 2122 test "x$ac_site_file" = xNONE && continue 2123 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2125$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2126 sed 's/^/| /' "$ac_site_file" >&5 2127 . "$ac_site_file" \ 2128 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2129$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2130as_fn_error $? "failed to load site script $ac_site_file 2131See \`config.log' for more details" "$LINENO" 5; } 2132 fi 2133done 2134 2135if test -r "$cache_file"; then 2136 # Some versions of bash will fail to source /dev/null (special files 2137 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2138 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2139 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2140$as_echo "$as_me: loading cache $cache_file" >&6;} 2141 case $cache_file in 2142 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2143 *) . "./$cache_file";; 2144 esac 2145 fi 2146else 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2148$as_echo "$as_me: creating cache $cache_file" >&6;} 2149 >$cache_file 2150fi 2151 2152# Check that the precious variables saved in the cache have kept the same 2153# value. 2154ac_cache_corrupted=false 2155for ac_var in $ac_precious_vars; do 2156 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2157 eval ac_new_set=\$ac_env_${ac_var}_set 2158 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2159 eval ac_new_val=\$ac_env_${ac_var}_value 2160 case $ac_old_set,$ac_new_set in 2161 set,) 2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2163$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2164 ac_cache_corrupted=: ;; 2165 ,set) 2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2167$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2168 ac_cache_corrupted=: ;; 2169 ,);; 2170 *) 2171 if test "x$ac_old_val" != "x$ac_new_val"; then 2172 # differences in whitespace do not lead to failure. 2173 ac_old_val_w=`echo x $ac_old_val` 2174 ac_new_val_w=`echo x $ac_new_val` 2175 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2177$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2178 ac_cache_corrupted=: 2179 else 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2181$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2182 eval $ac_var=\$ac_old_val 2183 fi 2184 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2185$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2187$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2188 fi;; 2189 esac 2190 # Pass precious variables to config.status. 2191 if test "$ac_new_set" = set; then 2192 case $ac_new_val in 2193 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2194 *) ac_arg=$ac_var=$ac_new_val ;; 2195 esac 2196 case " $ac_configure_args " in 2197 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2198 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2199 esac 2200 fi 2201done 2202if $ac_cache_corrupted; then 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2206$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2207 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2208fi 2209## -------------------- ## 2210## Main body of script. ## 2211## -------------------- ## 2212 2213ac_ext=c 2214ac_cpp='$CPP $CPPFLAGS' 2215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2217ac_compiler_gnu=$ac_cv_c_compiler_gnu 2218 2219 2220 2221 2222ac_aux_dir= 2223for ac_dir in .auto "$srcdir"/.auto; do 2224 if test -f "$ac_dir/install-sh"; then 2225 ac_aux_dir=$ac_dir 2226 ac_install_sh="$ac_aux_dir/install-sh -c" 2227 break 2228 elif test -f "$ac_dir/install.sh"; then 2229 ac_aux_dir=$ac_dir 2230 ac_install_sh="$ac_aux_dir/install.sh -c" 2231 break 2232 elif test -f "$ac_dir/shtool"; then 2233 ac_aux_dir=$ac_dir 2234 ac_install_sh="$ac_aux_dir/shtool install -c" 2235 break 2236 fi 2237done 2238if test -z "$ac_aux_dir"; then 2239 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .auto \"$srcdir\"/.auto" "$LINENO" 5 2240fi 2241 2242# These three variables are undocumented and unsupported, 2243# and are intended to be withdrawn in a future Autoconf release. 2244# They can cause serious problems if a builder's source tree is in a directory 2245# whose full name contains unusual characters. 2246ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2247ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2248ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2249 2250 2251# Make sure we can run config.sub. 2252$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2253 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2254 2255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2256$as_echo_n "checking build system type... " >&6; } 2257if ${ac_cv_build+:} false; then : 2258 $as_echo_n "(cached) " >&6 2259else 2260 ac_build_alias=$build_alias 2261test "x$ac_build_alias" = x && 2262 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2263test "x$ac_build_alias" = x && 2264 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2265ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2266 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2267 2268fi 2269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2270$as_echo "$ac_cv_build" >&6; } 2271case $ac_cv_build in 2272*-*-*) ;; 2273*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2274esac 2275build=$ac_cv_build 2276ac_save_IFS=$IFS; IFS='-' 2277set x $ac_cv_build 2278shift 2279build_cpu=$1 2280build_vendor=$2 2281shift; shift 2282# Remember, the first character of IFS is used to create $*, 2283# except with old shells: 2284build_os=$* 2285IFS=$ac_save_IFS 2286case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2287 2288 2289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2290$as_echo_n "checking host system type... " >&6; } 2291if ${ac_cv_host+:} false; then : 2292 $as_echo_n "(cached) " >&6 2293else 2294 if test "x$host_alias" = x; then 2295 ac_cv_host=$ac_cv_build 2296else 2297 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2298 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2299fi 2300 2301fi 2302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2303$as_echo "$ac_cv_host" >&6; } 2304case $ac_cv_host in 2305*-*-*) ;; 2306*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2307esac 2308host=$ac_cv_host 2309ac_save_IFS=$IFS; IFS='-' 2310set x $ac_cv_host 2311shift 2312host_cpu=$1 2313host_vendor=$2 2314shift; shift 2315# Remember, the first character of IFS is used to create $*, 2316# except with old shells: 2317host_os=$* 2318IFS=$ac_save_IFS 2319case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2320 2321 2322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2323$as_echo_n "checking target system type... " >&6; } 2324if ${ac_cv_target+:} false; then : 2325 $as_echo_n "(cached) " >&6 2326else 2327 if test "x$target_alias" = x; then 2328 ac_cv_target=$ac_cv_host 2329else 2330 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2331 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2332fi 2333 2334fi 2335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2336$as_echo "$ac_cv_target" >&6; } 2337case $ac_cv_target in 2338*-*-*) ;; 2339*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2340esac 2341target=$ac_cv_target 2342ac_save_IFS=$IFS; IFS='-' 2343set x $ac_cv_target 2344shift 2345target_cpu=$1 2346target_vendor=$2 2347shift; shift 2348# Remember, the first character of IFS is used to create $*, 2349# except with old shells: 2350target_os=$* 2351IFS=$ac_save_IFS 2352case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2353 2354 2355# The aliases save the names the user supplied, while $host etc. 2356# will get canonicalized. 2357test -n "$target_alias" && 2358 test "$program_prefix$program_suffix$program_transform_name" = \ 2359 NONENONEs,x,x, && 2360 program_prefix=${target_alias}- 2361 2362 2363 2364am__api_version='1.15' 2365 2366# Find a good install program. We prefer a C program (faster), 2367# so one script is as good as another. But avoid the broken or 2368# incompatible versions: 2369# SysV /etc/install, /usr/sbin/install 2370# SunOS /usr/etc/install 2371# IRIX /sbin/install 2372# AIX /bin/install 2373# AmigaOS /C/install, which installs bootblocks on floppy discs 2374# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2375# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2376# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2377# OS/2's system install, which has a completely different semantic 2378# ./install, which can be erroneously created by make from ./install.sh. 2379# Reject install programs that cannot install multiple files. 2380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2381$as_echo_n "checking for a BSD-compatible install... " >&6; } 2382if test -z "$INSTALL"; then 2383if ${ac_cv_path_install+:} false; then : 2384 $as_echo_n "(cached) " >&6 2385else 2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2387for as_dir in $PATH 2388do 2389 IFS=$as_save_IFS 2390 test -z "$as_dir" && as_dir=. 2391 # Account for people who put trailing slashes in PATH elements. 2392case $as_dir/ in #(( 2393 ./ | .// | /[cC]/* | \ 2394 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2395 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2396 /usr/ucb/* ) ;; 2397 *) 2398 # OSF1 and SCO ODT 3.0 have their own names for install. 2399 # Don't use installbsd from OSF since it installs stuff as root 2400 # by default. 2401 for ac_prog in ginstall scoinst install; do 2402 for ac_exec_ext in '' $ac_executable_extensions; do 2403 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2404 if test $ac_prog = install && 2405 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2406 # AIX install. It has an incompatible calling convention. 2407 : 2408 elif test $ac_prog = install && 2409 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2410 # program-specific install script used by HP pwplus--don't use. 2411 : 2412 else 2413 rm -rf conftest.one conftest.two conftest.dir 2414 echo one > conftest.one 2415 echo two > conftest.two 2416 mkdir conftest.dir 2417 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2418 test -s conftest.one && test -s conftest.two && 2419 test -s conftest.dir/conftest.one && 2420 test -s conftest.dir/conftest.two 2421 then 2422 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2423 break 3 2424 fi 2425 fi 2426 fi 2427 done 2428 done 2429 ;; 2430esac 2431 2432 done 2433IFS=$as_save_IFS 2434 2435rm -rf conftest.one conftest.two conftest.dir 2436 2437fi 2438 if test "${ac_cv_path_install+set}" = set; then 2439 INSTALL=$ac_cv_path_install 2440 else 2441 # As a last resort, use the slow shell script. Don't cache a 2442 # value for INSTALL within a source directory, because that will 2443 # break other packages using the cache if that directory is 2444 # removed, or if the value is a relative name. 2445 INSTALL=$ac_install_sh 2446 fi 2447fi 2448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2449$as_echo "$INSTALL" >&6; } 2450 2451# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2452# It thinks the first close brace ends the variable substitution. 2453test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2454 2455test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2456 2457test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2458 2459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2460$as_echo_n "checking whether build environment is sane... " >&6; } 2461# Reject unsafe characters in $srcdir or the absolute working directory 2462# name. Accept space and tab only in the latter. 2463am_lf=' 2464' 2465case `pwd` in 2466 *[\\\"\#\$\&\'\`$am_lf]*) 2467 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2468esac 2469case $srcdir in 2470 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2471 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2472esac 2473 2474# Do 'set' in a subshell so we don't clobber the current shell's 2475# arguments. Must try -L first in case configure is actually a 2476# symlink; some systems play weird games with the mod time of symlinks 2477# (eg FreeBSD returns the mod time of the symlink's containing 2478# directory). 2479if ( 2480 am_has_slept=no 2481 for am_try in 1 2; do 2482 echo "timestamp, slept: $am_has_slept" > conftest.file 2483 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2484 if test "$*" = "X"; then 2485 # -L didn't work. 2486 set X `ls -t "$srcdir/configure" conftest.file` 2487 fi 2488 if test "$*" != "X $srcdir/configure conftest.file" \ 2489 && test "$*" != "X conftest.file $srcdir/configure"; then 2490 2491 # If neither matched, then we have a broken ls. This can happen 2492 # if, for instance, CONFIG_SHELL is bash and it inherits a 2493 # broken ls alias from the environment. This has actually 2494 # happened. Such a system could not be considered "sane". 2495 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2496 alias in your environment" "$LINENO" 5 2497 fi 2498 if test "$2" = conftest.file || test $am_try -eq 2; then 2499 break 2500 fi 2501 # Just in case. 2502 sleep 1 2503 am_has_slept=yes 2504 done 2505 test "$2" = conftest.file 2506 ) 2507then 2508 # Ok. 2509 : 2510else 2511 as_fn_error $? "newly created file is older than distributed files! 2512Check your system clock" "$LINENO" 5 2513fi 2514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2515$as_echo "yes" >&6; } 2516# If we didn't sleep, we still need to ensure time stamps of config.status and 2517# generated files are strictly newer. 2518am_sleep_pid= 2519if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2520 ( sleep 1 ) & 2521 am_sleep_pid=$! 2522fi 2523 2524rm -f conftest.file 2525 2526test "$program_prefix" != NONE && 2527 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2528# Use a double $ so make ignores it. 2529test "$program_suffix" != NONE && 2530 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2531# Double any \ or $. 2532# By default was `s,x,x', remove it if useless. 2533ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2534program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2535 2536# Expand $ac_aux_dir to an absolute path. 2537am_aux_dir=`cd "$ac_aux_dir" && pwd` 2538 2539if test x"${MISSING+set}" != xset; then 2540 case $am_aux_dir in 2541 *\ * | *\ *) 2542 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2543 *) 2544 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2545 esac 2546fi 2547# Use eval to expand $SHELL 2548if eval "$MISSING --is-lightweight"; then 2549 am_missing_run="$MISSING " 2550else 2551 am_missing_run= 2552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2553$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2554fi 2555 2556if test x"${install_sh+set}" != xset; then 2557 case $am_aux_dir in 2558 *\ * | *\ *) 2559 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2560 *) 2561 install_sh="\${SHELL} $am_aux_dir/install-sh" 2562 esac 2563fi 2564 2565# Installed binaries are usually stripped using 'strip' when the user 2566# run "make install-strip". However 'strip' might not be the right 2567# tool to use in cross-compilation environments, therefore Automake 2568# will honor the 'STRIP' environment variable to overrule this program. 2569if test "$cross_compiling" != no; then 2570 if test -n "$ac_tool_prefix"; then 2571 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2572set dummy ${ac_tool_prefix}strip; ac_word=$2 2573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2574$as_echo_n "checking for $ac_word... " >&6; } 2575if ${ac_cv_prog_STRIP+:} false; then : 2576 $as_echo_n "(cached) " >&6 2577else 2578 if test -n "$STRIP"; then 2579 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2580else 2581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2582for as_dir in $PATH 2583do 2584 IFS=$as_save_IFS 2585 test -z "$as_dir" && as_dir=. 2586 for ac_exec_ext in '' $ac_executable_extensions; do 2587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2588 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2590 break 2 2591 fi 2592done 2593 done 2594IFS=$as_save_IFS 2595 2596fi 2597fi 2598STRIP=$ac_cv_prog_STRIP 2599if test -n "$STRIP"; then 2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2601$as_echo "$STRIP" >&6; } 2602else 2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2604$as_echo "no" >&6; } 2605fi 2606 2607 2608fi 2609if test -z "$ac_cv_prog_STRIP"; then 2610 ac_ct_STRIP=$STRIP 2611 # Extract the first word of "strip", so it can be a program name with args. 2612set dummy strip; ac_word=$2 2613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2614$as_echo_n "checking for $ac_word... " >&6; } 2615if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2616 $as_echo_n "(cached) " >&6 2617else 2618 if test -n "$ac_ct_STRIP"; then 2619 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2620else 2621as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2622for as_dir in $PATH 2623do 2624 IFS=$as_save_IFS 2625 test -z "$as_dir" && as_dir=. 2626 for ac_exec_ext in '' $ac_executable_extensions; do 2627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2628 ac_cv_prog_ac_ct_STRIP="strip" 2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2630 break 2 2631 fi 2632done 2633 done 2634IFS=$as_save_IFS 2635 2636fi 2637fi 2638ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2639if test -n "$ac_ct_STRIP"; then 2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2641$as_echo "$ac_ct_STRIP" >&6; } 2642else 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2644$as_echo "no" >&6; } 2645fi 2646 2647 if test "x$ac_ct_STRIP" = x; then 2648 STRIP=":" 2649 else 2650 case $cross_compiling:$ac_tool_warned in 2651yes:) 2652{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2653$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2654ac_tool_warned=yes ;; 2655esac 2656 STRIP=$ac_ct_STRIP 2657 fi 2658else 2659 STRIP="$ac_cv_prog_STRIP" 2660fi 2661 2662fi 2663INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2664 2665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2666$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2667if test -z "$MKDIR_P"; then 2668 if ${ac_cv_path_mkdir+:} false; then : 2669 $as_echo_n "(cached) " >&6 2670else 2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2672for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2673do 2674 IFS=$as_save_IFS 2675 test -z "$as_dir" && as_dir=. 2676 for ac_prog in mkdir gmkdir; do 2677 for ac_exec_ext in '' $ac_executable_extensions; do 2678 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2679 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2680 'mkdir (GNU coreutils) '* | \ 2681 'mkdir (coreutils) '* | \ 2682 'mkdir (fileutils) '4.1*) 2683 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2684 break 3;; 2685 esac 2686 done 2687 done 2688 done 2689IFS=$as_save_IFS 2690 2691fi 2692 2693 test -d ./--version && rmdir ./--version 2694 if test "${ac_cv_path_mkdir+set}" = set; then 2695 MKDIR_P="$ac_cv_path_mkdir -p" 2696 else 2697 # As a last resort, use the slow shell script. Don't cache a 2698 # value for MKDIR_P within a source directory, because that will 2699 # break other packages using the cache if that directory is 2700 # removed, or if the value is a relative name. 2701 MKDIR_P="$ac_install_sh -d" 2702 fi 2703fi 2704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2705$as_echo "$MKDIR_P" >&6; } 2706 2707for ac_prog in gawk mawk nawk awk 2708do 2709 # Extract the first word of "$ac_prog", so it can be a program name with args. 2710set dummy $ac_prog; ac_word=$2 2711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2712$as_echo_n "checking for $ac_word... " >&6; } 2713if ${ac_cv_prog_AWK+:} false; then : 2714 $as_echo_n "(cached) " >&6 2715else 2716 if test -n "$AWK"; then 2717 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2718else 2719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2720for as_dir in $PATH 2721do 2722 IFS=$as_save_IFS 2723 test -z "$as_dir" && as_dir=. 2724 for ac_exec_ext in '' $ac_executable_extensions; do 2725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2726 ac_cv_prog_AWK="$ac_prog" 2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2728 break 2 2729 fi 2730done 2731 done 2732IFS=$as_save_IFS 2733 2734fi 2735fi 2736AWK=$ac_cv_prog_AWK 2737if test -n "$AWK"; then 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2739$as_echo "$AWK" >&6; } 2740else 2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2742$as_echo "no" >&6; } 2743fi 2744 2745 2746 test -n "$AWK" && break 2747done 2748 2749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2750$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2751set x ${MAKE-make} 2752ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2753if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2754 $as_echo_n "(cached) " >&6 2755else 2756 cat >conftest.make <<\_ACEOF 2757SHELL = /bin/sh 2758all: 2759 @echo '@@@%%%=$(MAKE)=@@@%%%' 2760_ACEOF 2761# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2762case `${MAKE-make} -f conftest.make 2>/dev/null` in 2763 *@@@%%%=?*=@@@%%%*) 2764 eval ac_cv_prog_make_${ac_make}_set=yes;; 2765 *) 2766 eval ac_cv_prog_make_${ac_make}_set=no;; 2767esac 2768rm -f conftest.make 2769fi 2770if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2772$as_echo "yes" >&6; } 2773 SET_MAKE= 2774else 2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2776$as_echo "no" >&6; } 2777 SET_MAKE="MAKE=${MAKE-make}" 2778fi 2779 2780rm -rf .tst 2>/dev/null 2781mkdir .tst 2>/dev/null 2782if test -d .tst; then 2783 am__leading_dot=. 2784else 2785 am__leading_dot=_ 2786fi 2787rmdir .tst 2>/dev/null 2788 2789# Check whether --enable-silent-rules was given. 2790if test "${enable_silent_rules+set}" = set; then : 2791 enableval=$enable_silent_rules; 2792fi 2793 2794case $enable_silent_rules in # ((( 2795 yes) AM_DEFAULT_VERBOSITY=0;; 2796 no) AM_DEFAULT_VERBOSITY=1;; 2797 *) AM_DEFAULT_VERBOSITY=1;; 2798esac 2799am_make=${MAKE-make} 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2801$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2802if ${am_cv_make_support_nested_variables+:} false; then : 2803 $as_echo_n "(cached) " >&6 2804else 2805 if $as_echo 'TRUE=$(BAR$(V)) 2806BAR0=false 2807BAR1=true 2808V=1 2809am__doit: 2810 @$(TRUE) 2811.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2812 am_cv_make_support_nested_variables=yes 2813else 2814 am_cv_make_support_nested_variables=no 2815fi 2816fi 2817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2818$as_echo "$am_cv_make_support_nested_variables" >&6; } 2819if test $am_cv_make_support_nested_variables = yes; then 2820 AM_V='$(V)' 2821 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2822else 2823 AM_V=$AM_DEFAULT_VERBOSITY 2824 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2825fi 2826AM_BACKSLASH='\' 2827 2828if test "`cd $srcdir && pwd`" != "`pwd`"; then 2829 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2830 # is not polluted with repeated "-I." 2831 am__isrc=' -I$(srcdir)' 2832 # test to see if srcdir already configured 2833 if test -f $srcdir/config.status; then 2834 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2835 fi 2836fi 2837 2838# test whether we have cygpath 2839if test -z "$CYGPATH_W"; then 2840 if (cygpath --version) >/dev/null 2>/dev/null; then 2841 CYGPATH_W='cygpath -w' 2842 else 2843 CYGPATH_W=echo 2844 fi 2845fi 2846 2847 2848# Define the identity of the package. 2849 PACKAGE='libdvbpsi' 2850 VERSION='1.3.3' 2851 2852 2853cat >>confdefs.h <<_ACEOF 2854#define PACKAGE "$PACKAGE" 2855_ACEOF 2856 2857 2858cat >>confdefs.h <<_ACEOF 2859#define VERSION "$VERSION" 2860_ACEOF 2861 2862# Some tools Automake needs. 2863 2864ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2865 2866 2867AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2868 2869 2870AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2871 2872 2873AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2874 2875 2876MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2877 2878# For better backward compatibility. To be removed once Automake 1.9.x 2879# dies out for good. For more background, see: 2880# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2881# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2882mkdir_p='$(MKDIR_P)' 2883 2884# We need awk for the "check" target (and possibly the TAP driver). The 2885# system "awk" is bad on some platforms. 2886# Always define AMTAR for backward compatibility. Yes, it's still used 2887# in the wild :-( We should find a proper way to deprecate it ... 2888AMTAR='$${TAR-tar}' 2889 2890 2891# We'll loop over all known methods to create a tar archive until one works. 2892_am_tools='gnutar pax cpio none' 2893 2894am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2895 2896 2897 2898 2899 2900 2901# POSIX will say in a future version that running "rm -f" with no argument 2902# is OK; and we want to be able to make that assumption in our Makefile 2903# recipes. So use an aggressive probe to check that the usage we want is 2904# actually supported "in the wild" to an acceptable degree. 2905# See automake bug#10828. 2906# To make any issue more visible, cause the running configure to be aborted 2907# by default if the 'rm' program in use doesn't match our expectations; the 2908# user can still override this though. 2909if rm -f && rm -fr && rm -rf; then : OK; else 2910 cat >&2 <<'END' 2911Oops! 2912 2913Your 'rm' program seems unable to run without file operands specified 2914on the command line, even when the '-f' option is present. This is contrary 2915to the behaviour of most rm programs out there, and not conforming with 2916the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2917 2918Please tell bug-automake@gnu.org about your system, including the value 2919of your $PATH and any error possibly output before this message. This 2920can help us improve future automake versions. 2921 2922END 2923 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2924 echo 'Configuration will proceed anyway, since you have set the' >&2 2925 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2926 echo >&2 2927 else 2928 cat >&2 <<'END' 2929Aborting the configuration process, to ensure you take notice of the issue. 2930 2931You can download and install GNU coreutils to get an 'rm' implementation 2932that behaves properly: <http://www.gnu.org/software/coreutils/>. 2933 2934If you want to complete the configuration process using your problematic 2935'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2936to "yes", and re-run configure. 2937 2938END 2939 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2940 fi 2941fi 2942 2943ac_config_headers="$ac_config_headers config.h" 2944 2945 2946 2947ac_ext=c 2948ac_cpp='$CPP $CPPFLAGS' 2949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2951ac_compiler_gnu=$ac_cv_c_compiler_gnu 2952if test -n "$ac_tool_prefix"; then 2953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2954set dummy ${ac_tool_prefix}gcc; ac_word=$2 2955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2956$as_echo_n "checking for $ac_word... " >&6; } 2957if ${ac_cv_prog_CC+:} false; then : 2958 $as_echo_n "(cached) " >&6 2959else 2960 if test -n "$CC"; then 2961 ac_cv_prog_CC="$CC" # Let the user override the test. 2962else 2963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2964for as_dir in $PATH 2965do 2966 IFS=$as_save_IFS 2967 test -z "$as_dir" && as_dir=. 2968 for ac_exec_ext in '' $ac_executable_extensions; do 2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2970 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2972 break 2 2973 fi 2974done 2975 done 2976IFS=$as_save_IFS 2977 2978fi 2979fi 2980CC=$ac_cv_prog_CC 2981if test -n "$CC"; then 2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2983$as_echo "$CC" >&6; } 2984else 2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2986$as_echo "no" >&6; } 2987fi 2988 2989 2990fi 2991if test -z "$ac_cv_prog_CC"; then 2992 ac_ct_CC=$CC 2993 # Extract the first word of "gcc", so it can be a program name with args. 2994set dummy gcc; ac_word=$2 2995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2996$as_echo_n "checking for $ac_word... " >&6; } 2997if ${ac_cv_prog_ac_ct_CC+:} false; then : 2998 $as_echo_n "(cached) " >&6 2999else 3000 if test -n "$ac_ct_CC"; then 3001 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3002else 3003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3004for as_dir in $PATH 3005do 3006 IFS=$as_save_IFS 3007 test -z "$as_dir" && as_dir=. 3008 for ac_exec_ext in '' $ac_executable_extensions; do 3009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3010 ac_cv_prog_ac_ct_CC="gcc" 3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3012 break 2 3013 fi 3014done 3015 done 3016IFS=$as_save_IFS 3017 3018fi 3019fi 3020ac_ct_CC=$ac_cv_prog_ac_ct_CC 3021if test -n "$ac_ct_CC"; then 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3023$as_echo "$ac_ct_CC" >&6; } 3024else 3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3026$as_echo "no" >&6; } 3027fi 3028 3029 if test "x$ac_ct_CC" = x; then 3030 CC="" 3031 else 3032 case $cross_compiling:$ac_tool_warned in 3033yes:) 3034{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3035$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3036ac_tool_warned=yes ;; 3037esac 3038 CC=$ac_ct_CC 3039 fi 3040else 3041 CC="$ac_cv_prog_CC" 3042fi 3043 3044if test -z "$CC"; then 3045 if test -n "$ac_tool_prefix"; then 3046 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3047set dummy ${ac_tool_prefix}cc; ac_word=$2 3048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3049$as_echo_n "checking for $ac_word... " >&6; } 3050if ${ac_cv_prog_CC+:} false; then : 3051 $as_echo_n "(cached) " >&6 3052else 3053 if test -n "$CC"; then 3054 ac_cv_prog_CC="$CC" # Let the user override the test. 3055else 3056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3057for as_dir in $PATH 3058do 3059 IFS=$as_save_IFS 3060 test -z "$as_dir" && as_dir=. 3061 for ac_exec_ext in '' $ac_executable_extensions; do 3062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3063 ac_cv_prog_CC="${ac_tool_prefix}cc" 3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3065 break 2 3066 fi 3067done 3068 done 3069IFS=$as_save_IFS 3070 3071fi 3072fi 3073CC=$ac_cv_prog_CC 3074if test -n "$CC"; then 3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3076$as_echo "$CC" >&6; } 3077else 3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3079$as_echo "no" >&6; } 3080fi 3081 3082 3083 fi 3084fi 3085if test -z "$CC"; then 3086 # Extract the first word of "cc", so it can be a program name with args. 3087set dummy cc; ac_word=$2 3088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3089$as_echo_n "checking for $ac_word... " >&6; } 3090if ${ac_cv_prog_CC+:} false; then : 3091 $as_echo_n "(cached) " >&6 3092else 3093 if test -n "$CC"; then 3094 ac_cv_prog_CC="$CC" # Let the user override the test. 3095else 3096 ac_prog_rejected=no 3097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3098for as_dir in $PATH 3099do 3100 IFS=$as_save_IFS 3101 test -z "$as_dir" && as_dir=. 3102 for ac_exec_ext in '' $ac_executable_extensions; do 3103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3104 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3105 ac_prog_rejected=yes 3106 continue 3107 fi 3108 ac_cv_prog_CC="cc" 3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3110 break 2 3111 fi 3112done 3113 done 3114IFS=$as_save_IFS 3115 3116if test $ac_prog_rejected = yes; then 3117 # We found a bogon in the path, so make sure we never use it. 3118 set dummy $ac_cv_prog_CC 3119 shift 3120 if test $# != 0; then 3121 # We chose a different compiler from the bogus one. 3122 # However, it has the same basename, so the bogon will be chosen 3123 # first if we set CC to just the basename; use the full file name. 3124 shift 3125 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3126 fi 3127fi 3128fi 3129fi 3130CC=$ac_cv_prog_CC 3131if test -n "$CC"; then 3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3133$as_echo "$CC" >&6; } 3134else 3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3136$as_echo "no" >&6; } 3137fi 3138 3139 3140fi 3141if test -z "$CC"; then 3142 if test -n "$ac_tool_prefix"; then 3143 for ac_prog in cl.exe 3144 do 3145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3146set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3148$as_echo_n "checking for $ac_word... " >&6; } 3149if ${ac_cv_prog_CC+:} false; then : 3150 $as_echo_n "(cached) " >&6 3151else 3152 if test -n "$CC"; then 3153 ac_cv_prog_CC="$CC" # Let the user override the test. 3154else 3155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3156for as_dir in $PATH 3157do 3158 IFS=$as_save_IFS 3159 test -z "$as_dir" && as_dir=. 3160 for ac_exec_ext in '' $ac_executable_extensions; do 3161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3162 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3164 break 2 3165 fi 3166done 3167 done 3168IFS=$as_save_IFS 3169 3170fi 3171fi 3172CC=$ac_cv_prog_CC 3173if test -n "$CC"; then 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3175$as_echo "$CC" >&6; } 3176else 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3178$as_echo "no" >&6; } 3179fi 3180 3181 3182 test -n "$CC" && break 3183 done 3184fi 3185if test -z "$CC"; then 3186 ac_ct_CC=$CC 3187 for ac_prog in cl.exe 3188do 3189 # Extract the first word of "$ac_prog", so it can be a program name with args. 3190set dummy $ac_prog; ac_word=$2 3191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3192$as_echo_n "checking for $ac_word... " >&6; } 3193if ${ac_cv_prog_ac_ct_CC+:} false; then : 3194 $as_echo_n "(cached) " >&6 3195else 3196 if test -n "$ac_ct_CC"; then 3197 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3198else 3199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3200for as_dir in $PATH 3201do 3202 IFS=$as_save_IFS 3203 test -z "$as_dir" && as_dir=. 3204 for ac_exec_ext in '' $ac_executable_extensions; do 3205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3206 ac_cv_prog_ac_ct_CC="$ac_prog" 3207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3208 break 2 3209 fi 3210done 3211 done 3212IFS=$as_save_IFS 3213 3214fi 3215fi 3216ac_ct_CC=$ac_cv_prog_ac_ct_CC 3217if test -n "$ac_ct_CC"; then 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3219$as_echo "$ac_ct_CC" >&6; } 3220else 3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3222$as_echo "no" >&6; } 3223fi 3224 3225 3226 test -n "$ac_ct_CC" && break 3227done 3228 3229 if test "x$ac_ct_CC" = x; then 3230 CC="" 3231 else 3232 case $cross_compiling:$ac_tool_warned in 3233yes:) 3234{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3235$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3236ac_tool_warned=yes ;; 3237esac 3238 CC=$ac_ct_CC 3239 fi 3240fi 3241 3242fi 3243 3244 3245test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3247as_fn_error $? "no acceptable C compiler found in \$PATH 3248See \`config.log' for more details" "$LINENO" 5; } 3249 3250# Provide some information about the compiler. 3251$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3252set X $ac_compile 3253ac_compiler=$2 3254for ac_option in --version -v -V -qversion; do 3255 { { ac_try="$ac_compiler $ac_option >&5" 3256case "(($ac_try" in 3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3258 *) ac_try_echo=$ac_try;; 3259esac 3260eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3261$as_echo "$ac_try_echo"; } >&5 3262 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3263 ac_status=$? 3264 if test -s conftest.err; then 3265 sed '10a\ 3266... rest of stderr output deleted ... 3267 10q' conftest.err >conftest.er1 3268 cat conftest.er1 >&5 3269 fi 3270 rm -f conftest.er1 conftest.err 3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3272 test $ac_status = 0; } 3273done 3274 3275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3276/* end confdefs.h. */ 3277 3278int 3279main () 3280{ 3281 3282 ; 3283 return 0; 3284} 3285_ACEOF 3286ac_clean_files_save=$ac_clean_files 3287ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3288# Try to create an executable without -o first, disregard a.out. 3289# It will help us diagnose broken compilers, and finding out an intuition 3290# of exeext. 3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3292$as_echo_n "checking whether the C compiler works... " >&6; } 3293ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3294 3295# The possible output files: 3296ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3297 3298ac_rmfiles= 3299for ac_file in $ac_files 3300do 3301 case $ac_file in 3302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3303 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3304 esac 3305done 3306rm -f $ac_rmfiles 3307 3308if { { ac_try="$ac_link_default" 3309case "(($ac_try" in 3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3311 *) ac_try_echo=$ac_try;; 3312esac 3313eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3314$as_echo "$ac_try_echo"; } >&5 3315 (eval "$ac_link_default") 2>&5 3316 ac_status=$? 3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3318 test $ac_status = 0; }; then : 3319 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3320# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3321# in a Makefile. We should not override ac_cv_exeext if it was cached, 3322# so that the user can short-circuit this test for compilers unknown to 3323# Autoconf. 3324for ac_file in $ac_files '' 3325do 3326 test -f "$ac_file" || continue 3327 case $ac_file in 3328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3329 ;; 3330 [ab].out ) 3331 # We found the default executable, but exeext='' is most 3332 # certainly right. 3333 break;; 3334 *.* ) 3335 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3336 then :; else 3337 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3338 fi 3339 # We set ac_cv_exeext here because the later test for it is not 3340 # safe: cross compilers may not add the suffix if given an `-o' 3341 # argument, so we may need to know it at that point already. 3342 # Even if this section looks crufty: it has the advantage of 3343 # actually working. 3344 break;; 3345 * ) 3346 break;; 3347 esac 3348done 3349test "$ac_cv_exeext" = no && ac_cv_exeext= 3350 3351else 3352 ac_file='' 3353fi 3354if test -z "$ac_file"; then : 3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3356$as_echo "no" >&6; } 3357$as_echo "$as_me: failed program was:" >&5 3358sed 's/^/| /' conftest.$ac_ext >&5 3359 3360{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3361$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3362as_fn_error 77 "C compiler cannot create executables 3363See \`config.log' for more details" "$LINENO" 5; } 3364else 3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3366$as_echo "yes" >&6; } 3367fi 3368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3369$as_echo_n "checking for C compiler default output file name... " >&6; } 3370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3371$as_echo "$ac_file" >&6; } 3372ac_exeext=$ac_cv_exeext 3373 3374rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3375ac_clean_files=$ac_clean_files_save 3376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3377$as_echo_n "checking for suffix of executables... " >&6; } 3378if { { ac_try="$ac_link" 3379case "(($ac_try" in 3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3381 *) ac_try_echo=$ac_try;; 3382esac 3383eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3384$as_echo "$ac_try_echo"; } >&5 3385 (eval "$ac_link") 2>&5 3386 ac_status=$? 3387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3388 test $ac_status = 0; }; then : 3389 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3390# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3391# work properly (i.e., refer to `conftest.exe'), while it won't with 3392# `rm'. 3393for ac_file in conftest.exe conftest conftest.*; do 3394 test -f "$ac_file" || continue 3395 case $ac_file in 3396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3397 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3398 break;; 3399 * ) break;; 3400 esac 3401done 3402else 3403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3404$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3405as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3406See \`config.log' for more details" "$LINENO" 5; } 3407fi 3408rm -f conftest conftest$ac_cv_exeext 3409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3410$as_echo "$ac_cv_exeext" >&6; } 3411 3412rm -f conftest.$ac_ext 3413EXEEXT=$ac_cv_exeext 3414ac_exeext=$EXEEXT 3415cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3416/* end confdefs.h. */ 3417#include <stdio.h> 3418int 3419main () 3420{ 3421FILE *f = fopen ("conftest.out", "w"); 3422 return ferror (f) || fclose (f) != 0; 3423 3424 ; 3425 return 0; 3426} 3427_ACEOF 3428ac_clean_files="$ac_clean_files conftest.out" 3429# Check that the compiler produces executables we can run. If not, either 3430# the compiler is broken, or we cross compile. 3431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3432$as_echo_n "checking whether we are cross compiling... " >&6; } 3433if test "$cross_compiling" != yes; then 3434 { { ac_try="$ac_link" 3435case "(($ac_try" in 3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3437 *) ac_try_echo=$ac_try;; 3438esac 3439eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3440$as_echo "$ac_try_echo"; } >&5 3441 (eval "$ac_link") 2>&5 3442 ac_status=$? 3443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3444 test $ac_status = 0; } 3445 if { ac_try='./conftest$ac_cv_exeext' 3446 { { case "(($ac_try" in 3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3448 *) ac_try_echo=$ac_try;; 3449esac 3450eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3451$as_echo "$ac_try_echo"; } >&5 3452 (eval "$ac_try") 2>&5 3453 ac_status=$? 3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3455 test $ac_status = 0; }; }; then 3456 cross_compiling=no 3457 else 3458 if test "$cross_compiling" = maybe; then 3459 cross_compiling=yes 3460 else 3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3462$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3463as_fn_error $? "cannot run C compiled programs. 3464If you meant to cross compile, use \`--host'. 3465See \`config.log' for more details" "$LINENO" 5; } 3466 fi 3467 fi 3468fi 3469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3470$as_echo "$cross_compiling" >&6; } 3471 3472rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3473ac_clean_files=$ac_clean_files_save 3474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3475$as_echo_n "checking for suffix of object files... " >&6; } 3476if ${ac_cv_objext+:} false; then : 3477 $as_echo_n "(cached) " >&6 3478else 3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3480/* end confdefs.h. */ 3481 3482int 3483main () 3484{ 3485 3486 ; 3487 return 0; 3488} 3489_ACEOF 3490rm -f conftest.o conftest.obj 3491if { { ac_try="$ac_compile" 3492case "(($ac_try" in 3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3494 *) ac_try_echo=$ac_try;; 3495esac 3496eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3497$as_echo "$ac_try_echo"; } >&5 3498 (eval "$ac_compile") 2>&5 3499 ac_status=$? 3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3501 test $ac_status = 0; }; then : 3502 for ac_file in conftest.o conftest.obj conftest.*; do 3503 test -f "$ac_file" || continue; 3504 case $ac_file in 3505 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3506 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3507 break;; 3508 esac 3509done 3510else 3511 $as_echo "$as_me: failed program was:" >&5 3512sed 's/^/| /' conftest.$ac_ext >&5 3513 3514{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3515$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3516as_fn_error $? "cannot compute suffix of object files: cannot compile 3517See \`config.log' for more details" "$LINENO" 5; } 3518fi 3519rm -f conftest.$ac_cv_objext conftest.$ac_ext 3520fi 3521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3522$as_echo "$ac_cv_objext" >&6; } 3523OBJEXT=$ac_cv_objext 3524ac_objext=$OBJEXT 3525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3526$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3527if ${ac_cv_c_compiler_gnu+:} false; then : 3528 $as_echo_n "(cached) " >&6 3529else 3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3531/* end confdefs.h. */ 3532 3533int 3534main () 3535{ 3536#ifndef __GNUC__ 3537 choke me 3538#endif 3539 3540 ; 3541 return 0; 3542} 3543_ACEOF 3544if ac_fn_c_try_compile "$LINENO"; then : 3545 ac_compiler_gnu=yes 3546else 3547 ac_compiler_gnu=no 3548fi 3549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3550ac_cv_c_compiler_gnu=$ac_compiler_gnu 3551 3552fi 3553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3554$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3555if test $ac_compiler_gnu = yes; then 3556 GCC=yes 3557else 3558 GCC= 3559fi 3560ac_test_CFLAGS=${CFLAGS+set} 3561ac_save_CFLAGS=$CFLAGS 3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3563$as_echo_n "checking whether $CC accepts -g... " >&6; } 3564if ${ac_cv_prog_cc_g+:} false; then : 3565 $as_echo_n "(cached) " >&6 3566else 3567 ac_save_c_werror_flag=$ac_c_werror_flag 3568 ac_c_werror_flag=yes 3569 ac_cv_prog_cc_g=no 3570 CFLAGS="-g" 3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3572/* end confdefs.h. */ 3573 3574int 3575main () 3576{ 3577 3578 ; 3579 return 0; 3580} 3581_ACEOF 3582if ac_fn_c_try_compile "$LINENO"; then : 3583 ac_cv_prog_cc_g=yes 3584else 3585 CFLAGS="" 3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3587/* end confdefs.h. */ 3588 3589int 3590main () 3591{ 3592 3593 ; 3594 return 0; 3595} 3596_ACEOF 3597if ac_fn_c_try_compile "$LINENO"; then : 3598 3599else 3600 ac_c_werror_flag=$ac_save_c_werror_flag 3601 CFLAGS="-g" 3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3603/* end confdefs.h. */ 3604 3605int 3606main () 3607{ 3608 3609 ; 3610 return 0; 3611} 3612_ACEOF 3613if ac_fn_c_try_compile "$LINENO"; then : 3614 ac_cv_prog_cc_g=yes 3615fi 3616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3617fi 3618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3619fi 3620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3621 ac_c_werror_flag=$ac_save_c_werror_flag 3622fi 3623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3624$as_echo "$ac_cv_prog_cc_g" >&6; } 3625if test "$ac_test_CFLAGS" = set; then 3626 CFLAGS=$ac_save_CFLAGS 3627elif test $ac_cv_prog_cc_g = yes; then 3628 if test "$GCC" = yes; then 3629 CFLAGS="-g -O2" 3630 else 3631 CFLAGS="-g" 3632 fi 3633else 3634 if test "$GCC" = yes; then 3635 CFLAGS="-O2" 3636 else 3637 CFLAGS= 3638 fi 3639fi 3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3641$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3642if ${ac_cv_prog_cc_c89+:} false; then : 3643 $as_echo_n "(cached) " >&6 3644else 3645 ac_cv_prog_cc_c89=no 3646ac_save_CC=$CC 3647cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3648/* end confdefs.h. */ 3649#include <stdarg.h> 3650#include <stdio.h> 3651struct stat; 3652/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3653struct buf { int x; }; 3654FILE * (*rcsopen) (struct buf *, struct stat *, int); 3655static char *e (p, i) 3656 char **p; 3657 int i; 3658{ 3659 return p[i]; 3660} 3661static char *f (char * (*g) (char **, int), char **p, ...) 3662{ 3663 char *s; 3664 va_list v; 3665 va_start (v,p); 3666 s = g (p, va_arg (v,int)); 3667 va_end (v); 3668 return s; 3669} 3670 3671/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3672 function prototypes and stuff, but not '\xHH' hex character constants. 3673 These don't provoke an error unfortunately, instead are silently treated 3674 as 'x'. The following induces an error, until -std is added to get 3675 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3676 array size at least. It's necessary to write '\x00'==0 to get something 3677 that's true only with -std. */ 3678int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3679 3680/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3681 inside strings and character constants. */ 3682#define FOO(x) 'x' 3683int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3684 3685int test (int i, double x); 3686struct s1 {int (*f) (int a);}; 3687struct s2 {int (*f) (double a);}; 3688int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3689int argc; 3690char **argv; 3691int 3692main () 3693{ 3694return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3695 ; 3696 return 0; 3697} 3698_ACEOF 3699for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3700 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3701do 3702 CC="$ac_save_CC $ac_arg" 3703 if ac_fn_c_try_compile "$LINENO"; then : 3704 ac_cv_prog_cc_c89=$ac_arg 3705fi 3706rm -f core conftest.err conftest.$ac_objext 3707 test "x$ac_cv_prog_cc_c89" != "xno" && break 3708done 3709rm -f conftest.$ac_ext 3710CC=$ac_save_CC 3711 3712fi 3713# AC_CACHE_VAL 3714case "x$ac_cv_prog_cc_c89" in 3715 x) 3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3717$as_echo "none needed" >&6; } ;; 3718 xno) 3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3720$as_echo "unsupported" >&6; } ;; 3721 *) 3722 CC="$CC $ac_cv_prog_cc_c89" 3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3724$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3725esac 3726if test "x$ac_cv_prog_cc_c89" != xno; then : 3727 3728fi 3729 3730ac_ext=c 3731ac_cpp='$CPP $CPPFLAGS' 3732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3734ac_compiler_gnu=$ac_cv_c_compiler_gnu 3735 3736ac_ext=c 3737ac_cpp='$CPP $CPPFLAGS' 3738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3740ac_compiler_gnu=$ac_cv_c_compiler_gnu 3741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3742$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3743if ${am_cv_prog_cc_c_o+:} false; then : 3744 $as_echo_n "(cached) " >&6 3745else 3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3747/* end confdefs.h. */ 3748 3749int 3750main () 3751{ 3752 3753 ; 3754 return 0; 3755} 3756_ACEOF 3757 # Make sure it works both with $CC and with simple cc. 3758 # Following AC_PROG_CC_C_O, we do the test twice because some 3759 # compilers refuse to overwrite an existing .o file with -o, 3760 # though they will create one. 3761 am_cv_prog_cc_c_o=yes 3762 for am_i in 1 2; do 3763 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3764 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3765 ac_status=$? 3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3767 (exit $ac_status); } \ 3768 && test -f conftest2.$ac_objext; then 3769 : OK 3770 else 3771 am_cv_prog_cc_c_o=no 3772 break 3773 fi 3774 done 3775 rm -f core conftest* 3776 unset am_i 3777fi 3778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3779$as_echo "$am_cv_prog_cc_c_o" >&6; } 3780if test "$am_cv_prog_cc_c_o" != yes; then 3781 # Losing compiler, so override with the script. 3782 # FIXME: It is wrong to rewrite CC. 3783 # But if we don't then we get into trouble of one sort or another. 3784 # A longer-term fix would be to have automake use am__CC in this case, 3785 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3786 CC="$am_aux_dir/compile $CC" 3787fi 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 3794DEPDIR="${am__leading_dot}deps" 3795 3796ac_config_commands="$ac_config_commands depfiles" 3797 3798 3799am_make=${MAKE-make} 3800cat > confinc << 'END' 3801am__doit: 3802 @echo this is the am__doit target 3803.PHONY: am__doit 3804END 3805# If we don't find an include directive, just comment out the code. 3806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3807$as_echo_n "checking for style of include used by $am_make... " >&6; } 3808am__include="#" 3809am__quote= 3810_am_result=none 3811# First try GNU make style include. 3812echo "include confinc" > confmf 3813# Ignore all kinds of additional output from 'make'. 3814case `$am_make -s -f confmf 2> /dev/null` in #( 3815*the\ am__doit\ target*) 3816 am__include=include 3817 am__quote= 3818 _am_result=GNU 3819 ;; 3820esac 3821# Now try BSD make style include. 3822if test "$am__include" = "#"; then 3823 echo '.include "confinc"' > confmf 3824 case `$am_make -s -f confmf 2> /dev/null` in #( 3825 *the\ am__doit\ target*) 3826 am__include=.include 3827 am__quote="\"" 3828 _am_result=BSD 3829 ;; 3830 esac 3831fi 3832 3833 3834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3835$as_echo "$_am_result" >&6; } 3836rm -f confinc confmf 3837 3838# Check whether --enable-dependency-tracking was given. 3839if test "${enable_dependency_tracking+set}" = set; then : 3840 enableval=$enable_dependency_tracking; 3841fi 3842 3843if test "x$enable_dependency_tracking" != xno; then 3844 am_depcomp="$ac_aux_dir/depcomp" 3845 AMDEPBACKSLASH='\' 3846 am__nodep='_no' 3847fi 3848 if test "x$enable_dependency_tracking" != xno; then 3849 AMDEP_TRUE= 3850 AMDEP_FALSE='#' 3851else 3852 AMDEP_TRUE='#' 3853 AMDEP_FALSE= 3854fi 3855 3856 3857 3858depcc="$CC" am_compiler_list= 3859 3860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3861$as_echo_n "checking dependency style of $depcc... " >&6; } 3862if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3863 $as_echo_n "(cached) " >&6 3864else 3865 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3866 # We make a subdir and do the tests there. Otherwise we can end up 3867 # making bogus files that we don't know about and never remove. For 3868 # instance it was reported that on HP-UX the gcc test will end up 3869 # making a dummy file named 'D' -- because '-MD' means "put the output 3870 # in D". 3871 rm -rf conftest.dir 3872 mkdir conftest.dir 3873 # Copy depcomp to subdir because otherwise we won't find it if we're 3874 # using a relative directory. 3875 cp "$am_depcomp" conftest.dir 3876 cd conftest.dir 3877 # We will build objects and dependencies in a subdirectory because 3878 # it helps to detect inapplicable dependency modes. For instance 3879 # both Tru64's cc and ICC support -MD to output dependencies as a 3880 # side effect of compilation, but ICC will put the dependencies in 3881 # the current directory while Tru64 will put them in the object 3882 # directory. 3883 mkdir sub 3884 3885 am_cv_CC_dependencies_compiler_type=none 3886 if test "$am_compiler_list" = ""; then 3887 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3888 fi 3889 am__universal=false 3890 case " $depcc " in #( 3891 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3892 esac 3893 3894 for depmode in $am_compiler_list; do 3895 # Setup a source with many dependencies, because some compilers 3896 # like to wrap large dependency lists on column 80 (with \), and 3897 # we should not choose a depcomp mode which is confused by this. 3898 # 3899 # We need to recreate these files for each test, as the compiler may 3900 # overwrite some of them when testing with obscure command lines. 3901 # This happens at least with the AIX C compiler. 3902 : > sub/conftest.c 3903 for i in 1 2 3 4 5 6; do 3904 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3905 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3906 # Solaris 10 /bin/sh. 3907 echo '/* dummy */' > sub/conftst$i.h 3908 done 3909 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3910 3911 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3912 # mode. It turns out that the SunPro C++ compiler does not properly 3913 # handle '-M -o', and we need to detect this. Also, some Intel 3914 # versions had trouble with output in subdirs. 3915 am__obj=sub/conftest.${OBJEXT-o} 3916 am__minus_obj="-o $am__obj" 3917 case $depmode in 3918 gcc) 3919 # This depmode causes a compiler race in universal mode. 3920 test "$am__universal" = false || continue 3921 ;; 3922 nosideeffect) 3923 # After this tag, mechanisms are not by side-effect, so they'll 3924 # only be used when explicitly requested. 3925 if test "x$enable_dependency_tracking" = xyes; then 3926 continue 3927 else 3928 break 3929 fi 3930 ;; 3931 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3932 # This compiler won't grok '-c -o', but also, the minuso test has 3933 # not run yet. These depmodes are late enough in the game, and 3934 # so weak that their functioning should not be impacted. 3935 am__obj=conftest.${OBJEXT-o} 3936 am__minus_obj= 3937 ;; 3938 none) break ;; 3939 esac 3940 if depmode=$depmode \ 3941 source=sub/conftest.c object=$am__obj \ 3942 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3943 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3944 >/dev/null 2>conftest.err && 3945 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3946 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3947 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3948 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3949 # icc doesn't choke on unknown options, it will just issue warnings 3950 # or remarks (even with -Werror). So we grep stderr for any message 3951 # that says an option was ignored or not supported. 3952 # When given -MP, icc 7.0 and 7.1 complain thusly: 3953 # icc: Command line warning: ignoring option '-M'; no argument required 3954 # The diagnosis changed in icc 8.0: 3955 # icc: Command line remark: option '-MP' not supported 3956 if (grep 'ignoring option' conftest.err || 3957 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3958 am_cv_CC_dependencies_compiler_type=$depmode 3959 break 3960 fi 3961 fi 3962 done 3963 3964 cd .. 3965 rm -rf conftest.dir 3966else 3967 am_cv_CC_dependencies_compiler_type=none 3968fi 3969 3970fi 3971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3972$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3973CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3974 3975 if 3976 test "x$enable_dependency_tracking" != xno \ 3977 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3978 am__fastdepCC_TRUE= 3979 am__fastdepCC_FALSE='#' 3980else 3981 am__fastdepCC_TRUE='#' 3982 am__fastdepCC_FALSE= 3983fi 3984 3985 3986 3987ac_ext=c 3988ac_cpp='$CPP $CPPFLAGS' 3989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3991ac_compiler_gnu=$ac_cv_c_compiler_gnu 3992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3993$as_echo_n "checking how to run the C preprocessor... " >&6; } 3994# On Suns, sometimes $CPP names a directory. 3995if test -n "$CPP" && test -d "$CPP"; then 3996 CPP= 3997fi 3998if test -z "$CPP"; then 3999 if ${ac_cv_prog_CPP+:} false; then : 4000 $as_echo_n "(cached) " >&6 4001else 4002 # Double quotes because CPP needs to be expanded 4003 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4004 do 4005 ac_preproc_ok=false 4006for ac_c_preproc_warn_flag in '' yes 4007do 4008 # Use a header file that comes with gcc, so configuring glibc 4009 # with a fresh cross-compiler works. 4010 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4011 # <limits.h> exists even on freestanding compilers. 4012 # On the NeXT, cc -E runs the code through the compiler's parser, 4013 # not just through cpp. "Syntax error" is here to catch this case. 4014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4015/* end confdefs.h. */ 4016#ifdef __STDC__ 4017# include <limits.h> 4018#else 4019# include <assert.h> 4020#endif 4021 Syntax error 4022_ACEOF 4023if ac_fn_c_try_cpp "$LINENO"; then : 4024 4025else 4026 # Broken: fails on valid input. 4027continue 4028fi 4029rm -f conftest.err conftest.i conftest.$ac_ext 4030 4031 # OK, works on sane cases. Now check whether nonexistent headers 4032 # can be detected and how. 4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4034/* end confdefs.h. */ 4035#include <ac_nonexistent.h> 4036_ACEOF 4037if ac_fn_c_try_cpp "$LINENO"; then : 4038 # Broken: success on invalid input. 4039continue 4040else 4041 # Passes both tests. 4042ac_preproc_ok=: 4043break 4044fi 4045rm -f conftest.err conftest.i conftest.$ac_ext 4046 4047done 4048# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4049rm -f conftest.i conftest.err conftest.$ac_ext 4050if $ac_preproc_ok; then : 4051 break 4052fi 4053 4054 done 4055 ac_cv_prog_CPP=$CPP 4056 4057fi 4058 CPP=$ac_cv_prog_CPP 4059else 4060 ac_cv_prog_CPP=$CPP 4061fi 4062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4063$as_echo "$CPP" >&6; } 4064ac_preproc_ok=false 4065for ac_c_preproc_warn_flag in '' yes 4066do 4067 # Use a header file that comes with gcc, so configuring glibc 4068 # with a fresh cross-compiler works. 4069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4070 # <limits.h> exists even on freestanding compilers. 4071 # On the NeXT, cc -E runs the code through the compiler's parser, 4072 # not just through cpp. "Syntax error" is here to catch this case. 4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4074/* end confdefs.h. */ 4075#ifdef __STDC__ 4076# include <limits.h> 4077#else 4078# include <assert.h> 4079#endif 4080 Syntax error 4081_ACEOF 4082if ac_fn_c_try_cpp "$LINENO"; then : 4083 4084else 4085 # Broken: fails on valid input. 4086continue 4087fi 4088rm -f conftest.err conftest.i conftest.$ac_ext 4089 4090 # OK, works on sane cases. Now check whether nonexistent headers 4091 # can be detected and how. 4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4093/* end confdefs.h. */ 4094#include <ac_nonexistent.h> 4095_ACEOF 4096if ac_fn_c_try_cpp "$LINENO"; then : 4097 # Broken: success on invalid input. 4098continue 4099else 4100 # Passes both tests. 4101ac_preproc_ok=: 4102break 4103fi 4104rm -f conftest.err conftest.i conftest.$ac_ext 4105 4106done 4107# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4108rm -f conftest.i conftest.err conftest.$ac_ext 4109if $ac_preproc_ok; then : 4110 4111else 4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4113$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4114as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4115See \`config.log' for more details" "$LINENO" 5; } 4116fi 4117 4118ac_ext=c 4119ac_cpp='$CPP $CPPFLAGS' 4120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4122ac_compiler_gnu=$ac_cv_c_compiler_gnu 4123 4124 4125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4126$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4127if ${ac_cv_path_GREP+:} false; then : 4128 $as_echo_n "(cached) " >&6 4129else 4130 if test -z "$GREP"; then 4131 ac_path_GREP_found=false 4132 # Loop through the user's path and test for each of PROGNAME-LIST 4133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4134for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4135do 4136 IFS=$as_save_IFS 4137 test -z "$as_dir" && as_dir=. 4138 for ac_prog in grep ggrep; do 4139 for ac_exec_ext in '' $ac_executable_extensions; do 4140 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4141 as_fn_executable_p "$ac_path_GREP" || continue 4142# Check for GNU ac_path_GREP and select it if it is found. 4143 # Check for GNU $ac_path_GREP 4144case `"$ac_path_GREP" --version 2>&1` in 4145*GNU*) 4146 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4147*) 4148 ac_count=0 4149 $as_echo_n 0123456789 >"conftest.in" 4150 while : 4151 do 4152 cat "conftest.in" "conftest.in" >"conftest.tmp" 4153 mv "conftest.tmp" "conftest.in" 4154 cp "conftest.in" "conftest.nl" 4155 $as_echo 'GREP' >> "conftest.nl" 4156 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4157 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4158 as_fn_arith $ac_count + 1 && ac_count=$as_val 4159 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4160 # Best one so far, save it but keep looking for a better one 4161 ac_cv_path_GREP="$ac_path_GREP" 4162 ac_path_GREP_max=$ac_count 4163 fi 4164 # 10*(2^10) chars as input seems more than enough 4165 test $ac_count -gt 10 && break 4166 done 4167 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4168esac 4169 4170 $ac_path_GREP_found && break 3 4171 done 4172 done 4173 done 4174IFS=$as_save_IFS 4175 if test -z "$ac_cv_path_GREP"; then 4176 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4177 fi 4178else 4179 ac_cv_path_GREP=$GREP 4180fi 4181 4182fi 4183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4184$as_echo "$ac_cv_path_GREP" >&6; } 4185 GREP="$ac_cv_path_GREP" 4186 4187 4188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4189$as_echo_n "checking for egrep... " >&6; } 4190if ${ac_cv_path_EGREP+:} false; then : 4191 $as_echo_n "(cached) " >&6 4192else 4193 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4194 then ac_cv_path_EGREP="$GREP -E" 4195 else 4196 if test -z "$EGREP"; then 4197 ac_path_EGREP_found=false 4198 # Loop through the user's path and test for each of PROGNAME-LIST 4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4200for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4201do 4202 IFS=$as_save_IFS 4203 test -z "$as_dir" && as_dir=. 4204 for ac_prog in egrep; do 4205 for ac_exec_ext in '' $ac_executable_extensions; do 4206 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4207 as_fn_executable_p "$ac_path_EGREP" || continue 4208# Check for GNU ac_path_EGREP and select it if it is found. 4209 # Check for GNU $ac_path_EGREP 4210case `"$ac_path_EGREP" --version 2>&1` in 4211*GNU*) 4212 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4213*) 4214 ac_count=0 4215 $as_echo_n 0123456789 >"conftest.in" 4216 while : 4217 do 4218 cat "conftest.in" "conftest.in" >"conftest.tmp" 4219 mv "conftest.tmp" "conftest.in" 4220 cp "conftest.in" "conftest.nl" 4221 $as_echo 'EGREP' >> "conftest.nl" 4222 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4223 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4224 as_fn_arith $ac_count + 1 && ac_count=$as_val 4225 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4226 # Best one so far, save it but keep looking for a better one 4227 ac_cv_path_EGREP="$ac_path_EGREP" 4228 ac_path_EGREP_max=$ac_count 4229 fi 4230 # 10*(2^10) chars as input seems more than enough 4231 test $ac_count -gt 10 && break 4232 done 4233 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4234esac 4235 4236 $ac_path_EGREP_found && break 3 4237 done 4238 done 4239 done 4240IFS=$as_save_IFS 4241 if test -z "$ac_cv_path_EGREP"; then 4242 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4243 fi 4244else 4245 ac_cv_path_EGREP=$EGREP 4246fi 4247 4248 fi 4249fi 4250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4251$as_echo "$ac_cv_path_EGREP" >&6; } 4252 EGREP="$ac_cv_path_EGREP" 4253 4254 4255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4256$as_echo_n "checking for ANSI C header files... " >&6; } 4257if ${ac_cv_header_stdc+:} false; then : 4258 $as_echo_n "(cached) " >&6 4259else 4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4261/* end confdefs.h. */ 4262#include <stdlib.h> 4263#include <stdarg.h> 4264#include <string.h> 4265#include <float.h> 4266 4267int 4268main () 4269{ 4270 4271 ; 4272 return 0; 4273} 4274_ACEOF 4275if ac_fn_c_try_compile "$LINENO"; then : 4276 ac_cv_header_stdc=yes 4277else 4278 ac_cv_header_stdc=no 4279fi 4280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4281 4282if test $ac_cv_header_stdc = yes; then 4283 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4285/* end confdefs.h. */ 4286#include <string.h> 4287 4288_ACEOF 4289if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4290 $EGREP "memchr" >/dev/null 2>&1; then : 4291 4292else 4293 ac_cv_header_stdc=no 4294fi 4295rm -f conftest* 4296 4297fi 4298 4299if test $ac_cv_header_stdc = yes; then 4300 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4302/* end confdefs.h. */ 4303#include <stdlib.h> 4304 4305_ACEOF 4306if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4307 $EGREP "free" >/dev/null 2>&1; then : 4308 4309else 4310 ac_cv_header_stdc=no 4311fi 4312rm -f conftest* 4313 4314fi 4315 4316if test $ac_cv_header_stdc = yes; then 4317 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4318 if test "$cross_compiling" = yes; then : 4319 : 4320else 4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4322/* end confdefs.h. */ 4323#include <ctype.h> 4324#include <stdlib.h> 4325#if ((' ' & 0x0FF) == 0x020) 4326# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4327# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4328#else 4329# define ISLOWER(c) \ 4330 (('a' <= (c) && (c) <= 'i') \ 4331 || ('j' <= (c) && (c) <= 'r') \ 4332 || ('s' <= (c) && (c) <= 'z')) 4333# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4334#endif 4335 4336#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4337int 4338main () 4339{ 4340 int i; 4341 for (i = 0; i < 256; i++) 4342 if (XOR (islower (i), ISLOWER (i)) 4343 || toupper (i) != TOUPPER (i)) 4344 return 2; 4345 return 0; 4346} 4347_ACEOF 4348if ac_fn_c_try_run "$LINENO"; then : 4349 4350else 4351 ac_cv_header_stdc=no 4352fi 4353rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4354 conftest.$ac_objext conftest.beam conftest.$ac_ext 4355fi 4356 4357fi 4358fi 4359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4360$as_echo "$ac_cv_header_stdc" >&6; } 4361if test $ac_cv_header_stdc = yes; then 4362 4363$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4364 4365fi 4366 4367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 4368$as_echo_n "checking for inline... " >&6; } 4369if ${ac_cv_c_inline+:} false; then : 4370 $as_echo_n "(cached) " >&6 4371else 4372 ac_cv_c_inline=no 4373for ac_kw in inline __inline__ __inline; do 4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4375/* end confdefs.h. */ 4376#ifndef __cplusplus 4377typedef int foo_t; 4378static $ac_kw foo_t static_foo () {return 0; } 4379$ac_kw foo_t foo () {return 0; } 4380#endif 4381 4382_ACEOF 4383if ac_fn_c_try_compile "$LINENO"; then : 4384 ac_cv_c_inline=$ac_kw 4385fi 4386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4387 test "$ac_cv_c_inline" != no && break 4388done 4389 4390fi 4391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 4392$as_echo "$ac_cv_c_inline" >&6; } 4393 4394case $ac_cv_c_inline in 4395 inline | yes) ;; 4396 *) 4397 case $ac_cv_c_inline in 4398 no) ac_val=;; 4399 *) ac_val=$ac_cv_c_inline;; 4400 esac 4401 cat >>confdefs.h <<_ACEOF 4402#ifndef __cplusplus 4403#define inline $ac_val 4404#endif 4405_ACEOF 4406 ;; 4407esac 4408 4409 4410 4411 4412enable_win32_dll=yes 4413 4414case $host in 4415*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 4416 if test -n "$ac_tool_prefix"; then 4417 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4418set dummy ${ac_tool_prefix}as; ac_word=$2 4419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4420$as_echo_n "checking for $ac_word... " >&6; } 4421if ${ac_cv_prog_AS+:} false; then : 4422 $as_echo_n "(cached) " >&6 4423else 4424 if test -n "$AS"; then 4425 ac_cv_prog_AS="$AS" # Let the user override the test. 4426else 4427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4428for as_dir in $PATH 4429do 4430 IFS=$as_save_IFS 4431 test -z "$as_dir" && as_dir=. 4432 for ac_exec_ext in '' $ac_executable_extensions; do 4433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4434 ac_cv_prog_AS="${ac_tool_prefix}as" 4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4436 break 2 4437 fi 4438done 4439 done 4440IFS=$as_save_IFS 4441 4442fi 4443fi 4444AS=$ac_cv_prog_AS 4445if test -n "$AS"; then 4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4447$as_echo "$AS" >&6; } 4448else 4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4450$as_echo "no" >&6; } 4451fi 4452 4453 4454fi 4455if test -z "$ac_cv_prog_AS"; then 4456 ac_ct_AS=$AS 4457 # Extract the first word of "as", so it can be a program name with args. 4458set dummy as; ac_word=$2 4459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4460$as_echo_n "checking for $ac_word... " >&6; } 4461if ${ac_cv_prog_ac_ct_AS+:} false; then : 4462 $as_echo_n "(cached) " >&6 4463else 4464 if test -n "$ac_ct_AS"; then 4465 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4466else 4467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4468for as_dir in $PATH 4469do 4470 IFS=$as_save_IFS 4471 test -z "$as_dir" && as_dir=. 4472 for ac_exec_ext in '' $ac_executable_extensions; do 4473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4474 ac_cv_prog_ac_ct_AS="as" 4475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4476 break 2 4477 fi 4478done 4479 done 4480IFS=$as_save_IFS 4481 4482fi 4483fi 4484ac_ct_AS=$ac_cv_prog_ac_ct_AS 4485if test -n "$ac_ct_AS"; then 4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4487$as_echo "$ac_ct_AS" >&6; } 4488else 4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4490$as_echo "no" >&6; } 4491fi 4492 4493 if test "x$ac_ct_AS" = x; then 4494 AS="false" 4495 else 4496 case $cross_compiling:$ac_tool_warned in 4497yes:) 4498{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4499$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4500ac_tool_warned=yes ;; 4501esac 4502 AS=$ac_ct_AS 4503 fi 4504else 4505 AS="$ac_cv_prog_AS" 4506fi 4507 4508 if test -n "$ac_tool_prefix"; then 4509 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4510set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4512$as_echo_n "checking for $ac_word... " >&6; } 4513if ${ac_cv_prog_DLLTOOL+:} false; then : 4514 $as_echo_n "(cached) " >&6 4515else 4516 if test -n "$DLLTOOL"; then 4517 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4518else 4519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4520for as_dir in $PATH 4521do 4522 IFS=$as_save_IFS 4523 test -z "$as_dir" && as_dir=. 4524 for ac_exec_ext in '' $ac_executable_extensions; do 4525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4526 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4528 break 2 4529 fi 4530done 4531 done 4532IFS=$as_save_IFS 4533 4534fi 4535fi 4536DLLTOOL=$ac_cv_prog_DLLTOOL 4537if test -n "$DLLTOOL"; then 4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4539$as_echo "$DLLTOOL" >&6; } 4540else 4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4542$as_echo "no" >&6; } 4543fi 4544 4545 4546fi 4547if test -z "$ac_cv_prog_DLLTOOL"; then 4548 ac_ct_DLLTOOL=$DLLTOOL 4549 # Extract the first word of "dlltool", so it can be a program name with args. 4550set dummy dlltool; ac_word=$2 4551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4552$as_echo_n "checking for $ac_word... " >&6; } 4553if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4554 $as_echo_n "(cached) " >&6 4555else 4556 if test -n "$ac_ct_DLLTOOL"; then 4557 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4558else 4559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4560for as_dir in $PATH 4561do 4562 IFS=$as_save_IFS 4563 test -z "$as_dir" && as_dir=. 4564 for ac_exec_ext in '' $ac_executable_extensions; do 4565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4566 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4568 break 2 4569 fi 4570done 4571 done 4572IFS=$as_save_IFS 4573 4574fi 4575fi 4576ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4577if test -n "$ac_ct_DLLTOOL"; then 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4579$as_echo "$ac_ct_DLLTOOL" >&6; } 4580else 4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4582$as_echo "no" >&6; } 4583fi 4584 4585 if test "x$ac_ct_DLLTOOL" = x; then 4586 DLLTOOL="false" 4587 else 4588 case $cross_compiling:$ac_tool_warned in 4589yes:) 4590{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4591$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4592ac_tool_warned=yes ;; 4593esac 4594 DLLTOOL=$ac_ct_DLLTOOL 4595 fi 4596else 4597 DLLTOOL="$ac_cv_prog_DLLTOOL" 4598fi 4599 4600 if test -n "$ac_tool_prefix"; then 4601 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4602set dummy ${ac_tool_prefix}objdump; ac_word=$2 4603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4604$as_echo_n "checking for $ac_word... " >&6; } 4605if ${ac_cv_prog_OBJDUMP+:} false; then : 4606 $as_echo_n "(cached) " >&6 4607else 4608 if test -n "$OBJDUMP"; then 4609 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4610else 4611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4612for as_dir in $PATH 4613do 4614 IFS=$as_save_IFS 4615 test -z "$as_dir" && as_dir=. 4616 for ac_exec_ext in '' $ac_executable_extensions; do 4617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4618 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4620 break 2 4621 fi 4622done 4623 done 4624IFS=$as_save_IFS 4625 4626fi 4627fi 4628OBJDUMP=$ac_cv_prog_OBJDUMP 4629if test -n "$OBJDUMP"; then 4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4631$as_echo "$OBJDUMP" >&6; } 4632else 4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4634$as_echo "no" >&6; } 4635fi 4636 4637 4638fi 4639if test -z "$ac_cv_prog_OBJDUMP"; then 4640 ac_ct_OBJDUMP=$OBJDUMP 4641 # Extract the first word of "objdump", so it can be a program name with args. 4642set dummy objdump; ac_word=$2 4643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4644$as_echo_n "checking for $ac_word... " >&6; } 4645if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4646 $as_echo_n "(cached) " >&6 4647else 4648 if test -n "$ac_ct_OBJDUMP"; then 4649 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4650else 4651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4652for as_dir in $PATH 4653do 4654 IFS=$as_save_IFS 4655 test -z "$as_dir" && as_dir=. 4656 for ac_exec_ext in '' $ac_executable_extensions; do 4657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4658 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4660 break 2 4661 fi 4662done 4663 done 4664IFS=$as_save_IFS 4665 4666fi 4667fi 4668ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4669if test -n "$ac_ct_OBJDUMP"; then 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4671$as_echo "$ac_ct_OBJDUMP" >&6; } 4672else 4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4674$as_echo "no" >&6; } 4675fi 4676 4677 if test "x$ac_ct_OBJDUMP" = x; then 4678 OBJDUMP="false" 4679 else 4680 case $cross_compiling:$ac_tool_warned in 4681yes:) 4682{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4683$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4684ac_tool_warned=yes ;; 4685esac 4686 OBJDUMP=$ac_ct_OBJDUMP 4687 fi 4688else 4689 OBJDUMP="$ac_cv_prog_OBJDUMP" 4690fi 4691 4692 ;; 4693esac 4694 4695test -z "$AS" && AS=as 4696 4697 4698 4699 4700 4701test -z "$DLLTOOL" && DLLTOOL=dlltool 4702 4703 4704 4705 4706 4707test -z "$OBJDUMP" && OBJDUMP=objdump 4708 4709 4710 4711 4712 4713 4714 4715case `pwd` in 4716 *\ * | *\ *) 4717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4718$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4719esac 4720 4721 4722 4723macro_version='2.4.6' 4724macro_revision='2.4.6' 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738ltmain=$ac_aux_dir/ltmain.sh 4739 4740# Backslashify metacharacters that are still active within 4741# double-quoted strings. 4742sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4743 4744# Same as above, but do not quote variable references. 4745double_quote_subst='s/\(["`\\]\)/\\\1/g' 4746 4747# Sed substitution to delay expansion of an escaped shell variable in a 4748# double_quote_subst'ed string. 4749delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4750 4751# Sed substitution to delay expansion of an escaped single quote. 4752delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4753 4754# Sed substitution to avoid accidental globbing in evaled expressions 4755no_glob_subst='s/\*/\\\*/g' 4756 4757ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4758ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4759ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4760 4761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4762$as_echo_n "checking how to print strings... " >&6; } 4763# Test print first, because it will be a builtin if present. 4764if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4765 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4766 ECHO='print -r --' 4767elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4768 ECHO='printf %s\n' 4769else 4770 # Use this function as a fallback that always works. 4771 func_fallback_echo () 4772 { 4773 eval 'cat <<_LTECHO_EOF 4774$1 4775_LTECHO_EOF' 4776 } 4777 ECHO='func_fallback_echo' 4778fi 4779 4780# func_echo_all arg... 4781# Invoke $ECHO with all args, space-separated. 4782func_echo_all () 4783{ 4784 $ECHO "" 4785} 4786 4787case $ECHO in 4788 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4789$as_echo "printf" >&6; } ;; 4790 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4791$as_echo "print -r" >&6; } ;; 4792 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4793$as_echo "cat" >&6; } ;; 4794esac 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4810$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4811if ${ac_cv_path_SED+:} false; then : 4812 $as_echo_n "(cached) " >&6 4813else 4814 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4815 for ac_i in 1 2 3 4 5 6 7; do 4816 ac_script="$ac_script$as_nl$ac_script" 4817 done 4818 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4819 { ac_script=; unset ac_script;} 4820 if test -z "$SED"; then 4821 ac_path_SED_found=false 4822 # Loop through the user's path and test for each of PROGNAME-LIST 4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4824for as_dir in $PATH 4825do 4826 IFS=$as_save_IFS 4827 test -z "$as_dir" && as_dir=. 4828 for ac_prog in sed gsed; do 4829 for ac_exec_ext in '' $ac_executable_extensions; do 4830 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4831 as_fn_executable_p "$ac_path_SED" || continue 4832# Check for GNU ac_path_SED and select it if it is found. 4833 # Check for GNU $ac_path_SED 4834case `"$ac_path_SED" --version 2>&1` in 4835*GNU*) 4836 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4837*) 4838 ac_count=0 4839 $as_echo_n 0123456789 >"conftest.in" 4840 while : 4841 do 4842 cat "conftest.in" "conftest.in" >"conftest.tmp" 4843 mv "conftest.tmp" "conftest.in" 4844 cp "conftest.in" "conftest.nl" 4845 $as_echo '' >> "conftest.nl" 4846 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4847 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4848 as_fn_arith $ac_count + 1 && ac_count=$as_val 4849 if test $ac_count -gt ${ac_path_SED_max-0}; then 4850 # Best one so far, save it but keep looking for a better one 4851 ac_cv_path_SED="$ac_path_SED" 4852 ac_path_SED_max=$ac_count 4853 fi 4854 # 10*(2^10) chars as input seems more than enough 4855 test $ac_count -gt 10 && break 4856 done 4857 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4858esac 4859 4860 $ac_path_SED_found && break 3 4861 done 4862 done 4863 done 4864IFS=$as_save_IFS 4865 if test -z "$ac_cv_path_SED"; then 4866 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4867 fi 4868else 4869 ac_cv_path_SED=$SED 4870fi 4871 4872fi 4873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4874$as_echo "$ac_cv_path_SED" >&6; } 4875 SED="$ac_cv_path_SED" 4876 rm -f conftest.sed 4877 4878test -z "$SED" && SED=sed 4879Xsed="$SED -e 1s/^X//" 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4892$as_echo_n "checking for fgrep... " >&6; } 4893if ${ac_cv_path_FGREP+:} false; then : 4894 $as_echo_n "(cached) " >&6 4895else 4896 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4897 then ac_cv_path_FGREP="$GREP -F" 4898 else 4899 if test -z "$FGREP"; then 4900 ac_path_FGREP_found=false 4901 # Loop through the user's path and test for each of PROGNAME-LIST 4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4903for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4904do 4905 IFS=$as_save_IFS 4906 test -z "$as_dir" && as_dir=. 4907 for ac_prog in fgrep; do 4908 for ac_exec_ext in '' $ac_executable_extensions; do 4909 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4910 as_fn_executable_p "$ac_path_FGREP" || continue 4911# Check for GNU ac_path_FGREP and select it if it is found. 4912 # Check for GNU $ac_path_FGREP 4913case `"$ac_path_FGREP" --version 2>&1` in 4914*GNU*) 4915 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4916*) 4917 ac_count=0 4918 $as_echo_n 0123456789 >"conftest.in" 4919 while : 4920 do 4921 cat "conftest.in" "conftest.in" >"conftest.tmp" 4922 mv "conftest.tmp" "conftest.in" 4923 cp "conftest.in" "conftest.nl" 4924 $as_echo 'FGREP' >> "conftest.nl" 4925 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4926 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4927 as_fn_arith $ac_count + 1 && ac_count=$as_val 4928 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4929 # Best one so far, save it but keep looking for a better one 4930 ac_cv_path_FGREP="$ac_path_FGREP" 4931 ac_path_FGREP_max=$ac_count 4932 fi 4933 # 10*(2^10) chars as input seems more than enough 4934 test $ac_count -gt 10 && break 4935 done 4936 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4937esac 4938 4939 $ac_path_FGREP_found && break 3 4940 done 4941 done 4942 done 4943IFS=$as_save_IFS 4944 if test -z "$ac_cv_path_FGREP"; then 4945 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4946 fi 4947else 4948 ac_cv_path_FGREP=$FGREP 4949fi 4950 4951 fi 4952fi 4953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4954$as_echo "$ac_cv_path_FGREP" >&6; } 4955 FGREP="$ac_cv_path_FGREP" 4956 4957 4958test -z "$GREP" && GREP=grep 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978# Check whether --with-gnu-ld was given. 4979if test "${with_gnu_ld+set}" = set; then : 4980 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4981else 4982 with_gnu_ld=no 4983fi 4984 4985ac_prog=ld 4986if test yes = "$GCC"; then 4987 # Check if gcc -print-prog-name=ld gives a path. 4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4989$as_echo_n "checking for ld used by $CC... " >&6; } 4990 case $host in 4991 *-*-mingw*) 4992 # gcc leaves a trailing carriage return, which upsets mingw 4993 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4994 *) 4995 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4996 esac 4997 case $ac_prog in 4998 # Accept absolute paths. 4999 [\\/]* | ?:[\\/]*) 5000 re_direlt='/[^/][^/]*/\.\./' 5001 # Canonicalize the pathname of ld 5002 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5003 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5004 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5005 done 5006 test -z "$LD" && LD=$ac_prog 5007 ;; 5008 "") 5009 # If it fails, then pretend we aren't using GCC. 5010 ac_prog=ld 5011 ;; 5012 *) 5013 # If it is relative, then search for the first ld in PATH. 5014 with_gnu_ld=unknown 5015 ;; 5016 esac 5017elif test yes = "$with_gnu_ld"; then 5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5019$as_echo_n "checking for GNU ld... " >&6; } 5020else 5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5022$as_echo_n "checking for non-GNU ld... " >&6; } 5023fi 5024if ${lt_cv_path_LD+:} false; then : 5025 $as_echo_n "(cached) " >&6 5026else 5027 if test -z "$LD"; then 5028 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5029 for ac_dir in $PATH; do 5030 IFS=$lt_save_ifs 5031 test -z "$ac_dir" && ac_dir=. 5032 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5033 lt_cv_path_LD=$ac_dir/$ac_prog 5034 # Check to see if the program is GNU ld. I'd rather use --version, 5035 # but apparently some variants of GNU ld only accept -v. 5036 # Break only if it was the GNU/non-GNU ld that we prefer. 5037 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5038 *GNU* | *'with BFD'*) 5039 test no != "$with_gnu_ld" && break 5040 ;; 5041 *) 5042 test yes != "$with_gnu_ld" && break 5043 ;; 5044 esac 5045 fi 5046 done 5047 IFS=$lt_save_ifs 5048else 5049 lt_cv_path_LD=$LD # Let the user override the test with a path. 5050fi 5051fi 5052 5053LD=$lt_cv_path_LD 5054if test -n "$LD"; then 5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5056$as_echo "$LD" >&6; } 5057else 5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5059$as_echo "no" >&6; } 5060fi 5061test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5063$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5064if ${lt_cv_prog_gnu_ld+:} false; then : 5065 $as_echo_n "(cached) " >&6 5066else 5067 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5068case `$LD -v 2>&1 </dev/null` in 5069*GNU* | *'with BFD'*) 5070 lt_cv_prog_gnu_ld=yes 5071 ;; 5072*) 5073 lt_cv_prog_gnu_ld=no 5074 ;; 5075esac 5076fi 5077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5078$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5079with_gnu_ld=$lt_cv_prog_gnu_ld 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5090$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5091if ${lt_cv_path_NM+:} false; then : 5092 $as_echo_n "(cached) " >&6 5093else 5094 if test -n "$NM"; then 5095 # Let the user override the test. 5096 lt_cv_path_NM=$NM 5097else 5098 lt_nm_to_check=${ac_tool_prefix}nm 5099 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5100 lt_nm_to_check="$lt_nm_to_check nm" 5101 fi 5102 for lt_tmp_nm in $lt_nm_to_check; do 5103 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5104 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5105 IFS=$lt_save_ifs 5106 test -z "$ac_dir" && ac_dir=. 5107 tmp_nm=$ac_dir/$lt_tmp_nm 5108 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5109 # Check to see if the nm accepts a BSD-compat flag. 5110 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5111 # nm: unknown option "B" ignored 5112 # Tru64's nm complains that /dev/null is an invalid object file 5113 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5114 case $build_os in 5115 mingw*) lt_bad_file=conftest.nm/nofile ;; 5116 *) lt_bad_file=/dev/null ;; 5117 esac 5118 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5119 *$lt_bad_file* | *'Invalid file or object type'*) 5120 lt_cv_path_NM="$tmp_nm -B" 5121 break 2 5122 ;; 5123 *) 5124 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5125 */dev/null*) 5126 lt_cv_path_NM="$tmp_nm -p" 5127 break 2 5128 ;; 5129 *) 5130 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5131 continue # so that we can try to find one that supports BSD flags 5132 ;; 5133 esac 5134 ;; 5135 esac 5136 fi 5137 done 5138 IFS=$lt_save_ifs 5139 done 5140 : ${lt_cv_path_NM=no} 5141fi 5142fi 5143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5144$as_echo "$lt_cv_path_NM" >&6; } 5145if test no != "$lt_cv_path_NM"; then 5146 NM=$lt_cv_path_NM 5147else 5148 # Didn't find any BSD compatible name lister, look for dumpbin. 5149 if test -n "$DUMPBIN"; then : 5150 # Let the user override the test. 5151 else 5152 if test -n "$ac_tool_prefix"; then 5153 for ac_prog in dumpbin "link -dump" 5154 do 5155 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5156set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5158$as_echo_n "checking for $ac_word... " >&6; } 5159if ${ac_cv_prog_DUMPBIN+:} false; then : 5160 $as_echo_n "(cached) " >&6 5161else 5162 if test -n "$DUMPBIN"; then 5163 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5164else 5165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5166for as_dir in $PATH 5167do 5168 IFS=$as_save_IFS 5169 test -z "$as_dir" && as_dir=. 5170 for ac_exec_ext in '' $ac_executable_extensions; do 5171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5172 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5174 break 2 5175 fi 5176done 5177 done 5178IFS=$as_save_IFS 5179 5180fi 5181fi 5182DUMPBIN=$ac_cv_prog_DUMPBIN 5183if test -n "$DUMPBIN"; then 5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5185$as_echo "$DUMPBIN" >&6; } 5186else 5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5188$as_echo "no" >&6; } 5189fi 5190 5191 5192 test -n "$DUMPBIN" && break 5193 done 5194fi 5195if test -z "$DUMPBIN"; then 5196 ac_ct_DUMPBIN=$DUMPBIN 5197 for ac_prog in dumpbin "link -dump" 5198do 5199 # Extract the first word of "$ac_prog", so it can be a program name with args. 5200set dummy $ac_prog; ac_word=$2 5201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5202$as_echo_n "checking for $ac_word... " >&6; } 5203if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5204 $as_echo_n "(cached) " >&6 5205else 5206 if test -n "$ac_ct_DUMPBIN"; then 5207 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5208else 5209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5210for as_dir in $PATH 5211do 5212 IFS=$as_save_IFS 5213 test -z "$as_dir" && as_dir=. 5214 for ac_exec_ext in '' $ac_executable_extensions; do 5215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5216 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5218 break 2 5219 fi 5220done 5221 done 5222IFS=$as_save_IFS 5223 5224fi 5225fi 5226ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5227if test -n "$ac_ct_DUMPBIN"; then 5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5229$as_echo "$ac_ct_DUMPBIN" >&6; } 5230else 5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5232$as_echo "no" >&6; } 5233fi 5234 5235 5236 test -n "$ac_ct_DUMPBIN" && break 5237done 5238 5239 if test "x$ac_ct_DUMPBIN" = x; then 5240 DUMPBIN=":" 5241 else 5242 case $cross_compiling:$ac_tool_warned in 5243yes:) 5244{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5245$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5246ac_tool_warned=yes ;; 5247esac 5248 DUMPBIN=$ac_ct_DUMPBIN 5249 fi 5250fi 5251 5252 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5253 *COFF*) 5254 DUMPBIN="$DUMPBIN -symbols -headers" 5255 ;; 5256 *) 5257 DUMPBIN=: 5258 ;; 5259 esac 5260 fi 5261 5262 if test : != "$DUMPBIN"; then 5263 NM=$DUMPBIN 5264 fi 5265fi 5266test -z "$NM" && NM=nm 5267 5268 5269 5270 5271 5272 5273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5274$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5275if ${lt_cv_nm_interface+:} false; then : 5276 $as_echo_n "(cached) " >&6 5277else 5278 lt_cv_nm_interface="BSD nm" 5279 echo "int some_variable = 0;" > conftest.$ac_ext 5280 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5281 (eval "$ac_compile" 2>conftest.err) 5282 cat conftest.err >&5 5283 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5284 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5285 cat conftest.err >&5 5286 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5287 cat conftest.out >&5 5288 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5289 lt_cv_nm_interface="MS dumpbin" 5290 fi 5291 rm -f conftest* 5292fi 5293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5294$as_echo "$lt_cv_nm_interface" >&6; } 5295 5296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5297$as_echo_n "checking whether ln -s works... " >&6; } 5298LN_S=$as_ln_s 5299if test "$LN_S" = "ln -s"; then 5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5301$as_echo "yes" >&6; } 5302else 5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5304$as_echo "no, using $LN_S" >&6; } 5305fi 5306 5307# find the maximum length of command line arguments 5308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5309$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5310if ${lt_cv_sys_max_cmd_len+:} false; then : 5311 $as_echo_n "(cached) " >&6 5312else 5313 i=0 5314 teststring=ABCD 5315 5316 case $build_os in 5317 msdosdjgpp*) 5318 # On DJGPP, this test can blow up pretty badly due to problems in libc 5319 # (any single argument exceeding 2000 bytes causes a buffer overrun 5320 # during glob expansion). Even if it were fixed, the result of this 5321 # check would be larger than it should be. 5322 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5323 ;; 5324 5325 gnu*) 5326 # Under GNU Hurd, this test is not required because there is 5327 # no limit to the length of command line arguments. 5328 # Libtool will interpret -1 as no limit whatsoever 5329 lt_cv_sys_max_cmd_len=-1; 5330 ;; 5331 5332 cygwin* | mingw* | cegcc*) 5333 # On Win9x/ME, this test blows up -- it succeeds, but takes 5334 # about 5 minutes as the teststring grows exponentially. 5335 # Worse, since 9x/ME are not pre-emptively multitasking, 5336 # you end up with a "frozen" computer, even though with patience 5337 # the test eventually succeeds (with a max line length of 256k). 5338 # Instead, let's just punt: use the minimum linelength reported by 5339 # all of the supported platforms: 8192 (on NT/2K/XP). 5340 lt_cv_sys_max_cmd_len=8192; 5341 ;; 5342 5343 mint*) 5344 # On MiNT this can take a long time and run out of memory. 5345 lt_cv_sys_max_cmd_len=8192; 5346 ;; 5347 5348 amigaos*) 5349 # On AmigaOS with pdksh, this test takes hours, literally. 5350 # So we just punt and use a minimum line length of 8192. 5351 lt_cv_sys_max_cmd_len=8192; 5352 ;; 5353 5354 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5355 # This has been around since 386BSD, at least. Likely further. 5356 if test -x /sbin/sysctl; then 5357 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5358 elif test -x /usr/sbin/sysctl; then 5359 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5360 else 5361 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5362 fi 5363 # And add a safety zone 5364 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5365 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5366 ;; 5367 5368 interix*) 5369 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5370 lt_cv_sys_max_cmd_len=196608 5371 ;; 5372 5373 os2*) 5374 # The test takes a long time on OS/2. 5375 lt_cv_sys_max_cmd_len=8192 5376 ;; 5377 5378 osf*) 5379 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5380 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5381 # nice to cause kernel panics so lets avoid the loop below. 5382 # First set a reasonable default. 5383 lt_cv_sys_max_cmd_len=16384 5384 # 5385 if test -x /sbin/sysconfig; then 5386 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5387 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5388 esac 5389 fi 5390 ;; 5391 sco3.2v5*) 5392 lt_cv_sys_max_cmd_len=102400 5393 ;; 5394 sysv5* | sco5v6* | sysv4.2uw2*) 5395 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5396 if test -n "$kargmax"; then 5397 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5398 else 5399 lt_cv_sys_max_cmd_len=32768 5400 fi 5401 ;; 5402 *) 5403 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5404 if test -n "$lt_cv_sys_max_cmd_len" && \ 5405 test undefined != "$lt_cv_sys_max_cmd_len"; then 5406 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5407 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5408 else 5409 # Make teststring a little bigger before we do anything with it. 5410 # a 1K string should be a reasonable start. 5411 for i in 1 2 3 4 5 6 7 8; do 5412 teststring=$teststring$teststring 5413 done 5414 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5415 # If test is not a shell built-in, we'll probably end up computing a 5416 # maximum length that is only half of the actual maximum length, but 5417 # we can't tell. 5418 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5419 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5420 test 17 != "$i" # 1/2 MB should be enough 5421 do 5422 i=`expr $i + 1` 5423 teststring=$teststring$teststring 5424 done 5425 # Only check the string length outside the loop. 5426 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5427 teststring= 5428 # Add a significant safety factor because C++ compilers can tack on 5429 # massive amounts of additional arguments before passing them to the 5430 # linker. It appears as though 1/2 is a usable value. 5431 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5432 fi 5433 ;; 5434 esac 5435 5436fi 5437 5438if test -n "$lt_cv_sys_max_cmd_len"; then 5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5440$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5441else 5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5443$as_echo "none" >&6; } 5444fi 5445max_cmd_len=$lt_cv_sys_max_cmd_len 5446 5447 5448 5449 5450 5451 5452: ${CP="cp -f"} 5453: ${MV="mv -f"} 5454: ${RM="rm -f"} 5455 5456if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5457 lt_unset=unset 5458else 5459 lt_unset=false 5460fi 5461 5462 5463 5464 5465 5466# test EBCDIC or ASCII 5467case `echo X|tr X '\101'` in 5468 A) # ASCII based system 5469 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5470 lt_SP2NL='tr \040 \012' 5471 lt_NL2SP='tr \015\012 \040\040' 5472 ;; 5473 *) # EBCDIC based system 5474 lt_SP2NL='tr \100 \n' 5475 lt_NL2SP='tr \r\n \100\100' 5476 ;; 5477esac 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5488$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5489if ${lt_cv_to_host_file_cmd+:} false; then : 5490 $as_echo_n "(cached) " >&6 5491else 5492 case $host in 5493 *-*-mingw* ) 5494 case $build in 5495 *-*-mingw* ) # actually msys 5496 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5497 ;; 5498 *-*-cygwin* ) 5499 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5500 ;; 5501 * ) # otherwise, assume *nix 5502 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5503 ;; 5504 esac 5505 ;; 5506 *-*-cygwin* ) 5507 case $build in 5508 *-*-mingw* ) # actually msys 5509 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5510 ;; 5511 *-*-cygwin* ) 5512 lt_cv_to_host_file_cmd=func_convert_file_noop 5513 ;; 5514 * ) # otherwise, assume *nix 5515 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5516 ;; 5517 esac 5518 ;; 5519 * ) # unhandled hosts (and "normal" native builds) 5520 lt_cv_to_host_file_cmd=func_convert_file_noop 5521 ;; 5522esac 5523 5524fi 5525 5526to_host_file_cmd=$lt_cv_to_host_file_cmd 5527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5528$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5529 5530 5531 5532 5533 5534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5535$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5536if ${lt_cv_to_tool_file_cmd+:} false; then : 5537 $as_echo_n "(cached) " >&6 5538else 5539 #assume ordinary cross tools, or native build. 5540lt_cv_to_tool_file_cmd=func_convert_file_noop 5541case $host in 5542 *-*-mingw* ) 5543 case $build in 5544 *-*-mingw* ) # actually msys 5545 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5546 ;; 5547 esac 5548 ;; 5549esac 5550 5551fi 5552 5553to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5555$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5556 5557 5558 5559 5560 5561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5562$as_echo_n "checking for $LD option to reload object files... " >&6; } 5563if ${lt_cv_ld_reload_flag+:} false; then : 5564 $as_echo_n "(cached) " >&6 5565else 5566 lt_cv_ld_reload_flag='-r' 5567fi 5568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5569$as_echo "$lt_cv_ld_reload_flag" >&6; } 5570reload_flag=$lt_cv_ld_reload_flag 5571case $reload_flag in 5572"" | " "*) ;; 5573*) reload_flag=" $reload_flag" ;; 5574esac 5575reload_cmds='$LD$reload_flag -o $output$reload_objs' 5576case $host_os in 5577 cygwin* | mingw* | pw32* | cegcc*) 5578 if test yes != "$GCC"; then 5579 reload_cmds=false 5580 fi 5581 ;; 5582 darwin*) 5583 if test yes = "$GCC"; then 5584 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5585 else 5586 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5587 fi 5588 ;; 5589esac 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599if test -n "$ac_tool_prefix"; then 5600 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5601set dummy ${ac_tool_prefix}objdump; ac_word=$2 5602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5603$as_echo_n "checking for $ac_word... " >&6; } 5604if ${ac_cv_prog_OBJDUMP+:} false; then : 5605 $as_echo_n "(cached) " >&6 5606else 5607 if test -n "$OBJDUMP"; then 5608 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5609else 5610as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5611for as_dir in $PATH 5612do 5613 IFS=$as_save_IFS 5614 test -z "$as_dir" && as_dir=. 5615 for ac_exec_ext in '' $ac_executable_extensions; do 5616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5617 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5619 break 2 5620 fi 5621done 5622 done 5623IFS=$as_save_IFS 5624 5625fi 5626fi 5627OBJDUMP=$ac_cv_prog_OBJDUMP 5628if test -n "$OBJDUMP"; then 5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5630$as_echo "$OBJDUMP" >&6; } 5631else 5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5633$as_echo "no" >&6; } 5634fi 5635 5636 5637fi 5638if test -z "$ac_cv_prog_OBJDUMP"; then 5639 ac_ct_OBJDUMP=$OBJDUMP 5640 # Extract the first word of "objdump", so it can be a program name with args. 5641set dummy objdump; ac_word=$2 5642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5643$as_echo_n "checking for $ac_word... " >&6; } 5644if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5645 $as_echo_n "(cached) " >&6 5646else 5647 if test -n "$ac_ct_OBJDUMP"; then 5648 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5649else 5650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5651for as_dir in $PATH 5652do 5653 IFS=$as_save_IFS 5654 test -z "$as_dir" && as_dir=. 5655 for ac_exec_ext in '' $ac_executable_extensions; do 5656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5657 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5659 break 2 5660 fi 5661done 5662 done 5663IFS=$as_save_IFS 5664 5665fi 5666fi 5667ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5668if test -n "$ac_ct_OBJDUMP"; then 5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5670$as_echo "$ac_ct_OBJDUMP" >&6; } 5671else 5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5673$as_echo "no" >&6; } 5674fi 5675 5676 if test "x$ac_ct_OBJDUMP" = x; then 5677 OBJDUMP="false" 5678 else 5679 case $cross_compiling:$ac_tool_warned in 5680yes:) 5681{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5682$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5683ac_tool_warned=yes ;; 5684esac 5685 OBJDUMP=$ac_ct_OBJDUMP 5686 fi 5687else 5688 OBJDUMP="$ac_cv_prog_OBJDUMP" 5689fi 5690 5691test -z "$OBJDUMP" && OBJDUMP=objdump 5692 5693 5694 5695 5696 5697 5698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5699$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5700if ${lt_cv_deplibs_check_method+:} false; then : 5701 $as_echo_n "(cached) " >&6 5702else 5703 lt_cv_file_magic_cmd='$MAGIC_CMD' 5704lt_cv_file_magic_test_file= 5705lt_cv_deplibs_check_method='unknown' 5706# Need to set the preceding variable on all platforms that support 5707# interlibrary dependencies. 5708# 'none' -- dependencies not supported. 5709# 'unknown' -- same as none, but documents that we really don't know. 5710# 'pass_all' -- all dependencies passed with no checks. 5711# 'test_compile' -- check by making test program. 5712# 'file_magic [[regex]]' -- check by looking for files in library path 5713# that responds to the $file_magic_cmd with a given extended regex. 5714# If you have 'file' or equivalent on your system and you're not sure 5715# whether 'pass_all' will *always* work, you probably want this one. 5716 5717case $host_os in 5718aix[4-9]*) 5719 lt_cv_deplibs_check_method=pass_all 5720 ;; 5721 5722beos*) 5723 lt_cv_deplibs_check_method=pass_all 5724 ;; 5725 5726bsdi[45]*) 5727 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5728 lt_cv_file_magic_cmd='/usr/bin/file -L' 5729 lt_cv_file_magic_test_file=/shlib/libc.so 5730 ;; 5731 5732cygwin*) 5733 # func_win32_libid is a shell function defined in ltmain.sh 5734 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5735 lt_cv_file_magic_cmd='func_win32_libid' 5736 ;; 5737 5738mingw* | pw32*) 5739 # Base MSYS/MinGW do not provide the 'file' command needed by 5740 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5741 # unless we find 'file', for example because we are cross-compiling. 5742 if ( file / ) >/dev/null 2>&1; then 5743 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5744 lt_cv_file_magic_cmd='func_win32_libid' 5745 else 5746 # Keep this pattern in sync with the one in func_win32_libid. 5747 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5748 lt_cv_file_magic_cmd='$OBJDUMP -f' 5749 fi 5750 ;; 5751 5752cegcc*) 5753 # use the weaker test based on 'objdump'. See mingw*. 5754 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5755 lt_cv_file_magic_cmd='$OBJDUMP -f' 5756 ;; 5757 5758darwin* | rhapsody*) 5759 lt_cv_deplibs_check_method=pass_all 5760 ;; 5761 5762freebsd* | dragonfly*) 5763 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5764 case $host_cpu in 5765 i*86 ) 5766 # Not sure whether the presence of OpenBSD here was a mistake. 5767 # Let's accept both of them until this is cleared up. 5768 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5769 lt_cv_file_magic_cmd=/usr/bin/file 5770 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5771 ;; 5772 esac 5773 else 5774 lt_cv_deplibs_check_method=pass_all 5775 fi 5776 ;; 5777 5778haiku*) 5779 lt_cv_deplibs_check_method=pass_all 5780 ;; 5781 5782hpux10.20* | hpux11*) 5783 lt_cv_file_magic_cmd=/usr/bin/file 5784 case $host_cpu in 5785 ia64*) 5786 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5787 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5788 ;; 5789 hppa*64*) 5790 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]' 5791 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5792 ;; 5793 *) 5794 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5795 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5796 ;; 5797 esac 5798 ;; 5799 5800interix[3-9]*) 5801 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5802 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5803 ;; 5804 5805irix5* | irix6* | nonstopux*) 5806 case $LD in 5807 *-32|*"-32 ") libmagic=32-bit;; 5808 *-n32|*"-n32 ") libmagic=N32;; 5809 *-64|*"-64 ") libmagic=64-bit;; 5810 *) libmagic=never-match;; 5811 esac 5812 lt_cv_deplibs_check_method=pass_all 5813 ;; 5814 5815# This must be glibc/ELF. 5816linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5817 lt_cv_deplibs_check_method=pass_all 5818 ;; 5819 5820netbsd*) 5821 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5822 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5823 else 5824 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5825 fi 5826 ;; 5827 5828newos6*) 5829 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5830 lt_cv_file_magic_cmd=/usr/bin/file 5831 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5832 ;; 5833 5834*nto* | *qnx*) 5835 lt_cv_deplibs_check_method=pass_all 5836 ;; 5837 5838openbsd* | bitrig*) 5839 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5840 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5841 else 5842 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5843 fi 5844 ;; 5845 5846osf3* | osf4* | osf5*) 5847 lt_cv_deplibs_check_method=pass_all 5848 ;; 5849 5850rdos*) 5851 lt_cv_deplibs_check_method=pass_all 5852 ;; 5853 5854solaris*) 5855 lt_cv_deplibs_check_method=pass_all 5856 ;; 5857 5858sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5859 lt_cv_deplibs_check_method=pass_all 5860 ;; 5861 5862sysv4 | sysv4.3*) 5863 case $host_vendor in 5864 motorola) 5865 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]' 5866 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5867 ;; 5868 ncr) 5869 lt_cv_deplibs_check_method=pass_all 5870 ;; 5871 sequent) 5872 lt_cv_file_magic_cmd='/bin/file' 5873 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5874 ;; 5875 sni) 5876 lt_cv_file_magic_cmd='/bin/file' 5877 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5878 lt_cv_file_magic_test_file=/lib/libc.so 5879 ;; 5880 siemens) 5881 lt_cv_deplibs_check_method=pass_all 5882 ;; 5883 pc) 5884 lt_cv_deplibs_check_method=pass_all 5885 ;; 5886 esac 5887 ;; 5888 5889tpf*) 5890 lt_cv_deplibs_check_method=pass_all 5891 ;; 5892os2*) 5893 lt_cv_deplibs_check_method=pass_all 5894 ;; 5895esac 5896 5897fi 5898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5899$as_echo "$lt_cv_deplibs_check_method" >&6; } 5900 5901file_magic_glob= 5902want_nocaseglob=no 5903if test "$build" = "$host"; then 5904 case $host_os in 5905 mingw* | pw32*) 5906 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5907 want_nocaseglob=yes 5908 else 5909 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5910 fi 5911 ;; 5912 esac 5913fi 5914 5915file_magic_cmd=$lt_cv_file_magic_cmd 5916deplibs_check_method=$lt_cv_deplibs_check_method 5917test -z "$deplibs_check_method" && deplibs_check_method=unknown 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940if test -n "$ac_tool_prefix"; then 5941 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5942set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5944$as_echo_n "checking for $ac_word... " >&6; } 5945if ${ac_cv_prog_DLLTOOL+:} false; then : 5946 $as_echo_n "(cached) " >&6 5947else 5948 if test -n "$DLLTOOL"; then 5949 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5950else 5951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5952for as_dir in $PATH 5953do 5954 IFS=$as_save_IFS 5955 test -z "$as_dir" && as_dir=. 5956 for ac_exec_ext in '' $ac_executable_extensions; do 5957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5958 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5960 break 2 5961 fi 5962done 5963 done 5964IFS=$as_save_IFS 5965 5966fi 5967fi 5968DLLTOOL=$ac_cv_prog_DLLTOOL 5969if test -n "$DLLTOOL"; then 5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5971$as_echo "$DLLTOOL" >&6; } 5972else 5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5974$as_echo "no" >&6; } 5975fi 5976 5977 5978fi 5979if test -z "$ac_cv_prog_DLLTOOL"; then 5980 ac_ct_DLLTOOL=$DLLTOOL 5981 # Extract the first word of "dlltool", so it can be a program name with args. 5982set dummy dlltool; ac_word=$2 5983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5984$as_echo_n "checking for $ac_word... " >&6; } 5985if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5986 $as_echo_n "(cached) " >&6 5987else 5988 if test -n "$ac_ct_DLLTOOL"; then 5989 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5990else 5991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5992for as_dir in $PATH 5993do 5994 IFS=$as_save_IFS 5995 test -z "$as_dir" && as_dir=. 5996 for ac_exec_ext in '' $ac_executable_extensions; do 5997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5998 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6000 break 2 6001 fi 6002done 6003 done 6004IFS=$as_save_IFS 6005 6006fi 6007fi 6008ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6009if test -n "$ac_ct_DLLTOOL"; then 6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6011$as_echo "$ac_ct_DLLTOOL" >&6; } 6012else 6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6014$as_echo "no" >&6; } 6015fi 6016 6017 if test "x$ac_ct_DLLTOOL" = x; then 6018 DLLTOOL="false" 6019 else 6020 case $cross_compiling:$ac_tool_warned in 6021yes:) 6022{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6023$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6024ac_tool_warned=yes ;; 6025esac 6026 DLLTOOL=$ac_ct_DLLTOOL 6027 fi 6028else 6029 DLLTOOL="$ac_cv_prog_DLLTOOL" 6030fi 6031 6032test -z "$DLLTOOL" && DLLTOOL=dlltool 6033 6034 6035 6036 6037 6038 6039 6040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6041$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6042if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6043 $as_echo_n "(cached) " >&6 6044else 6045 lt_cv_sharedlib_from_linklib_cmd='unknown' 6046 6047case $host_os in 6048cygwin* | mingw* | pw32* | cegcc*) 6049 # two different shell functions defined in ltmain.sh; 6050 # decide which one to use based on capabilities of $DLLTOOL 6051 case `$DLLTOOL --help 2>&1` in 6052 *--identify-strict*) 6053 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6054 ;; 6055 *) 6056 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6057 ;; 6058 esac 6059 ;; 6060*) 6061 # fallback: assume linklib IS sharedlib 6062 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6063 ;; 6064esac 6065 6066fi 6067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6068$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6069sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6070test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6071 6072 6073 6074 6075 6076 6077 6078if test -n "$ac_tool_prefix"; then 6079 for ac_prog in ar 6080 do 6081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6082set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6084$as_echo_n "checking for $ac_word... " >&6; } 6085if ${ac_cv_prog_AR+:} false; then : 6086 $as_echo_n "(cached) " >&6 6087else 6088 if test -n "$AR"; then 6089 ac_cv_prog_AR="$AR" # Let the user override the test. 6090else 6091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6092for as_dir in $PATH 6093do 6094 IFS=$as_save_IFS 6095 test -z "$as_dir" && as_dir=. 6096 for ac_exec_ext in '' $ac_executable_extensions; do 6097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6098 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6100 break 2 6101 fi 6102done 6103 done 6104IFS=$as_save_IFS 6105 6106fi 6107fi 6108AR=$ac_cv_prog_AR 6109if test -n "$AR"; then 6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6111$as_echo "$AR" >&6; } 6112else 6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6114$as_echo "no" >&6; } 6115fi 6116 6117 6118 test -n "$AR" && break 6119 done 6120fi 6121if test -z "$AR"; then 6122 ac_ct_AR=$AR 6123 for ac_prog in ar 6124do 6125 # Extract the first word of "$ac_prog", so it can be a program name with args. 6126set dummy $ac_prog; ac_word=$2 6127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6128$as_echo_n "checking for $ac_word... " >&6; } 6129if ${ac_cv_prog_ac_ct_AR+:} false; then : 6130 $as_echo_n "(cached) " >&6 6131else 6132 if test -n "$ac_ct_AR"; then 6133 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6134else 6135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6136for as_dir in $PATH 6137do 6138 IFS=$as_save_IFS 6139 test -z "$as_dir" && as_dir=. 6140 for ac_exec_ext in '' $ac_executable_extensions; do 6141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6142 ac_cv_prog_ac_ct_AR="$ac_prog" 6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6144 break 2 6145 fi 6146done 6147 done 6148IFS=$as_save_IFS 6149 6150fi 6151fi 6152ac_ct_AR=$ac_cv_prog_ac_ct_AR 6153if test -n "$ac_ct_AR"; then 6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6155$as_echo "$ac_ct_AR" >&6; } 6156else 6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6158$as_echo "no" >&6; } 6159fi 6160 6161 6162 test -n "$ac_ct_AR" && break 6163done 6164 6165 if test "x$ac_ct_AR" = x; then 6166 AR="false" 6167 else 6168 case $cross_compiling:$ac_tool_warned in 6169yes:) 6170{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6171$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6172ac_tool_warned=yes ;; 6173esac 6174 AR=$ac_ct_AR 6175 fi 6176fi 6177 6178: ${AR=ar} 6179: ${AR_FLAGS=cru} 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6192$as_echo_n "checking for archiver @FILE support... " >&6; } 6193if ${lt_cv_ar_at_file+:} false; then : 6194 $as_echo_n "(cached) " >&6 6195else 6196 lt_cv_ar_at_file=no 6197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6198/* end confdefs.h. */ 6199 6200int 6201main () 6202{ 6203 6204 ; 6205 return 0; 6206} 6207_ACEOF 6208if ac_fn_c_try_compile "$LINENO"; then : 6209 echo conftest.$ac_objext > conftest.lst 6210 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6211 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6212 (eval $lt_ar_try) 2>&5 6213 ac_status=$? 6214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6215 test $ac_status = 0; } 6216 if test 0 -eq "$ac_status"; then 6217 # Ensure the archiver fails upon bogus file names. 6218 rm -f conftest.$ac_objext libconftest.a 6219 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6220 (eval $lt_ar_try) 2>&5 6221 ac_status=$? 6222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6223 test $ac_status = 0; } 6224 if test 0 -ne "$ac_status"; then 6225 lt_cv_ar_at_file=@ 6226 fi 6227 fi 6228 rm -f conftest.* libconftest.a 6229 6230fi 6231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6232 6233fi 6234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6235$as_echo "$lt_cv_ar_at_file" >&6; } 6236 6237if test no = "$lt_cv_ar_at_file"; then 6238 archiver_list_spec= 6239else 6240 archiver_list_spec=$lt_cv_ar_at_file 6241fi 6242 6243 6244 6245 6246 6247 6248 6249if test -n "$ac_tool_prefix"; then 6250 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6251set dummy ${ac_tool_prefix}strip; ac_word=$2 6252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6253$as_echo_n "checking for $ac_word... " >&6; } 6254if ${ac_cv_prog_STRIP+:} false; then : 6255 $as_echo_n "(cached) " >&6 6256else 6257 if test -n "$STRIP"; then 6258 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6259else 6260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6261for as_dir in $PATH 6262do 6263 IFS=$as_save_IFS 6264 test -z "$as_dir" && as_dir=. 6265 for ac_exec_ext in '' $ac_executable_extensions; do 6266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6267 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6269 break 2 6270 fi 6271done 6272 done 6273IFS=$as_save_IFS 6274 6275fi 6276fi 6277STRIP=$ac_cv_prog_STRIP 6278if test -n "$STRIP"; then 6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6280$as_echo "$STRIP" >&6; } 6281else 6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6283$as_echo "no" >&6; } 6284fi 6285 6286 6287fi 6288if test -z "$ac_cv_prog_STRIP"; then 6289 ac_ct_STRIP=$STRIP 6290 # Extract the first word of "strip", so it can be a program name with args. 6291set dummy strip; ac_word=$2 6292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6293$as_echo_n "checking for $ac_word... " >&6; } 6294if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6295 $as_echo_n "(cached) " >&6 6296else 6297 if test -n "$ac_ct_STRIP"; then 6298 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6299else 6300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6301for as_dir in $PATH 6302do 6303 IFS=$as_save_IFS 6304 test -z "$as_dir" && as_dir=. 6305 for ac_exec_ext in '' $ac_executable_extensions; do 6306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6307 ac_cv_prog_ac_ct_STRIP="strip" 6308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6309 break 2 6310 fi 6311done 6312 done 6313IFS=$as_save_IFS 6314 6315fi 6316fi 6317ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6318if test -n "$ac_ct_STRIP"; then 6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6320$as_echo "$ac_ct_STRIP" >&6; } 6321else 6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6323$as_echo "no" >&6; } 6324fi 6325 6326 if test "x$ac_ct_STRIP" = x; then 6327 STRIP=":" 6328 else 6329 case $cross_compiling:$ac_tool_warned in 6330yes:) 6331{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6332$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6333ac_tool_warned=yes ;; 6334esac 6335 STRIP=$ac_ct_STRIP 6336 fi 6337else 6338 STRIP="$ac_cv_prog_STRIP" 6339fi 6340 6341test -z "$STRIP" && STRIP=: 6342 6343 6344 6345 6346 6347 6348if test -n "$ac_tool_prefix"; then 6349 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6350set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6352$as_echo_n "checking for $ac_word... " >&6; } 6353if ${ac_cv_prog_RANLIB+:} false; then : 6354 $as_echo_n "(cached) " >&6 6355else 6356 if test -n "$RANLIB"; then 6357 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6358else 6359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6360for as_dir in $PATH 6361do 6362 IFS=$as_save_IFS 6363 test -z "$as_dir" && as_dir=. 6364 for ac_exec_ext in '' $ac_executable_extensions; do 6365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6366 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6368 break 2 6369 fi 6370done 6371 done 6372IFS=$as_save_IFS 6373 6374fi 6375fi 6376RANLIB=$ac_cv_prog_RANLIB 6377if test -n "$RANLIB"; then 6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6379$as_echo "$RANLIB" >&6; } 6380else 6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6382$as_echo "no" >&6; } 6383fi 6384 6385 6386fi 6387if test -z "$ac_cv_prog_RANLIB"; then 6388 ac_ct_RANLIB=$RANLIB 6389 # Extract the first word of "ranlib", so it can be a program name with args. 6390set dummy ranlib; ac_word=$2 6391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6392$as_echo_n "checking for $ac_word... " >&6; } 6393if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6394 $as_echo_n "(cached) " >&6 6395else 6396 if test -n "$ac_ct_RANLIB"; then 6397 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6398else 6399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6400for as_dir in $PATH 6401do 6402 IFS=$as_save_IFS 6403 test -z "$as_dir" && as_dir=. 6404 for ac_exec_ext in '' $ac_executable_extensions; do 6405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6406 ac_cv_prog_ac_ct_RANLIB="ranlib" 6407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6408 break 2 6409 fi 6410done 6411 done 6412IFS=$as_save_IFS 6413 6414fi 6415fi 6416ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6417if test -n "$ac_ct_RANLIB"; then 6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6419$as_echo "$ac_ct_RANLIB" >&6; } 6420else 6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6422$as_echo "no" >&6; } 6423fi 6424 6425 if test "x$ac_ct_RANLIB" = x; then 6426 RANLIB=":" 6427 else 6428 case $cross_compiling:$ac_tool_warned in 6429yes:) 6430{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6431$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6432ac_tool_warned=yes ;; 6433esac 6434 RANLIB=$ac_ct_RANLIB 6435 fi 6436else 6437 RANLIB="$ac_cv_prog_RANLIB" 6438fi 6439 6440test -z "$RANLIB" && RANLIB=: 6441 6442 6443 6444 6445 6446 6447# Determine commands to create old-style static archives. 6448old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6449old_postinstall_cmds='chmod 644 $oldlib' 6450old_postuninstall_cmds= 6451 6452if test -n "$RANLIB"; then 6453 case $host_os in 6454 bitrig* | openbsd*) 6455 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6456 ;; 6457 *) 6458 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6459 ;; 6460 esac 6461 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6462fi 6463 6464case $host_os in 6465 darwin*) 6466 lock_old_archive_extraction=yes ;; 6467 *) 6468 lock_old_archive_extraction=no ;; 6469esac 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509# If no C compiler was specified, use CC. 6510LTCC=${LTCC-"$CC"} 6511 6512# If no C compiler flags were specified, use CFLAGS. 6513LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6514 6515# Allow CC to be a program name with arguments. 6516compiler=$CC 6517 6518 6519# Check for command to grab the raw symbol name followed by C symbol from nm. 6520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6521$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6522if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6523 $as_echo_n "(cached) " >&6 6524else 6525 6526# These are sane defaults that work on at least a few old systems. 6527# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6528 6529# Character class describing NM global symbol codes. 6530symcode='[BCDEGRST]' 6531 6532# Regexp to match symbols that can be accessed directly from C. 6533sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6534 6535# Define system-specific variables. 6536case $host_os in 6537aix*) 6538 symcode='[BCDT]' 6539 ;; 6540cygwin* | mingw* | pw32* | cegcc*) 6541 symcode='[ABCDGISTW]' 6542 ;; 6543hpux*) 6544 if test ia64 = "$host_cpu"; then 6545 symcode='[ABCDEGRST]' 6546 fi 6547 ;; 6548irix* | nonstopux*) 6549 symcode='[BCDEGRST]' 6550 ;; 6551osf*) 6552 symcode='[BCDEGQRST]' 6553 ;; 6554solaris*) 6555 symcode='[BDRT]' 6556 ;; 6557sco3.2v5*) 6558 symcode='[DT]' 6559 ;; 6560sysv4.2uw2*) 6561 symcode='[DT]' 6562 ;; 6563sysv5* | sco5v6* | unixware* | OpenUNIX*) 6564 symcode='[ABDT]' 6565 ;; 6566sysv4) 6567 symcode='[DFNSTU]' 6568 ;; 6569esac 6570 6571# If we're using GNU nm, then use its standard symbol codes. 6572case `$NM -V 2>&1` in 6573*GNU* | *'with BFD'*) 6574 symcode='[ABCDGIRSTW]' ;; 6575esac 6576 6577if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6578 # Gets list of data symbols to import. 6579 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6580 # Adjust the below global symbol transforms to fixup imported variables. 6581 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6582 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6583 lt_c_name_lib_hook="\ 6584 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6585 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6586else 6587 # Disable hooks by default. 6588 lt_cv_sys_global_symbol_to_import= 6589 lt_cdecl_hook= 6590 lt_c_name_hook= 6591 lt_c_name_lib_hook= 6592fi 6593 6594# Transform an extracted symbol line into a proper C declaration. 6595# Some systems (esp. on ia64) link data and code symbols differently, 6596# so use this general approach. 6597lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6598$lt_cdecl_hook\ 6599" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6600" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6601 6602# Transform an extracted symbol line into symbol name and symbol address 6603lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6604$lt_c_name_hook\ 6605" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6606" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6607 6608# Transform an extracted symbol line into symbol name with lib prefix and 6609# symbol address. 6610lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6611$lt_c_name_lib_hook\ 6612" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6613" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6614" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6615 6616# Handle CRLF in mingw tool chain 6617opt_cr= 6618case $build_os in 6619mingw*) 6620 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6621 ;; 6622esac 6623 6624# Try without a prefix underscore, then with it. 6625for ac_symprfx in "" "_"; do 6626 6627 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6628 symxfrm="\\1 $ac_symprfx\\2 \\2" 6629 6630 # Write the raw and C identifiers. 6631 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6632 # Fake it for dumpbin and say T for any non-static function, 6633 # D for any global variable and I for any imported variable. 6634 # Also find C++ and __fastcall symbols from MSVC++, 6635 # which start with @ or ?. 6636 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6637" {last_section=section; section=\$ 3};"\ 6638" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6639" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6640" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6641" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6642" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6643" \$ 0!~/External *\|/{next};"\ 6644" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6645" {if(hide[section]) next};"\ 6646" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6647" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6648" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6649" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6650" ' prfx=^$ac_symprfx" 6651 else 6652 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6653 fi 6654 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6655 6656 # Check to see that the pipe works correctly. 6657 pipe_works=no 6658 6659 rm -f conftest* 6660 cat > conftest.$ac_ext <<_LT_EOF 6661#ifdef __cplusplus 6662extern "C" { 6663#endif 6664char nm_test_var; 6665void nm_test_func(void); 6666void nm_test_func(void){} 6667#ifdef __cplusplus 6668} 6669#endif 6670int main(){nm_test_var='a';nm_test_func();return(0);} 6671_LT_EOF 6672 6673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6674 (eval $ac_compile) 2>&5 6675 ac_status=$? 6676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6677 test $ac_status = 0; }; then 6678 # Now try to grab the symbols. 6679 nlist=conftest.nm 6680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6681 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6682 ac_status=$? 6683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6684 test $ac_status = 0; } && test -s "$nlist"; then 6685 # Try sorting and uniquifying the output. 6686 if sort "$nlist" | uniq > "$nlist"T; then 6687 mv -f "$nlist"T "$nlist" 6688 else 6689 rm -f "$nlist"T 6690 fi 6691 6692 # Make sure that we snagged all the symbols we need. 6693 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6694 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6695 cat <<_LT_EOF > conftest.$ac_ext 6696/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6697#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6698/* DATA imports from DLLs on WIN32 can't be const, because runtime 6699 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6700# define LT_DLSYM_CONST 6701#elif defined __osf__ 6702/* This system does not cope well with relocations in const data. */ 6703# define LT_DLSYM_CONST 6704#else 6705# define LT_DLSYM_CONST const 6706#endif 6707 6708#ifdef __cplusplus 6709extern "C" { 6710#endif 6711 6712_LT_EOF 6713 # Now generate the symbol file. 6714 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6715 6716 cat <<_LT_EOF >> conftest.$ac_ext 6717 6718/* The mapping between symbol names and symbols. */ 6719LT_DLSYM_CONST struct { 6720 const char *name; 6721 void *address; 6722} 6723lt__PROGRAM__LTX_preloaded_symbols[] = 6724{ 6725 { "@PROGRAM@", (void *) 0 }, 6726_LT_EOF 6727 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6728 cat <<\_LT_EOF >> conftest.$ac_ext 6729 {0, (void *) 0} 6730}; 6731 6732/* This works around a problem in FreeBSD linker */ 6733#ifdef FREEBSD_WORKAROUND 6734static const void *lt_preloaded_setup() { 6735 return lt__PROGRAM__LTX_preloaded_symbols; 6736} 6737#endif 6738 6739#ifdef __cplusplus 6740} 6741#endif 6742_LT_EOF 6743 # Now try linking the two files. 6744 mv conftest.$ac_objext conftstm.$ac_objext 6745 lt_globsym_save_LIBS=$LIBS 6746 lt_globsym_save_CFLAGS=$CFLAGS 6747 LIBS=conftstm.$ac_objext 6748 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6750 (eval $ac_link) 2>&5 6751 ac_status=$? 6752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6753 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6754 pipe_works=yes 6755 fi 6756 LIBS=$lt_globsym_save_LIBS 6757 CFLAGS=$lt_globsym_save_CFLAGS 6758 else 6759 echo "cannot find nm_test_func in $nlist" >&5 6760 fi 6761 else 6762 echo "cannot find nm_test_var in $nlist" >&5 6763 fi 6764 else 6765 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6766 fi 6767 else 6768 echo "$progname: failed program was:" >&5 6769 cat conftest.$ac_ext >&5 6770 fi 6771 rm -rf conftest* conftst* 6772 6773 # Do not use the global_symbol_pipe unless it works. 6774 if test yes = "$pipe_works"; then 6775 break 6776 else 6777 lt_cv_sys_global_symbol_pipe= 6778 fi 6779done 6780 6781fi 6782 6783if test -z "$lt_cv_sys_global_symbol_pipe"; then 6784 lt_cv_sys_global_symbol_to_cdecl= 6785fi 6786if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6788$as_echo "failed" >&6; } 6789else 6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6791$as_echo "ok" >&6; } 6792fi 6793 6794# Response file support. 6795if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6796 nm_file_list_spec='@' 6797elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6798 nm_file_list_spec='@' 6799fi 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6838$as_echo_n "checking for sysroot... " >&6; } 6839 6840# Check whether --with-sysroot was given. 6841if test "${with_sysroot+set}" = set; then : 6842 withval=$with_sysroot; 6843else 6844 with_sysroot=no 6845fi 6846 6847 6848lt_sysroot= 6849case $with_sysroot in #( 6850 yes) 6851 if test yes = "$GCC"; then 6852 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6853 fi 6854 ;; #( 6855 /*) 6856 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6857 ;; #( 6858 no|'') 6859 ;; #( 6860 *) 6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6862$as_echo "$with_sysroot" >&6; } 6863 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6864 ;; 6865esac 6866 6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6868$as_echo "${lt_sysroot:-no}" >&6; } 6869 6870 6871 6872 6873 6874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6875$as_echo_n "checking for a working dd... " >&6; } 6876if ${ac_cv_path_lt_DD+:} false; then : 6877 $as_echo_n "(cached) " >&6 6878else 6879 printf 0123456789abcdef0123456789abcdef >conftest.i 6880cat conftest.i conftest.i >conftest2.i 6881: ${lt_DD:=$DD} 6882if test -z "$lt_DD"; then 6883 ac_path_lt_DD_found=false 6884 # Loop through the user's path and test for each of PROGNAME-LIST 6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6886for as_dir in $PATH 6887do 6888 IFS=$as_save_IFS 6889 test -z "$as_dir" && as_dir=. 6890 for ac_prog in dd; do 6891 for ac_exec_ext in '' $ac_executable_extensions; do 6892 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6893 as_fn_executable_p "$ac_path_lt_DD" || continue 6894if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6895 cmp -s conftest.i conftest.out \ 6896 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6897fi 6898 $ac_path_lt_DD_found && break 3 6899 done 6900 done 6901 done 6902IFS=$as_save_IFS 6903 if test -z "$ac_cv_path_lt_DD"; then 6904 : 6905 fi 6906else 6907 ac_cv_path_lt_DD=$lt_DD 6908fi 6909 6910rm -f conftest.i conftest2.i conftest.out 6911fi 6912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6913$as_echo "$ac_cv_path_lt_DD" >&6; } 6914 6915 6916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6917$as_echo_n "checking how to truncate binary pipes... " >&6; } 6918if ${lt_cv_truncate_bin+:} false; then : 6919 $as_echo_n "(cached) " >&6 6920else 6921 printf 0123456789abcdef0123456789abcdef >conftest.i 6922cat conftest.i conftest.i >conftest2.i 6923lt_cv_truncate_bin= 6924if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6925 cmp -s conftest.i conftest.out \ 6926 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6927fi 6928rm -f conftest.i conftest2.i conftest.out 6929test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6930fi 6931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6932$as_echo "$lt_cv_truncate_bin" >&6; } 6933 6934 6935 6936 6937 6938 6939 6940# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6941func_cc_basename () 6942{ 6943 for cc_temp in $*""; do 6944 case $cc_temp in 6945 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6946 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6947 \-*) ;; 6948 *) break;; 6949 esac 6950 done 6951 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6952} 6953 6954# Check whether --enable-libtool-lock was given. 6955if test "${enable_libtool_lock+set}" = set; then : 6956 enableval=$enable_libtool_lock; 6957fi 6958 6959test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6960 6961# Some flags need to be propagated to the compiler or linker for good 6962# libtool support. 6963case $host in 6964ia64-*-hpux*) 6965 # Find out what ABI is being produced by ac_compile, and set mode 6966 # options accordingly. 6967 echo 'int i;' > conftest.$ac_ext 6968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6969 (eval $ac_compile) 2>&5 6970 ac_status=$? 6971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6972 test $ac_status = 0; }; then 6973 case `/usr/bin/file conftest.$ac_objext` in 6974 *ELF-32*) 6975 HPUX_IA64_MODE=32 6976 ;; 6977 *ELF-64*) 6978 HPUX_IA64_MODE=64 6979 ;; 6980 esac 6981 fi 6982 rm -rf conftest* 6983 ;; 6984*-*-irix6*) 6985 # Find out what ABI is being produced by ac_compile, and set linker 6986 # options accordingly. 6987 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6988 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6989 (eval $ac_compile) 2>&5 6990 ac_status=$? 6991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6992 test $ac_status = 0; }; then 6993 if test yes = "$lt_cv_prog_gnu_ld"; then 6994 case `/usr/bin/file conftest.$ac_objext` in 6995 *32-bit*) 6996 LD="${LD-ld} -melf32bsmip" 6997 ;; 6998 *N32*) 6999 LD="${LD-ld} -melf32bmipn32" 7000 ;; 7001 *64-bit*) 7002 LD="${LD-ld} -melf64bmip" 7003 ;; 7004 esac 7005 else 7006 case `/usr/bin/file conftest.$ac_objext` in 7007 *32-bit*) 7008 LD="${LD-ld} -32" 7009 ;; 7010 *N32*) 7011 LD="${LD-ld} -n32" 7012 ;; 7013 *64-bit*) 7014 LD="${LD-ld} -64" 7015 ;; 7016 esac 7017 fi 7018 fi 7019 rm -rf conftest* 7020 ;; 7021 7022mips64*-*linux*) 7023 # Find out what ABI is being produced by ac_compile, and set linker 7024 # options accordingly. 7025 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7027 (eval $ac_compile) 2>&5 7028 ac_status=$? 7029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7030 test $ac_status = 0; }; then 7031 emul=elf 7032 case `/usr/bin/file conftest.$ac_objext` in 7033 *32-bit*) 7034 emul="${emul}32" 7035 ;; 7036 *64-bit*) 7037 emul="${emul}64" 7038 ;; 7039 esac 7040 case `/usr/bin/file conftest.$ac_objext` in 7041 *MSB*) 7042 emul="${emul}btsmip" 7043 ;; 7044 *LSB*) 7045 emul="${emul}ltsmip" 7046 ;; 7047 esac 7048 case `/usr/bin/file conftest.$ac_objext` in 7049 *N32*) 7050 emul="${emul}n32" 7051 ;; 7052 esac 7053 LD="${LD-ld} -m $emul" 7054 fi 7055 rm -rf conftest* 7056 ;; 7057 7058x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7059s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7060 # Find out what ABI is being produced by ac_compile, and set linker 7061 # options accordingly. Note that the listed cases only cover the 7062 # situations where additional linker options are needed (such as when 7063 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7064 # vice versa); the common cases where no linker options are needed do 7065 # not appear in the list. 7066 echo 'int i;' > conftest.$ac_ext 7067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7068 (eval $ac_compile) 2>&5 7069 ac_status=$? 7070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7071 test $ac_status = 0; }; then 7072 case `/usr/bin/file conftest.o` in 7073 *32-bit*) 7074 case $host in 7075 x86_64-*kfreebsd*-gnu) 7076 LD="${LD-ld} -m elf_i386_fbsd" 7077 ;; 7078 x86_64-*linux*) 7079 case `/usr/bin/file conftest.o` in 7080 *x86-64*) 7081 LD="${LD-ld} -m elf32_x86_64" 7082 ;; 7083 *) 7084 LD="${LD-ld} -m elf_i386" 7085 ;; 7086 esac 7087 ;; 7088 powerpc64le-*linux*) 7089 LD="${LD-ld} -m elf32lppclinux" 7090 ;; 7091 powerpc64-*linux*) 7092 LD="${LD-ld} -m elf32ppclinux" 7093 ;; 7094 s390x-*linux*) 7095 LD="${LD-ld} -m elf_s390" 7096 ;; 7097 sparc64-*linux*) 7098 LD="${LD-ld} -m elf32_sparc" 7099 ;; 7100 esac 7101 ;; 7102 *64-bit*) 7103 case $host in 7104 x86_64-*kfreebsd*-gnu) 7105 LD="${LD-ld} -m elf_x86_64_fbsd" 7106 ;; 7107 x86_64-*linux*) 7108 LD="${LD-ld} -m elf_x86_64" 7109 ;; 7110 powerpcle-*linux*) 7111 LD="${LD-ld} -m elf64lppc" 7112 ;; 7113 powerpc-*linux*) 7114 LD="${LD-ld} -m elf64ppc" 7115 ;; 7116 s390*-*linux*|s390*-*tpf*) 7117 LD="${LD-ld} -m elf64_s390" 7118 ;; 7119 sparc*-*linux*) 7120 LD="${LD-ld} -m elf64_sparc" 7121 ;; 7122 esac 7123 ;; 7124 esac 7125 fi 7126 rm -rf conftest* 7127 ;; 7128 7129*-*-sco3.2v5*) 7130 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7131 SAVE_CFLAGS=$CFLAGS 7132 CFLAGS="$CFLAGS -belf" 7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7134$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7135if ${lt_cv_cc_needs_belf+:} false; then : 7136 $as_echo_n "(cached) " >&6 7137else 7138 ac_ext=c 7139ac_cpp='$CPP $CPPFLAGS' 7140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7142ac_compiler_gnu=$ac_cv_c_compiler_gnu 7143 7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7145/* end confdefs.h. */ 7146 7147int 7148main () 7149{ 7150 7151 ; 7152 return 0; 7153} 7154_ACEOF 7155if ac_fn_c_try_link "$LINENO"; then : 7156 lt_cv_cc_needs_belf=yes 7157else 7158 lt_cv_cc_needs_belf=no 7159fi 7160rm -f core conftest.err conftest.$ac_objext \ 7161 conftest$ac_exeext conftest.$ac_ext 7162 ac_ext=c 7163ac_cpp='$CPP $CPPFLAGS' 7164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7166ac_compiler_gnu=$ac_cv_c_compiler_gnu 7167 7168fi 7169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7170$as_echo "$lt_cv_cc_needs_belf" >&6; } 7171 if test yes != "$lt_cv_cc_needs_belf"; then 7172 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7173 CFLAGS=$SAVE_CFLAGS 7174 fi 7175 ;; 7176*-*solaris*) 7177 # Find out what ABI is being produced by ac_compile, and set linker 7178 # options accordingly. 7179 echo 'int i;' > conftest.$ac_ext 7180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7181 (eval $ac_compile) 2>&5 7182 ac_status=$? 7183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7184 test $ac_status = 0; }; then 7185 case `/usr/bin/file conftest.o` in 7186 *64-bit*) 7187 case $lt_cv_prog_gnu_ld in 7188 yes*) 7189 case $host in 7190 i?86-*-solaris*|x86_64-*-solaris*) 7191 LD="${LD-ld} -m elf_x86_64" 7192 ;; 7193 sparc*-*-solaris*) 7194 LD="${LD-ld} -m elf64_sparc" 7195 ;; 7196 esac 7197 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7198 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7199 LD=${LD-ld}_sol2 7200 fi 7201 ;; 7202 *) 7203 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7204 LD="${LD-ld} -64" 7205 fi 7206 ;; 7207 esac 7208 ;; 7209 esac 7210 fi 7211 rm -rf conftest* 7212 ;; 7213esac 7214 7215need_locks=$enable_libtool_lock 7216 7217if test -n "$ac_tool_prefix"; then 7218 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7219set dummy ${ac_tool_prefix}mt; ac_word=$2 7220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7221$as_echo_n "checking for $ac_word... " >&6; } 7222if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7223 $as_echo_n "(cached) " >&6 7224else 7225 if test -n "$MANIFEST_TOOL"; then 7226 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7227else 7228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7229for as_dir in $PATH 7230do 7231 IFS=$as_save_IFS 7232 test -z "$as_dir" && as_dir=. 7233 for ac_exec_ext in '' $ac_executable_extensions; do 7234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7235 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7237 break 2 7238 fi 7239done 7240 done 7241IFS=$as_save_IFS 7242 7243fi 7244fi 7245MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7246if test -n "$MANIFEST_TOOL"; then 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7248$as_echo "$MANIFEST_TOOL" >&6; } 7249else 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7251$as_echo "no" >&6; } 7252fi 7253 7254 7255fi 7256if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7257 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7258 # Extract the first word of "mt", so it can be a program name with args. 7259set dummy mt; ac_word=$2 7260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7261$as_echo_n "checking for $ac_word... " >&6; } 7262if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7263 $as_echo_n "(cached) " >&6 7264else 7265 if test -n "$ac_ct_MANIFEST_TOOL"; then 7266 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7267else 7268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7269for as_dir in $PATH 7270do 7271 IFS=$as_save_IFS 7272 test -z "$as_dir" && as_dir=. 7273 for ac_exec_ext in '' $ac_executable_extensions; do 7274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7275 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7277 break 2 7278 fi 7279done 7280 done 7281IFS=$as_save_IFS 7282 7283fi 7284fi 7285ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7286if test -n "$ac_ct_MANIFEST_TOOL"; then 7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7288$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7289else 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7291$as_echo "no" >&6; } 7292fi 7293 7294 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7295 MANIFEST_TOOL=":" 7296 else 7297 case $cross_compiling:$ac_tool_warned in 7298yes:) 7299{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7301ac_tool_warned=yes ;; 7302esac 7303 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7304 fi 7305else 7306 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7307fi 7308 7309test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7311$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7312if ${lt_cv_path_mainfest_tool+:} false; then : 7313 $as_echo_n "(cached) " >&6 7314else 7315 lt_cv_path_mainfest_tool=no 7316 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7317 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7318 cat conftest.err >&5 7319 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7320 lt_cv_path_mainfest_tool=yes 7321 fi 7322 rm -f conftest* 7323fi 7324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7325$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7326if test yes != "$lt_cv_path_mainfest_tool"; then 7327 MANIFEST_TOOL=: 7328fi 7329 7330 7331 7332 7333 7334 7335 case $host_os in 7336 rhapsody* | darwin*) 7337 if test -n "$ac_tool_prefix"; then 7338 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7339set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7341$as_echo_n "checking for $ac_word... " >&6; } 7342if ${ac_cv_prog_DSYMUTIL+:} false; then : 7343 $as_echo_n "(cached) " >&6 7344else 7345 if test -n "$DSYMUTIL"; then 7346 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7347else 7348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7349for as_dir in $PATH 7350do 7351 IFS=$as_save_IFS 7352 test -z "$as_dir" && as_dir=. 7353 for ac_exec_ext in '' $ac_executable_extensions; do 7354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7355 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7357 break 2 7358 fi 7359done 7360 done 7361IFS=$as_save_IFS 7362 7363fi 7364fi 7365DSYMUTIL=$ac_cv_prog_DSYMUTIL 7366if test -n "$DSYMUTIL"; then 7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7368$as_echo "$DSYMUTIL" >&6; } 7369else 7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7371$as_echo "no" >&6; } 7372fi 7373 7374 7375fi 7376if test -z "$ac_cv_prog_DSYMUTIL"; then 7377 ac_ct_DSYMUTIL=$DSYMUTIL 7378 # Extract the first word of "dsymutil", so it can be a program name with args. 7379set dummy dsymutil; ac_word=$2 7380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7381$as_echo_n "checking for $ac_word... " >&6; } 7382if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7383 $as_echo_n "(cached) " >&6 7384else 7385 if test -n "$ac_ct_DSYMUTIL"; then 7386 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7387else 7388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7389for as_dir in $PATH 7390do 7391 IFS=$as_save_IFS 7392 test -z "$as_dir" && as_dir=. 7393 for ac_exec_ext in '' $ac_executable_extensions; do 7394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7395 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7397 break 2 7398 fi 7399done 7400 done 7401IFS=$as_save_IFS 7402 7403fi 7404fi 7405ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7406if test -n "$ac_ct_DSYMUTIL"; then 7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7408$as_echo "$ac_ct_DSYMUTIL" >&6; } 7409else 7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7411$as_echo "no" >&6; } 7412fi 7413 7414 if test "x$ac_ct_DSYMUTIL" = x; then 7415 DSYMUTIL=":" 7416 else 7417 case $cross_compiling:$ac_tool_warned in 7418yes:) 7419{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7420$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7421ac_tool_warned=yes ;; 7422esac 7423 DSYMUTIL=$ac_ct_DSYMUTIL 7424 fi 7425else 7426 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7427fi 7428 7429 if test -n "$ac_tool_prefix"; then 7430 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7431set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7433$as_echo_n "checking for $ac_word... " >&6; } 7434if ${ac_cv_prog_NMEDIT+:} false; then : 7435 $as_echo_n "(cached) " >&6 7436else 7437 if test -n "$NMEDIT"; then 7438 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7439else 7440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7441for as_dir in $PATH 7442do 7443 IFS=$as_save_IFS 7444 test -z "$as_dir" && as_dir=. 7445 for ac_exec_ext in '' $ac_executable_extensions; do 7446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7447 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7449 break 2 7450 fi 7451done 7452 done 7453IFS=$as_save_IFS 7454 7455fi 7456fi 7457NMEDIT=$ac_cv_prog_NMEDIT 7458if test -n "$NMEDIT"; then 7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7460$as_echo "$NMEDIT" >&6; } 7461else 7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7463$as_echo "no" >&6; } 7464fi 7465 7466 7467fi 7468if test -z "$ac_cv_prog_NMEDIT"; then 7469 ac_ct_NMEDIT=$NMEDIT 7470 # Extract the first word of "nmedit", so it can be a program name with args. 7471set dummy nmedit; ac_word=$2 7472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7473$as_echo_n "checking for $ac_word... " >&6; } 7474if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7475 $as_echo_n "(cached) " >&6 7476else 7477 if test -n "$ac_ct_NMEDIT"; then 7478 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7479else 7480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7481for as_dir in $PATH 7482do 7483 IFS=$as_save_IFS 7484 test -z "$as_dir" && as_dir=. 7485 for ac_exec_ext in '' $ac_executable_extensions; do 7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7487 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7489 break 2 7490 fi 7491done 7492 done 7493IFS=$as_save_IFS 7494 7495fi 7496fi 7497ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7498if test -n "$ac_ct_NMEDIT"; then 7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7500$as_echo "$ac_ct_NMEDIT" >&6; } 7501else 7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7503$as_echo "no" >&6; } 7504fi 7505 7506 if test "x$ac_ct_NMEDIT" = x; then 7507 NMEDIT=":" 7508 else 7509 case $cross_compiling:$ac_tool_warned in 7510yes:) 7511{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7512$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7513ac_tool_warned=yes ;; 7514esac 7515 NMEDIT=$ac_ct_NMEDIT 7516 fi 7517else 7518 NMEDIT="$ac_cv_prog_NMEDIT" 7519fi 7520 7521 if test -n "$ac_tool_prefix"; then 7522 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7523set dummy ${ac_tool_prefix}lipo; ac_word=$2 7524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7525$as_echo_n "checking for $ac_word... " >&6; } 7526if ${ac_cv_prog_LIPO+:} false; then : 7527 $as_echo_n "(cached) " >&6 7528else 7529 if test -n "$LIPO"; then 7530 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7531else 7532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7533for as_dir in $PATH 7534do 7535 IFS=$as_save_IFS 7536 test -z "$as_dir" && as_dir=. 7537 for ac_exec_ext in '' $ac_executable_extensions; do 7538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7539 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7541 break 2 7542 fi 7543done 7544 done 7545IFS=$as_save_IFS 7546 7547fi 7548fi 7549LIPO=$ac_cv_prog_LIPO 7550if test -n "$LIPO"; then 7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7552$as_echo "$LIPO" >&6; } 7553else 7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7555$as_echo "no" >&6; } 7556fi 7557 7558 7559fi 7560if test -z "$ac_cv_prog_LIPO"; then 7561 ac_ct_LIPO=$LIPO 7562 # Extract the first word of "lipo", so it can be a program name with args. 7563set dummy lipo; ac_word=$2 7564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7565$as_echo_n "checking for $ac_word... " >&6; } 7566if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7567 $as_echo_n "(cached) " >&6 7568else 7569 if test -n "$ac_ct_LIPO"; then 7570 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7571else 7572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7573for as_dir in $PATH 7574do 7575 IFS=$as_save_IFS 7576 test -z "$as_dir" && as_dir=. 7577 for ac_exec_ext in '' $ac_executable_extensions; do 7578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7579 ac_cv_prog_ac_ct_LIPO="lipo" 7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7581 break 2 7582 fi 7583done 7584 done 7585IFS=$as_save_IFS 7586 7587fi 7588fi 7589ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7590if test -n "$ac_ct_LIPO"; then 7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7592$as_echo "$ac_ct_LIPO" >&6; } 7593else 7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7595$as_echo "no" >&6; } 7596fi 7597 7598 if test "x$ac_ct_LIPO" = x; then 7599 LIPO=":" 7600 else 7601 case $cross_compiling:$ac_tool_warned in 7602yes:) 7603{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7604$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7605ac_tool_warned=yes ;; 7606esac 7607 LIPO=$ac_ct_LIPO 7608 fi 7609else 7610 LIPO="$ac_cv_prog_LIPO" 7611fi 7612 7613 if test -n "$ac_tool_prefix"; then 7614 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7615set dummy ${ac_tool_prefix}otool; ac_word=$2 7616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7617$as_echo_n "checking for $ac_word... " >&6; } 7618if ${ac_cv_prog_OTOOL+:} false; then : 7619 $as_echo_n "(cached) " >&6 7620else 7621 if test -n "$OTOOL"; then 7622 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7623else 7624as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7625for as_dir in $PATH 7626do 7627 IFS=$as_save_IFS 7628 test -z "$as_dir" && as_dir=. 7629 for ac_exec_ext in '' $ac_executable_extensions; do 7630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7631 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7633 break 2 7634 fi 7635done 7636 done 7637IFS=$as_save_IFS 7638 7639fi 7640fi 7641OTOOL=$ac_cv_prog_OTOOL 7642if test -n "$OTOOL"; then 7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7644$as_echo "$OTOOL" >&6; } 7645else 7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7647$as_echo "no" >&6; } 7648fi 7649 7650 7651fi 7652if test -z "$ac_cv_prog_OTOOL"; then 7653 ac_ct_OTOOL=$OTOOL 7654 # Extract the first word of "otool", so it can be a program name with args. 7655set dummy otool; ac_word=$2 7656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7657$as_echo_n "checking for $ac_word... " >&6; } 7658if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7659 $as_echo_n "(cached) " >&6 7660else 7661 if test -n "$ac_ct_OTOOL"; then 7662 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7663else 7664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7665for as_dir in $PATH 7666do 7667 IFS=$as_save_IFS 7668 test -z "$as_dir" && as_dir=. 7669 for ac_exec_ext in '' $ac_executable_extensions; do 7670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7671 ac_cv_prog_ac_ct_OTOOL="otool" 7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7673 break 2 7674 fi 7675done 7676 done 7677IFS=$as_save_IFS 7678 7679fi 7680fi 7681ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7682if test -n "$ac_ct_OTOOL"; then 7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7684$as_echo "$ac_ct_OTOOL" >&6; } 7685else 7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7687$as_echo "no" >&6; } 7688fi 7689 7690 if test "x$ac_ct_OTOOL" = x; then 7691 OTOOL=":" 7692 else 7693 case $cross_compiling:$ac_tool_warned in 7694yes:) 7695{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7696$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7697ac_tool_warned=yes ;; 7698esac 7699 OTOOL=$ac_ct_OTOOL 7700 fi 7701else 7702 OTOOL="$ac_cv_prog_OTOOL" 7703fi 7704 7705 if test -n "$ac_tool_prefix"; then 7706 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7707set dummy ${ac_tool_prefix}otool64; ac_word=$2 7708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7709$as_echo_n "checking for $ac_word... " >&6; } 7710if ${ac_cv_prog_OTOOL64+:} false; then : 7711 $as_echo_n "(cached) " >&6 7712else 7713 if test -n "$OTOOL64"; then 7714 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7715else 7716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7717for as_dir in $PATH 7718do 7719 IFS=$as_save_IFS 7720 test -z "$as_dir" && as_dir=. 7721 for ac_exec_ext in '' $ac_executable_extensions; do 7722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7723 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7725 break 2 7726 fi 7727done 7728 done 7729IFS=$as_save_IFS 7730 7731fi 7732fi 7733OTOOL64=$ac_cv_prog_OTOOL64 7734if test -n "$OTOOL64"; then 7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7736$as_echo "$OTOOL64" >&6; } 7737else 7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7739$as_echo "no" >&6; } 7740fi 7741 7742 7743fi 7744if test -z "$ac_cv_prog_OTOOL64"; then 7745 ac_ct_OTOOL64=$OTOOL64 7746 # Extract the first word of "otool64", so it can be a program name with args. 7747set dummy otool64; ac_word=$2 7748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7749$as_echo_n "checking for $ac_word... " >&6; } 7750if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7751 $as_echo_n "(cached) " >&6 7752else 7753 if test -n "$ac_ct_OTOOL64"; then 7754 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7755else 7756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7757for as_dir in $PATH 7758do 7759 IFS=$as_save_IFS 7760 test -z "$as_dir" && as_dir=. 7761 for ac_exec_ext in '' $ac_executable_extensions; do 7762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7763 ac_cv_prog_ac_ct_OTOOL64="otool64" 7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7765 break 2 7766 fi 7767done 7768 done 7769IFS=$as_save_IFS 7770 7771fi 7772fi 7773ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7774if test -n "$ac_ct_OTOOL64"; then 7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7776$as_echo "$ac_ct_OTOOL64" >&6; } 7777else 7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7779$as_echo "no" >&6; } 7780fi 7781 7782 if test "x$ac_ct_OTOOL64" = x; then 7783 OTOOL64=":" 7784 else 7785 case $cross_compiling:$ac_tool_warned in 7786yes:) 7787{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7788$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7789ac_tool_warned=yes ;; 7790esac 7791 OTOOL64=$ac_ct_OTOOL64 7792 fi 7793else 7794 OTOOL64="$ac_cv_prog_OTOOL64" 7795fi 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7824$as_echo_n "checking for -single_module linker flag... " >&6; } 7825if ${lt_cv_apple_cc_single_mod+:} false; then : 7826 $as_echo_n "(cached) " >&6 7827else 7828 lt_cv_apple_cc_single_mod=no 7829 if test -z "$LT_MULTI_MODULE"; then 7830 # By default we will add the -single_module flag. You can override 7831 # by either setting the environment variable LT_MULTI_MODULE 7832 # non-empty at configure time, or by adding -multi_module to the 7833 # link flags. 7834 rm -rf libconftest.dylib* 7835 echo "int foo(void){return 1;}" > conftest.c 7836 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7837-dynamiclib -Wl,-single_module conftest.c" >&5 7838 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7839 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7840 _lt_result=$? 7841 # If there is a non-empty error log, and "single_module" 7842 # appears in it, assume the flag caused a linker warning 7843 if test -s conftest.err && $GREP single_module conftest.err; then 7844 cat conftest.err >&5 7845 # Otherwise, if the output was created with a 0 exit code from 7846 # the compiler, it worked. 7847 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7848 lt_cv_apple_cc_single_mod=yes 7849 else 7850 cat conftest.err >&5 7851 fi 7852 rm -rf libconftest.dylib* 7853 rm -f conftest.* 7854 fi 7855fi 7856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7857$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7858 7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7860$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7861if ${lt_cv_ld_exported_symbols_list+:} false; then : 7862 $as_echo_n "(cached) " >&6 7863else 7864 lt_cv_ld_exported_symbols_list=no 7865 save_LDFLAGS=$LDFLAGS 7866 echo "_main" > conftest.sym 7867 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7869/* end confdefs.h. */ 7870 7871int 7872main () 7873{ 7874 7875 ; 7876 return 0; 7877} 7878_ACEOF 7879if ac_fn_c_try_link "$LINENO"; then : 7880 lt_cv_ld_exported_symbols_list=yes 7881else 7882 lt_cv_ld_exported_symbols_list=no 7883fi 7884rm -f core conftest.err conftest.$ac_objext \ 7885 conftest$ac_exeext conftest.$ac_ext 7886 LDFLAGS=$save_LDFLAGS 7887 7888fi 7889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7890$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7891 7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7893$as_echo_n "checking for -force_load linker flag... " >&6; } 7894if ${lt_cv_ld_force_load+:} false; then : 7895 $as_echo_n "(cached) " >&6 7896else 7897 lt_cv_ld_force_load=no 7898 cat > conftest.c << _LT_EOF 7899int forced_loaded() { return 2;} 7900_LT_EOF 7901 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7902 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7903 echo "$AR cru libconftest.a conftest.o" >&5 7904 $AR cru libconftest.a conftest.o 2>&5 7905 echo "$RANLIB libconftest.a" >&5 7906 $RANLIB libconftest.a 2>&5 7907 cat > conftest.c << _LT_EOF 7908int main() { return 0;} 7909_LT_EOF 7910 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7911 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7912 _lt_result=$? 7913 if test -s conftest.err && $GREP force_load conftest.err; then 7914 cat conftest.err >&5 7915 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7916 lt_cv_ld_force_load=yes 7917 else 7918 cat conftest.err >&5 7919 fi 7920 rm -f conftest.err libconftest.a conftest conftest.c 7921 rm -rf conftest.dSYM 7922 7923fi 7924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7925$as_echo "$lt_cv_ld_force_load" >&6; } 7926 case $host_os in 7927 rhapsody* | darwin1.[012]) 7928 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7929 darwin1.*) 7930 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7931 darwin*) # darwin 5.x on 7932 # if running on 10.5 or later, the deployment target defaults 7933 # to the OS version, if on x86, and 10.4, the deployment 7934 # target defaults to 10.4. Don't you love it? 7935 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7936 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7937 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7938 10.[012][,.]*) 7939 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7940 10.*) 7941 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7942 esac 7943 ;; 7944 esac 7945 if test yes = "$lt_cv_apple_cc_single_mod"; then 7946 _lt_dar_single_mod='$single_module' 7947 fi 7948 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7949 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7950 else 7951 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7952 fi 7953 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7954 _lt_dsymutil='~$DSYMUTIL $lib || :' 7955 else 7956 _lt_dsymutil= 7957 fi 7958 ;; 7959 esac 7960 7961# func_munge_path_list VARIABLE PATH 7962# ----------------------------------- 7963# VARIABLE is name of variable containing _space_ separated list of 7964# directories to be munged by the contents of PATH, which is string 7965# having a format: 7966# "DIR[:DIR]:" 7967# string "DIR[ DIR]" will be prepended to VARIABLE 7968# ":DIR[:DIR]" 7969# string "DIR[ DIR]" will be appended to VARIABLE 7970# "DIRP[:DIRP]::[DIRA:]DIRA" 7971# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7972# "DIRA[ DIRA]" will be appended to VARIABLE 7973# "DIR[:DIR]" 7974# VARIABLE will be replaced by "DIR[ DIR]" 7975func_munge_path_list () 7976{ 7977 case x$2 in 7978 x) 7979 ;; 7980 *:) 7981 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7982 ;; 7983 x:*) 7984 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7985 ;; 7986 *::*) 7987 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7988 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7989 ;; 7990 *) 7991 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7992 ;; 7993 esac 7994} 7995 7996# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7997for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7998 inttypes.h stdint.h unistd.h 7999do : 8000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8001ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8002" 8003if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8004 cat >>confdefs.h <<_ACEOF 8005#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8006_ACEOF 8007 8008fi 8009 8010done 8011 8012 8013for ac_header in dlfcn.h 8014do : 8015 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8016" 8017if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8018 cat >>confdefs.h <<_ACEOF 8019#define HAVE_DLFCN_H 1 8020_ACEOF 8021 8022fi 8023 8024done 8025 8026 8027 8028 8029 8030# Set options 8031 8032 8033 8034 enable_dlopen=no 8035 8036 8037 8038 # Check whether --enable-shared was given. 8039if test "${enable_shared+set}" = set; then : 8040 enableval=$enable_shared; p=${PACKAGE-default} 8041 case $enableval in 8042 yes) enable_shared=yes ;; 8043 no) enable_shared=no ;; 8044 *) 8045 enable_shared=no 8046 # Look at the argument we got. We use all the common list separators. 8047 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8048 for pkg in $enableval; do 8049 IFS=$lt_save_ifs 8050 if test "X$pkg" = "X$p"; then 8051 enable_shared=yes 8052 fi 8053 done 8054 IFS=$lt_save_ifs 8055 ;; 8056 esac 8057else 8058 enable_shared=yes 8059fi 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 # Check whether --enable-static was given. 8070if test "${enable_static+set}" = set; then : 8071 enableval=$enable_static; p=${PACKAGE-default} 8072 case $enableval in 8073 yes) enable_static=yes ;; 8074 no) enable_static=no ;; 8075 *) 8076 enable_static=no 8077 # Look at the argument we got. We use all the common list separators. 8078 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8079 for pkg in $enableval; do 8080 IFS=$lt_save_ifs 8081 if test "X$pkg" = "X$p"; then 8082 enable_static=yes 8083 fi 8084 done 8085 IFS=$lt_save_ifs 8086 ;; 8087 esac 8088else 8089 enable_static=yes 8090fi 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101# Check whether --with-pic was given. 8102if test "${with_pic+set}" = set; then : 8103 withval=$with_pic; lt_p=${PACKAGE-default} 8104 case $withval in 8105 yes|no) pic_mode=$withval ;; 8106 *) 8107 pic_mode=default 8108 # Look at the argument we got. We use all the common list separators. 8109 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8110 for lt_pkg in $withval; do 8111 IFS=$lt_save_ifs 8112 if test "X$lt_pkg" = "X$lt_p"; then 8113 pic_mode=yes 8114 fi 8115 done 8116 IFS=$lt_save_ifs 8117 ;; 8118 esac 8119else 8120 pic_mode=default 8121fi 8122 8123 8124 8125 8126 8127 8128 8129 8130 # Check whether --enable-fast-install was given. 8131if test "${enable_fast_install+set}" = set; then : 8132 enableval=$enable_fast_install; p=${PACKAGE-default} 8133 case $enableval in 8134 yes) enable_fast_install=yes ;; 8135 no) enable_fast_install=no ;; 8136 *) 8137 enable_fast_install=no 8138 # Look at the argument we got. We use all the common list separators. 8139 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8140 for pkg in $enableval; do 8141 IFS=$lt_save_ifs 8142 if test "X$pkg" = "X$p"; then 8143 enable_fast_install=yes 8144 fi 8145 done 8146 IFS=$lt_save_ifs 8147 ;; 8148 esac 8149else 8150 enable_fast_install=yes 8151fi 8152 8153 8154 8155 8156 8157 8158 8159 8160 shared_archive_member_spec= 8161case $host,$enable_shared in 8162power*-*-aix[5-9]*,yes) 8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8164$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8165 8166# Check whether --with-aix-soname was given. 8167if test "${with_aix_soname+set}" = set; then : 8168 withval=$with_aix_soname; case $withval in 8169 aix|svr4|both) 8170 ;; 8171 *) 8172 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8173 ;; 8174 esac 8175 lt_cv_with_aix_soname=$with_aix_soname 8176else 8177 if ${lt_cv_with_aix_soname+:} false; then : 8178 $as_echo_n "(cached) " >&6 8179else 8180 lt_cv_with_aix_soname=aix 8181fi 8182 8183 with_aix_soname=$lt_cv_with_aix_soname 8184fi 8185 8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8187$as_echo "$with_aix_soname" >&6; } 8188 if test aix != "$with_aix_soname"; then 8189 # For the AIX way of multilib, we name the shared archive member 8190 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8191 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8192 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8193 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8194 if test 64 = "${OBJECT_MODE-32}"; then 8195 shared_archive_member_spec=shr_64 8196 else 8197 shared_archive_member_spec=shr 8198 fi 8199 fi 8200 ;; 8201*) 8202 with_aix_soname=aix 8203 ;; 8204esac 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215# This can be used to rebuild libtool when needed 8216LIBTOOL_DEPS=$ltmain 8217 8218# Always use our own libtool. 8219LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250test -z "$LN_S" && LN_S="ln -s" 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265if test -n "${ZSH_VERSION+set}"; then 8266 setopt NO_GLOB_SUBST 8267fi 8268 8269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8270$as_echo_n "checking for objdir... " >&6; } 8271if ${lt_cv_objdir+:} false; then : 8272 $as_echo_n "(cached) " >&6 8273else 8274 rm -f .libs 2>/dev/null 8275mkdir .libs 2>/dev/null 8276if test -d .libs; then 8277 lt_cv_objdir=.libs 8278else 8279 # MS-DOS does not allow filenames that begin with a dot. 8280 lt_cv_objdir=_libs 8281fi 8282rmdir .libs 2>/dev/null 8283fi 8284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8285$as_echo "$lt_cv_objdir" >&6; } 8286objdir=$lt_cv_objdir 8287 8288 8289 8290 8291 8292cat >>confdefs.h <<_ACEOF 8293#define LT_OBJDIR "$lt_cv_objdir/" 8294_ACEOF 8295 8296 8297 8298 8299case $host_os in 8300aix3*) 8301 # AIX sometimes has problems with the GCC collect2 program. For some 8302 # reason, if we set the COLLECT_NAMES environment variable, the problems 8303 # vanish in a puff of smoke. 8304 if test set != "${COLLECT_NAMES+set}"; then 8305 COLLECT_NAMES= 8306 export COLLECT_NAMES 8307 fi 8308 ;; 8309esac 8310 8311# Global variables: 8312ofile=libtool 8313can_build_shared=yes 8314 8315# All known linkers require a '.a' archive for static linking (except MSVC, 8316# which needs '.lib'). 8317libext=a 8318 8319with_gnu_ld=$lt_cv_prog_gnu_ld 8320 8321old_CC=$CC 8322old_CFLAGS=$CFLAGS 8323 8324# Set sane defaults for various variables 8325test -z "$CC" && CC=cc 8326test -z "$LTCC" && LTCC=$CC 8327test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8328test -z "$LD" && LD=ld 8329test -z "$ac_objext" && ac_objext=o 8330 8331func_cc_basename $compiler 8332cc_basename=$func_cc_basename_result 8333 8334 8335# Only perform the check for file, if the check method requires it 8336test -z "$MAGIC_CMD" && MAGIC_CMD=file 8337case $deplibs_check_method in 8338file_magic*) 8339 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8341$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8342if ${lt_cv_path_MAGIC_CMD+:} false; then : 8343 $as_echo_n "(cached) " >&6 8344else 8345 case $MAGIC_CMD in 8346[\\/*] | ?:[\\/]*) 8347 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8348 ;; 8349*) 8350 lt_save_MAGIC_CMD=$MAGIC_CMD 8351 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8352 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8353 for ac_dir in $ac_dummy; do 8354 IFS=$lt_save_ifs 8355 test -z "$ac_dir" && ac_dir=. 8356 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8357 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8358 if test -n "$file_magic_test_file"; then 8359 case $deplibs_check_method in 8360 "file_magic "*) 8361 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8362 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8363 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8364 $EGREP "$file_magic_regex" > /dev/null; then 8365 : 8366 else 8367 cat <<_LT_EOF 1>&2 8368 8369*** Warning: the command libtool uses to detect shared libraries, 8370*** $file_magic_cmd, produces output that libtool cannot recognize. 8371*** The result is that libtool may fail to recognize shared libraries 8372*** as such. This will affect the creation of libtool libraries that 8373*** depend on shared libraries, but programs linked with such libtool 8374*** libraries will work regardless of this problem. Nevertheless, you 8375*** may want to report the problem to your system manager and/or to 8376*** bug-libtool@gnu.org 8377 8378_LT_EOF 8379 fi ;; 8380 esac 8381 fi 8382 break 8383 fi 8384 done 8385 IFS=$lt_save_ifs 8386 MAGIC_CMD=$lt_save_MAGIC_CMD 8387 ;; 8388esac 8389fi 8390 8391MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8392if test -n "$MAGIC_CMD"; then 8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8394$as_echo "$MAGIC_CMD" >&6; } 8395else 8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8397$as_echo "no" >&6; } 8398fi 8399 8400 8401 8402 8403 8404if test -z "$lt_cv_path_MAGIC_CMD"; then 8405 if test -n "$ac_tool_prefix"; then 8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8407$as_echo_n "checking for file... " >&6; } 8408if ${lt_cv_path_MAGIC_CMD+:} false; then : 8409 $as_echo_n "(cached) " >&6 8410else 8411 case $MAGIC_CMD in 8412[\\/*] | ?:[\\/]*) 8413 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8414 ;; 8415*) 8416 lt_save_MAGIC_CMD=$MAGIC_CMD 8417 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8418 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8419 for ac_dir in $ac_dummy; do 8420 IFS=$lt_save_ifs 8421 test -z "$ac_dir" && ac_dir=. 8422 if test -f "$ac_dir/file"; then 8423 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8424 if test -n "$file_magic_test_file"; then 8425 case $deplibs_check_method in 8426 "file_magic "*) 8427 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8428 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8429 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8430 $EGREP "$file_magic_regex" > /dev/null; then 8431 : 8432 else 8433 cat <<_LT_EOF 1>&2 8434 8435*** Warning: the command libtool uses to detect shared libraries, 8436*** $file_magic_cmd, produces output that libtool cannot recognize. 8437*** The result is that libtool may fail to recognize shared libraries 8438*** as such. This will affect the creation of libtool libraries that 8439*** depend on shared libraries, but programs linked with such libtool 8440*** libraries will work regardless of this problem. Nevertheless, you 8441*** may want to report the problem to your system manager and/or to 8442*** bug-libtool@gnu.org 8443 8444_LT_EOF 8445 fi ;; 8446 esac 8447 fi 8448 break 8449 fi 8450 done 8451 IFS=$lt_save_ifs 8452 MAGIC_CMD=$lt_save_MAGIC_CMD 8453 ;; 8454esac 8455fi 8456 8457MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8458if test -n "$MAGIC_CMD"; then 8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8460$as_echo "$MAGIC_CMD" >&6; } 8461else 8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8463$as_echo "no" >&6; } 8464fi 8465 8466 8467 else 8468 MAGIC_CMD=: 8469 fi 8470fi 8471 8472 fi 8473 ;; 8474esac 8475 8476# Use C for the default configuration in the libtool script 8477 8478lt_save_CC=$CC 8479ac_ext=c 8480ac_cpp='$CPP $CPPFLAGS' 8481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8483ac_compiler_gnu=$ac_cv_c_compiler_gnu 8484 8485 8486# Source file extension for C test sources. 8487ac_ext=c 8488 8489# Object file extension for compiled C test sources. 8490objext=o 8491objext=$objext 8492 8493# Code to be used in simple compile tests 8494lt_simple_compile_test_code="int some_variable = 0;" 8495 8496# Code to be used in simple link tests 8497lt_simple_link_test_code='int main(){return(0);}' 8498 8499 8500 8501 8502 8503 8504 8505# If no C compiler was specified, use CC. 8506LTCC=${LTCC-"$CC"} 8507 8508# If no C compiler flags were specified, use CFLAGS. 8509LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8510 8511# Allow CC to be a program name with arguments. 8512compiler=$CC 8513 8514# Save the default compiler, since it gets overwritten when the other 8515# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8516compiler_DEFAULT=$CC 8517 8518# save warnings/boilerplate of simple test code 8519ac_outfile=conftest.$ac_objext 8520echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8521eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8522_lt_compiler_boilerplate=`cat conftest.err` 8523$RM conftest* 8524 8525ac_outfile=conftest.$ac_objext 8526echo "$lt_simple_link_test_code" >conftest.$ac_ext 8527eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8528_lt_linker_boilerplate=`cat conftest.err` 8529$RM -r conftest* 8530 8531 8532## CAVEAT EMPTOR: 8533## There is no encapsulation within the following macros, do not change 8534## the running order or otherwise move them around unless you know exactly 8535## what you are doing... 8536if test -n "$compiler"; then 8537 8538lt_prog_compiler_no_builtin_flag= 8539 8540if test yes = "$GCC"; then 8541 case $cc_basename in 8542 nvcc*) 8543 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8544 *) 8545 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8546 esac 8547 8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8549$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8550if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8551 $as_echo_n "(cached) " >&6 8552else 8553 lt_cv_prog_compiler_rtti_exceptions=no 8554 ac_outfile=conftest.$ac_objext 8555 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8556 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8557 # Insert the option either (1) after the last *FLAGS variable, or 8558 # (2) before a word containing "conftest.", or (3) at the end. 8559 # Note that $ac_compile itself does not contain backslashes and begins 8560 # with a dollar sign (not a hyphen), so the echo should work correctly. 8561 # The option is referenced via a variable to avoid confusing sed. 8562 lt_compile=`echo "$ac_compile" | $SED \ 8563 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8564 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8565 -e 's:$: $lt_compiler_flag:'` 8566 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8567 (eval "$lt_compile" 2>conftest.err) 8568 ac_status=$? 8569 cat conftest.err >&5 8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8571 if (exit $ac_status) && test -s "$ac_outfile"; then 8572 # The compiler can only warn and ignore the option if not recognized 8573 # So say no if there are warnings other than the usual output. 8574 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8575 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8576 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8577 lt_cv_prog_compiler_rtti_exceptions=yes 8578 fi 8579 fi 8580 $RM conftest* 8581 8582fi 8583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8584$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8585 8586if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8587 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8588else 8589 : 8590fi 8591 8592fi 8593 8594 8595 8596 8597 8598 8599 lt_prog_compiler_wl= 8600lt_prog_compiler_pic= 8601lt_prog_compiler_static= 8602 8603 8604 if test yes = "$GCC"; then 8605 lt_prog_compiler_wl='-Wl,' 8606 lt_prog_compiler_static='-static' 8607 8608 case $host_os in 8609 aix*) 8610 # All AIX code is PIC. 8611 if test ia64 = "$host_cpu"; then 8612 # AIX 5 now supports IA64 processor 8613 lt_prog_compiler_static='-Bstatic' 8614 fi 8615 lt_prog_compiler_pic='-fPIC' 8616 ;; 8617 8618 amigaos*) 8619 case $host_cpu in 8620 powerpc) 8621 # see comment about AmigaOS4 .so support 8622 lt_prog_compiler_pic='-fPIC' 8623 ;; 8624 m68k) 8625 # FIXME: we need at least 68020 code to build shared libraries, but 8626 # adding the '-m68020' flag to GCC prevents building anything better, 8627 # like '-m68040'. 8628 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8629 ;; 8630 esac 8631 ;; 8632 8633 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8634 # PIC is the default for these OSes. 8635 ;; 8636 8637 mingw* | cygwin* | pw32* | os2* | cegcc*) 8638 # This hack is so that the source file can tell whether it is being 8639 # built for inclusion in a dll (and should export symbols for example). 8640 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8641 # (--disable-auto-import) libraries 8642 lt_prog_compiler_pic='-DDLL_EXPORT' 8643 case $host_os in 8644 os2*) 8645 lt_prog_compiler_static='$wl-static' 8646 ;; 8647 esac 8648 ;; 8649 8650 darwin* | rhapsody*) 8651 # PIC is the default on this platform 8652 # Common symbols not allowed in MH_DYLIB files 8653 lt_prog_compiler_pic='-fno-common' 8654 ;; 8655 8656 haiku*) 8657 # PIC is the default for Haiku. 8658 # The "-static" flag exists, but is broken. 8659 lt_prog_compiler_static= 8660 ;; 8661 8662 hpux*) 8663 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8664 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8665 # sets the default TLS model and affects inlining. 8666 case $host_cpu in 8667 hppa*64*) 8668 # +Z the default 8669 ;; 8670 *) 8671 lt_prog_compiler_pic='-fPIC' 8672 ;; 8673 esac 8674 ;; 8675 8676 interix[3-9]*) 8677 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8678 # Instead, we relocate shared libraries at runtime. 8679 ;; 8680 8681 msdosdjgpp*) 8682 # Just because we use GCC doesn't mean we suddenly get shared libraries 8683 # on systems that don't support them. 8684 lt_prog_compiler_can_build_shared=no 8685 enable_shared=no 8686 ;; 8687 8688 *nto* | *qnx*) 8689 # QNX uses GNU C++, but need to define -shared option too, otherwise 8690 # it will coredump. 8691 lt_prog_compiler_pic='-fPIC -shared' 8692 ;; 8693 8694 sysv4*MP*) 8695 if test -d /usr/nec; then 8696 lt_prog_compiler_pic=-Kconform_pic 8697 fi 8698 ;; 8699 8700 *) 8701 lt_prog_compiler_pic='-fPIC' 8702 ;; 8703 esac 8704 8705 case $cc_basename in 8706 nvcc*) # Cuda Compiler Driver 2.2 8707 lt_prog_compiler_wl='-Xlinker ' 8708 if test -n "$lt_prog_compiler_pic"; then 8709 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8710 fi 8711 ;; 8712 esac 8713 else 8714 # PORTME Check for flag to pass linker flags through the system compiler. 8715 case $host_os in 8716 aix*) 8717 lt_prog_compiler_wl='-Wl,' 8718 if test ia64 = "$host_cpu"; then 8719 # AIX 5 now supports IA64 processor 8720 lt_prog_compiler_static='-Bstatic' 8721 else 8722 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8723 fi 8724 ;; 8725 8726 darwin* | rhapsody*) 8727 # PIC is the default on this platform 8728 # Common symbols not allowed in MH_DYLIB files 8729 lt_prog_compiler_pic='-fno-common' 8730 case $cc_basename in 8731 nagfor*) 8732 # NAG Fortran compiler 8733 lt_prog_compiler_wl='-Wl,-Wl,,' 8734 lt_prog_compiler_pic='-PIC' 8735 lt_prog_compiler_static='-Bstatic' 8736 ;; 8737 esac 8738 ;; 8739 8740 mingw* | cygwin* | pw32* | os2* | cegcc*) 8741 # This hack is so that the source file can tell whether it is being 8742 # built for inclusion in a dll (and should export symbols for example). 8743 lt_prog_compiler_pic='-DDLL_EXPORT' 8744 case $host_os in 8745 os2*) 8746 lt_prog_compiler_static='$wl-static' 8747 ;; 8748 esac 8749 ;; 8750 8751 hpux9* | hpux10* | hpux11*) 8752 lt_prog_compiler_wl='-Wl,' 8753 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8754 # not for PA HP-UX. 8755 case $host_cpu in 8756 hppa*64*|ia64*) 8757 # +Z the default 8758 ;; 8759 *) 8760 lt_prog_compiler_pic='+Z' 8761 ;; 8762 esac 8763 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8764 lt_prog_compiler_static='$wl-a ${wl}archive' 8765 ;; 8766 8767 irix5* | irix6* | nonstopux*) 8768 lt_prog_compiler_wl='-Wl,' 8769 # PIC (with -KPIC) is the default. 8770 lt_prog_compiler_static='-non_shared' 8771 ;; 8772 8773 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8774 case $cc_basename in 8775 # old Intel for x86_64, which still supported -KPIC. 8776 ecc*) 8777 lt_prog_compiler_wl='-Wl,' 8778 lt_prog_compiler_pic='-KPIC' 8779 lt_prog_compiler_static='-static' 8780 ;; 8781 # icc used to be incompatible with GCC. 8782 # ICC 10 doesn't accept -KPIC any more. 8783 icc* | ifort*) 8784 lt_prog_compiler_wl='-Wl,' 8785 lt_prog_compiler_pic='-fPIC' 8786 lt_prog_compiler_static='-static' 8787 ;; 8788 # Lahey Fortran 8.1. 8789 lf95*) 8790 lt_prog_compiler_wl='-Wl,' 8791 lt_prog_compiler_pic='--shared' 8792 lt_prog_compiler_static='--static' 8793 ;; 8794 nagfor*) 8795 # NAG Fortran compiler 8796 lt_prog_compiler_wl='-Wl,-Wl,,' 8797 lt_prog_compiler_pic='-PIC' 8798 lt_prog_compiler_static='-Bstatic' 8799 ;; 8800 tcc*) 8801 # Fabrice Bellard et al's Tiny C Compiler 8802 lt_prog_compiler_wl='-Wl,' 8803 lt_prog_compiler_pic='-fPIC' 8804 lt_prog_compiler_static='-static' 8805 ;; 8806 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8807 # Portland Group compilers (*not* the Pentium gcc compiler, 8808 # which looks to be a dead project) 8809 lt_prog_compiler_wl='-Wl,' 8810 lt_prog_compiler_pic='-fpic' 8811 lt_prog_compiler_static='-Bstatic' 8812 ;; 8813 ccc*) 8814 lt_prog_compiler_wl='-Wl,' 8815 # All Alpha code is PIC. 8816 lt_prog_compiler_static='-non_shared' 8817 ;; 8818 xl* | bgxl* | bgf* | mpixl*) 8819 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8820 lt_prog_compiler_wl='-Wl,' 8821 lt_prog_compiler_pic='-qpic' 8822 lt_prog_compiler_static='-qstaticlink' 8823 ;; 8824 *) 8825 case `$CC -V 2>&1 | sed 5q` in 8826 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8827 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8828 lt_prog_compiler_pic='-KPIC' 8829 lt_prog_compiler_static='-Bstatic' 8830 lt_prog_compiler_wl='' 8831 ;; 8832 *Sun\ F* | *Sun*Fortran*) 8833 lt_prog_compiler_pic='-KPIC' 8834 lt_prog_compiler_static='-Bstatic' 8835 lt_prog_compiler_wl='-Qoption ld ' 8836 ;; 8837 *Sun\ C*) 8838 # Sun C 5.9 8839 lt_prog_compiler_pic='-KPIC' 8840 lt_prog_compiler_static='-Bstatic' 8841 lt_prog_compiler_wl='-Wl,' 8842 ;; 8843 *Intel*\ [CF]*Compiler*) 8844 lt_prog_compiler_wl='-Wl,' 8845 lt_prog_compiler_pic='-fPIC' 8846 lt_prog_compiler_static='-static' 8847 ;; 8848 *Portland\ Group*) 8849 lt_prog_compiler_wl='-Wl,' 8850 lt_prog_compiler_pic='-fpic' 8851 lt_prog_compiler_static='-Bstatic' 8852 ;; 8853 esac 8854 ;; 8855 esac 8856 ;; 8857 8858 newsos6) 8859 lt_prog_compiler_pic='-KPIC' 8860 lt_prog_compiler_static='-Bstatic' 8861 ;; 8862 8863 *nto* | *qnx*) 8864 # QNX uses GNU C++, but need to define -shared option too, otherwise 8865 # it will coredump. 8866 lt_prog_compiler_pic='-fPIC -shared' 8867 ;; 8868 8869 osf3* | osf4* | osf5*) 8870 lt_prog_compiler_wl='-Wl,' 8871 # All OSF/1 code is PIC. 8872 lt_prog_compiler_static='-non_shared' 8873 ;; 8874 8875 rdos*) 8876 lt_prog_compiler_static='-non_shared' 8877 ;; 8878 8879 solaris*) 8880 lt_prog_compiler_pic='-KPIC' 8881 lt_prog_compiler_static='-Bstatic' 8882 case $cc_basename in 8883 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8884 lt_prog_compiler_wl='-Qoption ld ';; 8885 *) 8886 lt_prog_compiler_wl='-Wl,';; 8887 esac 8888 ;; 8889 8890 sunos4*) 8891 lt_prog_compiler_wl='-Qoption ld ' 8892 lt_prog_compiler_pic='-PIC' 8893 lt_prog_compiler_static='-Bstatic' 8894 ;; 8895 8896 sysv4 | sysv4.2uw2* | sysv4.3*) 8897 lt_prog_compiler_wl='-Wl,' 8898 lt_prog_compiler_pic='-KPIC' 8899 lt_prog_compiler_static='-Bstatic' 8900 ;; 8901 8902 sysv4*MP*) 8903 if test -d /usr/nec; then 8904 lt_prog_compiler_pic='-Kconform_pic' 8905 lt_prog_compiler_static='-Bstatic' 8906 fi 8907 ;; 8908 8909 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8910 lt_prog_compiler_wl='-Wl,' 8911 lt_prog_compiler_pic='-KPIC' 8912 lt_prog_compiler_static='-Bstatic' 8913 ;; 8914 8915 unicos*) 8916 lt_prog_compiler_wl='-Wl,' 8917 lt_prog_compiler_can_build_shared=no 8918 ;; 8919 8920 uts4*) 8921 lt_prog_compiler_pic='-pic' 8922 lt_prog_compiler_static='-Bstatic' 8923 ;; 8924 8925 *) 8926 lt_prog_compiler_can_build_shared=no 8927 ;; 8928 esac 8929 fi 8930 8931case $host_os in 8932 # For platforms that do not support PIC, -DPIC is meaningless: 8933 *djgpp*) 8934 lt_prog_compiler_pic= 8935 ;; 8936 *) 8937 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8938 ;; 8939esac 8940 8941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8942$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8943if ${lt_cv_prog_compiler_pic+:} false; then : 8944 $as_echo_n "(cached) " >&6 8945else 8946 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8947fi 8948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8949$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8950lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8951 8952# 8953# Check to make sure the PIC flag actually works. 8954# 8955if test -n "$lt_prog_compiler_pic"; then 8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8957$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8958if ${lt_cv_prog_compiler_pic_works+:} false; then : 8959 $as_echo_n "(cached) " >&6 8960else 8961 lt_cv_prog_compiler_pic_works=no 8962 ac_outfile=conftest.$ac_objext 8963 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8964 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8965 # Insert the option either (1) after the last *FLAGS variable, or 8966 # (2) before a word containing "conftest.", or (3) at the end. 8967 # Note that $ac_compile itself does not contain backslashes and begins 8968 # with a dollar sign (not a hyphen), so the echo should work correctly. 8969 # The option is referenced via a variable to avoid confusing sed. 8970 lt_compile=`echo "$ac_compile" | $SED \ 8971 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8972 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8973 -e 's:$: $lt_compiler_flag:'` 8974 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8975 (eval "$lt_compile" 2>conftest.err) 8976 ac_status=$? 8977 cat conftest.err >&5 8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8979 if (exit $ac_status) && test -s "$ac_outfile"; then 8980 # The compiler can only warn and ignore the option if not recognized 8981 # So say no if there are warnings other than the usual output. 8982 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8983 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8984 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8985 lt_cv_prog_compiler_pic_works=yes 8986 fi 8987 fi 8988 $RM conftest* 8989 8990fi 8991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8992$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8993 8994if test yes = "$lt_cv_prog_compiler_pic_works"; then 8995 case $lt_prog_compiler_pic in 8996 "" | " "*) ;; 8997 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8998 esac 8999else 9000 lt_prog_compiler_pic= 9001 lt_prog_compiler_can_build_shared=no 9002fi 9003 9004fi 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016# 9017# Check to make sure the static flag actually works. 9018# 9019wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9021$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9022if ${lt_cv_prog_compiler_static_works+:} false; then : 9023 $as_echo_n "(cached) " >&6 9024else 9025 lt_cv_prog_compiler_static_works=no 9026 save_LDFLAGS=$LDFLAGS 9027 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9028 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9029 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9030 # The linker can only warn and ignore the option if not recognized 9031 # So say no if there are warnings 9032 if test -s conftest.err; then 9033 # Append any errors to the config.log. 9034 cat conftest.err 1>&5 9035 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9036 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9037 if diff conftest.exp conftest.er2 >/dev/null; then 9038 lt_cv_prog_compiler_static_works=yes 9039 fi 9040 else 9041 lt_cv_prog_compiler_static_works=yes 9042 fi 9043 fi 9044 $RM -r conftest* 9045 LDFLAGS=$save_LDFLAGS 9046 9047fi 9048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9049$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9050 9051if test yes = "$lt_cv_prog_compiler_static_works"; then 9052 : 9053else 9054 lt_prog_compiler_static= 9055fi 9056 9057 9058 9059 9060 9061 9062 9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9064$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9065if ${lt_cv_prog_compiler_c_o+:} false; then : 9066 $as_echo_n "(cached) " >&6 9067else 9068 lt_cv_prog_compiler_c_o=no 9069 $RM -r conftest 2>/dev/null 9070 mkdir conftest 9071 cd conftest 9072 mkdir out 9073 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9074 9075 lt_compiler_flag="-o out/conftest2.$ac_objext" 9076 # Insert the option either (1) after the last *FLAGS variable, or 9077 # (2) before a word containing "conftest.", or (3) at the end. 9078 # Note that $ac_compile itself does not contain backslashes and begins 9079 # with a dollar sign (not a hyphen), so the echo should work correctly. 9080 lt_compile=`echo "$ac_compile" | $SED \ 9081 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9082 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9083 -e 's:$: $lt_compiler_flag:'` 9084 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9085 (eval "$lt_compile" 2>out/conftest.err) 9086 ac_status=$? 9087 cat out/conftest.err >&5 9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9089 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9090 then 9091 # The compiler can only warn and ignore the option if not recognized 9092 # So say no if there are warnings 9093 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9094 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9095 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9096 lt_cv_prog_compiler_c_o=yes 9097 fi 9098 fi 9099 chmod u+w . 2>&5 9100 $RM conftest* 9101 # SGI C++ compiler will create directory out/ii_files/ for 9102 # template instantiation 9103 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9104 $RM out/* && rmdir out 9105 cd .. 9106 $RM -r conftest 9107 $RM conftest* 9108 9109fi 9110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9111$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9112 9113 9114 9115 9116 9117 9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9119$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9120if ${lt_cv_prog_compiler_c_o+:} false; then : 9121 $as_echo_n "(cached) " >&6 9122else 9123 lt_cv_prog_compiler_c_o=no 9124 $RM -r conftest 2>/dev/null 9125 mkdir conftest 9126 cd conftest 9127 mkdir out 9128 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9129 9130 lt_compiler_flag="-o out/conftest2.$ac_objext" 9131 # Insert the option either (1) after the last *FLAGS variable, or 9132 # (2) before a word containing "conftest.", or (3) at the end. 9133 # Note that $ac_compile itself does not contain backslashes and begins 9134 # with a dollar sign (not a hyphen), so the echo should work correctly. 9135 lt_compile=`echo "$ac_compile" | $SED \ 9136 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9137 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9138 -e 's:$: $lt_compiler_flag:'` 9139 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9140 (eval "$lt_compile" 2>out/conftest.err) 9141 ac_status=$? 9142 cat out/conftest.err >&5 9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9144 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9145 then 9146 # The compiler can only warn and ignore the option if not recognized 9147 # So say no if there are warnings 9148 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9149 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9150 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9151 lt_cv_prog_compiler_c_o=yes 9152 fi 9153 fi 9154 chmod u+w . 2>&5 9155 $RM conftest* 9156 # SGI C++ compiler will create directory out/ii_files/ for 9157 # template instantiation 9158 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9159 $RM out/* && rmdir out 9160 cd .. 9161 $RM -r conftest 9162 $RM conftest* 9163 9164fi 9165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9166$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9167 9168 9169 9170 9171hard_links=nottested 9172if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9173 # do not overwrite the value of need_locks provided by the user 9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9175$as_echo_n "checking if we can lock with hard links... " >&6; } 9176 hard_links=yes 9177 $RM conftest* 9178 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9179 touch conftest.a 9180 ln conftest.a conftest.b 2>&5 || hard_links=no 9181 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9183$as_echo "$hard_links" >&6; } 9184 if test no = "$hard_links"; then 9185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9186$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9187 need_locks=warn 9188 fi 9189else 9190 need_locks=no 9191fi 9192 9193 9194 9195 9196 9197 9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9199$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9200 9201 runpath_var= 9202 allow_undefined_flag= 9203 always_export_symbols=no 9204 archive_cmds= 9205 archive_expsym_cmds= 9206 compiler_needs_object=no 9207 enable_shared_with_static_runtimes=no 9208 export_dynamic_flag_spec= 9209 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9210 hardcode_automatic=no 9211 hardcode_direct=no 9212 hardcode_direct_absolute=no 9213 hardcode_libdir_flag_spec= 9214 hardcode_libdir_separator= 9215 hardcode_minus_L=no 9216 hardcode_shlibpath_var=unsupported 9217 inherit_rpath=no 9218 link_all_deplibs=unknown 9219 module_cmds= 9220 module_expsym_cmds= 9221 old_archive_from_new_cmds= 9222 old_archive_from_expsyms_cmds= 9223 thread_safe_flag_spec= 9224 whole_archive_flag_spec= 9225 # include_expsyms should be a list of space-separated symbols to be *always* 9226 # included in the symbol list 9227 include_expsyms= 9228 # exclude_expsyms can be an extended regexp of symbols to exclude 9229 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9230 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9231 # as well as any symbol that contains 'd'. 9232 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9233 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9234 # platforms (ab)use it in PIC code, but their linkers get confused if 9235 # the symbol is explicitly referenced. Since portable code cannot 9236 # rely on this symbol name, it's probably fine to never include it in 9237 # preloaded symbol tables. 9238 # Exclude shared library initialization/finalization symbols. 9239 extract_expsyms_cmds= 9240 9241 case $host_os in 9242 cygwin* | mingw* | pw32* | cegcc*) 9243 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9244 # When not using gcc, we currently assume that we are using 9245 # Microsoft Visual C++. 9246 if test yes != "$GCC"; then 9247 with_gnu_ld=no 9248 fi 9249 ;; 9250 interix*) 9251 # we just hope/assume this is gcc and not c89 (= MSVC++) 9252 with_gnu_ld=yes 9253 ;; 9254 openbsd* | bitrig*) 9255 with_gnu_ld=no 9256 ;; 9257 esac 9258 9259 ld_shlibs=yes 9260 9261 # On some targets, GNU ld is compatible enough with the native linker 9262 # that we're better off using the native interface for both. 9263 lt_use_gnu_ld_interface=no 9264 if test yes = "$with_gnu_ld"; then 9265 case $host_os in 9266 aix*) 9267 # The AIX port of GNU ld has always aspired to compatibility 9268 # with the native linker. However, as the warning in the GNU ld 9269 # block says, versions before 2.19.5* couldn't really create working 9270 # shared libraries, regardless of the interface used. 9271 case `$LD -v 2>&1` in 9272 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9273 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9274 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9275 *) 9276 lt_use_gnu_ld_interface=yes 9277 ;; 9278 esac 9279 ;; 9280 *) 9281 lt_use_gnu_ld_interface=yes 9282 ;; 9283 esac 9284 fi 9285 9286 if test yes = "$lt_use_gnu_ld_interface"; then 9287 # If archive_cmds runs LD, not CC, wlarc should be empty 9288 wlarc='$wl' 9289 9290 # Set some defaults for GNU ld with shared library support. These 9291 # are reset later if shared libraries are not supported. Putting them 9292 # here allows them to be overridden if necessary. 9293 runpath_var=LD_RUN_PATH 9294 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9295 export_dynamic_flag_spec='$wl--export-dynamic' 9296 # ancient GNU ld didn't support --whole-archive et. al. 9297 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9298 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9299 else 9300 whole_archive_flag_spec= 9301 fi 9302 supports_anon_versioning=no 9303 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9304 *GNU\ gold*) supports_anon_versioning=yes ;; 9305 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9306 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9307 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9308 *\ 2.11.*) ;; # other 2.11 versions 9309 *) supports_anon_versioning=yes ;; 9310 esac 9311 9312 # See if GNU ld supports shared libraries. 9313 case $host_os in 9314 aix[3-9]*) 9315 # On AIX/PPC, the GNU linker is very broken 9316 if test ia64 != "$host_cpu"; then 9317 ld_shlibs=no 9318 cat <<_LT_EOF 1>&2 9319 9320*** Warning: the GNU linker, at least up to release 2.19, is reported 9321*** to be unable to reliably create shared libraries on AIX. 9322*** Therefore, libtool is disabling shared libraries support. If you 9323*** really care for shared libraries, you may want to install binutils 9324*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9325*** You will then need to restart the configuration process. 9326 9327_LT_EOF 9328 fi 9329 ;; 9330 9331 amigaos*) 9332 case $host_cpu in 9333 powerpc) 9334 # see comment about AmigaOS4 .so support 9335 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9336 archive_expsym_cmds='' 9337 ;; 9338 m68k) 9339 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)' 9340 hardcode_libdir_flag_spec='-L$libdir' 9341 hardcode_minus_L=yes 9342 ;; 9343 esac 9344 ;; 9345 9346 beos*) 9347 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9348 allow_undefined_flag=unsupported 9349 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9350 # support --undefined. This deserves some investigation. FIXME 9351 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9352 else 9353 ld_shlibs=no 9354 fi 9355 ;; 9356 9357 cygwin* | mingw* | pw32* | cegcc*) 9358 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9359 # as there is no search path for DLLs. 9360 hardcode_libdir_flag_spec='-L$libdir' 9361 export_dynamic_flag_spec='$wl--export-all-symbols' 9362 allow_undefined_flag=unsupported 9363 always_export_symbols=no 9364 enable_shared_with_static_runtimes=yes 9365 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' 9366 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9367 9368 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9369 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9370 # If the export-symbols file already is a .def file, use it as 9371 # is; otherwise, prepend EXPORTS... 9372 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9373 cp $export_symbols $output_objdir/$soname.def; 9374 else 9375 echo EXPORTS > $output_objdir/$soname.def; 9376 cat $export_symbols >> $output_objdir/$soname.def; 9377 fi~ 9378 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9379 else 9380 ld_shlibs=no 9381 fi 9382 ;; 9383 9384 haiku*) 9385 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9386 link_all_deplibs=yes 9387 ;; 9388 9389 os2*) 9390 hardcode_libdir_flag_spec='-L$libdir' 9391 hardcode_minus_L=yes 9392 allow_undefined_flag=unsupported 9393 shrext_cmds=.dll 9394 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9395 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9396 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9397 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9398 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9399 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9400 emximp -o $lib $output_objdir/$libname.def' 9401 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9402 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9403 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9404 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9405 prefix_cmds="$SED"~ 9406 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9407 prefix_cmds="$prefix_cmds -e 1d"; 9408 fi~ 9409 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9410 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9411 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9412 emximp -o $lib $output_objdir/$libname.def' 9413 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9414 enable_shared_with_static_runtimes=yes 9415 ;; 9416 9417 interix[3-9]*) 9418 hardcode_direct=no 9419 hardcode_shlibpath_var=no 9420 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9421 export_dynamic_flag_spec='$wl-E' 9422 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9423 # Instead, shared libraries are loaded at an image base (0x10000000 by 9424 # default) and relocated if they conflict, which is a slow very memory 9425 # consuming and fragmenting process. To avoid this, we pick a random, 9426 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9427 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9428 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9429 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' 9430 ;; 9431 9432 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9433 tmp_diet=no 9434 if test linux-dietlibc = "$host_os"; then 9435 case $cc_basename in 9436 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9437 esac 9438 fi 9439 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9440 && test no = "$tmp_diet" 9441 then 9442 tmp_addflag=' $pic_flag' 9443 tmp_sharedflag='-shared' 9444 case $cc_basename,$host_cpu in 9445 pgcc*) # Portland Group C compiler 9446 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' 9447 tmp_addflag=' $pic_flag' 9448 ;; 9449 pgf77* | pgf90* | pgf95* | pgfortran*) 9450 # Portland Group f77 and f90 compilers 9451 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' 9452 tmp_addflag=' $pic_flag -Mnomain' ;; 9453 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9454 tmp_addflag=' -i_dynamic' ;; 9455 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9456 tmp_addflag=' -i_dynamic -nofor_main' ;; 9457 ifc* | ifort*) # Intel Fortran compiler 9458 tmp_addflag=' -nofor_main' ;; 9459 lf95*) # Lahey Fortran 8.1 9460 whole_archive_flag_spec= 9461 tmp_sharedflag='--shared' ;; 9462 nagfor*) # NAGFOR 5.3 9463 tmp_sharedflag='-Wl,-shared' ;; 9464 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9465 tmp_sharedflag='-qmkshrobj' 9466 tmp_addflag= ;; 9467 nvcc*) # Cuda Compiler Driver 2.2 9468 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' 9469 compiler_needs_object=yes 9470 ;; 9471 esac 9472 case `$CC -V 2>&1 | sed 5q` in 9473 *Sun\ C*) # Sun C 5.9 9474 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' 9475 compiler_needs_object=yes 9476 tmp_sharedflag='-G' ;; 9477 *Sun\ F*) # Sun Fortran 8.3 9478 tmp_sharedflag='-G' ;; 9479 esac 9480 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9481 9482 if test yes = "$supports_anon_versioning"; then 9483 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9484 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9485 echo "local: *; };" >> $output_objdir/$libname.ver~ 9486 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9487 fi 9488 9489 case $cc_basename in 9490 tcc*) 9491 export_dynamic_flag_spec='-rdynamic' 9492 ;; 9493 xlf* | bgf* | bgxlf* | mpixlf*) 9494 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9495 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9496 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9497 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9498 if test yes = "$supports_anon_versioning"; then 9499 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9500 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9501 echo "local: *; };" >> $output_objdir/$libname.ver~ 9502 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9503 fi 9504 ;; 9505 esac 9506 else 9507 ld_shlibs=no 9508 fi 9509 ;; 9510 9511 netbsd*) 9512 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9513 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9514 wlarc= 9515 else 9516 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9517 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9518 fi 9519 ;; 9520 9521 solaris*) 9522 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9523 ld_shlibs=no 9524 cat <<_LT_EOF 1>&2 9525 9526*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9527*** create shared libraries on Solaris systems. Therefore, libtool 9528*** is disabling shared libraries support. We urge you to upgrade GNU 9529*** binutils to release 2.9.1 or newer. Another option is to modify 9530*** your PATH or compiler configuration so that the native linker is 9531*** used, and then restart. 9532 9533_LT_EOF 9534 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9535 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9536 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9537 else 9538 ld_shlibs=no 9539 fi 9540 ;; 9541 9542 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9543 case `$LD -v 2>&1` in 9544 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9545 ld_shlibs=no 9546 cat <<_LT_EOF 1>&2 9547 9548*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9549*** reliably create shared libraries on SCO systems. Therefore, libtool 9550*** is disabling shared libraries support. We urge you to upgrade GNU 9551*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9552*** your PATH or compiler configuration so that the native linker is 9553*** used, and then restart. 9554 9555_LT_EOF 9556 ;; 9557 *) 9558 # For security reasons, it is highly recommended that you always 9559 # use absolute paths for naming shared libraries, and exclude the 9560 # DT_RUNPATH tag from executables and libraries. But doing so 9561 # requires that you compile everything twice, which is a pain. 9562 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9563 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9564 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9565 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9566 else 9567 ld_shlibs=no 9568 fi 9569 ;; 9570 esac 9571 ;; 9572 9573 sunos4*) 9574 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9575 wlarc= 9576 hardcode_direct=yes 9577 hardcode_shlibpath_var=no 9578 ;; 9579 9580 *) 9581 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9582 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9583 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9584 else 9585 ld_shlibs=no 9586 fi 9587 ;; 9588 esac 9589 9590 if test no = "$ld_shlibs"; then 9591 runpath_var= 9592 hardcode_libdir_flag_spec= 9593 export_dynamic_flag_spec= 9594 whole_archive_flag_spec= 9595 fi 9596 else 9597 # PORTME fill in a description of your system's linker (not GNU ld) 9598 case $host_os in 9599 aix3*) 9600 allow_undefined_flag=unsupported 9601 always_export_symbols=yes 9602 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' 9603 # Note: this linker hardcodes the directories in LIBPATH if there 9604 # are no directories specified by -L. 9605 hardcode_minus_L=yes 9606 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9607 # Neither direct hardcoding nor static linking is supported with a 9608 # broken collect2. 9609 hardcode_direct=unsupported 9610 fi 9611 ;; 9612 9613 aix[4-9]*) 9614 if test ia64 = "$host_cpu"; then 9615 # On IA64, the linker does run time linking by default, so we don't 9616 # have to do anything special. 9617 aix_use_runtimelinking=no 9618 exp_sym_flag='-Bexport' 9619 no_entry_flag= 9620 else 9621 # If we're using GNU nm, then we don't want the "-C" option. 9622 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9623 # Without the "-l" option, or with the "-B" option, AIX nm treats 9624 # weak defined symbols like other global defined symbols, whereas 9625 # GNU nm marks them as "W". 9626 # While the 'weak' keyword is ignored in the Export File, we need 9627 # it in the Import File for the 'aix-soname' feature, so we have 9628 # to replace the "-B" option with "-P" for AIX nm. 9629 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9630 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' 9631 else 9632 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' 9633 fi 9634 aix_use_runtimelinking=no 9635 9636 # Test if we are trying to use run time linking or normal 9637 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9638 # have runtime linking enabled, and use it for executables. 9639 # For shared libraries, we enable/disable runtime linking 9640 # depending on the kind of the shared library created - 9641 # when "with_aix_soname,aix_use_runtimelinking" is: 9642 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9643 # "aix,yes" lib.so shared, rtl:yes, for executables 9644 # lib.a static archive 9645 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9646 # lib.a(lib.so.V) shared, rtl:no, for executables 9647 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9648 # lib.a(lib.so.V) shared, rtl:no 9649 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9650 # lib.a static archive 9651 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9652 for ld_flag in $LDFLAGS; do 9653 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9654 aix_use_runtimelinking=yes 9655 break 9656 fi 9657 done 9658 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9659 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9660 # so we don't have lib.a shared libs to link our executables. 9661 # We have to force runtime linking in this case. 9662 aix_use_runtimelinking=yes 9663 LDFLAGS="$LDFLAGS -Wl,-brtl" 9664 fi 9665 ;; 9666 esac 9667 9668 exp_sym_flag='-bexport' 9669 no_entry_flag='-bnoentry' 9670 fi 9671 9672 # When large executables or shared objects are built, AIX ld can 9673 # have problems creating the table of contents. If linking a library 9674 # or program results in "error TOC overflow" add -mminimal-toc to 9675 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9676 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9677 9678 archive_cmds='' 9679 hardcode_direct=yes 9680 hardcode_direct_absolute=yes 9681 hardcode_libdir_separator=':' 9682 link_all_deplibs=yes 9683 file_list_spec='$wl-f,' 9684 case $with_aix_soname,$aix_use_runtimelinking in 9685 aix,*) ;; # traditional, no import file 9686 svr4,* | *,yes) # use import file 9687 # The Import File defines what to hardcode. 9688 hardcode_direct=no 9689 hardcode_direct_absolute=no 9690 ;; 9691 esac 9692 9693 if test yes = "$GCC"; then 9694 case $host_os in aix4.[012]|aix4.[012].*) 9695 # We only want to do this on AIX 4.2 and lower, the check 9696 # below for broken collect2 doesn't work under 4.3+ 9697 collect2name=`$CC -print-prog-name=collect2` 9698 if test -f "$collect2name" && 9699 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9700 then 9701 # We have reworked collect2 9702 : 9703 else 9704 # We have old collect2 9705 hardcode_direct=unsupported 9706 # It fails to find uninstalled libraries when the uninstalled 9707 # path is not listed in the libpath. Setting hardcode_minus_L 9708 # to unsupported forces relinking 9709 hardcode_minus_L=yes 9710 hardcode_libdir_flag_spec='-L$libdir' 9711 hardcode_libdir_separator= 9712 fi 9713 ;; 9714 esac 9715 shared_flag='-shared' 9716 if test yes = "$aix_use_runtimelinking"; then 9717 shared_flag="$shared_flag "'$wl-G' 9718 fi 9719 # Need to ensure runtime linking is disabled for the traditional 9720 # shared library, or the linker may eventually find shared libraries 9721 # /with/ Import File - we do not want to mix them. 9722 shared_flag_aix='-shared' 9723 shared_flag_svr4='-shared $wl-G' 9724 else 9725 # not using gcc 9726 if test ia64 = "$host_cpu"; then 9727 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9728 # chokes on -Wl,-G. The following line is correct: 9729 shared_flag='-G' 9730 else 9731 if test yes = "$aix_use_runtimelinking"; then 9732 shared_flag='$wl-G' 9733 else 9734 shared_flag='$wl-bM:SRE' 9735 fi 9736 shared_flag_aix='$wl-bM:SRE' 9737 shared_flag_svr4='$wl-G' 9738 fi 9739 fi 9740 9741 export_dynamic_flag_spec='$wl-bexpall' 9742 # It seems that -bexpall does not export symbols beginning with 9743 # underscore (_), so it is better to generate a list of symbols to export. 9744 always_export_symbols=yes 9745 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9746 # Warning - without using the other runtime loading flags (-brtl), 9747 # -berok will link without error, but may produce a broken library. 9748 allow_undefined_flag='-berok' 9749 # Determine the default libpath from the value encoded in an 9750 # empty executable. 9751 if test set = "${lt_cv_aix_libpath+set}"; then 9752 aix_libpath=$lt_cv_aix_libpath 9753else 9754 if ${lt_cv_aix_libpath_+:} false; then : 9755 $as_echo_n "(cached) " >&6 9756else 9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9758/* end confdefs.h. */ 9759 9760int 9761main () 9762{ 9763 9764 ; 9765 return 0; 9766} 9767_ACEOF 9768if ac_fn_c_try_link "$LINENO"; then : 9769 9770 lt_aix_libpath_sed=' 9771 /Import File Strings/,/^$/ { 9772 /^0/ { 9773 s/^0 *\([^ ]*\) *$/\1/ 9774 p 9775 } 9776 }' 9777 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9778 # Check for a 64-bit object if we didn't find anything. 9779 if test -z "$lt_cv_aix_libpath_"; then 9780 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9781 fi 9782fi 9783rm -f core conftest.err conftest.$ac_objext \ 9784 conftest$ac_exeext conftest.$ac_ext 9785 if test -z "$lt_cv_aix_libpath_"; then 9786 lt_cv_aix_libpath_=/usr/lib:/lib 9787 fi 9788 9789fi 9790 9791 aix_libpath=$lt_cv_aix_libpath_ 9792fi 9793 9794 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9795 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 9796 else 9797 if test ia64 = "$host_cpu"; then 9798 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9799 allow_undefined_flag="-z nodefs" 9800 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" 9801 else 9802 # Determine the default libpath from the value encoded in an 9803 # empty executable. 9804 if test set = "${lt_cv_aix_libpath+set}"; then 9805 aix_libpath=$lt_cv_aix_libpath 9806else 9807 if ${lt_cv_aix_libpath_+:} false; then : 9808 $as_echo_n "(cached) " >&6 9809else 9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9811/* end confdefs.h. */ 9812 9813int 9814main () 9815{ 9816 9817 ; 9818 return 0; 9819} 9820_ACEOF 9821if ac_fn_c_try_link "$LINENO"; then : 9822 9823 lt_aix_libpath_sed=' 9824 /Import File Strings/,/^$/ { 9825 /^0/ { 9826 s/^0 *\([^ ]*\) *$/\1/ 9827 p 9828 } 9829 }' 9830 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9831 # Check for a 64-bit object if we didn't find anything. 9832 if test -z "$lt_cv_aix_libpath_"; then 9833 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9834 fi 9835fi 9836rm -f core conftest.err conftest.$ac_objext \ 9837 conftest$ac_exeext conftest.$ac_ext 9838 if test -z "$lt_cv_aix_libpath_"; then 9839 lt_cv_aix_libpath_=/usr/lib:/lib 9840 fi 9841 9842fi 9843 9844 aix_libpath=$lt_cv_aix_libpath_ 9845fi 9846 9847 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9848 # Warning - without using the other run time loading flags, 9849 # -berok will link without error, but may produce a broken library. 9850 no_undefined_flag=' $wl-bernotok' 9851 allow_undefined_flag=' $wl-berok' 9852 if test yes = "$with_gnu_ld"; then 9853 # We only use this code for GNU lds that support --whole-archive. 9854 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9855 else 9856 # Exported symbols can be pulled into shared objects from archives 9857 whole_archive_flag_spec='$convenience' 9858 fi 9859 archive_cmds_need_lc=yes 9860 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9861 # -brtl affects multiple linker settings, -berok does not and is overridden later 9862 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9863 if test svr4 != "$with_aix_soname"; then 9864 # This is similar to how AIX traditionally builds its shared libraries. 9865 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' 9866 fi 9867 if test aix != "$with_aix_soname"; then 9868 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' 9869 else 9870 # used by -dlpreopen to get the symbols 9871 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9872 fi 9873 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9874 fi 9875 fi 9876 ;; 9877 9878 amigaos*) 9879 case $host_cpu in 9880 powerpc) 9881 # see comment about AmigaOS4 .so support 9882 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9883 archive_expsym_cmds='' 9884 ;; 9885 m68k) 9886 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)' 9887 hardcode_libdir_flag_spec='-L$libdir' 9888 hardcode_minus_L=yes 9889 ;; 9890 esac 9891 ;; 9892 9893 bsdi[45]*) 9894 export_dynamic_flag_spec=-rdynamic 9895 ;; 9896 9897 cygwin* | mingw* | pw32* | cegcc*) 9898 # When not using gcc, we currently assume that we are using 9899 # Microsoft Visual C++. 9900 # hardcode_libdir_flag_spec is actually meaningless, as there is 9901 # no search path for DLLs. 9902 case $cc_basename in 9903 cl*) 9904 # Native MSVC 9905 hardcode_libdir_flag_spec=' ' 9906 allow_undefined_flag=unsupported 9907 always_export_symbols=yes 9908 file_list_spec='@' 9909 # Tell ltmain to make .lib files, not .a files. 9910 libext=lib 9911 # Tell ltmain to make .dll files, not .so files. 9912 shrext_cmds=.dll 9913 # FIXME: Setting linknames here is a bad hack. 9914 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9915 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9916 cp "$export_symbols" "$output_objdir/$soname.def"; 9917 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9918 else 9919 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9920 fi~ 9921 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9922 linknames=' 9923 # The linker will not automatically build a static lib if we build a DLL. 9924 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9925 enable_shared_with_static_runtimes=yes 9926 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9927 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9928 # Don't use ranlib 9929 old_postinstall_cmds='chmod 644 $oldlib' 9930 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9931 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9932 case $lt_outputfile in 9933 *.exe|*.EXE) ;; 9934 *) 9935 lt_outputfile=$lt_outputfile.exe 9936 lt_tool_outputfile=$lt_tool_outputfile.exe 9937 ;; 9938 esac~ 9939 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9940 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9941 $RM "$lt_outputfile.manifest"; 9942 fi' 9943 ;; 9944 *) 9945 # Assume MSVC wrapper 9946 hardcode_libdir_flag_spec=' ' 9947 allow_undefined_flag=unsupported 9948 # Tell ltmain to make .lib files, not .a files. 9949 libext=lib 9950 # Tell ltmain to make .dll files, not .so files. 9951 shrext_cmds=.dll 9952 # FIXME: Setting linknames here is a bad hack. 9953 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9954 # The linker will automatically build a .lib file if we build a DLL. 9955 old_archive_from_new_cmds='true' 9956 # FIXME: Should let the user specify the lib program. 9957 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9958 enable_shared_with_static_runtimes=yes 9959 ;; 9960 esac 9961 ;; 9962 9963 darwin* | rhapsody*) 9964 9965 9966 archive_cmds_need_lc=no 9967 hardcode_direct=no 9968 hardcode_automatic=yes 9969 hardcode_shlibpath_var=unsupported 9970 if test yes = "$lt_cv_ld_force_load"; then 9971 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\"`' 9972 9973 else 9974 whole_archive_flag_spec='' 9975 fi 9976 link_all_deplibs=yes 9977 allow_undefined_flag=$_lt_dar_allow_undefined 9978 case $cc_basename in 9979 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9980 *) _lt_dar_can_shared=$GCC ;; 9981 esac 9982 if test yes = "$_lt_dar_can_shared"; then 9983 output_verbose_link_cmd=func_echo_all 9984 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9985 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9986 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" 9987 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" 9988 9989 else 9990 ld_shlibs=no 9991 fi 9992 9993 ;; 9994 9995 dgux*) 9996 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9997 hardcode_libdir_flag_spec='-L$libdir' 9998 hardcode_shlibpath_var=no 9999 ;; 10000 10001 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10002 # support. Future versions do this automatically, but an explicit c++rt0.o 10003 # does not break anything, and helps significantly (at the cost of a little 10004 # extra space). 10005 freebsd2.2*) 10006 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10007 hardcode_libdir_flag_spec='-R$libdir' 10008 hardcode_direct=yes 10009 hardcode_shlibpath_var=no 10010 ;; 10011 10012 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10013 freebsd2.*) 10014 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10015 hardcode_direct=yes 10016 hardcode_minus_L=yes 10017 hardcode_shlibpath_var=no 10018 ;; 10019 10020 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10021 freebsd* | dragonfly*) 10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10023 hardcode_libdir_flag_spec='-R$libdir' 10024 hardcode_direct=yes 10025 hardcode_shlibpath_var=no 10026 ;; 10027 10028 hpux9*) 10029 if test yes = "$GCC"; then 10030 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' 10031 else 10032 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' 10033 fi 10034 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10035 hardcode_libdir_separator=: 10036 hardcode_direct=yes 10037 10038 # hardcode_minus_L: Not really in the search PATH, 10039 # but as the default location of the library. 10040 hardcode_minus_L=yes 10041 export_dynamic_flag_spec='$wl-E' 10042 ;; 10043 10044 hpux10*) 10045 if test yes,no = "$GCC,$with_gnu_ld"; then 10046 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10047 else 10048 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10049 fi 10050 if test no = "$with_gnu_ld"; then 10051 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10052 hardcode_libdir_separator=: 10053 hardcode_direct=yes 10054 hardcode_direct_absolute=yes 10055 export_dynamic_flag_spec='$wl-E' 10056 # hardcode_minus_L: Not really in the search PATH, 10057 # but as the default location of the library. 10058 hardcode_minus_L=yes 10059 fi 10060 ;; 10061 10062 hpux11*) 10063 if test yes,no = "$GCC,$with_gnu_ld"; then 10064 case $host_cpu in 10065 hppa*64*) 10066 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10067 ;; 10068 ia64*) 10069 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10070 ;; 10071 *) 10072 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10073 ;; 10074 esac 10075 else 10076 case $host_cpu in 10077 hppa*64*) 10078 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10079 ;; 10080 ia64*) 10081 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10082 ;; 10083 *) 10084 10085 # Older versions of the 11.00 compiler do not understand -b yet 10086 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10088$as_echo_n "checking if $CC understands -b... " >&6; } 10089if ${lt_cv_prog_compiler__b+:} false; then : 10090 $as_echo_n "(cached) " >&6 10091else 10092 lt_cv_prog_compiler__b=no 10093 save_LDFLAGS=$LDFLAGS 10094 LDFLAGS="$LDFLAGS -b" 10095 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10096 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10097 # The linker can only warn and ignore the option if not recognized 10098 # So say no if there are warnings 10099 if test -s conftest.err; then 10100 # Append any errors to the config.log. 10101 cat conftest.err 1>&5 10102 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10103 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10104 if diff conftest.exp conftest.er2 >/dev/null; then 10105 lt_cv_prog_compiler__b=yes 10106 fi 10107 else 10108 lt_cv_prog_compiler__b=yes 10109 fi 10110 fi 10111 $RM -r conftest* 10112 LDFLAGS=$save_LDFLAGS 10113 10114fi 10115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10116$as_echo "$lt_cv_prog_compiler__b" >&6; } 10117 10118if test yes = "$lt_cv_prog_compiler__b"; then 10119 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10120else 10121 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10122fi 10123 10124 ;; 10125 esac 10126 fi 10127 if test no = "$with_gnu_ld"; then 10128 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10129 hardcode_libdir_separator=: 10130 10131 case $host_cpu in 10132 hppa*64*|ia64*) 10133 hardcode_direct=no 10134 hardcode_shlibpath_var=no 10135 ;; 10136 *) 10137 hardcode_direct=yes 10138 hardcode_direct_absolute=yes 10139 export_dynamic_flag_spec='$wl-E' 10140 10141 # hardcode_minus_L: Not really in the search PATH, 10142 # but as the default location of the library. 10143 hardcode_minus_L=yes 10144 ;; 10145 esac 10146 fi 10147 ;; 10148 10149 irix5* | irix6* | nonstopux*) 10150 if test yes = "$GCC"; then 10151 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' 10152 # Try to use the -exported_symbol ld option, if it does not 10153 # work, assume that -exports_file does not work either and 10154 # implicitly export all symbols. 10155 # This should be the same for all languages, so no per-tag cache variable. 10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10157$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10158if ${lt_cv_irix_exported_symbol+:} false; then : 10159 $as_echo_n "(cached) " >&6 10160else 10161 save_LDFLAGS=$LDFLAGS 10162 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10164/* end confdefs.h. */ 10165int foo (void) { return 0; } 10166_ACEOF 10167if ac_fn_c_try_link "$LINENO"; then : 10168 lt_cv_irix_exported_symbol=yes 10169else 10170 lt_cv_irix_exported_symbol=no 10171fi 10172rm -f core conftest.err conftest.$ac_objext \ 10173 conftest$ac_exeext conftest.$ac_ext 10174 LDFLAGS=$save_LDFLAGS 10175fi 10176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10177$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10178 if test yes = "$lt_cv_irix_exported_symbol"; then 10179 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' 10180 fi 10181 else 10182 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' 10183 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' 10184 fi 10185 archive_cmds_need_lc='no' 10186 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10187 hardcode_libdir_separator=: 10188 inherit_rpath=yes 10189 link_all_deplibs=yes 10190 ;; 10191 10192 linux*) 10193 case $cc_basename in 10194 tcc*) 10195 # Fabrice Bellard et al's Tiny C Compiler 10196 ld_shlibs=yes 10197 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10198 ;; 10199 esac 10200 ;; 10201 10202 netbsd*) 10203 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10204 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10205 else 10206 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10207 fi 10208 hardcode_libdir_flag_spec='-R$libdir' 10209 hardcode_direct=yes 10210 hardcode_shlibpath_var=no 10211 ;; 10212 10213 newsos6) 10214 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10215 hardcode_direct=yes 10216 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10217 hardcode_libdir_separator=: 10218 hardcode_shlibpath_var=no 10219 ;; 10220 10221 *nto* | *qnx*) 10222 ;; 10223 10224 openbsd* | bitrig*) 10225 if test -f /usr/libexec/ld.so; then 10226 hardcode_direct=yes 10227 hardcode_shlibpath_var=no 10228 hardcode_direct_absolute=yes 10229 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10230 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10231 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10232 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10233 export_dynamic_flag_spec='$wl-E' 10234 else 10235 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10236 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10237 fi 10238 else 10239 ld_shlibs=no 10240 fi 10241 ;; 10242 10243 os2*) 10244 hardcode_libdir_flag_spec='-L$libdir' 10245 hardcode_minus_L=yes 10246 allow_undefined_flag=unsupported 10247 shrext_cmds=.dll 10248 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10249 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10250 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10251 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10252 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10253 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10254 emximp -o $lib $output_objdir/$libname.def' 10255 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10256 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10257 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10258 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10259 prefix_cmds="$SED"~ 10260 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10261 prefix_cmds="$prefix_cmds -e 1d"; 10262 fi~ 10263 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10264 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10265 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10266 emximp -o $lib $output_objdir/$libname.def' 10267 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10268 enable_shared_with_static_runtimes=yes 10269 ;; 10270 10271 osf3*) 10272 if test yes = "$GCC"; then 10273 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10274 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' 10275 else 10276 allow_undefined_flag=' -expect_unresolved \*' 10277 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' 10278 fi 10279 archive_cmds_need_lc='no' 10280 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10281 hardcode_libdir_separator=: 10282 ;; 10283 10284 osf4* | osf5*) # as osf3* with the addition of -msym flag 10285 if test yes = "$GCC"; then 10286 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10287 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' 10288 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10289 else 10290 allow_undefined_flag=' -expect_unresolved \*' 10291 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' 10292 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~ 10293 $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' 10294 10295 # Both c and cxx compiler support -rpath directly 10296 hardcode_libdir_flag_spec='-rpath $libdir' 10297 fi 10298 archive_cmds_need_lc='no' 10299 hardcode_libdir_separator=: 10300 ;; 10301 10302 solaris*) 10303 no_undefined_flag=' -z defs' 10304 if test yes = "$GCC"; then 10305 wlarc='$wl' 10306 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10307 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10308 $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' 10309 else 10310 case `$CC -V 2>&1` in 10311 *"Compilers 5.0"*) 10312 wlarc='' 10313 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10314 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10315 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10316 ;; 10317 *) 10318 wlarc='$wl' 10319 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10320 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10321 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10322 ;; 10323 esac 10324 fi 10325 hardcode_libdir_flag_spec='-R$libdir' 10326 hardcode_shlibpath_var=no 10327 case $host_os in 10328 solaris2.[0-5] | solaris2.[0-5].*) ;; 10329 *) 10330 # The compiler driver will combine and reorder linker options, 10331 # but understands '-z linker_flag'. GCC discards it without '$wl', 10332 # but is careful enough not to reorder. 10333 # Supported since Solaris 2.6 (maybe 2.5.1?) 10334 if test yes = "$GCC"; then 10335 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10336 else 10337 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10338 fi 10339 ;; 10340 esac 10341 link_all_deplibs=yes 10342 ;; 10343 10344 sunos4*) 10345 if test sequent = "$host_vendor"; then 10346 # Use $CC to link under sequent, because it throws in some extra .o 10347 # files that make .init and .fini sections work. 10348 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10349 else 10350 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10351 fi 10352 hardcode_libdir_flag_spec='-L$libdir' 10353 hardcode_direct=yes 10354 hardcode_minus_L=yes 10355 hardcode_shlibpath_var=no 10356 ;; 10357 10358 sysv4) 10359 case $host_vendor in 10360 sni) 10361 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10362 hardcode_direct=yes # is this really true??? 10363 ;; 10364 siemens) 10365 ## LD is ld it makes a PLAMLIB 10366 ## CC just makes a GrossModule. 10367 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10368 reload_cmds='$CC -r -o $output$reload_objs' 10369 hardcode_direct=no 10370 ;; 10371 motorola) 10372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10373 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10374 ;; 10375 esac 10376 runpath_var='LD_RUN_PATH' 10377 hardcode_shlibpath_var=no 10378 ;; 10379 10380 sysv4.3*) 10381 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10382 hardcode_shlibpath_var=no 10383 export_dynamic_flag_spec='-Bexport' 10384 ;; 10385 10386 sysv4*MP*) 10387 if test -d /usr/nec; then 10388 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10389 hardcode_shlibpath_var=no 10390 runpath_var=LD_RUN_PATH 10391 hardcode_runpath_var=yes 10392 ld_shlibs=yes 10393 fi 10394 ;; 10395 10396 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10397 no_undefined_flag='$wl-z,text' 10398 archive_cmds_need_lc=no 10399 hardcode_shlibpath_var=no 10400 runpath_var='LD_RUN_PATH' 10401 10402 if test yes = "$GCC"; then 10403 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10404 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10405 else 10406 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10407 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10408 fi 10409 ;; 10410 10411 sysv5* | sco3.2v5* | sco5v6*) 10412 # Note: We CANNOT use -z defs as we might desire, because we do not 10413 # link with -lc, and that would cause any symbols used from libc to 10414 # always be unresolved, which means just about no library would 10415 # ever link correctly. If we're not using GNU ld we use -z text 10416 # though, which does catch some bad symbols but isn't as heavy-handed 10417 # as -z defs. 10418 no_undefined_flag='$wl-z,text' 10419 allow_undefined_flag='$wl-z,nodefs' 10420 archive_cmds_need_lc=no 10421 hardcode_shlibpath_var=no 10422 hardcode_libdir_flag_spec='$wl-R,$libdir' 10423 hardcode_libdir_separator=':' 10424 link_all_deplibs=yes 10425 export_dynamic_flag_spec='$wl-Bexport' 10426 runpath_var='LD_RUN_PATH' 10427 10428 if test yes = "$GCC"; then 10429 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10430 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10431 else 10432 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10433 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10434 fi 10435 ;; 10436 10437 uts4*) 10438 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10439 hardcode_libdir_flag_spec='-L$libdir' 10440 hardcode_shlibpath_var=no 10441 ;; 10442 10443 *) 10444 ld_shlibs=no 10445 ;; 10446 esac 10447 10448 if test sni = "$host_vendor"; then 10449 case $host in 10450 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10451 export_dynamic_flag_spec='$wl-Blargedynsym' 10452 ;; 10453 esac 10454 fi 10455 fi 10456 10457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10458$as_echo "$ld_shlibs" >&6; } 10459test no = "$ld_shlibs" && can_build_shared=no 10460 10461with_gnu_ld=$with_gnu_ld 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477# 10478# Do we need to explicitly link libc? 10479# 10480case "x$archive_cmds_need_lc" in 10481x|xyes) 10482 # Assume -lc should be added 10483 archive_cmds_need_lc=yes 10484 10485 if test yes,yes = "$GCC,$enable_shared"; then 10486 case $archive_cmds in 10487 *'~'*) 10488 # FIXME: we may have to deal with multi-command sequences. 10489 ;; 10490 '$CC '*) 10491 # Test whether the compiler implicitly links with -lc since on some 10492 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10493 # to ld, don't add -lc before -lgcc. 10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10495$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10496if ${lt_cv_archive_cmds_need_lc+:} false; then : 10497 $as_echo_n "(cached) " >&6 10498else 10499 $RM conftest* 10500 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10501 10502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10503 (eval $ac_compile) 2>&5 10504 ac_status=$? 10505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10506 test $ac_status = 0; } 2>conftest.err; then 10507 soname=conftest 10508 lib=conftest 10509 libobjs=conftest.$ac_objext 10510 deplibs= 10511 wl=$lt_prog_compiler_wl 10512 pic_flag=$lt_prog_compiler_pic 10513 compiler_flags=-v 10514 linker_flags=-v 10515 verstring= 10516 output_objdir=. 10517 libname=conftest 10518 lt_save_allow_undefined_flag=$allow_undefined_flag 10519 allow_undefined_flag= 10520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10521 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10522 ac_status=$? 10523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10524 test $ac_status = 0; } 10525 then 10526 lt_cv_archive_cmds_need_lc=no 10527 else 10528 lt_cv_archive_cmds_need_lc=yes 10529 fi 10530 allow_undefined_flag=$lt_save_allow_undefined_flag 10531 else 10532 cat conftest.err 1>&5 10533 fi 10534 $RM conftest* 10535 10536fi 10537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10538$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10539 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10540 ;; 10541 esac 10542 fi 10543 ;; 10544esac 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10698$as_echo_n "checking dynamic linker characteristics... " >&6; } 10699 10700if test yes = "$GCC"; then 10701 case $host_os in 10702 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10703 *) lt_awk_arg='/^libraries:/' ;; 10704 esac 10705 case $host_os in 10706 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10707 *) lt_sed_strip_eq='s|=/|/|g' ;; 10708 esac 10709 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10710 case $lt_search_path_spec in 10711 *\;*) 10712 # if the path contains ";" then we assume it to be the separator 10713 # otherwise default to the standard path separator (i.e. ":") - it is 10714 # assumed that no part of a normal pathname contains ";" but that should 10715 # okay in the real world where ";" in dirpaths is itself problematic. 10716 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10717 ;; 10718 *) 10719 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10720 ;; 10721 esac 10722 # Ok, now we have the path, separated by spaces, we can step through it 10723 # and add multilib dir if necessary... 10724 lt_tmp_lt_search_path_spec= 10725 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10726 # ...but if some path component already ends with the multilib dir we assume 10727 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10728 case "$lt_multi_os_dir; $lt_search_path_spec " in 10729 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10730 lt_multi_os_dir= 10731 ;; 10732 esac 10733 for lt_sys_path in $lt_search_path_spec; do 10734 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10735 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10736 elif test -n "$lt_multi_os_dir"; then 10737 test -d "$lt_sys_path" && \ 10738 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10739 fi 10740 done 10741 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10742BEGIN {RS = " "; FS = "/|\n";} { 10743 lt_foo = ""; 10744 lt_count = 0; 10745 for (lt_i = NF; lt_i > 0; lt_i--) { 10746 if ($lt_i != "" && $lt_i != ".") { 10747 if ($lt_i == "..") { 10748 lt_count++; 10749 } else { 10750 if (lt_count == 0) { 10751 lt_foo = "/" $lt_i lt_foo; 10752 } else { 10753 lt_count--; 10754 } 10755 } 10756 } 10757 } 10758 if (lt_foo != "") { lt_freq[lt_foo]++; } 10759 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10760}'` 10761 # AWK program above erroneously prepends '/' to C:/dos/paths 10762 # for these hosts. 10763 case $host_os in 10764 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10765 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10766 esac 10767 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10768else 10769 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10770fi 10771library_names_spec= 10772libname_spec='lib$name' 10773soname_spec= 10774shrext_cmds=.so 10775postinstall_cmds= 10776postuninstall_cmds= 10777finish_cmds= 10778finish_eval= 10779shlibpath_var= 10780shlibpath_overrides_runpath=unknown 10781version_type=none 10782dynamic_linker="$host_os ld.so" 10783sys_lib_dlsearch_path_spec="/lib /usr/lib" 10784need_lib_prefix=unknown 10785hardcode_into_libs=no 10786 10787# when you set need_version to no, make sure it does not cause -set_version 10788# flags to be left without arguments 10789need_version=unknown 10790 10791 10792 10793case $host_os in 10794aix3*) 10795 version_type=linux # correct to gnu/linux during the next big refactor 10796 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10797 shlibpath_var=LIBPATH 10798 10799 # AIX 3 has no versioning support, so we append a major version to the name. 10800 soname_spec='$libname$release$shared_ext$major' 10801 ;; 10802 10803aix[4-9]*) 10804 version_type=linux # correct to gnu/linux during the next big refactor 10805 need_lib_prefix=no 10806 need_version=no 10807 hardcode_into_libs=yes 10808 if test ia64 = "$host_cpu"; then 10809 # AIX 5 supports IA64 10810 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10811 shlibpath_var=LD_LIBRARY_PATH 10812 else 10813 # With GCC up to 2.95.x, collect2 would create an import file 10814 # for dependence libraries. The import file would start with 10815 # the line '#! .'. This would cause the generated library to 10816 # depend on '.', always an invalid library. This was fixed in 10817 # development snapshots of GCC prior to 3.0. 10818 case $host_os in 10819 aix4 | aix4.[01] | aix4.[01].*) 10820 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10821 echo ' yes ' 10822 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10823 : 10824 else 10825 can_build_shared=no 10826 fi 10827 ;; 10828 esac 10829 # Using Import Files as archive members, it is possible to support 10830 # filename-based versioning of shared library archives on AIX. While 10831 # this would work for both with and without runtime linking, it will 10832 # prevent static linking of such archives. So we do filename-based 10833 # shared library versioning with .so extension only, which is used 10834 # when both runtime linking and shared linking is enabled. 10835 # Unfortunately, runtime linking may impact performance, so we do 10836 # not want this to be the default eventually. Also, we use the 10837 # versioned .so libs for executables only if there is the -brtl 10838 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10839 # To allow for filename-based versioning support, we need to create 10840 # libNAME.so.V as an archive file, containing: 10841 # *) an Import File, referring to the versioned filename of the 10842 # archive as well as the shared archive member, telling the 10843 # bitwidth (32 or 64) of that shared object, and providing the 10844 # list of exported symbols of that shared object, eventually 10845 # decorated with the 'weak' keyword 10846 # *) the shared object with the F_LOADONLY flag set, to really avoid 10847 # it being seen by the linker. 10848 # At run time we better use the real file rather than another symlink, 10849 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10850 10851 case $with_aix_soname,$aix_use_runtimelinking in 10852 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10853 # soname into executable. Probably we can add versioning support to 10854 # collect2, so additional links can be useful in future. 10855 aix,yes) # traditional libtool 10856 dynamic_linker='AIX unversionable lib.so' 10857 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10858 # instead of lib<name>.a to let people know that these are not 10859 # typical AIX shared libraries. 10860 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10861 ;; 10862 aix,no) # traditional AIX only 10863 dynamic_linker='AIX lib.a(lib.so.V)' 10864 # We preserve .a as extension for shared libraries through AIX4.2 10865 # and later when we are not doing run time linking. 10866 library_names_spec='$libname$release.a $libname.a' 10867 soname_spec='$libname$release$shared_ext$major' 10868 ;; 10869 svr4,*) # full svr4 only 10870 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10871 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10872 # We do not specify a path in Import Files, so LIBPATH fires. 10873 shlibpath_overrides_runpath=yes 10874 ;; 10875 *,yes) # both, prefer svr4 10876 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10877 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10878 # unpreferred sharedlib libNAME.a needs extra handling 10879 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"' 10880 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"' 10881 # We do not specify a path in Import Files, so LIBPATH fires. 10882 shlibpath_overrides_runpath=yes 10883 ;; 10884 *,no) # both, prefer aix 10885 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10886 library_names_spec='$libname$release.a $libname.a' 10887 soname_spec='$libname$release$shared_ext$major' 10888 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10889 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)' 10890 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"' 10891 ;; 10892 esac 10893 shlibpath_var=LIBPATH 10894 fi 10895 ;; 10896 10897amigaos*) 10898 case $host_cpu in 10899 powerpc) 10900 # Since July 2007 AmigaOS4 officially supports .so libraries. 10901 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10902 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10903 ;; 10904 m68k) 10905 library_names_spec='$libname.ixlibrary $libname.a' 10906 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10907 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' 10908 ;; 10909 esac 10910 ;; 10911 10912beos*) 10913 library_names_spec='$libname$shared_ext' 10914 dynamic_linker="$host_os ld.so" 10915 shlibpath_var=LIBRARY_PATH 10916 ;; 10917 10918bsdi[45]*) 10919 version_type=linux # correct to gnu/linux during the next big refactor 10920 need_version=no 10921 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10922 soname_spec='$libname$release$shared_ext$major' 10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10924 shlibpath_var=LD_LIBRARY_PATH 10925 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10926 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10927 # the default ld.so.conf also contains /usr/contrib/lib and 10928 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10929 # libtool to hard-code these into programs 10930 ;; 10931 10932cygwin* | mingw* | pw32* | cegcc*) 10933 version_type=windows 10934 shrext_cmds=.dll 10935 need_version=no 10936 need_lib_prefix=no 10937 10938 case $GCC,$cc_basename in 10939 yes,*) 10940 # gcc 10941 library_names_spec='$libname.dll.a' 10942 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10943 postinstall_cmds='base_file=`basename \$file`~ 10944 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10945 dldir=$destdir/`dirname \$dlpath`~ 10946 test -d \$dldir || mkdir -p \$dldir~ 10947 $install_prog $dir/$dlname \$dldir/$dlname~ 10948 chmod a+x \$dldir/$dlname~ 10949 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10950 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10951 fi' 10952 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10953 dlpath=$dir/\$dldll~ 10954 $RM \$dlpath' 10955 shlibpath_overrides_runpath=yes 10956 10957 case $host_os in 10958 cygwin*) 10959 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10960 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10961 10962 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10963 ;; 10964 mingw* | cegcc*) 10965 # MinGW DLLs use traditional 'lib' prefix 10966 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10967 ;; 10968 pw32*) 10969 # pw32 DLLs use 'pw' prefix rather than 'lib' 10970 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10971 ;; 10972 esac 10973 dynamic_linker='Win32 ld.exe' 10974 ;; 10975 10976 *,cl*) 10977 # Native MSVC 10978 libname_spec='$name' 10979 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10980 library_names_spec='$libname.dll.lib' 10981 10982 case $build_os in 10983 mingw*) 10984 sys_lib_search_path_spec= 10985 lt_save_ifs=$IFS 10986 IFS=';' 10987 for lt_path in $LIB 10988 do 10989 IFS=$lt_save_ifs 10990 # Let DOS variable expansion print the short 8.3 style file name. 10991 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10992 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10993 done 10994 IFS=$lt_save_ifs 10995 # Convert to MSYS style. 10996 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10997 ;; 10998 cygwin*) 10999 # Convert to unix form, then to dos form, then back to unix form 11000 # but this time dos style (no spaces!) so that the unix form looks 11001 # like /cygdrive/c/PROGRA~1:/cygdr... 11002 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11003 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11004 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11005 ;; 11006 *) 11007 sys_lib_search_path_spec=$LIB 11008 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11009 # It is most probably a Windows format PATH. 11010 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11011 else 11012 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11013 fi 11014 # FIXME: find the short name or the path components, as spaces are 11015 # common. (e.g. "Program Files" -> "PROGRA~1") 11016 ;; 11017 esac 11018 11019 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11020 postinstall_cmds='base_file=`basename \$file`~ 11021 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11022 dldir=$destdir/`dirname \$dlpath`~ 11023 test -d \$dldir || mkdir -p \$dldir~ 11024 $install_prog $dir/$dlname \$dldir/$dlname' 11025 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11026 dlpath=$dir/\$dldll~ 11027 $RM \$dlpath' 11028 shlibpath_overrides_runpath=yes 11029 dynamic_linker='Win32 link.exe' 11030 ;; 11031 11032 *) 11033 # Assume MSVC wrapper 11034 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11035 dynamic_linker='Win32 ld.exe' 11036 ;; 11037 esac 11038 # FIXME: first we should search . and the directory the executable is in 11039 shlibpath_var=PATH 11040 ;; 11041 11042darwin* | rhapsody*) 11043 dynamic_linker="$host_os dyld" 11044 version_type=darwin 11045 need_lib_prefix=no 11046 need_version=no 11047 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11048 soname_spec='$libname$release$major$shared_ext' 11049 shlibpath_overrides_runpath=yes 11050 shlibpath_var=DYLD_LIBRARY_PATH 11051 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11052 11053 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11054 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11055 ;; 11056 11057dgux*) 11058 version_type=linux # correct to gnu/linux during the next big refactor 11059 need_lib_prefix=no 11060 need_version=no 11061 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11062 soname_spec='$libname$release$shared_ext$major' 11063 shlibpath_var=LD_LIBRARY_PATH 11064 ;; 11065 11066freebsd* | dragonfly*) 11067 # DragonFly does not have aout. When/if they implement a new 11068 # versioning mechanism, adjust this. 11069 if test -x /usr/bin/objformat; then 11070 objformat=`/usr/bin/objformat` 11071 else 11072 case $host_os in 11073 freebsd[23].*) objformat=aout ;; 11074 *) objformat=elf ;; 11075 esac 11076 fi 11077 version_type=freebsd-$objformat 11078 case $version_type in 11079 freebsd-elf*) 11080 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11081 soname_spec='$libname$release$shared_ext$major' 11082 need_version=no 11083 need_lib_prefix=no 11084 ;; 11085 freebsd-*) 11086 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11087 need_version=yes 11088 ;; 11089 esac 11090 shlibpath_var=LD_LIBRARY_PATH 11091 case $host_os in 11092 freebsd2.*) 11093 shlibpath_overrides_runpath=yes 11094 ;; 11095 freebsd3.[01]* | freebsdelf3.[01]*) 11096 shlibpath_overrides_runpath=yes 11097 hardcode_into_libs=yes 11098 ;; 11099 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11100 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11101 shlibpath_overrides_runpath=no 11102 hardcode_into_libs=yes 11103 ;; 11104 *) # from 4.6 on, and DragonFly 11105 shlibpath_overrides_runpath=yes 11106 hardcode_into_libs=yes 11107 ;; 11108 esac 11109 ;; 11110 11111haiku*) 11112 version_type=linux # correct to gnu/linux during the next big refactor 11113 need_lib_prefix=no 11114 need_version=no 11115 dynamic_linker="$host_os runtime_loader" 11116 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11117 soname_spec='$libname$release$shared_ext$major' 11118 shlibpath_var=LIBRARY_PATH 11119 shlibpath_overrides_runpath=no 11120 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11121 hardcode_into_libs=yes 11122 ;; 11123 11124hpux9* | hpux10* | hpux11*) 11125 # Give a soname corresponding to the major version so that dld.sl refuses to 11126 # link against other versions. 11127 version_type=sunos 11128 need_lib_prefix=no 11129 need_version=no 11130 case $host_cpu in 11131 ia64*) 11132 shrext_cmds='.so' 11133 hardcode_into_libs=yes 11134 dynamic_linker="$host_os dld.so" 11135 shlibpath_var=LD_LIBRARY_PATH 11136 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11137 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11138 soname_spec='$libname$release$shared_ext$major' 11139 if test 32 = "$HPUX_IA64_MODE"; then 11140 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11141 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11142 else 11143 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11144 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11145 fi 11146 ;; 11147 hppa*64*) 11148 shrext_cmds='.sl' 11149 hardcode_into_libs=yes 11150 dynamic_linker="$host_os dld.sl" 11151 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11152 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11153 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11154 soname_spec='$libname$release$shared_ext$major' 11155 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11156 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11157 ;; 11158 *) 11159 shrext_cmds='.sl' 11160 dynamic_linker="$host_os dld.sl" 11161 shlibpath_var=SHLIB_PATH 11162 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11163 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11164 soname_spec='$libname$release$shared_ext$major' 11165 ;; 11166 esac 11167 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11168 postinstall_cmds='chmod 555 $lib' 11169 # or fails outright, so override atomically: 11170 install_override_mode=555 11171 ;; 11172 11173interix[3-9]*) 11174 version_type=linux # correct to gnu/linux during the next big refactor 11175 need_lib_prefix=no 11176 need_version=no 11177 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11178 soname_spec='$libname$release$shared_ext$major' 11179 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11180 shlibpath_var=LD_LIBRARY_PATH 11181 shlibpath_overrides_runpath=no 11182 hardcode_into_libs=yes 11183 ;; 11184 11185irix5* | irix6* | nonstopux*) 11186 case $host_os in 11187 nonstopux*) version_type=nonstopux ;; 11188 *) 11189 if test yes = "$lt_cv_prog_gnu_ld"; then 11190 version_type=linux # correct to gnu/linux during the next big refactor 11191 else 11192 version_type=irix 11193 fi ;; 11194 esac 11195 need_lib_prefix=no 11196 need_version=no 11197 soname_spec='$libname$release$shared_ext$major' 11198 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11199 case $host_os in 11200 irix5* | nonstopux*) 11201 libsuff= shlibsuff= 11202 ;; 11203 *) 11204 case $LD in # libtool.m4 will add one of these switches to LD 11205 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11206 libsuff= shlibsuff= libmagic=32-bit;; 11207 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11208 libsuff=32 shlibsuff=N32 libmagic=N32;; 11209 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11210 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11211 *) libsuff= shlibsuff= libmagic=never-match;; 11212 esac 11213 ;; 11214 esac 11215 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11216 shlibpath_overrides_runpath=no 11217 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11218 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11219 hardcode_into_libs=yes 11220 ;; 11221 11222# No shared lib support for Linux oldld, aout, or coff. 11223linux*oldld* | linux*aout* | linux*coff*) 11224 dynamic_linker=no 11225 ;; 11226 11227linux*android*) 11228 version_type=none # Android doesn't support versioned libraries. 11229 need_lib_prefix=no 11230 need_version=no 11231 library_names_spec='$libname$release$shared_ext' 11232 soname_spec='$libname$release$shared_ext' 11233 finish_cmds= 11234 shlibpath_var=LD_LIBRARY_PATH 11235 shlibpath_overrides_runpath=yes 11236 11237 # This implies no fast_install, which is unacceptable. 11238 # Some rework will be needed to allow for fast_install 11239 # before this can be enabled. 11240 hardcode_into_libs=yes 11241 11242 dynamic_linker='Android linker' 11243 # Don't embed -rpath directories since the linker doesn't support them. 11244 hardcode_libdir_flag_spec='-L$libdir' 11245 ;; 11246 11247# This must be glibc/ELF. 11248linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11249 version_type=linux # correct to gnu/linux during the next big refactor 11250 need_lib_prefix=no 11251 need_version=no 11252 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11253 soname_spec='$libname$release$shared_ext$major' 11254 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11255 shlibpath_var=LD_LIBRARY_PATH 11256 shlibpath_overrides_runpath=no 11257 11258 # Some binutils ld are patched to set DT_RUNPATH 11259 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11260 $as_echo_n "(cached) " >&6 11261else 11262 lt_cv_shlibpath_overrides_runpath=no 11263 save_LDFLAGS=$LDFLAGS 11264 save_libdir=$libdir 11265 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11266 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11268/* end confdefs.h. */ 11269 11270int 11271main () 11272{ 11273 11274 ; 11275 return 0; 11276} 11277_ACEOF 11278if ac_fn_c_try_link "$LINENO"; then : 11279 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11280 lt_cv_shlibpath_overrides_runpath=yes 11281fi 11282fi 11283rm -f core conftest.err conftest.$ac_objext \ 11284 conftest$ac_exeext conftest.$ac_ext 11285 LDFLAGS=$save_LDFLAGS 11286 libdir=$save_libdir 11287 11288fi 11289 11290 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11291 11292 # This implies no fast_install, which is unacceptable. 11293 # Some rework will be needed to allow for fast_install 11294 # before this can be enabled. 11295 hardcode_into_libs=yes 11296 11297 # Add ABI-specific directories to the system library path. 11298 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11299 11300 # Ideally, we could use ldconfig to report *all* directores which are 11301 # searched for libraries, however this is still not possible. Aside from not 11302 # being certain /sbin/ldconfig is available, command 11303 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11304 # even though it is searched at run-time. Try to do the best guess by 11305 # appending ld.so.conf contents (and includes) to the search path. 11306 if test -f /etc/ld.so.conf; then 11307 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' ' '` 11308 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11309 fi 11310 11311 # We used to test for /lib/ld.so.1 and disable shared libraries on 11312 # powerpc, because MkLinux only supported shared libraries with the 11313 # GNU dynamic linker. Since this was broken with cross compilers, 11314 # most powerpc-linux boxes support dynamic linking these days and 11315 # people can always --disable-shared, the test was removed, and we 11316 # assume the GNU/Linux dynamic linker is in use. 11317 dynamic_linker='GNU/Linux ld.so' 11318 ;; 11319 11320netbsd*) 11321 version_type=sunos 11322 need_lib_prefix=no 11323 need_version=no 11324 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11325 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11326 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11327 dynamic_linker='NetBSD (a.out) ld.so' 11328 else 11329 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11330 soname_spec='$libname$release$shared_ext$major' 11331 dynamic_linker='NetBSD ld.elf_so' 11332 fi 11333 shlibpath_var=LD_LIBRARY_PATH 11334 shlibpath_overrides_runpath=yes 11335 hardcode_into_libs=yes 11336 ;; 11337 11338newsos6) 11339 version_type=linux # correct to gnu/linux during the next big refactor 11340 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11341 shlibpath_var=LD_LIBRARY_PATH 11342 shlibpath_overrides_runpath=yes 11343 ;; 11344 11345*nto* | *qnx*) 11346 version_type=qnx 11347 need_lib_prefix=no 11348 need_version=no 11349 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11350 soname_spec='$libname$release$shared_ext$major' 11351 shlibpath_var=LD_LIBRARY_PATH 11352 shlibpath_overrides_runpath=no 11353 hardcode_into_libs=yes 11354 dynamic_linker='ldqnx.so' 11355 ;; 11356 11357openbsd* | bitrig*) 11358 version_type=sunos 11359 sys_lib_dlsearch_path_spec=/usr/lib 11360 need_lib_prefix=no 11361 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11362 need_version=no 11363 else 11364 need_version=yes 11365 fi 11366 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11367 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11368 shlibpath_var=LD_LIBRARY_PATH 11369 shlibpath_overrides_runpath=yes 11370 ;; 11371 11372os2*) 11373 libname_spec='$name' 11374 version_type=windows 11375 shrext_cmds=.dll 11376 need_version=no 11377 need_lib_prefix=no 11378 # OS/2 can only load a DLL with a base name of 8 characters or less. 11379 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11380 v=$($ECHO $release$versuffix | tr -d .-); 11381 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11382 $ECHO $n$v`$shared_ext' 11383 library_names_spec='${libname}_dll.$libext' 11384 dynamic_linker='OS/2 ld.exe' 11385 shlibpath_var=BEGINLIBPATH 11386 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11387 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11388 postinstall_cmds='base_file=`basename \$file`~ 11389 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11390 dldir=$destdir/`dirname \$dlpath`~ 11391 test -d \$dldir || mkdir -p \$dldir~ 11392 $install_prog $dir/$dlname \$dldir/$dlname~ 11393 chmod a+x \$dldir/$dlname~ 11394 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11395 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11396 fi' 11397 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11398 dlpath=$dir/\$dldll~ 11399 $RM \$dlpath' 11400 ;; 11401 11402osf3* | osf4* | osf5*) 11403 version_type=osf 11404 need_lib_prefix=no 11405 need_version=no 11406 soname_spec='$libname$release$shared_ext$major' 11407 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11408 shlibpath_var=LD_LIBRARY_PATH 11409 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11411 ;; 11412 11413rdos*) 11414 dynamic_linker=no 11415 ;; 11416 11417solaris*) 11418 version_type=linux # correct to gnu/linux during the next big refactor 11419 need_lib_prefix=no 11420 need_version=no 11421 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11422 soname_spec='$libname$release$shared_ext$major' 11423 shlibpath_var=LD_LIBRARY_PATH 11424 shlibpath_overrides_runpath=yes 11425 hardcode_into_libs=yes 11426 # ldd complains unless libraries are executable 11427 postinstall_cmds='chmod +x $lib' 11428 ;; 11429 11430sunos4*) 11431 version_type=sunos 11432 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11433 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11434 shlibpath_var=LD_LIBRARY_PATH 11435 shlibpath_overrides_runpath=yes 11436 if test yes = "$with_gnu_ld"; then 11437 need_lib_prefix=no 11438 fi 11439 need_version=yes 11440 ;; 11441 11442sysv4 | sysv4.3*) 11443 version_type=linux # correct to gnu/linux during the next big refactor 11444 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11445 soname_spec='$libname$release$shared_ext$major' 11446 shlibpath_var=LD_LIBRARY_PATH 11447 case $host_vendor in 11448 sni) 11449 shlibpath_overrides_runpath=no 11450 need_lib_prefix=no 11451 runpath_var=LD_RUN_PATH 11452 ;; 11453 siemens) 11454 need_lib_prefix=no 11455 ;; 11456 motorola) 11457 need_lib_prefix=no 11458 need_version=no 11459 shlibpath_overrides_runpath=no 11460 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11461 ;; 11462 esac 11463 ;; 11464 11465sysv4*MP*) 11466 if test -d /usr/nec; then 11467 version_type=linux # correct to gnu/linux during the next big refactor 11468 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11469 soname_spec='$libname$shared_ext.$major' 11470 shlibpath_var=LD_LIBRARY_PATH 11471 fi 11472 ;; 11473 11474sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11475 version_type=sco 11476 need_lib_prefix=no 11477 need_version=no 11478 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11479 soname_spec='$libname$release$shared_ext$major' 11480 shlibpath_var=LD_LIBRARY_PATH 11481 shlibpath_overrides_runpath=yes 11482 hardcode_into_libs=yes 11483 if test yes = "$with_gnu_ld"; then 11484 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11485 else 11486 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11487 case $host_os in 11488 sco3.2v5*) 11489 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11490 ;; 11491 esac 11492 fi 11493 sys_lib_dlsearch_path_spec='/usr/lib' 11494 ;; 11495 11496tpf*) 11497 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11498 version_type=linux # correct to gnu/linux during the next big refactor 11499 need_lib_prefix=no 11500 need_version=no 11501 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11502 shlibpath_var=LD_LIBRARY_PATH 11503 shlibpath_overrides_runpath=no 11504 hardcode_into_libs=yes 11505 ;; 11506 11507uts4*) 11508 version_type=linux # correct to gnu/linux during the next big refactor 11509 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11510 soname_spec='$libname$release$shared_ext$major' 11511 shlibpath_var=LD_LIBRARY_PATH 11512 ;; 11513 11514*) 11515 dynamic_linker=no 11516 ;; 11517esac 11518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11519$as_echo "$dynamic_linker" >&6; } 11520test no = "$dynamic_linker" && can_build_shared=no 11521 11522variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11523if test yes = "$GCC"; then 11524 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11525fi 11526 11527if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11528 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11529fi 11530 11531if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11532 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11533fi 11534 11535# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11536configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11537 11538# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11539func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11540 11541# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11542configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11641$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11642hardcode_action= 11643if test -n "$hardcode_libdir_flag_spec" || 11644 test -n "$runpath_var" || 11645 test yes = "$hardcode_automatic"; then 11646 11647 # We can hardcode non-existent directories. 11648 if test no != "$hardcode_direct" && 11649 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11650 # have to relink, otherwise we might link with an installed library 11651 # when we should be linking with a yet-to-be-installed one 11652 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11653 test no != "$hardcode_minus_L"; then 11654 # Linking always hardcodes the temporary library directory. 11655 hardcode_action=relink 11656 else 11657 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11658 hardcode_action=immediate 11659 fi 11660else 11661 # We cannot hardcode anything, or else we can only hardcode existing 11662 # directories. 11663 hardcode_action=unsupported 11664fi 11665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11666$as_echo "$hardcode_action" >&6; } 11667 11668if test relink = "$hardcode_action" || 11669 test yes = "$inherit_rpath"; then 11670 # Fast installation is not supported 11671 enable_fast_install=no 11672elif test yes = "$shlibpath_overrides_runpath" || 11673 test no = "$enable_shared"; then 11674 # Fast installation is not necessary 11675 enable_fast_install=needless 11676fi 11677 11678 11679 11680 11681 11682 11683 if test yes != "$enable_dlopen"; then 11684 enable_dlopen=unknown 11685 enable_dlopen_self=unknown 11686 enable_dlopen_self_static=unknown 11687else 11688 lt_cv_dlopen=no 11689 lt_cv_dlopen_libs= 11690 11691 case $host_os in 11692 beos*) 11693 lt_cv_dlopen=load_add_on 11694 lt_cv_dlopen_libs= 11695 lt_cv_dlopen_self=yes 11696 ;; 11697 11698 mingw* | pw32* | cegcc*) 11699 lt_cv_dlopen=LoadLibrary 11700 lt_cv_dlopen_libs= 11701 ;; 11702 11703 cygwin*) 11704 lt_cv_dlopen=dlopen 11705 lt_cv_dlopen_libs= 11706 ;; 11707 11708 darwin*) 11709 # if libdl is installed we need to link against it 11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11711$as_echo_n "checking for dlopen in -ldl... " >&6; } 11712if ${ac_cv_lib_dl_dlopen+:} false; then : 11713 $as_echo_n "(cached) " >&6 11714else 11715 ac_check_lib_save_LIBS=$LIBS 11716LIBS="-ldl $LIBS" 11717cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11718/* end confdefs.h. */ 11719 11720/* Override any GCC internal prototype to avoid an error. 11721 Use char because int might match the return type of a GCC 11722 builtin and then its argument prototype would still apply. */ 11723#ifdef __cplusplus 11724extern "C" 11725#endif 11726char dlopen (); 11727int 11728main () 11729{ 11730return dlopen (); 11731 ; 11732 return 0; 11733} 11734_ACEOF 11735if ac_fn_c_try_link "$LINENO"; then : 11736 ac_cv_lib_dl_dlopen=yes 11737else 11738 ac_cv_lib_dl_dlopen=no 11739fi 11740rm -f core conftest.err conftest.$ac_objext \ 11741 conftest$ac_exeext conftest.$ac_ext 11742LIBS=$ac_check_lib_save_LIBS 11743fi 11744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11745$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11746if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11747 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11748else 11749 11750 lt_cv_dlopen=dyld 11751 lt_cv_dlopen_libs= 11752 lt_cv_dlopen_self=yes 11753 11754fi 11755 11756 ;; 11757 11758 tpf*) 11759 # Don't try to run any link tests for TPF. We know it's impossible 11760 # because TPF is a cross-compiler, and we know how we open DSOs. 11761 lt_cv_dlopen=dlopen 11762 lt_cv_dlopen_libs= 11763 lt_cv_dlopen_self=no 11764 ;; 11765 11766 *) 11767 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11768if test "x$ac_cv_func_shl_load" = xyes; then : 11769 lt_cv_dlopen=shl_load 11770else 11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11772$as_echo_n "checking for shl_load in -ldld... " >&6; } 11773if ${ac_cv_lib_dld_shl_load+:} false; then : 11774 $as_echo_n "(cached) " >&6 11775else 11776 ac_check_lib_save_LIBS=$LIBS 11777LIBS="-ldld $LIBS" 11778cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11779/* end confdefs.h. */ 11780 11781/* Override any GCC internal prototype to avoid an error. 11782 Use char because int might match the return type of a GCC 11783 builtin and then its argument prototype would still apply. */ 11784#ifdef __cplusplus 11785extern "C" 11786#endif 11787char shl_load (); 11788int 11789main () 11790{ 11791return shl_load (); 11792 ; 11793 return 0; 11794} 11795_ACEOF 11796if ac_fn_c_try_link "$LINENO"; then : 11797 ac_cv_lib_dld_shl_load=yes 11798else 11799 ac_cv_lib_dld_shl_load=no 11800fi 11801rm -f core conftest.err conftest.$ac_objext \ 11802 conftest$ac_exeext conftest.$ac_ext 11803LIBS=$ac_check_lib_save_LIBS 11804fi 11805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11806$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11807if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11808 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11809else 11810 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11811if test "x$ac_cv_func_dlopen" = xyes; then : 11812 lt_cv_dlopen=dlopen 11813else 11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11815$as_echo_n "checking for dlopen in -ldl... " >&6; } 11816if ${ac_cv_lib_dl_dlopen+:} false; then : 11817 $as_echo_n "(cached) " >&6 11818else 11819 ac_check_lib_save_LIBS=$LIBS 11820LIBS="-ldl $LIBS" 11821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11822/* end confdefs.h. */ 11823 11824/* Override any GCC internal prototype to avoid an error. 11825 Use char because int might match the return type of a GCC 11826 builtin and then its argument prototype would still apply. */ 11827#ifdef __cplusplus 11828extern "C" 11829#endif 11830char dlopen (); 11831int 11832main () 11833{ 11834return dlopen (); 11835 ; 11836 return 0; 11837} 11838_ACEOF 11839if ac_fn_c_try_link "$LINENO"; then : 11840 ac_cv_lib_dl_dlopen=yes 11841else 11842 ac_cv_lib_dl_dlopen=no 11843fi 11844rm -f core conftest.err conftest.$ac_objext \ 11845 conftest$ac_exeext conftest.$ac_ext 11846LIBS=$ac_check_lib_save_LIBS 11847fi 11848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11849$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11850if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11851 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11852else 11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11854$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11855if ${ac_cv_lib_svld_dlopen+:} false; then : 11856 $as_echo_n "(cached) " >&6 11857else 11858 ac_check_lib_save_LIBS=$LIBS 11859LIBS="-lsvld $LIBS" 11860cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11861/* end confdefs.h. */ 11862 11863/* Override any GCC internal prototype to avoid an error. 11864 Use char because int might match the return type of a GCC 11865 builtin and then its argument prototype would still apply. */ 11866#ifdef __cplusplus 11867extern "C" 11868#endif 11869char dlopen (); 11870int 11871main () 11872{ 11873return dlopen (); 11874 ; 11875 return 0; 11876} 11877_ACEOF 11878if ac_fn_c_try_link "$LINENO"; then : 11879 ac_cv_lib_svld_dlopen=yes 11880else 11881 ac_cv_lib_svld_dlopen=no 11882fi 11883rm -f core conftest.err conftest.$ac_objext \ 11884 conftest$ac_exeext conftest.$ac_ext 11885LIBS=$ac_check_lib_save_LIBS 11886fi 11887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11888$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11889if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11890 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11891else 11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11893$as_echo_n "checking for dld_link in -ldld... " >&6; } 11894if ${ac_cv_lib_dld_dld_link+:} false; then : 11895 $as_echo_n "(cached) " >&6 11896else 11897 ac_check_lib_save_LIBS=$LIBS 11898LIBS="-ldld $LIBS" 11899cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11900/* end confdefs.h. */ 11901 11902/* Override any GCC internal prototype to avoid an error. 11903 Use char because int might match the return type of a GCC 11904 builtin and then its argument prototype would still apply. */ 11905#ifdef __cplusplus 11906extern "C" 11907#endif 11908char dld_link (); 11909int 11910main () 11911{ 11912return dld_link (); 11913 ; 11914 return 0; 11915} 11916_ACEOF 11917if ac_fn_c_try_link "$LINENO"; then : 11918 ac_cv_lib_dld_dld_link=yes 11919else 11920 ac_cv_lib_dld_dld_link=no 11921fi 11922rm -f core conftest.err conftest.$ac_objext \ 11923 conftest$ac_exeext conftest.$ac_ext 11924LIBS=$ac_check_lib_save_LIBS 11925fi 11926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11927$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11928if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11929 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11930fi 11931 11932 11933fi 11934 11935 11936fi 11937 11938 11939fi 11940 11941 11942fi 11943 11944 11945fi 11946 11947 ;; 11948 esac 11949 11950 if test no = "$lt_cv_dlopen"; then 11951 enable_dlopen=no 11952 else 11953 enable_dlopen=yes 11954 fi 11955 11956 case $lt_cv_dlopen in 11957 dlopen) 11958 save_CPPFLAGS=$CPPFLAGS 11959 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11960 11961 save_LDFLAGS=$LDFLAGS 11962 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11963 11964 save_LIBS=$LIBS 11965 LIBS="$lt_cv_dlopen_libs $LIBS" 11966 11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11968$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11969if ${lt_cv_dlopen_self+:} false; then : 11970 $as_echo_n "(cached) " >&6 11971else 11972 if test yes = "$cross_compiling"; then : 11973 lt_cv_dlopen_self=cross 11974else 11975 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11976 lt_status=$lt_dlunknown 11977 cat > conftest.$ac_ext <<_LT_EOF 11978#line $LINENO "configure" 11979#include "confdefs.h" 11980 11981#if HAVE_DLFCN_H 11982#include <dlfcn.h> 11983#endif 11984 11985#include <stdio.h> 11986 11987#ifdef RTLD_GLOBAL 11988# define LT_DLGLOBAL RTLD_GLOBAL 11989#else 11990# ifdef DL_GLOBAL 11991# define LT_DLGLOBAL DL_GLOBAL 11992# else 11993# define LT_DLGLOBAL 0 11994# endif 11995#endif 11996 11997/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11998 find out it does not work in some platform. */ 11999#ifndef LT_DLLAZY_OR_NOW 12000# ifdef RTLD_LAZY 12001# define LT_DLLAZY_OR_NOW RTLD_LAZY 12002# else 12003# ifdef DL_LAZY 12004# define LT_DLLAZY_OR_NOW DL_LAZY 12005# else 12006# ifdef RTLD_NOW 12007# define LT_DLLAZY_OR_NOW RTLD_NOW 12008# else 12009# ifdef DL_NOW 12010# define LT_DLLAZY_OR_NOW DL_NOW 12011# else 12012# define LT_DLLAZY_OR_NOW 0 12013# endif 12014# endif 12015# endif 12016# endif 12017#endif 12018 12019/* When -fvisibility=hidden is used, assume the code has been annotated 12020 correspondingly for the symbols needed. */ 12021#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12022int fnord () __attribute__((visibility("default"))); 12023#endif 12024 12025int fnord () { return 42; } 12026int main () 12027{ 12028 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12029 int status = $lt_dlunknown; 12030 12031 if (self) 12032 { 12033 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12034 else 12035 { 12036 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12037 else puts (dlerror ()); 12038 } 12039 /* dlclose (self); */ 12040 } 12041 else 12042 puts (dlerror ()); 12043 12044 return status; 12045} 12046_LT_EOF 12047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12048 (eval $ac_link) 2>&5 12049 ac_status=$? 12050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12051 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12052 (./conftest; exit; ) >&5 2>/dev/null 12053 lt_status=$? 12054 case x$lt_status in 12055 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12056 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12057 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12058 esac 12059 else : 12060 # compilation failed 12061 lt_cv_dlopen_self=no 12062 fi 12063fi 12064rm -fr conftest* 12065 12066 12067fi 12068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12069$as_echo "$lt_cv_dlopen_self" >&6; } 12070 12071 if test yes = "$lt_cv_dlopen_self"; then 12072 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12074$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12075if ${lt_cv_dlopen_self_static+:} false; then : 12076 $as_echo_n "(cached) " >&6 12077else 12078 if test yes = "$cross_compiling"; then : 12079 lt_cv_dlopen_self_static=cross 12080else 12081 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12082 lt_status=$lt_dlunknown 12083 cat > conftest.$ac_ext <<_LT_EOF 12084#line $LINENO "configure" 12085#include "confdefs.h" 12086 12087#if HAVE_DLFCN_H 12088#include <dlfcn.h> 12089#endif 12090 12091#include <stdio.h> 12092 12093#ifdef RTLD_GLOBAL 12094# define LT_DLGLOBAL RTLD_GLOBAL 12095#else 12096# ifdef DL_GLOBAL 12097# define LT_DLGLOBAL DL_GLOBAL 12098# else 12099# define LT_DLGLOBAL 0 12100# endif 12101#endif 12102 12103/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12104 find out it does not work in some platform. */ 12105#ifndef LT_DLLAZY_OR_NOW 12106# ifdef RTLD_LAZY 12107# define LT_DLLAZY_OR_NOW RTLD_LAZY 12108# else 12109# ifdef DL_LAZY 12110# define LT_DLLAZY_OR_NOW DL_LAZY 12111# else 12112# ifdef RTLD_NOW 12113# define LT_DLLAZY_OR_NOW RTLD_NOW 12114# else 12115# ifdef DL_NOW 12116# define LT_DLLAZY_OR_NOW DL_NOW 12117# else 12118# define LT_DLLAZY_OR_NOW 0 12119# endif 12120# endif 12121# endif 12122# endif 12123#endif 12124 12125/* When -fvisibility=hidden is used, assume the code has been annotated 12126 correspondingly for the symbols needed. */ 12127#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12128int fnord () __attribute__((visibility("default"))); 12129#endif 12130 12131int fnord () { return 42; } 12132int main () 12133{ 12134 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12135 int status = $lt_dlunknown; 12136 12137 if (self) 12138 { 12139 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12140 else 12141 { 12142 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12143 else puts (dlerror ()); 12144 } 12145 /* dlclose (self); */ 12146 } 12147 else 12148 puts (dlerror ()); 12149 12150 return status; 12151} 12152_LT_EOF 12153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12154 (eval $ac_link) 2>&5 12155 ac_status=$? 12156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12157 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12158 (./conftest; exit; ) >&5 2>/dev/null 12159 lt_status=$? 12160 case x$lt_status in 12161 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12162 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12163 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12164 esac 12165 else : 12166 # compilation failed 12167 lt_cv_dlopen_self_static=no 12168 fi 12169fi 12170rm -fr conftest* 12171 12172 12173fi 12174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12175$as_echo "$lt_cv_dlopen_self_static" >&6; } 12176 fi 12177 12178 CPPFLAGS=$save_CPPFLAGS 12179 LDFLAGS=$save_LDFLAGS 12180 LIBS=$save_LIBS 12181 ;; 12182 esac 12183 12184 case $lt_cv_dlopen_self in 12185 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12186 *) enable_dlopen_self=unknown ;; 12187 esac 12188 12189 case $lt_cv_dlopen_self_static in 12190 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12191 *) enable_dlopen_self_static=unknown ;; 12192 esac 12193fi 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211striplib= 12212old_striplib= 12213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12214$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12215if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12216 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12217 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12219$as_echo "yes" >&6; } 12220else 12221# FIXME - insert some real tests, host_os isn't really good enough 12222 case $host_os in 12223 darwin*) 12224 if test -n "$STRIP"; then 12225 striplib="$STRIP -x" 12226 old_striplib="$STRIP -S" 12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12228$as_echo "yes" >&6; } 12229 else 12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12231$as_echo "no" >&6; } 12232 fi 12233 ;; 12234 *) 12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12236$as_echo "no" >&6; } 12237 ;; 12238 esac 12239fi 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 # Report what library types will actually be built 12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12254$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12256$as_echo "$can_build_shared" >&6; } 12257 12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12259$as_echo_n "checking whether to build shared libraries... " >&6; } 12260 test no = "$can_build_shared" && enable_shared=no 12261 12262 # On AIX, shared libraries and static libraries use the same namespace, and 12263 # are all built from PIC. 12264 case $host_os in 12265 aix3*) 12266 test yes = "$enable_shared" && enable_static=no 12267 if test -n "$RANLIB"; then 12268 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12269 postinstall_cmds='$RANLIB $lib' 12270 fi 12271 ;; 12272 12273 aix[4-9]*) 12274 if test ia64 != "$host_cpu"; then 12275 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12276 yes,aix,yes) ;; # shared object as lib.so file only 12277 yes,svr4,*) ;; # shared object as lib.so archive member only 12278 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12279 esac 12280 fi 12281 ;; 12282 esac 12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12284$as_echo "$enable_shared" >&6; } 12285 12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12287$as_echo_n "checking whether to build static libraries... " >&6; } 12288 # Make sure either enable_shared or enable_static is yes. 12289 test yes = "$enable_shared" || enable_static=yes 12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12291$as_echo "$enable_static" >&6; } 12292 12293 12294 12295 12296fi 12297ac_ext=c 12298ac_cpp='$CPP $CPPFLAGS' 12299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12301ac_compiler_gnu=$ac_cv_c_compiler_gnu 12302 12303CC=$lt_save_CC 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 ac_config_commands="$ac_config_commands libtool" 12320 12321 12322 12323 12324# Only expand once: 12325 12326 12327 12328CFLAGS_save="${CFLAGS}" 12329 12330CFLAGS_dist="-Wall -std=gnu99 -D_GNU_SOURCE" 12331CFLAGS_dist="${CFLAGS_dist} -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" 12332 12333case "${target_os}" in 12334 darwin*) 12335 SYS=darwin 12336 CFLAGS_dist="${CFLAGS_dist} -no-cpp-precomp" 12337 ;; 12338 *mingw32*) 12339 SYS=mingw32 12340 CFLAGS_dist="${CFLAGS_dist} -Wno-cast-qual" 12341 12342$as_echo "#define WIN32 1" >>confdefs.h 12343 12344 ;; 12345 *) 12346 SYS=linux 12347 CFLAGS_dist="${CFLAGS_dist} -Wcast-qual" 12348 ;; 12349esac 12350 12351# Check whether --enable-debug was given. 12352if test "${enable_debug+set}" = set; then : 12353 enableval=$enable_debug; case "${enableval}" in 12354 yes) debug=true ;; 12355 no) debug=false ;; 12356 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;; 12357esac 12358else 12359 debug=false 12360fi 12361 12362if test "$debug" = "true" 12363then 12364 CFLAGS_dist="${CFLAGS_dist} -ggdb3" 12365fi 12366 12367# Check whether --enable-gcc-sanitize was given. 12368if test "${enable_gcc_sanitize+set}" = set; then : 12369 enableval=$enable_gcc_sanitize; case "${enableval}" in 12370 yes) sanitize=true ;; 12371 no) sanitize=false;; 12372 *) as_fn_error $? "bad value ${enableval} for --enable-gcc-sanitize" "$LINENO" 5 ;; 12373esac 12374else 12375 sanitize=false 12376fi 12377 12378if test "$sanitize" = "true" 12379then 12380 CFLAGS_dist="${CFLAG_dist} -fsanitize=address -fno-omit-frame-pointer" 12381fi 12382 12383# Check whether --enable-release was given. 12384if test "${enable_release+set}" = set; then : 12385 enableval=$enable_release; case "${enableval}" in 12386 yes) release=true ;; 12387 no) release=false ;; 12388 *) as_fn_error $? "bad value ${enableval} for --enable-release" "$LINENO" 5 ;; 12389esac 12390else 12391 release=false 12392fi 12393 12394if test "$release" != "true"; then 12395 CFLAGS_dist="${CFLAGS_dist} -DDVBPSI_DIST" 12396fi 12397 12398CFLAGS="${CFLAGS_save} ${CFLAGS_dist}" 12399 12400for ac_header in stdbool.h stdint.h inttypes.h getopt.h strings.h sys/time.h 12401do : 12402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12403ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12404if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12405 cat >>confdefs.h <<_ACEOF 12406#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12407_ACEOF 12408 12409fi 12410 12411done 12412 12413 12414for ac_header in sys/socket.h 12415do : 12416 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 12417if test "x$ac_cv_header_sys_socket_h" = xyes; then : 12418 cat >>confdefs.h <<_ACEOF 12419#define HAVE_SYS_SOCKET_H 1 12420_ACEOF 12421 ac_have_sys_socket_h=yes 12422fi 12423 12424done 12425 12426 if test "${ac_have_sys_socket_h}" = "yes"; then 12427 HAVE_SYS_SOCKET_H_TRUE= 12428 HAVE_SYS_SOCKET_H_FALSE='#' 12429else 12430 HAVE_SYS_SOCKET_H_TRUE='#' 12431 HAVE_SYS_SOCKET_H_FALSE= 12432fi 12433 12434 12435for ac_header in net/if.h 12436do : 12437 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" " 12438 #include <sys/types.h> 12439 #include <sys/socket.h> 12440 12441" 12442if test "x$ac_cv_header_net_if_h" = xyes; then : 12443 cat >>confdefs.h <<_ACEOF 12444#define HAVE_NET_IF_H 1 12445_ACEOF 12446 12447fi 12448 12449done 12450 12451 12452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for variadic cpp macros" >&5 12453$as_echo_n "checking for variadic cpp macros... " >&6; } 12454if ${ac_cv_cpp_variadic_macros+:} false; then : 12455 $as_echo_n "(cached) " >&6 12456else 12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12458/* end confdefs.h. */ 12459#include <stdio.h> 12460 #define a(b,c...) printf(b,##c) 12461int 12462main () 12463{ 12464a("foo");a("%s","bar");a("%s%s","baz","quux"); 12465 ; 12466 return 0; 12467} 12468_ACEOF 12469if ac_fn_c_try_compile "$LINENO"; then : 12470 ac_cv_cpp_variadic_macros=yes 12471else 12472 ac_cv_cpp_variadic_macros=no 12473fi 12474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12475fi 12476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_variadic_macros" >&5 12477$as_echo "$ac_cv_cpp_variadic_macros" >&6; } 12478if test "${ac_cv_cpp_variadic_macros}" != "no"; then 12479 12480$as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h 12481 12482fi 12483 12484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asprintf()" >&5 12485$as_echo_n "checking for asprintf()... " >&6; } 12486if ${ac_cv_asprintf+:} false; then : 12487 $as_echo_n "(cached) " >&6 12488else 12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12490/* end confdefs.h. */ 12491 12492 12493 #include <stdio.h> 12494 #include <stdlib.h> 12495 int main(void) { 12496 char *text = NULL; 12497 int ret = asprintf(&text, "test"); 12498 if (ret >= 0) free(text); 12499 return 0; 12500 } 12501 12502_ACEOF 12503if ac_fn_c_try_compile "$LINENO"; then : 12504 ac_cv_asprintf=yes 12505else 12506 ac_cv_asprintf=no 12507fi 12508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12509fi 12510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asprintf" >&5 12511$as_echo "$ac_cv_asprintf" >&6; } 12512if test "${ac_cv_asprintf}" != "no"; then 12513 12514$as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h 12515 12516fi 12517 12518ac_config_files="$ac_config_files Makefile src/Makefile examples/Makefile examples/dvbinfo/Makefile misc/Makefile doc/Makefile wince/Makefile libdvbpsi.pc libdvbpsi.spec" 12519 12520cat >confcache <<\_ACEOF 12521# This file is a shell script that caches the results of configure 12522# tests run on this system so they can be shared between configure 12523# scripts and configure runs, see configure's option --config-cache. 12524# It is not useful on other systems. If it contains results you don't 12525# want to keep, you may remove or edit it. 12526# 12527# config.status only pays attention to the cache file if you give it 12528# the --recheck option to rerun configure. 12529# 12530# `ac_cv_env_foo' variables (set or unset) will be overridden when 12531# loading this file, other *unset* `ac_cv_foo' will be assigned the 12532# following values. 12533 12534_ACEOF 12535 12536# The following way of writing the cache mishandles newlines in values, 12537# but we know of no workaround that is simple, portable, and efficient. 12538# So, we kill variables containing newlines. 12539# Ultrix sh set writes to stderr and can't be redirected directly, 12540# and sets the high bit in the cache file unless we assign to the vars. 12541( 12542 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12543 eval ac_val=\$$ac_var 12544 case $ac_val in #( 12545 *${as_nl}*) 12546 case $ac_var in #( 12547 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 12548$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12549 esac 12550 case $ac_var in #( 12551 _ | IFS | as_nl) ;; #( 12552 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12553 *) { eval $ac_var=; unset $ac_var;} ;; 12554 esac ;; 12555 esac 12556 done 12557 12558 (set) 2>&1 | 12559 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12560 *${as_nl}ac_space=\ *) 12561 # `set' does not quote correctly, so add quotes: double-quote 12562 # substitution turns \\\\ into \\, and sed turns \\ into \. 12563 sed -n \ 12564 "s/'/'\\\\''/g; 12565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12566 ;; #( 12567 *) 12568 # `set' quotes correctly as required by POSIX, so do not add quotes. 12569 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12570 ;; 12571 esac | 12572 sort 12573) | 12574 sed ' 12575 /^ac_cv_env_/b end 12576 t clear 12577 :clear 12578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12579 t end 12580 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12581 :end' >>confcache 12582if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12583 if test -w "$cache_file"; then 12584 if test "x$cache_file" != "x/dev/null"; then 12585 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12586$as_echo "$as_me: updating cache $cache_file" >&6;} 12587 if test ! -f "$cache_file" || test -h "$cache_file"; then 12588 cat confcache >"$cache_file" 12589 else 12590 case $cache_file in #( 12591 */* | ?:*) 12592 mv -f confcache "$cache_file"$$ && 12593 mv -f "$cache_file"$$ "$cache_file" ;; #( 12594 *) 12595 mv -f confcache "$cache_file" ;; 12596 esac 12597 fi 12598 fi 12599 else 12600 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12601$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12602 fi 12603fi 12604rm -f confcache 12605 12606test "x$prefix" = xNONE && prefix=$ac_default_prefix 12607# Let make expand exec_prefix. 12608test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12609 12610DEFS=-DHAVE_CONFIG_H 12611 12612ac_libobjs= 12613ac_ltlibobjs= 12614U= 12615for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12616 # 1. Remove the extension, and $U if already installed. 12617 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12618 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12619 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12620 # will be set to the directory where LIBOBJS objects are built. 12621 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12622 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12623done 12624LIBOBJS=$ac_libobjs 12625 12626LTLIBOBJS=$ac_ltlibobjs 12627 12628 12629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 12630$as_echo_n "checking that generated files are newer than configure... " >&6; } 12631 if test -n "$am_sleep_pid"; then 12632 # Hide warnings about reused PIDs. 12633 wait $am_sleep_pid 2>/dev/null 12634 fi 12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 12636$as_echo "done" >&6; } 12637 if test -n "$EXEEXT"; then 12638 am__EXEEXT_TRUE= 12639 am__EXEEXT_FALSE='#' 12640else 12641 am__EXEEXT_TRUE='#' 12642 am__EXEEXT_FALSE= 12643fi 12644 12645if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12646 as_fn_error $? "conditional \"AMDEP\" was never defined. 12647Usually this means the macro was only invoked conditionally." "$LINENO" 5 12648fi 12649if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12650 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 12651Usually this means the macro was only invoked conditionally." "$LINENO" 5 12652fi 12653if test -z "${HAVE_SYS_SOCKET_H_TRUE}" && test -z "${HAVE_SYS_SOCKET_H_FALSE}"; then 12654 as_fn_error $? "conditional \"HAVE_SYS_SOCKET_H\" was never defined. 12655Usually this means the macro was only invoked conditionally." "$LINENO" 5 12656fi 12657 12658: "${CONFIG_STATUS=./config.status}" 12659ac_write_fail=0 12660ac_clean_files_save=$ac_clean_files 12661ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12662{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12663$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12664as_write_fail=0 12665cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12666#! $SHELL 12667# Generated by $as_me. 12668# Run this file to recreate the current configuration. 12669# Compiler output produced by configure, useful for debugging 12670# configure, is in config.log if it exists. 12671 12672debug=false 12673ac_cs_recheck=false 12674ac_cs_silent=false 12675 12676SHELL=\${CONFIG_SHELL-$SHELL} 12677export SHELL 12678_ASEOF 12679cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 12680## -------------------- ## 12681## M4sh Initialization. ## 12682## -------------------- ## 12683 12684# Be more Bourne compatible 12685DUALCASE=1; export DUALCASE # for MKS sh 12686if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12687 emulate sh 12688 NULLCMD=: 12689 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12690 # is contrary to our usage. Disable this feature. 12691 alias -g '${1+"$@"}'='"$@"' 12692 setopt NO_GLOB_SUBST 12693else 12694 case `(set -o) 2>/dev/null` in #( 12695 *posix*) : 12696 set -o posix ;; #( 12697 *) : 12698 ;; 12699esac 12700fi 12701 12702 12703as_nl=' 12704' 12705export as_nl 12706# Printing a long string crashes Solaris 7 /usr/bin/printf. 12707as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12708as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12709as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12710# Prefer a ksh shell builtin over an external printf program on Solaris, 12711# but without wasting forks for bash or zsh. 12712if test -z "$BASH_VERSION$ZSH_VERSION" \ 12713 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 12714 as_echo='print -r --' 12715 as_echo_n='print -rn --' 12716elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12717 as_echo='printf %s\n' 12718 as_echo_n='printf %s' 12719else 12720 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12721 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12722 as_echo_n='/usr/ucb/echo -n' 12723 else 12724 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12725 as_echo_n_body='eval 12726 arg=$1; 12727 case $arg in #( 12728 *"$as_nl"*) 12729 expr "X$arg" : "X\\(.*\\)$as_nl"; 12730 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12731 esac; 12732 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12733 ' 12734 export as_echo_n_body 12735 as_echo_n='sh -c $as_echo_n_body as_echo' 12736 fi 12737 export as_echo_body 12738 as_echo='sh -c $as_echo_body as_echo' 12739fi 12740 12741# The user is always right. 12742if test "${PATH_SEPARATOR+set}" != set; then 12743 PATH_SEPARATOR=: 12744 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12745 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12746 PATH_SEPARATOR=';' 12747 } 12748fi 12749 12750 12751# IFS 12752# We need space, tab and new line, in precisely that order. Quoting is 12753# there to prevent editors from complaining about space-tab. 12754# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12755# splitting by setting IFS to empty value.) 12756IFS=" "" $as_nl" 12757 12758# Find who we are. Look in the path if we contain no directory separator. 12759as_myself= 12760case $0 in #(( 12761 *[\\/]* ) as_myself=$0 ;; 12762 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12763for as_dir in $PATH 12764do 12765 IFS=$as_save_IFS 12766 test -z "$as_dir" && as_dir=. 12767 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12768 done 12769IFS=$as_save_IFS 12770 12771 ;; 12772esac 12773# We did not find ourselves, most probably we were run as `sh COMMAND' 12774# in which case we are not to be found in the path. 12775if test "x$as_myself" = x; then 12776 as_myself=$0 12777fi 12778if test ! -f "$as_myself"; then 12779 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12780 exit 1 12781fi 12782 12783# Unset variables that we do not need and which cause bugs (e.g. in 12784# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12785# suppresses any "Segmentation fault" message there. '((' could 12786# trigger a bug in pdksh 5.2.14. 12787for as_var in BASH_ENV ENV MAIL MAILPATH 12788do eval test x\${$as_var+set} = xset \ 12789 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12790done 12791PS1='$ ' 12792PS2='> ' 12793PS4='+ ' 12794 12795# NLS nuisances. 12796LC_ALL=C 12797export LC_ALL 12798LANGUAGE=C 12799export LANGUAGE 12800 12801# CDPATH. 12802(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12803 12804 12805# as_fn_error STATUS ERROR [LINENO LOG_FD] 12806# ---------------------------------------- 12807# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12808# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12809# script with STATUS, using 1 if that was 0. 12810as_fn_error () 12811{ 12812 as_status=$1; test $as_status -eq 0 && as_status=1 12813 if test "$4"; then 12814 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12815 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12816 fi 12817 $as_echo "$as_me: error: $2" >&2 12818 as_fn_exit $as_status 12819} # as_fn_error 12820 12821 12822# as_fn_set_status STATUS 12823# ----------------------- 12824# Set $? to STATUS, without forking. 12825as_fn_set_status () 12826{ 12827 return $1 12828} # as_fn_set_status 12829 12830# as_fn_exit STATUS 12831# ----------------- 12832# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12833as_fn_exit () 12834{ 12835 set +e 12836 as_fn_set_status $1 12837 exit $1 12838} # as_fn_exit 12839 12840# as_fn_unset VAR 12841# --------------- 12842# Portably unset VAR. 12843as_fn_unset () 12844{ 12845 { eval $1=; unset $1;} 12846} 12847as_unset=as_fn_unset 12848# as_fn_append VAR VALUE 12849# ---------------------- 12850# Append the text in VALUE to the end of the definition contained in VAR. Take 12851# advantage of any shell optimizations that allow amortized linear growth over 12852# repeated appends, instead of the typical quadratic growth present in naive 12853# implementations. 12854if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12855 eval 'as_fn_append () 12856 { 12857 eval $1+=\$2 12858 }' 12859else 12860 as_fn_append () 12861 { 12862 eval $1=\$$1\$2 12863 } 12864fi # as_fn_append 12865 12866# as_fn_arith ARG... 12867# ------------------ 12868# Perform arithmetic evaluation on the ARGs, and store the result in the 12869# global $as_val. Take advantage of shells that can avoid forks. The arguments 12870# must be portable across $(()) and expr. 12871if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12872 eval 'as_fn_arith () 12873 { 12874 as_val=$(( $* )) 12875 }' 12876else 12877 as_fn_arith () 12878 { 12879 as_val=`expr "$@" || test $? -eq 1` 12880 } 12881fi # as_fn_arith 12882 12883 12884if expr a : '\(a\)' >/dev/null 2>&1 && 12885 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12886 as_expr=expr 12887else 12888 as_expr=false 12889fi 12890 12891if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12892 as_basename=basename 12893else 12894 as_basename=false 12895fi 12896 12897if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12898 as_dirname=dirname 12899else 12900 as_dirname=false 12901fi 12902 12903as_me=`$as_basename -- "$0" || 12904$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12905 X"$0" : 'X\(//\)$' \| \ 12906 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12907$as_echo X/"$0" | 12908 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12909 s//\1/ 12910 q 12911 } 12912 /^X\/\(\/\/\)$/{ 12913 s//\1/ 12914 q 12915 } 12916 /^X\/\(\/\).*/{ 12917 s//\1/ 12918 q 12919 } 12920 s/.*/./; q'` 12921 12922# Avoid depending upon Character Ranges. 12923as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12924as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12925as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12926as_cr_digits='0123456789' 12927as_cr_alnum=$as_cr_Letters$as_cr_digits 12928 12929ECHO_C= ECHO_N= ECHO_T= 12930case `echo -n x` in #((((( 12931-n*) 12932 case `echo 'xy\c'` in 12933 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12934 xy) ECHO_C='\c';; 12935 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12936 ECHO_T=' ';; 12937 esac;; 12938*) 12939 ECHO_N='-n';; 12940esac 12941 12942rm -f conf$$ conf$$.exe conf$$.file 12943if test -d conf$$.dir; then 12944 rm -f conf$$.dir/conf$$.file 12945else 12946 rm -f conf$$.dir 12947 mkdir conf$$.dir 2>/dev/null 12948fi 12949if (echo >conf$$.file) 2>/dev/null; then 12950 if ln -s conf$$.file conf$$ 2>/dev/null; then 12951 as_ln_s='ln -s' 12952 # ... but there are two gotchas: 12953 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12954 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12955 # In both cases, we have to default to `cp -pR'. 12956 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12957 as_ln_s='cp -pR' 12958 elif ln conf$$.file conf$$ 2>/dev/null; then 12959 as_ln_s=ln 12960 else 12961 as_ln_s='cp -pR' 12962 fi 12963else 12964 as_ln_s='cp -pR' 12965fi 12966rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12967rmdir conf$$.dir 2>/dev/null 12968 12969 12970# as_fn_mkdir_p 12971# ------------- 12972# Create "$as_dir" as a directory, including parents if necessary. 12973as_fn_mkdir_p () 12974{ 12975 12976 case $as_dir in #( 12977 -*) as_dir=./$as_dir;; 12978 esac 12979 test -d "$as_dir" || eval $as_mkdir_p || { 12980 as_dirs= 12981 while :; do 12982 case $as_dir in #( 12983 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12984 *) as_qdir=$as_dir;; 12985 esac 12986 as_dirs="'$as_qdir' $as_dirs" 12987 as_dir=`$as_dirname -- "$as_dir" || 12988$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12989 X"$as_dir" : 'X\(//\)[^/]' \| \ 12990 X"$as_dir" : 'X\(//\)$' \| \ 12991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12992$as_echo X"$as_dir" | 12993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12994 s//\1/ 12995 q 12996 } 12997 /^X\(\/\/\)[^/].*/{ 12998 s//\1/ 12999 q 13000 } 13001 /^X\(\/\/\)$/{ 13002 s//\1/ 13003 q 13004 } 13005 /^X\(\/\).*/{ 13006 s//\1/ 13007 q 13008 } 13009 s/.*/./; q'` 13010 test -d "$as_dir" && break 13011 done 13012 test -z "$as_dirs" || eval "mkdir $as_dirs" 13013 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13014 13015 13016} # as_fn_mkdir_p 13017if mkdir -p . 2>/dev/null; then 13018 as_mkdir_p='mkdir -p "$as_dir"' 13019else 13020 test -d ./-p && rmdir ./-p 13021 as_mkdir_p=false 13022fi 13023 13024 13025# as_fn_executable_p FILE 13026# ----------------------- 13027# Test if FILE is an executable regular file. 13028as_fn_executable_p () 13029{ 13030 test -f "$1" && test -x "$1" 13031} # as_fn_executable_p 13032as_test_x='test -x' 13033as_executable_p=as_fn_executable_p 13034 13035# Sed expression to map a string onto a valid CPP name. 13036as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13037 13038# Sed expression to map a string onto a valid variable name. 13039as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13040 13041 13042exec 6>&1 13043## ----------------------------------- ## 13044## Main body of $CONFIG_STATUS script. ## 13045## ----------------------------------- ## 13046_ASEOF 13047test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13048 13049cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13050# Save the log message, to keep $0 and so on meaningful, and to 13051# report actual input values of CONFIG_FILES etc. instead of their 13052# values after options handling. 13053ac_log=" 13054This file was extended by libdvbpsi $as_me 1.3.3, which was 13055generated by GNU Autoconf 2.69. Invocation command line was 13056 13057 CONFIG_FILES = $CONFIG_FILES 13058 CONFIG_HEADERS = $CONFIG_HEADERS 13059 CONFIG_LINKS = $CONFIG_LINKS 13060 CONFIG_COMMANDS = $CONFIG_COMMANDS 13061 $ $0 $@ 13062 13063on `(hostname || uname -n) 2>/dev/null | sed 1q` 13064" 13065 13066_ACEOF 13067 13068case $ac_config_files in *" 13069"*) set x $ac_config_files; shift; ac_config_files=$*;; 13070esac 13071 13072case $ac_config_headers in *" 13073"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13074esac 13075 13076 13077cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13078# Files that config.status was made for. 13079config_files="$ac_config_files" 13080config_headers="$ac_config_headers" 13081config_commands="$ac_config_commands" 13082 13083_ACEOF 13084 13085cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13086ac_cs_usage="\ 13087\`$as_me' instantiates files and other configuration actions 13088from templates according to the current configuration. Unless the files 13089and actions are specified as TAGs, all are instantiated by default. 13090 13091Usage: $0 [OPTION]... [TAG]... 13092 13093 -h, --help print this help, then exit 13094 -V, --version print version number and configuration settings, then exit 13095 --config print configuration, then exit 13096 -q, --quiet, --silent 13097 do not print progress messages 13098 -d, --debug don't remove temporary files 13099 --recheck update $as_me by reconfiguring in the same conditions 13100 --file=FILE[:TEMPLATE] 13101 instantiate the configuration file FILE 13102 --header=FILE[:TEMPLATE] 13103 instantiate the configuration header FILE 13104 13105Configuration files: 13106$config_files 13107 13108Configuration headers: 13109$config_headers 13110 13111Configuration commands: 13112$config_commands 13113 13114Report bugs to the package provider." 13115 13116_ACEOF 13117cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13118ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13119ac_cs_version="\\ 13120libdvbpsi config.status 1.3.3 13121configured by $0, generated by GNU Autoconf 2.69, 13122 with options \\"\$ac_cs_config\\" 13123 13124Copyright (C) 2012 Free Software Foundation, Inc. 13125This config.status script is free software; the Free Software Foundation 13126gives unlimited permission to copy, distribute and modify it." 13127 13128ac_pwd='$ac_pwd' 13129srcdir='$srcdir' 13130INSTALL='$INSTALL' 13131MKDIR_P='$MKDIR_P' 13132AWK='$AWK' 13133test -n "\$AWK" || AWK=awk 13134_ACEOF 13135 13136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13137# The default lists apply if the user does not specify any file. 13138ac_need_defaults=: 13139while test $# != 0 13140do 13141 case $1 in 13142 --*=?*) 13143 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13144 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13145 ac_shift=: 13146 ;; 13147 --*=) 13148 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13149 ac_optarg= 13150 ac_shift=: 13151 ;; 13152 *) 13153 ac_option=$1 13154 ac_optarg=$2 13155 ac_shift=shift 13156 ;; 13157 esac 13158 13159 case $ac_option in 13160 # Handling of the options. 13161 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13162 ac_cs_recheck=: ;; 13163 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13164 $as_echo "$ac_cs_version"; exit ;; 13165 --config | --confi | --conf | --con | --co | --c ) 13166 $as_echo "$ac_cs_config"; exit ;; 13167 --debug | --debu | --deb | --de | --d | -d ) 13168 debug=: ;; 13169 --file | --fil | --fi | --f ) 13170 $ac_shift 13171 case $ac_optarg in 13172 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13173 '') as_fn_error $? "missing file argument" ;; 13174 esac 13175 as_fn_append CONFIG_FILES " '$ac_optarg'" 13176 ac_need_defaults=false;; 13177 --header | --heade | --head | --hea ) 13178 $ac_shift 13179 case $ac_optarg in 13180 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13181 esac 13182 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13183 ac_need_defaults=false;; 13184 --he | --h) 13185 # Conflict between --help and --header 13186 as_fn_error $? "ambiguous option: \`$1' 13187Try \`$0 --help' for more information.";; 13188 --help | --hel | -h ) 13189 $as_echo "$ac_cs_usage"; exit ;; 13190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13191 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13192 ac_cs_silent=: ;; 13193 13194 # This is an error. 13195 -*) as_fn_error $? "unrecognized option: \`$1' 13196Try \`$0 --help' for more information." ;; 13197 13198 *) as_fn_append ac_config_targets " $1" 13199 ac_need_defaults=false ;; 13200 13201 esac 13202 shift 13203done 13204 13205ac_configure_extra_args= 13206 13207if $ac_cs_silent; then 13208 exec 6>/dev/null 13209 ac_configure_extra_args="$ac_configure_extra_args --silent" 13210fi 13211 13212_ACEOF 13213cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13214if \$ac_cs_recheck; then 13215 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13216 shift 13217 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13218 CONFIG_SHELL='$SHELL' 13219 export CONFIG_SHELL 13220 exec "\$@" 13221fi 13222 13223_ACEOF 13224cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13225exec 5>>config.log 13226{ 13227 echo 13228 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13229## Running $as_me. ## 13230_ASBOX 13231 $as_echo "$ac_log" 13232} >&5 13233 13234_ACEOF 13235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13236# 13237# INIT-COMMANDS 13238# 13239AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13240 13241 13242# The HP-UX ksh and POSIX shell print the target directory to stdout 13243# if CDPATH is set. 13244(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13245 13246sed_quote_subst='$sed_quote_subst' 13247double_quote_subst='$double_quote_subst' 13248delay_variable_subst='$delay_variable_subst' 13249AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 13250DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13251OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13252macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13253macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13254enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13255enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13256pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13257enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13258shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 13259SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13260ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13261PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13262host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13263host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13264host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13265build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13266build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13267build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13268SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13269Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13270GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13271EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13272FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13273LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13274NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13275LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13276max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13277ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13278exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13279lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13280lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13281lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13282lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13283lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13284reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13285reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13286deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13287file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13288file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13289want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13290sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13291AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13292AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13293archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13294STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13295RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13296old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13297old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13298old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13299lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13300CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13301CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13302compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13303GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13304lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13305lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13306lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13307lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13308lt_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"`' 13309lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13310nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13311lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13312lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 13313objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13314MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13315lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13316lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13317lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13318lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13319lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13320need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13321MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13322DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13323NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13324LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13325OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13326OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13327libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13328shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13329extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13330archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13331enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13332export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13333whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13334compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13335old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13336old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13337archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13338archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13339module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13340module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13341with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13342allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13343no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13344hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13345hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13346hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13347hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13348hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13349hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13350hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13351inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13352link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13353always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13354export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13355exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13356include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13357prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13358postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13359file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13360variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13361need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13362need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13363version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13364runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13365shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13366shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13367libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13368library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13369soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13370install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13371postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13372postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13373finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13374finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13375hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13376sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13377configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 13378configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 13379hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13380enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13381enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13382enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13383old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13384striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13385 13386LTCC='$LTCC' 13387LTCFLAGS='$LTCFLAGS' 13388compiler='$compiler_DEFAULT' 13389 13390# A function that is used when there is no print builtin or printf. 13391func_fallback_echo () 13392{ 13393 eval 'cat <<_LTECHO_EOF 13394\$1 13395_LTECHO_EOF' 13396} 13397 13398# Quote evaled strings. 13399for var in AS \ 13400DLLTOOL \ 13401OBJDUMP \ 13402SHELL \ 13403ECHO \ 13404PATH_SEPARATOR \ 13405SED \ 13406GREP \ 13407EGREP \ 13408FGREP \ 13409LD \ 13410NM \ 13411LN_S \ 13412lt_SP2NL \ 13413lt_NL2SP \ 13414reload_flag \ 13415deplibs_check_method \ 13416file_magic_cmd \ 13417file_magic_glob \ 13418want_nocaseglob \ 13419sharedlib_from_linklib_cmd \ 13420AR \ 13421AR_FLAGS \ 13422archiver_list_spec \ 13423STRIP \ 13424RANLIB \ 13425CC \ 13426CFLAGS \ 13427compiler \ 13428lt_cv_sys_global_symbol_pipe \ 13429lt_cv_sys_global_symbol_to_cdecl \ 13430lt_cv_sys_global_symbol_to_import \ 13431lt_cv_sys_global_symbol_to_c_name_address \ 13432lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13433lt_cv_nm_interface \ 13434nm_file_list_spec \ 13435lt_cv_truncate_bin \ 13436lt_prog_compiler_no_builtin_flag \ 13437lt_prog_compiler_pic \ 13438lt_prog_compiler_wl \ 13439lt_prog_compiler_static \ 13440lt_cv_prog_compiler_c_o \ 13441need_locks \ 13442MANIFEST_TOOL \ 13443DSYMUTIL \ 13444NMEDIT \ 13445LIPO \ 13446OTOOL \ 13447OTOOL64 \ 13448shrext_cmds \ 13449export_dynamic_flag_spec \ 13450whole_archive_flag_spec \ 13451compiler_needs_object \ 13452with_gnu_ld \ 13453allow_undefined_flag \ 13454no_undefined_flag \ 13455hardcode_libdir_flag_spec \ 13456hardcode_libdir_separator \ 13457exclude_expsyms \ 13458include_expsyms \ 13459file_list_spec \ 13460variables_saved_for_relink \ 13461libname_spec \ 13462library_names_spec \ 13463soname_spec \ 13464install_override_mode \ 13465finish_eval \ 13466old_striplib \ 13467striplib; do 13468 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13469 *[\\\\\\\`\\"\\\$]*) 13470 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13471 ;; 13472 *) 13473 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13474 ;; 13475 esac 13476done 13477 13478# Double-quote double-evaled strings. 13479for var in reload_cmds \ 13480old_postinstall_cmds \ 13481old_postuninstall_cmds \ 13482old_archive_cmds \ 13483extract_expsyms_cmds \ 13484old_archive_from_new_cmds \ 13485old_archive_from_expsyms_cmds \ 13486archive_cmds \ 13487archive_expsym_cmds \ 13488module_cmds \ 13489module_expsym_cmds \ 13490export_symbols_cmds \ 13491prelink_cmds \ 13492postlink_cmds \ 13493postinstall_cmds \ 13494postuninstall_cmds \ 13495finish_cmds \ 13496sys_lib_search_path_spec \ 13497configure_time_dlsearch_path \ 13498configure_time_lt_sys_library_path; do 13499 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13500 *[\\\\\\\`\\"\\\$]*) 13501 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 13502 ;; 13503 *) 13504 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13505 ;; 13506 esac 13507done 13508 13509ac_aux_dir='$ac_aux_dir' 13510 13511# See if we are running on zsh, and set the options that allow our 13512# commands through without removal of \ escapes INIT. 13513if test -n "\${ZSH_VERSION+set}"; then 13514 setopt NO_GLOB_SUBST 13515fi 13516 13517 13518 PACKAGE='$PACKAGE' 13519 VERSION='$VERSION' 13520 RM='$RM' 13521 ofile='$ofile' 13522 13523 13524 13525 13526_ACEOF 13527 13528cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13529 13530# Handling of arguments. 13531for ac_config_target in $ac_config_targets 13532do 13533 case $ac_config_target in 13534 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13535 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13536 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13537 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13538 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13539 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 13540 "examples/dvbinfo/Makefile") CONFIG_FILES="$CONFIG_FILES examples/dvbinfo/Makefile" ;; 13541 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; 13542 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13543 "wince/Makefile") CONFIG_FILES="$CONFIG_FILES wince/Makefile" ;; 13544 "libdvbpsi.pc") CONFIG_FILES="$CONFIG_FILES libdvbpsi.pc" ;; 13545 "libdvbpsi.spec") CONFIG_FILES="$CONFIG_FILES libdvbpsi.spec" ;; 13546 13547 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13548 esac 13549done 13550 13551 13552# If the user did not use the arguments to specify the items to instantiate, 13553# then the envvar interface is used. Set only those that are not. 13554# We use the long form for the default assignment because of an extremely 13555# bizarre bug on SunOS 4.1.3. 13556if $ac_need_defaults; then 13557 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13558 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13559 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13560fi 13561 13562# Have a temporary directory for convenience. Make it in the build tree 13563# simply because there is no reason against having it here, and in addition, 13564# creating and moving files from /tmp can sometimes cause problems. 13565# Hook for its removal unless debugging. 13566# Note that there is a small window in which the directory will not be cleaned: 13567# after its creation but before its name has been assigned to `$tmp'. 13568$debug || 13569{ 13570 tmp= ac_tmp= 13571 trap 'exit_status=$? 13572 : "${ac_tmp:=$tmp}" 13573 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 13574' 0 13575 trap 'as_fn_exit 1' 1 2 13 15 13576} 13577# Create a (secure) tmp directory for tmp files. 13578 13579{ 13580 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13581 test -d "$tmp" 13582} || 13583{ 13584 tmp=./conf$$-$RANDOM 13585 (umask 077 && mkdir "$tmp") 13586} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13587ac_tmp=$tmp 13588 13589# Set up the scripts for CONFIG_FILES section. 13590# No need to generate them if there are no CONFIG_FILES. 13591# This happens for instance with `./config.status config.h'. 13592if test -n "$CONFIG_FILES"; then 13593 13594 13595ac_cr=`echo X | tr X '\015'` 13596# On cygwin, bash can eat \r inside `` if the user requested igncr. 13597# But we know of no other shell where ac_cr would be empty at this 13598# point, so we can use a bashism as a fallback. 13599if test "x$ac_cr" = x; then 13600 eval ac_cr=\$\'\\r\' 13601fi 13602ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13603if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13604 ac_cs_awk_cr='\\r' 13605else 13606 ac_cs_awk_cr=$ac_cr 13607fi 13608 13609echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 13610_ACEOF 13611 13612 13613{ 13614 echo "cat >conf$$subs.awk <<_ACEOF" && 13615 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13616 echo "_ACEOF" 13617} >conf$$subs.sh || 13618 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13619ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 13620ac_delim='%!_!# ' 13621for ac_last_try in false false false false false :; do 13622 . ./conf$$subs.sh || 13623 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13624 13625 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 13626 if test $ac_delim_n = $ac_delim_num; then 13627 break 13628 elif $ac_last_try; then 13629 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 13630 else 13631 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13632 fi 13633done 13634rm -f conf$$subs.sh 13635 13636cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13637cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 13638_ACEOF 13639sed -n ' 13640h 13641s/^/S["/; s/!.*/"]=/ 13642p 13643g 13644s/^[^!]*!// 13645:repl 13646t repl 13647s/'"$ac_delim"'$// 13648t delim 13649:nl 13650h 13651s/\(.\{148\}\)..*/\1/ 13652t more1 13653s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13654p 13655n 13656b repl 13657:more1 13658s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13659p 13660g 13661s/.\{148\}// 13662t nl 13663:delim 13664h 13665s/\(.\{148\}\)..*/\1/ 13666t more2 13667s/["\\]/\\&/g; s/^/"/; s/$/"/ 13668p 13669b 13670:more2 13671s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13672p 13673g 13674s/.\{148\}// 13675t delim 13676' <conf$$subs.awk | sed ' 13677/^[^""]/{ 13678 N 13679 s/\n// 13680} 13681' >>$CONFIG_STATUS || ac_write_fail=1 13682rm -f conf$$subs.awk 13683cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13684_ACAWK 13685cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 13686 for (key in S) S_is_set[key] = 1 13687 FS = "" 13688 13689} 13690{ 13691 line = $ 0 13692 nfields = split(line, field, "@") 13693 substed = 0 13694 len = length(field[1]) 13695 for (i = 2; i < nfields; i++) { 13696 key = field[i] 13697 keylen = length(key) 13698 if (S_is_set[key]) { 13699 value = S[key] 13700 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13701 len += length(value) + length(field[++i]) 13702 substed = 1 13703 } else 13704 len += 1 + keylen 13705 } 13706 13707 print line 13708} 13709 13710_ACAWK 13711_ACEOF 13712cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13713if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13714 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13715else 13716 cat 13717fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 13718 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13719_ACEOF 13720 13721# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13722# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13723# trailing colons and then remove the whole line if VPATH becomes empty 13724# (actually we leave an empty line to preserve line numbers). 13725if test "x$srcdir" = x.; then 13726 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 13727h 13728s/// 13729s/^/:/ 13730s/[ ]*$/:/ 13731s/:\$(srcdir):/:/g 13732s/:\${srcdir}:/:/g 13733s/:@srcdir@:/:/g 13734s/^:*// 13735s/:*$// 13736x 13737s/\(=[ ]*\).*/\1/ 13738G 13739s/\n// 13740s/^[^=]*=[ ]*$// 13741}' 13742fi 13743 13744cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13745fi # test -n "$CONFIG_FILES" 13746 13747# Set up the scripts for CONFIG_HEADERS section. 13748# No need to generate them if there are no CONFIG_HEADERS. 13749# This happens for instance with `./config.status Makefile'. 13750if test -n "$CONFIG_HEADERS"; then 13751cat >"$ac_tmp/defines.awk" <<\_ACAWK || 13752BEGIN { 13753_ACEOF 13754 13755# Transform confdefs.h into an awk script `defines.awk', embedded as 13756# here-document in config.status, that substitutes the proper values into 13757# config.h.in to produce config.h. 13758 13759# Create a delimiter string that does not exist in confdefs.h, to ease 13760# handling of long lines. 13761ac_delim='%!_!# ' 13762for ac_last_try in false false :; do 13763 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 13764 if test -z "$ac_tt"; then 13765 break 13766 elif $ac_last_try; then 13767 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13768 else 13769 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13770 fi 13771done 13772 13773# For the awk script, D is an array of macro values keyed by name, 13774# likewise P contains macro parameters if any. Preserve backslash 13775# newline sequences. 13776 13777ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 13778sed -n ' 13779s/.\{148\}/&'"$ac_delim"'/g 13780t rset 13781:rset 13782s/^[ ]*#[ ]*define[ ][ ]*/ / 13783t def 13784d 13785:def 13786s/\\$// 13787t bsnl 13788s/["\\]/\\&/g 13789s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13790D["\1"]=" \3"/p 13791s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 13792d 13793:bsnl 13794s/["\\]/\\&/g 13795s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 13796D["\1"]=" \3\\\\\\n"\\/p 13797t cont 13798s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 13799t cont 13800d 13801:cont 13802n 13803s/.\{148\}/&'"$ac_delim"'/g 13804t clear 13805:clear 13806s/\\$// 13807t bsnlc 13808s/["\\]/\\&/g; s/^/"/; s/$/"/p 13809d 13810:bsnlc 13811s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 13812b cont 13813' <confdefs.h | sed ' 13814s/'"$ac_delim"'/"\\\ 13815"/g' >>$CONFIG_STATUS || ac_write_fail=1 13816 13817cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13818 for (key in D) D_is_set[key] = 1 13819 FS = "" 13820} 13821/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 13822 line = \$ 0 13823 split(line, arg, " ") 13824 if (arg[1] == "#") { 13825 defundef = arg[2] 13826 mac1 = arg[3] 13827 } else { 13828 defundef = substr(arg[1], 2) 13829 mac1 = arg[2] 13830 } 13831 split(mac1, mac2, "(") #) 13832 macro = mac2[1] 13833 prefix = substr(line, 1, index(line, defundef) - 1) 13834 if (D_is_set[macro]) { 13835 # Preserve the white space surrounding the "#". 13836 print prefix "define", macro P[macro] D[macro] 13837 next 13838 } else { 13839 # Replace #undef with comments. This is necessary, for example, 13840 # in the case of _POSIX_SOURCE, which is predefined and required 13841 # on some systems where configure will not decide to define it. 13842 if (defundef == "undef") { 13843 print "/*", prefix defundef, macro, "*/" 13844 next 13845 } 13846 } 13847} 13848{ print } 13849_ACAWK 13850_ACEOF 13851cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13852 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 13853fi # test -n "$CONFIG_HEADERS" 13854 13855 13856eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 13857shift 13858for ac_tag 13859do 13860 case $ac_tag in 13861 :[FHLC]) ac_mode=$ac_tag; continue;; 13862 esac 13863 case $ac_mode$ac_tag in 13864 :[FHL]*:*);; 13865 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 13866 :[FH]-) ac_tag=-:-;; 13867 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13868 esac 13869 ac_save_IFS=$IFS 13870 IFS=: 13871 set x $ac_tag 13872 IFS=$ac_save_IFS 13873 shift 13874 ac_file=$1 13875 shift 13876 13877 case $ac_mode in 13878 :L) ac_source=$1;; 13879 :[FH]) 13880 ac_file_inputs= 13881 for ac_f 13882 do 13883 case $ac_f in 13884 -) ac_f="$ac_tmp/stdin";; 13885 *) # Look for the file first in the build tree, then in the source tree 13886 # (if the path is not absolute). The absolute path cannot be DOS-style, 13887 # because $ac_f cannot contain `:'. 13888 test -f "$ac_f" || 13889 case $ac_f in 13890 [\\/$]*) false;; 13891 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13892 esac || 13893 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13894 esac 13895 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13896 as_fn_append ac_file_inputs " '$ac_f'" 13897 done 13898 13899 # Let's still pretend it is `configure' which instantiates (i.e., don't 13900 # use $as_me), people would be surprised to read: 13901 # /* config.h. Generated by config.status. */ 13902 configure_input='Generated from '` 13903 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13904 `' by configure.' 13905 if test x"$ac_file" != x-; then 13906 configure_input="$ac_file. $configure_input" 13907 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13908$as_echo "$as_me: creating $ac_file" >&6;} 13909 fi 13910 # Neutralize special characters interpreted by sed in replacement strings. 13911 case $configure_input in #( 13912 *\&* | *\|* | *\\* ) 13913 ac_sed_conf_input=`$as_echo "$configure_input" | 13914 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13915 *) ac_sed_conf_input=$configure_input;; 13916 esac 13917 13918 case $ac_tag in 13919 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13921 esac 13922 ;; 13923 esac 13924 13925 ac_dir=`$as_dirname -- "$ac_file" || 13926$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13927 X"$ac_file" : 'X\(//\)[^/]' \| \ 13928 X"$ac_file" : 'X\(//\)$' \| \ 13929 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13930$as_echo X"$ac_file" | 13931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13932 s//\1/ 13933 q 13934 } 13935 /^X\(\/\/\)[^/].*/{ 13936 s//\1/ 13937 q 13938 } 13939 /^X\(\/\/\)$/{ 13940 s//\1/ 13941 q 13942 } 13943 /^X\(\/\).*/{ 13944 s//\1/ 13945 q 13946 } 13947 s/.*/./; q'` 13948 as_dir="$ac_dir"; as_fn_mkdir_p 13949 ac_builddir=. 13950 13951case "$ac_dir" in 13952.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13953*) 13954 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13955 # A ".." for each directory in $ac_dir_suffix. 13956 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13957 case $ac_top_builddir_sub in 13958 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13959 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13960 esac ;; 13961esac 13962ac_abs_top_builddir=$ac_pwd 13963ac_abs_builddir=$ac_pwd$ac_dir_suffix 13964# for backward compatibility: 13965ac_top_builddir=$ac_top_build_prefix 13966 13967case $srcdir in 13968 .) # We are building in place. 13969 ac_srcdir=. 13970 ac_top_srcdir=$ac_top_builddir_sub 13971 ac_abs_top_srcdir=$ac_pwd ;; 13972 [\\/]* | ?:[\\/]* ) # Absolute name. 13973 ac_srcdir=$srcdir$ac_dir_suffix; 13974 ac_top_srcdir=$srcdir 13975 ac_abs_top_srcdir=$srcdir ;; 13976 *) # Relative name. 13977 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13978 ac_top_srcdir=$ac_top_build_prefix$srcdir 13979 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13980esac 13981ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13982 13983 13984 case $ac_mode in 13985 :F) 13986 # 13987 # CONFIG_FILE 13988 # 13989 13990 case $INSTALL in 13991 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13992 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13993 esac 13994 ac_MKDIR_P=$MKDIR_P 13995 case $MKDIR_P in 13996 [\\/$]* | ?:[\\/]* ) ;; 13997 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13998 esac 13999_ACEOF 14000 14001cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14002# If the template does not know about datarootdir, expand it. 14003# FIXME: This hack should be removed a few years after 2.60. 14004ac_datarootdir_hack=; ac_datarootdir_seen= 14005ac_sed_dataroot=' 14006/datarootdir/ { 14007 p 14008 q 14009} 14010/@datadir@/p 14011/@docdir@/p 14012/@infodir@/p 14013/@localedir@/p 14014/@mandir@/p' 14015case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14016*datarootdir*) ac_datarootdir_seen=yes;; 14017*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14019$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14020_ACEOF 14021cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14022 ac_datarootdir_hack=' 14023 s&@datadir@&$datadir&g 14024 s&@docdir@&$docdir&g 14025 s&@infodir@&$infodir&g 14026 s&@localedir@&$localedir&g 14027 s&@mandir@&$mandir&g 14028 s&\\\${datarootdir}&$datarootdir&g' ;; 14029esac 14030_ACEOF 14031 14032# Neutralize VPATH when `$srcdir' = `.'. 14033# Shell code in configure.ac might set extrasub. 14034# FIXME: do we really want to maintain this feature? 14035cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14036ac_sed_extra="$ac_vpsub 14037$extrasub 14038_ACEOF 14039cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14040:t 14041/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14042s|@configure_input@|$ac_sed_conf_input|;t t 14043s&@top_builddir@&$ac_top_builddir_sub&;t t 14044s&@top_build_prefix@&$ac_top_build_prefix&;t t 14045s&@srcdir@&$ac_srcdir&;t t 14046s&@abs_srcdir@&$ac_abs_srcdir&;t t 14047s&@top_srcdir@&$ac_top_srcdir&;t t 14048s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14049s&@builddir@&$ac_builddir&;t t 14050s&@abs_builddir@&$ac_abs_builddir&;t t 14051s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14052s&@INSTALL@&$ac_INSTALL&;t t 14053s&@MKDIR_P@&$ac_MKDIR_P&;t t 14054$ac_datarootdir_hack 14055" 14056eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14057 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14058 14059test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14060 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14061 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14062 "$ac_tmp/out"`; test -z "$ac_out"; } && 14063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14064which seems to be undefined. Please make sure it is defined" >&5 14065$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14066which seems to be undefined. Please make sure it is defined" >&2;} 14067 14068 rm -f "$ac_tmp/stdin" 14069 case $ac_file in 14070 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14071 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14072 esac \ 14073 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14074 ;; 14075 :H) 14076 # 14077 # CONFIG_HEADER 14078 # 14079 if test x"$ac_file" != x-; then 14080 { 14081 $as_echo "/* $configure_input */" \ 14082 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14083 } >"$ac_tmp/config.h" \ 14084 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14085 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14086 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14087$as_echo "$as_me: $ac_file is unchanged" >&6;} 14088 else 14089 rm -f "$ac_file" 14090 mv "$ac_tmp/config.h" "$ac_file" \ 14091 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14092 fi 14093 else 14094 $as_echo "/* $configure_input */" \ 14095 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14096 || as_fn_error $? "could not create -" "$LINENO" 5 14097 fi 14098# Compute "$ac_file"'s index in $config_headers. 14099_am_arg="$ac_file" 14100_am_stamp_count=1 14101for _am_header in $config_headers :; do 14102 case $_am_header in 14103 $_am_arg | $_am_arg:* ) 14104 break ;; 14105 * ) 14106 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14107 esac 14108done 14109echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14110$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14111 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14112 X"$_am_arg" : 'X\(//\)$' \| \ 14113 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14114$as_echo X"$_am_arg" | 14115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14116 s//\1/ 14117 q 14118 } 14119 /^X\(\/\/\)[^/].*/{ 14120 s//\1/ 14121 q 14122 } 14123 /^X\(\/\/\)$/{ 14124 s//\1/ 14125 q 14126 } 14127 /^X\(\/\).*/{ 14128 s//\1/ 14129 q 14130 } 14131 s/.*/./; q'`/stamp-h$_am_stamp_count 14132 ;; 14133 14134 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14135$as_echo "$as_me: executing $ac_file commands" >&6;} 14136 ;; 14137 esac 14138 14139 14140 case $ac_file$ac_mode in 14141 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14142 # Older Autoconf quotes --file arguments for eval, but not when files 14143 # are listed without --file. Let's play safe and only enable the eval 14144 # if we detect the quoting. 14145 case $CONFIG_FILES in 14146 *\'*) eval set x "$CONFIG_FILES" ;; 14147 *) set x $CONFIG_FILES ;; 14148 esac 14149 shift 14150 for mf 14151 do 14152 # Strip MF so we end up with the name of the file. 14153 mf=`echo "$mf" | sed -e 's/:.*$//'` 14154 # Check whether this is an Automake generated Makefile or not. 14155 # We used to match only the files named 'Makefile.in', but 14156 # some people rename them; so instead we look at the file content. 14157 # Grep'ing the first line is not enough: some people post-process 14158 # each Makefile.in and add a new line on top of each file to say so. 14159 # Grep'ing the whole file is not good either: AIX grep has a line 14160 # limit of 2048, but all sed's we know have understand at least 4000. 14161 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14162 dirpart=`$as_dirname -- "$mf" || 14163$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14164 X"$mf" : 'X\(//\)[^/]' \| \ 14165 X"$mf" : 'X\(//\)$' \| \ 14166 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14167$as_echo X"$mf" | 14168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14169 s//\1/ 14170 q 14171 } 14172 /^X\(\/\/\)[^/].*/{ 14173 s//\1/ 14174 q 14175 } 14176 /^X\(\/\/\)$/{ 14177 s//\1/ 14178 q 14179 } 14180 /^X\(\/\).*/{ 14181 s//\1/ 14182 q 14183 } 14184 s/.*/./; q'` 14185 else 14186 continue 14187 fi 14188 # Extract the definition of DEPDIR, am__include, and am__quote 14189 # from the Makefile without running 'make'. 14190 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14191 test -z "$DEPDIR" && continue 14192 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14193 test -z "$am__include" && continue 14194 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14195 # Find all dependency output files, they are included files with 14196 # $(DEPDIR) in their names. We invoke sed twice because it is the 14197 # simplest approach to changing $(DEPDIR) to its actual value in the 14198 # expansion. 14199 for file in `sed -n " 14200 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14201 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 14202 # Make sure the directory exists. 14203 test -f "$dirpart/$file" && continue 14204 fdir=`$as_dirname -- "$file" || 14205$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14206 X"$file" : 'X\(//\)[^/]' \| \ 14207 X"$file" : 'X\(//\)$' \| \ 14208 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14209$as_echo X"$file" | 14210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14211 s//\1/ 14212 q 14213 } 14214 /^X\(\/\/\)[^/].*/{ 14215 s//\1/ 14216 q 14217 } 14218 /^X\(\/\/\)$/{ 14219 s//\1/ 14220 q 14221 } 14222 /^X\(\/\).*/{ 14223 s//\1/ 14224 q 14225 } 14226 s/.*/./; q'` 14227 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14228 # echo "creating $dirpart/$file" 14229 echo '# dummy' > "$dirpart/$file" 14230 done 14231 done 14232} 14233 ;; 14234 "libtool":C) 14235 14236 # See if we are running on zsh, and set the options that allow our 14237 # commands through without removal of \ escapes. 14238 if test -n "${ZSH_VERSION+set}"; then 14239 setopt NO_GLOB_SUBST 14240 fi 14241 14242 cfgfile=${ofile}T 14243 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14244 $RM "$cfgfile" 14245 14246 cat <<_LT_EOF >> "$cfgfile" 14247#! $SHELL 14248# Generated automatically by $as_me ($PACKAGE) $VERSION 14249# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14250# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14251 14252# Provide generalized library-building support services. 14253# Written by Gordon Matzigkeit, 1996 14254 14255# Copyright (C) 2014 Free Software Foundation, Inc. 14256# This is free software; see the source for copying conditions. There is NO 14257# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14258 14259# GNU Libtool is free software; you can redistribute it and/or modify 14260# it under the terms of the GNU General Public License as published by 14261# the Free Software Foundation; either version 2 of of the License, or 14262# (at your option) any later version. 14263# 14264# As a special exception to the GNU General Public License, if you 14265# distribute this file as part of a program or library that is built 14266# using GNU Libtool, you may include this file under the same 14267# distribution terms that you use for the rest of that program. 14268# 14269# GNU Libtool is distributed in the hope that it will be useful, but 14270# WITHOUT ANY WARRANTY; without even the implied warranty of 14271# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14272# GNU General Public License for more details. 14273# 14274# You should have received a copy of the GNU General Public License 14275# along with this program. If not, see <http://www.gnu.org/licenses/>. 14276 14277 14278# The names of the tagged configurations supported by this script. 14279available_tags='' 14280 14281# Configured defaults for sys_lib_dlsearch_path munging. 14282: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14283 14284# ### BEGIN LIBTOOL CONFIG 14285 14286# Assembler program. 14287AS=$lt_AS 14288 14289# DLL creation program. 14290DLLTOOL=$lt_DLLTOOL 14291 14292# Object dumper program. 14293OBJDUMP=$lt_OBJDUMP 14294 14295# Which release of libtool.m4 was used? 14296macro_version=$macro_version 14297macro_revision=$macro_revision 14298 14299# Whether or not to build shared libraries. 14300build_libtool_libs=$enable_shared 14301 14302# Whether or not to build static libraries. 14303build_old_libs=$enable_static 14304 14305# What type of objects to build. 14306pic_mode=$pic_mode 14307 14308# Whether or not to optimize for fast installation. 14309fast_install=$enable_fast_install 14310 14311# Shared archive member basename,for filename based shared library versioning on AIX. 14312shared_archive_member_spec=$shared_archive_member_spec 14313 14314# Shell to use when invoking shell scripts. 14315SHELL=$lt_SHELL 14316 14317# An echo program that protects backslashes. 14318ECHO=$lt_ECHO 14319 14320# The PATH separator for the build system. 14321PATH_SEPARATOR=$lt_PATH_SEPARATOR 14322 14323# The host system. 14324host_alias=$host_alias 14325host=$host 14326host_os=$host_os 14327 14328# The build system. 14329build_alias=$build_alias 14330build=$build 14331build_os=$build_os 14332 14333# A sed program that does not truncate output. 14334SED=$lt_SED 14335 14336# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14337Xsed="\$SED -e 1s/^X//" 14338 14339# A grep program that handles long lines. 14340GREP=$lt_GREP 14341 14342# An ERE matcher. 14343EGREP=$lt_EGREP 14344 14345# A literal string matcher. 14346FGREP=$lt_FGREP 14347 14348# A BSD- or MS-compatible name lister. 14349NM=$lt_NM 14350 14351# Whether we need soft or hard links. 14352LN_S=$lt_LN_S 14353 14354# What is the maximum length of a command? 14355max_cmd_len=$max_cmd_len 14356 14357# Object file suffix (normally "o"). 14358objext=$ac_objext 14359 14360# Executable file suffix (normally ""). 14361exeext=$exeext 14362 14363# whether the shell understands "unset". 14364lt_unset=$lt_unset 14365 14366# turn spaces into newlines. 14367SP2NL=$lt_lt_SP2NL 14368 14369# turn newlines into spaces. 14370NL2SP=$lt_lt_NL2SP 14371 14372# convert \$build file names to \$host format. 14373to_host_file_cmd=$lt_cv_to_host_file_cmd 14374 14375# convert \$build files to toolchain format. 14376to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14377 14378# Method to check whether dependent libraries are shared objects. 14379deplibs_check_method=$lt_deplibs_check_method 14380 14381# Command to use when deplibs_check_method = "file_magic". 14382file_magic_cmd=$lt_file_magic_cmd 14383 14384# How to find potential files when deplibs_check_method = "file_magic". 14385file_magic_glob=$lt_file_magic_glob 14386 14387# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14388want_nocaseglob=$lt_want_nocaseglob 14389 14390# Command to associate shared and link libraries. 14391sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14392 14393# The archiver. 14394AR=$lt_AR 14395 14396# Flags to create an archive. 14397AR_FLAGS=$lt_AR_FLAGS 14398 14399# How to feed a file listing to the archiver. 14400archiver_list_spec=$lt_archiver_list_spec 14401 14402# A symbol stripping program. 14403STRIP=$lt_STRIP 14404 14405# Commands used to install an old-style archive. 14406RANLIB=$lt_RANLIB 14407old_postinstall_cmds=$lt_old_postinstall_cmds 14408old_postuninstall_cmds=$lt_old_postuninstall_cmds 14409 14410# Whether to use a lock for old archive extraction. 14411lock_old_archive_extraction=$lock_old_archive_extraction 14412 14413# A C compiler. 14414LTCC=$lt_CC 14415 14416# LTCC compiler flags. 14417LTCFLAGS=$lt_CFLAGS 14418 14419# Take the output of nm and produce a listing of raw symbols and C names. 14420global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14421 14422# Transform the output of nm in a proper C declaration. 14423global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14424 14425# Transform the output of nm into a list of symbols to manually relocate. 14426global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 14427 14428# Transform the output of nm in a C name address pair. 14429global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14430 14431# Transform the output of nm in a C name address pair when lib prefix is needed. 14432global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14433 14434# The name lister interface. 14435nm_interface=$lt_lt_cv_nm_interface 14436 14437# Specify filename containing input files for \$NM. 14438nm_file_list_spec=$lt_nm_file_list_spec 14439 14440# The root where to search for dependent libraries,and where our libraries should be installed. 14441lt_sysroot=$lt_sysroot 14442 14443# Command to truncate a binary pipe. 14444lt_truncate_bin=$lt_lt_cv_truncate_bin 14445 14446# The name of the directory that contains temporary libtool files. 14447objdir=$objdir 14448 14449# Used to examine libraries when file_magic_cmd begins with "file". 14450MAGIC_CMD=$MAGIC_CMD 14451 14452# Must we lock files when doing compilation? 14453need_locks=$lt_need_locks 14454 14455# Manifest tool. 14456MANIFEST_TOOL=$lt_MANIFEST_TOOL 14457 14458# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14459DSYMUTIL=$lt_DSYMUTIL 14460 14461# Tool to change global to local symbols on Mac OS X. 14462NMEDIT=$lt_NMEDIT 14463 14464# Tool to manipulate fat objects and archives on Mac OS X. 14465LIPO=$lt_LIPO 14466 14467# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14468OTOOL=$lt_OTOOL 14469 14470# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14471OTOOL64=$lt_OTOOL64 14472 14473# Old archive suffix (normally "a"). 14474libext=$libext 14475 14476# Shared library suffix (normally ".so"). 14477shrext_cmds=$lt_shrext_cmds 14478 14479# The commands to extract the exported symbol list from a shared archive. 14480extract_expsyms_cmds=$lt_extract_expsyms_cmds 14481 14482# Variables whose values should be saved in libtool wrapper scripts and 14483# restored at link time. 14484variables_saved_for_relink=$lt_variables_saved_for_relink 14485 14486# Do we need the "lib" prefix for modules? 14487need_lib_prefix=$need_lib_prefix 14488 14489# Do we need a version for libraries? 14490need_version=$need_version 14491 14492# Library versioning type. 14493version_type=$version_type 14494 14495# Shared library runtime path variable. 14496runpath_var=$runpath_var 14497 14498# Shared library path variable. 14499shlibpath_var=$shlibpath_var 14500 14501# Is shlibpath searched before the hard-coded library search path? 14502shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14503 14504# Format of library name prefix. 14505libname_spec=$lt_libname_spec 14506 14507# List of archive names. First name is the real one, the rest are links. 14508# The last name is the one that the linker finds with -lNAME 14509library_names_spec=$lt_library_names_spec 14510 14511# The coded name of the library, if different from the real name. 14512soname_spec=$lt_soname_spec 14513 14514# Permission mode override for installation of shared libraries. 14515install_override_mode=$lt_install_override_mode 14516 14517# Command to use after installation of a shared archive. 14518postinstall_cmds=$lt_postinstall_cmds 14519 14520# Command to use after uninstallation of a shared archive. 14521postuninstall_cmds=$lt_postuninstall_cmds 14522 14523# Commands used to finish a libtool library installation in a directory. 14524finish_cmds=$lt_finish_cmds 14525 14526# As "finish_cmds", except a single script fragment to be evaled but 14527# not shown. 14528finish_eval=$lt_finish_eval 14529 14530# Whether we should hardcode library paths into libraries. 14531hardcode_into_libs=$hardcode_into_libs 14532 14533# Compile-time system search path for libraries. 14534sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14535 14536# Detected run-time system search path for libraries. 14537sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 14538 14539# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 14540configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 14541 14542# Whether dlopen is supported. 14543dlopen_support=$enable_dlopen 14544 14545# Whether dlopen of programs is supported. 14546dlopen_self=$enable_dlopen_self 14547 14548# Whether dlopen of statically linked programs is supported. 14549dlopen_self_static=$enable_dlopen_self_static 14550 14551# Commands to strip libraries. 14552old_striplib=$lt_old_striplib 14553striplib=$lt_striplib 14554 14555 14556# The linker used to build libraries. 14557LD=$lt_LD 14558 14559# How to create reloadable object files. 14560reload_flag=$lt_reload_flag 14561reload_cmds=$lt_reload_cmds 14562 14563# Commands used to build an old-style archive. 14564old_archive_cmds=$lt_old_archive_cmds 14565 14566# A language specific compiler. 14567CC=$lt_compiler 14568 14569# Is the compiler the GNU compiler? 14570with_gcc=$GCC 14571 14572# Compiler flag to turn off builtin functions. 14573no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14574 14575# Additional compiler flags for building library objects. 14576pic_flag=$lt_lt_prog_compiler_pic 14577 14578# How to pass a linker flag through the compiler. 14579wl=$lt_lt_prog_compiler_wl 14580 14581# Compiler flag to prevent dynamic linking. 14582link_static_flag=$lt_lt_prog_compiler_static 14583 14584# Does compiler simultaneously support -c and -o options? 14585compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14586 14587# Whether or not to add -lc for building shared libraries. 14588build_libtool_need_lc=$archive_cmds_need_lc 14589 14590# Whether or not to disallow shared libs when runtime libs are static. 14591allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14592 14593# Compiler flag to allow reflexive dlopens. 14594export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14595 14596# Compiler flag to generate shared objects directly from archives. 14597whole_archive_flag_spec=$lt_whole_archive_flag_spec 14598 14599# Whether the compiler copes with passing no objects directly. 14600compiler_needs_object=$lt_compiler_needs_object 14601 14602# Create an old-style archive from a shared archive. 14603old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14604 14605# Create a temporary old-style archive to link instead of a shared archive. 14606old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14607 14608# Commands used to build a shared archive. 14609archive_cmds=$lt_archive_cmds 14610archive_expsym_cmds=$lt_archive_expsym_cmds 14611 14612# Commands used to build a loadable module if different from building 14613# a shared archive. 14614module_cmds=$lt_module_cmds 14615module_expsym_cmds=$lt_module_expsym_cmds 14616 14617# Whether we are building with GNU ld or not. 14618with_gnu_ld=$lt_with_gnu_ld 14619 14620# Flag that allows shared libraries with undefined symbols to be built. 14621allow_undefined_flag=$lt_allow_undefined_flag 14622 14623# Flag that enforces no undefined symbols. 14624no_undefined_flag=$lt_no_undefined_flag 14625 14626# Flag to hardcode \$libdir into a binary during linking. 14627# This must work even if \$libdir does not exist 14628hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14629 14630# Whether we need a single "-rpath" flag with a separated argument. 14631hardcode_libdir_separator=$lt_hardcode_libdir_separator 14632 14633# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14634# DIR into the resulting binary. 14635hardcode_direct=$hardcode_direct 14636 14637# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 14638# DIR into the resulting binary and the resulting library dependency is 14639# "absolute",i.e impossible to change by setting \$shlibpath_var if the 14640# library is relocated. 14641hardcode_direct_absolute=$hardcode_direct_absolute 14642 14643# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14644# into the resulting binary. 14645hardcode_minus_L=$hardcode_minus_L 14646 14647# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14648# into the resulting binary. 14649hardcode_shlibpath_var=$hardcode_shlibpath_var 14650 14651# Set to "yes" if building a shared library automatically hardcodes DIR 14652# into the library and all subsequent libraries and executables linked 14653# against it. 14654hardcode_automatic=$hardcode_automatic 14655 14656# Set to yes if linker adds runtime paths of dependent libraries 14657# to runtime path list. 14658inherit_rpath=$inherit_rpath 14659 14660# Whether libtool must link a program against all its dependency libraries. 14661link_all_deplibs=$link_all_deplibs 14662 14663# Set to "yes" if exported symbols are required. 14664always_export_symbols=$always_export_symbols 14665 14666# The commands to list exported symbols. 14667export_symbols_cmds=$lt_export_symbols_cmds 14668 14669# Symbols that should not be listed in the preloaded symbols. 14670exclude_expsyms=$lt_exclude_expsyms 14671 14672# Symbols that must always be exported. 14673include_expsyms=$lt_include_expsyms 14674 14675# Commands necessary for linking programs (against libraries) with templates. 14676prelink_cmds=$lt_prelink_cmds 14677 14678# Commands necessary for finishing linking programs. 14679postlink_cmds=$lt_postlink_cmds 14680 14681# Specify filename containing input files. 14682file_list_spec=$lt_file_list_spec 14683 14684# How to hardcode a shared library path into an executable. 14685hardcode_action=$hardcode_action 14686 14687# ### END LIBTOOL CONFIG 14688 14689_LT_EOF 14690 14691 cat <<'_LT_EOF' >> "$cfgfile" 14692 14693# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 14694 14695# func_munge_path_list VARIABLE PATH 14696# ----------------------------------- 14697# VARIABLE is name of variable containing _space_ separated list of 14698# directories to be munged by the contents of PATH, which is string 14699# having a format: 14700# "DIR[:DIR]:" 14701# string "DIR[ DIR]" will be prepended to VARIABLE 14702# ":DIR[:DIR]" 14703# string "DIR[ DIR]" will be appended to VARIABLE 14704# "DIRP[:DIRP]::[DIRA:]DIRA" 14705# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 14706# "DIRA[ DIRA]" will be appended to VARIABLE 14707# "DIR[:DIR]" 14708# VARIABLE will be replaced by "DIR[ DIR]" 14709func_munge_path_list () 14710{ 14711 case x$2 in 14712 x) 14713 ;; 14714 *:) 14715 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 14716 ;; 14717 x:*) 14718 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 14719 ;; 14720 *::*) 14721 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 14722 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 14723 ;; 14724 *) 14725 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 14726 ;; 14727 esac 14728} 14729 14730 14731# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 14732func_cc_basename () 14733{ 14734 for cc_temp in $*""; do 14735 case $cc_temp in 14736 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14737 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14738 \-*) ;; 14739 *) break;; 14740 esac 14741 done 14742 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 14743} 14744 14745 14746# ### END FUNCTIONS SHARED WITH CONFIGURE 14747 14748_LT_EOF 14749 14750 case $host_os in 14751 aix3*) 14752 cat <<\_LT_EOF >> "$cfgfile" 14753# AIX sometimes has problems with the GCC collect2 program. For some 14754# reason, if we set the COLLECT_NAMES environment variable, the problems 14755# vanish in a puff of smoke. 14756if test set != "${COLLECT_NAMES+set}"; then 14757 COLLECT_NAMES= 14758 export COLLECT_NAMES 14759fi 14760_LT_EOF 14761 ;; 14762 esac 14763 14764 14765ltmain=$ac_aux_dir/ltmain.sh 14766 14767 14768 # We use sed instead of cat because bash on DJGPP gets confused if 14769 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14770 # text mode, it properly converts lines to CR/LF. This bash problem 14771 # is reportedly fixed, but why not run on old versions too? 14772 sed '$q' "$ltmain" >> "$cfgfile" \ 14773 || (rm -f "$cfgfile"; exit 1) 14774 14775 mv -f "$cfgfile" "$ofile" || 14776 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14777 chmod +x "$ofile" 14778 14779 ;; 14780 14781 esac 14782done # for ac_tag 14783 14784 14785as_fn_exit 0 14786_ACEOF 14787ac_clean_files=$ac_clean_files_save 14788 14789test $ac_write_fail = 0 || 14790 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 14791 14792 14793# configure is writing to config.log, and then calls config.status. 14794# config.status does its own redirection, appending to config.log. 14795# Unfortunately, on DOS this fails, as config.log is still kept open 14796# by configure, so config.status won't be able to write to it; its 14797# output is simply discarded. So we exec the FD to /dev/null, 14798# effectively closing config.log, so it can be properly (re)opened and 14799# appended to by config.status. When coming back to configure, we 14800# need to make the FD available again. 14801if test "$no_create" != yes; then 14802 ac_cs_success=: 14803 ac_config_status_args= 14804 test "$silent" = yes && 14805 ac_config_status_args="$ac_config_status_args --quiet" 14806 exec 5>/dev/null 14807 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14808 exec 5>>config.log 14809 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14810 # would make configure fail if this is the last instruction. 14811 $ac_cs_success || as_fn_exit 1 14812fi 14813if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14815$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14816fi 14817 14818 14819echo " 14820libdvbpsi configuration 14821----------------------- 14822libdvbpsi version : ${VERSION} 14823debug : ${debug} 14824release : ${release} 14825compile flags : ${CFLAGS} 14826build for : ${SYS} 14827" 14828